WO2009121308A1 - Method, equipment and system for optical network data processing - Google Patents

Method, equipment and system for optical network data processing Download PDF

Info

Publication number
WO2009121308A1
WO2009121308A1 PCT/CN2009/071147 CN2009071147W WO2009121308A1 WO 2009121308 A1 WO2009121308 A1 WO 2009121308A1 CN 2009071147 W CN2009071147 W CN 2009071147W WO 2009121308 A1 WO2009121308 A1 WO 2009121308A1
Authority
WO
WIPO (PCT)
Prior art keywords
gtc frame
gtc
optical network
frame
identifier
Prior art date
Application number
PCT/CN2009/071147
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 华为技术有限公司
Publication of WO2009121308A1 publication Critical patent/WO2009121308A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols

Definitions

  • the embodiments of the present invention relate to the field of network communications, and in particular, to an optical network data processing method, apparatus, and system. Background technique
  • FIG. 1 is a schematic diagram of a network of a passive optical network (PON) in the prior art.
  • the OLT is an optical line terminal (OLT), which is a central office equipment located in a carrier's equipment room.
  • the ONU is an Optical Network Unit (ONU), which is a user terminal located inside the user's room.
  • the downstream direction from the OLT to the ONU is broadcast, that is, one OLT communicates with multiple ONUs at the same time.
  • Gigabit PON GPON
  • GEM Gigabit Passive Optical Network
  • the current GPON system is flawed.
  • the maximum branch ratio supported by the GPON system is limited, the number of users increases and the network scale continues to expand.
  • the existing protocol of the Gigabit PON Transmission Convergence (GTC) layer needs to be modified to expand the address field of the relevant protocol frame. Expanding or upgrading based on the original GPON system, so that the original ONU supports the original protocol and expands or upgrades the new ONU to support the new protocol after the address extension. As a result, the ONUs under the two protocols cannot coexist.
  • the existing GPON transmission rate is limited.
  • the embodiments of the present invention provide an optical network data processing method, apparatus, and system that enable an OLT to identify an ONU supporting an original protocol and an ONU supporting a new protocol, so as to implement ONU coexistence of at least two different protocol types.
  • an embodiment of the present invention provides an optical network data processing method, including:
  • An embodiment of the present invention provides an optical network data processing apparatus, including:
  • a first receiving unit configured to receive a Gigabit passive optical network transmission aggregation GTC frame sent to different types of ONUs;
  • An identifier unit configured to perform different identifiers on the GTC frames received by the first receiving unit
  • the first sending unit is configured to send the GTC frame that is identified by the identifier unit.
  • the embodiment of the present invention further provides another optical network data processing apparatus, including: a second receiving unit, configured to receive at least two types of Gigabit passive optical network transmission aggregate GTC frames, where the physical layer overhead of the GTC frame is Have different logos;
  • An identifying unit configured to identify a type of the GTC frame according to an identifier in a physical layer overhead in a GTC frame received by the second receiving unit;
  • An embodiment of the present invention provides an optical network data processing system, including: an optical line terminal device, configured to identify, transmit, or receive a downlink GTC frame transmitted to a downlink Gigabit passive optical network sent to different types of ONUs. At least two types of uplink GTC frames are identified;
  • an optical network unit configured to identify the downlink GTC frame according to the identifier in the physical layer overhead in the received GTC frame, or identify and send the uplink GTC frame. Therefore, the embodiment of the present invention processes different types of GTC frames according to the recognition result of the received GTC frame, so that the optical network unit supporting the original protocol and the optical network unit supporting the new protocol after the expansion or upgrade can be performed. Differentiating and identifying, by identification, different processing modes can be adopted according to different protocol types supported by different optical network units, and finally the coexistence of two optical network units is realized.
  • the embodiment of the present invention overcomes the above drawbacks of the prior art that the OLT cannot identify two types of ONUs.
  • FIG. 1 is a structural diagram of a networking of a passive optical network in the prior art
  • FIG. 2 is a flowchart of Embodiment 1 of an optical network data processing method according to the present invention
  • FIG. 3 is a flowchart of Embodiment 2 of an optical network data processing method according to the present invention
  • FIG. 4 is a new protocol in Embodiment 2 of an optical network data processing method according to the present invention
  • 5 is a flowchart of a third embodiment of an optical network data processing method according to the present invention
  • FIG. 6 is a schematic diagram of a frame structure of a first downlink GTC frame in a new protocol in the third embodiment of the optical network data processing method according to the present invention
  • FIG. 8 is a schematic structural diagram of Embodiment 4 of an optical network data processing apparatus according to the present invention
  • FIG. 8 is a schematic structural diagram of Embodiment 1 of an optical network data processing apparatus according to the present invention
  • FIG. 10 is a schematic structural diagram of an optical network data processing system according to the present invention.
  • FIG. 2 it is a flowchart of Embodiment 1 of an optical network data processing method according to the present invention, which specifically includes:
  • Step S201 The OLT receives at least two types of Gigabit passive optical network transmission aggregation GTC frames;
  • Step S202 The OLT identifies the GTC frame according to the identifier in the physical layer overhead in the received GTC frame, and determines whether the received GTC frame is from an ONU supporting the original protocol or an ONU supporting the new protocol.
  • Step S203 The OLT performs corresponding processing on the GTC frame according to the recognition result.
  • the OLT After the OLT determines the protocol type supported by the ONU that sends the GTC frame, the OLT processes the received GTC frame by using the corresponding processing mode of the protocol type supported by the ONU.
  • step S202 specifically includes: Step S312: The OLT parses the received GTC frame. Obtain an identifier;
  • Step S313 The OLT performs judgment according to the identifier, and if it is the first GTC frame, Step S314, otherwise step S315;
  • Step S203 specifically includes:
  • Step S314 The OLT receives the first GTC frame in the first channel, and performs step S316;
  • Step S315 The OLT receives the second GTC frame in the second channel, and performs step S317;
  • Step S316 The OLT demultiplexes the first GTC frame Reconciliation encapsulation;
  • Step S317 The OLT demultiplexes and decapsulates the second GTC frame.
  • Step S310 may be further included before step S312: the OLT encapsulates and multiplexes the first GTC frame and the second GTC frame respectively;
  • Step S311 may also be included between step S310 and step S312:
  • the OLT sets an identifier in a reserved bit of the physical layer overhead in the first GTC frame.
  • the first GTC frame may be an optical network unit GTC frame supporting a new protocol
  • the second GTC frame may be a GTC frame of an optical network unit supporting the original protocol
  • the original ONU supports the original protocol.
  • the expansion or upgrade of the new ONU will support the address.
  • the extended new protocol so there are ONUs supporting the original protocol and ONUs supporting the new protocol in the network, and the OLT needs to identify the GTC frames sent by the ONUs supporting the two protocol types.
  • the unicast mode is sent to the OLT for the ONU that supports the original protocol and the ONU that supports the new protocol.
  • the original ONU encapsulation format is used first. Encapsulate, generate a Gigabit Passive Optical Network Encapsulation (GEM) frame, and then multiplex the passive optical network encapsulation frame into a Gigabit PON Transmission Convergence (GTC)
  • GTC Gigabit PON Transmission Convergence
  • PLOAM Physical Layer 0 AM
  • the PLOAM message is also multiplexed into the GTC frame, and finally the uplink GTC of the ONU supporting the original protocol is generated.
  • the ONU encapsulation format supporting the new protocol is first encapsulated to generate a passive optical network encapsulation frame under the new protocol, and then the passive protocol under the new protocol is used.
  • the optical network encapsulated frame is multiplexed into the passive optical network transmission aggregation frame under the new protocol, if there is also a physical under the new protocol If the layer operation management and maintenance message is uploaded, the PLOAM message under the new protocol is also multiplexed into the GTC frame under the new protocol, and then the reserved bit of the physical layer overhead of the GTC frame under the new protocol is set to the identifier A, and finally generated.
  • the upstream GTC frame of the ONU supporting the new protocol is first encapsulated to generate a passive optical network encapsulation frame under the new protocol, and then the passive protocol under the new protocol is used.
  • the optical network encapsulated frame is multiplexed into the passive optical network transmission aggregation frame under the new protocol, if there is also a physical under the new protocol If the
  • FIG. 4 is a schematic diagram of a frame structure of an uplink GTC frame supporting a new protocol in the second embodiment of the optical network data processing method according to the present invention.
  • the frame structure includes: PLOu is an uplink physical layer overhead, and Payload is a payload, where PLOu includes a preamble. Code Preamble, delimiter Delimiter, interleave parity BIP, port number NG-ONU-ID of ONU supporting new protocol, indicating information field Ind, bitO-bit4 in the Ind field is reserved unused bits Therefore, the unused bit can be used as an identifier bit, and the OLT can set an identifier in the flag bit. Since the reserved bit can be one bit or multiple bits, the flag A can also be set to one or more bits, and the flag A can be set by itself.
  • Two receiving channels are respectively set in the OLT, and the two receiving channels respectively receive uplink GTC frames sent from the ONU supporting the original protocol and the ONU supporting the new protocol.
  • the OLT When receiving an uplink GTC frame sent from an ONU supporting the original protocol and an ONU supporting the new protocol, the OLT first parses the uplink GTC frame from the reserved bits of the physical layer overhead of the uplink GTC frame. The bit information of the passive optical network transmission aggregation frame is obtained in the bitO-bit 4, and if the acquired identification information matches the preset identifier A, the OLT can determine that the current uplink GTC frame is from the ONU supporting the new protocol.
  • the OLT then forwards the GTC frame to the first channel corresponding to the ONU supporting the new protocol, and performs the uplink GTC frame in the uplink channel using the uplink GTC frame format in the new protocol corresponding to the ONU supporting the new protocol. Demultiplexing and decapsulation processing, the OLT finally obtains the PLOAM message under the new protocol (if there is a PLOAM message upload under the new protocol) and the GTC frame initially sent by the ONU supporting the new protocol.
  • the OLT can determine that the uplink GTC frame is from the ONU supporting the original protocol, and then the OLT forwards the uplink GTC frame to the ONU supporting the original protocol.
  • the OLT can determine that the uplink GTC frame is from the ONU supporting the original protocol, and then the OLT forwards the uplink GTC frame to the ONU supporting the original protocol.
  • the OLT obtains the PLOAM message under the original protocol (if there is an original agreement)
  • the PLOAM message uploaded under the protocol) and the GTC frame sent by the ONU supporting the original protocol.
  • the OLT can distinguish between the ONU supporting the original protocol and the ONU supporting the new protocol after the expansion or upgrade. Specifically, the OLT obtains the identifier by parsing the uplink GTC frame, and identifies the ONU that supports the original protocol and the ONU that supports the new protocol after the expansion or upgrade, so that the OLT can adopt different processing according to different protocol types supported by the ONU. In this manner, the GTC frame and the control message sent from the ONU supporting the original protocol and the ONU that supports the new protocol after the expansion or upgrade are respectively obtained, and the coexistence of the ONUs supporting the two protocol types is realized.
  • the method may further include:
  • Step S521 The OLT sets a first identifier in a reserved bit of the physical layer overhead of the first GTC frame; and sets a second identifier in the reserved bit of the physical layer overhead of the second GTC frame.
  • Step S522 The ONU obtains the identifier of the received GTC frame and determines whether the identifier is the first identifier. If the identifier is the first identifier, step S523 is performed, if not, the step S524 is performed;
  • Step S523 The ONU receives the first GTC frame.
  • Step S524 The ONU discards the second GTC frame.
  • the first GTC frame may be an optical network unit GTC frame supporting a new protocol
  • the second GTC frame is an optical network unit GTC frame supporting the original protocol
  • the GTC frame sent from the OLT to the ONU supporting the original protocol and the ONU supporting the new protocol is a downlink frame, and the transmission mode is a broadcast mode.
  • the first GTC frame is an optical network unit GTC frame supporting the new protocol (that is, the GTC frame sent by the OLT to the ONU supporting the new protocol)
  • the second GTC frame is an optical network unit GTC frame supporting the original protocol (ie, the OLT sends to the OLT)
  • the OLT encapsulates the first GMT frame sent by the OLT to the ONU supporting the new protocol by using the downlink GEM frame format of the new protocol, and then generates a first GEM frame supporting the new protocol, and then GEM frame under the new protocol
  • the PLOAM message in the new protocol is multiplexed into the GTC frame under the new protocol when the PLOAM message is sent to the new protocol, and the first protocol under the new protocol is generated.
  • the downlink GTC frame; and the OLT uses the reserved bit of the physical layer overhead in the downlink GTC frame of the new protocol, and sets the identifier A of the first downlink GTC frame in the new protocol, as shown in FIG.
  • the frame structure diagram of the first downlink GTC frame in the new protocol in the third embodiment of the optical network data processing method of the present invention includes a downlink physical layer control block PCBd and a payload Payload, wherein the PCBd includes a physical layer synchronization Psync and an indication superframe Ident.
  • the error correction code FEC Ind, the multiframe counter, and the reserved bit are included in the indication superframe Ident, and the identifier A may be set in the reserved bit in the downlink GTC frame under the new protocol, to identify the new protocol.
  • the OLT encapsulates the second GTC frame sent by the OLT to the ONU supporting the original protocol by using the GEM frame format of the original protocol to obtain the GEM frame in the original protocol, and multiplexes the GEM frame into the original protocol.
  • the downlink GTC frame if the PLOAM message is sent to the GTC frame in the original protocol, the second downlink GTC frame is generated, and the second downlink GTC frame is generated.
  • the identifier B of the downlink GTC frame is set in the reserved bit of the frame using the physical layer overhead, and the specific setting method is the same as the setting method of the GTC frame in the new protocol.
  • the ONU can simultaneously parse the downlink GTC frame under the original protocol and the downlink GTC frame under the new protocol.
  • the ONU supporting the original protocol can be correctly followed.
  • the parsing format parses the downlink GTC frame in the original protocol.
  • the ONU that supports the original protocol uses the wrong parsing, which causes the important field parsing to fail.
  • the ONU supporting the original protocol can determine the ONU of the new protocol by judging whether the parsing result is correct.
  • the ONU supporting the original protocol is Receiving the downlink GTC frame, and performing a series of processing including demultiplexing and decapsulating, and the ONU supporting the original protocol also discards the downlink GTC frame in the new protocol, so the ONU supporting the original protocol only retains The part of the GTC frame and control message sent by the OLT to itself; when supporting the new association
  • the ONU of the conference receives the downlink GTC frame under the original protocol and the downlink GTC frame under the new protocol, it first parses the indication flag.
  • the identifier is identified as the identifier B
  • the ONU supporting the new protocol can determine the GTC.
  • the frame is sent by the OLT to the ONU supporting the original protocol without further parsing but directly filtered and discarded.
  • the ONU supporting the new protocol can determine the GTC frame. It is sent by the OLT to itself to continue parsing the GTC frame.
  • the parsing process includes demultiplexing and decapsulation processes as opposed to the above encapsulation and multiplexing, and finally obtains the GTC frame sent by the OLT to the ONU supporting the new protocol. Control messages.
  • the ONU that supports the original protocol can directly identify the frame structure of the two protocol types and the analysis format corresponding to the ONU supporting the original protocol, and then determine whether the analysis result is correct, so that the ONU supporting the original protocol can be identified.
  • the OLT sends the GTC frame to its own and discards the OLT to send the ID to the ONU of the new protocol supporting the new protocol.
  • the ONU that supports the new protocol can distinguish the downlink GTC frames of the two protocol types.
  • the downstream GTC frame carrying the ONU identifier supporting the original protocol is directly discarded, so that the ONU supporting the original protocol and the ONU supporting the new protocol can each identify the GTC frame and control message sent by the OLT to the network, thereby ensuring the network. Coexistence of ONUs of two protocol types does not send message collisions.
  • the identifier can also enable the ONU supporting the new protocol to automatically filter the downlink GTC frame that does not belong to itself, thereby improving the message processing efficiency.
  • FIG. 7 is a flowchart of Embodiment 4 of the optical network data processing method of the present invention.
  • the fourth embodiment is based on the first embodiment.
  • Step S202 in the first embodiment may be specifically:
  • Step S731 The OLT checks the parsed GTC frame. Specifically, the result of the checksum of the parsed GTC frame by the ONU is: the first GTC frame parsed by the ONU after being parsed by the first parsing format is successfully verified; the first GTC frame parsing after parsing by the second parsing format fails; The second GTC frame parsed after the second parsing format is successfully verified; The second GTC frame check after parsing of the first parsing format fails.
  • Step S203 may specifically be:
  • Step S732 The OLT determines whether the verification is successful. If successful, step S733 is performed; otherwise, step S734 is performed;
  • Step S733 The OLT receives the GTC frame.
  • Step S734 The OLT discards the GTC frame.
  • the padding value in the reserved bit of the ONU that supports the original protocol is not determined. Therefore, in this embodiment, the identifier is not set, but is identified by parsing and verifying the received uplink GTC frame.
  • the first GTC frame is an optical network unit GTC frame supporting the new protocol (that is, the first uplink GTC frame sent to the OLT by the ONU supporting the new protocol), and the second GTC frame is an optical network supporting the original protocol.
  • the unit GTC frame (that is, the second uplink GTC frame sent to the OLT by the ONU supporting the original protocol).
  • the specific parsing process is as follows: The OLT sets two receiving channels, and when the first uplink GTC frame and the second uplink GTC frame are received by the first receiving channel, in the receiving channel, the ONU corresponding to the original protocol is used.
  • the uplink GTC frame format in the original protocol decapsulates the second uplink GTC frame to obtain the correct GEM frame in the original protocol.
  • the PLOAM can also be demultiplexed to obtain the PLOAM.
  • the message is demultiplexed with the original protocol; the GEM frame under the new protocol is obtained. If the PLOAM message under the new protocol is uploaded, the PLOAM message under the new protocol can be demultiplexed.
  • the first uplink GTC frame and the second uplink GTC frame are received in the second receiving channel, the first uplink GTC frame is demultiplexed by using the uplink GTC frame format in the new protocol corresponding to the ONU supporting the new protocol.
  • the uplink GEM frame under the new protocol can be demultiplexed to obtain the PLOAM message under the correct new protocol if the PLOAM message is uploaded under the new protocol, and the uplink GTC frame under the new protocol corresponding to the ONU supporting the new protocol is adopted.
  • the format decapsulates the second uplink GTC frame to obtain an error of the uplink GEM frame under the original protocol, if there is a PLOAM message under the original protocol, The PLOAM message under the original protocol can be demultiplexed to get the error.
  • the PLOAM message upload under the new protocol and the uplink GEM frame under the new protocol are verified.
  • the PLOAM message under the new protocol obtained by demultiplexing and the GEM frame under the new protocol obtained by decapsulation are both erroneous messages and GTC frames, and therefore are discarded due to a check error.
  • the PLOAM message and the GEM frame under the original protocol sent by the ONU supporting the original protocol are reserved; for the second receiving channel, the PLOAM message and the decapsulation obtained by the demultiplexing of the original protocol are obtained.
  • the GEM frames in the original protocol are all erroneous messages and GTC frames, so they are discarded due to the check error, thus retaining the PLOAM message under the new protocol and the uplink under the new protocol sent by the ONU supporting the new protocol. GEM frame.
  • the GTC frame that does not correspond to the receiving channel can be discarded, so that it does not appear in the two receiving.
  • the channel can receive PLOAM messages of different protocol types and GEM frames at the same time, so as to ensure that only one type of PLOAM message and GEM frame are forwarded to the upper layer through one receiving channel, thereby ensuring that different ONUs in the network can coexist.
  • FIG. 8 is a schematic structural diagram of Embodiment 1 of an optical network data processing apparatus according to the present invention, including:
  • the first receiving unit 100 is configured to receive a GTC frame sent by the OLT to different types of ONUs;
  • the identifier unit 101 is configured to perform different identifiers on the GTC frame received by the first receiving unit 100.
  • the first sending unit 102 is configured to send the GTC frame identified by the identifier unit 101.
  • the identification unit 101 can include:
  • the first identifier module 1010 is configured to set an identifier in a reserved bit of a physical layer overhead in the first GTC frame.
  • the first GTC frame is a downlink GTC frame that is sent to an ONU that supports the new protocol
  • the second GTC frame is a downlink GTC frame that is sent to an ONU that supports the original protocol.
  • the first receiving unit 100 receives the first downlink GTC frame and the second downlink GTC frame that are sent to the ONU that supports the original protocol and the ONU that supports the new protocol.
  • the first identity module 1010 is under the new protocol.
  • the identifier A is set in the reserved bits bitO-bit4 of the physical layer overhead of the first downlink GTC frame, and finally the first transmitting unit 102 can send the identified first GTC frame and the unidentified second GTC frame. .
  • the identifier unit 101 By setting the identifier in the GTC frame reserved bit by the identifier unit 101, it is possible to distinguish between the ONU that the OLT sends to support the original protocol and the downlink GTC frame that is sent to the expanded or upgraded ONU that supports the new protocol, so that The ONU that was identified at the time of identification finally realized the coexistence of ONUs of the two protocol types.
  • the identification unit 101 may further include:
  • the second identity module 1011 is configured to set a first identifier in a reserved bit of a physical layer overhead in the first GTC frame, and set a second identifier in a reserved bit of a physical layer overhead in the second GTC frame.
  • the first GTC frame may be a downlink GTC frame sent by the OLT to the ONU supporting the new protocol
  • the second GTC frame may be sent to the downlink GTC frame sent by the OLT to the ONU supporting the original protocol.
  • the first receiving unit 100 receives the first downlink GTC frame and the second downlink GTC frame sent by the OLT to the ONU supporting the original protocol and the ONU that supports the new protocol, and then the second identity module 1011 is downlinked under the new protocol.
  • An identifier A is set in the reserved bit bit of the physical layer overhead of the GTC frame, and the first downlink GTC frame is generated, and the identifier B is set in the reserved bit bit bit bit-bit 4 of the physical layer overhead of the downlink GTC frame in the original protocol.
  • the second downlink GTC frame can send the identified first downlink GTC frame and second downlink GTC frame.
  • the identifier unit 101 By identifying the two types of GTC frames by the identifier unit 101, it is possible to distinguish between the ONUs that are sent by the OLT to support the original protocol and the downlink GTC frames of the ONUs that are expanded or upgraded to support the new protocol, so that subsequent identification can be performed. Judging this The GTC frame is sent to the ONU supporting the original protocol or the ONU supporting the new protocol, and finally the coexistence of the ONUs of the two protocol types is realized.
  • FIG. 9 is a schematic structural diagram of Embodiment 2 of an optical network data processing apparatus according to the present invention, where the apparatus includes:
  • the second receiving unit 200 is configured to receive at least two types of GTC frames, where the physical layer overhead of the GTC frame has different identifiers;
  • the identifying unit 201 is configured to identify the at least two types of GTC frames according to the identifier in the physical layer overhead in the GTC frame received by the second receiving unit 200, and the second sending unit 202 is configured to identify according to the identifier As a result, the GTC frame is transmitted to other devices for corresponding processing.
  • the identification unit 201 includes:
  • the first identification module 2010 is configured to perform classification and identification according to the identifier of the received GTC frame.
  • the second receiving unit 200 receives an uplink GTC frame
  • the uplink GTC frame includes a second GTC frame corresponding to the ONU supporting the original protocol and a first one corresponding to the ONU supporting the new protocol with the identifier A.
  • the first identification module 2010 in the identification unit 201 identifies the received GTC frame, and the specific identification process is: parsing and obtaining the identification information of the GTC frame, if the first identification module 2010 determines that the identification information is pre-
  • the identifier A is determined to determine that the current uplink GTC frame is derived from the ONU supporting the new protocol, and then the second sending unit 202 forwards the GTC frame to the first channel corresponding to the ONU supporting the new protocol, in the first channel.
  • the uplink GTC frame is demultiplexed and decapsulated by using the uplink GTC frame format under the new protocol corresponding to the ONU supporting the new protocol, and finally the OLT obtains the PLOAM message under the new protocol (if there is a new protocol) PLOAM message upload) and GTC frame initially sent by the ONU supporting the new protocol.
  • the uplink GTC frame is determined to be derived from the ONU supporting the original protocol, and then the second sending unit 202 forwards the uplink GTC frame to The second channel corresponding to the ONU supporting the original protocol, and the original protocol corresponding to the ONU supporting the original protocol is adopted in the channel.
  • the uplink GTC frame format of the proposed GTC frame demultiplexes and decapsulates the uplink GTC frame under the original protocol, and finally the OLT obtains the PLOAM message under the original protocol (if there is a PLOAM message upload under the original protocol) ) and GTC frames sent by ONUs that support the original protocol.
  • the downlink GTC frame includes a first downlink GTC frame corresponding to the ONU that is sent by the OLT to support the new protocol, and a second downlink GTC corresponding to the ONU that supports the original protocol.
  • the frame, and the identifier A has been set in the reserved bit of the first downlink GTC frame, and the identifier B is set in the reserved bit of the second downlink frame to distinguish it.
  • the first identification module 2010 parses and obtains the identifier of the downlink GTC frame received by the second receiving unit 200. When the identifier is identified as the identifier B, the first identification module 2010 can determine that the GTC frame is sent by the OLT to support the original.
  • the second sending unit 202 can directly send the received GTC frame to the ONU supporting the original protocol, and the ONU supporting the original protocol can analyze and judge the GTC frame by itself, if the GTC frame format is parsed. If it is correct, it is the second downlink GTC frame and is received. If the error is the first downlink GTC frame and discarded, and when the identifier identified by the first identification module 2010 is the identifier A, the first identification module 2010 can determine The GTC frame is sent by the OLT to the ONU supporting the new protocol, so that the second sending unit 202 can directly send the received GTC frame to the ONU supporting the new protocol, and enable the ONU supporting the new protocol to parse the GTC frame by itself. It is determined that if the parsed GTC frame format is correct, it is determined to be the first downlink GTC frame and received, and if it is wrong, it is determined to be the second downlink GTC frame and discarded.
  • the identification unit 201 identifies the identifier in the reserved bit of the GTC frame, and the GTC frame sent by the ONU is identified, so that it can be determined whether the ONU supporting the original protocol or the ONU supporting the new protocol is sent by the GTC frame.
  • the sending module 202 sends the identified GTC frame to the corresponding first receiving channel or the second receiving channel, and the two receiving channels respectively adopt different demultiplexing and decapsulation processing methods to obtain the original protocol.
  • the ONU supporting the new protocol can identify the downlink GTC frame sent by the OLT, and finally realize the coexistence of the ONUs of the two protocol types.
  • the identification unit 201 may also include:
  • the second identification module 2011 is configured to identify the received GTC frame according to the verification information.
  • the second receiving unit 200 receives the uplink GTC frame, and the uplink GTC frame includes a first uplink GTC frame corresponding to the ONU supporting the original protocol and a second uplink GTC frame corresponding to the ONU supporting the new protocol.
  • the second identification module 2011 in the identification unit 201 identifies the received GTC frame, and the specific identification process is: adopting a first parsing format corresponding to the ONU supporting the original protocol to the first uplink in the first channel.
  • the GTC frame and the second uplink GTC frame are parsed at the same time, and the first uplink GTC frame and the second uplink GTC frame are simultaneously parsed in the second channel by using the second parsing format corresponding to the ONU supporting the new protocol, for the first channel
  • the PLOAM message under the new protocol if there is a PLOAM message upload under the new protocol
  • the GEM frame under the new protocol are all erroneous messages and GTC frames, so the second sending unit 202 is under the new protocol.
  • the GEM frame and the PLOAM message under the new protocol (if there is a PLOAM message upload under the new protocol) will discard the wrong GTC.
  • the second transmitting unit performs verification processing on the parsing result and transmits, so that the discarding does not correspond to the receiving channel.
  • the GTC frame does not appear in the case where the two receiving channels receive the uplink GEM frames of different protocol types at the same time. If there is a PLOAM message upload, the PLOAM messages of different protocol types are not simultaneously received in the two receiving channels.
  • the situation ensures that only one PLOAM message under the original protocol (if there is a PLOAM message upload under the original protocol) and the upstream GEM frame under the original protocol or only the PLOAM message under the new protocol are passed through a receiving channel (if The PLOAM message upload under the new protocol and the upstream GEM frame under the new protocol are forwarded to the upper layer, thereby ensuring that the ONUs of different protocol types in the network can coexist.
  • FIG. 10 it is a schematic structural diagram of an optical network data processing system according to the present invention, and the system includes:
  • the optical line terminal device 300 is configured to identify and send the aggregate GTC frame of the downlink Gigabit passive optical network that is sent to different types of ONUs, or identify the received at least two types of uplink GTC frames;
  • the optical network unit 301 is configured to identify the downlink GTC frame according to the identifier in the physical layer overhead in the received GTC frame, or identify and send the uplink GTC frame.
  • optical line termination device 300 includes:
  • the first optical line termination module 3000 is configured to identify and send the downlink GTC frame sent to different types of ONUs;
  • the second optical line termination module 3001 is configured to identify the received at least two types of uplink GTC frames.
  • the optical network unit device 301 includes:
  • the first optical network unit module 3010 is configured to identify the downlink GTC frame according to the identifier in the physical layer overhead in the received GTC frame.
  • the second optical network unit module 3011 is configured to identify and send the uplink GTC frame. Specifically, the first optical line termination module 3000 in the optical line termination device 300
  • the OLT sends the downstream GTC to the ONU supporting the original protocol and the ONU supporting the new protocol.
  • the frame is identified and then sent to the optical network unit device 301.
  • the first optical network unit module 3010 in the optical network unit device 301 identifies the downlink GTC frame according to the identifier in the received downlink GTC frame and can perform corresponding processing.
  • the second optical network unit module 3011 in the optical network unit 301 identifies the uplink GTC frame sent to the OLT by the ONU supporting the original protocol and the ONU supporting the new protocol, and then sends the uplink GTC frame to the optical line terminal device 300, and the optical line terminal.
  • the second optical line termination module 3001 in the device 300 can distinguish and identify the uplink GTC frame according to the identifier and perform corresponding processing.
  • the specific identification and processing process is as described in the foregoing embodiment. Let me repeat.
  • the OLT can be distinguished from the ONG that supports the original protocol and the downstream GTC frame of the ONU that supports the new protocol, and supports the original protocol.
  • the ONU conflicts, the corresponding GTC frames and messages can be obtained, so that the coexistence of ONUs of two different protocol types can be realized.
  • the foregoing embodiment only illustrates the coexistence of two ONUs of different protocol types.
  • the above method can also be used, and only more identifiers need to be set. Bit or set more receiving channels.
  • the present invention can be implemented by hardware or by software plus necessary general hardware platform.
  • the technical solution of the present invention may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including several The instructions are for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.

Abstract

A method, an equipment and a system for optical network data processing. The method includes that: the Gigabit Passive Optical Network Convergence (GTC) frames of at least two types are received; the types of GTC frames are identified according to the identifier in the physical layer overhead of the received GTC frames; the GTC frames are processed correspondingly according to the identifying result. The embodiment of the present invention processes the GTC frames of the different types according to the identifying result of received GTC frames, consequently, the optical network unit which supports the original protocol and the capacity expended and upgraded optical network unit which supports the new protocol can be distinguished and identified, and through the identifying, the different processing manners can be adopted according to the different protocol types supported by the different optical network units, finally the coexistence of the two optical network units is realized.

Description

光网络数据处理方法、 装置和系统  Optical network data processing method, device and system
本申请要求于 2008 年 4 月 2 日提交中国专利局, 申请号为 200810103282.2, 发明名称为 "光网络数据处理方法、 装置和系统" 的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域 This application claims priority to Chinese Patent Application No. 200810103282.2, entitled "Optical Network Data Processing Method, Apparatus and System", filed on April 2, 2008, the entire contents of which are incorporated herein by reference. In the application. Technical field
本发明实施例涉及网络通信领域,尤其涉及一种光网络数据处理 方法、 装置和系统。 背景技术  The embodiments of the present invention relate to the field of network communications, and in particular, to an optical network data processing method, apparatus, and system. Background technique
随着电信业务的日益丰富, 用户对带宽的需求也越来越大, 原有 的双绞线和同轴电缆接入技术可充分利用现有铜线资源,但无法为新 业务如视频点播、 双向可视会议提供足够带宽, 且传输距离有限, 网 络覆盖范围小,而光纤的巨大容量和长距离传输决定了光纤接入是宽 带接入的最终方案, 因此国内外运营商已经将光纤到户 (fiber to the home, FTTH )作为接入网的必然选择。  With the increasing enrichment of telecom services, users are increasingly demanding bandwidth. The existing twisted pair and coaxial cable access technologies can make full use of existing copper resources, but cannot be used for new services such as video on demand. Two-way video conferencing provides sufficient bandwidth, and the transmission distance is limited, and the network coverage is small. The huge capacity and long-distance transmission of optical fiber determine that fiber access is the ultimate solution for broadband access. Therefore, domestic and foreign operators have already adopted fiber-to-the-home. (fiber to the home, FTTH) is an inevitable choice for access networks.
如图 1 所示为现有技术中无源光网络 ( Passive Optical Network, PON )的组网示意图,其中, OLT为光线路终端( Optical Line Terminal , OLT )即位于运营商机房的局端设备, ONU为光网络单元 ( Optical Network Unit, ONU )即位于用户房间内部的用户终端。 从 OLT到 ONU的下行方向是广播的, 即一个 OLT同时跟多个 ONU通 信。千兆无源光网络(Gigabit PON,GPON)由于具有较宽的带宽效率, 且其同步定时器机制沿用传统的同步数字体系,采用千兆无源光网络 封装方法 (GPON Encapsulation Method, GEM ) 能够适配两种速率 的业务, 因而成为各国运营商目前使用最多的系统。  FIG. 1 is a schematic diagram of a network of a passive optical network (PON) in the prior art. The OLT is an optical line terminal (OLT), which is a central office equipment located in a carrier's equipment room. The ONU is an Optical Network Unit (ONU), which is a user terminal located inside the user's room. The downstream direction from the OLT to the ONU is broadcast, that is, one OLT communicates with multiple ONUs at the same time. Gigabit PON (GPON) has wide bandwidth efficiency, and its synchronous timer mechanism follows the traditional synchronous digital system. It can use Gigabit Passive Optical Network (GEM) method. Adapting to two rates of service, it has become the system most used by operators in various countries.
目前的 GPON系统是存在缺陷的, 首先, 由于 GPON系统支持 的最大分支比有限, 使得在用户数目增多, 网络规模不断扩大的情况 下需要修改现有的无源光网络传输汇聚(Gigabit PON Transmission Convergence, GTC ) 层的协议, 扩充相关协议帧的地址域。 在原有 GPON系统的基础上进行扩容或升级, 使得原有的 ONU支持原有协 议而扩容或升级新增的 ONU支持地址扩展后的新协议, 从而导致了 两种协议下的 ONU之间无法共存的问题; 其次, 现有的 GPON传输 速率有限, 同样为了保护现有投资, 只能将现有 GPON 系统的部分 ONU升级为支持新协议的 ONU,而原有 ONU与支持新协议的 ONU 在物理层特性上存在差异, 因此导致 OLT不能够识别出支持原有协 议的 ONU以及支持地址扩展后新协议的 ONU的问题。 发明内容 The current GPON system is flawed. First, because the maximum branch ratio supported by the GPON system is limited, the number of users increases and the network scale continues to expand. The existing protocol of the Gigabit PON Transmission Convergence (GTC) layer needs to be modified to expand the address field of the relevant protocol frame. Expanding or upgrading based on the original GPON system, so that the original ONU supports the original protocol and expands or upgrades the new ONU to support the new protocol after the address extension. As a result, the ONUs under the two protocols cannot coexist. Secondly, the existing GPON transmission rate is limited. In order to protect the existing investment, only some ONUs of the existing GPON system can be upgraded to ONUs supporting the new protocol, while the original ONUs and the ONUs supporting the new protocols are in the physical There are differences in layer characteristics, which causes the OLT to fail to recognize the ONU that supports the original protocol and the ONU that supports the new protocol after the address extension. Summary of the invention
本发明实施例提供一种能够使 OLT对支持原有协议的 ONU和支 持新协议的 ONU进行识别的光网络数据处理方法、 装置和系统, 以 实现至少两种不同协议类型的 ONU共存。  The embodiments of the present invention provide an optical network data processing method, apparatus, and system that enable an OLT to identify an ONU supporting an original protocol and an ONU supporting a new protocol, so as to implement ONU coexistence of at least two different protocol types.
为实现上述目的, 本发明实施例提供了一种光网络数据处理方 法, 包括:  To achieve the above objective, an embodiment of the present invention provides an optical network data processing method, including:
接收至少两种类型的千兆无源光网络传输汇聚 GTC帧; 别;  Receiving at least two types of Gigabit passive optical network transmission aggregate GTC frames;
根据所述识别结果, 对所述 GTC帧进行相应的处理。  Corresponding processing is performed on the GTC frame according to the recognition result.
本发明实施例提供一种光网络数据处理装置, 包括:  An embodiment of the present invention provides an optical network data processing apparatus, including:
第一接收单元, 用于接收发送给不同类型的 ONU的千兆无源光 网络传输汇聚 GTC帧;  a first receiving unit, configured to receive a Gigabit passive optical network transmission aggregation GTC frame sent to different types of ONUs;
标识单元, 用于对所述第一接收单元接收到的 GTC帧进行不同 标识;  An identifier unit, configured to perform different identifiers on the GTC frames received by the first receiving unit;
第一发送单元, 用于将所述标识单元标识后的所述 GTC帧进行 发送。 本发明实施例还提供另一种光网络数据处理装置, 包括: 第二接收单元,用于接收至少两种类型的千兆无源光网络传输汇 聚 GTC帧, 所述 GTC帧的物理层开销中具有不同标识; The first sending unit is configured to send the GTC frame that is identified by the identifier unit. The embodiment of the present invention further provides another optical network data processing apparatus, including: a second receiving unit, configured to receive at least two types of Gigabit passive optical network transmission aggregate GTC frames, where the physical layer overhead of the GTC frame is Have different logos;
识别单元, 用于根据所述第二接收单元接收到的 GTC帧中的物 理层开销中的标识, 对所述 GTC帧的类型进行识别;  An identifying unit, configured to identify a type of the GTC frame according to an identifier in a physical layer overhead in a GTC frame received by the second receiving unit;
第二发送单元, 用于根据所述识别结果, 将所述 GTC帧发送给 其他装置进行相应的处理。 本发明实施例提供了一种光网络数据处理系统, 包括: 光线路终端装置, 用于对发送给不同类型的 ONU的下行千兆无 源光网络传输汇聚 GTC帧进行标识并发送, 或对接收到的至少两种 类型的上行 GTC帧进行识别;  And a second sending unit, configured to send the GTC frame to another device for performing corresponding processing according to the recognition result. An embodiment of the present invention provides an optical network data processing system, including: an optical line terminal device, configured to identify, transmit, or receive a downlink GTC frame transmitted to a downlink Gigabit passive optical network sent to different types of ONUs. At least two types of uplink GTC frames are identified;
光网络单元装置, 用于根据接收到的 GTC帧中的物理层开销中 的标识对下行 GTC帧进行识别, 或对上行 GTC帧进行标识并发送。 因此, 本发明实施例根据对接收的 GTC帧的识别结果, 对不同 类型的 GTC帧进行处理, 从而能够将支持原有协议的光网络单元以 及扩容或升级后的支持新协议的光网络单元进行区分和识别,通过识 别就能够根据不同光网络单元各自支持的不同协议类型采用不同的 处理方式, 最终实现了两种光网络单元的共存。  And an optical network unit, configured to identify the downlink GTC frame according to the identifier in the physical layer overhead in the received GTC frame, or identify and send the uplink GTC frame. Therefore, the embodiment of the present invention processes different types of GTC frames according to the recognition result of the received GTC frame, so that the optical network unit supporting the original protocol and the optical network unit supporting the new protocol after the expansion or upgrade can be performed. Differentiating and identifying, by identification, different processing modes can be adopted according to different protocol types supported by different optical network units, and finally the coexistence of two optical network units is realized.
与现有技术相比, 本发明实施例克服了上述现有技术中 OLT无 法识别两种类型的 ONU的缺陷。 附图说明  Compared with the prior art, the embodiment of the present invention overcomes the above drawbacks of the prior art that the OLT cannot identify two types of ONUs. DRAWINGS
图 1为现有技术中无源光网络的组网结构图;  1 is a structural diagram of a networking of a passive optical network in the prior art;
图 2为本发明光网络数据处理方法实施例一的流程图; 图 3为本发明光网络数据处理方法实施例二的流程图; 图 4 为本发明光网络数据处理方法实施例二中新协议下的上行 GTC帧的帧结构示意图; 图 5为本发明光网络数据处理方法实施例三的流程图; 图 6 为本发明光网络数据处理方法实施例三中新协议下的第一 下行 GTC帧的帧结构示意图; 2 is a flowchart of Embodiment 1 of an optical network data processing method according to the present invention; FIG. 3 is a flowchart of Embodiment 2 of an optical network data processing method according to the present invention; FIG. 4 is a new protocol in Embodiment 2 of an optical network data processing method according to the present invention; Schematic diagram of the frame structure of the uplink GTC frame; 5 is a flowchart of a third embodiment of an optical network data processing method according to the present invention; FIG. 6 is a schematic diagram of a frame structure of a first downlink GTC frame in a new protocol in the third embodiment of the optical network data processing method according to the present invention;
图 7为本发明光网络数据处理方法实施例四的流程图; 图 8为本发明光网络数据处理装置实施例一的结构示意图; 图 9为本发明光网络数据处理装置实施例二的结构示意图; 图 10为本发明光网络数据处理系统的结构示意图。 具体实施方式 下面通过附图和实施例,对本发明的技术方案做进一步的详细描 述。  FIG. 8 is a schematic structural diagram of Embodiment 4 of an optical network data processing apparatus according to the present invention; FIG. 8 is a schematic structural diagram of Embodiment 1 of an optical network data processing apparatus according to the present invention; FIG. 10 is a schematic structural diagram of an optical network data processing system according to the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The technical solutions of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments.
如图 2所示, 为本发明光网络数据处理方法实施例一的流程图, 具体包括:  As shown in FIG. 2, it is a flowchart of Embodiment 1 of an optical network data processing method according to the present invention, which specifically includes:
步骤 S201 : OLT接收至少两种类型的千兆无源光网络传输汇聚 GTC帧;  Step S201: The OLT receives at least two types of Gigabit passive optical network transmission aggregation GTC frames;
步骤 S202: OLT根据接收到的 GTC帧中的物理层开销中的标识 对 GTC帧进行识别,确定接收到的 GTC帧是来自于支持原有协议的 ONU还是来自于支持新协议的 ONU;  Step S202: The OLT identifies the GTC frame according to the identifier in the physical layer overhead in the received GTC frame, and determines whether the received GTC frame is from an ONU supporting the original protocol or an ONU supporting the new protocol.
步骤 S203: OLT根据所述识别结果, 对所述 GTC帧进行相应 的处理。  Step S203: The OLT performs corresponding processing on the GTC frame according to the recognition result.
在 OLT确定发送 GTC帧的 ONU所支持的协议类型之后, OLT 采用所述 ONU 支持的协议类型相对应的处理方式对接收到的 GTC 帧进行处理。  After the OLT determines the protocol type supported by the ONU that sends the GTC frame, the OLT processes the received GTC frame by using the corresponding processing mode of the protocol type supported by the ONU.
如图 3所示, 为本发明光网络数据处理方法实施例二的流程图, 基于实施例一的步骤, 本实施例进一步来说, 步骤 S202具体包括: 步骤 S312: OLT解析接收到的 GTC帧获取标识;  As shown in FIG. 3, the flowchart of the second embodiment of the optical network data processing method of the present invention is based on the steps of the first embodiment. In this embodiment, step S202 specifically includes: Step S312: The OLT parses the received GTC frame. Obtain an identifier;
步骤 S313: OLT根据该标识进行判断, 如果是第一 GTC帧则执 行步骤 S314, 否则执行步骤 S315; Step S313: The OLT performs judgment according to the identifier, and if it is the first GTC frame, Step S314, otherwise step S315;
步骤 S203具体包括:  Step S203 specifically includes:
步骤 S314: OLT在第一通道接收第一 GTC帧,并执行步骤 S316; 步骤 S315: OLT在第二通道接收第二 GTC帧,并执行步骤 S317; 步骤 S316: OLT对第一 GTC帧解复用和解封装;  Step S314: The OLT receives the first GTC frame in the first channel, and performs step S316; Step S315: The OLT receives the second GTC frame in the second channel, and performs step S317; Step S316: The OLT demultiplexes the first GTC frame Reconciliation encapsulation;
步骤 S317: OLT对第二 GTC帧解复用和解封装。  Step S317: The OLT demultiplexes and decapsulates the second GTC frame.
在步骤 S312之前还可以包括步骤 S310: OLT对第一 GTC帧以 及第二 GTC帧分别进行封装和复用;  Step S310 may be further included before step S312: the OLT encapsulates and multiplexes the first GTC frame and the second GTC frame respectively;
在步骤 S310和步骤 S312之间还可以包括步骤 S311: OLT在第 一 GTC帧中的物理层开销的保留比特位中设置标识。  Step S311 may also be included between step S310 and step S312: The OLT sets an identifier in a reserved bit of the physical layer overhead in the first GTC frame.
具体地, 第一 GTC帧可以为支持新协议的光网络单元 GTC帧, 第二 GTC帧可以为支持原有协议的光网络单元的 GTC帧。  Specifically, the first GTC frame may be an optical network unit GTC frame supporting a new protocol, and the second GTC frame may be a GTC frame of an optical network unit supporting the original protocol.
为了保护现有投资, 不可能完全替换原有的 GPON设备, 而是 在原有的 GPON系统的基础上进行扩容或升级,原有的 ONU支持原 有协议, 扩容或升级新增的 ONU将支持地址扩展后的新协议, 所以 网络中存在支持原有协议的 ONU和支持新协议的 ONU, 而 OLT要 对支持这两种协议类型的 ONU发送的 GTC帧进行识别。  In order to protect the existing investment, it is impossible to completely replace the original GPON equipment, but to expand or upgrade the original GPON system. The original ONU supports the original protocol. The expansion or upgrade of the new ONU will support the address. The extended new protocol, so there are ONUs supporting the original protocol and ONUs supporting the new protocol in the network, and the OLT needs to identify the GTC frames sent by the ONUs supporting the two protocol types.
对于上行帧来说,为支持原有协议的 ONU和支持新协议的 ONU 发送给 OLT的单播方式, 对于支持原有协议的 ONU发送的 GTC帧 来说, 首先采用原有 ONU的封装格式进行封装, 生成千兆无源光网 络封装(G-PON Encapsulation Method, GEM)帧, 然后再将该无源光 网络封装帧复用到千兆无源光网络传输汇聚(Gigabit PON Transmission Convergence, GTC)帧中, 如果同时也有物理层运行管 理维护 (Physical Layer 0 AM, 以下筒称: PLOAM ) 消息上传的话, 也将该 PLOAM 消息复用到 GTC 帧去, 最终生成支持原有协议的 ONU的上行 GTC帧; 对于支持新协议的 ONU发送的 GTC帧来说, 首先采用支持新协议的 ONU的封装格式进行封装, 生成新协议下的 无源光网络封装帧,然后再将该新协议下的无源光网络封装帧复用到 新协议下的无源光网络传输汇聚帧中,如果同时也有新协议下的物理 层运行管理维护消息上传的话,也将该新协议下的 PLOAM消息复用 到新协议下的 GTC帧,然后将新协议下的 GTC帧的物理层开销的保 留比特位设置为标识 A,最终生成支持新协议的 ONU的上行 GTC帧。 For the uplink frame, the unicast mode is sent to the OLT for the ONU that supports the original protocol and the ONU that supports the new protocol. For the GTC frame sent by the ONU that supports the original protocol, the original ONU encapsulation format is used first. Encapsulate, generate a Gigabit Passive Optical Network Encapsulation (GEM) frame, and then multiplex the passive optical network encapsulation frame into a Gigabit PON Transmission Convergence (GTC) In the frame, if there is also a physical layer management and maintenance (Physical Layer 0 AM, PLOAM) message upload, the PLOAM message is also multiplexed into the GTC frame, and finally the uplink GTC of the ONU supporting the original protocol is generated. For a GTC frame sent by an ONU that supports the new protocol, the ONU encapsulation format supporting the new protocol is first encapsulated to generate a passive optical network encapsulation frame under the new protocol, and then the passive protocol under the new protocol is used. The optical network encapsulated frame is multiplexed into the passive optical network transmission aggregation frame under the new protocol, if there is also a physical under the new protocol If the layer operation management and maintenance message is uploaded, the PLOAM message under the new protocol is also multiplexed into the GTC frame under the new protocol, and then the reserved bit of the physical layer overhead of the GTC frame under the new protocol is set to the identifier A, and finally generated. The upstream GTC frame of the ONU supporting the new protocol.
如图 4 所示为本发明光网络数据处理方法实施例二中支持新协 议的上行 GTC帧的帧结构示意图,该帧结构包括: PLOu为上行物理 层开销, Payload为净荷, 其中 PLOu包括前导码 Preamble, 定界符 Delimiter , 间插奇偶校验位 BIP , 支持新协议的 ONU 的端口号 NG-ONU-ID, 指示信息域 Ind, 该 Ind域中的 bitO - bit4为保留未用 的比特位, 因此可以将此未用的比特位作为标识位, OLT可以在该标 识位中设置标识 。 由于保留比特可以是一位也可以是多位, 因此该 标识 A也可以设置为一位或者多位, 该标识 A可自行设定。  FIG. 4 is a schematic diagram of a frame structure of an uplink GTC frame supporting a new protocol in the second embodiment of the optical network data processing method according to the present invention. The frame structure includes: PLOu is an uplink physical layer overhead, and Payload is a payload, where PLOu includes a preamble. Code Preamble, delimiter Delimiter, interleave parity BIP, port number NG-ONU-ID of ONU supporting new protocol, indicating information field Ind, bitO-bit4 in the Ind field is reserved unused bits Therefore, the unused bit can be used as an identifier bit, and the OLT can set an identifier in the flag bit. Since the reserved bit can be one bit or multiple bits, the flag A can also be set to one or more bits, and the flag A can be set by itself.
在 OLT 中分别设置两种接收通道, 这两种接收通道分别对应接 收来自支持原有协议的 ONU和支持新协议的 ONU发送而来的上行 GTC帧。 当接收到来自支持原有协议的 ONU和支持新协议的 ONU 发送而来的上行 GTC帧时, OLT首先对该上行 GTC帧进行解析,从 该上行 GTC帧的物理层开销的保留比特中也就是上述 bitO - bit4中获 取该无源光网络传输汇聚帧中的标识信息,如果获取的标识信息与预 设的标识 A相匹配, OLT就可以确定当前的上行 GTC帧来自于支持 新协议的 ONU, 然后 OLT将该 GTC帧转发到与支持新协议的 ONU 对应的第一通道, 在该第一通道中采用与该支持新协议的 ONU对应 的新协议下的上行 GTC帧格式对该上行 GTC帧进行解复用和解封装 处理, 最终 OLT获得新协议下的 PLOAM消息 (如果有新协议下的 PLOAM消息上传)和支持新协议的 ONU初始发送的 GTC帧。  Two receiving channels are respectively set in the OLT, and the two receiving channels respectively receive uplink GTC frames sent from the ONU supporting the original protocol and the ONU supporting the new protocol. When receiving an uplink GTC frame sent from an ONU supporting the original protocol and an ONU supporting the new protocol, the OLT first parses the uplink GTC frame from the reserved bits of the physical layer overhead of the uplink GTC frame. The bit information of the passive optical network transmission aggregation frame is obtained in the bitO-bit 4, and if the acquired identification information matches the preset identifier A, the OLT can determine that the current uplink GTC frame is from the ONU supporting the new protocol. The OLT then forwards the GTC frame to the first channel corresponding to the ONU supporting the new protocol, and performs the uplink GTC frame in the uplink channel using the uplink GTC frame format in the new protocol corresponding to the ONU supporting the new protocol. Demultiplexing and decapsulation processing, the OLT finally obtains the PLOAM message under the new protocol (if there is a PLOAM message upload under the new protocol) and the GTC frame initially sent by the ONU supporting the new protocol.
若 OLT获取到的标识信息与预设的标识 A不匹配,那么 OLT就 可以确定该上行 GTC帧来自于支持原有协议的 ONU, 然后 OLT将 该上行 GTC帧转发到与支持原有协议的 ONU对应的第二通道,在该  If the identifier information obtained by the OLT does not match the preset identifier A, the OLT can determine that the uplink GTC frame is from the ONU supporting the original protocol, and then the OLT forwards the uplink GTC frame to the ONU supporting the original protocol. Corresponding second channel, in the
解封装; 最终 OLT获得原有协议下的 PLOAM消息 (如果有原有协 议下的 PLOAM消息上传) 以及支持原有协议的 ONU发送的 GTC 帧。 Decapsulation; finally the OLT obtains the PLOAM message under the original protocol (if there is an original agreement) The PLOAM message uploaded under the protocol) and the GTC frame sent by the ONU supporting the original protocol.
通过在支持新协议的上行 GTC帧的物理层开销的保留比特位中 设置标识, OLT就能够将支持原有协议的 ONU以及扩容或升级后的 支持新协议的 ONU进行区别。 具体地, OLT通过对上行 GTC帧进 行解析来获取标识, 对支持原有协议的 ONU与扩容或升级后的支持 新协议的 ONU进行识别, 从而 OLT能够根据 ONU支持的不同协议 类型采用不同的处理方式, 分别获取从支持原有协议的 ONU以及扩 容或升级后的支持新协议的 ONU发送而来的 GTC帧以及控制消息, 实现了支持两种协议类型的 ONU的共存。  By setting the identifier in the reserved bits of the physical layer overhead of the uplink GTC frame supporting the new protocol, the OLT can distinguish between the ONU supporting the original protocol and the ONU supporting the new protocol after the expansion or upgrade. Specifically, the OLT obtains the identifier by parsing the uplink GTC frame, and identifies the ONU that supports the original protocol and the ONU that supports the new protocol after the expansion or upgrade, so that the OLT can adopt different processing according to different protocol types supported by the ONU. In this manner, the GTC frame and the control message sent from the ONU supporting the original protocol and the ONU that supports the new protocol after the expansion or upgrade are respectively obtained, and the coexistence of the ONUs supporting the two protocol types is realized.
如图 5所示为本发明光网络数据处理方法实施例三的流程图,本 实施例也是以实施例一为基础, 在步骤 S203之后还可以包括:  As shown in FIG. 5, it is a flowchart of the third embodiment of the optical network data processing method of the present invention. The embodiment is also based on the first embodiment. After the step S203, the method may further include:
步骤 S521: OLT在第一 GTC帧的物理层开销的保留比特位中设 置第一标识; 在第二 GTC帧的物理层开销的保留比特位中设置第二 标识。  Step S521: The OLT sets a first identifier in a reserved bit of the physical layer overhead of the first GTC frame; and sets a second identifier in the reserved bit of the physical layer overhead of the second GTC frame.
步骤 S522: ONU获取接收的 GTC帧的标识并判断该标识是否 是第一标识, 若是第一标识则执行步骤 S523 , 若不是第一标识则执 行步骤 S524;  Step S522: The ONU obtains the identifier of the received GTC frame and determines whether the identifier is the first identifier. If the identifier is the first identifier, step S523 is performed, if not, the step S524 is performed;
步骤 S523: ONU接收该第一 GTC帧;  Step S523: The ONU receives the first GTC frame.
步骤 S524: ONU将第二 GTC帧丟弃。  Step S524: The ONU discards the second GTC frame.
具体地, 第一 GTC帧可以为支持新协议的光网络单元 GTC帧, 第二 GTC帧为支持原有协议的光网络单元 GTC帧。  Specifically, the first GTC frame may be an optical network unit GTC frame supporting a new protocol, and the second GTC frame is an optical network unit GTC frame supporting the original protocol.
从 OLT发送给支持原有协议的 ONU以及支持新协议的 ONU的 GTC帧为下行帧, 发送方式为广播方式。 当第一 GTC帧为支持新协 议的光网络单元 GTC帧(即 OLT发送给支持新协议的 ONU的 GTC 帧 ), 第二 GTC帧为支持原有协议的光网络单元 GTC帧(即 OLT发 送给支持原有协议的 ONU的 GTC帧) 时, OLT采用新协议的下行 GEM帧格式对 OLT下发给支持新协议的 ONU的第一发送 GTC帧进 行封装生成支持新协议的第一 GEM帧, 然后将新协议下的 GEM帧 复用到新协议下的 GTC帧中, 如果有新协议下的 PLOAM消息下发 时将该新协议下的 PLOAM消息也进行复用到新协议下的 GTC帧中, 生成新协议下的第一下行 GTC 帧; 并且 OLT在该新协议下的下行 GTC 帧中使用物理层开销的保留比特位中, 设置该新协议下的第一 下行 GTC帧的标识 A, 如图 6所示, 为本发明光网络数据处理方法 实施例三中新协议下的第一下行 GTC帧的帧结构示意图, 包括下行 物理层控制块 PCBd,净荷 Payload,其中 PCBd包括物理层同步 Psync 和指示超帧 Ident等, 在指示超帧 Ident中包括纠错码 FEC Ind, 复帧 计数器以及保留比特, 标识 A可以设置在新协议下的下行 GTC帧中 的所述保留比特位中, 用以标识支持新协议的下行 GTC帧的类型。 The GTC frame sent from the OLT to the ONU supporting the original protocol and the ONU supporting the new protocol is a downlink frame, and the transmission mode is a broadcast mode. When the first GTC frame is an optical network unit GTC frame supporting the new protocol (that is, the GTC frame sent by the OLT to the ONU supporting the new protocol), the second GTC frame is an optical network unit GTC frame supporting the original protocol (ie, the OLT sends to the OLT) When the GTC frame of the ONU of the original protocol is supported, the OLT encapsulates the first GMT frame sent by the OLT to the ONU supporting the new protocol by using the downlink GEM frame format of the new protocol, and then generates a first GEM frame supporting the new protocol, and then GEM frame under the new protocol The PLOAM message in the new protocol is multiplexed into the GTC frame under the new protocol when the PLOAM message is sent to the new protocol, and the first protocol under the new protocol is generated. The downlink GTC frame; and the OLT uses the reserved bit of the physical layer overhead in the downlink GTC frame of the new protocol, and sets the identifier A of the first downlink GTC frame in the new protocol, as shown in FIG. The frame structure diagram of the first downlink GTC frame in the new protocol in the third embodiment of the optical network data processing method of the present invention includes a downlink physical layer control block PCBd and a payload Payload, wherein the PCBd includes a physical layer synchronization Psync and an indication superframe Ident. Or, the error correction code FEC Ind, the multiframe counter, and the reserved bit are included in the indication superframe Ident, and the identifier A may be set in the reserved bit in the downlink GTC frame under the new protocol, to identify the new protocol. The type of the downstream GTC frame.
另外, OLT采用原有协议下的 GEM帧格式对 OLT下发给支持原 有协议的 ONU的第二发送 GTC帧进行封装得到原有协议下的 GEM 帧, 将该 GEM帧复用到原有协议下的下行 GTC帧中, 如果有原有 协议下的 PLOAM消息下发时将该 PLOAM消息也进行复用到原有协 议下的 GTC帧中, 生成第二下行 GTC帧, 在该第二下行 GTC帧中 使用物理层开销的保留比特位中设置该下行 GTC帧的标识 B, 其具 体的设置方法与新协议下的 GTC帧的设置方法相同。  In addition, the OLT encapsulates the second GTC frame sent by the OLT to the ONU supporting the original protocol by using the GEM frame format of the original protocol to obtain the GEM frame in the original protocol, and multiplexes the GEM frame into the original protocol. In the downlink GTC frame, if the PLOAM message is sent to the GTC frame in the original protocol, the second downlink GTC frame is generated, and the second downlink GTC frame is generated. The identifier B of the downlink GTC frame is set in the reserved bit of the frame using the physical layer overhead, and the specific setting method is the same as the setting method of the GTC frame in the new protocol.
当 ONU同时接收到原有协议下的下行 GTC帧和新协议下的下行 GTC帧时可同时对其进行解析,对于原有协议下的下行 GTC帧来说, 支持原有协议的 ONU可以按照正确解析格式对该原有协议下的下行 GTC帧进行解析, 而对于新协议下的下行 GTC帧来说, 由于支持原 有协议的 ONU采用的是错误的解析,因此会导致重要字段解析失败, 该支持原有协议的 ONU通过判断解析结果是否正确就可以确定该下 持新协议的 ONU的, 一旦确定该下行 GTC帧是 OLT发送给支持原 有协议的 ONU的, 则支持原有协议的 ONU就接收该下行 GTC帧, 并对其进行一系列包括解复用解封装的处理, 同时支持原有协议的 ONU还会将新协议下的下行 GTC帧丟弃,因此支持原有协议的 ONU 只保留了 OLT发送给自己的那部分 GTC帧和控制消息; 当支持新协 议的 ONU同时接收到原有协议下的下行 GTC帧和新协议下的下行 GTC帧时首先对其指示标识进行解析, 当解析到标识为标识 B时, 支持新协议的 ONU就可以判断该 GTC帧是 OLT发给支持原有协议 的 ONU的而不对其进行进一步的解析而是直接过滤丟弃, 而当解析 到的标识为标识 A时, 则支持新协议的 ONU就可以判断出该 GTC 帧是 OLT发给自己的, 从而继续对该 GTC帧进行解析, 该解析过程 就包括与上述封装和复用相对的解复用和解封装过程,最终获得 OLT 发送给支持新协议的 ONU的 GTC帧和控制消息。 The ONU can simultaneously parse the downlink GTC frame under the original protocol and the downlink GTC frame under the new protocol. For the downlink GTC frame under the original protocol, the ONU supporting the original protocol can be correctly followed. The parsing format parses the downlink GTC frame in the original protocol. For the downlink GTC frame in the new protocol, the ONU that supports the original protocol uses the wrong parsing, which causes the important field parsing to fail. The ONU supporting the original protocol can determine the ONU of the new protocol by judging whether the parsing result is correct. Once it is determined that the downlink GTC frame is sent by the OLT to the ONU supporting the original protocol, the ONU supporting the original protocol is Receiving the downlink GTC frame, and performing a series of processing including demultiplexing and decapsulating, and the ONU supporting the original protocol also discards the downlink GTC frame in the new protocol, so the ONU supporting the original protocol only retains The part of the GTC frame and control message sent by the OLT to itself; when supporting the new association When the ONU of the conference receives the downlink GTC frame under the original protocol and the downlink GTC frame under the new protocol, it first parses the indication flag. When the identifier is identified as the identifier B, the ONU supporting the new protocol can determine the GTC. The frame is sent by the OLT to the ONU supporting the original protocol without further parsing but directly filtered and discarded. When the parsed identifier is the identifier A, the ONU supporting the new protocol can determine the GTC frame. It is sent by the OLT to itself to continue parsing the GTC frame. The parsing process includes demultiplexing and decapsulation processes as opposed to the above encapsulation and multiplexing, and finally obtains the GTC frame sent by the OLT to the ONU supporting the new protocol. Control messages.
支持原有协议的 ONU直接对两种协议类型的帧结构运用与支持 原有协议的 ONU对应的解析格式进行解析后, 通过判断解析结果是 否正确,就可以使支持原有协议的 ONU能够识别出 OLT发送给自己 的 GTC帧而丟弃 OLT发送给支持新协议的 ONU的新协议下的下行 帧中分别设定标识就可以使得支持新协议的 ONU对这两种协议类型 的下行 GTC帧进行区别,直接丟弃携带支持原有协议的 ONU标识的 下行 GTC帧, 从而使得支持原有协议的 ONU与支持新协议的 ONU 能够各自识别出 OLT发给自己的 GTC帧和控制消息, 保证了网络中 两种协议类型的 ONU的共存而不会发送消息沖突。 而且通过该标识 还能使得支持新协议的 ONU自动过滤不属于自己的下行 GTC帧,从 而提高了消息处理效率。  The ONU that supports the original protocol can directly identify the frame structure of the two protocol types and the analysis format corresponding to the ONU supporting the original protocol, and then determine whether the analysis result is correct, so that the ONU supporting the original protocol can be identified. The OLT sends the GTC frame to its own and discards the OLT to send the ID to the ONU of the new protocol supporting the new protocol. The ONU that supports the new protocol can distinguish the downlink GTC frames of the two protocol types. The downstream GTC frame carrying the ONU identifier supporting the original protocol is directly discarded, so that the ONU supporting the original protocol and the ONU supporting the new protocol can each identify the GTC frame and control message sent by the OLT to the network, thereby ensuring the network. Coexistence of ONUs of two protocol types does not send message collisions. Moreover, the identifier can also enable the ONU supporting the new protocol to automatically filter the downlink GTC frame that does not belong to itself, thereby improving the message processing efficiency.
如图 7所示为本发明光网络数据处理方法实施例四的流程图,实 施例四以实施例一为基础,其中实施例一中的步骤 S202具体可以为: 步骤 S730: OLT对接收到的第一 GTC帧和第二 GTC帧在第一 通道采用第一解析格式解析,同时对第一 GTC帧和第二 GTC帧在第 二通道中采用第二解析格式解析。  FIG. 7 is a flowchart of Embodiment 4 of the optical network data processing method of the present invention. The fourth embodiment is based on the first embodiment. Step S202 in the first embodiment may be specifically: Step S730: The OLT receives the received The first GTC frame and the second GTC frame are parsed in the first parsing format in the first channel, and the second parsing format is parsed in the second channel in the second GTC frame and the second GTC frame.
步骤 S731 : OLT对解析后的 GTC帧进行校验。 具体地, ONU 对解析后的 GTC帧进行校验的结果为: ONU经过第一解析格式解析 后的第一 GTC帧校验成功;经过第二解析格式解析后的第一 GTC帧 校验失败; 经过第二解析格式解析后的第二 GTC帧校验成功; 经过 第一解析格式解析后的第二 GTC帧校验失败。 Step S731: The OLT checks the parsed GTC frame. Specifically, the result of the checksum of the parsed GTC frame by the ONU is: the first GTC frame parsed by the ONU after being parsed by the first parsing format is successfully verified; the first GTC frame parsing after parsing by the second parsing format fails; The second GTC frame parsed after the second parsing format is successfully verified; The second GTC frame check after parsing of the first parsing format fails.
步骤 S203具体可以为:  Step S203 may specifically be:
步骤 S732: OLT判断校验是否成功, 若成功, 则执行步骤 S733; 否则执行步骤 S734;  Step S732: The OLT determines whether the verification is successful. If successful, step S733 is performed; otherwise, step S734 is performed;
步骤 S733: OLT接收该 GTC帧;  Step S733: The OLT receives the GTC frame.
步骤 S734: OLT将该 GTC帧丟弃。  Step S734: The OLT discards the GTC frame.
有时候针对支持原有协议的 ONU的保留比特位中的填充值不确 定,所以在本实施例中不再设置标识,而是通过对接收到的上行 GTC 帧进行解析校验来识别。  In some cases, the padding value in the reserved bit of the ONU that supports the original protocol is not determined. Therefore, in this embodiment, the identifier is not set, but is identified by parsing and verifying the received uplink GTC frame.
具体地,设定第一 GTC帧为支持新协议的光网络单元 GTC帧(即 为支持新协议的 ONU发送给 OLT的第一上行 GTC帧), 第二 GTC 帧为支持原有协议的光网络单元 GTC帧(即为支持原有协议的 ONU 发送给 OLT的第二上行 GTC帧)。 具体的解析过程为: OLT设置两 个接收通道,对第一上行 GTC帧和第二上行 GTC帧采用在第一接收 通道接收时, 在该接收通道中, 采用与支持原有协议的 ONU对应的 原有协议下的上行 GTC帧格式对第二上行 GTC帧进行解封装获取正 确的原有协议下的上行 GEM帧, 如果有原有协议下的 PLOAM消息 上传时则也可以解复用获得该 PLOAM消息,并采用与支持原有协议 行解复用; 获取错误的新协议下的 GEM 帧, 如果有新协议下的 PLOAM消息上传时则也可以解复用获得错误的新协议下的 PLOAM 消息。  Specifically, the first GTC frame is an optical network unit GTC frame supporting the new protocol (that is, the first uplink GTC frame sent to the OLT by the ONU supporting the new protocol), and the second GTC frame is an optical network supporting the original protocol. The unit GTC frame (that is, the second uplink GTC frame sent to the OLT by the ONU supporting the original protocol). The specific parsing process is as follows: The OLT sets two receiving channels, and when the first uplink GTC frame and the second uplink GTC frame are received by the first receiving channel, in the receiving channel, the ONU corresponding to the original protocol is used. The uplink GTC frame format in the original protocol decapsulates the second uplink GTC frame to obtain the correct GEM frame in the original protocol. If the PLOAM message in the original protocol is uploaded, the PLOAM can also be demultiplexed to obtain the PLOAM. The message is demultiplexed with the original protocol; the GEM frame under the new protocol is obtained. If the PLOAM message under the new protocol is uploaded, the PLOAM message under the new protocol can be demultiplexed.
对第一上行 GTC帧和第二上行 GTC帧采用在第二接收通道接收 时,采用与支持新协议的 ONU对应的新协议下的上行 GTC帧格式对 第一上行 GTC帧进行解复用获取正确的新协议下的上行 GEM帧, 如果有新协议下的 PLOAM 消息上传时也可以解复用获取正确的新 协议下的 PLOAM消息, 采用与支持新协议的 ONU对应的新协议下 的上行 GTC帧格式对第二上行 GTC帧进行解封装获取错误的原有协 议下的上行 GEM帧, 如果有原有协议下的 PLOAM消息上传时则也 可以解复用得到错误的原有协议下的 PLOAM消息。分别对两个接收 通道解复用后的原有协议下的 PLOAM 消息 (如果有原有协议下的 PLOAM消息上传)和原有协议下的上行 GEM帧, 以及新协议下的 PLOAM消息(如果有新协议下的 PLOAM消息上传)和新协议下的 上行 GEM帧进行校验。 对于第一接收通道来说, 由于解复用得到的 新协议下的 PLOAM消息以及解封装得到的新协议下的 GEM帧均为 错误的消息和 GTC帧, 因此会因为校验错误而被丟弃, 从而保留支 持原有协议的 ONU发送而来的原有协议下的 PLOAM消息和 GEM 帧;对于第二接收通道来说,由于解复用得到的原有协议下的 PLOAM 消息以及解封装得到的原有协议下的 GEM帧均为错误的消息和 GTC 帧, 因此会因校验错误而被丟弃, 从而保留支持新协议的 ONU发送 而来的新协议下的 PLOAM消息和新协议下的上行 GEM帧。 When the first uplink GTC frame and the second uplink GTC frame are received in the second receiving channel, the first uplink GTC frame is demultiplexed by using the uplink GTC frame format in the new protocol corresponding to the ONU supporting the new protocol. The uplink GEM frame under the new protocol can be demultiplexed to obtain the PLOAM message under the correct new protocol if the PLOAM message is uploaded under the new protocol, and the uplink GTC frame under the new protocol corresponding to the ONU supporting the new protocol is adopted. The format decapsulates the second uplink GTC frame to obtain an error of the uplink GEM frame under the original protocol, if there is a PLOAM message under the original protocol, The PLOAM message under the original protocol can be demultiplexed to get the error. PLOAM messages in the original protocol after demultiplexing the two receiving channels (if there is PLOAM message upload under the original protocol) and the upstream GEM frame in the original protocol, and PLOAM messages under the new protocol (if any) The PLOAM message upload under the new protocol and the uplink GEM frame under the new protocol are verified. For the first receiving channel, the PLOAM message under the new protocol obtained by demultiplexing and the GEM frame under the new protocol obtained by decapsulation are both erroneous messages and GTC frames, and therefore are discarded due to a check error. Therefore, the PLOAM message and the GEM frame under the original protocol sent by the ONU supporting the original protocol are reserved; for the second receiving channel, the PLOAM message and the decapsulation obtained by the demultiplexing of the original protocol are obtained. The GEM frames in the original protocol are all erroneous messages and GTC frames, so they are discarded due to the check error, thus retaining the PLOAM message under the new protocol and the uplink under the new protocol sent by the ONU supporting the new protocol. GEM frame.
通过采用两个接收通道对来自支持原有协议的 ONU和支持新协 议的 ONU的上行 GTC帧进行解析校验,就能够丟弃与接收通道不对 应的 GTC帧, 从而不会出现在两个接收通道同时接收不同协议类型 的 PLOAM消息以及 GEM帧的情况, 从而可以保证: 通过一个接收 通道后只有一个类型的 PLOAM消息和 GEM帧被转发到了上层, 进 而保证了网络中不同的 ONU能够共存。  By using two receiving channels to parse and verify the uplink GTC frame from the ONU supporting the original protocol and the ONU supporting the new protocol, the GTC frame that does not correspond to the receiving channel can be discarded, so that it does not appear in the two receiving. The channel can receive PLOAM messages of different protocol types and GEM frames at the same time, so as to ensure that only one type of PLOAM message and GEM frame are forwarded to the upper layer through one receiving channel, thereby ensuring that different ONUs in the network can coexist.
如图 8所示,为本发明光网络数据处理装置实施例一的结构示意 图, 包括:  FIG. 8 is a schematic structural diagram of Embodiment 1 of an optical network data processing apparatus according to the present invention, including:
第一接收单元 100, 用于接收 OLT发送给不同类型的 ONU的 GTC帧;  The first receiving unit 100 is configured to receive a GTC frame sent by the OLT to different types of ONUs;
标识单元 101 , 用于对第一接收单元 100接收到的所述 GTC帧 进行不同的标识;  The identifier unit 101 is configured to perform different identifiers on the GTC frame received by the first receiving unit 100.
第一发送单元 102, 用于将标识单元 101标识后的所述 GTC帧 进行发送。  The first sending unit 102 is configured to send the GTC frame identified by the identifier unit 101.
进一步地, 标识单元 101可以包括:  Further, the identification unit 101 can include:
第一标识模块 1010, 用于在第一 GTC帧中的物理层开销的保留 比特位中设置标识; 具体地, 第一 GTC帧为发送给支持新协议的 ONU的下行 GTC 帧, 第二 GTC帧为发送给支持原有协议的 ONU的下行 GTC帧。 首 先, 第一接收单元 100接收到发送给支持原有协议的 ONU和发送给 支持新协议的 ONU的第一下行 GTC帧和第二下行 GTC帧, 然后, 第一标识模块 1010在新协议下的第一下行 GTC帧的物理层开销的保 留比特位 bitO - bit4中设置标识 A, 最后第一发送单元 102就可以将 经过标识的第一 GTC帧以及未经过标识的第二 GTC帧进行发送。 The first identifier module 1010 is configured to set an identifier in a reserved bit of a physical layer overhead in the first GTC frame. Specifically, the first GTC frame is a downlink GTC frame that is sent to an ONU that supports the new protocol, and the second GTC frame is a downlink GTC frame that is sent to an ONU that supports the original protocol. First, the first receiving unit 100 receives the first downlink GTC frame and the second downlink GTC frame that are sent to the ONU that supports the original protocol and the ONU that supports the new protocol. Then, the first identity module 1010 is under the new protocol. The identifier A is set in the reserved bits bitO-bit4 of the physical layer overhead of the first downlink GTC frame, and finally the first transmitting unit 102 can send the identified first GTC frame and the unidentified second GTC frame. .
通过标识单元 101在 GTC帧保留比特位中设置标识, 就能够对 OLT发送给支持原有协议的 ONU以及发送给扩容或升级后的支持新 协议的 ONU的下行 GTC帧进行区别,从而能够在后续识别的时候判 议的 ONU的, 最终实现了两种协议类型的 ONU的共存。  By setting the identifier in the GTC frame reserved bit by the identifier unit 101, it is possible to distinguish between the ONU that the OLT sends to support the original protocol and the downlink GTC frame that is sent to the expanded or upgraded ONU that supports the new protocol, so that The ONU that was identified at the time of identification finally realized the coexistence of ONUs of the two protocol types.
标识单元 101还可以包括:  The identification unit 101 may further include:
第二标识模块 1011 , 用于在第一 GTC帧中的物理层开销的保留 比特位中设置第一标识, 在第二 GTC帧中的物理层开销的保留比特 位中设置第二标识。  The second identity module 1011 is configured to set a first identifier in a reserved bit of a physical layer overhead in the first GTC frame, and set a second identifier in a reserved bit of a physical layer overhead in the second GTC frame.
具体地, 第一 GTC帧可以为 OLT下发给支持新协议的 ONU的 下行 GTC帧, 第二 GTC帧可以为 OLT发送给支持原有协议的 ONU 发送的下行 GTC帧。  Specifically, the first GTC frame may be a downlink GTC frame sent by the OLT to the ONU supporting the new protocol, and the second GTC frame may be sent to the downlink GTC frame sent by the OLT to the ONU supporting the original protocol.
第一接收单元 100接收到 OLT发送给支持原有协议的 ONU和发 送给支持新协议的 ONU的第一下行 GTC帧和第二下行 GTC帧, 然 后第二标识模块 1011在新协议下的下行 GTC帧的物理层开销的保留 比特位 bitO - bit4中设置标识 A, 生成第一下行 GTC帧,在原协议下 的下行 GTC帧的物理层开销的保留比特位 bitO - bit4中设置标识 B, 生成第二下行 GTC帧。 最后, 第一发送单元 102就能够对标识后的 第一下行 GTC帧和第二下行 GTC帧进行发送。  The first receiving unit 100 receives the first downlink GTC frame and the second downlink GTC frame sent by the OLT to the ONU supporting the original protocol and the ONU that supports the new protocol, and then the second identity module 1011 is downlinked under the new protocol. An identifier A is set in the reserved bit bit of the physical layer overhead of the GTC frame, and the first downlink GTC frame is generated, and the identifier B is set in the reserved bit bit bit-bit 4 of the physical layer overhead of the downlink GTC frame in the original protocol. The second downlink GTC frame. Finally, the first sending unit 102 can send the identified first downlink GTC frame and second downlink GTC frame.
通过标识单元 101对两种类型的 GTC帧都进行标识, 就能够对 OLT发送给支持原有协议的 ONU以及扩容或升级后的支持新协议的 ONU的下行 GTC帧进行区别,从而能够使后续识别的时候判断出该 GTC帧的是发送给支持原有协议的 ONU还是支持新协议的 ONU, 最终实现了两种协议类型的 ONU的共存。 By identifying the two types of GTC frames by the identifier unit 101, it is possible to distinguish between the ONUs that are sent by the OLT to support the original protocol and the downlink GTC frames of the ONUs that are expanded or upgraded to support the new protocol, so that subsequent identification can be performed. Judging this The GTC frame is sent to the ONU supporting the original protocol or the ONU supporting the new protocol, and finally the coexistence of the ONUs of the two protocol types is realized.
如图 9所示,为本发明光网络数据处理装置实施例二的结构示意 图, 该装置包括:  FIG. 9 is a schematic structural diagram of Embodiment 2 of an optical network data processing apparatus according to the present invention, where the apparatus includes:
第二接收单元 200,用于接收至少两种类型的 GTC帧,所述 GTC 帧的物理层开销中具有不同标识;  The second receiving unit 200 is configured to receive at least two types of GTC frames, where the physical layer overhead of the GTC frame has different identifiers;
识别单元 201 , 用于根据第二接收单元 200接收的 GTC帧中的 物理层开销中的标识, 对所述至少两种类型的 GTC帧进行识别; 第二发送单元 202, 用于根据所述识别结果, 将所述 GTC帧发 送给其他装置进行相应的处理。  The identifying unit 201 is configured to identify the at least two types of GTC frames according to the identifier in the physical layer overhead in the GTC frame received by the second receiving unit 200, and the second sending unit 202 is configured to identify according to the identifier As a result, the GTC frame is transmitted to other devices for corresponding processing.
进一步地, 该识别单元 201包括:  Further, the identification unit 201 includes:
第一识别模块 2010, 用于根据接收到的 GTC帧的标识进行分类 识别。  The first identification module 2010 is configured to perform classification and identification according to the identifier of the received GTC frame.
具体地, 第二接收单元 200接收到的是上行 GTC帧, 且该上行 GTC帧包括对应于支持原有协议的 ONU的第二 GTC帧和具有标识 A的对应于支持新协议的 ONU的第一 GTC帧, 然后识别单元 201 中的第一识别模块 2010对接收到的 GTC帧进行识别,具体的识别过 程为: 解析获取该 GTC帧的标识信息, 如果第一识别模块 2010判断 该标识信息为预设的标识 A, 就判定当前的上行 GTC帧来源于支持 新协议的 ONU, 然后第二发送单元 202就将该 GTC帧转发到与支持 新协议的 ONU对应的第一通道, 在该第一通道中采用与该支持新协 议的 ONU对应的新协议下的上行 GTC帧格式对该上行 GTC帧进行 解复用和解封装处理, 最终 OLT就获得了新协议下的 PLOAM消息 (如果有新协议下的 PLOAM消息上传)和支持新协议的 ONU初始 发送的 GTC帧。  Specifically, the second receiving unit 200 receives an uplink GTC frame, and the uplink GTC frame includes a second GTC frame corresponding to the ONU supporting the original protocol and a first one corresponding to the ONU supporting the new protocol with the identifier A. The first identification module 2010 in the identification unit 201 identifies the received GTC frame, and the specific identification process is: parsing and obtaining the identification information of the GTC frame, if the first identification module 2010 determines that the identification information is pre- The identifier A is determined to determine that the current uplink GTC frame is derived from the ONU supporting the new protocol, and then the second sending unit 202 forwards the GTC frame to the first channel corresponding to the ONU supporting the new protocol, in the first channel. The uplink GTC frame is demultiplexed and decapsulated by using the uplink GTC frame format under the new protocol corresponding to the ONU supporting the new protocol, and finally the OLT obtains the PLOAM message under the new protocol (if there is a new protocol) PLOAM message upload) and GTC frame initially sent by the ONU supporting the new protocol.
若第一识别模块 2010判断获取到的标识信息不是预设的标识 A, 那么就判决该上行 GTC帧来源于支持原有协议的 ONU, 然后第二发 送单元 202就将该上行 GTC帧转发到与支持原有协议的 ONU对应的 第二通道, 在该通道中采用与该支持原有协议的 ONU对应的原有协 议下的上行 GTC帧格式对该上行 GTC帧即原有协议下的上行 GTC 帧进行解复用和解封装, 最终 OLT获取了原有协议下的 PLOAM消 息 (如果有原有协议下的 PLOAM 消息上传) 以及支持原有协议的 ONU发送的 GTC帧。 If the first identification module 2010 determines that the acquired identification information is not the preset identifier A, then the uplink GTC frame is determined to be derived from the ONU supporting the original protocol, and then the second sending unit 202 forwards the uplink GTC frame to The second channel corresponding to the ONU supporting the original protocol, and the original protocol corresponding to the ONU supporting the original protocol is adopted in the channel. The uplink GTC frame format of the proposed GTC frame demultiplexes and decapsulates the uplink GTC frame under the original protocol, and finally the OLT obtains the PLOAM message under the original protocol (if there is a PLOAM message upload under the original protocol) ) and GTC frames sent by ONUs that support the original protocol.
如果第二接收单元 200接收到的是下行 GTC帧,该下行 GTC帧 包括对应于 OLT发送给支持新协议的 ONU的第一下行 GTC帧和对 应于支持原有协议的 ONU的第二下行 GTC帧, 且已经在第一下行 GTC 帧的保留比特位中设置了标识 A, 在第二下行帧的保留比特位 中设置了标识 B对其进行区分。 第一识别模块 2010对第二接收单元 200 中接收到的下行 GTC帧进行解析获取标识, 当解析到标识为标 识 B时, 第一识别模块 2010就可以判断该 GTC帧是 OLT发给支持 原有协议的 ONU的, 第二发送单元 202可以直接将接收到的 GTC 帧发送给支持原有协议的 ONU, 让支持原有协议的 ONU 自行对该 GTC 帧进行解析判断, 若解析出的 GTC 帧格式正确则为第二下行 GTC帧并接收, 如果错误则为第一下行 GTC帧并丟弃; 而当第一识 别模块 2010解析到的标识为标识 A时, 则第一识别模块 2010就可 以判断出该 GTC帧是 OLT发给支持新协议的 ONU的, 从而第二发 送单元 202可以直接将接收到的 GTC帧发送给支持新协议的 ONU, 让支持新协议的 ONU 自行对该 GTC帧进行解析判断, 若解析出的 GTC帧格式正确, 则判断为第一下行 GTC帧并接收, 如果错误则判 断为第二下行 GTC帧并丟弃。  If the second receiving unit 200 receives the downlink GTC frame, the downlink GTC frame includes a first downlink GTC frame corresponding to the ONU that is sent by the OLT to support the new protocol, and a second downlink GTC corresponding to the ONU that supports the original protocol. The frame, and the identifier A has been set in the reserved bit of the first downlink GTC frame, and the identifier B is set in the reserved bit of the second downlink frame to distinguish it. The first identification module 2010 parses and obtains the identifier of the downlink GTC frame received by the second receiving unit 200. When the identifier is identified as the identifier B, the first identification module 2010 can determine that the GTC frame is sent by the OLT to support the original. The ONU of the protocol, the second sending unit 202 can directly send the received GTC frame to the ONU supporting the original protocol, and the ONU supporting the original protocol can analyze and judge the GTC frame by itself, if the GTC frame format is parsed. If it is correct, it is the second downlink GTC frame and is received. If the error is the first downlink GTC frame and discarded, and when the identifier identified by the first identification module 2010 is the identifier A, the first identification module 2010 can determine The GTC frame is sent by the OLT to the ONU supporting the new protocol, so that the second sending unit 202 can directly send the received GTC frame to the ONU supporting the new protocol, and enable the ONU supporting the new protocol to parse the GTC frame by itself. It is determined that if the parsed GTC frame format is correct, it is determined to be the first downlink GTC frame and received, and if it is wrong, it is determined to be the second downlink GTC frame and discarded.
通过识别单元 201对 GTC帧的保留比特位中的标识进行识别, 议的 ONU发送的 GTC帧进行识别, 从而能够判断出发送 GTC帧的 是支持原有协议的 ONU还是支持新协议的 ONU, 第二发送模块 202 将识别后的 GTC帧发送到对应的第一接收通道或第二接收通道中, 这两种接收通道分别采用不同的解复用和解封装处理方式,分别获取 从支持原有协议的 ONU以及扩容或升级后的支持新协议的 ONU发 送而来的 GTC帧以及控制消息, 而且也可以使支持原有协议的 ONU 以及支持新协议的 ONU能够识别出 OLT发送的下行 GTC帧, 最终 实现了两种协议类型的 ONU的共存。 The identification unit 201 identifies the identifier in the reserved bit of the GTC frame, and the GTC frame sent by the ONU is identified, so that it can be determined whether the ONU supporting the original protocol or the ONU supporting the new protocol is sent by the GTC frame. The sending module 202 sends the identified GTC frame to the corresponding first receiving channel or the second receiving channel, and the two receiving channels respectively adopt different demultiplexing and decapsulation processing methods to obtain the original protocol. ONU and GTC frames and control messages sent by ONUs that support the new protocol after expansion or upgrade, and also enable ONUs that support the original protocol. And the ONU supporting the new protocol can identify the downlink GTC frame sent by the OLT, and finally realize the coexistence of the ONUs of the two protocol types.
识别单元 201也可以包括:  The identification unit 201 may also include:
第二识别模块 2011 , 用于根据校验信息对接收到的 GTC帧进行 识别。  The second identification module 2011 is configured to identify the received GTC frame according to the verification information.
具体地, 第二接收单元 200接收到的是上行 GTC帧, 且该上行 GTC帧包括对应于支持原有协议的 ONU的第一上行 GTC帧和对应 于支持新协议的 ONU的第二上行 GTC帧,然后识别单元 201中的第 二识别模块 2011对接收到的 GTC帧进行识别, 具体的识别过程为: 在第一通道中采用对应于支持原有协议的 ONU的第一解析格式对第 一上行 GTC帧和第二上行 GTC帧同时进行解析,在第二通道中采用 对应于支持新协议的 ONU的第二解析格式对第一上行 GTC帧和第二 上行 GTC帧同时进行解析, 对于第一通道来说, 由于解析得到的新 协议下的 PLOAM消息(如果有新协议下的 PLOAM消息上传)以及 新协议下的 GEM帧均为错误的消息和 GTC帧, 因此第二发送单元 202对新协议下的 GEM帧和新协议下的 PLOAM消息 (如果有新协 议下的 PLOAM消息上传)进行校验判断后, 会丟弃该错误的 GTC  Specifically, the second receiving unit 200 receives the uplink GTC frame, and the uplink GTC frame includes a first uplink GTC frame corresponding to the ONU supporting the original protocol and a second uplink GTC frame corresponding to the ONU supporting the new protocol. Then, the second identification module 2011 in the identification unit 201 identifies the received GTC frame, and the specific identification process is: adopting a first parsing format corresponding to the ONU supporting the original protocol to the first uplink in the first channel. The GTC frame and the second uplink GTC frame are parsed at the same time, and the first uplink GTC frame and the second uplink GTC frame are simultaneously parsed in the second channel by using the second parsing format corresponding to the ONU supporting the new protocol, for the first channel For example, the PLOAM message under the new protocol (if there is a PLOAM message upload under the new protocol) and the GEM frame under the new protocol are all erroneous messages and GTC frames, so the second sending unit 202 is under the new protocol. The GEM frame and the PLOAM message under the new protocol (if there is a PLOAM message upload under the new protocol) will discard the wrong GTC.
PLOAM消息(如果有原有协议下的 PLOAM消息上传)和原有协议 下的上行 GEM帧, 并发送给 OLT, 对于第二通道来说, 由于解析得 到的原有协议下的 PLOAM消息(如果有原有协议下的 PLOAM消息 上传) 以及原有协议下的 GEM帧均为错误的消息和 GTC帧, 因此 第二发送单元 202对原有协议下的 GEM帧和原有协议下的 PLOAM 消息(如果有原有协议下的 PLOAM消息上传 )进行校验判断后会将 其丟弃,而保留有支持新协议的 ONU发送而来的新协议下的 PLOAM 消息(如果有新协议下的 PLOAM消息上传)和新协议下的上行 GEM 帧, 并发送给 OLT。 The PLOAM message (if there is a PLOAM message upload under the original protocol) and the uplink GEM frame under the original protocol, and sent to the OLT, for the second channel, the PLOAM message under the original protocol obtained by the parsing (if there is The PLOAM message uploading under the original protocol and the GEM frame in the original protocol are all erroneous messages and GTC frames, so the second sending unit 202 sends the GEM frame under the original protocol and the PLOAM message under the original protocol (if There is a PLOAM message upload under the original protocol. After the check is judged, it will be discarded, and the PLOAM message under the new protocol sent by the ONU supporting the new protocol will be retained (if there is a PLOAM message upload under the new protocol) And the upstream GEM frame under the new protocol, and sent to the OLT.
通过在识别单元同时在两个通道中对接收到的上行 GTC帧进行 解析分别获取对来自于支持原有协议的 ONU和支持新协议的 ONU 的 GTC 帧进行解析的结果, 在每个通道中就只能获取一种正确的 GTC 帧格式, 然后采用第二发送单元对解析结果进行校验处理并发 送, 就能够丟弃与接收通道不对应的 GTC帧, 从而不会出现在两个 接收通道同时接收不同协议类型的上行 GEM 帧的情况, 如果有 PLOAM消息上传的话, 也不会出现在两个接收通道同时接收不同协 议类型的 PLOAM消息的情况,从而保证了通过一个接收通道后只有 原有协议下的 PLOAM消息(如果有原有协议下的 PLOAM消息上传) 和原有协议下的上行 GEM帧,或者只有新协议下的 PLOAM消息(如 果有新协议下的 PLOAM消息上传)和新协议下的上行 GEM帧被转 发到了上层, 进而保证了网络中不同协议类型的 ONU能够共存。 Obtaining ONUs from the original protocol and ONUs supporting the new protocol by parsing the received uplink GTC frames in the two channels simultaneously in the identification unit As a result of parsing the GTC frame, only one correct GTC frame format can be obtained in each channel, and then the second transmitting unit performs verification processing on the parsing result and transmits, so that the discarding does not correspond to the receiving channel. The GTC frame does not appear in the case where the two receiving channels receive the uplink GEM frames of different protocol types at the same time. If there is a PLOAM message upload, the PLOAM messages of different protocol types are not simultaneously received in the two receiving channels. The situation ensures that only one PLOAM message under the original protocol (if there is a PLOAM message upload under the original protocol) and the upstream GEM frame under the original protocol or only the PLOAM message under the new protocol are passed through a receiving channel (if The PLOAM message upload under the new protocol and the upstream GEM frame under the new protocol are forwarded to the upper layer, thereby ensuring that the ONUs of different protocol types in the network can coexist.
如图 10所示, 为本发明光网络数据处理系统的结构示意图, 该 系统包括:  As shown in FIG. 10, it is a schematic structural diagram of an optical network data processing system according to the present invention, and the system includes:
光线路终端装置 300, 用于对发送给不同类型的 ONU的下行千 兆无源光网络传输汇聚 GTC帧进行标识并发送, 或对接收到的至少 两种类型的上行 GTC帧进行识别;  The optical line terminal device 300 is configured to identify and send the aggregate GTC frame of the downlink Gigabit passive optical network that is sent to different types of ONUs, or identify the received at least two types of uplink GTC frames;
光网络单元装置 301 , 用于根据接收到的 GTC帧中的物理层开 销中的标识对下行 GTC帧进行识别,或对上行 GTC帧进行标识并发 送。  The optical network unit 301 is configured to identify the downlink GTC frame according to the identifier in the physical layer overhead in the received GTC frame, or identify and send the uplink GTC frame.
进一步地, 光线路终端装置 300包括:  Further, the optical line termination device 300 includes:
第一光线路终端模块 3000,用于对发送给不同类型的 ONU的下 行 GTC帧进行标识并发送;  The first optical line termination module 3000 is configured to identify and send the downlink GTC frame sent to different types of ONUs;
第二光线路终端模块 3001 , 用于对接收到的至少两种类型的上 行 GTC帧进行识别。  The second optical line termination module 3001 is configured to identify the received at least two types of uplink GTC frames.
光网络单元装置 301包括:  The optical network unit device 301 includes:
第一光网络单元模块 3010, 用于根据接收到的 GTC帧中的物理 层开销中的标识对下行 GTC帧进行识别;  The first optical network unit module 3010 is configured to identify the downlink GTC frame according to the identifier in the physical layer overhead in the received GTC frame.
第二光网络单元模块 3011 ,用于对上行 GTC帧进行标识并发送。 具体地, 光线路终端装置 300中的第一光线路终端模块 3000对 The second optical network unit module 3011 is configured to identify and send the uplink GTC frame. Specifically, the first optical line termination module 3000 in the optical line termination device 300
OLT发送给支持原有协议的 ONU和支持新协议的 ONU的下行 GTC 帧进行标识, 然后发送给光网络单元装置 301 , 光网络单元装置 301 中的第一光网络单元模块 3010根据接收到的下行 GTC帧中的标识对 下行 GTC帧进行识别并可进行相应的处理。 光网络单元装置 301中 的第二光网络单元模块 3011分别对支持原有协议的 ONU和支持新协 议的 ONU发送给 OLT的上行 GTC帧进行标识, 然后发送给光线路 终端装置 300, 光线路终端装置 300 中的第二光线路终端模块 3001 接收到该上行 GTC帧后就可以根据标识对上行 GTC帧进行区分和识 别并进行相应的处理, 具体的识别和处理过程如前述实施例所述, 不 再赘述。 The OLT sends the downstream GTC to the ONU supporting the original protocol and the ONU supporting the new protocol. The frame is identified and then sent to the optical network unit device 301. The first optical network unit module 3010 in the optical network unit device 301 identifies the downlink GTC frame according to the identifier in the received downlink GTC frame and can perform corresponding processing. The second optical network unit module 3011 in the optical network unit 301 identifies the uplink GTC frame sent to the OLT by the ONU supporting the original protocol and the ONU supporting the new protocol, and then sends the uplink GTC frame to the optical line terminal device 300, and the optical line terminal. After receiving the uplink GTC frame, the second optical line termination module 3001 in the device 300 can distinguish and identify the uplink GTC frame according to the identifier and perform corresponding processing. The specific identification and processing process is as described in the foregoing embodiment. Let me repeat.
通过光线路终端装置和光网络单元装置分别对上行 GTC帧和下 行 GTC帧进行标识和识别, 就能够区分 OLT发送给支持原有协议的 ONU和支持新协议的 ONU的下行 GTC帧以及支持原有协议的 ONU 沖突, 能够获取相应的 GTC帧和消息, 因此能够实现两种不同协议 类型的 ONU的共存。  By identifying and identifying the uplink GTC frame and the downlink GTC frame by the optical line termination device and the optical network unit device, respectively, the OLT can be distinguished from the ONG that supports the original protocol and the downstream GTC frame of the ONU that supports the new protocol, and supports the original protocol. The ONU conflicts, the corresponding GTC frames and messages can be obtained, so that the coexistence of ONUs of two different protocol types can be realized.
需要说明的是, 上述实施例只说明了两种不同协议类型的 ONU 共存的情况, 当光网络中存在更多不同协议类型的 ONU时也是可以 使用上述方法实现的,只需要设置更多的标识位或者设置更多的接收 通道即可。  It should be noted that the foregoing embodiment only illustrates the coexistence of two ONUs of different protocol types. When there are more ONUs of different protocol types in the optical network, the above method can also be used, and only more identifiers need to be set. Bit or set more receiving channels.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解 到本发明可以通过硬件实现,也可以借助软件加必要的通用硬件平台 的方式来实现。基于这样的理解, 本发明的技术方案可以以软件产品 的形式体现出来, 该软件产品可以存储在一个非易失性存储介质(可 以是 CD-ROM, U盘, 移动硬盘等) 中, 包括若干指令用以使得一 台计算机设备(可以是个人计算机, 服务器, 或者网络设备等)执行 本发明各个实施例所述的方法。  Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by hardware or by software plus necessary general hardware platform. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including several The instructions are for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.
总之, 以上所述仅为本发明的较佳实施例而已, 并非用于限定本 发明的保护范围。 凡在本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  In conclusion, the above description is only a preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权利要求 Rights request
1、 一种光网络数据处理方法, 其特征在于, 包括: An optical network data processing method, comprising:
接收至少两种类型的千兆无源光网络传输汇聚 GTC帧; 别;  Receiving at least two types of Gigabit passive optical network transmission aggregate GTC frames;
根据所述识别结果, 对所述 GTC帧进行相应的处理。  Corresponding processing is performed on the GTC frame according to the recognition result.
2、 根据权利要求 1所述的光网络数据处理方法,其特征在于, 所述至少两种类型的 GTC帧包括: 第一 GTC帧和第二 GTC帧, 所 述第一 GTC帧和所述第二 GTC帧支持不同的协议类型,或不同的帧 格式, 或不同的传输速率, 或支持不同的上行波长, 或其任意组合。 2. The optical network data processing method according to claim 1, wherein the at least two types of GTC frames comprise: a first GTC frame and a second GTC frame, the first GTC frame and the first The two GTC frames support different protocol types, or different frame formats, or different transmission rates, or support different upstream wavelengths, or any combination thereof.
3、 根据权利要求 2所述的光网络数据处理方法, 其特征在于, 所述接收至少两种类型的 GTC帧之前还包括:在所述第一 GTC帧中 的物理层开销的保留比特位中设置标识, 所述标识用于对所述第一 GTC帧或所述第二 GTC帧进行识别。 The optical network data processing method according to claim 2, wherein before the receiving at least two types of GTC frames, the method further includes: in a reserved bit of a physical layer overhead in the first GTC frame Setting an identifier, the identifier being used to identify the first GTC frame or the second GTC frame.
4、 根据权利要求 2所述的光网络数据处理方法, 其特征在于, 所述根据接收到的 GTC帧中的物理层开销中的标识对 GTC帧的类型 进行识别包括: The optical network data processing method according to claim 2, wherein the identifying the type of the GTC frame according to the identifier in the physical layer overhead in the received GTC frame includes:
对所述第一 GTC帧和所述第二 GTC帧在第一通道中采用第一解 析格式解析,对所述第一 GTC帧和所述第二 GTC帧在第二通道中采 用第二解析格式解析。  Parsing the first GTC frame and the second GTC frame in a first parsing format in a first channel, and adopting a second parsing format in the second channel in the first GTC frame and the second GTC frame Analysis.
5、 根据权利要求 4所述的光网络数据处理方法, 其特征在于, 所述根据所述识别结果, 对所述 GTC帧进行相应的处理包括: The optical network data processing method according to claim 4, wherein the processing the corresponding GTC frame according to the identification result comprises:
如果对第一解析格式解析后的第一 GTC帧校验成功, 接收所述 第一 GTC帧; 否则, 丟弃所述第一 GTC帧; 如果对第二解析格式解析后的第二 GTC帧校验成功, 接收所述 第二 GTC帧; 否则, 丟弃所述第二 GTC帧。 If the first GTC frame parsed by the first parsing format is successfully verified, the first GTC frame is received; otherwise, the first GTC frame is discarded; If the second GTC frame parsed by the second parsing format is successfully verified, the second GTC frame is received; otherwise, the second GTC frame is discarded.
6、 根据权利要求 2所述的光网络数据处理方法, 其特征在于, 所述根据所述识别结果,对所述 GTC帧进行相应的处理之后还包括: 在所述第一 GTC帧中的物理层开销的保留比特位中设置第一标识; 在所述第二 GTC帧中的物理层开销的保留比特位中设置第二标识; 将所述第一 GTC帧和所述第二 GTC帧发送给下行设备进行识别。 The optical network data processing method according to claim 2, wherein, after performing the corresponding processing on the GTC frame according to the identification result, the method further comprises: physics in the first GTC frame Setting a first identifier in the reserved bit of the layer overhead; setting a second identifier in the reserved bit of the physical layer overhead in the second GTC frame; sending the first GTC frame and the second GTC frame to The downstream device is identified.
7、 根据权利要求 6所述的光网络数据处理方法, 其特征在于, 所述根据所述识别结果, 对所述 GTC帧进行相应的处理包括: The optical network data processing method according to claim 6, wherein the processing the GTC frame according to the recognition result comprises:
获取第一标识或第二标识并判断, 若为第一标识则对所述第一 GTC帧进行解析, 若为第二标识则将所述第二 GTC帧丟弃。  Obtaining the first identifier or the second identifier, and determining, if the first identifier is, parsing the first GTC frame, and if the second identifier is, discarding the second GTC frame.
8、 一种光网络数据处理装置, 其特征在于, 包括: 8. An optical network data processing apparatus, comprising:
第一接收单元, 用于接收发送给不同类型的 ONU的千兆无源光 网络传输汇聚 GTC帧;  a first receiving unit, configured to receive a Gigabit passive optical network transmission aggregation GTC frame sent to different types of ONUs;
标识单元, 用于对所述第一接收单元接收到的 GTC帧进行不同 标识;  An identifier unit, configured to perform different identifiers on the GTC frames received by the first receiving unit;
第一发送单元, 用于将所述标识单元标识后的所述 GTC帧进行 发送。  a first sending unit, configured to send the GTC frame that is identified by the identifier unit.
9、 根据权利要求 8所述的光网络数据处理装置, 其特征在于, 所述标识单元包括: The optical network data processing device according to claim 8, wherein the identification unit comprises:
第一标识模块, 用于在第一 GTC帧的物理层开销的保留比特位 中设置标识。  And a first identifier module, configured to set an identifier in a reserved bit of a physical layer overhead of the first GTC frame.
10、 根据权利要求 8所述的光网络数据处理装置, 其特征在于, 所述标识单元包括: 第二标识模块, 用于在第一 GTC帧的物理层开销的保留比特位 中设置第一标识, 在第二 GTC帧的物理层开销的保留比特位中设置 第二标识。 The optical network data processing device according to claim 8, wherein the identification unit comprises: And a second identifier module, configured to set a first identifier in a reserved bit of a physical layer overhead of the first GTC frame, and set a second identifier in a reserved bit of a physical layer overhead of the second GTC frame.
11、 一种光网络数据处理装置, 其特征在于, 包括: 11. An optical network data processing apparatus, comprising:
第二接收单元,用于接收至少两种类型的千兆无源光网络传输汇 聚 GTC帧, 所述 GTC帧的物理层开销中具有不同标识;  a second receiving unit, configured to receive at least two types of Gigabit passive optical network transmission aggregation GTC frames, where the physical layer overhead of the GTC frame has different identifiers;
识别单元, 用于根据所述第二接收单元接收到的 GTC帧中的物 理层开销中的标识, 对所述 GTC帧的类型进行识别;  An identifying unit, configured to identify a type of the GTC frame according to an identifier in a physical layer overhead in a GTC frame received by the second receiving unit;
第二发送单元, 用于根据所述识别结果, 将所述 GTC帧发送给 其他装置进行相应的处理。  And a second sending unit, configured to send the GTC frame to another device for performing corresponding processing according to the recognition result.
12、 根据权利要求 11所述的光网络数据处理装置, 其特征 在于, 所述识别单元包括: 12. The optical network data processing apparatus according to claim 11, wherein the identification unit comprises:
第一识别模块,用于根据接收到的 GTC帧的标识进行分类识别。  The first identification module is configured to perform classification and identification according to the identifier of the received GTC frame.
13、 根据权利要求 11所述的光网络数据处理装置,其特征在于, 所述识别单元包括: The optical network data processing device according to claim 11, wherein the identification unit comprises:
第二识别模块,用于根据校验信息对接收到的 GTC帧进行识别。  And a second identifying module, configured to identify the received GTC frame according to the verification information.
14、 一种光网络数据处理系统, 其特征在于, 包括: 14. An optical network data processing system, comprising:
光线路终端装置, 用于对发送给不同类型的光网络单元 ONU的 下行千兆无源光网络传输汇聚 GTC帧进行标识并发送, 或对接收到 的至少两种类型的上行 GTC帧进行识别;  The optical line terminal device is configured to identify and transmit the Gigabit GTC frame of the downlink Gigabit passive optical network that is sent to the ONUs of different types of optical network units, or identify the received at least two types of uplink GTC frames;
光网络单元装置, 用于根据接收到的 GTC帧中的物理层开销中 的标识对下行 GTC帧进行识别, 或对上行 GTC帧进行标识并发送。  And an optical network unit, configured to identify the downlink GTC frame according to the identifier in the physical layer overhead in the received GTC frame, or identify and send the uplink GTC frame.
15、 根据权利要求 14所述的光网络数据处理系统,其特征在于, 所述光网络单元装置包括: 第一光网络单元模块, 用于根据接收到的 GTC帧中的物理层开 销中的标识对下行 GTC帧进行识别; The optical network data processing system according to claim 14, wherein the optical network unit device comprises: a first optical network unit module, configured to identify a downlink GTC frame according to an identifier in a physical layer overhead in the received GTC frame;
第二光网络单元模块, 用于对上行 GTC帧进行标识并发送。  The second optical network unit module is configured to identify and send the uplink GTC frame.
PCT/CN2009/071147 2008-04-02 2009-04-02 Method, equipment and system for optical network data processing WO2009121308A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 200810103282 CN101552772B (en) 2008-04-02 2008-04-02 Method, devices and system for optical network data processing
CN200810103282.2 2008-04-02

Publications (1)

Publication Number Publication Date
WO2009121308A1 true WO2009121308A1 (en) 2009-10-08

Family

ID=41134855

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/071147 WO2009121308A1 (en) 2008-04-02 2009-04-02 Method, equipment and system for optical network data processing

Country Status (2)

Country Link
CN (1) CN101552772B (en)
WO (1) WO2009121308A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113973239A (en) * 2020-07-24 2022-01-25 上海诺基亚贝尔股份有限公司 Method, apparatus, optical network unit, optical line terminal and medium for communication

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546558B (en) * 2010-12-29 2015-10-21 中兴通讯股份有限公司 The changing method of agreement and optical network unit in a kind of optical network unit
WO2012149770A1 (en) * 2011-09-26 2012-11-08 华为技术有限公司 Method, device and system for converting terminal device identifiers
CN106303762A (en) * 2015-05-21 2017-01-04 中兴通讯股份有限公司 ONU template generation method and device
CN106464518A (en) * 2015-05-25 2017-02-22 华为技术有限公司 Message transmission method, device and system
CN106488346B (en) * 2015-08-27 2019-11-15 深圳市中兴微电子技术有限公司 A kind of passive optical network compatible apparatus and its implementation and optical line terminal
CN105512102A (en) * 2015-12-01 2016-04-20 北京交控科技股份有限公司 Data parse method and system
CN108024350B (en) * 2016-10-28 2021-10-19 中兴通讯股份有限公司 Dynamic time allocation method and device
ES2922823T3 (en) 2016-11-17 2022-09-20 Huawei Tech Co Ltd Passive optical network communication method, device and system
CN108574530B (en) * 2017-03-14 2022-10-28 中兴通讯股份有限公司 Data transmitting and receiving method and device and multichannel EPON system
CN112822084B (en) * 2019-11-18 2022-08-30 瑞昱半导体股份有限公司 Gateway control chip and network packet processing method thereof
CN114710480B (en) * 2022-04-08 2023-05-26 西南科技大学 Processing method and system for read-out electronic data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040208631A1 (en) * 2003-04-15 2004-10-21 Jae-Yeon Song GTC frame structure and method for transmission of ONT management control information in GPON
CN1669003A (en) * 2002-07-11 2005-09-14 弗莱特网络有限公司 Data transfer in an optical network communication system
CN1866958A (en) * 2005-12-27 2006-11-22 华为技术有限公司 Method and system for making optical network terminal support multi protocol
US7346058B1 (en) * 2002-11-27 2008-03-18 Cisco Technology, Inc. Multiprotocol encapsulation system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1669003A (en) * 2002-07-11 2005-09-14 弗莱特网络有限公司 Data transfer in an optical network communication system
US7346058B1 (en) * 2002-11-27 2008-03-18 Cisco Technology, Inc. Multiprotocol encapsulation system and method
US20040208631A1 (en) * 2003-04-15 2004-10-21 Jae-Yeon Song GTC frame structure and method for transmission of ONT management control information in GPON
CN1866958A (en) * 2005-12-27 2006-11-22 华为技术有限公司 Method and system for making optical network terminal support multi protocol

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113973239A (en) * 2020-07-24 2022-01-25 上海诺基亚贝尔股份有限公司 Method, apparatus, optical network unit, optical line terminal and medium for communication

Also Published As

Publication number Publication date
CN101552772B (en) 2013-08-28
CN101552772A (en) 2009-10-07

Similar Documents

Publication Publication Date Title
WO2009121308A1 (en) Method, equipment and system for optical network data processing
JP4169595B2 (en) Point-to-multipoint passive optical network using variable-length packets
US8428457B2 (en) Optical passive network system and its operation method
US8718087B1 (en) Processing architecture for passive optical network
US7983308B1 (en) Method and apparatus for data frame synchronization
CN109314569B (en) Passive optical network system, optical line terminal and optical network unit
EP1330077B1 (en) Method for implementing various functions including access control in a gigabit ethernet passive optical network system
US9178713B1 (en) Optical line termination in a passive optical network
WO2009121275A1 (en) A transmission processing method, equipment and system for optical network
KR20040025354A (en) Discovery method for oam capability in ethernet passive optical network
CN101902662B (en) Optical network unit (ONU) registration activating method and system
EP2109256A1 (en) Pon group broadcast communication system, group broadcast managing method and the corresponding device
WO2011035602A1 (en) Method and system for implementing registration flow of gigabit-capable passive optical network
WO2011127731A1 (en) Registration activation method and system for optical network unit
US8755695B2 (en) Burst transmission method, and receiver resetting method and apparatus in a passive optical network
WO2007104230A1 (en) A data transmitting method and device over passive optical network pon data link layer
US20130232537A1 (en) Packet filtering at a media converter in a network with optical and coaxial components
WO2011150759A1 (en) Method, apparatus and system for processing signal of pon network
US8014481B1 (en) Upstream data recovery and data rate detection
WO2009155832A1 (en) Point to multi-point optical access system and its data transmission method and device
US9615153B2 (en) System and method for applying an extended multipoint protocol to wireless access systems
WO2011094990A1 (en) Method and system for path switching and method for transmitting downlink data
US20190387293A1 (en) Apparatus and methods for synchronization pattern configuration in an optical network
JP6134247B2 (en) Optical communication system, signal transmission control method, and station side optical line termination device
WO2011095022A1 (en) Method and system for correctly locating optical network unit glowing abnormally

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

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 3958/KOLNP/2011

Country of ref document: IN