WO2013120247A1 - Method, apparatus and system for matching forward error correction codewords into frame structure - Google Patents

Method, apparatus and system for matching forward error correction codewords into frame structure Download PDF

Info

Publication number
WO2013120247A1
WO2013120247A1 PCT/CN2012/071100 CN2012071100W WO2013120247A1 WO 2013120247 A1 WO2013120247 A1 WO 2013120247A1 CN 2012071100 W CN2012071100 W CN 2012071100W WO 2013120247 A1 WO2013120247 A1 WO 2013120247A1
Authority
WO
WIPO (PCT)
Prior art keywords
fec
frame structure
frame
signal
length
Prior art date
Application number
PCT/CN2012/071100
Other languages
French (fr)
Chinese (zh)
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 CN201280000070.6A priority Critical patent/CN102754378B/en
Priority to PCT/CN2012/071100 priority patent/WO2013120247A1/en
Publication of WO2013120247A1 publication Critical patent/WO2013120247A1/en

Links

Classifications

    • 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
    • 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

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, apparatus, and system for matching a frame structure of a Forward Error Correction (FEC) codeword into a frame structure.
  • FEC Forward Error Correction
  • FEC Forward Error Correction
  • the frame structure in which the FEC codeword is matched refers to an operation of performing FEC encoding after the FEC encoding of the signal to form an FEC encoded signal, and then matching the FEC encoded signal to a frame structure of another format, for example, FEC encoding
  • the post signal is matched to the operation of the optical channel transport unit k (OTUk, Optical Channel Transport Unit k) for transmission, and so on.
  • FIG. 1a is a schematic diagram of a format of a conventional OTUk frame, where 1 to 3824 bytes are a frame header portion and a payload portion of an Optical Channel Transport Unit (OTU).
  • the information bits for storing the FEC are called FEC information bits, and the 3824 ⁇ 4080 bytes are FEC parts, which are used to store the FEC overhead bits, and the cartridge is called the FEC overhead bit.
  • the signal transmitting end generally performs the FEC overhead after the FEC information bits are transmitted.
  • the transmission of the bit at the same time, a large amount of random access memory (RAM) is used to store the FEC information bits at the signal receiving end, waiting for the arrival of the FEC overhead bit, and the FEC information bit and the FEC overhead bit are After the modulo, the decoder will take the corresponding FEC information bits and FEC overhead bits from the RAM to restore the FEC encoded signal, and then decode the restored FEC encoded signal to obtain the original signal.
  • RAM random access memory
  • the inventors of the present invention have found that in the existing method of matching the FEC codeword into a frame structure, since it is necessary to wait for the FEC information bit and the FEC overhead bit to be aligned, In order to decode, the delay is large, and a large amount of RAM is needed to store the FEC information bits and the FEC overhead bits, which wastes RAM resources.
  • Embodiments of the present invention provide a method for matching an FEC codeword into a frame structure, a method for de-matching a frame structure into an FEC codeword, and a corresponding apparatus and system, which can reduce delay and save RAM resources.
  • a method of matching FEC codewords into a frame structure comprising:
  • the FEC encoded signal is matched to the OTU frame structure in accordance with the number of FEC codewords that can be carried.
  • a method for dematching a frame structure into a FEC codeword comprising:
  • An apparatus for matching FEC codewords into a frame structure comprising:
  • a coding unit configured to perform FEC encoding on the received optical signal to obtain an FEC encoded signal
  • a determining unit configured to determine a code length of the FEC codeword, and a frame length of the OTU frame structure
  • a calculating unit configured to Code length and frame length calculate the number of FEC codewords that can be carried in each row of the OTU frame structure
  • a matching unit configured to match the FEC encoded signal into the OTU frame structure according to the number of the bearable FEC codewords.
  • An apparatus for deserializing a frame structure into a FEC codeword comprising:
  • a receiving unit configured to receive a signal after the frame structure is matched, where the signal matched by the frame structure is a signal transmitted through an OTU frame structure;
  • a determining unit configured to determine a frame length of an OTU frame structure used by the frame structure matched signal, and determine a code length of the FEC codeword;
  • a calculating unit configured to calculate, according to the frame length and the code length, a quantity of FEC codewords that can be carried in each row in the OTU frame structure;
  • a de-matching unit configured to extract the matched signal of the frame structure according to the number of the FEC codewords that can be carried, to obtain a FEC encoded signal.
  • a communication system comprising any of the means for matching a forward error correction codeword into a frame structure and any means for dematching a frame structure into a forward error correction codeword.
  • the embodiment of the present invention uses the FEC coded signal to match the FEC encoded signal to the OTU frame structure, the information bit and the overhead bit of the FEC codeword need to be separately separated from the prior art.
  • the signal receiving end receives the signal matched by the frame structure, it does not need to use a large amount of RAM to store the FEC information bit and the FEC overhead bit, so as to wait for the FEC information bit and the FEC overhead bit to be aligned before decoding, but directly It is possible to decode, because in this scheme, the FEC information bit and the FEC overhead bit can arrive at the receiving end together, that is to say, by adopting this scheme, not only the delay can be reduced, but also the RAM resource can be saved.
  • the embodiment of the present invention further provides a corresponding method and device for de-matching a frame structure into an FEC codeword, and the solution matching method and device have the same beneficial effects as the above matching method and device, that is, not only Reduce latency and save RAM resources.
  • Figure la is a schematic diagram of the format of a conventional OTUk frame
  • FIG. 2 is a flowchart of a method for matching FEC to a frame structure according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for dematching a frame structure into an FEC codeword according to an embodiment of the present invention
  • FIG. 3b is another flowchart of a method for matching FEC codewords into a frame structure according to an embodiment of the present invention
  • FIG. 3c is a schematic diagram of a format of a structure-matched OTUk frame (frame length is 4080 bytes) according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a first bit width conversion module according to an embodiment of the present invention.
  • FIG. 3e is another flow chart of a method for dematching a frame structure into an FEC codeword according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a second bit width conversion module according to an embodiment of the present disclosure
  • FIG. 4a is still another flowchart of a method for matching FEC codewords into a frame structure according to an embodiment of the present invention
  • 4b is a schematic diagram of a format of a structure-matched OTUk frame (frame length of 4600 bytes) according to an embodiment of the present invention
  • 4c is a schematic structural diagram of a third bit width conversion module according to an embodiment of the present invention.
  • 4d is still another flowchart of a method for de-matching a frame structure into an FEC codeword according to an embodiment of the present invention
  • 4e is a schematic structural diagram of a third bit width conversion module according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an apparatus for matching an FEC codeword into a frame structure according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of an apparatus for de-matching a frame structure into an FEC codeword according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of a communication system according to an embodiment of the present invention.
  • Embodiments of the present invention provide a method for matching a FEC codeword into a frame structure, a method for dematching a frame structure into a FEC codeword, and a corresponding apparatus and system. The details are described below separately.
  • Embodiment 1
  • a method for matching an FEC codeword into a frame structure comprising: performing FEC encoding on the received optical signal to obtain a FEC encoded signal; determining a code length of the FEC codeword, and a frame length of the OTU frame structure; The length and frame length are calculated by the number of FEC codewords that can be carried in each row of the OTU frame structure; the FEC encoded signal is matched into the OTU frame structure according to the number of FEC codewords that can be carried.
  • Each FEC codeword may specifically include an FEC information bit and a FEC overhead bit, and the FEC codeword code length refers to a total bit width of the FEC information bit and the FEC overhead bit. That is, the step "determining the code length of the FEC codeword" can be:
  • the number of FEC codewords that can be carried in each row in the OTU frame structure is calculated based on the total bit width determined in step 102 and the frame length of the OTU frame structure.
  • the FEC codewords RS take 7% of the FEC codewords RS (255, 239) as an example.
  • RS Random-Solomon codes
  • BCH Bose-Chaudhuri-Hocquengham
  • the optical signal may be accelerated before encoding, which may be as follows:
  • the received optical signal is matched to the frame structure before encoding, so that 1 byte to 3824 bytes in the frame are payloads, and the bytes after 3824 bytes are all zero; that is, 1 ⁇ 3824 bytes in the frame are used as FEC
  • the information bits, and the bytes after 3824 bytes are filled with zeros. For example, taking OTUk with a frame length of 4080 bytes as an example, at this time, 1 ⁇ 3824 bytes in the frame can be used as information bits of FEC, and 3824 ⁇ 4080 bytes are filled with zero, and so on, etc. .
  • the frame length of the frame structure used in the pre-encoding frame structure matching is equal to the frame length of the OTU frame structure used in the frame structure matching performed in step 102.
  • the frame structure used in step 102 is also an OTUk with a frame length of 4080 bytes; if an OTUk with a frame length of 4600 bytes is used here, Then, the frame structure adopted in step 102 is also an OTUk with a frame length of 4600 bytes.
  • the FEC encoded signal is matched into the OTU frame structure in a manner of one FEC codeword. Therefore, the information bits and overhead bits of the FEC codeword need to be separated from the prior art.
  • the signal receiving end receives the signal matched by the frame structure, it does not need to use a large amount of RAM to store the FEC information bit and the FEC overhead bit, waiting for the FEC information bit and the FEC overhead bit to be aligned.
  • Decoding but directly can be decoded, because in this solution, the FEC information bit and the FEC overhead bit can arrive at the receiving end together, that is to say, the scheme can not only reduce the delay but also save RAM resources.
  • a method for de-matching a frame structure into an FEC codeword comprising: receiving a signal with a frame structure matching, wherein the signal matched by the frame structure is a signal transmitted through an OTU frame structure; determining a signal structure after the frame structure is matched The frame length of the adopted OTU frame structure, and determining the code length of the FEC codeword; calculating the number of FEC codewords that can be carried in each row of the OTU frame structure according to the determined frame length and code length; The frame-matched signal is extracted according to the number of FEC codewords that can be carried, to obtain an FEC-encoded signal.
  • the signal matched by the frame structure is an optical signal obtained by using the method of “matching the FEC codeword into a frame structure” in the first embodiment, that is, the signal matched by the frame structure is transmitted through the OTU frame structure.
  • Each FEC codeword may specifically include an FEC information bit and an FEC overhead bit
  • the FEC codeword code length refers to a total bit width of the FEC information bit and the FEC overhead bit, that is, the step "determines the code of the FEC codeword.
  • the length can be:
  • the number of FEC codewords that can be carried in each row in the optical transport unit frame structure is calculated based on the frame length and total bit width of the OTU frame structure confirmed in step 202.
  • the FEC codewords RS take 7% of the FEC codewords RS (255, 239) as an example.
  • step 201 According to the number of FEC codewords that can be carried in each row in the OTU frame structure, in step 201.
  • the received frame structure matched signal is extracted to obtain an FEC encoded signal.
  • the FEC-encoded signal is obtained (ie, step 202), and may further include:
  • the FEC encoded signal is FEC decoded to obtain the FEC decoded signal; the FEC overhead bit is truncated for each FEC codeword in the FEC decoded signal to obtain the FEC information bit.
  • the code length of the FEC codeword needs to be truncated by 16 bits to obtain 239 bits of information bits.
  • the present embodiment is a de-matching method corresponding to the method for matching the forward error correction codeword into a frame structure provided in Embodiment 1, because in this solution, the FEC information bit and the FEC overhead bit can be together.
  • the frame format de-matching device then de-interleaves the received frame structure-matched signals in units of one FEC codeword, so that a large amount of RAM is not required to store the FEC information bits and the FEC overhead bits.
  • the decoding can be performed directly, that is to say, the scheme can not only reduce the delay but also save the RAM resources.
  • the OTU will be exemplified below, and will be further described in detail in Embodiments 3 and 4.
  • FIG. 3a the figure is a schematic diagram of a scene structure matching system of an FEC.
  • a device for matching an FEC codeword into a frame structure and a device for dematching a frame structure into an FEC codeword are as follows:
  • the device for matching the FEC codeword into the frame structure may include a frame structure matching transmitting end (wdm_frame_match_tx) on the wavelength division side, and may further include a frame structure matching receiving end (cli_frame_match_rx) on the client side, and a demultiplexing module.
  • wdm_frame_match_tx a frame structure matching transmitting end
  • cli_frame_match_rx a frame structure matching receiving end
  • demultiplexing module Multi-lane Distributor
  • FEC coding module Fec_Encoder
  • Multiplexer module Multi-lane Plexer
  • Inter leaver Inter leaver
  • the apparatus for de-matching the frame structure to the FEC codeword may include a frame structure matching receiving end (wdm_frame_match_rx) on the wavelength division side, and may further include a frame structure matching transmitting end (cli_frame_match_tx) on the client side, and a multiplexing module.
  • FEC decoding module, demultiplexing module and de-interleaving module (De-Inter leaver).
  • the functions of the above modules can be as follows:
  • the frame structure of the client side matches the receiving end: mainly realizes the conversion of the bit width of the OTUk frame to the information bit length of the FEC;
  • the frame structure of the client side matches the transmitting end: mainly realizes the conversion of the information bit length of the FEC to the parallel processing bit width of the OTUk frame;
  • the frame structure of the wavelength division side matches the transmitting end: mainly realizes the conversion of the code length of the FEC code word to the parallel processing bit width of the OTUk frame;
  • the frame structure of the wavelength division side matches the receiving end: mainly realizes the conversion of the bit width of the OTUk frame to the code length of the FEC code word;
  • FEC coding module mainly used for encoding the signal by FEC
  • FEC decoding module mainly used for decoding FEC signals
  • Multiplexing module mainly used to multiplex signals
  • Demultiplexing module mainly used for demultiplexing signals
  • Interleaving module mainly used for signal interleaving
  • the following describes the specific execution flow of the FEC frame structure matching system by taking the 7% FEC codeword RS (255, 239) in the 10G optical communication system as an example.
  • the process of matching the FEC codewords into a frame structure may be as follows:
  • the frame structure on the client side matches the receiving end to receive the optical signal, where the optical signal is transmitted in the form of an OTUk frame.
  • the frame structure matching on the client side performs the conversion of the OTUk frame parallel processing bit width m to the FEC information bit length k on the received optical signal, and then the converted optical signal is sent to the FEC encoding module.
  • the frame length of the OTUk frame is 4080 bytes, and the parallel processing bit width m of the OTUk frame is 64 bits, and the FEC information bit length k is 239 bits.
  • the received OTUk frame may be processed to achieve a coding precondition, for example, 1 to 3824 bytes in the OTUk frame may be used as the FEC information. Bits, and 3824 ⁇ 4080 bytes are filled with zero.
  • the converted optical signal may be multiplexed by the multiplexing module, and then the multiplexed optical signal is transmitted to the FEC encoding module.
  • the A303 and the FEC encoding module perform FEC encoding on the optical signal sent in step A302 to obtain a FEC encoded signal, and transmit the FEC encoded signal to the frame structure of the wavelength division side to match the transmitting end.
  • the FEC encoded signal needs to be demultiplexed by the demultiplexing module at this time, and the interleaving module may also be used.
  • the demultiplexed optical signal is interleaved to achieve anti-burst error.
  • the frame structure matching on the wavelength division side receives the FEC encoded signal transmitted in step A303, determines the code length of the FEC codeword, and determines the frame length of the OTUk.
  • the code length of the FEC codeword is 255 bits
  • the frame length of the OTUk is 4080 bytes.
  • the frame structure matching transmitter on the wavelength division side calculates the number of FEC codewords that can be carried in each row in the OTUk frame according to the determined code length of the FEC codeword and the frame length of the OTUk.
  • Each row can carry 128 codewords, that is, every 128 FEC codewords form a row of an OTUk frame.
  • the frame structure matching on the wavelength division side matches the FEC encoded signal to the OTUk frame according to the number of FEC codewords that can be carried in each row of the OTUk frame, that is, the FEC is encoded according to the 128 FEC codewords in each row.
  • the signal is matched into the OTUk frame, as shown in Figure 3c.
  • the FEC information bits and the FEC overhead bits are not placed separately, but the FEC information bits and the FEC overhead bits are placed together as a whole, so that when the OTUk frame is transmitted, the FEC information bits and the FEC are placed.
  • the overhead bits will arrive at the signal receiver together.
  • the following method may be used to match the FEC encoded signal to the OTUk frame, and: 3 ⁇ 4 port:
  • the code length of the FEC codeword can be first matched to the parallel processing bit width of the OTUk, and then the FEC codeword is sequentially filled into the OTUk frame, wherein each row of the OTUk frame can carry 128 FEC codewords.
  • the operation may be implemented by a first bit width conversion module, the first bit width conversion module package.
  • Four shift registers D with a bit width of 255 bits are included, as well as a thread counter (Line_cnt), a match counter (Match_Ctrl), and two signal selectors. This saves 4 shifts compared to the prior art requiring 8 shift registers D with a bit width of 255 bits, and a thread counter (Line_cnt), two match counters (Match_Ctrl), and two signal selectors.
  • Bit register D which saves 4 RAMs (because the prior art requires separate processing of information bits and overhead bits, it requires duplicate devices).
  • the process of the method for de-matching the frame structure into the FEC codeword may be as follows: B301.
  • the frame structure on the wavelength division side matches the signal received by the receiving end to receive the frame structure, where the frame structure is matched.
  • the frame structure of the wavelength division side matches the receiving end to determine the code length of the FEC codeword, and determines the frame length of the OTUk.
  • the code length of the FEC codeword is 255 bits
  • the frame length of the OTUk is 4080 bytes.
  • the frame structure matching receiving end of the wavelength division side calculates the number of FEC codewords that can be carried in each row of the OTUk frame according to the determined code length of the FEC codeword and the frame length of the OTUk.
  • a row can carry 128 codewords, that is, every 128 FEC codewords form a row of an OTUk frame.
  • the receiving end extracts the OTUk frame received in step B301 according to the number of FEC codewords that can be carried in each row of the OTUk frame, and obtains the FEC encoded signal, that is, 128 FEC codes per row.
  • the manner of the word extracts the signal matched by the frame structure received in step B301, and obtains the FEC encoded signal.
  • the parallel processing bit width of the OTUk can be first matched to the code length of the FEC codeword, and then the corresponding signal is extracted from the OTUk frame to obtain the FEC encoded signal.
  • the operation may be specifically implemented by the second bit width conversion module, and the second bit width conversion module may include 4 A shift register D with a bit width of 255 bits, and a thread counter (Line_cnt), a match counter (Match_Ctrl), and two signal selectors.
  • the decoder since the overhead bit is received when the information bit is received, the decoder does not need to wait any more, but can directly decode the signal every time 255 bits are received, so compared with the prior art, It also saves about 10 microseconds ( ) and, since the decoder does not need to wait any longer, it does not require RAM for storage, saving up to 6 RAMs, which means a total of about 10 RAM can be saved.
  • the B305 and FEC decoding modules perform FEC decoding on the FEC encoded signal to obtain a FEC decoded signal, and transmit the FEC decoded signal to the client side frame structure matching transmitting end.
  • the frame structure matching on the client side intercepts the signal after the FEC decoding, and obtains the FEC information bit, that is, the Fbit code length of 255 bits is truncated after 16 bits of the overhead bit, and the information bit of the first 239 bits is obtained, and then the information of 239 bits is obtained.
  • the bit is converted into an OTUk frame with a processing bit width of 64 bits, that is, in the OTUk frame, only the information bits of the FEC are reserved, and the overhead bits of the FEC are discarded, and the positions of 3824 to 4080 bytes are still filled in, so that A signal having the same structure as the optical signal received in step A301 is obtained.
  • the FEC encoded signal needs to be deinterleaved by the deinterleaving module.
  • the deinterleaved optical signal can also be multiplexed by the multiplexing module, and then sent to the FEC decoding module for decoding, and then the FEC decoded signal is demultiplexed by the demultiplexing module, and finally The frame structure delivered to the client side matches the transmitting end for processing.
  • the FEC encoded signal is matched to the OTUk frame in a manner of one FEC codeword. Therefore, the information bit and the overhead bit of the FEC codeword need to be separately placed in the prior art.
  • the signal receiving end when receiving the OTUk frame, the signal receiving end does not need to use a large amount of RAM to store the FEC information bits and the FEC overhead bits, so as to wait for the FEC information bits and the FEC overhead bits to be aligned before decoding, It can be decoded directly, because in this scheme, the FEC information bit and the FEC overhead bit can reach the receiving end together, that is to say, by adopting this scheme, not only the delay can be reduced, but also the RAM resource can be saved. Further, Since the amount of RAM can be reduced, the structure of the FEC frame structure matching system is relatively relatively compact. Embodiment 4
  • the embodiment also takes the FEC frame structure matching system shown in FIG. 3a as an example, except that in this embodiment, it will be used for the 20% FEC code in the 10G submarine cable system.
  • the word BCH ( 336, 280 ) is taken as an example for explanation.
  • the process of matching the FEC codewords into a frame structure may be specifically as follows:
  • the frame structure on the client side matches the receiving end to receive the optical signal, where the optical signal is transmitted in the form of an OTUk frame.
  • the frame structure on the client side matches the receiving end and performs OTUk frame parallel processing on the received optical signal to convert the bit width m to the FEC information bit length k, and then delivers the converted optical signal to the FEC encoding module.
  • the frame length of the OTUk is 4600 bytes, and the parallel processing bit width m of the OTUk is 64 bits, and the FEC information bit length k is 280 bits.
  • the received optical signal may be processed to achieve a coding precondition, for example, 1 to 3824 bytes in the OTUk may be used as the FEC information bit. , and 3824 ⁇ 4600 bytes are filled with zero.
  • the converted optical signal may be multiplexed by the multiplexing module, and then the multiplexed optical signal is transmitted to the FEC encoding module.
  • the FEC encoding module performs FEC encoding on the optical signal sent in step A402 to obtain a FEC encoded signal, and transmits the FEC encoded signal to the frame structure of the wavelength division side to match the transmitting end.
  • the FEC encoded signal needs to be demultiplexed by the demultiplexing module at this time, and the interleaving module may also be used.
  • the demultiplexed optical signal is interleaved to achieve anti-burst error.
  • the frame structure matching on the wavelength division side receives the FEC encoded signal transmitted in step A402, determines the code length of the FEC codeword, and determines the frame length of the OTUk.
  • the code length of the FEC code word is 336 bits
  • the frame length of the OTUk is 4600 bytes.
  • the frame structure of the wavelength division side matches the transmitting end according to the determined code length of the FEC codeword and the OTUk
  • the frame length calculates the number of FEC codewords that can be carried in each row of the OTUk frame.
  • a row can carry about 110 codewords, that is, every 110 FEC codewords form a row of an OTUk frame.
  • the frame length of the OTUk is not an integer multiple of the code length of the FEC codeword
  • the last codeword that is, the code length of the FEC codeword of the 110th codeword
  • each row of OTUk The last 48 bits of the frame are fixedly padded to zero.
  • the frame structure matching on the wavelength division side matches the FEC encoded signal in the OTUk frame according to the number of FEC codewords that can be carried in each row of the OTUk frame, that is, the FEC is encoded according to the manner of 110 FEC codewords per row.
  • the signal is matched into the OTUk frame. See Figure 4b for details.
  • the FEC information bits and the FEC overhead bits are not placed separately, but the FEC information bits and the FEC overhead bits are placed together as a whole, so that when the OTUk frame is transmitted, the FEC information bits and the FEC are placed.
  • the overhead bits will arrive at the signal receiver together.
  • the following method may be used to match the FEC encoded signal to the OTUk frame, and: 3 ⁇ 4 port:
  • the code length of the FEC codeword can be first matched to the parallel processing bit width of the OTUk, and then the FEC codeword is sequentially filled into the OTUk frame, wherein each row of the OTUk frame can carry 110 FEC codewords.
  • the operation may be specifically implemented by a third bit width conversion module, and the third bit width conversion module may include 6 A shift register D having a bit width of 336 bits, and a thread counter (Line_cnt), a matching counter (Match_Ctrl), and two signal selectors.
  • the third bit width conversion module may include 6 A shift register D having a bit width of 336 bits, and a thread counter (Line_cnt), a matching counter (Match_Ctrl), and two signal selectors.
  • it requires 12 shift registers D with a bit width of 255 bits, and one thread counter (Line_cnt ), two matching counters ( Match_Ctrl ) and two signal selectors, which can save 6 shifts.
  • Bit register D which saves 6 RAMs (because the prior art requires separate processing of information bits and overhead bits, it requires duplicate devices).
  • the process of the method for de-matching the frame structure into the FEC codeword may be as follows: B401, the frame structure on the wavelength division side matches the signal received by the receiving end to receive the frame structure, where the signal after the frame structure is matched is The OTUk frame output after the processing in step A405. B402. The frame structure of the wavelength division side matches the receiving end to determine the code length of the FEC codeword, and determines the frame length of the OTUk.
  • the code length of the FEC code word is 336 bits
  • the frame length of the OTUk is 4600 bytes.
  • the frame structure matching receiving end of the wavelength division side calculates the number of FEC codewords that can be carried in each row of the OTUk frame according to the determined code length of the FEC codeword and the frame length of the OTUk.
  • a row can carry 128 codewords, that is, every 128 FEC codewords form a row of an OTUk frame.
  • the receiving end extracts the OTUk frame received in step B401 according to the number of FEC codewords that can be carried in each row of the OTUk frame, and obtains the FEC encoded signal, that is, 110 FEC codes per row.
  • the word mode is extracted from the OTUk frame received in step B401 to obtain an FEC encoded signal.
  • the parallel processing bit width of the OTUk can be first matched to the code length of the FEC codeword, and then the corresponding signal is extracted from the OTUk frame to obtain the FEC encoded signal.
  • the operation may be specifically implemented by a fourth bit width conversion module, and the fourth bit width conversion module may include 6 A shift register D having a bit width of 336 bits, and a thread counter (Line_cnt), a matching counter (Match_Ctrl), and two signal selectors.
  • the fourth bit width conversion module may include 6 A shift register D having a bit width of 336 bits, and a thread counter (Line_cnt), a matching counter (Match_Ctrl), and two signal selectors.
  • it requires 12 shift registers D with a bit width of 336 bits, and one thread counter (Line_cnt ), two matching counters ( Match_Ctrl ) and two signal selectors, which can save 6 shifts.
  • Bit register D which saves 6 RAMs (because the prior art requires separate processing of information bits and overhead bits, a duplicate device is required).
  • the decoder since the overhead bit is received when the information bit is received, the decoder does not need to wait any more, but can directly decode the signal every time it receives the 336 bits, so compared with the prior art, It also saves about 10 microseconds ( ) and, since the decoder does not need to wait, it does not require RAM for storage, saving up to 6 RAMs, which means a total of about 12 RAM can be saved.
  • the B405 and the FEC decoding module perform FEC decoding on the FEC encoded signal to obtain a FEC decoded signal, and transmit the FEC decoded signal to the client side frame structure matching transmitting end.
  • the frame structure matching on the client side intercepts the FEC decoded signal, and obtains the FEC information bit, which is the 56 bits overhead bit after the FEC code length is 336 bits, and obtains the information bits of the first 280 bits, and then the information of 280 bits.
  • the bit is converted into an OTUk frame with a processing bit width of 64 bits, that is, in the OTUk frame, only the information bits of the FEC are reserved, and the overhead bits of the FEC are discarded, and the position of 3824 ⁇ 4600 bytes is still filled with zero, so that A signal having the same structure as the optical signal received in step A401 is obtained.
  • the FEC encoded signal needs to be deinterleaved by the deinterleaving module.
  • the deinterleaved optical signal can also be multiplexed by the multiplexing module, and then sent to the FEC decoding module for decoding, and then the FEC decoded signal is demultiplexed by the demultiplexing module, and finally The frame structure delivered to the client side matches the transmitting end for processing.
  • the FEC encoded signal is matched to the OTUk frame in a manner of one FEC codeword. Therefore, the information bits and overhead bits of the FEC codeword need to be separately placed in the prior art.
  • the signal receiving end does not need to use a large amount of RAM to store the FEC information bits and the FEC overhead bits, so as to wait for the FEC information bits and the FEC overhead bits to be aligned before decoding, but directly Capable of decoding, because in this scheme, the FEC information bit and the FEC overhead bit can arrive at the receiving end together, that is, using this scheme can not only reduce the delay but also save RAM resources.
  • an apparatus for matching an FEC codeword into a frame structure is provided. , determining unit 502, calculating unit 503 and matching unit 504;
  • the encoding unit 501 is configured to perform FEC encoding on the received optical signal to obtain a FEC encoded signal
  • a determining unit 502 configured to determine a code length of the FEC codeword, and a frame length of the OTU frame structure;
  • the frame length of the OTUk frame may be 4080 bytes, or may be 4600 bytes, and so on;
  • the calculating unit 503 is configured to calculate each line in the OTU frame structure according to the code length and the frame length determined by the determining unit 502. The number of FEC codewords carried;
  • the matching unit 504 is configured to match the FEC encoded signal into the OTU frame structure according to the number of FEC codewords that can be carried in each row in the OTU frame structure obtained by the computing unit 503.
  • Each FEC codeword may specifically include a FEC information bit and a FEC overhead bit, and the FEC codeword code length refers to a total bit width of the FEC information bit and the FEC overhead bit, that is,
  • the determining unit 502 is specifically configured to determine a total bit width of the FEC information bit and the FEC overhead bit, and a frame length of the OTU frame structure;
  • the calculating unit 503 is specifically configured to calculate the number of FEC codewords that can be carried in each row in the OTU frame structure according to the total bit width determined by the determining unit 502 and the frame length of the OTU frame structure.
  • the FEC codewords RS take 7% of the FEC codewords RS (255, 239) as an example.
  • the encoding unit 501 performs FEC encoding on the received optical signal, and before the FEC encoded signal is obtained, the optical signal may be accelerated before encoding, that is, the FEC codeword is matched into
  • the frame structure device may further include a speed increasing unit;
  • the speed increasing unit is configured to match the received optical signal to the frame structure before encoding, so that 1 byte to 3824 bytes in the frame are payloads, and the bytes after 3824 bytes are all zero; that is, 1 ⁇ in the frame 3824 bytes are used as information bits for FEC, and bytes after 3824 bytes are filled with zeros.
  • 1 ⁇ in the frame 3824 bytes are used as information bits for FEC, and bytes after 3824 bytes are filled with zeros.
  • an OTUk with a frame length of 4080 bytes is taken as an example.
  • 1 ⁇ 3824 bytes in the frame can be used as the information bit of the FEC.
  • 3824 ⁇ 4080 bytes are filled with zeros, and so on.
  • the frame length of the OTU frame structure is equal to the frame length of the frame structure used in the matching of the pre-encoding frame structure. For example, if an OTUk with a frame length of 4080 bytes is used, the frame structure used in step 102 is also an OTUk with a frame length of 4080 bytes; if the OTUk with a frame length of 4600 bytes is used here, Then, the frame structure adopted in step 102 is also an OTUk with a frame length of 4600 bytes.
  • each of the foregoing units may be implemented as an independent entity, or may be implemented in any combination, as the same entity or multiple entities.
  • the coding unit 501 may be implemented by implementing FEC coding modules in three and four, and matching.
  • the unit 504 can be implemented by implementing a frame structure matching matching component on the wavelength division side of the third and fourth sides, and a frame structure matching receiving end and the like on the client side, and the like.
  • the apparatus for matching the FEC codewords into the frame structure in this embodiment adopts the frame structure matching of the FEC encoded signals in a unit of one FEC codeword. Therefore, the FEC code is required in comparison with the prior art.
  • the signal receiving end does not need to use a large amount of RAM to store the FEC information bits and the FEC overhead bits when receiving the signal matched by the frame structure, waiting for the FEC information bits and the FEC.
  • the decoding is performed, but the decoding can be performed directly, so that not only the delay can be reduced, but also the RAM resources can be saved.
  • the embodiment of the present invention further provides an apparatus for de-matching a frame structure into an FEC codeword.
  • the apparatus for de-matching a frame structure into an FEC codeword includes a receiving unit 601, a determining unit 602, Computing unit 603 and dematching unit 604;
  • the receiving unit 601 is configured to receive a signal that is matched by the frame structure, where the matched signal of the frame structure is a signal transmitted by using an OTU frame structure;
  • a determining unit 602 configured to determine a frame length of an OTU frame structure used by the frame structure matched signal, and determine a code length of the FEC codeword;
  • the calculating unit 603 is configured to calculate, according to the frame length and the code length determined by the determining unit 602, the number of FEC codewords that can be carried in each row in the OTU frame structure;
  • the de-matching unit 604 is configured to perform, according to the number of FEC codewords that can be carried in each row in the OTU frame structure calculated by the calculating unit 603, the signal that is matched by the frame structure received by the receiving unit 601. Extract, get the FEC encoded signal.
  • Each FEC codeword may specifically include a FEC information bit and a FEC overhead bit, and the FEC codeword code length refers to a total bit width of the FEC information bit and the FEC overhead bit, that is,
  • the determining unit 602 is specifically configured to determine a frame length of an OTU frame structure used by the frame structure matched signal, and determine a total bit width of the FEC information bit and the FEC overhead bit;
  • the calculating unit 603 is specifically configured to calculate, according to the frame length and the total bit width determined by the determining unit 602, the number of FEC codewords that can be carried in each row in the OTU frame structure.
  • the FEC codewords RS take 7% of the FEC codewords RS (255, 239) as an example.
  • the de-matching unit 604 extracts the frame-matched signal according to the number of FEC codewords that can be carried in each row of the OTU frame structure, and after obtaining the FEC-encoded signal, the FEC-encoded signal can also be FEC-decoded and intercepted.
  • Bits, to obtain FEC information bits that is, the apparatus for de-matching the frame structure to the FEC codeword may further include an FEC decoding unit and a truncation unit;
  • the FEC decoding unit is configured to perform FEC decoding on the FEC encoded signal to obtain a FEC decoded signal
  • the truncation unit is configured to perform a truncation of the FEC overhead bit for each FEC codeword in the FEC decoded signal obtained by the FEC decoding unit, to obtain an FEC information bit. For example, taking 7% of the FEC codewords RS (255, 239) as an example, the code length of the FEC codeword is 255 bits, and 16 bits are cut off to obtain 239 bits of information bits.
  • each of the above units may be implemented as an independent entity, or may be any group.
  • the receiving unit 601 and the frame format de-matching unit 502 can be implemented by implementing the frame structure matching receiving end of the wavelength division side in the third and fourth, and the FEC decoding unit is implemented by The FEC decoding module is implemented, the truncation unit is implemented by the frame format transmitting end of the client side, and the like.
  • the FEC decoding module is implemented
  • the truncation unit is implemented by the frame format transmitting end of the client side, and the like.
  • the apparatus for de-matching the frame structure into the FEC codeword in this embodiment can perform the solution matching on the received frame structure matching signal in units of one FEC codeword, since it can be stored without using a large amount of RAM.
  • the FEC information bit and the FEC overhead bit are decoded after waiting for the FEC information bit and the FEC overhead bit to be aligned, but are directly decoded, so that not only the delay is greatly reduced, but also the RAM resource is saved.
  • the embodiment of the present invention further provides a communication system, including any device for matching a FEC codeword into a frame structure and any device for dematching a frame structure into an FEC codeword.
  • a communication system including any device for matching a FEC codeword into a frame structure and any device for dematching a frame structure into an FEC codeword.
  • the device for matching the FEC codewords into the frame structure refer to the fifth embodiment, and the device for de-matching the frame structure to the FEC codeword can be referred to in the sixth embodiment, and details are not described herein again.
  • the communication system may specifically be a frame structure matching system of the FEC, including means 701 for matching the FEC codewords into a frame structure and means 702 for de-matching the frame structure to the FEC codewords;
  • the apparatus 701 for matching the FEC codeword into a frame structure is configured to perform FEC encoding on the received optical signal to obtain a FEC encoded signal; determining a code length of the FEC codeword, and a frame length of the OTU frame structure, according to the code length And calculating the number of FEC codewords that can be carried in each row in the OTU frame structure, and matching the FEC encoded signal to the OTU frame structure according to the number of FEC codewords that can be carried, to obtain a signal after the frame structure is matched. Transmitting the frame structure matched signal to the device 702 that de-frames the frame structure into the FEC code word;
  • the apparatus 702 for dematching the frame structure into the FEC codeword is configured to receive a frame structure matched signal sent by the apparatus 701 that de-matches the frame structure into the FEC codeword, and determine an OTU frame structure used by the frame structure matched signal. Frame length, and determining the code length of the FEC codeword, calculating the number of FEC codewords that can be carried in each row of the OTU frame structure according to the determined frame length and code length, according to the number of FEC codewords that can be carried The signal after the structure matching is extracted to obtain the FEC encoded signal.
  • Each FEC codeword may specifically include an FEC information bit and an FEC overhead bit, and the FEC The codeword length refers to the total bit width of the FEC information bit and the FEC overhead bit.
  • the apparatus 701 for matching the FEC codewords into the frame structure of the communication system of the present embodiment performs frame structure matching on the FEC encoded signals in units of one FEC codeword. Therefore, compared with the prior art, In order to match the information bits and the overhead bits of the FEC codeword for matching, the signal receiving end does not need to use a large amount of RAM to store the FEC information bits and the FEC overhead bits when receiving the matched signal of the frame structure, waiting for the FEC. After the information bits and the FEC overhead bits are aligned, the decoding is performed. After the frame format de-matching device de-matches the signals, the decoding can be directly performed. Therefore, the scheme can not only reduce the delay but also reduce the delay.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), disk or optical disk.
  • ROM Read Only Memory
  • RAM Random Access Memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

A method for matching Forward Error Correction (FEC) codewords into a frame structure comprises: performing the FEC coding for received optical signals to obtain FEC coded signals; determining the code length of the FEC codewords and the frame length of an OTU (Optical Transport Unit) frame structure; according to the code length and the frame length, calculating the number of the FEC codewords carried in each line of the OTU frame structure; according to the number of the FEC codewords carried, matching the FEC coded signals into the OTU frame structure. In addition, the embodiments of the invention also provide the corresponding method, apparatus and system for de-matching a frame structure into FEC codewords.

Description

将前向纠错码字匹配成帧结构的方法、 装置和系统 技术领域  Method, device and system for matching forward error correction code words into frame structure
本发明涉及通信技术领域,具体涉及一种将前向纠错(FEC, Forward Error Correction )码字匹配成的帧结构的方法、 装置和系统。  The present invention relates to the field of communications technologies, and in particular, to a method, apparatus, and system for matching a frame structure of a Forward Error Correction (FEC) codeword into a frame structure.
背景技术 Background technique
前向纠错(FEC, Forward Error Correction )是指信号在被传输之前预先 对其按一定的格式进行处理, 然后在接收端按规定的算法进行解码。 以达 到找出错码并纠错的目的一种数据编码技术。 将 FEC码字匹配成的帧结 构, 指的是将信号进行 FEC编码形成 FEC编码后信号之后, 将 FEC编码后信 号匹配到其他格式的帧结构中去以进行传输的操作, 比如, 将 FEC编码后 信号匹配到光信道传送单元 k ( OTUk, Optical Channel Transport Unit k ) 中去 以进行传输的操作, 等等。  Forward Error Correction (FEC) means that a signal is processed in a certain format before being transmitted, and then decoded at a receiving end according to a predetermined algorithm. A data encoding technique for the purpose of finding the wrong code and correcting the error. The frame structure in which the FEC codeword is matched refers to an operation of performing FEC encoding after the FEC encoding of the signal to form an FEC encoded signal, and then matching the FEC encoded signal to a frame structure of another format, for example, FEC encoding The post signal is matched to the operation of the optical channel transport unit k (OTUk, Optical Channel Transport Unit k) for transmission, and so on.
例如, 参见图 la, 该图为传统的 OTUk帧的格式示意图, 其中, 1 ~ 3824字 节为光信道传送单元 ( OTU, Optical Channel Transport Unit )的帧头部分和净 荷( Payload )部分, 用于存放 FEC的信息位, 筒称 FEC信息位, 而 3824 ~ 4080 字节则为 FEC部分, 用于存放 FEC的开销位, 筒称 FEC开销位。  For example, see FIG. 1a, which is a schematic diagram of a format of a conventional OTUk frame, where 1 to 3824 bytes are a frame header portion and a payload portion of an Optical Channel Transport Unit (OTU). The information bits for storing the FEC are called FEC information bits, and the 3824 ~ 4080 bytes are FEC parts, which are used to store the FEC overhead bits, and the cartridge is called the FEC overhead bit.
由于 FEC信息位与 FEC开销位分别放置在 OTU帧的不同部分, 所以, 为了 使数据不沖突和丟失, 在现有技术中, 信号发送端一般会在 FEC信息位发送完 毕之后, 才进行 FEC开销位的发送, 同时, 在信号接收端会采用大量的随机存 取存储器(RAM, random access memory )来对 FEC信息位进行存储, 以等待 FEC开销位的到来,在 FEC信息位与 FEC开销位到齐之后,解码器才会从 RAM 中取出相应的 FEC信息位与 FEC开销位, 以还原出 FEC编码后信号, 然后对该 还原的 FEC编码后信号进行解码, 以得到原始信号。 此外, 由于在该处理过程 中, 解码器解码需要一定的时间, 所以,还需要有其他的 RAM来存储开销位 r。  Since the FEC information bits and the FEC overhead bits are respectively placed in different parts of the OTU frame, in order to prevent data from colliding and losing, in the prior art, the signal transmitting end generally performs the FEC overhead after the FEC information bits are transmitted. The transmission of the bit, at the same time, a large amount of random access memory (RAM) is used to store the FEC information bits at the signal receiving end, waiting for the arrival of the FEC overhead bit, and the FEC information bit and the FEC overhead bit are After the modulo, the decoder will take the corresponding FEC information bits and FEC overhead bits from the RAM to restore the FEC encoded signal, and then decode the restored FEC encoded signal to obtain the original signal. In addition, since it takes a certain amount of time for the decoder to decode during this process, other RAM is required to store the overhead bit r.
在对现有技术的研究和实践过程中, 本发明的发明人发现, 在现有的将 FEC码字匹配成的帧结构的方法中, 由于需要等待 FEC信息位和 FEC开销位到 齐后, 才能进行解码, 所以延时较大, 而且, 还需要大量的 RAM来存储 FEC 信息位和 FEC开销位, 较为浪费 RAM资源。  In the research and practice of the prior art, the inventors of the present invention have found that in the existing method of matching the FEC codeword into a frame structure, since it is necessary to wait for the FEC information bit and the FEC overhead bit to be aligned, In order to decode, the delay is large, and a large amount of RAM is needed to store the FEC information bits and the FEC overhead bits, which wastes RAM resources.
发明内容 本发明实施例提供一种将 FEC码字匹配成帧结构的方法、 将帧结构解匹 配成 FEC码字的方法、以及相应的装置和系统,可以减少延时,以及节省 RAM 资源。 Summary of the invention Embodiments of the present invention provide a method for matching an FEC codeword into a frame structure, a method for de-matching a frame structure into an FEC codeword, and a corresponding apparatus and system, which can reduce delay and save RAM resources.
一种将 FEC码字匹配成帧结构的方法, 包括:  A method of matching FEC codewords into a frame structure, comprising:
对接收到的光信号进行 FEC编码, 得到 FEC编码后信号;  Performing FEC encoding on the received optical signal to obtain a FEC encoded signal;
确定 FEC码字的码长, 以及 OTU帧结构的帧长;  Determining the code length of the FEC codeword and the frame length of the OTU frame structure;
根据所述码长和帧长计算 OTU帧结构中每一行可承载的 FEC码字的数 量;  Calculating, according to the code length and the frame length, the number of FEC codewords that can be carried in each row in the OTU frame structure;
按照所述可承载的 FEC码字的数量将 FEC编码后信号匹配到所述 OTU 帧结构中。  The FEC encoded signal is matched to the OTU frame structure in accordance with the number of FEC codewords that can be carried.
一种将帧结构解匹配成 FEC码字的方法, 包括:  A method for dematching a frame structure into a FEC codeword, comprising:
接收帧结构匹配后的信号, 所述帧结构匹配后的信号为通过 OTU帧结构 传输的信号;  Receiving a signal after the frame structure is matched, and the signal matched by the frame structure is a signal transmitted through an OTU frame structure;
确定帧结构匹配后的信号所采用的 OTU帧结构的帧长,以及确定 FEC码 字的码长;  Determining a frame length of an OTU frame structure used by the frame structure matched signal, and determining a code length of the FEC code word;
根据所述帧长和码长计算 OTU帧结构中每一行可承载的 FEC码字的数 量;  Calculating, according to the frame length and the code length, the number of FEC codewords that can be carried in each row in the OTU frame structure;
按照所述可承载的 FEC码字的数量对所述帧结构匹配后的信号进行提取, 得到 FEC编码后信号。  And extracting the matched signal of the frame structure according to the number of FEC code words that can be carried, to obtain a FEC encoded signal.
一种将 FEC码字匹配成帧结构的装置, 包括:  An apparatus for matching FEC codewords into a frame structure, comprising:
编码单元,用于对接收到的光信号进行 FEC编码,得到 FEC编码后信号; 确定单元, 用于确定 FEC码字的码长, 以及 OTU帧结构的帧长; 计算单元, 用于根据所述码长和帧长计算 OTU帧结构中每一行可承载的 FEC码字的数量;  a coding unit, configured to perform FEC encoding on the received optical signal to obtain an FEC encoded signal; a determining unit, configured to determine a code length of the FEC codeword, and a frame length of the OTU frame structure; and a calculating unit, configured to Code length and frame length calculate the number of FEC codewords that can be carried in each row of the OTU frame structure;
匹配单元, 用于按照所述可承载的 FEC码字的数量将 FEC编码后信号匹 配到所述 OTU帧结构中。  And a matching unit, configured to match the FEC encoded signal into the OTU frame structure according to the number of the bearable FEC codewords.
一种将帧结构解匹配成 FEC码字的装置, 包括:  An apparatus for deserializing a frame structure into a FEC codeword, comprising:
接收单元, 用于接收帧结构匹配后的信号, 所述帧结构匹配后的信号为通 过 OTU帧结构传输的信号; 确定单元, 用于确定帧结构匹配后的信号所采用的 OTU帧结构的帧长, 以及确定 FEC码字的码长; a receiving unit, configured to receive a signal after the frame structure is matched, where the signal matched by the frame structure is a signal transmitted through an OTU frame structure; a determining unit, configured to determine a frame length of an OTU frame structure used by the frame structure matched signal, and determine a code length of the FEC codeword;
计算单元, 用于根据所述帧长和码长计算 OTU帧结构中每一行可承载的 FEC码字的数量;  a calculating unit, configured to calculate, according to the frame length and the code length, a quantity of FEC codewords that can be carried in each row in the OTU frame structure;
解匹配单元, 用于按照所述可承载的 FEC码字的数量对所述帧结构匹配 后的信号进行提取, 得到 FEC编码后信号。  And a de-matching unit, configured to extract the matched signal of the frame structure according to the number of the FEC codewords that can be carried, to obtain a FEC encoded signal.
一种通信系统,包括本发明实施例提供的任一种将前向纠错码字匹配成帧 结构的装置和任一种将帧结构解匹配成前向纠错码字的装置。  A communication system comprising any of the means for matching a forward error correction codeword into a frame structure and any means for dematching a frame structure into a forward error correction codeword.
由于本发明实施例采用以一个 FEC码字为单位的方式将 FEC编码后信号 匹配到 OTU帧结构中, 所以, 相对于现有技术中需要将 FEC码字的信息位和 开销位分开放置而言,信号接收端在接收该帧结构匹配后的信号时, 无需采用 大量的 RAM来存储 FEC信息位和 FEC开销位, 以等待 FEC信息位和 FEC 开销位到齐后才进行译码, 而是直接就能够进行译码, 因为在本方案中, FEC 信息位和 FEC开销位可以一起到达接收端的, 也就是说, 采用该方案, 不仅 可以减少延时, 而且还可以节省 RAM资源。  Since the embodiment of the present invention uses the FEC coded signal to match the FEC encoded signal to the OTU frame structure, the information bit and the overhead bit of the FEC codeword need to be separately separated from the prior art. When the signal receiving end receives the signal matched by the frame structure, it does not need to use a large amount of RAM to store the FEC information bit and the FEC overhead bit, so as to wait for the FEC information bit and the FEC overhead bit to be aligned before decoding, but directly It is possible to decode, because in this scheme, the FEC information bit and the FEC overhead bit can arrive at the receiving end together, that is to say, by adopting this scheme, not only the delay can be reduced, but also the RAM resource can be saved.
同理, 本发明实施例还提供相应的将帧结构解匹配成 FEC码字的方法和 装置, 该解匹配方法和装置, 与上述匹配方法和装置相对应, 具有同样的有益 效果, 即不仅可以减少延时, 而且还可以节省 RAM资源。  Similarly, the embodiment of the present invention further provides a corresponding method and device for de-matching a frame structure into an FEC codeword, and the solution matching method and device have the same beneficial effects as the above matching method and device, that is, not only Reduce latency and save RAM resources.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作筒单地介绍,显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创 造性劳动的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description It is only some embodiments of the present invention, and those skilled in the art can obtain other drawings according to these drawings without any creative work.
图 la是传统的 OTUk帧的格式示意图;  Figure la is a schematic diagram of the format of a conventional OTUk frame;
图 lb是本发明实施例提供的将 FEC匹配成帧结构的方法的流程图; 图 2是本发明实施例提供的将帧结构解匹配成 FEC码字的方法的流程图; 图 3a是 FEC的帧结构匹配系统的场景示意图;  FIG. 2 is a flowchart of a method for matching FEC to a frame structure according to an embodiment of the present invention; FIG. 2 is a flowchart of a method for dematching a frame structure into an FEC codeword according to an embodiment of the present invention; Schematic diagram of a frame structure matching system;
图 3b是本发明实施例提供的将 FEC码字匹配成帧结构的方法的另一流程 图; 图 3c是本发明实施例提供的结构匹配后的 OTUk帧 (帧长为 4080字节) 的 格式示意图; FIG. 3b is another flowchart of a method for matching FEC codewords into a frame structure according to an embodiment of the present invention; FIG. 3c is a schematic diagram of a format of a structure-matched OTUk frame (frame length is 4080 bytes) according to an embodiment of the present invention;
图 3d是本发明实施例提供的第一位宽转换模块的结构示意图;  FIG. 3 is a schematic structural diagram of a first bit width conversion module according to an embodiment of the present invention;
图 3e是本发明实施例提供的将帧结构解匹配成 FEC码字的方法的另一流 程图;  FIG. 3e is another flow chart of a method for dematching a frame structure into an FEC codeword according to an embodiment of the present invention; FIG.
图 3f是本发明实施例提供的第二位宽转换模块的结构示意图;  FIG. 3 is a schematic structural diagram of a second bit width conversion module according to an embodiment of the present disclosure;
图 4a是本发明实施例提供的将 FEC码字匹配成帧结构的方法的又一流程 图;  FIG. 4a is still another flowchart of a method for matching FEC codewords into a frame structure according to an embodiment of the present invention; FIG.
图 4b是本发明实施例提供的结构匹配后的 OTUk帧 (帧长为 4600字节) 的 格式示意图;  4b is a schematic diagram of a format of a structure-matched OTUk frame (frame length of 4600 bytes) according to an embodiment of the present invention;
图 4c是本发明实施例提供的第三位宽转换模块的结构示意图;  4c is a schematic structural diagram of a third bit width conversion module according to an embodiment of the present invention;
图 4d是本发明实施例提供的将帧结构解匹配成 FEC码字的方法的又一流 程图;  4d is still another flowchart of a method for de-matching a frame structure into an FEC codeword according to an embodiment of the present invention;
图 4e是本发明实施例提供的第三位宽转换模块的结构示意图;  4e is a schematic structural diagram of a third bit width conversion module according to an embodiment of the present invention;
图 5是本发明实施例提供的将 FEC码字匹配成帧结构的装置的结构示意 图;  FIG. 5 is a schematic structural diagram of an apparatus for matching an FEC codeword into a frame structure according to an embodiment of the present invention; FIG.
图 6是本发明实施例提供的将帧结构解匹配成 FEC码字的装置的结构示 意图;  6 is a schematic structural diagram of an apparatus for de-matching a frame structure into an FEC codeword according to an embodiment of the present invention;
图 7是本发明实施例提供的通信系统的结构示意图。  FIG. 7 is a schematic structural diagram of a communication system according to an embodiment of the present invention.
具体实施方式 detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域技术人员在没有作出创造性劳 动前提下所获得的所有其他实施例, 都属于本发明保护的范围。  BRIEF DESCRIPTION OF THE DRAWINGS The technical solutions in the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. All other embodiments obtained by a person skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供一种将 FEC码字匹配成帧结构的方法、将帧结构解匹配 成 FEC码字的方法、 以及相应的装置和系统。 以下分别进行详细说明。 实施例一、  Embodiments of the present invention provide a method for matching a FEC codeword into a frame structure, a method for dematching a frame structure into a FEC codeword, and a corresponding apparatus and system. The details are described below separately. Embodiment 1
本发明实施例将从将 FEC码字匹配成帧结构的装置的角度进行描述。 一种将 FEC码字匹配成帧结构的方法,包括:对接收到的光信号进行 FEC 编码, 得到 FEC编码后信号; 确定 FEC码字的码长, 以及 OTU帧结构的帧 长; 根据该码长和帧长计算 OTU帧结构中每一行可承载的 FEC码字的数量; 按照该可承载的 FEC码字的数量将 FEC编码后信号匹配到该 OTU帧结构中。 Embodiments of the present invention will be described from the perspective of a device that matches FEC codewords into a frame structure. A method for matching an FEC codeword into a frame structure, comprising: performing FEC encoding on the received optical signal to obtain a FEC encoded signal; determining a code length of the FEC codeword, and a frame length of the OTU frame structure; The length and frame length are calculated by the number of FEC codewords that can be carried in each row of the OTU frame structure; the FEC encoded signal is matched into the OTU frame structure according to the number of FEC codewords that can be carried.
如图 lb所示, 具体流程可以如下:  As shown in Figure lb, the specific process can be as follows:
101、 对接收到的光信号进行 FEC编码, 得到 FEC编码后信号。  101. Perform FEC encoding on the received optical signal to obtain a FEC encoded signal.
其中, FEC编码的具体操作可参见现有技术, 在此不再赘述。  For the specific operation of the FEC coding, refer to the prior art, and details are not described herein again.
102、 确定 FEC码字的码长, 以及 OTU帧结构的帧长。  102. Determine a code length of the FEC codeword and a frame length of the OTU frame structure.
其中,每一个 FEC码字具体可以包括 FEC信息位和 FEC开销位, 而 FEC 码字码长, 指的是 FEC信息位和 FEC开销位的总位宽。 即, 步骤 "确定 FEC 码字的码长" 具体可以为:  Each FEC codeword may specifically include an FEC information bit and a FEC overhead bit, and the FEC codeword code length refers to a total bit width of the FEC information bit and the FEC overhead bit. That is, the step "determining the code length of the FEC codeword" can be:
确定 FEC信息位和 FEC开销位的总位宽。  Determine the total bit width of the FEC information bit and the FEC overhead bit.
103、 ^据确定的 FEC码字的码长和确定的 OTU帧结构的帧长计算 OTU 帧结构中每一行可承载的 FEC码字的数量; 例如, 具体可以如下:  103. Calculate the number of FEC codewords that can be carried in each row of the OTU frame structure according to the determined code length of the FEC codeword and the frame length of the determined OTU frame structure; for example, the details may be as follows:
根据步骤 102中确定的总位宽和 OTU帧结构的帧长计算 OTU帧结构中每 一行可承载的 FEC码字的数量。  The number of FEC codewords that can be carried in each row in the OTU frame structure is calculated based on the total bit width determined in step 102 and the frame length of the OTU frame structure.
例如, 以 7%的 FEC码字 RS ( 255, 239 )为例, 其中, 信息位位于 1~239 位(bits ) 的位置, 共有 239bits, 而开销位位于 240~255 bits的位置, 共有 16 bits, 则可知, 该 FEC码字的码长为 255 bits。 若 OTU帧结构的帧长为 4080 字节, 即: 4080*8=32640bits, 则 OTU帧结构中每一行可承载的 FEC码字的 数量为: 32640/255=128个。  For example, take 7% of the FEC codewords RS (255, 239) as an example. The information bits are located at positions from 1 to 239 bits (bits), which have 239 bits, and the overhead bits are located at 240 to 255 bits, for a total of 16 bits. , it can be seen that the code length of the FEC codeword is 255 bits. If the frame length of the OTU frame structure is 4080 bytes, that is, 4080*8=32640 bits, the number of FEC codewords that can be carried in each row of the OTU frame structure is: 32640/255=128.
又例如, 以 20%的 FEC码字 BCH ( 336, 280 )为例, 其中, 信息位位于 1~280位 ( bits ) 的位置, 共有 280bits, 而开销位位于 281~336 bits的位置, 共有 56 bits, 则可知, 该 FEC码字的码长为 366bits。 若 OTU帧结构的帧长为 4600字节, 即: 4600*8=36800bits, 则 OTU帧结构中每一行可承载的 FEC码 字的数量为: 36800/336 , 即约为 110个, 其中, 第 110个码字只有 72 bits的 信息位和 56位的开销位。  For another example, the 20% FEC code word BCH ( 336, 280 ) is taken as an example, wherein the information bits are located at positions of 1 to 280 bits (bits), and there are 280 bits, and the overhead bits are located at 281 to 336 bits. Bits, then the code length of the FEC codeword is 366 bits. If the frame length of the OTU frame structure is 4600 bytes, that is, 4600*8=36800 bits, the number of FEC codewords that can be carried in each row of the OTU frame structure is: 36800/336, that is, about 110, where The 110 codewords have only 72 bits of information bits and 56 bits of overhead bits.
需说明的是, 其中, RS ( Reed-Solomon codes ) 指的是 RS 码, BCH ( Bose-Chaudhuri-Hocquengham )指的是 BCH码, 这两者均为纠错码, 具体 可参见现有技术, 在此不再赘述。 It should be noted that RS (Reed-Solomon codes) refers to RS codes, and BCH (Bose-Chaudhuri-Hocquengham) refers to BCH codes, both of which are error correcting codes. For details, refer to the prior art, and details are not described herein again.
104、 按照 OTU帧结构中每一行可承载的 FEC码字的数量将 FEC编码后 信号匹配到 OTU帧结构中。  104. Match the FEC encoded signal to the OTU frame structure according to the number of FEC codewords that can be carried in each row in the OTU frame structure.
此外, 为了提高系统的处理效率, 在对接收到的光信号进行 FEC编码, 得到 FEC编码后信号(即步骤 102 )之前, 还可以对该光信号进行编码前的提 速, 具体可以如下:  In addition, in order to improve the processing efficiency of the system, before the FEC encoded signal (ie, step 102) is obtained by performing FEC encoding on the received optical signal, the optical signal may be accelerated before encoding, which may be as follows:
将接收到的光信号进行编码前帧结构匹配, 使得帧中的 1字节至 3824字 节为净荷, 3824字节之后的字节均为零; 即将帧中的 1~3824字节作为 FEC 的信息位,而 3824字节之后的字节均填零。比如,以帧长为 4080字节的 OTUk 为例, 则此时, 可以将帧中的 1~3824字节作为 FEC的信息位, 而 3824~4080 字节均填零, 以此类推, 等等。  The received optical signal is matched to the frame structure before encoding, so that 1 byte to 3824 bytes in the frame are payloads, and the bytes after 3824 bytes are all zero; that is, 1~3824 bytes in the frame are used as FEC The information bits, and the bytes after 3824 bytes are filled with zeros. For example, taking OTUk with a frame length of 4080 bytes as an example, at this time, 1~3824 bytes in the frame can be used as information bits of FEC, and 3824~4080 bytes are filled with zero, and so on, etc. .
其中,这里的编码前帧结构匹配中所采用的帧结构的帧长与步骤 102中所 进行的帧结构匹配中所采用的 OTU帧结构的帧长与相等。 比如, 如果这里所 采用的是帧长为 4080字节的 OTUk, 则步骤 102中所采用的帧结构也是帧长 为 4080字节的 OTUk; 如果这里所采用的是帧长为 4600字节的 OTUk, 则步 骤 102中所采用的帧结构也是帧长为 4600字节的 OTUk。  Here, the frame length of the frame structure used in the pre-encoding frame structure matching is equal to the frame length of the OTU frame structure used in the frame structure matching performed in step 102. For example, if an OTUk with a frame length of 4080 bytes is used, the frame structure used in step 102 is also an OTUk with a frame length of 4080 bytes; if an OTUk with a frame length of 4600 bytes is used here, Then, the frame structure adopted in step 102 is also an OTUk with a frame length of 4600 bytes.
由上可知, 本实施例采用以一个 FEC码字为单位的方式将 FEC编码后信 号匹配到 OTU帧结构中, 所以, 相对于现有技术中需要将 FEC码字的信息位 和开销位分开放置在 OUT帧结构中而言, 信号接收端在接收该帧结构匹配后 的信号时, 无需采用大量的 RAM来存储 FEC信息位和 FEC开销位, 以等待 FEC信息位和 FEC开销位到齐后才进行译码, 而是直接就能够进行译码, 因 为在本方案中, FEC信息位和 FEC开销位可以一起到达接收端的,也就是说, 采用该方案, 不仅可以减少延时, 而且还可以节省 RAM资源。 实施例二、  As can be seen from the above, in this embodiment, the FEC encoded signal is matched into the OTU frame structure in a manner of one FEC codeword. Therefore, the information bits and overhead bits of the FEC codeword need to be separated from the prior art. In the OUT frame structure, when the signal receiving end receives the signal matched by the frame structure, it does not need to use a large amount of RAM to store the FEC information bit and the FEC overhead bit, waiting for the FEC information bit and the FEC overhead bit to be aligned. Decoding, but directly can be decoded, because in this solution, the FEC information bit and the FEC overhead bit can arrive at the receiving end together, that is to say, the scheme can not only reduce the delay but also save RAM resources. Embodiment 2
本实施例将从帧格式解匹配装置的角度进行描述。  This embodiment will be described from the perspective of a frame format de-matching device.
一种将帧结构解匹配成 FEC码字的方法, 包括: 接收帧结构匹配后的信 号, 其中, 该帧结构匹配后的信号为通过 OTU帧结构传输的信号; 确定帧结 构匹配后的信号所采用的 OTU帧结构的帧长, 以及确定 FEC码字的码长; 根 据确定的帧长和码长计算 OTU帧结构中每一行可承载的 FEC码字的数量;按 照所述可承载的 FEC码字的数量对该帧结构匹配后的信号进行提取,得到 FEC 编码后信号。 A method for de-matching a frame structure into an FEC codeword, comprising: receiving a signal with a frame structure matching, wherein the signal matched by the frame structure is a signal transmitted through an OTU frame structure; determining a signal structure after the frame structure is matched The frame length of the adopted OTU frame structure, and determining the code length of the FEC codeword; calculating the number of FEC codewords that can be carried in each row of the OTU frame structure according to the determined frame length and code length; The frame-matched signal is extracted according to the number of FEC codewords that can be carried, to obtain an FEC-encoded signal.
如图 2所示, 具体流程可以如下:  As shown in Figure 2, the specific process can be as follows:
201、 接收帧结构匹配后的信号;  201. Receive a signal after the frame structure is matched.
其中, 该帧结构匹配后的信号为采用实施例一中的 "将 FEC码字匹配成 帧结构的方法" 所得到的光信号, 即, 该帧结构匹配后的信号是通过 OTU帧 结构传输的信号, 具体可参见实施例一, 在此不再赘述。  The signal matched by the frame structure is an optical signal obtained by using the method of “matching the FEC codeword into a frame structure” in the first embodiment, that is, the signal matched by the frame structure is transmitted through the OTU frame structure. For details, refer to the first embodiment, and details are not described herein again.
202、 确定帧结构匹配后的信号所采用的 OTU 帧结构的帧长, 以及确定 FEC码字的码长。  202. Determine a frame length of an OTU frame structure used by the frame structure matched signal, and determine a code length of the FEC codeword.
其中,每一个 FEC码字具体可以包括 FEC信息位和 FEC开销位, 而 FEC 码字码长, 指的是 FEC信息位和 FEC开销位的总位宽, 即, 步骤 "确定 FEC 码字的码长" 具体可以为:  Each FEC codeword may specifically include an FEC information bit and an FEC overhead bit, and the FEC codeword code length refers to a total bit width of the FEC information bit and the FEC overhead bit, that is, the step "determines the code of the FEC codeword. The length can be:
确定 FEC信息位和 FEC开销位的总位宽。  Determine the total bit width of the FEC information bit and the FEC overhead bit.
203、 根据确定 OTU帧结构的帧长和码长计算 OTU帧结构中每一行可承 载的 FEC码字的数量; 例如, 具体可以如下:  203. Calculate, according to the frame length and the code length of the OTU frame structure, the number of FEC codewords that can be carried in each row in the OTU frame structure; for example, the specifics may be as follows:
根据步骤 202中确认的 OTU帧结构的帧长和总位宽计算光传送单元帧结 构中每一行可承载的 FEC码字的数量。  The number of FEC codewords that can be carried in each row in the optical transport unit frame structure is calculated based on the frame length and total bit width of the OTU frame structure confirmed in step 202.
例如, 以 7%的 FEC码字 RS ( 255, 239 )为例, 其中, 信息位位于 1~239 位(bits ) 的位置, 共有 239bits, 而开销位位于 240~255 bits的位置, 共有 16 bits, 则可知, 该 FEC码字的码长为 255 bits。 若 OTU帧结构的帧长为 4080 字节, 即: 4080*8=32640bits, 则 OTU帧结构的每一行可承载的 FEC码字的 数量为: 32640/255=128个。  For example, take 7% of the FEC codewords RS (255, 239) as an example. The information bits are located at positions from 1 to 239 bits (bits), which have 239 bits, and the overhead bits are located at 240 to 255 bits, for a total of 16 bits. , it can be seen that the code length of the FEC codeword is 255 bits. If the frame length of the OTU frame structure is 4080 bytes, that is, 4080*8=32640 bits, the number of FEC codewords that can be carried in each row of the OTU frame structure is: 32640/255=128.
又例如, 以 20%的 FEC码字 BCH ( 336, 280 )为例, 其中, 信息位位于 1~280位 ( bits ) 的位置, 共有 280bits, 而开销位位于 281~336 bits的位置, 共有 56 bits, 则可知, 该 FEC码字的码长为 366bits。 若 OTU帧结构的帧长为 4600字节, 即: 4600*8=36800bits, 则 OTU帧结构每一行可承载的 FEC码字 的数量为: 36800/336 , 即约为 110个, 其中, 第 110个码字只有 72 bits的信 息位和 56位的开销位。  For another example, the 20% FEC code word BCH ( 336, 280 ) is taken as an example, wherein the information bits are located at positions of 1 to 280 bits (bits), and there are 280 bits, and the overhead bits are located at 281 to 336 bits. Bits, then the code length of the FEC codeword is 366 bits. If the frame length of the OTU frame structure is 4600 bytes, that is, 4600*8=36800 bits, the number of FEC codewords that can be carried in each line of the OTU frame structure is: 36800/336, that is, about 110, where, the 110th The codewords have only 72 bits of information bits and 56 bits of overhead bits.
204、 按照 OTU帧结构中每一行可承载的 FEC码字的数量对步骤 201中 接收到的帧结构匹配后的信号进行提取, 得到 FEC编码后信号。 204. According to the number of FEC codewords that can be carried in each row in the OTU frame structure, in step 201. The received frame structure matched signal is extracted to obtain an FEC encoded signal.
此外, 在根据每一行帧可承载的 FEC码字的数量对帧结构匹配后的信号 进行提取, 得到 FEC编码后信号 (即步骤 202 )之后, 还可以包括:  In addition, after the frame-matched signal is extracted according to the number of FEC codewords that can be carried in each row of frames, the FEC-encoded signal is obtained (ie, step 202), and may further include:
对 FEC编码后信号进行 FEC解码, 得到 FEC解码后信号; 对 FEC解码 后信号中的每一个 FEC码字进行 FEC开销位的截位, 得到 FEC信息位。  The FEC encoded signal is FEC decoded to obtain the FEC decoded signal; the FEC overhead bit is truncated for each FEC codeword in the FEC decoded signal to obtain the FEC information bit.
比如, 以 7%的 FEC码字 RS ( 255, 239 )为例, 此时需要将 FEC码字的 码长 255bits截去后 16bits, 得到 239 bits的信息位。  For example, taking 7% of the FEC codeword RS (255, 239) as an example, the code length of the FEC codeword needs to be truncated by 16 bits to obtain 239 bits of information bits.
由上可知,本实施例是与实施例一所提供的将前向纠错码字匹配成帧结构 的方法相对应的解匹配方法, 由于在本方案中, FEC信息位和 FEC开销位可 以一起到达信号接收端, 然后由帧格式解匹配装置以一个 FEC码字为单位对 接收到的帧结构匹配后的信号进行解匹配, 所以可以无需采用大量的 RAM来 存储 FEC信息位和 FEC开销位, 以等待 FEC信息位和 FEC开销位到齐后才 进行译码, 而是直接就能够进行译码, 也就是说, 采用该方案, 不仅可以减少 延时, 而且还可以节省 RAM资源。 根据实施例一和二所描述的方法, 以下将以 OTU为例, 在实施例三和四 中作进一步详细说明。 实施例三、  It can be seen from the above that the present embodiment is a de-matching method corresponding to the method for matching the forward error correction codeword into a frame structure provided in Embodiment 1, because in this solution, the FEC information bit and the FEC overhead bit can be together. Arriving at the signal receiving end, the frame format de-matching device then de-interleaves the received frame structure-matched signals in units of one FEC codeword, so that a large amount of RAM is not required to store the FEC information bits and the FEC overhead bits. After waiting for the FEC information bit and the FEC overhead bit to be decoded, the decoding can be performed directly, that is to say, the scheme can not only reduce the delay but also save the RAM resources. According to the methods described in Embodiments 1 and 2, the OTU will be exemplified below, and will be further described in detail in Embodiments 3 and 4. Embodiment 3
如图 3a所示, 该图为 FEC的帧结构匹配系统的场景示意图, 在该系统中, 包括将 FEC码字匹配成帧结构的装置和将帧结构解匹配成 FEC码字的装置, 如 下:  As shown in FIG. 3a, the figure is a schematic diagram of a scene structure matching system of an FEC. In the system, a device for matching an FEC codeword into a frame structure and a device for dematching a frame structure into an FEC codeword are as follows:
将 FEC码字匹配成帧结构的装置可以包括波分侧的帧结构匹配发射端 ( wdm_frame_match_tx ) , 此夕卜, 还可以包括客户侧的帧结构匹配接收端 ( cli_frame_match_rx ) 、 多路解复用模块( Multi-lane Distributor ) 、 FEC编码 模块( Fec_Encoder ) 、 多路复用模块 ( Multi-lane Plexer )和交织模块 ( Inter leaver ) 。  The device for matching the FEC codeword into the frame structure may include a frame structure matching transmitting end (wdm_frame_match_tx) on the wavelength division side, and may further include a frame structure matching receiving end (cli_frame_match_rx) on the client side, and a demultiplexing module. (Multi-lane Distributor), FEC coding module (Fec_Encoder), multiplexer module (Multi-lane Plexer) and interleave module (Inter leaver).
将帧结构解匹配成 FEC码字的装置可以包括波分侧的帧结构匹配接收端 ( wdm_frame_match_rx ) , 此夕卜, 还可以包括客户侧的帧结构匹配发射端 ( cli_frame_match_tx )、 多路复用模块、 FEC解码模块、 多路解复用模块和解 交织模块 ( De-Inter leaver ) 。 以上各个模块的功能具体可以如下: The apparatus for de-matching the frame structure to the FEC codeword may include a frame structure matching receiving end (wdm_frame_match_rx) on the wavelength division side, and may further include a frame structure matching transmitting end (cli_frame_match_tx) on the client side, and a multiplexing module. , FEC decoding module, demultiplexing module and de-interleaving module (De-Inter leaver). The functions of the above modules can be as follows:
(1)客户侧的帧结构匹配接收端: 主要实现 OTUk帧的并行处理位宽到 FEC的信息位长的转换;  (1) The frame structure of the client side matches the receiving end: mainly realizes the conversion of the bit width of the OTUk frame to the information bit length of the FEC;
(2)客户侧的帧结构匹配发射端: 主要实现 FEC的信息位长到 OTUk帧的 并行处理位宽的转换;  (2) The frame structure of the client side matches the transmitting end: mainly realizes the conversion of the information bit length of the FEC to the parallel processing bit width of the OTUk frame;
(3)波分侧的帧结构匹配发射端: 主要实现 FEC码字的码长到 OTUk帧的 并行处理位宽的转换;  (3) The frame structure of the wavelength division side matches the transmitting end: mainly realizes the conversion of the code length of the FEC code word to the parallel processing bit width of the OTUk frame;
(4) 波分侧的帧结构匹配接收端: 主要实现 OTUk帧的并行处理位宽到 FEC码字的码长的转换;  (4) The frame structure of the wavelength division side matches the receiving end: mainly realizes the conversion of the bit width of the OTUk frame to the code length of the FEC code word;
(5) FEC编码模块: 主要用于对信号进行 FEC的编码;  (5) FEC coding module: mainly used for encoding the signal by FEC;
(6) FEC解码模块: 主要用于对信号进行 FEC的解码;  (6) FEC decoding module: mainly used for decoding FEC signals;
(7) 多路复用模块: 主要用于对信号进行复用;  (7) Multiplexing module: mainly used to multiplex signals;
(8)解复用模块: 主要用于对信号进行解复用;  (8) Demultiplexing module: mainly used for demultiplexing signals;
(9) 交织模块: 主要用于信号进行交织;  (9) Interleaving module: mainly used for signal interleaving;
(10)解交织模块, 对信号进行解交织。  (10) Deinterleave module, deinterleaving the signal.
以下将以 10G光通信系统中的 7% FEC码字 RS (255, 239) 为例, 对上述 FEC的帧结构匹配系统的具体执行流程进行说明。  The following describes the specific execution flow of the FEC frame structure matching system by taking the 7% FEC codeword RS (255, 239) in the 10G optical communication system as an example.
(一 )将 FEC码字匹配成帧结构;  (1) matching the FEC codewords into a frame structure;
参见图 3b , 将 FEC码字匹配成帧结构的方法的流程具体可以如下:  Referring to FIG. 3b, the process of matching the FEC codewords into a frame structure may be as follows:
A301、 客户侧的帧结构匹配接收端接收光信号, 其中, 该光信号以 OTUk 帧的形式进行传递。  A301. The frame structure on the client side matches the receiving end to receive the optical signal, where the optical signal is transmitted in the form of an OTUk frame.
A302、客户侧的帧结构匹配接收端对接收到的光信号进行 OTUk帧并行处 理位宽 m到 FEC信息位长 k的转换, 然后将转换后的光信号输送给 FEC编码模 块。  A302. The frame structure matching on the client side performs the conversion of the OTUk frame parallel processing bit width m to the FEC information bit length k on the received optical signal, and then the converted optical signal is sent to the FEC encoding module.
其中, 该 OTUk帧的帧长为 4080字节, 而 OTUk帧的并行处理位宽 m为 64bits, FEC信息位长 k为 239bits。  The frame length of the OTUk frame is 4080 bytes, and the parallel processing bit width m of the OTUk frame is 64 bits, and the FEC information bit length k is 239 bits.
可选的, 为了提高该 FEC的帧结构匹配系统的处理效率, 可以对接收到的 OTUk帧进行一定处理,以实现编码前提速,比如,可以将 OTUk帧中的 1 ~ 3824 字节作为 FEC信息位, 而 3824 ~ 4080字节则均填上零。 当然, 在将转换后的光信号输送给 FEC编码模块之前, 还可以由多路复用 模块对该转换后的光信号进行复用, 然后再将复用后的光信号传送给 FEC编码 模块。 Optionally, in order to improve the processing efficiency of the FEC frame structure matching system, the received OTUk frame may be processed to achieve a coding precondition, for example, 1 to 3824 bytes in the OTUk frame may be used as the FEC information. Bits, and 3824 ~ 4080 bytes are filled with zero. Of course, before the converted optical signal is sent to the FEC encoding module, the converted optical signal may be multiplexed by the multiplexing module, and then the multiplexed optical signal is transmitted to the FEC encoding module.
A303、 FEC编码模块对步骤 A302输送过来的光信号进行 FEC编码, 得到 FEC编码后信号, 将 FEC编码后信号传送给波分侧的帧结构匹配发射端。  The A303 and the FEC encoding module perform FEC encoding on the optical signal sent in step A302 to obtain a FEC encoded signal, and transmit the FEC encoded signal to the frame structure of the wavelength division side to match the transmitting end.
需说明的是, 如果在步骤 A302中对转换后的 OTUk帧进行了复用, 则此时 需要由多路解复用模块对 FEC编码后信号进行解复用, 此外, 还可以由交织模 块对解复用后的光信号进行交织处理, 以达到抗突发误码的作用。  It should be noted that, if the converted OTUk frame is multiplexed in step A302, the FEC encoded signal needs to be demultiplexed by the demultiplexing module at this time, and the interleaving module may also be used. The demultiplexed optical signal is interleaved to achieve anti-burst error.
A304、 波分侧的帧结构匹配发射端接收步骤 A303传送过来的 FEC编码后 信号, 确定 FEC码字的码长, 以及确定 OTUk的帧长。  A304. The frame structure matching on the wavelength division side receives the FEC encoded signal transmitted in step A303, determines the code length of the FEC codeword, and determines the frame length of the OTUk.
例如, 由于在本实施例中, 所采用的是 7% FEC码字 RS ( 255 , 239 ) , 所 以, FEC码字的码长为 255bits, OTUk的帧长为 4080字节。  For example, since the 7% FEC codeword RS (255, 239) is used in the present embodiment, the code length of the FEC codeword is 255 bits, and the frame length of the OTUk is 4080 bytes.
A305、 波分侧的帧结构匹配发射端根据确定的 FEC码字的码长和 OTUk的 帧长计算 OTUk帧中每一行可承载的 FEC码字的数量。  A305. The frame structure matching transmitter on the wavelength division side calculates the number of FEC codewords that can be carried in each row in the OTUk frame according to the determined code length of the FEC codeword and the frame length of the OTUk.
例如, 在步骤 A304中, 已经确定 FEC码字的码长为 255bits, OTUk的帧长 为 4080字节(即 32640bits ) , 所以, 由 "码字数量 =帧长 /码长"可知, OTUk 帧的每一行可承载 128个码字, 即每 128个 FEC码字构成 OTUk帧的一行。  For example, in step A304, it has been determined that the code length of the FEC codeword is 255 bits, and the frame length of the OTUk is 4080 bytes (ie, 32640 bits), so, by "number of codewords = frame length / code length", the OTUk frame is known. Each row can carry 128 codewords, that is, every 128 FEC codewords form a row of an OTUk frame.
A306、 波分侧的帧结构匹配发射端按照 OTUk帧每一行可承载的 FEC码字 的数量将 FEC编码后信号匹配到 OTUk帧中, 即按照每一行 128个 FEC码字的方 式将 FEC编码后信号匹配到 OTUk帧中, 具体可参见图 3c。  A306. The frame structure matching on the wavelength division side matches the FEC encoded signal to the OTUk frame according to the number of FEC codewords that can be carried in each row of the OTUk frame, that is, the FEC is encoded according to the 128 FEC codewords in each row. The signal is matched into the OTUk frame, as shown in Figure 3c.
也就是说,此时并不把 FEC信息位和 FEC开销位分开进行放置,而是将 FEC 信息位和 FEC开销位作为整体放置在一起, 这样, 在传输该 OTUk帧时, FEC 信息位和 FEC开销位将会一起到达信号接收端。  That is to say, the FEC information bits and the FEC overhead bits are not placed separately, but the FEC information bits and the FEC overhead bits are placed together as a whole, so that when the OTUk frame is transmitted, the FEC information bits and the FEC are placed. The overhead bits will arrive at the signal receiver together.
其中, 具体可以采用如下方法, 将 FEC编码后信号匹配到 OTUk帧中去, :¾口下:  Specifically, the following method may be used to match the FEC encoded signal to the OTUk frame, and: 3⁄4 port:
例如, 可以先将 FEC码字的码长匹配成 OTUk的并行处理位宽, 然后再将 FEC码字依次填入 OTUk帧中, 其中, OTUk帧的每一行可承载 128个 FEC码字。  For example, the code length of the FEC codeword can be first matched to the parallel processing bit width of the OTUk, and then the FEC codeword is sequentially filled into the OTUk frame, wherein each row of the OTUk frame can carry 128 FEC codewords.
由于 FEC码字的码长为 255bits, OTUk的并行处理位宽为 64 bits, 所以, 参 见图 3d, 具体可以由第一位宽转换模块来实现该操作, 该第一位宽转换模块包 括 4个位宽为 255bits的移位寄存器 D, 以及一个线程计数器( Line_cnt ) 、 一个 匹配计数器(Match_Ctrl )和两个信号选择器。 这相对于现有技术中需要采用 8 个位宽为 255bits的移位寄存器 D, 以及一个线程计数器( Line_cnt ) 、 两个匹 配计数器(Match_Ctrl )和两个信号选择器而言, 可以节省 4个移位寄存器 D, 即可以节约 4个 RAM (因为现有技术需要将信息位和开销位分开进行处理, 所 以需要双份的设备) 。 Since the code length of the FEC codeword is 255 bits, the parallel processing bit width of the OTUk is 64 bits. Therefore, referring to FIG. 3d, the operation may be implemented by a first bit width conversion module, the first bit width conversion module package. Four shift registers D with a bit width of 255 bits are included, as well as a thread counter (Line_cnt), a match counter (Match_Ctrl), and two signal selectors. This saves 4 shifts compared to the prior art requiring 8 shift registers D with a bit width of 255 bits, and a thread counter (Line_cnt), two match counters (Match_Ctrl), and two signal selectors. Bit register D, which saves 4 RAMs (because the prior art requires separate processing of information bits and overhead bits, it requires duplicate devices).
(二)将帧结构解匹配成 FEC码字;  (2) De-matching the frame structure to the FEC codeword;
参见图 3e , 将帧结构解匹配成 FEC码字的方法的流程具体可以如下: B301、 波分侧的帧结构匹配接收端接收帧结构匹配后的信号, 其中, 该 帧结构匹配后的信号为经过步骤 A306处理后所输出的 OTUk帧。  Referring to FIG. 3e, the process of the method for de-matching the frame structure into the FEC codeword may be as follows: B301. The frame structure on the wavelength division side matches the signal received by the receiving end to receive the frame structure, where the frame structure is matched. The OTUk frame output after the processing in step A306.
B302、 波分侧的帧结构匹配接收端确定 FEC码字的码长, 以及确定 OTUk 的帧长。  B302. The frame structure of the wavelength division side matches the receiving end to determine the code length of the FEC codeword, and determines the frame length of the OTUk.
例如, 由于在本实施例中, 所采用的是 7% FEC码字 RS ( 255 , 239 ) , 所 以, FEC码字的码长为 255bits, OTUk的帧长为 4080字节。  For example, since the 7% FEC codeword RS (255, 239) is used in the present embodiment, the code length of the FEC codeword is 255 bits, and the frame length of the OTUk is 4080 bytes.
B303、 波分侧的帧结构匹配接收端根据确定的 FEC码字的码长和 OTUk的 帧长计算 OTUk帧每一行可承载的 FEC码字的数量。  B303. The frame structure matching receiving end of the wavelength division side calculates the number of FEC codewords that can be carried in each row of the OTUk frame according to the determined code length of the FEC codeword and the frame length of the OTUk.
例如, 在步骤 B302中, 已经确定 FEC码字的码长为 255bits, OTUk的帧长 为 4080字节(即 32640bits ) , 所以, 由 "码字数量 =帧长 /码长"可知, OTUk 帧每一行可承载 128个码字, 即每 128个 FEC码字构成 OTUk帧的一行。  For example, in step B302, it has been determined that the code length of the FEC codeword is 255 bits, and the frame length of the OTUk is 4080 bytes (ie, 32640 bits). Therefore, by "number of codewords = frame length / code length", OTUk frames are known. A row can carry 128 codewords, that is, every 128 FEC codewords form a row of an OTUk frame.
B304、 波分侧的帧结构匹配接收端按照 OTUk帧每一行可承载的 FEC码字 的数量对步骤 B301中接收到的 OTUk帧进行提取, 得到 FEC编码后信号, 即按 照每一行 128个 FEC码字的方式对步骤 B301中接收到的帧结构匹配后的信号进 行提取, 得到 FEC编码后信号。  B304, the frame structure matching on the wavelength division side, the receiving end extracts the OTUk frame received in step B301 according to the number of FEC codewords that can be carried in each row of the OTUk frame, and obtains the FEC encoded signal, that is, 128 FEC codes per row. The manner of the word extracts the signal matched by the frame structure received in step B301, and obtains the FEC encoded signal.
例如, 可以先将 OTUk的并行处理位宽匹配成 FEC码字的码长, 然后再从 OTUk帧中提取出相应的信号, 得到 FEC编码后信号。  For example, the parallel processing bit width of the OTUk can be first matched to the code length of the FEC codeword, and then the corresponding signal is extracted from the OTUk frame to obtain the FEC encoded signal.
由于 OTUk的并行处理位宽为 64 bits, FEC码字的码长为 255bits, 所以, 参 见图 3f, 具体可以由第二位宽转换模块来实现该操作, 该第二位宽转换模块可 以包括 4个位宽为 255bits的移位寄存器 D, 以及一个线程计数器( Line_cnt ) 、 一个匹配计数器(Match_Ctrl )和两个信号选择器。 这相对于现有技术中需要 采用 8个位宽为 255bits的移位寄存器 D, 以及一个线程计数器( Line_cnt ) 、 两 个匹配计数器(Match_Ctrl )和两个信号选择器而言, 可以节省 4个移位寄存器 D, 即可以节省 4个 RAM (因为现有技术需要将信息位和开销位分开进行处理, 所以需要双份的设备)。 与此同时, 由于在接收到信息位时, 也接收到了开销 位,译码器不需要再等待,而是每接收到 255bits的信号就可以直接译码,所以, 相对于现有技术而言, 还可以节约大约 10微秒( ) 的时延, 而且, 由于译 码器不需要再等待, 所以也不需要 RAM进行存储, 可以节省 6个 RAM的数量, 即总共可以节省约 10个的 RAM。 Since the parallel processing bit width of the OTUk is 64 bits, and the code length of the FEC codeword is 255 bits, therefore, referring to FIG. 3f, the operation may be specifically implemented by the second bit width conversion module, and the second bit width conversion module may include 4 A shift register D with a bit width of 255 bits, and a thread counter (Line_cnt), a match counter (Match_Ctrl), and two signal selectors. This is relative to the needs of the prior art Using 8 shift registers D with a bit width of 255 bits, and a thread counter (Line_cnt), two match counters (Match_Ctrl) and two signal selectors, you can save 4 shift registers D, which saves 4 RAM (because the prior art requires separate processing of information bits and overhead bits, a duplicate device is required). At the same time, since the overhead bit is received when the information bit is received, the decoder does not need to wait any more, but can directly decode the signal every time 255 bits are received, so compared with the prior art, It also saves about 10 microseconds ( ) and, since the decoder does not need to wait any longer, it does not require RAM for storage, saving up to 6 RAMs, which means a total of about 10 RAM can be saved.
B305、 FEC解码模块对 FEC编码后信号进行 FEC解码, 得到 FEC解码后信 号, 将 FEC解码后信号传送给客户侧的帧结构匹配发射端。  The B305 and FEC decoding modules perform FEC decoding on the FEC encoded signal to obtain a FEC decoded signal, and transmit the FEC decoded signal to the client side frame structure matching transmitting end.
B306、 客户侧的帧结构匹配发射端对 FEC解码后信号进行截位, 得到 FEC 信息位, 即将 FEC的码长 255bits截位后 16bits的开销位, 得到前 239bits的信息 位, 然后将 239bits的信息位转换成处理位宽为 64bits的 OTUk帧, 即在 OTUk帧 中, 只保留 FEC的信息位, 而将 FEC的开销位丟弃, 3824 ~ 4080字节的位置 则仍然填零, 这样, 就可以得到与步骤 A301所接收到的光信号具有同样结构 的信号了。  B306, the frame structure matching on the client side intercepts the signal after the FEC decoding, and obtains the FEC information bit, that is, the Fbit code length of 255 bits is truncated after 16 bits of the overhead bit, and the information bit of the first 239 bits is obtained, and then the information of 239 bits is obtained. The bit is converted into an OTUk frame with a processing bit width of 64 bits, that is, in the OTUk frame, only the information bits of the FEC are reserved, and the overhead bits of the FEC are discarded, and the positions of 3824 to 4080 bytes are still filled in, so that A signal having the same structure as the optical signal received in step A301 is obtained.
需说明的是, 如果在信号发送端曾经对光信号进行过交织, 则在得到 FEC 编码后信号(即步骤 B304 )之后, 还需要由解交织模块对该 FEC编码后信号进 行解交织, 此外, 还可以由多路复用模块对解交织后的光信号进行复用, 然后 才输送给 FEC解码模块进行解码, 然后再由多路解复用模块对 FEC解码后信号 进行解复用, 最后才输送给客户侧的帧结构匹配发射端以进行处理。  It should be noted that, if the optical signal is interleaved at the signal transmitting end, after the FEC encoded signal is obtained (ie, step B304), the FEC encoded signal needs to be deinterleaved by the deinterleaving module. The deinterleaved optical signal can also be multiplexed by the multiplexing module, and then sent to the FEC decoding module for decoding, and then the FEC decoded signal is demultiplexed by the demultiplexing module, and finally The frame structure delivered to the client side matches the transmitting end for processing.
由上可知, 本实施例采用以一个 FEC码字为单位的方式将 FEC编码后信 号匹配到 OTUk帧中, 所以, 相对于现有技术中需要将 FEC码字的信息位和 开销位分开放置到 OTUk帧中而言,信号接收端在接收该 OTUk帧时,无需采 用大量的 RAM来存储 FEC信息位和 FEC开销位,以等待 FEC信息位和 FEC 开销位到齐后才进行译码, 而是直接就能够进行译码, 因为在本方案中, FEC 信息位和 FEC开销位可以一起到达接收端的, 也就是说, 采用该方案, 不仅 可以减少延时, 而且还可以节省 RAM资源, 进一步的, 由于可以减少 RAM 的数量, 所以 FEC帧结构匹配系统的结构也相对较为筒化。 实施例四、 As can be seen from the above, the FEC encoded signal is matched to the OTUk frame in a manner of one FEC codeword. Therefore, the information bit and the overhead bit of the FEC codeword need to be separately placed in the prior art. In the OTUk frame, when receiving the OTUk frame, the signal receiving end does not need to use a large amount of RAM to store the FEC information bits and the FEC overhead bits, so as to wait for the FEC information bits and the FEC overhead bits to be aligned before decoding, It can be decoded directly, because in this scheme, the FEC information bit and the FEC overhead bit can reach the receiving end together, that is to say, by adopting this scheme, not only the delay can be reduced, but also the RAM resource can be saved. Further, Since the amount of RAM can be reduced, the structure of the FEC frame structure matching system is relatively relatively compact. Embodiment 4
与实施例三相同的是, 本实施例还是以图 3a所示的 FEC的帧结构匹配系 统为例, 不同的是, 在本实施例中, 将以用于 10G海缆系统中 20% FEC码字 BCH ( 336, 280 ) 为例进行说明。  The same as the third embodiment, the embodiment also takes the FEC frame structure matching system shown in FIG. 3a as an example, except that in this embodiment, it will be used for the 20% FEC code in the 10G submarine cable system. The word BCH ( 336, 280 ) is taken as an example for explanation.
(一 )将 FEC码字匹配成帧结构;  (1) matching the FEC codewords into a frame structure;
参见图 4a, 将 FEC码字匹配成帧结构的方法的流程具体可以如下:  Referring to FIG. 4a, the process of matching the FEC codewords into a frame structure may be specifically as follows:
A401、 客户侧的帧结构匹配接收端接收光信号, 其中, 该光信号以 OTUk 帧的形式进行传递。  A401. The frame structure on the client side matches the receiving end to receive the optical signal, where the optical signal is transmitted in the form of an OTUk frame.
A402、客户侧的帧结构匹配接收端并对接收到的光信号进行 OTUk帧并行 处理位宽 m到 FEC信息位长 k的转换,然后将转换后的光信号输送给 FEC编码模 块。  A402. The frame structure on the client side matches the receiving end and performs OTUk frame parallel processing on the received optical signal to convert the bit width m to the FEC information bit length k, and then delivers the converted optical signal to the FEC encoding module.
其中, 该 OTUk的帧长为 4600字节, 而 OTUk的并行处理位宽 m为 64bits, FEC信息位长 k为 280bits。  The frame length of the OTUk is 4600 bytes, and the parallel processing bit width m of the OTUk is 64 bits, and the FEC information bit length k is 280 bits.
可选的, 为了提高该 FEC的帧结构匹配系统的处理效率, 可以对接收到的 光信号进行一定处理, 以实现编码前提速, 比如, 可以将 OTUk中的 1 ~ 3824 字节作为 FEC信息位, 而 3824 ~ 4600字节则均填上零。  Optionally, in order to improve the processing efficiency of the FEC frame structure matching system, the received optical signal may be processed to achieve a coding precondition, for example, 1 to 3824 bytes in the OTUk may be used as the FEC information bit. , and 3824 ~ 4600 bytes are filled with zero.
当然, 在将转换后的光信号输送给 FEC编码模块之前, 还可以由多路复用 模块对该转换后的光信号进行复用, 然后再将复用后的光信号传送给 FEC编码 模块。  Of course, before converting the converted optical signal to the FEC encoding module, the converted optical signal may be multiplexed by the multiplexing module, and then the multiplexed optical signal is transmitted to the FEC encoding module.
A403、 FEC编码模块对步骤 A402输送过来的光信号进行 FEC编码, 得到 FEC编码后信号, 将 FEC编码后信号传送给波分侧的帧结构匹配发射端。  A403. The FEC encoding module performs FEC encoding on the optical signal sent in step A402 to obtain a FEC encoded signal, and transmits the FEC encoded signal to the frame structure of the wavelength division side to match the transmitting end.
需说明的是, 如果在步骤 A402中对转换后的光信号进行了复用, 则此时 需要由多路解复用模块对 FEC编码后信号进行解复用, 此外, 还可以由交织模 块对解复用后的光信号进行交织处理, 以达到抗突发误码的作用。  It should be noted that, if the converted optical signal is multiplexed in step A402, the FEC encoded signal needs to be demultiplexed by the demultiplexing module at this time, and the interleaving module may also be used. The demultiplexed optical signal is interleaved to achieve anti-burst error.
A404、 波分侧的帧结构匹配发射端接收步骤 A402传送过来的 FEC编码后 信号, 确定 FEC码字的码长, 以及确定 OTUk的帧长。  A404. The frame structure matching on the wavelength division side receives the FEC encoded signal transmitted in step A402, determines the code length of the FEC codeword, and determines the frame length of the OTUk.
例如, 由于在本实施例中, 所采用的是 20% FEC码字 RS ( 336, 280 ) , 所以, FEC码字的码长为 336bits, OTUk的帧长为 4600字节。  For example, since the 20% FEC code word RS ( 336, 280 ) is used in the present embodiment, the code length of the FEC code word is 336 bits, and the frame length of the OTUk is 4600 bytes.
A405、 波分侧的帧结构匹配发射端根据确定的 FEC码字的码长和 OTUk的 帧长计算 OTUk帧每一行可承载的 FEC码字的数量。 A405, the frame structure of the wavelength division side matches the transmitting end according to the determined code length of the FEC codeword and the OTUk The frame length calculates the number of FEC codewords that can be carried in each row of the OTUk frame.
例如, 在步骤 A404中, 已经确定 FEC码字的码长为 336bits, OTUk的帧长 为 4600字节(即 36800bits ) , 所以, 由 "码字数量 =帧长 /码长"可知, OTUk 帧每一行可承载约 110个码字, 即每 110个 FEC码字构成 OTUk帧的一行。  For example, in step A404, it has been determined that the code length of the FEC codeword is 336 bits, and the frame length of the OTUk is 4600 bytes (ie, 36800 bits). Therefore, by "number of codewords = frame length / code length", OTUk frames are known. A row can carry about 110 codewords, that is, every 110 FEC codewords form a row of an OTUk frame.
需说明的是, 由于此时 OTUk的帧长并不是 FEC码字的码长的整数倍, 所 以, 最后一个码字, 即第 110个码字的 FEC码字的码长, 并且, 每行 OTUk帧的 后 48 bits固定填充为 0。  It should be noted that, since the frame length of the OTUk is not an integer multiple of the code length of the FEC codeword, the last codeword, that is, the code length of the FEC codeword of the 110th codeword, and each row of OTUk The last 48 bits of the frame are fixedly padded to zero.
A406、 波分侧的帧结构匹配发射端按照 OTUk帧每一行可承载的 FEC码字 的数量将 FEC编码后信号匹配到 OTUk帧中, 即按照每一行 110个 FEC码字的方 式将 FEC编码后信号匹配到 OTUk帧中 , 具体可参见图 4b。  A406. The frame structure matching on the wavelength division side matches the FEC encoded signal in the OTUk frame according to the number of FEC codewords that can be carried in each row of the OTUk frame, that is, the FEC is encoded according to the manner of 110 FEC codewords per row. The signal is matched into the OTUk frame. See Figure 4b for details.
也就是说,此时并不把 FEC信息位和 FEC开销位分开进行放置,而是将 FEC 信息位和 FEC开销位作为整体放置在一起, 这样, 在传输该 OTUk帧时, FEC 信息位和 FEC开销位将会一起到达信号接收端。  That is to say, the FEC information bits and the FEC overhead bits are not placed separately, but the FEC information bits and the FEC overhead bits are placed together as a whole, so that when the OTUk frame is transmitted, the FEC information bits and the FEC are placed. The overhead bits will arrive at the signal receiver together.
其中, 具体可以采用如下方法, 将 FEC编码后信号匹配到 OTUk帧中去, :¾口下:  Specifically, the following method may be used to match the FEC encoded signal to the OTUk frame, and: 3⁄4 port:
例如, 可以先将 FEC码字的码长匹配成 OTUk的并行处理位宽, 然后再将 FEC码字依次填入 OTUk帧中, 其中, OTUk帧每一行可承载 110个 FEC码字。  For example, the code length of the FEC codeword can be first matched to the parallel processing bit width of the OTUk, and then the FEC codeword is sequentially filled into the OTUk frame, wherein each row of the OTUk frame can carry 110 FEC codewords.
由于 FEC码字的码长为 336bits, OTUk的并行处理位宽为 64 bits, 所以, 参 见图 4c, 具体可以由第三位宽转换模块来实现该操作, 该第三位宽转换模块可 以包括 6个位宽为 336bits的移位寄存器 D, 以及一个线程计数器( Line_cnt ) 、 一个匹配计数器(Match_Ctrl )和两个信号选择器。 这相对于现有技术中需要 采用 12个位宽为 255bits的移位寄存器 D, 以及一个线程计数器( Line_cnt ) 、 两个匹配计数器( Match_Ctrl )和两个信号选择器而言, 可以节省 6个移位寄存 器 D, 即可以节约 6个 RAM (因为现有技术需要将信息位和开销位分开进行处 理, 所以需要双份的设备) 。  Since the code length of the FEC codeword is 336 bits, the parallel processing bit width of the OTUk is 64 bits. Therefore, referring to FIG. 4c, the operation may be specifically implemented by a third bit width conversion module, and the third bit width conversion module may include 6 A shift register D having a bit width of 336 bits, and a thread counter (Line_cnt), a matching counter (Match_Ctrl), and two signal selectors. Compared with the prior art, it requires 12 shift registers D with a bit width of 255 bits, and one thread counter (Line_cnt ), two matching counters ( Match_Ctrl ) and two signal selectors, which can save 6 shifts. Bit register D, which saves 6 RAMs (because the prior art requires separate processing of information bits and overhead bits, it requires duplicate devices).
(二)将帧结构解匹配成 FEC码字;  (2) De-matching the frame structure to the FEC codeword;
参见图 4d, 将帧结构解匹配成 FEC码字的方法的流程具体可以如下: B401、 波分侧的帧结构匹配接收端接收帧结构匹配后的信号, 其中, 该 帧结构匹配后的信号为经过步骤 A405处理后所输出的 OTUk帧。 B402、 波分侧的帧结构匹配接收端确定 FEC码字的码长, 以及确定 OTUk 的帧长。 Referring to FIG. 4d, the process of the method for de-matching the frame structure into the FEC codeword may be as follows: B401, the frame structure on the wavelength division side matches the signal received by the receiving end to receive the frame structure, where the signal after the frame structure is matched is The OTUk frame output after the processing in step A405. B402. The frame structure of the wavelength division side matches the receiving end to determine the code length of the FEC codeword, and determines the frame length of the OTUk.
例如, 由于在本实施例中, 所采用的是 20% FEC码字 RS ( 336, 280 ) , 所以, FEC码字的码长为 336bits, OTUk的帧长为 4600字节。  For example, since the 20% FEC code word RS ( 336, 280 ) is used in the present embodiment, the code length of the FEC code word is 336 bits, and the frame length of the OTUk is 4600 bytes.
B403、 波分侧的帧结构匹配接收端根据确定的 FEC码字的码长和 OTUk的 帧长计算 OTUk帧每一行可承载的 FEC码字的数量。  B403. The frame structure matching receiving end of the wavelength division side calculates the number of FEC codewords that can be carried in each row of the OTUk frame according to the determined code length of the FEC codeword and the frame length of the OTUk.
例如, 在步骤 B402中, 已经确定 FEC码字的码长为 336bits, OTUk的帧长 为 4600字节(即 36800bits ) , 所以, 由 "码字数量 =帧长 /码长"可知, OTUk 帧每一行可承载 128个码字, 即每 128个 FEC码字构成 OTUk帧的一行。  For example, in step B402, it has been determined that the code length of the FEC codeword is 336 bits, and the frame length of the OTUk is 4600 bytes (ie, 36800 bits). Therefore, by "number of codewords = frame length / code length", OTUk frames are known. A row can carry 128 codewords, that is, every 128 FEC codewords form a row of an OTUk frame.
B404、 波分侧的帧结构匹配接收端按照 OTUk帧每一行可承载的 FEC码字 的数量对步骤 B401中接收到的 OTUk帧进行提取, 得到 FEC编码后信号, 即按 照每一行 110个 FEC码字的方式对步骤 B401中接收到的 OTUk帧进行提取,得到 FEC编码后信号。  B404, the frame structure matching on the wavelength division side, the receiving end extracts the OTUk frame received in step B401 according to the number of FEC codewords that can be carried in each row of the OTUk frame, and obtains the FEC encoded signal, that is, 110 FEC codes per row. The word mode is extracted from the OTUk frame received in step B401 to obtain an FEC encoded signal.
例如, 可以先将 OTUk的并行处理位宽匹配成 FEC码字的码长, 然后再从 OTUk帧中提取出相应的信号, 得到 FEC编码后信号。  For example, the parallel processing bit width of the OTUk can be first matched to the code length of the FEC codeword, and then the corresponding signal is extracted from the OTUk frame to obtain the FEC encoded signal.
由于 OTUk的并行处理位宽为 64 bits, FEC码字的码长为 336bits, 所以, 参 见图 4e, 具体可以由第四位宽转换模块来实现该操作, 该第四位宽转换模块可 以包括 6个位宽为 336bits的移位寄存器 D, 以及一个线程计数器( Line_cnt ) 、 一个匹配计数器(Match_Ctrl )和两个信号选择器。 这相对于现有技术中需要 采用 12个位宽为 336bits的移位寄存器 D, 以及一个线程计数器( Line_cnt ) 、 两个匹配计数器( Match_Ctrl )和两个信号选择器而言, 可以节省 6个移位寄存 器 D, 即可以节省 6个 RAM (因为现有技术需要将信息位和开销位分开进行处 理, 所以需要双份的设备)。 与此同时, 由于在接收到信息位时, 也接收到了 开销位, 译码器不需要再等待, 而是每接收到 336bits的信号就可以直接译码, 所以, 相对于现有技术而言, 还可以节约大约 10微秒( ) 的时延, 而且, 由于译码器不需要再等待,所以也不需要 RAM进行存储,可以节省 6个 RAM的 数量, 即总共可以节省约 12个的 RAM。  Since the parallel processing bit width of the OTUk is 64 bits, and the code length of the FEC codeword is 336 bits, therefore, referring to FIG. 4e, the operation may be specifically implemented by a fourth bit width conversion module, and the fourth bit width conversion module may include 6 A shift register D having a bit width of 336 bits, and a thread counter (Line_cnt), a matching counter (Match_Ctrl), and two signal selectors. Compared with the prior art, it requires 12 shift registers D with a bit width of 336 bits, and one thread counter (Line_cnt ), two matching counters ( Match_Ctrl ) and two signal selectors, which can save 6 shifts. Bit register D, which saves 6 RAMs (because the prior art requires separate processing of information bits and overhead bits, a duplicate device is required). At the same time, since the overhead bit is received when the information bit is received, the decoder does not need to wait any more, but can directly decode the signal every time it receives the 336 bits, so compared with the prior art, It also saves about 10 microseconds ( ) and, since the decoder does not need to wait, it does not require RAM for storage, saving up to 6 RAMs, which means a total of about 12 RAM can be saved.
B405、 FEC解码模块对 FEC编码后信号进行 FEC解码, 得到 FEC解码后信 号, 将 FEC解码后信号传送给客户侧的帧结构匹配发射端。 B406、 客户侧的帧结构匹配发射端对 FEC解码后信号进行截位, 得到 FEC 信息位, 即将 FEC的码长 336bits截位后 56bits的开销位, 得到前 280bits的信息 位, 然后将 280bits的信息位转换成处理位宽为 64bits的 OTUk帧, 即在 OTUk帧 中, 只保留 FEC的信息位, 而将 FEC的开销位丟弃, 3824 ~ 4600字节的位置 则仍然填零, 这样, 就可以得到与步骤 A401所接收到的光信号具有同样结构 的信号了。 The B405 and the FEC decoding module perform FEC decoding on the FEC encoded signal to obtain a FEC decoded signal, and transmit the FEC decoded signal to the client side frame structure matching transmitting end. B406, the frame structure matching on the client side intercepts the FEC decoded signal, and obtains the FEC information bit, which is the 56 bits overhead bit after the FEC code length is 336 bits, and obtains the information bits of the first 280 bits, and then the information of 280 bits. The bit is converted into an OTUk frame with a processing bit width of 64 bits, that is, in the OTUk frame, only the information bits of the FEC are reserved, and the overhead bits of the FEC are discarded, and the position of 3824 ~ 4600 bytes is still filled with zero, so that A signal having the same structure as the optical signal received in step A401 is obtained.
需说明的是, 如果在信号发送端曾经对光信号进行过交织, 则在得到 FEC 编码后信号(即步骤 B404 )之后, 还需要由解交织模块对该 FEC编码后信号进 行解交织, 此外, 还可以由多路复用模块对解交织后的光信号进行复用, 然后 才输送给 FEC解码模块进行解码, 然后再由多路解复用模块对 FEC解码后信号 进行解复用, 最后才输送给客户侧的帧结构匹配发射端以进行处理。  It should be noted that, if the optical signal is once interleaved at the signal transmitting end, after the FEC encoded signal is obtained (ie, step B404), the FEC encoded signal needs to be deinterleaved by the deinterleaving module. The deinterleaved optical signal can also be multiplexed by the multiplexing module, and then sent to the FEC decoding module for decoding, and then the FEC decoded signal is demultiplexed by the demultiplexing module, and finally The frame structure delivered to the client side matches the transmitting end for processing.
由上可知, 本实施例采用以一个 FEC码字为单位的方式将 FEC编码后信号 匹配到 OTUk帧中, 所以, 相对于现有技术中需要将 FEC码字的信息位和开销 位分开放置进行匹配而言, 信号接收端在接收该 OTUk帧时, 无需采用大量的 RAM来存储 FEC信息位和 FEC开销位,以等待 FEC信息位和 FEC开销位到齐后 才进行译码, 而是直接就能够进行译码, 因为在本方案中, FEC信息位和 FEC 开销位可以一起到达接收端的, 也就是说, 采用该方案, 不仅可以减少延时, 而且还可以节省 RAM资源, 进一步的, 由于可以减少 RAM的数量, 所以 FEC 帧结构匹配系统的结构也相对较为筒化。 需说明的是, 在实施例三和实施例四中, 仅仅以 OTUk帧为例进行说明, 应当理解的是, 除了 OTUk帧之外, 还可以将 FEC匹配到其他的帧结构中去, 其实现方式与此类似, 在此不再赘述。 实施例五、  As can be seen from the above, in this embodiment, the FEC encoded signal is matched to the OTUk frame in a manner of one FEC codeword. Therefore, the information bits and overhead bits of the FEC codeword need to be separately placed in the prior art. In terms of matching, when receiving the OTUk frame, the signal receiving end does not need to use a large amount of RAM to store the FEC information bits and the FEC overhead bits, so as to wait for the FEC information bits and the FEC overhead bits to be aligned before decoding, but directly Capable of decoding, because in this scheme, the FEC information bit and the FEC overhead bit can arrive at the receiving end together, that is, using this scheme can not only reduce the delay but also save RAM resources. Further, since The amount of RAM is reduced, so the structure of the FEC frame structure matching system is relatively relatively flat. It should be noted that, in the third embodiment and the fourth embodiment, only the OTUk frame is taken as an example for description. It should be understood that, besides the OTUk frame, the FEC can be matched to other frame structures, and the implementation thereof is implemented. The method is similar to this, and will not be described here. Embodiment 5
为了更好地实施以上方法, 本发明实施例还相应地提供一种将 FEC码字 匹配成帧结构的装置, 如图 5所示, 该将 FEC码字匹配成帧结构的装置包括 编码单元 501、 确定单元 502、 计算单元 503和匹配单元 504;  In an embodiment of the present invention, an apparatus for matching an FEC codeword into a frame structure is provided. , determining unit 502, calculating unit 503 and matching unit 504;
编码单元 501 , 用于对接收到的光信号进行 FEC编码, 得到 FEC编码后 信号;  The encoding unit 501 is configured to perform FEC encoding on the received optical signal to obtain a FEC encoded signal;
确定单元 502, 用于确定 FEC码字的码长, 以及 OTU帧结构的帧长; 例 如, 该 OTUk帧的帧长具体可以为 4080字节, 也可以为 4600字节, 等等; 计算单元 503, 用于根据确定单元 502确定的码长和帧长计算 OTU帧结 构中每一行可承载的 FEC码字的数量; a determining unit 502, configured to determine a code length of the FEC codeword, and a frame length of the OTU frame structure; For example, the frame length of the OTUk frame may be 4080 bytes, or may be 4600 bytes, and so on; the calculating unit 503 is configured to calculate each line in the OTU frame structure according to the code length and the frame length determined by the determining unit 502. The number of FEC codewords carried;
匹配单元 504, 用于按照计算单元 503得到的 OTU帧结构中每一行可承 载的 FEC码字的数量将 FEC编码后信号匹配到该 OTU帧结构中。  The matching unit 504 is configured to match the FEC encoded signal into the OTU frame structure according to the number of FEC codewords that can be carried in each row in the OTU frame structure obtained by the computing unit 503.
其中,每一个 FEC码字具体可以包括 FEC信息位和 FEC开销位, 而 FEC 码字码长, 指的是 FEC信息位和 FEC开销位的总位宽, 即:  Each FEC codeword may specifically include a FEC information bit and a FEC overhead bit, and the FEC codeword code length refers to a total bit width of the FEC information bit and the FEC overhead bit, that is,
确定单元 502, 具体用于确定 FEC信息位和 FEC开销位的总位宽, 以及 OTU帧结构的帧长;  The determining unit 502 is specifically configured to determine a total bit width of the FEC information bit and the FEC overhead bit, and a frame length of the OTU frame structure;
则此时,计算单元 503,具体用于根据确定单元 502确定的总位宽和 OTU 帧结构的帧长计算 OTU帧结构中每一行可承载的 FEC码字的数量。  Then, the calculating unit 503 is specifically configured to calculate the number of FEC codewords that can be carried in each row in the OTU frame structure according to the total bit width determined by the determining unit 502 and the frame length of the OTU frame structure.
例如, 以 7%的 FEC码字 RS ( 255, 239 )为例, 其中, 信息位位于 1~239 位(bits ) 的位置, 共有 239bits, 而开销位位于 240~255 bits的位置, 共有 16 bits, 则可知, 该 FEC码字的码长为 255 bits。 若 OTU帧结构的帧长为 4080 字节, 即: 4080*8=32640bits, 则 OTU帧结构中每一行可承载的 FEC码字的 数量为: 32640/255=128个。  For example, take 7% of the FEC codewords RS (255, 239) as an example. The information bits are located at positions from 1 to 239 bits (bits), which have 239 bits, and the overhead bits are located at 240 to 255 bits, for a total of 16 bits. , it can be seen that the code length of the FEC codeword is 255 bits. If the frame length of the OTU frame structure is 4080 bytes, that is, 4080*8=32640 bits, the number of FEC codewords that can be carried in each row of the OTU frame structure is: 32640/255=128.
又例如, 以 20%的 FEC码字 BCH ( 336, 280 )为例, 其中, 信息位位于 1~280位 ( bits ) 的位置, 共有 280bits, 而开销位位于 281~336 bits的位置, 共有 56 bits, 则可知, 该 FEC码字的码长为 366bits。 若 OTU帧结构的帧长为 4600字节, 即: 4600*8=36800bits, 则 OTU帧结构中每一行可承载的 FEC码 字的数量为: 36800/336 , 即约为 110个, 其中, 第 110个码字只有 72 bits的 信息位和 56位的开销位。  For another example, the 20% FEC code word BCH ( 336, 280 ) is taken as an example, wherein the information bits are located at positions of 1 to 280 bits (bits), and there are 280 bits, and the overhead bits are located at 281 to 336 bits. Bits, then the code length of the FEC codeword is 366 bits. If the frame length of the OTU frame structure is 4600 bytes, that is, 4600*8=36800 bits, the number of FEC codewords that can be carried in each row of the OTU frame structure is: 36800/336, that is, about 110, where The 110 codewords have only 72 bits of information bits and 56 bits of overhead bits.
此外, 为了提高系统的处理效率,在编码单元 501对接收到的光信号进行 FEC编码, 得到 FEC编码后信号之前, 还可以对该光信号进行编码前的提速, 即该将 FEC码字匹配成帧结构的装置还可以包括提速单元;  In addition, in order to improve the processing efficiency of the system, the encoding unit 501 performs FEC encoding on the received optical signal, and before the FEC encoded signal is obtained, the optical signal may be accelerated before encoding, that is, the FEC codeword is matched into The frame structure device may further include a speed increasing unit;
提速单元, 用于将接收到的光信号进行编码前帧结构匹配, 使得帧中的 1 字节至 3824字节为净荷, 3824字节之后的字节均为零; 即将帧中的 1~3824 字节作为 FEC的信息位,而 3824字节之后的字节均填零。比如,以帧长为 4080 字节的 OTUk为例, 则此时, 可以将帧中的 1~3824字节作为 FEC的信息位, 而 3824~4080字节均填零, 以此类推, 等等。 The speed increasing unit is configured to match the received optical signal to the frame structure before encoding, so that 1 byte to 3824 bytes in the frame are payloads, and the bytes after 3824 bytes are all zero; that is, 1~ in the frame 3824 bytes are used as information bits for FEC, and bytes after 3824 bytes are filled with zeros. For example, an OTUk with a frame length of 4080 bytes is taken as an example. In this case, 1~3824 bytes in the frame can be used as the information bit of the FEC. And 3824~4080 bytes are filled with zeros, and so on.
其中, OTU 帧结构的帧长与该编码前帧结构匹配中所采用的帧结构的帧 长相等。 比如, 如果这里所采用的是帧长为 4080字节的 OTUk, 则步骤 102 中所采用的帧结构也是帧长为 4080字节的 OTUk; 如果这里所采用的是帧长 为 4600字节的 OTUk, 则步骤 102中所采用的帧结构也是帧长为 4600字节的 OTUk。  The frame length of the OTU frame structure is equal to the frame length of the frame structure used in the matching of the pre-encoding frame structure. For example, if an OTUk with a frame length of 4080 bytes is used, the frame structure used in step 102 is also an OTUk with a frame length of 4080 bytes; if the OTUk with a frame length of 4600 bytes is used here, Then, the frame structure adopted in step 102 is also an OTUk with a frame length of 4600 bytes.
具体实施时, 以上各个单元可以作为独立的实体实现,也可以进行任意组 合, 作为同一或若干个实体来实现, 比如, 编码单元 501可以由实施三和四中 的 FEC编码模块来实现, 而匹配单元 504则可以由实施三和四中的波分侧的 帧结构匹配发射端和客户侧的帧结构匹配接收端等模块来实现, 等等。 以上各 个单元的具体实施可参见前面的方法实施例, 在此不再赘述。  In a specific implementation, each of the foregoing units may be implemented as an independent entity, or may be implemented in any combination, as the same entity or multiple entities. For example, the coding unit 501 may be implemented by implementing FEC coding modules in three and four, and matching. The unit 504 can be implemented by implementing a frame structure matching matching component on the wavelength division side of the third and fourth sides, and a frame structure matching receiving end and the like on the client side, and the like. For the specific implementation of the above, refer to the foregoing method embodiments, and details are not described herein again.
由上可知, 本实施例的将 FEC码字匹配成帧结构的装置采用以一个 FEC 码字为单位的方式对 FEC编码后信号进行帧结构匹配, 所以, 相对于现有技 术中需要将 FEC码字的信息位和开销位分开放置进行匹配而言, 信号接收端 在接收该帧结构匹配后的信号时, 无需采用大量的 RAM来存储 FEC信息位 和 FEC开销位, 以等待 FEC信息位和 FEC开销位到齐后才进行译码, 而是 直接就能够进行译码,所以, 不仅可以减少延时, 而且还可以节省 RAM资源。 实施例六、  It can be seen that the apparatus for matching the FEC codewords into the frame structure in this embodiment adopts the frame structure matching of the FEC encoded signals in a unit of one FEC codeword. Therefore, the FEC code is required in comparison with the prior art. When the information bits and the overhead bits of the word are placed separately for matching, the signal receiving end does not need to use a large amount of RAM to store the FEC information bits and the FEC overhead bits when receiving the signal matched by the frame structure, waiting for the FEC information bits and the FEC. After the overhead bits are aligned, the decoding is performed, but the decoding can be performed directly, so that not only the delay can be reduced, but also the RAM resources can be saved. Embodiment 6
相应的, 本发明实施例还提供一种将帧结构解匹配成 FEC码字的装置, 如图 6所示,该将帧结构解匹配成 FEC码字的装置包括接收单元 601、确定单 元 602、 计算单元 603和解匹配单元 604;  Correspondingly, the embodiment of the present invention further provides an apparatus for de-matching a frame structure into an FEC codeword. As shown in FIG. 6, the apparatus for de-matching a frame structure into an FEC codeword includes a receiving unit 601, a determining unit 602, Computing unit 603 and dematching unit 604;
接收单元 601 , 用于接收帧结构匹配后的信号, 其中, 该帧结构匹配后的 信号为通过 OTU帧结构传输的信号;  The receiving unit 601 is configured to receive a signal that is matched by the frame structure, where the matched signal of the frame structure is a signal transmitted by using an OTU frame structure;
确定单元 602, 用于确定帧结构匹配后的信号所采用的 OTU帧结构的帧 长, 以及确定 FEC码字的码长;  a determining unit 602, configured to determine a frame length of an OTU frame structure used by the frame structure matched signal, and determine a code length of the FEC codeword;
计算单元 603, 用于根据确定单元 602确定的帧长和码长计算 OTU帧结 构中每一行可承载的 FEC码字的数量;  The calculating unit 603 is configured to calculate, according to the frame length and the code length determined by the determining unit 602, the number of FEC codewords that can be carried in each row in the OTU frame structure;
解匹配单元 604, 用于按照计算单元 603计算出的 OTU帧结构中每一行 可承载的 FEC码字的数量对接收单元 601接收到的帧结构匹配后的信号进行 提取, 得到 FEC编码后信号。 The de-matching unit 604 is configured to perform, according to the number of FEC codewords that can be carried in each row in the OTU frame structure calculated by the calculating unit 603, the signal that is matched by the frame structure received by the receiving unit 601. Extract, get the FEC encoded signal.
其中,每一个 FEC码字具体可以包括 FEC信息位和 FEC开销位, 而 FEC 码字码长, 指的是 FEC信息位和 FEC开销位的总位宽, 即:  Each FEC codeword may specifically include a FEC information bit and a FEC overhead bit, and the FEC codeword code length refers to a total bit width of the FEC information bit and the FEC overhead bit, that is,
确定单元 602, 具体用于确定帧结构匹配后的信号所采用的 OTU帧结构 的帧长, 以及确定 FEC信息位和 FEC开销位的总位宽;  The determining unit 602 is specifically configured to determine a frame length of an OTU frame structure used by the frame structure matched signal, and determine a total bit width of the FEC information bit and the FEC overhead bit;
计算单元 603, 具体用于根据确定单元 602确定的帧长和总位宽计 OTU 帧结构中每一行可承载的 FEC码字的数量。  The calculating unit 603 is specifically configured to calculate, according to the frame length and the total bit width determined by the determining unit 602, the number of FEC codewords that can be carried in each row in the OTU frame structure.
例如, 以 7%的 FEC码字 RS ( 255, 239 )为例, 其中, 信息位位于 1~239 位(bits ) 的位置, 共有 239bits, 而开销位位于 240~255 bits的位置, 共有 16 bits, 则可知, 该 FEC码字的码长为 255 bits。 若需要匹配的帧结构的帧长为 4080字节, 即: 4080*8=32640bits, 则 OTU帧结构中每一行可承载的 FEC码 字的数量为: 32640/255=128个。  For example, take 7% of the FEC codewords RS (255, 239) as an example. The information bits are located at positions from 1 to 239 bits (bits), which have 239 bits, and the overhead bits are located at 240 to 255 bits, for a total of 16 bits. , it can be seen that the code length of the FEC codeword is 255 bits. If the frame length of the frame structure to be matched is 4080 bytes, that is, 4080*8=32640 bits, the number of FEC codewords that can be carried in each row of the OTU frame structure is: 32640/255=128.
又例如, 以 20%的 FEC码字 BCH ( 336, 280 )为例, 其中, 信息位位于 1~280位 ( bits ) 的位置, 共有 280bits, 而开销位位于 281~336 bits的位置, 共有 56 bits, 则可知, 该 FEC码字的码长为 366bits。 若需要匹配的帧结构的 帧长为 4600字节, 即: 4600*8=36800bits, 则 OTU帧结构中每一行可承载的 FEC码字的数量为: 36800/336 ,即约为 110个,其中,第 110个码字只有 72 bits 的信息位和 56位的开销位。  For another example, the 20% FEC code word BCH ( 336, 280 ) is taken as an example, wherein the information bits are located at positions of 1 to 280 bits (bits), and there are 280 bits, and the overhead bits are located at 281 to 336 bits. Bits, then the code length of the FEC codeword is 366 bits. If the frame length of the frame structure to be matched is 4600 bytes, that is, 4600*8=36800 bits, the number of FEC codewords that can be carried in each row of the OTU frame structure is: 36800/336, that is, about 110, where The 110th codeword has only 72 bits of information bits and 56 bits of overhead bits.
此外,在解匹配单元 604根据 OTU帧结构每一行可承载的 FEC码字的数 量对帧结构匹配后的信号进行提取,得到 FEC编码后信号之后,还可以对 FEC 编码后信号进行 FEC解码并截位, 以得到 FEC信息位, 即该将帧结构解匹配 成 FEC码字的装置还可以包括 FEC解码单元和截位单元;  In addition, the de-matching unit 604 extracts the frame-matched signal according to the number of FEC codewords that can be carried in each row of the OTU frame structure, and after obtaining the FEC-encoded signal, the FEC-encoded signal can also be FEC-decoded and intercepted. Bits, to obtain FEC information bits, that is, the apparatus for de-matching the frame structure to the FEC codeword may further include an FEC decoding unit and a truncation unit;
FEC解码单元,用于对 FEC编码后信号进行 FEC解码,得到 FEC解码后 信号;  The FEC decoding unit is configured to perform FEC decoding on the FEC encoded signal to obtain a FEC decoded signal;
截位单元, 用于对 FEC解码单元得到的 FEC解码后信号中的每一个 FEC 码字进行 FEC开销位的截位, 得到 FEC信息位。 比如, 以 7%的 FEC码字 RS ( 255 , 239 ) 为例, 此时需要将 FEC码字的码长 255bits截去后 16bits, 得到 239 bits的信息位。  The truncation unit is configured to perform a truncation of the FEC overhead bit for each FEC codeword in the FEC decoded signal obtained by the FEC decoding unit, to obtain an FEC information bit. For example, taking 7% of the FEC codewords RS (255, 239) as an example, the code length of the FEC codeword is 255 bits, and 16 bits are cut off to obtain 239 bits of information bits.
具体实施时, 以上各个单元可以作为独立的实体实现,也可以进行任意组 合, 作为同一或若干个实体来实现, 比如, 接收单元 601和帧格式解匹配单元 502均可以由实施三和四中的波分侧的帧结构匹配接收端来实现,而 FEC解码 单元则由 FEC解码模块来实现, 截位单元由客户侧的帧格式发射端来实现, 等等。 以上各个单元的具体实施可参见前面的方法实施例, 在此不再赘述。 In the specific implementation, each of the above units may be implemented as an independent entity, or may be any group. For example, the receiving unit 601 and the frame format de-matching unit 502 can be implemented by implementing the frame structure matching receiving end of the wavelength division side in the third and fourth, and the FEC decoding unit is implemented by The FEC decoding module is implemented, the truncation unit is implemented by the frame format transmitting end of the client side, and the like. For the specific implementation of the above various units, refer to the foregoing method embodiments, and details are not described herein again.
由上可知 ,本实施例的将帧结构解匹配成 FEC码字的装置可以以一个 FEC 码字为单位对接收到的帧结构匹配后的信号进行解匹配,由于可以无需采用大 量的 RAM来存储 FEC信息位和 FEC开销位, 以等待 FEC信息位和 FEC开 销位到齐后才进行译码, 而是直接进行译码, 所以不仅大大减少了延时, 而且 还节省了 RAM资源。 实施例七、  It can be seen that the apparatus for de-matching the frame structure into the FEC codeword in this embodiment can perform the solution matching on the received frame structure matching signal in units of one FEC codeword, since it can be stored without using a large amount of RAM. The FEC information bit and the FEC overhead bit are decoded after waiting for the FEC information bit and the FEC overhead bit to be aligned, but are directly decoded, so that not only the delay is greatly reduced, but also the RAM resource is saved. Example VII.
相应的, 本发明实施例还提供一种通信系统, 包括本发明实施例提供的任 一种将 FEC码字匹配成帧结构的装置和任一种将帧结构解匹配成 FEC码字的 装置。 其中, 将 FEC码字匹配成帧结构的装置具体可参见实施例五, 将帧结 构解匹配成 FEC码字的装置具体可参见实施例六, 在此不再赘述。  Correspondingly, the embodiment of the present invention further provides a communication system, including any device for matching a FEC codeword into a frame structure and any device for dematching a frame structure into an FEC codeword. For the device for matching the FEC codewords into the frame structure, refer to the fifth embodiment, and the device for de-matching the frame structure to the FEC codeword can be referred to in the sixth embodiment, and details are not described herein again.
例如, 如图 7所示, 该通信系统具体可以为 FEC的帧结构匹配系统, 包 括将 FEC码字匹配成帧结构的装置 701和将帧结构解匹配成 FEC码字的装置 702;  For example, as shown in FIG. 7, the communication system may specifically be a frame structure matching system of the FEC, including means 701 for matching the FEC codewords into a frame structure and means 702 for de-matching the frame structure to the FEC codewords;
将 FEC码字匹配成帧结构的装置 701 , 用于对接收到的光信号进行 FEC 编码, 得到 FEC编码后信号; 确定 FEC码字的码长, 以及 OTU帧结构的帧 长, 根据该码长和帧长计算 OTU帧结构中每一行可承载的 FEC码字的数量, 按照该可承载的 FEC码字的数量将 FEC编码后信号匹配到该 OTU帧结构中, 得到帧结构匹配后的信号, 将帧结构匹配后的信号发送给将帧结构解匹配成 FEC码字的装置 702;  The apparatus 701 for matching the FEC codeword into a frame structure is configured to perform FEC encoding on the received optical signal to obtain a FEC encoded signal; determining a code length of the FEC codeword, and a frame length of the OTU frame structure, according to the code length And calculating the number of FEC codewords that can be carried in each row in the OTU frame structure, and matching the FEC encoded signal to the OTU frame structure according to the number of FEC codewords that can be carried, to obtain a signal after the frame structure is matched. Transmitting the frame structure matched signal to the device 702 that de-frames the frame structure into the FEC code word;
将帧结构解匹配成 FEC码字的装置 702 ,用于接收将帧结构解匹配成 FEC 码字的装置 701发送的帧结构匹配后的信号,确定帧结构匹配后的信号所采用 的 OTU帧结构的帧长, 以及确定 FEC码字的码长, 根据确定的帧长和码长计 算 OTU帧结构中每一行可承载的 FEC码字的数量, 按照该可承载的 FEC码 字的数量对该帧结构匹配后的信号进行提取, 得到 FEC编码后信号。  The apparatus 702 for dematching the frame structure into the FEC codeword is configured to receive a frame structure matched signal sent by the apparatus 701 that de-matches the frame structure into the FEC codeword, and determine an OTU frame structure used by the frame structure matched signal. Frame length, and determining the code length of the FEC codeword, calculating the number of FEC codewords that can be carried in each row of the OTU frame structure according to the determined frame length and code length, according to the number of FEC codewords that can be carried The signal after the structure matching is extracted to obtain the FEC encoded signal.
其中,每一个 FEC码字具体可以包括 FEC信息位和 FEC开销位, 而 FEC 码字码长, 指的是 FEC信息位和 FEC开销位的总位宽。 Each FEC codeword may specifically include an FEC information bit and an FEC overhead bit, and the FEC The codeword length refers to the total bit width of the FEC information bit and the FEC overhead bit.
以上各个设备的实施, 具体可参见前面实施例, 在此不再赘述。  For the implementation of the foregoing various devices, refer to the foregoing embodiments, and details are not described herein again.
由上可知, 本实施例的通信系统的将 FEC码字匹配成帧结构的装置 701 采用以一个 FEC码字为单位的方式对 FEC编码后信号进行帧结构匹配,所以, 相对于现有技术中需要将 FEC码字的信息位和开销位分开放置进行匹配而言, 信号接收端在接收该帧结构匹配后的信号时, 无需采用大量的 RAM 来存储 FEC信息位和 FEC开销位, 以等待 FEC信息位和 FEC开销位到齐后才进行 译码,而是在帧格式解匹配装置对信号进行解匹配之后,就可以直接进行译码, 所以, 采用该方案, 不仅可以减少延时, 而且还可以节省 RAM资源。 进一步 的, 由于可以减少 RAM的数量, 所以该通信系统的结构也相对较为筒单。 本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步 骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读 存储介质中, 存储介质可以包括: 只读存储器(ROM, Read Only Memory )、 随机存取记忆体(RAM, Random Access Memory ) , 磁盘或光盘等。  As can be seen from the above, the apparatus 701 for matching the FEC codewords into the frame structure of the communication system of the present embodiment performs frame structure matching on the FEC encoded signals in units of one FEC codeword. Therefore, compared with the prior art, In order to match the information bits and the overhead bits of the FEC codeword for matching, the signal receiving end does not need to use a large amount of RAM to store the FEC information bits and the FEC overhead bits when receiving the matched signal of the frame structure, waiting for the FEC. After the information bits and the FEC overhead bits are aligned, the decoding is performed. After the frame format de-matching device de-matches the signals, the decoding can be directly performed. Therefore, the scheme can not only reduce the delay but also reduce the delay. Can save RAM resources. Further, since the number of RAMs can be reduced, the structure of the communication system is relatively relatively simple. A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be completed by a program instructing related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), disk or optical disk.
以上对本发明实施例所提供的一种将 FEC码字匹配成帧结构的方法、 将 帧结构解匹配成 FEC码字的方法、 相应的装置和系统进行了详细介绍, 本文 只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员, 依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述, 本说明书内容不应理解为对本发明的限制。  The method for matching the FEC codewords into the frame structure, the method for de-matching the frame structure into the FEC codewords, and the corresponding devices and systems are provided in detail in the foregoing embodiments of the present invention. The method of the invention and its core idea; at the same time, those skilled in the art, according to the idea of the present invention, there are some changes in the specific embodiment and the scope of application. In summary, the content of the specification should not be understood as Limitations of the invention.

Claims

权 利 要 求 Rights request
1、 一种将前向纠错码字匹配成帧结构的方法, 其特征在于, 包括: 对接收到的光信号进行前向纠错 FEC编码, 得到 FEC编码后信号; 确定 FEC码字的码长, 以及光传送单元帧结构的帧长;  A method for matching a forward error correction codeword into a frame structure, comprising: performing forward error correction FEC encoding on the received optical signal to obtain a FEC encoded signal; determining a code of the FEC codeword Long, and the frame length of the optical transmission unit frame structure;
根据所述码长和帧长, 计算光传送单元帧结构中每一行可承载的 FEC码 字的数量;  Calculating, according to the code length and the frame length, the number of FEC code words that can be carried in each row of the optical transmission unit frame structure;
按照所述可承载的 FEC码字的数量, 将 FEC编码后信号匹配到所述光传 送单元帧结构中。  The FEC encoded signal is matched to the optical transport unit frame structure in accordance with the number of FEC codewords that can be carried.
2、 根据权利要求 1所述的方法, 其特征在于, 每一个 FEC码字包括 FEC 信息位和 FEC开销位, 贝' J :  2. The method according to claim 1, wherein each FEC codeword includes a FEC information bit and a FEC overhead bit, and a 'J:
所述确定 FEC码字的码长具体为:确定 FEC信息位和 FEC开销位的总位 宽;  The determining the code length of the FEC codeword is specifically: determining a total bit width of the FEC information bit and the FEC overhead bit;
所述根据所述码长和帧长,计算光传送单元帧结构中每一行可承载的 FEC 码字的数量具体为: 根据所述总位宽和帧长,计算光传送单元帧结构中每一行 可承载的 FEC码字的数量。  Calculating, according to the code length and the frame length, the number of FEC codewords that can be carried in each row of the optical transmission unit frame structure is specifically: calculating each row in the optical transmission unit frame structure according to the total bit width and the frame length The number of FEC codewords that can be carried.
3、 根据权利要求 1或 2任一项所述的方法, 其特征在于, 所述对接收到 的光信号进行 FEC编码, 得到 FEC编码后信号之前, 还包括:  The method according to any one of claims 1 to 2, wherein the FEC encoding the received optical signal to obtain the FEC encoded signal further comprises:
将接收到的光信号进行编码前帧结构匹配, 使得帧中的 1字节至 3824字 节为净荷, 3824字节之后的字节均为零;  The received optical signal is matched to the frame structure before encoding, so that 1 byte to 3824 bytes in the frame are payloads, and bytes after 3824 bytes are all zero;
所述编码前帧结构匹配中所采用的帧结构的帧长与所述光传送单元帧结 构的帧长相等。  The frame length of the frame structure used in the pre-encoding frame structure matching is equal to the frame length of the optical transmission unit frame structure.
4、 一种将帧结构解匹配成前向纠错码字的方法, 其特征在于, 包括: 接收帧结构匹配后的信号,所述帧结构匹配后的信号为通过光传送单元帧 结构传输的信号;  A method for de-matching a frame structure into a forward error-correcting codeword, comprising: receiving a signal with a matched frame structure, wherein the frame-matched signal is transmitted through a frame structure of the optical transmission unit Signal
确定帧结构匹配后的信号所采用的光传送单元帧结构的帧长, 以及确定 FEC码字的码长;  Determining a frame length of an optical transmission unit frame structure used by the frame structure matched signal, and determining a code length of the FEC codeword;
根据所述帧长和码长, 计算光传送单元帧结构中每一行可承载的 FEC码 字的数量;  Calculating, according to the frame length and the code length, the number of FEC code words that can be carried in each row of the optical transmission unit frame structure;
按照所述可承载的 FEC码字的数量对所述帧结构匹配后的信号进行提取, 得到 FEC编码后信号。 Extracting the matched signal of the frame structure according to the number of FEC codewords that can be carried, The FEC encoded signal is obtained.
5、 根据权利要求 4所述的方法, 其特征在于, 每一个 FEC码字包括 FEC 信息位和 FEC开销位, 贝' J :  5. The method according to claim 4, wherein each FEC codeword includes a FEC information bit and a FEC overhead bit, and a 'J:
所述确定 FEC码字的码长具体为:确定 FEC信息位和 FEC开销位的总位 宽;  The determining the code length of the FEC codeword is specifically: determining a total bit width of the FEC information bit and the FEC overhead bit;
所述根据所述帧长和码长,计算光传送单元帧结构中每一行可承载的 FEC 码字的数量具体为: 根据所述帧长和总位宽, 计算光传送单元帧结构中每一行 可承载的 FEC码字的数量。  Calculating, according to the frame length and the code length, the number of FEC codewords that can be carried in each row of the optical transmission unit frame structure is specifically: calculating each row in the frame structure of the optical transmission unit according to the frame length and the total bit width The number of FEC codewords that can be carried.
6、 根据权利要求 4中所述的方法, 其特征在于, 所述按照所述每一行帧 可承载的 FEC码字的数量, 对所述帧结构匹配后的信号进行提取, 得到 FEC 编码后信号之后, 还包括:  The method according to claim 4, wherein the signal matched by the frame structure is extracted according to the number of FEC codewords that can be carried in each frame of the frame, and the FEC encoded signal is obtained. After that, it also includes:
对 FEC编码后信号进行 FEC解码, 得到 FEC解码后信号;  Perform FEC decoding on the FEC encoded signal to obtain the FEC decoded signal;
对 FEC解码后信号中的每一个 FEC码字进行 FEC开销位的截位, 得到 FEC信息位。  The FEC overhead bit is truncated for each FEC codeword in the FEC decoded signal to obtain the FEC information bit.
7、 一种将前向纠错码字匹配成帧结构的装置, 其特征在于, 包括: 编码单元, 用于对接收到的光信号进行前向纠错 FEC编码, 得到 FEC编 码后信号;  A device for matching a forward error correction codeword into a frame structure, comprising: a coding unit, configured to perform forward error correction FEC coding on the received optical signal to obtain a FEC encoded signal;
确定单元, 用于确定 FEC码字的码长, 以及光传送单元帧结构的帧长; 计算单元, 用于根据所述码长和帧长,计算光传送单元帧结构中每一行可 承载的 FEC码字的数量;  a determining unit, configured to determine a code length of the FEC codeword, and a frame length of the optical transmission unit frame structure; and a calculating unit, configured to calculate, according to the code length and the frame length, an FEC that can be carried in each row of the optical transmission unit frame structure The number of codewords;
匹配单元, 用于按照所述可承载的 FEC码字的数量, 将 FEC编码后信号 匹配到所述光传送单元帧结构中。  And a matching unit, configured to match the FEC encoded signal into the optical transmission unit frame structure according to the number of the FEC codewords that can be carried.
8、 根据权利要求 7所述的装置, 其特征在于,  8. Apparatus according to claim 7 wherein:
所述确定单元, 具体用于确定 FEC信息位和 FEC开销位的总位宽, 以及 光传送单元帧结构的帧长;  The determining unit is specifically configured to determine a total bit width of the FEC information bit and the FEC overhead bit, and a frame length of the optical transmission unit frame structure;
则所述计算单元, 具体用于根据所述总位宽和帧长,计算光传送单元帧结 构中每一行可承载的 FEC码字的数量。  The calculating unit is specifically configured to calculate, according to the total bit width and the frame length, the number of FEC codewords that can be carried in each row of the optical transmission unit frame structure.
9、 根据权利要求 7或 8所述的装置, 其特征在于, 还包括提速单元; 所述提速单元, 用于将接收到的光信号进行编码前帧结构匹配,使得帧中 的 1字节至 3824字节为净荷, 3824字节之后的字节均为零; 其中, 所述编码 前帧结构匹配中所采用的帧结构的帧长与所述光传送单元帧结构的帧长相等。 The device according to claim 7 or 8, further comprising: a speed increasing unit; the speed increasing unit, configured to perform matching of the received optical signal before the encoding, so that the frame is in the frame 1 byte to 3824 bytes are payloads, and bytes after 3824 bytes are all zero; wherein, the frame length of the frame structure used in the pre-coding frame structure matching and the frame structure of the optical transmission unit are The frame length is equal.
10、 一种将帧结构解匹配成前向纠错码字的装置, 其特征在于, 包括: 接收单元, 用于接收帧结构匹配后的信号, 所述帧结构匹配后的信号为通 过光传送单元帧结构传输的信号;  A device for de-matching a frame structure into a forward error-correcting codeword, comprising: a receiving unit, configured to receive a signal after the frame structure is matched, and the signal matched by the frame structure is transmitted through the optical a signal transmitted by the unit frame structure;
确定单元,用于确定帧结构匹配后的信号所采用的光传送单元帧结构的帧 长, 以及确定 FEC码字的码长;  a determining unit, configured to determine a frame length of an optical transmission unit frame structure used by the frame structure matched signal, and determine a code length of the FEC codeword;
计算单元, 用于根据所述帧长和码长, 计算光传送单元帧结构中每一行可 承载的 FEC码字的数量;  a calculating unit, configured to calculate, according to the frame length and the code length, a quantity of FEC codewords that can be carried in each row of the optical transmission unit frame structure;
解匹配单元, 用于按照所述可承载的 FEC码字的数量对所述帧结构匹配 后的信号进行提取, 得到 FEC编码后信号。  And a de-matching unit, configured to extract the matched signal of the frame structure according to the number of the FEC codewords that can be carried, to obtain a FEC encoded signal.
11、 根据权利要求 10所述的装置, 其特征在于,  11. Apparatus according to claim 10 wherein:
所述确定单元,具体用于确定帧结构匹配后的信号所采用的光传送单元帧 结构的帧长, 以及确定 FEC信息位和 FEC开销位的总位宽;  The determining unit is specifically configured to determine a frame length of an optical transmission unit frame structure used by the frame structure matched signal, and determine a total bit width of the FEC information bit and the FEC overhead bit;
则所述计算子单元,具体用于根据所述帧长和总位宽计算光传送单元帧结 构中每一行可承载的 FEC码字的数量。  Then, the calculating subunit is specifically configured to calculate, according to the frame length and the total bit width, the number of FEC codewords that can be carried in each row in the optical transmission unit frame structure.
12、 一种通信系统, 其特征在于, 包括权利要求 7至 9所述的任一种将前 向纠错码字匹配成帧结构的装置和权利要求 10至 11所述的任一种将帧结构解 匹配成前向纠错码字的装置。  12. A communication system, comprising: any one of claims 7 to 9 for matching a forward error correction codeword into a frame structure and any one of claims 10 to 11 A device whose structure is matched to a forward error correction codeword.
PCT/CN2012/071100 2012-02-14 2012-02-14 Method, apparatus and system for matching forward error correction codewords into frame structure WO2013120247A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201280000070.6A CN102754378B (en) 2012-02-14 2012-02-14 Method, device and system for matching forward error correct code words to frame structure
PCT/CN2012/071100 WO2013120247A1 (en) 2012-02-14 2012-02-14 Method, apparatus and system for matching forward error correction codewords into frame structure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/071100 WO2013120247A1 (en) 2012-02-14 2012-02-14 Method, apparatus and system for matching forward error correction codewords into frame structure

Publications (1)

Publication Number Publication Date
WO2013120247A1 true WO2013120247A1 (en) 2013-08-22

Family

ID=47032816

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/071100 WO2013120247A1 (en) 2012-02-14 2012-02-14 Method, apparatus and system for matching forward error correction codewords into frame structure

Country Status (2)

Country Link
CN (1) CN102754378B (en)
WO (1) WO2013120247A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7299496B2 (en) * 2019-09-10 2023-06-28 富士通株式会社 Encoding circuit, decoding circuit, encoding method, decoding method, transmission device, and optical transmission system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159495A (en) * 2006-10-08 2008-04-09 华为技术有限公司 Signal transmission system and method in passive optical fiber network
CN101667887A (en) * 2009-09-02 2010-03-10 中兴通讯股份有限公司 Encoding method and device thereof and decoding method and device thereof
CN102130742A (en) * 2010-01-14 2011-07-20 三菱电机株式会社 Method and device for encoding and decoding of error correcting codes

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020120902A1 (en) * 2001-02-23 2002-08-29 Alcatel Method and system for frame synchronous forward error correction

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159495A (en) * 2006-10-08 2008-04-09 华为技术有限公司 Signal transmission system and method in passive optical fiber network
CN101667887A (en) * 2009-09-02 2010-03-10 中兴通讯股份有限公司 Encoding method and device thereof and decoding method and device thereof
CN102130742A (en) * 2010-01-14 2011-07-20 三菱电机株式会社 Method and device for encoding and decoding of error correcting codes

Also Published As

Publication number Publication date
CN102754378B (en) 2014-09-17
CN102754378A (en) 2012-10-24

Similar Documents

Publication Publication Date Title
KR100970734B1 (en) System and method for processing wireless high definition video data using a shortened last codeword
JP7424724B2 (en) Data transmission method, data transmission apparatus, communication system, network device, data transmission system, computer readable storage medium, and computer program code
KR101633326B1 (en) Method of transmission
CN1656693B (en) Method for iterative hard-input forward error correction
CN108667553B (en) Encoding method, decoding method, device and system
WO2007055150A1 (en) Communication device, transmitter, receiver, and error correcting optical communication system
RU2014100886A (en) DEVICE AND METHOD FOR TRANSMITTING AND RECEIVING PACKAGES IN THE BROADCASTING AND COMMUNICATION SYSTEM
JP2010520666A5 (en)
US20140237325A1 (en) Staircase forward error correction coding
WO2011026375A1 (en) Methods and devices for encoding and decoding
JP2011176894A5 (en)
WO2009008682A1 (en) Methods and apparatus to compute crc for multiple code blocks in a communication system
US8683301B2 (en) Error correction coding for recovering multiple packets in a group in view of limited bandwidth
CN103797742A (en) Data processin method in the Enternet, Enernet physical layer chip, and Enternet device
US20100262887A1 (en) High Integrity Data Network System and Method
CN103873071A (en) Method and device for forward error correction encoding, method and device for forward error correction decoding, and communication device and system
WO2012136047A1 (en) Hardware decoding method and apparatus for super forward error correction
WO2012163033A1 (en) Data sender, data receiver and frame synchronization method
WO2012174933A1 (en) Rs encoder and encoding method thereof
WO2014048351A1 (en) Method and apparatus for forward error correction (fec) coding based on time-division duplex (tdd)
WO2013120247A1 (en) Method, apparatus and system for matching forward error correction codewords into frame structure
US10355823B2 (en) System and method for block-coding transcoding
JP2021141617A (en) Encoding device, transmitter, decoding device, and receiver
WO2014187138A1 (en) Decoding method and apparatus
CN109728875B (en) BCH decoding method and device

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201280000070.6

Country of ref document: CN

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

Ref document number: 12868801

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12868801

Country of ref document: EP

Kind code of ref document: A1