WO2023005313A1 - 链路监控方法及装置 - Google Patents

链路监控方法及装置 Download PDF

Info

Publication number
WO2023005313A1
WO2023005313A1 PCT/CN2022/090977 CN2022090977W WO2023005313A1 WO 2023005313 A1 WO2023005313 A1 WO 2023005313A1 CN 2022090977 W CN2022090977 W CN 2022090977W WO 2023005313 A1 WO2023005313 A1 WO 2023005313A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
code
processing
outer code
decoding
Prior art date
Application number
PCT/CN2022/090977
Other languages
English (en)
French (fr)
Inventor
黄科超
梁伟光
马会肖
杨小玲
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP22847928.3A priority Critical patent/EP4369610A1/en
Publication of WO2023005313A1 publication Critical patent/WO2023005313A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/29Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes combining two or more codes or code structures, e.g. product codes, generalised product codes, concatenated codes, inner and outer codes
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/27Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes using interleaving techniques
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/63Joint error correction and other techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0041Arrangements at the transmitter end
    • H04L1/0042Encoding specially adapted to other signal generation operation, e.g. in order to reduce transmit distortions, jitter, or to improve signal shape
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0045Arrangements at the receiver end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0057Block codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0064Concatenated codes
    • H04L1/0065Serial concatenated codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0071Use of interleaving

Definitions

  • the present application relates to the technical field of data transmission, in particular to a link monitoring method and device.
  • optical communication systems and optical transport networks are developing towards high-capacity and ultra-high speed.
  • the optical signal transmitted in the optical communication system and the optical transmission network will be distorted due to some reasons during the transmission process, and with the increase of the Ethernet transmission rate, the transmission bit error rate will increase accordingly.
  • Forward error correction coding (forward error correction, FEC) is used to correct the transmitted data, which can solve the transmission error and restore the original data sent by the sender from the received data.
  • FEC decoding can also assist in link monitoring.
  • link monitoring refers to monitoring the quality of a link used for data transmission.
  • the present application provides a link monitoring method and device.
  • the application can effectively monitor the link quality.
  • the technical scheme that this application provides is as follows:
  • the present application provides a link monitoring method, the method includes: receiving the data encoded by the outer code; performing inner code encoding on the data encoded by the outer code, and outputting the data encoded by the inner code; The data encoded by the outer code is decoded by the outer code; according to the situation of decoding the data encoded by the outer code, the quality of the link used to transmit the data encoded by the outer code is determined.
  • the data encoded by the outer code by receiving the data encoded by the outer code, the data encoded by the outer code is encoded by the inner code and output, and at the same time, the data encoded by the outer code is decoded by the outer code, and according to the When the data encoded by the external code is decoded by the external code, the quality of the link used to transmit the data encoded by the external code can be determined, and the quality of the link can be effectively monitored.
  • the link monitoring method since the data encoded by the outer code needs to be encoded by the inner code and output, the data encoded by the outer code also needs to be decoded by the outer code, and it is determined according to the situation of the outer code decoding Link quality, and these two processes will be executed in two ways, so that the process of decoding the data with the outer code and determining the link quality will not affect the process of encoding the data with the inner code and outputting it, so it will not be affected by The process of performing external code decoding and determining the link quality additionally increases the overall transmission delay of data, so that the link monitoring method can be applied to more transmission scenarios, especially for transmission scenarios with lower requirements on transmission delay .
  • the processing module at the originating end can determine the quality of the link according to the number of symbol errors in the codeword sequence. Then, according to the situation of performing external code decoding on the data encoded by the external code, the quality of the link used to transmit the data encoded by the external code is determined, including: according to the sequence of P1 codewords in the data encoded by the external code In the case of outer code decoding, determine the number of symbol errors in each of the P1 codeword sequences, where P1 is a positive integer; determine the quality of the link according to the number of symbol errors in the P1 codeword sequences.
  • the processing module at the originating end may determine the quality of the link used to transmit the data encoded by the outer code according to the number of symbol errors in one or more (namely, P1) codeword sequences in the data encoded by the outer code. At this time, the processing module at the originating end needs to determine the number of symbol errors for each codeword sequence in the P1 codeword sequences respectively. And when the quality of the link is determined according to the number of error symbols of multiple codeword sequences in the data encoded by the outer code, because the number of error symbols of multiple codeword sequences can more comprehensively reflect the impact of the codeword sequence on the link. influence, and can monitor the link quality more accurately.
  • the quality of the link used to transmit the data encoded by the outer code is determined according to the outer code decoding of the data encoded by the outer code, including: according to the data encoded by the outer code In the case where the middle codeword sequence is decoded by the outer code, determine the indication parameter corresponding to the codeword sequence; determine the quality of the link according to the indication parameters corresponding to the P2 codeword sequences in the data encoded by the outer code, where P2 is a positive integer.
  • the number of error symbols of multiple codeword sequences can more comprehensively reflect the impact of the codeword sequence on the link , which can monitor the link quality more accurately.
  • the specific implementation manners of the data decoded by the external code are different.
  • the following situations are illustrated as examples:
  • the data decoded by the outer code is data subjected to processing including encoding by the outer code and deskewing.
  • the processing module at the sending end may first perform deviation correction processing on the data encoded by the outer code, and then perform outer code decoding on the data subjected to the deviation correction processing.
  • the quality of the link used to transmit the data encoded by the outer code is determined.
  • the data used to determine the quality of the link is data that has undergone deviation correction processing, the accuracy of the quality of the link determined according to the data can be effectively guaranteed.
  • the data decoded by the outer code is data subjected to processing including outer code encoding, channel reordering processing, and first deinterleaving.
  • the sending end processing module receives the data encoded by the outer code, it can first perform deviation correction processing and channel reordering processing on the data encoded by the outer code, and then perform the first deinterleaving process on the data after channel reordering, and then The data subjected to the first deinterleaving process is subjected to outer code decoding.
  • the data to be decoded by the outer code is data that has undergone encoding including outer code and data extraction.
  • the processing module at the originating end may first perform data extraction on the data coded by the external code, and then perform external code decoding on the data extracted by the data.
  • the data rate obtained after data extraction can be lower than the data rate of the inner code encoding performed by the transmitting processing module, and the speed reduction of the signal after deviation correction processing can be realized , enabling low power monitoring.
  • the specific implementation manners of the data encoded by the inner code are different.
  • the following situations are used as examples to illustrate:
  • the data encoded by the inner code is data encoded by the outer code.
  • the processing module at the sending end may directly encode the data encoded by the outer code with the inner code.
  • the data encoded by the inner code is data subjected to processing including encoding by the outer code and deskewing.
  • the data encoded by the inner code is the data including the outer code encoding and skew correction processing
  • the data decoded by the outer code is the data including the outer code encoding and skew correction processing
  • the skew correction processing can be received at the sending end processing module
  • the data that has undergone the deviation correction process can be processed in two ways, one way is encoded by the sending end processing module and output, and the other way is outer coded by the sending end processing module decoding.
  • the data encoded by the inner code is data that has undergone processing including outer code encoding, deskew processing and channel reordering.
  • the output process of the originating processing module The data encoded by the internal code is sorted according to the order specified by the channel reordering, which can make the performance test of the sending end processing module, different sending end processing modules of the same type have the same output data under the same input data, which is beneficial to the sending end processing module. Performance testing of processing modules.
  • the first interleaving process needs to be performed on the data before the inner code encoding is performed on the data, since the data after the channel reordering can be sorted according to the order specified by the channel reordering, the order of the data in the first interleaving process is fixed, The design of the first interleaving processing unit can be facilitated.
  • the data encoded by the inner code is data that has undergone a process including outer code encoding, skew correction processing, channel reordering processing, and first deinterleaving processing.
  • the data processed by deviation correction, channel reordering and first deinterleaving can be divided into two paths, one path is used for inner code encoding, and the other path is used for outer code decoding.
  • the data encoded by the inner code is data including outer code encoding and data processing
  • the data processing includes: first interleaving processing.
  • the processing module at the sending end may first perform deviation correction processing on the data encoded by the outer code, then perform the first interleaving process on the data after the deviation correction processing, and then perform the first interleaving process on the data that has undergone the first interleaving process Perform inner code encoding.
  • the processing module at the sending end can perform deviation correction processing on the data encoded by the outer code on the one hand; An inner code encoding is performed on the interleaved data.
  • the present application provides a link monitoring method, the method comprising: receiving data encoded by an outer code and an inner code; performing inner code decoding on the data encoded by an outer code and an inner code, and outputting The data decoded by the inner code; the data decoded by the inner code is decoded by the outer code; according to the situation of the data decoded by the inner code, it is determined to be used for the transmission of the data encoded by the outer code and the inner code The quality of the link for the encoded data.
  • the link monitoring method by receiving the data encoded by the outer code and the inner code, the data encoded by the outer code and the inner code are decoded by the inner code and output, and the data decoded by the inner code are simultaneously Outer code decoding, and according to the situation of outer code decoding on the data decoded by the inner code, determine the quality of the link used to transmit the data encoded by the outer code and the inner code, and the quality of the link can be determined effective monitoring.
  • the link monitoring method since the data decoded by the inner code needs to be output, the data decoded by the inner code also needs to be decoded by the outer code, and the link quality is determined according to the decoding of the outer code. And these two processes will be executed in two ways, so that the process of decoding the data with the outer code and determining the link quality will not affect the process of outputting the decoded data with the inner code, so it will not be affected by the decoding of the outer code.
  • the process of coding and determining the link quality additionally increases the overall transmission delay of data, so that the link monitoring method can be applied to more transmission scenarios, especially for transmission scenarios with lower requirements on transmission delay.
  • the receiving end processing module can determine the quality of the link according to the number of symbol errors in the codeword sequence. Then, according to the situation of performing outer code decoding on the data decoded by the inner code, determine the quality of the link used to transmit the data encoded by the outer code and the inner code, including: according to the data decoded by the inner code In the case of P3 codeword sequences performing outer code decoding, determine the number of symbol errors in each codeword sequence in the P3 codeword sequences, and P3 is a positive integer; according to the number of symbol errors in the P3 codeword sequences, determine the chain quality of the road.
  • the receiving end processing module can determine the link used to transmit the data encoded by the outer code and the inner code according to the number of symbol errors in one or more (i.e. P3) codeword sequences in the data decoded by the inner code quality. At this time, the receiving end processing module needs to determine the number of symbol errors for each codeword sequence in the P3 codeword sequences respectively. And when the quality of the link is determined according to the number of error symbols of multiple codeword sequences in the data decoded by the inner code, since the number of error symbols of multiple codeword sequences can more comprehensively reflect the influence of the codeword sequence on the link The impact of the link quality can be monitored more accurately.
  • the quality of the link used to transmit the data encoded by the outer code and the inner code is determined according to the outer code decoding of the data decoded by the inner code, including: according to the When the codeword sequence in the data decoded by the inner code is decoded by the outer code, determine the indication parameter corresponding to the codeword sequence; according to the indication parameters corresponding to the P4 codeword sequences in the data decoded by the inner code, determine the link
  • the quality of , P4 is a positive integer.
  • the number of error symbols of multiple codeword sequences can more comprehensively reflect the influence of the codeword sequence on the link. influence, and can monitor the link quality more accurately.
  • the specific implementation manners of the data decoded by the external code are different.
  • the following situations are used as examples to illustrate:
  • the data decoded by the outer code is data subjected to processing including decoding by the inner code and deskewing.
  • the processing module at the receiving end may first perform deviation correction processing on the data decoded by the inner code, and then perform outer code decoding on the data subjected to the deviation correction processing.
  • the data decoded by the outer code is data that has undergone processing including inner code decoding, channel reordering processing, and first deinterleaving.
  • the receiving end processing module receives the data decoded by the inner code, it can first perform channel reordering processing on the data decoded by the inner code, and then perform the first deinterleaving process on the data after the channel reordering processing, and then Perform outer code decoding on the data that has undergone the first deinterleaving process.
  • the data decoded by the outer code is data that has been processed by including inner code decoding and first deinterleaving .
  • the data to be decoded by the outer code is data that has undergone decoding including inner code and data extraction.
  • the processing module at the receiving end may first perform data extraction on the data decoded by the inner code, and then perform decoding on the data extracted by the outer code.
  • the amount of data after data extraction is reduced compared to the data before data extraction, the data rate obtained after data extraction can be lower than the data rate of the inner code encoding performed by the transmitting processing module, and the speed reduction of the signal after deviation correction processing can be realized , enabling low power monitoring.
  • the data decoded by the inner code is data processed
  • the data decoded by the outer code is data processed inversely including inner code decoding and data processing.
  • the data processing includes: first In the interleaving process, the inverse process includes: second deinterleaving process.
  • the processing module at the receiving end may perform the second deinterleaving process on the data decoded by the inner code first, and then perform the outer code decoding on the data decoded by the second deinterleave.
  • the inverse processing can be executed after the receiving end processing module receives the data decoded by the inner code, and after performing the inverse processing, the inversely processed data can be divided into two paths, and one path is output by the receiving end processing module , and the other channel is decoded by the receiving end processing module.
  • the outputted data is inner code decoded data.
  • the receiving-end processing module performs inner code decoding on the data encoded by the outer code and the inner code, it can directly output the data decoded by the inner code.
  • the data decoded by the inner code is the data processed by the data
  • the output data is the data that has undergone inverse processing including inner code decoding and data processing
  • the data processing includes: first interleaving processing
  • the reverse processing includes: second deinterleaving processing.
  • the receiving end processing module receives the data encoded by the outer code and the inner code, it can first decode the data encoded by the outer code and the inner code, and then perform the second decoding on the data decoded by the inner code.
  • the second deinterleaving process and then output the data that has undergone the second deinterleaving process.
  • the present application provides a link monitoring device, which includes: an input unit for receiving data encoded by an outer code; an encoding unit for encoding the data encoded by an outer code; The unit is used to output the data encoded by the inner code; the decoding unit is used to decode the data encoded by the outer code; the decoding unit is also used to decode the data encoded by the outer code according to the outer code In the case of an outer code, determines the quality of the link used to transmit the data encoded by the outer code.
  • the decoding unit is specifically configured to: determine the number of error symbols of each codeword sequence in the P1 codeword sequences according to the situation of performing outer code decoding on the P1 codeword sequences in the data encoded by the outer code
  • the number, P1 is a positive integer; according to the number of symbol errors in the P1 codeword sequence, the quality of the link is determined.
  • the decoding unit is specifically used to: determine the indication parameter corresponding to the codeword sequence according to the situation of performing outer code decoding on the codeword sequence in the data encoded by the outer code; according to the P2 in the data encoded by the outer code
  • the indication parameters corresponding to the codeword sequences determine the quality of the link, and P2 is a positive integer.
  • the data decoded by the outer code is data that has undergone encoding and skew correction processing.
  • the data decoded by the outer code is the data that has undergone the processing including outer code encoding, channel reordering processing and first deinterleaving processing.
  • the data decoded by the outer code is the data including outer code encoding and data extraction.
  • the data encoded by the inner code is data encoded by the outer code.
  • the data encoded by the inner code is data that has been processed by including outer code encoding and skew correction.
  • the data encoded by the inner code is data that has undergone processes including outer code encoding, skew correction processing, and channel reordering.
  • the data encoded by the inner code is data that has undergone outer code encoding, skew correction processing, channel reordering processing, and first deinterleaving processing.
  • the data encoded by the inner code includes outer code encoding and data processing, and the data processing includes: first interleaving processing.
  • the present application provides a link monitoring device, which includes: an input unit for receiving data encoded by an outer code and an inner code; a first decoding unit for receiving data encoded by an outer code and an inner code The data encoded by the inner code is decoded by the inner code; the output unit is used to output the data decoded by the inner code; the second decoding unit is used to decode the data decoded by the inner code; the second decoding The code unit is further configured to determine the quality of the link used to transmit the data encoded by the outer code and the coded by the inner code according to the situation of decoding the data decoded by the inner code by the outer code.
  • the second decoding unit is specifically configured to: determine the value of each codeword sequence in the P3 codeword sequences according to the outer code decoding of the P3 codeword sequences in the data decoded by the inner code
  • the number of symbol errors, P3 is a positive integer; the quality of the link is determined according to the number of symbol errors in the P3 codeword sequences.
  • the second decoding unit is specifically configured to: determine the indication parameter corresponding to the codeword sequence according to the situation of performing outer code decoding on the codeword sequence in the data decoded by the inner code;
  • the indication parameters corresponding to the P4 codeword sequences in the data determine the quality of the link, and P4 is a positive integer.
  • the data decoded by the outer code is data that has undergone processing including inner code decoding and skew correction.
  • the data decoded by the outer code is data that has been processed by including inner code decoding and first deinterleaving.
  • the data decoded by the outer code is the data that has undergone processing including inner code decoding, channel reordering processing, and first deinterleaving processing.
  • the data decoded by the outer code is the data including decoding by the inner code and data extraction.
  • the data decoded by the inner code is data processed
  • the data decoded by the outer code is data processed inversely including inner code decoding and data processing.
  • the data processing includes: first interleaving processing
  • the reverse processing includes: second deinterleaving processing.
  • the output data is data decoded by an inner code.
  • the data decoded by the inner code is the data processed by the data
  • the output data is the data that has undergone inverse processing including inner code decoding and data processing.
  • the data processing includes: first interleaving processing, and the inverse processing includes: : the second de-interleaving process.
  • the present application provides a computer device, including a memory and a processor, the memory stores program instructions, and the processor executes the program instructions to execute the first aspect, the second aspect of the present application and any possible implementation thereof method provided in .
  • the present application provides a computer-readable storage medium.
  • the computer-readable storage medium is a non-volatile computer-readable storage medium.
  • the computer-readable storage medium includes program instructions. When the program instructions are stored on a computer device During operation, the computer device is made to execute the method provided in the first aspect, the second aspect and any possible implementation manners of the present application.
  • the present application provides a computer program product containing instructions.
  • the computer program product runs on a computer, the computer executes the computer program provided in the first aspect, the second aspect of the present application, and any possible implementation thereof. Methods.
  • FIG. 1 is a schematic diagram of an implementation environment involved in a link monitoring method provided in an embodiment of the present application
  • FIG. 2 is a schematic diagram of a data transmission process in the implementation environment shown in FIG. 1 provided in the embodiment of the present application;
  • FIG. 3 is a flowchart of a link monitoring method applied to an originating processing module provided by an embodiment of the present application
  • FIG. 4 is a schematic structural diagram of an originating processing module provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of another originating processing module provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of another originating processing module provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of another originating processing module provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of another originating processing module provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of another origin processing module provided by the embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of another originating processing module provided by an embodiment of the present application.
  • Fig. 11 is a schematic structural diagram of another origin processing module provided by the embodiment of the present application.
  • Fig. 12 is a schematic structural diagram of another originating processing module provided by an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of another originating processing module provided by the embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of another originating processing module provided by an embodiment of the present application.
  • FIG. 15 is a schematic structural diagram of another originating processing module provided by the embodiment of the present application.
  • Fig. 16 is a schematic diagram of data extraction provided by the embodiment of the present application.
  • Fig. 17 is a flow chart of a method for determining the quality of a link by the originating processing module according to the decoding of the outer code provided by the embodiment of the present application;
  • Fig. 18 is a flow chart of another method for determining the quality of the link by the originating processing module according to the decoding of the outer code provided by the embodiment of the present application;
  • FIG. 19 is a flow chart of a link monitoring method applied to a receiving end processing module provided by an embodiment of the present application.
  • FIG. 20 is a schematic structural diagram of a receiving end processing module provided by an embodiment of the present application.
  • FIG. 21 is a schematic structural diagram of another receiving end processing module provided by the embodiment of the present application.
  • FIG. 22 is a schematic structural diagram of another receiving end processing module provided by an embodiment of the present application.
  • Fig. 23 is a schematic structural diagram of another receiving end processing module provided by the embodiment of the present application.
  • FIG. 24 is a schematic structural diagram of another receiving end processing module provided by an embodiment of the present application.
  • Fig. 25 is a schematic structural diagram of another receiving end processing module provided by the embodiment of the present application.
  • FIG. 26 is a schematic structural diagram of another receiving end processing module provided by an embodiment of the present application.
  • Fig. 27 is a schematic structural diagram of another receiving end processing module provided by the embodiment of the present application.
  • Fig. 28 is a schematic structural diagram of another receiving end processing module provided by the embodiment of the present application.
  • Fig. 29 is a schematic structural diagram of another receiving end processing module provided by the embodiment of the present application.
  • FIG. 30 is a schematic structural diagram of another receiving end processing module provided by an embodiment of the present application.
  • Fig. 31 is a schematic structural diagram of another receiving end processing module provided by the embodiment of the present application.
  • FIG. 32 is a schematic structural diagram of another receiving end processing module provided by an embodiment of the present application.
  • Fig. 33 is a flow chart of a method for determining the quality of a link by the receiving end processing module according to the decoding of the external code provided by the embodiment of the present application;
  • Fig. 34 is a flow chart of another method for determining the quality of a link by the receiving end processing module according to the decoding of the external code provided by the embodiment of the present application;
  • Fig. 35 is a flow chart of another link monitoring method applied to the originating processing module provided by the embodiment of the present application.
  • Fig. 36 is a flowchart of another link monitoring method applied to the receiving end processing module provided by the embodiment of the present application.
  • Fig. 37 is a schematic diagram of an application scenario where the link monitoring method provided by the embodiment of the present application is applicable to an application scenario where the originating optical module has a single-wavelength 800G coherent line interface and the originating device has a 2 ⁇ 400G interface;
  • Fig. 38 is another schematic diagram of the link monitoring method provided by the embodiment of the present application, which is applicable to the application scenario where the transmitting optical module has a single-wavelength 800G coherent line interface and the transmitting device has a 2 ⁇ 400G interface;
  • Fig. 39 is another schematic diagram of the link monitoring method provided by the embodiment of the present application, which is applicable to the application scenario where the transmitting optical module has a single-wavelength 800G coherent line interface, and the transmitting device has a 2 ⁇ 400G interface;
  • Figure 40 is a schematic diagram of the link monitoring method provided by the embodiment of the present application, which is applicable to an application scenario where the receiving end optical module has a single-wavelength 800G coherent line interface, and the receiving end device has a 2 ⁇ 400G interface;
  • Figure 41 is another schematic diagram of the link monitoring method provided by the embodiment of the present application, which is applicable to the application scenario where the receiving end optical module has a single-wavelength 800G coherent line interface, and the receiving end device has a 2 ⁇ 400G interface;
  • Figure 42 is another schematic diagram of the link monitoring method provided by the embodiment of the present application, which is applicable to the application scenario where the receiving end optical module has a single-wavelength 800G coherent line interface, and the receiving end device has a 2 ⁇ 400G interface;
  • Figure 43 is a schematic diagram of an application scenario where the link monitoring method provided by the embodiment of the present application is applicable to an application scenario where the transmitting optical module has a single-wavelength 800G coherent line interface and the transmitting device has a 4 ⁇ 200G interface;
  • Fig. 44 is a schematic diagram of an application scenario where the link monitoring method provided by the embodiment of the present application is applicable to the receiving end optical module having a single-wavelength 800G coherent line interface and the receiving end device having a 4 ⁇ 200G interface;
  • Fig. 45 is a schematic structural diagram of a link monitoring device provided by an embodiment of the present application.
  • Fig. 46 is a schematic structural diagram of another link monitoring device provided by the embodiment of the present application.
  • Fig. 47 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
  • optical communication systems and optical transport networks are developing towards large capacity and ultra-high speed.
  • Optical communication systems typically utilize the amplitude, phase, polarization or frequency of light waves to carry data.
  • optical signals are subject to signal distortion due to dispersion, polarization-dependent impairments, noise, nonlinear effects, and other factors.
  • wear and aging of components in optical networks can lead to degradation of transmission system performance.
  • Forward error correction coding (forward error correction, FEC) is used to correct the transmitted data, which can solve the transmission error and restore the original data sent by the sender from the received data.
  • FEC decoding can also assist in link synchronization and link performance monitoring.
  • link performance monitoring refers to monitoring the quality of a link used for data transmission.
  • An embodiment of the present application provides a link monitoring method.
  • the link monitoring method can be applied to the sending end processing module, and the link monitoring method is used to monitor the quality of the link used for data transmission.
  • the link monitoring method by receiving the data encoded by the outer code, the data encoded by the outer code is encoded by the inner code and output, and at the same time, the data encoded by the outer code is decoded by the outer code, and according to the When the data encoded by the external code is decoded by the external code, the quality of the link used to transmit the data encoded by the external code can be determined, and the quality of the link can be effectively monitored.
  • the link monitoring method since the data encoded by the outer code needs to be encoded by the inner code and output, the data encoded by the outer code also needs to be decoded by the outer code, and it is determined according to the situation of the outer code decoding Link quality, and these two processes will be executed in two ways, so that the process of decoding the data with the outer code and determining the link quality will not affect the process of encoding the data with the inner code and outputting it, so it will not be affected by The process of performing external code decoding and determining the link quality additionally increases the overall transmission delay of data, so that the link monitoring method can be applied to more transmission scenarios, especially for transmission scenarios with lower requirements on transmission delay .
  • the embodiment of the present application provides another link monitoring method.
  • the link monitoring method can be applied to the receiving end processing module, and the link monitoring method is used for monitoring the quality of the link used for data transmission.
  • the link monitoring method by receiving the data encoded by the outer code and the inner code, the data encoded by the outer code and the inner code are decoded by the inner code and output, and the data decoded by the inner code are simultaneously Outer code decoding, and according to the situation of outer code decoding on the data decoded by the inner code, determine the quality of the link used to transmit the data encoded by the outer code and the inner code, and the quality of the link can be determined effective monitoring.
  • the link monitoring method since the data decoded by the inner code needs to be output, the data decoded by the inner code also needs to be decoded by the outer code, and the link quality is determined according to the decoding of the outer code. And these two processes will be executed in two ways, so that the process of decoding the data with the outer code and determining the link quality will not affect the process of outputting the data that has been decoded with the inner code, so it will not be affected by the decoding of the outer code.
  • the process of coding and determining the link quality additionally increases the overall transmission delay of data, so that the link monitoring method can be applied to more transmission scenarios, especially for transmission scenarios with lower requirements on transmission delay.
  • the embodiment of the present application provides yet another link monitoring method.
  • the link monitoring method can be applied to the processing module at the sending end, that is, the processing module at the sending end.
  • the link monitoring method is used to monitor whether the deviation-corrected data meets the processing standard, and determines the method used for subsequent deviation-correction processing according to the result of monitoring whether the data reaches the processing standard.
  • the link monitoring method by receiving the data encoded by the outer code, the data encoded by the outer code is corrected, the data encoded by the outer code is encoded by the inner code and output, and at the same time, it is detected whether the data processed by the deviation correction The processing standard is met, and when the deskewed data does not meet the processing standard, adjust the deskewing method used by the deskewing process.
  • the embodiment of the present application provides another link monitoring method.
  • the link monitoring method can be applied to a receiving end processing module, that is, a processing module located at the receiving end.
  • the link monitoring method is used to monitor whether the deviation-corrected data meets the processing standard, and determines the method used for subsequent deviation-correction processing according to the result of monitoring whether the data reaches the processing standard.
  • the link monitoring method by receiving the data encoded by the outer code and the inner code, the data encoded by the outer code and the inner code are decoded by the inner code and output, and the data decoded by the inner code are simultaneously Deviation correction processing, and detect whether the data after deviation correction processing reaches the processing standard, and adjust the deviation correction method used in the deviation correction processing when the data after deviation correction processing does not meet the processing standard.
  • FIG. 1 is a schematic diagram of an implementation environment involved in a link monitoring method provided in an embodiment of the present application.
  • the implementation environment includes: an originating device 01 , an originating processing module 02 , a channel transmission medium 03 , a receiving end processing module 04 and a receiving end device 05 .
  • the originating device 01 and the receiving device 05 can be devices such as switches or routers, and the originating device 01 is also called a client-side chip (host chip) at the sending end, and the receiving device 05 is also called a host chip at the receiving end.
  • the channel transmission medium 03 may be an optical fiber.
  • the originating device 01 and the originating processing module 02 may be connected through an attachment unit interface (AUI), and the receiving device 05 and the receiving processing module 04 may be connected through an AUI.
  • the processing module may be an optical module, an electrical module, or other modules that process data during data transmission.
  • the processing module may be an 800LR module (800LR module, a coherent optical module).
  • the originating device 01, the originating processing module 02, the channel transmission medium 03, the receiving end processing module 04, and the receiving device 05 in this application scenario can all support bidirectional transmission or unidirectional transmission. It is not specifically limited.
  • FIG. 2 is a schematic diagram of a data transmission process in the implementation environment shown in FIG. 1 provided by the embodiment of the present application.
  • the originating device 01 in the process of transmitting data from the originating device 01 to the receiving device 05 , the originating device 01 is used to encode the data with an outer code, and then transmit the outer-coded data to the originating processing module 02 .
  • the sending end processing module 02 is used to perform inner code encoding on the data encoded by the outer code, obtain the data encoded by the outer code and the inner code, and transmit the data encoded by the outer code and the inner code to the channel transmission medium 03.
  • the channel transmission medium 03 is used to transmit the data encoded by the outer code and the inner code to the receiving end processing module 04 .
  • the receiving end processing module 04 is used to perform inner code decoding on the data encoded by the outer code and the inner code, and transmit the data decoded by the inner code (that is, the data to be decoded by the outer code) to the receiving end device 05 .
  • the receiving end device 05 is used for performing outer code decoding on the data that has undergone inner code decoding.
  • both the sending-end processing module 02 and the receiving-end processing module 04 are also used to monitor the quality of the link used for data transmission.
  • both the sending-end processing module 02 and the receiving-end processing module 04 are also used to perform deviation correction processing on the signal, and monitor whether the data after deviation correction processing reaches the processing standard, and determine the follow-up deviation correction processing according to the result of monitoring whether the processing standard is met. method.
  • the "inner” in the inner code and the “outer” in the outer code indicate the distance between the execution subject operating on the data and the channel transmission medium 03, and the execution subject operating on the inner code is closer to the channel transmission medium, The execution subject that operates the external code is relatively far away from the channel transmission medium.
  • the data is transmitted from the originating device 01 to the channel transmission medium 03 through the originating processing module 02, and then transmitted from the channel transmission medium 03 to the receiving end device 05 through the receiving end processing module 04, through the originating device 01
  • the encoded data is farther away from the channel transmission medium 03 than the data encoded by the sending end processing module 02, and the data decoded by the receiving end device 05 is farther away from the channel transmission medium 03 than the data decoded by the receiving end processing module 04.
  • the data encoded by the originating device 01 is called the data encoded by the outer code
  • the data encoded by the originating processing module 02 is called the data encoded by the inner code
  • the data decoded by the receiving device 05 is called the data decoded by the outer code
  • the data decoded by the receiving end processing module 04 is called the data decoded by the inner code.
  • the above content is an exemplary description of the application scenarios of the link monitoring method provided by the embodiment of the present application, and does not constitute a limitation on the application scenarios of the link monitoring method.
  • the application scenarios can be adjusted according to the application requirements, and the embodiments of this application do not list them one by one.
  • a link monitoring method applied to the sending end processing module is firstly introduced below.
  • the link monitoring method is used to monitor the quality of a link used to transmit data.
  • the implementation process of the link monitoring method includes the following steps:
  • Step 301 the originating processing module receives the data encoded by the outer code.
  • the originating processing module 02 is provided with a physical medium attachment (PMA) sublayer 021.
  • the originating processing module receives the data encoded by the outer code, and the essence is that the PMA sublayer receives the data encoded by the outer code of the originating device through the interface (such as AUI) between the originating processing module and the originating device. And, after the PMA sublayer receives the data encoded by the outer code, it can demultiplex the data encoded by the outer code to obtain n physical coding sublayer lanes (physical coding sublayer lane, PCSL) data streams, so that De-skew processing is performed on the n PCSL data streams.
  • PCSL physical coding sublayer lanes
  • Step 302 the processing module at the sending end performs inner code encoding on the data encoded by the outer code, and outputs the data encoded by the inner code.
  • the sending end processing module can perform inner code encoding on the data encoded by the outer code, and output the data encoded by the inner code, so as to facilitate processing to the receiving end through the channel transmission medium (such as optical fiber)
  • the module transmits data encoded by an internal code.
  • data errors caused by the interface transmission between the originating processing module and the originating device are not decoded and eliminated by the outer code, and then sent to the inner code for encoding.
  • an inner code encoding unit 022 is set in the originating processing module 02 , and the inner code encoding unit 022 is used for performing inner code encoding.
  • the originating processing module performs internal code encoding on the data encoded by the external code, which essentially uses the internal code encoding method to obtain the internal code check data of the data encoded by the external code, and adds the internal code to the data encoded by the external code.
  • Internal code check data The sending end processing module outputs the data encoded by the inner code, which is essentially outputting the data encoded by the outer code added with the verification data, also known as outputting the data encoded by the outer code and the inner code.
  • the specific implementation manners of the object that is, the data encoded by the inner code
  • the data encoded by the inner code may be processed data including encoding by the outer code and deskewing.
  • an identification locking and lane de-skew processing (alignment lock and lane de-skew) unit 023 is set in the originating processing module 02 .
  • the identification locking and channel skew correction processing unit 023 is used to perform skew correction processing on the data. For example, as shown in FIG.
  • the processing module 02 at the originating end may perform deviation correction processing on the data encoded by the outer code first, and then perform inner code encoding on the data encoded by the deviation correction process.
  • the data encoded by the inner code may directly be the data encoded by the outer code.
  • the sending-end processing module 02 may directly encode the data encoded by the outer code with the inner code.
  • the data encoded by the inner code may be data processed including outer code encoding and data processing. In an implementable manner, the data processing includes: first interleaving processing.
  • the sending end processing module 02 after the sending end processing module 02 receives the data encoded by the outer code, it can first perform deviation correction processing on the data encoded by the outer code, then perform the first interleaving process on the data after the deviation correction processing, and then perform the first interleaving process on the data encoded by the outer code.
  • the data that has undergone the first interleaving process is encoded with an inner code.
  • the processing module 02 at the originating end can perform deviation correction processing on the data encoded by the outer code on the one hand, and perform first processing on the data encoded by the outer code on the other hand.
  • a first interleaving processing unit 024 is set in the transmitting end processing module 02 , and the first interleaving processing unit 024 is configured to perform first interleaving processing.
  • the data subjected to deskew usually includes data of multiple channels.
  • the processing module at the sending end can also perform lane reordering processing on the data. That is, the data encoded by the inner code may be the data that has undergone processes including outer code encoding, deviation correction processing, and channel reordering.
  • the channel reordering process refers to reordering the data of the multiple channels according to the alignment marks of the data of the multiple channels, so that the data of the multiple channels can be arranged in a specified order.
  • the data that has undergone skew correction processing and channel reordering can be divided into two paths, one path is used for inner code encoding, and the other path is used for outer code decoding.
  • a channel reordering unit 025 is set in the originating processing module 02 .
  • the channel reordering unit 025 is used for performing channel reordering processing on data.
  • the output process of the originating processing module is sorted according to the order specified by the channel reordering, which can make the performance test of the sending end processing module, different sending end processing modules of the same type have the same output data under the same input data, which is beneficial to the sending end processing module. Performance testing of processing modules.
  • the first interleaving process needs to be performed on the data before the inner code encoding is performed on the data, since the data after the channel reordering can be sorted according to the order specified by the channel reordering, the order of the data in the first interleaving process is fixed, The design of the first interleaving processing unit can be facilitated.
  • the processing module at the sending end may first perform a first de-interleaving (de-interleave) process on the data.
  • the data encoded by the inner code is the data including outer code encoding, deviation correction processing, channel reordering processing and first deinterleaving processing.
  • the data processed by deviation correction, channel reordering and first deinterleaving can be divided into two paths, one path is used for inner code encoding, and the other path is used for outer code decoding.
  • the transmitting device performs the second interleaving process on the data encoded by the outer code, and then outputs the data that has undergone the second interleaving process, and the first deinterleaving process is the result of the second interleaving process.
  • inverse processing By performing the first deinterleaving process on the data, a stream of codewords can be obtained according to the data of multiple channels. If the data encoded by the outer code is RS-encoded data, the codeword stream is the RS codeword stream (stream of Reed-solomon codewords).
  • the processing module at the transmitting end may first perform channel reordering processing on the data that has undergone the skew correction, then perform the first deinterleaving process on the data that has undergone channel reordering, and then perform the first deinterleaving process on the data that has undergone the first deinterleaving process.
  • Internal code encoding may first perform channel reordering processing on the data that has undergone the skew correction, then perform the first deinterleaving process on the data that has undergone channel reordering, and then perform the first deinterleaving process on the data that has undergone the first deinterleaving process.
  • the processing module at the sending end may first perform channel reordering processing on the skew-corrected data, then perform first deinterleaving processing on the data that has undergone channel reordering, and then perform first interleaving processing on the data that has undergone the first deinterleaving processing, and then Inner code encoding is performed on the data that has undergone the first interleaving process.
  • a first deinterleaving processing unit 026 is set in the transmitting end processing module, and the first deinterleaving processing unit 026 is configured to perform first deinterleaving processing on data.
  • the processing module at the originating end may also perform some data processing on the data encoded by the inner code. For example, data processing such as modulation mapping or channel interleaving can be performed on the data encoded by the inner code first, and then the processed data can be transmitted to the channel transmission medium.
  • data processing such as modulation mapping or channel interleaving can be performed on the data encoded by the inner code first, and then the processed data can be transmitted to the channel transmission medium.
  • the implementation process of performing correction processing on the n PCSL data streams may include: obtaining alignment markers (alignment markers, AM) of the n PCSL data streams, and aligning the n PCSL data streams according to the alignment markers of the n PCSL data streams. Perform identification locking on the n PCSL data streams, and perform deviation correction processing on the n PCSL data streams according to the alignment identifications of the n PCSL data streams after determining that the alignment identifications of the n PCSL data streams are legal.
  • alignment markers alignment markers, AM
  • the communication standard defines the standard alignment identifiers of n1 PCSL data streams corresponding to the transmission scenario
  • the implementation method for determining that the identifiers of n1 PCSL data streams are all legal includes: the n1 PCSL data streams received by the sending end processing module
  • the alignment identifiers of the PCSL data streams are matched with the standard alignment identifiers of n1 PCSL data streams defined in the communication standard. When matching, it is determined that the identifiers of the n1 PCSL data streams are legal.
  • n n1*p, p is a positive integer, and n1 is a positive integer.
  • Each data stream determines that the alignment identifiers of its n1 PCSL data streams are legal according to the above description. Then, skew correction processing is performed on the n PCSL data streams according to the alignment identifiers of all n PCSL data streams, or skew correction processing is performed on p data streams respectively.
  • the processing module at the originating end can determine the deviation correction method used for the deviation correction processing of the data according to some strategies. For example, the originating processing module can perform deviation correction processing on the data first, and then detect whether the data after deviation correction processing reaches the processing standard. The deviation-correction-processed data meets the processing standard, and adopts the deviation-correction method corresponding to the processing standard to perform deviation-correction processing on the data.
  • the implementation process of this process will not be described in detail here, and the implementation process of this process can refer to the related descriptions of steps 3201 to 3205 in the following content accordingly.
  • Step 303 the originating processing module performs outer code decoding on the data encoded by the outer code.
  • the processing module at the sending end can perform external code decoding on the data encoded by the external code, and determine the quality of the link used to transmit the data encoded by the external code according to the situation of the external code decoding. Moreover, since the originating processing module needs to encode and output the data encoded by the outer code on the one hand, and to decode the data encoded by the outer code on the other hand, and then determine the link according to the decoding situation of the outer code. road quality. That is to say, the source processing module performs internal code encoding on the data encoded by the external code and outputs it, and the source processing module performs external code decoding on the data encoded by the external code and determines the link quality, respectively on the two processing channels implement.
  • an outer code decoding unit 027 is set in the originating processing module 02, and the outer code decoding unit 027 is used to perform outer code decoding on the data encoded by the outer code, according to In the case of outer code decoding of the outer code encoded data, the quality of the link used to transmit the outer code encoded data is determined.
  • the specific implementation manners of the data decoded by the external code are different.
  • the data decoded by the outer code may be data subjected to processing including encoding by the outer code and deskewing.
  • the processing module 02 at the originating end may first perform deviation correction processing on the data encoded by the outer code, and then perform outer code decoding on the data that has undergone the deviation correction processing .
  • the skew correction processing can be performed in the processing module at the sending end Execute after receiving the data encoded by the outer code, and after performing the deviation correction processing, the data after the deviation correction processing can be processed in two ways, one way is encoded by the sending end processing module and output, and the other way is processed by the sending end processing module Outer code decoding.
  • the data decoded by the outer code may be data subjected to processing including outer code encoding, channel reordering processing, and first deinterleaving.
  • the processing module 02 at the originating end may first perform deviation correction processing and channel reordering processing on the data encoded by the outer code, and then The first deinterleaving process is performed on the channel-reordered data, and then the outer code decoding is performed on the data after the first deinterleaving process.
  • the data decoded by the outer code may be data that has undergone encoding and data extraction including the outer code.
  • the originating processing module 02 can first perform data extraction on the data encoded by the external code, and then perform external data extraction on the data extracted by the external code. code decoding.
  • the implementation manners of performing skew correction processing on data, performing channel reordering processing on data, and performing first deinterleaving processing on data can refer to relevant descriptions in the foregoing content accordingly, and details are not repeated here.
  • the data decoded by the external code can also be the data that has undergone skew correction processing, data extraction, channel reordering processing, and first deinterleaving processing.
  • the execution sequence of multiple processes such as deinterleaving process can be adjusted according to application requirements.
  • Extracting data from data refers to extracting part of the data flow from the data according to preset rules.
  • a data extraction unit 028 is set in the originating processing module 02 .
  • the data extraction unit 028 can extract part of the data stream from the data according to preset rules, and output the extracted data stream.
  • the preset rule used for data extraction may be: T0 symbols are selected for every interval of T symbols in the data, and in order to ensure that the data stream after data extraction can be decoded, it is necessary to ensure that T0 symbols include at least A complete codeword sequence.
  • T ⁇ T0, and both T and T0 are positive integers.
  • Values of T and T0 may be determined according to application requirements. For example, as shown in FIG. 16, there are 16 PCSL data streams. Considering that the code length of the outer code is 544 symbols, the symbols A0, A1, A2, etc. in the data stream represent a codeword data stream, and A0, A1, ..., A543 constitute a codeword; the symbols B0, B1, B2 etc.
  • T can be 2176
  • T0 can be 1088.
  • the extracted data includes the symbols in the dotted box 2 in Figure 16.
  • the data rate obtained through data extraction can be lower than the data rate of the inner code encoding by the transmitting processing module, which can reduce the speed of the signal after deviation correction processing and realize low power consumption monitoring.
  • Step 304 The originating processing module determines the quality of the link used to transmit the data encoded by the outer code according to the situation of decoding the data encoded by the outer code.
  • step 304 includes:
  • Step 3041a the originating processing module determines the number of symbol errors for each codeword sequence in the P1 codeword sequences according to the outer code decoding of the P1 codeword sequences in the data encoded by the outer code, and P1 is a positive integer .
  • the processing module at the sending end can determine the number of symbol errors in the code word sequence according to the decoding of the code word sequence in the data encoded by the outer code. In a practicable manner, if it is determined according to the decoding of the outer code that the codeword sequence can be correctly decoded (i.e. correctable), then the total number of symbols corrected for the codeword sequence in the decoding process can be recorded as is the number of symbol errors in the codeword sequence.
  • the number of error symbols in the codeword sequence exceeds the number of error symbols corresponding to the maximum error correction capability of decoding t, at this time, the number of symbol errors in the codeword sequence can be recorded as t+1.
  • the number of error symbols corresponding to the maximum error correction capability of its decoding is 15, if the received code word sequence can be corrected, then the code word sequence in the decoding process
  • the total number of corrected symbols can be recorded as the number of erroneous symbols of the codeword sequence, and if the received codeword sequence cannot be corrected, the number of erroneous symbols of the codeword sequence can be recorded as 16.
  • the processing module at the originating end may determine the quality of the link used to transmit the data encoded by the outer code according to the number of symbol errors in one or more (namely, P1) codeword sequences in the data encoded by the outer code. At this time, the processing module at the originating end needs to determine the number of symbol errors for each codeword sequence in the P1 codeword sequences respectively. And when the quality of the link is determined according to the number of error symbols of multiple codeword sequences in the data encoded by the outer code, because the number of error symbols of multiple codeword sequences can more comprehensively reflect the impact of the codeword sequence on the link. influence, and can monitor the link quality more accurately.
  • the "number of error symbols in the codeword sequence" mentioned in the above description refers to the number of error symbols in the codeword sequence detected by the decoder, which may be equal to the number of symbols that actually exist in the codeword sequence.
  • the number of erroneous symbols may also not be equal to the number of erroneous symbols actually existing in the codeword sequence.
  • Step 3042a the originating processing module determines the quality of the link according to the number of symbol errors in the P1 codeword sequences.
  • the processing module at the originating end can determine the quality of the link according to the number of symbol errors in the codeword sequence.
  • the processing module at the sending end may calculate the sum of the number of symbol errors of the P1 codeword sequences in the data encoded by the outer code, and then determine the quality of the link according to the sum.
  • the sum can be compared with a preset threshold value, and when the sum is greater than the threshold (exceed the threshold), it is determined that the quality of the link has degraded, that is, the link has degraded (link degrade), when the sum is less than or equal to the threshold value, it is determined that the quality of the link does not degrade.
  • the threshold value may be determined according to application requirements.
  • step 304 includes:
  • Step 3041b the originating processing module determines the indication parameter corresponding to the code word sequence according to the outer code decoding of the code word sequence in the outer code coded data.
  • the implementation process of this step 3041b includes: the originating processing module determines the number of error symbols of the codeword sequence in the data encoded by the outer code according to the situation of the outer code decoding, and then according to the number of error symbols of the received codeword sequence, An indication parameter of the codeword sequence is determined.
  • the processing module at the originating end determines the number of symbol errors in the codeword sequence according to the decoding of the outer code, please refer to the relevant description in step 3041a accordingly.
  • the implementation of determining the indication parameter of the codeword sequence includes: comparing the number of symbol errors in the codeword sequence with a preset first threshold value , when the number of symbol errors in the codeword sequence is less than or equal to the first threshold value, set the indication parameter corresponding to the codeword sequence to Q0, and when the number of symbol errors in the codeword sequence is greater than the first threshold value, set The indication parameter corresponding to the codeword sequence is set to Q1.
  • the value of Q0 is smaller than the value of Q1, and the first threshold value, the values of Q0 and Q1 can all be determined according to application requirements. For example, the value of Q0 may be 0, and the value of Q1 may be 1.
  • step 3042b the processing module at the originating end determines the quality of the link according to the indication parameters corresponding to the P2 codeword sequences in the data encoded by the outer code, where P2 is a positive integer.
  • the processing module at the originating end may calculate the sum of the indication parameters corresponding to the P2 codeword sequences in the data encoded by the outer code, and then determine the quality of the link according to the sum. For example, the sum may be compared with a preset second threshold value, and when the sum is greater than the second threshold value, it is determined that the quality of the link has degraded, that is, the link has degraded. When the sum is less than or equal to the second threshold, it is determined that the quality of the link is not degraded.
  • the second threshold may be determined according to application requirements.
  • the quality of the link is divided into multiple grades, and set corresponding threshold values for the multiple grades, and when the sum is within a range limited by a certain threshold value, it is determined that the quality of the link is the The quality level corresponding to the threshold.
  • P2 can be a positive integer greater than 1.
  • this link monitoring method by performing external code decoding on the data encoded by the external code, and according to the situation of performing external code decoding on the data encoded by the external code, determine the The link quality of coded data can be effectively monitored.
  • the process of link quality increases the transmission delay of data, so that the link monitoring method can be applied to more transmission scenarios, especially for transmission scenarios with lower requirements on transmission delay.
  • a link monitoring method applied to the receiving end processing module is introduced below.
  • the link monitoring method is used to monitor the quality of a link used to transmit data.
  • the implementation process of the link monitoring method includes the following steps:
  • Step 1901 the receiving end processing module receives the data encoded by the outer code and the inner code.
  • the receiving-end processing module is connected to the sending-end processing module through a channel transmission medium (such as optical fiber). and inner code encoded data. Moreover, after the receiving end processing module receives the data encoded by the outer code and the inner code, it can process the data (such as performing channel deinterleaving and demodulation processing on the data) to obtain a data stream, so as to target the data stream for further processing.
  • a channel transmission medium such as optical fiber
  • Step 1902 the receiving end processing module performs inner code decoding on the data encoded by the outer code and the inner code, and outputs the decoded data by the inner code.
  • the receiving-end processing module After the receiving-end processing module receives the data encoded by the outer code and the inner code, it can decode the data with the inner code to at least partially eliminate the bit errors caused by the transmission in the channel transmission medium in the data, and output the data after the inner code Decoding the decoded data to complete the processing and transmission of the data in the receiving end processing module.
  • the receiving end processing module 04 is provided with an inner code decoding unit 041 and a PMA sublayer 042 .
  • the inner code decoding unit 041 is used for performing inner code decoding on the data encoded by the outer code and the inner code.
  • the receiving end processing module outputs the data decoded by the inner code, and the essence is that the PMA sublayer 042 transmits the data decoded by the inner code to the receiving end device through the interface (such as AUI) between the receiving end processing module and the receiving end device.
  • the interface such as AUI
  • the specific implementation manners of the data output by the processing module at the receiving end are different.
  • the data output by the processing module at the receiving end may be directly decoded data with an inner code.
  • the receiving-end processing module 04 may directly output the data decoded by the inner code after performing inner code decoding on the data encoded by the outer code and the inner code.
  • the processing module at the sending end can also perform data processing on the data before encoding the data with the inner code, so that the data encoded with the outer code and the inner code can be processed data
  • the received end The data output by the processing module may be data that has undergone inverse processing including inner code decoding and data processing.
  • the data processing may include: first interleaving processing, and the inverse processing of the data processing may include: second deinterleaving processing.
  • the receiving end processing module 04 after the receiving end processing module 04 receives the data encoded by the outer code and the inner code, it can first decode the data encoded by the outer code and the inner code, and then decode the data encoded by the inner code.
  • the code-decoded data is subjected to the second deinterleaving process, and then the data subjected to the second deinterleaving process is output.
  • the receiving end processing module 04 is provided with a second deinterleaving processing unit 043 .
  • the second deinterleaving processing unit 043 is configured to perform deinterleaving processing on the data decoded by the inner code.
  • Step 1903 the receiving end processing module performs outer code decoding on the data decoded by the inner code.
  • the receiving end processing module can perform outer code decoding on the data decoded by the inner code, and determine the quality of the link used to transmit the data encoded by the outer code and the inner code according to the situation of the outer code decoding. Moreover, since the receiving end processing module needs to output the data decoded by the inner code on the one hand, and decode the data by the outer code on the other hand, and determine the link quality according to the decoding of the outer code. That is, the receiving-end processing module outputs the data decoded by the inner code, performs outer-code decoding with the receiving-end processing module and determines the link quality, and executes on two processing channels respectively.
  • the receiving end processing module 04 is provided with an outer code decoding unit 044 for performing outer code decoding on the data.
  • the specific implementation manners of the data decoded by the external code are different.
  • the data decoded by the outer code may be the data decoded by the inner code.
  • the data decoded by the outer code may be processed data including decoding by the inner code and deskewing.
  • the receiving end processing module 04 after receiving the data decoded by the inner code, the receiving end processing module 04 can firstly perform deviation correction processing on the data decoded by the inner code, and then perform external processing on the data subjected to the deviation correction processing. code decoding.
  • the terminal processing module 04 is provided with an identification locking and channel deviation correction processing unit 045, and the identification locking and channel deviation correction processing unit 045 is used for performing deviation correction processing on the data.
  • the data decoded by the outer code may be data that has undergone processing including inner code decoding, channel reordering processing, and first deinterleaving processing.
  • the receiving end processing module 04 can first perform channel reordering processing on the data decoded by the inner code, and then reorder the data through the channel The reordered data is subjected to the first deinterleaving process, and then the outer code decoding is performed on the data subjected to the first deinterleaving process.
  • the receiving end processing module 04 is provided with a channel reordering unit 046 and a first deinterleaving processing unit 047, the channel reordering unit 046 is used to perform channel reordering processing on the data, and the first deinterleaving processing unit 047 is used to process the data Perform the first deinterleaving process.
  • the data decoded by the outer code may be processed by including inner code decoding and first deinterleaving. Data, that is, the receiving end processing module does not need to perform channel reordering processing on the data encoded by the outer code and the inner code.
  • the receiving end processing module can first perform the first deinterleaving process on the data decoded by the inner code, and then perform the first deinterleaving process on the data that has undergone the first deinterleaving process.
  • the data is decoded with the outer code.
  • the data decoded by the outer code may be data that has undergone decoding including inner code and data extraction.
  • the receiving end processing module 04 after receiving the data decoded by the inner code, the receiving end processing module 04 can first extract the data decoded by the inner code, and then extract the data extracted by the outer code.
  • the receiving end processing module 04 is provided with a data extraction unit 048 , and the data extraction unit 048 is used for data extraction of data.
  • the data decoded by the inner code may be data processed
  • the data decoded by the outer code may be data subjected to reverse processing including decoding the inner code and the data processing.
  • the data processing includes: first interleaving processing
  • the inverse processing includes: second deinterleaving processing.
  • the receiving end processing module 04 after the receiving end processing module 04 receives the data decoded by the inner code, it can first perform the second deinterleaving process on the data decoded by the inner code, and then deinterleave the data after the second deinterleave The interleaved data is decoded with an outer code.
  • the inverse processing can be executed after the receiving end processing module receives the data decoded by the inner code, and after performing the inverse processing, the inversely processed data can be divided into two paths, and one path is output by the receiving end processing module , and the other channel is decoded by the receiving end processing module.
  • the implementation of performing deviation correction processing on data, performing channel reordering processing on data, performing first deinterleaving processing on data, performing data extraction on data, and performing second deinterleaving processing on data can be referred to in the preceding content accordingly. Relevant descriptions will not be repeated here.
  • the data decoded by the external code can also be the data that has undergone skew correction processing, data extraction, channel reordering processing, and first deinterleaving processing.
  • the execution sequence of multiple processes such as deinterleaving process can be adjusted according to application requirements.
  • Step 1904 the receiving end processing module determines the quality of the link used to transmit the data encoded by the outer code and the inner code according to the situation of decoding the data decoded by the inner code.
  • step 1904 includes:
  • Step 19041a the receiving end processing module determines the number of error symbols of each codeword sequence in the P3 codeword sequences according to the outer code decoding of the P3 codeword sequences in the data decoded through the inner code, and P3 is positive integer.
  • step 19041a please refer to the implementation process of step 3041a accordingly.
  • Step 19042a the receiving end processing module determines the quality of the link according to the number of symbol errors in the P3 codeword sequences.
  • step 19042a please refer to the implementation process of step 3042a accordingly.
  • step 1904 includes:
  • Step 19041b the receiving end processing module determines the indication parameter corresponding to the code word sequence according to the outer code decoding of the code word sequence in the data decoded by the inner code.
  • step 19041b please refer to the implementation process of step 3041b accordingly.
  • Step 19042b the receiving end processing module determines the quality of the link according to the indication parameters corresponding to the P4 codeword sequences in the data decoded by the inner code, and P4 is a positive integer.
  • step 19042b please refer to the implementation process of step 3042b accordingly.
  • this link monitoring method by performing external code decoding on the data encoded by the external code, and according to the situation of performing external code decoding on the data encoded by the external code, determine the The link quality of coded data can be effectively monitored.
  • the data decoded by the inner code needs to be output, the data decoded by the inner code also needs to be decoded by the outer code, and the link quality is determined according to the decoding of the outer code, and the two processes will be divided into two parts: way, so that the process of decoding the data with the outer code and determining the quality of the link will not affect the process of outputting the decoded data with the inner code, so it will not be affected by the process of decoding the data with the outer code and determining the quality of the link.
  • An additional increase in the overall transmission delay of data enables the link monitoring method to be applied to more transmission scenarios, especially for transmission scenarios with lower requirements on transmission delay.
  • a link monitoring method applied to the sending end processing module is introduced below.
  • the link monitoring method is used to monitor whether the deviation-corrected data meets the processing standard, and determines the method used for subsequent deviation-correction processing according to the result of monitoring whether the data reaches the processing standard.
  • the implementation process of the link monitoring method includes the following steps:
  • Step 3201 the originating processing module receives the data encoded by the outer code.
  • step 3201 For the implementation process of step 3201, reference may be made to the implementation process of step 301, which will not be repeated here.
  • Step 3202 the processing module at the sending end performs inner code encoding on the data encoded by the outer code, and outputs the data encoded by the inner code.
  • step 302 For the implementation process of the inner-code encoding performed by the sending-end processing module on the outer-coded data, reference may be made to the related description of step 302, which will not be repeated here.
  • the processing module at the originating end may first perform data processing on the data encoded by the external code, and then perform internal code encoding on the processed data.
  • the object of the inner code encoding by the originating processing module (that is, the data encoded by the inner code by the originating processing module, also referred to as the data encoded by the inner code) is the data including outer code encoding and data processing.
  • the data processing includes: first interleaving processing.
  • the processing module at the originating end may also perform some data processing on the data encoded by the inner code. For example, data processing such as modulation mapping or channel interleaving can be performed on the data encoded by the inner code first, and the processed data can be transmitted to the channel transmission medium.
  • data processing such as modulation mapping or channel interleaving can be performed on the data encoded by the inner code first, and the processed data can be transmitted to the channel transmission medium.
  • Step 3203 the originating processing module performs deviation correction processing on the data encoded by the outer code.
  • the execution timing of the process of correcting the data encoded by the outer code by the originating processing module can be adjusted according to the requirements of the transmission scenario.
  • the processing module at the sending end needs to perform inner code encoding on the data encoded by the outer code, and output the data encoded by the inner code.
  • the following takes the process of correcting the data encoded by the outer code, and the different execution order of the process of encoding the data encoded by the outer code and outputting the data encoded by the outer code as an example, and explains the timing of its execution:
  • the processing module of the sending end performs deviation correction processing on the data encoded by the outer code
  • the processing module at the originating end may be executed before the processing module at the originating end performs inner-code encoding on the outer-code-encoded data and outputs it.
  • the object of inner code encoding that is, the data encoded by inner code
  • the process of the processing module at the originating end performing inner code encoding on the data encoded by the outer code includes: performing inner code encoding on the data that has undergone skew correction processing.
  • the processing module at the sending end will also encode the data with an inner code and output the encoded data.
  • the originating processing module will first modify some data in the data and mark the data as not meeting the processing standard, then perform internal code encoding, and output the internal code Code-encoded data.
  • the data subjected to deskew usually includes data of multiple channels.
  • the transmission processing module can also perform channel reordering processing on the data, for example, as shown in Figure 8, Figure 9, and 10 and Figure 15.
  • the processing module at the sending end may firstly perform the first deinterleaving process on the data.
  • the data encoded by the inner code is the data that includes outer code encoding, skew correction processing, channel reordering processing and first deinterleaving processing, as shown in FIG. 9 and FIG. 15 , for example.
  • the processing module at the transmitting end may first perform channel reordering processing on the data that has undergone the skew correction, then perform the first deinterleaving process on the data that has undergone channel reordering, and then perform the first deinterleaving process on the data that has undergone the first deinterleaving process.
  • Internal code encoding is the data that includes outer code encoding, skew correction processing, channel reordering processing and first deinterleaving processing, as shown in FIG. 9 and FIG. 15 , for example.
  • the processing module at the transmitting end may first perform channel reordering processing on the data that has undergone the skew correction, then perform the first deinter
  • the processing module at the sending end may first perform channel reordering processing on the skew-corrected data, then perform first deinterleaving processing on the data that has undergone channel reordering, and then perform first interleaving processing on the data that has undergone the first deinterleaving processing, and then Inner code encoding is performed on the data that has undergone the first interleaving process.
  • first perform channel reordering processing on the skew-corrected data may first perform channel reordering processing on the data that has undergone channel reordering, and then perform first interleaving processing on the data that has undergone the first deinterleaving processing, and then Inner code encoding is performed on the data that has undergone the first interleaving process.
  • the processing module at the originating end can perform deviation correction processing on the data encoded by the outer code on the one hand, and
  • the data is internal code encoded and output. That is to say, the process of correcting the data encoded by the outer code by the originating processing module and the process of encoding the data encoded by the outer code and outputting the inner code and outputting the data by the originating processing module can be performed in two ways.
  • the sending end processing module After the sending end processing module receives the data encoded by the outer code, it will perform two-way processing on the data encoded by the outer code, one way of processing is used to correct the data encoded by the outer code, and the other way of processing Perform inner code encoding on the data encoded by the outer code, and output the data encoded by the inner code.
  • the object of inner code encoding performed by the processing module at the originating end is not the data subjected to skew correction processing, but the received data encoded by outer code.
  • the process of correcting the data encoded by the outer code will not affect the process of encoding the data encoded by the outer code and outputting the inner code, so the overall transmission of data will not be increased due to the deviation correction process Delay can further reduce the overall data transmission delay.
  • Step 3204 the processing module at the originating end detects whether the data that has undergone deviation correction processing meets the processing standard.
  • the processing module at the sending end needs to perform inner code encoding on the data encoded by the outer code and output it; That is to say, the source processing module performs inner code encoding on the data encoded by the outer code and outputs it, and the source processing module detects whether the data that has undergone deviation correction processing meets the processing standard, and executes them on two processing channels respectively.
  • the process of detecting whether the corrected data meets the processing standard will not affect the process of encoding the data encoded by the outer code and outputting the inner code, so the overall transmission time of the data will not be increased due to the detection process. Delay can effectively reduce the overall data transmission delay.
  • the processing module at the sending end can assist in confirming whether the data that has undergone deviation correction processing meets the processing standard according to the decoding of the outer code of the data that has undergone deviation correction processing.
  • the sending-end processing module detects whether the data that has undergone deviation-correction processing meets the processing standard, including: the sending-end processing module performs external code decoding on the data that has undergone deviation-correction processing, and determines whether the data that has undergone deviation-correction processing reaches Handling standards. As shown in Fig. 4 to Fig.
  • an outer code decoding unit 027 is arranged in the sending end processing module 02, and the outer code decoding unit 027 is used for performing outer code decoding on the data that has undergone deviation correction processing, and according to the outer code decoding situation, determine whether the data that has been corrected has reached the processing standard.
  • the arrow pointing from the outer code decoding unit 027 to the identification locking and channel skew correction processing unit 023 is used to indicate whether the data that has undergone skew correction processing meets the processing standard.
  • the processing module at the sending end may determine that the data subjected to skew correction processing meets a processing standard when determining that the data subjected to skew correction processing can be decoded correctly.
  • a processing standard when determining that the data subjected to skew correction processing can be decoded correctly.
  • the embodiment of the present application uses the following two implementation manners as examples for description.
  • the processing module at the sending end determines that the data subjected to skew correction processing can be correctly decoded. That is, the processing module at the sending end can perform a complete decoding process on the data that has undergone skew correction processing, and after performing a complete decoding process on the data that has undergone skew correction processing, if it is determined that the decoding of the data that has undergone skew correction processing is completed If the coding process is performed, it is determined that the data that has undergone skew correction processing can be decoded correctly.
  • the processing module at the originating end can calculate a syndrome (syndrome) for the received codeword sequence in the data that has been subjected to deviation correction processing, and then calculate an error-location polynomial (error-location polynomial) according to the syndrome And solve the key equation (key-equation) to obtain the error position where the bit error occurs, and then determine the error value of the bit error according to the error position to decode the code word, so as to realize the decoding of the data after the deviation correction process.
  • a syndrome syndrome
  • error-location polynomial error-location polynomial
  • N1 is a positive integer greater than 1, and the value of the N1 can be adjusted according to the application scenario. For example, when the outer code is an RS code, and the RS code is a KP4RS(544,514) code, the value of N1 can be 3.
  • the codeword data stream received by the decoder can be divided into q codeword data streams and q sub-decoders are used for decoding respectively, the above-mentioned “consecutive N1 codewords appear in the data after deviation correction processing "Word sequence decoding failure" may refer to the occurrence of consecutive N1 codeword sequence decoding failures in any codeword data stream.
  • q is a positive integer greater than 1.
  • the data that has been corrected includes multiple codeword sequences and can be divided into q codeword data streams and decoded by q sub-decoders respectively, if any channel of data is found in the decoding process When there are consecutive N1 codeword sequences that fail to be decoded, it can be determined that the data that has undergone skew correction processing does not meet the processing standard.
  • the skew-corrected data includes one or more sets including M1 codeword sequences
  • N2 codeword sequences in any M1 codeword sequences that fail to be decoded
  • N2 is a positive integer greater than 1
  • M1 is a positive integer greater than N2
  • the values of M1 and N2 can be adjusted according to application scenarios.
  • a syndrome may be calculated for each codeword sequence in the skew-corrected data, when the syndrome of the codeword sequence in the skew-corrected data indicates that the skew-corrected data can be decoded correctly , the originating processing module determines that the data that has undergone skew correction processing can be correctly decoded.
  • the syndrome of the codeword sequence can directly indicate whether the codeword sequence can be decoded correctly.
  • the data that is checked to see whether it meets the processing standard may also be data that has undergone some processing and has undergone deviation correction processing. Also, depending on the transmission scenario, the data may be processed differently.
  • the embodiment of the present application uses the following situations as examples to describe it.
  • the data that is, the data subjected to skew correction processing
  • the data that is, the data subjected to skew correction processing
  • the data extraction for example, as shown in FIGS. 13 to 15 .
  • the data to be detected whether it meets the processing standard may be data that has undergone skew correction processing, channel reordering processing, and first deinterleaving processing, for example, as shown in Figure 9, Figure 10, Figure 11, Figure 12, Figure 13, Figure 14 and Figure 15.
  • the process of skew correction processing is performed before the process of encoding and outputting the inner code
  • the channel reordering process and the first deinterleaving process can be performed between the skew correction process and the inner code encoding, for example, as shown in Figure 9 and Figure 15 shown.
  • the channel reordering process and the first deinterleaving process can be performed after the skew correction process, for example, as shown in FIG. 12 , FIG. 13 and FIG. 14 .
  • the data to be detected whether it meets the processing standard may be data processed by deviation correction, data extraction, channel reordering, first deinterleaving, and so on.
  • the execution order of various processes such as deviation correction processing, data extraction, channel reordering processing, and first deinterleaving processing can be adjusted according to application requirements. For example, data extraction may be performed on the data first, then the channel reordering process is performed on the data extracted data, and then the first deinterleaving process is performed on the channel reordered data.
  • the channel reordering process may be performed on the data first, and then the first deinterleaving process is performed on the data that has undergone the channel reordering process, and then data extraction is performed on the data that has undergone the first deinterleaving process, which is not done in the embodiment of the present application.
  • the execution sequence of the process of data extraction and the process of correcting the data can also be adjusted according to application requirements. For example, according to the foregoing description, the data may be corrected first, and then data extraction may be performed on the data subjected to the deviation correction. Alternatively, data extraction may be performed on the data first, and then deviation correction processing may be performed on the extracted data, which is not specifically limited in this embodiment of the present application.
  • Step 3205 When the data that has undergone skew correction processing does not meet the processing standard, the originating processing module adjusts the skew correction method used in the skew correction processing.
  • the sending end processing module needs to adjust the deviation correction method used in the deviation correction processing, so as to effectively correct the deviation of the data .
  • the deskewed data meets processing standards, there is no need to adjust the deskewing method used by deskewing.
  • the deviation correction processing on the data can be realized through a state machine, and the adjustment of the deviation correction method used in the deviation correction processing can be realized by restarting the state machine.
  • this link monitoring method because the data encoded by the outer code needs to be encoded and output by the inner code, it is also necessary to detect whether the data that has been corrected has reached the processing standard, and the two processes will be divided into two parts: The process of detecting whether the corrected data meets the processing standard will not affect the process of encoding and outputting the data with the inner code, so the overall transmission delay of the data will not be increased due to the detection process, making the The link monitoring method can be applied to many transmission scenarios, and is especially suitable for transmission scenarios with lower requirements on transmission delay.
  • a link monitoring method applied to the receiving end processing module is introduced below.
  • the link monitoring method is used to monitor whether the deviation-corrected data meets the processing standard, and determines the method used for subsequent deviation-correction processing according to the result of monitoring whether the data reaches the processing standard.
  • the implementation process of the link monitoring method includes the following steps:
  • Step 3301 the receiving end processing module receives the data encoded by the outer code and the inner code.
  • the implementation process of step 3301 may refer to the implementation process of step 1901 accordingly.
  • Step 3302 The receiving end processing module performs inner code decoding on the data encoded by the outer code and the inner code, and outputs the decoded data by the inner code.
  • the implementation process of step 3302 may refer to the implementation process of step 1902 accordingly.
  • Step 3303 the receiving end processing module performs deviation correction processing on the data decoded by the inner code, and detects whether the data after deviation correction processing meets the processing standard.
  • the implementation process of the receiving end processing module detecting whether the skew-corrected data meets the processing standard can also refer to the implementation process of the sending end processing module detecting whether the skew-corrected data meets the processing standard in the foregoing content.
  • the receiving-end processing module may perform external code decoding on the data that has undergone deviation correction processing, and determine whether the data that has undergone deviation correction processing meets the processing standard according to the situation of external code decoding.
  • the skew-corrected data can be decoded correctly, it may be determined that the skew-corrected data meets the processing standard.
  • the receiving end processing module may determine that the data subjected to skew correction processing can be correctly decoded.
  • the syndrome of the codeword sequence in the skew-corrected data indicates that the skew-corrected data can be decoded correctly
  • the receiving end processing module can determine that the skew-corrected data can be decoded correctly.
  • N3 is a positive integer greater than 1.
  • the skew-corrected data includes M2 codeword sequences, and N4 codeword sequences among the M2 codeword sequences fail to be decoded, the skew-corrected data does not meet the processing standard.
  • N4 is a positive integer greater than 1
  • M2 is a positive integer greater than N4.
  • the receiving end processing module 04 is provided with an outer code decoding unit 044 and an identification locking and channel correction processing unit 045 .
  • the identification locking and channel deviation correction processing unit 045 is used to perform deviation correction processing on the signal.
  • the outer code decoding unit 044 is used to perform outer code decoding on the data that has undergone the deviation correction processing, and determine whether the data that has undergone the deviation correction processing meets the processing standard according to the situation of the outer code decoding.
  • the arrow pointing from the outer code decoding unit 044 to the identification locking and channel skew correction processing unit 045 is used to indicate whether the data that has undergone skew correction processing meets the processing standard.
  • the receiving-end processing module needs to output the data decoded by the inner code, and on the other hand, it needs to perform deviation correction processing on the data decoded by the inner code, and then detect whether the data after the deviation correction process meets the processing standard. That is, the receiving-end processing module outputs the data decoded by the inner code, and the receiving-end processing module detects whether the deviation-corrected data meets the processing standard, and is respectively executed on two processing channels. In this way, the process of detecting whether the corrected data meets the processing standard will not affect the process of outputting the data decoded by the inner code, so the overall transmission delay of the data will not be increased due to the detection process, which can effectively Reduce the overall data transmission delay.
  • the data encoded by the outer code and the inner code may be data processed.
  • the data decoded by the inner code may be data processed.
  • the data subjected to skew correction processing may be data subjected to inverse processing including inner code decoding and data processing.
  • the data processing includes: first interleaving processing, and the inverse processing includes: second deinterleaving processing.
  • the receiving-end processing module performs deviation correction processing on the data decoded by the inner code, including: the receiving-end processing module performs inverse processing on the data decoded by the inner code, and the receiving-end processing module performs reverse processing on the data that has been reversely
  • a deskew process is performed, for example, as shown in FIGS.
  • the receiving end processing module needs to inversely process the data before outputting the data decoded by the inner code, and the receiving end processing module needs to perform inverse processing on the data before correcting the data, the inverse processing process can be performed in the receiving end processing module
  • the data encoded by the outer code and the inner code are decoded by the inner code before execution, and after the inverse processing is performed, the data after the inverse processing can be divided into two paths, one path is output by the receiving end processing module, and the other path is output by the receiving end processing module.
  • the receiving end processing module performs deviation correction processing.
  • the process of the deviation correction processing and checking whether the processing standard is met will not affect the process of outputting the data decoded by the inner code.
  • the overall data transmission delay will not be additionally increased due to the detection process, and the overall data transmission delay can be effectively reduced.
  • the data that is detected to meet the processing standard may also be data that has undergone some processing and deviation correction processing.
  • deskewed data may be data that includes deskewing and data extraction.
  • the receiving end processing module detects whether the data that has undergone deviation correction processing meets the processing standard, including: the receiving end processing module performs data extraction on the data that has undergone deviation correction processing, and then detects whether the data that has undergone data extraction meets the processing standard.
  • the receiving end processing module 04 is provided with a data extraction unit 048 , and the data can be extracted by the data extraction unit 048 .
  • the implementation process of data extraction please refer to the relevant descriptions in the foregoing content accordingly.
  • the data subjected to skew correction processing may be data that has undergone processing including skew correction processing, channel reordering processing, and first deinterleaving processing.
  • the receiving end processing module detects whether the data that has undergone deviation correction processing meets the processing standard, including: the receiving end processing module performs channel reordering processing on the data of multiple channels that have undergone deviation correction processing, and performs channel reordering processing on the data that has undergone channel reordering processing.
  • a deinterleaving process and then detect whether the data that has undergone the first deinterleaving process meets the processing standard, for example, as shown in FIG. 24 , FIG. 25 and FIG. 29 .
  • the channel reordering processing and the first deinterleaving processing please refer to the related descriptions in the foregoing content accordingly.
  • the data that has undergone skew correction processing may also be data that has undergone skew correction processing, data extraction, channel reordering processing, and first deinterleaving processing.
  • the execution order of various processes such as deviation correction processing, data extraction, channel reordering processing, and first deinterleaving processing can be adjusted according to application requirements. For example, data extraction may be performed on the data first, and then channel reordering processing and first deinterleaving processing are performed on the data after data extraction. Alternatively, channel reordering processing and first deinterleaving processing may be performed on data first, and then data extraction is performed on data that has undergone channel reordering processing and first deinterleaving processing, which is not specifically limited in this embodiment of the present application.
  • the execution sequence of the process of data extraction and the process of correcting the data can also be adjusted according to application requirements.
  • the data may be corrected first, and then data extraction may be performed on the data subjected to the deviation correction.
  • data extraction may be performed on the data first, and then deviation correction processing may be performed on the extracted data, which is not specifically limited in this embodiment of the present application.
  • Step 3304 when the data that has undergone deviation correction processing does not meet the processing standard, the receiving end processing module adjusts the deviation correction method used in the deviation correction processing.
  • this link monitoring method due to the need to output the data decoded by the inner code, it is also necessary to detect whether the data that has been corrected has reached the processing standard, and these two processes will be executed in two ways, so that the detection
  • the process of whether the corrected data reaches the processing standard will not affect the process of outputting the data decoded by the inner code, so the transmission delay of the data will not be increased due to the detection process, so that the link monitoring method can be applied It is suitable for more transmission scenarios, especially for transmission scenarios with lower requirements on transmission delay.
  • the link monitoring method provided in the embodiment of the present application can be applied to various data center interconnect (data center interconnect, DCI) application scenarios.
  • data center interconnect data center interconnect, DCI
  • the link monitoring method provided by the embodiment of the present application can be applied to an application scenario where the originating processing module has a single-wavelength 800G coherent line interface and the originating device has a 2 ⁇ 400G interface.
  • the originating device can transmit data to the originating processing module through 8 synchronous physical channels of the AUI (every 4 physical channels belong to a 400GAUI-4 interface).
  • 32 PCSL data streams can be obtained.
  • the 32 PCSL data streams can be divided into 2 data streams. Each data stream includes 16 PCSL data streams.
  • the processing module at the sending end can perform deviation correction processing on the 2 data streams and detect whether the data after deviation correction processing meets the processing standard.
  • the deviation correction method used by the transmission processing module to perform deviation correction processing is determined according to the result of whether the deviation-corrected data meets the processing standard, and the transmission processing module can perform the first interleaving process on the 2-way data streams that have undergone deviation correction processing.
  • the interleaved data is encoded with an inner code and output.
  • the sending end processing module divides 32 PCSL data streams into two data streams, and each data stream identifies and locks the 16 PCSL data streams according to the alignment identifiers of the 16 PCSL data streams, and Determine whether the alignment identifiers of the 16 PCSL data streams are legal. Then, after confirming that the alignment marks of the 32 PCSL data streams in the 2 data streams are legal, the 32 PCSL data streams are corrected according to the alignment marks of the 32 PCSL data streams. Then continue to detect whether the data after deviation correction processing reaches the processing standard for the two data streams respectively.
  • the originating processing module detects whether the data that has undergone deviation correction processing reaches the processing standard can be realized by performing external code decoding on the data that has undergone deviation correction processing, and after the deviation correction processing is performed on the data by the originating processing module, the data that has undergone deviation correction processing can also be sequentially Perform data extraction, channel reordering processing and first deinterleaving processing, and then perform outer code decoding on the data after the first deinterleaving processing.
  • the originating processing module can also determine the quality of the link that transmits data to the originating processing module, that is, the quality of the AUI, according to the external code decoding of the data. As shown in FIG. 37 , each dotted box in FIG.
  • the originating processing module divides 32 PCSL data streams into 2 data streams for processing, if the processing includes data extraction of data streams, and the data extraction uses T>T0, the throughput of processing each data stream The rate may be T0/(2 ⁇ T) of the throughput rate before the inner code encoding is performed on the data subjected to the first interleaving process.
  • the processing module at the originating end may not perform data extraction on the data.
  • the process of performing channel reordering processing on data can be performed between performing skew correction processing on data and performing inner code encoding on data. Among them, Fig.
  • the deviation correction process is performed on the data first, and then the channel reordering process is performed on the data. Then, the data that has undergone the channel reordering process will be divided into two paths, and the first path is sequentially performed on the data that has undergone the channel reordering process.
  • the interleaving process and inner code encoding are output, and the other channel sequentially performs data extraction, first deinterleaving process and outer code decoding on the data processed by channel reordering. And in this process, it is also possible to choose whether to perform data extraction on the data according to application requirements.
  • the receiving end processing module after receiving the data, performs second deinterleaving processing on the data to obtain 32 PCSL data streams.
  • the receiving end processing module will output the 32 PCSL data streams through the PMA sublayer; on the other hand, the receiving end processing module will also divide the 32 PCSL data streams into two data streams, and each data stream includes 16 PCSL data stream, and perform external code decoding on each data stream, and determine the quality of the link according to the external code decoding, that is, the quality of the optical fiber link.
  • the processing module at the sending end may also sequentially perform data extraction, channel reordering processing, and first deinterleaving processing on the data stream.
  • the receiving end processing module may not perform data extraction on the data.
  • the processing module at the sending end performs channel reordering processing on the data
  • the processing module at the receiving end does not need to perform channel reordering on the data stream. Reorder processing. And in this process, it is also possible to choose whether to perform data extraction on the data according to application requirements.
  • the link monitoring method provided by the embodiment of the present application can be applied to an application scenario where the originating processing module has a single-wavelength 800G coherent line interface and the originating device has a 4 ⁇ 200G interface.
  • the originating device can transmit data to the originating processing module through 8 synchronous physical channels of the AUI (every 2 physical channels belong to a 200GAUI-2 interface).
  • 8 synchronous physical channels of the AUI every 2 physical channels belong to a 200GAUI-2 interface.
  • the 32 PCSL data streams can be divided into 4 data streams, each data stream includes 8 PCSL data streams, and the processing module at the sending end can respectively perform deviation correction processing on the 4 data streams and detect whether the data after deviation correction processing reaches the processing standard,
  • the deviation correction method used by the transmission processing module to perform deviation correction processing is determined according to the result of whether the deviation-corrected data meets the processing standard, and the transmission processing module can perform the first interleaving process on the 4-way data streams that have undergone deviation correction processing, and perform the first interleaving process on the first
  • the interleaved data is encoded with an inner code and output.
  • the sending end processing module divides 32 PCSL data streams into 4 data streams, and each data stream identifies and locks 8 PCSL data streams according to the alignment identifiers of the 8 PCSL data streams, and Determine whether the alignment identifiers of the eight PCSL data streams are legal. Then, after confirming that the alignment marks of the 32 PCSL data streams among the 4 data streams are legal, the 32 PCSL data streams are corrected according to the alignment marks of the 32 PCSL data streams. Then continue to detect whether the data after deviation correction processing reaches the processing standard for the four data streams respectively.
  • the originating processing module detects whether the data that has undergone deviation correction processing reaches the processing standard can be realized by performing external code decoding on the data that has undergone deviation correction processing, and after the deviation correction processing is performed on the data by the originating processing module, the data that has undergone deviation correction processing can also be sequentially Perform data extraction, channel reordering processing and first deinterleaving processing, and then perform outer code decoding on the data after the first deinterleaving processing.
  • the originating processing module can also determine the quality of the link that transmits data to the originating processing module, that is, the quality of the AUI, according to the external code decoding of the data. As shown in FIG. 43 , each dotted box in FIG.
  • the originating processing module divides 32 PCSL data streams into 4 data streams for processing, if the processing includes data extraction of data streams, and the data extraction uses T>T0, the throughput of processing each data stream The rate may be T0/(4 ⁇ T) of the throughput rate before the inner code encoding is performed on the data subjected to the first interleaving process.
  • the receiving end processing module after receiving the data, performs the second deinterleaving process on the data to obtain 32 PCSL data streams.
  • the receiving end processing module will output the 32 PCSL data streams through the PMA sublayer; on the other hand, the receiving end processing module will also divide the 32 PCSL data streams into 4 data streams, each data stream includes 8 PCSL data stream, and perform external code decoding on each data stream, and determine the quality of the link according to the external code decoding, that is, the quality of the optical fiber link.
  • the processing module at the sending end performs external code decoding on the data stream, it may also sequentially perform data extraction, channel reordering processing, and first deinterleaving processing on the data stream.
  • the link monitoring method provided by the embodiment of the present application can be applied to an application scenario where the originating processing module has a single-wavelength 800G coherent line interface and the originating device has a 1 ⁇ 800G interface.
  • the originating device can transmit data to the originating processing module through 8 synchronous physical channels of the AUI, which belong to one 800GAUI-8 interface.
  • PCSL data streams can be obtained.
  • the 32 PCSL data streams are used as 1 data stream (including 32 PCSL data streams), and the processing module at the originating end can perform deviation correction processing on the 1 data stream and detect whether the data that has undergone deviation correction processing meets the processing standard.
  • the result of whether the data meets the processing standard determines the deviation correction method used by the transmission processing module to perform deviation correction processing, and the transmission processing module can perform the first interleaving process on the 1-way data stream that has undergone deviation correction processing, and perform the first interleaving process on the data that has undergone the first interleaving process Internal code encoding and output.
  • the originating processing module detects whether the data that has undergone deviation correction processing reaches the processing standard can be realized by performing external code decoding on the data that has undergone deviation correction processing, and after the deviation correction processing is performed on the data by the originating processing module, the data that has undergone deviation correction processing can also be sequentially Perform data extraction, channel reordering processing and first deinterleaving processing, and then perform outer code decoding on the data after the first deinterleaving processing.
  • the originating processing module can also determine the quality of the link that transmits data to the originating processing module, that is, the quality of the AUI, according to the external code decoding of the data. As shown in FIG. 13 , the dotted box in FIG.
  • the originating processing module processes 32 PCSL data streams as one data stream, if the processing includes data extraction of the data streams, and the data extraction uses T>T0, the throughput of processing each data stream The rate may be T0/T of the throughput rate before the inner code encoding is performed on the data that has undergone the first interleaving process.
  • the receiving end processing module will output the 32 PCSL data streams through the PMA sublayer; on the other hand, the receiving end processing module will also treat the 32 PCSL data streams as one data stream, and The stream is decoded by the outer code, and the quality of the link is determined according to the decoding of the outer code, that is, the quality of the optical fiber link.
  • the processing module at the sending end may also sequentially perform data extraction, channel reordering processing, and first deinterleaving processing on the data stream.
  • the link monitoring method provided by the embodiment of the present application can be applied to an application scenario where the originating processing module has a single-wavelength 400G coherent line interface and the originating device has a 1 ⁇ 400G interface.
  • the originating device can transmit data to the originating processing module through 8 synchronous physical channels of the AUI, which belong to a 400GAUI-8 interface.
  • PCSL data streams can be obtained.
  • the 16 PCSL data streams can be divided into 1 data stream, and the sending end processing module can perform deviation correction processing on the 1 data stream and detect whether the data after deviation correction processing reaches the processing standard, so as to determine whether the data after deviation correction processing reaches the processing standard. As a result, determine the deviation correction method used by the transmission processing module to perform deviation correction processing, and then perform the first interleaving process on the 1-way data stream that has undergone the deviation correction process, and perform inner code encoding on the data that has undergone the first interleaving process and output it.
  • the originating processing module detects whether the data that has undergone deviation correction processing reaches the processing standard can be realized by performing external code decoding on the data that has undergone deviation correction processing, and after the deviation correction processing is performed on the data by the originating processing module, the data that has undergone deviation correction processing can also be sequentially Perform data extraction, channel reordering processing and first deinterleaving processing, and then perform external code decoding on the data after data extraction.
  • the originating processing module can also determine the quality of the link that transmits data to the originating processing module, that is, the quality of the AUI, according to the external code decoding of the data. As shown in FIG. 13 , the dotted box in FIG. 13 is used to indicate the processing of one data stream.
  • the originating processing module processes 16 PCSL data streams as one data stream, if the processing includes data extraction of the data streams, and the T>T0 used for data extraction, the throughput of processing each data stream The rate may be T0/T of the throughput rate before the inner code encoding is performed on the data that has undergone the first interleaving process.
  • the receiving end processing module will output the 16 PCSL data streams through the PMA sublayer; on the other hand, the receiving end processing module will also treat the 16 PCSL data streams as one data stream, and The stream is decoded by the outer code, and the quality of the link is determined according to the decoding of the outer code, that is, the quality of the optical fiber link.
  • the processing module at the sending end may also sequentially perform data extraction, channel reordering processing, and first deinterleaving processing on the data stream.
  • the link monitoring method provided by the embodiment of the present application can also be applied to other application scenarios, such as other 400G, 600G, 800G or even higher-speed transmission scenarios such as 1.6T and 3.2T.
  • this link monitoring method can also be applied to other originating processing modules provided in the embodiment of this application.
  • the originating device can use the 800GAUI-m/1600GAUI-
  • the m interface transmits data to the processing module at the sending end. After the PMA sublayer of the sending end processing module demultiplexes the data, n pieces of PCSL data streams can be obtained.
  • n pieces of PCSL data streams subjected to skew correction processing are subjected to first interleaving processing, and the data having undergone first interleaving processing are subjected to inner code encoding and output.
  • the originating processing module can also determine the quality of the link for transmitting data to the originating processing module according to the external code decoding of the data.
  • the value of n may be 8, 16, 32, or 64, etc.
  • the value of m may be 4, 8, 16, or 32, etc.
  • the link monitoring method can also be applied to other receiving-end processing modules provided in the embodiment of the present application.
  • the receiving-end processing module After receiving the data, the receiving-end processing module will obtain n PCSL data streams by performing deinterleaving processing on the data. On the one hand, the receiving end processing module will output the n PCSL data streams through the PMA sublayer; on the other hand, the receiving end processing module will also perform external code decoding on the n PCSL data streams, and determine link quality.
  • the link monitoring device 450 includes:
  • the input unit 4501 is used for receiving the data encoded by the outer code.
  • the encoding unit 4502 is configured to perform inner code encoding on the data encoded by the outer code.
  • An output unit 4503 configured to output the data encoded by the inner code.
  • the decoding unit 4504 is configured to perform outer code decoding on the data encoded by the outer code.
  • the decoding unit 4504 is further configured to determine the quality of the link used to transmit the data encoded by the outer code according to the outer code decoding of the data encoded by the outer code.
  • the decoding unit 4504 is specifically configured to: determine the symbol error of each codeword sequence in the P1 codeword sequences according to the situation of performing outer code decoding on the P1 codeword sequences in the data encoded by the outer code number, P1 is a positive integer; the quality of the link is determined according to the number of symbol errors in the P1 codeword sequences.
  • the decoding unit 4504 is specifically configured to: determine the indication parameter corresponding to the codeword sequence according to the situation of performing outer code decoding on the codeword sequence in the data encoded by the outer code;
  • the indication parameters corresponding to the P2 codeword sequences determine the quality of the link, and P2 is a positive integer.
  • the data decoded by the outer code is data that has undergone encoding and skew correction processing.
  • the data decoded by the outer code is the data that has undergone the processing including outer code encoding, channel reordering processing and first deinterleaving processing.
  • the data decoded by the outer code is the data including outer code encoding and data extraction.
  • the data encoded by the inner code is data encoded by the outer code.
  • the data encoded by the inner code is data that has been processed by including outer code encoding and skew correction.
  • the data encoded by the inner code is data that has undergone processes including outer code encoding, skew correction processing, and channel reordering.
  • the data encoded by the inner code is data that has undergone outer code encoding, skew correction processing, channel reordering processing, and first deinterleaving processing.
  • the data encoded by the inner code includes outer code encoding and data processing, and the data processing includes: first interleaving processing.
  • the link monitoring device by receiving the data encoded by the outer code, the data encoded by the outer code is encoded by the inner code and output, and at the same time, the data encoded by the outer code is decoded by the outer code.
  • the quality of the link used to transmit the data encoded by the outer code is determined according to the outer code decoding of the data encoded by the outer code, so that the quality of the link can be effectively monitored.
  • the link monitoring device since the data encoded by the outer code needs to be encoded by the inner code and output, the data encoded by the outer code also needs to be decoded by the outer code, and it is determined according to the situation of the outer code decoding Link quality, and these two processes will be executed in two ways, so that the process of decoding the data with the outer code and determining the link quality will not affect the process of encoding the data with the inner code and outputting it, so it will not be affected by The process of performing external code decoding and determining the link quality additionally increases the overall transmission delay of data, so that the link monitoring device can be applied to more transmission scenarios, especially for transmission scenarios with lower requirements on transmission delay .
  • the link monitoring device 460 includes:
  • the input unit 4601 is configured to receive data encoded by an outer code and an inner code.
  • the first decoding unit 4602 is configured to perform inner code decoding on the data encoded by the outer code and the inner code.
  • the output unit 4603 is configured to output the data decoded by the inner code.
  • the second decoding unit 4604 is configured to perform outer code decoding on the data that has undergone inner code decoding.
  • the second decoding unit 4604 is further configured to determine the quality of the link used to transmit the data encoded by the outer code and the inner code according to the situation of decoding the data decoded by the inner code by the outer code.
  • the second decoding unit 4604 is specifically configured to: determine each of the P3 codeword sequences according to the outer code decoding of the P3 codeword sequences in the data decoded by the inner code
  • the number of erroneous symbols, P3 is a positive integer; according to the number of erroneous symbols of P3 codeword sequences, the quality of the link is determined.
  • the second decoding unit 4604 is specifically configured to: determine the indication parameter corresponding to the codeword sequence according to the outer code decoding of the codeword sequence in the data decoded by the inner code;
  • the indication parameters corresponding to the P4 codeword sequences in the code data determine the quality of the link, and P4 is a positive integer.
  • the data decoded by the outer code is data that has undergone processing including inner code decoding and skew correction.
  • the data decoded by the outer code is data that has been processed by including inner code decoding and first deinterleaving.
  • the data decoded by the outer code is the data that has undergone processing including inner code decoding, channel reordering processing, and first deinterleaving processing.
  • the data decoded by the outer code is the data including decoding by the inner code and data extraction.
  • the data decoded by the inner code is data processed
  • the data decoded by the outer code is data processed inversely including inner code decoding and data processing.
  • the data processing includes: first interleaving processing
  • the reverse processing includes: second deinterleaving processing.
  • the output data is data decoded by an inner code.
  • the data decoded by the inner code is the data processed by the data
  • the output data is the data that has undergone inverse processing including inner code decoding and data processing.
  • the data processing includes: first interleaving processing, and the inverse processing includes: : the second de-interleaving process.
  • the link monitoring device by receiving the data encoded by the outer code and the inner code, the data encoded by the outer code and the inner code are decoded by the inner code and output.
  • the outer code decoding is performed on the data decoded by the inner code, and the link for transmitting the data encoded by the outer code and the inner code is determined according to the situation of the outer code decoding on the data decoded by the inner code. The quality of the link can be effectively monitored.
  • the link monitoring device since the data decoded by the inner code needs to be output, the data decoded by the inner code also needs to be decoded by the outer code, and the link quality is determined according to the decoding of the outer code, And these two processes will be executed in two ways, so that the process of decoding the data with the outer code and determining the link quality will not affect the process of outputting the decoded data with the inner code, so it will not be affected by the decoding of the outer code.
  • the process of coding and determining the link quality additionally increases the overall transmission delay of data, so that the link monitoring device can be applied to more transmission scenarios, especially for transmission scenarios with lower requirements on transmission delay.
  • FIG. 47 exemplarily provides a possible architectural diagram of a computer device.
  • the computer device 470 may include a processor 4701 , a memory 4702 , a communication interface 4703 and a bus 4704 .
  • the processor 4701 may be a central processing unit (central processing unit, CPU). If the computer device has multiple processors 4701, the types of the multiple processors 4701 may be different, or may be the same.
  • multiple processors of the computer device may also be integrated into a multi-core processor.
  • the memory 4702 stores computer instructions and data, and the memory 4702 may store computer instructions and data required to implement the methods provided in this application.
  • the memory 4702 can be any one or any combination of the following storage media: non-volatile memory (such as read-only memory (read-only memory, ROM), solid state disk (solid state disk, SSD), hard disk (hard disk) drive, HDD), CD, etc., volatile memory.
  • non-volatile memory such as read-only memory (read-only memory, ROM), solid state disk (solid state disk, SSD), hard disk (hard disk) drive, HDD), CD, etc., volatile memory.
  • the communication interface 4703 may be any one or any combination of the following devices: a network interface (such as an Ethernet interface), a wireless network card and other devices with network access functions.
  • the communication interface 4703 is used for data communication between the computer equipment and other nodes or other computer equipment.
  • FIG. 47 also schematically depicts a bus 4704 .
  • the bus 4704 can connect the processor 4701 with the memory 4702 and the communication interface 4703 .
  • the processor 4701 can access the memory 4702, and also use the communication interface 4703 to perform data interaction with other nodes or other computer devices.
  • the computer device executes the computer instructions in the memory 4702 to realize the method provided in the present application. For example, receive the data encoded by the outer code; perform inner code encoding on the data encoded by the outer code, and output the data encoded by the inner code; perform outer code decoding on the data encoded by the outer code; In the case of outer-coded data, determine the quality of the link used to transmit the outer-coded data.
  • the computer device to execute the computer instructions in the memory 4702 to execute the steps of the method provided in this application, reference may be made to the corresponding descriptions in the foregoing method embodiments.
  • the embodiment of the present application also provides a computer-readable storage medium.
  • the computer-readable storage medium is a non-volatile computer-readable storage medium.
  • the computer-readable storage medium includes program instructions. When the program instructions are run on the computer device When, the computer device is made to execute the method provided by the embodiment of the present application.
  • the embodiment of the present application also provides a computer program product containing instructions, and when the computer program product is run on a computer, the computer is made to execute the method provided in the embodiment of the present application.
  • the program can be stored in a computer-readable storage medium.
  • the above-mentioned The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, and the like.
  • the terms “first”, “second” and “third” are used for description purposes only, and cannot be understood as indicating or implying relative importance.
  • the term “at least one” means one or more, and the term “plurality” means two or more, unless otherwise clearly defined.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Theoretical Computer Science (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

本申请公开了一种链路监控方法及装置,属于数据传输技术领域。该方法包括:接收经过外码编码的数据;对经过外码编码的数据进行内码编码,并输出经过内码编码的数据;对经过外码编码的数据进行外码译码;根据对经过外码编码的数据进行外码译码的情况,确定用于传输经过外码编码的数据的链路的质量。本申请能够对链路质量进行有效的监控。

Description

链路监控方法及装置
本申请要求于2021年07月26日提交的申请号为202110846541.6、发明名称为“链路监控方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及数据传输技术领域,特别涉及一种链路监控方法及装置。
背景技术
在5G、云计算、大数据和人工智能等持续推动下,光通信系统及光传输网(optical transport network,OTN)正朝着大容量、超高速的方向发展。光通信系统及光传输网中传输的光信号在传输过程中会因一些原因出现信号失真,且随着以太网传输速率的提升,其传输误码率会随之增大。采用前向纠错编码(forward error correction,FEC)对传输的数据进行纠错,能够解决传输误码,从接收数据中恢复出发送端发送的原始数据。并且,利用FEC译码还可协助进行链路监控。其中,链路监控是指监测用于传输数据的链路的质量。
但是,目前没有有效的对链路质量进行监控的方法。
发明内容
本申请提供了一种链路监控方法及装置。本申请能够有效的对链路质量进行监控。本申请提供的技术方案如下:
第一方面,本申请提供了一种链路监控方法,该方法包括:接收经过外码编码的数据;对经过外码编码的数据进行内码编码,并输出经过内码编码的数据;对经过外码编码的数据进行外码译码;根据对经过外码编码的数据进行外码译码的情况,确定用于传输经过外码编码的数据的链路的质量。
在该链路监控方法中,通过接收经过外码编码的数据,对经过外码编码的数据进行内码编码并输出,同时对经过外码编码的数据进行外码译码,并根据对经过外码编码的数据进行外码译码的情况,确定用于传输经过外码编码的数据的链路的质量,能够对链路的质量进行有效的监控。
并且,在该链路监控方法中,由于需要对经过外码编码的数据进行内码编码并输出,也需要对经过外码编码的数据进行外码译码,并根据外码译码的情况确定链路质量,且这两个过程会分两路执行,使得对数据进行外码译码并确定链路质量的过程不会对对数据进行内码编码并输出的过程造成影响,因此不会因进行外码译码并确定链路质量的过程额外增加数据的整体传输时延,使得该链路监控方法能够应用于较多的传输场景,尤其适用于对传输时延具有较低要求的传输场景。
在一种实现方式中,由于码字序列的误符号个数能够体现码字序列受到链路的影响,因此发端处理模块能够根据码字序列的误符号个数,确定链路的质量。则根据对经过外码编码的数据进行外码译码的情况,确定用于传输经过外码编码的数据的链路的质量,包括:根据对经过外码编码的数据中P1个码字序列进行外码译码的情况,确定P1个码字序列中每个码 字序列的误符号个数,P1为正整数;根据P1个码字序列的误符号个数,确定链路的质量。
发端处理模块可以根据该经过外码编码的数据中一个或多个(即P1个)码字序列的误符号个数,确定用于传输经过外码编码的数据的链路的质量。此时,发端处理模块需要分别确定该P1个码字序列中每个码字序列的误符号个数。且当根据经过外码编码的数据中多个码字序列的误符号个数确定链路的质量时,由于多个码字序列的误符号个数能够更加全面的反映码字序列受到链路的影响,能够对链路质量进行更准确的监控。
在另一种实现方式中,根据对经过外码编码的数据进行外码译码的情况,确定用于传输经过外码编码的数据的链路的质量,包括:根据对经过外码编码的数据中码字序列进行外码译码的情况,确定码字序列对应的指示参数;根据经过外码编码的数据中P2个码字序列对应的指示参数,确定链路的质量,P2为正整数。
当根据经过外码编码的数据中多个码字序列的误符号个数确定链路的质量时,由于多个码字序列的误符号个数能够更加全面的反映码字序列受到链路的影响,能够对链路质量进行更准确的监控。
可选的,根据不同的应用场景,被外码译码的数据的具体实现方式不同。下面以下几种情况为例进行说明:
在一种情况中,被外码译码的数据是经过包括外码编码和纠偏处理的数据。例如,发端处理模块接收到经过外码编码的数据后,可以先对经过外码编码的数据进行纠偏处理,然后对经过纠偏处理的数据进行外码译码。通过先对经过外码编码的数据进行纠偏处理,然后对经过纠偏处理的数据进行外码译码,再根据外码译码的情况,确定用于传输经过外码编码的数据的链路的质量,由于用于确定链路的质量的数据为经过纠偏处理的数据,能够有效保证根据该数据确定的链路的质量的准确性。
在另一种情况中,被外码译码的数据是经过包括外码编码、通道重排序处理和第一解交织处理的数据。例如,发端处理模块接收到经过外码编码的数据后,可以先对经过外码编码的数据进行纠偏处理和通道重排序处理,然后对经过通道重排序的数据进行第一解交织处理,然后对经过第一解交织处理的数据进行外码译码。
在又一种情况中,被外码译码的数据是经过包括外码编码和数据提取的数据。例如,发端处理模块接收到经过外码编码的数据后,可以先对经过外码编码的数据进行数据提取,然后对经过数据提取的数据进行外码译码。当数据提取后的数据相对于数据提取前的数据的数据量减小时,经过数据提取得到的数据速率能够小于发端处理模块进行内码编码的数据速率,能够实现对经过纠偏处理的信号的降速,能够实现低功耗监控。
可选的,根据不同的应用场景,被内码编码的数据的具体实现方式不同。下面以以下几种情况为例进行说明:
在一种情况中,被内码编码的数据是经过外码编码的数据。例如,发端处理模块接收到经过外码编码的数据后,可以直接对经过外码编码的数据进行内码编码。
在另一种情况中,被内码编码的数据是经过包括外码编码和纠偏处理的数据。当被内码编码的数据是经过包括外码编码和纠偏处理的数据,且被外码译码的数据是经过包括外码编码和纠偏处理的数据时,该纠偏处理可以在发端处理模块接收到经过外码编码的数据后执行,且在执行完该纠偏处理后,经过纠偏处理的数据可以进行两路处理,一路被发端处理模块进行内码编码并输出,另一路被发端处理模块进行外码译码。
在再一种情况中,被内码编码的数据是经过包括外码编码、纠偏处理和通道重排序处理的数据。这样一来,无论发端处理模块得到的多个通道的数据以什么顺序排序,通过对该数据进行通道重排序处理,再对经过通道重排序的数据进行内码编码,则发端处理模块输出的经过内码编码的数据均是按照通道重排序指定的顺序排序的,能够使得对发端处理模块进行性能测试时,同类型的不同发端处理模块在相同输入数据下具有相同的输出数据,有利于对发端处理模块的性能测试。另外,若在对数据进行内码编码前还需要对数据进行第一交织处理,由于经过通道重排序的数据都能够按照通道重排序指定的顺序排序,使得第一交织处理的数据的顺序固定,能够便于第一交织处理单元的设计。
在又一种情况中,被内码编码的数据是经过包括外码编码、纠偏处理、通道重排序处理和第一解交织处理的数据。并且,经过纠偏处理、通道重排序和第一解交织处理的数据可以分成两路,一路用于内码编码,另一路用于外码译码。
在再一种情况中,被内码编码的数据是经过包括外码编码和数据处理的数据,数据处理包括:第一交织处理。例如,发端处理模块接收到经过外码编码的数据后,可以先对经过外码编码的数据进行纠偏处理,然后对经过纠偏处理的数据进行第一交织处理,再对经过第一交织处理的数据进行内码编码。又例如,发端处理模块接收到经过外码编码的数据后,一方面可以对经过外码编码的数据进行纠偏处理,另一方面对经过外码编码的数据进行第一交织处理,再对经过第一交织处理的数据进行内码编码。
第二方面,本申请提供了一种链路监控方法,该方法包括:接收经过外码编码和内码编码的数据;对经过外码编码和内码编码的数据进行内码译码,并输出经过内码译码的数据;对经过内码译码的数据进行外码译码;根据对经过内码译码的数据进行外码译码的情况,确定用于传输经过外码编码和内码编码的数据的链路的质量。
在该链路监控方法中,通过接收经过外码编码和内码编码的数据,对经过外码编码和内码编码的数据进行内码译码并输出,同时对经过内码译码的数据进行外码译码,并根据对经过内码译码的数据进行外码译码的情况,确定用于传输经过外码编码和内码编码的数据的链路的质量,能够对链路的质量进行有效的监控。
并且,在该链路监控方法中,由于需要输出经过内码译码的数据,也需要对经过内码译码的数据进行外码译码,并根据外码译码的情况确定链路质量,且这两个过程会分两路执行,使得对数据进行外码译码并确定链路质量的过程不会对输出经过内码译码的数据的过程造成影响,因此不会因进行外码译码并确定链路质量的过程额外增加数据的整体传输时延,使得该链路监控方法能够应用于较多的传输场景,尤其适用于对传输时延具有较低要求的传输场景。
在一种可实现方式中,由于码字序列的误符号个数能够体现码字序列受到链路的影响,因此收端处理模块能够根据码字序列的误符号个数,确定链路的质量。则根据对经过内码译码的数据进行外码译码的情况,确定用于传输经过外码编码和内码编码的数据的链路的质量,包括:根据对经过内码译码的数据中P3个码字序列进行外码译码的情况,确定P3个码字序列中每个码字序列的误符号个数,P3为正整数;根据P3个码字序列的误符号个数,确定链路的质量。
收端处理模块可以根据经过内码译码的数据中一个或多个(即P3个)码字序列的误符号个数,确定用于传输经过外码编码和内码编码的数据的链路的质量。此时,收端处理模块需 要分别确定该P3个码字序列中每个码字序列的误符号个数。且当根据经过内码译码的数据中多个码字序列的误符号个数确定链路的质量时,由于多个码字序列的误符号个数能够更加全面的反映码字序列受到链路的影响,能够对链路质量进行更准确的监控。
在另一种可实现方式中,根据对经过内码译码的数据进行外码译码的情况,确定用于传输经过外码编码和内码编码的数据的链路的质量,包括:根据对经过内码译码的数据中码字序列进行外码译码的情况,确定码字序列对应的指示参数;根据经过内码译码的数据中P4个码字序列对应的指示参数,确定链路的质量,P4为正整数。
当根据经过内码译码的数据中多个码字序列的误符号个数确定链路的质量时,由于多个码字序列的误符号个数能够更加全面的反映码字序列受到链路的影响,能够对链路质量进行更准确的监控。
可选的,根据不同的应用场景,被外码译码的数据的具体实现方式不同。下面以以下几种情况为例进行说明:
在一种情况中,被外码译码的数据是经过包括内码译码和纠偏处理的数据。例如,收端处理模块接收到经过内码译码的数据后,可以先对经过内码译码的数据进行纠偏处理,然后对经过纠偏处理的数据进行外码译码。
在另一种情况中,被外码译码的数据是经过包括内码译码、通道重排序处理和第一解交织处理的数据。例如,收端处理模块接收到经过内码译码的数据后,可以先对经过内码译码的数据进行通道重排序处理,然后对经过通道重排序处理的数据进行第一解交织处理,然后对经过第一解交织处理的数据进行外码译码。
在再一种情况中,当经过外码编码和内码编码的数据是经过通道重排序处理的数据时,被外码译码的数据是经过包括内码译码和第一解交织处理的数据。
在又一种情况中,被外码译码的数据是经过包括内码译码和数据提取的数据。例如,收端处理模块接收到经过内码译码的数据后,可以先对经过内码译码的数据进行数据提取,然后对经过数据提取的数据进行外码译码。当数据提取后的数据相对于数据提取前的数据的数据量减小时,经过数据提取得到的数据速率能够小于发端处理模块进行内码编码的数据速率,能够实现对经过纠偏处理的信号的降速,能够实现低功耗监控。
在再一种情况中,经过内码译码的数据为经过数据处理的数据,被外码译码的数据是经过包括内码译码和数据处理的逆处理的数据,数据处理包括:第一交织处理,逆处理包括:第二解交织处理。例如,收端处理模块接收到经过内码译码的数据后,可以先对经过内码译码的数据进行第二解交织处理,然后对经过第二解交织处理的数据进行外码译码。并且,当被收端处理模块输出的数据是经过包括内码译码和数据处理的逆处理的数据,且被外码译码的数据是经过包括内码译码和数据处理的逆处理的数据时,该逆处理可以在收端处理模块接收到经过内码译码的数据后执行,且在执行完该逆处理后,经过逆处理的数据可以分为两路,一路被收端处理模块输出,另一路被收端处理模块进行外码译码。这样一来,对数据进行外码译码并检测链路质量的过程不会对收端处理模块输出数据的过程造成影响,因此不会因对数据进行外码译码并检测链路质量的过程额外增加数据的传输时延,能够有效降低数据的整体传输时延。
可选的,根据不同的应用场景,被输出的数据的具体实现方式不同。下面以以下几种情况为例进行说明:
在一种情况中,被输出的数据是经过内码译码的数据。例如,收端处理模块对经过外码编码和内码编码的数据进行内码译码后,可以直接输出经过内码译码的数据。
在另一种情况中,经过内码译码的数据为经过数据处理的数据,被输出的数据是经过包括内码译码和数据处理的逆处理的数据,数据处理包括:第一交织处理,逆处理包括:第二解交织处理。例如,收端处理模块接收到经过外码编码和内码编码的数据后,可以先对经过外码编码和内码编码的数据进行内码译码,然后对经过内码译码的数据进行第二解交织处理,然后输出经过第二解交织处理的数据。
第三方面,本申请提供了一种链路监控装置,该装置包括:输入单元,用于接收经过外码编码的数据;编码单元,用于对经过外码编码的数据进行内码编码;输出单元,用于输出经过内码编码的数据;译码单元,用于对经过外码编码的数据进行外码译码;译码单元,还用于根据对经过外码编码的数据进行外码译码的情况,确定用于传输经过外码编码的数据的链路的质量。
可选的,译码单元,具体用于:根据对经过外码编码的数据中P1个码字序列进行外码译码的情况,确定P1个码字序列中每个码字序列的误符号个数,P1为正整数;根据P1个码字序列的误符号个数,确定链路的质量。
可选的,译码单元,具体用于:根据对经过外码编码的数据中码字序列进行外码译码的情况,确定码字序列对应的指示参数;根据经过外码编码的数据中P2个码字序列对应的指示参数,确定链路的质量,P2为正整数。
可选的,被外码译码的数据是经过包括外码编码和纠偏处理的数据。
可选的,被外码译码的数据是经过包括外码编码、通道重排序处理和第一解交织处理的数据。
可选的,被外码译码的数据是经过包括外码编码和数据提取的数据。
可选的,被内码编码的数据是经过外码编码的数据。
可选的,被内码编码的数据是经过包括外码编码和纠偏处理的数据。
可选的,被内码编码的数据是经过包括外码编码、纠偏处理和通道重排序处理的数据。
可选的,被内码编码的数据是经过包括外码编码、纠偏处理、通道重排序处理和第一解交织处理的数据。
可选的,被内码编码的数据是经过包括外码编码和数据处理的数据,数据处理包括:第一交织处理。
第四方面,本申请提供了一种链路监控装置,该装置包括:输入单元,用于接收经过外码编码和内码编码的数据;第一译码单元,用于对经过外码编码和内码编码的数据进行内码译码;输出单元,用于输出经过内码译码的数据;第二译码单元,用于对经过内码译码的数据进行外码译码;第二译码单元,还用于根据对经过内码译码的数据进行外码译码的情况,确定用于传输经过外码编码和内码编码的数据的链路的质量。
可选的,第二译码单元,具体用于:根据对经过内码译码的数据中P3个码字序列进行外码译码的情况,确定P3个码字序列中每个码字序列的误符号个数,P3为正整数;根据P3个码字序列的误符号个数,确定链路的质量。
可选的,第二译码单元,具体用于:根据对经过内码译码的数据中码字序列进行外码译码的情况,确定码字序列对应的指示参数;根据经过内码译码的数据中P4个码字序列对应的 指示参数,确定链路的质量,P4为正整数。
可选的,被外码译码的数据是经过包括内码译码和纠偏处理的数据。
可选的,被外码译码的数据是经过包括内码译码和第一解交织处理的数据。
可选的,被外码译码的数据是经过包括内码译码、通道重排序处理和第一解交织处理的数据。
可选的,被外码译码的数据是经过包括内码译码和数据提取的数据。
可选的,经过内码译码的数据为经过数据处理的数据,被外码译码的数据是经过包括内码译码和数据处理的逆处理的数据,数据处理包括:第一交织处理,逆处理包括:第二解交织处理。
可选的,被输出的数据是经过内码译码的数据。
可选的,经过内码译码的数据为经过数据处理的数据,被输出的数据是经过包括内码译码和数据处理的逆处理的数据,数据处理包括:第一交织处理,逆处理包括:第二解交织处理。
第五方面,本申请提供了一种计算机设备,包括存储器和处理器,存储器存储有程序指令,处理器运行程序指令以执行本申请第一方面、第二方面以及其任一种可能的实现方式中提供的方法。
第六方面,本申请提供了一种计算机可读存储介质,该计算机可读存储介质为非易失性计算机可读存储介质,该计算机可读存储介质包括程序指令,当程序指令在计算机设备上运行时,使得计算机设备执行本申请第一方面、第二方面以及其任一种可能的实现方式中提供的方法。
第七方面,本申请提供了一种包含指令的计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行本申请第一方面、第二方面以及其任一种可能的实现方式中提供的方法。
附图说明
图1是本申请实施例提供的链路监控方法涉及的一种实施环境的示意图;
图2是本申请实施例提供的图1所示的实施环境中一种传输数据的过程示意图;
图3是本申请实施例提供的一种应用于发端处理模块的链路监控方法的流程图;
图4是本申请实施例提供的一种发端处理模块的结构示意图;
图5是本申请实施例提供的另一种发端处理模块的结构示意图;
图6是本申请实施例提供的又一种发端处理模块的结构示意图;
图7是本申请实施例提供的再一种发端处理模块的结构示意图;
图8是本申请实施例提供的又一种发端处理模块的结构示意图;
图9是本申请实施例提供的再一种发端处理模块的结构示意图;
图10是本申请实施例提供的又一种发端处理模块的结构示意图;
图11是本申请实施例提供的再一种发端处理模块的结构示意图;
图12是本申请实施例提供的又一种发端处理模块的结构示意图;
图13是本申请实施例提供的再一种发端处理模块的结构示意图;
图14是本申请实施例提供的又一种发端处理模块的结构示意图;
图15是本申请实施例提供的再一种发端处理模块的结构示意图;
图16是本申请实施例提供的一种数据提取的示意图;
图17是本申请实施例提供的一种发端处理模块根据外码译码的情况,确定链路的质量的方法流程图;
图18是本申请实施例提供的另一种发端处理模块根据外码译码的情况,确定链路的质量的方法流程图;
图19是本申请实施例提供的一种应用于收端处理模块的链路监控方法的流程图;
图20是本申请实施例提供的一种收端处理模块的结构示意图;
图21是本申请实施例提供的另一种收端处理模块的结构示意图;
图22是本申请实施例提供的又一种收端处理模块的结构示意图;
图23是本申请实施例提供的再一种收端处理模块的结构示意图;
图24是本申请实施例提供的又一种收端处理模块的结构示意图;
图25是本申请实施例提供的再一种收端处理模块的结构示意图;
图26是本申请实施例提供的又一种收端处理模块的结构示意图;
图27是本申请实施例提供的再一种收端处理模块的结构示意图;
图28是本申请实施例提供的又一种收端处理模块的结构示意图;
图29是本申请实施例提供的再一种收端处理模块的结构示意图;
图30是本申请实施例提供的又一种收端处理模块的结构示意图;
图31是本申请实施例提供的再一种收端处理模块的结构示意图;
图32是本申请实施例提供的又一种收端处理模块的结构示意图;
图33是本申请实施例提供的一种收端处理模块根据外码译码的情况,确定链路的质量的方法流程图;
图34是本申请实施例提供的另一种收端处理模块根据外码译码的情况,确定链路的质量的方法流程图;
图35是本申请实施例提供的另一种应用于发端处理模块的链路监控方法的流程图;
图36是本申请实施例提供的又一种应用于收端处理模块的链路监控方法的流程图;
图37是本申请实施例提供的链路监控方法适用于发端光模块具有单波长800G相干线路接口,发端设备具有2×400G接口的应用场景的一种示意图;
图38是本申请实施例提供的链路监控方法适用于发端光模块具有单波长800G相干线路接口,发端设备具有2×400G接口的应用场景的另一种示意图;
图39是本申请实施例提供的链路监控方法适用于发端光模块具有单波长800G相干线路接口,发端设备具有2×400G接口的应用场景的又一种示意图;
图40是本申请实施例提供的链路监控方法适用于收端光模块具有单波长800G相干线路接口,收端设备具有2×400G接口的应用场景的一种示意图;
图41是本申请实施例提供的链路监控方法适用于收端光模块具有单波长800G相干线路接口,收端设备具有2×400G接口的应用场景的另一种示意图;
图42是本申请实施例提供的链路监控方法适用于收端光模块具有单波长800G相干线路接口,收端设备具有2×400G接口的应用场景的又一种示意图;
图43是本申请实施例提供的链路监控方法适用于发端光模块具有单波长800G相干线路 接口,发端设备具有4×200G接口的应用场景的示意图;
图44是本申请实施例提供的链路监控方法适用于收端光模块具有单波长800G相干线路接口,收端设备具有4×200G接口的应用场景的示意图;
图45是本申请实施例提供的一种链路监控装置的结构示意图;
图46是本申请实施例提供的又一种链路监控装置的结构示意图;
图47是本申请实施例提供的一种计算机设备的结构示意图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
在5G、云计算、大数据和人工智能等持续推动下,光通信系统及光传输网(optical transport network,OTN)正朝着大容量、超高速方向发展。光通信系统通常利用光波的幅度,相位,偏振或频率来承载数据。在传输过程中,光信号会因色散、偏振相关损伤、噪声、非线性效应及其它因素导致信号失真。而且,光网络的组件磨损和老化会导致传输系统性能劣化。采用前向纠错编码(forward error correction,FEC)对传输的数据进行纠错,能够解决传输误码,从接收数据中恢复出发送端发送的原始数据。并且,利用FEC译码还可协助进行链路同步和链路性能监控。其中,链路性能监控是指监测用于传输数据的链路的质量。
但是,目前没有有效的对链路质量进行监控的方法。
本申请实施例提供了一种链路监控方法。该链路监控方法可以应用于发端处理模块,该链路监控方法用于监控用于传输数据的链路的质量。在该链路监控方法中,通过接收经过外码编码的数据,对经过外码编码的数据进行内码编码并输出,同时对经过外码编码的数据进行外码译码,并根据对经过外码编码的数据进行外码译码的情况,确定用于传输经过外码编码的数据的链路的质量,能够对链路的质量进行有效的监控。
并且,在该链路监控方法中,由于需要对经过外码编码的数据进行内码编码并输出,也需要对经过外码编码的数据进行外码译码,并根据外码译码的情况确定链路质量,且这两个过程会分两路执行,使得对数据进行外码译码并确定链路质量的过程不会对对数据进行内码编码并输出的过程造成影响,因此不会因进行外码译码并确定链路质量的过程额外增加数据的整体传输时延,使得该链路监控方法能够应用于较多的传输场景,尤其适用于对传输时延具有较低要求的传输场景。
本申请实施例提供了另一种链路监控方法。该链路监控方法可以应用于收端处理模块,该链路监控方法用于监控用于传输数据的链路的质量。在该链路监控方法中,通过接收经过外码编码和内码编码的数据,对经过外码编码和内码编码的数据进行内码译码并输出,同时对经过内码译码的数据进行外码译码,并根据对经过内码译码的数据进行外码译码的情况,确定用于传输经过外码编码和内码编码的数据的链路的质量,能够对链路的质量进行有效的监控。
并且,在该链路监控方法中,由于需要输出经过内码译码的数据,也需要对经过内码译码的数据进行外码译码,并根据外码译码的情况确定链路质量,且这两个过程会分两路执行, 使得对数据进行外码译码并确定链路质量的过程不会对输出经过内码译码的数据的过程造成影响,因此不会因进行外码译码并确定链路质量的过程额外增加数据的整体传输时延,使得该链路监控方法能够应用于较多的传输场景,尤其适用于对传输时延具有较低要求的传输场景。
本申请实施例提供了又一种链路监控方法。该链路监控方法可以应用于发端处理模块,即位于发送端的处理模块。该链路监控方法用于监控经过纠偏处理的数据是否达到处理标准,并根据监控是否达到处理标准的结果,确定后续进行纠偏处理使用的方法。在该链路监控方法中,通过接收经过外码编码的数据,对经过外码编码的数据进行纠偏处理,对经过外码编码的数据进行内码编码并输出,同时检测经过纠偏处理的数据是否达到处理标准,并当经过纠偏处理的数据未达到处理标准时,调整纠偏处理使用的纠偏方法。
在该链路监控方法中,由于需要对经过外码编码的数据进行内码编码并输出,也需要检测经过纠偏处理的数据是否达到处理标准,且这两个过程会分两路执行,使得检测经过纠偏处理的数据是否达到处理标准的过程不会对数据进行内码编码并输出的过程造成影响,因此不会因该检测过程额外增加数据的整体传输时延,使得该链路监控方法能够应用于较多的传输场景,尤其适用于对传输时延具有较低要求的传输场景。
本申请实施例提供了再一种链路监控方法。该链路监控方法可以应用于收端处理模块,即位于接收端的处理模块。该链路监控方法用于监控经过纠偏处理的数据是否达到处理标准,并根据监控是否达到处理标准的结果,确定后续进行纠偏处理使用的方法。在该链路监控方法中,通过接收经过外码编码和内码编码的数据,对经过外码编码和内码编码的数据进行内码译码并输出,同时对经过内码译码的数据进行纠偏处理,并检测经过纠偏处理的数据是否达到处理标准,当经过纠偏处理的数据未达到处理标准时,调整纠偏处理使用的纠偏方法。
在该链路监控方法中,由于需要输出经过内码译码的数据,也需要检测经过纠偏处理的数据是否达到处理标准,且这两个过程会分两路执行,使得检测经过纠偏处理的数据是否达到处理标准的过程不会对输出经过内码译码的数据的过程造成影响,因此不会因该检测过程额外增加数据的整体传输时延,使得该链路监控方法能够应用于较多的传输场景,尤其适用于对传输时延具有较低要求的传输场景。
图1是本申请实施例提供的链路监控方法涉及的一种实施环境的示意图。如图1所示,该实施环境包括:发端设备01、发端处理模块02、信道传输媒介03、收端处理模块04和收端设备05。在数据中心网络中,发端设备01和收端设备05可以为交换机或路由器等设备,且发端设备01也称为位于发端的客户侧芯片(host chip),收端设备05也称为位于收端的客户侧芯片,信道传输媒介03可以为光纤。其中,发端设备01与发端处理模块02之间可以通过连接单元接口(attachment unit interface,AUI)连接,收端设备05与收端处理模块04之间可以通过AUI连接。处理模块可以为光模块(optical module)、电模块或其他在数据发送过程中对数据进行处理的模块。例如,该处理模块可以为800LR模块(800LR module,一种相干光模块)。并且,该应用场景中的发端设备01、发端处理模块02、信道传输媒介03、收端处理模块04和收端设备05,均可以支持双向传输,也可以支持单向传输,本申请实施 例对其不做具体限定。
图2是本申请实施例提供的图1所示的实施环境中一种传输数据的过程示意图。如图2所示,在从发端设备01向收端设备05传输数据的过程中,发端设备01用于对该数据进行外码编码,然后向发端处理模块02传输经过外码编码的数据。发端处理模块02用于对经过外码编码的数据进行内码编码,得到经过外码编码和内码编码的数据,并将经过外码编码和内码编码的数据传输至信道传输媒介03。信道传输媒介03用于将经过外码编码和内码编码的数据传输至收端处理模块04。收端处理模块04用于对经过外码编码和内码编码的数据进行内码译码,并向收端设备05传输经过内码译码的数据(即待进行外码译码的数据)。收端设备05用于对经过内码译码的数据进行外码译码。其中,发端处理模块02和收端处理模块04还均用于监控用于传输数据的链路的质量。以及,发端处理模块02和收端处理模块04还均用于对信号进行纠偏处理,并监控经过纠偏处理的数据是否达到处理标准,根据监控是否达到处理标准的结果,确定后续进行纠偏处理使用的方法。
其中,内码中的“内”和外码中的“外”指示对数据进行操作的执行主体相对于信道传输媒介03的距离的远近,对内码进行操作的执行主体较靠近信道传输媒介,对外码进行操作的执行主体较远离信道传输媒介。在本申请实施例中,由于数据从发端设备01发出后经过发端处理模块02传输至信道传输媒介03,然后从信道传输媒介03经过收端处理模块04传输至收端设备05,经发端设备01编码的数据相对于经发端处理模块02编码的数据离信道传输媒介03较远,经收端设备05译码的数据相对于经收端处理模块04译码的数据离信道传输媒介03较远,因此经发端设备01编码的数据称为经过外码编码的数据,经发端处理模块02编码的数据称为经过内码编码的数据,经收端设备05译码的数据称为经过外码译码的数据,经收端处理模块04译码的数据称为经过内码译码的数据。
应当理解的是,以上内容是对本申请实施例提供的链路监控方法的应用场景的示例性说明,并不构成对于链路监控方法的应用场景的限定,本领域普通技术人员可知,随着业务需求的改变,其应用场景可以根据应用需求进行调整,本申请实施例对其不做一一列举。
接下来对本申请实施例提供的链路监控方法的实现过程进行介绍。下面先对应用于发端处理模块的一种链路监控方法进行介绍。该链路监控方法用于监控用于传输数据的链路的质量。如图3所示,该链路监控方法的实现过程包括以下步骤:
步骤301、发端处理模块接收经过外码编码的数据。
在一种可实现方式中,如图4所示,发端处理模块02中设置有物理媒体附加(physical medium attachment,PMA)子层021。发端处理模块接收经过外码编码的数据,实质是PMA子层通过发端处理模块与发端设备之间的接口(如AUI),接收经过发端设备外码编码的数据。并且,PMA子层接收到经过外码编码的数据后,可以对该经过外码编码的数据进行解复用处理,得到n条物理编码子层通道(physical coding sublayer lane,PCSL)数据流,以便于对该n条PCSL数据流进行纠偏(de-skew)处理。
步骤302、发端处理模块对经过外码编码的数据进行内码编码,并输出经过内码编码的数据。
发端处理模块接收到经过外码编码的数据后,可对该经过外码编码的数据进行内码编码,并输出经过内码编码的数据,以便于通过信道传输媒介(如光纤)向收端处理模块传输经过 内码编码的数据。这里,数据因在发端处理模块与发端设备之间的接口传输引起的误码并不做外码译码消除就送入内码编码。如图4所示,发端处理模块02中设置有内码编码单元022,该内码编码单元022用于进行内码编码。其中,发端处理模块对经过外码编码的数据进行内码编码,实质是使用内码编码方式,得到经过外码编码的数据的内码校验数据,并在经过外码编码的数据中添加该内码校验数据。发端处理模块输出经过内码编码的数据,实质是输出添加有校验数据的经过外码编码的数据,也称为输出经过外码编码和内码编码的数据。
可选的,根据不同的应用场景,发端处理模块进行内码编码的对象(即被内码编码的数据)的具体实现方式不同。在一种情况中,被内码编码的数据可以是经过包括外码编码和纠偏处理的数据。在一种可实现方式中,如图4所示,发端处理模块02中设置有标识锁定和通道纠偏处理(alignment lock and lane de-skew)单元023。该标识锁定和通道纠偏处理单元023用于对数据进行纠偏处理。例如,如图4所示,发端处理模块02接收到经过外码编码的数据后,可以先对经过外码编码的数据进行纠偏处理,然后对经过纠偏处理的数据进行内码编码。在另一种情况中,被内码编码的数据可以直接是经过外码编码的数据。例如,如图5所示,发端处理模块02接收到经过外码编码的数据后,可以直接对经过外码编码的数据进行内码编码。在再一种情况中,被内码编码的数据可以是经过包括外码编码和数据处理的数据。在一种可实现方式中,数据处理包括:第一交织处理。例如,如图6所示,发端处理模块02接收到经过外码编码的数据后,可以先对经过外码编码的数据进行纠偏处理,然后对经过纠偏处理的数据进行第一交织处理,再对经过第一交织处理的数据进行内码编码。又例如,如图7所示,发端处理模块02接收到经过外码编码的数据后,一方面可以对经过外码编码的数据进行纠偏处理,另一方面对经过外码编码的数据进行第一交织处理,再对经过第一交织处理的数据进行内码编码。并且,如图6和图7所示,发端处理模块02中设置有第一交织处理单元024,该第一交织处理单元024用于进行第一交织处理。
需要说明的是,经过纠偏处理的数据通常包括多个通道的数据。当纠偏处理的过程在内码编码并输出的过程之前执行时,在纠偏处理和内码编码之间,发端处理模块还可以对数据进行通道重排序(lane reorder)处理。即被内码编码的数据可以是经过包括外码编码、纠偏处理和通道重排序处理的数据。通道重排序处理是指根据多个通道的数据的对齐标识,对多个通道的数据进行重排序,使得多个通道的数据能够按照指定的顺序排列。并且,经过纠偏处理和通道重排序的数据可以分成两路,一路用于内码编码,另一路用于外码译码。其中,如图8所示,发端处理模块02中设置有通道重排序单元025。该通道重排序单元025用于对数据进行通道重排序处理。
这样一来,无论发端处理模块得到的多个通道的数据以什么顺序排序,通过对该数据进行通道重排序处理,再对经过通道重排序的数据进行内码编码,则发端处理模块输出的经过内码编码的数据均是按照通道重排序指定的顺序排序的,能够使得对发端处理模块进行性能测试时,同类型的不同发端处理模块在相同输入数据下具有相同的输出数据,有利于对发端处理模块的性能测试。另外,若在对数据进行内码编码前还需要对数据进行第一交织处理,由于经过通道重排序的数据都能够按照通道重排序指定的顺序排序,使得第一交织处理的数据的顺序固定,能够便于第一交织处理单元的设计。
并且,发端处理模块对数据进行通道重排序之后,还可以先对数据进行第一解交织(de-interleave)处理。即被内码编码的数据是经过包括外码编码、纠偏处理、通道重排序处 理和第一解交织处理的数据。并且,经过纠偏处理、通道重排序和第一解交织处理的数据可以分成两路,一路用于内码编码,另一路用于外码译码。其中,发端设备在对数据进行外码编码后会对经过外码编码的数据进行第二交织处理,然后将经过第二交织处理的数据输出,该第一解交织处理为该第二交织处理的逆处理。通过对数据进行第一解交织处理,能够根据多个通道的数据得到码字流。若经过外码编码的数据是经过RS编码的数据时,该码字流为RS码字流(stream of Reed-solomon codewords)。在一种可实现方式中,发端处理模块可以先对经过纠偏的数据进行通道重排序处理,然后对经过通道重排序的数据进行第一解交织处理,然后对经过第一解交织处理的数据进行内码编码。或者,发端处理模块可以先对经过纠偏的数据进行通道重排序处理,然后对经过通道重排序的数据进行第一解交织处理,然后对经过第一解交织处理的数据进行第一交织处理,然后对经过第一交织处理的数据进行内码编码。如图9所示,发端处理模块中设置有第一解交织处理单元026,该第一解交织处理单元026用于对数据进行第一解交织处理。
另外,在向信道传输媒介传输经过内码编码的数据之前,发端处理模块还可以对经过内码编码的数据进行一些数据处理。例如,可以先对经过内码编码的数据执行调制映射或信道交织等数据处理,再向信道传输媒介传输经过数据处理的数据。
在一种可实现方式中,对该n条PCSL数据流进行纠偏处理的实现过程可以包括:获取n条PCSL数据流的对齐标识(alignment marker,AM),根据n条PCSL数据流的对齐标识对n条PCSL数据流进行标识锁定,并在确定n条PCSL数据流的对齐标识均合法后,根据n条PCSL数据流的对齐标识对该n条PCSL数据流进行纠偏处理。
其中,对于不同传输场景,通信标准中定义了对应传输场景中n1条PCSL数据流的标准对齐标识,则确定n1条PCSL数据流的标识均合法的实现方式包括:将发端处理模块接收的n1条PCSL数据流的对齐标识与通信标准中定义的n1条PCSL数据流的标准对齐标识进行匹配,当发端处理模块接收的n1条PCSL数据流的对齐标识与n1条PCSL数据流的标准对齐标识一一匹配时,确定n1条PCSL数据流的标识均合法。其中,当发端处理模块与发端设备之间的接口(如AUI)是p路并行的接口时,处理模块可将n条PCSL数据流划分为p路数据流,每路包含n1条PCSL数据流,其中n=n1*p,p为正整数,n1是正整数。每路数据流分别按上述描述确定其n1条PCSL数据流的对齐标识均合法。然后根据所有n条PCSL数据流的对齐标识对该n条PCSL数据流进行纠偏处理,或者,分别对p路数据流进行纠偏处理。
需要说明的是,为了保证能够对数据进行有效的纠偏,发端处理模块可以根据一些策略确定用于对数据进行纠偏处理使用的纠偏方法。例如,发端处理模块可以先对数据进行纠偏处理,然后检测经过纠偏处理的数据是否达到处理标准,并在经过纠偏处理的数据未达到处理标准时,发端处理模块调整纠偏处理使用的纠偏方法,直至经过纠偏处理的数据达到处理标准,并采用达到处理标准对应的纠偏方法对数据进行纠偏处理。为提高本申请实施例的可读性,此处先不对该过程的实现过程进行详细说明,该过程的实现过程可以相应参考后面内容中的步骤3201至步骤3205的相关描述。
步骤303、发端处理模块对经过外码编码的数据进行外码译码。
发端处理模块可以对经过外码编码的数据进行外码译码,并根据外码译码的情况确定用于传输经过外码编码的数据的链路的质量。并且,由于发端处理模块一方面要对经过外码编码的数据进行内码编码并输出,另一方面要对经过外码编码的数据进行外码译码,然后根据 外码译码的情况确定链路质量。也即是,发端处理模块对经过外码编码的数据进行内码编码并输出,与发端处理模块对经过外码编码的数据进行外码译码并确定链路质量,分别在两条处理通道上执行。这样一来,对经过外码编码的数据进行外码译码并确定链路质量的过程,不会对经过外码编码的数据进行内码编码并输出的过程造成影响,因此不会因外码译码并确定链路质量的过程额外增加数据的传输时延,能够有效降低数据的整体传输时延。可选的,如图4至图9所示,发端处理模块02中设置有外码译码单元027,该外码译码单元027用于对经过外码编码的数据进行外码译码,根据对经过外码编码的数据进行外码译码的情况,确定用于传输经过外码编码的数据的链路的质量。
可选的,根据不同的应用场景,被外码译码的数据的具体实现方式不同。在一种情况中,被外码译码的数据可以是经过包括外码编码和纠偏处理的数据。例如,如图4至图9所示,发端处理模块02接收到经过外码编码的数据后,可以先对经过外码编码的数据进行纠偏处理,然后对经过纠偏处理的数据进行外码译码。并且,当被内码编码的数据是经过包括外码编码和纠偏处理的数据,且被外码译码的数据是经过包括外码编码和纠偏处理的数据时,该纠偏处理可以在发端处理模块接收到经过外码编码的数据后执行,且在执行完该纠偏处理后,经过纠偏处理的数据可以进行两路处理,一路被发端处理模块进行内码编码并输出,另一路被发端处理模块进行外码译码。其中,通过先对经过外码编码的数据进行纠偏处理,然后对经过纠偏处理的数据进行外码译码,再根据外码译码的情况,确定用于传输经过外码编码的数据的链路的质量,由于用于确定链路的质量的数据为经过纠偏处理的数据,能够有效保证根据该数据确定的链路的质量的准确性。
在另一种情况中,被外码译码的数据可以是经过包括外码编码、通道重排序处理和第一解交织处理的数据。例如,如图9、图10、图11和图12所示,发端处理模块02接收到经过外码编码的数据后,可以先对经过外码编码的数据进行纠偏处理和通道重排序处理,然后对经过通道重排序的数据进行第一解交织处理,然后对经过第一解交织处理的数据进行外码译码。
在再一种情况中,被外码译码的数据可以是经过包括外码编码和数据提取的数据。例如,如图13、图14和图15所示,发端处理模块02接收到经过外码编码的数据后,可以先对经过外码编码的数据进行数据提取,然后对经过数据提取的数据进行外码译码。
其中,对数据进行纠偏处理,对数据进行通道重排序处理,对数据进行第一解交织处理的实现方式,可以相应参考前述内容中的相关描述,此处不再赘述。并且,被外码译码的数据还可以是经过纠偏处理,经过数据提取,经过通道重排序处理,经过第一解交织处理等处理的数据,且纠偏处理、数据提取、通道重排序处理和第一解交织处理等多种处理的执行顺序,可以根据应用需求进行调整。
对数据进行数据提取,是指根据预设规则从数据中提取部分数据流。在一种可实现方式中,如图13、图14和图15所示,发端处理模块02中设置有数据提取单元028。该数据提取单元028能够按照预设规则从数据中提取部分数据流,并输出经过数据提取的数据流。
可选的,数据提取使用的预设规则可以为:在数据中每间隔T个符号选取其中T0个符号,且为了保证能够对经过数据提取的数据流进行译码,需要保证T0个符号至少包括一个完整的码字序列。其中,T≥T0,且T和T0均为正整数。T和T0的取值可以根据应用需求确定。例如,如图16所示是具有16条PCSL数据流的数据。考虑外码的码长是544个符号, 数据流中符号A0,A1,A2等表示来自一个码字数据流,且A0,A1,…,A543构成一个码字;数据流中符号B0,B1,B2等表示来自另一个码字数据流,且B0,B1,…,B543构成一个码字。在数据提取前,每个数据通道中传输的符号按照图16中虚线框1所示的方式排布,则T可以为2176,T0可以为1088,按照该T和T0的取值进行数据提取后,提取得到的数据包括图16中虚线框2中的符号。
需要说明的是,当T>T0时,经过数据提取得到的数据速率能够小于发端处理模块进行内码编码的数据速率,能够实现对经过纠偏处理的信号的降速,能够实现低功耗监控。当T=T0时,由于数据提取单元的输入数据和输出数据基本相同,此时可视为没有设置数据提取单元,相应的,这种情况下也可以去掉该数据提取单元。
步骤304、发端处理模块根据对经过外码编码的数据进行外码译码的情况,确定用于传输经过外码编码的数据的链路的质量。
在一种可实现方式中,如图17所示,步骤304的实现过程包括:
步骤3041a、发端处理模块根据对经过外码编码的数据中P1个码字序列进行外码译码的情况,确定P1个码字序列中每个码字序列的误符号个数,P1为正整数。
发端处理模块可以根据对经过外码编码的数据中码字序列进行译码的情况,确定码字序列的误符号个数。在一种可实现方式中,若根据外码译码情况确定码字序列能够正确译码(即可纠),此时可以将该码字序列在译码过程中被纠正的符号的总数,记为该码字序列的误符号个数。若根据外码译码情况确定码字序列不能够正确译码(即不可纠(uncorrectable)),可以认为该码字序列的误符号个数超过译码的最大纠错能力对应的误符号个数t,此时可以将该码字序列的误符号个数记为t+1。例如,当外码采用KP4RS(544,514)码时,其译码的最大纠错能力对应的误符号个数为15,若接收到的码字序列可纠,则该码字序列在译码过程中被纠正的符号的总数可记为该码字序列的误符号个数,若接收到的码字序列不可纠,则该码字序列的误符号个数可记为16。
发端处理模块可以根据该经过外码编码的数据中一个或多个(即P1个)码字序列的误符号个数,确定用于传输经过外码编码的数据的链路的质量。此时,发端处理模块需要分别确定该P1个码字序列中每个码字序列的误符号个数。且当根据经过外码编码的数据中多个码字序列的误符号个数确定链路的质量时,由于多个码字序列的误符号个数能够更加全面的反映码字序列受到链路的影响,能够对链路质量进行更准确的监控。
需要说明的是,上述描述中所说的“码字序列的误符号个数”,是指译码器检测到的码字序列的误符号个数,其可能等于该码字序列中真正存在的误符号个数,也可能不等于该码字序列中真正存在的误符号个数。
步骤3042a、发端处理模块根据P1个码字序列的误符号个数,确定链路的质量。
由于码字序列的误符号个数能够体现码字序列受到链路的影响,因此发端处理模块能够根据码字序列的误符号个数,确定链路的质量。在一种可实现方式中,发端处理模块可以计算经过外码编码的数据中P1个码字序列的误符号个数的总和,然后根据该总和确定链路的质量。例如,可以将该总和与预设的门限值进行比较,并在该总和大于门限值(exceed the threshold)时,确定链路的质量发生了降级,即链路出现了链路降级(link degrade),在该总和小于或等于门限值时,确定链路的质量没有发生降级。其中,该门限值可以根据应用需求确定。并且,还可以为链路的质量划分多个等级,并为该多个等级分别设置对应的门限值, 当该总和位于某个门限值限定的范围内时,确定链路的质量为该门限值对应的质量等级。
在另一种可实现方式中,如图18所示,步骤304的实现过程包括:
步骤3041b、发端处理模块根据对经过外码编码的数据中码字序列进行外码译码的情况,确定码字序列对应的指示参数。
该步骤3041b的实现过程包括:发端处理模块根据外码译码的情况,确定经过外码编码的数据中码字序列的误符号个数,然后根据接收到的码字序列的误符号个数,确定该码字序列的指示参数。其中,发端处理模块根据外码译码的情况确定码字序列的误符号个数的实现方式,请相应参考步骤3041a中的相关描述。在一种可实现方式中,根据码字序列的误符号个数,确定码字序列的指示参数的实现方式包括:将码字序列的误符号个数与预设的第一门限值进行比较,当码字序列的误符号个数小于或等于第一门限值时,将码字序列对应的指示参数设置为Q0,当码字序列的误符号个数大于第一门限值时,将码字序列对应的指示参数设置为Q1。其中,Q0的取值小于Q1的取值,且第一门限值、Q0和Q1的取值均可以根据应用需求确定。例如,Q0的取值可以为0,Q1的取值可以为1。
步骤3042b、发端处理模块根据经过外码编码的数据中P2个码字序列对应的指示参数,确定链路的质量,P2为正整数。
在一种可实现方式中,发端处理模块可以计算经过外码编码的数据中P2个码字序列对应的指示参数的总和,然后根据该总和确定链路的质量。例如,可以将该总和与预设的第二门限值进行比较,并在该总和大于第二门限值时,确定链路的质量发生了降级,即链路出现了链路降级,在该总和小于或等于第二门限值时,确定链路的质量没有发生降级。其中,该第二门限值可以根据应用需求确定。并且,还可以为链路的质量划分多个等级,并为该多个等级分别设置对应的门限值,当该总和位于某个门限值限定的范围内时,确定链路的质量为该门限值对应的质量等级。并且,P2可以为大于1的正整数,当根据经过外码编码的数据中多个码字序列的误符号个数确定链路的质量时,由于多个码字序列的误符号个数能够更加全面的反映码字序列受到链路的影响,能够对链路质量进行更准确的监控。
综上所述,在该链路监控方法中,通过对经过外码编码的数据进行外码译码,并根据对经过外码编码的数据进行外码译码的情况,确定用于传输经过外码编码的数据的链路的质量,能够对链路的质量进行有效的监控。
并且,由于需要对经过外码编码的数据进行内码编码并输出,也需要对经过外码编码的数据进行外码译码,并根据外码译码的情况确定链路质量,且这两个过程会分两路执行,使得对数据进行外码译码并确定链路质量的过程不会对对数据进行内码编码并输出的过程造成影响,因此不会因进行外码译码并确定链路质量的过程额外增加数据的传输时延,使得该链路监控方法能够应用于较多的传输场景,尤其适用于对传输时延具有较低要求的传输场景。
下面对应用于收端处理模块的一种链路监控方法进行介绍。该链路监控方法用于监控用于传输数据的链路的质量。如图19所示,该链路监控方法的实现过程包括以下步骤:
步骤1901、收端处理模块接收经过外码编码和内码编码的数据。
收端处理模块通过信道传输媒介(如光纤)与发端处理模块连接,发端处理模块输出经过外码编码和内码编码的数据后,收端处理模块可以从该信道传输媒介接收该经过外码编码和内码编码的数据。并且,收端处理模块接收到经过外码编码和内码编码的数据后,可以对 该数据进行处理(如对数据进行信道解交织和解调处理等)得到数据流,以便于针对该数据流进行进一步的处理。
步骤1902、收端处理模块对经过外码编码和内码编码的数据进行内码译码,并输出经过内码译码的数据。
收端处理模块接收经过外码编码和内码编码的数据后,可以对该数据进行内码译码,以至少部分消除该数据中因在信道传输媒介中传输引起的误码,并输出经过内码译码的数据,完成数据在该收端处理模块中的处理和传输。在一种可实现方式中,如图20所示,收端处理模块04中设置有内码译码单元041和PMA子层042。内码译码单元041用于对经过外码编码和内码编码的数据进行内码译码。收端处理模块输出经过内码译码的数据,实质是PMA子层042通过收端处理模块与收端设备之间的接口(如AUI),向收端设备传输经过内码译码的数据。
可选的,根据不同的应用场景,被收端处理模块输出的数据(即被输出的数据)的具体实现方式不同。在一种情况中,被收端处理模块输出的数据可以直接是经过内码译码的数据。例如,如图20所示,收端处理模块04对经过外码编码和内码编码的数据进行内码译码后,可以直接输出经过内码译码的数据。
在另一种情况中,由于发端处理模块在对数据进行内码编码前还可以对数据进行数据处理,使得经过外码编码和内码编码的数据可以是经过数据处理的数据,则被收端处理模块输出的数据可以是经过包括内码译码和数据处理的逆处理的数据。在一种可实现方式中,数据处理可以包括:第一交织处理,则该数据处理的逆处理可以包括:第二解交织处理。例如,如图21所示,收端处理模块04接收到经过外码编码和内码编码的数据后,可以先对经过外码编码和内码编码的数据进行内码译码,然后对经过内码译码的数据进行第二解交织处理,然后输出经过第二解交织处理的数据。并且,如图21所示,收端处理模块04中设置有第二解交织处理单元043。第二解交织处理单元043用于对经过内码译码的数据进行解交织处理。其中,对数据进行第二解交织处理的实现方式,可以相应参考前述内容中解交织处理的相关描述,此处不再赘述。
步骤1903、收端处理模块对经过内码译码的数据进行外码译码。
收端处理模块可以对经过内码译码的数据进行外码译码,并根据外码译码的情况确定用于传输经过外码编码和内码编码的数据的链路的质量。并且,由于收端处理模块一方面要输出经过内码译码的数据,另一方面要对经过内码译码的数据进行外码译码,并根据外码译码确定链路质量。也即是,收端处理模块输出经过内码译码的数据,与收端处理模块进行外码译码并确定链路质量,分别在两条处理通道上执行。这样一来,外码译码并确定链路质量的过程,不会对输出经过内码译码的数据的过程造成影响,因此不会因外码译码并确定链路质量的过程额外增加数据的整体传输时延,能够有效降低数据的整体传输时延。其中,如图20和图21所示,收端处理模块04中设置有外码译码单元044,该外码译码单元044用于对数据进行外码译码。
可选的,根据不同的应用场景,被外码译码的数据的具体实现方式不同。在一种情况中,如图20所示,被外码译码的数据可以是经过内码译码的数据。在另一种情况中,被外码译码的数据可以是经过包括内码译码和纠偏处理的数据。例如,如图22和图23所示,收端处理模块04接收到经过内码译码的数据后,可以先对经过内码译码的数据进行纠偏处理,然后对 经过纠偏处理的数据进行外码译码。其中,收端处理模块04中设置有标识锁定和通道纠偏处理单元045,该标识锁定和通道纠偏处理单元045用于对数据进行纠偏处理。在再一种情况中,被外码译码的数据可以是经过包括内码译码、通道重排序处理和第一解交织处理的数据。例如,如图24、图25和图26所示,收端处理模块04接收到经过内码译码的数据后,可以先对经过内码译码的数据进行通道重排序处理,然后对经过通道重排序处理的数据进行第一解交织处理,然后对经过第一解交织处理的数据进行外码译码。其中,收端处理模块04中设置有通道重排序单元046和第一解交织处理单元047,通道重排序单元046用于对数据进行通道重排序处理,第一解交织处理单元047用于对数据进行第一解交织处理。在又一种情况中,当经过外码编码和内码编码的数据是经过通道重排序处理的数据时,被外码译码的数据可以是经过包括内码译码和第一解交织处理的数据,即收端处理模块无需再对经过外码编码和内码编码的数据进行通道重排序处理。此时,若经过内码译码的数据为经过第二交织处理的数据,则收端处理模块可以先对经过内码译码的数据进行第一解交织处理,然后对经过第一解交织处理的数据进行外码译码。例如,如图27和图28所示。在再一种情况中,被外码译码的数据可以是经过包括内码译码和数据提取的数据。例如,如图29和图30所示,收端处理模块04接收到经过内码译码的数据后,可以先对经过内码译码的数据进行数据提取,然后对经过数据提取的数据进行外码译码。其中,如图29、图30、图31和图32所示,收端处理模块04中设置有数据提取单元048,该数据提取单元048用于对数据进行数据提取。在又一种情况中,经过内码译码的数据可以为经过数据处理的数据,则被外码译码的数据可以是经过包括内码译码和该数据处理的逆处理的数据。可选的,该数据处理包括:第一交织处理,该逆处理包括:第二解交织处理。例如,如图28至图32所示,收端处理模块04接收到经过内码译码的数据后,可以先对经过内码译码的数据进行第二解交织处理,然后对经过第二解交织处理的数据进行外码译码。并且,当被收端处理模块输出的数据是经过包括内码译码和数据处理的逆处理的数据,且被外码译码的数据是经过包括内码译码和数据处理的逆处理的数据时,该逆处理可以在收端处理模块接收到经过内码译码的数据后执行,且在执行完该逆处理后,经过逆处理的数据可以分为两路,一路被收端处理模块输出,另一路被收端处理模块进行外码译码。这样一来,对数据进行外码译码并检测链路质量的过程不会对收端处理模块输出数据的过程造成影响,因此不会因对数据进行外码译码并检测链路质量的过程额外增加数据的传输时延,能够有效降低数据的整体传输时延。
其中,对数据进行纠偏处理,对数据进行通道重排序处理,对数据进行第一解交织处理,对数据进行数据提取,对数据进行第二解交织处理的实现方式,可以相应参考前述内容中的相关描述,此处不再赘述。并且,被外码译码的数据还可以是经过纠偏处理,经过数据提取,经过通道重排序处理,经过第一解交织处理等处理的数据,且纠偏处理、数据提取、通道重排序处理和第一解交织处理等多种处理的执行顺序,可以根据应用需求进行调整。
步骤1904、收端处理模块根据对经过内码译码的数据进行外码译码的情况,确定用于传输经过外码编码和内码编码的数据的链路的质量。
在一种可实现方式中,如图33所示,该步骤1904的实现过程包括:
步骤19041a、收端处理模块根据对经过内码译码的数据中P3个码字序列进行外码译码的情况,确定P3个码字序列中每个码字序列的误符号个数,P3为正整数。
该步骤19041a的实现过程请相应参考步骤3041a的实现过程。
步骤19042a、收端处理模块根据P3个码字序列的误符号个数,确定链路的质量。
该步骤19042a的实现过程请相应参考步骤3042a的实现过程。
在另一种可实现方式中,如图34所示,该步骤1904的实现过程包括:
步骤19041b、收端处理模块根据对经过内码译码的数据中码字序列进行外码译码的情况,确定码字序列对应的指示参数。
该步骤19041b的实现过程请相应参考步骤3041b的实现过程。
步骤19042b、收端处理模块根据经过内码译码的数据中P4个码字序列对应的指示参数,确定链路的质量,P4为正整数。
该步骤19042b的实现过程请相应参考步骤3042b的实现过程。
综上所述,在该链路监控方法中,通过对经过外码编码的数据进行外码译码,并根据对经过外码编码的数据进行外码译码的情况,确定用于传输经过外码编码的数据的链路的质量,能够对链路的质量进行有效的监控。
并且,由于需要输出经过内码译码的数据,也需要对经过内码译码的数据进行外码译码,并根据外码译码的情况确定链路质量,且这两个过程会分两路执行,使得对数据进行外码译码并确定链路质量的过程不会对输出经过内码译码的数据的过程造成影响,因此不会因进行外码译码并确定链路质量的过程额外增加数据的整体传输时延,使得该链路监控方法能够应用于较多的传输场景,尤其适用于对传输时延具有较低要求的传输场景。
下面对应用于发端处理模块的一种链路监控方法进行介绍。该链路监控方法用于监控经过纠偏处理的数据是否达到处理标准,并根据监控是否达到处理标准的结果,确定后续进行纠偏处理使用的方法。如图35所示,该链路监控方法的实现过程包括以下步骤:
步骤3201、发端处理模块接收经过外码编码的数据。
该步骤3201的实现过程可以相应参考步骤301的实现过程,此处不再赘述。
步骤3202、发端处理模块对经过外码编码的数据进行内码编码,并输出经过内码编码的数据。
发端处理模块对经过外码编码的数据进行内码编码的实现过程,可以相应参考步骤302的相关描述,此处不再赘述。
可选的,发端处理模块对经过外码编码的数据进行内码编码前,还可以先对经过外码编码的数据进行数据处理,然后再对经过数据处理的数据进行内码编码。此时,发端处理模块进行内码编码的对象(即被发端处理模块进行内码编码的数据,也称被内码编码的数据)是经过包括外码编码和数据处理的数据。在一种可实现方式中,如图6所示,该数据处理包括:第一交织处理。
另外,在向信道传输媒介传输经过内码编码的数据之前,发端处理模块还可以对经过内码编码的数据进行一些数据处理。例如,可以先对经过内码编码的数据执行调制映射或信道交织等数据处理,并向信道传输媒介传输经过数据处理的数据。
步骤3203、发端处理模块对经过外码编码的数据进行纠偏处理。
可选的,在不同的传输场景中,发端处理模块对经过外码编码的数据进行纠偏处理的过程的执行时机,可以根据传输场景的需求进行调整。并且,在传输过程中,发端处理模块接收到经过外码编码的数据后,还需要对经过外码编码的数据进行内码编码,并输出经过内码 编码的数据。下面以对经过外码编码的数据进行纠偏处理过程,相对于发端处理模块对经过外码编码的数据进行内码编码并输出的过程的不同执行顺序为例,对其执行时机进行说明:
在一种可实现方式中,如图4、图6、图8、图9、图10、图11、图13和图15所示,发端处理模块对经过外码编码的数据进行纠偏处理的过程,可以在发端处理模块对经过外码编码的数据进行内码编码并输出的过程之前执行。也即是,发端处理模块进行内码编码的对象(即被内码编码的数据)是经过包括外码编码和纠偏处理的数据。此时,发端处理模块对经过外码编码的数据进行内码编码的过程包括:对经过纠偏处理的数据进行内码编码。需要说明的是,在一些传输场景中,在经过纠偏处理的数据未达到处理标准时,发端处理模块也会对数据进行内码编码,并输出经过内码编码的数据。在另一些传输场景中,在经过纠偏处理的数据未达到处理标准时,发端处理模块会先对数据中某些数据进行修改标注该数据为未达到处理标准,再进行内码编码,并输出经过内码编码的数据。
需要说明的是,经过纠偏处理的数据通常包括多个通道的数据。当纠偏处理的过程在内码编码并输出的过程之前执行时,在纠偏处理和内码编码之间,发端处理模块还可以对数据进行通道重排序处理,例如,如图8、图9、图10和图15所示。
并且,发端处理模块对数据进行通道重排序之后,还可以先对数据进行第一解交织处理。即被内码编码的数据是经过包括外码编码、纠偏处理、通道重排序处理和第一解交织处理的数据,例如,如图9和图15所示。在一种可实现方式中,发端处理模块可以先对经过纠偏的数据进行通道重排序处理,然后对经过通道重排序的数据进行第一解交织处理,然后对经过第一解交织处理的数据进行内码编码。或者,发端处理模块可以先对经过纠偏的数据进行通道重排序处理,然后对经过通道重排序的数据进行第一解交织处理,然后对经过第一解交织处理的数据进行第一交织处理,然后对经过第一交织处理的数据进行内码编码。其中,通道重排序处理和第一解交织处理的实现方式,可以相应参考前述内容中的相关描述,此处不再赘述。
在另一种可实现方式中,如图5、图7、图12和图14所示,发端处理模块可以一方面对经过外码编码的数据进行纠偏处理,另一方面对经过外码编码的数据进行内码编码并输出。也即是,发端处理模块对经过外码编码的数据进行纠偏处理的过程,可以与发端处理模块对经过外码编码的数据进行内码编码并输出的过程分两路执行。此时,发端处理模块接收到经过外码编码的数据后,会对该经过外码编码的数据进行两路处理,一路处理用于对经过外码编码的数据进行纠偏处理,另一路处理用于对经过外码编码的数据进行内码编码,并输出经过内码编码的数据。此时,发端处理模块进行内码编码的对象不是经过纠偏处理的数据,而是接收到的经过外码编码的数据。这样一来,对经过外码编码的数据进行纠偏处理的过程,不会对经过外码编码的数据进行内码编码并输出的过程造成影响,因此不会因进行纠偏处理额外增加数据的整体传输时延,能够进一步降低数据的整体传输时延。
步骤3204、发端处理模块检测经过纠偏处理的数据是否达到处理标准。
由于发端处理模块一方面要对经过外码编码的数据进行内码编码并输出,另一方面要对经过外码编码的数据进行纠偏处理,然后检测经过纠偏处理的数据是否达到处理标准。也即是,发端处理模块对经过外码编码的数据进行内码编码并输出,与发端处理模块检测经过纠偏处理的数据是否达到处理标准,分别在两条处理通道上执行。这样一来,检测经过纠偏处理的数据是否达到处理标准的过程,不会对经过外码编码的数据进行内码编码并输出的过程 造成影响,因此不会因检测过程额外增加数据的整体传输时延,能够有效降低数据的整体传输时延。
在一种可实现方式中,发端处理模块可以根据对经过纠偏处理的数据的外码译码的情况,辅助确认经过纠偏处理的数据是否达到处理标准。相应的,发端处理模块检测经过纠偏处理的数据是否达到处理标准,包括:发端处理模块对经过纠偏处理的数据进行外码译码,根据外码译码的情况,确定经过纠偏处理的数据是否达到处理标准。如图4至图15所示,发端处理模块02中设置有外码译码单元027,该外码译码单元027用于对经过纠偏处理的数据进行外码译码,根据外码译码的情况,确定经过纠偏处理的数据是否达到处理标准。其中,图4至图15中由外码译码单元027指向标识锁定和通道纠偏处理单元023的箭头用于指示经过纠偏处理的数据是否达到处理标准。
可选的,发端处理模块可以在确定经过纠偏处理的数据能够正确译码时,确定经过纠偏处理的数据达到处理标准。其中,判断经过纠偏处理的数据是否能够正确译码有多种可实现方式。本申请实施例以以下两种实现方式为例对其进行说明。
在一种可实现方式中,当完成对经过纠偏处理的数据的译码过程时,发端处理模块确定经过纠偏处理的数据能够正确译码。也即是,发端处理模块可以对经过纠偏处理的数据执行完整的译码过程,并在对经过纠偏处理的数据执行完完整的译码过程后,若确定完成了对经过纠偏处理的数据的译码过程,则确定经过纠偏处理的数据能够正确译码。例如,当外码为里德所罗门码,发端处理模块可以对经过纠偏处理的数据中的接收到的码字序列计算校正子(syndrome),然后根据校正子计算错误位置多项式(error-location polynomial)并求解关键方程(key-equation),以获得出现误码的错误位置,接着根据错误位置确定误码的错误值译出码字,从而实现对经过纠偏处理的数据的译码。
其中,对于包括多个码字序列的经过纠偏处理的数据,若在译码过程中发现该经过纠偏处理的数据中出现连续N1个码字序列译码失败时,则可以确定该经过纠偏处理的数据不能够正确译码。相应的,可以确定经过纠偏处理的数据未达到处理标准。该N1为大于1的正整数,且该N1的取值可以根据应用场景进行调整。例如,当外码采用RS码,且该RS码使用的是KP4RS(544,514)码时,N1的取值可以为3。需要说明的是,当译码器接收的码字数据流可划分为q路码字数据流且采用q个子译码器分别进行译码时,上述“经过纠偏处理的数据中出现连续N1个码字序列译码失败”可以是任意一路码字数据流中出现连续N1个码字序列译码失败。其中,q为大于1的正整数。也就是,对于包括多个码字序列的经过纠偏处理的数据且其可划分为q路码字数据流并采用q个子译码器分别进行译码时,若在译码过程中发现任意一路数据中出现连续N1个码字序列译码失败时,则可以确定该经过纠偏处理的数据达不到处理标准。
或者,对于经过纠偏处理的数据包括一个或多个包括M1个码字序列的集合的情况,若任一M1个码字序列中存在N2个码字序列译码失败时,则可以确定该经过纠偏处理的数据不能够正确译码。相应的,可以确定经过纠偏处理的数据未达到处理标准。该N2为大于1的正整数,M1为大于N2的正整数,且该M1和N2的取值可以根据应用场景进行调整。
需要说明的是,上述描述中所说的“经过纠偏处理的数据中出现连续N1个码字序列译码失败”和“M1个码字序列中存在N2个码字序列译码失败”,是指译码器检测到对应数量个码字序列译码失败。
在另一种可实现方式中,可以针对经过纠偏处理的数据中的每个码字序列计算校正子,当经过纠偏处理的数据中码字序列的校正子指示经过纠偏处理的数据能够正确译码时,发端处理模块确定经过纠偏处理的数据能够正确译码。其中,码字序列的校正子能够直接指示码字序列能否正确译码。并且,根据校正子直接判断码字序列能否正确译码时,对于包括多个码字序列的经过纠偏处理的数据,若根据校正子确定经过纠偏处理的数据中连续出现N1个码字序列无法正确译码,则可以确定该码字流不能够正确译码。或者,对于经过纠偏处理的数据包括一个或多个包括M1个码字序列的集合的情况,若根据校正子确定经过纠偏处理的数据中任一M1个码字序列中存在N2个码字序列译码失败,则可以确定该码字流不能够正确译码。
其中,根据经过纠偏处理的数据中码字序列的校正子判断经过纠偏处理的数据能否正确译码,使得无需对经过纠偏处理的数据执行完整的译码过程,能够减小发端处理模块的功耗和计算复杂度。
可选的,被检测是否达到处理标准的数据还可以是经过一些处理,并经过纠偏处理的数据。并且,根据传输场景的不同,对数据进行的处理可能不同。本申请实施例以以下几种情况为例对其进行说明。
在第一种情况中,被检测是否达到处理标准的数据(即经过纠偏处理的数据)可以是经过纠偏处理,且经过数据提取的数据,例如,如图13至图15所示。
在第二种情况中,根据前面描述可知,此时,被检测是否达到处理标准的数据可以是经过纠偏处理,且经过通道重排序处理和第一解交织处理的数据,例如,如图9、图10、图11、图12、图13、图14和图15所示。并且,当纠偏处理的过程在内码编码并输出的过程之前执行时,该通道重排序处理和第一解交织处理可以在纠偏处理和内码编码之间执行,例如,如图9和图15所示。当纠偏处理的过程与内码编码并输出的过程分两路执行时,该通道重排序处理和第一解交织处理可以纠偏处理之后执行,例如,如图12、图13和图14所示。
在第三种情况中,被检测是否达到处理标准的数据可以是经过纠偏处理,经过数据提取,经过通道重排序处理,经过第一解交织处理等处理的数据。其中,纠偏处理、数据提取、通道重排序处理和第一解交织处理等多种处理的执行顺序,可以根据应用需求进行调整。例如,可以先对数据进行数据提取,然后对经过数据提取的数据进行通道重排序处理,然后对经过通道重排序的数据进行第一解交织处理。或者,可以先对数据进行通道重排序处理,然后对经过通道重排序处理的数据进行第一解交织处理,然后对经过第一解交织处理的数据进行数据提取,本申请实施例对其不做具体限定。另外,数据提取的过程和对数据进行纠偏处理的过程的执行顺序也可以根据应用需求进行调整。例如,可以按照前面描述,先对数据进行纠偏处理,然后对经过纠偏处理的数据进行数据提取。或者,也可以先对数据进行数据提取,然后对经过数据提取的数据进行纠偏处理,本申请实施例对其也不做具体限定。
步骤3205、当经过纠偏处理的数据未达到处理标准时,发端处理模块调整纠偏处理使用的纠偏方法。
当经过纠偏处理的数据未达到处理标准时,说明前述对经过外码编码的数据进行纠偏处理未达到纠偏要求,此时发端处理模块需要调整纠偏处理使用的纠偏方法,以便于对数据进行有效的纠偏。当经过纠偏处理的数据达到处理标准时,则无需调整纠偏处理使用的纠偏方 法。在一种可实现方式中,对数据进行纠偏处理可以通过状态机实现,则调整纠偏处理使用的纠偏方法,可以通过对状态机进行重启(restart)实现。
综上所述,在该链路监控方法中,由于需要对经过外码编码的数据进行内码编码并输出,也需要检测经过纠偏处理的数据是否达到处理标准,且这两个过程会分两路执行,使得检测经过纠偏处理的数据是否达到处理标准的过程不会对对数据进行内码编码并输出的过程造成影响,因此不会因该检测过程额外增加数据的整体传输时延,使得该链路监控方法能够应用于较多的传输场景,尤其适用于对传输时延具有较低要求的传输场景。
下面对应用于收端处理模块的一种链路监控方法进行介绍。该链路监控方法用于监控经过纠偏处理的数据是否达到处理标准,并根据监控是否达到处理标准的结果,确定后续进行纠偏处理使用的方法。如图36所示,该链路监控方法的实现过程包括以下步骤:
步骤3301、收端处理模块接收经过外码编码和内码编码的数据。
该步骤3301的实现过程可以相应参考步骤1901的实现过程。
步骤3302、收端处理模块对经过外码编码和内码编码的数据进行内码译码,并输出经过内码译码的数据。
该步骤3302的实现过程可以相应参考步骤1902的实现过程。
步骤3303、收端处理模块对经过内码译码的数据进行纠偏处理,并检测经过纠偏处理的数据是否达到处理标准。
收端处理模块对经过内码译码的数据进行纠偏处理的实现过程,可以相应参考前述内容中发端处理模块对经过外码编码的数据进行纠偏处理的实现过程,此处不再赘述。
收端处理模块检测经过纠偏处理的数据是否达到处理标准的实现过程,也可以相应参考前述内容中发端处理模块检测经过纠偏处理的数据是否达到处理标准的实现过程。例如,收端处理模块可以对经过纠偏处理的数据进行外码译码,并根据外码译码的情况,确定经过纠偏处理的数据是否达到处理标准。可选的,当经过纠偏处理的数据能够正确译码时,可以确定经过纠偏处理的数据达到处理标准。且当完成对经过纠偏处理的数据的译码过程时,收端处理模块可以确定经过纠偏处理的数据能够正确译码。或者,当经过纠偏处理的数据中码字序列的校正子指示经过纠偏处理的数据能够正确译码时,收端处理模块可以确定经过纠偏处理的数据能够正确译码。进一步地,当经过纠偏处理的数据中出现连续N3个码字序列译码失败时,可以确定经过纠偏处理的数据未达到处理标准。其中,N3为大于1的正整数。或者,若经过纠偏处理的数据包括M2个码字序列,则当M2个码字序列中存在N4个码字序列译码失败时,经过纠偏处理的数据未达到处理标准。其中,N4为大于1的正整数,M2为大于N4的正整数。
如图22至图30所示,收端处理模块04中设置有外码译码单元044和标识锁定和通道纠偏处理单元045。标识锁定和通道纠偏处理单元045用于对信号进行纠偏处理。外码译码单元044用于对经过纠偏处理的数据进行外码译码,根据外码译码的情况,确定经过纠偏处理的数据是否达到处理标准。其中,图22至图30中由外码译码单元044指向标识锁定和通道纠偏处理单元045的箭头用于指示经过纠偏处理的数据是否达到处理标准。
由于收端处理模块一方面要输出经过内码译码的数据,另一方面要对经过内码译码的数据进行纠偏处理,然后检测经过纠偏处理的数据是否达到处理标准。也即是,收端处理模块 输出经过内码译码的数据,与收端处理模块检测经过纠偏处理的数据是否达到处理标准,分别在两条处理通道上执行。这样一来,检测经过纠偏处理的数据是否达到处理标准的过程,不会对输出经过内码译码的数据的过程造成影响,因此不会因检测过程额外增加数据的整体传输时延,能够有效降低数据的整体传输时延。
可选的,经过外码编码和内码编码的数据可以为经过数据处理的数据。相应的,经过内码译码的数据可以为经过数据处理的数据。则经过纠偏处理的数据可以是经过包括内码译码和数据处理的逆处理的数据。在一种可实现方式中,数据处理包括:第一交织处理,逆处理包括:第二解交织处理。此时,收端处理模块对经过内码译码的数据进行纠偏处理,包括:收端处理模块对经过内码译码的数据进行数据处理的逆处理,收端处理模块对经过逆处理的数据进行纠偏处理,例如,如图21、图23、图25、图28、图29和图30所示。当收端处理模块输出经过内码译码的数据前需要对数据进行逆处理,且收端处理模块对数据进行纠偏处理前需要对数据进行逆处理时,该逆处理过程可以在收端处理模块对经过外码编码和内码编码的数据进行内码译码后执行,且在执行完该逆处理后,经过逆处理的数据可以分为两路,一路被收端处理模块输出,另一路被收端处理模块执行纠偏处理。这样一来,由于纠偏处理不在输出经过内码译码的数据的传输通路上执行,使得纠偏处理和检测是否达到处理标准的过程不会对输出经过内码译码的数据的过程造成影响,因此不会因该检测过程额外增加数据的整体传输时延,能够有效降低数据的整体传输时延。
需要说明的是,被检测是否达到处理标准的数据(即经过纠偏处理的数据)还可以是经过一些处理和纠偏处理的数据。例如,经过纠偏处理的数据可以是经过包括纠偏处理和数据提取数据。此时,收端处理模块检测经过纠偏处理的数据是否达到处理标准,包括:收端处理模块对经过纠偏处理的数据进行数据提取,然后检测经过数据提取的数据是否达到处理标准。在一种可实现方式中,如图29和图30所示,收端处理模块04中设置有数据提取单元048,可以通过该数据提取单元048对数据进行数据提取。其中,数据提取的实现过程请相应参考前述内容中的相关描述。
又例如,经过纠偏处理的数据包括多个通道的数据,则经过纠偏处理的数据可以是经过包括纠偏处理、通道重排序处理和第一解交织处理的数据。此时,收端处理模块检测经过纠偏处理的数据是否达到处理标准,包括:收端处理模块对经过纠偏处理的多个通道的数据进行通道重排序处理,对经过通道重排序处理的数据进行第一解交织处理,然后检测经过第一解交织处理的数据是否达到处理标准,例如,如图24、图25和图29所示。其中,通道重排序处理和第一解交织处理的实现过程请相应参考前述内容中的相关描述。
又例如,经过纠偏处理的数据还可以是经过纠偏处理,经过数据提取,经过通道重排序处理,经过第一解交织处理等处理的数据。其中,纠偏处理、数据提取、通道重排序处理和第一解交织处理等多种处理的执行顺序,可以根据应用需求进行调整。例如,可以先对数据进行数据提取,然后对经过数据提取的数据进行通道重排序处理和第一解交织处理。或者,可以先对数据进行通道重排序处理和第一解交织处理,然后对经过通道重排序处理和第一解交织处理的数据进行数据提取,本申请实施例对其不做具体限定。另外,数据提取的过程和对数据进行纠偏处理的过程的执行顺序也可以根据应用需求进行调整。例如,可以按照前面描述,先对数据进行纠偏处理,然后对经过纠偏处理的数据进行数据提取。或者,也可以先对数据进行数据提取,然后对经过数据提取的数据进行纠偏处理,本申请实施例对其也不做 具体限定。
步骤3304、当经过纠偏处理的数据未达到处理标准时,收端处理模块调整纠偏处理使用的纠偏方法。
综上所述,在该链路监控方法中,由于需要输出经过内码译码的数据,也需要检测经过纠偏处理的数据是否达到处理标准,且这两个过程会分两路执行,使得检测经过纠偏处理的数据是否达到处理标准的过程不会对输出经过内码译码的数据的过程造成影响,因此不会因该检测过程额外增加数据的传输时延,使得该链路监控方法能够应用于较多的传输场景,尤其适用于对传输时延具有较低要求的传输场景。
本申请实施例提供的链路监控方法能够适用于多种数据中心互联(data center interconnect,DCI)应用场景。
例如,如图37所示,本申请实施例提供的链路监控方法能够适用于发端处理模块具有单波长800G相干线路接口,发端设备具有2×400G接口的应用场景。此时,发端设备可以通过AUI的8个同步的物理通道(其中每4个物理通道属于一个400GAUI-4接口),向发端处理模块传输数据。发端处理模块的PMA子层对该数据进行解复用处理后,可以得到32条PCSL数据流。该32条PCSL数据流可以分成2路数据流,每路数据流包括16条PCSL数据流,发端处理模块可以分别对该2路数据流执行纠偏处理和检测经过纠偏处理的数据是否达到处理标准,以根据经过纠偏处理的数据是否达到处理标准的结果确定发端处理模块进行纠偏处理使用的纠偏方法,且发端处理模块可以对经过纠偏处理的2路数据流进行第一交织处理,并对经过第一交织处理的数据进行内码编码并输出。
需要说明的是,在一些场景中,发端处理模块将32条PCSL数据流分成2路数据流,每路数据流根据其16条PCSL数据流的对齐标识对16条PCSL数据流进行标识锁定,并确定16条PCSL数据流的对齐标识是否合法。然后,在确认2路数据流中32条PCSL数据流的对齐标识合法后,再根据32条PCSL数据流的对齐标识对该32条PCSL数据流进行纠偏处理。然后再继续分别对2路数据流检测经过纠偏处理的数据是否达到处理标准。
其中,发端处理模块检测经过纠偏处理的数据是否达到处理标准可以通过对经过纠偏处理的数据进行外码译码实现,且发端处理模块对数据进行纠偏处理后,还可以对经过纠偏处理的数据依次进行数据提取、通道重排序处理和第一解交织处理,然后再对经过第一解交织处理后的数据进行外码译码。同时,发端处理模块还可以根据对数据进行外码译码的情况,确定向发端处理模块传输数据的链路的质量,即AUI的质量。如图37所示,图37中每个虚线框用于指示对1路数据流的处理。并且,由于发端处理模块将32条PCSL数据流分成2路数据流进行处理,若该处理包括对数据流进行数据提取,且数据提取使用的T>T0,则对每个数据流进行处理的吞吐率,可以为对经过第一交织处理的数据进行内码编码前的吞吐率的T0/(2×T)。可选的,如图38所示,发端处理模块也可以不对数据进行数据提取。另外,如图39所示,对数据进行通道重排序处理的过程,可以在对数据进行纠偏处理和对数据进行内码编码之间进行。其中,图39示出了先对数据进行纠偏处理,然后对数据进行通道重排序处理,然后,经过通道重排序处理的数据会分成两路,一路对经过通道重排序处理的数据依次进行第一交织处理和内码编码并输出,另一路对经过通道重排序处理的数据依次进行数据提取、第一解交织处理和外码译码。且在该过程中也可以根据应用需求选择是否对数据进行数据提取。
类似地,在该应用场景中,如图40所示,收端处理模块在接收到数据后,通过对数据进行第二解交织处理,会得到32条PCSL数据流。收端处理模块一方面会通过PMA子层将该32条PCSL数据流输出,另一方面,收端处理模块也会将该32条PCSL数据流分成2路数据流,每路数据流包括16条PCSL数据流,并对每路数据流进行外码译码,并根据外码译码情况确定链路的质量,即光纤链路的质量。且发端处理模块对数据流进行外码译码前,还可以依次对数据流进行数据提取、通道重排序处理和第一解交织处理。可选的,如图41所示,收端处理模块也可以不对数据进行数据提取。并且,当发端处理模块对数据进行通道重排序处理的过程,在对数据进行纠偏处理和对数据进行内码编码之间进行时,如图42所示,收端处理模块无需对数据流进行通道重排序处理。且在该过程中也可以根据应用需求选择是否对数据进行数据提取。
又例如,如图43所示,本申请实施例提供的链路监控方法能够适用于发端处理模块具有单波长800G相干线路接口,发端设备具有4×200G接口的应用场景。此时,发端设备可以通过AUI的8个同步的物理通道(其中每2个物理通道属于一个200GAUI-2接口),向发端处理模块传输数据。发端处理模块的PMA子层对该数据进行解复用处理后,可以得到32条PCSL数据流。该32条PCSL数据流可以分成4路数据流,每路数据流包括8条PCSL数据流,发端处理模块可以分别对该4路数据流执行纠偏处理和检测经过纠偏处理的数据是否达到处理标准,以根据经过纠偏处理的数据是否达到处理标准的结果确定发端处理模块进行纠偏处理使用的纠偏方法,且发端处理模块可以对经过纠偏处理的4路数据流进行第一交织处理,并对经过第一交织处理的数据进行内码编码并输出。
需要说明的是,在一些场景中,发端处理模块将32条PCSL数据流分成4路数据流,每路数据流根据其8条PCSL数据流的对齐标识对8条PCSL数据流进行标识锁定,并确定8条PCSL数据流的对齐标识是否合法。然后,在确认4路数据流中32条PCSL数据流的对齐标识合法后,再根据32条PCSL数据流的对齐标识对该32条PCSL数据流进行纠偏处理。然后再继续分别对4路数据流检测经过纠偏处理的数据是否达到处理标准。
其中,发端处理模块检测经过纠偏处理的数据是否达到处理标准可以通过对经过纠偏处理的数据进行外码译码实现,且发端处理模块对数据进行纠偏处理后,还可以对经过纠偏处理的数据依次进行数据提取、通道重排序处理和第一解交织处理,然后再对经过第一解交织处理后的数据进行外码译码。同时,发端处理模块还可以根据对数据进行外码译码的情况,确定向发端处理模块传输数据的链路的质量,即AUI的质量。如图43所示,图43中每个虚线框用于指示对1路数据流的处理。并且,由于发端处理模块将32条PCSL数据流分成4路数据流进行处理,若该处理包括对数据流进行数据提取,且数据提取使用的T>T0,则对每个数据流进行处理的吞吐率,可以为对经过第一交织处理的数据进行内码编码前的吞吐率的T0/(4×T)。
类似地,在该应用场景中,如图44所示,收端处理模块在接收到数据后,通过对数据进行第二解交织处理,会得到32条PCSL数据流。收端处理模块一方面会通过PMA子层将该32条PCSL数据流输出,另一方面,收端处理模块也会将该32条PCSL数据流分成4路数据流,每路数据流包括8条PCSL数据流,并对每路数据流进行外码译码,并根据外码译码情况确定链路的质量,即光纤链路的质量。且发端处理模块对数据流进行外码译码前,还可以依次对数据流进行数据提取、通道重排序处理和第一解交织处理。
又例如,如图13所示,本申请实施例提供的链路监控方法能够适用于发端处理模块具有单波长800G相干线路接口,发端设备具有1×800G接口的应用场景。此时,发端设备可以通过AUI的8个同步的物理通道,该8个物理通道属于一个800GAUI-8接口,向发端处理模块传输数据。发端处理模块的PMA子层对该数据进行解复用处理后,可以得到32(即图13中的n=32)条PCSL数据流。该32条PCSL数据流作为1路数据流(包含32条PCSL数据流),发端处理模块可以对该1路数据流执行纠偏处理和检测经过纠偏处理的数据是否达到处理标准,以根据经过纠偏处理的数据是否达到处理标准的结果确定发端处理模块进行纠偏处理使用的纠偏方法,且发端处理模块可以对经过纠偏处理的1路数据流进行第一交织处理,并对经过第一交织处理的数据进行内码编码并输出。其中,发端处理模块检测经过纠偏处理的数据是否达到处理标准可以通过对经过纠偏处理的数据进行外码译码实现,且发端处理模块对数据进行纠偏处理后,还可以对经过纠偏处理的数据依次进行数据提取、通道重排序处理和第一解交织处理,然后再对经过第一解交织处理后的数据进行外码译码。同时,发端处理模块还可以根据对数据进行外码译码的情况,确定向发端处理模块传输数据的链路的质量,即AUI的质量。如图13所示,图13中虚线框用于指示对1路数据流的处理。并且,由于发端处理模块将32条PCSL数据流作为1路数据流进行处理,若该处理包括对数据流进行数据提取,且数据提取使用的T>T0,则对每个数据流进行处理的吞吐率,可以为对经过第一交织处理的数据进行内码编码前的吞吐率的T0/T。
类似地,在该应用场景中,如图31所示,收端处理模块在接收到数据后,通过对数据进行解交织处理,会得到32(即图31中的n=32)条PCSL数据流。收端处理模块一方面会通过PMA子层将该32条PCSL数据流输出,另一方面,收端处理模块也会将该32条PCSL数据流当作1路数据流,并对该1路数据流进行外码译码,并根据外码译码情况确定链路的质量,即光纤链路的质量。且发端处理模块对数据流进行外码译码前,还可以依次对数据流进行数据提取、通道重排序处理和第一解交织处理。
又例如,如图13所示,本申请实施例提供的链路监控方法能够适用于发端处理模块具有单波长400G相干线路接口,发端设备具有1×400G接口的应用场景。此时,发端设备可以通过AUI的8个同步的物理通道,该8个物理通道属于一个400GAUI-8接口,向发端处理模块传输数据。发端处理模块的PMA子层对该数据进行解复用处理后,可以得到16(即图13中的n=16)条PCSL数据流。该16条PCSL数据流可以分成1路数据流,发端处理模块可以对该1路数据流执行纠偏处理和检测经过纠偏处理的数据是否达到处理标准,以根据经过纠偏处理的数据是否达到处理标准的结果确定发端处理模块进行纠偏处理使用的纠偏方法,然后对经过纠偏处理的1路数据流进行第一交织处理,并对经过第一交织处理的数据进行内码编码并输出。其中,发端处理模块检测经过纠偏处理的数据是否达到处理标准可以通过对经过纠偏处理的数据进行外码译码实现,且发端处理模块对数据进行纠偏处理后,还可以对经过纠偏处理的数据依次进行数据提取、通道重排序处理和第一解交织处理,然后再对经过数据提取后的数据进行外码译码。同时,发端处理模块还可以根据对数据进行外码译码的情况,确定向发端处理模块传输数据的链路的质量,即AUI的质量。如图13所示,图13中虚线框用于指示对1路数据流的处理。并且,由于发端处理模块将16条PCSL数据流作为1路数据流进行处理,若该处理包括对数据流进行数据提取,且数据提取使用的T>T0,则对每个数据流进行处理的吞吐率,可以为对经过第一交织处理的数据进行内码编码前的吞吐率的T0/T。
类似地,在该应用场景中,如图31所示,收端处理模块在接收到数据后,通过对数据进行第二解交织处理,会得到16(即图31中的n=16)条PCSL数据流。收端处理模块一方面会通过PMA子层将该16条PCSL数据流输出,另一方面,收端处理模块也会将该16条PCSL数据流当作1路数据流,并对该1路数据流进行外码译码,并根据外码译码情况确定链路的质量,即光纤链路的质量。且发端处理模块对数据流进行外码译码前,还可以依次对数据流进行数据提取、通道重排序处理和第一解交织处理。
除了以上举例的应用场景,本申请实施例提供的链路监控方法还能够适用于其他应用场景,例如适用于其他400G、600G、800G甚至1.6T和3.2T等更高速的传输场景。此时,以适用于800G或1.6T速率为例,该链路监控方法还可以应用于本申请实施例提供的其他发端处理模块,发端设备可以通过包含m个物理通道的800GAUI-m/1600GAUI-m接口向发端处理模块传输数据。发端处理模块的PMA子层对该数据进行解复用处理后,可以得到n条PCSL数据流。然后对该n条PCSL数据流执行纠偏处理和检测经过纠偏处理的数据是否达到处理标准,以根据经过纠偏处理的数据是否达到处理标准的结果确定发端处理模块进行纠偏处理使用的纠偏方法,然后对经过纠偏处理的n条PCSL数据流进行第一交织处理,并对经过第一交织处理的数据进行内码编码并输出。同时,发端处理模块还可以根据对数据进行外码译码的情况,确定向发端处理模块传输数据的链路的质量。其中,n的取值可以为8、16、32或64等,m的取值可以为4、8、16或32等。
类似地,该链路监控方法还可以应用于本申请实施例提供的其他收端处理模块,收端处理模块在接收到数据后,通过对数据进行解交织处理,会得到n条PCSL数据流。收端处理模块一方面会通过PMA子层将该n条PCSL数据流输出,另一方面,收端处理模块也会对n条PCSL数据流进行外码译码,并根据外码译码情况确定链路的质量。
需要说明的是,上述对本申请实施例提供的链路监控方法的应用场景的说明,均是以发端处理模块的部分实现方式,和收端处理模块的部分实现方式为例进行说明,但并不排除本申请实施例提供的链路监控方法的应用场景也能应用于本申请实施例提供的其他结构的处理模块,此处对其实现过程不再一一赘述。
还需要说明的是,本申请实施例提供的链路监控方法的步骤先后顺序可以进行适当调整,步骤也可以根据情况进行相应增减。任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化的方法,都应涵盖在本申请的保护范围之内,因此不再赘述。
本申请实施例还提供了一种链路监控装置。如图45所示,该链路监控装置450包括:
输入单元4501,用于接收经过外码编码的数据。
编码单元4502,用于对经过外码编码的数据进行内码编码。
输出单元4503,用于输出经过内码编码的数据。
译码单元4504,用于对经过外码编码的数据进行外码译码。
译码单元4504,还用于根据对经过外码编码的数据进行外码译码的情况,确定用于传输经过外码编码的数据的链路的质量。
可选的,译码单元4504,具体用于:根据对经过外码编码的数据中P1个码字序列进行外码译码的情况,确定P1个码字序列中每个码字序列的误符号个数,P1为正整数;根据P1个码字序列的误符号个数,确定链路的质量。
可选的,译码单元4504,具体用于:根据对经过外码编码的数据中码字序列进行外码译码的情况,确定码字序列对应的指示参数;根据经过外码编码的数据中P2个码字序列对应的指示参数,确定链路的质量,P2为正整数。
可选的,被外码译码的数据是经过包括外码编码和纠偏处理的数据。
可选的,被外码译码的数据是经过包括外码编码、通道重排序处理和第一解交织处理的数据。
可选的,被外码译码的数据是经过包括外码编码和数据提取的数据。
可选的,被内码编码的数据是经过外码编码的数据。
可选的,被内码编码的数据是经过包括外码编码和纠偏处理的数据。
可选的,被内码编码的数据是经过包括外码编码、纠偏处理和通道重排序处理的数据。
可选的,被内码编码的数据是经过包括外码编码、纠偏处理、通道重排序处理和第一解交织处理的数据。
可选的,被内码编码的数据是经过包括外码编码和数据处理的数据,数据处理包括:第一交织处理。
综上所述,在该链路监控装置中,通过接收经过外码编码的数据,对经过外码编码的数据进行内码编码并输出,同时对经过外码编码的数据进行外码译码,并根据对经过外码编码的数据进行外码译码的情况,确定用于传输经过外码编码的数据的链路的质量,能够对链路的质量进行有效的监控。
并且,在该链路监控装置中,由于需要对经过外码编码的数据进行内码编码并输出,也需要对经过外码编码的数据进行外码译码,并根据外码译码的情况确定链路质量,且这两个过程会分两路执行,使得对数据进行外码译码并确定链路质量的过程不会对对数据进行内码编码并输出的过程造成影响,因此不会因进行外码译码并确定链路质量的过程额外增加数据的整体传输时延,使得该链路监控装置能够应用于较多的传输场景,尤其适用于对传输时延具有较低要求的传输场景。
本申请实施例还提供了一种链路监控装置。如图46所示,该链路监控装置460包括:
输入单元4601,用于接收经过外码编码和内码编码的数据。
第一译码单元4602,用于对经过外码编码和内码编码的数据进行内码译码。
输出单元4603,用于输出经过内码译码的数据。
第二译码单元4604,用于对经过内码译码的数据进行外码译码。
第二译码单元4604,还用于根据对经过内码译码的数据进行外码译码的情况,确定用于传输经过外码编码和内码编码的数据的链路的质量。
可选的,第二译码单元4604,具体用于:根据对经过内码译码的数据中P3个码字序列进行外码译码的情况,确定P3个码字序列中每个码字序列的误符号个数,P3为正整数;根据P3个码字序列的误符号个数,确定链路的质量。
可选的,第二译码单元4604,具体用于:根据对经过内码译码的数据中码字序列进行外码译码的情况,确定码字序列对应的指示参数;根据经过内码译码的数据中P4个码字序列对应的指示参数,确定链路的质量,P4为正整数。
可选的,被外码译码的数据是经过包括内码译码和纠偏处理的数据。
可选的,被外码译码的数据是经过包括内码译码和第一解交织处理的数据。
可选的,被外码译码的数据是经过包括内码译码、通道重排序处理和第一解交织处理的数据。
可选的,被外码译码的数据是经过包括内码译码和数据提取的数据。
可选的,经过内码译码的数据为经过数据处理的数据,被外码译码的数据是经过包括内码译码和数据处理的逆处理的数据,数据处理包括:第一交织处理,逆处理包括:第二解交织处理。
可选的,被输出的数据是经过内码译码的数据。
可选的,经过内码译码的数据为经过数据处理的数据,被输出的数据是经过包括内码译码和数据处理的逆处理的数据,数据处理包括:第一交织处理,逆处理包括:第二解交织处理。
综上所述,在本申请实施例提供的链路监控装置中,通过接收经过外码编码和内码编码的数据,对经过外码编码和内码编码的数据进行内码译码并输出,同时对经过内码译码的数据进行外码译码,并根据对经过内码译码的数据进行外码译码的情况,确定用于传输经过外码编码和内码编码的数据的链路的质量,能够对链路的质量进行有效的监控。
并且,在该链路监控装置中,由于需要输出经过内码译码的数据,也需要对经过内码译码的数据进行外码译码,并根据外码译码的情况确定链路质量,且这两个过程会分两路执行,使得对数据进行外码译码并确定链路质量的过程不会对输出经过内码译码的数据的过程造成影响,因此不会因进行外码译码并确定链路质量的过程额外增加数据的整体传输时延,使得该链路监控装置能够应用于较多的传输场景,尤其适用于对传输时延具有较低要求的传输场景。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的装置和单元的具体工作过程,可以参考前述方法实施例中的对应内容,在此不再赘述。
本申请实施例提供了一种计算机设备。图47示例性的提供了计算机设备的一种可能的架构图。如图47所示,该计算机设备470可以包括处理器4701、存储器4702、通信接口4703和总线4704。在计算机设备中,处理器4701的数量可以是一个或多个,图47仅示意了其中一个处理器4701。可选的,处理器4701可以是中央处理器(central processing unit,CPU)。若计算机设备具有多个处理器4701,多个处理器4701的类型可以不同,或者可以相同。可选的,计算机设备的多个处理器还可以集成为多核处理器。
存储器4702存储计算机指令和数据,存储器4702可以存储实现本申请提供的方法所需的计算机指令和数据。存储器4702可以是以下存储介质的任一种或任一种组合:非易失性存储器(如只读存储器(read-only memory,ROM)、固态硬盘(solid state disk,SSD)、硬盘(hard disk drive,HDD)、光盘等、易失性存储器。
通信接口4703可以是以下器件的任一种或任一种组合:网络接口(如以太网接口)、无线网卡等具有网络接入功能的器件。
通信接口4703用于计算机设备与其他节点或者其他计算机设备进行数据通信。
图47还示例性地绘制出总线4704。总线4704可以将处理器4701与存储器4702、通信接口4703连接。这样,通过总线4704,处理器4701可以访问存储器4702,还可以利用通信 接口4703与其他节点或者其他计算机设备进行数据交互。
在本申请中,计算机设备执行存储器4702中的计算机指令,可以实现本申请提供的方法。例如,接收经过外码编码的数据;对经过外码编码的数据进行内码编码,并输出经过内码编码的数据;对经过外码编码的数据进行外码译码;根据对经过外码编码的数据进行外码译码的情况,确定用于传输经过外码编码的数据的链路的质量。并且,计算机设备通过执行存储器4702中的计算机指令,执行本申请提供的方法的步骤的实现过程可以相应参考上述方法实施例中对应的描述。
本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质为非易失性计算机可读存储介质,该计算机可读存储介质包括程序指令,当程序指令在计算机设备上运行时,使得计算机设备执行如本申请实施例提供的方法。
本申请实施例还提供了一种包含指令的计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行本申请实施例提供的方法。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
在本申请实施例中,术语“第一”、“第二”和“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。术语“至少一个”是指一个或多个,术语“多个”指两个或两个以上,除非另有明确的限定。
本申请中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的构思和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (45)

  1. 一种链路监控方法,其特征在于,所述方法包括:
    接收经过外码编码的数据;
    对所述经过外码编码的数据进行内码编码,并输出经过内码编码的数据;
    对所述经过外码编码的数据进行外码译码;
    根据对所述经过外码编码的数据进行外码译码的情况,确定用于传输所述经过外码编码的数据的链路的质量。
  2. 根据权利要求1所述的方法,其特征在于,所述根据对所述经过外码编码的数据进行外码译码的情况,确定用于传输所述经过外码编码的数据的链路的质量,包括:
    根据对所述经过外码编码的数据中P1个码字序列进行外码译码的情况,确定所述P1个码字序列中每个码字序列的误符号个数,所述P1为正整数;
    根据所述P1个码字序列的误符号个数,确定所述链路的质量。
  3. 根据权利要求1所述的方法,其特征在于,所述根据对所述经过外码编码的数据进行外码译码的情况,确定用于传输所述经过外码编码的数据的链路的质量,包括:
    根据对所述经过外码编码的数据中码字序列进行外码译码的情况,确定所述码字序列对应的指示参数;
    根据所述经过外码编码的数据中P2个码字序列对应的指示参数,确定所述链路的质量,所述P2为正整数。
  4. 根据权利要求1至3任一所述的方法,其特征在于,被外码译码的数据是经过包括外码编码和纠偏处理的数据。
  5. 根据权利要求1至4任一所述的方法,其特征在于,被外码译码的数据是经过包括外码编码、通道重排序处理和第一解交织处理的数据。
  6. 根据权利要求1至5任一所述的方法,其特征在于,被外码译码的数据是经过包括外码编码和数据提取的数据。
  7. 根据权利要求1至6任一所述的方法,其特征在于,被内码编码的数据是所述经过外码编码的数据。
  8. 根据权利要求1至6任一所述的方法,其特征在于,被内码编码的数据是经过包括外码编码和纠偏处理的数据。
  9. 根据权利要求1至6任一所述的方法,其特征在于,被内码编码的数据是经过包括外码编码、纠偏处理和通道重排序处理的数据。
  10. 根据权利要求1至6任一所述的方法,其特征在于,被内码编码的数据是经过包括外码编码、纠偏处理、通道重排序处理和第一解交织处理的数据。
  11. 根据权利要求1至10任一所述的方法,其特征在于,被内码编码的数据是经过包括外码编码和数据处理的数据,所述数据处理包括:第一交织处理。
  12. 一种链路监控方法,其特征在于,所述方法包括:
    接收经过外码编码和内码编码的数据;
    对所述经过外码编码和内码编码的数据进行内码译码,并输出经过内码译码的数据;
    对经过内码译码的数据进行外码译码;
    根据对所述经过内码译码的数据进行外码译码的情况,确定用于传输所述经过外码编码和内码编码的数据的链路的质量。
  13. 根据权利要求12所述的方法,其特征在于,所述根据对所述经过内码译码的数据进行外码译码的情况,确定用于传输所述经过外码编码和内码编码的数据的链路的质量,包括:
    根据对所述经过内码译码的数据中P3个码字序列进行外码译码的情况,确定所述P3个码字序列中每个码字序列的误符号个数,所述P3为正整数;
    根据所述P3个码字序列的误符号个数,确定所述链路的质量。
  14. 根据权利要求12所述的方法,其特征在于,所述根据对所述经过内码译码的数据进行外码译码的情况,确定用于传输所述经过外码编码和内码编码的数据的链路的质量,包括:
    根据对所述经过内码译码的数据中码字序列进行外码译码的情况,确定所述码字序列对应的指示参数;
    根据所述经过内码译码的数据中P4个码字序列对应的指示参数,确定所述链路的质量,所述P4为正整数。
  15. 根据权利要求12至14任一所述的方法,其特征在于,被外码译码的数据是经过包括内码译码和纠偏处理的数据。
  16. 根据权利要求12至15任一所述的方法,其特征在于,被外码译码的数据是经过包括内码译码和第一解交织处理的数据。
  17. 根据权利要求12至16任一所述的方法,其特征在于,被外码译码的数据是经过包括内码译码、通道重排序处理和第一解交织处理的数据。
  18. 根据权利要求12至17任一所述的方法,其特征在于,被外码译码的数据是经过包括内码译码和数据提取的数据。
  19. 根据权利要求12至18任一所述的方法,其特征在于,所述经过内码译码的数据为经过数据处理的数据,被外码译码的数据是经过包括内码译码和所述数据处理的逆处理的数据,所述数据处理包括:第一交织处理,所述逆处理包括:第二解交织处理。
  20. 根据权利要求12至19任一所述的方法,其特征在于,被输出的数据是所述经过内码译码的数据。
  21. 根据权利要求12至19任一所述的方法,其特征在于,所述经过内码译码的数据为经过数据处理的数据,被输出的数据是经过包括内码译码和所述数据处理的逆处理的数据,所述数据处理包括:第一交织处理,所述逆处理包括:第二解交织处理。
  22. 一种链路监控装置,其特征在于,所述装置包括:
    输入单元,用于接收经过外码编码的数据;
    编码单元,用于对所述经过外码编码的数据进行内码编码;
    输出单元,用于输出经过内码编码的数据;
    译码单元,用于对所述经过外码编码的数据进行外码译码;
    所述译码单元,还用于根据对所述经过外码编码的数据进行外码译码的情况,确定用于传输所述经过外码编码的数据的链路的质量。
  23. 根据权利要求22所述的装置,其特征在于,所述译码单元,具体用于:
    根据对所述经过外码编码的数据中P1个码字序列进行外码译码的情况,确定所述P1个 码字序列中每个码字序列的误符号个数,所述P1为正整数;
    根据所述P1个码字序列的误符号个数,确定所述链路的质量。
  24. 根据权利要求22所述的装置,其特征在于,所述译码单元,具体用于:
    根据对所述经过外码编码的数据中码字序列进行外码译码的情况,确定所述码字序列对应的指示参数;
    根据所述经过外码编码的数据中P2个码字序列对应的指示参数,确定所述链路的质量,所述P2为正整数。
  25. 根据权利要求22至24任一所述的装置,其特征在于,被外码译码的数据是经过包括外码编码和纠偏处理的数据。
  26. 根据权利要求22至25任一所述的装置,其特征在于,被外码译码的数据是经过包括外码编码、通道重排序处理和第一解交织处理的数据。
  27. 根据权利要求22至26任一所述的装置,其特征在于,被外码译码的数据是经过包括外码编码和数据提取的数据。
  28. 根据权利要求22至27任一所述的装置,其特征在于,被内码编码的数据是所述经过外码编码的数据。
  29. 根据权利要求22至27任一所述的装置,其特征在于,被内码编码的数据是经过包括外码编码和纠偏处理的数据。
  30. 根据权利要求22至27任一所述的装置,其特征在于,被内码编码的数据是经过包括外码编码、纠偏处理和通道重排序处理的数据。
  31. 根据权利要求22至27任一所述的装置,其特征在于,被内码编码的数据是经过包括外码编码、纠偏处理、通道重排序处理和第一解交织处理的数据。
  32. 根据权利要求22至31任一所述的装置,其特征在于,被内码编码的数据是经过包括外码编码和数据处理的数据,所述数据处理包括:第一交织处理。
  33. 一种链路监控装置,其特征在于,所述装置包括:
    输入单元,用于接收经过外码编码和内码编码的数据;
    第一译码单元,用于对所述经过外码编码和内码编码的数据进行内码译码;
    输出单元,用于输出经过内码译码的数据;
    第二译码单元,用于对经过内码译码的数据进行外码译码;
    所述第二译码单元,还用于根据对所述经过内码译码的数据进行外码译码的情况,确定用于传输所述经过外码编码和内码编码的数据的链路的质量。
  34. 根据权利要求33所述的装置,其特征在于,所述第二译码单元,具体用于:
    根据对所述经过内码译码的数据中P3个码字序列进行外码译码的情况,确定所述P3个码字序列中每个码字序列的误符号个数,所述P3为正整数;
    根据所述P3个码字序列的误符号个数,确定所述链路的质量。
  35. 根据权利要求33所述的装置,其特征在于,所述第二译码单元,具体用于:
    根据对所述经过内码译码的数据中码字序列进行外码译码的情况,确定所述码字序列对应的指示参数;
    根据所述经过内码译码的数据中P4个码字序列对应的指示参数,确定所述链路的质量,所述P4为正整数。
  36. 根据权利要求33至35任一所述的装置,其特征在于,被外码译码的数据是经过包括内码译码和纠偏处理的数据。
  37. 根据权利要求33至36任一所述的装置,其特征在于,被外码译码的数据是经过包括内码译码和第一解交织处理的数据。
  38. 根据权利要求33至37任一所述的装置,其特征在于,被外码译码的数据是经过包括内码译码、通道重排序处理和第一解交织处理的数据。
  39. 根据权利要求33至38任一所述的装置,其特征在于,被外码译码的数据是经过包括内码译码和数据提取的数据。
  40. 根据权利要求33至39任一所述的装置,其特征在于,所述经过内码译码的数据为经过数据处理的数据,被外码译码的数据是经过包括内码译码和所述数据处理的逆处理的数据,所述数据处理包括:第一交织处理,所述逆处理包括:第二解交织处理。
  41. 根据权利要求33至40任一所述的装置,其特征在于,被输出的数据是所述经过内码译码的数据。
  42. 根据权利要求33至40任一所述的装置,其特征在于,所述经过内码译码的数据为经过数据处理的数据,被输出的数据是经过包括内码译码和所述数据处理的逆处理的数据,所述数据处理包括:第一交织处理,所述逆处理包括:第二解交织处理。
  43. 一种计算机设备,其特征在于,包括存储器和处理器,所述存储器存储有程序指令,所述处理器运行所述程序指令以执行权利要求1至21任一所述的方法。
  44. 一种计算机可读存储介质,其特征在于,包括程序指令,当所述程序指令在计算机设备上运行时,使得所述计算机设备执行如权利要求1至21任一所述的方法。
  45. 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1至21任一所述的方法。
PCT/CN2022/090977 2021-07-26 2022-05-05 链路监控方法及装置 WO2023005313A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP22847928.3A EP4369610A1 (en) 2021-07-26 2022-05-05 Link monitoring method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110846541.6A CN115694718A (zh) 2021-07-26 2021-07-26 链路监控方法及装置
CN202110846541.6 2021-07-26

Publications (1)

Publication Number Publication Date
WO2023005313A1 true WO2023005313A1 (zh) 2023-02-02

Family

ID=85044648

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/090977 WO2023005313A1 (zh) 2021-07-26 2022-05-05 链路监控方法及装置

Country Status (3)

Country Link
EP (1) EP4369610A1 (zh)
CN (1) CN115694718A (zh)
WO (1) WO2023005313A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1284822A (zh) * 1999-06-29 2001-02-21 深圳市华为技术有限公司 数字移动通信系统中无线信道误码率的估算方法
CN101494774A (zh) * 2008-01-23 2009-07-29 厦门华侨电子股份有限公司 一种基于小波变换特性的非压缩高清视频信号无线传输方法
WO2011051629A2 (fr) * 2009-10-30 2011-05-05 Centre National D'etudes Spatiales (C.N.E.S.) Procede de reception et recepteur pour transmission numerique serie codee sur un canal non stationnaire
CN105871506A (zh) * 2016-03-23 2016-08-17 中国电子科技集团公司第十研究所 无线通信自适应传输方法
CN106257852A (zh) * 2015-06-22 2016-12-28 阿尔特拉公司 用于可变前向纠错的技术
CN109510687A (zh) * 2018-11-28 2019-03-22 南通先进通信技术研究院有限公司 一种基于卫星通信的喷泉码编码方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1284822A (zh) * 1999-06-29 2001-02-21 深圳市华为技术有限公司 数字移动通信系统中无线信道误码率的估算方法
CN101494774A (zh) * 2008-01-23 2009-07-29 厦门华侨电子股份有限公司 一种基于小波变换特性的非压缩高清视频信号无线传输方法
WO2011051629A2 (fr) * 2009-10-30 2011-05-05 Centre National D'etudes Spatiales (C.N.E.S.) Procede de reception et recepteur pour transmission numerique serie codee sur un canal non stationnaire
CN106257852A (zh) * 2015-06-22 2016-12-28 阿尔特拉公司 用于可变前向纠错的技术
CN105871506A (zh) * 2016-03-23 2016-08-17 中国电子科技集团公司第十研究所 无线通信自适应传输方法
CN109510687A (zh) * 2018-11-28 2019-03-22 南通先进通信技术研究院有限公司 一种基于卫星通信的喷泉码编码方法

Also Published As

Publication number Publication date
CN115694718A (zh) 2023-02-03
EP4369610A1 (en) 2024-05-15

Similar Documents

Publication Publication Date Title
TWI758295B (zh) 利用分段式的冗餘校驗對控制訊號傳遞進行編碼和解碼
US8745469B2 (en) Signal segmentation method and CRC attachment method for reducing undetected error
US9081677B2 (en) Method and device for estimating input bit error ratio
US7073117B1 (en) Method and apparatus for generating bit errors in a forward error correction (FEC) system to estimate power dissipation characteristics of the system
US9094163B2 (en) Assessment and correction of transmitted data
US20100262887A1 (en) High Integrity Data Network System and Method
CN113645013B (zh) 用于无线重传通信系统的位纠错
CN111669250B (zh) 数据传输方法、装置及系统
CN1738230A (zh) 在纠错中解决兆比特编码链路上的差错延续
US20230023776A1 (en) Codeword Synchronization Method, Receiver, Network Device, and Network System
US11968039B2 (en) Systems and methods for executing forward error correction coding
US10389384B2 (en) Data communication method and apparatus using forward error correction
US20240056218A1 (en) Codeword synchronization method, receiver, network device, and network system
WO2023005313A1 (zh) 链路监控方法及装置
US8745465B1 (en) Detecting a burst error in the frames of a block of data bits
EP3737013B1 (en) Encoding method, decoding method and device
JP6595218B2 (ja) 連接符号を用いた受信装置及びチップ
KR102197751B1 (ko) 블록 터보 부호의 저 복잡도 오류정정을 위한 신드롬 기반의 혼합 복호 장치 및 그 방법
WO2022199529A1 (zh) 一种数据编码处理方法、装置、存储介质及电子装置
US20240187130A1 (en) Data transmission method, apparatus, device, system, and readable storage medium
EP4376334A1 (en) Data transmission method and apparatus, and device, system and readable storage medium
WO2022001892A1 (zh) 重传方法及通信装置
JP5394949B2 (ja) 伝送品質評価装置及び伝送品質評価方法
JP2006345475A (ja) ネットワークのデータ伝送用エラー検出・訂正アーキテクチャ及び方法
JP6527089B2 (ja) 伝送品質評価装置、伝送品質評価方法、およびプログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22847928

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: MX/A/2024/001171

Country of ref document: MX

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112024001369

Country of ref document: BR

WWE Wipo information: entry into national phase

Ref document number: 2022847928

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2022847928

Country of ref document: EP

Effective date: 20240209

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 112024001369

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20240123