WO2016015216A1 - Method and apparatus for device registration and wavelength switching in ethernet passive optical network system - Google Patents

Method and apparatus for device registration and wavelength switching in ethernet passive optical network system Download PDF

Info

Publication number
WO2016015216A1
WO2016015216A1 PCT/CN2014/083210 CN2014083210W WO2016015216A1 WO 2016015216 A1 WO2016015216 A1 WO 2016015216A1 CN 2014083210 W CN2014083210 W CN 2014083210W WO 2016015216 A1 WO2016015216 A1 WO 2016015216A1
Authority
WO
WIPO (PCT)
Prior art keywords
wavelength
message
onu
downlink
switching
Prior art date
Application number
PCT/CN2014/083210
Other languages
French (fr)
Chinese (zh)
Inventor
叶志成
李胜平
林薇
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201480008121.9A priority Critical patent/CN105830369B/en
Priority to PCT/CN2014/083210 priority patent/WO2016015216A1/en
Publication of WO2016015216A1 publication Critical patent/WO2016015216A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/50Transmitters
    • H04B10/572Wavelength control

Definitions

  • the present invention relates to the field of optical communications, and more particularly to a method and apparatus for device registration and wavelength switching in an Ethernet passive optical network system in the field of optical communications. Background technique
  • the PON system may include Time Division Multiplexing (TDM) PON, Gigabit Passive Optical Network (GPON), and Ethernet Passive Optical Network. , referred to as ' ⁇ '), Time Wavelength Division Multiplexing (TWDM) PON, Point to Point (PtP) Wavelength Division Multiplexing (Wavelength Division Multiplexing, referred to as "WDM”) PON and so on.
  • TDM Time Division Multiplexing
  • GPON Gigabit Passive Optical Network
  • Ethernet Passive Optical Network referred to as ' ⁇ '
  • TWDM Time Wavelength Division Multiplexing
  • PtP Point to Point
  • WDM Wavelength Division Multiplexing
  • the PON system may include: an Optical Line Terminal (“OLT”) located at the central office, and an Optical Distribution Network (hereinafter referred to as an Optical Distribution Network). "ODN”), and an Optical Network Unit (“ONU”) / Optical Network Terminal (“A” for short), where the ONU can be used to refer to the ONU and/or ONT.
  • ONT Optical Line Terminal
  • ODN Optical Distribution Network
  • ONU Optical Network Unit
  • A Optical Network Terminal
  • ITU-T ITU Telecommunication Standardization Sector
  • ITU-T International Telecommunication Union
  • NG-EPON Next Generation-EPON
  • embodiments of the present invention provide a method and apparatus for device registration and wavelength switching in an Ethernet passive optical network system, which are capable of communicating Ethernet passive light using multiple downlink wavelengths and one upstream wavelength.
  • Device registration and wavelength switching in the network system are capable of communicating Ethernet passive light using multiple downlink wavelengths and one upstream wavelength.
  • a method for device registration in an EPON system of an Ethernet passive optical network includes an optical line terminal OLT and an optical network unit ONU, and the OLT and the ONU are based on multiple downlink wavelengths and one uplink.
  • Wavelength communication wherein the method includes: sending a windowing message to the ONU; receiving a registration request message for requesting registration sent by the ONU according to the windowing message, the registration request message carrying wavelength information of the ONU, the wavelength
  • the information includes a registered downlink wavelength used by the ONU to receive the windowing message; sending, by the registered downlink wavelength, a registration message to the ONU, where the registration message includes a logical link identifier LLID allocated by the OLT to the ONU; and receiving the ONU A registration confirmation message sent to confirm the registration is completed according to the registration message.
  • the registration message further includes wavelength confirmation information, where the wavelength confirmation information is used to indicate that the OLT confirms the wavelength information.
  • the discovery information field of the registration request message includes the wavelength information; or the registration request message includes A wavelength information field, the wavelength information field including the wavelength information.
  • the wavelength information further includes downlink wavelength adjustment capability information of the ONU, where
  • the downlink wavelength adjustment capability information includes at least one of the following information: a downlink wavelength adjustment interval, a downlink wavelength number, a wavelength adjustment range of the tunable filter, an adjustment time of each downlink wavelength adjustment interval, and a downlink wavelength adjustment speed.
  • a method for device registration in an EPON system of an Ethernet passive optical network includes an optical line terminal OLT and an optical network unit ONU, and the OLT and the ONU are based on multiple downlink wavelengths and one uplink.
  • the wavelength communication is performed, where the method includes: receiving a windowing message sent by the OLT; sending, according to the windowing message, a registration request message for requesting registration, the registration request message carrying wavelength information of the ONU, where The wavelength information includes a registration downlink wavelength used by the ONU to receive the windowing message; receiving a registration message sent by the OLT according to the registration request message, where the registration message includes a logical link identifier LLID allocated by the OLT to the ONU; The registration message sends a registration to the OLT to confirm the completion of the registration. Recognize the news.
  • the registration message further includes wavelength confirmation information, where the wavelength confirmation information is used to indicate that the OLT confirms the wavelength information.
  • the discovery information field of the registration request message includes the wavelength information; or the registration request message includes A wavelength information field, the wavelength information field including the wavelength information.
  • the wavelength information further includes downlink wavelength adjustment capability information of the ONU, where
  • the downlink wavelength adjustment capability information includes at least one of the following information: a downlink wavelength adjustment interval, a downlink wavelength number, a wavelength adjustment range of the tunable filter, an adjustment time of each downlink wavelength adjustment interval, and a downlink wavelength adjustment speed.
  • a method for wavelength switching in an EPON system of an Ethernet passive optical network includes an optical line terminal OLT and an optical network unit ONU, and the OLT and the ONU are based on multiple downlink wavelengths and an uplink.
  • the wavelength communication is performed, where the method includes: the change request message is used to indicate that the ONU switches to the target downlink wavelength, and the wavelength switch request message includes target wavelength information used to indicate the target downlink wavelength, and is used to indicate downlink wavelength switching.
  • the switching time information of the start and end time receiving, on the uplink wavelength channel, a wavelength switching confirmation message sent by the ONU according to the wavelength switching request message, where the wavelength switching confirmation message is used to indicate that the ONU determines to perform the downlink wavelength switching; And transmitting, in the start and end time, a wavelength switching 4 ⁇ message to the ONU on the target downlink wavelength channel corresponding to the target downlink wavelength, where the wavelength switching authorization message is used to authorize the ONU; when the ONU is in the start and end time When successfully switching to the target downstream wavelength, on the uplink
  • the ONU receiving the long wavelength channel switching complete message based on the message transmission right by 4 wavelength switching, wavelength switching complete message to indicate the success of the handover to the target ONU downstream wavelength within the start and end time.
  • the method further includes: sending, on the target downlink wavelength channel, a wavelength switching success message to the ONU according to the wavelength switching completion message, the wavelength switching The success message is used to indicate that the optical line terminal OLT confirms that the ONU downlink wavelength switching is successful.
  • the method further includes: when the wavelength switching completion message sent by the ONU is not received within the start and end time, only in the And transmitting, by the source downlink downlink channel, the wavelength switching authorization message to the ONU; receiving, on the uplink wavelength channel, a wavelength switching incomplete message sent by the ONU according to the wavelength switching authorization message, where the wavelength switching incomplete message is used to indicate the The ONU did not successfully switch to the target downstream wavelength during the start and end time.
  • the method further includes: switching, according to the wavelength, an incomplete message to the ONU on the source downlink wavelength channel The wavelength switching unsuccessful message is sent, and the wavelength switching unsuccessful message is used to instruct the OLT to confirm that the ONU downlink wavelength switching is unsuccessful.
  • the wavelength switching request message, The at least one of the wavelength switch acknowledgement message, the wavelength switch 4 ⁇ message, and the wavelength switch complete message is a multipoint control protocol MPCP message or an operation management maintenance OAM message.
  • a method for wavelength switching in an EPON system of an Ethernet passive optical network includes an optical line terminal OLT and an optical network unit ONU, and the OLT and the ONU are based on multiple downlink wavelengths and one uplink.
  • the wavelength is communicated, wherein the method includes: receiving, on the source downlink wavelength channel, a wavelength switching request message sent by the optical line terminal OLT, where the wavelength switching request message is used to indicate that the optical network unit ONU switches to the target downlink wavelength, and the wavelength switching
  • the request message includes target wavelength information for indicating the downlink wavelength of the target, and switching time information for indicating the start and end time of the downlink wavelength switching.
  • the wavelength switching request message is sent to the OLT according to the wavelength switching request message.
  • the wavelength switch confirmation message is used to indicate that the ONU determines to perform the downlink wavelength switching; when the ONU successfully switches to the target downlink wavelength in the start and end time, receiving the target downlink of the OLT corresponding to the target downlink wavelength Wavelength switching on the wavelength channel 4 And the wavelength switching message is used to indicate the ONU.
  • the wavelength switching completion message is sent to the OLT according to the wavelength switching authorization message, where the wavelength switching completion message is used to indicate the ONU. Successfully switch to the target downstream wavelength during the start and end time.
  • the method further includes: receiving, on the target downlink wavelength channel, a wavelength switching success message sent by the OLT according to the wavelength switching completion message, the wavelength The handover success message is used to indicate that the OLT confirms that the ONU downlink wavelength handover is successful.
  • the method further includes: When the ONU fails to switch to the target downlink wavelength within the start and end time, after the start and end time expires, the wavelength switching authorization message sent by the OLT on the source downlink wavelength channel is received; on the uplink wavelength channel.
  • the wavelength switch incomplete message is sent to the OLT according to the wavelength switching message, and the wavelength switch incomplete message is used to indicate that the ONU does not successfully switch to the target downlink wavelength within the start and end time.
  • the method further includes: receiving, on the source downlink wavelength channel, the OLT to perform an incomplete message according to the wavelength switching The wavelength switching unsuccessful message is sent, and the wavelength switching unsuccessful message is used to indicate that the OLT confirms that the ONU downlink wavelength switching is unsuccessful.
  • the wavelength switching request message, The at least one of the wavelength switch acknowledgement message, the wavelength switch 4 ⁇ message, and the wavelength switch complete message is a multipoint control protocol MPCP message or an operation management maintenance OAM message.
  • the fifth aspect provides an optical line terminal OLT in an EPON system of an Ethernet passive optical network, where the EPON system includes an optical line terminal OLT and an optical network unit ONU, and the OLT and the ONU are based on multiple downlink wavelengths and one
  • the EPON system further includes an optical network unit ONU, and the OLT communicates with the ONU based on a plurality of downlink wavelengths and an uplink wavelength
  • the OLT includes: a sending module, configured to send the ONU to the ONU a receiving message, configured to receive, by the ONU, a registration request message for requesting registration sent by the ONU according to the windowing message sent by the sending module, where the registration request message carries wavelength information of the ONU, where the wavelength information includes the ONU Receiving the registered downlink wavelength used by the windowing message;
  • the sending module is further configured to: send, according to the registration request message received by the receiving module, a registration message to the ONU, where the registration message includes the OLT allocating the ONU Logical link tag LLID
  • the registration message sent by the sending module further includes wavelength confirmation information, where the wavelength confirmation information is used to indicate that the OLT confirms the wavelength information.
  • the discovery information field of the registration request message received by the receiving module includes the wavelength information; or
  • the registration request message received by the receiving module includes a wavelength information field, the wavelength
  • the information field includes the wavelength information.
  • the receiving module receives the The wavelength information further includes downlink wavelength adjustment capability information of the ONU, where the downlink wavelength adjustment capability information includes at least one of the following information: a downlink wavelength adjustment interval, a downlink wavelength number, a wavelength adjustment range of the tunable filter, and each downlink wavelength. Adjust the interval adjustment time and the downstream wavelength adjustment speed.
  • the sixth aspect provides an optical network unit ONU in an EPON system of an Ethernet passive optical network, where the EPON system includes an optical line terminal OLT and an optical network unit ONU, and the OLT and the ONU are based on multiple downlink wavelengths and one Upstream wavelength communication, the EPON system further includes an optical line terminal OLT, and the OLT communicates with the ONU based on multiple downlink wavelengths and an uplink wavelength, where the ONU includes: a receiving module, configured to receive the OLT sending a sending message, configured to send, according to the windowing message received by the receiving module, a registration request message for requesting registration to the OLT, where the registration request message carries wavelength information of the ONU, where the wavelength information includes the ONU Receiving the registered downlink wavelength used by the windowing message; the receiving module is further configured to: receive a registration message sent by the OLT according to the registration request message sent by the sending module, where the registration message includes the OLT allocated to the ONU
  • the logical link tag LLID; the sending module is further configured to:
  • the registration message received by the receiving module further includes wavelength confirmation information, where the wavelength confirmation information is used to indicate that the OLT confirms the wavelength information.
  • the discovery information field of the registration request message sent by the sending module includes the wavelength information; or
  • the registration request message sent by the sending module includes a wavelength information field, and the wavelength information field includes the wavelength information.
  • the wavelength information sent by the sending module further includes a downlink wavelength of the ONU Adjusting capability information
  • the downlink wavelength adjustment capability information includes at least one of the following information: a downlink wavelength adjustment interval, a downlink wavelength number, a wavelength adjustment range of the tunable filter, an adjustment time of each downlink wavelength adjustment interval, and a downlink wavelength adjustment speed.
  • the seventh aspect provides an optical line terminal OLT in an EPON system of an Ethernet passive optical network, where the EPON system includes an optical line terminal OLT and an optical network unit ONU, and the OLT and the ONU are based on multiple downlink wavelengths and one
  • the uplink wavelength is used for communication, where the OLT includes: a message, the wavelength switch request message is used to indicate that the ONU switches to the target downlink wavelength, and the wavelength switch request message includes target wavelength information for indicating the target downlink wavelength, and a switching time information indicating a start and end time of the downlink wavelength switching; a receiving module, configured to receive, on the uplink wavelength channel, a wavelength switching confirmation message sent by the ONU according to the wavelength switching request message sent by the sending module, the wavelength The switching acknowledgement message is used to indicate that the ONU determines to perform the downlink wavelength switching.
  • the sending module is further configured to: send the wavelength switch 4 to the ONU on the target downlink wavelength channel corresponding to the target downlink wavelength during the start and end time. a weighting message, the wavelength switching authorization message is used to authorize the ONU;
  • the module is further configured to: when the ONU successfully switches to the target downlink wavelength in the start and end time, receive a wavelength switch completion message sent by the ONU according to the wavelength switching authorization message sent by the sending module, on the uplink wavelength channel, The wavelength switch completion message is used to indicate that the ONU successfully switches to the target downlink wavelength within the start and end time.
  • the sending module is further configured to: send, by using the wavelength switching completion message, a wavelength switching success message to the ONU on the target downlink wavelength channel, where The wavelength switching success message is used to indicate that the optical line terminal OLT confirms that the ONU downlink wavelength switching is successful.
  • the sending module is further configured to: when the wavelength switching complete message sent by the ONU is not received within the start and end time, only the source The wavelength switching authorization message is sent to the ONU on the downlink wavelength channel; the receiving module is further configured to: receive, on the uplink wavelength channel, a wavelength switching incomplete message sent by the ONU according to the wavelength switching authorization message, where the wavelength switching is not completed. The message is used to indicate that the ONU did not successfully switch to the target downstream wavelength during the start and end time.
  • the sending module is further configured to: switch, according to the wavelength, an uncompleted message direction on the source downlink wavelength channel
  • the ONU sends a wavelength switch unsuccessful message, and the wavelength switch unsuccessful message is used to instruct the OLT to confirm that the ONU downlink wavelength switching is unsuccessful.
  • the at least one of the wavelength switching request message, the wavelength switching confirmation message, the wavelength switching information, and the wavelength switching completion message is a multipoint control protocol MPCP message or an operation management maintenance OAM message.
  • the eighth aspect provides an optical network unit ONU in an EPON system of an Ethernet passive optical network, where the EPON system includes an optical line terminal OLT and an optical network unit ONU, and the OLT and the ONU are based on multiple downlink wavelengths and one The uplink wavelength is used for communication, where the ONU includes: a receiving module, configured to receive a wavelength switching request message sent by the optical line terminal OLT on the source downlink wavelength channel, where the wavelength switching request message is used to indicate that the optical network unit ONU switches to the target downlink a wavelength, and the wavelength switching request message includes target wavelength information for indicating the target downlink wavelength, and switching time information for indicating a start and end time of the downlink wavelength switching; and a sending module, configured to, according to the uplink wavelength channel, The wavelength switch request message received by the receiving module sends a wavelength switch confirmation message to the OLT, where the wavelength switch confirmation message is used to indicate that the ONU determines to perform the downlink wavelength switch.
  • the receiving module is further configured to: when the ONU is in the Successfully switch to the target downstream wavelength during the start and end time Receiving, by the OLT, a wavelength switching 4 ⁇ message sent on the target downlink wavelength channel corresponding to the target downlink wavelength, where the wavelength switching 4 ⁇ right message is used to authorize the ONU; the sending module is further configured to: The wavelength switching completion message is sent to the OLT according to the wavelength switching authorization message received by the receiving module, where the wavelength switching completion message is used to indicate that the ONU successfully switches to the target downlink wavelength within the starting and ending time.
  • the receiving module is further configured to: receive, on the target downlink wavelength channel, a wavelength switching success message sent by the OLT according to the wavelength switching completion message, The wavelength switching success message is used to indicate that the OLT confirms that the ONU downlink wavelength switching is successful.
  • the receiving module is further configured to: when the ONU fails to successfully switch to the target downlink wavelength within the start and end time, after the start and end time expires Receiving the wavelength switching authorization message sent by the OLT only on the source downlink wavelength channel; the sending module is further configured to: send, on the uplink wavelength channel, a wavelength switching incomplete message to the OLT according to the wavelength switching authorization message, The wavelength switch incomplete message is used to indicate that the ONU did not successfully switch to the target downlink wavelength within the start and end time.
  • the receiving module is further configured to: receive the OLT according to the source downlink channel
  • the wavelength switching unsuccessful message is sent to the wavelength switch unsuccessful message, and the wavelength switching unsuccessful message is used to indicate that the OLT confirms that the ONU downlink wavelength switching is unsuccessful.
  • the wavelength switching request message, The at least one of the wavelength switch acknowledgement message, the wavelength switch 4 ⁇ message, and the wavelength switch complete message is a multipoint control protocol MPCP message or an operation management maintenance OAM message.
  • a method and a device for registering a device in an Ethernet passive optical network system by registering a downlink wavelength in a registration request message sent by an optical network unit to an optical line terminal, so that the optical line terminal
  • the downlink wavelength used by the optical network unit can be determined, thereby enabling device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the light
  • the data communication can be performed between the line terminals.
  • the method and device for wavelength switching in the Ethernet passive optical network system according to the embodiment of the present invention indicate the target wavelength information and the switching time information to the optical network unit through the optical line terminal.
  • the unit performs synchronous authorization, which simplifies the downlink
  • the wavelength switching process reduces the probability of switching errors and increases the service capacity of the system.
  • FIG. 1 is a schematic diagram of an application scenario according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a method for registering a device according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a registration request message according to an embodiment of the present invention
  • FIG. 4 is a registration message according to an embodiment of the present invention
  • FIG. 5 is a schematic flowchart of a method for registering a device according to another embodiment of the present invention
  • FIG. 6 is a schematic flowchart of a method for registering a device according to another embodiment of the present invention
  • 8A and 8B are schematic structural diagrams of an MPCP protocol-based adjustment control message and an adjustment response message according to an embodiment of the present invention
  • FIGS. 9A and 9B are schematic structural diagrams of an OAM-based adjustment control message and an adjustment response message according to an embodiment of the present invention.
  • FIG. 10 is still another schematic flowchart of a method for wavelength switching according to an embodiment of the present invention
  • FIG. 11 is another schematic flowchart of a method for wavelength switching according to an embodiment of the present invention
  • FIG. 13 is another schematic flowchart of a method for wavelength switching according to another embodiment of the present invention
  • FIG. 14 is a wavelength switching method according to another embodiment of the present invention.
  • FIG. 15 is a schematic flowchart of a method for wavelength switching according to an embodiment of the present invention
  • FIG. 16 is a schematic block diagram of an optical line terminal according to an embodiment of the present invention;
  • FIG. 17 is a schematic block diagram of an optical network unit according to an embodiment of the present invention.
  • FIG. 18 is a schematic block diagram of an optical line terminal according to another embodiment of the present invention.
  • FIG. 19 is a schematic block diagram of an optical network unit according to another embodiment of the present invention.
  • FIG. 20 is a schematic block diagram of an optical line terminal according to still another embodiment of the present invention.
  • FIG. 21 is a schematic block diagram of an optical network unit according to still another embodiment of the present invention.
  • FIG. 22 is a schematic block diagram of an optical line terminal according to still another embodiment of the present invention.
  • FIG. 23 is a schematic block diagram of an optical network unit according to still another embodiment of the present invention. detailed description
  • FIG. 1 shows an application scenario provided by an embodiment of the present invention.
  • the EPON system may include an EPON OLT and one or more EPON ONUs, and the EPON OLT may be connected to the one or more EPON ONU fibers through an optical splitter ("OS").
  • the EPON OLT communicates with the EPON ONU based on multiple downlink wavelengths and one uplink wavelength.
  • the EPON OLT is, for example, an NG-EPON OLT, or the EPON OLT can be other
  • the OLT has multiple transmit wavelengths and one receive wavelength.
  • the EPON The ONU is, for example, n EPON ONUs, that is, EPON ONU 1 to EPON ONU n, where n is a natural number; the EPON ONU has an adjustable receiving wavelength but a fixed transmission wavelength, and the EPON ONU may include one or more 1G EPON ONUs, for example. Or a plurality of 10G EPON ONUs, one or more NG EPON ONUs, and the like, but the embodiment of the present invention is not limited thereto.
  • data or optical signals carrying data are transmitted from the OLT to
  • the transmission direction of the ONT/ONU is called the downlink direction.
  • the channel through which the OLT sends optical signals to the ONT/ONU is also called the downstream wavelength channel.
  • the transmission of data or optical signals carrying data from the ONT/ONU to the OLT is transmitted.
  • the direction is called the uplink direction; accordingly, the channel through which the ONT/ONU sends optical signals to the OLT is also called the upstream wavelength channel.
  • the embodiment of the present invention is only described by taking an EPON system with four-wave downlink single-wave uplink as an example, that is, an EPON system having four downlink wavelength channels and one uplink wavelength channel is taken as an example, but the present invention does not
  • the method and device for device registration and wavelength switching according to the embodiments of the present invention are also applicable to other EPON systems having multiple downlink wavelength channels and one uplink wavelength channel, and multiple downlink wavelength channels and multiple EPON system with upstream wavelength channel.
  • the ONU will be described below in place of the ONT and/or the ONU, but the present invention is not limited thereto.
  • FIG. 2 is a schematic flowchart of a method 100 for device registration in an EPON system according to an embodiment of the present invention.
  • the EPON system includes an optical line terminal OLT and an optical network unit ONU, and the OLT and the ONU are based on multiple downlink wavelengths.
  • the method 100 can be performed by an OLT, for example, the method 100 is performed by an NG-EPON OLT.
  • the method 100 includes:
  • S140 Receive a registration confirmation message sent by the ONU according to the registration message to confirm completion of registration.
  • an EPON system that uses multiple downstream wavelengths and one upstream wavelength for channeling
  • the OLT broadcasts a windowing message to the ONU to ask if there is a newly joined ONU that needs to be registered. If the newly added ONU needs to be registered at this time, when the ONU receives the windowing message sent by the OLT broadcast, it can broadcast a registration request message to the OLT, and the registration request message is used to request registration from the OLT, and the The registration request message carries wavelength information, and the wavelength information can indicate the registered downlink wavelength used by the ONU to receive the windowing message. After receiving the wavelength information sent by the ONU, the OLT may send a registration message including the LLID to the ONU.
  • the ONU After receiving the registration message sent by the OLT, the ONU may perform corresponding registration processing, and may send a registration confirmation message to the OLT. For indicating to the OLT that the ONU completes registration, in the EPON system, data communication can be performed between the OLT and the ONU.
  • the device registration method in the Ethernet passive optical network system indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical line terminal can determine the optical network.
  • the downlink wavelength used by the unit enables device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the optical line terminal can Data communication.
  • the OLT transmits a windowing message to the ONU.
  • the OLT can send a windowing message to the ONU by means of a broadcast.
  • the windowing message is, for example, a GATE message based on a Multi-Point Control Protocol (MPCP), and the GATE message is used to authorize the ONU so that the ONU receiving the GATE message can be immediately or Send information within the specified time.
  • MPCP Multi-Point Control Protocol
  • the GATE message may include a source address, a destination address, and a message content
  • the message content may include, for example, at least one of the following information: Grant information, Sync Time information, and Discovery Information, but the present invention is not limited thereto.
  • the OLT receives the registration request message sent by the ONU according to the windowing message, and the wavelength information carried by the registration request message includes the registered downlink wavelength used by the ONU to receive the windowing message.
  • the receiving wavelength may be adjusted to one of a plurality of downlink wavelengths, that is, the ONU receives the registered downlink wavelength used by the windowing message, and may report the registered downlink wavelength to the ONU.
  • OLT for device registration.
  • the wavelength information further includes downlink wavelength adjustment capability information of the ONU, where the downlink wavelength adjustment capability information includes at least one of the following information: The long adjustment interval, the number of downstream wavelengths, the wavelength adjustment range of the tunable filter, the adjustment time of each downstream wavelength adjustment interval, and the downstream wavelength adjustment speed.
  • the ONU can report the downlink wavelength adjustment capability information to the OLT, so that the OLT can completely learn the related information of the ONU for subsequent operations. For example, the OLT can determine the target downlink wavelength of the downlink wavelength switching according to the downlink wavelength adjustment capability information of the ONU.
  • the registration request message is, for example, an MPCP-based REGISTER_REQ message
  • the REGISTER_REQ message is used to request registration from the OLT
  • the REGISTER_REQ message carries the wavelength information.
  • the REGISTER_REQ message may include a source address, a destination address, and a message content.
  • the message content may include at least one of the following information in addition to the wavelength information: Waiting 4 is authorized (Pending Grants) Information, Discovery Information, Laser On Time information, and Laser Off Time information, but the present invention is not limited thereto.
  • the wavelength information may be carried by extending the frame structure of the REGISTER_REQ message.
  • the discovery information field (Field) of the registration request message includes the wavelength information; or the registration request message includes wavelength information (Wavelength Information) i or the wavelength information i or includes the wavelength information.
  • FIG. 3A shows a frame structure of a registration request REGISTER_REQ message provided by an embodiment of the present invention, where a discovery information field of the REGISTER_REQ message carries the wavelength information.
  • the opcode (Opcode) 0001 indicates that the media access control (Media Access Control, referred to as "MAC") function is pause (PAUSE), that is, the message with the operation code 0001 is a pause (PAUSE) message;
  • the message with the operation code 0002 is a window open (GATE) message; the message with the operation code 0003 is a report (REPORT) message; the message with the operation code 0004 is a registration request (REGISTER_REQ) message;
  • the message with the operation code 0005 is The REGISTER message; the message with the operand 0006 is a REGISTER_ACK message.
  • the REGISTER_REQ message may include: a 6-byte Destination Address (“DA”) field, a 6-byte Source Address (“SA”) field, and 2 bytes. Length (Length) / Type (Type) field, 2 bytes Opcode field, 4-byte timestamp field, 1 byte flag (Flags) field, 1 byte Pending Grants field, 2 bytes of discovery
  • the Discovery Information field the 1-byte Laser On Time field, the 1-byte Laser Off Time field, the 32-byte padding field, and 4 Byte's Frame Check Sequence (FCS) field.
  • FCS Frame Check Sequence
  • the bits of the Discovery Information field may indicate 1G uplink capability information, 10G uplink capability information, 1G registration attempt information, or 10G registration attempt information.
  • the bits of the Discovery Information field may be used to indicate the registered downlink wavelength, and may also be It is used to indicate one or more of the following wavelength information: downlink wavelength adjustment interval information, downlink wavelength number information, downlink wavelength adjustment range information, and adjustment time information of the downlink wavelength per adjustment interval. That is, in the embodiment of the present invention, the Discovery Information field of the REGISTER_REQ message may be extended, so that the reserved bit of the Discovery Information field may also be used to indicate the wavelength information of the ONU.
  • FIG. 3B shows another frame structure of the registration request REGISTER_REQ message provided by the embodiment of the present invention, wherein the registration request REGISTER_REQ message with the operation code 0004 further includes, for example, a 2-byte wavelength information (Wavelength Information) field.
  • a 2-byte wavelength information (Wavelength Information) field.
  • One or more of the wavelength information : the downlink wavelength adjustment interval information, the downlink wavelength number information, the downlink wavelength adjustment range information, and the adjustment time information of the downlink wavelength per adjustment interval. That is, in the embodiment of the present invention, a Wavelength Information field may be newly added in the REGISTER_REQ message, and the bit of the Wavelength Information field is used to indicate the wavelength information of the ONU.
  • the wavelength information of the ONU may also be carried in other domains of the REGISTER_REQ message or other pre- In the remaining field; for example, the wavelength information field may have more bytes and the like.
  • the OLT may send a registration message to the ONU by broadcasting according to the registration request message, where the registration message includes an LLID allocated by the OLT to the ONU.
  • the LLID is a digital identifier assigned by the EPON system to the logical link, and each logical link is assigned a different LLID.
  • the OLT can identify which ONU the received frame is sent by the LLID. Similarly, the OLT can also send the frame to the corresponding ONU by modifying the LLID in the frame. Thus, it can be established Correspondence between the OLT and the ONU, and communication.
  • the registration message further includes wavelength confirmation information, where the wavelength confirmation information is used to instruct the OLT to confirm the wavelength information.
  • the wavelength confirmation information may include registration downlink wavelength confirmation information for instructing the OLT to confirm the registered downlink wavelength.
  • the wavelength confirmation information may further include downlink wavelength adjustment capability confirmation information, where the downlink wavelength adjustment capability confirmation information includes confirmation of at least one of the following information: a downlink wavelength adjustment interval, a downlink wavelength number, and a tunable filter. The wavelength adjustment range, the adjustment time of each downstream wavelength adjustment interval, and the downstream wavelength adjustment speed.
  • the registration message is, for example, an MPCP-based REGISTER message
  • the REGISTER message is used to allocate an LLID for the ONU that is registered by the certificate.
  • the REGISTER message may include a source address, a destination address, and a message content.
  • the message content may include at least one of the following information in addition to the LLID: Sync Time information. Echo of Pending Grants information, Target Laser On Time information, Target Laser Off Time information, and Echo of Wavelength Information, but the present invention Not limited to this.
  • the wavelength confirmation information may be carried by extending the frame structure of the REGISTER message.
  • the registration REGISTER message including the wavelength confirmation information will be described in detail below by taking the frame structure shown in Fig. 4 as an example.
  • the message with the operation code 0005 is a REGISTER message.
  • the REGISTER message may include, for example, a 6-byte Destination Address (“DA”) field, a 6-byte Source Address (“SA”) field, and a length of 2 bytes. ( Length ) / Type field, 2-byte opcode (Opcode) field, 4-byte timestamp (Timestamp) field, 2-byte Assigned Port field, 1 word Flags (Flags) field, 2-byte Sync Time field, 1-byte Echoed Pending Grants field, 1-byte target laser on time (Target Laser On Time) ) domain, 1 byte target Laser Off Time field, 2 bytes of Echoed Wavelength Information field, 32 bytes of padding field, and 4 bytes Frame Check Sequence (referred to as "FCS").
  • DA Destination Address
  • SA Source Address
  • FCS Frame Check Sequence
  • each bit of the Echoed Wavelength Information field can represent a downstream wavelength
  • the embodiment of the present invention is only described by taking the frame structure shown in FIG. 4 as an example, but the present invention is not limited thereto.
  • the wavelength confirmation information may also be carried in other messages, or carried in a REGISTER message. In other domains or other reserved fields.
  • the OLT receives a registration confirmation message sent by the ONU according to the registration message, and the registration confirmation message is used to confirm that the ONU completes registration.
  • the OLT periodically or periodically sends a GATE message to the ONU, waiting for the ONU to complete the relevant registration processing. After the ONU completes the relevant registration process, it can send a registration confirmation message to the OLT to confirm the completion of registration.
  • the registration confirmation message is, for example, an MPCP-based REGISTER_ACK message
  • the REGISTER_ACK message may include a source address, a destination address, and a message content
  • the message content may further include, for example, a synchronization time confirmation (Echo of Sync Time) Information and/or LLID Confirmation (Echo of LLID) information.
  • the device registration method in the Ethernet passive optical network system indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical line terminal can determine the optical network.
  • the downlink wavelength used by the unit enables device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the optical line terminal can Data communication.
  • the present invention is only described by using the application scenario shown in FIG. 1 as an example, but the present invention is not limited thereto.
  • the method for registering devices in the EPON system provided by the embodiment of the present invention may also be applied to multiple applications.
  • the registration request message sent by the ONU to the OLT may include the uplink wavelength information of the ONU, for example, the uplink wavelength and the uplink wavelength adjustment capability information, in addition to the downlink wavelength information of the ONU.
  • the uplink wavelength adjustment capability information includes, for example, at least one of the following information: an uplink wavelength adjustment interval, an uplink wavelength number, an uplink wavelength adjustment range, an adjustment time of each uplink wavelength adjustment interval, and an uplink wavelength adjustment speed.
  • the registration message sent by the OLT to the ONU may further include information that the OLT confirms the uplink wavelength information, for example, registering uplink wavelength confirmation information, uplink wavelength adjustment capability confirmation information, and the like, the uplink wavelength.
  • Adjustment capability confirmation information includes, for example, the next Confirmation of at least one of the column information: an uplink wavelength adjustment interval, an uplink wavelength number, an uplink wavelength adjustment range, an adjustment time of each upstream wavelength adjustment interval, and an uplink wavelength adjustment speed.
  • the device registration method in the Ethernet passive optical network system indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical line terminal can determine the optical network.
  • the downlink wavelength used by the unit enables device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the optical line terminal can
  • the method according to an embodiment of the present invention can also reduce the probability of error in the device registration process to provide a more rigorous, more standardized, and more efficient device registration mechanism.
  • the method 100 for device registration in an EPON system according to an embodiment of the present invention is described in detail above with reference to FIG. 2 to FIG. 4, and the EPON system according to the embodiment of the present invention will be described in detail from the ONU side in conjunction with FIG. Method 200 of device registration.
  • the EPON system includes an optical line terminal OLT and an optical network unit ONU, and the OLT and the ONU are based on multiple downlink wavelengths.
  • the method 200 can be performed by an ONU.
  • the method 200 can be performed by an NG-EPON ONU, a 1G EPON ONU, or a 10G EPON ONU.
  • the method 200 includes:
  • S220 sending, according to the windowing message, a registration request message for requesting registration to the OLT, where the registration request message carries wavelength information of the ONU, where the wavelength information includes a registered downlink wavelength used by the ONU to receive the windowing message. ;
  • S240 Send a registration confirmation message for confirming completion of registration to the OLT according to the registration message.
  • the OLT sends a windowing message to the ONU, for example, by broadcasting, for asking whether there is a newly added.
  • the ONU needs to register. If the newly added ONU needs to be registered, the ONU may send a registration request message to the OLT according to the windowing message when receiving the windowing message sent by the OLT, and the registration request message is used to request registration from the OLT. And the registration request message carries wavelength information, and the wavelength information can indicate the registered downlink wavelength used by the ONU to receive the windowing message. After receiving the wavelength information sent by the ONU, the OLT may send a registration message including the LLID to the ONU.
  • the ONU After receiving the registration message sent by the OLT, the ONU may perform corresponding registration processing, and may send a registration confirmation message to the OLT. For indicating to the OLT that the ONU completes registration, in the EPON system, data communication can be performed between the OLT and the ONU.
  • the device registration method in the Ethernet passive optical network system indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical line terminal can determine the optical network.
  • the downlink wavelength used by the unit enables device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the optical line terminal can Data communication.
  • the registration message further includes wavelength confirmation information, where the wavelength confirmation information is used to instruct the OLT to confirm the wavelength information.
  • the discovery information field of the registration request message includes the wavelength information; or the registration request message includes a wavelength information field, where the wavelength information field includes the wavelength information.
  • the wavelength information further includes downlink wavelength adjustment capability information of the ONU, where the downlink wavelength adjustment capability information includes at least one of the following information: a downlink wavelength adjustment interval, a downlink wavelength, and an The wavelength adjustment range of the filter, the adjustment time of each downstream wavelength adjustment interval, and the downstream wavelength adjustment speed.
  • the wavelength information further includes an uplink wavelength and/or an uplink wavelength adjustment capability information of the ONU, where the uplink wavelength adjustment capability information includes at least one of the following information: an uplink wavelength adjustment interval, The number of upstream wavelengths, the upstream wavelength adjustment range, the adjustment time of each upstream wavelength adjustment interval, and the upstream wavelength adjustment speed.
  • the windowing message is, for example, an MPCP-based GATE message;
  • the registration request message is, for example, an MPCP-based REGISTER_REQ message;
  • the registration message is, for example, an MPCP-based REGISTER message;
  • the registration confirmation message is for example It is an MPCP-based REGISTER_ACK message.
  • the foregoing message has been described in detail above with reference to FIG. 2 to FIG. 4, and is not described herein again for brevity.
  • the size of the sequence numbers of the above processes does not imply a sequence of execution orders, and the order of execution of the processes should be determined by its function and internal logic, and should not be implemented by the present invention.
  • the implementation of the examples constitutes any limitation.
  • the device registration method in the Ethernet passive optical network system indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical line terminal can determine the optical network.
  • the downlink wavelength used by the unit enables device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the optical line terminal can Data communication.
  • the OLT broadcasts a GATA message to the ONU for inquiring whether there is a newly added ONU that needs to be registered.
  • the GATA message may include, for example, a source address (SA), a destination address (DA), a Grant (Grant) message, a Sync Time message, and a Discovery Information.
  • the ONU broadcasts a REGISTER_REQ message to the OLT.
  • the REGISTER_REQ message is used to request registration from the OLT, and the REGISTER_REQ message carries wavelength information.
  • the REGISTER_REQ message may include, for example, a source address (SA), a destination address (DA), a Pending Grants message, a Discovery Information, a Laser On Time message, and a laser off time (Laser Off). Time) Information and Wavelength Information.
  • the OLT broadcasts a REGISTER message to the ONU, and the REGISTER message includes wavelength confirmation information, and the wavelength confirmation information is used to instruct the OLT to confirm the wavelength information.
  • the REGISTER message may include, for example, a source address (SA), a destination address (DA), an LLID, a Sync Time message, an Echo of Pending Grants message, and a target laser on time. ) Information, Target Laser Off Time information and Echo of Wavelength Information.
  • the OLT sends a GATA message to the ONU unicast to authorize the ONU.
  • the GATA message may include, for example, a source address (SA), a destination address (DA), and an authorization ( Grant).
  • the ONU unicasts a REGISTER_ACK message to the OLT, and the REGISTER_ACK message is used to indicate to the OLT that the ONU has completed registration.
  • the REGISTER_ACK message may include, for example: a source address (SA), a destination address (DA), and the same Echo of Sync Time information and LLID confirmation (Echo of LLID) information.
  • SA source address
  • DA destination address
  • Echo of LLID LLID confirmation
  • the device registration method in the Ethernet passive optical network system indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical line terminal can determine the optical network.
  • the downlink wavelength used by the unit enables device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the optical line terminal can Data communication.
  • the method for registering devices in an EPON system according to an embodiment of the present invention is described in detail with reference to FIG. 2 to FIG. 6 .
  • the method for wavelength switching in an EPON system according to an embodiment of the present invention will be described in detail below with reference to FIG. 7 to FIG. .
  • FIG. 7 is a schematic flowchart of a method 500 for wavelength switching in an EPON system according to an embodiment of the present invention.
  • the method 500 may be performed by an OLT.
  • the method 500 is performed by an NG-EPON OLT.
  • the method 500 includes: the wavelength switching request message is used to indicate that the ONU switches to a target downlink wavelength, and the wavelength switching request message includes target wavelength information for indicating the target downlink wavelength, and is used for indicating Switching time information of the start and end time of the downlink wavelength switching;
  • S520 Receive, on a fixed uplink wavelength channel, a wavelength switch confirmation message sent by the ONU according to the wavelength switch request message, where the wavelength switch confirmation message is used to indicate that the ONU determines to perform the downlink wavelength switch.
  • the method for wavelength switching in the Ethernet passive optical network system indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and in the light
  • the wavelength switching right message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching within the switching start and end time.
  • the optical line terminal can be prevented from synchronizing the optical network unit on multiple downlink wavelength channels, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic.
  • the OLT sends a wavelength switch request message to the ONU on the source downlink channel
  • the wavelength switch request message is used to indicate that the ONU switches to the target downlink wavelength, and includes target wavelength information and switching time information.
  • the switching time information includes, for example, a start time and a cutoff time of the downlink wavelength switching; for example, the switching time information includes a start time and a switching duration of the downlink wavelength switching; and, for example, the switching time information.
  • the switching duration and the off time of the downlink wavelength switching are included; for example, the switching time information includes the starting time, the switching duration, and the deadline, but the present invention is not limited thereto.
  • the wavelength switching request message is a multipoint control protocol MPCP message or an operation management maintenance OAM message.
  • MPCP multipoint control protocol
  • OAM operation management maintenance
  • FIG. 8A is a schematic structural diagram of an MPCP protocol-based adjustment control message according to an embodiment of the present invention.
  • the wavelength switching request message in the embodiment of the present invention may use the structure of the adjustment control message shown in FIG. 8A.
  • the MPCP operation code (Opt) 0001 indicates that the media access control (Media Access Control, referred to as "MAC") function is paused (PAUSE), that is, the message with the operation code of 0001 is paused ( PAUSE) message; similarly, the message with the operation code 0002 is a window open (GATE) message; the message with the operation code 0003 is a report (REPORT) message; the message with the operation code 0004 is a registration request (REGISTER_REQ) message; The message of 0005 is the REGISTER message; the message with the operation code 0006 is the registration confirmation (REGISTER_ACK) message; the message with the operation code of 0007 is the adjustment control (TUNING_CONTROL) message provided by the embodiment of the present invention, and the TUNING_CONTROL message can be used.
  • MAC Media Access Control
  • the OLT sends a control command related to the downlink wavelength switch to the ONU.
  • the message with the operation code 0008 is the TUNING_RESPONSE message provided by the embodiment of the present invention.
  • the TUNING_RESPONSE message can be used by the ONU to feed back the response information related to the downlink wavelength switch to the OLT.
  • the TUNING_CONTROL message may include: a 6-byte Destination Address ("DA") field, a 6-byte Source Address ("SA”) field, and 2 bytes.
  • Length / Type field 2-byte opcode (Opcode) field, 4-byte timestamp (Timestamp) field, 1-byte flag (Flags) field, 2 words Target Wavelength Information field, 1-byte Start Time field, 1-byte Timeouts field, 1-byte Grants field, 32 words The padding field of the section and the 4-byte frame check sequence ("FCS”) field.
  • the one-byte flag (Factors) field may include, for example, four states.
  • the OLT may indicate that the registered ONU performs downlink wavelength switching; for example, When the Flags is "01”, it may indicate that the OLT indicates that the ONU that is ready for wavelength switching cancels the downlink wavelength switching; for example, when the Flags is "10”, it may indicate that the OLT confirms that the ONU downlink wavelength switching is successful; for example, When Flags is "11", it may indicate that the OLT confirms that the ONU downlink wavelength switching is unsuccessful, but the present invention is not limited thereto.
  • Fig. 8A shows a wavelength switching request message based on the MPCP protocol, and the OAM protocol based wavelength switching request message shown in Fig. 9A will be described below.
  • FIG. 9A is a schematic structural diagram of an OAM protocol-based adjustment control message according to an embodiment of the present invention.
  • the wavelength switching request message in the embodiment of the present invention may use the structure of the adjustment control message shown in FIG. 9A.
  • the OAM message may include, for example, a 6-byte destination address (Destination
  • the code "00” may, for example, indicate that the OAM message is an Information message; the code “00” may, for example, indicate that the OAM message is an Information message; Code "01” For example, the OAM message may be an Event Notification message; the code "02” may indicate that the OAM message is a Variable Request message; for example, the code "03" may indicate that the OAM message is a variable response.
  • the code "04" may, for example, indicate that the OAM message is a loopback control message; the code “05” may, for example, indicate that the OAM message is The Tuning Control message is provided by the embodiment of the present invention; the code “06” may indicate that the OAM message is the Tuning Response message provided by the embodiment of the present invention; and the code "FE” may indicate that the OAM message is Organization Specific message.
  • the content of the Tuning Control message may include, for example, at least one of the following information: flag information, target wavelength information, start time information, timeout information, and 4 authorized information.
  • the flag (Flags) information may include, for example, four states. For example, when the Flags is "00", the OLT may indicate that the registered ONU performs downlink wavelength switching. For example, when the Flags is "01", the OLT may be represented. The ONU that is instructed to perform the wavelength switching cancels the downlink wavelength switching. For example, when the Flags is "10", the OLT can confirm that the ONU downlink wavelength switching is successful. For example, when the Flags is "11", the OLT can confirm that the OLT confirms the The ONU downlink wavelength switching is not successful, but the present invention is not limited thereto.
  • the wavelength switching request message is, for example, a Flags based on MPCP or OAM protocol, and is a "00" Tuning Control message.
  • the wavelength switching request message may further include a flag and/or downlink wavelength adjustment capability information for indicating a message type, where the downlink wavelength adjustment capability information includes at least one of the following information: The adjustment interval, the number of downstream wavelengths, the wavelength adjustment range of the tunable filter, the adjustment time of each downstream wavelength adjustment interval, and the downstream wavelength adjustment speed, but the present invention is not limited thereto.
  • the OLT receives a wavelength switch confirmation message sent by the ONU on a fixed uplink wavelength channel, where the wavelength switch confirmation message is used to indicate that the ONU determines to perform the downlink wavelength switch.
  • the wavelength switch confirmation message is a multipoint control protocol MPCP message or an operation management maintenance OAM message.
  • MPCP multipoint control protocol
  • OAM operation management maintenance
  • FIG. 8B a schematic structural diagram of an MPCP protocol-based adjustment response message according to an embodiment of the present invention is shown.
  • the wavelength switching confirmation message in the embodiment of the present invention may use the adjustment response cancellation shown in FIG. 8B. Structure.
  • the TUNING_RESPONSE message with the operation code of 0008 may include, for example, a 6-byte Destination Address field, a 6-byte Source Address field, and a length of 2 bytes ( Length ) / Type (Type) field, 2 words Opcode field of the section, Timestamp field of 4 bytes, Flags field of 1 byte, Echoed Wavelength Information field of 2 bytes, 1 word start time confirmation section (Echoed start time) field, a frame check sequence byte acknowledgment timeout (Echoed timeouts) field, 32 bytes of padding (Pad) and 4-byte field bad 1 J (frame Check Sequence) field.
  • the 1 byte flag field may include, for example, four states.
  • the ONU may determine that the downlink wavelength switching is performed; for example, the Flags is When "01”, it can be said that the ONU cannot perform downlink wavelength switching; for example, when the Flags is "10”, it can indicate that the ONU feedback downlink wavelength switching is successful; for example, when the Flags is "11", it can indicate that the ONU feedback is not
  • the downlink wavelength switching is completed and rolled back to the source downstream wavelength channel, but the present invention is not limited thereto.
  • FIG. 9B is a schematic structural diagram of an OAM protocol-based adjustment response message according to an embodiment of the present invention.
  • the wavelength switching acknowledgement message in the embodiment of the present invention may use the structure of the adjustment response message shown in FIG. 9B.
  • the content of the Tuning Response message whose code is "06" may include, for example, at least one of the following information: flag information, target wavelength confirmation information, start time confirmation information, and timeout confirmation information.
  • the flag (Flags) information may include, for example, four states. For example, when the Flags is "00", it may indicate that the ONU determines to perform downlink wavelength switching. For example, when the Flags is "01", it may indicate that the ONU cannot be executed.
  • Downlink wavelength switching For example, when the Flags is "10", it can indicate that the ONU feeds back the downlink wavelength switching success information; for example, when the Flags is "11", it can indicate that the ONU feedbacks the downlink wavelength switching unsuccessful information, and rolls back To the source downstream wavelength channel, the invention is not limited thereto.
  • the wavelength switch confirmation message is, for example, a Tuning Response message whose flag is "00" based on MPCP or OAM protocol.
  • the wavelength switch confirmation message may further include at least one of the following information: a flag for indicating a message type, downlink wavelength adjustment capability confirmation information, and handover time confirmation information, where the downlink wavelength adjustment capability
  • the confirmation information includes confirmation of at least one of the following information: a downlink wavelength adjustment interval, a downlink wavelength number, a wavelength adjustment range of the tunable filter, an adjustment time of each downlink wavelength adjustment interval, and a downlink wavelength adjustment speed, but The invention is not limited to this.
  • the OLT only targets the target downstream wavelength.
  • a wavelength switching 4 ⁇ message is sent to the ONU on the downlink wavelength channel.
  • the OLT performs authorization only on the target downlink wavelength channel, and does not perform synchronization authorization on multiple or all downlink wavelength channels, thereby improving Switching efficiency, reducing the probability of switching errors, and increasing the traffic of the system.
  • the OLT may periodically send a wavelength switching grant message during the start and end time. If the OLT receives the wavelength switching complete message sent by the ONU during the start and end time, the ONU handover succeeds, so that the OLT does not need to send the wavelength handover grant message to the ONU.
  • the OLT Before the wavelength switching completion message sent by the ONU, the OLT sends a wavelength switching authorization message to the ONU only on the target downlink wavelength channel.
  • the wavelength switching grant message may also be an Tuning Control message based on the MPCP or the OAM protocol, as shown in FIG. 8A and FIG. 9A.
  • the wavelength switching grant message may also be an Tuning Control message based on the MPCP or the OAM protocol, as shown in FIG. 8A and FIG. 9A.
  • FIG. 8A and FIG. 9A For brevity, details are not described herein again.
  • the OLT receives a wavelength switch completion message sent by the ONU on the uplink wavelength channel, to indicate that the ONU successfully switches to the start and end time.
  • the target downstream wavelength when the ONU successfully switches to the target downlink wavelength in the start and end time, the OLT receives a wavelength switch completion message sent by the ONU on the uplink wavelength channel, to indicate that the ONU successfully switches to the start and end time.
  • the target downstream wavelength when the ONU successfully switches to the target downlink wavelength in the start and end time, the OLT receives a wavelength switch completion message sent by the ONU on the uplink wavelength channel, to indicate that the ONU successfully switches to the start and end time.
  • the ONU can receive the wavelength switching authorization message periodically sent by the OLT, for example, the ONU can switch the authorization message according to the wavelength.
  • a wavelength switch completion message is sent to the OLT on the fixed upstream wavelength channel.
  • the wavelength switch completion message may also be a Tuning Response message based on the MPCP or the OAM protocol, where the Flags of the Tuning Response message may be “10”, indicating that the ONU feedback downlink wavelength switching succeeds.
  • the Flags of the Tuning Response message may be “10”, indicating that the ONU feedback downlink wavelength switching succeeds.
  • the method for wavelength switching in the Ethernet passive optical network system indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and switches the start and end time of the downlink wavelength indicated by the optical line terminal.
  • the wavelength switching right message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching within the start and end time of the switching, and can avoid the optical line terminal at the same time.
  • Down Synchronizing the optical network unit on the wavelength channel thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic.
  • the method 500 further includes:
  • the wavelength switching success message is sent to the ONU according to the wavelength switching completion message, where the wavelength switching success message is used to indicate that the optical line terminal OLT confirms that the ONU downlink wavelength switching is successful.
  • the OLT when the OLT receives the wavelength switching completion message sent by the ONU, the OLT may send a wavelength switching success message to the ONU on the target downlink wavelength channel, so as to indicate that the OLT confirms the ONU downlink. The wavelength switching was successful.
  • the wavelength switching success message may also be an adjustment control (Tuning Control) message based on the MPCP or the OAM protocol, where the Flags of the Tuning Control message may be “10”, indicating that the OLT confirms the downlink wavelength of the ONU.
  • Tuning Control Adjusting Control
  • the switching succeeds, as shown in FIGS. 8A and 9A, for brevity, details are not described herein again.
  • the downlink wavelength switching success of the ONU in the EPON system is described in detail above with reference to FIG. 7 to FIG. 10. The following describes the unsuccessful downlink wavelength switching of the ONU in conjunction with FIG.
  • the method 500 for wavelength switching in the EPON system provided by the embodiment of the present invention further includes:
  • the wavelength switching incomplete message sent by the ONU according to the wavelength switching authorization message is received on the uplink wavelength channel, where the wavelength switching incomplete message is used to indicate that the ONU does not successfully switch to the target downlink wavelength within the start and end time.
  • the OLT when the OLT does not receive the wavelength switching completion message sent by the ONU within the start and end time, the OLT sends a wavelength switching authorization message to the ONU only on the source downlink wavelength channel, thereby enabling downlink wavelength switching.
  • the unsuccessful ONU can receive information on the source and downlink wavelength channels, so that the ONU can switch the grant message according to the wavelength, and send a wavelength switch incomplete message to the OLT on the fixed uplink wavelength channel to indicate that the ONU is at the start and end.
  • the target downlink wavelength was not successfully switched within the time.
  • the OLT even if the ONU downlink wavelength switching is not successful, the OLT only authorizes the ONU on the source downlink channel, so that the ONU can roll back to the source and downlink wavelength channels, thereby simplifying the downlink wavelength switching process. , reduce the probability of switching errors, and can improve The amount of business in the system.
  • the wavelength switching grant message may also be an Tuning Control message based on the MPCP or the OAM protocol, as shown in FIG. 8A and FIG. 9A.
  • the wavelength switching grant message may also be an Tuning Control message based on the MPCP or the OAM protocol, as shown in FIG. 8A and FIG. 9A.
  • FIG. 8A and FIG. 9A For brevity, details are not described herein again.
  • the wavelength switching incomplete message may also be based on MPCP or
  • the Tuning Response message of the OAM protocol where the Flags of the Tuning Response message may be "11", indicating that the ONU feedbacks the downlink wavelength switching unsuccessful information, as shown in FIGS. 8B and 9B, for the sake of brevity, no longer Narration.
  • the method 500 further includes: S580, on the source downlink wavelength channel, sending a wavelength switch to the ONU according to the wavelength switching incomplete message is unsuccessful The message that the wavelength switch unsuccessful message is used to instruct the OLT to confirm that the ONU downlink wavelength switching is unsuccessful.
  • the OLT when the OLT receives the wavelength switch incomplete message sent by the ONU, the OLT may send a wavelength switch unsuccessful message to the ONU on the source downlink wavelength channel, to indicate that the OLT confirms the The ONU downlink wavelength switching was unsuccessful.
  • the wavelength switch unsuccessful message may also be an adjustment control (Tuning Control) message based on the MPCP or the OAM protocol, where the Flags of the Tuning Control message may be "11", indicating that the OLT confirms the ONU downlink.
  • the wavelength switching is unsuccessful, as shown in FIG. 8A and FIG. 9A. For brevity, details are not described herein again.
  • the embodiment of the present invention is only an example of an EPON system having multiple downlink wavelength channels and one uplink wavelength channel.
  • the present invention is not limited thereto, and the wavelength switching method provided by the embodiment of the present invention may also be applied to An EPON system having multiple downstream wavelength channels and multiple upstream wavelength channels.
  • the method for wavelength switching in the Ethernet passive optical network system indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and switches the start and end time of the downlink wavelength indicated by the optical line terminal.
  • the wavelength switching right message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching within the start and end time of the switching, and can avoid the optical line terminal at the same time.
  • Down Synchronizing the optical network unit on the wavelength channel thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic.
  • the method 500 for wavelength switching in an EPON system according to an embodiment of the present invention is described in detail above with reference to FIG. 7 to FIG. 11. The following describes the method according to the embodiment of the present invention from the ONU side in conjunction with FIG. 12 to FIG. Method 600 for wavelength switching in an EPON system.
  • a method 600 for wavelength switching in an EPON system includes:
  • S620 Send, on the fixed uplink wavelength channel, a wavelength switch confirmation message to the OLT according to the wavelength switching request message, where the wavelength switch confirmation message is used to indicate that the ONU determines to perform the downlink wavelength switch.
  • S640 on the uplink wavelength channel, send a wavelength switch completion message to the OLT according to the wavelength switching authorization message, where the wavelength switch completion message is used to indicate that the ONU successfully switches to the target downlink wavelength within the start and end time.
  • the method for wavelength switching in the Ethernet passive optical network system indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and switches the start and end time of the downlink wavelength indicated by the optical line terminal.
  • the wavelength switching right message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching within the start and end time of the switching, and can avoid the optical line terminal at the same time. Synchronizing the optical network unit on the downlink wavelength channel, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic.
  • the method 600 further includes:
  • the method 600 further includes:
  • the method 600 further includes:
  • At least one of the wavelength switch request message, the wavelength switch acknowledgement message, the wavelength switch grant message, and the wavelength switch complete message is a multipoint control protocol (MPCP) message or operation management.
  • MPCP multipoint control protocol
  • the wavelength switching request message is, for example, an adjustment control (Tuning Control) message based on the MPCP or the OAM protocol, where the Flags of the Tuning Control message may be "00", indicating that the OLT indicates that the registered ONU is performing.
  • the downlink wavelength switching is as shown in FIG. 8A and FIG. 9A. For brevity, details are not described herein again.
  • the wavelength switch confirmation message is, for example, an adjustment response (Tuning Response) message based on the MPCP or the OAM protocol, where the Flags of the Tuning Response message may be “00”, indicating that the ONU determines to perform downlink wavelength switching.
  • Tuning Response an adjustment response
  • FIG. 8B and FIG. 9B for brevity, details are not described herein again.
  • the wavelength switching grant message may also be an Tuning Control message based on the MPCP or the OAM protocol, as shown in FIG. 8A and FIG. 9A.
  • the wavelength switching grant message may also be an Tuning Control message based on the MPCP or the OAM protocol, as shown in FIG. 8A and FIG. 9A.
  • FIG. 8A and FIG. 9A For brevity, details are not described herein again.
  • the wavelength switch completion message may also be a Tuning Response message based on the MPCP or the OAM protocol, where the Flags of the Tuning Response message may be “10”, indicating that the ONU feedback downlink wavelength switching succeeds.
  • the Flags of the Tuning Response message may be “10”, indicating that the ONU feedback downlink wavelength switching succeeds.
  • the wavelength switching success message can also be an adjustment control based on MPCP or OAM protocol.
  • Tuning Control (Tuning Control) message, where the Flags of the Tuning Control message can be "10"
  • the OLT confirms that the ONU downlink wavelength switching is successful, as shown in FIG. 8A and FIG. 9A. For brevity, details are not described herein again.
  • the wavelength switching incomplete message may also be an Tuning Response message based on the MPCP or the OAM protocol, where the Flags of the Tuning Response message may be "11", indicating that the ONU feeds back the downlink wavelength switching unsuccessful information, as shown in FIG. 8B. As shown in FIG. 9B, for brevity, no further details are provided herein.
  • the wavelength switching unsuccessful message may also be an Tuning Control message based on the MPCP or the OAM protocol, where the Flags of the Tuning Control message may be "11", indicating that the OLT confirms that the ONU downlink wavelength switching is unsuccessful, as shown in the figure. 8A and 9A are shown here for brevity.
  • the embodiment of the present invention is only an example of an EPON system having multiple downlink wavelength channels and one uplink wavelength channel.
  • the present invention is not limited thereto, and the wavelength switching method provided by the embodiment of the present invention may also be applied to An EPON system having multiple downstream wavelength channels and multiple upstream wavelength channels.
  • the method for wavelength switching in the Ethernet passive optical network system indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and switches the start and end time of the downlink wavelength indicated by the optical line terminal.
  • the wavelength switching right message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching within the start and end time of the switching, and can avoid the optical line terminal at the same time. Synchronizing the optical network unit on the downlink wavelength channel, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic.
  • the transmitting port 1 of the OLT sends a wavelength switching request message to the ONU on the source downlink wavelength channel, where the wavelength switching request message is used to indicate that the ONU switches to the target downlink wavelength, and the wavelength switching request is The message includes target wavelength information and switching time information.
  • the ONU sends a wavelength switch to the OLT on a fixed upstream wavelength channel. And confirming the message, to indicate that the ONU determines to perform the downlink wavelength switching.
  • the transmitting port 2 of the OLT transmits a wavelength switching message to the ONU only on the target downlink wavelength channel during the starting and ending time to perform 4 authorization on the ONU.
  • the ONU receives the wavelength switching grant message sent by the OLT during the start and stop time and on the target downlink wavelength channel.
  • the ONU sends a wavelength switch completion message to the OLT on the fixed uplink wavelength channel, so as to indicate that the ONU successfully switches to the target downlink wavelength within the start and end time.
  • the transmitting port 2 of the OLT sends a wavelength switching success message to the ONU on the target downlink wavelength channel, so that the optical line terminal OLT confirms that the ONU downlink wavelength switching is successful.
  • the ONU successfully completes the downlink wavelength switching, and establishes data communication with the OLT on the target downlink channel, so that the OLT can send data to the ONU on the target downlink channel, and the ONU can send data to the OLT on the fixed uplink wavelength channel. .
  • the OLT does not receive the wavelength switching completion message sent by the ONU during the start and end time, and the transmitting port 1 of the OLT sends the wavelength switching to the ONU only on the source downlink wavelength channel after the start and end time expires. Right message.
  • the ONU sends a wavelength switch incomplete message to the OLT on the fixed upstream wavelength channel, to indicate that the ONU does not successfully switch to the target downlink wavelength within the start and end time.
  • the sending port 1 of the OLT sends a wavelength switching unsuccessful message to the ONU on the source downlink wavelength channel, so as to indicate that the OLT confirms that the ONU downlink wavelength switching is unsuccessful.
  • the size of the sequence numbers of the foregoing processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be construed as limiting the implementation process of the embodiments of the present invention.
  • the method for wavelength switching in the Ethernet passive optical network system indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and switches the start and end time of the downlink wavelength indicated by the optical line terminal. Transmitting a wavelength switching right message to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can The downlink wavelength switching is performed during the start and end of the switching, and the optical line terminal can be prevented from synchronizing the optical network unit in multiple downlink wavelength channels, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system. The amount of business.
  • the method for device registration and wavelength switching in the EPON system provided by the embodiment of the present invention is described in detail above with reference to FIG. 1 to FIG. 15.
  • the optical line terminal and the light according to the embodiment of the present invention will be described in detail below with reference to FIG. 16 to FIG. Network unit.
  • FIG. 16 is a schematic block diagram of an optical line terminal OLT 10 in an EPON system according to an embodiment of the present invention.
  • the EPON system further includes an optical network unit ONU, and the OLT and the ONU are based on multiple downlink wavelengths and one uplink. The wavelength is communicated.
  • the OLT 10 includes:
  • the sending module 11 is configured to send a windowing message to the ONU;
  • the receiving module 12 is configured to receive a registration request message for requesting registration that is sent by the ONU according to the windowing message sent by the sending module, where the registration request message carries wavelength information of the ONU, where the wavelength information includes the ONU receiving
  • the sending downlink module is configured to: the sending module 11 is further configured to: send, according to the registration request message received by the receiving module 12, a registration message to the ONU, where the registration message includes the OLT as the ONU Assigned logical link tag LLID;
  • the receiving module 12 is further configured to: receive a registration confirmation message sent by the ONU according to the registration message sent by the sending module 11 for confirming completion of registration.
  • the optical line terminal in the Ethernet passive optical network system of the embodiment of the present invention indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical line terminal can determine the optical network.
  • the downlink wavelength used by the unit enables device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the optical line terminal can Data communication.
  • the LLID sent by the sending module 11 includes information for indicating the registered downlink wavelength.
  • the registration message sent by the sending module 11 further includes wavelength confirmation information, where the wavelength confirmation information is used to instruct the OLT to confirm the wavelength information.
  • the discovery information field of the registration request message received by the receiving module 12 includes the wavelength information; or the registration request message received by the receiving module 12 includes a wavelength information field, and the wavelength information domain This wavelength information is included.
  • the wavelength information received by the receiving module 12 further includes downlink wavelength adjustment capability information of the ONU, where the downlink wavelength adjustment capability information includes at least one of the following information: Downstream wavelength adjustment interval The number of downstream wavelengths, the wavelength adjustment range of the tunable filter, the adjustment time of each downstream wavelength adjustment interval, and the downstream wavelength adjustment speed.
  • the windowing message is, for example, an MPCP-based GATE message;
  • the registration request message is, for example, an MPCP-based REGISTER_REQ message;
  • the registration message is, for example, an MPCP-based REGISTER message;
  • the registration confirmation message is for example For the MPCP-based REGISTER_ACK message, for the sake of brevity, it is not mentioned here.
  • optical line terminal 10 may correspond to the OLT in the embodiment of the present invention, and the above and other operations and/or functions of the respective modules in the optical line terminal 10 are respectively implemented in order to implement FIGS. 2 to 4
  • the corresponding process of the method 100 in the following is omitted for brevity.
  • the optical line terminal in the Ethernet passive optical network system of the embodiment of the present invention indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical line terminal can determine the optical network.
  • the downlink wavelength used by the unit enables device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the optical line terminal can Data communication.
  • FIG. 17 is a schematic block diagram of an optical network unit ONU 20 in an EPON system according to an embodiment of the present invention.
  • the EPON system further includes an optical line terminal OLT, and the OLT and the ONU are based on multiple downlink wavelengths and one uplink. The wavelength is communicated.
  • the ONU 20 includes:
  • the receiving module 21 is configured to receive a windowing message sent by the OLT;
  • the sending module 22 is configured to send, according to the windowing message received by the receiving module 21, a registration request message for requesting registration to the OLT, where the registration request message carries wavelength information of the ONU, where the wavelength information includes the ONU receiving the The registered downstream wavelength used in the windowing message;
  • the receiving module 21 is further configured to: receive a registration message sent by the OLT according to the registration request message sent by the sending module 22, where the registration message includes a logical link identifier LLID allocated by the OLT to the ONU;
  • the sending module 22 is further configured to: send a registration confirmation message for confirming completion of registration to the OLT according to the registration message received by the receiving module 21.
  • the optical network unit in the Ethernet passive optical network system of the embodiment of the present invention indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical network unit
  • the optical line terminal can determine the downlink wavelength used by the optical network unit, thereby enabling device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, thereby the optical network unit Data communication is possible between the optical line terminal and the optical line terminal.
  • the LLID received by the receiving module 21 includes information for indicating the registered downlink wavelength.
  • the registration message received by the receiving module 21 further includes wavelength confirmation information, where the wavelength confirmation information is used to instruct the OLT to confirm the wavelength information.
  • the discovery information field of the registration request message sent by the sending module 22 includes the wavelength information; or the registration request message sent by the sending module 22 includes a wavelength information field, and the wavelength information domain This wavelength information is included.
  • the wavelength information sent by the sending module 22 further includes downlink wavelength adjustment capability information of the ONU, where the downlink wavelength adjustment capability information includes at least one of the following information: Downstream wavelength adjustment interval The number of downstream wavelengths, the wavelength adjustment range of the tunable filter, the adjustment time of each downstream wavelength adjustment interval, and the downstream wavelength adjustment speed.
  • the windowing message is, for example, an MPCP-based GATE message;
  • the registration request message is, for example, an MPCP-based REGISTER_REQ message;
  • the registration message is, for example, an MPCP-based REGISTER message;
  • the registration confirmation message is for example For the MPCP-based REGISTER_ACK message, for the sake of brevity, it is not mentioned here.
  • optical network unit 20 may correspond to the ONUs in the embodiments of the present invention, and the above and other operations and/or functions of the respective modules in the optical network unit 20 are respectively implemented to implement the method in FIG.
  • the corresponding process of 200 for the sake of brevity, will not be repeated here.
  • the optical network unit in the Ethernet passive optical network system of the embodiment of the present invention indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical line terminal can determine the optical network.
  • the downlink wavelength used by the unit enables device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the optical line terminal can Data communication.
  • optical line terminal and the optical network unit for device registration in the EPON system provided by the embodiment of the present invention are described in detail above with reference to FIG. 16 and FIG. 17. The following provides a detailed description of the embodiments of the present invention with reference to FIG. 18 and FIG.
  • Optical line terminations and optical network units for wavelength switching in EPON systems are described in detail above with reference to FIG. 16 and FIG. 17. The following provides a detailed description of the embodiments of the present invention with reference to FIG. 18 and FIG.
  • FIG. 18 is a schematic block diagram of an optical line terminal 30 according to an embodiment of the present invention.
  • the OLT 30 includes: a change request message, the wavelength switch request message is used to indicate that the ONU switches to a target downlink wavelength, and the wavelength switch request message includes target wavelength information for indicating the target downlink wavelength, and is used for Switching time information indicating a start and end time of the downlink wavelength switching;
  • the receiving module 32 is configured to receive, on the fixed uplink wavelength channel, a wavelength switch confirmation message sent by the ONU according to the wavelength switching request message sent by the sending module 31, where the wavelength switch confirmation message is used to indicate that the ONU determines to perform the Downlink wavelength switching;
  • the sending module 31 is further configured to: send, in the start and end time, only a wavelength switching 4 ⁇ right message to the ONU on the target downlink wavelength channel corresponding to the target downlink wavelength, where the wavelength switching authorization message is used to ONU authorization;
  • the receiving module 32 is further configured to: when the ONU successfully switches to the target downlink wavelength in the start and end time, receive the wavelength sent by the ONU according to the wavelength switching authorization message sent by the sending module 31 on the uplink wavelength channel.
  • the handover complete message is used to indicate that the ONU successfully switches to the target downlink wavelength within the start and end time.
  • the optical line terminal in the Ethernet passive optical network system indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and switches the start and end time of the downlink wavelength indicated by the optical line terminal.
  • the wavelength switching grant message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching within the start and end time of the switching, and can avoid the optical line terminal at the same time. Synchronizing the optical network unit on the downlink wavelength channel, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic.
  • the sending module 31 is further configured to: send, on the target downlink wavelength channel, a wavelength switching success message to the ONU according to the wavelength switching completion message, where the wavelength switching success message is used to indicate
  • the optical line terminal OLT confirms that the ONU downlink wavelength switching is successful.
  • the sending module 31 is further configured to: when the wavelength switching completion message sent by the ONU is not received within the start and end time, only to the ONU on the source downlink wavelength channel. Sending the wavelength switch 4 ⁇ message;
  • the receiving module 32 is further configured to: receive, on the uplink wavelength channel, a wavelength switching incomplete message sent by the ONU according to the wavelength switching message, where the wavelength switching incomplete message is used to indicate The ONU does not successfully switch to the target downstream wavelength during the start and end time.
  • the sending module 31 is further configured to: send, on the source downlink wavelength channel, a wavelength switching unsuccessful message to the ONU according to the wavelength switching incomplete message, where the wavelength switching unsuccessful message It is used to instruct the OLT to confirm that the ONU downlink wavelength switching is unsuccessful.
  • At least one of the wavelength switch request message, the wavelength switch acknowledgement message, the wavelength switch grant message, and the wavelength switch complete message is a multipoint control protocol (MPCP) message or operation management.
  • MPCP multipoint control protocol
  • the wavelength switching request message is, for example, an adjustment control (Tuning Control) message based on the MPCP or the OAM protocol, where the Flags of the Tuning Control message may be "00", indicating that the OLT indicates that the registered ONU is performing.
  • the downlink wavelength switching is as shown in FIG. 8A and FIG. 9A. For brevity, details are not described herein again.
  • the wavelength switch confirmation message is, for example, an adjustment response (Tuning Response) message based on the MPCP or the OAM protocol, where the Flags of the Tuning Response message may be “00”, indicating that the ONU determines to perform downlink wavelength switching.
  • Tuning Response an adjustment response
  • FIG. 8B and FIG. 9B for brevity, details are not described herein again.
  • the wavelength switching grant message may also be an Tuning Control message based on the MPCP or the OAM protocol, as shown in FIG. 8A and FIG. 9A.
  • the wavelength switching grant message may also be an Tuning Control message based on the MPCP or the OAM protocol, as shown in FIG. 8A and FIG. 9A.
  • FIG. 8A and FIG. 9A For brevity, details are not described herein again.
  • the wavelength switching completion message may also be an adjustment response (Tuning Response) message based on the MPCP or the OAM protocol, where the Flags of the Timing Response message may be “10”, indicating that the ONU feedback downlink wavelength switching succeeds.
  • Tuning Response Adjusting Response
  • FIG. 8B and FIG. 98 for brevity, details are not described herein again.
  • the wavelength switching success message may also be an adjustment control (Tuning Control) message based on the MPCP or the OAM protocol, where the Flags of the Tuning Control message may be "10", indicating that the OLT confirms that the ONU downlink wavelength switching is successful, as shown in FIG. 8A and As shown in Fig. 9A, for the sake of brevity, it will not be repeated here.
  • Tuning Control Adjusting Control
  • the wavelength switching incomplete message may also be an Tuning Response message based on the MPCP or the OAM protocol, where the Flags of the Tuning Response message may be "11", indicating that the ONU feeds back the downlink wavelength switching unsuccessful information, as shown in FIG. 8B. As shown in FIG. 9B, for brevity, no further details are provided herein.
  • the wavelength switching unsuccessful message may also be an adjustment control based on MPCP or OAM protocol.
  • the Tuning Control message where the Flags of the Tuning Control message may be "11", indicating that the OLT confirms that the ONU downlink wavelength switching is unsuccessful, as shown in FIGS. 8A and 9A, and is not described herein again for brevity.
  • optical line terminal 30 may correspond to the OLT in the embodiment of the present invention, and the above and other operations and/or functions of the respective modules in the optical line terminal 30 are respectively implemented in order to implement FIGS. 7 to 11
  • the corresponding process of the method 500 in the following is omitted for brevity.
  • the optical line terminal in the Ethernet passive optical network system indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and switches the start and end time of the downlink wavelength indicated by the optical line terminal.
  • the wavelength switching grant message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching within the start and end time of the switching, and can avoid the optical line terminal at the same time. Synchronizing the optical network unit on the downlink wavelength channel, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic.
  • FIG. 19 is a schematic block diagram of an optical network unit 40 provided by an embodiment of the present invention. As shown in Figure 19, the ONU 40 includes:
  • the receiving module 41 is configured to receive, by using the source downlink downlink channel, a wavelength switching request message sent by the optical line terminal OLT, where the wavelength switching request message is used to indicate that the optical network unit ONU switches to the target downlink wavelength, and the wavelength switching request message includes The target wavelength information indicating the downlink wavelength of the target, and the switching time information for indicating the start and end time of the downlink wavelength switching;
  • the sending module 42 is configured to send, according to the wavelength switching request message received by the receiving module 41, a wavelength switching confirmation message to the OLT, where the wavelength switching confirmation message is used to indicate that the ONU determines to perform the downlink wavelength.
  • the receiving module 41 is further configured to: when the ONU successfully switches to the target downlink wavelength in the start and end time, receive the wavelength switching authorization message sent by the OLT only on the target downlink wavelength channel corresponding to the target downlink wavelength.
  • the wavelength switching authorization message is used to authorize the ONU;
  • the sending module 42 is further configured to: send, on the uplink wavelength channel, a wavelength switching complete message to the OLT according to the wavelength switching message received by the receiving module 41, where the wavelength switching complete message is used to indicate that the ONU is in the Successfully switch to the target downstream wavelength during the start and end time.
  • the optical network unit in the Ethernet passive optical network system indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and the optical line is in the optical line.
  • the wavelength switching authorization message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching during the switching start and end time.
  • the optical line terminal can be prevented from synchronizing the optical network unit on multiple downlink wavelength channels, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic.
  • the receiving module 41 is further configured to: receive, on the target downlink wavelength channel, a wavelength switching success message sent by the OLT according to the wavelength switching completion message, where the wavelength switching success message is used. Instructing the OLT to confirm that the ONU downlink wavelength switching is successful.
  • the receiving module 41 is further configured to: when the ONU fails to successfully switch to the target downlink wavelength within the start and end time, after the start and end time expires, receiving the OLT only in the The wavelength switching 4 ⁇ message sent on the source downlink wavelength channel;
  • the sending module 42 is further configured to: send, on the uplink wavelength channel, a wavelength switch incomplete message to the OLT according to the wavelength switching authorization message, where the wavelength switch incomplete message is used to indicate that the ONU does not successfully switch in the start and end time. Down to the target downstream wavelength.
  • the receiving module 41 is further configured to: receive, on the source downlink wavelength channel, a wavelength switching unsuccessful message that is sent by the OLT according to the wavelength switching incomplete message, where the wavelength switching is unsuccessful The message is used to indicate that the OLT confirms that the ONU downlink wavelength switching is unsuccessful.
  • At least one of the wavelength switch request message, the wavelength switch acknowledgement message, the wavelength switch grant message, and the wavelength switch complete message is a multipoint control protocol (MPCP) message or operation management.
  • MPCP multipoint control protocol
  • the wavelength switching request message is, for example, an adjustment control (Tuning Control) message based on the MPCP or the OAM protocol, where the Flags of the Tuning Control message may be "00", indicating that the OLT indicates that the registered ONU is performing.
  • the downlink wavelength switching is as shown in FIG. 8A and FIG. 9A. For brevity, details are not described herein again.
  • the wavelength switch confirmation message is, for example, an adjustment response (Tuning Response) message based on the MPCP or the OAM protocol, where the Flags of the Tuning Response message may be “00”, indicating that the ONU determines to perform downlink wavelength switching.
  • Tuning Response an adjustment response
  • FIG. 8B and FIG. 9B for brevity, details are not described herein again.
  • the wavelength switching grant message may also be an Tuning Control message based on the MPCP or the OAM protocol, as shown in FIG. 8A and FIG. 9A. I will not repeat them here.
  • the wavelength switch completion message may also be a Tuning Response message based on the MPCP or the OAM protocol, where the Flags of the Tuning Response message may be “10”, indicating that the ONU feedback downlink wavelength switching succeeds.
  • the Flags of the Tuning Response message may be “10”, indicating that the ONU feedback downlink wavelength switching succeeds.
  • the wavelength switching success message may also be an adjustment control (Tuning Control) message based on the MPCP or the OAM protocol, where the Flags of the Tuning Control message may be "10", indicating that the OLT confirms that the ONU downlink wavelength switching is successful, as shown in FIG. 8A and As shown in Fig. 9A, for the sake of brevity, it will not be repeated here.
  • Tuning Control Adjusting Control
  • the wavelength switching incomplete message may also be an adjusted response based on MPCP or OAM protocol.
  • the Tuning Response message where the Flags of the Tuning Response message may be "11", indicating that the ONU feeds back the downlink wavelength switching unsuccessful information, as shown in FIG. 8B and FIG. 9B.
  • the Flags of the Tuning Response message may be "11"
  • the ONU feeds back the downlink wavelength switching unsuccessful information as shown in FIG. 8B and FIG. 9B.
  • the wavelength switching unsuccessful message may also be an Tuning Control message based on the MPCP or the OAM protocol, where the Flags of the Tuning Control message may be "11", indicating that the OLT confirms that the ONU downlink wavelength switching is unsuccessful, as shown in the figure. 8A and 9A are shown here for brevity.
  • optical network unit 40 may correspond to the ONUs in the embodiments of the present invention, and the above and other operations and/or functions of the respective modules in the optical network unit 40 are respectively implemented in order to implement FIGS. 12 to 14
  • the corresponding process of the method 600 in the following is omitted for brevity.
  • the optical network unit in the Ethernet passive optical network system of the embodiment of the present invention indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and switches the start and end time of the downlink wavelength indicated by the optical line terminal.
  • the wavelength switching grant message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching within the start and end time of the switching, and can avoid the optical line terminal at the same time. Synchronizing the optical network unit on the downlink wavelength channel, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic.
  • an embodiment of the present invention further provides an optical line terminal OLT 60 in an EPON system, where the EPON system further includes an optical network unit ONU, and the OLT and the ONU are based on multiple downlink wavelengths and one uplink.
  • the wavelength is communicated.
  • the optical line terminal 60 includes a processor 61, a memory 62, a bus system 63, a receiver 64, and a transmitter 65.
  • the processor 61, The memory 62, the receiver 64 and the transmitter 65 are connected by a bus system 63 for storing instructions for executing instructions stored in the memory 62 to control the receiver 64 to receive signals and to control the transmitter.
  • the transmitting signal is used to: send a windowing message to the ONU; the receiver 64 is configured to: receive a registration request message for requesting registration sent by the ONU according to the windowing message, the registration request message Carrying the wavelength information of the ONU, the wavelength information includes a registered downlink wavelength used by the ONU to receive the windowing message; wherein the transmitter 65 is further configured to: send a registration message to the ONU according to the registration request message, the registration The message includes a logical link identifier LLID assigned by the OLT to the ONU. The receiver 64 is further configured to: receive a registration confirmation message sent by the ONU according to the registration message for confirming completion of registration.
  • the optical line terminal in the Ethernet passive optical network system of the embodiment of the present invention indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical line terminal can determine the optical network.
  • the downlink wavelength used by the unit enables device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the optical line terminal can Data communication.
  • the processor 61 may be a central processing unit ("CPU"), and the processor 61 may also be other general-purpose processors, digital signal processors (DSPs).
  • DSPs digital signal processors
  • ASIC application specific integrated circuit
  • FPGA off-the-shelf programmable gate array
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 62 can include read only memory and random access memory and provides instructions and data to the processor 61.
  • a portion of memory 62 may also include non-volatile random access memory.
  • the memory 62 can also store information of the device type.
  • the bus system 63 may include, in addition to the data bus, a power bus, a control bus, and a status signal bus. However, for clarity of description, various buses are labeled as the bus system 63 in the figure.
  • each step of the above method may be completed by an integrated logic circuit of hardware in the processor 61 or an instruction in a form of software.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software modules can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 62, and the processor 61 reads the information in the memory 62 and, in conjunction with its hardware, performs the steps of the above method. To avoid repetition, it will not be described in detail here.
  • the LLID includes information for indicating the registered downlink wavelength.
  • the registration message further includes wavelength confirmation information, where the wavelength confirmation information is used to instruct the OLT to confirm the wavelength information.
  • the discovery information field of the registration request message includes the wavelength information; or the registration request message includes a wavelength information field, where the wavelength information field includes the wavelength information.
  • the wavelength information further includes downlink wavelength adjustment capability information of the ONU, where the downlink wavelength adjustment capability information includes at least one of the following information: a downlink wavelength adjustment interval, a downlink wavelength number, and an adjustable filter.
  • the wavelength adjustment range of the device the adjustment time of each downstream wavelength adjustment interval, and the downstream wavelength adjustment speed.
  • the windowing message is, for example, an MPCP-based GATE message;
  • the registration request message is, for example, an MPCP-based REGISTER_REQ message;
  • the registration message is, for example, an MPCP-based REGISTER message;
  • the registration confirmation message is for example For the MPCP-based REGISTER_ACK message, for the sake of brevity, it is not mentioned here.
  • optical line terminations 60 in accordance with embodiments of the present invention may correspond to the above and other operations and/or functions of the various modules in the end 60 of the present embodiments, respectively, in order to achieve the correspondingness of the method 100 of FIGS. 2 through 4, respectively.
  • the process, for the sake of brevity, will not be described here.
  • the optical line terminal in the Ethernet passive optical network system of the embodiment of the present invention indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical line terminal can determine the optical network.
  • the downlink wavelength used by the unit enables device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the optical line terminal can Data communication.
  • an embodiment of the present invention further provides an optical network unit ONU 70 in an EPON system, where the EPON system further includes an optical line terminal OLT, and the OLT and the ONU are based on multiple downlink wavelengths and one uplink.
  • the wavelength is communicated.
  • the optical network unit 70 includes a processor 71, a memory 72, a bus system 73, a receiver 74, and a transmitter 75.
  • the processor 71, the memory 72, the receiver 74 and the transmitter 75 are connected by a bus system 73 for storing instructions for executing instructions stored in the memory 72 for controlling the receiver 74 to be connected.
  • the optical network unit in the Ethernet passive optical network system of the embodiment of the present invention indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical line terminal can determine the optical network.
  • the downlink wavelength used by the unit enables device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the optical line terminal can Data communication.
  • the LLID includes information for indicating the registered downlink wavelength.
  • the registration message further includes wavelength confirmation information, where the wavelength confirmation information is used to instruct the OLT to confirm the wavelength information.
  • the discovery information field of the registration request message includes the wavelength information; or the registration request message includes a wavelength information field, where the wavelength information field includes the wavelength information.
  • the wavelength information further includes downlink wavelength adjustment capability information of the ONU, where the downlink wavelength adjustment capability information includes at least one of the following information: a downlink wavelength adjustment interval, a downlink wavelength number, and an adjustable filter.
  • the wavelength adjustment range of the device the adjustment time of each downstream wavelength adjustment interval, and the downstream wavelength adjustment speed.
  • the windowing message is, for example, an MPCP-based GATE message;
  • the registration request message is, for example, an MPCP-based REGISTER_REQ message;
  • the registration message is, for example, an MPCP-based REGISTER message;
  • the registration confirmation message is for example For the MPCP-based REGISTER_ACK message, for the sake of brevity, it is not mentioned here.
  • optical network unit 70 may correspond to the ONU in the embodiment of the present invention, and may correspond to the optical network unit 20 provided by the embodiment of the present invention, and the foregoing modules of the optical line terminal 70. And other operations and/or functions, respectively, in order to implement the corresponding processes of the method 200 in FIG. 5, for brevity, no further details are provided herein.
  • the optical network unit in the Ethernet passive optical network system passes The registration request message sent by the optical network unit to the optical line terminal indicates that the downlink wavelength is registered, so that the optical line terminal can determine the downlink wavelength used by the optical network unit, thereby performing communication by using multiple downlink wavelengths and one uplink wavelength.
  • Device registration can be implemented in an Ethernet passive optical network system, whereby data communication can be performed between the optical network unit and the optical line terminal.
  • an embodiment of the present invention further provides an optical line terminal in an EPON system.
  • the OLT 80, the optical line terminal 80 includes a processor 81, a memory 82, a bus system 83, a receiver 84, and a transmitter 85.
  • the processor 81, the memory 82, the receiver 84 and the transmitter 85 are connected by a bus system 83 for storing instructions for executing instructions stored in the memory 82 for controlling the receiver 84 to receive. Signaling, and controlling the transmitter 85 to send a signal;
  • the transmitter 85 is configured to: send a wavelength switch request message to the optical network unit ONU on the source downlink wavelength channel, where the wavelength switch request message is used to indicate that the ONU switches to the target downlink wavelength, and the wavelength switch request message includes The target wavelength information indicating the downlink wavelength of the target, and the switching time information for indicating the start and end time of the downlink wavelength switching;
  • the receiver 84 is configured to: receive, on a fixed uplink wavelength channel, a wavelength switch confirmation message sent by the ONU according to the wavelength switch request message, where the wavelength switch confirmation message is used to indicate that the ONU determines to perform the downlink wavelength switch;
  • the transmitter 85 is further configured to: send, in the start and end time, only a wavelength switch 4 ⁇ right message to the ONU on the target downlink wavelength channel corresponding to the target downlink wavelength, where the wavelength switch authorization message is used to The ONU performs 4 authorizations;
  • the receiver 84 is further configured to: when the ONU successfully switches to the target downlink wavelength in the start and end time, receive a wavelength switch completion message sent by the ONU according to the wavelength switching authorization message on the uplink wavelength channel, where the wavelength switch is performed.
  • the completion message is used to indicate that the ONU successfully switches to the target downstream wavelength within the start and end time.
  • the optical line terminal in the Ethernet passive optical network system indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and switches the start and end time of the downlink wavelength indicated by the optical line terminal.
  • the wavelength switching grant message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching within the start and end time of the switching, and can avoid the optical line terminal at the same time. Synchronizing the optical network unit on the downlink wavelength channel, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic.
  • the transmitter 85 is further configured to: send, according to the wavelength switching completion message, a wavelength switching success message to the ONU on the target downlink wavelength channel, where the wavelength switching success message is used to indicate the optical line
  • the terminal OLT confirms that the ONU downlink wavelength switching is successful.
  • the transmitter 85 is further configured to: when the wavelength switch complete message sent by the ONU is not received within the start and end time, send the same to the ONU only on the source downlink wavelength channel. Wavelength switching 4 ⁇ right message;
  • the receiver 84 is further configured to: receive, on the uplink wavelength channel, a wavelength switch incomplete message sent by the ONU according to the wavelength switching right message, where the wavelength switch incomplete message is used to indicate that the ONU is unsuccessful in the start and end time Switch to the target downstream wavelength.
  • the transmitter 85 is further configured to: send, according to the wavelength switching incomplete message, a wavelength switching unsuccessful message to the ONU on the source downlink wavelength channel, where the wavelength switching unsuccessful message is used The OLT is instructed to confirm that the ONU downlink wavelength switching is unsuccessful.
  • At least one of the wavelength switch request message, the wavelength switch acknowledgement message, the wavelength switch grant message, and the wavelength switch complete message is a multipoint control protocol (MPCP) message or an operation management maintenance.
  • MPCP multipoint control protocol
  • AM message is a multipoint control protocol (MPCP) message or an operation management maintenance.
  • optical line terminal 80 may correspond to the OLT in the embodiment of the present invention, and may correspond to the optical line terminal 30 provided by the embodiment of the present invention, and the foregoing modules of the optical line terminal 80. And other operations and/or functions, respectively, in order to implement the corresponding processes of the method 500 in FIG. 7 to FIG. 11 , for brevity, no further details are provided herein.
  • the optical line terminal in the Ethernet passive optical network system indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and switches the start and end time of the downlink wavelength indicated by the optical line terminal.
  • the wavelength switching grant message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching within the start and end time of the switching, and can avoid the optical line terminal at the same time. Synchronizing the optical network unit on the downlink wavelength channel, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic.
  • an embodiment of the present invention further provides an optical network unit ONU 90 in an EPON system.
  • the optical network unit 90 includes a processor 91, a memory 92, a bus system 93, a receiver 94, and a transmitter 95.
  • the processor 91, the memory 92, the receiver 94 and the transmitter 95 are connected by a bus system 93 for storing instructions for executing instructions stored in the memory 92 for controlling the receiver 94 to receive.
  • Signal, and control transmitter 95 Send a signal;
  • the receiver 94 is configured to: receive, by using the source downlink downlink channel, a wavelength switch request message sent by the optical line terminal OLT, where the wavelength switch request message is used to indicate that the optical network unit ONU switches to the target downlink wavelength, and the wavelength switch request is The message includes target wavelength information for indicating the downlink wavelength of the target, and switching time information for indicating the start and end time of the downlink wavelength switching.
  • the transmitter 95 is configured to: switch the request message according to the wavelength on the fixed uplink wavelength channel. Sending a wavelength switch confirmation message to the OLT, where the wavelength switch confirmation message is used to indicate that the ONU determines to perform the downlink wavelength switch;
  • the receiver 94 is further configured to: when the ONU successfully switches to the target downlink wavelength in the start and end time, receive the wavelength switching authorization message sent by the OLT only on the target downlink wavelength channel corresponding to the target downlink wavelength.
  • the wavelength switching authorization message is used to authorize the ONU;
  • the transmitter 95 is further configured to: send, on the uplink wavelength channel, a wavelength switch completion message to the OLT according to the wavelength switching message, where the wavelength switch completion message is used to indicate that the ONU successfully switches to the start and end time.
  • the target downstream wavelength is further configured to: send, on the uplink wavelength channel, a wavelength switch completion message to the OLT according to the wavelength switching message, where the wavelength switch completion message is used to indicate that the ONU successfully switches to the start and end time.
  • the optical network unit in the Ethernet passive optical network system of the embodiment of the present invention indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and switches the start and end time of the downlink wavelength indicated by the optical line terminal.
  • the wavelength switching grant message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching within the start and end time of the switching, and can avoid the optical line terminal at the same time. Synchronizing the optical network unit on the downlink wavelength channel, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic.
  • the receiver 94 is further configured to: receive, on the target downlink wavelength channel, a wavelength switch success message sent by the OLT according to the wavelength switch completion message, where the wavelength switch success message is used to indicate the The OLT confirms that the ONU downlink wavelength switching is successful.
  • the receiver 94 is further configured to: when the ONU fails to successfully switch to the target downlink wavelength within the start and end time, after the start and end time expires, receiving the OLT is only in the source downlink The wavelength switching 4 wavelength message sent on the wavelength channel;
  • the transmitter 95 is further configured to: send, on the uplink wavelength channel, a wavelength switch incomplete message to the OLT according to the wavelength switching message, where the wavelength switch incomplete message is used to indicate that the ONU is not in the start and end time. Successfully switched to the target downstream wavelength.
  • the receiver 94 is further configured to: receive, on the source downlink wavelength channel, a wavelength switch unsuccessful message that is sent by the OLT according to the wavelength switching incomplete message, where the wavelength switching is unsuccessful message The OLT is instructed to confirm that the ONU downlink wavelength switching is unsuccessful.
  • At least one of the wavelength switch request message, the wavelength switch acknowledgement message, the wavelength switch grant message, and the wavelength switch complete message is a multipoint control protocol (MPCP) message or an operation management and maintenance OAM. Message.
  • MPCP multipoint control protocol
  • OAM operation management and maintenance
  • optical network unit 90 may correspond to the ONU in the embodiment of the present invention, and may correspond to the optical network unit 40 provided by the embodiment of the present invention, and the foregoing modules of the optical network unit 90. And other operations and/or functions, respectively, in order to implement the corresponding processes of the method 600 in FIG. 12 to FIG. 14 , for brevity, no further details are provided herein.
  • the optical network unit in the Ethernet passive optical network system of the embodiment of the present invention indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and switches the start and end time of the downlink wavelength indicated by the optical line terminal.
  • the wavelength switching grant message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching within the start and end time of the switching, and can avoid the optical line terminal at the same time. Synchronizing the optical network unit on the downlink wavelength channel, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic.
  • system and “network” are often used interchangeably herein.
  • the term “and/or” in this context is merely an association describing the associated object, indicating that there may be three relationships, for example, A and / or can represent: eight exist alone, eight and ⁇ exist alone, and three exist separately. kind of situation.
  • the character "/" in this article generally indicates that the contextual object is an "or" relationship.
  • B corresponding to A means that B is associated with A, and B can be determined based on A.
  • determining B according to A does not mean that B is only determined according to A, but also can be determined based on A and/or other information.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct connection or communication connection shown or discussed may be an indirect connection or communication connection through some interface, device or unit, or may be an electrical, mechanical or other form. connection.
  • the components displayed for the unit may or may not be physical units, ie may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like. The medium of the code.

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Optical Communication System (AREA)
  • Small-Scale Networks (AREA)

Abstract

Disclosed are a method and an apparatus for device registration and wavelength switching in an Ethernet passive optical network system. The method comprises: sending a windowing message to an ONU; receiving a registration request message that is sent by the ONU according to the windowing message and used for requesting registration, the registration request message carrying wavelength information of the ONU, and the wavelength information comprising a registration downlink wavelength adopted by the ONU for receiving the windowing message; sending the registration message to the ONU according to the registration request message, the registration message comprising a logical link identifier (LLID) allocated by an OLT to the ONU; and receiving a registration acknowledgment message that is sent by the ONU according to the registration message and used for acknowledging completion of the registration. By means of the method and apparatus according to embodiments of the present invention, device registration and wavelength switching can be implemented in an Ethernet passive optical network system that adopts multiple downlink wavelengths and one uplink wavelength for communication, the process can be simplified, and the service volume of the system is increased.

Description

以太网无源光网络系统中设备注册和波长切换的方法和装置 技术领域  Method and device for device registration and wavelength switching in Ethernet passive optical network system
本发明涉及光通信领域, 尤其涉及光通信领域中的以太网无源光网络系 统中设备注册和波长切换的方法和装置。 背景技术  The present invention relates to the field of optical communications, and more particularly to a method and apparatus for device registration and wavelength switching in an Ethernet passive optical network system in the field of optical communications. Background technique
随着光通信技术的迅速发展, 无源光网络( Passive Optical Network, 简 称为 "PON" ) 系统在光通信技术中的应用越来越广。 PON系统可以包括时 分复用 (Time Division Multiplexing, 简称为 "TDM" ) PON、 吉比特无源光 网络( Gigabit Passive Optical Network, 简称为 "GPON" )、 以太网无源光网 络( Ethernet Passive Optical Network,简称为 'ΈΡΟΝ" )、时分波分复用( Time Wavelength Division Multiplexing, 简称为 "TWDM" ) PON、 点对点(Point to Point, 简称为 "PtP" )波分复用 (Wavelength Division Multiplexing, 简称为 "WDM" ) PON等。  With the rapid development of optical communication technology, Passive Optical Network ("PON") systems are increasingly used in optical communication technologies. The PON system may include Time Division Multiplexing (TDM) PON, Gigabit Passive Optical Network (GPON), and Ethernet Passive Optical Network. , referred to as 'ΈΡΟΝ'), Time Wavelength Division Multiplexing (TWDM) PON, Point to Point (PtP) Wavelength Division Multiplexing (Wavelength Division Multiplexing, referred to as "WDM") PON and so on.
对于每种类型的 PON系统, 该 PON系统都可以包括: 位于中心局的光 线路终端 ( Optical Line Terminal, 简称为 "OLT" )、 包括无源光器件的光分 配网络( Optical Distribution Network, 简称为 "ODN" )、 以及位于用户端的 光网络单元( Optical Network Unit, 简称为 "ONU" ) /光网络终端 ( Optical Network Terminal, 简称为 'ΌΝΤ" ), 其中, 可以用 ONU指代 ONU和 /或 ONT。  For each type of PON system, the PON system may include: an Optical Line Terminal ("OLT") located at the central office, and an Optical Distribution Network (hereinafter referred to as an Optical Distribution Network). "ODN"), and an Optical Network Unit ("ONU") / Optical Network Terminal ("A" for short), where the ONU can be used to refer to the ONU and/or ONT.
为了提高 PON 系统的容量, 国际电信联盟远程通信标准化组 (ITU Telecommunication Standardization Sector,简称为 "ITU-T",其中, International Telecommunication Union简称为 "ITU" )提出了一种称为下一代以太网无源 光网络( Next Generation-EPON, 简称为 "NG-EPON" ) 的通信系统, 该 NG-EPON 系统可能釆用多个下行波长和一个上行波长进行通信的网络架 构。 但在该 NG-EPON系统中, 没有现有的设备注册和波长切换的方法可以 适用该网络架构。  In order to increase the capacity of the PON system, the ITU Telecommunication Standardization Sector ("ITU-T", in which the International Telecommunication Union is referred to as "ITU") proposes a type called Next Generation Ethernet. A communication system of Next Generation-EPON (NG-EPON), which may use a network architecture in which multiple downlink wavelengths and one upstream wavelength are used for communication. However, in the NG-EPON system, there is no existing device registration and wavelength switching method applicable to the network architecture.
因此, 在下一代以太网无源光网络系统中, 如何进行设备注册和波长切 换是当前亟待解决的问题。 发明内容 Therefore, in the next-generation Ethernet passive optical network system, how to perform device registration and wavelength switching is an urgent problem to be solved. Summary of the invention
有鉴于此,本发明实施例提供了一种以太网无源光网络系统中设备注册 和波长切换的方法和装置, 能够在釆用多个下行波长和一个上行波长进行通 信的以太网无源光网络系统中进行设备注册和波长切换。  In view of this, embodiments of the present invention provide a method and apparatus for device registration and wavelength switching in an Ethernet passive optical network system, which are capable of communicating Ethernet passive light using multiple downlink wavelengths and one upstream wavelength. Device registration and wavelength switching in the network system.
第一方面, 提供了一种以太网无源光网络 EPON 系统中设备注册的方 法, 该 EPON系统包括光线路终端 OLT和光网络单元 ONU, 该 OLT与该 ONU之间基于多个下行波长和一个上行波长进行通信, 其中, 该方法包括: 向该 ONU发送开窗消息; 接收该 ONU根据该开窗消息发送的用于请求注 册的注册请求消息, 该注册请求消息携带该 ONU的波长信息, 该波长信息 包括该 ONU接收该开窗消息所釆用的注册下行波长; 通过所述注册下行波 长向该 ONU发送注册消息, 该注册消息包括该 OLT为该 ONU分配的逻辑 链路标记 LLID;接收该 ONU根据该注册消息发送的用于确认完成注册的注 册确认消息。  In a first aspect, a method for device registration in an EPON system of an Ethernet passive optical network is provided. The EPON system includes an optical line terminal OLT and an optical network unit ONU, and the OLT and the ONU are based on multiple downlink wavelengths and one uplink. Wavelength communication, wherein the method includes: sending a windowing message to the ONU; receiving a registration request message for requesting registration sent by the ONU according to the windowing message, the registration request message carrying wavelength information of the ONU, the wavelength The information includes a registered downlink wavelength used by the ONU to receive the windowing message; sending, by the registered downlink wavelength, a registration message to the ONU, where the registration message includes a logical link identifier LLID allocated by the OLT to the ONU; and receiving the ONU A registration confirmation message sent to confirm the registration is completed according to the registration message.
结合第一方面, 在第一方面的第一种可能的实现方式中, 该注册消息还 包括波长确认信息, 该波长确认信息用于指示该 OLT确认该波长信息。  In conjunction with the first aspect, in a first possible implementation manner of the first aspect, the registration message further includes wavelength confirmation information, where the wavelength confirmation information is used to indicate that the OLT confirms the wavelength information.
结合第一方面、 第一方面的第一种可能的实现方式, 在第一方面的第二 种可能的实现方式中, 该注册请求消息的发现信息域包括该波长信息; 或该 注册请求消息包括波长信息域, 该波长信息域包括该波长信息。  With reference to the first aspect, the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the discovery information field of the registration request message includes the wavelength information; or the registration request message includes A wavelength information field, the wavelength information field including the wavelength information.
结合第一方面或第一方面的第一种或第二种可能的实现方式,在第一方 面的第三种可能的实现方式中, 该波长信息还包括该 ONU的下行波长调节 能力信息, 该下行波长调节能力信息包括下列信息中的至少一种: 下行波长 调节间隔、 下行波长数、 可调滤波器的波长调节范围、 每个下行波长调节间 隔的调节时间和下行波长调节速度。  With reference to the first aspect or the first or second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the wavelength information further includes downlink wavelength adjustment capability information of the ONU, where The downlink wavelength adjustment capability information includes at least one of the following information: a downlink wavelength adjustment interval, a downlink wavelength number, a wavelength adjustment range of the tunable filter, an adjustment time of each downlink wavelength adjustment interval, and a downlink wavelength adjustment speed.
第二方面, 提供了一种以太网无源光网络 EPON 系统中设备注册的方 法, 该 EPON系统包括光线路终端 OLT和光网络单元 ONU, 该 OLT与该 ONU之间基于多个下行波长和一个上行波长进行通信, 其中, 该方法包括: 接收该 OLT发送的开窗消息; 根据该开窗消息, 向该 OLT发送用于请求注 册的注册请求消息, 该注册请求消息携带该 ONU的波长信息, 该波长信息 包括该 ONU接收该开窗消息所釆用的注册下行波长;接收该 OLT根据该注 册请求消息发送的注册消息,该注册消息包括该 OLT为该 ONU分配的逻辑 链路标记 LLID; 根据该注册消息向该 OLT发送用于确认完成注册的注册确 认消息。 In a second aspect, a method for device registration in an EPON system of an Ethernet passive optical network is provided. The EPON system includes an optical line terminal OLT and an optical network unit ONU, and the OLT and the ONU are based on multiple downlink wavelengths and one uplink. The wavelength communication is performed, where the method includes: receiving a windowing message sent by the OLT; sending, according to the windowing message, a registration request message for requesting registration, the registration request message carrying wavelength information of the ONU, where The wavelength information includes a registration downlink wavelength used by the ONU to receive the windowing message; receiving a registration message sent by the OLT according to the registration request message, where the registration message includes a logical link identifier LLID allocated by the OLT to the ONU; The registration message sends a registration to the OLT to confirm the completion of the registration. Recognize the news.
结合第二方面, 在第二方面的第一种可能的实现方式中, 该注册消息还 包括波长确认信息, 该波长确认信息用于指示该 OLT确认该波长信息。  In conjunction with the second aspect, in a first possible implementation manner of the second aspect, the registration message further includes wavelength confirmation information, where the wavelength confirmation information is used to indicate that the OLT confirms the wavelength information.
结合第二方面、 第二方面的第一种可能的实现方式, 在第二方面的第二 种可能的实现方式中, 该注册请求消息的发现信息域包括该波长信息; 或该 注册请求消息包括波长信息域, 该波长信息域包括该波长信息。  With reference to the second aspect, the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the discovery information field of the registration request message includes the wavelength information; or the registration request message includes A wavelength information field, the wavelength information field including the wavelength information.
结合第二方面或第二方面的第一种或第二种可能的实现方式,在第二方 面的第三种可能的实现方式中, 该波长信息还包括该 ONU的下行波长调节 能力信息, 该下行波长调节能力信息包括下列信息中的至少一种: 下行波长 调节间隔、 下行波长数、 可调滤波器的波长调节范围、 每个下行波长调节间 隔的调节时间和下行波长调节速度。  With reference to the second aspect or the first or second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the wavelength information further includes downlink wavelength adjustment capability information of the ONU, where The downlink wavelength adjustment capability information includes at least one of the following information: a downlink wavelength adjustment interval, a downlink wavelength number, a wavelength adjustment range of the tunable filter, an adjustment time of each downlink wavelength adjustment interval, and a downlink wavelength adjustment speed.
第三方面, 提供了一种以太网无源光网络 EPON 系统中波长切换的方 法, 该 EPON系统包括光线路终端 OLT和光网络单元 ONU, 该 OLT与该 ONU之间基于多个下行波长和一个上行波长进行通信, 其中, 该方法包括: 换请求消息用于指示该 ONU切换至目标下行波长, 并且该波长切换请求消 息包括用于指示该目标下行波长的目标波长信息, 以及用于指示下行波长切 换的起止时间的切换时间信息; 在所述上行波长通道上, 接收该 ONU根据 该波长切换请求消息发送的波长切换确认消息, 该波长切换确认消息用于指 示该 ONU确定执行该下行波长切换; 在该起止时间内, 在与该目标下行波 长相应的目标下行波长通道上向该 ONU发送波长切换 4吏权消息, 该波长切 换授权消息用于对该 ONU进行授权; 当该 ONU在该起止时间内成功切换 到该目标下行波长时, 在该上行波长通道上接收该 ONU根据该波长切换 4受 权消息发送的波长切换完成消息, 该波长切换完成消息用于指示该 ONU在 该起止时间内成功切换到该目标下行波长。  In a third aspect, a method for wavelength switching in an EPON system of an Ethernet passive optical network is provided. The EPON system includes an optical line terminal OLT and an optical network unit ONU, and the OLT and the ONU are based on multiple downlink wavelengths and an uplink. The wavelength communication is performed, where the method includes: the change request message is used to indicate that the ONU switches to the target downlink wavelength, and the wavelength switch request message includes target wavelength information used to indicate the target downlink wavelength, and is used to indicate downlink wavelength switching. The switching time information of the start and end time; receiving, on the uplink wavelength channel, a wavelength switching confirmation message sent by the ONU according to the wavelength switching request message, where the wavelength switching confirmation message is used to indicate that the ONU determines to perform the downlink wavelength switching; And transmitting, in the start and end time, a wavelength switching 4 吏 message to the ONU on the target downlink wavelength channel corresponding to the target downlink wavelength, where the wavelength switching authorization message is used to authorize the ONU; when the ONU is in the start and end time When successfully switching to the target downstream wavelength, on the uplink The ONU receiving the long wavelength channel switching complete message based on the message transmission right by 4 wavelength switching, wavelength switching complete message to indicate the success of the handover to the target ONU downstream wavelength within the start and end time.
结合第三方面,在第三方面的第一种可能的实现方式中,该方法还包括: 在该目标下行波长通道上, 根据该波长切换完成消息向该 ONU发送波长切 换成功消息,该波长切换成功消息用于指示光线路终端 OLT确认该 ONU下 行波长切换成功。  With reference to the third aspect, in a first possible implementation manner of the third aspect, the method further includes: sending, on the target downlink wavelength channel, a wavelength switching success message to the ONU according to the wavelength switching completion message, the wavelength switching The success message is used to indicate that the optical line terminal OLT confirms that the ONU downlink wavelength switching is successful.
结合第三方面,在第三方面的第二种可能的实现方式中,该方法还包括: 当在该起止时间内没有接收到该 ONU发送的该波长切换完成消息时, 仅在 该源下行波长通道上向该 ONU发送该波长切换授权消息; 在该上行波长通 道上, 接收该 ONU根据该波长切换授权消息发送的波长切换未完成消息, 该波长切换未完成消息用于指示该 ONU在该起止时间内未成功切换到该目 标下行波长。 With reference to the third aspect, in a second possible implementation manner of the third aspect, the method further includes: when the wavelength switching completion message sent by the ONU is not received within the start and end time, only in the And transmitting, by the source downlink downlink channel, the wavelength switching authorization message to the ONU; receiving, on the uplink wavelength channel, a wavelength switching incomplete message sent by the ONU according to the wavelength switching authorization message, where the wavelength switching incomplete message is used to indicate the The ONU did not successfully switch to the target downstream wavelength during the start and end time.
结合第三方面的第二种可能的实现方式,在第三方面的第三种可能的实 现方式中, 该方法还包括: 在该源下行波长通道上, 根据该波长切换未完成 消息向该 ONU发送波长切换未成功消息, 该波长切换未成功消息用于指示 OLT确认该 ONU下行波长切换未成功。  With the second possible implementation of the third aspect, in a third possible implementation manner of the third aspect, the method further includes: switching, according to the wavelength, an incomplete message to the ONU on the source downlink wavelength channel The wavelength switching unsuccessful message is sent, and the wavelength switching unsuccessful message is used to instruct the OLT to confirm that the ONU downlink wavelength switching is unsuccessful.
结合第三方面或第三方面的第一种至第三种可能的实现方式中的任一 种可能的实现方式, 在第三方面的第四种可能的实现方式中, 该波长切换请 求消息、 该波长切换确认消息、 该波长切换 4吏权消息和该波长切换完成消息 中的至少一种消息为多点控制协议 MPCP消息或运营管理维护 OAM消息。  With reference to the third aspect, or any one of the first to the third possible implementation manners of the third aspect, in a fourth possible implementation manner of the third aspect, the wavelength switching request message, The at least one of the wavelength switch acknowledgement message, the wavelength switch 4 吏 message, and the wavelength switch complete message is a multipoint control protocol MPCP message or an operation management maintenance OAM message.
第四方面, 提供了一种以太网无源光网络 EPON 系统中波长切换的方 法, 该 EPON系统包括光线路终端 OLT和光网络单元 ONU, 该 OLT与该 ONU之间基于多个下行波长和一个上行波长进行通信, 其中, 该方法包括: 在源下行波长通道上接收光线路终端 OLT发送的波长切换请求消息, 该波 长切换请求消息用于指示光网络单元 ONU切换至目标下行波长, 并且该波 长切换请求消息包括用于指示该目标下行波长的目标波长信息, 以及用于指 示下行波长切换的起止时间的切换时间信息; 在所述上行波长通道上, 根据 该波长切换请求消息向该 OLT发送波长切换确认消息, 该波长切换确认消 息用于指示该 ONU确定执行该下行波长切换; 当该 ONU在该起止时间内 成功切换到该目标下行波长时, 接收该 OLT在与该目标下行波长相应的目 标下行波长通道上发送的波长切换 4吏权消息, 该波长切换 4吏权消息用于对该 ONU进行授权; 在该上行波长通道上, 根据该波长切换授权消息向该 OLT 发送波长切换完成消息, 该波长切换完成消息用于指示该 ONU在该起止时 间内成功切换到该目标下行波长。  In a fourth aspect, a method for wavelength switching in an EPON system of an Ethernet passive optical network is provided. The EPON system includes an optical line terminal OLT and an optical network unit ONU, and the OLT and the ONU are based on multiple downlink wavelengths and one uplink. The wavelength is communicated, wherein the method includes: receiving, on the source downlink wavelength channel, a wavelength switching request message sent by the optical line terminal OLT, where the wavelength switching request message is used to indicate that the optical network unit ONU switches to the target downlink wavelength, and the wavelength switching The request message includes target wavelength information for indicating the downlink wavelength of the target, and switching time information for indicating the start and end time of the downlink wavelength switching. On the uplink wavelength channel, the wavelength switching request message is sent to the OLT according to the wavelength switching request message. Acknowledgement message, the wavelength switch confirmation message is used to indicate that the ONU determines to perform the downlink wavelength switching; when the ONU successfully switches to the target downlink wavelength in the start and end time, receiving the target downlink of the OLT corresponding to the target downlink wavelength Wavelength switching on the wavelength channel 4 And the wavelength switching message is used to indicate the ONU. The wavelength switching completion message is sent to the OLT according to the wavelength switching authorization message, where the wavelength switching completion message is used to indicate the ONU. Successfully switch to the target downstream wavelength during the start and end time.
结合第四方面,在第四方面的第一种可能的实现方式中,该方法还包括: 在该目标下行波长通道上, 接收该 OLT根据该波长切换完成消息发送的波 长切换成功消息,该波长切换成功消息用于指示该 OLT确认该 ONU下行波 长切换成功。  With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, the method further includes: receiving, on the target downlink wavelength channel, a wavelength switching success message sent by the OLT according to the wavelength switching completion message, the wavelength The handover success message is used to indicate that the OLT confirms that the ONU downlink wavelength handover is successful.
结合第四方面,在第四方面的第二种可能的实现方式中,该方法还包括: 当该 ONU在该起止时间内未成功切换到该目标下行波长时, 在该起止时间 超时后, 接收该 OLT仅在该源下行波长通道上发送的该波长切换授权消息; 在该上行波长通道上, 根据该波长切换 4吏权消息向该 OLT发送波长切换未 完成消息, 该波长切换未完成消息用于指示该 ONU在该起止时间内未成功 切换到该目标下行波长。 With reference to the fourth aspect, in a second possible implementation manner of the fourth aspect, the method further includes: When the ONU fails to switch to the target downlink wavelength within the start and end time, after the start and end time expires, the wavelength switching authorization message sent by the OLT on the source downlink wavelength channel is received; on the uplink wavelength channel. The wavelength switch incomplete message is sent to the OLT according to the wavelength switching message, and the wavelength switch incomplete message is used to indicate that the ONU does not successfully switch to the target downlink wavelength within the start and end time.
结合第四方面的第二种可能的实现方式,在第四方面的第三种可能的实 现方式中, 该方法还包括: 在该源下行波长通道上, 接收该 OLT根据该波 长切换未完成消息发送的波长切换未成功消息, 该波长切换未成功消息用于 指示该 OLT确认该 ONU下行波长切换未成功。  In conjunction with the second possible implementation of the fourth aspect, in a third possible implementation manner of the fourth aspect, the method further includes: receiving, on the source downlink wavelength channel, the OLT to perform an incomplete message according to the wavelength switching The wavelength switching unsuccessful message is sent, and the wavelength switching unsuccessful message is used to indicate that the OLT confirms that the ONU downlink wavelength switching is unsuccessful.
结合第四方面或第四方面的第一种至第三种可能的实现方式中的任一 种可能的实现方式, 在第四方面的第四种可能的实现方式中, 该波长切换请 求消息、 该波长切换确认消息、 该波长切换 4吏权消息和该波长切换完成消息 中的至少一种消息为多点控制协议 MPCP消息或运营管理维护 OAM消息。  With reference to the fourth aspect, or any one of the first to the third possible implementation manners of the fourth aspect, in a fourth possible implementation manner of the fourth aspect, the wavelength switching request message, The at least one of the wavelength switch acknowledgement message, the wavelength switch 4 吏 message, and the wavelength switch complete message is a multipoint control protocol MPCP message or an operation management maintenance OAM message.
第五方面, 提供了一种以太网无源光网络 EPON 系统中的光线路终端 OLT, 该 EPON系统包括光线路终端 OLT和光网络单元 ONU, 该 OLT与该 ONU之间基于多个下行波长和一个上行波长进行通信, 该 EPON系统还包 括光网络单元 ONU, 该 OLT与该 ONU之间基于多个下行波长和一个上行 波长进行通信, 其中, 该 OLT包括: 发送模块, 用于向该 ONU发送开窗消 息; 接收模块, 用于接收该 ONU根据该发送模块发送的该开窗消息而发送 的用于请求注册的注册请求消息,该注册请求消息携带该 ONU的波长信息, 该波长信息包括该 ONU接收该开窗消息所釆用的注册下行波长; 其中, 该 发送模块还用于: 根据该接收模块接收的该注册请求消息, 向该 ONU发送 注册消息, 该注册消息包括该 OLT为该 ONU分配的逻辑链路标记 LLID; 该接收模块还用于: 接收该 ONU根据该发送模块发送的该注册消息发送的 用于确认完成注册的注册确认消息。  The fifth aspect provides an optical line terminal OLT in an EPON system of an Ethernet passive optical network, where the EPON system includes an optical line terminal OLT and an optical network unit ONU, and the OLT and the ONU are based on multiple downlink wavelengths and one The EPON system further includes an optical network unit ONU, and the OLT communicates with the ONU based on a plurality of downlink wavelengths and an uplink wavelength, where the OLT includes: a sending module, configured to send the ONU to the ONU a receiving message, configured to receive, by the ONU, a registration request message for requesting registration sent by the ONU according to the windowing message sent by the sending module, where the registration request message carries wavelength information of the ONU, where the wavelength information includes the ONU Receiving the registered downlink wavelength used by the windowing message; wherein the sending module is further configured to: send, according to the registration request message received by the receiving module, a registration message to the ONU, where the registration message includes the OLT allocating the ONU Logical link tag LLID; the receiving module is further configured to: receive the ONU sent according to the sending module The registration confirmation message sent by the registration message to confirm the completion of the registration.
结合第五方面, 在第五方面的第一种可能的实现方式中, 该发送模块发 送的该注册消息还包括波长确认信息, 该波长确认信息用于指示该 OLT确 认该波长信息。  With reference to the fifth aspect, in a first possible implementation manner of the fifth aspect, the registration message sent by the sending module further includes wavelength confirmation information, where the wavelength confirmation information is used to indicate that the OLT confirms the wavelength information.
结合第五方面、 第五方面的第一种可能的实现方式, 在第五方面的第二 种可能的实现方式中, 该接收模块接收的该注册请求消息的发现信息域包括 该波长信息; 或该接收模块接收的该注册请求消息包括波长信息域, 该波长 信息域包括该波长信息。 With reference to the fifth aspect, the first possible implementation manner of the fifth aspect, in a second possible implementation manner of the fifth aspect, the discovery information field of the registration request message received by the receiving module includes the wavelength information; or The registration request message received by the receiving module includes a wavelength information field, the wavelength The information field includes the wavelength information.
结合第五方面或第五方面的第一种或第二种可能的实现方式中的任一 种可能的实现方式, 在第五方面的第三种可能的实现方式中, 该接收模块接 收的该波长信息还包括该 ONU的下行波长调节能力信息, 该下行波长调节 能力信息包括下列信息中的至少一种: 下行波长调节间隔、 下行波长数、 可 调滤波器的波长调节范围、每个下行波长调节间隔的调节时间和下行波长调 节速度。  With reference to the fifth aspect, or any one of the possible implementation manners of the first or the second possible implementation manner of the fifth aspect, in a third possible implementation manner of the fifth aspect, the receiving module receives the The wavelength information further includes downlink wavelength adjustment capability information of the ONU, where the downlink wavelength adjustment capability information includes at least one of the following information: a downlink wavelength adjustment interval, a downlink wavelength number, a wavelength adjustment range of the tunable filter, and each downlink wavelength. Adjust the interval adjustment time and the downstream wavelength adjustment speed.
第六方面, 提供了一种以太网无源光网络 EPON 系统中的光网络单元 ONU, 该 EPON系统包括光线路终端 OLT和光网络单元 ONU, 该 OLT与 该 ONU之间基于多个下行波长和一个上行波长进行通信, 该 EPON系统还 包括光线路终端 OLT,该 OLT与该 ONU之间基于多个下行波长和一个上行 波长进行通信, 其中, 该 ONU包括: 接收模块, 用于接收该 OLT发送的开 窗消息; 发送模块, 用于根据该接收模块接收的该开窗消息, 向该 OLT发 送用于请求注册的注册请求消息,该注册请求消息携带该 ONU的波长信息, 该波长信息包括该 ONU接收该开窗消息所釆用的注册下行波长; 该接收模 块还用于: 接收该 OLT根据该发送模块发送的该注册请求消息而发送的注 册消息, 该注册消息包括该 OLT为该 ONU分配的逻辑链路标记 LLID; 该 发送模块还用于: 根据该接收模块接收的该注册消息向该 OLT发送用于确 认完成注册的注册确认消息。  The sixth aspect provides an optical network unit ONU in an EPON system of an Ethernet passive optical network, where the EPON system includes an optical line terminal OLT and an optical network unit ONU, and the OLT and the ONU are based on multiple downlink wavelengths and one Upstream wavelength communication, the EPON system further includes an optical line terminal OLT, and the OLT communicates with the ONU based on multiple downlink wavelengths and an uplink wavelength, where the ONU includes: a receiving module, configured to receive the OLT sending a sending message, configured to send, according to the windowing message received by the receiving module, a registration request message for requesting registration to the OLT, where the registration request message carries wavelength information of the ONU, where the wavelength information includes the ONU Receiving the registered downlink wavelength used by the windowing message; the receiving module is further configured to: receive a registration message sent by the OLT according to the registration request message sent by the sending module, where the registration message includes the OLT allocated to the ONU The logical link tag LLID; the sending module is further configured to: according to the registration message received by the receiving module OLT transmits a registration acknowledgment message to complete the registration acknowledgment.
结合第六方面, 在第六方面的第一种可能的实现方式中, 该接收模块接 收的该注册消息还包括波长确认信息, 该波长确认信息用于指示该 OLT确 认该波长信息。  In conjunction with the sixth aspect, in a first possible implementation manner of the sixth aspect, the registration message received by the receiving module further includes wavelength confirmation information, where the wavelength confirmation information is used to indicate that the OLT confirms the wavelength information.
结合第六方面、 第六方面的第一种可能的实现方式, 在第六方面的第二 种可能的实现方式中, 该发送模块发送的该注册请求消息的发现信息域包括 该波长信息; 或该发送模块发送的该注册请求消息包括波长信息域, 该波长 信息域包括该波长信息。  With reference to the sixth aspect, the first possible implementation manner of the sixth aspect, in a second possible implementation manner of the sixth aspect, the discovery information field of the registration request message sent by the sending module includes the wavelength information; or The registration request message sent by the sending module includes a wavelength information field, and the wavelength information field includes the wavelength information.
结合第六方面或第六方面的第一种或第二种可能的实现方式,在第六方 面的第三种可能的实现方式中,该发送模块发送的该波长信息还包括该 ONU 的下行波长调节能力信息,该下行波长调节能力信息包括下列信息中的至少 一种: 下行波长调节间隔、 下行波长数、 可调滤波器的波长调节范围、 每个 下行波长调节间隔的调节时间和下行波长调节速度。 第七方面, 提供了一种以太网无源光网络 EPON 系统中的光线路终端 OLT, 该 EPON系统包括光线路终端 OLT和光网络单元 ONU, 该 OLT与该 ONU之间基于多个下行波长和一个上行波长进行通信,其中,该 OLT包括: 消息, 该波长切换请求消息用于指示该 ONU切换至目标下行波长, 并且该 波长切换请求消息包括用于指示该目标下行波长的目标波长信息, 以及用于 指示下行波长切换的起止时间的切换时间信息; 接收模块, 用于在所述上行 波长通道上, 接收该 ONU根据该发送模块发送的该波长切换请求消息而发 送的波长切换确认消息, 该波长切换确认消息用于指示该 ONU确定执行该 下行波长切换; 其中, 该发送模块还用于: 在该起止时间内, 在与该目标下 行波长相应的目标下行波长通道上向该 ONU发送波长切换 4吏权消息, 该波 长切换授权消息用于对该 ONU进行授权; 该接收模块还用于: 当该 ONU 在该起止时间内成功切换到该目标下行波长时,在该上行波长通道上接收该 ONU根据该发送模块发送的该波长切换授权消息而发送的波长切换完成消 息, 该波长切换完成消息用于指示该 ONU在该起止时间内成功切换到该目 标下行波长。 With reference to the sixth aspect or the first or the second possible implementation manner of the sixth aspect, in the third possible implementation manner of the sixth aspect, the wavelength information sent by the sending module further includes a downlink wavelength of the ONU Adjusting capability information, the downlink wavelength adjustment capability information includes at least one of the following information: a downlink wavelength adjustment interval, a downlink wavelength number, a wavelength adjustment range of the tunable filter, an adjustment time of each downlink wavelength adjustment interval, and a downlink wavelength adjustment speed. The seventh aspect provides an optical line terminal OLT in an EPON system of an Ethernet passive optical network, where the EPON system includes an optical line terminal OLT and an optical network unit ONU, and the OLT and the ONU are based on multiple downlink wavelengths and one The uplink wavelength is used for communication, where the OLT includes: a message, the wavelength switch request message is used to indicate that the ONU switches to the target downlink wavelength, and the wavelength switch request message includes target wavelength information for indicating the target downlink wavelength, and a switching time information indicating a start and end time of the downlink wavelength switching; a receiving module, configured to receive, on the uplink wavelength channel, a wavelength switching confirmation message sent by the ONU according to the wavelength switching request message sent by the sending module, the wavelength The switching acknowledgement message is used to indicate that the ONU determines to perform the downlink wavelength switching. The sending module is further configured to: send the wavelength switch 4 to the ONU on the target downlink wavelength channel corresponding to the target downlink wavelength during the start and end time. a weighting message, the wavelength switching authorization message is used to authorize the ONU; The module is further configured to: when the ONU successfully switches to the target downlink wavelength in the start and end time, receive a wavelength switch completion message sent by the ONU according to the wavelength switching authorization message sent by the sending module, on the uplink wavelength channel, The wavelength switch completion message is used to indicate that the ONU successfully switches to the target downlink wavelength within the start and end time.
结合第七方面, 在第七方面的第一种可能的实现方式中, 该发送模块还 用于: 在该目标下行波长通道上, 根据该波长切换完成消息向该 ONU发送 波长切换成功消息, 该波长切换成功消息用于指示光线路终端 OLT确认该 ONU下行波长切换成功。  With reference to the seventh aspect, in a first possible implementation manner of the seventh aspect, the sending module is further configured to: send, by using the wavelength switching completion message, a wavelength switching success message to the ONU on the target downlink wavelength channel, where The wavelength switching success message is used to indicate that the optical line terminal OLT confirms that the ONU downlink wavelength switching is successful.
结合第七方面, 在第七方面的第二种可能的实现方式中, 该发送模块还 用于: 当在该起止时间内没有接收到该 ONU发送的该波长切换完成消息时, 仅在该源下行波长通道上向该 ONU发送该波长切换授权消息; 该接收模块 还用于: 在该上行波长通道上, 接收该 ONU根据该波长切换授权消息发送 的波长切换未完成消息, 该波长切换未完成消息用于指示该 ONU在该起止 时间内未成功切换到该目标下行波长。  With reference to the seventh aspect, in a second possible implementation manner of the seventh aspect, the sending module is further configured to: when the wavelength switching complete message sent by the ONU is not received within the start and end time, only the source The wavelength switching authorization message is sent to the ONU on the downlink wavelength channel; the receiving module is further configured to: receive, on the uplink wavelength channel, a wavelength switching incomplete message sent by the ONU according to the wavelength switching authorization message, where the wavelength switching is not completed. The message is used to indicate that the ONU did not successfully switch to the target downstream wavelength during the start and end time.
结合第七方面的第二种可能的实现方式,在第七方面的第三种可能的实 现方式中, 该发送模块还用于: 在该源下行波长通道上, 根据该波长切换未 完成消息向该 ONU发送波长切换未成功消息, 该波长切换未成功消息用于 指示 OLT确认该 ONU下行波长切换未成功。  With reference to the second possible implementation manner of the seventh aspect, in a third possible implementation manner of the seventh aspect, the sending module is further configured to: switch, according to the wavelength, an uncompleted message direction on the source downlink wavelength channel The ONU sends a wavelength switch unsuccessful message, and the wavelength switch unsuccessful message is used to instruct the OLT to confirm that the ONU downlink wavelength switching is unsuccessful.
结合第七方面或第七方面的第一种至第三种可能的实现方式中的任一 种可能的实现方式, 在第七方面的第四种可能的实现方式中, 该波长切换请 求消息、 该波长切换确认消息、 该波长切换 4吏权消息和该波长切换完成消息 中的至少一种消息为多点控制协议 MPCP消息或运营管理维护 OAM消息。 Combining any of the first to third possible implementations of the seventh aspect or the seventh aspect A possible implementation manner, in a fourth possible implementation manner of the seventh aspect, the at least one of the wavelength switching request message, the wavelength switching confirmation message, the wavelength switching information, and the wavelength switching completion message The message is a multipoint control protocol MPCP message or an operation management maintenance OAM message.
第八方面, 提供了一种以太网无源光网络 EPON 系统中的光网络单元 ONU, 该 EPON系统包括光线路终端 OLT和光网络单元 ONU, 该 OLT与 该 ONU之间基于多个下行波长和一个上行波长进行通信, 其中, 该 ONU 包括: 接收模块, 用于在源下行波长通道上接收光线路终端 OLT发送的波 长切换请求消息, 该波长切换请求消息用于指示光网络单元 ONU切换至目 标下行波长, 并且该波长切换请求消息包括用于指示该目标下行波长的目标 波长信息, 以及用于指示下行波长切换的起止时间的切换时间信息; 发送模 块, 用于在所述上行波长通道上, 根据该接收模块接收的该波长切换请求消 息向该 OLT发送波长切换确认消息, 该波长切换确认消息用于指示该 ONU 确定执行该下行波长切换; 其中, 该接收模块还用于: 当该 ONU在该起止 时间内成功切换到该目标下行波长时, 接收该 OLT在与该目标下行波长相 应的目标下行波长通道上发送的波长切换 4吏权消息, 该波长切换 4吏权消息用 于对该 ONU进行授权; 该发送模块还用于: 在该上行波长通道上, 根据该 接收模块接收的该波长切换授权消息向该 OLT发送波长切换完成消息, 该 波长切换完成消息用于指示该 ONU在该起止时间内成功切换到该目标下行 波长。  The eighth aspect provides an optical network unit ONU in an EPON system of an Ethernet passive optical network, where the EPON system includes an optical line terminal OLT and an optical network unit ONU, and the OLT and the ONU are based on multiple downlink wavelengths and one The uplink wavelength is used for communication, where the ONU includes: a receiving module, configured to receive a wavelength switching request message sent by the optical line terminal OLT on the source downlink wavelength channel, where the wavelength switching request message is used to indicate that the optical network unit ONU switches to the target downlink a wavelength, and the wavelength switching request message includes target wavelength information for indicating the target downlink wavelength, and switching time information for indicating a start and end time of the downlink wavelength switching; and a sending module, configured to, according to the uplink wavelength channel, The wavelength switch request message received by the receiving module sends a wavelength switch confirmation message to the OLT, where the wavelength switch confirmation message is used to indicate that the ONU determines to perform the downlink wavelength switch. The receiving module is further configured to: when the ONU is in the Successfully switch to the target downstream wavelength during the start and end time Receiving, by the OLT, a wavelength switching 4 吏 message sent on the target downlink wavelength channel corresponding to the target downlink wavelength, where the wavelength switching 4 吏 right message is used to authorize the ONU; the sending module is further configured to: The wavelength switching completion message is sent to the OLT according to the wavelength switching authorization message received by the receiving module, where the wavelength switching completion message is used to indicate that the ONU successfully switches to the target downlink wavelength within the starting and ending time.
结合第八方面, 在第八方面的第一种可能的实现方式中, 该接收模块还 用于: 在该目标下行波长通道上, 接收该 OLT根据该波长切换完成消息发 送的波长切换成功消息, 该波长切换成功消息用于指示该 OLT确认该 ONU 下行波长切换成功。  With reference to the eighth aspect, in a first possible implementation manner of the eighth aspect, the receiving module is further configured to: receive, on the target downlink wavelength channel, a wavelength switching success message sent by the OLT according to the wavelength switching completion message, The wavelength switching success message is used to indicate that the OLT confirms that the ONU downlink wavelength switching is successful.
结合第八方面, 在第八方面的第二种可能的实现方式中, 该接收模块还 用于: 当该 ONU在该起止时间内未成功切换到该目标下行波长时, 在该起 止时间超时后, 接收该 OLT仅在该源下行波长通道上发送的该波长切换授 权消息; 该发送模块还用于: 在该上行波长通道上, 根据该波长切换授权消 息向该 OLT发送波长切换未完成消息, 该波长切换未完成消息用于指示该 ONU在该起止时间内未成功切换到该目标下行波长。  With reference to the eighth aspect, in a second possible implementation manner of the eighth aspect, the receiving module is further configured to: when the ONU fails to successfully switch to the target downlink wavelength within the start and end time, after the start and end time expires Receiving the wavelength switching authorization message sent by the OLT only on the source downlink wavelength channel; the sending module is further configured to: send, on the uplink wavelength channel, a wavelength switching incomplete message to the OLT according to the wavelength switching authorization message, The wavelength switch incomplete message is used to indicate that the ONU did not successfully switch to the target downlink wavelength within the start and end time.
结合第八方面的第二种可能的实现方式,在第八方面的第三种可能的实 现方式中, 该接收模块还用于: 在该源下行波长通道上, 接收该 OLT根据 该波长切换未完成消息发送的波长切换未成功消息, 该波长切换未成功消息 用于指示该 OLT确认该 ONU下行波长切换未成功。 In conjunction with the second possible implementation of the eighth aspect, in a third possible implementation manner of the eighth aspect, the receiving module is further configured to: receive the OLT according to the source downlink channel The wavelength switching unsuccessful message is sent to the wavelength switch unsuccessful message, and the wavelength switching unsuccessful message is used to indicate that the OLT confirms that the ONU downlink wavelength switching is unsuccessful.
结合第八方面或第八方面的第一种至第三种可能的实现方式中的任一 种可能的实现方式, 在第八方面的第四种可能的实现方式中, 该波长切换请 求消息、 该波长切换确认消息、 该波长切换 4吏权消息和该波长切换完成消息 中的至少一种消息为多点控制协议 MPCP消息或运营管理维护 OAM消息。  With reference to the eighth aspect, or any one of the first to the third possible implementation manners of the eighth aspect, in a fourth possible implementation manner of the eighth aspect, the wavelength switching request message, The at least one of the wavelength switch acknowledgement message, the wavelength switch 4 吏 message, and the wavelength switch complete message is a multipoint control protocol MPCP message or an operation management maintenance OAM message.
基于上述技术方案, 本发明实施例的以太网无源光网络系统中设备注册 的方法和装置,通过在光网络单元向光线路终端发送的注册请求消息中指示 注册下行波长, 使得该光线路终端能够确定该光网络单元所釆用的下行波 长,从而在釆用多个下行波长和一个上行波长进行通信的以太网无源光网络 系统中能够实现设备注册, 由此该光网络单元和该光线路终端之间能够进行 数据通信; 另一方面, 本发明实施例的以太网无源光网络系统中波长切换的 方法和装置,通过光线路终端向光网络单元指示目标波长信息以及切换时间 信息, 并在该光线路终端指示的下行波长切换起止时间内, 在与目标下行波 光网络单元能够在该切换起止时间内进行下行波长切换, 并能够避免光线路 终端在多个下行波长通道上对光网络单元进行同步授权, 由此能够简化下行 波长切换流程, 减少切换出错概率, 并能够提高系统的业务容量。 附图说明  Based on the foregoing technical solution, a method and a device for registering a device in an Ethernet passive optical network system according to an embodiment of the present invention, by registering a downlink wavelength in a registration request message sent by an optical network unit to an optical line terminal, so that the optical line terminal The downlink wavelength used by the optical network unit can be determined, thereby enabling device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the light The data communication can be performed between the line terminals. On the other hand, the method and device for wavelength switching in the Ethernet passive optical network system according to the embodiment of the present invention indicate the target wavelength information and the switching time information to the optical network unit through the optical line terminal. And performing downlink wavelength switching between the target downlink optical network unit and the target downlink optical network unit in the start and stop time of the downlink wavelength indication indicated by the optical line terminal, and preventing the optical line terminal from facing the optical network on multiple downlink wavelength channels. The unit performs synchronous authorization, which simplifies the downlink The wavelength switching process reduces the probability of switching errors and increases the service capacity of the system. DRAWINGS
为了更清楚地说明本发明实施例的技术方案, 下面将对本发明实施例中 所需要使用的附图作简单地介绍, 显而易见地, 下面所描述的附图仅仅是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings to be used in the embodiments of the present invention will be briefly described below. It is obvious that the drawings described below are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图 1是本发明实施例的一种应用场景的示意图;  FIG. 1 is a schematic diagram of an application scenario according to an embodiment of the present invention;
图 2是本发明实施例提供的设备注册的方法的示意性流程图; 图 3A和 3B是本发明实施例提供的注册请求消息的示意性结构图; 图 4是本发明实施例提供的注册消息的示意性结构图;  2 is a schematic flowchart of a method for registering a device according to an embodiment of the present invention; FIG. 3 is a schematic structural diagram of a registration request message according to an embodiment of the present invention; FIG. 4 is a registration message according to an embodiment of the present invention; Schematic diagram of the structure;
图 5是本发明另一实施例提供的设备注册的方法的示意性流程图; 图 6是本发明再一实施例提供的设备注册的方法的示意性流程图; 图 7是本发明实施例提供的波长切换的方法的示意性流程图; 图 8A和 8B分别是本发明实施例提供的基于 MPCP协议的调节控制消 息和调节响应消息的示意性结构图; FIG. 5 is a schematic flowchart of a method for registering a device according to another embodiment of the present invention; FIG. 6 is a schematic flowchart of a method for registering a device according to another embodiment of the present invention; FIG. Schematic flow chart of a method for wavelength switching; 8A and 8B are schematic structural diagrams of an MPCP protocol-based adjustment control message and an adjustment response message according to an embodiment of the present invention;
图 9A和 9B分别是本发明实施例提供的基于 OAM协议的调节控制消息 和调节响应消息的示意性结构图;  9A and 9B are schematic structural diagrams of an OAM-based adjustment control message and an adjustment response message according to an embodiment of the present invention;
图 10是本发明实施例提供的波长切换的方法的另一示意性流程图; 图 11是本发明实施例提供的波长切换的方法的再一示意性流程图; 图 12是本发明另一实施例提供的波长切换的方法的示意性流程图; 图 13是本发明另一实施例提供的波长切换的方法的另一示意性流程图; 图 14是本发明另一实施例提供的波长切换的方法的再一示意性流程图; 图 15是本发明再一实施例提供的波长切换的方法的示意性流程图; 图 16是本发明实施例提供的光线路终端的示意性框图;  FIG. 10 is still another schematic flowchart of a method for wavelength switching according to an embodiment of the present invention; FIG. 11 is another schematic flowchart of a method for wavelength switching according to an embodiment of the present invention; FIG. 13 is another schematic flowchart of a method for wavelength switching according to another embodiment of the present invention; FIG. 14 is a wavelength switching method according to another embodiment of the present invention. FIG. 15 is a schematic flowchart of a method for wavelength switching according to an embodiment of the present invention; FIG. 16 is a schematic block diagram of an optical line terminal according to an embodiment of the present invention;
图 17是本发明实施例提供的光网络单元的示意性框图;  17 is a schematic block diagram of an optical network unit according to an embodiment of the present invention;
图 18是本发明另一实施例提供的光线路终端的示意性框图;  FIG. 18 is a schematic block diagram of an optical line terminal according to another embodiment of the present invention; FIG.
图 19是本发明另一实施例提供的光网络单元的示意性框图;  FIG. 19 is a schematic block diagram of an optical network unit according to another embodiment of the present invention; FIG.
图 20是本发明再一实施例提供的光线路终端的示意性框图;  20 is a schematic block diagram of an optical line terminal according to still another embodiment of the present invention;
图 21是本发明再一实施例提供的光网络单元的示意性框图;  FIG. 21 is a schematic block diagram of an optical network unit according to still another embodiment of the present invention; FIG.
图 22是本发明再一实施例提供的光线路终端的示意性框图;  FIG. 22 is a schematic block diagram of an optical line terminal according to still another embodiment of the present invention; FIG.
图 23是本发明再一实施例提供的光网络单元的示意性框图。 具体实施方式  FIG. 23 is a schematic block diagram of an optical network unit according to still another embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例是本发明的一部分实施例, 而不 是全部实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创 造性劳动的前提下所获得的所有其他实施例, 都应属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without making creative labor are within the scope of the present invention.
图 1示出了本发明实施例提供的一种应用场景。 如图 1所示, 该 EPON 系统可以包括 EPON OLT以及一个或多个 EPON ONU, 该 EPON OLT可以 通过分光器(Optical Splitter, 简称为 "OS" )与该一个或多个 EPON ONU 光纤连接, 其中, 该 EPON OLT与该 EPON ONU之间基于多个下行波长和 一个上行波长进行通信。  FIG. 1 shows an application scenario provided by an embodiment of the present invention. As shown in FIG. 1, the EPON system may include an EPON OLT and one or more EPON ONUs, and the EPON OLT may be connected to the one or more EPON ONU fibers through an optical splitter ("OS"). The EPON OLT communicates with the EPON ONU based on multiple downlink wavelengths and one uplink wavelength.
该 EPON OLT例如为 NG-EPON OLT,或者该 EPON OLT也可以为其它 The EPON OLT is, for example, an NG-EPON OLT, or the EPON OLT can be other
OLT, 该 OLT具有多个发射波长以及一个接收波长。 如图 1所示, 该 EPON ONU例如为 n个 EPON ONU, 即 EPON ONU 1至 EPON ONU n, 其中 n为 自然数; 该 EPON ONU的接收波长可调但发射波长固定, 该 EPON ONU例 如可以包括一个或多个 1G EPON ONU、 一个或多个 10G EPON ONU、 一个 或多个 NG EPON ONU等, 但本发明实施例并不限于此。 OLT, the OLT has multiple transmit wavelengths and one receive wavelength. As shown in Figure 1, the EPON The ONU is, for example, n EPON ONUs, that is, EPON ONU 1 to EPON ONU n, where n is a natural number; the EPON ONU has an adjustable receiving wavelength but a fixed transmission wavelength, and the EPON ONU may include one or more 1G EPON ONUs, for example. Or a plurality of 10G EPON ONUs, one or more NG EPON ONUs, and the like, but the embodiment of the present invention is not limited thereto.
应理解, 在本发明实施例中, 数据或承载数据的光信号从 OLT传输到 It should be understood that in the embodiment of the present invention, data or optical signals carrying data are transmitted from the OLT to
ONT/ONU的传输方向称为下行方向, 相应地, OLT向 ONT/ONU发送光信 号的通道也称为下行波长通道; 类似地, 数据或承载数据的光信号从 ONT/ONU传输到 OLT 的传输方向称为上行方向; 相应地, ONT/ONU 向 OLT发送光信号的通道也称为上行波长通道。 The transmission direction of the ONT/ONU is called the downlink direction. Correspondingly, the channel through which the OLT sends optical signals to the ONT/ONU is also called the downstream wavelength channel. Similarly, the transmission of data or optical signals carrying data from the ONT/ONU to the OLT is transmitted. The direction is called the uplink direction; accordingly, the channel through which the ONT/ONU sends optical signals to the OLT is also called the upstream wavelength channel.
还应理解,本发明实施例仅以四波下行单波上行的 EPON系统为例进行 说明,即以具有四个下行波长通道和一个上行波长通道的 EPON系统为例进 行说明, 但本发明并不限于此, 根据本发明实施例的设备注册和波长切换的 方法及其装置,还可以应用于其它具有多个下行波长通道和一个上行波长通 道的 EPON系统, 以及具有多个下行波长通道和多个上行波长通道的 EPON 系统。 此外, 为了描述方便, 下文中将以 ONU代替 ONT和 /或 ONU进行说 明, 但本发明并不限于此。  It should be understood that the embodiment of the present invention is only described by taking an EPON system with four-wave downlink single-wave uplink as an example, that is, an EPON system having four downlink wavelength channels and one uplink wavelength channel is taken as an example, but the present invention does not The method and device for device registration and wavelength switching according to the embodiments of the present invention are also applicable to other EPON systems having multiple downlink wavelength channels and one uplink wavelength channel, and multiple downlink wavelength channels and multiple EPON system with upstream wavelength channel. Further, for convenience of description, the ONU will be described below in place of the ONT and/or the ONU, but the present invention is not limited thereto.
图 2示出了本发明实施例提供的 EPON系统中设备注册的方法 100的示 意性流程图, 该 EPON 系统包括光线路终端 OLT和光网络单元 ONU, 该 OLT与该 ONU之间基于多个下行波长和一个上行波长进行通信,该方法 100 可以由 OLT执行, 例如, 该方法 100由 NG-EPON OLT执行。 如图 2所示, 该方法 100包括:  FIG. 2 is a schematic flowchart of a method 100 for device registration in an EPON system according to an embodiment of the present invention. The EPON system includes an optical line terminal OLT and an optical network unit ONU, and the OLT and the ONU are based on multiple downlink wavelengths. In communication with an upstream wavelength, the method 100 can be performed by an OLT, for example, the method 100 is performed by an NG-EPON OLT. As shown in FIG. 2, the method 100 includes:
S 110, 向该 ONU发送开窗消息;  S110, sending a windowing message to the ONU;
S120, 接收该 ONU根据该开窗消息发送的用于请求注册的注册请求消 息, 该注册请求消息携带该 ONU的波长信息, 该波长信息包括该 ONU接 收该开窗消息所釆用的注册下行波长;  S120, receiving a registration request message for requesting registration sent by the ONU according to the windowing message, where the registration request message carries wavelength information of the ONU, where the wavelength information includes a registered downlink wavelength used by the ONU to receive the windowing message. ;
S130, 通过该注册下行波长向该 ONU发送注册消息, 该注册消息包括 该 OLT 为该 ONU 分配的逻辑链路标记 ( Logical Link Identifier, 简称为 "LLID" );  S130, sending a registration message to the ONU by using the registration downlink wavelength, where the registration message includes a Logical Link Identifier ("LLID") allocated by the OLT for the ONU;
S140, 接收该 ONU根据该注册消息发送的用于确认完成注册的注册确 认消息。  S140. Receive a registration confirmation message sent by the ONU according to the registration message to confirm completion of registration.
具体而言,在釆用多个下行波长和一个上行波长进行通道的 EPON系统 中,例如 OLT向 ONU广播发送开窗消息,以用于询问是否有新加入的 ONU 需要进行注册。 如果此时刚好有新加入的 ONU需要进行注册, 那么该 ONU 接收到 OLT广播发送的开窗消息时,就可以向 OLT广播发送注册请求消息, 该注册请求消息用于向 OLT请求注册, 并且该注册请求消息携带波长信息, 该波长信息能够指示该 ONU接收该开窗消息所釆用的注册下行波长。 OLT 接收到该 ONU发送的波长信息后,可以向该 ONU发送包括 LLID的注册消 息; 该 ONU接收到 OLT下发的注册消息后, 可以进行相应的注册处理, 并 可以向 OLT发送注册确认消息, 以用于向 OLT指示该 ONU完成注册, 从 而在该 EPON系统中, 该 OLT与该 ONU之间能够进行数据通信。 Specifically, an EPON system that uses multiple downstream wavelengths and one upstream wavelength for channeling For example, the OLT broadcasts a windowing message to the ONU to ask if there is a newly joined ONU that needs to be registered. If the newly added ONU needs to be registered at this time, when the ONU receives the windowing message sent by the OLT broadcast, it can broadcast a registration request message to the OLT, and the registration request message is used to request registration from the OLT, and the The registration request message carries wavelength information, and the wavelength information can indicate the registered downlink wavelength used by the ONU to receive the windowing message. After receiving the wavelength information sent by the ONU, the OLT may send a registration message including the LLID to the ONU. After receiving the registration message sent by the OLT, the ONU may perform corresponding registration processing, and may send a registration confirmation message to the OLT. For indicating to the OLT that the ONU completes registration, in the EPON system, data communication can be performed between the OLT and the ONU.
因此, 本发明实施例的以太网无源光网络系统中设备注册的方法, 通过 在光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得 该光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下 行波长和一个上行波长进行通信的以太网无源光网络系统中能够实现设备 注册, 由此该光网络单元和该光线路终端之间能够进行数据通信。  Therefore, the device registration method in the Ethernet passive optical network system according to the embodiment of the present invention indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical line terminal can determine the optical network. The downlink wavelength used by the unit enables device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the optical line terminal can Data communication.
具体而言, 在 S110中, OLT向 ONU发送开窗消息。 例如, OLT可以 通过广播的方式向 ONU发送开窗消息。 该开窗消息例如为基于多点控制协 议( Multi-Point Control Protocol, 简称为 "MPCP" )的 GATE消息, 该 GATE 消息用于对 ONU进行授权, 以使得接收到该 GATE消息的 ONU能够立即 或在指定时间内发送信息。  Specifically, in S110, the OLT transmits a windowing message to the ONU. For example, the OLT can send a windowing message to the ONU by means of a broadcast. The windowing message is, for example, a GATE message based on a Multi-Point Control Protocol (MPCP), and the GATE message is used to authorize the ONU so that the ONU receiving the GATE message can be immediately or Send information within the specified time.
在本发明实施例中, 该 GATE消息可以包括源地址、 目的地址以及消息 内容, 该消息内容例如可以包括下列信息中的至少一种信息: 权(Grant ) 信息、 同步时间 (Sync Time )信息和发现信息(Discovery Information ), 但 本发明并不限于此。  In the embodiment of the present invention, the GATE message may include a source address, a destination address, and a message content, and the message content may include, for example, at least one of the following information: Grant information, Sync Time information, and Discovery Information, but the present invention is not limited thereto.
在 S120中, OLT接收该 ONU根据该开窗消息发送的注册请求消息, 该注册请求消息携带的波长信息包括该 ONU接收该开窗消息所釆用的注册 下行波长。  In S120, the OLT receives the registration request message sent by the ONU according to the windowing message, and the wavelength information carried by the registration request message includes the registered downlink wavelength used by the ONU to receive the windowing message.
在本发明实施例中, ONU 进行自校准后, 可以将接收波长调节至多个 下行波长中的一个, 即 ONU接收该开窗消息所釆用的注册下行波长, 并可 以将该注册下行波长上报给 OLT, 以进行设备注册。  In the embodiment of the present invention, after the ONU performs self-calibration, the receiving wavelength may be adjusted to one of a plurality of downlink wavelengths, that is, the ONU receives the registered downlink wavelength used by the windowing message, and may report the registered downlink wavelength to the ONU. OLT for device registration.
在本发明实施例中, 可选地, 该波长信息还包括该 ONU的下行波长调 节能力信息, 该下行波长调节能力信息包括下列信息中的至少一种: 下行波 长调节间隔、 下行波长数、 可调滤波器的波长调节范围、 每个下行波长调节 间隔的调节时间和下行波长调节速度。 In the embodiment of the present invention, optionally, the wavelength information further includes downlink wavelength adjustment capability information of the ONU, where the downlink wavelength adjustment capability information includes at least one of the following information: The long adjustment interval, the number of downstream wavelengths, the wavelength adjustment range of the tunable filter, the adjustment time of each downstream wavelength adjustment interval, and the downstream wavelength adjustment speed.
即在本发明实施例中, ONU 可以将其下行波长调节能力信息上报给 OLT, 以便于 OLT能够完全获知 ONU的相关信息以进行后续操作。 例如, OLT可以根据 ONU的下行波长调节能力信息, 确定下行波长切换的目标下 行波长等。  That is, in the embodiment of the present invention, the ONU can report the downlink wavelength adjustment capability information to the OLT, so that the OLT can completely learn the related information of the ONU for subsequent operations. For example, the OLT can determine the target downlink wavelength of the downlink wavelength switching according to the downlink wavelength adjustment capability information of the ONU.
在本发明实施例中, 该注册请求消息例如为基于 MPCP 的 REGISTER_REQ消息, 该 REGISTER_REQ消息用于向 OLT请求注册, 并 且该 REGISTER_REQ 消息携带该波长信息。 在本发明实施例中, 该 REGISTER_REQ 消息可以包括源地址、 目的地址以及消息内容, 该消息内 容除了包括波长信息之外, 例如还可以包括下列信息中的至少一种信息: 等 待 4受权 ( Pending Grants )信息、 发现信息 ( Discovery Information )、 激光开 启时间 ( Laser On Time )信息和激光关闭时间 ( Laser Off Time )信息, 但本 发明并不限于此。  In the embodiment of the present invention, the registration request message is, for example, an MPCP-based REGISTER_REQ message, the REGISTER_REQ message is used to request registration from the OLT, and the REGISTER_REQ message carries the wavelength information. In the embodiment of the present invention, the REGISTER_REQ message may include a source address, a destination address, and a message content. The message content may include at least one of the following information in addition to the wavelength information: Waiting 4 is authorized (Pending Grants) Information, Discovery Information, Laser On Time information, and Laser Off Time information, but the present invention is not limited thereto.
在本发明实施例中, 可以通过扩展 REGISTER_REQ消息的帧结构, 来 携带该波长信息。 可选地, 该注册请求消息的发现信息 ( Discovery Information )域( Field ) 包括该波长信息; 或该注册请求消息包括波长信息 ( Wavelength Information ) i或, 该波长信息 i或包括该波长信息。  In the embodiment of the present invention, the wavelength information may be carried by extending the frame structure of the REGISTER_REQ message. Optionally, the discovery information field (Field) of the registration request message includes the wavelength information; or the registration request message includes wavelength information (Wavelength Information) i or the wavelength information i or includes the wavelength information.
下面将结合图 3A和 3B, 分别对上述注册请求消息进行描述。  The above registration request message will be described separately in conjunction with Figs. 3A and 3B.
图 3A示出了本发明实施例提供的注册请求 REGISTER_REQ消息的一 种帧结构, 其中, 该 REGISTER_REQ消息的发现信息域承载该波长信息。 如图 3A 所示, 操作码(Opcode ) 0001 表示媒体接入控制 (Media Access Control, 简称为 "MAC" )功能为暂停( PAUSE ), 即操作码为 0001的消息 为暂停(PAUSE )消息; 类似地, 操作码为 0002的消息为开窗(GATE )消 息; 操作码为 0003的消息为报告(REPORT ) 消息; 操作码为 0004的消息 为注册请求 ( REGISTER_REQ ) 消息; 操作码为 0005 的消息为注册 ( REGISTER )消息; 操作码为 0006的消息为注册确认 ( REGISTER_ACK ) 消息。  FIG. 3A shows a frame structure of a registration request REGISTER_REQ message provided by an embodiment of the present invention, where a discovery information field of the REGISTER_REQ message carries the wavelength information. As shown in FIG. 3A, the opcode (Opcode) 0001 indicates that the media access control (Media Access Control, referred to as "MAC") function is pause (PAUSE), that is, the message with the operation code 0001 is a pause (PAUSE) message; The message with the operation code 0002 is a window open (GATE) message; the message with the operation code 0003 is a report (REPORT) message; the message with the operation code 0004 is a registration request (REGISTER_REQ) message; the message with the operation code 0005 is The REGISTER message; the message with the operand 0006 is a REGISTER_ACK message.
其中, 该 REGISTER_REQ 消息可以包括: 6 个字节的目的地址 ( Destination Address,简称为 "DA" )域、 6个字节的源地址( Source Address, 简称为 "SA" )域、 2个字节的长度(Length ) /类型 (Type )域、 2个字节 的操作码(Opcode )域、 4个字节的时间戳 ( Timestamp )域、 1个字节的标 志 (Flags )域、 1个字节的等待授权( Pending Grants )域、 2个字节的发现 信息( Discovery Information )域、 1个字节的激光开启时间( Laser On Time ) 域、 1个字节的激光关闭时间 (Laser Off Time )域、 32个字节的填充( Pad ) 域和 4个字节的帧校验序列 ( Frame Check Sequence, 简称为 "FCS" )域。 The REGISTER_REQ message may include: a 6-byte Destination Address ("DA") field, a 6-byte Source Address ("SA") field, and 2 bytes. Length (Length) / Type (Type) field, 2 bytes Opcode field, 4-byte timestamp field, 1 byte flag (Flags) field, 1 byte Pending Grants field, 2 bytes of discovery The Discovery Information field, the 1-byte Laser On Time field, the 1-byte Laser Off Time field, the 32-byte padding field, and 4 Byte's Frame Check Sequence (FCS) field.
其中, 该 Discovery Information域的各比特可以表示 1G上行能力信息、 10G 上行能力信息、 1G 注册尝试信息或 10G 注册尝试信息; 此外, 该 Discovery Information域的比特可以用于表示注册下行波长, 并且还可以用 于表示下列波长信息中的一种或多种: 下行波长调节间隔信息、 下行波长数 信息、 下行波长调节范围信息和下行波长每调节间隔的调节时间信息等。 即 在本发明实施例中,可以扩展 REGISTER_REQ消息的 Discovery Information 域, 使得该 Discovery Information域的保留比特位还可以用于指示该 ONU 的波长信息。  The bits of the Discovery Information field may indicate 1G uplink capability information, 10G uplink capability information, 1G registration attempt information, or 10G registration attempt information. In addition, the bits of the Discovery Information field may be used to indicate the registered downlink wavelength, and may also be It is used to indicate one or more of the following wavelength information: downlink wavelength adjustment interval information, downlink wavelength number information, downlink wavelength adjustment range information, and adjustment time information of the downlink wavelength per adjustment interval. That is, in the embodiment of the present invention, the Discovery Information field of the REGISTER_REQ message may be extended, so that the reserved bit of the Discovery Information field may also be used to indicate the wavelength information of the ONU.
图 3B示出了本发明实施例提供的注册请求 REGISTER_REQ消息的另 一种帧结构,其中,操作码为 0004的注册请求 REGISTER_REQ消息还例如 可以包括 2 字节的波长信息 (Wavelength Information )域, 该 Wavelength 波长信息中的一种或多种: 下行波长调节间隔信息、 下行波长数信息、 下行 波长调节范围信息和下行波长每调节间隔的调节时间信息等。 即在本发明实 施例中, 可以在 REGISTER_REQ消息中新增加一个 Wavelength Information 域, 该 Wavelength Information域的比特位用于指示该 ONU的波长信息。  FIG. 3B shows another frame structure of the registration request REGISTER_REQ message provided by the embodiment of the present invention, wherein the registration request REGISTER_REQ message with the operation code 0004 further includes, for example, a 2-byte wavelength information (Wavelength Information) field. One or more of the wavelength information: the downlink wavelength adjustment interval information, the downlink wavelength number information, the downlink wavelength adjustment range information, and the adjustment time information of the downlink wavelength per adjustment interval. That is, in the embodiment of the present invention, a Wavelength Information field may be newly added in the REGISTER_REQ message, and the bit of the Wavelength Information field is used to indicate the wavelength information of the ONU.
应理解, 本发明实施例仅以图 3A和图 3B所示的帧结构为例进行说明, 但本发明并不限于此,例如, ONU的波长信息还可以承载在 REGISTER_REQ 消息的其它域或其它预留字段中; 又例如, 波长信息域可以具有更多的字节 数等。  It should be understood that the embodiment of the present invention is only described by taking the frame structure shown in FIG. 3A and FIG. 3B as an example, but the present invention is not limited thereto. For example, the wavelength information of the ONU may also be carried in other domains of the REGISTER_REQ message or other pre- In the remaining field; for example, the wavelength information field may have more bytes and the like.
在 S130中, OLT根据该注册请求消息, 可以通过广播向该 ONU发送 注册消息, 该注册消息包括该 OLT为该 ONU分配的 LLID。  In S130, the OLT may send a registration message to the ONU by broadcasting according to the registration request message, where the registration message includes an LLID allocated by the OLT to the ONU.
应理解, 在本发明实施例中, LLID是 EPON系统分配给逻辑链路的一 种数字标识,每个逻辑链路都会被分配不同的 LLID。在 EPON系统中, OLT 可以通过 LLID来辨别接收的帧是由哪个 ONU发送的, 同样地, OLT也可 以通过修改帧中的 LLID, 将该帧发送到相应的 ONU处。 由此, 可以建立 OLT与 ONU之间的对应关系, 并能够进行通信。 It should be understood that, in the embodiment of the present invention, the LLID is a digital identifier assigned by the EPON system to the logical link, and each logical link is assigned a different LLID. In the EPON system, the OLT can identify which ONU the received frame is sent by the LLID. Similarly, the OLT can also send the frame to the corresponding ONU by modifying the LLID in the frame. Thus, it can be established Correspondence between the OLT and the ONU, and communication.
在本发明实施例中, 可选地, 该注册消息还包括波长确认信息, 该波长 确认信息用于指示该 OLT确认该波长信息。 具体而言, 例如, 该波长确认 信息可以包括注册下行波长确认信息, 以用于指示 OLT确认该注册下行波 长。 又例如, 该波长确认信息还可以包括下行波长调节能力确认信息, 该下 行波长调节能力确认信息包括对下列信息中的至少一种信息的确认: 下行波 长调节间隔、 下行波长数、 可调滤波器的波长调节范围、 每个下行波长调节 间隔的调节时间和下行波长调节速度。  In the embodiment of the present invention, optionally, the registration message further includes wavelength confirmation information, where the wavelength confirmation information is used to instruct the OLT to confirm the wavelength information. Specifically, for example, the wavelength confirmation information may include registration downlink wavelength confirmation information for instructing the OLT to confirm the registered downlink wavelength. For another example, the wavelength confirmation information may further include downlink wavelength adjustment capability confirmation information, where the downlink wavelength adjustment capability confirmation information includes confirmation of at least one of the following information: a downlink wavelength adjustment interval, a downlink wavelength number, and a tunable filter. The wavelength adjustment range, the adjustment time of each downstream wavelength adjustment interval, and the downstream wavelength adjustment speed.
具体而言, 在本发明实施例中, 该注册消息例如为基于 MPCP 的 REGISTER消息,该 REGISTER消息用于为通过注册驺证的 ONU分配 LLID。 在本发明实施例中,该 REGISTER消息可以包括源地址、 目的地址以及消息 内容, 该消息内容除了包括 LLID之外, 例如还可以包括下列信息中的至少 一种信息: 同步时间 (Sync Time )信息、 等待授权的确认( Echo of Pending Grants )信息、 目标激光开启时间 ( Target Laser On Time )信息、 目标激光 关闭时间 ( Target Laser Off Time )信息和波长确认信息( Echo of Wavelength Information ), 但本发明并不限于此。  Specifically, in the embodiment of the present invention, the registration message is, for example, an MPCP-based REGISTER message, and the REGISTER message is used to allocate an LLID for the ONU that is registered by the certificate. In the embodiment of the present invention, the REGISTER message may include a source address, a destination address, and a message content. The message content may include at least one of the following information in addition to the LLID: Sync Time information. Echo of Pending Grants information, Target Laser On Time information, Target Laser Off Time information, and Echo of Wavelength Information, but the present invention Not limited to this.
在本发明实施例中,可以通过扩展 REGISTER消息的帧结构,来携带该 波长确认信息。 下面将以图 4所示的帧结构为例, 详细描述包括波长确认信 息的注册 REGISTER消息。  In the embodiment of the present invention, the wavelength confirmation information may be carried by extending the frame structure of the REGISTER message. The registration REGISTER message including the wavelength confirmation information will be described in detail below by taking the frame structure shown in Fig. 4 as an example.
如图 4 所示, 操作码为 0005 的消息为注册(REGISTER ) 消息, 该 As shown in Figure 4, the message with the operation code 0005 is a REGISTER message.
REGISTER消息例如可以包括: 6个字节的目的地址( Destination Address, 简称为 "DA" )域、 6个字节的源地址(Source Address, 简称为 "SA" )域、 2个字节的长度 ( Length ) /类型 (Type )域、 2个字节的操作码(Opcode ) 域、 4个字节的时间戳( Timestamp )域、 2个字节的分配端口( Assigned Port ) 域、 1个字节的标志 (Flags )域、 2个字节的同步时间 (Sync Time )域、 1 个字节的等待授权确认 ( Echoed Pending Grants )域、 1个字节的目标激光开 启时间( Target Laser On Time )域、 1个字节的目标激光关闭时间( Target Laser Off Time )域、 2个字节的波长确认信息 ( Echoed Wavelength Information ) 域、 32 个字节的填充 (Pad )域和 4 个字节的帧校验序列 (Frame Check Sequence, 简称为 "FCS" )。 The REGISTER message may include, for example, a 6-byte Destination Address ("DA") field, a 6-byte Source Address ("SA") field, and a length of 2 bytes. ( Length ) / Type field, 2-byte opcode (Opcode) field, 4-byte timestamp (Timestamp) field, 2-byte Assigned Port field, 1 word Flags (Flags) field, 2-byte Sync Time field, 1-byte Echoed Pending Grants field, 1-byte target laser on time (Target Laser On Time) ) domain, 1 byte target Laser Off Time field, 2 bytes of Echoed Wavelength Information field, 32 bytes of padding field, and 4 bytes Frame Check Sequence (referred to as "FCS").
其中, 该 Echoed Wavelength Information域的各比特可以表示下行波长 确认信息、 下行波长调节间隔确认信息、 下行波长数确认信息、 下行波长调 节范围确认信息和下行波长每调节间隔的调节时间确认信息。 Wherein, each bit of the Echoed Wavelength Information field can represent a downstream wavelength The confirmation information, the downlink wavelength adjustment interval confirmation information, the downlink wavelength number confirmation information, the downlink wavelength adjustment range confirmation information, and the adjustment time confirmation information of the downlink wavelength per adjustment interval.
但应理解, 本发明实施例仅以图 4所示的帧结构为例进行说明, 但本发 明并不限于此, 例如, 该波长确认信息还可以承载在其它消息里, 或承载在 REGISTER消息的其它域或其它预留字段中。  It should be understood that the embodiment of the present invention is only described by taking the frame structure shown in FIG. 4 as an example, but the present invention is not limited thereto. For example, the wavelength confirmation information may also be carried in other messages, or carried in a REGISTER message. In other domains or other reserved fields.
在 S140中, OLT接收该 ONU根据该注册消息发送的注册确认消息, 该注册确认消息用于确认 ONU完成注册。  In S140, the OLT receives a registration confirmation message sent by the ONU according to the registration message, and the registration confirmation message is used to confirm that the ONU completes registration.
应理解, 在 ONU根据注册消息进行相关注册处理的时间内, OLT会定 时地或周期性地向 ONU发送 GATE消息, 等待 ONU完成相关注册处理。 ONU完成相关注册处理后, 可以向 OLT发送注册确认消息, 以确认完成注 册。  It should be understood that, during the time when the ONU performs related registration processing according to the registration message, the OLT periodically or periodically sends a GATE message to the ONU, waiting for the ONU to complete the relevant registration processing. After the ONU completes the relevant registration process, it can send a registration confirmation message to the OLT to confirm the completion of registration.
具体而言, 在本发明实施例中, 该注册确认消息例如为基于 MPCP 的 REGISTER_ACK消息, 该 REGISTER_ACK消息可以包括源地址、 目的地 址以及消息内容, 该消息内容例如还可以包括同步时间确认( Echo of Sync Time )信息和 /或 LLID确认( Echo of LLID )信息。  Specifically, in the embodiment of the present invention, the registration confirmation message is, for example, an MPCP-based REGISTER_ACK message, and the REGISTER_ACK message may include a source address, a destination address, and a message content, and the message content may further include, for example, a synchronization time confirmation (Echo of Sync Time) Information and/or LLID Confirmation (Echo of LLID) information.
因此, 本发明实施例的以太网无源光网络系统中设备注册的方法, 通过 在光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得 该光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下 行波长和一个上行波长进行通信的以太网无源光网络系统中能够实现设备 注册, 由此该光网络单元和该光线路终端之间能够进行数据通信。  Therefore, the device registration method in the Ethernet passive optical network system according to the embodiment of the present invention indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical line terminal can determine the optical network. The downlink wavelength used by the unit enables device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the optical line terminal can Data communication.
应理解, 本发明仅以图 1所示的应用场景为例进行说明, 但本发明并不 限于此, 例如, 本发明实施例提供的 EPON系统中设备注册的方法, 还可以 应用于釆用多个下行波长和多个上行波长进行通信的 EPON系统。  It should be understood that the present invention is only described by using the application scenario shown in FIG. 1 as an example, but the present invention is not limited thereto. For example, the method for registering devices in the EPON system provided by the embodiment of the present invention may also be applied to multiple applications. An EPON system in which downlink wavelengths and multiple upstream wavelengths are communicated.
还应理解, 在本发明实施例中, ONU向 OLT发送的注册请求消息除了 可以携带 ONU的下行波长信息之外, 还可以包括 ONU的上行波长信息, 例如, 注册上行波长、 上行波长调节能力信息等, 该上行波长调节能力信息 例如包括下列信息中的至少一种: 上行波长调节间隔、 上行波长数、 上行波 长调节范围、 每个上行波长调节间隔的调节时间和上行波长调节速度。  It should also be understood that, in the embodiment of the present invention, the registration request message sent by the ONU to the OLT may include the uplink wavelength information of the ONU, for example, the uplink wavelength and the uplink wavelength adjustment capability information, in addition to the downlink wavelength information of the ONU. And the uplink wavelength adjustment capability information includes, for example, at least one of the following information: an uplink wavelength adjustment interval, an uplink wavelength number, an uplink wavelength adjustment range, an adjustment time of each uplink wavelength adjustment interval, and an uplink wavelength adjustment speed.
还应理解, 在本发明实施例中, OLT向 ONU发送的注册消息还可以包 括 OLT对上行波长信息进行确认的信息, 例如, 注册上行波长确认信息、 上行波长调节能力确认信息等, 该上行波长调节能力确认信息例如包括对下 列信息中的至少一种的确认: 上行波长调节间隔、 上行波长数、 上行波长调 节范围、 每个上行波长调节间隔的调节时间和上行波长调节速度。 It should be further understood that, in the embodiment of the present invention, the registration message sent by the OLT to the ONU may further include information that the OLT confirms the uplink wavelength information, for example, registering uplink wavelength confirmation information, uplink wavelength adjustment capability confirmation information, and the like, the uplink wavelength. Adjustment capability confirmation information includes, for example, the next Confirmation of at least one of the column information: an uplink wavelength adjustment interval, an uplink wavelength number, an uplink wavelength adjustment range, an adjustment time of each upstream wavelength adjustment interval, and an uplink wavelength adjustment speed.
还应理解, 在本发明的各种实施例中, 上述各过程的序号的大小并不意 味着执行顺序的先后, 各过程的执行顺序应以其功能和内在逻辑确定, 而不 应对本发明实施例的实施过程构成任何限定。  It should also be understood that, in various embodiments of the present invention, the size of the sequence numbers of the above processes does not imply a sequence of execution orders, and the order of execution of each process should be determined by its function and internal logic, and should not be implemented by the present invention. The implementation of the examples constitutes any limitation.
因此, 本发明实施例的以太网无源光网络系统中设备注册的方法, 通过 在光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得 该光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下 行波长和一个上行波长进行通信的以太网无源光网络系统中能够实现设备 注册, 由此该光网络单元和该光线路终端之间能够进行数据通信; 此外, 根 据本发明实施例的该方法还能够减少设备注册过程中的出错概率, 以提供一 种更严谨、 更规范、 更高效的设备注册机制。  Therefore, the device registration method in the Ethernet passive optical network system according to the embodiment of the present invention indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical line terminal can determine the optical network. The downlink wavelength used by the unit enables device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the optical line terminal can In addition, the method according to an embodiment of the present invention can also reduce the probability of error in the device registration process to provide a more rigorous, more standardized, and more efficient device registration mechanism.
上文中结合图 2至图 4,从 OLT侧详细描述了根据本发明实施例的 EPON 系统中设备注册的方法 100, 下面将结合图 5,从 ONU侧详细描述根据本发 明实施例的 EPON系统中设备注册的方法 200。  The method 100 for device registration in an EPON system according to an embodiment of the present invention is described in detail above with reference to FIG. 2 to FIG. 4, and the EPON system according to the embodiment of the present invention will be described in detail from the ONU side in conjunction with FIG. Method 200 of device registration.
如图 5所示,示出了根据本发明实施例的 EPON系统中设备注册的方法 200, 该 EPON系统包括光线路终端 OLT和光网络单元 ONU, 该 OLT与该 ONU之间基于多个下行波长和一个上行波长进行通信, 该方法 200可以由 ONU执行, 例如, 该方法 200可以由 NG-EPON ONU、 1G EPON ONU或 10G EPON ONU执行。  As shown in FIG. 5, a method 200 for device registration in an EPON system according to an embodiment of the present invention is shown. The EPON system includes an optical line terminal OLT and an optical network unit ONU, and the OLT and the ONU are based on multiple downlink wavelengths. The method 200 can be performed by an ONU. For example, the method 200 can be performed by an NG-EPON ONU, a 1G EPON ONU, or a 10G EPON ONU.
如图 5所示, 该方法 200包括:  As shown in FIG. 5, the method 200 includes:
S210, 接收该 OLT发送的开窗消息;  S210. Receive a windowing message sent by the OLT.
S220, 根据该开窗消息, 向该 OLT发送用于请求注册的注册请求消息, 该注册请求消息携带该 ONU的波长信息, 该波长信息包括该 ONU接收该 开窗消息所釆用的注册下行波长;  S220, sending, according to the windowing message, a registration request message for requesting registration to the OLT, where the registration request message carries wavelength information of the ONU, where the wavelength information includes a registered downlink wavelength used by the ONU to receive the windowing message. ;
S230, 接收该 OLT根据该注册请求消息发送的注册消息, 该注册消息 包括该 OLT为该 ONU分配的逻辑链路标记 LLID;  S230, receiving a registration message sent by the OLT according to the registration request message, where the registration message includes a logical link identifier LLID allocated by the OLT to the ONU;
S240, 根据该注册消息向该 OLT发送用于确认完成注册的注册确认消 息。  S240. Send a registration confirmation message for confirming completion of registration to the OLT according to the registration message.
具体而言,在釆用多个下行波长和一个上行波长进行通道的 EPON系统 中, OLT例如通过广播向 ONU发送开窗消息, 以用于询问是否有新加入的 ONU需要进行注册。 如果新加入的该 ONU需要进行注册, 那么该 ONU接 收到 OLT广播发送的开窗消息时, 就可以根据该开窗消息向该 OLT广播发 送注册请求消息, 该注册请求消息用于向 OLT请求注册, 并且该注册请求 消息携带波长信息, 该波长信息能够指示该 ONU接收该开窗消息所釆用的 注册下行波长。 OLT接收到该 ONU发送的波长信息后, 可以向该 ONU发 送包括 LLID的注册消息; 该 ONU接收到 OLT下发的注册消息后, 可以进 行相应的注册处理, 并可以向 OLT发送注册确认消息, 以用于向 OLT指示 该 ONU完成注册, 从而在该 EPON系统中, 该 OLT与该 ONU之间能够进 行数据通信。 Specifically, in an EPON system that uses multiple downlink wavelengths and one uplink wavelength to perform a channel, the OLT sends a windowing message to the ONU, for example, by broadcasting, for asking whether there is a newly added. The ONU needs to register. If the newly added ONU needs to be registered, the ONU may send a registration request message to the OLT according to the windowing message when receiving the windowing message sent by the OLT, and the registration request message is used to request registration from the OLT. And the registration request message carries wavelength information, and the wavelength information can indicate the registered downlink wavelength used by the ONU to receive the windowing message. After receiving the wavelength information sent by the ONU, the OLT may send a registration message including the LLID to the ONU. After receiving the registration message sent by the OLT, the ONU may perform corresponding registration processing, and may send a registration confirmation message to the OLT. For indicating to the OLT that the ONU completes registration, in the EPON system, data communication can be performed between the OLT and the ONU.
因此, 本发明实施例的以太网无源光网络系统中设备注册的方法, 通过 在光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得 该光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下 行波长和一个上行波长进行通信的以太网无源光网络系统中能够实现设备 注册, 由此该光网络单元和该光线路终端之间能够进行数据通信。  Therefore, the device registration method in the Ethernet passive optical network system according to the embodiment of the present invention indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical line terminal can determine the optical network. The downlink wavelength used by the unit enables device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the optical line terminal can Data communication.
在本发明实施例中, 可选地, 该注册消息还包括波长确认信息, 该波长 确认信息用于指示该 OLT确认该波长信息。  In the embodiment of the present invention, optionally, the registration message further includes wavelength confirmation information, where the wavelength confirmation information is used to instruct the OLT to confirm the wavelength information.
在本发明实施例中, 可选地, 该注册请求消息的发现信息域包括该波长 信息; 或该注册请求消息包括波长信息域, 该波长信息域包括该波长信息。  In the embodiment of the present invention, optionally, the discovery information field of the registration request message includes the wavelength information; or the registration request message includes a wavelength information field, where the wavelength information field includes the wavelength information.
在本发明实施例中, 可选地, 该波长信息还包括该 ONU的下行波长调 节能力信息, 该下行波长调节能力信息包括下列信息中的至少一种: 下行波 长调节间隔、 下行波长数、 可调滤波器的波长调节范围、 每个下行波长调节 间隔的调节时间和下行波长调节速度。  In the embodiment of the present invention, optionally, the wavelength information further includes downlink wavelength adjustment capability information of the ONU, where the downlink wavelength adjustment capability information includes at least one of the following information: a downlink wavelength adjustment interval, a downlink wavelength, and an The wavelength adjustment range of the filter, the adjustment time of each downstream wavelength adjustment interval, and the downstream wavelength adjustment speed.
在本发明实施例中, 可选地, 该波长信息还包括该 ONU的上行波长和 / 或上行波长调节能力信息,该上行波长调节能力信息包括下列信息中的至少 一种: 上行波长调节间隔、 上行波长数、 上行波长调节范围、 每个上行波长 调节间隔的调节时间和上行波长调节速度。  In the embodiment of the present invention, the wavelength information further includes an uplink wavelength and/or an uplink wavelength adjustment capability information of the ONU, where the uplink wavelength adjustment capability information includes at least one of the following information: an uplink wavelength adjustment interval, The number of upstream wavelengths, the upstream wavelength adjustment range, the adjustment time of each upstream wavelength adjustment interval, and the upstream wavelength adjustment speed.
应理解,在本发明实施例中, 该开窗消息例如为基于 MPCP的 GATE消 息; 该注册请求消息例如为基于 MPCP的 REGISTER_REQ消息; 该注册消 息例如为基于 MPCP的 REGISTER消息;该注册确认消息例如为基于 MPCP 的 REGISTER_ACK消息。 上文中已结合图 2至图 4对上述消息进行了详细 的说明, 为了简洁, 在此不再赘述。 还应理解, 在本发明的各种实施例中, 上述各过程的序号的大小并不意 味着执行顺序的先后, 各过程的执行顺序应以其功能和内在逻辑确定, 而不 应对本发明实施例的实施过程构成任何限定。 It should be understood that, in the embodiment of the present invention, the windowing message is, for example, an MPCP-based GATE message; the registration request message is, for example, an MPCP-based REGISTER_REQ message; the registration message is, for example, an MPCP-based REGISTER message; the registration confirmation message is for example It is an MPCP-based REGISTER_ACK message. The foregoing message has been described in detail above with reference to FIG. 2 to FIG. 4, and is not described herein again for brevity. It should also be understood that, in various embodiments of the present invention, the size of the sequence numbers of the above processes does not imply a sequence of execution orders, and the order of execution of the processes should be determined by its function and internal logic, and should not be implemented by the present invention. The implementation of the examples constitutes any limitation.
因此, 本发明实施例的以太网无源光网络系统中设备注册的方法, 通过 在光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得 该光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下 行波长和一个上行波长进行通信的以太网无源光网络系统中能够实现设备 注册, 由此该光网络单元和该光线路终端之间能够进行数据通信。  Therefore, the device registration method in the Ethernet passive optical network system according to the embodiment of the present invention indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical line terminal can determine the optical network. The downlink wavelength used by the unit enables device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the optical line terminal can Data communication.
下面将结合图 6, 对本发明实施例提供的 EPON系统中设备注册的方法 进行详细描述。  A method for device registration in an EPON system according to an embodiment of the present invention will be described in detail below with reference to FIG.
如图 6所示, 在 S310中, OLT向 ONU广播发送 GATA消息, 以用于 询问是否有新加入的 ONU需要进行注册。 该 GATA消息例如可以包括: 源 地址(SA )、 目的地址(DA )、 授权(Grant )信息、 同步时间 (Sync Time ) 信息和发现信息 ( Discovery Information )。  As shown in FIG. 6, in S310, the OLT broadcasts a GATA message to the ONU for inquiring whether there is a newly added ONU that needs to be registered. The GATA message may include, for example, a source address (SA), a destination address (DA), a Grant (Grant) message, a Sync Time message, and a Discovery Information.
在 S320 中, ONU 向 OLT 广播发送 REGISTER_REQ 消息, 该 In S320, the ONU broadcasts a REGISTER_REQ message to the OLT.
REGISTER_REQ消息用于向 OLT请求注册, 并且该 REGISTER_REQ消息 携带波长信息。 该 REGISTER_REQ消息例如可以包括: 源地址(SA )、 目 的地址 (DA )、 等待授权(Pending Grants ) 信息、 发现信息 (Discovery Information )、激光开启时间( Laser On Time )信息、激光关闭时间( Laser Off Time )信息和波长信息 ( Wavelength Information )。 The REGISTER_REQ message is used to request registration from the OLT, and the REGISTER_REQ message carries wavelength information. The REGISTER_REQ message may include, for example, a source address (SA), a destination address (DA), a Pending Grants message, a Discovery Information, a Laser On Time message, and a laser off time (Laser Off). Time) Information and Wavelength Information.
在 S330中, OLT向 ONU广播发送 REGISTER消息, 该 REGISTER消 息包括波长确认信息, 该波长确认信息用于指示该 OLT确认该波长信息。 该 REGISTER消息例如可以包括: 源地址( SA )、 目的地址( DA )、 LLID、 同步时间 ( Sync Time )信息、 等待授权的确认( Echo of Pending Grants )信 息、目标激光开启时间( Target Laser On Time )信息、目标激光关闭时间( Target Laser Off Time )信息和波长确认信息 ( Echo of Wavelength Information )。  In S330, the OLT broadcasts a REGISTER message to the ONU, and the REGISTER message includes wavelength confirmation information, and the wavelength confirmation information is used to instruct the OLT to confirm the wavelength information. The REGISTER message may include, for example, a source address (SA), a destination address (DA), an LLID, a Sync Time message, an Echo of Pending Grants message, and a target laser on time. ) Information, Target Laser Off Time information and Echo of Wavelength Information.
在 S340中, OLT向 ONU单播发送 GATA消息, 以对 ONU进行授权。 该 GATA消息例如可以包括: 源地址( SA )、 目的地址( DA )和授权( Grant )。  In S340, the OLT sends a GATA message to the ONU unicast to authorize the ONU. The GATA message may include, for example, a source address (SA), a destination address (DA), and an authorization ( Grant).
在 S350 中, ONU 向 OLT 单播发送 REGISTER_ACK 消息, 该 REGISTER_ACK 消息用 于向 OLT 指示 ONU 已完成注册。 该 REGISTER_ACK 消息例如可以包括: 源地址(SA )、 目的地址(DA )、 同 步时间确认 ( Echo of Sync Time )信息和 LLID确认(Echo of LLID )信息。 应理解, 在本发明的各种实施例中, 上述各过程的序号的大小并不意味 着执行顺序的先后, 各过程的执行顺序应以其功能和内在逻辑确定, 而不应 对本发明实施例的实施过程构成任何限定。 In S350, the ONU unicasts a REGISTER_ACK message to the OLT, and the REGISTER_ACK message is used to indicate to the OLT that the ONU has completed registration. The REGISTER_ACK message may include, for example: a source address (SA), a destination address (DA), and the same Echo of Sync Time information and LLID confirmation (Echo of LLID) information. It should be understood that, in various embodiments of the present invention, the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention. The implementation process constitutes any limitation.
因此, 本发明实施例的以太网无源光网络系统中设备注册的方法, 通过 在光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得 该光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下 行波长和一个上行波长进行通信的以太网无源光网络系统中能够实现设备 注册, 由此该光网络单元和该光线路终端之间能够进行数据通信。  Therefore, the device registration method in the Ethernet passive optical network system according to the embodiment of the present invention indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical line terminal can determine the optical network. The downlink wavelength used by the unit enables device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the optical line terminal can Data communication.
上文中结合图 2至图 6, 详细描述了本发明实施例提供的 EPON系统中 设备注册的方法, 下面将结合图 7至图 15, 详细描述本发明实施例提供的 EPON系统中波长切换的方法。  The method for registering devices in an EPON system according to an embodiment of the present invention is described in detail with reference to FIG. 2 to FIG. 6 . The method for wavelength switching in an EPON system according to an embodiment of the present invention will be described in detail below with reference to FIG. 7 to FIG. .
图 7示出了本发明实施例提供的 EPON系统中波长切换的方法 500的示 意性流程图, 该方法 500可以由 OLT执行, 例如, 该方法 500由 NG-EPON OLT执行。 如图 7所示, 该方法 500包括: 该波长切换请求消息用于指示该 ONU切换至目标下行波长, 并且该波长切 换请求消息包括用于指示该目标下行波长的目标波长信息, 以及用于指示下 行波长切换的起止时间的切换时间信息;  FIG. 7 is a schematic flowchart of a method 500 for wavelength switching in an EPON system according to an embodiment of the present invention. The method 500 may be performed by an OLT. For example, the method 500 is performed by an NG-EPON OLT. As shown in FIG. 7, the method 500 includes: the wavelength switching request message is used to indicate that the ONU switches to a target downlink wavelength, and the wavelength switching request message includes target wavelength information for indicating the target downlink wavelength, and is used for indicating Switching time information of the start and end time of the downlink wavelength switching;
S520, 在固定的上行波长通道上, 接收该 ONU根据该波长切换请求消 息发送的波长切换确认消息, 该波长切换确认消息用于指示该 ONU确定执 行该下行波长切换;  S520: Receive, on a fixed uplink wavelength channel, a wavelength switch confirmation message sent by the ONU according to the wavelength switch request message, where the wavelength switch confirmation message is used to indicate that the ONU determines to perform the downlink wavelength switch.
S530, 在该起止时间内, 仅在与该目标下行波长相应的目标下行波长通 道上向该 ONU发送波长切换 4吏权消息,该波长切换 4吏权消息用于对该 ONU 进行授权;  S530, in the start and end time, transmitting a wavelength switching message to the ONU only on the target downlink wavelength channel corresponding to the target downlink wavelength, where the wavelength switching message is used to authorize the ONU;
S540, 当该 ONU在该起止时间内成功切换到该目标下行波长时, 在该 上行波长通道上接收该 ONU根据该波长切换 4吏权消息发送的波长切换完成 消息, 该波长切换完成消息用于指示该 ONU在该起止时间内成功切换到该 目标下行波长。  S540, when the ONU successfully switches to the target downlink wavelength in the start and end time, receiving, on the uplink wavelength channel, a wavelength switch completion message sent by the ONU according to the wavelength switching message, the wavelength switch completion message is used. Instructing the ONU to successfully switch to the target downstream wavelength during the start and end time.
因此, 本发明实施例的以太网无源光网络系统中波长切换的方法, 通过 光线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线 路终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下 行波长通道上向光网络单元发送波长切换 权消息,使得该光网络单元能够 在该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行 波长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减少切换出错概率, 并能够提高系统的业务量。 Therefore, the method for wavelength switching in the Ethernet passive optical network system according to the embodiment of the present invention indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and in the light The wavelength switching right message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching within the switching start and end time. The optical line terminal can be prevented from synchronizing the optical network unit on multiple downlink wavelength channels, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic.
具体而言, 在 S510中, OLT在源下行波长通道上向 ONU发送波长切 换请求消息, 该波长切换请求消息用于指示该 ONU切换至目标下行波长, 并包括目标波长信息和切换时间信息。  Specifically, in S510, the OLT sends a wavelength switch request message to the ONU on the source downlink channel, the wavelength switch request message is used to indicate that the ONU switches to the target downlink wavelength, and includes target wavelength information and switching time information.
在本发明实施例中, 该切换时间信息例如包括下行波长切换的起始时间 和截止时间; 又例如, 该切换时间信息包括下行波长切换的起始时间和切换 时长; 再例如, 该切换时间信息包括下行波长切换的切换时长和截止时间; 再例如, 该切换时间信息包括该起始时间、 该切换时长和该截止时间, 但本 发明并不限于此。  In the embodiment of the present invention, the switching time information includes, for example, a start time and a cutoff time of the downlink wavelength switching; for example, the switching time information includes a start time and a switching duration of the downlink wavelength switching; and, for example, the switching time information. The switching duration and the off time of the downlink wavelength switching are included; for example, the switching time information includes the starting time, the switching duration, and the deadline, but the present invention is not limited thereto.
在本发明实施例中,可选地,该波长切换请求消息为多点控制协议 MPCP 消息或运营管理维护 OAM消息。 下面将结合图 8A和图 9A, 分别对上述波 长切换请求消息进行描述。  In the embodiment of the present invention, optionally, the wavelength switching request message is a multipoint control protocol MPCP message or an operation management maintenance OAM message. The above-described wavelength switching request message will be described separately with reference to Figs. 8A and 9A.
图 8A示出了本发明实施例提供的基于 MPCP协议的调节控制消息的示 意性结构图, 其中, 本发明实施例的波长切换请求消息可以釆用图 8A所示 的调节控制消息的结构。  FIG. 8A is a schematic structural diagram of an MPCP protocol-based adjustment control message according to an embodiment of the present invention. The wavelength switching request message in the embodiment of the present invention may use the structure of the adjustment control message shown in FIG. 8A.
具体而言, 如图 8A所示, MPCP操作码( Opcode ) 0001表示媒体接入 控制(Media Access Control, 简称为 "MAC" )功能为暂停( PAUSE ), 即操 作码为 0001的消息为暂停(PAUSE )消息; 类似地, 操作码为 0002的消息 为开窗 (GATE ) 消息; 操作码为 0003的消息为报告(REPORT ) 消息; 操 作码为 0004 的消息为注册请求( REGISTER_REQ ) 消息; 操作码为 0005 的消息为注册 (REGISTER ) 消息; 操作码为 0006 的消息为注册确认 ( REGISTER_ACK )消息; 操作码为 0007的消息为本发明实施例提供的调 节控制 ( TUNING_CONTROL ) 消息, 该 TUNING_CONTROL消息可以用 于 OLT向 ONU发送下行波长切换相关的控制指令; 操作码为 0008的消息 为本发明实施例提供的调节响应 ( TUNING_RESPONSE ) 消息, 该 TUNING_RESPONSE消息可以用于 ONU向 OLT反馈下行波长切换相关的 响应信息。 其中, 该 TUNING_CONTROL 消息可以包括: 6 个字节的目的地址 ( Destination Address,简称为 "DA" )域、 6个字节的源地址( Source Address, 简称为 "SA" )域、 2个字节的长度(Length ) /类型 (Type )域、 2个字节 的操作码(Opcode )域、 4个字节的时间戳 ( Timestamp )域、 1个字节的标 志 ( Flags )域、 2个字节的目标波长信息 ( Target Wavelength Information ) 域、 1个字节的开始时间 (Start Time )域、 1个字节的超时(Timeouts )域、 1个字节的授权 ( Grants )域、 32个字节的填充( Pad )域和 4个字节的帧校 马全序列 (Frame Check Sequence, 简称为 "FCS" )域。 Specifically, as shown in FIG. 8A, the MPCP operation code (Opt) 0001 indicates that the media access control (Media Access Control, referred to as "MAC") function is paused (PAUSE), that is, the message with the operation code of 0001 is paused ( PAUSE) message; similarly, the message with the operation code 0002 is a window open (GATE) message; the message with the operation code 0003 is a report (REPORT) message; the message with the operation code 0004 is a registration request (REGISTER_REQ) message; The message of 0005 is the REGISTER message; the message with the operation code 0006 is the registration confirmation (REGISTER_ACK) message; the message with the operation code of 0007 is the adjustment control (TUNING_CONTROL) message provided by the embodiment of the present invention, and the TUNING_CONTROL message can be used. The OLT sends a control command related to the downlink wavelength switch to the ONU. The message with the operation code 0008 is the TUNING_RESPONSE message provided by the embodiment of the present invention. The TUNING_RESPONSE message can be used by the ONU to feed back the response information related to the downlink wavelength switch to the OLT. . The TUNING_CONTROL message may include: a 6-byte Destination Address ("DA") field, a 6-byte Source Address ("SA") field, and 2 bytes. Length / Type field, 2-byte opcode (Opcode) field, 4-byte timestamp (Timestamp) field, 1-byte flag (Flags) field, 2 words Target Wavelength Information field, 1-byte Start Time field, 1-byte Timeouts field, 1-byte Grants field, 32 words The padding field of the section and the 4-byte frame check sequence ("FCS") field.
在本发明实施例中, 该 1个字节的标志( Flags )域例如可以包括四种状 态, 例如, 该 Flags为 "00" 时, 可以表示 OLT指示已注册的 ONU进行下 行波长切换; 又例如, 该 Flags为 "01" 时, 可以表示 OLT指示准备进行波 长切换的 ONU撤销下行波长切换; 再例如, 该 Flags为 "10" 时, 可以表 示 OLT确认该 ONU下行波长切换成功; 再例如, 该 Flags为 "11" 时, 可 以表示 OLT确认该 ONU下行波长切换未成功, 但本发明并不限于此。  In the embodiment of the present invention, the one-byte flag (Factors) field may include, for example, four states. For example, when the Flags is "00", the OLT may indicate that the registered ONU performs downlink wavelength switching; for example, When the Flags is "01", it may indicate that the OLT indicates that the ONU that is ready for wavelength switching cancels the downlink wavelength switching; for example, when the Flags is "10", it may indicate that the OLT confirms that the ONU downlink wavelength switching is successful; for example, When Flags is "11", it may indicate that the OLT confirms that the ONU downlink wavelength switching is unsuccessful, but the present invention is not limited thereto.
即图 8A示出了基于 MPCP协议的波长切换请求消息,下面将描述图 9A 所示的基于 OAM协议的波长切换请求消息。  That is, Fig. 8A shows a wavelength switching request message based on the MPCP protocol, and the OAM protocol based wavelength switching request message shown in Fig. 9A will be described below.
图 9A示出了本发明实施例提供的基于 OAM协议的调节控制消息的示 意性结构图, 其中, 本发明实施例的波长切换请求消息可以釆用图 9A所示 的调节控制消息的结构。  FIG. 9A is a schematic structural diagram of an OAM protocol-based adjustment control message according to an embodiment of the present invention. The wavelength switching request message in the embodiment of the present invention may use the structure of the adjustment control message shown in FIG. 9A.
如图 9A所示, OAM消息例如可以包括 6个字节的目的地址( Destination As shown in FIG. 9A, the OAM message may include, for example, a 6-byte destination address (Destination
Address )域、 6个字节的源地址( Source Address )域、 2个字节的长度( Length ) /类型( Type )域、 2个字节的子类型( Subtype )域、 1个字节的标志( Flags ) 域、 2个字节的代码(Code )域、 2个字节的填充(Pad )域和 4个字节的帧 校验序歹1 J ( Frame Check Sequence )域。 Address ) Domain, 6-byte source address field, 2 bytes length (Type) field, 2 bytes subtype (Subtype) field, 1 byte frame check sequence flag (the flags) domain, two bytes of code (Code) field, a 2-byte padding (Pad) and 4-byte field bad 1 J (frame check sequence) field.
在 2个字节的代码( Code )域中, 代码 "00" 例如可以表示该 OAM消 息为信息 (Information ) 消息; 代码 "00" 例如可以表示该 OAM消息为信 息 ( Information ) 消息; 代码 "01" 例如可以表示该 OAM消息为事件通知 ( Event Notification )消息; 代码 "02"例如可以表示该 OAM消息为可变请 求 ( Variable Request ) 消息; 代码 "03" 例如可以表示该 OAM消息为可变 响应( Variable Response )消息; 代码 "04" 例如可以表示该 OAM消息为回 送控制 ( Loopback Control )消息; 代码 "05" 例如可以表示该 OAM消息为 本发明实施例提供的调节控制( Tuning Control )消息; 代码 "06" 例如可以 表示该 OAM消息为本发明实施例提供的调节响应( Tuning Response )消息; 代码 "FE" 例如可以表示该 OAM消息为具体组织 ( Organization Specific ) 消息。 In the 2-byte code field, the code "00" may, for example, indicate that the OAM message is an Information message; the code "00" may, for example, indicate that the OAM message is an Information message; Code "01" For example, the OAM message may be an Event Notification message; the code "02" may indicate that the OAM message is a Variable Request message; for example, the code "03" may indicate that the OAM message is a variable response. (Variable Response) message; the code "04" may, for example, indicate that the OAM message is a loopback control message; the code "05" may, for example, indicate that the OAM message is The Tuning Control message is provided by the embodiment of the present invention; the code "06" may indicate that the OAM message is the Tuning Response message provided by the embodiment of the present invention; and the code "FE" may indicate that the OAM message is Organization Specific message.
其中, 该调节控制( Tuning Control )消息的内容例如可以包括下列信息 中的至少一种信息: 标志信息、 目标波长信息、 开始时间信息、 超时信息和 4受权信息。 该标志 (Flags )信息例如可以包括四种状态, 例如, 该 Flags为 "00" 时, 可以表示 OLT指示已注册的 ONU进行下行波长切换; 又例如, 该 Flags为 "01" 时, 可以表示 OLT指示准备进行波长切换的 ONU撤销下 行波长切换; 再例如, 该 Flags为 "10" 时, 可以表示 OLT确认该 ONU下 行波长切换成功; 再例如, 该 Flags为 "11" 时, 可以表示 OLT确认该 ONU 下行波长切换未成功, 但本发明并不限于此。  The content of the Tuning Control message may include, for example, at least one of the following information: flag information, target wavelength information, start time information, timeout information, and 4 authorized information. The flag (Flags) information may include, for example, four states. For example, when the Flags is "00", the OLT may indicate that the registered ONU performs downlink wavelength switching. For example, when the Flags is "01", the OLT may be represented. The ONU that is instructed to perform the wavelength switching cancels the downlink wavelength switching. For example, when the Flags is "10", the OLT can confirm that the ONU downlink wavelength switching is successful. For example, when the Flags is "11", the OLT can confirm that the OLT confirms the The ONU downlink wavelength switching is not successful, but the present invention is not limited thereto.
因此, 在本发明实施例中, 该波长切换请求消息例如为基于 MPCP 或 OAM协议的 Flags为 "00" 调节控制 ( Tuning Control ) 消息。  Therefore, in the embodiment of the present invention, the wavelength switching request message is, for example, a Flags based on MPCP or OAM protocol, and is a "00" Tuning Control message.
在本发明实施例中, 该波长切换请求消息还可以包括用于指示消息类型 的标记和 /或下行波长调节能力信息,其中,该下行波长调节能力信息包括下 列信息中的至少一种: 下行波长调节间隔、 下行波长数、 可调滤波器的波长 调节范围、 每个下行波长调节间隔的调节时间和下行波长调节速度, 但本发 明并不限于此。  In this embodiment, the wavelength switching request message may further include a flag and/or downlink wavelength adjustment capability information for indicating a message type, where the downlink wavelength adjustment capability information includes at least one of the following information: The adjustment interval, the number of downstream wavelengths, the wavelength adjustment range of the tunable filter, the adjustment time of each downstream wavelength adjustment interval, and the downstream wavelength adjustment speed, but the present invention is not limited thereto.
在 S520中, OLT在固定的一个上行波长通道上, 接收该 ONU发送的 波长切换确认消息, 该波长切换确认消息用于指示该 ONU确定执行该下行 波长切换。  In S520, the OLT receives a wavelength switch confirmation message sent by the ONU on a fixed uplink wavelength channel, where the wavelength switch confirmation message is used to indicate that the ONU determines to perform the downlink wavelength switch.
在本发明实施例中,可选地,该波长切换确认消息为多点控制协议 MPCP 消息或运营管理维护 OAM消息。 下面将结合图 8B和图 9B, 分别对上述波 长切换确认消息进行描述。  In the embodiment of the present invention, optionally, the wavelength switch confirmation message is a multipoint control protocol MPCP message or an operation management maintenance OAM message. The above-described wavelength switching confirmation message will be described below with reference to Figs. 8B and 9B, respectively.
如图 8B所示, 示出了本发明实施例提供的基于 MPCP协议的调节响应 消息的示意性结构图, 本发明实施例的波长切换确认消息可以釆用该图 8B 所示的调节响应消 , 的结构。  As shown in FIG. 8B, a schematic structural diagram of an MPCP protocol-based adjustment response message according to an embodiment of the present invention is shown. The wavelength switching confirmation message in the embodiment of the present invention may use the adjustment response cancellation shown in FIG. 8B. Structure.
其中, 操作码为 0008的调节响应 ( TUNING_RESPONSE ) 消息例如可 以包括: 6个字节的目的地址( Destination Address )域、 6个字节的源地址 ( Source Address )域、 2个字节的长度 ( Length ) /类型 ( Type )域、 2个字 节的操作码 ( Opcode )域、 4个字节的时间戳 ( Timestamp )域、 1个字节的 标志( Flags )域、 2个字节的波长信息确认 ( Echoed Wavelength Information ) 域、 1个字节的开始时间确认(Echoed Start Time )域、 1个字节的超时确认 ( Echoed Timeouts )域、 32个字节的填充(Pad )域和 4个字节的帧校验序 歹1 J ( Frame Check Sequence )域。 The TUNING_RESPONSE message with the operation code of 0008 may include, for example, a 6-byte Destination Address field, a 6-byte Source Address field, and a length of 2 bytes ( Length ) / Type (Type) field, 2 words Opcode field of the section, Timestamp field of 4 bytes, Flags field of 1 byte, Echoed Wavelength Information field of 2 bytes, 1 word start time confirmation section (Echoed start time) field, a frame check sequence byte acknowledgment timeout (Echoed timeouts) field, 32 bytes of padding (Pad) and 4-byte field bad 1 J (frame Check Sequence) field.
在本发明实施例中, 该 1个字节的标志( Flags )域例如可以包括四种状 态, 例如, 该 Flags为 "00" 时, 可以表示 ONU确定执行下行波长切换; 又例如, 该 Flags为 "01" 时, 可以表示 ONU不能执行下行波长切换; 再 例如, 该 Flags为 "10" 时, 可以表示 ONU反馈下行波长切换成功; 再例 如, 该 Flags为 "11" 时, 可以表示 ONU反馈未完成下行波长切换, 并且回 滚到源下行波长通道, 但本发明并不限于此。  In the embodiment of the present invention, the 1 byte flag field may include, for example, four states. For example, when the Flags is "00", the ONU may determine that the downlink wavelength switching is performed; for example, the Flags is When "01", it can be said that the ONU cannot perform downlink wavelength switching; for example, when the Flags is "10", it can indicate that the ONU feedback downlink wavelength switching is successful; for example, when the Flags is "11", it can indicate that the ONU feedback is not The downlink wavelength switching is completed and rolled back to the source downstream wavelength channel, but the present invention is not limited thereto.
图 9B示出了本发明实施例提供的基于 OAM协议的调节响应消息的示 意性结构图, 其中, 本发明实施例的波长切换确认消息可以釆用图 9B所示 的调节响应消息的结构。  FIG. 9B is a schematic structural diagram of an OAM protocol-based adjustment response message according to an embodiment of the present invention. The wavelength switching acknowledgement message in the embodiment of the present invention may use the structure of the adjustment response message shown in FIG. 9B.
如图 9B所示, 代码为 "06" 的调节响应 ( Tuning Response ) 消息的内 容例如可以包括下列信息中的至少一种信息:标志信息、目标波长确认信息、 开始时间确认信息和超时确认信息。 其中, 该标志(Flags )信息例如可以包 括四种状态, 例如, 该 Flags为 "00" 时, 可以表示 ONU确定执行下行波 长切换; 又例如, 该 Flags为 "01" 时, 可以表示 ONU不能执行下行波长 切换; 再例如, 该 Flags为 "10" 时, 可以表示 ONU反馈下行波长切换成 功信息; 再例如, 该 Flags为 "11" 时, 可以表示 ONU反馈下行波长切换未 成功信息, 并且回滚到源下行波长通道, 但本发明并不限于此。  As shown in Fig. 9B, the content of the Tuning Response message whose code is "06" may include, for example, at least one of the following information: flag information, target wavelength confirmation information, start time confirmation information, and timeout confirmation information. The flag (Flags) information may include, for example, four states. For example, when the Flags is "00", it may indicate that the ONU determines to perform downlink wavelength switching. For example, when the Flags is "01", it may indicate that the ONU cannot be executed. Downlink wavelength switching; For example, when the Flags is "10", it can indicate that the ONU feeds back the downlink wavelength switching success information; for example, when the Flags is "11", it can indicate that the ONU feedbacks the downlink wavelength switching unsuccessful information, and rolls back To the source downstream wavelength channel, the invention is not limited thereto.
因此, 在本发明实施例中, 该波长切换确认消息例如为基于 MPCP 或 OAM协议的 Flags为 "00" 的调节响应 ( Tuning Response ) 消息。  Therefore, in the embodiment of the present invention, the wavelength switch confirmation message is, for example, a Tuning Response message whose flag is "00" based on MPCP or OAM protocol.
在本发明实施例中, 该波长切换确认消息还可以包括下列信息中的至少 一种: 用于指示消息类型的标记、 下行波长调节能力确认信息和切换时间确 认信息, 其中, 该下行波长调节能力确认信息包括对下列信息中的至少一种 信息的确认: 下行波长调节间隔、下行波长数、可调滤波器的波长调节范围、 每个下行波长调节间隔的调节时间和下行波长调节速度,但本发明并不限于 此。  In the embodiment of the present invention, the wavelength switch confirmation message may further include at least one of the following information: a flag for indicating a message type, downlink wavelength adjustment capability confirmation information, and handover time confirmation information, where the downlink wavelength adjustment capability The confirmation information includes confirmation of at least one of the following information: a downlink wavelength adjustment interval, a downlink wavelength number, a wavelength adjustment range of the tunable filter, an adjustment time of each downlink wavelength adjustment interval, and a downlink wavelength adjustment speed, but The invention is not limited to this.
在 S530中, 在该起止时间内, OLT仅在与该目标下行波长相应的目标 下行波长通道上向该 ONU发送波长切换 4吏权消息。 In S530, during the start and end time, the OLT only targets the target downstream wavelength. A wavelength switching 4 消息 message is sent to the ONU on the downlink wavelength channel.
应理解, 在本发明实施例中, 在该下行波长切换的起止时间内, OLT仅 仅在目标下行波长通道上进行授权, 而没有在多个或所有的下行波长通道上 进行同步授权, 从而能够提高切换效率, 减少切换出错概率, 并能够提高系 统的业务量。  It should be understood that, in the embodiment of the present invention, during the start and end of the downlink wavelength switching, the OLT performs authorization only on the target downlink wavelength channel, and does not perform synchronization authorization on multiple or all downlink wavelength channels, thereby improving Switching efficiency, reducing the probability of switching errors, and increasing the traffic of the system.
还应理解, 在本发明实施例中, OLT在该起止时间内可以周期性地发送 波长切换授权消息。 如果在该起止时间内, OLT接收到 ONU发送的波长切 换完成消息, 则说明 ONU切换成功, 由此 OLT不必再向 ONU发送该波长 切换授权消息。  It should also be understood that in the embodiment of the present invention, the OLT may periodically send a wavelength switching grant message during the start and end time. If the OLT receives the wavelength switching complete message sent by the ONU during the start and end time, the ONU handover succeeds, so that the OLT does not need to send the wavelength handover grant message to the ONU.
即在本发明实施例中, 可选地, 在该起止时间内并且仅在 OLT接收到 That is, in the embodiment of the present invention, optionally, during the start and end time and only received at the OLT
ONU发送的波长切换完成消息之前, OLT仅在该目标下行波长通道上向该 ONU发送波长切换授权消息。 Before the wavelength switching completion message sent by the ONU, the OLT sends a wavelength switching authorization message to the ONU only on the target downlink wavelength channel.
在本发明实施例中, 该波长切换授权消息也可以为基于 MPCP或 OAM 协议的调节控制 ( Tuning Control ) 消息, 如图 8A和 9A所示, 为了简洁, 在此不再赘述。  In the embodiment of the present invention, the wavelength switching grant message may also be an Tuning Control message based on the MPCP or the OAM protocol, as shown in FIG. 8A and FIG. 9A. For brevity, details are not described herein again.
在 S540中, 当该 ONU在该起止时间内成功切换到该目标下行波长时, OLT在该上行波长通道上接收该 ONU发送的波长切换完成消息, 以指示该 ONU在该起止时间内成功切换到该目标下行波长。  In S540, when the ONU successfully switches to the target downlink wavelength in the start and end time, the OLT receives a wavelength switch completion message sent by the ONU on the uplink wavelength channel, to indicate that the ONU successfully switches to the start and end time. The target downstream wavelength.
即在该起止时间内, 如果 ONU成功切换到目标下行波长, 则 ONU在 该起止时间内能够收到 OLT例如周期性发送的波长切换授权消息, 由此, ONU可以根据该波长切换授权消息, 在该固定的上行波长通道上向 OLT发 送波长切换完成消息。  That is, during the start and stop time, if the ONU successfully switches to the target downlink wavelength, the ONU can receive the wavelength switching authorization message periodically sent by the OLT, for example, the ONU can switch the authorization message according to the wavelength. A wavelength switch completion message is sent to the OLT on the fixed upstream wavelength channel.
在本发明实施例中, 该波长切换完成消息也可以为基于 MPCP或 OAM 协议的调节响应 ( Tuning Response ) 消息, 其中, 该 Tuning Response消息 的 Flags可以为 "10", 指示 ONU反馈下行波长切换成功, 如图 8B和 9B所 示, 为了简洁, 在此不再赘述。  In the embodiment of the present invention, the wavelength switch completion message may also be a Tuning Response message based on the MPCP or the OAM protocol, where the Flags of the Tuning Response message may be “10”, indicating that the ONU feedback downlink wavelength switching succeeds. As shown in FIG. 8B and FIG. 9B, for brevity, details are not described herein again.
因此, 本发明实施例的以太网无源光网络系统中波长切换的方法, 通过 光线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线 路终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下 行波长通道上向光网络单元发送波长切换 权消息,使得该光网络单元能够 在该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行 波长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减少切换出错概率, 并能够提高系统的业务量。 Therefore, the method for wavelength switching in the Ethernet passive optical network system according to the embodiment of the present invention indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and switches the start and end time of the downlink wavelength indicated by the optical line terminal. The wavelength switching right message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching within the start and end time of the switching, and can avoid the optical line terminal at the same time. Down Synchronizing the optical network unit on the wavelength channel, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic.
在本发明实施例中, 可选地, 如图 10所示, 该方法 500还包括: In the embodiment of the present invention, optionally, as shown in FIG. 10, the method 500 further includes:
S550, 在该目标下行波长通道上, 才艮据该波长切换完成消息向该 ONU 发送波长切换成功消息, 该波长切换成功消息用于指示光线路终端 OLT确 认该 ONU下行波长切换成功。 S550. The wavelength switching success message is sent to the ONU according to the wavelength switching completion message, where the wavelength switching success message is used to indicate that the optical line terminal OLT confirms that the ONU downlink wavelength switching is successful.
即在本发明实施例中,当 OLT接收到 ONU发送的波长切换完成消息时, OLT可以在该目标下行波长通道上, 向该 ONU发送波长切换成功消息, 以 用于指示该 OLT确认该 ONU下行波长切换成功。  That is, in the embodiment of the present invention, when the OLT receives the wavelength switching completion message sent by the ONU, the OLT may send a wavelength switching success message to the ONU on the target downlink wavelength channel, so as to indicate that the OLT confirms the ONU downlink. The wavelength switching was successful.
在本发明实施例中, 该波长切换成功消息也可以为基于 MPCP或 OAM 协议的调节控制( Tuning Control )消息,其中,该 Tuning Control消息的 Flags 可以为 "10", 表示 OLT确认该 ONU下行波长切换成功, 如图 8A和 9A所 示, 为了简洁, 在此不再赘述。  In the embodiment of the present invention, the wavelength switching success message may also be an adjustment control (Tuning Control) message based on the MPCP or the OAM protocol, where the Flags of the Tuning Control message may be “10”, indicating that the OLT confirms the downlink wavelength of the ONU. The switching succeeds, as shown in FIGS. 8A and 9A, for brevity, details are not described herein again.
上文中结合图 7至图 10,详细描述了 EPON系统中 ONU的下行波长切 换成功的情况, 下面将结合图 11描述 ONU的下行波长切换未成功的情况。  The downlink wavelength switching success of the ONU in the EPON system is described in detail above with reference to FIG. 7 to FIG. 10. The following describes the unsuccessful downlink wavelength switching of the ONU in conjunction with FIG.
如图 11所示, 可选地, 本发明实施例提供的 EPON系统中波长切换的 方法 500还包括:  As shown in FIG. 11, the method 500 for wavelength switching in the EPON system provided by the embodiment of the present invention further includes:
S560, 当在该起止时间内没有接收到该 ONU发送的该波长切换完成消 息时, 仅在该源下行波长通道上向该 ONU发送该波长切换 4吏权消息;  S560, when the wavelength switching completion message sent by the ONU is not received within the start and end time, sending the wavelength switching message to the ONU only on the source downlink wavelength channel;
S570, 在该上行波长通道上, 接收该 ONU根据该波长切换授权消息发 送的波长切换未完成消息, 该波长切换未完成消息用于指示该 ONU在该起 止时间内未成功切换到该目标下行波长。  S570. The wavelength switching incomplete message sent by the ONU according to the wavelength switching authorization message is received on the uplink wavelength channel, where the wavelength switching incomplete message is used to indicate that the ONU does not successfully switch to the target downlink wavelength within the start and end time. .
即在本发明实施例中, 当 OLT在该起止时间内没有接收到 ONU发送的 该波长切换完成消息时, OLT仅在源下行波长通道上向该 ONU发送波长切 换授权消息, 从而使得下行波长切换未成功的 ONU在源下行波长通道上能 够接收到信息, 由此 ONU可以根据该波长切换授权消息, 在该固定的上行 波长通道上向 OLT发送波长切换未完成消息, 以指示该 ONU在该起止时间 内未成功切换到该目标下行波长。  That is, in the embodiment of the present invention, when the OLT does not receive the wavelength switching completion message sent by the ONU within the start and end time, the OLT sends a wavelength switching authorization message to the ONU only on the source downlink wavelength channel, thereby enabling downlink wavelength switching. The unsuccessful ONU can receive information on the source and downlink wavelength channels, so that the ONU can switch the grant message according to the wavelength, and send a wavelength switch incomplete message to the OLT on the fixed uplink wavelength channel to indicate that the ONU is at the start and end. The target downlink wavelength was not successfully switched within the time.
因而, 在本发明实施例中, 即使 ONU下行波长切换未成功, OLT也仅 仅在源下行波长通道上对 ONU进行授权, 使得 ONU能够回滚到源下行波 长通道, 由此能够简化下行波长切换流程, 减少切换出错概率, 并能够提高 系统的业务量。 Therefore, in the embodiment of the present invention, even if the ONU downlink wavelength switching is not successful, the OLT only authorizes the ONU on the source downlink channel, so that the ONU can roll back to the source and downlink wavelength channels, thereby simplifying the downlink wavelength switching process. , reduce the probability of switching errors, and can improve The amount of business in the system.
在本发明实施例中, 该波长切换授权消息也可以为基于 MPCP或 OAM 协议的调节控制 ( Tuning Control ) 消息, 如图 8A和 9A所示, 为了简洁, 在此不再赘述。  In the embodiment of the present invention, the wavelength switching grant message may also be an Tuning Control message based on the MPCP or the OAM protocol, as shown in FIG. 8A and FIG. 9A. For brevity, details are not described herein again.
在本发明实施例中, 该波长切换未完成消息也可以为基于 MPCP 或 In the embodiment of the present invention, the wavelength switching incomplete message may also be based on MPCP or
OAM协议的调节响应 ( Tuning Response ) 消息, 其中, 该 Tuning Response 消息的 Flags可以为 "11", 指示 ONU反馈下行波长切换未成功信息, 如图 8B和 9B所示, 为了简洁, 在此不再赘述。 The Tuning Response message of the OAM protocol, where the Flags of the Tuning Response message may be "11", indicating that the ONU feedbacks the downlink wavelength switching unsuccessful information, as shown in FIGS. 8B and 9B, for the sake of brevity, no longer Narration.
在本发明实施例中, 可选地, 如图 11所示, 该方法 500还包括: S580, 在该源下行波长通道上, 才艮据该波长切换未完成消息向该 ONU 发送波长切换未成功消息, 该波长切换未成功消息用于指示 OLT 确认该 ONU下行波长切换未成功。  In the embodiment of the present invention, optionally, as shown in FIG. 11, the method 500 further includes: S580, on the source downlink wavelength channel, sending a wavelength switch to the ONU according to the wavelength switching incomplete message is unsuccessful The message that the wavelength switch unsuccessful message is used to instruct the OLT to confirm that the ONU downlink wavelength switching is unsuccessful.
即在本发明实施例中, 当 OLT接收到 ONU发送的波长切换未完成消息 时, OLT可以在该源下行波长通道上, 向该 ONU发送波长切换未成功消息, 以用于指示该 OLT确认该 ONU下行波长切换未成功。  That is, in the embodiment of the present invention, when the OLT receives the wavelength switch incomplete message sent by the ONU, the OLT may send a wavelength switch unsuccessful message to the ONU on the source downlink wavelength channel, to indicate that the OLT confirms the The ONU downlink wavelength switching was unsuccessful.
在本发明实施例中, 该波长切换未成功消息也可以为基于 MPCP 或 OAM协议的调节控制 (Tuning Control ) 消息, 其中, 该 Tuning Control消 息的 Flags可以为 "11", 表示 OLT确认该 ONU下行波长切换未成功, 如图 8A和 9A所示, 为了简洁, 在此不再赘述。  In the embodiment of the present invention, the wavelength switch unsuccessful message may also be an adjustment control (Tuning Control) message based on the MPCP or the OAM protocol, where the Flags of the Tuning Control message may be "11", indicating that the OLT confirms the ONU downlink. The wavelength switching is unsuccessful, as shown in FIG. 8A and FIG. 9A. For brevity, details are not described herein again.
应理解, 本发明实施例仅以具有多个下行波长通道和一个上行波长通道 的 EPON系统为例进行说明, 但本发明并不限于此, 本发明实施例提供的波 长切换的方法还可以应用于具有多个下行波长通道和多个上行波长通道的 EPON系统。  It should be understood that the embodiment of the present invention is only an example of an EPON system having multiple downlink wavelength channels and one uplink wavelength channel. However, the present invention is not limited thereto, and the wavelength switching method provided by the embodiment of the present invention may also be applied to An EPON system having multiple downstream wavelength channels and multiple upstream wavelength channels.
还应理解, 在本发明的各种实施例中, 上述各过程的序号的大小并不意 味着执行顺序的先后, 各过程的执行顺序应以其功能和内在逻辑确定, 而不 应对本发明实施例的实施过程构成任何限定。  It should also be understood that, in various embodiments of the present invention, the size of the sequence numbers of the above processes does not imply a sequence of execution orders, and the order of execution of each process should be determined by its function and internal logic, and should not be implemented by the present invention. The implementation of the examples constitutes any limitation.
因此, 本发明实施例的以太网无源光网络系统中波长切换的方法, 通过 光线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线 路终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下 行波长通道上向光网络单元发送波长切换 权消息,使得该光网络单元能够 在该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行 波长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减少切换出错概率, 并能够提高系统的业务量。 Therefore, the method for wavelength switching in the Ethernet passive optical network system according to the embodiment of the present invention indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and switches the start and end time of the downlink wavelength indicated by the optical line terminal. The wavelength switching right message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching within the start and end time of the switching, and can avoid the optical line terminal at the same time. Down Synchronizing the optical network unit on the wavelength channel, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic.
上文中结合图 7 至图 11, 从 OLT侧详细描述了根据本发明实施例的 EPON系统中波长切换的方法 500, 下面将结合图 12至图 14, 从 ONU侧详 细描述根据本发明实施例的 EPON系统中波长切换的方法 600。  The method 500 for wavelength switching in an EPON system according to an embodiment of the present invention is described in detail above with reference to FIG. 7 to FIG. 11. The following describes the method according to the embodiment of the present invention from the ONU side in conjunction with FIG. 12 to FIG. Method 600 for wavelength switching in an EPON system.
如图 12所示, 本发明实施例提供的 EPON系统中波长切换的方法 600 包括:  As shown in FIG. 12, a method 600 for wavelength switching in an EPON system according to an embodiment of the present invention includes:
S610, 在源下行波长通道上接收光线路终端 OLT发送的波长切换请求 消息,该波长切换请求消息用于指示光网络单元 ONU切换至目标下行波长, 并且该波长切换请求消息包括用于指示该目标下行波长的目标波长信息, 以 及用于指示下行波长切换的起止时间的切换时间信息;  S610, receiving a wavelength switching request message sent by the optical line terminal OLT on the source downlink wavelength channel, where the wavelength switching request message is used to indicate that the optical network unit ONU switches to the target downlink wavelength, and the wavelength switching request message includes Target wavelength information of the downlink wavelength, and switching time information for indicating the start and end time of the downlink wavelength switching;
S620, 在固定的上行波长通道上, 根据该波长切换请求消息向该 OLT 发送波长切换确认消息, 该波长切换确认消息用于指示该 ONU确定执行该 下行波长切换;  S620: Send, on the fixed uplink wavelength channel, a wavelength switch confirmation message to the OLT according to the wavelength switching request message, where the wavelength switch confirmation message is used to indicate that the ONU determines to perform the downlink wavelength switch.
S630, 当该 ONU在该起止时间内成功切换到该目标下行波长时, 接收 授权消息, 该波长切换授权消息用于对该 ONU进行授权;  S630, when the ONU successfully switches to the target downlink wavelength in the start and end time, receiving an authorization message, where the wavelength switching authorization message is used to authorize the ONU;
S640, 在该上行波长通道上, 根据该波长切换授权消息向该 OLT发送 波长切换完成消息, 该波长切换完成消息用于指示该 ONU在该起止时间内 成功切换到该目标下行波长。  S640, on the uplink wavelength channel, send a wavelength switch completion message to the OLT according to the wavelength switching authorization message, where the wavelength switch completion message is used to indicate that the ONU successfully switches to the target downlink wavelength within the start and end time.
因此, 本发明实施例的以太网无源光网络系统中波长切换的方法, 通过 光线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线 路终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下 行波长通道上向光网络单元发送波长切换 权消息,使得该光网络单元能够 在该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行 波长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减少切换出错概率, 并能够提高系统的业务量。  Therefore, the method for wavelength switching in the Ethernet passive optical network system according to the embodiment of the present invention indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and switches the start and end time of the downlink wavelength indicated by the optical line terminal. The wavelength switching right message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching within the start and end time of the switching, and can avoid the optical line terminal at the same time. Synchronizing the optical network unit on the downlink wavelength channel, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic.
在本发明实施例中, 可选地, 该方法 600还包括:  In the embodiment of the present invention, optionally, the method 600 further includes:
S650, 在该目标下行波长通道上, 接收该 OLT根据该波长切换完成消 息发送的波长切换成功消息, 该波长切换成功消息用于指示该 OLT确认该 ONU下行波长切换成功。 在本发明实施例中, 可选地, 该方法 600还包括: S650, on the target downlink wavelength channel, receive a wavelength switching success message sent by the OLT according to the wavelength switching completion message, where the wavelength switching success message is used to indicate that the OLT confirms that the ONU downlink wavelength switching is successful. In an embodiment of the present invention, optionally, the method 600 further includes:
S660, 当该 ONU在该起止时间内未成功切换到该目标下行波长时, 在 该起止时间超时后, 接收该 OLT仅在该源下行波长通道上发送的该波长切 换授权消息;  S660, when the ONU fails to successfully switch to the target downlink wavelength within the start and end time, after the start and end time expires, receiving the wavelength switching authorization message sent by the OLT only on the source downlink wavelength channel;
S670, 在该上行波长通道上, 根据该波长切换授权消息向该 OLT发送 波长切换未完成消息, 该波长切换未完成消息用于指示该 ONU在该起止时 间内未成功切换到该目标下行波长。  S670. Send, on the uplink wavelength channel, a wavelength switch incomplete message to the OLT according to the wavelength switching grant message, where the wavelength switch incomplete message is used to indicate that the ONU does not successfully switch to the target downlink wavelength within the start and end time.
在本发明实施例中, 可选地, 该方法 600还包括:  In the embodiment of the present invention, optionally, the method 600 further includes:
S680, 在该源下行波长通道上, 接收该 OLT根据该波长切换未完成消 息发送的波长切换未成功消息, 该波长切换未成功消息用于指示该 OLT确 认该 ONU下行波长切换未成功。  S680, on the source downlink wavelength channel, receiving a wavelength switch unsuccessful message that the OLT switches the uncompleted message according to the wavelength switch, where the wavelength switch unsuccessful message is used to indicate that the OLT confirms that the ONU downlink wavelength switch is unsuccessful.
在本发明实施例中, 可选地, 该波长切换请求消息、 该波长切换确认消 息、该波长切换授权消息和该波长切换完成消息中的至少一种消息为多点控 制协议 MPCP消息或运营管理维护 OAM消息。  In the embodiment of the present invention, optionally, at least one of the wavelength switch request message, the wavelength switch acknowledgement message, the wavelength switch grant message, and the wavelength switch complete message is a multipoint control protocol (MPCP) message or operation management. Maintain OAM messages.
在本发明实施例中, 该波长切换请求消息例如为基于 MPCP或 OAM协 议的调节控制( Tuning Control )消息, 其中, 该 Tuning Control消息的 Flags 可以为 "00", 表示 OLT指示已注册的 ONU进行下行波长切换, 如图 8A和 9A所示, 为了简洁, 在此不再赘述。  In the embodiment of the present invention, the wavelength switching request message is, for example, an adjustment control (Tuning Control) message based on the MPCP or the OAM protocol, where the Flags of the Tuning Control message may be "00", indicating that the OLT indicates that the registered ONU is performing. The downlink wavelength switching is as shown in FIG. 8A and FIG. 9A. For brevity, details are not described herein again.
在本发明实施例中, 该波长切换确认消息例如为基于 MPCP或 OAM协 议的调节响应 (Tuning Response ) 消息, 其中, 该 Tuning Response消息的 Flags可以为 "00",表示 ONU确定执行下行波长切换,如图 8B和 9B所示, 为了简洁, 在此不再赘述。  In the embodiment of the present invention, the wavelength switch confirmation message is, for example, an adjustment response (Tuning Response) message based on the MPCP or the OAM protocol, where the Flags of the Tuning Response message may be “00”, indicating that the ONU determines to perform downlink wavelength switching. As shown in FIG. 8B and FIG. 9B, for brevity, details are not described herein again.
在本发明实施例中, 该波长切换授权消息也可以为基于 MPCP或 OAM 协议的调节控制 ( Tuning Control ) 消息, 如图 8A和 9A所示, 为了简洁, 在此不再赘述。  In the embodiment of the present invention, the wavelength switching grant message may also be an Tuning Control message based on the MPCP or the OAM protocol, as shown in FIG. 8A and FIG. 9A. For brevity, details are not described herein again.
在本发明实施例中, 该波长切换完成消息也可以为基于 MPCP或 OAM 协议的调节响应 ( Tuning Response ) 消息, 其中, 该 Tuning Response消息 的 Flags可以为 "10", 指示 ONU反馈下行波长切换成功, 如图 8B和 98所 示, 为了简洁, 在此不再赘述。  In the embodiment of the present invention, the wavelength switch completion message may also be a Tuning Response message based on the MPCP or the OAM protocol, where the Flags of the Tuning Response message may be “10”, indicating that the ONU feedback downlink wavelength switching succeeds. As shown in FIG. 8B and FIG. 98, for brevity, details are not described herein again.
该波长切换成功消息也可以为基于 MPCP 或 OAM 协议的调节控制 The wavelength switching success message can also be an adjustment control based on MPCP or OAM protocol.
( Tuning Control )消息, 其中, 该 Tuning Control消息的 Flags可以为 "10", 表示 OLT确认该 ONU下行波长切换成功, 如图 8A和 9A所示, 为了简洁, 在此不再赘述。 (Tuning Control) message, where the Flags of the Tuning Control message can be "10", The OLT confirms that the ONU downlink wavelength switching is successful, as shown in FIG. 8A and FIG. 9A. For brevity, details are not described herein again.
该波长切换未完成消息也可以为基于 MPCP或 OAM协议的调节响应 ( Tuning Response )消息,其中,该 Tuning Response消息的 Flags可以为 " 11", 指示 ONU反馈下行波长切换未成功信息, 如图 8B和 9B所示, 为了简洁, 在此不再赘述。  The wavelength switching incomplete message may also be an Tuning Response message based on the MPCP or the OAM protocol, where the Flags of the Tuning Response message may be "11", indicating that the ONU feeds back the downlink wavelength switching unsuccessful information, as shown in FIG. 8B. As shown in FIG. 9B, for brevity, no further details are provided herein.
该波长切换未成功消息也可以为基于 MPCP或 OAM协议的调节控制 ( Tuning Control )消息, 其中, 该 Tuning Control消息的 Flags可以为 "11", 表示 OLT确认该 ONU下行波长切换未成功, 如图 8A和 9A所示, 为了简 洁, 在此不再赘述。  The wavelength switching unsuccessful message may also be an Tuning Control message based on the MPCP or the OAM protocol, where the Flags of the Tuning Control message may be "11", indicating that the OLT confirms that the ONU downlink wavelength switching is unsuccessful, as shown in the figure. 8A and 9A are shown here for brevity.
应理解, 本发明实施例仅以具有多个下行波长通道和一个上行波长通道 的 EPON系统为例进行说明, 但本发明并不限于此, 本发明实施例提供的波 长切换的方法还可以应用于具有多个下行波长通道和多个上行波长通道的 EPON系统。  It should be understood that the embodiment of the present invention is only an example of an EPON system having multiple downlink wavelength channels and one uplink wavelength channel. However, the present invention is not limited thereto, and the wavelength switching method provided by the embodiment of the present invention may also be applied to An EPON system having multiple downstream wavelength channels and multiple upstream wavelength channels.
还应理解, 在本发明的各种实施例中, 上述各过程的序号的大小并不意 味着执行顺序的先后, 各过程的执行顺序应以其功能和内在逻辑确定, 而不 应对本发明实施例的实施过程构成任何限定。  It should also be understood that, in various embodiments of the present invention, the size of the sequence numbers of the above processes does not imply a sequence of execution orders, and the order of execution of each process should be determined by its function and internal logic, and should not be implemented by the present invention. The implementation of the examples constitutes any limitation.
因此, 本发明实施例的以太网无源光网络系统中波长切换的方法, 通过 光线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线 路终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下 行波长通道上向光网络单元发送波长切换 权消息,使得该光网络单元能够 在该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行 波长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减少切换出错概率, 并能够提高系统的业务量。  Therefore, the method for wavelength switching in the Ethernet passive optical network system according to the embodiment of the present invention indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and switches the start and end time of the downlink wavelength indicated by the optical line terminal. The wavelength switching right message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching within the start and end time of the switching, and can avoid the optical line terminal at the same time. Synchronizing the optical network unit on the downlink wavelength channel, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic.
下面将结合图 15所示的流程图, 对本发明实施例提供的 EPON系统中 波长切换的方法进行详细描述。  The method for wavelength switching in the EPON system provided by the embodiment of the present invention will be described in detail below with reference to the flowchart shown in FIG.
如图 15所示, 在 S711 中, OLT的发送端口 1在源下行波长通道上向 ONU发送波长切换请求消息,该波长切换请求消息用于指示该 ONU切换至 目标下行波长, 并且该波长切换请求消息包括目标波长信息和切换时间信 息。  As shown in FIG. 15, in S711, the transmitting port 1 of the OLT sends a wavelength switching request message to the ONU on the source downlink wavelength channel, where the wavelength switching request message is used to indicate that the ONU switches to the target downlink wavelength, and the wavelength switching request is The message includes target wavelength information and switching time information.
在 S712中, ONU在固定的上行波长通道上, 向 OLT发送波长切换确 认消息, 以用于指示该 ONU确定执行该下行波长切换。 In S712, the ONU sends a wavelength switch to the OLT on a fixed upstream wavelength channel. And confirming the message, to indicate that the ONU determines to perform the downlink wavelength switching.
在 S713中, OLT的发送端口 2在该起止时间内, 仅在目标下行波长通 道上向 ONU发送波长切换 4吏权消息, 以对该 ONU进行 4受权。  In S713, the transmitting port 2 of the OLT transmits a wavelength switching message to the ONU only on the target downlink wavelength channel during the starting and ending time to perform 4 authorization on the ONU.
在该起止时间内, 如果 ONU成功切换到该目标下行波长, 则流程进行 到 S731至 S734; 如果 ONU没有成功切换到该目标下行波长, 则流程进行 到 S751至 S753。  During the start and end time, if the ONU successfully switches to the target downstream wavelength, the flow proceeds to S731 to S734; if the ONU does not successfully switch to the target downstream wavelength, the flow proceeds to S751 to S753.
在 S731中, ONU在该起止时间内, 并且在目标下行波长通道上接收到 OLT发送的波长切换授权消息。  In S731, the ONU receives the wavelength switching grant message sent by the OLT during the start and stop time and on the target downlink wavelength channel.
在 S732中, ONU在固定的上行波长通道上, 向 OLT发送波长切换完 成消息, 以用于指示该 ONU在该起止时间内成功切换到该目标下行波长。  In S732, the ONU sends a wavelength switch completion message to the OLT on the fixed uplink wavelength channel, so as to indicate that the ONU successfully switches to the target downlink wavelength within the start and end time.
在 S733中, OLT的发送端口 2在该目标下行波长通道上, 向 ONU发 送波长切换成功消息, 以用于指示光线路终端 OLT确认该 ONU下行波长切 换成功。  In S733, the transmitting port 2 of the OLT sends a wavelength switching success message to the ONU on the target downlink wavelength channel, so that the optical line terminal OLT confirms that the ONU downlink wavelength switching is successful.
在 S734中, ONU成功完成下行波长切换, 与 OLT在目标下行通道建 立数据通信, 由此, OLT可以在目标下行通道上向 ONU发送数据, ONU可 以在该固定的上行波长通道上向 OLT发送数据。  In S734, the ONU successfully completes the downlink wavelength switching, and establishes data communication with the OLT on the target downlink channel, so that the OLT can send data to the ONU on the target downlink channel, and the ONU can send data to the OLT on the fixed uplink wavelength channel. .
在 S751 中, OLT在该起止时间内没有接收到 ONU发送的波长切换完 成消息, 则 OLT的发送端口 1在该起止时间超时后, 仅在该源下行波长通 道上向该 ONU发送波长切换 4吏权消息。  In S751, the OLT does not receive the wavelength switching completion message sent by the ONU during the start and end time, and the transmitting port 1 of the OLT sends the wavelength switching to the ONU only on the source downlink wavelength channel after the start and end time expires. Right message.
在 S752中, ONU在该固定的上行波长通道上, 向 OLT发送波长切换 未完成消息, 以用于指示该 ONU在该起止时间内未成功切换到该目标下行 波长。  In S752, the ONU sends a wavelength switch incomplete message to the OLT on the fixed upstream wavelength channel, to indicate that the ONU does not successfully switch to the target downlink wavelength within the start and end time.
在 S753中, OLT的发送端口 1在该源下行波长通道上, 向该 ONU发 送波长切换未成功消息, 以用于指示 OLT确认该 ONU下行波长切换未成功 还应理解, 在本发明的各种实施例中, 上述各过程的序号的大小并不意 味着执行顺序的先后, 各过程的执行顺序应以其功能和内在逻辑确定, 而不 应对本发明实施例的实施过程构成任何限定。  In S753, the sending port 1 of the OLT sends a wavelength switching unsuccessful message to the ONU on the source downlink wavelength channel, so as to indicate that the OLT confirms that the ONU downlink wavelength switching is unsuccessful. In the embodiment, the size of the sequence numbers of the foregoing processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be construed as limiting the implementation process of the embodiments of the present invention.
因此, 本发明实施例的以太网无源光网络系统中波长切换的方法, 通过 光线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线 路终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下 行波长通道上向光网络单元发送波长切换 权消息,使得该光网络单元能够 在该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行 波长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减少切换出错概率, 并能够提高系统的业务量。 Therefore, the method for wavelength switching in the Ethernet passive optical network system according to the embodiment of the present invention indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and switches the start and end time of the downlink wavelength indicated by the optical line terminal. Transmitting a wavelength switching right message to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can The downlink wavelength switching is performed during the start and end of the switching, and the optical line terminal can be prevented from synchronizing the optical network unit in multiple downlink wavelength channels, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system. The amount of business.
上文中结合图 1至图 15, 详细描述了本发明实施例提供的 EPON系统 中设备注册和波长切换的方法, 下面将结合图 16至图 23, 详细描述根据本 发明实施例的光线路终端和光网络单元。  The method for device registration and wavelength switching in the EPON system provided by the embodiment of the present invention is described in detail above with reference to FIG. 1 to FIG. 15. The optical line terminal and the light according to the embodiment of the present invention will be described in detail below with reference to FIG. 16 to FIG. Network unit.
图 16示出了本发明实施例提供的 EPON系统中的光线路终端 OLT 10 的示意性框图, 该 EPON系统还包括光网络单元 ONU, 该 OLT与该 ONU 之间基于多个下行波长和一个上行波长进行通信。 如图 16所示, 该 OLT 10 包括:  FIG. 16 is a schematic block diagram of an optical line terminal OLT 10 in an EPON system according to an embodiment of the present invention. The EPON system further includes an optical network unit ONU, and the OLT and the ONU are based on multiple downlink wavelengths and one uplink. The wavelength is communicated. As shown in FIG. 16, the OLT 10 includes:
发送模块 11, 用于向该 ONU发送开窗消息;  The sending module 11 is configured to send a windowing message to the ONU;
接收模块 12, 用于接收该 ONU根据该发送模块 11发送的该开窗消息 而发送的用于请求注册的注册请求消息, 该注册请求消息携带该 ONU的波 长信息, 该波长信息包括该 ONU接收该开窗消息所釆用的注册下行波长; 其中, 该发送模块 11还用于: 根据该接收模块 12接收的该注册请求消 息, 向该 ONU发送注册消息, 该注册消息包括该 OLT为该 ONU分配的逻 辑链路标记 LLID;  The receiving module 12 is configured to receive a registration request message for requesting registration that is sent by the ONU according to the windowing message sent by the sending module, where the registration request message carries wavelength information of the ONU, where the wavelength information includes the ONU receiving The sending downlink module is configured to: the sending module 11 is further configured to: send, according to the registration request message received by the receiving module 12, a registration message to the ONU, where the registration message includes the OLT as the ONU Assigned logical link tag LLID;
该接收模块 12还用于: 接收该 ONU根据该发送模块 11发送的该注册 消息发送的用于确认完成注册的注册确认消息。  The receiving module 12 is further configured to: receive a registration confirmation message sent by the ONU according to the registration message sent by the sending module 11 for confirming completion of registration.
因此, 本发明实施例的以太网无源光网络系统中的光线路终端, 通过在 光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得该 光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下行 波长和一个上行波长进行通信的以太网无源光网络系统中能够实现设备注 册, 由此该光网络单元和该光线路终端之间能够进行数据通信。  Therefore, the optical line terminal in the Ethernet passive optical network system of the embodiment of the present invention indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical line terminal can determine the optical network. The downlink wavelength used by the unit enables device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the optical line terminal can Data communication.
在本发明实施例中,可选地,该发送模块 11发送的该 LLID包括用于指 示该注册下行波长的信息。  In the embodiment of the present invention, optionally, the LLID sent by the sending module 11 includes information for indicating the registered downlink wavelength.
在本发明实施例中, 可选地, 该发送模块 11发送的该注册消息还包括 波长确认信息, 该波长确认信息用于指示该 OLT确认该波长信息。  In the embodiment of the present invention, optionally, the registration message sent by the sending module 11 further includes wavelength confirmation information, where the wavelength confirmation information is used to instruct the OLT to confirm the wavelength information.
在本发明实施例中, 可选地, 该接收模块 12接收的该注册请求消息的 发现信息域包括该波长信息; 或该接收模块 12接收的该注册请求消息包括 波长信息域, 该波长信息域包括该波长信息。 在本发明实施例中, 可选地, 该接收模块 12接收的该波长信息还包括 该 ONU的下行波长调节能力信息, 该下行波长调节能力信息包括下列信息 中的至少一种: 下行波长调节间隔、 下行波长数、 可调滤波器的波长调节范 围、 每个下行波长调节间隔的调节时间和下行波长调节速度。 In the embodiment of the present invention, optionally, the discovery information field of the registration request message received by the receiving module 12 includes the wavelength information; or the registration request message received by the receiving module 12 includes a wavelength information field, and the wavelength information domain This wavelength information is included. In the embodiment of the present invention, optionally, the wavelength information received by the receiving module 12 further includes downlink wavelength adjustment capability information of the ONU, where the downlink wavelength adjustment capability information includes at least one of the following information: Downstream wavelength adjustment interval The number of downstream wavelengths, the wavelength adjustment range of the tunable filter, the adjustment time of each downstream wavelength adjustment interval, and the downstream wavelength adjustment speed.
应理解,在本发明实施例中, 该开窗消息例如为基于 MPCP的 GATE消 息; 该注册请求消息例如为基于 MPCP的 REGISTER_REQ消息; 该注册消 息例如为基于 MPCP的 REGISTER消息;该注册确认消息例如为基于 MPCP 的 REGISTER_ACK消息, 为了简洁, 在此不再赞述。  It should be understood that, in the embodiment of the present invention, the windowing message is, for example, an MPCP-based GATE message; the registration request message is, for example, an MPCP-based REGISTER_REQ message; the registration message is, for example, an MPCP-based REGISTER message; the registration confirmation message is for example For the MPCP-based REGISTER_ACK message, for the sake of brevity, it is not mentioned here.
应理解, 根据本发明实施例的光线路终端 10可对应于本发明实施例中 的 OLT, 并且光线路终端 10中的各个模块的上述和其它操作和 /或功能分别 为了实现图 2至图 4中的方法 100的相应流程, 为了简洁, 在此不再赘述。  It should be understood that the optical line terminal 10 according to an embodiment of the present invention may correspond to the OLT in the embodiment of the present invention, and the above and other operations and/or functions of the respective modules in the optical line terminal 10 are respectively implemented in order to implement FIGS. 2 to 4 The corresponding process of the method 100 in the following is omitted for brevity.
因此, 本发明实施例的以太网无源光网络系统中的光线路终端, 通过在 光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得该 光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下行 波长和一个上行波长进行通信的以太网无源光网络系统中能够实现设备注 册, 由此该光网络单元和该光线路终端之间能够进行数据通信。  Therefore, the optical line terminal in the Ethernet passive optical network system of the embodiment of the present invention indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical line terminal can determine the optical network. The downlink wavelength used by the unit enables device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the optical line terminal can Data communication.
图 17示出了本发明实施例提供的 EPON系统中的光网络单元 ONU 20 的示意性框图,该 EPON系统还包括光线路终端 OLT,该 OLT与该 ONU之 间基于多个下行波长和一个上行波长进行通信。 如图 17所示, 该 ONU 20 包括:  FIG. 17 is a schematic block diagram of an optical network unit ONU 20 in an EPON system according to an embodiment of the present invention. The EPON system further includes an optical line terminal OLT, and the OLT and the ONU are based on multiple downlink wavelengths and one uplink. The wavelength is communicated. As shown in FIG. 17, the ONU 20 includes:
接收模块 21, 用于接收该 OLT发送的开窗消息;  The receiving module 21 is configured to receive a windowing message sent by the OLT;
发送模块 22, 用于根据该接收模块 21接收的该开窗消息, 向该 OLT发 送用于请求注册的注册请求消息,该注册请求消息携带该 ONU的波长信息, 该波长信息包括该 ONU接收该开窗消息所釆用的注册下行波长;  The sending module 22 is configured to send, according to the windowing message received by the receiving module 21, a registration request message for requesting registration to the OLT, where the registration request message carries wavelength information of the ONU, where the wavelength information includes the ONU receiving the The registered downstream wavelength used in the windowing message;
该接收模块 21还用于: 接收该 OLT根据该发送模块 22发送的该注册 请求消息而发送的注册消息,该注册消息包括该 OLT为该 ONU分配的逻辑 链路标记 LLID;  The receiving module 21 is further configured to: receive a registration message sent by the OLT according to the registration request message sent by the sending module 22, where the registration message includes a logical link identifier LLID allocated by the OLT to the ONU;
该发送模块 22还用于:根据该接收模块 21接收的该注册消息向该 OLT 发送用于确认完成注册的注册确认消息。  The sending module 22 is further configured to: send a registration confirmation message for confirming completion of registration to the OLT according to the registration message received by the receiving module 21.
因此, 本发明实施例的以太网无源光网络系统中的光网络单元, 通过在 光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得该 光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下行 波长和一个上行波长进行通信的以太网无源光网络系统中能够实现设备注 册, 由此该光网络单元和该光线路终端之间能够进行数据通信。 Therefore, the optical network unit in the Ethernet passive optical network system of the embodiment of the present invention indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical network unit The optical line terminal can determine the downlink wavelength used by the optical network unit, thereby enabling device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, thereby the optical network unit Data communication is possible between the optical line terminal and the optical line terminal.
在本发明实施例中,可选地,该接收模块 21接收的该 LLID包括用于指 示该注册下行波长的信息。  In the embodiment of the present invention, optionally, the LLID received by the receiving module 21 includes information for indicating the registered downlink wavelength.
在本发明实施例中, 可选地, 该接收模块 21接收的该注册消息还包括 波长确认信息, 该波长确认信息用于指示该 OLT确认该波长信息。  In the embodiment of the present invention, optionally, the registration message received by the receiving module 21 further includes wavelength confirmation information, where the wavelength confirmation information is used to instruct the OLT to confirm the wavelength information.
在本发明实施例中, 可选地, 该发送模块 22发送的该注册请求消息的 发现信息域包括该波长信息; 或该发送模块 22发送的该注册请求消息包括 波长信息域, 该波长信息域包括该波长信息。  In the embodiment of the present invention, optionally, the discovery information field of the registration request message sent by the sending module 22 includes the wavelength information; or the registration request message sent by the sending module 22 includes a wavelength information field, and the wavelength information domain This wavelength information is included.
在本发明实施例中, 可选地, 该发送模块 22发送的该波长信息还包括 该 ONU的下行波长调节能力信息, 该下行波长调节能力信息包括下列信息 中的至少一种: 下行波长调节间隔、 下行波长数、 可调滤波器的波长调节范 围、 每个下行波长调节间隔的调节时间和下行波长调节速度。  In the embodiment of the present invention, optionally, the wavelength information sent by the sending module 22 further includes downlink wavelength adjustment capability information of the ONU, where the downlink wavelength adjustment capability information includes at least one of the following information: Downstream wavelength adjustment interval The number of downstream wavelengths, the wavelength adjustment range of the tunable filter, the adjustment time of each downstream wavelength adjustment interval, and the downstream wavelength adjustment speed.
应理解,在本发明实施例中, 该开窗消息例如为基于 MPCP的 GATE消 息; 该注册请求消息例如为基于 MPCP的 REGISTER_REQ消息; 该注册消 息例如为基于 MPCP的 REGISTER消息;该注册确认消息例如为基于 MPCP 的 REGISTER_ACK消息, 为了简洁, 在此不再赞述。  It should be understood that, in the embodiment of the present invention, the windowing message is, for example, an MPCP-based GATE message; the registration request message is, for example, an MPCP-based REGISTER_REQ message; the registration message is, for example, an MPCP-based REGISTER message; the registration confirmation message is for example For the MPCP-based REGISTER_ACK message, for the sake of brevity, it is not mentioned here.
应理解, 根据本发明实施例的光网络单元 20可对应于本发明实施例中 的 ONU,并且光网络单元 20中的各个模块的上述和其它操作和 /或功能分别 为了实现图 5中的方法 200的相应流程, 为了简洁, 在此不再赘述。  It should be understood that the optical network unit 20 according to an embodiment of the present invention may correspond to the ONUs in the embodiments of the present invention, and the above and other operations and/or functions of the respective modules in the optical network unit 20 are respectively implemented to implement the method in FIG. The corresponding process of 200, for the sake of brevity, will not be repeated here.
因此, 本发明实施例的以太网无源光网络系统中的光网络单元, 通过在 光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得该 光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下行 波长和一个上行波长进行通信的以太网无源光网络系统中能够实现设备注 册, 由此该光网络单元和该光线路终端之间能够进行数据通信。  Therefore, the optical network unit in the Ethernet passive optical network system of the embodiment of the present invention indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical line terminal can determine the optical network. The downlink wavelength used by the unit enables device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the optical line terminal can Data communication.
上文中结合图 16和图 17, 详细描述了本发明实施例提供的 EPON系统 中用于设备注册的光线路终端和光网络单元, 下面将结合图 18和图 19, 详 细描述本发明实施例提供的 EPON 系统中用于波长切换的光线路终端和光 网络单元。  The optical line terminal and the optical network unit for device registration in the EPON system provided by the embodiment of the present invention are described in detail above with reference to FIG. 16 and FIG. 17. The following provides a detailed description of the embodiments of the present invention with reference to FIG. 18 and FIG. Optical line terminations and optical network units for wavelength switching in EPON systems.
图 18示出了本发明实施例提供的光线路终端 30的示意性框图。如图 18 所示, 该 OLT 30包括: 换请求消息, 该波长切换请求消息用于指示该 ONU切换至目标下行波长, 并且该波长切换请求消息包括用于指示该目标下行波长的目标波长信息, 以 及用于指示下行波长切换的起止时间的切换时间信息; FIG. 18 is a schematic block diagram of an optical line terminal 30 according to an embodiment of the present invention. Figure 18 As shown, the OLT 30 includes: a change request message, the wavelength switch request message is used to indicate that the ONU switches to a target downlink wavelength, and the wavelength switch request message includes target wavelength information for indicating the target downlink wavelength, and is used for Switching time information indicating a start and end time of the downlink wavelength switching;
接收模块 32, 用于在固定的上行波长通道上, 接收该 ONU根据该发送 模块 31发送的该波长切换请求消息而发送的波长切换确认消息, 该波长切 换确认消息用于指示该 ONU确定执行该下行波长切换;  The receiving module 32 is configured to receive, on the fixed uplink wavelength channel, a wavelength switch confirmation message sent by the ONU according to the wavelength switching request message sent by the sending module 31, where the wavelength switch confirmation message is used to indicate that the ONU determines to perform the Downlink wavelength switching;
其中, 该发送模块 31还用于: 在该起止时间内, 仅在与该目标下行波 长相应的目标下行波长通道上向该 ONU发送波长切换 4吏权消息, 该波长切 换授权消息用于对该 ONU进行授权;  The sending module 31 is further configured to: send, in the start and end time, only a wavelength switching 4 吏 right message to the ONU on the target downlink wavelength channel corresponding to the target downlink wavelength, where the wavelength switching authorization message is used to ONU authorization;
该接收模块 32还用于: 当该 ONU在该起止时间内成功切换到该目标下 行波长时,在该上行波长通道上接收该 ONU根据该发送模块 31发送的该波 长切换授权消息而发送的波长切换完成消息, 该波长切换完成消息用于指示 该 ONU在该起止时间内成功切换到该目标下行波长。  The receiving module 32 is further configured to: when the ONU successfully switches to the target downlink wavelength in the start and end time, receive the wavelength sent by the ONU according to the wavelength switching authorization message sent by the sending module 31 on the uplink wavelength channel. The handover complete message is used to indicate that the ONU successfully switches to the target downlink wavelength within the start and end time.
因此, 本发明实施例的以太网无源光网络系统中的光线路终端, 通过光 线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线路 终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下行 波长通道上向光网络单元发送波长切换授权消息,使得该光网络单元能够在 该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行波 长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减 少切换出错概率, 并能够提高系统的业务量。  Therefore, the optical line terminal in the Ethernet passive optical network system according to the embodiment of the present invention indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and switches the start and end time of the downlink wavelength indicated by the optical line terminal. The wavelength switching grant message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching within the start and end time of the switching, and can avoid the optical line terminal at the same time. Synchronizing the optical network unit on the downlink wavelength channel, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic.
在本发明实施例中, 可选地, 该发送模块 31还用于: 在该目标下行波 长通道上, 根据该波长切换完成消息向该 ONU发送波长切换成功消息, 该 波长切换成功消息用于指示光线路终端 OLT确认该 ONU下行波长切换成 功。  In the embodiment of the present invention, the sending module 31 is further configured to: send, on the target downlink wavelength channel, a wavelength switching success message to the ONU according to the wavelength switching completion message, where the wavelength switching success message is used to indicate The optical line terminal OLT confirms that the ONU downlink wavelength switching is successful.
在本发明实施例中, 可选地, 该发送模块 31还用于: 当在该起止时间 内没有接收到该 ONU发送的该波长切换完成消息时, 仅在该源下行波长通 道上向该 ONU发送该波长切换 4吏权消息;  In the embodiment of the present invention, the sending module 31 is further configured to: when the wavelength switching completion message sent by the ONU is not received within the start and end time, only to the ONU on the source downlink wavelength channel. Sending the wavelength switch 4 吏 message;
该接收模块 32还用于: 在该上行波长通道上,接收该 ONU根据该波长 切换 4吏权消息发送的波长切换未完成消息, 该波长切换未完成消息用于指示 该 ONU在该起止时间内未成功切换到该目标下行波长。 The receiving module 32 is further configured to: receive, on the uplink wavelength channel, a wavelength switching incomplete message sent by the ONU according to the wavelength switching message, where the wavelength switching incomplete message is used to indicate The ONU does not successfully switch to the target downstream wavelength during the start and end time.
在本发明实施例中, 可选地, 该发送模块 31还用于: 在该源下行波长 通道上, 根据该波长切换未完成消息向该 ONU发送波长切换未成功消息, 该波长切换未成功消息用于指示 OLT确认该 ONU下行波长切换未成功。  In the embodiment of the present invention, the sending module 31 is further configured to: send, on the source downlink wavelength channel, a wavelength switching unsuccessful message to the ONU according to the wavelength switching incomplete message, where the wavelength switching unsuccessful message It is used to instruct the OLT to confirm that the ONU downlink wavelength switching is unsuccessful.
在本发明实施例中, 可选地, 该波长切换请求消息、 该波长切换确认消 息、该波长切换授权消息和该波长切换完成消息中的至少一种消息为多点控 制协议 MPCP消息或运营管理维护 OAM消息。  In the embodiment of the present invention, optionally, at least one of the wavelength switch request message, the wavelength switch acknowledgement message, the wavelength switch grant message, and the wavelength switch complete message is a multipoint control protocol (MPCP) message or operation management. Maintain OAM messages.
在本发明实施例中, 该波长切换请求消息例如为基于 MPCP或 OAM协 议的调节控制( Tuning Control )消息, 其中, 该 Tuning Control消息的 Flags 可以为 "00", 表示 OLT指示已注册的 ONU进行下行波长切换, 如图 8A和 9A所示, 为了简洁, 在此不再赘述。  In the embodiment of the present invention, the wavelength switching request message is, for example, an adjustment control (Tuning Control) message based on the MPCP or the OAM protocol, where the Flags of the Tuning Control message may be "00", indicating that the OLT indicates that the registered ONU is performing. The downlink wavelength switching is as shown in FIG. 8A and FIG. 9A. For brevity, details are not described herein again.
在本发明实施例中, 该波长切换确认消息例如为基于 MPCP或 OAM协 议的调节响应 ( Tuning Response ) 消息, 其中, 该 Tuning Response消息的 Flags可以为 "00",表示 ONU确定执行下行波长切换,如图 8B和 9B所示, 为了简洁, 在此不再赘述。  In the embodiment of the present invention, the wavelength switch confirmation message is, for example, an adjustment response (Tuning Response) message based on the MPCP or the OAM protocol, where the Flags of the Tuning Response message may be “00”, indicating that the ONU determines to perform downlink wavelength switching. As shown in FIG. 8B and FIG. 9B, for brevity, details are not described herein again.
在本发明实施例中, 该波长切换授权消息也可以为基于 MPCP或 OAM 协议的调节控制 ( Tuning Control ) 消息, 如图 8A和 9A所示, 为了简洁, 在此不再赘述。  In the embodiment of the present invention, the wavelength switching grant message may also be an Tuning Control message based on the MPCP or the OAM protocol, as shown in FIG. 8A and FIG. 9A. For brevity, details are not described herein again.
在本发明实施例中, 该波长切换完成消息也可以为基于 MPCP或 OAM 协议的调节响应 ( Tuning Response ) 消息, 其中, 该 Timing Response消息 的 Flags可以为 "10", 指示 ONU反馈下行波长切换成功, 如图 8B和 98所 示, 为了简洁, 在此不再赘述。  In the embodiment of the present invention, the wavelength switching completion message may also be an adjustment response (Tuning Response) message based on the MPCP or the OAM protocol, where the Flags of the Timing Response message may be “10”, indicating that the ONU feedback downlink wavelength switching succeeds. As shown in FIG. 8B and FIG. 98, for brevity, details are not described herein again.
该波长切换成功消息也可以为基于 MPCP 或 OAM 协议的调节控制 ( Tuning Control )消息, 其中, 该 Tuning Control消息的 Flags可以为 "10", 表示 OLT确认该 ONU下行波长切换成功, 如图 8A和 9A所示, 为了简洁, 在此不再赘述。  The wavelength switching success message may also be an adjustment control (Tuning Control) message based on the MPCP or the OAM protocol, where the Flags of the Tuning Control message may be "10", indicating that the OLT confirms that the ONU downlink wavelength switching is successful, as shown in FIG. 8A and As shown in Fig. 9A, for the sake of brevity, it will not be repeated here.
该波长切换未完成消息也可以为基于 MPCP或 OAM协议的调节响应 ( Tuning Response )消息,其中,该 Tuning Response消息的 Flags可以为 " 11", 指示 ONU反馈下行波长切换未成功信息, 如图 8B和 9B所示, 为了简洁, 在此不再赘述。  The wavelength switching incomplete message may also be an Tuning Response message based on the MPCP or the OAM protocol, where the Flags of the Tuning Response message may be "11", indicating that the ONU feeds back the downlink wavelength switching unsuccessful information, as shown in FIG. 8B. As shown in FIG. 9B, for brevity, no further details are provided herein.
该波长切换未成功消息也可以为基于 MPCP或 OAM协议的调节控制 ( Tuning Control )消息, 其中, 该 Tuning Control消息的 Flags可以为 "11", 表示 OLT确认该 ONU下行波长切换未成功, 如图 8A和 9A所示, 为了简 洁, 在此不再赘述。 The wavelength switching unsuccessful message may also be an adjustment control based on MPCP or OAM protocol. The Tuning Control message, where the Flags of the Tuning Control message may be "11", indicating that the OLT confirms that the ONU downlink wavelength switching is unsuccessful, as shown in FIGS. 8A and 9A, and is not described herein again for brevity.
应理解, 根据本发明实施例的光线路终端 30可对应于本发明实施例中 的 OLT, 并且光线路终端 30中的各个模块的上述和其它操作和 /或功能分别 为了实现图 7至图 11中的方法 500的相应流程, 为了简洁, 在此不再赘述。  It should be understood that the optical line terminal 30 according to an embodiment of the present invention may correspond to the OLT in the embodiment of the present invention, and the above and other operations and/or functions of the respective modules in the optical line terminal 30 are respectively implemented in order to implement FIGS. 7 to 11 The corresponding process of the method 500 in the following is omitted for brevity.
因此, 本发明实施例的以太网无源光网络系统中的光线路终端, 通过光 线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线路 终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下行 波长通道上向光网络单元发送波长切换授权消息,使得该光网络单元能够在 该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行波 长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减 少切换出错概率, 并能够提高系统的业务量。  Therefore, the optical line terminal in the Ethernet passive optical network system according to the embodiment of the present invention indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and switches the start and end time of the downlink wavelength indicated by the optical line terminal. The wavelength switching grant message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching within the start and end time of the switching, and can avoid the optical line terminal at the same time. Synchronizing the optical network unit on the downlink wavelength channel, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic.
图 19示出了本发明实施例提供的光网络单元 40的示意性框图。如图 19 所示, 该 ONU 40包括:  FIG. 19 is a schematic block diagram of an optical network unit 40 provided by an embodiment of the present invention. As shown in Figure 19, the ONU 40 includes:
接收模块 41, 用于在源下行波长通道上接收光线路终端 OLT发送的波 长切换请求消息, 该波长切换请求消息用于指示光网络单元 ONU切换至目 标下行波长, 并且该波长切换请求消息包括用于指示该目标下行波长的目标 波长信息, 以及用于指示下行波长切换的起止时间的切换时间信息;  The receiving module 41 is configured to receive, by using the source downlink downlink channel, a wavelength switching request message sent by the optical line terminal OLT, where the wavelength switching request message is used to indicate that the optical network unit ONU switches to the target downlink wavelength, and the wavelength switching request message includes The target wavelength information indicating the downlink wavelength of the target, and the switching time information for indicating the start and end time of the downlink wavelength switching;
发送模块 42, 用于在固定的上行波长通道上, 根据该接收模块 41接收 的该波长切换请求消息向该 OLT发送波长切换确认消息, 该波长切换确认 消息用于指示该 ONU确定执行该下行波长切换;  The sending module 42 is configured to send, according to the wavelength switching request message received by the receiving module 41, a wavelength switching confirmation message to the OLT, where the wavelength switching confirmation message is used to indicate that the ONU determines to perform the downlink wavelength. Switch
其中, 该接收模块 41还用于: 当该 ONU在该起止时间内成功切换到该 目标下行波长时, 接收该 OLT仅在与该目标下行波长相应的目标下行波长 通道上发送的波长切换授权消息, 该波长切换授权消息用于对该 ONU进行 授权;  The receiving module 41 is further configured to: when the ONU successfully switches to the target downlink wavelength in the start and end time, receive the wavelength switching authorization message sent by the OLT only on the target downlink wavelength channel corresponding to the target downlink wavelength. The wavelength switching authorization message is used to authorize the ONU;
该发送模块 42还用于: 在该上行波长通道上, 根据该接收模块 41接收 的该波长切换 4吏权消息向该 OLT发送波长切换完成消息, 该波长切换完成 消息用于指示该 ONU在该起止时间内成功切换到该目标下行波长。  The sending module 42 is further configured to: send, on the uplink wavelength channel, a wavelength switching complete message to the OLT according to the wavelength switching message received by the receiving module 41, where the wavelength switching complete message is used to indicate that the ONU is in the Successfully switch to the target downstream wavelength during the start and end time.
因此, 本发明实施例的以太网无源光网络系统中的光网络单元, 通过光 线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线路 终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下行 波长通道上向光网络单元发送波长切换授权消息,使得该光网络单元能够在 该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行波 长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减 少切换出错概率, 并能够提高系统的业务量。 Therefore, the optical network unit in the Ethernet passive optical network system according to the embodiment of the present invention indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and the optical line is in the optical line. The wavelength switching authorization message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching during the switching start and end time. The optical line terminal can be prevented from synchronizing the optical network unit on multiple downlink wavelength channels, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic.
在本发明实施例中, 可选地, 该接收模块 41还用于: 在该目标下行波 长通道上, 接收该 OLT根据该波长切换完成消息发送的波长切换成功消息, 该波长切换成功消息用于指示该 OLT确认该 ONU下行波长切换成功。  In the embodiment of the present invention, the receiving module 41 is further configured to: receive, on the target downlink wavelength channel, a wavelength switching success message sent by the OLT according to the wavelength switching completion message, where the wavelength switching success message is used. Instructing the OLT to confirm that the ONU downlink wavelength switching is successful.
在本发明实施例中, 可选地, 该接收模块 41还用于: 当该 ONU在该起 止时间内未成功切换到该目标下行波长时, 在该起止时间超时后, 接收该 OLT仅在该源下行波长通道上发送的该波长切换 4吏权消息;  In the embodiment of the present invention, the receiving module 41 is further configured to: when the ONU fails to successfully switch to the target downlink wavelength within the start and end time, after the start and end time expires, receiving the OLT only in the The wavelength switching 4 吏 message sent on the source downlink wavelength channel;
该发送模块 42还用于: 在该上行波长通道上, 根据该波长切换授权消 息向该 OLT发送波长切换未完成消息, 该波长切换未完成消息用于指示该 ONU在该起止时间内未成功切换到该目标下行波长。  The sending module 42 is further configured to: send, on the uplink wavelength channel, a wavelength switch incomplete message to the OLT according to the wavelength switching authorization message, where the wavelength switch incomplete message is used to indicate that the ONU does not successfully switch in the start and end time. Down to the target downstream wavelength.
在本发明实施例中, 可选地, 该接收模块 41还用于: 在该源下行波长 通道上, 接收该 OLT根据该波长切换未完成消息发送的波长切换未成功消 息,该波长切换未成功消息用于指示该 OLT确认该 ONU下行波长切换未成 功。  In the embodiment of the present invention, the receiving module 41 is further configured to: receive, on the source downlink wavelength channel, a wavelength switching unsuccessful message that is sent by the OLT according to the wavelength switching incomplete message, where the wavelength switching is unsuccessful The message is used to indicate that the OLT confirms that the ONU downlink wavelength switching is unsuccessful.
在本发明实施例中, 可选地, 该波长切换请求消息、 该波长切换确认消 息、该波长切换授权消息和该波长切换完成消息中的至少一种消息为多点控 制协议 MPCP消息或运营管理维护 OAM消息。  In the embodiment of the present invention, optionally, at least one of the wavelength switch request message, the wavelength switch acknowledgement message, the wavelength switch grant message, and the wavelength switch complete message is a multipoint control protocol (MPCP) message or operation management. Maintain OAM messages.
在本发明实施例中, 该波长切换请求消息例如为基于 MPCP或 OAM协 议的调节控制( Tuning Control )消息, 其中, 该 Tuning Control消息的 Flags 可以为 "00", 表示 OLT指示已注册的 ONU进行下行波长切换, 如图 8A和 9A所示, 为了简洁, 在此不再赘述。  In the embodiment of the present invention, the wavelength switching request message is, for example, an adjustment control (Tuning Control) message based on the MPCP or the OAM protocol, where the Flags of the Tuning Control message may be "00", indicating that the OLT indicates that the registered ONU is performing. The downlink wavelength switching is as shown in FIG. 8A and FIG. 9A. For brevity, details are not described herein again.
在本发明实施例中, 该波长切换确认消息例如为基于 MPCP或 OAM协 议的调节响应 ( Tuning Response ) 消息, 其中, 该 Tuning Response消息的 Flags可以为 "00",表示 ONU确定执行下行波长切换,如图 8B和 9B所示, 为了简洁, 在此不再赘述。  In the embodiment of the present invention, the wavelength switch confirmation message is, for example, an adjustment response (Tuning Response) message based on the MPCP or the OAM protocol, where the Flags of the Tuning Response message may be “00”, indicating that the ONU determines to perform downlink wavelength switching. As shown in FIG. 8B and FIG. 9B, for brevity, details are not described herein again.
在本发明实施例中, 该波长切换授权消息也可以为基于 MPCP或 OAM 协议的调节控制 ( Tuning Control ) 消息, 如图 8A和 9A所示, 为了简洁, 在此不再赘述。 In the embodiment of the present invention, the wavelength switching grant message may also be an Tuning Control message based on the MPCP or the OAM protocol, as shown in FIG. 8A and FIG. 9A. I will not repeat them here.
在本发明实施例中, 该波长切换完成消息也可以为基于 MPCP或 OAM 协议的调节响应 ( Tuning Response ) 消息, 其中, 该 Tuning Response消息 的 Flags可以为 "10", 指示 ONU反馈下行波长切换成功, 如图 8B和 98所 示, 为了简洁, 在此不再赘述。  In the embodiment of the present invention, the wavelength switch completion message may also be a Tuning Response message based on the MPCP or the OAM protocol, where the Flags of the Tuning Response message may be “10”, indicating that the ONU feedback downlink wavelength switching succeeds. As shown in FIG. 8B and FIG. 98, for brevity, details are not described herein again.
该波长切换成功消息也可以为基于 MPCP 或 OAM 协议的调节控制 ( Tuning Control )消息, 其中, 该 Tuning Control消息的 Flags可以为 "10", 表示 OLT确认该 ONU下行波长切换成功, 如图 8A和 9A所示, 为了简洁, 在此不再赘述。  The wavelength switching success message may also be an adjustment control (Tuning Control) message based on the MPCP or the OAM protocol, where the Flags of the Tuning Control message may be "10", indicating that the OLT confirms that the ONU downlink wavelength switching is successful, as shown in FIG. 8A and As shown in Fig. 9A, for the sake of brevity, it will not be repeated here.
该波长切换未完成消息也可以为基于 MPCP或 OAM协议的调节响应 The wavelength switching incomplete message may also be an adjusted response based on MPCP or OAM protocol.
( Tuning Response )消息,其中,该 Tuning Response消息的 Flags可以为 " 11", 指示 ONU反馈下行波长切换未成功信息, 如图 8B和 9B所示, 为了简洁, 在此不再赘述。 The Tuning Response message, where the Flags of the Tuning Response message may be "11", indicating that the ONU feeds back the downlink wavelength switching unsuccessful information, as shown in FIG. 8B and FIG. 9B. For brevity, details are not described herein again.
该波长切换未成功消息也可以为基于 MPCP或 OAM协议的调节控制 ( Tuning Control )消息, 其中, 该 Tuning Control消息的 Flags可以为 "11", 表示 OLT确认该 ONU下行波长切换未成功, 如图 8A和 9A所示, 为了简 洁, 在此不再赘述。  The wavelength switching unsuccessful message may also be an Tuning Control message based on the MPCP or the OAM protocol, where the Flags of the Tuning Control message may be "11", indicating that the OLT confirms that the ONU downlink wavelength switching is unsuccessful, as shown in the figure. 8A and 9A are shown here for brevity.
应理解, 根据本发明实施例的光网络单元 40可对应于本发明实施例中 的 ONU,并且光网络单元 40中的各个模块的上述和其它操作和 /或功能分别 为了实现图 12至图 14中的方法 600的相应流程,为了简洁,在此不再赘述。  It should be understood that the optical network unit 40 according to an embodiment of the present invention may correspond to the ONUs in the embodiments of the present invention, and the above and other operations and/or functions of the respective modules in the optical network unit 40 are respectively implemented in order to implement FIGS. 12 to 14 The corresponding process of the method 600 in the following is omitted for brevity.
因此, 本发明实施例的以太网无源光网络系统中的光网络单元, 通过光 线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线路 终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下行 波长通道上向光网络单元发送波长切换授权消息,使得该光网络单元能够在 该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行波 长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减 少切换出错概率, 并能够提高系统的业务量。  Therefore, the optical network unit in the Ethernet passive optical network system of the embodiment of the present invention indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and switches the start and end time of the downlink wavelength indicated by the optical line terminal. The wavelength switching grant message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching within the start and end time of the switching, and can avoid the optical line terminal at the same time. Synchronizing the optical network unit on the downlink wavelength channel, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic.
如图 20所示, 本发明实施例还提供了一种 EPON系统中的光线路终端 OLT 60, 该 EPON系统还包括光网络单元 ONU, 该 OLT与该 ONU之间基 于多个下行波长和一个上行波长进行通信, 该光线路终端 60 包括处理器 61、 存储器 62、 总线系统 63、 接收器 64和发送器 65。 其中, 处理器 61、 存储器 62、 接收器 64和发送器 65通过总线系统 63相连, 该存储器 62用 于存储指令, 该处理器 61用于执行该存储器 62存储的指令, 以控制接收 器 64接收信号, 并控制发送器 65发送信号; 其中, 该发送器 65用于向该 ONU发送开窗消息; 该接收器 64用于: 接收该 ONU根据该开窗消息发送 的用于请求注册的注册请求消息, 该注册请求消息携带该 ONU 的波长信 息,该波长信息包括该 ONU接收该开窗消息所釆用的注册下行波长;其中, 该发送器 65还用于: 根据该注册请求消息向该 ONU发送注册消息, 该注 册消息包括该 OLT为该 ONU分配的逻辑链路标记 LLID; 该接收器 64还 用于:接收该 ONU根据该注册消息发送的用于确认完成注册的注册确认消 息。 As shown in FIG. 20, an embodiment of the present invention further provides an optical line terminal OLT 60 in an EPON system, where the EPON system further includes an optical network unit ONU, and the OLT and the ONU are based on multiple downlink wavelengths and one uplink. The wavelength is communicated. The optical line terminal 60 includes a processor 61, a memory 62, a bus system 63, a receiver 64, and a transmitter 65. Wherein, the processor 61, The memory 62, the receiver 64 and the transmitter 65 are connected by a bus system 63 for storing instructions for executing instructions stored in the memory 62 to control the receiver 64 to receive signals and to control the transmitter. The transmitting signal is used to: send a windowing message to the ONU; the receiver 64 is configured to: receive a registration request message for requesting registration sent by the ONU according to the windowing message, the registration request message Carrying the wavelength information of the ONU, the wavelength information includes a registered downlink wavelength used by the ONU to receive the windowing message; wherein the transmitter 65 is further configured to: send a registration message to the ONU according to the registration request message, the registration The message includes a logical link identifier LLID assigned by the OLT to the ONU. The receiver 64 is further configured to: receive a registration confirmation message sent by the ONU according to the registration message for confirming completion of registration.
因此, 本发明实施例的以太网无源光网络系统中的光线路终端, 通过在 光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得该 光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下行 波长和一个上行波长进行通信的以太网无源光网络系统中能够实现设备注 册, 由此该光网络单元和该光线路终端之间能够进行数据通信。  Therefore, the optical line terminal in the Ethernet passive optical network system of the embodiment of the present invention indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical line terminal can determine the optical network. The downlink wavelength used by the unit enables device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the optical line terminal can Data communication.
应理解,在本发明实施例中,该处理器 61可以是中央处理单元(Central Processing Unit, 简称为 "CPU" ), 该处理器 61还可以是其他通用处理器、 数字信号处理器(DSP )、专用集成电路(ASIC )、现成可编程门阵列(FPGA ) 或者其他可编程逻辑器件、 分立门或者晶体管逻辑器件、 分立硬件组件等。 通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。  It should be understood that, in the embodiment of the present invention, the processor 61 may be a central processing unit ("CPU"), and the processor 61 may also be other general-purpose processors, digital signal processors (DSPs). An application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, and the like. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
该存储器 62可以包括只读存储器和随机存取存储器, 并向处理器 61提 供指令和数据。 存储器 62的一部分还可以包括非易失性随机存取存储器。 例如, 存储器 62还可以存储设备类型的信息。  The memory 62 can include read only memory and random access memory and provides instructions and data to the processor 61. A portion of memory 62 may also include non-volatile random access memory. For example, the memory 62 can also store information of the device type.
该总线系统 63除包括数据总线之外, 还可以包括电源总线、 控制总线 和状态信号总线等。 但是为了清楚说明起见, 在图中将各种总线都标为总线 系统 63。  The bus system 63 may include, in addition to the data bus, a power bus, a control bus, and a status signal bus. However, for clarity of description, various buses are labeled as the bus system 63 in the figure.
在实现过程中, 上述方法的各步骤可以通过处理器 61 中的硬件的集成 逻辑电路或者软件形式的指令完成。 结合本发明实施例所公开的方法的步骤 可以直接体现为硬件处理器执行完成, 或者用处理器中的硬件及软件模块组 合执行完成。 软件模块可以位于随机存储器, 闪存、 只读存储器, 可编程只 读存储器或者电可擦写可编程存储器、 寄存器等本领域成熟的存储介质中。 该存储介质位于存储器 62,处理器 61读取存储器 62中的信息,结合其硬件 完成上述方法的步骤。 为避免重复, 这里不再详细描述。 In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 61 or an instruction in a form of software. The steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor. The software modules can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory 62, and the processor 61 reads the information in the memory 62 and, in conjunction with its hardware, performs the steps of the above method. To avoid repetition, it will not be described in detail here.
可选地, 作为一个实施例, 该 LLID包括用于指示该注册下行波长的信 息。  Optionally, as an embodiment, the LLID includes information for indicating the registered downlink wavelength.
可选地, 作为一个实施例, 该注册消息还包括波长确认信息, 该波长确 认信息用于指示该 OLT确认该波长信息。  Optionally, as an embodiment, the registration message further includes wavelength confirmation information, where the wavelength confirmation information is used to instruct the OLT to confirm the wavelength information.
可选地, 作为一个实施例, 该注册请求消息的发现信息域包括该波长信 息; 或该注册请求消息包括波长信息域, 该波长信息域包括该波长信息。  Optionally, as an embodiment, the discovery information field of the registration request message includes the wavelength information; or the registration request message includes a wavelength information field, where the wavelength information field includes the wavelength information.
可选地, 作为一个实施例, 该波长信息还包括该 ONU的下行波长调节 能力信息, 该下行波长调节能力信息包括下列信息中的至少一种: 下行波长 调节间隔、 下行波长数、 可调滤波器的波长调节范围、 每个下行波长调节间 隔的调节时间和下行波长调节速度。  Optionally, as an embodiment, the wavelength information further includes downlink wavelength adjustment capability information of the ONU, where the downlink wavelength adjustment capability information includes at least one of the following information: a downlink wavelength adjustment interval, a downlink wavelength number, and an adjustable filter. The wavelength adjustment range of the device, the adjustment time of each downstream wavelength adjustment interval, and the downstream wavelength adjustment speed.
应理解,在本发明实施例中, 该开窗消息例如为基于 MPCP的 GATE消 息; 该注册请求消息例如为基于 MPCP的 REGISTER_REQ消息; 该注册消 息例如为基于 MPCP的 REGISTER消息;该注册确认消息例如为基于 MPCP 的 REGISTER_ACK消息, 为了简洁, 在此不再赞述。  It should be understood that, in the embodiment of the present invention, the windowing message is, for example, an MPCP-based GATE message; the registration request message is, for example, an MPCP-based REGISTER_REQ message; the registration message is, for example, an MPCP-based REGISTER message; the registration confirmation message is for example For the MPCP-based REGISTER_ACK message, for the sake of brevity, it is not mentioned here.
应理解, 根据本发明实施例的光线路终端 60可对应于本发明实施例中 端 60中的各个模块的上述和其它操作和 /或功能分别为了实现图 2至图 4中 的方法 100的相应流程, 为了简洁, 在此不再赘述。  It should be understood that the optical line terminations 60 in accordance with embodiments of the present invention may correspond to the above and other operations and/or functions of the various modules in the end 60 of the present embodiments, respectively, in order to achieve the correspondingness of the method 100 of FIGS. 2 through 4, respectively. The process, for the sake of brevity, will not be described here.
因此, 本发明实施例的以太网无源光网络系统中的光线路终端, 通过在 光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得该 光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下行 波长和一个上行波长进行通信的以太网无源光网络系统中能够实现设备注 册, 由此该光网络单元和该光线路终端之间能够进行数据通信。  Therefore, the optical line terminal in the Ethernet passive optical network system of the embodiment of the present invention indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical line terminal can determine the optical network. The downlink wavelength used by the unit enables device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the optical line terminal can Data communication.
如图 21所示, 本发明实施例还提供了一种 EPON系统中的光网络单元 ONU 70, 该 EPON系统还包括光线路终端 OLT, 该 OLT与该 ONU之间基 于多个下行波长和一个上行波长进行通信,该光网络单元 70包括处理器 71、 存储器 72、 总线系统 73、 接收器 74和发送器 75。 其中, 处理器 71、 存储 器 72、接收器 74和发送器 75通过总线系统 73相连,该存储器 72用于存储 指令, 该处理器 71用于执行该存储器 72存储的指令, 以控制接收器 74接 收信号, 并控制发送器 75发送信号; 其中, 该接收器 74用于接收该 OLT 发送的开窗消息; 该发送器 75用于: 根据该开窗消息, 向该 OLT发送用于 请求注册的注册请求消息, 该注册请求消息携带该 ONU的波长信息, 该波 长信息包括该 ONU接收该开窗消息所釆用的注册下行波长; 其中, 该接收 器 74还用于: 接收该 OLT根据该注册请求消息发送的注册消息, 该注册消 息包括该 OLT为该 ONU分配的逻辑链路标记 LLID; 该发送器 75还用于: 根据该注册消息向该 OLT发送用于确认完成注册的注册确认消息。 As shown in FIG. 21, an embodiment of the present invention further provides an optical network unit ONU 70 in an EPON system, where the EPON system further includes an optical line terminal OLT, and the OLT and the ONU are based on multiple downlink wavelengths and one uplink. The wavelength is communicated. The optical network unit 70 includes a processor 71, a memory 72, a bus system 73, a receiver 74, and a transmitter 75. The processor 71, the memory 72, the receiver 74 and the transmitter 75 are connected by a bus system 73 for storing instructions for executing instructions stored in the memory 72 for controlling the receiver 74 to be connected. Receiving a signal, and controlling the transmitter 75 to send a signal; wherein the receiver 74 is configured to receive a windowing message sent by the OLT; the transmitter 75 is configured to: send, according to the windowing message, a request for registration to the OLT a registration request message, the registration request message carrying the wavelength information of the ONU, the wavelength information including the registered downlink wavelength used by the ONU to receive the windowing message; wherein the receiver 74 is further configured to: receive the OLT according to the registration And a registration message sent by the request message, the registration message includes a logical link identifier LLID allocated by the OLT to the ONU; the sender 75 is further configured to: send, according to the registration message, a registration confirmation message for confirming completion of registration to the OLT.
因此, 本发明实施例的以太网无源光网络系统中的光网络单元, 通过在 光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得该 光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下行 波长和一个上行波长进行通信的以太网无源光网络系统中能够实现设备注 册, 由此该光网络单元和该光线路终端之间能够进行数据通信。  Therefore, the optical network unit in the Ethernet passive optical network system of the embodiment of the present invention indicates that the downlink wavelength is registered in the registration request message sent by the optical network unit to the optical line terminal, so that the optical line terminal can determine the optical network. The downlink wavelength used by the unit enables device registration in an Ethernet passive optical network system that uses multiple downlink wavelengths and one upstream wavelength for communication, whereby the optical network unit and the optical line terminal can Data communication.
可选地, 作为一个实施例, 该 LLID包括用于指示该注册下行波长的信 息。  Optionally, as an embodiment, the LLID includes information for indicating the registered downlink wavelength.
可选地, 作为一个实施例, 该注册消息还包括波长确认信息, 该波长确 认信息用于指示该 OLT确认该波长信息。  Optionally, as an embodiment, the registration message further includes wavelength confirmation information, where the wavelength confirmation information is used to instruct the OLT to confirm the wavelength information.
可选地, 作为一个实施例, 该注册请求消息的发现信息域包括该波长信 息; 或该注册请求消息包括波长信息域, 该波长信息域包括该波长信息。  Optionally, as an embodiment, the discovery information field of the registration request message includes the wavelength information; or the registration request message includes a wavelength information field, where the wavelength information field includes the wavelength information.
可选地, 作为一个实施例, 该波长信息还包括该 ONU的下行波长调节 能力信息, 该下行波长调节能力信息包括下列信息中的至少一种: 下行波长 调节间隔、 下行波长数、 可调滤波器的波长调节范围、 每个下行波长调节间 隔的调节时间和下行波长调节速度。  Optionally, as an embodiment, the wavelength information further includes downlink wavelength adjustment capability information of the ONU, where the downlink wavelength adjustment capability information includes at least one of the following information: a downlink wavelength adjustment interval, a downlink wavelength number, and an adjustable filter. The wavelength adjustment range of the device, the adjustment time of each downstream wavelength adjustment interval, and the downstream wavelength adjustment speed.
应理解,在本发明实施例中, 该开窗消息例如为基于 MPCP的 GATE消 息; 该注册请求消息例如为基于 MPCP的 REGISTER_REQ消息; 该注册消 息例如为基于 MPCP的 REGISTER消息;该注册确认消息例如为基于 MPCP 的 REGISTER_ACK消息, 为了简洁, 在此不再赞述。  It should be understood that, in the embodiment of the present invention, the windowing message is, for example, an MPCP-based GATE message; the registration request message is, for example, an MPCP-based REGISTER_REQ message; the registration message is, for example, an MPCP-based REGISTER message; the registration confirmation message is for example For the MPCP-based REGISTER_ACK message, for the sake of brevity, it is not mentioned here.
应理解, 根据本发明实施例的光网络单元 70可对应于本发明实施例中 的 ONU, 并可以对应于本发明实施例提供的光网络单元 20, 并且光线路终 端 70中的各个模块的上述和其它操作和 /或功能分别为了实现图 5中的方法 200的相应流程, 为了简洁, 在此不再赘述。  It should be understood that the optical network unit 70 according to the embodiment of the present invention may correspond to the ONU in the embodiment of the present invention, and may correspond to the optical network unit 20 provided by the embodiment of the present invention, and the foregoing modules of the optical line terminal 70. And other operations and/or functions, respectively, in order to implement the corresponding processes of the method 200 in FIG. 5, for brevity, no further details are provided herein.
因此, 本发明实施例的以太网无源光网络系统中的光网络单元, 通过在 光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得该 光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下行 波长和一个上行波长进行通信的以太网无源光网络系统中能够实现设备注 册, 由此该光网络单元和该光线路终端之间能够进行数据通信。 Therefore, the optical network unit in the Ethernet passive optical network system according to the embodiment of the present invention passes The registration request message sent by the optical network unit to the optical line terminal indicates that the downlink wavelength is registered, so that the optical line terminal can determine the downlink wavelength used by the optical network unit, thereby performing communication by using multiple downlink wavelengths and one uplink wavelength. Device registration can be implemented in an Ethernet passive optical network system, whereby data communication can be performed between the optical network unit and the optical line terminal.
如图 22所示, 本发明实施例还提供了一种 EPON系统中的光线路终端 As shown in FIG. 22, an embodiment of the present invention further provides an optical line terminal in an EPON system.
OLT 80, 该光线路终端 80包括处理器 81、 存储器 82、 总线系统 83、 接收 器 84和发送器 85。 其中, 处理器 81、 存储器 82、 接收器 84和发送器 85 通过总线系统 83相连, 该存储器 82用于存储指令, 该处理器 81用于执行 该存储器 82存储的指令, 以控制接收器 84接收信号, 并控制发送器 85发 送信号; The OLT 80, the optical line terminal 80 includes a processor 81, a memory 82, a bus system 83, a receiver 84, and a transmitter 85. The processor 81, the memory 82, the receiver 84 and the transmitter 85 are connected by a bus system 83 for storing instructions for executing instructions stored in the memory 82 for controlling the receiver 84 to receive. Signaling, and controlling the transmitter 85 to send a signal;
其中, 该发送器 85用于: 在源下行波长通道上向光网络单元 ONU发送 波长切换请求消息,该波长切换请求消息用于指示该 ONU切换至目标下行 波长, 并且该波长切换请求消息包括用于指示该目标下行波长的目标波长 信息, 以及用于指示下行波长切换的起止时间的切换时间信息;  The transmitter 85 is configured to: send a wavelength switch request message to the optical network unit ONU on the source downlink wavelength channel, where the wavelength switch request message is used to indicate that the ONU switches to the target downlink wavelength, and the wavelength switch request message includes The target wavelength information indicating the downlink wavelength of the target, and the switching time information for indicating the start and end time of the downlink wavelength switching;
该接收器 84用于: 在固定的上行波长通道上,接收该 ONU根据该波长 切换请求消息发送的波长切换确认消息, 该波长切换确认消息用于指示该 ONU确定执行该下行波长切换;  The receiver 84 is configured to: receive, on a fixed uplink wavelength channel, a wavelength switch confirmation message sent by the ONU according to the wavelength switch request message, where the wavelength switch confirmation message is used to indicate that the ONU determines to perform the downlink wavelength switch;
其中, 该发送器 85还用于: 在该起止时间内, 仅在与该目标下行波长 相应的目标下行波长通道上向该 ONU发送波长切换 4吏权消息, 该波长切换 授权消息用于对该 ONU进行 4受权;  The transmitter 85 is further configured to: send, in the start and end time, only a wavelength switch 4 吏 right message to the ONU on the target downlink wavelength channel corresponding to the target downlink wavelength, where the wavelength switch authorization message is used to The ONU performs 4 authorizations;
该接收器 84还用于: 当该 ONU在该起止时间内成功切换到该目标下行 波长时, 在该上行波长通道上接收该 ONU根据该波长切换授权消息发送的 波长切换完成消息, 该波长切换完成消息用于指示该 ONU在该起止时间内 成功切换到该目标下行波长。  The receiver 84 is further configured to: when the ONU successfully switches to the target downlink wavelength in the start and end time, receive a wavelength switch completion message sent by the ONU according to the wavelength switching authorization message on the uplink wavelength channel, where the wavelength switch is performed. The completion message is used to indicate that the ONU successfully switches to the target downstream wavelength within the start and end time.
因此, 本发明实施例的以太网无源光网络系统中的光线路终端, 通过光 线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线路 终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下行 波长通道上向光网络单元发送波长切换授权消息,使得该光网络单元能够在 该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行波 长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减 少切换出错概率, 并能够提高系统的业务量。 可选地, 作为一个实施例, 该发送器 85还用于: 在该目标下行波长通 道上, 根据该波长切换完成消息向该 ONU发送波长切换成功消息, 该波长 切换成功消息用于指示光线路终端 OLT确认该 ONU下行波长切换成功。 Therefore, the optical line terminal in the Ethernet passive optical network system according to the embodiment of the present invention indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and switches the start and end time of the downlink wavelength indicated by the optical line terminal. The wavelength switching grant message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching within the start and end time of the switching, and can avoid the optical line terminal at the same time. Synchronizing the optical network unit on the downlink wavelength channel, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic. Optionally, as an embodiment, the transmitter 85 is further configured to: send, according to the wavelength switching completion message, a wavelength switching success message to the ONU on the target downlink wavelength channel, where the wavelength switching success message is used to indicate the optical line The terminal OLT confirms that the ONU downlink wavelength switching is successful.
可选地, 作为一个实施例, 该发送器 85还用于: 当在该起止时间内没 有接收到该 ONU发送的该波长切换完成消息时, 仅在该源下行波长通道上 向该 ONU发送该波长切换 4吏权消息;  Optionally, as an embodiment, the transmitter 85 is further configured to: when the wavelength switch complete message sent by the ONU is not received within the start and end time, send the same to the ONU only on the source downlink wavelength channel. Wavelength switching 4 吏 right message;
该接收器 84还用于: 在该上行波长通道上,接收该 ONU根据该波长切 换 权消息发送的波长切换未完成消息,该波长切换未完成消息用于指示该 ONU在该起止时间内未成功切换到该目标下行波长。  The receiver 84 is further configured to: receive, on the uplink wavelength channel, a wavelength switch incomplete message sent by the ONU according to the wavelength switching right message, where the wavelength switch incomplete message is used to indicate that the ONU is unsuccessful in the start and end time Switch to the target downstream wavelength.
可选地, 作为一个实施例, 该发送器 85还用于: 在该源下行波长通道 上, 根据该波长切换未完成消息向该 ONU发送波长切换未成功消息, 该波 长切换未成功消息用于指示 OLT确认该 ONU下行波长切换未成功。  Optionally, as an embodiment, the transmitter 85 is further configured to: send, according to the wavelength switching incomplete message, a wavelength switching unsuccessful message to the ONU on the source downlink wavelength channel, where the wavelength switching unsuccessful message is used The OLT is instructed to confirm that the ONU downlink wavelength switching is unsuccessful.
可选地,作为一个实施例,该波长切换请求消息、该波长切换确认消息、 该波长切换授权消息和该波长切换完成消息中的至少一种消息为多点控制 协议 MPCP消息或运营管理维护 0 AM消息。  Optionally, as an embodiment, at least one of the wavelength switch request message, the wavelength switch acknowledgement message, the wavelength switch grant message, and the wavelength switch complete message is a multipoint control protocol (MPCP) message or an operation management maintenance. AM message.
应理解, 根据本发明实施例的光线路终端 80可对应于本发明实施例中 的 OLT, 并可以对应于本发明实施例提供的光线路终端 30, 并且光线路终 端 80中的各个模块的上述和其它操作和 /或功能分别为了实现图 7至图 11 中的方法 500的相应流程, 为了简洁, 在此不再赘述。  It should be understood that the optical line terminal 80 according to the embodiment of the present invention may correspond to the OLT in the embodiment of the present invention, and may correspond to the optical line terminal 30 provided by the embodiment of the present invention, and the foregoing modules of the optical line terminal 80. And other operations and/or functions, respectively, in order to implement the corresponding processes of the method 500 in FIG. 7 to FIG. 11 , for brevity, no further details are provided herein.
因此, 本发明实施例的以太网无源光网络系统中的光线路终端, 通过光 线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线路 终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下行 波长通道上向光网络单元发送波长切换授权消息,使得该光网络单元能够在 该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行波 长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减 少切换出错概率, 并能够提高系统的业务量。  Therefore, the optical line terminal in the Ethernet passive optical network system according to the embodiment of the present invention indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and switches the start and end time of the downlink wavelength indicated by the optical line terminal. The wavelength switching grant message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching within the start and end time of the switching, and can avoid the optical line terminal at the same time. Synchronizing the optical network unit on the downlink wavelength channel, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic.
如图 23所示, 本发明实施例还提供了一种 EPON系统中的光网络单元 ONU 90, 该光网络单元 90包括处理器 91、 存储器 92、 总线系统 93、 接收 器 94和发送器 95。 其中, 处理器 91、 存储器 92、 接收器 94和发送器 95 通过总线系统 93相连, 该存储器 92用于存储指令, 该处理器 91用于执行 该存储器 92存储的指令, 以控制接收器 94接收信号, 并控制发送器 95发 送信号; As shown in FIG. 23, an embodiment of the present invention further provides an optical network unit ONU 90 in an EPON system. The optical network unit 90 includes a processor 91, a memory 92, a bus system 93, a receiver 94, and a transmitter 95. The processor 91, the memory 92, the receiver 94 and the transmitter 95 are connected by a bus system 93 for storing instructions for executing instructions stored in the memory 92 for controlling the receiver 94 to receive. Signal, and control transmitter 95 Send a signal;
其中, 该接收器 94用于: 在源下行波长通道上接收光线路终端 OLT发 送的波长切换请求消息, 该波长切换请求消息用于指示光网络单元 ONU切 换至目标下行波长, 并且该波长切换请求消息包括用于指示该目标下行波长 的目标波长信息, 以及用于指示下行波长切换的起止时间的切换时间信息; 该发送器 95用于: 在固定的上行波长通道上, 根据该波长切换请求消 息向该 OLT发送波长切换确认消息, 该波长切换确认消息用于指示该 ONU 确定执行该下行波长切换;  The receiver 94 is configured to: receive, by using the source downlink downlink channel, a wavelength switch request message sent by the optical line terminal OLT, where the wavelength switch request message is used to indicate that the optical network unit ONU switches to the target downlink wavelength, and the wavelength switch request is The message includes target wavelength information for indicating the downlink wavelength of the target, and switching time information for indicating the start and end time of the downlink wavelength switching. The transmitter 95 is configured to: switch the request message according to the wavelength on the fixed uplink wavelength channel. Sending a wavelength switch confirmation message to the OLT, where the wavelength switch confirmation message is used to indicate that the ONU determines to perform the downlink wavelength switch;
其中, 该接收器 94还用于: 当该 ONU在该起止时间内成功切换到该目 标下行波长时, 接收该 OLT仅在与该目标下行波长相应的目标下行波长通 道上发送的波长切换授权消息, 该波长切换授权消息用于对该 ONU进行授 权;  The receiver 94 is further configured to: when the ONU successfully switches to the target downlink wavelength in the start and end time, receive the wavelength switching authorization message sent by the OLT only on the target downlink wavelength channel corresponding to the target downlink wavelength. The wavelength switching authorization message is used to authorize the ONU;
该发送器 95还用于: 在该上行波长通道上, 根据该波长切换 4吏权消息 向该 OLT发送波长切换完成消息,该波长切换完成消息用于指示该 ONU在 该起止时间内成功切换到该目标下行波长。  The transmitter 95 is further configured to: send, on the uplink wavelength channel, a wavelength switch completion message to the OLT according to the wavelength switching message, where the wavelength switch completion message is used to indicate that the ONU successfully switches to the start and end time. The target downstream wavelength.
因此, 本发明实施例的以太网无源光网络系统中的光网络单元, 通过光 线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线路 终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下行 波长通道上向光网络单元发送波长切换授权消息,使得该光网络单元能够在 该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行波 长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减 少切换出错概率, 并能够提高系统的业务量。  Therefore, the optical network unit in the Ethernet passive optical network system of the embodiment of the present invention indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and switches the start and end time of the downlink wavelength indicated by the optical line terminal. The wavelength switching grant message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching within the start and end time of the switching, and can avoid the optical line terminal at the same time. Synchronizing the optical network unit on the downlink wavelength channel, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic.
可选地, 作为一个实施例, 该接收器 94还用于: 在该目标下行波长通 道上, 接收该 OLT根据该波长切换完成消息发送的波长切换成功消息, 该 波长切换成功消息用于指示该 OLT确认该 ONU下行波长切换成功。  Optionally, as an embodiment, the receiver 94 is further configured to: receive, on the target downlink wavelength channel, a wavelength switch success message sent by the OLT according to the wavelength switch completion message, where the wavelength switch success message is used to indicate the The OLT confirms that the ONU downlink wavelength switching is successful.
可选地, 作为一个实施例, 该接收器 94还用于: 当该 ONU在该起止时 间内未成功切换到该目标下行波长时, 在该起止时间超时后, 接收该 OLT 仅在该源下行波长通道上发送的该波长切换 4吏权消息;  Optionally, as an embodiment, the receiver 94 is further configured to: when the ONU fails to successfully switch to the target downlink wavelength within the start and end time, after the start and end time expires, receiving the OLT is only in the source downlink The wavelength switching 4 wavelength message sent on the wavelength channel;
该发送器 95还用于: 在该上行波长通道上, 根据该波长切换 4吏权消息 向该 OLT发送波长切换未完成消息, 该波长切换未完成消息用于指示该 ONU在该起止时间内未成功切换到该目标下行波长。 可选地, 作为一个实施例, 该接收器 94还用于: 在该源下行波长通道 上, 接收该 OLT根据该波长切换未完成消息发送的波长切换未成功消息, 该波长切换未成功消息用于指示该 OLT确认该 ONU下行波长切换未成功。 The transmitter 95 is further configured to: send, on the uplink wavelength channel, a wavelength switch incomplete message to the OLT according to the wavelength switching message, where the wavelength switch incomplete message is used to indicate that the ONU is not in the start and end time. Successfully switched to the target downstream wavelength. Optionally, in an embodiment, the receiver 94 is further configured to: receive, on the source downlink wavelength channel, a wavelength switch unsuccessful message that is sent by the OLT according to the wavelength switching incomplete message, where the wavelength switching is unsuccessful message The OLT is instructed to confirm that the ONU downlink wavelength switching is unsuccessful.
可选地,作为一个实施例,该波长切换请求消息、该波长切换确认消息、 该波长切换授权消息和该波长切换完成消息中的至少一种消息为多点控制 协议 MPCP消息或运营管理维护 OAM消息。  Optionally, as an embodiment, at least one of the wavelength switch request message, the wavelength switch acknowledgement message, the wavelength switch grant message, and the wavelength switch complete message is a multipoint control protocol (MPCP) message or an operation management and maintenance OAM. Message.
应理解, 根据本发明实施例的光网络单元 90可对应于本发明实施例中 的 ONU, 并可以对应于本发明实施例提供的光网络单元 40, 并且光网络单 元 90中的各个模块的上述和其它操作和 /或功能分别为了实现图 12至图 14 中的方法 600的相应流程, 为了简洁, 在此不再赘述。  It should be understood that the optical network unit 90 according to the embodiment of the present invention may correspond to the ONU in the embodiment of the present invention, and may correspond to the optical network unit 40 provided by the embodiment of the present invention, and the foregoing modules of the optical network unit 90. And other operations and/or functions, respectively, in order to implement the corresponding processes of the method 600 in FIG. 12 to FIG. 14 , for brevity, no further details are provided herein.
因此, 本发明实施例的以太网无源光网络系统中的光网络单元, 通过光 线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线路 终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下行 波长通道上向光网络单元发送波长切换授权消息,使得该光网络单元能够在 该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行波 长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减 少切换出错概率, 并能够提高系统的业务量。  Therefore, the optical network unit in the Ethernet passive optical network system of the embodiment of the present invention indicates the target wavelength information and the switching time information to the optical network unit through the optical line terminal, and switches the start and end time of the downlink wavelength indicated by the optical line terminal. The wavelength switching grant message is sent to the optical network unit only on the target downlink wavelength channel corresponding to the target downlink wavelength, so that the optical network unit can perform downlink wavelength switching within the start and end time of the switching, and can avoid the optical line terminal at the same time. Synchronizing the optical network unit on the downlink wavelength channel, thereby simplifying the downlink wavelength switching process, reducing the switching error probability, and improving the system traffic.
另外, 本文中术语 "系统" 和 "网络" 在本文中常被可互换使用。 本文 中术语 "和 /或", 仅仅是一种描述关联对象的关联关系, 表示可以存在三种 关系, 例如, A和 /或 可以表示: 单独存在八, 同时存在八和^ 单独存 在 B这三种情况。另外,本文中字符 "/",一般表示前后关联对象是一种 "或" 的关系。  In addition, the terms "system" and "network" are often used interchangeably herein. The term "and/or" in this context is merely an association describing the associated object, indicating that there may be three relationships, for example, A and / or can represent: eight exist alone, eight and ^ exist alone, and three exist separately. Kind of situation. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
应理解, 在本发明实施例中, "与 A相应的 B"表示 B与 A相关联, 根 据 A可以确定 B。 但还应理解, 根据 A确定 B并不意味着仅仅根据 A确定 B , 还可以根据 A和 /或其它信息确定^  It should be understood that in the embodiment of the present invention, "B corresponding to A" means that B is associated with A, and B can be determined based on A. However, it should be understood that determining B according to A does not mean that B is only determined according to A, but also can be determined based on A and/or other information.
本领域普通技术人员可以意识到, 结合本文中所公开的实施例描述的各 示例的单元及算法步骤, 能够以电子硬件、 计算机软件或者二者的结合来实 现, 为了清楚地说明硬件和软件的可互换性, 在上述说明中已经按照功能一 般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执 行, 取决于技术方案的特定应用和设计约束条件。 专业技术人员可以对每个 特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超 出本发明的范围。 Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software or a combination of both, in order to clearly illustrate hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. Professionals can use different methods to implement the described functions for each specific application, but this implementation should not be considered super The scope of the invention is intended.
所属领域的技术人员可以清楚地了解到, 为了描述的方便和简洁, 上述 描述的系统、 装置和单元的具体工作过程, 可以参考前述方法实施例中的对 应过程, 在此不再赘述。  A person skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统、 装置和 方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示 意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可 以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个 系统, 或一些特征可以忽略, 或不执行。 另夕卜, 所显示或讨论的相互之间的 耦合或直接辆合或通信连接可以是通过一些接口、装置或单元的间接辆合或 通信连接, 也可以是电的, 机械的或其它的形式连接。 为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或 者全部单元来实现本发明实施例方案的目的。  In the several embodiments provided herein, it should be understood that the disclosed systems, devices, and methods may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed. In addition, the mutual coupling or direct connection or communication connection shown or discussed may be an indirect connection or communication connection through some interface, device or unit, or may be an electrical, mechanical or other form. connection. The components displayed for the unit may or may not be physical units, ie may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元 中, 也可以是各个单元单独物理存在, 也可以是两个或两个以上单元集成在 一个单元中。 上述集成的单元既可以釆用硬件的形式实现, 也可以釆用软件 功能单元的形式实现。  In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销 售或使用时, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方 案的全部或部分可以以软件产品的形式体现出来, 该计算机软件产品存储在 一个存储介质中, 包括若干指令用以使得一台计算机设备(可以是个人计算 机, 服务器, 或者网络设备等)执行本发明各个实施例所述方法的全部或部 分步骤。 而前述的存储介质包括: U盘、 移动硬盘、 只读存储器 (ROM, Read-Only Memory )、 随机存取存 4诸器 ( RAM, Random Access Memory )、 磁碟或者光盘等各种可以存储程序代码的介质。  The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like. The medium of the code.
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到各种等效的修改或替换, 这些修改或替换都应涵盖在本发明的保护范围 之内。 因此, 本发明的保护范围应以权利要求的保护范围为准。 The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any equivalent person can be easily conceived within the technical scope of the present invention. Modifications or substitutions, these modifications or substitutions should be covered by the scope of protection of the present invention within. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims

权利要求书 Claim
1、 一种以太网无源光网络 EPON系统中设备注册的方法, 所述 EPON 系统包括光线路终端 OLT和光网络单元 ONU, 所述 OLT与所述 ONU之间 基于多个下行波长和一个上行波长进行通信, 其特征在于, 所述方法包括: 向所述 ONU发送开窗消息;  A device for registering an EPON system in an Ethernet passive optical network, the EPON system comprising an optical line terminal OLT and an optical network unit ONU, wherein the OLT and the ONU are based on multiple downlink wavelengths and one uplink wavelength Communicating, wherein the method includes: sending a windowing message to the ONU;
接收所述 ONU根据所述开窗消息发送的用于请求注册的注册请求消 息, 所述注册请求消息携带所述 ONU的波长信息, 所述波长信息包括所述 ONU接收所述开窗消息所釆用的注册下行波长;  And receiving, by the ONU, a registration request message for requesting registration according to the windowing message, where the registration request message carries wavelength information of the ONU, where the wavelength information includes that the ONU receives the windowing message. Registered downstream wavelength used;
通过所述注册下行波长向所述 ONU发送注册消息, 所述注册消息包括 接收所述 ONU根据所述注册消息发送的用于确认完成注册的注册确认 消息。  Transmitting a registration message to the ONU by using the registration downlink wavelength, the registration message includes receiving a registration confirmation message sent by the ONU according to the registration message for confirming completion of registration.
2、 根据权利要求 1 所述的方法, 其特征在于, 所述注册消息还包括波 长确认信息, 所述波长确认信息用于指示所述 OLT确认所述波长信息。  The method according to claim 1, wherein the registration message further includes length confirmation information, and the wavelength confirmation information is used to instruct the OLT to confirm the wavelength information.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述注册请求消息 的发现信息域包括所述波长信息; 或所述注册请求消息包括波长信息域, 所 述波长信息域包括所述波长信息。  The method according to claim 1 or 2, wherein the discovery information field of the registration request message includes the wavelength information; or the registration request message includes a wavelength information field, where the wavelength information field includes Wavelength information.
4、 根据权利要求 1至 3中任一项所述的方法, 其特征在于, 所述波长 信息还包括所述 ONU的下行波长调节能力信息, 所述下行波长调节能力信 息包括下列信息中的至少一种: 下行波长调节间隔、 下行波长数、 可调滤波 器的波长调节范围、 每个下行波长调节间隔的调节时间和下行波长调节速 度。  The method according to any one of claims 1 to 3, wherein the wavelength information further includes downlink wavelength adjustment capability information of the ONU, and the downlink wavelength adjustment capability information includes at least one of the following information. One type: a downlink wavelength adjustment interval, a downlink wavelength number, a wavelength adjustment range of the tunable filter, an adjustment time of each downlink wavelength adjustment interval, and a downlink wavelength adjustment speed.
5、 一种以太网无源光网络 EPON系统中设备注册的方法, 所述 EPON 系统包括光线路终端 OLT和光网络单元 ONU, 所述 OLT与所述 ONU之间 基于多个下行波长和一个上行波长进行通信, 其特征在于, 所述方法包括: 接收所述 OLT发送的开窗消息;  A method for registering a device in an EPON system of an Ethernet passive optical network, where the EPON system includes an optical line terminal OLT and an optical network unit ONU, and the OLT and the ONU are based on multiple downlink wavelengths and one uplink wavelength. Communicating, the method includes: receiving a windowing message sent by the OLT;
根据所述开窗消息, 向所述 OLT发送用于请求注册的注册请求消息, 所述注册请求消息携带所述 ONU的波长信息,所述波长信息包括所述 ONU 接收所述开窗消息所釆用的注册下行波长;  Transmitting, according to the windowing message, a registration request message for requesting registration to the OLT, where the registration request message carries wavelength information of the ONU, where the wavelength information includes the ONU receiving the windowing message. Registered downstream wavelength used;
通过所述注册下行波长接收所述 OLT根据所述注册请求消息发送的注 册消息, 所述注册消息包括所述 OLT 为所述 ONU 分配的逻辑链路标记 LLID; Receiving, by the registration downlink wavelength, a registration message sent by the OLT according to the registration request message, where the registration message includes a logical link identifier allocated by the OLT for the ONU LLID;
根据所述注册消息向所述 OLT发送用于确认完成注册的注册确认消息。  A registration confirmation message for confirming completion of registration is sent to the OLT according to the registration message.
6、 根据权利要求 5所述的方法, 其特征在于, 所述注册消息还包括波 长确认信息, 所述波长确认信息用于指示所述 OLT确认所述波长信息。 The method according to claim 5, wherein the registration message further includes length confirmation information, and the wavelength confirmation information is used to instruct the OLT to confirm the wavelength information.
7、 根据权利要求 5或 6所述的方法, 其特征在于, 所述注册请求消息 的发现信息域包括所述波长信息; 或所述注册请求消息包括波长信息域, 所 述波长信息域包括所述波长信息。  The method according to claim 5 or 6, wherein the discovery information field of the registration request message includes the wavelength information; or the registration request message includes a wavelength information field, where the wavelength information field includes Wavelength information.
8、 根据权利要求 5至 7中任一项所述的方法, 其特征在于, 所述波长 信息还包括所述 ONU的下行波长调节能力信息, 所述下行波长调节能力信 息包括下列信息中的至少一种: 下行波长调节间隔、 下行波长数、 可调滤波 器的波长调节范围、 每个下行波长调节间隔的调节时间和下行波长调节速 度。  The method according to any one of claims 5 to 7, wherein the wavelength information further includes downlink wavelength adjustment capability information of the ONU, and the downlink wavelength adjustment capability information includes at least one of the following information. One type: a downlink wavelength adjustment interval, a downlink wavelength number, a wavelength adjustment range of the tunable filter, an adjustment time of each downlink wavelength adjustment interval, and a downlink wavelength adjustment speed.
9、 一种以太网无源光网络 EPON系统中波长切换的方法, 所述 EPON 系统包括光线路终端 OLT和光网络单元 ONU, 所述 OLT与所述 ONU之间 基于多个下行波长和一个上行波长进行通信, 其特征在于, 所述方法包括: 在源下行波长通道上向光网络单元 ONU发送波长切换请求消息, 所述 波长切换请求消息用于指示所述 ONU切换至目标下行波长, 并且所述波长 切换请求消息包括用于指示所述目标下行波长的目标波长信息, 以及用于指 示下行波长切换的起止时间的切换时间信息;  A wavelength switching method in an EPON system of an Ethernet passive optical network, the EPON system comprising an optical line terminal OLT and an optical network unit ONU, wherein the OLT and the ONU are based on multiple downlink wavelengths and one uplink wavelength And performing the communication, the method includes: transmitting a wavelength switching request message to the optical network unit ONU on the source downlink wavelength channel, where the wavelength switching request message is used to indicate that the ONU switches to the target downlink wavelength, and The wavelength switching request message includes target wavelength information for indicating the target downlink wavelength, and switching time information for indicating a start and end time of the downlink wavelength switching;
在所述上行波长通道上, 接收所述 ONU根据所述波长切换请求消息发 送的波长切换确认消息, 所述波长切换确认消息用于指示所述 ONU确定执 行所述下行波长切换; 向所述 ONU发送波长切换授权消息, 所述波长切换授权消息用于对所述 ONU进行授权;  Receiving, on the uplink wavelength channel, a wavelength switch confirmation message sent by the ONU according to the wavelength switch request message, where the wavelength switch confirmation message is used to instruct the ONU to determine to perform the downlink wavelength switch; to the ONU Sending a wavelength switching authorization message, where the wavelength switching authorization message is used to authorize the ONU;
当所述 ONU在所述起止时间内成功切换到所述目标下行波长时, 在所 述上行波长通道上接收所述 ONU根据所述波长切换授权消息发送的波长切 换完成消息, 所述波长切换完成消息用于指示所述 ONU在所述起止时间内 成功切换到所述目标下行波长。  Receiving, by the ONU, the wavelength switching completion message sent by the ONU according to the wavelength switching authorization message, when the ONU successfully switches to the target downlink wavelength in the start and stop time, the wavelength switching is completed. The message is used to indicate that the ONU successfully switches to the target downlink wavelength during the start and end time.
10、 根据权利要求 9所述的方法, 其特征在于, 所述方法还包括: 在所述目标下行波长通道上, 根据所述波长切换完成消息向所述 ONU 发送波长切换成功消息, 所述波长切换成功消息用于指示光线路终端 OLT 确认所述 ONU下行波长切换成功。 The method according to claim 9, wherein the method further comprises: performing, according to the wavelength switching completion message, the ONU on the target downlink wavelength channel The wavelength switching success message is sent, and the wavelength switching success message is used to indicate that the optical line terminal OLT confirms that the ONU downlink wavelength switching is successful.
11、 根据权利要求 9所述的方法, 其特征在于, 所述方法还包括: 当在所述起止时间内没有接收到所述 ONU发送的所述波长切换完成消 在所述上行波长通道上, 接收所述 ONU根据所述波长切换授权消息发 送的波长切换未完成消息, 所述波长切换未完成消息用于指示所述 ONU在 所述起止时间内未成功切换到所述目标下行波长。  The method according to claim 9, wherein the method further comprises: when the wavelength switching that is not received by the ONU is completed in the uplink and downlink channels, Receiving, by the ONU, a wavelength switching incomplete message sent according to the wavelength switching authorization message, where the wavelength switching incomplete message is used to indicate that the ONU does not successfully switch to the target downlink wavelength within the start and end time.
12、 根据权利要求 11所述的方法, 其特征在于, 所述方法还包括: 在所述源下行波长通道上, 根据所述波长切换未完成消息向所述 ONU 发送波长切换未成功消息, 所述波长切换未成功消息用于指示 OLT确认所 述 ONU下行波长切换未成功。  The method according to claim 11, wherein the method further comprises: sending, on the source downlink wavelength channel, a wavelength switching unsuccessful message to the ONU according to the wavelength switching incomplete message, where The wavelength switching unsuccessful message is used to instruct the OLT to confirm that the ONU downlink wavelength switching is unsuccessful.
13、 根据权利要求 9至 12中任一项所述的方法, 其特征在于, 所述波 长切换请求消息、 所述波长切换确认消息、 所述波长切换授权消息和所述波 长切换完成消息中的至少一种消息为多点控制协议 MPCP 消息或运营管理 维护 OAM消息。  The method according to any one of claims 9 to 12, wherein the wavelength switching request message, the wavelength switching confirmation message, the wavelength switching authorization message, and the wavelength switching completion message are At least one of the messages is a Multipoint Control Protocol (MPCP) message or an Operations Management Maintenance OAM message.
14、 一种以太网无源光网络 EPON系统中波长切换的方法, 所述 EPON 系统包括光线路终端 OLT和光网络单元 ONU, 所述 OLT与所述 ONU之间 基于多个下行波长和一个上行波长进行通信, 其特征在于, 所述方法包括: 在源下行波长通道上接收光线路终端 OLT发送的波长切换请求消息, 所述波长切换请求消息用于指示光网络单元 ONU切换至目标下行波长, 并 且所述波长切换请求消息包括用于指示所述目标下行波长的目标波长信息, 以及用于指示下行波长切换的起止时间的切换时间信息;  A method for wavelength switching in an EPON system of an Ethernet passive optical network, the EPON system comprising an optical line terminal OLT and an optical network unit ONU, wherein the OLT and the ONU are based on multiple downlink wavelengths and one uplink wavelength And performing the communication, the method includes: receiving, on the source downlink wavelength channel, a wavelength switching request message sent by the optical line terminal OLT, where the wavelength switching request message is used to indicate that the optical network unit ONU switches to the target downlink wavelength, and The wavelength switching request message includes target wavelength information for indicating the target downlink wavelength, and switching time information for indicating a start and end time of the downlink wavelength switching;
在所述上行波长通道上, 根据所述波长切换请求消息向所述 OLT发送 波长切换确认消息, 所述波长切换确认消息用于指示所述 ONU确定执行所 述下行波长切换;  Transmitting, on the uplink wavelength channel, a wavelength switch confirmation message to the OLT according to the wavelength switch request message, where the wavelength switch acknowledge message is used to instruct the ONU to determine to perform the downlink wavelength switch;
当所述 ONU在所述起止时间内成功切换到所述目标下行波长时, 接收 换授权消息, 所述波长切换授权消息用于对所述 ONU进行授权;  When the ONU successfully switches to the target downlink wavelength in the start and stop time, receiving an exchange authorization message, where the wavelength switching authorization message is used to authorize the ONU;
在所述上行波长通道上, 根据所述波长切换授权消息向所述 OLT发送 波长切换完成消息, 所述波长切换完成消息用于指示所述 ONU在所述起止 时间内成功切换到所述目标下行波长。 And transmitting, on the uplink wavelength channel, a wavelength switch completion message to the OLT according to the wavelength switching authorization message, where the wavelength switch completion message is used to indicate that the ONU is in the start and stop Successfully switched to the target downstream wavelength within the time.
15、 根据权利要求 14所述的方法, 其特征在于, 所述方法还包括: 在所述目标下行波长通道上, 接收所述 OLT根据所述波长切换完成消 息发送的波长切换成功消息, 所述波长切换成功消息用于指示所述 OLT确 认所述 ONU下行波长切换成功。  The method according to claim 14, wherein the method further comprises: receiving, on the target downlink wavelength channel, a wavelength switching success message sent by the OLT according to the wavelength switching completion message, The wavelength switch success message is used to instruct the OLT to confirm that the ONU downlink wavelength switching is successful.
16、 根据权利要求 14所述的方法, 其特征在于, 所述方法还包括: 当所述 ONU在所述起止时间内未成功切换到所述目标下行波长时, 在 所述起止时间超时后, 接收所述 OLT仅在所述源下行波长通道上发送的所 述波长切换授权消息;  The method according to claim 14, wherein the method further comprises: when the ONU fails to switch to the target downlink wavelength during the start and end time, after the start and end time expires, Receiving, by the OLT, the wavelength switching authorization message sent only on the source downlink wavelength channel;
在所述上行波长通道上, 根据所述波长切换授权消息向所述 OLT发送 波长切换未完成消息, 所述波长切换未完成消息用于指示所述 ONU在所述 起止时间内未成功切换到所述目标下行波长。  And transmitting, on the uplink wavelength channel, a wavelength switch incomplete message to the OLT according to the wavelength switching grant message, where the wavelength switch incomplete message is used to indicate that the ONU does not successfully switch to the start time within the start and end time. Describe the target downstream wavelength.
17、 根据权利要求 16所述的方法, 其特征在于, 所述方法还包括: 在所述源下行波长通道上, 接收所述 OLT根据所述波长切换未完成消 息发送的波长切换未成功消息,所述波长切换未成功消息用于指示所述 OLT 确认所述 ONU下行波长切换未成功。  The method according to claim 16, wherein the method further comprises: receiving, on the source downlink wavelength channel, a wavelength switching unsuccessful message that is sent by the OLT according to the wavelength switching incomplete message, The wavelength switching unsuccessful message is used to instruct the OLT to confirm that the ONU downlink wavelength switching is unsuccessful.
18、 根据权利要求 14至 17中任一项所述的方法, 其特征在于, 所述波 长切换请求消息、 所述波长切换确认消息、 所述波长切换授权消息和所述波 长切换完成消息中的至少一种消息为多点控制协议 MPCP 消息或运营管理 维护 OAM消息。  The method according to any one of claims 14 to 17, wherein the wavelength switching request message, the wavelength switching confirmation message, the wavelength switching authorization message, and the wavelength switching completion message are At least one of the messages is a Multipoint Control Protocol (MPCP) message or an Operations Management Maintenance OAM message.
19、一种以太网无源光网络 EPON系统中的光线路终端 OLT,所述 EPON 系统还包括光网络单元 ONU, 所述 OLT与所述 ONU之间基于多个下行波 长和一个上行波长进行通信, 其特征在于, 所述 OLT包括:  An optical line terminal OLT in an EPON system of an Ethernet passive optical network, the EPON system further comprising an optical network unit ONU, wherein the OLT communicates with the ONU based on a plurality of downlink wavelengths and an uplink wavelength The OLT includes:
发送模块, 用于向所述 ONU发送开窗消息;  a sending module, configured to send a windowing message to the ONU;
接收模块, 用于接收所述 ONU根据所述发送模块发送的所述开窗消息 而发送的用于请求注册的注册请求消息, 所述注册请求消息携带所述 ONU 的波长信息, 所述波长信息包括所述 ONU接收所述开窗消息所釆用的注册 下行波长;  a receiving module, configured to receive a registration request message for requesting registration sent by the ONU according to the windowing message sent by the sending module, where the registration request message carries wavelength information of the ONU, the wavelength information Including the registered downlink wavelength used by the ONU to receive the windowing message;
其中, 所述发送模块还用于: 通过所述注册下行波长向所述 ONU发送 注册消息, 所述注册消息包括所述 OLT为所述 ONU分配的逻辑链路标记 LLID; 所述接收模块还用于: 接收所述 ONU根据所述发送模块发送的所述注 册消息发送的用于确认完成注册的注册确认消息。 The sending module is further configured to: send, by using the registered downlink wavelength, a registration message to the ONU, where the registration message includes a logical link identifier LLID allocated by the OLT to the ONU; The receiving module is further configured to: receive a registration confirmation message sent by the ONU according to the registration message sent by the sending module to confirm registration completion.
20、 根据权利要求 19所述的光线路终端, 其特征在于, 所述发送模块 发送的所述注册消息还包括波长确认信息, 所述波长确认信息用于指示所述 OLT确认所述波长信息。  The optical line terminal according to claim 19, wherein the registration message sent by the sending module further includes wavelength confirmation information, and the wavelength confirmation information is used to instruct the OLT to confirm the wavelength information.
21、 根据权利要求 19或 20所述的光线路终端, 其特征在于, 所述接收 模块接收的所述注册请求消息的发现信息域包括所述波长信息; 或所述接收 模块接收的所述注册请求消息包括波长信息域, 所述波长信息域包括所述波 长信息。  The optical line terminal according to claim 19 or 20, wherein the discovery information field of the registration request message received by the receiving module includes the wavelength information; or the registration received by the receiving module The request message includes a wavelength information field, and the wavelength information field includes the wavelength information.
22、 根据权利要求 19至 21中任一项所述的光线路终端, 其特征在于, 所述接收模块接收的所述波长信息还包括所述 ONU的下行波长调节能力信 息, 所述下行波长调节能力信息包括下列信息中的至少一种: 下行波长调节 间隔、 下行波长数、 可调滤波器的波长调节范围、 每个下行波长调节间隔的 调节时间和下行波长调节速度。  The optical line terminal according to any one of claims 19 to 21, wherein the wavelength information received by the receiving module further includes downlink wavelength adjustment capability information of the ONU, and the downlink wavelength adjustment The capability information includes at least one of the following information: a downlink wavelength adjustment interval, a downlink wavelength number, a wavelength adjustment range of the tunable filter, an adjustment time of each downlink wavelength adjustment interval, and a downlink wavelength adjustment speed.
23、 一种以太网无源光网络 EPON 系统中的光网络单元 ONU, 所述 23, an Ethernet passive optical network, an optical network unit ONU in the EPON system,
EPON系统还包括光线路终端 OLT, 所述 OLT与所述 ONU之间基于多个下 行波长和一个上行波长进行通信, 其特征在于, 所述 ONU包括: The EPON system further includes an optical line terminal OLT, and the OLT communicates with the ONU based on a plurality of downlink wavelengths and an uplink wavelength, wherein the ONU includes:
接收模块, 用于接收所述 OLT发送的开窗消息;  a receiving module, configured to receive a windowing message sent by the OLT;
发送模块, 用于根据所述接收模块接收的所述开窗消息, 向所述 OLT 发送用于请求注册的注册请求消息, 所述注册请求消息携带所述 ONU的波 长信息, 所述波长信息包括所述 ONU接收所述开窗消息所釆用的注册下行 波长;  a sending module, configured to send, according to the windowing message received by the receiving module, a registration request message for requesting registration to the OLT, where the registration request message carries wavelength information of the ONU, where the wavelength information includes The ONU receives the registered downlink wavelength used by the windowing message;
所述接收模块还用于: 接收所述 OLT根据所述发送模块发送的所述注 册请求消息而发送的注册消息,所述注册消息包括所述 OLT为所述 ONU分 配的逻辑链路标记 LLID;  The receiving module is further configured to: receive a registration message that is sent by the OLT according to the registration request message sent by the sending module, where the registration message includes a logical link identifier LLID allocated by the OLT to the ONU;
所述发送模块还用于: 根据所述接收模块接收的所述注册消息向所述 OLT发送用于确认完成注册的注册确认消息。  The sending module is further configured to: send, according to the registration message received by the receiving module, a registration confirmation message for confirming completion of registration to the OLT.
24、 根据权利要求 23所述的光网络单元, 其特征在于, 所述接收模块 接收的所述注册消息还包括波长确认信息, 所述波长确认信息用于指示所述 OLT确认所述波长信息。  The optical network unit according to claim 23, wherein the registration message received by the receiving module further includes wavelength confirmation information, and the wavelength confirmation information is used to instruct the OLT to confirm the wavelength information.
25、 根据权利要求 23或 24所述的光网络单元, 其特征在于, 所述发送 模块发送的所述注册请求消息的发现信息域包括所述波长信息; 或所述发送 模块发送的所述注册请求消息包括波长信息域, 所述波长信息域包括所述波 长信息。 The optical network unit according to claim 23 or 24, wherein the transmitting The discovery information field of the registration request message sent by the module includes the wavelength information; or the registration request message sent by the sending module includes a wavelength information field, where the wavelength information field includes the wavelength information.
26、 根据权利要求 23至 25中任一项所述的光网络单元, 其特征在于, 所述发送模块发送的所述波长信息还包括所述 ONU的下行波长调节能力信 息, 所述下行波长调节能力信息包括下列信息中的至少一种: 下行波长调节 间隔、 下行波长数、 可调滤波器的波长调节范围、 每个下行波长调节间隔的 调节时间和下行波长调节速度。  The optical network unit according to any one of claims 23 to 25, wherein the wavelength information sent by the sending module further includes downlink wavelength adjustment capability information of the ONU, and the downlink wavelength adjustment The capability information includes at least one of the following information: a downlink wavelength adjustment interval, a downlink wavelength number, a wavelength adjustment range of the tunable filter, an adjustment time of each downlink wavelength adjustment interval, and a downlink wavelength adjustment speed.
27、一种以太网无源光网络 EPON系统中的光线路终端 OLT,所述 EPON 系统包括光线路终端 OLT和光网络单元 ONU, 所述 OLT与所述 ONU之间 基于多个下行波长和一个上行波长进行通信, 其特征在于, 所述 OLT包括: 请求消息,所述波长切换请求消息用于指示所述 ONU切换至目标下行波长, 并且所述波长切换请求消息包括用于指示所述目标下行波长的目标波长信 息, 以及用于指示下行波长切换的起止时间的切换时间信息;  An optical line terminal OLT in an EPON system of an Ethernet passive optical network, the EPON system comprising an optical line terminal OLT and an optical network unit ONU, wherein the OLT and the ONU are based on multiple downlink wavelengths and one uplink The wavelength communication is performed, and the OLT includes: a request message, the wavelength switching request message is used to indicate that the ONU switches to a target downlink wavelength, and the wavelength switching request message includes Target wavelength information, and switching time information for indicating start and end times of downlink wavelength switching;
接收模块, 用于在所述上行波长通道上, 接收所述 ONU根据所述发送 模块发送的所述波长切换请求消息而发送的波长切换确认消息, 所述波长切 换确认消息用于指示所述 ONU确定执行所述下行波长切换;  a receiving module, configured to receive, on the uplink wavelength channel, a wavelength switch confirmation message sent by the ONU according to the wavelength switching request message sent by the sending module, where the wavelength switching confirmation message is used to indicate the ONU Determining to perform the downlink wavelength switching;
其中, 所述发送模块还用于: 在所述起止时间内, 在与所述目标下行波 长相应的目标下行波长通道上向所述 ONU发送波长切换 4吏权消息, 所述波 长切换授权消息用于对所述 ONU进行授权;  The sending module is further configured to: send, in the start and end time, a wavelength switching 4 吏 right message to the ONU on a target downlink wavelength channel corresponding to the target downlink wavelength, where the wavelength switching authorization message is used. Authorizing the ONU;
所述接收模块还用于: 当所述 ONU在所述起止时间内成功切换到所述 目标下行波长时, 在所述上行波长通道上接收所述 ONU根据所述发送模块 发送的所述波长切换 4吏权消息而发送的波长切换完成消息, 所述波长切换完 成消息用于指示所述 ONU 在所述起止时间内成功切换到所述目标下行波 长。  The receiving module is further configured to: when the ONU successfully switches to the target downlink wavelength in the start and stop time, receive, on the uplink wavelength channel, the wavelength switch that is sent by the ONU according to the sending module. The wavelength switch completion message sent by the message is used to indicate that the ONU successfully switches to the target downlink wavelength within the start and end time.
28、 根据权利要求 27所述的光线路终端, 其特征在于, 所述发送模块 还用于: 在所述目标下行波长通道上, 根据所述波长切换完成消息向所述 ONU发送波长切换成功消息, 所述波长切换成功消息用于指示光线路终端 OLT确认所述 ONU下行波长切换成功。  The optical line terminal according to claim 27, wherein the sending module is further configured to: send, on the target downlink wavelength channel, a wavelength switching success message to the ONU according to the wavelength switching complete message The wavelength switching success message is used to indicate that the optical line terminal OLT confirms that the ONU downlink wavelength switching is successful.
29、 根据权利要求 27所述的光线路终端, 其特征在于, 所述发送模块 还用于: 当在所述起止时间内没有接收到所述 ONU发送的所述波长切换完 成消息时, 仅在所述源下行波长通道上向所述 ONU发送所述波长切换授权 消息; The optical line terminal according to claim 27, wherein the transmitting module And the method further: when the wavelength switching completion message sent by the ONU is not received, the wavelength switching authorization message is sent to the ONU only on the source downlink wavelength channel;
所述接收模块还用于: 在所述上行波长通道上, 接收所述 ONU根据所 述波长切换 4吏权消息发送的波长切换未完成消息, 所述波长切换未完成消息 用于指示所述 ONU在所述起止时间内未成功切换到所述目标下行波长。  The receiving module is further configured to: receive, on the uplink wavelength channel, a wavelength switching incomplete message sent by the ONU according to the wavelength switching message, where the wavelength switching incomplete message is used to indicate the ONU The target downstream wavelength is not successfully switched during the start and end time.
30、 根据权利要求 29所述的光线路终端, 其特征在于, 所述发送模块 还用于: 在所述源下行波长通道上, 根据所述波长切换未完成消息向所述 ONU发送波长切换未成功消息, 所述波长切换未成功消息用于指示 OLT确 认所述 ONU下行波长切换未成功。  The optical line terminal according to claim 29, wherein the sending module is further configured to: send, on the source downlink wavelength channel, a wavelength switch to the ONU according to the wavelength switching incomplete message The success message, the wavelength switching unsuccessful message is used to instruct the OLT to confirm that the ONU downlink wavelength switching is unsuccessful.
31、 根据权利要求 27至 30中任一项所述的光线路终端, 其特征在于, 所述波长切换请求消息、 所述波长切换确认消息、 所述波长切换授权消息和 所述波长切换完成消息中的至少一种消息为多点控制协议 MPCP 消息或运 营管理维护 OAM消息。  The optical line terminal according to any one of claims 27 to 30, wherein the wavelength switching request message, the wavelength switching acknowledgement message, the wavelength switching grant message, and the wavelength switching complete message At least one of the messages is a Multipoint Control Protocol MPCP message or an Operation Management Maintenance OAM message.
32、 一种以太网无源光网络 EPON 系统中的光网络单元 ONU, 所述 32. An Ethernet passive optical network, an optical network unit ONU in the EPON system,
EPON系统包括光线路终端 OLT和光网络单元 ONU,所述 OLT与所述 ONU 之间基于多个下行波长和一个上行波长进行通信, 其特征在于, 所述 ONU 包括: The EPON system includes an optical line terminal OLT and an optical network unit ONU, and the OLT communicates with the ONU based on a plurality of downlink wavelengths and an uplink wavelength, wherein the ONU includes:
接收模块, 用于在源下行波长通道上接收光线路终端 OLT发送的波长 切换请求消息, 所述波长切换请求消息用于指示光网络单元 ONU切换至目 标下行波长, 并且所述波长切换请求消息包括用于指示所述目标下行波长的 目标波长信息, 以及用于指示下行波长切换的起止时间的切换时间信息; 发送模块, 用于在所述上行波长通道上, 根据所述接收模块接收的所述 波长切换请求消息向所述 OLT发送波长切换确认消息, 所述波长切换确认 消息用于指示所述 ONU确定执行所述下行波长切换;  a receiving module, configured to receive a wavelength switching request message sent by the optical line terminal OLT on the source downlink wavelength channel, where the wavelength switching request message is used to indicate that the optical network unit ONU switches to the target downlink wavelength, and the wavelength switching request message includes a target wavelength information for indicating the target downlink wavelength, and switching time information for indicating a start and end time of the downlink wavelength switching; a sending module, configured to receive, according to the receiving module, the uplink wavelength channel The wavelength switch request message is sent to the OLT, and the wavelength switch confirmation message is used to instruct the ONU to determine to perform the downlink wavelength switch.
其中, 所述接收模块还用于: 当所述 ONU在所述起止时间内成功切换 到所述目标下行波长时, 接收所述 OLT在与所述目标下行波长相应的目标 下行波长通道上发送的波长切换 4吏权消息, 所述波长切换 4吏权消息用于对所 述 ONU进行 4受权;  The receiving module is further configured to: when the ONU successfully switches to the target downlink wavelength in the start and end time, receive the OLT to send on a target downlink wavelength channel corresponding to the target downlink wavelength. The wavelength switching is performed, and the wavelength switching message is used to perform 4 authorization on the ONU.
所述发送模块还用于: 在所述上行波长通道上, 根据所述接收模块接收 的所述波长切换 4吏权消息向所述 OLT发送波长切换完成消息, 所述波长切 换完成消息用于指示所述 ONU在所述起止时间内成功切换到所述目标下行 波长。 The sending module is further configured to: send, on the uplink wavelength channel, a wavelength switching complete message to the OLT according to the wavelength switching message received by the receiving module, where the wavelength is cut The change completion message is used to indicate that the ONU successfully switches to the target downlink wavelength within the start and end time.
33、 根据权利要求 32所述的光网络单元, 其特征在于, 所述接收模块 还用于: 在所述目标下行波长通道上, 接收所述 OLT根据所述波长切换完 成消息发送的波长切换成功消息,所述波长切换成功消息用于指示所述 OLT 确认所述 ONU下行波长切换成功。  The optical network unit according to claim 32, wherein the receiving module is further configured to: receive, on the target downlink wavelength channel, a wavelength switch successfully sent by the OLT according to the wavelength switching completion message The message, the wavelength switching success message is used to indicate that the OLT confirms that the ONU downlink wavelength switching is successful.
34、 根据权利要求 32所述的光网络单元, 其特征在于, 所述接收模块 还用于: 当所述 ONU在所述起止时间内未成功切换到所述目标下行波长时, 在所述起止时间超时后, 接收所述 OLT仅在所述源下行波长通道上发送的 所述波长切换授权消息;  The optical network unit according to claim 32, wherein the receiving module is further configured to: when the ONU fails to successfully switch to the target downlink wavelength during the start and end time, at the starting and ending After the timeout expires, receiving the wavelength switching authorization message sent by the OLT only on the source downlink wavelength channel;
所述发送模块还用于: 在所述上行波长通道上, 根据所述波长切换授权 消息向所述 OLT发送波长切换未完成消息, 所述波长切换未完成消息用于 指示所述 ONU在所述起止时间内未成功切换到所述目标下行波长。  The sending module is further configured to: send, on the uplink wavelength channel, a wavelength switch incomplete message to the OLT according to the wavelength switching authorization message, where the wavelength switch incomplete message is used to indicate that the ONU is in the The target downstream wavelength was not successfully switched during the start and end time.
35、 根据权利要求 34所述的光网络单元, 其特征在于, 所述接收模块 还用于: 在所述源下行波长通道上, 接收所述 OLT根据所述波长切换未完 成消息发送的波长切换未成功消息, 所述波长切换未成功消息用于指示所述 OLT确认所述 ONU下行波长切换未成功。  The optical network unit according to claim 34, wherein the receiving module is further configured to: receive, on the source downlink wavelength channel, a wavelength switch that is sent by the OLT according to the wavelength switching incomplete message The unsuccessful message is used to indicate that the OLT confirms that the ONU downlink wavelength switching is unsuccessful.
36、 根据权利要求 32至 35中任一项所述的光网络单元, 其特征在于, 所述波长切换请求消息、 所述波长切换确认消息、 所述波长切换授权消息和 所述波长切换完成消息中的至少一种消息为多点控制协议 MPCP 消息或运 营管理维护 OAM消息。  The optical network unit according to any one of claims 32 to 35, wherein the wavelength switching request message, the wavelength switching acknowledgement message, the wavelength switching grant message, and the wavelength switching complete message At least one of the messages is a Multipoint Control Protocol MPCP message or an Operation Management Maintenance OAM message.
PCT/CN2014/083210 2014-07-29 2014-07-29 Method and apparatus for device registration and wavelength switching in ethernet passive optical network system WO2016015216A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201480008121.9A CN105830369B (en) 2014-07-29 2014-07-29 Ethernet passive optical network devices in system is registered and the method and apparatus of wavelength switching
PCT/CN2014/083210 WO2016015216A1 (en) 2014-07-29 2014-07-29 Method and apparatus for device registration and wavelength switching in ethernet passive optical network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/083210 WO2016015216A1 (en) 2014-07-29 2014-07-29 Method and apparatus for device registration and wavelength switching in ethernet passive optical network system

Publications (1)

Publication Number Publication Date
WO2016015216A1 true WO2016015216A1 (en) 2016-02-04

Family

ID=55216583

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/083210 WO2016015216A1 (en) 2014-07-29 2014-07-29 Method and apparatus for device registration and wavelength switching in ethernet passive optical network system

Country Status (2)

Country Link
CN (1) CN105830369B (en)
WO (1) WO2016015216A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108234059A (en) * 2016-12-14 2018-06-29 中国电信股份有限公司 It is used to implement method, ONU, OLT and the system of ONU registrations
CN109803185A (en) * 2017-11-15 2019-05-24 中兴通讯股份有限公司 A kind of matching process, device and the storage medium of ONU and OLT
TWI693802B (en) * 2018-01-26 2020-05-11 大陸商華為技術有限公司 Pon system, olt, onu and information transmission method in pon system

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BR112019010491B1 (en) 2016-11-23 2023-12-26 Huawei Technologies Co., Ltd PASSIVE OPTICAL NETWORK SYSTEM, OPTICAL LINE TERMINAL AND OPTICAL NETWORK UNIT
US10644825B2 (en) 2018-09-10 2020-05-05 Zte Corporation Optical network unit registration method for wavelength-selected wavelength division multiplexing passive optical network
CN110944249B (en) * 2018-09-25 2022-10-11 中兴通讯股份有限公司 Optical network communication method, OLT, ONU and optical network system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101742365A (en) * 2008-11-12 2010-06-16 华为技术有限公司 Passive optical network (PON) wavelength assignment method, device and system
CN101827289A (en) * 2010-05-24 2010-09-08 烽火通信科技股份有限公司 Method for acquiring wavelength values by remote equipment in wavelength division multiplex-Ethernet passive optical network (WDM-EPON) passive optical network system
CN103391486A (en) * 2012-05-09 2013-11-13 中兴通讯股份有限公司 Method for wave length adjustment, optical line terminal and optical network unit
CN103841473A (en) * 2012-11-23 2014-06-04 中兴通讯股份有限公司 Method, system and device for registration and activation of optical network unit

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013153237A (en) * 2010-03-30 2013-08-08 Nec Corp Wavelength division multiplexing passive optical network system
US9667377B2 (en) * 2011-04-08 2017-05-30 Futurewei Technologies, Inc. Wavelength indication in multiple-wavelength passive optical networks
US9219566B2 (en) * 2011-04-08 2015-12-22 Futurewei Technologies, Inc. Wavelength management in multiple-wavelength passive optical networks
EP2731287A4 (en) * 2012-05-23 2014-12-31 Huawei Tech Co Ltd Method, system and device for switching wavelength of multi-wavelength passive optical network (pon)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101742365A (en) * 2008-11-12 2010-06-16 华为技术有限公司 Passive optical network (PON) wavelength assignment method, device and system
CN101827289A (en) * 2010-05-24 2010-09-08 烽火通信科技股份有限公司 Method for acquiring wavelength values by remote equipment in wavelength division multiplex-Ethernet passive optical network (WDM-EPON) passive optical network system
CN103391486A (en) * 2012-05-09 2013-11-13 中兴通讯股份有限公司 Method for wave length adjustment, optical line terminal and optical network unit
CN103841473A (en) * 2012-11-23 2014-06-04 中兴通讯股份有限公司 Method, system and device for registration and activation of optical network unit

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108234059A (en) * 2016-12-14 2018-06-29 中国电信股份有限公司 It is used to implement method, ONU, OLT and the system of ONU registrations
CN108234059B (en) * 2016-12-14 2019-12-31 中国电信股份有限公司 Method, ONU, OLT and system for realizing ONU registration
CN109803185A (en) * 2017-11-15 2019-05-24 中兴通讯股份有限公司 A kind of matching process, device and the storage medium of ONU and OLT
CN109803185B (en) * 2017-11-15 2022-01-07 中兴通讯股份有限公司 ONU and OLT matching method, device and storage medium
TWI693802B (en) * 2018-01-26 2020-05-11 大陸商華為技術有限公司 Pon system, olt, onu and information transmission method in pon system
US11368223B2 (en) 2018-01-26 2022-06-21 Huawei Technologies Co., Ltd. OLT, ONU, PON system, and message transmission method in PON system
US11646796B2 (en) 2018-01-26 2023-05-09 Huawei Technologies Co., Ltd. OLT, ONU, PON system, and information transmission method in PON system

Also Published As

Publication number Publication date
CN105830369A (en) 2016-08-03
CN105830369B (en) 2018-09-21

Similar Documents

Publication Publication Date Title
US10389472B2 (en) Optical line terminal communication method and device with data structure
WO2016015216A1 (en) Method and apparatus for device registration and wavelength switching in ethernet passive optical network system
WO2017097008A1 (en) Access method and apparatus for multiple optical network units, and storage medium
TW201145853A (en) Methods and apparatus for extending MAC control messages in EPON
JP6400111B2 (en) Optical line termination / optical network unit wavelength adjusting method and apparatus
WO2011127731A1 (en) Registration activation method and system for optical network unit
WO2021259216A1 (en) Authentication method, apparatus and device, and storage medium
WO2016023180A1 (en) Communication method, device, and system for passive optical network
JP2015088815A (en) Customer home side device, pon system and control method for customer premise side device
WO2012136102A1 (en) Method and system for controlling coaxial broadband access terminal
US7496295B2 (en) Optical-inclusive dWDM local area network
WO2014181174A1 (en) Method and apparatus for reconfiguring wavelength of optical network unit
CN108702213B (en) Method, device and system for switching modulation formats of passive optical network
JP4947729B2 (en) Station side equipment
JP5578023B2 (en) Station side device, home side device, optical communication system, and control method of optical communication system
WO2015188298A1 (en) Method and apparatus for wavelength initialization and device registration in passive optical network
WO2010119586A1 (en) Communication system, communication method, and communication device
WO2014036682A1 (en) Method, device, and system for preventing registration conflict
WO2017049429A1 (en) Information transmission method and apparatus, and passive optical network system
WO2015100534A1 (en) Ethernet passive optical network communication method, device and system
US9210029B2 (en) Logical link identifier registration method, device, and system
JP2016086222A (en) Network system, firmware update method, station-side termination device and subscriber-side termination device
WO2024061047A1 (en) Communication control method, olt, onu, and computer-readable medium
JP5591681B2 (en) Master station communication device, optical communication network system, and communication method
WO2012163039A1 (en) Communication protection method and device

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

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

Country of ref document: EP

Kind code of ref document: A1