WO2017113349A1 - Data parsing and data transmission method and apparatus - Google Patents

Data parsing and data transmission method and apparatus Download PDF

Info

Publication number
WO2017113349A1
WO2017113349A1 PCT/CN2015/100244 CN2015100244W WO2017113349A1 WO 2017113349 A1 WO2017113349 A1 WO 2017113349A1 CN 2015100244 W CN2015100244 W CN 2015100244W WO 2017113349 A1 WO2017113349 A1 WO 2017113349A1
Authority
WO
WIPO (PCT)
Prior art keywords
fec
fec codeword
codeword
onu
data frame
Prior art date
Application number
PCT/CN2015/100244
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 PCT/CN2015/100244 priority Critical patent/WO2017113349A1/en
Publication of WO2017113349A1 publication Critical patent/WO2017113349A1/en

Links

Images

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/0056Systems characterized by the type of code used
    • H04L1/0067Rate matching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/27Arrangements for networking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0602Systems characterised by the synchronising information used
    • H04J3/0605Special codes used as synchronising signal
    • H04J3/0608Detectors therefor, e.g. correlators, state machines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a data parsing and data transmission method and apparatus.
  • the PON Passive Optical Network
  • the PON network is generally composed of an OLT (Optical Line Termination), a POS (Passive Optical Splitter), and an ONU (Optical Network Unit).
  • OLT Optical Line Termination
  • POS Passive Optical Splitter
  • ONU Optical Network Unit
  • the downlink data of the OLT to the ONU in the PON is broadcast to all ONUs in the working state in the form of frames. Each ONU parses all data after accepting the frame message and discards the data requested by other ONUs.
  • XGPON 10G-GPON, 10 Gigabit Passive Optical Network
  • XGPON's downlink data frame XGTC XGPON transmission convergence, 10 Gigabit Passive Optical Network Transmission Convergence
  • FEC Forward Error Correction, Forward
  • the error correction code block is required to be divided into a plurality of FEC code blocks, and the FEC coded information code block and the check bits of each FEC code block together constitute an FEC code word.
  • a certain number of FEC codewords are combined into a payload to scramble the payload.
  • the scrambled payload plus the fields used for synchronization together constitute a PHY (Physical Layer) frame of the XGPON downlink.
  • PHY Physical Layer
  • the data is first synchronized according to the synchronization field, then the payload portion is descrambled, and the starting position of the FEC is delimited to correctly parse the FEC encoding.
  • the optical components of the XGPON system will age, making the link power budget tight, the bit error rate rising, and even failing to work properly.
  • the synchronization difficulty will increase under high error codes, affecting customer satisfaction.
  • Embodiments of the present invention provide a data parsing method, including: an optical network unit ONU from an optical line
  • the terminal OLT receives a downlink data frame, where the downlink data frame includes a first forward error correction FEC code protected first FEC codeword, and a second FEC code protected second FEC codeword, the second FEC codeword
  • the error correction capability of the second FEC code used is stronger than the first FEC code used by the first FEC codeword, and the first FEC codeword includes the second FEC codeword start position information and the first Two FEC codeword end position information
  • the ONU parses the start position information and the end position information of the second FEC codeword from the first FEC codeword
  • the ONU parses the start location information and the location
  • the second FEC codeword determined by the end location information is obtained to obtain user data.
  • the embodiment of the present invention further provides a data transmission method, including: an optical line terminal OLT generates a downlink data frame, where the downlink data frame includes a first forward error correction FEC code protected first FEC codeword, and a second FEC Encoding a protected second FEC codeword, the second FEC code used by the second FEC codec has a stronger error correction capability than the first FEC codeword used by the first FEC codeword, the first FEC code
  • the word includes the second FEC codeword start position information and the second FEC codeword end position information; the OLT sends the downlink data frame to the optical network unit ONU.
  • An embodiment of the present invention further provides an optical network unit ONU, including: a receiving unit, configured to receive a downlink data frame from an optical line terminal OLT, where the downlink data frame includes a first forward error correction FEC code protection first FEC a codeword, and a second FEC code-protected second FEC codeword, wherein the second FEC code uses a second FEC coded error correction capability that is stronger than the first FEC codeword uses the first FEC code And the first FEC codeword includes the second FEC codeword start location information and the second FEC codeword end location information.
  • a parsing unit configured to parse starting position information and ending position information of the second FEC codeword from the first FEC codeword, and parse a second FEC determined according to the starting location information and the ending location information Codewords to get user data.
  • An embodiment of the present invention further provides an optical line terminal OLT, including: a data generating unit, configured to generate a downlink data frame, where the downlink data frame includes a first forward error correction FEC code protected first FEC codeword, and a second FEC code protected second FEC codeword, the second FEC code used by the second FEC code has a stronger error correction capability than the first FEC codeword used by the first FEC codeword,
  • the first FEC codeword includes the second FEC codeword start location information and the second FEC codeword end location information
  • the sending unit is configured to send the downlink data frame to the optical network unit ONU.
  • the data frame exchanged between the OLT and the ONU includes the first FEC coded first FEC codeword and the second FEC coded second FEC codeword, in the first FEC code.
  • the start position information and the end position information of the second FEC codeword are saved in the word. Since the error correction capability of the second FEC code is stronger than the first FEC code, the technical solution of the embodiment of the present invention can reduce the bit error rate, thereby improving synchronization. effectiveness.
  • different users in the same PON can select the FEC coding mode according to the link quality, which can be compatible with users with different needs and improve user satisfaction.
  • FIG. 1 is a schematic diagram of an embodiment of a PON.
  • FIG. 2 is a schematic structural diagram of a downlink data frame according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a downlink data frame according to another embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a part of a downlink data frame according to an embodiment of the present invention.
  • Figure 5 is a schematic illustration of an embodiment of a synchronous state machine.
  • FIG. 6 is a schematic structural diagram of a downlink data frame according to another embodiment of the present invention.
  • FIG. 7 is a flowchart of a data parsing method according to an embodiment of the present invention.
  • FIG. 8 is a structural diagram of an ONU according to an embodiment of the present invention.
  • FIG. 9 is a structural diagram of an OLT according to an embodiment of the present invention.
  • the PON 100 can be a point-to-multipoint network, including an Optical Line Terminal (OLT) 110, a plurality of Optical Network Units (ONUs) 120, and an Optical Distribution Network (ODN). 130, wherein the ODN 130 can be coupled to the OLT 110 and the plurality of ONUs 120.
  • OLT 110 may be located at a Central Office (CO)
  • CO Central Office
  • the plurality of ONUs 120 may be located at a plurality of customer premises
  • the ODN 130 is disposed between the OLT 110 and the ONU 120.
  • the PON 100 may be a communication network that does not require any active devices to implement data distribution between the OLT 110 and the ONU 120. Instead, the PON 100 can distribute data between the OLT 110 and the ONU 120 using passive optical devices in the ODN 130.
  • the PON 100 may be a GPON system, downlink data may be broadcast at a rate of approximately 2.5 Gigabits per second (Gbps), and uplink data may be transmitted at a rate of approximately 1.25 Gbps.
  • the PON 100 can be an NGA system that can be configured to transmit data frames with greater reliability and efficiency and through greater bandwidth.
  • the PON 100 can be a 10 Gbps GPON (also known as XGPON) with a downstream bandwidth of approximately 10 Gbps and an upstream bandwidth of at least approximately 2.5 Gbps.
  • other examples that may be applied to the PON 100 include: an asynchronous transmission mode passive optical network defined by the ITU-T G.983 standard.
  • the OLT 110 may be any component for transferring data between the plurality of ONUs 120 and another network (not shown).
  • the OLT 110 can act as a medium between the plurality of ONUs 120 and the other network described above.
  • the OLT 110 can forward data received from the other network to the plurality of ONUs 120 and forward data received from the plurality of ONUs 120 to the other network.
  • the specific configuration of the OLT 110 may vary depending on the particular type of PON 100, in one embodiment, the OLT 110 may include a transmitter and a receiver.
  • the OLT 110 If the network protocol used by the other network is different from the PON protocol used by the PON 100, for example, the other network uses an Ethernet protocol or a Synchronous Optical Network/Synchronous Digital Hierarchy (SONET/SDH) protocol, the OLT 110.
  • a converter may be further included for converting the above network protocol into a PON protocol.
  • the converter of the OLT 110 can also convert the PON protocol into the above network protocol.
  • the OLT 110 is typically located at a central location, such as a central office, but may be located at other locations as well.
  • the plurality of ONUs 120 can be any device for communicating with the OLT 110 and a customer or user (not shown).
  • the plurality of ONUs 120 can act as a medium between the OLT 110 and the user.
  • the plurality of ONUs 120 can forward data received from the OLT 110 to the user and forward data received from the user to the OLT 110.
  • the ONUs 120 may include a light for transmitting optical signals to the OLT 110.
  • the ONU 120 may further comprise a converter for converting an optical signal into an electrical signal for a user, such as a signal based on an Ethernet protocol or an ATM protocol; and another transmitter and/or receiver for the The user transmits and/or receives an electrical signal from the user.
  • the ONU 120 is similar to an Optical Network Terminal (ONT), and thus, the ONU and the ONT are interchangeable in this document.
  • the plurality of ONUs may be located in a distributed location, such as a customer premises, but may be located elsewhere.
  • the ODN 130 can be a data distribution system that can include fiber optic cables, couplers, splitters, distributors, and/or other devices.
  • the fiber optic cable, coupler, splitter, distributor, and/or other device may be a passive optical device.
  • the fiber optic cable, coupler, splitter, distributor, and/or other device may be a device that does not require a power source when distributing data signals between the OLT 110 and the plurality of ONUs 120.
  • the ODN 130 may also include one or more processing devices, such as optical amplifiers.
  • the ODN 130 may specifically extend from the OLT 110 to the ONU 120, but may also be configured in other point-to-multipoint configurations.
  • the OLT 110 and the ONU 120 may perform data exchange, and the data may be encapsulated in a frame or message, such as an Ethernet frame.
  • the frame may include a payload and a frame header, wherein the frame header may include synchronization and configuration information.
  • a Transmission Convergence (TC) frame can be used to transmit a downlink message based on the GPON Transmission Aggregation (GTC) protocol layer.
  • GTC GPON Transmission Aggregation
  • Information such as from the OLT 110 to the ONU 120.
  • the transport convergence layer is defined in the ITU-T G.984.3 standard, the contents of which are incorporated herein by reference.
  • the TC may also include a Physical Synchronization (Psync) field, which may indicate the beginning of the TC frame.
  • Psync Physical Synchronization
  • the Psync field may include a fixed code, which may have a fixed code value of "0xB6AB31E0" (hexadecimal format) to indicate the beginning of the frame.
  • the field can be equal to approximately four bytes (Bytes).
  • the OLT 110 or the receiver of the ONU 120 may delimit the frame using the Psync field in the received frame, such as separating or distinguishing the frames.
  • frame 200 may include FEC encoded control and/or user data and synchronization information.
  • frame 200 may correspond to a GTC or XGTC frame, such as a downstream frame from OLT 110 to ONU 120, and may be transmitted within a fixed time window.
  • Frame 200 can include a first portion 210 and a second portion 211.
  • the first portion 210 can correspond to a GTC or XGTC PCBd or header and can include time or synchronization information.
  • the second portion 211 can correspond to a GTC or XGTC payload and can include a plurality of codewords that may be FEC encoded.
  • the second portion 211 can include an integer number of FEC code words.
  • the downlink data frame XGTC frame is divided into a plurality of FEC information code blocks according to the FEC code block requirement, and the FEC coded information code block and the check bit (P) of each FEC code block together constitute an FEC code word.
  • a certain number of FEC codewords are combined into a payload of 125us PHY Frame and scrambled.
  • the scrambled PHY frame payload plus the field psbd for synchronization together form the PHY frame of the XGPON downlink.
  • the data synchronization is first performed according to the PSBD, then the payload portion is descrambled, and the starting position of the FEC is delimited to correctly parse the FEC encoding.
  • the second portion 311 can correspond to a GTC or XGTC payload and can include a plurality of codewords that may be FEC encoded.
  • the second portion 311 can include an integer number of FEC code words.
  • the GTC or XGTC payload may include a payload length downstream (Plend) 312, an upstream bandwidth map (US BWmap) 314, at least one physical layer operation, management and maintenance (PLOAM) field 316, and a payload 318.
  • Plend 312 may include multiple subfields including B length (Blen) and cyclic redundancy check (CRC). Blen may indicate the length of the US BWmap 314, for example in bytes.
  • the CRC can be used, for example, to verify at the ONU 120 whether there is an error in the received frame 300. For example, when the CRC fails, frame 300 can be discarded.
  • the subfield may also include an A length subfield that indicates the length of the ATM payload, which may include a portion of frame 300.
  • the US BWmap 314 can include an array of blocks or subfields, each of which can include a single bandwidth allocation to a single transmitter (TC) that can be used to manage upstream bandwidth allocations in the GTC layer.
  • the TC may be a transport entity in the GTC layer that may be configured to communicate higher layer information from the input to the output, such as from the OLT to the ONU.
  • Each block in BWmap 314 may include multiple subfields, such as an allocation identifier (Alloc-ID), a flag, a start time (SStart), a stop time (SStop), a CRC, or a combination of the above.
  • the PLOAM field 316 can include a PLOAM message that can be sent from the OLT to the ONU and includes an Operation, Management and Maintenance (OAM) related alarm or a threshold violation alarm triggered by a system event.
  • the PLOAM field 316 can include multiple subfields, such as an ONU identifier (ONU-ID), a message identifier (message ID), message data, and a CRC.
  • ONU-ID may include an address that may be assigned to one of the ONUs and used by the ONU to detect its intended message.
  • the message ID may indicate the type of PLOAM message and the message data may include the payload of the PLOAM message.
  • the CRC can be used to verify if there is an error in the received PLOAM message.
  • Frame 300 may include different PLOAMs 316 corresponding to different ONUs, which may be indicated by different ONU-IDs.
  • Payload 318 can include broadcast data (eg, User data).
  • payload 318 can include a GPON encapsulation method (GEM) payload.
  • GEM GPON encapsulation method
  • FIG. 4 illustrates another embodiment of a frame portion 400 that may include synchronization information.
  • frame portion 400 may correspond to a PSBd in a downstream GTC or XGTC frame.
  • the PSBd 410 can include a PSync mode 412, a superframe structure 414, and a PON-ID structure 420.
  • frame portion 200 or PSBd may include approximately 24 bytes, wherein each of Psync mode 412, superframe structure 414, and PON-ID structure 420 may include approximately eight bytes.
  • each of superframe structure 414 and PON-ID structure 420 can include HEC encoding that can be used to detect/correct errors in corresponding fields.
  • PSync mode 412 can be used to detect the beginning of a PSBd in a frame and can include approximately 64 bits.
  • the ONU can use PSync mode 412 to align frames on downstream frame boundaries.
  • the PSync mode 412 can include a fixed mode, such as 0xC5E51840FD59BB49.
  • Superframe structure 414 can include superframe counter 416 and HEC code 418.
  • Superframe counter 416 may correspond to approximately 51 most significant bits of superframe structure 414 and may specify the order of the downstream frames transmitted. For each downstream (XGTC or GTC) frame, superframe counter 416 may include a value greater than the previously transmitted downstream frame. When the superframe counter 316 reaches a maximum value, the subsequent superframe counter 316 in subsequent downstream frames may be set to approximately zero.
  • the HEC code 418 may correspond to approximately the 13 least significant bits of the superframe structure 414 and may be configured in a manner substantially similar to the HEC field described above.
  • HEC code 418 may be a combination of a BCH code that operates on approximately 63 initial bits of a frame header and a single parity bit.
  • the PON-ID structure 420 can include a PON-ID 422 and a second HEC code 424.
  • PON-ID 422 may correspond to approximately 51 bits of PON-ID structure 420, and the HEC code may correspond to the remaining approximately 13 bits.
  • the PON-ID 422 can be set by the OLT and used by the ONU to detect a protection switching event or to generate a security key.
  • the configuration of the second HEC code 424 can be substantially similar to the HEC field described above.
  • HEC code 418 can be used to detect/correct errors in superframe counter 416
  • second HEC code 424 can be used to detect/correct errors in PON-ID 422.
  • the HEC code can be added to the synchronization information in the additional bytes as described in the frame portion 300 or the frame portion 400, To provide sufficient or acceptable error detection/correction capabilities for synchronizing information at the ONU.
  • this HEC coding scheme can provide efficient error detection/correction. For example, when the ONU is in a deep sleep situation, the ONU can relock to the OLT at each particular time period (eg, every approximately 10 microseconds). Thus, in the case of a false lock, multiple errors may occur in additional bytes (eg, approximately 24 bytes) that are not subject to FEC encoding. However, with the HEC code in the extra bytes, the probability of preventing or resolving these errors can be quite high.
  • FIG. 5 illustrates an embodiment of a synchronization state machine 500 that can be used by an ONU to synchronize downstream transmission frames, such as frame 200.
  • Synchronization state machine 500 may use a PSync mode in the downstream frame that may not be FEC encoded, such as PSync mode 312 or PSync mode 412.
  • the PSync mode may be located in a portion of the downstream frame, such as PSBd, frame portion 300, or first portion 210.
  • the specific format of the PSBd frame may refer to FIG.
  • the PSync mode may be protected by HEC code, such as HEC fields.
  • the ONU can implement the synchronization state machine 500, for example, using software, hardware, or both.
  • Synchronization state machine 500 can begin in a seek state 510 where a search for PSync mode can be performed in all possible alignments (eg, bit and/or byte alignment). If the correct PSync mode is found, the synchronization state machine 500 can transition to a Pre-Sync state 520 in which a fixed length of time (eg, approximately 125 microseconds) can be performed after the last detected PSync mode. Search for the second PSync mode. If the second PSync mode is not successfully found in the pre-synchronization state 520, the synchronization state machine 500 can return from the pre-synchronization state 520 to the seek state 510.
  • the synchronization state machine 500 can transition to the Sync state 530. If the synchronization state 530 is reached, the synchronization state machine 500 can announce that the downstream frames are successfully synchronized, and then begin processing the frames. In an embodiment, if the ONU detects M consecutive incorrect PSync fields or modes (M is an integer), the synchronization state machine 500 may declare that the synchronization of the downstream frame was unsuccessful and return to the seek state 510. For example, M can be equal to two.
  • the GTC frame and the XGTC frame are mentioned above.
  • the XGTC frame is taken as an example.
  • the structure of the XGTC frame can be referred to FIG. 3.
  • the GTC frame can also be applied to the data parsing method of the present invention.
  • the degradation of different users under the same passive optical network is different, and the quality of the user link is very different.
  • the unified device upgrade will generate a large waste and increase the investment pressure of the customer.
  • the first FEC codeword in the XGTC frame can be protected by using the existing first FEC code, and the error correction capability is stronger than the first FEC code.
  • Two FEC encodings to protect the second FEC codeword in the XGTC frame There may be multiple first FEC codewords in the first FEC encoded protected XGTC frame, and multiple second FEC codewords in the XGTC frame protected by the second FEC encoding.
  • FIG. 6 is a format of an XGTC frame according to an embodiment of the present invention. Unlike the XGTC frame format of FIG. 2, the XGTC frame includes first FEC code words 614 and 618 protected by a first FEC coded RS (248, 216). In addition, second FEC code protected second FEC code words 622 and 626 that are stronger than the first FEC encoding error correction capability are also included.
  • the specified location join pointer indicates the start and end position of the second FEC codeword encoded by the second FEC, the finger It is visible to all ONUs protected by the second FEC encoding, and is invisible to the ONUs protected by the first FEC encoding, that is, only the ONUs protected by the second FEC encoding can parse the second FEC codewords, using the first FEC encoding.
  • the protected ONU does not have the function of parsing the second FEC codeword.
  • the location where the pointer is stored includes, but is not limited to, the following fields: a profile message field in the PLOA message, a new field in the BWmap, and a fixed position of the last first FEC codeword in each frame.
  • the ONU protected by the second FEC code can parse the first FEC codeword in addition to the second FEC codeword.
  • the ONU protected by the second FEC code is wired according to the following steps:
  • the ONU protected by the second FEC encoding is synchronized according to the state machine described in FIG. 5, wherein the value of M can be increased from 2 to 6, and the fault tolerant bit of Psync can be increased from 2 to 4.
  • the ONU protected by the second FEC encoding parses the first FEC codeword, and acquires pointer information from the first FEC codeword. For this ONU link, the message may be incorrect due to insufficient protection of FEC encoding. Confirmation is carried out in a consistent manner for four consecutive receptions.
  • the ONU protected by the second FEC code confirms that the second FEC codeword is parsed after the start and end of the second FEC codeword, and the second FEC codeword is included in the XGTC frame that the second FEC coded protected ONU interacts with the OLT.
  • a second FEC codeword may also include start location information and end location information of other second FEC codewords, such that the second FEC code-protected ONU that normally goes online may obtain other second FEC codes from the second FEC codeword.
  • the start position information and the end position information of the word since the probability of the error of the second FEC code word is lower than the first FEC code word, the position information can be resolved from the second FEC code word more quickly and accurately.
  • the start and stop positions (starting position and ending position) of the second FEC codeword required for the second FEC encoding cannot occur every frame. Change, that is, the position of the second FEC codeword cannot be One frame changes, but the adjustment is made as needed to maintain the starting and ending position to the next adjustment.
  • the designated location in the area protected by the first FEC-encoded RS (248, 216), the designated location is added to the pointer, which is visible to all ONUs protected by the second FEC encoding, and protected by the first FEC encoding.
  • the ONU is not visible, and the pointer content is used to indicate the ONUID of the ONU protected by the second FEC encoding and the start and end position of the second FEC codeword encoded by the second FEC.
  • a pointer is added in the area protected by the second FEC code, and the pointer is visible to all ONUs that are encoded by the second FEC, and is used to indicate start position information and end position information of the second FEC code word of the next frame.
  • the location where the pointer is stored includes, but is not limited to, the following fields: an attribute message field in the PLOAM message, a new field in the BWmap, and a fixed position of the last first FEC codeword in each frame.
  • the ONU protected by the second FEC encoding can parse the first FEC codeword in addition to the second FEC codeword.
  • the ONU protected by the second FEC code is uplinked according to the following steps: the ONU protected by the second FEC code is synchronized according to the state machine described in FIG. 5, wherein the value of M can be increased from 2 to 6, and the fault tolerance bit of Psync can be 2 increased to 4.
  • the ONU protected by the second FEC encoding receives an XGTC frame from the OLT, the XGTC frame includes a first FEC codeword, the ONU protected by the second FEC encoding parses the first FEC codeword, and obtains a pointer from the first FEC codeword information.
  • the message may be incorrect due to insufficient FEC protection.
  • the ONU protected by the second FEC encoding adopts a method of attempting to go online, and the second FEC codeword is correctly parsed as long as the start position information and the end position information of the second FEC codeword are correctly found once. After that, the start position information and the end position information of the second FEC code word can be found.
  • the ONU protected by the second FEC code confirms the start position information and the end position information of the second FEC codeword, and then parses the second FEC codeword included in the XGTC frame that the ONU interacts with the OLT to Get user data.
  • a second FEC codeword may also include start location information and end location information of other second FEC codewords, such that the second FEC code-protected ONU that normally goes online may obtain other second FEC codes from the second FEC codeword.
  • the start position information and the end position information of the word since the probability of the error of the second FEC code word is lower than the first FEC code word, the position information can be resolved from the second FEC code word more quickly and accurately.
  • the start position and the end position of the second FEC codeword of each XGTC frame are not required to be the same, and the real-time performance is improved.
  • FIG. 7 is a schematic diagram of a data parsing method according to an embodiment of the present invention, the method includes:
  • the ONU receives a downlink data frame from the OLT, where the downlink data frame includes a first FEC codeword protected by the first FEC encoding, and a second FEC codeword protected by the second FEC encoding.
  • the format of the downlink data frame can refer to FIG. 3, and the ONU can parse the second FEC codeword and parse the first FEC codeword.
  • the error correction capability of the second FEC code used by the second FEC codeword is stronger than the first FEC code used by the first FEC codeword, and the first FEC codeword includes the second FEC codeword.
  • Location information and the second FEC codeword end location information.
  • S720 The ONU parses the start position information and the end position information of the second FEC codeword from the first FEC codeword.
  • the ONU Since the ONU has the ability to parse the first FEC codeword, the ONU parses the start location information and the end location information of the second FEC codeword from the first FEC codeword.
  • the second FEC codeword start location information and the second FEC codeword end location information may be located in an attribute message field in a PLOAM message of the downlink data frame, where The field added in the row data frame BWmap message, or the pre-set position of the last first FEC codeword in the downlink data frame.
  • the first FEC codeword includes a Psync field of 64 bits in length. As shown in FIG. 4, the Psync field may be part of the PSBd, and the ONU receives the downlink data frame, and parses the first FEC of the downlink data frame. Before the codeword, the method further includes: the ONU searches for the Psync field included in the first FEC codeword, and after matching the M1 Psync fields, confirms that the downlink data frame is synchronized, and the Psync field of the first FEC codeword The matching includes matching N1 bits in the Psync field of the first FEC codeword.
  • the value of M1 may take 2
  • the value of N1 may take 62, that is, the fault-tolerant bit of the Psync field of the first FEC codeword is 2 bits.
  • the ONU may parse from the plurality of first FEC codewords, and the start position information and the end position information of the parsed second FEC codeword are both When the same, the position of the second FEC code word is determined based on the start position information and the end position information.
  • the ONU parses the second FEC codeword determined according to the start location information and the end location information to acquire user data.
  • the ONU can locate the second FEC codeword according to the start location information and the end location information of the second FEC codeword, and can obtain the user data after parsing the second FEC codeword.
  • the second FEC codeword may include a Psync field of 64 bits in length
  • the method further includes: the ONU reading a Psync field included in the second FEC codeword, After matching the M2 Psync fields, parsing the second FEC codeword according to the start position and the end position of the second FEC codeword to obtain user data, and the matching of the Psync field of the second FEC codeword includes matching N2 bits in the Psync field of the second FEC codeword, the M2 is greater than M1, and the N2 is less than N1.
  • the value of M2 may be 6, and the value of N2 may be 60, that is, the error-tolerant bit of the Psync field of the second FEC codeword is 4 bits.
  • the data parsing method of the embodiment of the present invention may further include the following steps:
  • the ONU acquires start position information and a knot of the other second FEC codeword from the second FEC codeword. Beam position information;
  • the ONU parses the second FEC codeword determined according to the start location information and the end location information of the other second FEC codewords to obtain user data.
  • the ONU determines the other second FEC codewords according to the start location information and the end location information of the other second FEC codewords, and parses the other second FEC codewords to obtain user data.
  • the data frame exchanged between the OLT and the ONU includes the first FEC coded first FEC codeword and the second FEC coded second FEC codeword, in the first FEC codeword.
  • the start location information and the end location information of the second FEC codeword are saved. Since the error correction capability of the second FEC encoding is stronger than the first FEC encoding, the technical solution of the embodiment of the present invention can reduce the error rate and improve the synchronization efficiency. .
  • different users in the same PON can select the FEC coding mode according to the link quality, which can be compatible with users with different needs and improve user satisfaction.
  • FIG. 8 is a structural diagram of an ONU according to an embodiment of the present invention, where the ONU includes:
  • the receiving unit 810 is configured to receive, by the OLT, a downlink data frame, where the downlink data frame includes a first FEC code protected first FEC codeword, and a second FEC code protected second FEC codeword, the second FEC code
  • the error correction capability of the second FEC code used by the word is stronger than the first FEC code used by the first FEC codeword
  • the first FEC codeword includes the second FEC codeword start position information and The second FEC codeword end position information is described.
  • the parsing unit 820 is configured to parse the start location information and the end location information of the second FEC codeword from the first FEC codeword, and parse the second determined according to the start location information and the end location information FEC codeword to get user data.
  • the second FEC codeword start location information and the second FEC codeword end location information may be located in an attribute message field in a PLOAM message of the downlink data frame, where the downlink data frame BWmap message is An added field, or a pre-set position of the last first FEC codeword in the downstream data frame.
  • the ONU may further include a search unit 830, where the first FEC codeword may include a physical synchronization Psync field of length 64 bits before the parsing unit 820 parses the first FEC codeword of the downlink data frame
  • the search unit 830 searches for the Psync field included in the first FEC codeword, and after matching the M1 Psync fields, confirms that the downlink data frame is synchronized, and the matching of the Psync field of the first FEC codeword includes matching N1 bits in the Psync field of the first FEC codeword.
  • the second FEC codeword may also include a physical synchronization Psync field of 64 bits.
  • the searching unit 830 may be further configured to: read the second FEC codeword.
  • the Psync field includes, after matching the M2 Psync fields, parsing the second FEC codeword according to the start position and the end position of the second FEC codeword to obtain user data, and the PSF of the second FEC codeword
  • the matching of the fields includes matching N2 bits in the Psync field of the second FEC codeword, the M2 being greater than M1, and the N2 being less than N1.
  • the receiving unit 810 of the embodiment of the present invention may be a receiver, the parsing unit 820 may be a decoder, and the function of the searching unit 830 may be implemented by a processor.
  • FIG. 9 is a structural diagram of an OLT according to an embodiment of the present invention, where the OLT includes:
  • the data generating unit 910 is configured to generate a downlink data frame, where the downlink data frame includes a first forward error correction FEC code protected first FEC codeword, and a second FEC code protected second FEC codeword, where The error correction capability of the second FEC code used by the second FEC codeword is stronger than the first FEC code used by the first FEC codeword, and the first FEC codeword includes the start position of the second FEC codeword Information and the second FEC codeword end location information;
  • the sending unit 920 is configured to send the downlink data frame to the optical network unit ONU.
  • the second FEC codeword in the downlink data frame generated by the data generating unit 910 may include start location information and end location information of other second FEC codewords.
  • the data generating unit 910 may be a framer, and the transmitting unit 920 may be a Transmitter.
  • the data frame exchanged between the OLT and the ONU includes the first FEC coded first FEC codeword and the second FEC coded second FEC codeword, in the first FEC codeword.
  • the start location information and the end location information of the second FEC codeword are saved. Since the error correction capability of the second FEC encoding is stronger than the first FEC encoding, the technical solution of the embodiment of the present invention can reduce the error rate and improve the synchronization efficiency. .
  • different users in the same PON can select the FEC coding mode according to the link quality, which can be compatible with users with different needs and improve user satisfaction.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

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

Abstract

Provided is a data parsing method, comprising: an optical network unit (ONU) receiving a downlink data frame from an optical line terminal (OLT), wherein the downlink data frame comprises a first FEC codeword protected through first forward error correction (FEC) encoding and a second FEC codeword protected through second FEC encoding, the error correction capability of the second FEC encoding adopted by the second FEC codeword is stronger than that of the first FEC encoding adopted by the first FEC codeword, and the first FEC codeword comprises start position information about the second FEC codeword and end position information about the second FEC codeword; the ONU parsing the start position information and the end position information about the second FEC codeword from the first FEC codeword; and the ONU parsing the second FEC codeword determined according to the start position information and the end position information so as to acquire user data. By means of the data parsing method in the embodiments of the present invention, a bit error rate can be reduced, thereby improving the synchronization efficiency. Further provided are a corresponding data transmission method, a corresponding ONU and an OLT.

Description

数据解析和数据传输方法、装置Data analysis and data transmission method and device 技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种数据解析和数据传输方法、装置。The present invention relates to the field of communications technologies, and in particular, to a data parsing and data transmission method and apparatus.
背景技术Background technique
PON(Passive Optical Network,无源光网络)技术能够极大的节省光纤资源,目前已经广泛应用于接入领域。PON网络一般由OLT(Optical Line Termination,光线路终端)、POS(Passive Optical Splitter,无源光纤分支器)和ONU(Optical Network Unit,光网络单元)组成。The PON (Passive Optical Network) technology can greatly save fiber resources and has been widely used in the field of access. The PON network is generally composed of an OLT (Optical Line Termination), a POS (Passive Optical Splitter), and an ONU (Optical Network Unit).
PON中OLT到ONU的下行数据采用帧的形式广播给所有处于工作状态的ONU。每个ONU接受帧消息后解析所有数据,并抛弃其他ONU请求的数据。以XGPON(10G-GPON,10吉比特无源光网络)为例说明,XGPON的下行数据帧XGTC(XGPON transmission convergence,10吉比特无源光网络传输汇聚)帧按照FEC(Forward Error Correction,前向错误纠正)码块要求分割为若干FEC码块,每个FEC码块做FEC编码后的信息码块和校验位共同构成FEC码字。一定数量的FEC码字组合成载荷,对载荷进行扰码。扰码后的载荷加上用于同步的字段共同构成XGPON下行的PHY(Physical Layer,物理层)帧。接受测接受数据后,首先要根据同步字段进行数据同步,然后对载荷部分进行解扰,再定界出FEC的起始位置,以便正确解析FEC编码。随着时间的推移,XGPON系统光器件会老化,使链路功率预算紧张,误码率上升,甚至无法正常工作,高误码下同步难度会增加,影响客户的满意度。The downlink data of the OLT to the ONU in the PON is broadcast to all ONUs in the working state in the form of frames. Each ONU parses all data after accepting the frame message and discards the data requested by other ONUs. Taking XGPON (10G-GPON, 10 Gigabit Passive Optical Network) as an example, XGPON's downlink data frame XGTC (XGPON transmission convergence, 10 Gigabit Passive Optical Network Transmission Convergence) frame is in accordance with FEC (Forward Error Correction, Forward) The error correction code block is required to be divided into a plurality of FEC code blocks, and the FEC coded information code block and the check bits of each FEC code block together constitute an FEC code word. A certain number of FEC codewords are combined into a payload to scramble the payload. The scrambled payload plus the fields used for synchronization together constitute a PHY (Physical Layer) frame of the XGPON downlink. After accepting the measured data, the data is first synchronized according to the synchronization field, then the payload portion is descrambled, and the starting position of the FEC is delimited to correctly parse the FEC encoding. Over time, the optical components of the XGPON system will age, making the link power budget tight, the bit error rate rising, and even failing to work properly. The synchronization difficulty will increase under high error codes, affecting customer satisfaction.
发明内容Summary of the invention
本发明实施例提供了一种数据解析方法,包括:光网络单元ONU从光线路 终端OLT接收下行数据帧,所述下行数据帧包括第一前向错误纠正FEC编码保护的第一FEC码字,和第二FEC编码保护的第二FEC码字,所述第二FEC码字所采用的第二FEC编码的纠错能力比所述第一FEC码字采用的第一FEC编码更强,所述第一FEC码字中包括所述第二FEC码字开始位置信息和所述第二FEC码字结束位置信息;所述ONU从所述第一FEC码字中解析出所述第二FEC码字的开始位置信息和结束位置信息;所述ONU解析根据所述开始位置信息和所述结束位置信息确定的第二FEC码字以获取用户数据。Embodiments of the present invention provide a data parsing method, including: an optical network unit ONU from an optical line The terminal OLT receives a downlink data frame, where the downlink data frame includes a first forward error correction FEC code protected first FEC codeword, and a second FEC code protected second FEC codeword, the second FEC codeword The error correction capability of the second FEC code used is stronger than the first FEC code used by the first FEC codeword, and the first FEC codeword includes the second FEC codeword start position information and the first Two FEC codeword end position information; the ONU parses the start position information and the end position information of the second FEC codeword from the first FEC codeword; the ONU parses the start location information and the location The second FEC codeword determined by the end location information is obtained to obtain user data.
本发明实施例还提供了一种数据传输方法,包括:光线路终端OLT生成下行数据帧,所述下行数据帧包括第一前向错误纠正FEC编码保护的第一FEC码字,和第二FEC编码保护的第二FEC码字,所述第二FEC码字所采用的第二FEC编码的纠错能力比所述第一FEC码字采用的第一FEC编码更强,所述第一FEC码字中包括所述第二FEC码字开始位置信息和所述第二FEC码字结束位置信息;所述OLT将所述下行数据帧发送给光网络单元ONU。The embodiment of the present invention further provides a data transmission method, including: an optical line terminal OLT generates a downlink data frame, where the downlink data frame includes a first forward error correction FEC code protected first FEC codeword, and a second FEC Encoding a protected second FEC codeword, the second FEC code used by the second FEC codec has a stronger error correction capability than the first FEC codeword used by the first FEC codeword, the first FEC code The word includes the second FEC codeword start position information and the second FEC codeword end position information; the OLT sends the downlink data frame to the optical network unit ONU.
本发明实施例还提供了一种光网络单元ONU,包括:接收单元,用于从光线路终端OLT接收下行数据帧,所述下行数据帧包括第一前向错误纠正FEC编码保护的第一FEC码字,和第二FEC编码保护的第二FEC码字,所述第二FEC码字所采用的第二FEC编码的纠错能力比所述第一FEC码字采用的第一FEC编码更强,所述第一FEC码字中包括所述第二FEC码字开始位置信息和所述第二FEC码字结束位置信息。解析单元,用于从所述第一FEC码字中解析出所述第二FEC码字的开始位置信息和结束位置信息,解析根据所述开始位置信息和所述结束位置信息确定的第二FEC码字以获取用户数据。An embodiment of the present invention further provides an optical network unit ONU, including: a receiving unit, configured to receive a downlink data frame from an optical line terminal OLT, where the downlink data frame includes a first forward error correction FEC code protection first FEC a codeword, and a second FEC code-protected second FEC codeword, wherein the second FEC code uses a second FEC coded error correction capability that is stronger than the first FEC codeword uses the first FEC code And the first FEC codeword includes the second FEC codeword start location information and the second FEC codeword end location information. a parsing unit, configured to parse starting position information and ending position information of the second FEC codeword from the first FEC codeword, and parse a second FEC determined according to the starting location information and the ending location information Codewords to get user data.
本发明实施例还提供了一种光线路终端OLT,包括:数据生成单元,用于生成下行数据帧,所述下行数据帧包括第一前向错误纠正FEC编码保护的第一FEC码字,和第二FEC编码保护的第二FEC码字,所述第二FEC码字所采用的第二FEC编码的纠错能力比所述第一FEC码字采用的第一FEC编码更强,所述 第一FEC码字中包括所述第二FEC码字开始位置信息和所述第二FEC码字结束位置信息;发送单元,用于将所述下行数据帧发送给光网络单元ONU。An embodiment of the present invention further provides an optical line terminal OLT, including: a data generating unit, configured to generate a downlink data frame, where the downlink data frame includes a first forward error correction FEC code protected first FEC codeword, and a second FEC code protected second FEC codeword, the second FEC code used by the second FEC code has a stronger error correction capability than the first FEC codeword used by the first FEC codeword, The first FEC codeword includes the second FEC codeword start location information and the second FEC codeword end location information, and the sending unit is configured to send the downlink data frame to the optical network unit ONU.
本发明实施例提供的技术方案中,OLT和ONU之间交互的数据帧中同时包括第一FEC编码的第一FEC码字,和第二FEC编码的第二FEC码字,在第一FEC码字中保存第二FEC码字的开始位置信息和结束位置信息,由于第二FEC编码的纠错能力比第一FEC编码更强,本发明实施例的技术方案可以降低误码率,从而提高同步效率。同时由于存在两种FEC编码的FEC码字,同一PON下不同用户可以根据链路质量情况选择使用的FEC编码方式,可以兼容不同需求的用户,提高用户的满意度。In the technical solution provided by the embodiment of the present invention, the data frame exchanged between the OLT and the ONU includes the first FEC coded first FEC codeword and the second FEC coded second FEC codeword, in the first FEC code. The start position information and the end position information of the second FEC codeword are saved in the word. Since the error correction capability of the second FEC code is stronger than the first FEC code, the technical solution of the embodiment of the present invention can reduce the bit error rate, thereby improving synchronization. effectiveness. At the same time, because there are two kinds of FEC coded FEC codewords, different users in the same PON can select the FEC coding mode according to the link quality, which can be compatible with users with different needs and improve user satisfaction.
附图说明DRAWINGS
为了更完整地理解本发明,现在参考以下结合附图及详细描述进行的简要描述,其中相同参考标号表示相同部分。For a fuller understanding of the invention, reference should be
图1是PON的一实施例的示意图。1 is a schematic diagram of an embodiment of a PON.
图2是本发明实施例提供的一种下行数据帧的结构示意图。FIG. 2 is a schematic structural diagram of a downlink data frame according to an embodiment of the present invention.
图3是本发明另一实施例提供的一种下行数据帧的结构示意图。FIG. 3 is a schematic structural diagram of a downlink data frame according to another embodiment of the present invention.
图4是本发明实施例提供的下行数据帧的一部分的结构示意图。FIG. 4 is a schematic structural diagram of a part of a downlink data frame according to an embodiment of the present invention.
图5是同步状态机的一实施例的示意图。Figure 5 is a schematic illustration of an embodiment of a synchronous state machine.
图6是本发明另一实施例提供的下行数据帧的结构示意图。FIG. 6 is a schematic structural diagram of a downlink data frame according to another embodiment of the present invention.
图7是本发明实施例提供的数据解析方法的流程图。FIG. 7 is a flowchart of a data parsing method according to an embodiment of the present invention.
图8是本发明实施例提供的ONU结构图。FIG. 8 is a structural diagram of an ONU according to an embodiment of the present invention.
图9是本发明实施例提供的OLT结构图。FIG. 9 is a structural diagram of an OLT according to an embodiment of the present invention.
具体实施方式detailed description
首先应当理解,虽然下文介绍了一个或多个实施例的实现过程,但本发明 涉及的系统和/或方法可以采用任何技术(不管当前是否已知或存在)来实现。本发明绝不仅限于下文所述的阐释性实施例、附图和技术,包括本文中说明和介绍的示范设计和实施例,对本发明可在所附权利要求及其等效要求的范围内进行修改。It should be understood at the outset that although the implementation process of one or more embodiments is described below, the present invention The systems and/or methods involved may be implemented using any technique, whether or not currently known or present. The invention is not limited to the illustrative embodiments, the drawings and the techniques described below, including the exemplary designs and embodiments described and illustrated herein, which may be modified within the scope of the appended claims and their equivalents. .
图1表示PON 100的一个实施例,其可以是用于提供“最后一英里”网络接入的一种系统。所述PON 100可以是一个点到多点的网络,包括光线路终端(Optical Line Terminal,OLT)110、多个光网络单元(Optical Network Unit,ONU)120和光分配网络(Optical Distribution Network,ODN)130,其中所述ODN 130可以耦合到所述OLT 110和所述多个ONU 120。例如,所述OLT 110可以位于中心局(Central Office,CO),所述多个ONU 120可以位于多个用户驻地,所述ODN 130设置在所述OLT 110和所述ONU 120之间。所述PON 100可以是不需要任何有源器件来实现所述OLT 110与所述ONU 120之间的数据分发的通信网络。相反,所述PON 100可以使用所述ODN 130中的无源光器件在所述OLT 110与所述ONU 120之间分发数据。1 shows an embodiment of a PON 100, which may be a system for providing "last mile" network access. The PON 100 can be a point-to-multipoint network, including an Optical Line Terminal (OLT) 110, a plurality of Optical Network Units (ONUs) 120, and an Optical Distribution Network (ODN). 130, wherein the ODN 130 can be coupled to the OLT 110 and the plurality of ONUs 120. For example, the OLT 110 may be located at a Central Office (CO), the plurality of ONUs 120 may be located at a plurality of customer premises, and the ODN 130 is disposed between the OLT 110 and the ONU 120. The PON 100 may be a communication network that does not require any active devices to implement data distribution between the OLT 110 and the ONU 120. Instead, the PON 100 can distribute data between the OLT 110 and the ONU 120 using passive optical devices in the ODN 130.
在一种实施例中,所述PON 100可以是GPON系统,其下行数据可以采用大约2.5千兆比特每秒(Gbps)的速率进行广播,而上行数据可以采用大约1.25Gbps的速率进行传输。在另一种实施例中,所述PON 100可以是NGA系统,其可以被配置来以更好的可靠性和效率并通过更大的带宽来传输数据帧。例如,所述PON 100可以是10Gbps GPON(又称为XGPON),其下行带宽大约为10Gbps,上行带宽至少大约为2.5Gbps。另外,可以适用于所述PON 100的其他例子还包括:ITU-T G.983标准定义的异步传输模式无源光网络 (Asynchronous transfer mode PON,APON)和宽带无源光网络(Broadband PON,BPON)、ITU-T G.984标准定义的GPON、IEEE 802.3ah标准定义的以太网无源光网络(Ethernet PON,EPON)、波分复用(Wavelength Division Multiplexed,WDM)无源光网络(WPON),上述标准定义的各种PON系统的全部内容通过引用结合在本申请文件中。In one embodiment, the PON 100 may be a GPON system, downlink data may be broadcast at a rate of approximately 2.5 Gigabits per second (Gbps), and uplink data may be transmitted at a rate of approximately 1.25 Gbps. In another embodiment, the PON 100 can be an NGA system that can be configured to transmit data frames with greater reliability and efficiency and through greater bandwidth. For example, the PON 100 can be a 10 Gbps GPON (also known as XGPON) with a downstream bandwidth of approximately 10 Gbps and an upstream bandwidth of at least approximately 2.5 Gbps. In addition, other examples that may be applied to the PON 100 include: an asynchronous transmission mode passive optical network defined by the ITU-T G.983 standard. (Asynchronous transfer mode PON, APON) and broadband passive optical network (Broadband PON, BPON), GPON defined by ITU-T G.984 standard, Ethernet passive optical network (EPON PON, EPON) defined by IEEE 802.3ah standard Wavelength Division Multiplexed (WDM) Passive Optical Network (WPON), the entire contents of which are defined in the above-mentioned standards, are incorporated herein by reference.
在一种实施例中,所述OLT 110可以是用于在所述多个ONU 120与另一个网络(图未示)之间传输数据的任何部件。具体来说,所述OLT 110可以充当所述多个ONU 120与上述另一个网络之间的媒介。例如,所述OLT 110可以将从上述另一个网络接收到的数据转发到所述多个ONU 120,以及将从所述多个ONU120接收到的数据转发到上述另一个网络。尽管所述OLT 110的具体结构配置可能会因所述PON 100的具体类型而异,在一个实施例中,所述OLT 110可以包括一个发射机和一个接收机。如果上述另一个网络使用的网络协议与所述PON 100所使用的PON协议不同,例如,上述另一个网络使用以太网协议或同步光网络/同步数字体系(SONET/SDH)协议,所述OLT 110可以进一步包括一个转换器,用于将上述网络协议转变为PON协议。并且,所述OLT 110的转换器还可以将PON协议转变为上述网络协议。所述OLT 110通常位于中心位置,例如中心局,但也可以位于其他位置。In one embodiment, the OLT 110 may be any component for transferring data between the plurality of ONUs 120 and another network (not shown). In particular, the OLT 110 can act as a medium between the plurality of ONUs 120 and the other network described above. For example, the OLT 110 can forward data received from the other network to the plurality of ONUs 120 and forward data received from the plurality of ONUs 120 to the other network. Although the specific configuration of the OLT 110 may vary depending on the particular type of PON 100, in one embodiment, the OLT 110 may include a transmitter and a receiver. If the network protocol used by the other network is different from the PON protocol used by the PON 100, for example, the other network uses an Ethernet protocol or a Synchronous Optical Network/Synchronous Digital Hierarchy (SONET/SDH) protocol, the OLT 110. A converter may be further included for converting the above network protocol into a PON protocol. Moreover, the converter of the OLT 110 can also convert the PON protocol into the above network protocol. The OLT 110 is typically located at a central location, such as a central office, but may be located at other locations as well.
在一种实施例中,所述多个ONU 120可以是用于与所述OLT 110和客户或用户(图未示)通信的任何器件。具体来说,所述多个ONU 120可以充当所述OLT 110与所述用户之间的媒介。例如,所述多个ONU 120可以将从所述OLT 110接收到的数据转发到所述用户,以及将从所述用户接收到的数据转发到所述 OLT 110。尽管所述多个ONU 120的具体结构配置可能会因所述PON 100的具体类型而异,在一个实施例中,所述ONU 120可以包括一个用于将光信号发送到所述OLT 110的光发射机以及一个用于接收来自所述OLT 110的光信号的接收机。此外,所述ONU 120可以进一步包括一个转换器,用于为用户将光信号转换为电信号,比如基于以太网协议或ATM协议的信号;以及另一个发射机和/接收机,用于向所述用户发送和/或从所述用户接收电信号。在一些实施例中,所述ONU 120和光网络终端(Optical Network Terminal,ONT)相似,因此,在本申请文件中ONU和ONT之间可以互换。典型地,所述多个ONU可以位于分布式位置,例如用户驻地,但也可以位于其他位置。In one embodiment, the plurality of ONUs 120 can be any device for communicating with the OLT 110 and a customer or user (not shown). In particular, the plurality of ONUs 120 can act as a medium between the OLT 110 and the user. For example, the plurality of ONUs 120 can forward data received from the OLT 110 to the user and forward data received from the user to the OLT 110. Although the specific configuration of the plurality of ONUs 120 may vary depending on the particular type of PON 100, in one embodiment, the ONUs 120 may include a light for transmitting optical signals to the OLT 110. A transmitter and a receiver for receiving optical signals from the OLT 110. Furthermore, the ONU 120 may further comprise a converter for converting an optical signal into an electrical signal for a user, such as a signal based on an Ethernet protocol or an ATM protocol; and another transmitter and/or receiver for the The user transmits and/or receives an electrical signal from the user. In some embodiments, the ONU 120 is similar to an Optical Network Terminal (ONT), and thus, the ONU and the ONT are interchangeable in this document. Typically, the plurality of ONUs may be located in a distributed location, such as a customer premises, but may be located elsewhere.
在一个实施例中,所述ODN 130可以是一个数据分发系统,其可以包括光缆、耦合器、分路器、分发器和/或其他设备。在一个实施例中,所述光缆、耦合器、分路器、分发器和/或其他设备可以是无源光器件。具体来说,所述光缆、耦合器、分路器、分发器和/或其他设备可以是在所述OLT 110与所述多个ONU 120之间分发数据信号时不需要电源的器件。可替代地,所述ODN 130还可以包括一个或多个处理设备,例如,光放大器。在如图1所示的分支结构中,所述ODN 130具体可以从所述OLT 110延伸到所述ONU 120,但也可以配置成其他点到多点的结构。In one embodiment, the ODN 130 can be a data distribution system that can include fiber optic cables, couplers, splitters, distributors, and/or other devices. In one embodiment, the fiber optic cable, coupler, splitter, distributor, and/or other device may be a passive optical device. In particular, the fiber optic cable, coupler, splitter, distributor, and/or other device may be a device that does not require a power source when distributing data signals between the OLT 110 and the plurality of ONUs 120. Alternatively, the ODN 130 may also include one or more processing devices, such as optical amplifiers. In the branching structure as shown in FIG. 1, the ODN 130 may specifically extend from the OLT 110 to the ONU 120, but may also be configured in other point-to-multipoint configurations.
在一种实施例中,所述OLT 110和所述ONU 120可以进行数据交换,所述数据可以封装在帧或者报文之中,比如以太网帧。所述帧可以包括净荷和帧头,其中所述帧头可以包括同步和配置信息。例如,传输汇聚(Tranmission Convergence,TC)帧可以用于传输基于GPON传输汇聚(GTC)协议层的下行信 息,比如从所述OLT 110至所述ONU 120。所述传输汇聚层在ITU-T G.984.3标准中定义,所述标准的内容通过引用结合在本申请文件中。所述TC还可以包括物理同步(Physical Synchronization,Psync)字段,所述Psync字段可以指示所述TC帧的开始。典型地,所述Psync字段可以包括一个固定的编码,其可以具有固定的编码值“0xB6AB31E0”(十六进制格式),用来指示所述帧的开始。所述字段的可以等于大约四个字节(Bytes)。所述OLT 110或者ONU 120的接收机可以采用接收帧中的所述Psync字段对所述帧进行定界,比如对所述帧分离或区分。In one embodiment, the OLT 110 and the ONU 120 may perform data exchange, and the data may be encapsulated in a frame or message, such as an Ethernet frame. The frame may include a payload and a frame header, wherein the frame header may include synchronization and configuration information. For example, a Transmission Convergence (TC) frame can be used to transmit a downlink message based on the GPON Transmission Aggregation (GTC) protocol layer. Information, such as from the OLT 110 to the ONU 120. The transport convergence layer is defined in the ITU-T G.984.3 standard, the contents of which are incorporated herein by reference. The TC may also include a Physical Synchronization (Psync) field, which may indicate the beginning of the TC frame. Typically, the Psync field may include a fixed code, which may have a fixed code value of "0xB6AB31E0" (hexadecimal format) to indicate the beginning of the frame. The field can be equal to approximately four bytes (Bytes). The OLT 110 or the receiver of the ONU 120 may delimit the frame using the Psync field in the received frame, such as separating or distinguishing the frames.
图2说明帧200的一实施例,其可包括经FEC编码的控制及/或用户数据及同步信息。举例来说,帧200可对应于GTC或XGTC帧,例如从OLT 110到ONU 120的下游帧,且可在固定的时间窗内传输。帧200可包括第一部分210及第二部分211。第一部分210可对应于GTC或XGTC PCBd或标头,且可包括时间或同步信息。2 illustrates an embodiment of a frame 200 that may include FEC encoded control and/or user data and synchronization information. For example, frame 200 may correspond to a GTC or XGTC frame, such as a downstream frame from OLT 110 to ONU 120, and may be transmitted within a fixed time window. Frame 200 can include a first portion 210 and a second portion 211. The first portion 210 can correspond to a GTC or XGTC PCBd or header and can include time or synchronization information.
第二部分211可对应于GTC或XGTC有效负载,且可包括多个可能经FEC编码的码字。举例来说,第二部分211可包括整数多个FEC码字。下行数据帧XGTC frame按照FEC码块要求分割为若干FEC信息码块,每个FEC码块做FEC编码后的信息码块和校验位(P)共同构成FEC码字。一定数量的FEC码字组合成125us PHY Frame的payload.并进行扰码。扰码后的PHY frame payload加上用于同步的字段psbd共同构成XGPON下行的PHY frame。接受测接受数据后,首先要根据PSBD进行数据同步,然后对payload部分进行解扰,再定界出FEC的起始位置,以便正确解析FEC编码。The second portion 211 can correspond to a GTC or XGTC payload and can include a plurality of codewords that may be FEC encoded. For example, the second portion 211 can include an integer number of FEC code words. The downlink data frame XGTC frame is divided into a plurality of FEC information code blocks according to the FEC code block requirement, and the FEC coded information code block and the check bit (P) of each FEC code block together constitute an FEC code word. A certain number of FEC codewords are combined into a payload of 125us PHY Frame and scrambled. The scrambled PHY frame payload plus the field psbd for synchronization together form the PHY frame of the XGPON downlink. After accepting the measured data, the data synchronization is first performed according to the PSBD, then the payload portion is descrambled, and the starting position of the FEC is delimited to correctly parse the FEC encoding.
图3说明帧300的一实施例,帧300可以是下行GTC或XGTC帧,其可包括经FEC编码的控制及/或用户数据及同步信息。第一部分310与图2中 的第一部分210类似,在此不再详述。第二部分311可对应于GTC或XGTC有效负载,且可包括多个可能经FEC编码的码字。举例来说,第二部分311可包括整数多个FEC码字。GTC或XGTC有效负载可包括有效负载长度下游(Plend)312、上游带宽图(US BWmap)314、至少一个物理层操作、管理与维护(PLOAM)字段316及有效负载318。Plend 312可包括多个子字段,包含B长度(Blen)及循环冗余校验(CRC)。Blen可指示US BWmap 314的长度,例如以字节为单位。CRC可用于例如在ONU 120处验证接收到的帧300中是否存在错误。举例来说,当CRC失败时,可丢弃帧300。在一些支持异步传送模式(ATM)通信的PON系统中,子字段还可包含A长度(Alen)子字段,其指示ATM有效负载的长度,所述ATM有效负载可包括帧300的一部分。US BWmap 314可包括块或子字段的阵列,其中的每一者可包括对单个传送器(TC)的单个带宽分配,可用于管理GTC层中的上游带宽分配。TC可为GTC层中的输送实体,其可经配置以将较高层信息从输入端传送到输出端,例如从OLT到ONU。BWmap 314中的每一块可包括多个子字段,例如分配识别符(Alloc-ID)、旗标、开始时间(SStart)、停止时间(SStop)、CRC或以上各项的组合。3 illustrates an embodiment of a frame 300, which may be a downstream GTC or XGTC frame, which may include FEC encoded control and/or user data and synchronization information. The first part 310 and FIG. 2 The first portion 210 is similar and will not be described in detail herein. The second portion 311 can correspond to a GTC or XGTC payload and can include a plurality of codewords that may be FEC encoded. For example, the second portion 311 can include an integer number of FEC code words. The GTC or XGTC payload may include a payload length downstream (Plend) 312, an upstream bandwidth map (US BWmap) 314, at least one physical layer operation, management and maintenance (PLOAM) field 316, and a payload 318. Plend 312 may include multiple subfields including B length (Blen) and cyclic redundancy check (CRC). Blen may indicate the length of the US BWmap 314, for example in bytes. The CRC can be used, for example, to verify at the ONU 120 whether there is an error in the received frame 300. For example, when the CRC fails, frame 300 can be discarded. In some PON systems that support asynchronous transfer mode (ATM) communication, the subfield may also include an A length subfield that indicates the length of the ATM payload, which may include a portion of frame 300. The US BWmap 314 can include an array of blocks or subfields, each of which can include a single bandwidth allocation to a single transmitter (TC) that can be used to manage upstream bandwidth allocations in the GTC layer. The TC may be a transport entity in the GTC layer that may be configured to communicate higher layer information from the input to the output, such as from the OLT to the ONU. Each block in BWmap 314 may include multiple subfields, such as an allocation identifier (Alloc-ID), a flag, a start time (SStart), a stop time (SStop), a CRC, or a combination of the above.
PLOAM字段316可包括PLOAM消息,所述消息可从OLT被发送到ONU,且包含操作、管理与维护(OAM)相关告警或由系统事件触发的阈值越限告警。PLOAM字段316可包括多个子字段,例如ONU识别符(ONU-ID)、消息识别符(消息ID)、消息数据及CRC。ONU-ID可包括地址,所述地址可被指派给ONU中的一者,且可由所述ONU用来检测其预期消息。消息ID可指示PLOAM消息的类型,且消息数据可包括PLOAM消息的有效负载。CRC可用来验证接收到的PLOAM消息中是否存在错误。举例来说,当CRC失败时,可丢弃PLOAM消息。帧300可包括对应于不同ONU的不同PLOAM 316,所述不同ONU可由不同ONU-ID指示。有效负载318可包括广播数据(例如, 用户数据)。举例来说,有效负载318可包括GPON封装方法(GEM)有效负载。The PLOAM field 316 can include a PLOAM message that can be sent from the OLT to the ONU and includes an Operation, Management and Maintenance (OAM) related alarm or a threshold violation alarm triggered by a system event. The PLOAM field 316 can include multiple subfields, such as an ONU identifier (ONU-ID), a message identifier (message ID), message data, and a CRC. The ONU-ID may include an address that may be assigned to one of the ONUs and used by the ONU to detect its intended message. The message ID may indicate the type of PLOAM message and the message data may include the payload of the PLOAM message. The CRC can be used to verify if there is an error in the received PLOAM message. For example, when the CRC fails, the PLOAM message can be discarded. Frame 300 may include different PLOAMs 316 corresponding to different ONUs, which may be indicated by different ONU-IDs. Payload 318 can include broadcast data (eg, User data). For example, payload 318 can include a GPON encapsulation method (GEM) payload.
图4说明帧部分400的另一实施例,其可包括同步信息。举例来说,帧部分400可对应于下游GTC或XGTC帧中的PSBd。PSBd 410可包括PSync模式412、超帧结构414及PON-ID结构420。在一实施例中,帧部分200或PSBd可包括大约24个字节,其中Psync模式412、超帧结构414及PON-ID结构420中的每一者可包括大约八个字节。此外,超帧结构414及PON-ID结构420中的每一者可包括HEC编码,可用于检测/校正对应字段中的错误。FIG. 4 illustrates another embodiment of a frame portion 400 that may include synchronization information. For example, frame portion 400 may correspond to a PSBd in a downstream GTC or XGTC frame. The PSBd 410 can include a PSync mode 412, a superframe structure 414, and a PON-ID structure 420. In an embodiment, frame portion 200 or PSBd may include approximately 24 bytes, wherein each of Psync mode 412, superframe structure 414, and PON-ID structure 420 may include approximately eight bytes. Moreover, each of superframe structure 414 and PON-ID structure 420 can include HEC encoding that can be used to detect/correct errors in corresponding fields.
PSync模式412可用于检测帧中的PSBd的开头,且可包括大约64个比特。ONU可使用PSync模式412在下游帧边界上对准帧。PSync模式412可包括固定模式,例如0xC5E51840FD59BB49。超帧结构414可包括超帧计数器416及HEC代码418。超帧计数器416可对应于超帧结构414的大约51个最高有效比特,且可指定所传输的下游帧的顺序。对于每一下游(XGTC或GTC)帧,超帧计数器416可包括大于先前传输的下游帧的值。当超帧计数器316达到最大值时,可将后续下游帧中的后续超帧计数器316设置成大约为零。HEC代码418可对应于超帧结构414的大约13个最低有效比特,且其配置方式可大致类似于上述HEC字段。HEC代码418可为对帧标头的大约63个初始比特进行操作的BCH代码与单个奇偶校验比特的组合。 PSync mode 412 can be used to detect the beginning of a PSBd in a frame and can include approximately 64 bits. The ONU can use PSync mode 412 to align frames on downstream frame boundaries. The PSync mode 412 can include a fixed mode, such as 0xC5E51840FD59BB49. Superframe structure 414 can include superframe counter 416 and HEC code 418. Superframe counter 416 may correspond to approximately 51 most significant bits of superframe structure 414 and may specify the order of the downstream frames transmitted. For each downstream (XGTC or GTC) frame, superframe counter 416 may include a value greater than the previously transmitted downstream frame. When the superframe counter 316 reaches a maximum value, the subsequent superframe counter 316 in subsequent downstream frames may be set to approximately zero. The HEC code 418 may correspond to approximately the 13 least significant bits of the superframe structure 414 and may be configured in a manner substantially similar to the HEC field described above. HEC code 418 may be a combination of a BCH code that operates on approximately 63 initial bits of a frame header and a single parity bit.
PON-ID结构420可包括PON-ID 422及第二HEC代码424。PON-ID 422可对应于PON-ID结构420的大约51个比特,且HEC代码可对应于其余的大约13个比特。PON-ID 422可由OLT设置且由ONU使用来检测保护倒换事件或用于生成安全密钥。第二HEC代码424的配置可大致类似于上述HEC字段。具体来说,HEC代码418可用来检测/校正超帧计数器416中的错误,且第二HEC代码424可用来检测/校正PON-ID 422中的错误。 The PON-ID structure 420 can include a PON-ID 422 and a second HEC code 424. PON-ID 422 may correspond to approximately 51 bits of PON-ID structure 420, and the HEC code may correspond to the remaining approximately 13 bits. The PON-ID 422 can be set by the OLT and used by the ONU to detect a protection switching event or to generate a security key. The configuration of the second HEC code 424 can be substantially similar to the HEC field described above. In particular, HEC code 418 can be used to detect/correct errors in superframe counter 416, and second HEC code 424 can be used to detect/correct errors in PON-ID 422.
由于可将同步信息封装在下游帧中未经FEC编码的多个附加字节中,所以如在帧部分300或帧部分400中所述,可将HEC代码添加到附加字节中的同步信息,以在ONU处提供用于同步信息的充分或可接受的错误检测/校正能力。在多种情况下,此HEC编码方案可提供高效的错误检测/校正。举例来说,当ONU处于深度休眠情形时,ONU可在每个特定时间周期(例如,每大约10微秒)重新锁定到OLT。因此,在假锁定的情况下,在未受FEC编码的附加字节(例如,大约24个字节)中,可能会出现多个错误。但是,使用附加字节中的HEC代码,防止或解决这些错误的概率可能相当高。Since the synchronization information can be encapsulated in a plurality of additional bytes that are not FEC encoded in the downstream frame, the HEC code can be added to the synchronization information in the additional bytes as described in the frame portion 300 or the frame portion 400, To provide sufficient or acceptable error detection/correction capabilities for synchronizing information at the ONU. In many cases, this HEC coding scheme can provide efficient error detection/correction. For example, when the ONU is in a deep sleep situation, the ONU can relock to the OLT at each particular time period (eg, every approximately 10 microseconds). Thus, in the case of a false lock, multiple errors may occur in additional bytes (eg, approximately 24 bytes) that are not subject to FEC encoding. However, with the HEC code in the extra bytes, the probability of preventing or resolving these errors can be quite high.
图5说明同步状态机500的实施例,其可由ONU用来同步下游传输帧,例如帧200。同步状态机500可使用下游帧中的可能未经FEC编码的PSync模式,例如PSync模式312或PSync模式412。PSync模式可位于下游帧的一部分中,例如PSBd、帧部分300或第一部分210,PSBd帧的具体格式可以参考图4。在一些实施例中,PSync模式可受到HEC代码,例如HEC字段保护。FIG. 5 illustrates an embodiment of a synchronization state machine 500 that can be used by an ONU to synchronize downstream transmission frames, such as frame 200. Synchronization state machine 500 may use a PSync mode in the downstream frame that may not be FEC encoded, such as PSync mode 312 or PSync mode 412. The PSync mode may be located in a portion of the downstream frame, such as PSBd, frame portion 300, or first portion 210. The specific format of the PSBd frame may refer to FIG. In some embodiments, the PSync mode may be protected by HEC code, such as HEC fields.
ONU可例如使用软件、硬件或这两者来实施同步状态机500。同步状态机500可在寻找状态510下开始,其中可执行在所有可能对准(例如,比特及/或字节对准)方面对PSync模式的搜索。如果找到正确的PSync模式,则同步状态机500可转变为Pre-Sync(预同步)状态520,其中可执行对在最后检测到的PSync模式之后相隔固定时间长度(例如,大约125微秒)的第二PSync模式的搜索。如果未在预同步状态520下成功地找到第二PSync模式,则同步状态机500可从预同步状态520返回到寻找状态510。如果在预同步状态520下成功地找到第二PSync模式,则同步状态机500可转变成Sync(同步)状态530。如果达到同步状态530,则同步状态机 500可宣布下游帧被成功同步,随后可开始对帧进行处理。在一实施例中,如果ONU检测到M个连续的不正确的PSync字段或模式(M是整数),则同步状态机500可宣布下游帧的同步不成功,且返回到寻找状态510。举例来说,M可等于2。The ONU can implement the synchronization state machine 500, for example, using software, hardware, or both. Synchronization state machine 500 can begin in a seek state 510 where a search for PSync mode can be performed in all possible alignments (eg, bit and/or byte alignment). If the correct PSync mode is found, the synchronization state machine 500 can transition to a Pre-Sync state 520 in which a fixed length of time (eg, approximately 125 microseconds) can be performed after the last detected PSync mode. Search for the second PSync mode. If the second PSync mode is not successfully found in the pre-synchronization state 520, the synchronization state machine 500 can return from the pre-synchronization state 520 to the seek state 510. If the second PSync mode is successfully found in the pre-synchronization state 520, the synchronization state machine 500 can transition to the Sync state 530. If the synchronization state 530 is reached, the synchronization state machine 500 can announce that the downstream frames are successfully synchronized, and then begin processing the frames. In an embodiment, if the ONU detects M consecutive incorrect PSync fields or modes (M is an integer), the synchronization state machine 500 may declare that the synchronization of the downstream frame was unsuccessful and return to the seek state 510. For example, M can be equal to two.
前面提到了GTC帧和XGTC帧,现在以XGTC帧为例,该XGTC帧的结构可以参考图3,同时,本领域人员应该理解,GTC帧也可以适用本发明的数据解析方法。在XGTC帧中的FEC码字只使用现有的FEC编码保护FEC码字的时候,随着时间的推移,XGPON系统光器件(包括有源器件和无源器件)会老化,使链路功率预算紧张,误码率上升,高误码下状态机从搜索状态到同步状态的难度会增加。一种解决的方式是升级设备,然而同一无源光网络下不同用户劣化情况不同,用户链路质量差异性很大,统一设备升级会产生较大的浪费,增大客户投资压力。为了在缩短同步时间的同时提高现有设备的利用率,可以在使用现有的第一FEC编码保护XGTC帧中的第一FEC码字的同时,使用纠错能力比第一FEC编码强的第二FEC编码来保护XGTC帧中的第二FEC码字。这里的第一FEC编码保护的XGTC帧中的第一FEC码字可以有多个,使用第二FEC编码来保护的XGTC帧中的第二FEC码字也可以有多个。The GTC frame and the XGTC frame are mentioned above. The XGTC frame is taken as an example. The structure of the XGTC frame can be referred to FIG. 3. Meanwhile, those skilled in the art should understand that the GTC frame can also be applied to the data parsing method of the present invention. When the FEC codeword in the XGTC frame protects the FEC codeword using only the existing FEC code, the XGPON system optical device (including the active device and the passive device) will age over time, making the link power budget Tension, the bit error rate rises, and the difficulty of the state machine from the search state to the synchronization state increases under high error. One solution is to upgrade the device. However, the degradation of different users under the same passive optical network is different, and the quality of the user link is very different. The unified device upgrade will generate a large waste and increase the investment pressure of the customer. In order to improve the utilization of the existing device while shortening the synchronization time, the first FEC codeword in the XGTC frame can be protected by using the existing first FEC code, and the error correction capability is stronger than the first FEC code. Two FEC encodings to protect the second FEC codeword in the XGTC frame. There may be multiple first FEC codewords in the first FEC encoded protected XGTC frame, and multiple second FEC codewords in the XGTC frame protected by the second FEC encoding.
图6是本发明实施例提供的一种XGTC帧的格式,与图2的XGTC帧格式不同的是,该XGTC帧除了包括第一FEC编码RS(248,216)保护的第一FEC码字614和618外,还包括比第一FEC编码纠错能力更强的第二FEC编码保护的第二FEC码字622和626。在第一FEC编码保护的区域内,指定位置加入指针指示采用第二FEC编码的第二FEC码字的起止位置,该指 针对所有采用第二FEC编码保护的ONU可见,对于采用第一FEC编码保护的ONU不可见,也就是说,只有采用第二FEC编码保护的ONU可以解析第二FEC码字,采用第一FEC编码保护的ONU没有解析第二FEC码字的功能。指针存放的位置,包含且不限于以下字段:PLOA消息中profile(属性)消息字段,BWmap中新增字段,每帧最后一个第一FEC码字的固定位置。FIG. 6 is a format of an XGTC frame according to an embodiment of the present invention. Unlike the XGTC frame format of FIG. 2, the XGTC frame includes first FEC code words 614 and 618 protected by a first FEC coded RS (248, 216). In addition, second FEC code protected second FEC code words 622 and 626 that are stronger than the first FEC encoding error correction capability are also included. In the area protected by the first FEC encoding, the specified location join pointer indicates the start and end position of the second FEC codeword encoded by the second FEC, the finger It is visible to all ONUs protected by the second FEC encoding, and is invisible to the ONUs protected by the first FEC encoding, that is, only the ONUs protected by the second FEC encoding can parse the second FEC codewords, using the first FEC encoding. The protected ONU does not have the function of parsing the second FEC codeword. The location where the pointer is stored includes, but is not limited to, the following fields: a profile message field in the PLOA message, a new field in the BWmap, and a fixed position of the last first FEC codeword in each frame.
需要注意的是,采用第二FEC编码保护的ONU除了可以解析第二FEC码字外,还可以解析第一FEC码字。采用第二FEC编码保护的ONU按照下边的步骤上线:It should be noted that the ONU protected by the second FEC code can parse the first FEC codeword in addition to the second FEC codeword. The ONU protected by the second FEC code is wired according to the following steps:
采用第二FEC编码保护的ONU按照图5所描述的状态机进行同步,其中M的值可以从2提高到6,Psync的容错比特可以从2提高到4。采用第二FEC编码保护的ONU解析第一FEC码字,从第一FEC码字获取指针信息。对于该ONU链路,由于FEC编码的保护能力不够,消息可能有误。采用连续四次接收一致的方式进行确认。采用第二FEC编码保护的ONU确认好第二FEC码字的起止后解析第二FEC码字,所述第二FEC编码保护的ONU与OLT交互的XGTC帧中包括第二FEC码字。一个第二FEC码字中也可以包括其他第二FEC码字的开始位置信息和结束位置信息,这样正常上线的第二FEC编码保护的ONU可以从第二FEC码字中获取其他第二FEC码字的开始位置信息和结束位置信息,由于第二FEC码字的出错的概率比第一FEC码字更低,从第二FEC码字中解析位置信息可以更快更准确。The ONU protected by the second FEC encoding is synchronized according to the state machine described in FIG. 5, wherein the value of M can be increased from 2 to 6, and the fault tolerant bit of Psync can be increased from 2 to 4. The ONU protected by the second FEC encoding parses the first FEC codeword, and acquires pointer information from the first FEC codeword. For this ONU link, the message may be incorrect due to insufficient protection of FEC encoding. Confirmation is carried out in a consistent manner for four consecutive receptions. The ONU protected by the second FEC code confirms that the second FEC codeword is parsed after the start and end of the second FEC codeword, and the second FEC codeword is included in the XGTC frame that the second FEC coded protected ONU interacts with the OLT. A second FEC codeword may also include start location information and end location information of other second FEC codewords, such that the second FEC code-protected ONU that normally goes online may obtain other second FEC codes from the second FEC codeword. The start position information and the end position information of the word, since the probability of the error of the second FEC code word is lower than the first FEC code word, the position information can be resolved from the second FEC code word more quickly and accurately.
由于第二FEC编码保护的ONU在获取指针信息时采用多次接收一致的确认方式,所以要求第二FEC编码的第二FEC码字的起止位置(开始位置和结束位置)不能每一帧都发生变化,也就是第二FEC码字的位置不能每 一帧都发生变化,而是根据需要做调整后保持起止位置到下一次调整。Since the second FEC-protected ONU adopts a multiple-received acknowledgment mode when acquiring the pointer information, the start and stop positions (starting position and ending position) of the second FEC codeword required for the second FEC encoding cannot occur every frame. Change, that is, the position of the second FEC codeword cannot be One frame changes, but the adjustment is made as needed to maintain the starting and ending position to the next adjustment.
在本发明的另一个实施例中,在第一FEC编码RS(248,216)保护的区域内,指定位置加入指针,该指针对所有采用第二FEC编码保护的ONU可见,对第一FEC编码保护的ONU不可见,指针内容用于指示采用第二FEC编码保护的ONU的ONUID和采用第二FEC编码的第二FEC码字的起止位置。在第二FEC编码保护的区域内加入指针,指针对所有采用第二FEC编码的ONU可见,用于指示下一帧第二FEC码字的开始位置信息和结束位置信息。该指针存放的位置,包含且不限于以下字段:PLOAM消息中属性消息字段,BWmap中新增字段,每帧最后一个第一FEC码字的固定位置。In another embodiment of the present invention, in the area protected by the first FEC-encoded RS (248, 216), the designated location is added to the pointer, which is visible to all ONUs protected by the second FEC encoding, and protected by the first FEC encoding. The ONU is not visible, and the pointer content is used to indicate the ONUID of the ONU protected by the second FEC encoding and the start and end position of the second FEC codeword encoded by the second FEC. A pointer is added in the area protected by the second FEC code, and the pointer is visible to all ONUs that are encoded by the second FEC, and is used to indicate start position information and end position information of the second FEC code word of the next frame. The location where the pointer is stored includes, but is not limited to, the following fields: an attribute message field in the PLOAM message, a new field in the BWmap, and a fixed position of the last first FEC codeword in each frame.
同前面的实施例,采用第二FEC编码保护的ONU除了可以解析第二FEC码字外,还可以解析第一FEC码字。采用第二FEC编码保护的ONU按照下边的步骤上线:采用第二FEC编码保护的ONU按照图5所描述的状态机进行同步,其中M的值可以从2提高到6,Psync的容错比特可以从2提高到4。采用第二FEC编码保护的ONU从OLT接受XGTC帧,所述XGTC帧包括第一FEC码字,所述采用第二FEC编码保护的ONU解析第一FEC码字,从第一FEC码字获取指针信息。对于该ONU链路,由于FEC的保护能力不够,消息可能有误。与前面的实施例不同,在这里,采用第二FEC编码保护的ONU采用尝试上线的方式,只要有一次正确找到第二FEC码字的开始位置信息和结束位置信息,正确解析第二FEC码字后即可找到第二FEC码字的开始位置信息和结束位置信息As with the previous embodiment, the ONU protected by the second FEC encoding can parse the first FEC codeword in addition to the second FEC codeword. The ONU protected by the second FEC code is uplinked according to the following steps: the ONU protected by the second FEC code is synchronized according to the state machine described in FIG. 5, wherein the value of M can be increased from 2 to 6, and the fault tolerance bit of Psync can be 2 increased to 4. The ONU protected by the second FEC encoding receives an XGTC frame from the OLT, the XGTC frame includes a first FEC codeword, the ONU protected by the second FEC encoding parses the first FEC codeword, and obtains a pointer from the first FEC codeword information. For this ONU link, the message may be incorrect due to insufficient FEC protection. Different from the previous embodiment, here, the ONU protected by the second FEC encoding adopts a method of attempting to go online, and the second FEC codeword is correctly parsed as long as the start position information and the end position information of the second FEC codeword are correctly found once. After that, the start position information and the end position information of the second FEC code word can be found.
采用第二FEC编码保护的ONU确认好第二FEC码字的开始位置信息和结束位置信息后解析ONU与OLT交互的XGTC帧中包括的第二FEC码字,以 获取用户数据。The ONU protected by the second FEC code confirms the start position information and the end position information of the second FEC codeword, and then parses the second FEC codeword included in the XGTC frame that the ONU interacts with the OLT to Get user data.
一个第二FEC码字中也可以包括其他第二FEC码字的开始位置信息和结束位置信息,这样正常上线的第二FEC编码保护的ONU可以从第二FEC码字中获取其他第二FEC码字的开始位置信息和结束位置信息,由于第二FEC码字的出错的概率比第一FEC码字更低,从第二FEC码字中解析位置信息可以更快更准确。A second FEC codeword may also include start location information and end location information of other second FEC codewords, such that the second FEC code-protected ONU that normally goes online may obtain other second FEC codes from the second FEC codeword. The start position information and the end position information of the word, since the probability of the error of the second FEC code word is lower than the first FEC code word, the position information can be resolved from the second FEC code word more quickly and accurately.
由于第二FEC编码保护的ONU在获取指针信息时没有采用多次接收一致的确认方式,不要求每一XGTC帧的第二FEC码字的起始位置和结束位置都相同,提高了实时性。Since the ONU protected by the second FEC code does not adopt the multiple-acknowledgment confirmation mode when acquiring the pointer information, the start position and the end position of the second FEC codeword of each XGTC frame are not required to be the same, and the real-time performance is improved.
需要注意的是,这里只是用XGTC来示例性地解释帧结构,对XGTC帧的上述描述GTC帧也适用。It should be noted that the frame structure is exemplarily explained here by XGTC, and the above description of the XGTC frame is also applicable to the GTC frame.
图7是本发明实施例一种数据解析方法的示意图,该方法包括:FIG. 7 is a schematic diagram of a data parsing method according to an embodiment of the present invention, the method includes:
S710、ONU从OLT接收下行数据帧,所述下行数据帧包括第一FEC编码保护的第一FEC码字,和第二FEC编码保护的第二FEC码字。S710. The ONU receives a downlink data frame from the OLT, where the downlink data frame includes a first FEC codeword protected by the first FEC encoding, and a second FEC codeword protected by the second FEC encoding.
在这里,下行数据帧的格式可以参考图3,ONU既能解析第二FEC码字,又能解析第一FEC码字。其中,第二FEC码字所采用的第二FEC编码的纠错能力比所述第一FEC码字采用的第一FEC编码更强,第一FEC码字中包括所述第二FEC码字开始位置信息和所述第二FEC码字结束位置信息。Here, the format of the downlink data frame can refer to FIG. 3, and the ONU can parse the second FEC codeword and parse the first FEC codeword. The error correction capability of the second FEC code used by the second FEC codeword is stronger than the first FEC code used by the first FEC codeword, and the first FEC codeword includes the second FEC codeword. Location information and the second FEC codeword end location information.
S720、ONU从第一FEC码字中解析出第二FEC码字的开始位置信息和结束位置信息。S720: The ONU parses the start position information and the end position information of the second FEC codeword from the first FEC codeword.
由于ONU有能力解析第一FEC码字,ONU从第一FEC码字中解析第二FEC码字的开始位置信息和结束位置信息。第二FEC码字开始位置信息和第二FEC码字结束位置信息可以位于下行数据帧的PLOAM消息中属性消息字段,所述下 行数据帧BWmap消息中增加的字段,或者所述下行数据帧中最后一个第一FEC码字的预先设定位置。Since the ONU has the ability to parse the first FEC codeword, the ONU parses the start location information and the end location information of the second FEC codeword from the first FEC codeword. The second FEC codeword start location information and the second FEC codeword end location information may be located in an attribute message field in a PLOAM message of the downlink data frame, where The field added in the row data frame BWmap message, or the pre-set position of the last first FEC codeword in the downlink data frame.
第一FEC码字包括长度为64比特的Psync字段,如图4所示,该Psync字段可以是PSBd的一部分,ONU接收所述下行数据帧,在解析所述下行数据帧的所述第一FEC码字之前,还包括:ONU搜索所述第一FEC码字中包括的Psync字段,在匹配上M1个Psync字段后,确认所述下行数据帧同步,所述第一FEC码字的Psync字段的匹配包括匹配所述第一FEC码字的Psync字段中的N1个比特。在这里,M1的值可以取2,N1的值可以取62,也就是说,第一FEC码字的Psync字段的容错比特是2比特。为了保证第二FEC码字的开始位置信息和结束位置信息的准确性,ONU可以从多个第一FEC码字中解析,在解析到的第二FEC码字的开始位置信息和结束位置信息都相同时,才根据开始位置信息和结束位置信息确定第二FEC码字的位置。The first FEC codeword includes a Psync field of 64 bits in length. As shown in FIG. 4, the Psync field may be part of the PSBd, and the ONU receives the downlink data frame, and parses the first FEC of the downlink data frame. Before the codeword, the method further includes: the ONU searches for the Psync field included in the first FEC codeword, and after matching the M1 Psync fields, confirms that the downlink data frame is synchronized, and the Psync field of the first FEC codeword The matching includes matching N1 bits in the Psync field of the first FEC codeword. Here, the value of M1 may take 2, and the value of N1 may take 62, that is, the fault-tolerant bit of the Psync field of the first FEC codeword is 2 bits. In order to ensure the accuracy of the start position information and the end position information of the second FEC codeword, the ONU may parse from the plurality of first FEC codewords, and the start position information and the end position information of the parsed second FEC codeword are both When the same, the position of the second FEC code word is determined based on the start position information and the end position information.
S730、ONU解析根据所述开始位置信息和所述结束位置信息确定的第二FEC码字以获取用户数据。S730. The ONU parses the second FEC codeword determined according to the start location information and the end location information to acquire user data.
ONU根据第二FEC码字的开始位置信息和结束位置信息可以定位第二FEC码字,解析第二FEC码字后可以获取用户数据。The ONU can locate the second FEC codeword according to the start location information and the end location information of the second FEC codeword, and can obtain the user data after parsing the second FEC codeword.
在这里,第二FEC码字可以包括长度为64比特的Psync字段,所述ONU解析所述第二FEC码字之前,还包括:ONU读取所述第二FEC码字中包括的Psync字段,在匹配上M2个Psync字段后,根据所述第二FEC码字的开始位置和结束位置解析所述第二FEC码字以获取用户数据,所述第二FEC码字的Psync字段的匹配包括匹配所述第二FEC码字的Psync字段中的N2个比特,所述M2大于M1,所述N2小于N1。在这里,M2的取值可以为6,N2的值可以是60,也就是说,第二FEC码字的Psync字段的容错比特是4比特。Here, the second FEC codeword may include a Psync field of 64 bits in length, and before the ONU parses the second FEC codeword, the method further includes: the ONU reading a Psync field included in the second FEC codeword, After matching the M2 Psync fields, parsing the second FEC codeword according to the start position and the end position of the second FEC codeword to obtain user data, and the matching of the Psync field of the second FEC codeword includes matching N2 bits in the Psync field of the second FEC codeword, the M2 is greater than M1, and the N2 is less than N1. Here, the value of M2 may be 6, and the value of N2 may be 60, that is, the error-tolerant bit of the Psync field of the second FEC codeword is 4 bits.
可选地,本发明实施例的数据解析方法还可以包括下边的步骤:Optionally, the data parsing method of the embodiment of the present invention may further include the following steps:
S740、ONU从第二FEC码字中获取其他第二FEC码字的开始位置信息和结 束位置信息;S740. The ONU acquires start position information and a knot of the other second FEC codeword from the second FEC codeword. Beam position information;
S750、ONU解析根据所述其他第二FEC码字的开始位置信息和结束位置信息确定的第二FEC码字以获取用户数据。S750. The ONU parses the second FEC codeword determined according to the start location information and the end location information of the other second FEC codewords to obtain user data.
在这里,ONU根据其他第二FEC码字的开始位置信息和结束位置信息,确定所述其他第二FEC码字,解析所述其他第二FEC码字以获取用户数据。Here, the ONU determines the other second FEC codewords according to the start location information and the end location information of the other second FEC codewords, and parses the other second FEC codewords to obtain user data.
本发明实施例的技术方案中,OLT和ONU之间交互的数据帧中同时包括第一FEC编码的第一FEC码字,和第二FEC编码的第二FEC码字,在第一FEC码字中保存第二FEC码字的开始位置信息和结束位置信息,由于第二FEC编码的纠错能力比第一FEC编码更强,本发明实施例的技术方案可以降低误码率,从而提高同步效率。同时由于存在两种FEC编码的FEC码字,同一PON下不同用户可以根据链路质量情况选择使用的FEC编码方式,可以兼容不同需求的用户,提高用户的满意度。In the technical solution of the embodiment of the present invention, the data frame exchanged between the OLT and the ONU includes the first FEC coded first FEC codeword and the second FEC coded second FEC codeword, in the first FEC codeword. The start location information and the end location information of the second FEC codeword are saved. Since the error correction capability of the second FEC encoding is stronger than the first FEC encoding, the technical solution of the embodiment of the present invention can reduce the error rate and improve the synchronization efficiency. . At the same time, because there are two kinds of FEC coded FEC codewords, different users in the same PON can select the FEC coding mode according to the link quality, which can be compatible with users with different needs and improve user satisfaction.
图8是本发明实施例提供的ONU结构图,该ONU包括:FIG. 8 is a structural diagram of an ONU according to an embodiment of the present invention, where the ONU includes:
接收单元810,用于从OLT接收下行数据帧,所述下行数据帧包括第一FEC编码保护的第一FEC码字,和第二FEC编码保护的第二FEC码字,所述第二FEC码字所采用的第二FEC编码的纠错能力比所述第一FEC码字采用的第一FEC编码更强,所述第一FEC码字中包括所述第二FEC码字开始位置信息和所述第二FEC码字结束位置信息。The receiving unit 810 is configured to receive, by the OLT, a downlink data frame, where the downlink data frame includes a first FEC code protected first FEC codeword, and a second FEC code protected second FEC codeword, the second FEC code The error correction capability of the second FEC code used by the word is stronger than the first FEC code used by the first FEC codeword, and the first FEC codeword includes the second FEC codeword start position information and The second FEC codeword end position information is described.
解析单元820,用于从所述第一FEC码字中解析出所述第二FEC码字的开始位置信息和结束位置信息,解析根据所述开始位置信息和所述结束位置信息确定的第二FEC码字以获取用户数据。The parsing unit 820 is configured to parse the start location information and the end location information of the second FEC codeword from the first FEC codeword, and parse the second determined according to the start location information and the end location information FEC codeword to get user data.
第二FEC码字开始位置信息和所述第二FEC码字结束位置信息可以位于所述下行数据帧的PLOAM消息中属性消息字段,所述下行数据帧BWmap消息中 增加的字段,或者所述下行数据帧中最后一个第一FEC码字的预先设定位置。The second FEC codeword start location information and the second FEC codeword end location information may be located in an attribute message field in a PLOAM message of the downlink data frame, where the downlink data frame BWmap message is An added field, or a pre-set position of the last first FEC codeword in the downstream data frame.
所述ONU还可以包括搜索单元830,所述第一FEC码字可以包括长度为64比特的物理同步Psync字段,在所述解析单元820解析所述下行数据帧的所述第一FEC码字之前,搜索单元830搜索所述第一FEC码字中包括的Psync字段,在匹配上M1个Psync字段后,确认所述下行数据帧同步,所述第一FEC码字的Psync字段的匹配包括匹配所述第一FEC码字的Psync字段中的N1个比特。The ONU may further include a search unit 830, where the first FEC codeword may include a physical synchronization Psync field of length 64 bits before the parsing unit 820 parses the first FEC codeword of the downlink data frame The search unit 830 searches for the Psync field included in the first FEC codeword, and after matching the M1 Psync fields, confirms that the downlink data frame is synchronized, and the matching of the Psync field of the first FEC codeword includes matching N1 bits in the Psync field of the first FEC codeword.
第二FEC码字也可以包括长度为64比特的物理同步Psync字段,在解析单元820解析所述第二FEC码字之前,搜索单元830还可以用于:读取所述第二FEC码字中包括的Psync字段,在匹配上M2个Psync字段后,根据所述第二FEC码字的开始位置和结束位置解析所述第二FEC码字以获取用户数据,所述第二FEC码字的Psync字段的匹配包括匹配所述第二FEC码字的Psync字段中的N2个比特,所述M2大于M1,所述N2小于N1。The second FEC codeword may also include a physical synchronization Psync field of 64 bits. Before the parsing unit 820 parses the second FEC codeword, the searching unit 830 may be further configured to: read the second FEC codeword. The Psync field includes, after matching the M2 Psync fields, parsing the second FEC codeword according to the start position and the end position of the second FEC codeword to obtain user data, and the PSF of the second FEC codeword The matching of the fields includes matching N2 bits in the Psync field of the second FEC codeword, the M2 being greater than M1, and the N2 being less than N1.
本发明实施例的接收单元810可以是接收器,解析单元820可以是译码器,搜索单元830的功能可以由处理器实现。The receiving unit 810 of the embodiment of the present invention may be a receiver, the parsing unit 820 may be a decoder, and the function of the searching unit 830 may be implemented by a processor.
图9是本发明实施例提供的OLT结构图,该OLT包括:FIG. 9 is a structural diagram of an OLT according to an embodiment of the present invention, where the OLT includes:
数据生成单元910,用于生成下行数据帧,所述下行数据帧包括第一前向错误纠正FEC编码保护的第一FEC码字,和第二FEC编码保护的第二FEC码字,所述第二FEC码字所采用的第二FEC编码的纠错能力比所述第一FEC码字采用的第一FEC编码更强,所述第一FEC码字中包括所述第二FEC码字开始位置信息和所述第二FEC码字结束位置信息;The data generating unit 910 is configured to generate a downlink data frame, where the downlink data frame includes a first forward error correction FEC code protected first FEC codeword, and a second FEC code protected second FEC codeword, where The error correction capability of the second FEC code used by the second FEC codeword is stronger than the first FEC code used by the first FEC codeword, and the first FEC codeword includes the start position of the second FEC codeword Information and the second FEC codeword end location information;
发送单元920,用于将所述下行数据帧发送给光网络单元ONU。The sending unit 920 is configured to send the downlink data frame to the optical network unit ONU.
数据生成单元910生成的下行数据帧中的第二FEC码字可以包括其他第二FEC码字的开始位置信息和结束位置信息。The second FEC codeword in the downlink data frame generated by the data generating unit 910 may include start location information and end location information of other second FEC codewords.
在这里,数据生成单元910可以是一个成帧器,发送单元920可以是一个 发送器。Here, the data generating unit 910 may be a framer, and the transmitting unit 920 may be a Transmitter.
本发明实施例的技术方案中,OLT和ONU之间交互的数据帧中同时包括第一FEC编码的第一FEC码字,和第二FEC编码的第二FEC码字,在第一FEC码字中保存第二FEC码字的开始位置信息和结束位置信息,由于第二FEC编码的纠错能力比第一FEC编码更强,本发明实施例的技术方案可以降低误码率,从而提高同步效率。同时由于存在两种FEC编码的FEC码字,同一PON下不同用户可以根据链路质量情况选择使用的FEC编码方式,可以兼容不同需求的用户,提高用户的满意度。In the technical solution of the embodiment of the present invention, the data frame exchanged between the OLT and the ONU includes the first FEC coded first FEC codeword and the second FEC coded second FEC codeword, in the first FEC codeword. The start location information and the end location information of the second FEC codeword are saved. Since the error correction capability of the second FEC encoding is stronger than the first FEC encoding, the technical solution of the embodiment of the present invention can reduce the error rate and improve the synchronization efficiency. . At the same time, because there are two kinds of FEC coded FEC codewords, different users in the same PON can select the FEC coding mode according to the link quality, which can be compatible with users with different needs and improve user satisfaction.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。 The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the embodiments are modified, or the equivalents of the technical features are replaced by the equivalents of the technical solutions of the embodiments of the present invention.

Claims (15)

  1. 一种数据解析方法,其特征在于,包括:A data analysis method, comprising:
    光网络单元ONU从光线路终端OLT接收下行数据帧,所述下行数据帧包括采用第一前向错误纠正FEC编码的第一FEC码字,和采用第二FEC编码的第二FEC码字,所述第二FEC编码的纠错能力比所述第一FEC编码的纠错能力更强,所述第一FEC码字中包括所述第二FEC码字开始位置信息和所述第二FEC码字结束位置信息;The optical network unit ONU receives a downlink data frame from the optical line terminal OLT, where the downlink data frame includes a first FEC codeword encoded with a first forward error correction FEC, and a second FEC codeword encoded with a second FEC. The error correction capability of the second FEC code is stronger than the error correction capability of the first FEC code, and the first FEC codeword includes the second FEC codeword start position information and the second FEC codeword End position information;
    所述ONU从所述第一FEC码字中解析出所述第二FEC码字的开始位置信息和结束位置信息;Determining, by the ONU, start position information and end position information of the second FEC codeword from the first FEC codeword;
    所述ONU根据所述开始位置信息和所述结束位置信息确定第二FEC码字,解析所述第二FEC码字以获取用户数据。The ONU determines a second FEC codeword according to the start location information and the end location information, and parses the second FEC codeword to obtain user data.
  2. 如权利要求1所述的数据解析方法,其特征在于:The data analysis method according to claim 1, wherein:
    所述第二FEC码字包括其他第二FEC码字的开始位置信息和结束位置信息,所述ONU根据所述其他第二FEC码字的开始位置信息和结束位置信息,确定所述其他第二FEC码字,解析所述其他第二FEC码字以获取用户数据。The second FEC codeword includes start location information and end location information of other second FEC codewords, and the ONU determines the other second according to start location information and end location information of the other second FEC codewords The FEC codeword parses the other second FEC codewords to obtain user data.
  3. 如权利要求1或2所述的数据解析方法,其特征在于,The data analysis method according to claim 1 or 2, characterized in that
    所述第二FEC码字开始位置信息和所述第二FEC码字结束位置信息位于所述下行数据帧的PLOAM消息中属性消息字段,所述下行数据帧BWmap消息中增加的字段,或者所述下行数据帧中最后一个第一FEC码字的预先设定位置。The second FEC codeword start location information and the second FEC codeword end location information are located in an attribute message field in a PLOAM message of the downlink data frame, an added field in the downlink data frame BWmap message, or the The pre-set position of the last first FEC codeword in the downlink data frame.
  4. 如权利要求1-3中任一权利要求所述的数据解析方法,其特征在于,所述第一FEC码字包括长度为64比特的物理同步Psync字段,所述ONU接收所述下行数据帧,在解析所述下行数据帧的所述第一FEC码字之前,还包括:所述ONU搜索所述第一FEC码字中包括的Psync字段,在匹配上M1个Psync字段后,确认所述下行数据帧同步,所述第一FEC码字的Psync字段的匹配包 括匹配所述第一FEC码字的Psync字段中的N1个比特。The data parsing method according to any one of claims 1 to 3, wherein the first FEC codeword includes a physical synchronization Psync field having a length of 64 bits, and the ONU receives the downlink data frame. Before parsing the first FEC codeword of the downlink data frame, the method further includes: searching, by the ONU, a Psync field included in the first FEC codeword, after matching the M1 Psync fields, confirming the downlink Data frame synchronization, matching packet of the Psync field of the first FEC codeword The N1 bits in the Psync field of the first FEC codeword are matched.
  5. 如权利要求4所述的数据解析方法,其特征在于,所述第二FEC码字包括长度为64比特的物理同步Psync字段,所述ONU解析所述第二FEC码字之前,还包括:所述ONU读取所述第二FEC码字中包括的Psync字段,在匹配上M2个Psync字段后,根据所述第二FEC码字的开始位置和结束位置解析所述第二FEC码字以获取用户数据,所述第二FEC码字的Psync字段的匹配包括匹配所述第二FEC码字的Psync字段中的N2个比特,所述M2大于M1,所述N2小于N1。The data parsing method according to claim 4, wherein the second FEC codeword includes a physical synchronization Psync field of 64 bits in length, and the ONU further includes: before the parsing the second FEC codeword The ONU reads the Psync field included in the second FEC codeword, and after matching the M2 Psync fields, parses the second FEC codeword according to the start position and the end position of the second FEC codeword to obtain User data, the matching of the Psync field of the second FEC codeword includes matching N2 bits in the Psync field of the second FEC codeword, the M2 being greater than M1, and the N2 being less than N1.
  6. 如权利要求1-5中任一权利要求所述的数据解析方法,其特征在于,所述ONU根据所述第二FEC码字的开始位置信息和所述结束位置信息确定所述第二FEC码字之前,所述方法包括:The data parsing method according to any one of claims 1 to 5, wherein the ONU determines the second FEC code according to the start position information of the second FEC codeword and the end position information. Before the word, the method includes:
    所述ONU从多个所述第一FEC码字中解析出同样的第二FEC码字的开始位置信息和结束位置信息。The ONU parses the start position information and the end position information of the same second FEC codeword from the plurality of the first FEC codewords.
  7. 一种光网络单元ONU,其特征在于,包括:An optical network unit ONU, comprising:
    接收单元,用于从光线路终端OLT接收下行数据帧,所述下行数据帧包括采用第一前向错误纠正FEC编码的第一FEC码字,和采用第二FEC编码的第二FEC码字,所述第二FEC编码的纠错能力比所述第一FEC编码的纠错能力更强,所述第一FEC码字中包括所述第二FEC码字开始位置信息和所述第二FEC码字结束位置信息;a receiving unit, configured to receive a downlink data frame from the optical line terminal OLT, where the downlink data frame includes a first FEC codeword encoded by a first forward error correction FEC, and a second FEC codeword encoded by a second FEC, The error correction capability of the second FEC code is stronger than the error correction capability of the first FEC code, where the first FEC codeword includes the second FEC codeword start position information and the second FEC code Word end position information;
    解析单元,用于从所述第一FEC码字中解析出所述第二FEC码字的开始位置信息和结束位置信息,解析根据所述开始位置信息和所述结束位置信息确定的第二FEC码字以获取用户数据。a parsing unit, configured to parse starting position information and ending position information of the second FEC codeword from the first FEC codeword, and parse a second FEC determined according to the starting location information and the ending location information Codewords to get user data.
  8. 如权利要求7所述的ONU,其特征在于,所述第二FEC码字开始位置信息和所述第二FEC码字结束位置信息可以所述所述下行数据帧的PLOAM消息中属性消息字段,所述下行数据帧BWmap消息中增加的字段,或者所述下行 数据帧中最后一个第一FEC码字的预先设定位置。The ONU according to claim 7, wherein the second FEC codeword start location information and the second FEC codeword end location information may be attribute message fields in a PLOAM message of the downlink data frame, The field added in the downlink data frame BWmap message, or the downlink The pre-set position of the last first FEC codeword in the data frame.
  9. 如权利要求7或8所述的ONU,其特征在于,所述第一FEC码字包括长度为64比特的物理同步Psync字段,所述ONU还包括搜索单元,所述搜索单元用于在所述解析单元解析所述下行数据帧的所述第一FEC码字之前,搜索所述第一FEC码字中包括的Psync字段,在匹配上M1个Psync字段后,确认所述下行数据帧同步,所述第一FEC码字的Psync字段的匹配包括匹配所述第一FEC码字的Psync字段中的N1个比特。The ONU according to claim 7 or 8, wherein the first FEC codeword comprises a physical synchronization Psync field of length 64 bits, the ONU further comprising a search unit, the search unit is configured to Before parsing the first FEC codeword of the downlink data frame, the parsing unit searches for a Psync field included in the first FEC codeword, and after matching the M1 Psync fields, confirms that the downlink data frame is synchronized. The matching of the Psync field of the first FEC codeword includes matching N1 bits in the Psync field of the first FEC codeword.
  10. 如权利要求9所述的ONU,其特征在于,第二FEC码字包括长度为64比特的物理同步Psync字段,所述搜索单元还用于:在所述解析单元解析所述第二FEC码字之前,读取所述第二FEC码字中包括的Psync字段,在匹配上M2个Psync字段后,根据所述第二FEC码字的开始位置和结束位置解析所述第二FEC码字以获取用户数据,所述第二FEC码字的Psync字段的匹配包括匹配所述第二FEC码字的Psync字段中的N2个比特,所述M2大于M1,所述N2小于N1。The ONU according to claim 9, wherein the second FEC codeword comprises a physical synchronization Psync field of 64 bits in length, and the searching unit is further configured to: parse the second FEC codeword in the parsing unit Having previously read the Psync field included in the second FEC codeword, after matching the M2 Psync fields, parsing the second FEC codeword according to the start position and the end position of the second FEC codeword to obtain User data, the matching of the Psync field of the second FEC codeword includes matching N2 bits in the Psync field of the second FEC codeword, the M2 being greater than M1, and the N2 being less than N1.
  11. 一种数据传输方法,其特征在于,包括:A data transmission method, comprising:
    光线路终端OLT生成下行数据帧,所述下行数据帧包括第一前向错误纠正FEC编码保护的第一FEC码字,和第二FEC编码保护的第二FEC码字,所述第二FEC码字所采用的第二FEC编码的纠错能力比所述第一FEC码字采用的第一FEC编码更强,所述第一FEC码字中包括所述第二FEC码字开始位置信息和所述第二FEC码字结束位置信息;The optical line terminal OLT generates a downlink data frame, where the downlink data frame includes a first forward error correction FEC code protected first FEC codeword, and a second FEC code protected second FEC codeword, the second FEC code The error correction capability of the second FEC code used by the word is stronger than the first FEC code used by the first FEC codeword, and the first FEC codeword includes the second FEC codeword start position information and Describe a second FEC codeword end location information;
    所述OLT将所述下行数据帧发送给光网络单元ONU。The OLT sends the downlink data frame to the optical network unit ONU.
  12. 如权利要求11所述的数据传输方法,其特征在于:A data transmission method according to claim 11, wherein:
    所述第二FEC码字包括其他第二FEC码字的开始位置信息和结束位置信息,所述ONU根据所述其他第二FEC码字的开始位置信息和结束位置信息,确定所述其他第二FEC码字,解析所述其他第二FEC码字以获取用户数据。 The second FEC codeword includes start location information and end location information of other second FEC codewords, and the ONU determines the other second according to start location information and end location information of the other second FEC codewords The FEC codeword parses the other second FEC codewords to obtain user data.
  13. 如权利要求11或12所述的数据传输方法,其特征在于:A data transmission method according to claim 11 or 12, wherein:
    所述第二FEC码字开始位置信息和所述第二FEC码字结束位置信息位于所述下行数据帧的PLOAM消息中属性消息字段,所述下行数据帧BWmap消息中增加的字段,或者所述下行数据帧中最后一个第一FEC码字的预先设定位置。The second FEC codeword start location information and the second FEC codeword end location information are located in an attribute message field in a PLOAM message of the downlink data frame, an added field in the downlink data frame BWmap message, or the The pre-set position of the last first FEC codeword in the downlink data frame.
  14. 一种光线路终端OLT,其特征在于,包括:An optical line terminal OLT, comprising:
    数据生成单元,用于生成下行数据帧,所述下行数据帧包括第一前向错误纠正FEC编码保护的第一FEC码字,和第二FEC编码保护的第二FEC码字,所述第二FEC码字所采用的第二FEC编码的纠错能力比所述第一FEC码字采用的第一FEC编码更强,所述第一FEC码字中包括所述第二FEC码字开始位置信息和所述第二FEC码字结束位置信息;a data generating unit, configured to generate a downlink data frame, where the downlink data frame includes a first forward error correction FEC code protected first FEC codeword, and a second FEC code protected second FEC codeword, the second The error correction capability of the second FEC code used by the FEC codeword is stronger than the first FEC code used by the first FEC codeword, and the first FEC codeword includes the second FEC codeword start position information. And ending the location information with the second FEC codeword;
    发送单元,用于将所述下行数据帧发送给光网络单元ONU。And a sending unit, configured to send the downlink data frame to the optical network unit ONU.
  15. 如权利要求14所述的OLT,其特征在于,所述数据生成单元生成的下行数据帧中的第二FEC码字包括其他第二FEC码字的开始位置信息和结束位置信息。 The OLT according to claim 14, wherein the second FEC codeword in the downlink data frame generated by the data generating unit includes start location information and end location information of other second FEC codewords.
PCT/CN2015/100244 2015-12-31 2015-12-31 Data parsing and data transmission method and apparatus WO2017113349A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/100244 WO2017113349A1 (en) 2015-12-31 2015-12-31 Data parsing and data transmission method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/100244 WO2017113349A1 (en) 2015-12-31 2015-12-31 Data parsing and data transmission method and apparatus

Publications (1)

Publication Number Publication Date
WO2017113349A1 true WO2017113349A1 (en) 2017-07-06

Family

ID=59224338

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/100244 WO2017113349A1 (en) 2015-12-31 2015-12-31 Data parsing and data transmission method and apparatus

Country Status (1)

Country Link
WO (1) WO2017113349A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112019299A (en) * 2019-05-31 2020-12-01 华为技术有限公司 Data transmission method and related equipment
CN113424453A (en) * 2019-04-01 2021-09-21 华为技术有限公司 Passive Optical Network (PON) frame design
CN114374472A (en) * 2020-10-15 2022-04-19 诺基亚通信公司 Forward error correction control

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047470A (en) * 2006-05-17 2007-10-03 华为技术有限公司 Allocation method for forward error correction function in passive optical network
CN101867851A (en) * 2009-05-27 2010-10-20 Pmc-塞拉以色列有限公司 Be used for effectively improving the report mechanism of upstream bandwidth utilance at 10G EPON
CN102804652A (en) * 2009-06-10 2012-11-28 阿尔卡特朗讯 Method and apparatus for improved upstream frame synchronization in a passive optical network
US20140181616A1 (en) * 2012-12-21 2014-06-26 Cortina Systems, Inc. System and method for implementing multiple fec encoding profiles

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047470A (en) * 2006-05-17 2007-10-03 华为技术有限公司 Allocation method for forward error correction function in passive optical network
CN101867851A (en) * 2009-05-27 2010-10-20 Pmc-塞拉以色列有限公司 Be used for effectively improving the report mechanism of upstream bandwidth utilance at 10G EPON
CN102804652A (en) * 2009-06-10 2012-11-28 阿尔卡特朗讯 Method and apparatus for improved upstream frame synchronization in a passive optical network
US20140181616A1 (en) * 2012-12-21 2014-06-26 Cortina Systems, Inc. System and method for implementing multiple fec encoding profiles

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113424453A (en) * 2019-04-01 2021-09-21 华为技术有限公司 Passive Optical Network (PON) frame design
CN112019299A (en) * 2019-05-31 2020-12-01 华为技术有限公司 Data transmission method and related equipment
US11652660B2 (en) 2019-05-31 2023-05-16 Huawei Technologies Co., Ltd. Optical line terminal and data transmission method, system, and apparatus
CN114374472A (en) * 2020-10-15 2022-04-19 诺基亚通信公司 Forward error correction control
EP3985896A1 (en) * 2020-10-15 2022-04-20 Nokia Solutions and Networks Oy Forward error correction control
US11764902B2 (en) 2020-10-15 2023-09-19 Nokia Solutions And Networks Oy Forward error correction control

Similar Documents

Publication Publication Date Title
EP2499770B1 (en) Downstream frame synchronization pattern protected by header error control in ten gigabit passive optical network
EP2191598B1 (en) Gigabit passive optical network transmission convergence extension for next generation access
EP3091676B1 (en) Frame alignment in a pon
US10855397B2 (en) Downstream data frame transmission method and device
US9178713B1 (en) Optical line termination in a passive optical network
EP2487822B1 (en) Method and device for downlink frame synchronization used in gigabit-capable passive optical network system
US11245490B2 (en) Data encoding method and apparatus, data decoding method and apparatus, OLT, ONU, and PON system
WO2011097904A1 (en) Method and system for uplink bandwidth allocation in a passive optical network
WO2017113349A1 (en) Data parsing and data transmission method and apparatus
WO2011050529A1 (en) Method for transmitting downlink frames in optical network and related apparatus thereof
WO2023246416A1 (en) Data transmission method and apparatus
EP2398165A1 (en) Method and device for transmitting an upstream transmission frame in a passive optical network

Legal Events

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

Ref document number: 15911975

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: 15911975

Country of ref document: EP

Kind code of ref document: A1