WO2016015216A1 - 以太网无源光网络***中设备注册和波长切换的方法和装置 - Google Patents

以太网无源光网络***中设备注册和波长切换的方法和装置 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
English (en)
French (fr)
Inventor
叶志成
李胜平
林薇
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201480008121.9A priority Critical patent/CN105830369B/zh
Priority to PCT/CN2014/083210 priority patent/WO2016015216A1/zh
Publication of WO2016015216A1 publication Critical patent/WO2016015216A1/zh

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

本发明公开了一种以太网无源光网络***中设备注册和波长切换的方法和装置。该方法包括:向该ONU发送开窗消息;接收该ONU根据该开窗消息发送的用于请求注册的注册请求消息,该注册请求消息携带该ONU的波长信息,该波长信息包括该ONU接收该开窗消息所采用的注册下行波长;根据该注册请求消息向该ONU发送注册消息,该注册消息包括该OLT为该ONU分配的逻辑链路标记LLID;接收该ONU根据该注册消息发送的用于确认完成注册的注册确认消息。本发明实施例的方法和装置,能够在采用多个下行波长和一个上行波长进行通信的以太网无源光网络***中实现设备注册和波长切换,并能够简化流程,提高***的业务量。

Description

以太网无源光网络***中设备注册和波长切换的方法和装置 技术领域
本发明涉及光通信领域, 尤其涉及光通信领域中的以太网无源光网络系 统中设备注册和波长切换的方法和装置。 背景技术
随着光通信技术的迅速发展, 无源光网络( 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等。
对于每种类型的 PON***, 该 PON***都可以包括: 位于中心局的光 线路终端 ( Optical Line Terminal, 简称为 "OLT" )、 包括无源光器件的光分 配网络( Optical Distribution Network, 简称为 "ODN" )、 以及位于用户端的 光网络单元( Optical Network Unit, 简称为 "ONU" ) /光网络终端 ( Optical Network Terminal, 简称为 'ΌΝΤ" ), 其中, 可以用 ONU指代 ONU和 /或 ONT。
为了提高 PON ***的容量, 国际电信联盟远程通信标准化组 (ITU Telecommunication Standardization Sector,简称为 "ITU-T",其中, International Telecommunication Union简称为 "ITU" )提出了一种称为下一代以太网无源 光网络( Next Generation-EPON, 简称为 "NG-EPON" ) 的通信***, 该 NG-EPON ***可能釆用多个下行波长和一个上行波长进行通信的网络架 构。 但在该 NG-EPON***中, 没有现有的设备注册和波长切换的方法可以 适用该网络架构。
因此, 在下一代以太网无源光网络***中, 如何进行设备注册和波长切 换是当前亟待解决的问题。 发明内容
有鉴于此,本发明实施例提供了一种以太网无源光网络***中设备注册 和波长切换的方法和装置, 能够在釆用多个下行波长和一个上行波长进行通 信的以太网无源光网络***中进行设备注册和波长切换。
第一方面, 提供了一种以太网无源光网络 EPON ***中设备注册的方 法, 该 EPON***包括光线路终端 OLT和光网络单元 ONU, 该 OLT与该 ONU之间基于多个下行波长和一个上行波长进行通信, 其中, 该方法包括: 向该 ONU发送开窗消息; 接收该 ONU根据该开窗消息发送的用于请求注 册的注册请求消息, 该注册请求消息携带该 ONU的波长信息, 该波长信息 包括该 ONU接收该开窗消息所釆用的注册下行波长; 通过所述注册下行波 长向该 ONU发送注册消息, 该注册消息包括该 OLT为该 ONU分配的逻辑 链路标记 LLID;接收该 ONU根据该注册消息发送的用于确认完成注册的注 册确认消息。
结合第一方面, 在第一方面的第一种可能的实现方式中, 该注册消息还 包括波长确认信息, 该波长确认信息用于指示该 OLT确认该波长信息。
结合第一方面、 第一方面的第一种可能的实现方式, 在第一方面的第二 种可能的实现方式中, 该注册请求消息的发现信息域包括该波长信息; 或该 注册请求消息包括波长信息域, 该波长信息域包括该波长信息。
结合第一方面或第一方面的第一种或第二种可能的实现方式,在第一方 面的第三种可能的实现方式中, 该波长信息还包括该 ONU的下行波长调节 能力信息, 该下行波长调节能力信息包括下列信息中的至少一种: 下行波长 调节间隔、 下行波长数、 可调滤波器的波长调节范围、 每个下行波长调节间 隔的调节时间和下行波长调节速度。
第二方面, 提供了一种以太网无源光网络 EPON ***中设备注册的方 法, 该 EPON***包括光线路终端 OLT和光网络单元 ONU, 该 OLT与该 ONU之间基于多个下行波长和一个上行波长进行通信, 其中, 该方法包括: 接收该 OLT发送的开窗消息; 根据该开窗消息, 向该 OLT发送用于请求注 册的注册请求消息, 该注册请求消息携带该 ONU的波长信息, 该波长信息 包括该 ONU接收该开窗消息所釆用的注册下行波长;接收该 OLT根据该注 册请求消息发送的注册消息,该注册消息包括该 OLT为该 ONU分配的逻辑 链路标记 LLID; 根据该注册消息向该 OLT发送用于确认完成注册的注册确 认消息。
结合第二方面, 在第二方面的第一种可能的实现方式中, 该注册消息还 包括波长确认信息, 该波长确认信息用于指示该 OLT确认该波长信息。
结合第二方面、 第二方面的第一种可能的实现方式, 在第二方面的第二 种可能的实现方式中, 该注册请求消息的发现信息域包括该波长信息; 或该 注册请求消息包括波长信息域, 该波长信息域包括该波长信息。
结合第二方面或第二方面的第一种或第二种可能的实现方式,在第二方 面的第三种可能的实现方式中, 该波长信息还包括该 ONU的下行波长调节 能力信息, 该下行波长调节能力信息包括下列信息中的至少一种: 下行波长 调节间隔、 下行波长数、 可调滤波器的波长调节范围、 每个下行波长调节间 隔的调节时间和下行波长调节速度。
第三方面, 提供了一种以太网无源光网络 EPON ***中波长切换的方 法, 该 EPON***包括光线路终端 OLT和光网络单元 ONU, 该 OLT与该 ONU之间基于多个下行波长和一个上行波长进行通信, 其中, 该方法包括: 换请求消息用于指示该 ONU切换至目标下行波长, 并且该波长切换请求消 息包括用于指示该目标下行波长的目标波长信息, 以及用于指示下行波长切 换的起止时间的切换时间信息; 在所述上行波长通道上, 接收该 ONU根据 该波长切换请求消息发送的波长切换确认消息, 该波长切换确认消息用于指 示该 ONU确定执行该下行波长切换; 在该起止时间内, 在与该目标下行波 长相应的目标下行波长通道上向该 ONU发送波长切换 4吏权消息, 该波长切 换授权消息用于对该 ONU进行授权; 当该 ONU在该起止时间内成功切换 到该目标下行波长时, 在该上行波长通道上接收该 ONU根据该波长切换 4受 权消息发送的波长切换完成消息, 该波长切换完成消息用于指示该 ONU在 该起止时间内成功切换到该目标下行波长。
结合第三方面,在第三方面的第一种可能的实现方式中,该方法还包括: 在该目标下行波长通道上, 根据该波长切换完成消息向该 ONU发送波长切 换成功消息,该波长切换成功消息用于指示光线路终端 OLT确认该 ONU下 行波长切换成功。
结合第三方面,在第三方面的第二种可能的实现方式中,该方法还包括: 当在该起止时间内没有接收到该 ONU发送的该波长切换完成消息时, 仅在 该源下行波长通道上向该 ONU发送该波长切换授权消息; 在该上行波长通 道上, 接收该 ONU根据该波长切换授权消息发送的波长切换未完成消息, 该波长切换未完成消息用于指示该 ONU在该起止时间内未成功切换到该目 标下行波长。
结合第三方面的第二种可能的实现方式,在第三方面的第三种可能的实 现方式中, 该方法还包括: 在该源下行波长通道上, 根据该波长切换未完成 消息向该 ONU发送波长切换未成功消息, 该波长切换未成功消息用于指示 OLT确认该 ONU下行波长切换未成功。
结合第三方面或第三方面的第一种至第三种可能的实现方式中的任一 种可能的实现方式, 在第三方面的第四种可能的实现方式中, 该波长切换请 求消息、 该波长切换确认消息、 该波长切换 4吏权消息和该波长切换完成消息 中的至少一种消息为多点控制协议 MPCP消息或运营管理维护 OAM消息。
第四方面, 提供了一种以太网无源光网络 EPON ***中波长切换的方 法, 该 EPON***包括光线路终端 OLT和光网络单元 ONU, 该 OLT与该 ONU之间基于多个下行波长和一个上行波长进行通信, 其中, 该方法包括: 在源下行波长通道上接收光线路终端 OLT发送的波长切换请求消息, 该波 长切换请求消息用于指示光网络单元 ONU切换至目标下行波长, 并且该波 长切换请求消息包括用于指示该目标下行波长的目标波长信息, 以及用于指 示下行波长切换的起止时间的切换时间信息; 在所述上行波长通道上, 根据 该波长切换请求消息向该 OLT发送波长切换确认消息, 该波长切换确认消 息用于指示该 ONU确定执行该下行波长切换; 当该 ONU在该起止时间内 成功切换到该目标下行波长时, 接收该 OLT在与该目标下行波长相应的目 标下行波长通道上发送的波长切换 4吏权消息, 该波长切换 4吏权消息用于对该 ONU进行授权; 在该上行波长通道上, 根据该波长切换授权消息向该 OLT 发送波长切换完成消息, 该波长切换完成消息用于指示该 ONU在该起止时 间内成功切换到该目标下行波长。
结合第四方面,在第四方面的第一种可能的实现方式中,该方法还包括: 在该目标下行波长通道上, 接收该 OLT根据该波长切换完成消息发送的波 长切换成功消息,该波长切换成功消息用于指示该 OLT确认该 ONU下行波 长切换成功。
结合第四方面,在第四方面的第二种可能的实现方式中,该方法还包括: 当该 ONU在该起止时间内未成功切换到该目标下行波长时, 在该起止时间 超时后, 接收该 OLT仅在该源下行波长通道上发送的该波长切换授权消息; 在该上行波长通道上, 根据该波长切换 4吏权消息向该 OLT发送波长切换未 完成消息, 该波长切换未完成消息用于指示该 ONU在该起止时间内未成功 切换到该目标下行波长。
结合第四方面的第二种可能的实现方式,在第四方面的第三种可能的实 现方式中, 该方法还包括: 在该源下行波长通道上, 接收该 OLT根据该波 长切换未完成消息发送的波长切换未成功消息, 该波长切换未成功消息用于 指示该 OLT确认该 ONU下行波长切换未成功。
结合第四方面或第四方面的第一种至第三种可能的实现方式中的任一 种可能的实现方式, 在第四方面的第四种可能的实现方式中, 该波长切换请 求消息、 该波长切换确认消息、 该波长切换 4吏权消息和该波长切换完成消息 中的至少一种消息为多点控制协议 MPCP消息或运营管理维护 OAM消息。
第五方面, 提供了一种以太网无源光网络 EPON ***中的光线路终端 OLT, 该 EPON***包括光线路终端 OLT和光网络单元 ONU, 该 OLT与该 ONU之间基于多个下行波长和一个上行波长进行通信, 该 EPON***还包 括光网络单元 ONU, 该 OLT与该 ONU之间基于多个下行波长和一个上行 波长进行通信, 其中, 该 OLT包括: 发送模块, 用于向该 ONU发送开窗消 息; 接收模块, 用于接收该 ONU根据该发送模块发送的该开窗消息而发送 的用于请求注册的注册请求消息,该注册请求消息携带该 ONU的波长信息, 该波长信息包括该 ONU接收该开窗消息所釆用的注册下行波长; 其中, 该 发送模块还用于: 根据该接收模块接收的该注册请求消息, 向该 ONU发送 注册消息, 该注册消息包括该 OLT为该 ONU分配的逻辑链路标记 LLID; 该接收模块还用于: 接收该 ONU根据该发送模块发送的该注册消息发送的 用于确认完成注册的注册确认消息。
结合第五方面, 在第五方面的第一种可能的实现方式中, 该发送模块发 送的该注册消息还包括波长确认信息, 该波长确认信息用于指示该 OLT确 认该波长信息。
结合第五方面、 第五方面的第一种可能的实现方式, 在第五方面的第二 种可能的实现方式中, 该接收模块接收的该注册请求消息的发现信息域包括 该波长信息; 或该接收模块接收的该注册请求消息包括波长信息域, 该波长 信息域包括该波长信息。
结合第五方面或第五方面的第一种或第二种可能的实现方式中的任一 种可能的实现方式, 在第五方面的第三种可能的实现方式中, 该接收模块接 收的该波长信息还包括该 ONU的下行波长调节能力信息, 该下行波长调节 能力信息包括下列信息中的至少一种: 下行波长调节间隔、 下行波长数、 可 调滤波器的波长调节范围、每个下行波长调节间隔的调节时间和下行波长调 节速度。
第六方面, 提供了一种以太网无源光网络 EPON ***中的光网络单元 ONU, 该 EPON***包括光线路终端 OLT和光网络单元 ONU, 该 OLT与 该 ONU之间基于多个下行波长和一个上行波长进行通信, 该 EPON***还 包括光线路终端 OLT,该 OLT与该 ONU之间基于多个下行波长和一个上行 波长进行通信, 其中, 该 ONU包括: 接收模块, 用于接收该 OLT发送的开 窗消息; 发送模块, 用于根据该接收模块接收的该开窗消息, 向该 OLT发 送用于请求注册的注册请求消息,该注册请求消息携带该 ONU的波长信息, 该波长信息包括该 ONU接收该开窗消息所釆用的注册下行波长; 该接收模 块还用于: 接收该 OLT根据该发送模块发送的该注册请求消息而发送的注 册消息, 该注册消息包括该 OLT为该 ONU分配的逻辑链路标记 LLID; 该 发送模块还用于: 根据该接收模块接收的该注册消息向该 OLT发送用于确 认完成注册的注册确认消息。
结合第六方面, 在第六方面的第一种可能的实现方式中, 该接收模块接 收的该注册消息还包括波长确认信息, 该波长确认信息用于指示该 OLT确 认该波长信息。
结合第六方面、 第六方面的第一种可能的实现方式, 在第六方面的第二 种可能的实现方式中, 该发送模块发送的该注册请求消息的发现信息域包括 该波长信息; 或该发送模块发送的该注册请求消息包括波长信息域, 该波长 信息域包括该波长信息。
结合第六方面或第六方面的第一种或第二种可能的实现方式,在第六方 面的第三种可能的实现方式中,该发送模块发送的该波长信息还包括该 ONU 的下行波长调节能力信息,该下行波长调节能力信息包括下列信息中的至少 一种: 下行波长调节间隔、 下行波长数、 可调滤波器的波长调节范围、 每个 下行波长调节间隔的调节时间和下行波长调节速度。 第七方面, 提供了一种以太网无源光网络 EPON ***中的光线路终端 OLT, 该 EPON***包括光线路终端 OLT和光网络单元 ONU, 该 OLT与该 ONU之间基于多个下行波长和一个上行波长进行通信,其中,该 OLT包括: 消息, 该波长切换请求消息用于指示该 ONU切换至目标下行波长, 并且该 波长切换请求消息包括用于指示该目标下行波长的目标波长信息, 以及用于 指示下行波长切换的起止时间的切换时间信息; 接收模块, 用于在所述上行 波长通道上, 接收该 ONU根据该发送模块发送的该波长切换请求消息而发 送的波长切换确认消息, 该波长切换确认消息用于指示该 ONU确定执行该 下行波长切换; 其中, 该发送模块还用于: 在该起止时间内, 在与该目标下 行波长相应的目标下行波长通道上向该 ONU发送波长切换 4吏权消息, 该波 长切换授权消息用于对该 ONU进行授权; 该接收模块还用于: 当该 ONU 在该起止时间内成功切换到该目标下行波长时,在该上行波长通道上接收该 ONU根据该发送模块发送的该波长切换授权消息而发送的波长切换完成消 息, 该波长切换完成消息用于指示该 ONU在该起止时间内成功切换到该目 标下行波长。
结合第七方面, 在第七方面的第一种可能的实现方式中, 该发送模块还 用于: 在该目标下行波长通道上, 根据该波长切换完成消息向该 ONU发送 波长切换成功消息, 该波长切换成功消息用于指示光线路终端 OLT确认该 ONU下行波长切换成功。
结合第七方面, 在第七方面的第二种可能的实现方式中, 该发送模块还 用于: 当在该起止时间内没有接收到该 ONU发送的该波长切换完成消息时, 仅在该源下行波长通道上向该 ONU发送该波长切换授权消息; 该接收模块 还用于: 在该上行波长通道上, 接收该 ONU根据该波长切换授权消息发送 的波长切换未完成消息, 该波长切换未完成消息用于指示该 ONU在该起止 时间内未成功切换到该目标下行波长。
结合第七方面的第二种可能的实现方式,在第七方面的第三种可能的实 现方式中, 该发送模块还用于: 在该源下行波长通道上, 根据该波长切换未 完成消息向该 ONU发送波长切换未成功消息, 该波长切换未成功消息用于 指示 OLT确认该 ONU下行波长切换未成功。
结合第七方面或第七方面的第一种至第三种可能的实现方式中的任一 种可能的实现方式, 在第七方面的第四种可能的实现方式中, 该波长切换请 求消息、 该波长切换确认消息、 该波长切换 4吏权消息和该波长切换完成消息 中的至少一种消息为多点控制协议 MPCP消息或运营管理维护 OAM消息。
第八方面, 提供了一种以太网无源光网络 EPON ***中的光网络单元 ONU, 该 EPON***包括光线路终端 OLT和光网络单元 ONU, 该 OLT与 该 ONU之间基于多个下行波长和一个上行波长进行通信, 其中, 该 ONU 包括: 接收模块, 用于在源下行波长通道上接收光线路终端 OLT发送的波 长切换请求消息, 该波长切换请求消息用于指示光网络单元 ONU切换至目 标下行波长, 并且该波长切换请求消息包括用于指示该目标下行波长的目标 波长信息, 以及用于指示下行波长切换的起止时间的切换时间信息; 发送模 块, 用于在所述上行波长通道上, 根据该接收模块接收的该波长切换请求消 息向该 OLT发送波长切换确认消息, 该波长切换确认消息用于指示该 ONU 确定执行该下行波长切换; 其中, 该接收模块还用于: 当该 ONU在该起止 时间内成功切换到该目标下行波长时, 接收该 OLT在与该目标下行波长相 应的目标下行波长通道上发送的波长切换 4吏权消息, 该波长切换 4吏权消息用 于对该 ONU进行授权; 该发送模块还用于: 在该上行波长通道上, 根据该 接收模块接收的该波长切换授权消息向该 OLT发送波长切换完成消息, 该 波长切换完成消息用于指示该 ONU在该起止时间内成功切换到该目标下行 波长。
结合第八方面, 在第八方面的第一种可能的实现方式中, 该接收模块还 用于: 在该目标下行波长通道上, 接收该 OLT根据该波长切换完成消息发 送的波长切换成功消息, 该波长切换成功消息用于指示该 OLT确认该 ONU 下行波长切换成功。
结合第八方面, 在第八方面的第二种可能的实现方式中, 该接收模块还 用于: 当该 ONU在该起止时间内未成功切换到该目标下行波长时, 在该起 止时间超时后, 接收该 OLT仅在该源下行波长通道上发送的该波长切换授 权消息; 该发送模块还用于: 在该上行波长通道上, 根据该波长切换授权消 息向该 OLT发送波长切换未完成消息, 该波长切换未完成消息用于指示该 ONU在该起止时间内未成功切换到该目标下行波长。
结合第八方面的第二种可能的实现方式,在第八方面的第三种可能的实 现方式中, 该接收模块还用于: 在该源下行波长通道上, 接收该 OLT根据 该波长切换未完成消息发送的波长切换未成功消息, 该波长切换未成功消息 用于指示该 OLT确认该 ONU下行波长切换未成功。
结合第八方面或第八方面的第一种至第三种可能的实现方式中的任一 种可能的实现方式, 在第八方面的第四种可能的实现方式中, 该波长切换请 求消息、 该波长切换确认消息、 该波长切换 4吏权消息和该波长切换完成消息 中的至少一种消息为多点控制协议 MPCP消息或运营管理维护 OAM消息。
基于上述技术方案, 本发明实施例的以太网无源光网络***中设备注册 的方法和装置,通过在光网络单元向光线路终端发送的注册请求消息中指示 注册下行波长, 使得该光线路终端能够确定该光网络单元所釆用的下行波 长,从而在釆用多个下行波长和一个上行波长进行通信的以太网无源光网络 ***中能够实现设备注册, 由此该光网络单元和该光线路终端之间能够进行 数据通信; 另一方面, 本发明实施例的以太网无源光网络***中波长切换的 方法和装置,通过光线路终端向光网络单元指示目标波长信息以及切换时间 信息, 并在该光线路终端指示的下行波长切换起止时间内, 在与目标下行波 光网络单元能够在该切换起止时间内进行下行波长切换, 并能够避免光线路 终端在多个下行波长通道上对光网络单元进行同步授权, 由此能够简化下行 波长切换流程, 减少切换出错概率, 并能够提高***的业务容量。 附图说明
为了更清楚地说明本发明实施例的技术方案, 下面将对本发明实施例中 所需要使用的附图作简单地介绍, 显而易见地, 下面所描述的附图仅仅是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他的附图。
图 1是本发明实施例的一种应用场景的示意图;
图 2是本发明实施例提供的设备注册的方法的示意性流程图; 图 3A和 3B是本发明实施例提供的注册请求消息的示意性结构图; 图 4是本发明实施例提供的注册消息的示意性结构图;
图 5是本发明另一实施例提供的设备注册的方法的示意性流程图; 图 6是本发明再一实施例提供的设备注册的方法的示意性流程图; 图 7是本发明实施例提供的波长切换的方法的示意性流程图; 图 8A和 8B分别是本发明实施例提供的基于 MPCP协议的调节控制消 息和调节响应消息的示意性结构图;
图 9A和 9B分别是本发明实施例提供的基于 OAM协议的调节控制消息 和调节响应消息的示意性结构图;
图 10是本发明实施例提供的波长切换的方法的另一示意性流程图; 图 11是本发明实施例提供的波长切换的方法的再一示意性流程图; 图 12是本发明另一实施例提供的波长切换的方法的示意性流程图; 图 13是本发明另一实施例提供的波长切换的方法的另一示意性流程图; 图 14是本发明另一实施例提供的波长切换的方法的再一示意性流程图; 图 15是本发明再一实施例提供的波长切换的方法的示意性流程图; 图 16是本发明实施例提供的光线路终端的示意性框图;
图 17是本发明实施例提供的光网络单元的示意性框图;
图 18是本发明另一实施例提供的光线路终端的示意性框图;
图 19是本发明另一实施例提供的光网络单元的示意性框图;
图 20是本发明再一实施例提供的光线路终端的示意性框图;
图 21是本发明再一实施例提供的光网络单元的示意性框图;
图 22是本发明再一实施例提供的光线路终端的示意性框图;
图 23是本发明再一实施例提供的光网络单元的示意性框图。 具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例是本发明的一部分实施例, 而不 是全部实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创 造性劳动的前提下所获得的所有其他实施例, 都应属于本发明保护的范围。
图 1示出了本发明实施例提供的一种应用场景。 如图 1所示, 该 EPON ***可以包括 EPON OLT以及一个或多个 EPON ONU, 该 EPON OLT可以 通过分光器(Optical Splitter, 简称为 "OS" )与该一个或多个 EPON ONU 光纤连接, 其中, 该 EPON OLT与该 EPON ONU之间基于多个下行波长和 一个上行波长进行通信。
该 EPON OLT例如为 NG-EPON OLT,或者该 EPON OLT也可以为其它
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传输到
ONT/ONU的传输方向称为下行方向, 相应地, OLT向 ONT/ONU发送光信 号的通道也称为下行波长通道; 类似地, 数据或承载数据的光信号从 ONT/ONU传输到 OLT 的传输方向称为上行方向; 相应地, ONT/ONU 向 OLT发送光信号的通道也称为上行波长通道。
还应理解,本发明实施例仅以四波下行单波上行的 EPON***为例进行 说明,即以具有四个下行波长通道和一个上行波长通道的 EPON***为例进 行说明, 但本发明并不限于此, 根据本发明实施例的设备注册和波长切换的 方法及其装置,还可以应用于其它具有多个下行波长通道和一个上行波长通 道的 EPON***, 以及具有多个下行波长通道和多个上行波长通道的 EPON ***。 此外, 为了描述方便, 下文中将以 ONU代替 ONT和 /或 ONU进行说 明, 但本发明并不限于此。
图 2示出了本发明实施例提供的 EPON***中设备注册的方法 100的示 意性流程图, 该 EPON ***包括光线路终端 OLT和光网络单元 ONU, 该 OLT与该 ONU之间基于多个下行波长和一个上行波长进行通信,该方法 100 可以由 OLT执行, 例如, 该方法 100由 NG-EPON OLT执行。 如图 2所示, 该方法 100包括:
S 110, 向该 ONU发送开窗消息;
S120, 接收该 ONU根据该开窗消息发送的用于请求注册的注册请求消 息, 该注册请求消息携带该 ONU的波长信息, 该波长信息包括该 ONU接 收该开窗消息所釆用的注册下行波长;
S130, 通过该注册下行波长向该 ONU发送注册消息, 该注册消息包括 该 OLT 为该 ONU 分配的逻辑链路标记 ( Logical Link Identifier, 简称为 "LLID" );
S140, 接收该 ONU根据该注册消息发送的用于确认完成注册的注册确 认消息。
具体而言,在釆用多个下行波长和一个上行波长进行通道的 EPON*** 中,例如 OLT向 ONU广播发送开窗消息,以用于询问是否有新加入的 ONU 需要进行注册。 如果此时刚好有新加入的 ONU需要进行注册, 那么该 ONU 接收到 OLT广播发送的开窗消息时,就可以向 OLT广播发送注册请求消息, 该注册请求消息用于向 OLT请求注册, 并且该注册请求消息携带波长信息, 该波长信息能够指示该 ONU接收该开窗消息所釆用的注册下行波长。 OLT 接收到该 ONU发送的波长信息后,可以向该 ONU发送包括 LLID的注册消 息; 该 ONU接收到 OLT下发的注册消息后, 可以进行相应的注册处理, 并 可以向 OLT发送注册确认消息, 以用于向 OLT指示该 ONU完成注册, 从 而在该 EPON***中, 该 OLT与该 ONU之间能够进行数据通信。
因此, 本发明实施例的以太网无源光网络***中设备注册的方法, 通过 在光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得 该光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下 行波长和一个上行波长进行通信的以太网无源光网络***中能够实现设备 注册, 由此该光网络单元和该光线路终端之间能够进行数据通信。
具体而言, 在 S110中, OLT向 ONU发送开窗消息。 例如, OLT可以 通过广播的方式向 ONU发送开窗消息。 该开窗消息例如为基于多点控制协 议( Multi-Point Control Protocol, 简称为 "MPCP" )的 GATE消息, 该 GATE 消息用于对 ONU进行授权, 以使得接收到该 GATE消息的 ONU能够立即 或在指定时间内发送信息。
在本发明实施例中, 该 GATE消息可以包括源地址、 目的地址以及消息 内容, 该消息内容例如可以包括下列信息中的至少一种信息: 权(Grant ) 信息、 同步时间 (Sync Time )信息和发现信息(Discovery Information ), 但 本发明并不限于此。
在 S120中, OLT接收该 ONU根据该开窗消息发送的注册请求消息, 该注册请求消息携带的波长信息包括该 ONU接收该开窗消息所釆用的注册 下行波长。
在本发明实施例中, ONU 进行自校准后, 可以将接收波长调节至多个 下行波长中的一个, 即 ONU接收该开窗消息所釆用的注册下行波长, 并可 以将该注册下行波长上报给 OLT, 以进行设备注册。
在本发明实施例中, 可选地, 该波长信息还包括该 ONU的下行波长调 节能力信息, 该下行波长调节能力信息包括下列信息中的至少一种: 下行波 长调节间隔、 下行波长数、 可调滤波器的波长调节范围、 每个下行波长调节 间隔的调节时间和下行波长调节速度。
即在本发明实施例中, ONU 可以将其下行波长调节能力信息上报给 OLT, 以便于 OLT能够完全获知 ONU的相关信息以进行后续操作。 例如, OLT可以根据 ONU的下行波长调节能力信息, 确定下行波长切换的目标下 行波长等。
在本发明实施例中, 该注册请求消息例如为基于 MPCP 的 REGISTER_REQ消息, 该 REGISTER_REQ消息用于向 OLT请求注册, 并 且该 REGISTER_REQ 消息携带该波长信息。 在本发明实施例中, 该 REGISTER_REQ 消息可以包括源地址、 目的地址以及消息内容, 该消息内 容除了包括波长信息之外, 例如还可以包括下列信息中的至少一种信息: 等 待 4受权 ( Pending Grants )信息、 发现信息 ( Discovery Information )、 激光开 启时间 ( Laser On Time )信息和激光关闭时间 ( Laser Off Time )信息, 但本 发明并不限于此。
在本发明实施例中, 可以通过扩展 REGISTER_REQ消息的帧结构, 来 携带该波长信息。 可选地, 该注册请求消息的发现信息 ( Discovery Information )域( Field ) 包括该波长信息; 或该注册请求消息包括波长信息 ( Wavelength Information ) i或, 该波长信息 i或包括该波长信息。
下面将结合图 3A和 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 ) 消息。
其中, 该 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" )域。
其中, 该 Discovery Information域的各比特可以表示 1G上行能力信息、 10G 上行能力信息、 1G 注册尝试信息或 10G 注册尝试信息; 此外, 该 Discovery Information域的比特可以用于表示注册下行波长, 并且还可以用 于表示下列波长信息中的一种或多种: 下行波长调节间隔信息、 下行波长数 信息、 下行波长调节范围信息和下行波长每调节间隔的调节时间信息等。 即 在本发明实施例中,可以扩展 REGISTER_REQ消息的 Discovery Information 域, 使得该 Discovery Information域的保留比特位还可以用于指示该 ONU 的波长信息。
图 3B示出了本发明实施例提供的注册请求 REGISTER_REQ消息的另 一种帧结构,其中,操作码为 0004的注册请求 REGISTER_REQ消息还例如 可以包括 2 字节的波长信息 (Wavelength Information )域, 该 Wavelength 波长信息中的一种或多种: 下行波长调节间隔信息、 下行波长数信息、 下行 波长调节范围信息和下行波长每调节间隔的调节时间信息等。 即在本发明实 施例中, 可以在 REGISTER_REQ消息中新增加一个 Wavelength Information 域, 该 Wavelength Information域的比特位用于指示该 ONU的波长信息。
应理解, 本发明实施例仅以图 3A和图 3B所示的帧结构为例进行说明, 但本发明并不限于此,例如, ONU的波长信息还可以承载在 REGISTER_REQ 消息的其它域或其它预留字段中; 又例如, 波长信息域可以具有更多的字节 数等。
在 S130中, OLT根据该注册请求消息, 可以通过广播向该 ONU发送 注册消息, 该注册消息包括该 OLT为该 ONU分配的 LLID。
应理解, 在本发明实施例中, LLID是 EPON***分配给逻辑链路的一 种数字标识,每个逻辑链路都会被分配不同的 LLID。在 EPON***中, OLT 可以通过 LLID来辨别接收的帧是由哪个 ONU发送的, 同样地, OLT也可 以通过修改帧中的 LLID, 将该帧发送到相应的 ONU处。 由此, 可以建立 OLT与 ONU之间的对应关系, 并能够进行通信。
在本发明实施例中, 可选地, 该注册消息还包括波长确认信息, 该波长 确认信息用于指示该 OLT确认该波长信息。 具体而言, 例如, 该波长确认 信息可以包括注册下行波长确认信息, 以用于指示 OLT确认该注册下行波 长。 又例如, 该波长确认信息还可以包括下行波长调节能力确认信息, 该下 行波长调节能力确认信息包括对下列信息中的至少一种信息的确认: 下行波 长调节间隔、 下行波长数、 可调滤波器的波长调节范围、 每个下行波长调节 间隔的调节时间和下行波长调节速度。
具体而言, 在本发明实施例中, 该注册消息例如为基于 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 ), 但本发明并不限于此。
在本发明实施例中,可以通过扩展 REGISTER消息的帧结构,来携带该 波长确认信息。 下面将以图 4所示的帧结构为例, 详细描述包括波长确认信 息的注册 REGISTER消息。
如图 4 所示, 操作码为 0005 的消息为注册(REGISTER ) 消息, 该
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" )。
其中, 该 Echoed Wavelength Information域的各比特可以表示下行波长 确认信息、 下行波长调节间隔确认信息、 下行波长数确认信息、 下行波长调 节范围确认信息和下行波长每调节间隔的调节时间确认信息。
但应理解, 本发明实施例仅以图 4所示的帧结构为例进行说明, 但本发 明并不限于此, 例如, 该波长确认信息还可以承载在其它消息里, 或承载在 REGISTER消息的其它域或其它预留字段中。
在 S140中, OLT接收该 ONU根据该注册消息发送的注册确认消息, 该注册确认消息用于确认 ONU完成注册。
应理解, 在 ONU根据注册消息进行相关注册处理的时间内, OLT会定 时地或周期性地向 ONU发送 GATE消息, 等待 ONU完成相关注册处理。 ONU完成相关注册处理后, 可以向 OLT发送注册确认消息, 以确认完成注 册。
具体而言, 在本发明实施例中, 该注册确认消息例如为基于 MPCP 的 REGISTER_ACK消息, 该 REGISTER_ACK消息可以包括源地址、 目的地 址以及消息内容, 该消息内容例如还可以包括同步时间确认( Echo of Sync Time )信息和 /或 LLID确认( Echo of LLID )信息。
因此, 本发明实施例的以太网无源光网络***中设备注册的方法, 通过 在光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得 该光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下 行波长和一个上行波长进行通信的以太网无源光网络***中能够实现设备 注册, 由此该光网络单元和该光线路终端之间能够进行数据通信。
应理解, 本发明仅以图 1所示的应用场景为例进行说明, 但本发明并不 限于此, 例如, 本发明实施例提供的 EPON***中设备注册的方法, 还可以 应用于釆用多个下行波长和多个上行波长进行通信的 EPON***。
还应理解, 在本发明实施例中, ONU向 OLT发送的注册请求消息除了 可以携带 ONU的下行波长信息之外, 还可以包括 ONU的上行波长信息, 例如, 注册上行波长、 上行波长调节能力信息等, 该上行波长调节能力信息 例如包括下列信息中的至少一种: 上行波长调节间隔、 上行波长数、 上行波 长调节范围、 每个上行波长调节间隔的调节时间和上行波长调节速度。
还应理解, 在本发明实施例中, OLT向 ONU发送的注册消息还可以包 括 OLT对上行波长信息进行确认的信息, 例如, 注册上行波长确认信息、 上行波长调节能力确认信息等, 该上行波长调节能力确认信息例如包括对下 列信息中的至少一种的确认: 上行波长调节间隔、 上行波长数、 上行波长调 节范围、 每个上行波长调节间隔的调节时间和上行波长调节速度。
还应理解, 在本发明的各种实施例中, 上述各过程的序号的大小并不意 味着执行顺序的先后, 各过程的执行顺序应以其功能和内在逻辑确定, 而不 应对本发明实施例的实施过程构成任何限定。
因此, 本发明实施例的以太网无源光网络***中设备注册的方法, 通过 在光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得 该光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下 行波长和一个上行波长进行通信的以太网无源光网络***中能够实现设备 注册, 由此该光网络单元和该光线路终端之间能够进行数据通信; 此外, 根 据本发明实施例的该方法还能够减少设备注册过程中的出错概率, 以提供一 种更严谨、 更规范、 更高效的设备注册机制。
上文中结合图 2至图 4,从 OLT侧详细描述了根据本发明实施例的 EPON ***中设备注册的方法 100, 下面将结合图 5,从 ONU侧详细描述根据本发 明实施例的 EPON***中设备注册的方法 200。
如图 5所示,示出了根据本发明实施例的 EPON***中设备注册的方法 200, 该 EPON***包括光线路终端 OLT和光网络单元 ONU, 该 OLT与该 ONU之间基于多个下行波长和一个上行波长进行通信, 该方法 200可以由 ONU执行, 例如, 该方法 200可以由 NG-EPON ONU、 1G EPON ONU或 10G EPON ONU执行。
如图 5所示, 该方法 200包括:
S210, 接收该 OLT发送的开窗消息;
S220, 根据该开窗消息, 向该 OLT发送用于请求注册的注册请求消息, 该注册请求消息携带该 ONU的波长信息, 该波长信息包括该 ONU接收该 开窗消息所釆用的注册下行波长;
S230, 接收该 OLT根据该注册请求消息发送的注册消息, 该注册消息 包括该 OLT为该 ONU分配的逻辑链路标记 LLID;
S240, 根据该注册消息向该 OLT发送用于确认完成注册的注册确认消 息。
具体而言,在釆用多个下行波长和一个上行波长进行通道的 EPON*** 中, OLT例如通过广播向 ONU发送开窗消息, 以用于询问是否有新加入的 ONU需要进行注册。 如果新加入的该 ONU需要进行注册, 那么该 ONU接 收到 OLT广播发送的开窗消息时, 就可以根据该开窗消息向该 OLT广播发 送注册请求消息, 该注册请求消息用于向 OLT请求注册, 并且该注册请求 消息携带波长信息, 该波长信息能够指示该 ONU接收该开窗消息所釆用的 注册下行波长。 OLT接收到该 ONU发送的波长信息后, 可以向该 ONU发 送包括 LLID的注册消息; 该 ONU接收到 OLT下发的注册消息后, 可以进 行相应的注册处理, 并可以向 OLT发送注册确认消息, 以用于向 OLT指示 该 ONU完成注册, 从而在该 EPON***中, 该 OLT与该 ONU之间能够进 行数据通信。
因此, 本发明实施例的以太网无源光网络***中设备注册的方法, 通过 在光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得 该光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下 行波长和一个上行波长进行通信的以太网无源光网络***中能够实现设备 注册, 由此该光网络单元和该光线路终端之间能够进行数据通信。
在本发明实施例中, 可选地, 该注册消息还包括波长确认信息, 该波长 确认信息用于指示该 OLT确认该波长信息。
在本发明实施例中, 可选地, 该注册请求消息的发现信息域包括该波长 信息; 或该注册请求消息包括波长信息域, 该波长信息域包括该波长信息。
在本发明实施例中, 可选地, 该波长信息还包括该 ONU的下行波长调 节能力信息, 该下行波长调节能力信息包括下列信息中的至少一种: 下行波 长调节间隔、 下行波长数、 可调滤波器的波长调节范围、 每个下行波长调节 间隔的调节时间和下行波长调节速度。
在本发明实施例中, 可选地, 该波长信息还包括该 ONU的上行波长和 / 或上行波长调节能力信息,该上行波长调节能力信息包括下列信息中的至少 一种: 上行波长调节间隔、 上行波长数、 上行波长调节范围、 每个上行波长 调节间隔的调节时间和上行波长调节速度。
应理解,在本发明实施例中, 该开窗消息例如为基于 MPCP的 GATE消 息; 该注册请求消息例如为基于 MPCP的 REGISTER_REQ消息; 该注册消 息例如为基于 MPCP的 REGISTER消息;该注册确认消息例如为基于 MPCP 的 REGISTER_ACK消息。 上文中已结合图 2至图 4对上述消息进行了详细 的说明, 为了简洁, 在此不再赘述。 还应理解, 在本发明的各种实施例中, 上述各过程的序号的大小并不意 味着执行顺序的先后, 各过程的执行顺序应以其功能和内在逻辑确定, 而不 应对本发明实施例的实施过程构成任何限定。
因此, 本发明实施例的以太网无源光网络***中设备注册的方法, 通过 在光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得 该光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下 行波长和一个上行波长进行通信的以太网无源光网络***中能够实现设备 注册, 由此该光网络单元和该光线路终端之间能够进行数据通信。
下面将结合图 6, 对本发明实施例提供的 EPON***中设备注册的方法 进行详细描述。
如图 6所示, 在 S310中, OLT向 ONU广播发送 GATA消息, 以用于 询问是否有新加入的 ONU需要进行注册。 该 GATA消息例如可以包括: 源 地址(SA )、 目的地址(DA )、 授权(Grant )信息、 同步时间 (Sync Time ) 信息和发现信息 ( Discovery Information )。
在 S320 中, ONU 向 OLT 广播发送 REGISTER_REQ 消息, 该
REGISTER_REQ消息用于向 OLT请求注册, 并且该 REGISTER_REQ消息 携带波长信息。 该 REGISTER_REQ消息例如可以包括: 源地址(SA )、 目 的地址 (DA )、 等待授权(Pending Grants ) 信息、 发现信息 (Discovery Information )、激光开启时间( Laser On Time )信息、激光关闭时间( Laser Off Time )信息和波长信息 ( 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 )。
在 S340中, OLT向 ONU单播发送 GATA消息, 以对 ONU进行授权。 该 GATA消息例如可以包括: 源地址( SA )、 目的地址( DA )和授权( Grant )。
在 S350 中, ONU 向 OLT 单播发送 REGISTER_ACK 消息, 该 REGISTER_ACK 消息用 于向 OLT 指示 ONU 已完成注册。 该 REGISTER_ACK 消息例如可以包括: 源地址(SA )、 目的地址(DA )、 同 步时间确认 ( Echo of Sync Time )信息和 LLID确认(Echo of LLID )信息。 应理解, 在本发明的各种实施例中, 上述各过程的序号的大小并不意味 着执行顺序的先后, 各过程的执行顺序应以其功能和内在逻辑确定, 而不应 对本发明实施例的实施过程构成任何限定。
因此, 本发明实施例的以太网无源光网络***中设备注册的方法, 通过 在光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得 该光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下 行波长和一个上行波长进行通信的以太网无源光网络***中能够实现设备 注册, 由此该光网络单元和该光线路终端之间能够进行数据通信。
上文中结合图 2至图 6, 详细描述了本发明实施例提供的 EPON***中 设备注册的方法, 下面将结合图 7至图 15, 详细描述本发明实施例提供的 EPON***中波长切换的方法。
图 7示出了本发明实施例提供的 EPON***中波长切换的方法 500的示 意性流程图, 该方法 500可以由 OLT执行, 例如, 该方法 500由 NG-EPON OLT执行。 如图 7所示, 该方法 500包括: 该波长切换请求消息用于指示该 ONU切换至目标下行波长, 并且该波长切 换请求消息包括用于指示该目标下行波长的目标波长信息, 以及用于指示下 行波长切换的起止时间的切换时间信息;
S520, 在固定的上行波长通道上, 接收该 ONU根据该波长切换请求消 息发送的波长切换确认消息, 该波长切换确认消息用于指示该 ONU确定执 行该下行波长切换;
S530, 在该起止时间内, 仅在与该目标下行波长相应的目标下行波长通 道上向该 ONU发送波长切换 4吏权消息,该波长切换 4吏权消息用于对该 ONU 进行授权;
S540, 当该 ONU在该起止时间内成功切换到该目标下行波长时, 在该 上行波长通道上接收该 ONU根据该波长切换 4吏权消息发送的波长切换完成 消息, 该波长切换完成消息用于指示该 ONU在该起止时间内成功切换到该 目标下行波长。
因此, 本发明实施例的以太网无源光网络***中波长切换的方法, 通过 光线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线 路终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下 行波长通道上向光网络单元发送波长切换 权消息,使得该光网络单元能够 在该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行 波长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减少切换出错概率, 并能够提高***的业务量。
具体而言, 在 S510中, OLT在源下行波长通道上向 ONU发送波长切 换请求消息, 该波长切换请求消息用于指示该 ONU切换至目标下行波长, 并包括目标波长信息和切换时间信息。
在本发明实施例中, 该切换时间信息例如包括下行波长切换的起始时间 和截止时间; 又例如, 该切换时间信息包括下行波长切换的起始时间和切换 时长; 再例如, 该切换时间信息包括下行波长切换的切换时长和截止时间; 再例如, 该切换时间信息包括该起始时间、 该切换时长和该截止时间, 但本 发明并不限于此。
在本发明实施例中,可选地,该波长切换请求消息为多点控制协议 MPCP 消息或运营管理维护 OAM消息。 下面将结合图 8A和图 9A, 分别对上述波 长切换请求消息进行描述。
图 8A示出了本发明实施例提供的基于 MPCP协议的调节控制消息的示 意性结构图, 其中, 本发明实施例的波长切换请求消息可以釆用图 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" )域。
在本发明实施例中, 该 1个字节的标志( Flags )域例如可以包括四种状 态, 例如, 该 Flags为 "00" 时, 可以表示 OLT指示已注册的 ONU进行下 行波长切换; 又例如, 该 Flags为 "01" 时, 可以表示 OLT指示准备进行波 长切换的 ONU撤销下行波长切换; 再例如, 该 Flags为 "10" 时, 可以表 示 OLT确认该 ONU下行波长切换成功; 再例如, 该 Flags为 "11" 时, 可 以表示 OLT确认该 ONU下行波长切换未成功, 但本发明并不限于此。
即图 8A示出了基于 MPCP协议的波长切换请求消息,下面将描述图 9A 所示的基于 OAM协议的波长切换请求消息。
图 9A示出了本发明实施例提供的基于 OAM协议的调节控制消息的示 意性结构图, 其中, 本发明实施例的波长切换请求消息可以釆用图 9A所示 的调节控制消息的结构。
如图 9A所示, OAM消息例如可以包括 6个字节的目的地址( Destination
Address )域、 6个字节的源地址( Source Address )域、 2个字节的长度( Length ) /类型( Type )域、 2个字节的子类型( Subtype )域、 1个字节的标志( Flags ) 域、 2个字节的代码(Code )域、 2个字节的填充(Pad )域和 4个字节的帧 校验序歹1 J ( Frame Check Sequence )域。
在 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 ) 消息。
其中, 该调节控制( Tuning Control )消息的内容例如可以包括下列信息 中的至少一种信息: 标志信息、 目标波长信息、 开始时间信息、 超时信息和 4受权信息。 该标志 (Flags )信息例如可以包括四种状态, 例如, 该 Flags为 "00" 时, 可以表示 OLT指示已注册的 ONU进行下行波长切换; 又例如, 该 Flags为 "01" 时, 可以表示 OLT指示准备进行波长切换的 ONU撤销下 行波长切换; 再例如, 该 Flags为 "10" 时, 可以表示 OLT确认该 ONU下 行波长切换成功; 再例如, 该 Flags为 "11" 时, 可以表示 OLT确认该 ONU 下行波长切换未成功, 但本发明并不限于此。
因此, 在本发明实施例中, 该波长切换请求消息例如为基于 MPCP 或 OAM协议的 Flags为 "00" 调节控制 ( Tuning Control ) 消息。
在本发明实施例中, 该波长切换请求消息还可以包括用于指示消息类型 的标记和 /或下行波长调节能力信息,其中,该下行波长调节能力信息包括下 列信息中的至少一种: 下行波长调节间隔、 下行波长数、 可调滤波器的波长 调节范围、 每个下行波长调节间隔的调节时间和下行波长调节速度, 但本发 明并不限于此。
在 S520中, OLT在固定的一个上行波长通道上, 接收该 ONU发送的 波长切换确认消息, 该波长切换确认消息用于指示该 ONU确定执行该下行 波长切换。
在本发明实施例中,可选地,该波长切换确认消息为多点控制协议 MPCP 消息或运营管理维护 OAM消息。 下面将结合图 8B和图 9B, 分别对上述波 长切换确认消息进行描述。
如图 8B所示, 示出了本发明实施例提供的基于 MPCP协议的调节响应 消息的示意性结构图, 本发明实施例的波长切换确认消息可以釆用该图 8B 所示的调节响应消 , 的结构。
其中, 操作码为 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 )域。
在本发明实施例中, 该 1个字节的标志( Flags )域例如可以包括四种状 态, 例如, 该 Flags为 "00" 时, 可以表示 ONU确定执行下行波长切换; 又例如, 该 Flags为 "01" 时, 可以表示 ONU不能执行下行波长切换; 再 例如, 该 Flags为 "10" 时, 可以表示 ONU反馈下行波长切换成功; 再例 如, 该 Flags为 "11" 时, 可以表示 ONU反馈未完成下行波长切换, 并且回 滚到源下行波长通道, 但本发明并不限于此。
图 9B示出了本发明实施例提供的基于 OAM协议的调节响应消息的示 意性结构图, 其中, 本发明实施例的波长切换确认消息可以釆用图 9B所示 的调节响应消息的结构。
如图 9B所示, 代码为 "06" 的调节响应 ( Tuning Response ) 消息的内 容例如可以包括下列信息中的至少一种信息:标志信息、目标波长确认信息、 开始时间确认信息和超时确认信息。 其中, 该标志(Flags )信息例如可以包 括四种状态, 例如, 该 Flags为 "00" 时, 可以表示 ONU确定执行下行波 长切换; 又例如, 该 Flags为 "01" 时, 可以表示 ONU不能执行下行波长 切换; 再例如, 该 Flags为 "10" 时, 可以表示 ONU反馈下行波长切换成 功信息; 再例如, 该 Flags为 "11" 时, 可以表示 ONU反馈下行波长切换未 成功信息, 并且回滚到源下行波长通道, 但本发明并不限于此。
因此, 在本发明实施例中, 该波长切换确认消息例如为基于 MPCP 或 OAM协议的 Flags为 "00" 的调节响应 ( Tuning Response ) 消息。
在本发明实施例中, 该波长切换确认消息还可以包括下列信息中的至少 一种: 用于指示消息类型的标记、 下行波长调节能力确认信息和切换时间确 认信息, 其中, 该下行波长调节能力确认信息包括对下列信息中的至少一种 信息的确认: 下行波长调节间隔、下行波长数、可调滤波器的波长调节范围、 每个下行波长调节间隔的调节时间和下行波长调节速度,但本发明并不限于 此。
在 S530中, 在该起止时间内, OLT仅在与该目标下行波长相应的目标 下行波长通道上向该 ONU发送波长切换 4吏权消息。
应理解, 在本发明实施例中, 在该下行波长切换的起止时间内, OLT仅 仅在目标下行波长通道上进行授权, 而没有在多个或所有的下行波长通道上 进行同步授权, 从而能够提高切换效率, 减少切换出错概率, 并能够提高系 统的业务量。
还应理解, 在本发明实施例中, OLT在该起止时间内可以周期性地发送 波长切换授权消息。 如果在该起止时间内, OLT接收到 ONU发送的波长切 换完成消息, 则说明 ONU切换成功, 由此 OLT不必再向 ONU发送该波长 切换授权消息。
即在本发明实施例中, 可选地, 在该起止时间内并且仅在 OLT接收到
ONU发送的波长切换完成消息之前, OLT仅在该目标下行波长通道上向该 ONU发送波长切换授权消息。
在本发明实施例中, 该波长切换授权消息也可以为基于 MPCP或 OAM 协议的调节控制 ( Tuning Control ) 消息, 如图 8A和 9A所示, 为了简洁, 在此不再赘述。
在 S540中, 当该 ONU在该起止时间内成功切换到该目标下行波长时, OLT在该上行波长通道上接收该 ONU发送的波长切换完成消息, 以指示该 ONU在该起止时间内成功切换到该目标下行波长。
即在该起止时间内, 如果 ONU成功切换到目标下行波长, 则 ONU在 该起止时间内能够收到 OLT例如周期性发送的波长切换授权消息, 由此, ONU可以根据该波长切换授权消息, 在该固定的上行波长通道上向 OLT发 送波长切换完成消息。
在本发明实施例中, 该波长切换完成消息也可以为基于 MPCP或 OAM 协议的调节响应 ( Tuning Response ) 消息, 其中, 该 Tuning Response消息 的 Flags可以为 "10", 指示 ONU反馈下行波长切换成功, 如图 8B和 9B所 示, 为了简洁, 在此不再赘述。
因此, 本发明实施例的以太网无源光网络***中波长切换的方法, 通过 光线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线 路终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下 行波长通道上向光网络单元发送波长切换 权消息,使得该光网络单元能够 在该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行 波长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减少切换出错概率, 并能够提高***的业务量。
在本发明实施例中, 可选地, 如图 10所示, 该方法 500还包括:
S550, 在该目标下行波长通道上, 才艮据该波长切换完成消息向该 ONU 发送波长切换成功消息, 该波长切换成功消息用于指示光线路终端 OLT确 认该 ONU下行波长切换成功。
即在本发明实施例中,当 OLT接收到 ONU发送的波长切换完成消息时, OLT可以在该目标下行波长通道上, 向该 ONU发送波长切换成功消息, 以 用于指示该 OLT确认该 ONU下行波长切换成功。
在本发明实施例中, 该波长切换成功消息也可以为基于 MPCP或 OAM 协议的调节控制( Tuning Control )消息,其中,该 Tuning Control消息的 Flags 可以为 "10", 表示 OLT确认该 ONU下行波长切换成功, 如图 8A和 9A所 示, 为了简洁, 在此不再赘述。
上文中结合图 7至图 10,详细描述了 EPON***中 ONU的下行波长切 换成功的情况, 下面将结合图 11描述 ONU的下行波长切换未成功的情况。
如图 11所示, 可选地, 本发明实施例提供的 EPON***中波长切换的 方法 500还包括:
S560, 当在该起止时间内没有接收到该 ONU发送的该波长切换完成消 息时, 仅在该源下行波长通道上向该 ONU发送该波长切换 4吏权消息;
S570, 在该上行波长通道上, 接收该 ONU根据该波长切换授权消息发 送的波长切换未完成消息, 该波长切换未完成消息用于指示该 ONU在该起 止时间内未成功切换到该目标下行波长。
即在本发明实施例中, 当 OLT在该起止时间内没有接收到 ONU发送的 该波长切换完成消息时, OLT仅在源下行波长通道上向该 ONU发送波长切 换授权消息, 从而使得下行波长切换未成功的 ONU在源下行波长通道上能 够接收到信息, 由此 ONU可以根据该波长切换授权消息, 在该固定的上行 波长通道上向 OLT发送波长切换未完成消息, 以指示该 ONU在该起止时间 内未成功切换到该目标下行波长。
因而, 在本发明实施例中, 即使 ONU下行波长切换未成功, OLT也仅 仅在源下行波长通道上对 ONU进行授权, 使得 ONU能够回滚到源下行波 长通道, 由此能够简化下行波长切换流程, 减少切换出错概率, 并能够提高 ***的业务量。
在本发明实施例中, 该波长切换授权消息也可以为基于 MPCP或 OAM 协议的调节控制 ( Tuning Control ) 消息, 如图 8A和 9A所示, 为了简洁, 在此不再赘述。
在本发明实施例中, 该波长切换未完成消息也可以为基于 MPCP 或
OAM协议的调节响应 ( Tuning Response ) 消息, 其中, 该 Tuning Response 消息的 Flags可以为 "11", 指示 ONU反馈下行波长切换未成功信息, 如图 8B和 9B所示, 为了简洁, 在此不再赘述。
在本发明实施例中, 可选地, 如图 11所示, 该方法 500还包括: S580, 在该源下行波长通道上, 才艮据该波长切换未完成消息向该 ONU 发送波长切换未成功消息, 该波长切换未成功消息用于指示 OLT 确认该 ONU下行波长切换未成功。
即在本发明实施例中, 当 OLT接收到 ONU发送的波长切换未完成消息 时, OLT可以在该源下行波长通道上, 向该 ONU发送波长切换未成功消息, 以用于指示该 OLT确认该 ONU下行波长切换未成功。
在本发明实施例中, 该波长切换未成功消息也可以为基于 MPCP 或 OAM协议的调节控制 (Tuning Control ) 消息, 其中, 该 Tuning Control消 息的 Flags可以为 "11", 表示 OLT确认该 ONU下行波长切换未成功, 如图 8A和 9A所示, 为了简洁, 在此不再赘述。
应理解, 本发明实施例仅以具有多个下行波长通道和一个上行波长通道 的 EPON***为例进行说明, 但本发明并不限于此, 本发明实施例提供的波 长切换的方法还可以应用于具有多个下行波长通道和多个上行波长通道的 EPON***。
还应理解, 在本发明的各种实施例中, 上述各过程的序号的大小并不意 味着执行顺序的先后, 各过程的执行顺序应以其功能和内在逻辑确定, 而不 应对本发明实施例的实施过程构成任何限定。
因此, 本发明实施例的以太网无源光网络***中波长切换的方法, 通过 光线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线 路终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下 行波长通道上向光网络单元发送波长切换 权消息,使得该光网络单元能够 在该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行 波长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减少切换出错概率, 并能够提高***的业务量。
上文中结合图 7 至图 11, 从 OLT侧详细描述了根据本发明实施例的 EPON***中波长切换的方法 500, 下面将结合图 12至图 14, 从 ONU侧详 细描述根据本发明实施例的 EPON***中波长切换的方法 600。
如图 12所示, 本发明实施例提供的 EPON***中波长切换的方法 600 包括:
S610, 在源下行波长通道上接收光线路终端 OLT发送的波长切换请求 消息,该波长切换请求消息用于指示光网络单元 ONU切换至目标下行波长, 并且该波长切换请求消息包括用于指示该目标下行波长的目标波长信息, 以 及用于指示下行波长切换的起止时间的切换时间信息;
S620, 在固定的上行波长通道上, 根据该波长切换请求消息向该 OLT 发送波长切换确认消息, 该波长切换确认消息用于指示该 ONU确定执行该 下行波长切换;
S630, 当该 ONU在该起止时间内成功切换到该目标下行波长时, 接收 授权消息, 该波长切换授权消息用于对该 ONU进行授权;
S640, 在该上行波长通道上, 根据该波长切换授权消息向该 OLT发送 波长切换完成消息, 该波长切换完成消息用于指示该 ONU在该起止时间内 成功切换到该目标下行波长。
因此, 本发明实施例的以太网无源光网络***中波长切换的方法, 通过 光线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线 路终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下 行波长通道上向光网络单元发送波长切换 权消息,使得该光网络单元能够 在该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行 波长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减少切换出错概率, 并能够提高***的业务量。
在本发明实施例中, 可选地, 该方法 600还包括:
S650, 在该目标下行波长通道上, 接收该 OLT根据该波长切换完成消 息发送的波长切换成功消息, 该波长切换成功消息用于指示该 OLT确认该 ONU下行波长切换成功。 在本发明实施例中, 可选地, 该方法 600还包括:
S660, 当该 ONU在该起止时间内未成功切换到该目标下行波长时, 在 该起止时间超时后, 接收该 OLT仅在该源下行波长通道上发送的该波长切 换授权消息;
S670, 在该上行波长通道上, 根据该波长切换授权消息向该 OLT发送 波长切换未完成消息, 该波长切换未完成消息用于指示该 ONU在该起止时 间内未成功切换到该目标下行波长。
在本发明实施例中, 可选地, 该方法 600还包括:
S680, 在该源下行波长通道上, 接收该 OLT根据该波长切换未完成消 息发送的波长切换未成功消息, 该波长切换未成功消息用于指示该 OLT确 认该 ONU下行波长切换未成功。
在本发明实施例中, 可选地, 该波长切换请求消息、 该波长切换确认消 息、该波长切换授权消息和该波长切换完成消息中的至少一种消息为多点控 制协议 MPCP消息或运营管理维护 OAM消息。
在本发明实施例中, 该波长切换请求消息例如为基于 MPCP或 OAM协 议的调节控制( Tuning Control )消息, 其中, 该 Tuning Control消息的 Flags 可以为 "00", 表示 OLT指示已注册的 ONU进行下行波长切换, 如图 8A和 9A所示, 为了简洁, 在此不再赘述。
在本发明实施例中, 该波长切换确认消息例如为基于 MPCP或 OAM协 议的调节响应 (Tuning Response ) 消息, 其中, 该 Tuning Response消息的 Flags可以为 "00",表示 ONU确定执行下行波长切换,如图 8B和 9B所示, 为了简洁, 在此不再赘述。
在本发明实施例中, 该波长切换授权消息也可以为基于 MPCP或 OAM 协议的调节控制 ( Tuning Control ) 消息, 如图 8A和 9A所示, 为了简洁, 在此不再赘述。
在本发明实施例中, 该波长切换完成消息也可以为基于 MPCP或 OAM 协议的调节响应 ( Tuning Response ) 消息, 其中, 该 Tuning Response消息 的 Flags可以为 "10", 指示 ONU反馈下行波长切换成功, 如图 8B和 98所 示, 为了简洁, 在此不再赘述。
该波长切换成功消息也可以为基于 MPCP 或 OAM 协议的调节控制
( Tuning Control )消息, 其中, 该 Tuning Control消息的 Flags可以为 "10", 表示 OLT确认该 ONU下行波长切换成功, 如图 8A和 9A所示, 为了简洁, 在此不再赘述。
该波长切换未完成消息也可以为基于 MPCP或 OAM协议的调节响应 ( Tuning Response )消息,其中,该 Tuning Response消息的 Flags可以为 " 11", 指示 ONU反馈下行波长切换未成功信息, 如图 8B和 9B所示, 为了简洁, 在此不再赘述。
该波长切换未成功消息也可以为基于 MPCP或 OAM协议的调节控制 ( Tuning Control )消息, 其中, 该 Tuning Control消息的 Flags可以为 "11", 表示 OLT确认该 ONU下行波长切换未成功, 如图 8A和 9A所示, 为了简 洁, 在此不再赘述。
应理解, 本发明实施例仅以具有多个下行波长通道和一个上行波长通道 的 EPON***为例进行说明, 但本发明并不限于此, 本发明实施例提供的波 长切换的方法还可以应用于具有多个下行波长通道和多个上行波长通道的 EPON***。
还应理解, 在本发明的各种实施例中, 上述各过程的序号的大小并不意 味着执行顺序的先后, 各过程的执行顺序应以其功能和内在逻辑确定, 而不 应对本发明实施例的实施过程构成任何限定。
因此, 本发明实施例的以太网无源光网络***中波长切换的方法, 通过 光线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线 路终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下 行波长通道上向光网络单元发送波长切换 权消息,使得该光网络单元能够 在该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行 波长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减少切换出错概率, 并能够提高***的业务量。
下面将结合图 15所示的流程图, 对本发明实施例提供的 EPON***中 波长切换的方法进行详细描述。
如图 15所示, 在 S711 中, OLT的发送端口 1在源下行波长通道上向 ONU发送波长切换请求消息,该波长切换请求消息用于指示该 ONU切换至 目标下行波长, 并且该波长切换请求消息包括目标波长信息和切换时间信 息。
在 S712中, ONU在固定的上行波长通道上, 向 OLT发送波长切换确 认消息, 以用于指示该 ONU确定执行该下行波长切换。
在 S713中, OLT的发送端口 2在该起止时间内, 仅在目标下行波长通 道上向 ONU发送波长切换 4吏权消息, 以对该 ONU进行 4受权。
在该起止时间内, 如果 ONU成功切换到该目标下行波长, 则流程进行 到 S731至 S734; 如果 ONU没有成功切换到该目标下行波长, 则流程进行 到 S751至 S753。
在 S731中, ONU在该起止时间内, 并且在目标下行波长通道上接收到 OLT发送的波长切换授权消息。
在 S732中, ONU在固定的上行波长通道上, 向 OLT发送波长切换完 成消息, 以用于指示该 ONU在该起止时间内成功切换到该目标下行波长。
在 S733中, OLT的发送端口 2在该目标下行波长通道上, 向 ONU发 送波长切换成功消息, 以用于指示光线路终端 OLT确认该 ONU下行波长切 换成功。
在 S734中, ONU成功完成下行波长切换, 与 OLT在目标下行通道建 立数据通信, 由此, OLT可以在目标下行通道上向 ONU发送数据, ONU可 以在该固定的上行波长通道上向 OLT发送数据。
在 S751 中, OLT在该起止时间内没有接收到 ONU发送的波长切换完 成消息, 则 OLT的发送端口 1在该起止时间超时后, 仅在该源下行波长通 道上向该 ONU发送波长切换 4吏权消息。
在 S752中, ONU在该固定的上行波长通道上, 向 OLT发送波长切换 未完成消息, 以用于指示该 ONU在该起止时间内未成功切换到该目标下行 波长。
在 S753中, OLT的发送端口 1在该源下行波长通道上, 向该 ONU发 送波长切换未成功消息, 以用于指示 OLT确认该 ONU下行波长切换未成功 还应理解, 在本发明的各种实施例中, 上述各过程的序号的大小并不意 味着执行顺序的先后, 各过程的执行顺序应以其功能和内在逻辑确定, 而不 应对本发明实施例的实施过程构成任何限定。
因此, 本发明实施例的以太网无源光网络***中波长切换的方法, 通过 光线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线 路终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下 行波长通道上向光网络单元发送波长切换 权消息,使得该光网络单元能够 在该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行 波长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减少切换出错概率, 并能够提高***的业务量。
上文中结合图 1至图 15, 详细描述了本发明实施例提供的 EPON*** 中设备注册和波长切换的方法, 下面将结合图 16至图 23, 详细描述根据本 发明实施例的光线路终端和光网络单元。
图 16示出了本发明实施例提供的 EPON***中的光线路终端 OLT 10 的示意性框图, 该 EPON***还包括光网络单元 ONU, 该 OLT与该 ONU 之间基于多个下行波长和一个上行波长进行通信。 如图 16所示, 该 OLT 10 包括:
发送模块 11, 用于向该 ONU发送开窗消息;
接收模块 12, 用于接收该 ONU根据该发送模块 11发送的该开窗消息 而发送的用于请求注册的注册请求消息, 该注册请求消息携带该 ONU的波 长信息, 该波长信息包括该 ONU接收该开窗消息所釆用的注册下行波长; 其中, 该发送模块 11还用于: 根据该接收模块 12接收的该注册请求消 息, 向该 ONU发送注册消息, 该注册消息包括该 OLT为该 ONU分配的逻 辑链路标记 LLID;
该接收模块 12还用于: 接收该 ONU根据该发送模块 11发送的该注册 消息发送的用于确认完成注册的注册确认消息。
因此, 本发明实施例的以太网无源光网络***中的光线路终端, 通过在 光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得该 光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下行 波长和一个上行波长进行通信的以太网无源光网络***中能够实现设备注 册, 由此该光网络单元和该光线路终端之间能够进行数据通信。
在本发明实施例中,可选地,该发送模块 11发送的该 LLID包括用于指 示该注册下行波长的信息。
在本发明实施例中, 可选地, 该发送模块 11发送的该注册消息还包括 波长确认信息, 该波长确认信息用于指示该 OLT确认该波长信息。
在本发明实施例中, 可选地, 该接收模块 12接收的该注册请求消息的 发现信息域包括该波长信息; 或该接收模块 12接收的该注册请求消息包括 波长信息域, 该波长信息域包括该波长信息。 在本发明实施例中, 可选地, 该接收模块 12接收的该波长信息还包括 该 ONU的下行波长调节能力信息, 该下行波长调节能力信息包括下列信息 中的至少一种: 下行波长调节间隔、 下行波长数、 可调滤波器的波长调节范 围、 每个下行波长调节间隔的调节时间和下行波长调节速度。
应理解,在本发明实施例中, 该开窗消息例如为基于 MPCP的 GATE消 息; 该注册请求消息例如为基于 MPCP的 REGISTER_REQ消息; 该注册消 息例如为基于 MPCP的 REGISTER消息;该注册确认消息例如为基于 MPCP 的 REGISTER_ACK消息, 为了简洁, 在此不再赞述。
应理解, 根据本发明实施例的光线路终端 10可对应于本发明实施例中 的 OLT, 并且光线路终端 10中的各个模块的上述和其它操作和 /或功能分别 为了实现图 2至图 4中的方法 100的相应流程, 为了简洁, 在此不再赘述。
因此, 本发明实施例的以太网无源光网络***中的光线路终端, 通过在 光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得该 光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下行 波长和一个上行波长进行通信的以太网无源光网络***中能够实现设备注 册, 由此该光网络单元和该光线路终端之间能够进行数据通信。
图 17示出了本发明实施例提供的 EPON***中的光网络单元 ONU 20 的示意性框图,该 EPON***还包括光线路终端 OLT,该 OLT与该 ONU之 间基于多个下行波长和一个上行波长进行通信。 如图 17所示, 该 ONU 20 包括:
接收模块 21, 用于接收该 OLT发送的开窗消息;
发送模块 22, 用于根据该接收模块 21接收的该开窗消息, 向该 OLT发 送用于请求注册的注册请求消息,该注册请求消息携带该 ONU的波长信息, 该波长信息包括该 ONU接收该开窗消息所釆用的注册下行波长;
该接收模块 21还用于: 接收该 OLT根据该发送模块 22发送的该注册 请求消息而发送的注册消息,该注册消息包括该 OLT为该 ONU分配的逻辑 链路标记 LLID;
该发送模块 22还用于:根据该接收模块 21接收的该注册消息向该 OLT 发送用于确认完成注册的注册确认消息。
因此, 本发明实施例的以太网无源光网络***中的光网络单元, 通过在 光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得该 光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下行 波长和一个上行波长进行通信的以太网无源光网络***中能够实现设备注 册, 由此该光网络单元和该光线路终端之间能够进行数据通信。
在本发明实施例中,可选地,该接收模块 21接收的该 LLID包括用于指 示该注册下行波长的信息。
在本发明实施例中, 可选地, 该接收模块 21接收的该注册消息还包括 波长确认信息, 该波长确认信息用于指示该 OLT确认该波长信息。
在本发明实施例中, 可选地, 该发送模块 22发送的该注册请求消息的 发现信息域包括该波长信息; 或该发送模块 22发送的该注册请求消息包括 波长信息域, 该波长信息域包括该波长信息。
在本发明实施例中, 可选地, 该发送模块 22发送的该波长信息还包括 该 ONU的下行波长调节能力信息, 该下行波长调节能力信息包括下列信息 中的至少一种: 下行波长调节间隔、 下行波长数、 可调滤波器的波长调节范 围、 每个下行波长调节间隔的调节时间和下行波长调节速度。
应理解,在本发明实施例中, 该开窗消息例如为基于 MPCP的 GATE消 息; 该注册请求消息例如为基于 MPCP的 REGISTER_REQ消息; 该注册消 息例如为基于 MPCP的 REGISTER消息;该注册确认消息例如为基于 MPCP 的 REGISTER_ACK消息, 为了简洁, 在此不再赞述。
应理解, 根据本发明实施例的光网络单元 20可对应于本发明实施例中 的 ONU,并且光网络单元 20中的各个模块的上述和其它操作和 /或功能分别 为了实现图 5中的方法 200的相应流程, 为了简洁, 在此不再赘述。
因此, 本发明实施例的以太网无源光网络***中的光网络单元, 通过在 光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得该 光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下行 波长和一个上行波长进行通信的以太网无源光网络***中能够实现设备注 册, 由此该光网络单元和该光线路终端之间能够进行数据通信。
上文中结合图 16和图 17, 详细描述了本发明实施例提供的 EPON*** 中用于设备注册的光线路终端和光网络单元, 下面将结合图 18和图 19, 详 细描述本发明实施例提供的 EPON ***中用于波长切换的光线路终端和光 网络单元。
图 18示出了本发明实施例提供的光线路终端 30的示意性框图。如图 18 所示, 该 OLT 30包括: 换请求消息, 该波长切换请求消息用于指示该 ONU切换至目标下行波长, 并且该波长切换请求消息包括用于指示该目标下行波长的目标波长信息, 以 及用于指示下行波长切换的起止时间的切换时间信息;
接收模块 32, 用于在固定的上行波长通道上, 接收该 ONU根据该发送 模块 31发送的该波长切换请求消息而发送的波长切换确认消息, 该波长切 换确认消息用于指示该 ONU确定执行该下行波长切换;
其中, 该发送模块 31还用于: 在该起止时间内, 仅在与该目标下行波 长相应的目标下行波长通道上向该 ONU发送波长切换 4吏权消息, 该波长切 换授权消息用于对该 ONU进行授权;
该接收模块 32还用于: 当该 ONU在该起止时间内成功切换到该目标下 行波长时,在该上行波长通道上接收该 ONU根据该发送模块 31发送的该波 长切换授权消息而发送的波长切换完成消息, 该波长切换完成消息用于指示 该 ONU在该起止时间内成功切换到该目标下行波长。
因此, 本发明实施例的以太网无源光网络***中的光线路终端, 通过光 线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线路 终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下行 波长通道上向光网络单元发送波长切换授权消息,使得该光网络单元能够在 该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行波 长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减 少切换出错概率, 并能够提高***的业务量。
在本发明实施例中, 可选地, 该发送模块 31还用于: 在该目标下行波 长通道上, 根据该波长切换完成消息向该 ONU发送波长切换成功消息, 该 波长切换成功消息用于指示光线路终端 OLT确认该 ONU下行波长切换成 功。
在本发明实施例中, 可选地, 该发送模块 31还用于: 当在该起止时间 内没有接收到该 ONU发送的该波长切换完成消息时, 仅在该源下行波长通 道上向该 ONU发送该波长切换 4吏权消息;
该接收模块 32还用于: 在该上行波长通道上,接收该 ONU根据该波长 切换 4吏权消息发送的波长切换未完成消息, 该波长切换未完成消息用于指示 该 ONU在该起止时间内未成功切换到该目标下行波长。
在本发明实施例中, 可选地, 该发送模块 31还用于: 在该源下行波长 通道上, 根据该波长切换未完成消息向该 ONU发送波长切换未成功消息, 该波长切换未成功消息用于指示 OLT确认该 ONU下行波长切换未成功。
在本发明实施例中, 可选地, 该波长切换请求消息、 该波长切换确认消 息、该波长切换授权消息和该波长切换完成消息中的至少一种消息为多点控 制协议 MPCP消息或运营管理维护 OAM消息。
在本发明实施例中, 该波长切换请求消息例如为基于 MPCP或 OAM协 议的调节控制( Tuning Control )消息, 其中, 该 Tuning Control消息的 Flags 可以为 "00", 表示 OLT指示已注册的 ONU进行下行波长切换, 如图 8A和 9A所示, 为了简洁, 在此不再赘述。
在本发明实施例中, 该波长切换确认消息例如为基于 MPCP或 OAM协 议的调节响应 ( Tuning Response ) 消息, 其中, 该 Tuning Response消息的 Flags可以为 "00",表示 ONU确定执行下行波长切换,如图 8B和 9B所示, 为了简洁, 在此不再赘述。
在本发明实施例中, 该波长切换授权消息也可以为基于 MPCP或 OAM 协议的调节控制 ( Tuning Control ) 消息, 如图 8A和 9A所示, 为了简洁, 在此不再赘述。
在本发明实施例中, 该波长切换完成消息也可以为基于 MPCP或 OAM 协议的调节响应 ( Tuning Response ) 消息, 其中, 该 Timing Response消息 的 Flags可以为 "10", 指示 ONU反馈下行波长切换成功, 如图 8B和 98所 示, 为了简洁, 在此不再赘述。
该波长切换成功消息也可以为基于 MPCP 或 OAM 协议的调节控制 ( Tuning Control )消息, 其中, 该 Tuning Control消息的 Flags可以为 "10", 表示 OLT确认该 ONU下行波长切换成功, 如图 8A和 9A所示, 为了简洁, 在此不再赘述。
该波长切换未完成消息也可以为基于 MPCP或 OAM协议的调节响应 ( Tuning Response )消息,其中,该 Tuning Response消息的 Flags可以为 " 11", 指示 ONU反馈下行波长切换未成功信息, 如图 8B和 9B所示, 为了简洁, 在此不再赘述。
该波长切换未成功消息也可以为基于 MPCP或 OAM协议的调节控制 ( Tuning Control )消息, 其中, 该 Tuning Control消息的 Flags可以为 "11", 表示 OLT确认该 ONU下行波长切换未成功, 如图 8A和 9A所示, 为了简 洁, 在此不再赘述。
应理解, 根据本发明实施例的光线路终端 30可对应于本发明实施例中 的 OLT, 并且光线路终端 30中的各个模块的上述和其它操作和 /或功能分别 为了实现图 7至图 11中的方法 500的相应流程, 为了简洁, 在此不再赘述。
因此, 本发明实施例的以太网无源光网络***中的光线路终端, 通过光 线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线路 终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下行 波长通道上向光网络单元发送波长切换授权消息,使得该光网络单元能够在 该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行波 长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减 少切换出错概率, 并能够提高***的业务量。
图 19示出了本发明实施例提供的光网络单元 40的示意性框图。如图 19 所示, 该 ONU 40包括:
接收模块 41, 用于在源下行波长通道上接收光线路终端 OLT发送的波 长切换请求消息, 该波长切换请求消息用于指示光网络单元 ONU切换至目 标下行波长, 并且该波长切换请求消息包括用于指示该目标下行波长的目标 波长信息, 以及用于指示下行波长切换的起止时间的切换时间信息;
发送模块 42, 用于在固定的上行波长通道上, 根据该接收模块 41接收 的该波长切换请求消息向该 OLT发送波长切换确认消息, 该波长切换确认 消息用于指示该 ONU确定执行该下行波长切换;
其中, 该接收模块 41还用于: 当该 ONU在该起止时间内成功切换到该 目标下行波长时, 接收该 OLT仅在与该目标下行波长相应的目标下行波长 通道上发送的波长切换授权消息, 该波长切换授权消息用于对该 ONU进行 授权;
该发送模块 42还用于: 在该上行波长通道上, 根据该接收模块 41接收 的该波长切换 4吏权消息向该 OLT发送波长切换完成消息, 该波长切换完成 消息用于指示该 ONU在该起止时间内成功切换到该目标下行波长。
因此, 本发明实施例的以太网无源光网络***中的光网络单元, 通过光 线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线路 终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下行 波长通道上向光网络单元发送波长切换授权消息,使得该光网络单元能够在 该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行波 长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减 少切换出错概率, 并能够提高***的业务量。
在本发明实施例中, 可选地, 该接收模块 41还用于: 在该目标下行波 长通道上, 接收该 OLT根据该波长切换完成消息发送的波长切换成功消息, 该波长切换成功消息用于指示该 OLT确认该 ONU下行波长切换成功。
在本发明实施例中, 可选地, 该接收模块 41还用于: 当该 ONU在该起 止时间内未成功切换到该目标下行波长时, 在该起止时间超时后, 接收该 OLT仅在该源下行波长通道上发送的该波长切换 4吏权消息;
该发送模块 42还用于: 在该上行波长通道上, 根据该波长切换授权消 息向该 OLT发送波长切换未完成消息, 该波长切换未完成消息用于指示该 ONU在该起止时间内未成功切换到该目标下行波长。
在本发明实施例中, 可选地, 该接收模块 41还用于: 在该源下行波长 通道上, 接收该 OLT根据该波长切换未完成消息发送的波长切换未成功消 息,该波长切换未成功消息用于指示该 OLT确认该 ONU下行波长切换未成 功。
在本发明实施例中, 可选地, 该波长切换请求消息、 该波长切换确认消 息、该波长切换授权消息和该波长切换完成消息中的至少一种消息为多点控 制协议 MPCP消息或运营管理维护 OAM消息。
在本发明实施例中, 该波长切换请求消息例如为基于 MPCP或 OAM协 议的调节控制( Tuning Control )消息, 其中, 该 Tuning Control消息的 Flags 可以为 "00", 表示 OLT指示已注册的 ONU进行下行波长切换, 如图 8A和 9A所示, 为了简洁, 在此不再赘述。
在本发明实施例中, 该波长切换确认消息例如为基于 MPCP或 OAM协 议的调节响应 ( Tuning Response ) 消息, 其中, 该 Tuning Response消息的 Flags可以为 "00",表示 ONU确定执行下行波长切换,如图 8B和 9B所示, 为了简洁, 在此不再赘述。
在本发明实施例中, 该波长切换授权消息也可以为基于 MPCP或 OAM 协议的调节控制 ( Tuning Control ) 消息, 如图 8A和 9A所示, 为了简洁, 在此不再赘述。
在本发明实施例中, 该波长切换完成消息也可以为基于 MPCP或 OAM 协议的调节响应 ( Tuning Response ) 消息, 其中, 该 Tuning Response消息 的 Flags可以为 "10", 指示 ONU反馈下行波长切换成功, 如图 8B和 98所 示, 为了简洁, 在此不再赘述。
该波长切换成功消息也可以为基于 MPCP 或 OAM 协议的调节控制 ( Tuning Control )消息, 其中, 该 Tuning Control消息的 Flags可以为 "10", 表示 OLT确认该 ONU下行波长切换成功, 如图 8A和 9A所示, 为了简洁, 在此不再赘述。
该波长切换未完成消息也可以为基于 MPCP或 OAM协议的调节响应
( Tuning Response )消息,其中,该 Tuning Response消息的 Flags可以为 " 11", 指示 ONU反馈下行波长切换未成功信息, 如图 8B和 9B所示, 为了简洁, 在此不再赘述。
该波长切换未成功消息也可以为基于 MPCP或 OAM协议的调节控制 ( Tuning Control )消息, 其中, 该 Tuning Control消息的 Flags可以为 "11", 表示 OLT确认该 ONU下行波长切换未成功, 如图 8A和 9A所示, 为了简 洁, 在此不再赘述。
应理解, 根据本发明实施例的光网络单元 40可对应于本发明实施例中 的 ONU,并且光网络单元 40中的各个模块的上述和其它操作和 /或功能分别 为了实现图 12至图 14中的方法 600的相应流程,为了简洁,在此不再赘述。
因此, 本发明实施例的以太网无源光网络***中的光网络单元, 通过光 线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线路 终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下行 波长通道上向光网络单元发送波长切换授权消息,使得该光网络单元能够在 该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行波 长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减 少切换出错概率, 并能够提高***的业务量。
如图 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根据该注册消息发送的用于确认完成注册的注册确认消 息。
因此, 本发明实施例的以太网无源光网络***中的光线路终端, 通过在 光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得该 光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下行 波长和一个上行波长进行通信的以太网无源光网络***中能够实现设备注 册, 由此该光网络单元和该光线路终端之间能够进行数据通信。
应理解,在本发明实施例中,该处理器 61可以是中央处理单元(Central Processing Unit, 简称为 "CPU" ), 该处理器 61还可以是其他通用处理器、 数字信号处理器(DSP )、专用集成电路(ASIC )、现成可编程门阵列(FPGA ) 或者其他可编程逻辑器件、 分立门或者晶体管逻辑器件、 分立硬件组件等。 通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
该存储器 62可以包括只读存储器和随机存取存储器, 并向处理器 61提 供指令和数据。 存储器 62的一部分还可以包括非易失性随机存取存储器。 例如, 存储器 62还可以存储设备类型的信息。
该总线*** 63除包括数据总线之外, 还可以包括电源总线、 控制总线 和状态信号总线等。 但是为了清楚说明起见, 在图中将各种总线都标为总线 *** 63。
在实现过程中, 上述方法的各步骤可以通过处理器 61 中的硬件的集成 逻辑电路或者软件形式的指令完成。 结合本发明实施例所公开的方法的步骤 可以直接体现为硬件处理器执行完成, 或者用处理器中的硬件及软件模块组 合执行完成。 软件模块可以位于随机存储器, 闪存、 只读存储器, 可编程只 读存储器或者电可擦写可编程存储器、 寄存器等本领域成熟的存储介质中。 该存储介质位于存储器 62,处理器 61读取存储器 62中的信息,结合其硬件 完成上述方法的步骤。 为避免重复, 这里不再详细描述。
可选地, 作为一个实施例, 该 LLID包括用于指示该注册下行波长的信 息。
可选地, 作为一个实施例, 该注册消息还包括波长确认信息, 该波长确 认信息用于指示该 OLT确认该波长信息。
可选地, 作为一个实施例, 该注册请求消息的发现信息域包括该波长信 息; 或该注册请求消息包括波长信息域, 该波长信息域包括该波长信息。
可选地, 作为一个实施例, 该波长信息还包括该 ONU的下行波长调节 能力信息, 该下行波长调节能力信息包括下列信息中的至少一种: 下行波长 调节间隔、 下行波长数、 可调滤波器的波长调节范围、 每个下行波长调节间 隔的调节时间和下行波长调节速度。
应理解,在本发明实施例中, 该开窗消息例如为基于 MPCP的 GATE消 息; 该注册请求消息例如为基于 MPCP的 REGISTER_REQ消息; 该注册消 息例如为基于 MPCP的 REGISTER消息;该注册确认消息例如为基于 MPCP 的 REGISTER_ACK消息, 为了简洁, 在此不再赞述。
应理解, 根据本发明实施例的光线路终端 60可对应于本发明实施例中 端 60中的各个模块的上述和其它操作和 /或功能分别为了实现图 2至图 4中 的方法 100的相应流程, 为了简洁, 在此不再赘述。
因此, 本发明实施例的以太网无源光网络***中的光线路终端, 通过在 光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得该 光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下行 波长和一个上行波长进行通信的以太网无源光网络***中能够实现设备注 册, 由此该光网络单元和该光线路终端之间能够进行数据通信。
如图 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发送用于确认完成注册的注册确认消息。
因此, 本发明实施例的以太网无源光网络***中的光网络单元, 通过在 光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得该 光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下行 波长和一个上行波长进行通信的以太网无源光网络***中能够实现设备注 册, 由此该光网络单元和该光线路终端之间能够进行数据通信。
可选地, 作为一个实施例, 该 LLID包括用于指示该注册下行波长的信 息。
可选地, 作为一个实施例, 该注册消息还包括波长确认信息, 该波长确 认信息用于指示该 OLT确认该波长信息。
可选地, 作为一个实施例, 该注册请求消息的发现信息域包括该波长信 息; 或该注册请求消息包括波长信息域, 该波长信息域包括该波长信息。
可选地, 作为一个实施例, 该波长信息还包括该 ONU的下行波长调节 能力信息, 该下行波长调节能力信息包括下列信息中的至少一种: 下行波长 调节间隔、 下行波长数、 可调滤波器的波长调节范围、 每个下行波长调节间 隔的调节时间和下行波长调节速度。
应理解,在本发明实施例中, 该开窗消息例如为基于 MPCP的 GATE消 息; 该注册请求消息例如为基于 MPCP的 REGISTER_REQ消息; 该注册消 息例如为基于 MPCP的 REGISTER消息;该注册确认消息例如为基于 MPCP 的 REGISTER_ACK消息, 为了简洁, 在此不再赞述。
应理解, 根据本发明实施例的光网络单元 70可对应于本发明实施例中 的 ONU, 并可以对应于本发明实施例提供的光网络单元 20, 并且光线路终 端 70中的各个模块的上述和其它操作和 /或功能分别为了实现图 5中的方法 200的相应流程, 为了简洁, 在此不再赘述。
因此, 本发明实施例的以太网无源光网络***中的光网络单元, 通过在 光网络单元向光线路终端发送的注册请求消息中指示注册下行波长,使得该 光线路终端能够确定该光网络单元所釆用的下行波长,从而在釆用多个下行 波长和一个上行波长进行通信的以太网无源光网络***中能够实现设备注 册, 由此该光网络单元和该光线路终端之间能够进行数据通信。
如图 22所示, 本发明实施例还提供了一种 EPON***中的光线路终端
OLT 80, 该光线路终端 80包括处理器 81、 存储器 82、 总线*** 83、 接收 器 84和发送器 85。 其中, 处理器 81、 存储器 82、 接收器 84和发送器 85 通过总线*** 83相连, 该存储器 82用于存储指令, 该处理器 81用于执行 该存储器 82存储的指令, 以控制接收器 84接收信号, 并控制发送器 85发 送信号;
其中, 该发送器 85用于: 在源下行波长通道上向光网络单元 ONU发送 波长切换请求消息,该波长切换请求消息用于指示该 ONU切换至目标下行 波长, 并且该波长切换请求消息包括用于指示该目标下行波长的目标波长 信息, 以及用于指示下行波长切换的起止时间的切换时间信息;
该接收器 84用于: 在固定的上行波长通道上,接收该 ONU根据该波长 切换请求消息发送的波长切换确认消息, 该波长切换确认消息用于指示该 ONU确定执行该下行波长切换;
其中, 该发送器 85还用于: 在该起止时间内, 仅在与该目标下行波长 相应的目标下行波长通道上向该 ONU发送波长切换 4吏权消息, 该波长切换 授权消息用于对该 ONU进行 4受权;
该接收器 84还用于: 当该 ONU在该起止时间内成功切换到该目标下行 波长时, 在该上行波长通道上接收该 ONU根据该波长切换授权消息发送的 波长切换完成消息, 该波长切换完成消息用于指示该 ONU在该起止时间内 成功切换到该目标下行波长。
因此, 本发明实施例的以太网无源光网络***中的光线路终端, 通过光 线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线路 终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下行 波长通道上向光网络单元发送波长切换授权消息,使得该光网络单元能够在 该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行波 长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减 少切换出错概率, 并能够提高***的业务量。 可选地, 作为一个实施例, 该发送器 85还用于: 在该目标下行波长通 道上, 根据该波长切换完成消息向该 ONU发送波长切换成功消息, 该波长 切换成功消息用于指示光线路终端 OLT确认该 ONU下行波长切换成功。
可选地, 作为一个实施例, 该发送器 85还用于: 当在该起止时间内没 有接收到该 ONU发送的该波长切换完成消息时, 仅在该源下行波长通道上 向该 ONU发送该波长切换 4吏权消息;
该接收器 84还用于: 在该上行波长通道上,接收该 ONU根据该波长切 换 权消息发送的波长切换未完成消息,该波长切换未完成消息用于指示该 ONU在该起止时间内未成功切换到该目标下行波长。
可选地, 作为一个实施例, 该发送器 85还用于: 在该源下行波长通道 上, 根据该波长切换未完成消息向该 ONU发送波长切换未成功消息, 该波 长切换未成功消息用于指示 OLT确认该 ONU下行波长切换未成功。
可选地,作为一个实施例,该波长切换请求消息、该波长切换确认消息、 该波长切换授权消息和该波长切换完成消息中的至少一种消息为多点控制 协议 MPCP消息或运营管理维护 0 AM消息。
应理解, 根据本发明实施例的光线路终端 80可对应于本发明实施例中 的 OLT, 并可以对应于本发明实施例提供的光线路终端 30, 并且光线路终 端 80中的各个模块的上述和其它操作和 /或功能分别为了实现图 7至图 11 中的方法 500的相应流程, 为了简洁, 在此不再赘述。
因此, 本发明实施例的以太网无源光网络***中的光线路终端, 通过光 线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线路 终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下行 波长通道上向光网络单元发送波长切换授权消息,使得该光网络单元能够在 该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行波 长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减 少切换出错概率, 并能够提高***的业务量。
如图 23所示, 本发明实施例还提供了一种 EPON***中的光网络单元 ONU 90, 该光网络单元 90包括处理器 91、 存储器 92、 总线*** 93、 接收 器 94和发送器 95。 其中, 处理器 91、 存储器 92、 接收器 94和发送器 95 通过总线*** 93相连, 该存储器 92用于存储指令, 该处理器 91用于执行 该存储器 92存储的指令, 以控制接收器 94接收信号, 并控制发送器 95发 送信号;
其中, 该接收器 94用于: 在源下行波长通道上接收光线路终端 OLT发 送的波长切换请求消息, 该波长切换请求消息用于指示光网络单元 ONU切 换至目标下行波长, 并且该波长切换请求消息包括用于指示该目标下行波长 的目标波长信息, 以及用于指示下行波长切换的起止时间的切换时间信息; 该发送器 95用于: 在固定的上行波长通道上, 根据该波长切换请求消 息向该 OLT发送波长切换确认消息, 该波长切换确认消息用于指示该 ONU 确定执行该下行波长切换;
其中, 该接收器 94还用于: 当该 ONU在该起止时间内成功切换到该目 标下行波长时, 接收该 OLT仅在与该目标下行波长相应的目标下行波长通 道上发送的波长切换授权消息, 该波长切换授权消息用于对该 ONU进行授 权;
该发送器 95还用于: 在该上行波长通道上, 根据该波长切换 4吏权消息 向该 OLT发送波长切换完成消息,该波长切换完成消息用于指示该 ONU在 该起止时间内成功切换到该目标下行波长。
因此, 本发明实施例的以太网无源光网络***中的光网络单元, 通过光 线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线路 终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下行 波长通道上向光网络单元发送波长切换授权消息,使得该光网络单元能够在 该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行波 长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减 少切换出错概率, 并能够提高***的业务量。
可选地, 作为一个实施例, 该接收器 94还用于: 在该目标下行波长通 道上, 接收该 OLT根据该波长切换完成消息发送的波长切换成功消息, 该 波长切换成功消息用于指示该 OLT确认该 ONU下行波长切换成功。
可选地, 作为一个实施例, 该接收器 94还用于: 当该 ONU在该起止时 间内未成功切换到该目标下行波长时, 在该起止时间超时后, 接收该 OLT 仅在该源下行波长通道上发送的该波长切换 4吏权消息;
该发送器 95还用于: 在该上行波长通道上, 根据该波长切换 4吏权消息 向该 OLT发送波长切换未完成消息, 该波长切换未完成消息用于指示该 ONU在该起止时间内未成功切换到该目标下行波长。 可选地, 作为一个实施例, 该接收器 94还用于: 在该源下行波长通道 上, 接收该 OLT根据该波长切换未完成消息发送的波长切换未成功消息, 该波长切换未成功消息用于指示该 OLT确认该 ONU下行波长切换未成功。
可选地,作为一个实施例,该波长切换请求消息、该波长切换确认消息、 该波长切换授权消息和该波长切换完成消息中的至少一种消息为多点控制 协议 MPCP消息或运营管理维护 OAM消息。
应理解, 根据本发明实施例的光网络单元 90可对应于本发明实施例中 的 ONU, 并可以对应于本发明实施例提供的光网络单元 40, 并且光网络单 元 90中的各个模块的上述和其它操作和 /或功能分别为了实现图 12至图 14 中的方法 600的相应流程, 为了简洁, 在此不再赘述。
因此, 本发明实施例的以太网无源光网络***中的光网络单元, 通过光 线路终端向光网络单元指示目标波长信息以及切换时间信息, 并在该光线路 终端指示的下行波长切换起止时间内,仅在与目标下行波长相应的目标下行 波长通道上向光网络单元发送波长切换授权消息,使得该光网络单元能够在 该切换起止时间内进行下行波长切换, 并能够避免光线路终端在多个下行波 长通道上对光网络单元进行同步 权, 由此能够简化下行波长切换流程, 减 少切换出错概率, 并能够提高***的业务量。
另外, 本文中术语 "***" 和 "网络" 在本文中常被可互换使用。 本文 中术语 "和 /或", 仅仅是一种描述关联对象的关联关系, 表示可以存在三种 关系, 例如, A和 /或 可以表示: 单独存在八, 同时存在八和^ 单独存 在 B这三种情况。另外,本文中字符 "/",一般表示前后关联对象是一种 "或" 的关系。
应理解, 在本发明实施例中, "与 A相应的 B"表示 B与 A相关联, 根 据 A可以确定 B。 但还应理解, 根据 A确定 B并不意味着仅仅根据 A确定 B , 还可以根据 A和 /或其它信息确定^
本领域普通技术人员可以意识到, 结合本文中所公开的实施例描述的各 示例的单元及算法步骤, 能够以电子硬件、 计算机软件或者二者的结合来实 现, 为了清楚地说明硬件和软件的可互换性, 在上述说明中已经按照功能一 般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执 行, 取决于技术方案的特定应用和设计约束条件。 专业技术人员可以对每个 特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超 出本发明的范围。
所属领域的技术人员可以清楚地了解到, 为了描述的方便和简洁, 上述 描述的***、 装置和单元的具体工作过程, 可以参考前述方法实施例中的对 应过程, 在此不再赘述。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的***、 装置和 方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示 意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可 以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个 ***, 或一些特征可以忽略, 或不执行。 另夕卜, 所显示或讨论的相互之间的 耦合或直接辆合或通信连接可以是通过一些接口、装置或单元的间接辆合或 通信连接, 也可以是电的, 机械的或其它的形式连接。 为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或 者全部单元来实现本发明实施例方案的目的。
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元 中, 也可以是各个单元单独物理存在, 也可以是两个或两个以上单元集成在 一个单元中。 上述集成的单元既可以釆用硬件的形式实现, 也可以釆用软件 功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销 售或使用时, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方 案的全部或部分可以以软件产品的形式体现出来, 该计算机软件产品存储在 一个存储介质中, 包括若干指令用以使得一台计算机设备(可以是个人计算 机, 服务器, 或者网络设备等)执行本发明各个实施例所述方法的全部或部 分步骤。 而前述的存储介质包括: U盘、 移动硬盘、 只读存储器 (ROM, Read-Only Memory )、 随机存取存 4诸器 ( RAM, Random Access Memory )、 磁碟或者光盘等各种可以存储程序代码的介质。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到各种等效的修改或替换, 这些修改或替换都应涵盖在本发明的保护范围 之内。 因此, 本发明的保护范围应以权利要求的保护范围为准。

Claims

权利要求书
1、 一种以太网无源光网络 EPON***中设备注册的方法, 所述 EPON ***包括光线路终端 OLT和光网络单元 ONU, 所述 OLT与所述 ONU之间 基于多个下行波长和一个上行波长进行通信, 其特征在于, 所述方法包括: 向所述 ONU发送开窗消息;
接收所述 ONU根据所述开窗消息发送的用于请求注册的注册请求消 息, 所述注册请求消息携带所述 ONU的波长信息, 所述波长信息包括所述 ONU接收所述开窗消息所釆用的注册下行波长;
通过所述注册下行波长向所述 ONU发送注册消息, 所述注册消息包括 接收所述 ONU根据所述注册消息发送的用于确认完成注册的注册确认 消息。
2、 根据权利要求 1 所述的方法, 其特征在于, 所述注册消息还包括波 长确认信息, 所述波长确认信息用于指示所述 OLT确认所述波长信息。
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述注册请求消息 的发现信息域包括所述波长信息; 或所述注册请求消息包括波长信息域, 所 述波长信息域包括所述波长信息。
4、 根据权利要求 1至 3中任一项所述的方法, 其特征在于, 所述波长 信息还包括所述 ONU的下行波长调节能力信息, 所述下行波长调节能力信 息包括下列信息中的至少一种: 下行波长调节间隔、 下行波长数、 可调滤波 器的波长调节范围、 每个下行波长调节间隔的调节时间和下行波长调节速 度。
5、 一种以太网无源光网络 EPON***中设备注册的方法, 所述 EPON ***包括光线路终端 OLT和光网络单元 ONU, 所述 OLT与所述 ONU之间 基于多个下行波长和一个上行波长进行通信, 其特征在于, 所述方法包括: 接收所述 OLT发送的开窗消息;
根据所述开窗消息, 向所述 OLT发送用于请求注册的注册请求消息, 所述注册请求消息携带所述 ONU的波长信息,所述波长信息包括所述 ONU 接收所述开窗消息所釆用的注册下行波长;
通过所述注册下行波长接收所述 OLT根据所述注册请求消息发送的注 册消息, 所述注册消息包括所述 OLT 为所述 ONU 分配的逻辑链路标记 LLID;
根据所述注册消息向所述 OLT发送用于确认完成注册的注册确认消息。
6、 根据权利要求 5所述的方法, 其特征在于, 所述注册消息还包括波 长确认信息, 所述波长确认信息用于指示所述 OLT确认所述波长信息。
7、 根据权利要求 5或 6所述的方法, 其特征在于, 所述注册请求消息 的发现信息域包括所述波长信息; 或所述注册请求消息包括波长信息域, 所 述波长信息域包括所述波长信息。
8、 根据权利要求 5至 7中任一项所述的方法, 其特征在于, 所述波长 信息还包括所述 ONU的下行波长调节能力信息, 所述下行波长调节能力信 息包括下列信息中的至少一种: 下行波长调节间隔、 下行波长数、 可调滤波 器的波长调节范围、 每个下行波长调节间隔的调节时间和下行波长调节速 度。
9、 一种以太网无源光网络 EPON***中波长切换的方法, 所述 EPON ***包括光线路终端 OLT和光网络单元 ONU, 所述 OLT与所述 ONU之间 基于多个下行波长和一个上行波长进行通信, 其特征在于, 所述方法包括: 在源下行波长通道上向光网络单元 ONU发送波长切换请求消息, 所述 波长切换请求消息用于指示所述 ONU切换至目标下行波长, 并且所述波长 切换请求消息包括用于指示所述目标下行波长的目标波长信息, 以及用于指 示下行波长切换的起止时间的切换时间信息;
在所述上行波长通道上, 接收所述 ONU根据所述波长切换请求消息发 送的波长切换确认消息, 所述波长切换确认消息用于指示所述 ONU确定执 行所述下行波长切换; 向所述 ONU发送波长切换授权消息, 所述波长切换授权消息用于对所述 ONU进行授权;
当所述 ONU在所述起止时间内成功切换到所述目标下行波长时, 在所 述上行波长通道上接收所述 ONU根据所述波长切换授权消息发送的波长切 换完成消息, 所述波长切换完成消息用于指示所述 ONU在所述起止时间内 成功切换到所述目标下行波长。
10、 根据权利要求 9所述的方法, 其特征在于, 所述方法还包括: 在所述目标下行波长通道上, 根据所述波长切换完成消息向所述 ONU 发送波长切换成功消息, 所述波长切换成功消息用于指示光线路终端 OLT 确认所述 ONU下行波长切换成功。
11、 根据权利要求 9所述的方法, 其特征在于, 所述方法还包括: 当在所述起止时间内没有接收到所述 ONU发送的所述波长切换完成消 在所述上行波长通道上, 接收所述 ONU根据所述波长切换授权消息发 送的波长切换未完成消息, 所述波长切换未完成消息用于指示所述 ONU在 所述起止时间内未成功切换到所述目标下行波长。
12、 根据权利要求 11所述的方法, 其特征在于, 所述方法还包括: 在所述源下行波长通道上, 根据所述波长切换未完成消息向所述 ONU 发送波长切换未成功消息, 所述波长切换未成功消息用于指示 OLT确认所 述 ONU下行波长切换未成功。
13、 根据权利要求 9至 12中任一项所述的方法, 其特征在于, 所述波 长切换请求消息、 所述波长切换确认消息、 所述波长切换授权消息和所述波 长切换完成消息中的至少一种消息为多点控制协议 MPCP 消息或运营管理 维护 OAM消息。
14、 一种以太网无源光网络 EPON***中波长切换的方法, 所述 EPON ***包括光线路终端 OLT和光网络单元 ONU, 所述 OLT与所述 ONU之间 基于多个下行波长和一个上行波长进行通信, 其特征在于, 所述方法包括: 在源下行波长通道上接收光线路终端 OLT发送的波长切换请求消息, 所述波长切换请求消息用于指示光网络单元 ONU切换至目标下行波长, 并 且所述波长切换请求消息包括用于指示所述目标下行波长的目标波长信息, 以及用于指示下行波长切换的起止时间的切换时间信息;
在所述上行波长通道上, 根据所述波长切换请求消息向所述 OLT发送 波长切换确认消息, 所述波长切换确认消息用于指示所述 ONU确定执行所 述下行波长切换;
当所述 ONU在所述起止时间内成功切换到所述目标下行波长时, 接收 换授权消息, 所述波长切换授权消息用于对所述 ONU进行授权;
在所述上行波长通道上, 根据所述波长切换授权消息向所述 OLT发送 波长切换完成消息, 所述波长切换完成消息用于指示所述 ONU在所述起止 时间内成功切换到所述目标下行波长。
15、 根据权利要求 14所述的方法, 其特征在于, 所述方法还包括: 在所述目标下行波长通道上, 接收所述 OLT根据所述波长切换完成消 息发送的波长切换成功消息, 所述波长切换成功消息用于指示所述 OLT确 认所述 ONU下行波长切换成功。
16、 根据权利要求 14所述的方法, 其特征在于, 所述方法还包括: 当所述 ONU在所述起止时间内未成功切换到所述目标下行波长时, 在 所述起止时间超时后, 接收所述 OLT仅在所述源下行波长通道上发送的所 述波长切换授权消息;
在所述上行波长通道上, 根据所述波长切换授权消息向所述 OLT发送 波长切换未完成消息, 所述波长切换未完成消息用于指示所述 ONU在所述 起止时间内未成功切换到所述目标下行波长。
17、 根据权利要求 16所述的方法, 其特征在于, 所述方法还包括: 在所述源下行波长通道上, 接收所述 OLT根据所述波长切换未完成消 息发送的波长切换未成功消息,所述波长切换未成功消息用于指示所述 OLT 确认所述 ONU下行波长切换未成功。
18、 根据权利要求 14至 17中任一项所述的方法, 其特征在于, 所述波 长切换请求消息、 所述波长切换确认消息、 所述波长切换授权消息和所述波 长切换完成消息中的至少一种消息为多点控制协议 MPCP 消息或运营管理 维护 OAM消息。
19、一种以太网无源光网络 EPON***中的光线路终端 OLT,所述 EPON ***还包括光网络单元 ONU, 所述 OLT与所述 ONU之间基于多个下行波 长和一个上行波长进行通信, 其特征在于, 所述 OLT包括:
发送模块, 用于向所述 ONU发送开窗消息;
接收模块, 用于接收所述 ONU根据所述发送模块发送的所述开窗消息 而发送的用于请求注册的注册请求消息, 所述注册请求消息携带所述 ONU 的波长信息, 所述波长信息包括所述 ONU接收所述开窗消息所釆用的注册 下行波长;
其中, 所述发送模块还用于: 通过所述注册下行波长向所述 ONU发送 注册消息, 所述注册消息包括所述 OLT为所述 ONU分配的逻辑链路标记 LLID; 所述接收模块还用于: 接收所述 ONU根据所述发送模块发送的所述注 册消息发送的用于确认完成注册的注册确认消息。
20、 根据权利要求 19所述的光线路终端, 其特征在于, 所述发送模块 发送的所述注册消息还包括波长确认信息, 所述波长确认信息用于指示所述 OLT确认所述波长信息。
21、 根据权利要求 19或 20所述的光线路终端, 其特征在于, 所述接收 模块接收的所述注册请求消息的发现信息域包括所述波长信息; 或所述接收 模块接收的所述注册请求消息包括波长信息域, 所述波长信息域包括所述波 长信息。
22、 根据权利要求 19至 21中任一项所述的光线路终端, 其特征在于, 所述接收模块接收的所述波长信息还包括所述 ONU的下行波长调节能力信 息, 所述下行波长调节能力信息包括下列信息中的至少一种: 下行波长调节 间隔、 下行波长数、 可调滤波器的波长调节范围、 每个下行波长调节间隔的 调节时间和下行波长调节速度。
23、 一种以太网无源光网络 EPON ***中的光网络单元 ONU, 所述
EPON***还包括光线路终端 OLT, 所述 OLT与所述 ONU之间基于多个下 行波长和一个上行波长进行通信, 其特征在于, 所述 ONU包括:
接收模块, 用于接收所述 OLT发送的开窗消息;
发送模块, 用于根据所述接收模块接收的所述开窗消息, 向所述 OLT 发送用于请求注册的注册请求消息, 所述注册请求消息携带所述 ONU的波 长信息, 所述波长信息包括所述 ONU接收所述开窗消息所釆用的注册下行 波长;
所述接收模块还用于: 接收所述 OLT根据所述发送模块发送的所述注 册请求消息而发送的注册消息,所述注册消息包括所述 OLT为所述 ONU分 配的逻辑链路标记 LLID;
所述发送模块还用于: 根据所述接收模块接收的所述注册消息向所述 OLT发送用于确认完成注册的注册确认消息。
24、 根据权利要求 23所述的光网络单元, 其特征在于, 所述接收模块 接收的所述注册消息还包括波长确认信息, 所述波长确认信息用于指示所述 OLT确认所述波长信息。
25、 根据权利要求 23或 24所述的光网络单元, 其特征在于, 所述发送 模块发送的所述注册请求消息的发现信息域包括所述波长信息; 或所述发送 模块发送的所述注册请求消息包括波长信息域, 所述波长信息域包括所述波 长信息。
26、 根据权利要求 23至 25中任一项所述的光网络单元, 其特征在于, 所述发送模块发送的所述波长信息还包括所述 ONU的下行波长调节能力信 息, 所述下行波长调节能力信息包括下列信息中的至少一种: 下行波长调节 间隔、 下行波长数、 可调滤波器的波长调节范围、 每个下行波长调节间隔的 调节时间和下行波长调节速度。
27、一种以太网无源光网络 EPON***中的光线路终端 OLT,所述 EPON ***包括光线路终端 OLT和光网络单元 ONU, 所述 OLT与所述 ONU之间 基于多个下行波长和一个上行波长进行通信, 其特征在于, 所述 OLT包括: 请求消息,所述波长切换请求消息用于指示所述 ONU切换至目标下行波长, 并且所述波长切换请求消息包括用于指示所述目标下行波长的目标波长信 息, 以及用于指示下行波长切换的起止时间的切换时间信息;
接收模块, 用于在所述上行波长通道上, 接收所述 ONU根据所述发送 模块发送的所述波长切换请求消息而发送的波长切换确认消息, 所述波长切 换确认消息用于指示所述 ONU确定执行所述下行波长切换;
其中, 所述发送模块还用于: 在所述起止时间内, 在与所述目标下行波 长相应的目标下行波长通道上向所述 ONU发送波长切换 4吏权消息, 所述波 长切换授权消息用于对所述 ONU进行授权;
所述接收模块还用于: 当所述 ONU在所述起止时间内成功切换到所述 目标下行波长时, 在所述上行波长通道上接收所述 ONU根据所述发送模块 发送的所述波长切换 4吏权消息而发送的波长切换完成消息, 所述波长切换完 成消息用于指示所述 ONU 在所述起止时间内成功切换到所述目标下行波 长。
28、 根据权利要求 27所述的光线路终端, 其特征在于, 所述发送模块 还用于: 在所述目标下行波长通道上, 根据所述波长切换完成消息向所述 ONU发送波长切换成功消息, 所述波长切换成功消息用于指示光线路终端 OLT确认所述 ONU下行波长切换成功。
29、 根据权利要求 27所述的光线路终端, 其特征在于, 所述发送模块 还用于: 当在所述起止时间内没有接收到所述 ONU发送的所述波长切换完 成消息时, 仅在所述源下行波长通道上向所述 ONU发送所述波长切换授权 消息;
所述接收模块还用于: 在所述上行波长通道上, 接收所述 ONU根据所 述波长切换 4吏权消息发送的波长切换未完成消息, 所述波长切换未完成消息 用于指示所述 ONU在所述起止时间内未成功切换到所述目标下行波长。
30、 根据权利要求 29所述的光线路终端, 其特征在于, 所述发送模块 还用于: 在所述源下行波长通道上, 根据所述波长切换未完成消息向所述 ONU发送波长切换未成功消息, 所述波长切换未成功消息用于指示 OLT确 认所述 ONU下行波长切换未成功。
31、 根据权利要求 27至 30中任一项所述的光线路终端, 其特征在于, 所述波长切换请求消息、 所述波长切换确认消息、 所述波长切换授权消息和 所述波长切换完成消息中的至少一种消息为多点控制协议 MPCP 消息或运 营管理维护 OAM消息。
32、 一种以太网无源光网络 EPON ***中的光网络单元 ONU, 所述
EPON***包括光线路终端 OLT和光网络单元 ONU,所述 OLT与所述 ONU 之间基于多个下行波长和一个上行波长进行通信, 其特征在于, 所述 ONU 包括:
接收模块, 用于在源下行波长通道上接收光线路终端 OLT发送的波长 切换请求消息, 所述波长切换请求消息用于指示光网络单元 ONU切换至目 标下行波长, 并且所述波长切换请求消息包括用于指示所述目标下行波长的 目标波长信息, 以及用于指示下行波长切换的起止时间的切换时间信息; 发送模块, 用于在所述上行波长通道上, 根据所述接收模块接收的所述 波长切换请求消息向所述 OLT发送波长切换确认消息, 所述波长切换确认 消息用于指示所述 ONU确定执行所述下行波长切换;
其中, 所述接收模块还用于: 当所述 ONU在所述起止时间内成功切换 到所述目标下行波长时, 接收所述 OLT在与所述目标下行波长相应的目标 下行波长通道上发送的波长切换 4吏权消息, 所述波长切换 4吏权消息用于对所 述 ONU进行 4受权;
所述发送模块还用于: 在所述上行波长通道上, 根据所述接收模块接收 的所述波长切换 4吏权消息向所述 OLT发送波长切换完成消息, 所述波长切 换完成消息用于指示所述 ONU在所述起止时间内成功切换到所述目标下行 波长。
33、 根据权利要求 32所述的光网络单元, 其特征在于, 所述接收模块 还用于: 在所述目标下行波长通道上, 接收所述 OLT根据所述波长切换完 成消息发送的波长切换成功消息,所述波长切换成功消息用于指示所述 OLT 确认所述 ONU下行波长切换成功。
34、 根据权利要求 32所述的光网络单元, 其特征在于, 所述接收模块 还用于: 当所述 ONU在所述起止时间内未成功切换到所述目标下行波长时, 在所述起止时间超时后, 接收所述 OLT仅在所述源下行波长通道上发送的 所述波长切换授权消息;
所述发送模块还用于: 在所述上行波长通道上, 根据所述波长切换授权 消息向所述 OLT发送波长切换未完成消息, 所述波长切换未完成消息用于 指示所述 ONU在所述起止时间内未成功切换到所述目标下行波长。
35、 根据权利要求 34所述的光网络单元, 其特征在于, 所述接收模块 还用于: 在所述源下行波长通道上, 接收所述 OLT根据所述波长切换未完 成消息发送的波长切换未成功消息, 所述波长切换未成功消息用于指示所述 OLT确认所述 ONU下行波长切换未成功。
36、 根据权利要求 32至 35中任一项所述的光网络单元, 其特征在于, 所述波长切换请求消息、 所述波长切换确认消息、 所述波长切换授权消息和 所述波长切换完成消息中的至少一种消息为多点控制协议 MPCP 消息或运 营管理维护 OAM消息。
PCT/CN2014/083210 2014-07-29 2014-07-29 以太网无源光网络***中设备注册和波长切换的方法和装置 WO2016015216A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201480008121.9A CN105830369B (zh) 2014-07-29 2014-07-29 以太网无源光网络***中设备注册和波长切换的方法和装置
PCT/CN2014/083210 WO2016015216A1 (zh) 2014-07-29 2014-07-29 以太网无源光网络***中设备注册和波长切换的方法和装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/083210 WO2016015216A1 (zh) 2014-07-29 2014-07-29 以太网无源光网络***中设备注册和波长切换的方法和装置

Publications (1)

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

Family

ID=55216583

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/083210 WO2016015216A1 (zh) 2014-07-29 2014-07-29 以太网无源光网络***中设备注册和波长切换的方法和装置

Country Status (2)

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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108234059A (zh) * 2016-12-14 2018-06-29 中国电信股份有限公司 用于实现onu注册的方法、onu、olt和***
CN109803185A (zh) * 2017-11-15 2019-05-24 中兴通讯股份有限公司 一种onu和olt的匹配方法、装置及存储介质
TWI693802B (zh) * 2018-01-26 2020-05-11 大陸商華為技術有限公司 無源光網路系統、光線路終端、光網路單元及無源光網路系統中的資訊傳輸方法

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA3044720C (en) 2016-11-23 2024-01-02 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 (zh) * 2018-09-25 2022-10-11 中兴通讯股份有限公司 光网络的通信方法、olt、onu、光网络***

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101742365A (zh) * 2008-11-12 2010-06-16 华为技术有限公司 一种无源光网络pon波长分配方法、装置及***
CN101827289A (zh) * 2010-05-24 2010-09-08 烽火通信科技股份有限公司 一种wdm-epon无源光网络***中远端设备获取波长值方法
CN103391486A (zh) * 2012-05-09 2013-11-13 中兴通讯股份有限公司 一种进行波长调整的方法及光线路终端及光网络单元
CN103841473A (zh) * 2012-11-23 2014-06-04 中兴通讯股份有限公司 一种光网络单元的注册激活方法、***及设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013153237A (ja) * 2010-03-30 2013-08-08 Nec Corp 波長分割多重受動光ネットワークシステム
US9219566B2 (en) * 2011-04-08 2015-12-22 Futurewei Technologies, Inc. Wavelength management in multiple-wavelength passive optical networks
US9667377B2 (en) * 2011-04-08 2017-05-30 Futurewei Technologies, Inc. Wavelength indication in multiple-wavelength passive optical networks
JP2015522992A (ja) * 2012-05-23 2015-08-06 ▲ホア▼▲ウェイ▼技術有限公司 多波長パッシブ光ネットワーク上での波長切替えのための方法、システム、および装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101742365A (zh) * 2008-11-12 2010-06-16 华为技术有限公司 一种无源光网络pon波长分配方法、装置及***
CN101827289A (zh) * 2010-05-24 2010-09-08 烽火通信科技股份有限公司 一种wdm-epon无源光网络***中远端设备获取波长值方法
CN103391486A (zh) * 2012-05-09 2013-11-13 中兴通讯股份有限公司 一种进行波长调整的方法及光线路终端及光网络单元
CN103841473A (zh) * 2012-11-23 2014-06-04 中兴通讯股份有限公司 一种光网络单元的注册激活方法、***及设备

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108234059A (zh) * 2016-12-14 2018-06-29 中国电信股份有限公司 用于实现onu注册的方法、onu、olt和***
CN108234059B (zh) * 2016-12-14 2019-12-31 中国电信股份有限公司 用于实现onu注册的方法、onu、olt和***
CN109803185A (zh) * 2017-11-15 2019-05-24 中兴通讯股份有限公司 一种onu和olt的匹配方法、装置及存储介质
CN109803185B (zh) * 2017-11-15 2022-01-07 中兴通讯股份有限公司 一种onu和olt的匹配方法、装置及存储介质
TWI693802B (zh) * 2018-01-26 2020-05-11 大陸商華為技術有限公司 無源光網路系統、光線路終端、光網路單元及無源光網路系統中的資訊傳輸方法
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
CN105830369B (zh) 2018-09-21
CN105830369A (zh) 2016-08-03

Similar Documents

Publication Publication Date Title
US10389472B2 (en) Optical line terminal communication method and device with data structure
WO2016015216A1 (zh) 以太网无源光网络***中设备注册和波长切换的方法和装置
TW201145853A (en) Methods and apparatus for extending MAC control messages in EPON
JP6400111B2 (ja) 光回線終端/光ネットワークユニット波長調節方法及び装置
WO2021259216A1 (zh) 一种认证方法、装置、设备及存储介质
WO2011127731A1 (zh) 光网络单元的注册激活方法及***
WO2016023180A1 (zh) 无源光网络的通信方法、装置以及***
JP2015088815A (ja) 宅側装置、ponシステムおよび宅側装置の制御方法
WO2012136102A1 (zh) 控制同轴宽带接入终端的方法和***
US7496295B2 (en) Optical-inclusive dWDM local area network
US9615153B2 (en) System and method for applying an extended multipoint protocol to wireless access systems
EP2995024A1 (en) Method and apparatus for reconfiguring wavelength of optical network unit
CN108702213B (zh) 一种无源光网络调制格式切换的方法、装置和***
JP4947729B2 (ja) 局側装置
JP5578023B2 (ja) 局側装置、宅側装置、光通信システム、および光通信システムの制御方法
WO2015188298A1 (zh) 无源光网络中波长初始化和设备注册的方法和装置
WO2010119586A1 (ja) 通信システム、通信方法および通信装置
WO2014036682A1 (zh) 避免注册冲突的方法、装置及***
WO2015100534A1 (zh) 以太网无源光网络的通信方法、设备和***
US9210029B2 (en) Logical link identifier registration method, device, and system
JP2016086222A (ja) ネットワークシステム、ファームウェア更新方法、局側終端装置及び加入者側終端装置
WO2024061047A1 (zh) 通信控制方法、olt、onu、计算机可读介质
JP5591681B2 (ja) 親局通信装置、光通信ネットワークシステム、及び通信方法
WO2012163039A1 (zh) 通信保护的方法和装置
WO2015022807A1 (ja) 親局装置、制御装置、通信システムおよび通信方法

Legal Events

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

Ref document number: 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