TW201531045A - Method, system and device for switching wavelength of multi-wavelength passive optical network (pon) - Google Patents

Method, system and device for switching wavelength of multi-wavelength passive optical network (pon) Download PDF

Info

Publication number
TW201531045A
TW201531045A TW104113481A TW104113481A TW201531045A TW 201531045 A TW201531045 A TW 201531045A TW 104113481 A TW104113481 A TW 104113481A TW 104113481 A TW104113481 A TW 104113481A TW 201531045 A TW201531045 A TW 201531045A
Authority
TW
Taiwan
Prior art keywords
wavelength
optical network
network unit
optical
switching
Prior art date
Application number
TW104113481A
Other languages
Chinese (zh)
Inventor
Bo Gao
jian-he Gao
Original Assignee
Huawei Tech Co Ltd
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 Huawei Tech Co Ltd filed Critical Huawei Tech Co Ltd
Publication of TW201531045A publication Critical patent/TW201531045A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0005Switch and router aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0227Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
    • H04J14/0241Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths
    • H04J14/0242Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths in WDM-PON
    • H04J14/0245Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths in WDM-PON for downstream transmission, e.g. optical line terminal [OLT] to ONU
    • H04J14/0246Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths in WDM-PON for downstream transmission, e.g. optical line terminal [OLT] to ONU using one wavelength per ONU
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0227Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
    • H04J14/0241Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths
    • H04J14/0242Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths in WDM-PON
    • H04J14/0245Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths in WDM-PON for downstream transmission, e.g. optical line terminal [OLT] to ONU
    • H04J14/0247Sharing one wavelength for at least a group of ONUs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0227Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
    • H04J14/0241Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths
    • H04J14/0242Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths in WDM-PON
    • H04J14/0249Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths in WDM-PON for upstream transmission, e.g. ONU-to-OLT or ONU-to-ONU
    • H04J14/025Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths in WDM-PON for upstream transmission, e.g. ONU-to-OLT or ONU-to-ONU using one wavelength per ONU, e.g. for transmissions from-ONU-to-OLT or from-ONU-to-ONU
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0227Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
    • H04J14/0241Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths
    • H04J14/0242Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths in WDM-PON
    • H04J14/0249Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths in WDM-PON for upstream transmission, e.g. ONU-to-OLT or ONU-to-ONU
    • H04J14/0252Sharing one wavelength for at least a group of ONUs, e.g. for transmissions from-ONU-to-OLT or from-ONU-to-ONU
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0227Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
    • H04J14/0254Optical medium access
    • H04J14/0256Optical medium access at the optical channel layer
    • H04J14/0257Wavelength assignment algorithms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0227Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
    • H04J14/0254Optical medium access
    • H04J14/0256Optical medium access at the optical channel layer
    • H04J14/0258Wavelength identification or labelling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0227Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
    • H04J14/0254Optical medium access
    • H04J14/0267Optical signaling or routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0278WDM optical network architectures
    • H04J14/0282WDM tree architectures

Landscapes

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

Abstract

The present application provides a method for wavelength switching on a multi-wavelength passive optical network, including: duplicating, when an optical network unit needs to switch from a first wavelength channel to a second wavelength channel, downlink data to be sent to the optical network unit into multiple copies, and sending the multiple copies of the downlink data to the optical network unit separately through multiple wavelength channels, where the multiple wavelength channels include at least the first wavelength channel and the second wavelength channel; sending a downlink wavelength switching command to the optical network unit to instruct the optical network unit to switch a downlink receiving wavelength of the optical network unit to a downlink wavelength of the second wavelength channel; and stopping downlink data duplication and sending the downlink data to the optical network unit only through the second wavelength channel after determining that the downlink receiving wavelength switching of the optical network unit is successful. The present application further provides a multi-wavelength passive optical network system and an apparatus for wavelength switching in the multi-wavelength passive optical network system.

Description

多波長無源光網路的波長切換方法、系統和裝置 Wavelength switching method, system and device for multi-wavelength passive optical network

本申請主要有關光通信技術,特別地,有關一種多波長無源光網路(Passive Optical Network,PON)的波長切換方法、系統和裝置。 The present application relates to optical communication technologies, and in particular, to a wavelength switching method, system, and apparatus for a multi-wavelength passive optical network (PON).

無源光網路(PON)技術是目前一種主要的寬帶接入技術。傳統的PON系統是一種基於時分複用(Time Division Multiplexing,TDM)機制的點到多點網路系統,請參閱圖1,通常PON系統包括位於局側的光線路終端(Optical Line Terminal,OLT)、位於用戶側的多個光網路單元(Optical Network Unit,ONU)以及連接在上述OLT和ONU之間的光分配網路(Optical Distributing Network,ODN)。其中,上述ODN用於分發或複用OLT和ONU之間的資料信號,以使上述多個ONU可以共用光傳輸通道。在上述基於TDM機制的PON系統中,從OLT到ONU的方向稱為下行,由OLT按照TDM方式將下行資料流程廣播到所有ONU,各個ONU只接收帶有自身標識的資料;從ONU到OLT的方向為上行,由於各個ONU共用光傳 輸通道,為了保證各個ONU的上行資料不發生衝突,上述PON系統在上行方向採用時分多址(Time Division Multiple Access,TDMA)方式,即由OLT為每個ONU分配時隙,各個ONU嚴格按照上述OLT分配的時隙發送上行資料。 Passive Optical Network (PON) technology is currently a major broadband access technology. The traditional PON system is a point-to-multipoint network system based on Time Division Multiplexing (TDM) mechanism. Referring to Figure 1, the PON system usually includes an optical line terminal (OLT) located at the office side. ), an optical network unit (ONU) located on the user side, and an optical distribution network (ODN) connected between the OLT and the ONU. The ODN is used to distribute or multiplex data signals between the OLT and the ONU, so that the multiple ONUs can share the optical transmission channel. In the PON system based on the TDM mechanism, the direction from the OLT to the ONU is called downlink. The OLT broadcasts the downlink data flow to all ONUs according to the TDM mode. Each ONU receives only the data with its own identity; from the ONU to the OLT. The direction is uplink, because each ONU shares the light transmission In the transmission channel, in order to ensure that the uplink data of each ONU does not conflict, the PON system uses Time Division Multiple Access (TDMA) in the uplink direction, that is, the OLT allocates time slots for each ONU, and each ONU strictly follows The time slot allocated by the OLT described above transmits uplink data.

不過,由於上述PON系統採用TDM機制,受TDM機制的時分特性的影響,上述PON系統的用戶可用帶寬通常會受到限制,且另一方面又無法有效利用光纖自身的可用帶寬,因此無法滿足不斷出現的寬帶網路應用業務的需求。為解決上述問題,同時考慮相容現有的PON系統,業界提出了融合波分複用(Wavelength Division Multiplexing,WDM)技術和TDM技術的混合PON系統,在上述混合PON中,局端OLT與用戶側ONU之間採用多個波長通道進行資料收發,即上述混合PON系統是一種多波長的PON系統。 However, since the above PON system adopts the TDM mechanism, due to the time division characteristics of the TDM mechanism, the available bandwidth of the PON system is generally limited, and on the other hand, the available bandwidth of the optical fiber itself cannot be effectively utilized, and thus cannot be continuously satisfied. The emergence of broadband network application business needs. In order to solve the above problems and consider compatibility with the existing PON system, the industry proposes a hybrid PON system combining Wavelength Division Multiplexing (WDM) technology and TDM technology. In the above hybrid PON, the central office OLT and the user side The ONU uses multiple wavelength channels for data transmission and reception, that is, the above hybrid PON system is a multi-wavelength PON system.

在上述混合PON系統中,每個ONU分別工作在其中一個波長通道,在下行方向,上述OLT採用每一個波長通道分別對應的下行波長將下行資料廣播給工作在上述波長通道的多個ONU;而在上行方向,每一個波長通道的ONU可以在上述OLT分配的時隙中採用該波長通道的上行波長向上述OLT發送上行資料。並且,上述ONU上行發射波長和下行接收波長是可以動態調整的,當上述上行發射波長和下行接收波長調整到某個波長通道的上下行波長時,上述ONU便可以分別工作在上述波長通道。在實際工作中,為實現上述混合PON系統各個波長通道之間的負載均衡(Load Balance),OLT在ONU的工作過程中可能需要指令ONU進行波長切換,比如, 當波長通道A的負載過大而波長通道B空閒時,上述OLT可以通過波長切換指令控制原來工作在上述波長通道A的部分ONU通過調整其上行發射波長和下行接收波長的方式切換到上述波長通道B。 In the hybrid PON system, each ONU operates in one of the wavelength channels, and in the downlink direction, the OLT broadcasts downlink data to the plurality of ONUs operating in the wavelength channel by using respective downlink wavelengths corresponding to each wavelength channel; In the uplink direction, the ONU of each wavelength channel can use the uplink wavelength of the wavelength channel to send uplink data to the OLT in the time slot allocated by the OLT. Moreover, the ONU uplink transmission wavelength and the downlink reception wavelength are dynamically adjustable. When the uplink transmission wavelength and the downlink reception wavelength are adjusted to the uplink and downlink wavelengths of a certain wavelength channel, the ONUs can respectively operate in the wavelength channel. In actual work, in order to achieve load balancing between the wavelength channels of the hybrid PON system, the OLT may need to instruct the ONU to perform wavelength switching during the operation of the ONU. For example, When the load of the wavelength channel A is too large and the wavelength channel B is idle, the OLT can control a part of the ONUs that are working in the wavelength channel A to switch to the wavelength channel B by adjusting the uplink transmission wavelength and the downlink reception wavelength by using the wavelength switching command. .

不過,在上述混合PON系統中,在進行某一個ONU的波長切換過程中,上述OLT通常需要先將發送給上述ONU的下行資料緩存起來,並暫停對上述ONU的上行帶寬授權,同時上述ONU也需要將發送給上述OLT的上行資料緩存起來;直到波長切換完成之後,上述OLT和ONU才恢復正常業務通信,進行上下行資料的收發。也就是說,在上述波長切換過程中上述OLT和ONU之間的業務處於中斷狀態,由於通常波長切換過程需要持續幾百毫秒至幾秒,採用上述波長切換方法會降低用戶對於語音、視頻等即時業務的用戶體驗,在出現流量擁塞或出現突發時,還可能會導致資料丟包,從而影響業務質量。 However, in the hybrid PON system, in the wavelength switching process of an ONU, the OLT usually needs to buffer the downlink data sent to the ONU first, and suspend the uplink bandwidth authorization of the ONU, and the ONU also The uplink data sent to the OLT needs to be cached; after the wavelength switching is completed, the OLT and the ONU resume normal service communication, and transmit and receive uplink and downlink data. That is, in the foregoing wavelength switching process, the service between the OLT and the ONU is in an interrupted state. Since the wavelength switching process generally needs to last for several hundred milliseconds to several seconds, the above wavelength switching method may reduce the user's instant voice, video, and the like. The user experience of the service may cause data loss when the traffic is congested or a burst occurs, thus affecting the quality of the service.

針對上述問題,本申請提供一種可以有效降低多波長PON系統在ONU波長切換過程中對業務影響的波長切換方法,以提高業務質量、改善業務質量。並且,基於上述波長切換方法,本申請還提供一種多波長PON系統及其波長切換裝置。 To solve the above problems, the present application provides a wavelength switching method that can effectively reduce the impact of a multi-wavelength PON system on a service in an ONU wavelength switching process, so as to improve service quality and improve service quality. Moreover, based on the above wavelength switching method, the present application further provides a multi-wavelength PON system and a wavelength switching device thereof.

一種多波長無源光網路的波長切換方法,包括當判斷出所述光網路單元需要進行波長切換時,向所述光網路單元下達波長切換指示之前,在多個不同的波長通道分別給所述 光網路單元預留相同的時隙,以授權所述光網路單元在波長通道切換過程中可以按照所述光網路單元在當前時刻調整到的上行發射波長;在所述預留的時隙,接收所述光網路單元發送的資料。 A wavelength switching method for a multi-wavelength passive optical network includes: when it is determined that the optical network unit needs to perform wavelength switching, before the wavelength switching indication is sent to the optical network unit, respectively, in a plurality of different wavelength channels respectively Give the said The optical network unit reserves the same time slot to authorize the optical network unit to adjust the uplink transmission wavelength to be adjusted by the optical network unit at the current time during the wavelength channel switching; And receiving the data sent by the optical network unit.

一種多波長無源光網路的波長切換方法,包括光網路單元在波長通道切換過程中,調整上行發射波長;根據光線路終端在多個不同的波長通道分別給所述光網路單元預留相同的時隙,通過所述調整後的波長通道向所述光線路終端發送資料。 A wavelength switching method for a multi-wavelength passive optical network, comprising: adjusting, by an optical network unit, an uplink transmission wavelength during a wavelength channel switching process; and respectively pre-treating the optical network unit according to an optical line terminal in a plurality of different wavelength channels The same time slot is left, and the data is transmitted to the optical line terminal through the adjusted wavelength channel.

一種光線路終端,其特徵在於,所述光線路終端,用於當判斷出所述光網路單元需要進行波長切換時,向所述光網路單元下達波長切換指示之前,在多個不同的波長通道分別給所述光網路單元預留相同的時隙,以授權所述光網路單元在波長通道切換過程中可以按照所述光網路單元在當前時刻調整到的上行發射波長;在所述預留的時隙,接收所述光網路單元發送的資料。 An optical line terminal, wherein the optical line terminal is configured to: when it is determined that the optical network unit needs to perform wavelength switching, before the wavelength switching indication is sent to the optical network unit, in a plurality of different The wavelength channel respectively reserves the same time slot for the optical network unit to authorize the optical network unit to adjust the uplink transmission wavelength to be adjusted by the optical network unit at the current time during the wavelength channel switching; The reserved time slot receives the data sent by the optical network unit.

一種光網路單元,其特徵在於,所述光網路單元,用於光網路單元在波長通道切換過程中,調整上行發射波長;根據光線路終端在多個不同的波長通道分別給所述光網路單元預留相同的時隙,通過所述調整後的波長通道向所述光線路終端發送資料。 An optical network unit, wherein the optical network unit is configured to adjust an uplink transmit wavelength during a wavelength channel switching process of the optical network unit; and respectively, according to the optical line terminal, in the multiple different wavelength channels The optical network unit reserves the same time slot, and sends data to the optical line terminal through the adjusted wavelength channel.

一種多波長無源光網路系統,具有M個波長通道,M大於1,其特徵在於,所述多波長無源光網路系統包括至少一個光線路終端、多個光網路單元和光分配網路,其中所 述光線路終端通過所述光分配網路連接到所述多個光網路單元。 A multi-wavelength passive optical network system having M wavelength channels, M is greater than 1, wherein the multi-wavelength passive optical network system includes at least one optical line terminal, multiple optical network units, and an optical distribution network. Road, where The optical line terminal is connected to the plurality of optical network units through the optical distribution network.

一種多波長PON的波長切換方法,包括:在光網路單元需要從第一波長通道切換到第二波長通道時,將待發送給上述光網路單元的下行資料複製成多份,並分別通過多個波長通道分別將上述多份下行資料發送給上述光網路單元,上述多個波長通道至少包括第一波長通道和第二波長通道;向上述光網路單元發送下行波長切換命令,指示上述光網路單元將其下行接收波長切換到上述第二波長通道的下行波長;在判斷出上述光網路單元的下行接收波長切換成功之後,停止下行資料複製,只通過上述第二波長通道向上述光網路單元發送上述下行資料。 A wavelength switching method for a multi-wavelength PON includes: when an optical network unit needs to switch from a first wavelength channel to a second wavelength channel, copying downlink data to be sent to the optical network unit into multiple copies, and respectively passing And transmitting, by the plurality of wavelength channels, the plurality of downlink data to the optical network unit, where the plurality of wavelength channels include at least a first wavelength channel and a second wavelength channel; and transmitting a downlink wavelength switching command to the optical network unit, indicating the foregoing The optical network unit switches the downlink receiving wavelength to the downlink wavelength of the second wavelength channel; after determining that the downlink receiving wavelength of the optical network unit is successfully switched, the downlink data replication is stopped, and only the second wavelength channel is used to The optical network unit sends the downlink data.

一種多波長PON的波長切換裝置,包括:資料處理模組,用於在光網路單元需要從第一波長通道切換到第二波長通道時,將待發送給上述光網路單元的下行資料複製成多份;發送模組,用於分別通過多個波長通道分別將上述多份下行資料發送給上述光網路單元,上述多個波長通道至少包括第一波長通道和第二波長通道;控制模組,用於控制上述發送模組向上述光網路單元發送下行波長切換命令,指示上述光網路單元將其下行接收波長切換到上述第二波長通道的下行波長,並在判斷出上述光網路單元的下行接收波長切換成功之後,控制上述資料處理模組停止下行資料複製,並控制上述發送模組只通過上述第二波長通道向上述光網路單元發送上述下行資料。 A wavelength switching device for a multi-wavelength PON, comprising: a data processing module, configured to: when an optical network unit needs to switch from a first wavelength channel to a second wavelength channel, copy downlink data to be sent to the optical network unit a plurality of transmission modules, configured to respectively send the plurality of downlink data to the optical network unit through multiple wavelength channels, where the plurality of wavelength channels include at least a first wavelength channel and a second wavelength channel; a group, configured to control the sending module to send a downlink wavelength switching command to the optical network unit, instructing the optical network unit to switch its downlink receiving wavelength to a downlink wavelength of the second wavelength channel, and determining the optical network After the downlink receiving wavelength of the road unit is successfully switched, the data processing module is controlled to stop the downlink data copying, and the transmitting module is configured to send the downlink data to the optical network unit only through the second wavelength channel.

一種多波長PON系統,具有M個波長通道,M大於1,上述多波長無源光網路系統包括至少一個光線路終端、多個光網路單元和光分配網路,其中上述光線路終端通過上述光分配網路連接到上述多個光網路單元;上述光線路終端,用於在光網路單元需要從第一波長通道切換到第二波長通道時,將待發送給光網路單元的下行資料複製成多份,並分別通過至少包括上述第一波長通道和上述第二波長通道的多個波長通道分別將上述多份下行資料發送給上述光網路單元;並向上述光網路單元發送下行波長切換命令,指示上述光網路單元將其下行接收波長切換到上述第二波長通道的下行波長;並且,在判斷出上述光網路單元的下行接收波長切換成功之後,停止下行資料複製,只通過上述第二波長通道向上述光網路單元發送上述下行資料。 A multi-wavelength PON system having M wavelength channels, M is greater than 1, the multi-wavelength passive optical network system comprising at least one optical line terminal, a plurality of optical network units, and an optical distribution network, wherein the optical line terminal passes the foregoing The optical distribution network is connected to the plurality of optical network units; and the optical line terminal is configured to send the downlink to be sent to the optical network unit when the optical network unit needs to switch from the first wavelength channel to the second wavelength channel. Copying the data into a plurality of copies, and respectively transmitting the plurality of downlink data to the optical network unit by using a plurality of wavelength channels including at least the first wavelength channel and the second wavelength channel; and transmitting the data to the optical network unit The downlink wavelength switching command instructs the optical network unit to switch the downlink receiving wavelength to the downlink wavelength of the second wavelength channel; and after determining that the downlink receiving wavelength of the optical network unit is successfully switched, stopping downlink data replication, The downlink data is sent to the optical network unit only through the second wavelength channel.

在本申請提供的多波長PON的波長切換方法、系統和裝置中,由於在上述光網路單元在進行波長通道切換之前,上述光線路終端將下行資料進行複製並分別通過多個波長通道同時發送上述下行資料,從而保證上述光網路單元在波長通道切換過程中不管其當前下行接收波長處於哪個波長狀態都可以從相應的波長通道接收到上述下行資料,因此,即使上述波長切換過程需要持續相對較長的時間段,採用本申請提供的技術方案仍可以有效保證在波長通道切換過程中下行業務暢通,即避免下行業務在上述波長通道切換過程中處於中斷狀態,從而提高用戶對於語音、視頻等即時業務的用戶體驗,有效減小資料丟包,保證業務質量。 In the method, system and device for wavelength switching of a multi-wavelength PON provided by the present application, before the optical network unit performs wavelength channel switching, the optical line terminal copies the downlink data and simultaneously transmits the data through multiple wavelength channels. The downlink data is used to ensure that the optical network unit can receive the downlink data from the corresponding wavelength channel in the wavelength channel switching process regardless of the wavelength state of the current downlink receiving wavelength, and therefore, even if the wavelength switching process needs to continue to be relative In the longer period of time, the technical solution provided by the present application can effectively ensure that the downlink service is smooth during the wavelength channel switching process, that is, the downlink service is prevented from being interrupted during the above wavelength channel switching process, thereby improving the user's voice, video, and the like. The user experience of the instant service effectively reduces data loss and ensures the quality of the service.

100‧‧‧多波長無源光網路系統 100‧‧‧Multi-wavelength passive optical network system

110‧‧‧光線路終端 110‧‧‧ Optical line terminal

111‧‧‧光耦合器 111‧‧‧Optocoupler

112‧‧‧第一波分複用器 112‧‧‧First Wavelength Division Multiplexer

113‧‧‧第二波分複用器 113‧‧‧Secondary wavelength division multiplexer

114‧‧‧處理模組 114‧‧‧Processing module

120‧‧‧光網路單元 120‧‧‧Optical network unit

130‧‧‧光分配網路 130‧‧‧Light distribution network

131‧‧‧主幹光纖 131‧‧‧Main fiber

132‧‧‧光功率分路模組 132‧‧‧Optical power shunt module

133‧‧‧分支光纖 133‧‧‧Band fiber

Tx1~Tx4‧‧‧下行光發射器 Tx1~Tx4‧‧‧ Downstream Light Emitter

Rx1~Rx4‧‧‧上行光接收器 Rx1~Rx4‧‧‧Upstream optical receiver

700‧‧‧波長切換裝置 700‧‧‧wavelength switching device

710‧‧‧資料處理模組 710‧‧‧ Data Processing Module

720‧‧‧發送模組 720‧‧‧Transmission module

730‧‧‧控制模組 730‧‧‧Control Module

740‧‧‧接收模組 740‧‧‧ receiving module

750‧‧‧判斷模組 750‧‧‧Judgement module

為了更清楚地說明本發明實施例或現有技術中的技術方案,下面將對實施例中所需要使用的附圖作簡單地介紹,顯而易見地,下面描述中的附圖僅僅是本發明的一些實施例,對於本領域普通技術人員來講,在不付出創造性勞動的前提下,還可以根據這些附圖獲得其他的附圖。 In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some implementations of the present invention. For example, other drawings may be obtained from those of ordinary skill in the art in light of the inventive work.

圖1是一種基於時分複用機制的無源光網路系統的網路架構示意圖。 FIG. 1 is a schematic diagram of a network architecture of a passive optical network system based on a time division multiplexing mechanism.

圖2是本申請提供的多波長無源光網路系統一種實施例的網路架構示意圖。 2 is a schematic diagram of a network architecture of an embodiment of a multi-wavelength passive optical network system provided by the present application.

圖3是本申請提供的多波長無源光網路的波長切換方法第一種實施例的流程圖。 3 is a flow chart of a first embodiment of a wavelength switching method for a multi-wavelength passive optical network provided by the present application.

圖4是圖3所示的多波長無源光網路的波長切換方法中用於承載波長切換命令的PLOAM消息的消息格式示意圖。 4 is a schematic diagram of a message format of a PLOAM message for carrying a wavelength switching command in the wavelength switching method of the multi-wavelength passive optical network shown in FIG. 3.

圖5是本申請提供的多波長無源光網路的波長切換方法第二種實施例的流程圖。 FIG. 5 is a flowchart of a second embodiment of a wavelength switching method for a multi-wavelength passive optical network provided by the present application.

圖6是本申請提供的多波長無源光網路的波長切換方法第三種實施例的流程圖。 6 is a flow chart of a third embodiment of a wavelength switching method for a multi-wavelength passive optical network provided by the present application.

圖7是本申請提供的多波長無源光網路的波長切換方法第四種實施例的流程圖。 7 is a flow chart of a fourth embodiment of a wavelength switching method for a multi-wavelength passive optical network provided by the present application.

圖8是圖7所示的多波長無源光網路的波長切換方法中用於承載下行資料和下行發射波長資訊的EPON幀的幀結構示意圖。 FIG. 8 is a schematic diagram showing a frame structure of an EPON frame for carrying downlink data and downlink transmission wavelength information in the wavelength switching method of the multi-wavelength passive optical network shown in FIG. 7.

圖9是本申請提供的多波長無源光網路的波長切換方法第五種實施例的流程圖。 FIG. 9 is a flowchart of a fifth embodiment of a wavelength switching method for a multi-wavelength passive optical network provided by the present application.

圖10是本申請提供的多波長無源光網路的波長切換方法第六種實施例的流程圖。 FIG. 10 is a flowchart of a sixth embodiment of a wavelength switching method for a multi-wavelength passive optical network provided by the present application.

圖11是本申請提供的多波長無源光網路的波長切換裝置一種實施例的結構示意圖。 11 is a schematic structural diagram of an embodiment of a wavelength switching device for a multi-wavelength passive optical network provided by the present application.

下面將結合本發明實施例中的附圖,對本發明實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本發明一部分實施例,而不是全部的實施例。基於本發明中的實施例,本領域普通技術人員在沒有做出創造性勞動前提下所獲得的所有其他實施例,都屬於本發明保護的範圍。 The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.

請參閱圖2,本申請一種實施例提供的多波長無源光網路(Multiple Wavelength PON,MWPON)系統的網路架構示意圖。上述多波長無源光網路系統100包括至少一個光線路終端(OLT)110、多個光網路單元(ONU)120和一個光分配網路(ODN)130,其中,上述光線路終端110通過上述光分配網路130以點到多點的方式連接到上述多個光網路單元120,其中上述多個光網路單元120共用上述光分配網路130的光傳輸介質。上述光分配網路130可以包括主幹光纖131、光功率分路模組132和多個分支光纖133,其中上述光功率分路模組132可以設置在遠端節點(Remote Node,RN),其一方面通過上述主幹光纖131連接到上述光線路終端110,另一方面通過上述多 個分支光纖133分別連接至上述多個光網路單元120。 2 is a schematic diagram of a network architecture of a multiple wavelengthlength optical PON (MWPON) system provided by an embodiment of the present application. The multi-wavelength passive optical network system 100 includes at least one optical line termination (OLT) 110, a plurality of optical network units (ONUs) 120, and an optical distribution network (ODN) 130, wherein the optical line terminations 110 pass The optical distribution network 130 is connected to the plurality of optical network units 120 in a point-to-multipoint manner, wherein the plurality of optical network units 120 share the optical transmission medium of the optical distribution network 130. The optical distribution network 130 may include a trunk optical fiber 131, an optical power splitting module 132, and a plurality of branch optical fibers 133. The optical power splitting module 132 may be disposed at a remote node (RN). The aspect is connected to the optical line terminal 110 by the above-mentioned trunk optical fiber 131, and on the other hand The branch fibers 133 are respectively connected to the plurality of optical network units 120.

在上述多波長無源光網路系統100中,上述光線路終端110和上述多個光網路單元120之間的通信鏈路可以包括多個波長通道,上述多個波長通道通過波分複用(WDM)方式共用上述光分配網路130的光傳輸介質。每個光網路單元120可以工作在上述多波長無源光網路系統100的其中一個波長通道,且每個波長通道可以承載一個或多個光網路單元120的業務。並且,工作在同一個波長通道的光網路單元120可以通過時分複用(TDM)方式共用上述波長通道。在本實施例中,如圖2所示,以上述多波長無源光網路系統100具有四個波長通道為例進行介紹,應當理解,在實際應用時,上述多波長無源光網路系統100的波長通道的數量還可以根據網路需要而定。 In the above multi-wavelength passive optical network system 100, the communication link between the optical line terminal 110 and the plurality of optical network units 120 may include a plurality of wavelength channels, and the plurality of wavelength channels are subjected to wavelength division multiplexing. The (WDM) mode shares the optical transmission medium of the optical distribution network 130 described above. Each optical network unit 120 can operate in one of the wavelength channels of the multi-wavelength passive optical network system 100 described above, and each wavelength channel can carry the traffic of one or more optical network units 120. Moreover, the optical network unit 120 operating in the same wavelength channel can share the above wavelength channel by time division multiplexing (TDM). In this embodiment, as shown in FIG. 2, the multi-wavelength passive optical network system 100 has four wavelength channels as an example. It should be understood that, in practical applications, the multi-wavelength passive optical network system described above. The number of wavelength channels of 100 can also be determined according to the needs of the network.

為便於描述,在本實施例中將上述多波長無源光網路系統100的四個波長通道分別命名為波長通道1、波長通道2、波長通道3和波長通道4,其中每個波長通道分別採用一對上下行波長,比如,上述波長通道1的上行波長和下行波長可以分別為λu1和λd1,上述波長通道2的上行波長和下行波長可以分別為λu2和λd2,上述波長通道3的上行波長和下行波長可以分別為λu3和λd3,上述波長通道4的上行波長和下行波長可以分別為λu4和λd4。每個波長通道可以分別具有對應的波長通道標識(比如,上述四個波長通道的通道號可以分別為1、2、3、4),即上述波長通道標識與其標識的波長通道的上下行波長具有匹配關係,上述光線路終端110和上述光網路單元120可以根據上述波長通道標識獲悉上述波長通道的 上行波長和下行波長。並且,在具體實施例中,上述波長通道1、波長通道2、波長通道3和波長通道4的上行波長λu1~λu4可以滿足λu1<λu2<λu3<λu4,同理,其下行波長λd1~λd4可以滿足λd1<λd2<λd3<λd4。 For convenience of description, in the present embodiment, the four wavelength channels of the multi-wavelength passive optical network system 100 are respectively named as wavelength channel 1, wavelength channel 2, wavelength channel 3, and wavelength channel 4, wherein each wavelength channel is respectively A pair of uplink and downlink wavelengths is used. For example, the upstream wavelength and the downstream wavelength of the wavelength channel 1 may be λu1 and λd1, respectively, and the upstream wavelength and the downstream wavelength of the wavelength channel 2 may be λu2 and λd2, respectively, and the upstream wavelength of the wavelength channel 3 is The and downstream wavelengths may be λu3 and λd3, respectively, and the upstream wavelength and the downstream wavelength of the wavelength channel 4 may be λu4 and λd4, respectively. Each of the wavelength channels may have a corresponding wavelength channel identifier (for example, the channel numbers of the four wavelength channels may be 1, 2, 3, and 4 respectively), that is, the wavelength channel identifier has the uplink and downlink wavelengths of the wavelength channel identified by the wavelength channel. The optical line terminal 110 and the optical network unit 120 can learn the wavelength channel according to the wavelength channel identifier. Upstream wavelength and downstream wavelength. Moreover, in a specific embodiment, the upstream wavelengths λu1 λλ4 of the wavelength channel 1, the wavelength channel 2, the wavelength channel 3, and the wavelength channel 4 may satisfy λu1<λu2<λu3<λu4, and the downlink wavelength λd1~λd4 may be the same. It satisfies λd1 < λd2 < λd3 < λd4.

在一種實施例中,上述光線路終端110可以包括光耦合器111、第一波分複用器112、第二波分複用器113、多個下行光發射器Tx1~Tx4、多個上行光接收器Rx1~Rx4和處理模組114。其中,上述多個下行光發射器Tx1~Tx4通過上述第一波分複用器112連接到上述光耦合器111,上述多個上行光接收器Rx1~Rx4通過上述第二波分複用器113連接到上述光耦合器111,上述耦合器111進一步連接到上述光分配網路130的主幹光纖131。 In an embodiment, the optical line terminal 110 may include an optical coupler 111, a first wavelength division multiplexer 112, a second wavelength division multiplexer 113, a plurality of downlink optical transmitters Tx1~Tx4, and multiple uplink lights. Receivers Rx1~Rx4 and processing module 114. The plurality of downstream optical transmitters Tx1 to Tx4 are connected to the optical coupler 111 through the first wavelength division multiplexer 112, and the plurality of upstream optical receivers Rx1 to Rx4 pass through the second wavelength division multiplexer 113. Connected to the above-described optical coupler 111, the above-described coupler 111 is further connected to the trunk optical fiber 131 of the optical distribution network 130.

上述多個下行光發射器Tx1~Tx4的發射波長各不相同,其中,每一個下行光發射器Tx1~Tx4可以分別對應上述多波長無源光網路系統100的其中一個波長通道,比如上述多個下行光發射器Tx1~Tx4的發射波長可以分別λd1~λd4。上述下行光發射器Tx1~Tx4可以分別利用其發射波長λd1~λd4將下行資料發射到對應的波長通道,以便被工作在上述波長通道的光網路120所接收。相對應地,上述多個上行光接收器Rx1~Rx4的接收波長可以各不相同,其中每一個上行光接收器Rx1~Rx4同樣分別對應上述多波長無源光網路系統100的其中一個波長通道,比如,上述多個上行光接收器Rx1~Rx4的接收波長可以分別λu1~λu4。上述上行光接收器Rx1~Rx4可以分別利用其接收波長λu1~λu4接收工作在對應波長通道的光網路單元120發 送的上行資料。 The emission wavelengths of the plurality of downlink optical transmitters Tx1 to Tx4 are different, and each of the downstream optical transmitters Tx1 to Tx4 may respectively correspond to one of the wavelength channels of the multi-wavelength passive optical network system 100, such as the above. The emission wavelengths of the downlink light emitters Tx1~Tx4 may be λd1~λd4, respectively. The downlink light emitters Tx1~Tx4 can respectively transmit downlink data to corresponding wavelength channels by using their emission wavelengths λd1~λd4, so as to be received by the optical network 120 operating in the above wavelength channel. Correspondingly, the receiving wavelengths of the plurality of uplink optical receivers Rx1 to Rx4 may be different, and each of the upstream optical receivers Rx1 to Rx4 also respectively correspond to one of the wavelength channels of the multi-wavelength passive optical network system 100. For example, the reception wavelengths of the plurality of upstream optical receivers Rx1 to Rx4 may be λu1 to λu4, respectively. The uplink optical receivers Rx1 to Rx4 can receive the optical network unit 120 operating in the corresponding wavelength channel by using the receiving wavelengths λu1 λλ4, respectively. Upstream information sent.

上述第一波分複用器112用於將上述多個下行光發射器Tx1~Tx4發射的波長分別為λd1~λd4的下行資料進行波分複用處理,並通過上述光耦合器111發送到上述光分配網路130的主幹光纖131,以通過上述光分配網路130將上述下行資料提供給上述光網路單元。並且,上述光耦合器111還可以用於將來自上述多個光網路單元120且波長分別為λu1~λu4的上行資料提供給上述第二波分複用器113,上述第二波分複用器113可以將上述波長分別為λu1~λu4的上行資料解複用到上述上行光接收器Rx1~Rx4進行資料接收。 The first wavelength division multiplexer 112 is configured to perform wavelength division multiplexing processing on the downlink data of the plurality of downlink optical transmitters Tx1 to Tx4 and having wavelengths of λd1 to λd4, respectively, and send the above-mentioned optical coupler 111 to the above. The backbone optical fiber 131 of the optical distribution network 130 provides the downlink data to the optical network unit through the optical distribution network 130. The optical coupler 111 can also be configured to provide uplink data from the plurality of optical network units 120 and having wavelengths λu1 λλ4 to the second wavelength division multiplexer 113, where the second wavelength division multiplexing The device 113 may demultiplex the uplink data having the above wavelengths λu1 to λu4 to the upstream optical receivers Rx1 to Rx4 for data reception.

上述處理模組114可以為媒介接入控制(Media Access Control,MAC)模組,其一方面可以通過波長協商為上述多個光網路單元120指定工作波長通道,並根據某個光網路單元120的工作波長通道,將待發送給上述光網路單元120的下行資料提供給與上述波長通道相對應的下行光發射器,以便上述下行光發射器將上述下行資料發射到上述波長通道,另一方面,上述處理模組114還可以對各個波長通道進行上行發送的動態帶寬分配(Dynamic Bandwidth Allocation,DBA),給通過TDM方式複用到同一個波長通道的光網路單元120分配上行發送時隙,以授權上述光網路單元120在指定的時隙通過其對應的波長通道發送上行資料。 The processing module 114 may be a Media Access Control (MAC) module, which may specify a working wavelength channel for the plurality of optical network units 120 by wavelength negotiation, and according to an optical network unit. a working wavelength channel of 120, the downlink data to be sent to the optical network unit 120 is provided to a downlink optical transmitter corresponding to the wavelength channel, so that the downlink optical transmitter transmits the downlink data to the wavelength channel, and another On the one hand, the processing module 114 can also perform Dynamic Bandwidth Allocation (DBA) for uplink transmission on each wavelength channel, and allocate uplink transmission to the optical network unit 120 multiplexed to the same wavelength channel by TDM. The slot is configured to authorize the optical network unit 120 to transmit uplink data through its corresponding wavelength channel in a designated time slot.

每個光網路單元120的上行發射波長和下行接收波長是可調的,上述光網路單元120可以跟根據上述光線路終端110指定的波長通道將其自身的上行發射波長和下行接收波 長分別調整到上述波長通道的上行波長和下行波長,從而實現通過上述波長通道進行上下行資料的發送和接收。比如,如果上述光線路終端110在波長協商過程中指示某一個光網路單元120工作到波長通道1,上述光網路單元120可以將其自身的上行發射波長和下行接收波長分別調整到第一上行波長λu1和第一下行波長λd1;如果上述光線路終端110指示上述光網路單元120工作到波長通道3,上述光網路單元120可以將其自身的上行發射波長和下行接收波長分別調整到第三上行波長λu3和第一下行波長λd3。 The uplink transmission wavelength and the downlink reception wavelength of each optical network unit 120 are adjustable, and the optical network unit 120 can perform its own uplink transmission wavelength and downlink reception wave according to the wavelength channel specified by the optical line terminal 110. The length is adjusted to the upstream wavelength and the downstream wavelength of the above wavelength channel, respectively, so that the uplink and downlink data are transmitted and received through the above wavelength channel. For example, if the optical line terminal 110 indicates that an optical network unit 120 is operating to the wavelength channel 1 during the wavelength negotiation, the optical network unit 120 can adjust its own uplink transmission wavelength and downlink reception wavelength to the first. The uplink wavelength λu1 and the first downlink wavelength λd1; if the optical line terminal 110 instructs the optical network unit 120 to operate to the wavelength channel 3, the optical network unit 120 can adjust its own uplink transmission wavelength and downlink reception wavelength respectively. Up to the third upstream wavelength λu3 and the first downstream wavelength λd3.

在具體實施例中,上述光網路單元120可以包括光耦合器121、下行光接收器122、上行光發射器123和處理模組124。其中,上述下行光接收器122和上述上行光發射器123通過上述光耦合器121連接到上述光網路單元120對應的分支光纖。上述光耦合器121可以一方面將上述上行光發射器123發送的上行資料提供到上述光分配網路130的分支光纖,以通過上述光分配網路130發送給上述光線路終端110;另一方面,上述光耦合器121還可以將上述光線路終端110通過上述光分配網路130發送的下行資料提供給上述下行光接收器122進行資料接收。 In a specific embodiment, the optical network unit 120 may include an optical coupler 121, a downstream optical receiver 122, an upstream optical transmitter 123, and a processing module 124. The downstream optical receiver 122 and the upstream optical transmitter 123 are connected to the branch optical fiber corresponding to the optical network unit 120 through the optical coupler 121. The optical coupler 121 can provide the uplink data sent by the upstream optical transmitter 123 to the branch fiber of the optical distribution network 130 to be sent to the optical line terminal 110 through the optical distribution network 130; The optical coupler 121 may further provide the downlink data sent by the optical line terminal 110 through the optical distribution network 130 to the downlink optical receiver 122 for data reception.

上述處理模組124可以是MAC模組,其可以與上述光線路終端110進行波長協商,並根據上述光線路終端110指定的波長通道,調整上述下行光接收器122的接收波長和上述上行光發射器123的發射波長(即調整上述光網路單元120的下行接收波長和上行發射波長),以使得上述光網路單元120 工作在上述光線路終端110指定的波長通道;另外,上述處理模組124還可以根據上述光線路終端110的動態帶寬分配結果,控制上述上行光發射器123在指定的時隙發送上行資料。 The processing module 124 may be a MAC module, and may perform wavelength negotiation with the optical line terminal 110, and adjust the receiving wavelength of the downlink optical receiver 122 and the uplink optical transmission according to the wavelength channel specified by the optical line terminal 110. The transmitting wavelength of the device 123 (ie, adjusting the downlink receiving wavelength and the uplink transmitting wavelength of the optical network unit 120), so that the optical network unit 120 is The processing module 124 is further configured to control the uplink optical transmitter 123 to send uplink data in a specified time slot according to the dynamic bandwidth allocation result of the optical line terminal 110.

當上述多波長無源光網路系統100運行時,如果上線的光網路單元120數量較多,一種較為理想情況是分別有部分光網路單元120工作在上述波長通道1、部分工作在上述波長通道2、部分工作在上述波長通道3、部分工作在上述波長通道4,並且各個波長通道的光網路單元120的數量基本相等。不過,在實際工作中,由於用戶動態上下線等原因,每個波長通道的光網路單元120的數量可能是不同的,比如有可能出現某一個波長通道的光網路單元120的數量較多,且另一個或多個波長通道的光網路單元120的數量較少甚至出現沒有光網路單元120使用的波長通道,即出現波長通道的負載不均衡。在這種情況下,較多光網路單元120使用的波長通道的負載較重,由於工作在同一個波長通道的光網路單元120採用TDM方式進行業務複用,當某一個波長通道的負載過重時可能會出現帶寬不足而影響上述光網路單元120的正常業務。 When the multi-wavelength passive optical network system 100 is in operation, if the number of uplink optical network units 120 is large, it is desirable that a part of the optical network unit 120 operates in the above-mentioned wavelength channel 1, and the part works in the above. The wavelength channel 2, partially operates in the above-mentioned wavelength channel 3, partially operates in the above-mentioned wavelength channel 4, and the number of optical network units 120 of each wavelength channel is substantially equal. However, in actual work, the number of optical network units 120 per wavelength channel may be different due to the user moving up and down, etc., for example, there may be a large number of optical network units 120 of a certain wavelength channel. The number of optical network units 120 of the other or more wavelength channels is small, and even the wavelength channels that are not used by the optical network unit 120 appear, that is, the load imbalance of the wavelength channels occurs. In this case, the load of the wavelength channel used by the more optical network unit 120 is heavier, and the optical network unit 120 operating in the same wavelength channel uses the TDM mode for service multiplexing, when the load of a certain wavelength channel is used. When the weight is too heavy, there may be insufficient bandwidth to affect the normal operation of the optical network unit 120.

為實現負載均衡,上述多波長無源光網路系統100可以採用本申請給個實施例提供的波長切換方法,在出現波長通道負載不均衡時,上述光線路終端110可以通過指示其中部分光網路單元120進行波長切換,使得此部分光網路單元120切換到負載較輕的波長通道或者空閒的波長通道,從而避免由於某個波長通道的負載過重而影響正常業務。 To implement load balancing, the multi-wavelength passive optical network system 100 can use the wavelength switching method provided by an embodiment of the present application. When the wavelength channel load imbalance occurs, the optical line terminal 110 can indicate some of the optical networks. The circuit unit 120 performs wavelength switching, so that the part of the optical network unit 120 switches to a lightly loaded wavelength channel or an idle wavelength channel, thereby preventing normal services from being affected due to excessive load of a certain wavelength channel.

在具體實施例中,上述多波長無源光網路100的 波長通道切換可以僅有關上述光網路單元120的下行接收波長切換或者上行發射波長切換,可替代地,上述多波長無源光網路100的波長通道切換波長通道切換也可以同時包括上述光網路單元120的下行接收波長的切換和上行發射波長切換。 In a specific embodiment, the multi-wavelength passive optical network 100 is The wavelength channel switching may be performed only for the downlink receiving wavelength switching or the uplink transmitting wavelength switching of the optical network unit 120. Alternatively, the wavelength channel switching wavelength channel switching of the multi-wavelength passive optical network 100 may also include the optical network. The switching of the downlink reception wavelength and the uplink transmission wavelength of the path unit 120.

實施例一 Embodiment 1

圖3為本申請一種實施例提供的多波長無源光網路的波長切換方法的流程圖。上述波長切換方法主要有關上述光網路單元120的下行接收波長切換,其除了實現下行負載均衡以外,還可以有效避免上述光網路單元120在下行接收波長切換過程中出現下行業務中斷,請參閱圖3,上述波長切換方法可以包括: FIG. 3 is a flowchart of a method for wavelength switching of a multi-wavelength passive optical network according to an embodiment of the present application. The wavelength switching method is mainly related to the downlink receiving wavelength switching of the optical network unit 120. In addition to implementing downlink load balancing, the optical network unit 120 can effectively avoid the downlink service interruption during the downlink receiving wavelength switching process. FIG. 3, the above wavelength switching method may include:

步驟S10,光線路終端110判斷出需要指示光網路單元120從第一波長通道切換到第二波長通道。 In step S10, the optical line terminal 110 determines that it is required to instruct the optical network unit 120 to switch from the first wavelength channel to the second wavelength channel.

在上述光線路終端110可以即時檢測上述多波長無源光網路100的各個波長通道的上下行業務負載情況,當檢測出上述多波長無源光網路100出現波長通道負載不均衡時,比如,當波長通道1下行負載過重,波長通道3下行負載較輕,而波長通道2和4下行負載正常時,上述光線路終端100可以判斷出需要指示原來工作在上述波長通道1的部分光網路單元120切換到上述波長通道3進行下行業務接收,即此時上述光線路終端110可以判斷出需要指示此部分光網路單元120將其下行接收波長從上述波長通道1的下行波長λd1切換到上述波長通道3的下行波長λd3。 The optical line terminal 110 can detect the uplink and downlink traffic load of each wavelength channel of the multi-wavelength passive optical network 100 in an instant. When detecting that the multi-wavelength passive optical network 100 has a wavelength channel load imbalance, for example, When the downstream load of the wavelength channel 1 is too heavy, the downlink load of the wavelength channel 3 is light, and when the downlink load of the wavelength channels 2 and 4 is normal, the optical line terminal 100 can determine that a part of the optical network originally working in the wavelength channel 1 needs to be indicated. The unit 120 switches to the wavelength channel 3 for downlink service reception, that is, the optical line terminal 110 can determine that the part of the optical network unit 120 needs to switch its downlink receiving wavelength from the downlink wavelength λd1 of the wavelength channel 1 to the foregoing. The downstream wavelength λd3 of the wavelength channel 3.

應當理解,上述根據波長通道的負載情況來判斷 是否需要指示光網路單元120進行波長切換只是為了實現負載均衡需求的一種判斷依據,在具體實施例中,上述光線路終端110還可以出於節能或者光收發器件更換的需求,來判斷是否需要指示上述光網路單元120進行波長切換。 It should be understood that the above is judged according to the load condition of the wavelength channel. Whether it is necessary to instruct the optical network unit 120 to perform wavelength switching is only a basis for determining the load balancing requirement. In a specific embodiment, the optical line terminal 110 can also determine whether it is needed for energy saving or optical transceiver replacement. The optical network unit 120 is instructed to perform wavelength switching.

比如,當上述光線路終端110檢測出其中只有極少數光網路單元120工作在某個波長通道,而其他波長通道仍具有帶寬資源時,基於節能需求考慮,上述光線路終端110可以判斷出需要指示上述光網路單元120從原波長通道切換到上述具有帶寬資源的波長通道,並關閉原波長通道從而減低上述多波長無源光網路系統100的整體功耗,實現節能。 For example, when the optical line terminal 110 detects that only a very small number of optical network units 120 operate in a certain wavelength channel, and other wavelength channels still have bandwidth resources, the optical line terminal 110 can determine the need according to energy saving requirements. The optical network unit 120 is instructed to switch from the original wavelength channel to the wavelength channel having the bandwidth resource, and the original wavelength channel is turned off to reduce the overall power consumption of the multi-wavelength passive optical network system 100 to achieve energy saving.

可替代地,當上述光線路終端110檢測出某個光收發器件(比如下行光發射器或上行光接收器)出現故障或者性能劣化時,可以判斷出需要指示原工作在上述光收發器件對應波長通道的光網路單元120切換到其他波長通道進行業務收發,以避免由於上述光收發器件故障或性能劣化影響正常業務員,並且由此維護人員便可對上述出現故障或性能下降的光收發器件進行更換,另外,在完成器件更換之後,上述光線路終端100還可以根據需要指示上述光網路單元120切換回原來的工作通道。 Alternatively, when the optical line terminal 110 detects that a certain optical transceiver device (such as a downlink optical transmitter or an upstream optical receiver) is faulty or has performance degradation, it may be determined that it is required to indicate the original wavelength of the optical transceiver device. The optical network unit 120 of the channel switches to another wavelength channel for service transmission and reception to avoid the normal salesman due to the above-mentioned optical transceiver failure or performance degradation, and thus the maintenance personnel can perform the above-mentioned optical transceiver device with failure or performance degradation. In addition, after the device replacement is completed, the optical line terminal 100 may further instruct the optical network unit 120 to switch back to the original working channel as needed.

步驟S11,上述光線路終端110將原準備通過第一波長通道發送給上述光網路單元120的下行資料進行複製,並分別通過至少包括上述第一波長通道和上述第二波長通道的多個波長通道同時發送上述下行資料。 In step S11, the optical line terminal 110 copies the downlink data that is to be sent to the optical network unit 120 through the first wavelength channel, and passes through multiple wavelengths including at least the first wavelength channel and the second wavelength channel. The channel simultaneously transmits the above downlink data.

具體而言,上述光線路終端110在指示上述光網 路單元120進行波長切換之前,可以先對待發送給上述光網路單元120的下行資料複製成多份,並分別將上述多份下行資料調製到多個下行光發射器Tx1~Tx4的輸出光進行發送,以實現通過多個波長通道向上述光網路單元120發送下行資料。 Specifically, the optical line terminal 110 is instructing the optical network. Before the wavelength unit is switched, the downlink unit data to be sent to the optical network unit 120 may be copied into multiple copies, and the multiple downlink data may be modulated into the output light of the plurality of downlink optical transmitters Tx1 to Tx4, respectively. Sending to transmit downlink data to the optical network unit 120 through multiple wavelength channels.

在一種實施例中,上述多個波長通道可以是上述多波長無源光網路100的所有波長通道,即波長通道1~波長通道4,比如,上述光線路終端110可以將上述下行資料複製成四份並分別調製到上述下行光發射器Tx1~Tx4提供的波長分別為λd1~λd4的輸出光,從而實現通過波長通道1~波長通道4同時向上述光網路單元120發送上述下行資料。在具體實施例中,上述光網路單元120進行波長切換過程中,通常是通過溫控或者電控的方式將其下行接收波長從原波長通道(即上述第一波長通道)的下行波長逐漸調整到目標波長通道(即上述第二波長通道)的下行波長,因此上述波長調整過程是一個相對較為緩慢的過程,其需要經歷一定的時間段。雖然在該時間段內上述光網路單元120的下行接收波長需要經歷不同的波長值,但由於上述光線路終端110發送的下行資料承載在上述多波長無源光網路系統100的所有波長通道,因此在某個時刻無論上述光網路單元120的下行接收波長被調整到那個波長值,都可以從當前波長值所對應的波長通道接收到上述下行資料,從而保證在波長通道切換過程中下行業務暢通。 In one embodiment, the plurality of wavelength channels may be all wavelength channels of the multi-wavelength passive optical network 100, that is, the wavelength channel 1 to the wavelength channel 4. For example, the optical line terminal 110 may copy the downlink data into The output light of the wavelengths λd1 to λd4 provided by the downstream light emitters Tx1 to Tx4 is modulated in four parts, and the downlink data is simultaneously transmitted to the optical network unit 120 through the wavelength channel 1 to the wavelength channel 4. In a specific embodiment, the optical network unit 120 performs the wavelength switching process, and generally adjusts the downlink receiving wavelength of the downlink receiving wavelength from the original wavelength channel (that is, the first wavelength channel) by temperature control or electronic control. The downstream wavelength to the target wavelength channel (i.e., the second wavelength channel described above), so the above wavelength adjustment process is a relatively slow process that requires a certain period of time. Although the downlink receiving wavelength of the optical network unit 120 needs to undergo different wavelength values during the time period, the downlink data sent by the optical line terminal 110 is carried in all the wavelength channels of the multi-wavelength passive optical network system 100. Therefore, at any time, regardless of whether the downlink receiving wavelength of the optical network unit 120 is adjusted to the wavelength value, the downlink data may be received from the wavelength channel corresponding to the current wavelength value, thereby ensuring downlink in the wavelength channel switching process. Business is smooth.

在另一種實施例中,上述多個波長通道也可以僅包括與上述波長通道切換相關的波長通道,其中,上述與波長通道切換相關的波長通道可以是從原波長通道(即上述第一波 長通道)的下行波長切換到目標波長通道(即上述第二波長通道)的下行波長過程中需要經歷多個下行波長值所對應的波長通道。舉例來說,假設作為原波長的通道的第一波長通道為波長通道1,而作為目標波長通道的第二波長通道為波長通道3,由於上述波長通道1~波長通道4的下行波長λd1~λd4滿足λd1<λd2<λd3<λd4,因此上述光網路單元120在將其下行接收波長從上述波長通道1的下行波長λd1調整到上述波長通道3的下行波長λd3過程中,上述光網路單元120的下行接收波長需要經過λd1、λd2和λd3三個相關波長值,在這種情況下,上述與波長通道切換相關的多個波長通道便包括下行發射波長分別為λd1、λd2和λd3的波長通道1~波長通道3。 In another embodiment, the multiple wavelength channels may also include only the wavelength channel associated with the wavelength channel switching, wherein the wavelength channel associated with the wavelength channel switching may be from the original wavelength channel (ie, the first wave The downstream wavelength of the long channel is switched to the wavelength channel corresponding to the plurality of downlink wavelength values during the downlink wavelength of the target wavelength channel (ie, the second wavelength channel). For example, assume that the first wavelength channel of the channel as the original wavelength is the wavelength channel 1, and the second wavelength channel as the target wavelength channel is the wavelength channel 3, due to the downstream wavelength λd1~λd4 of the wavelength channel 1 to the wavelength channel 4 Satisfying λd1<λd2<λd3<λd4, the optical network unit 120 is in the process of adjusting the downlink reception wavelength thereof from the downlink wavelength λd1 of the wavelength channel 1 to the downlink wavelength λd3 of the wavelength channel 3, the optical network unit 120 The downlink receiving wavelength needs to pass through three correlation wavelength values of λd1, λd2, and λd3. In this case, the plurality of wavelength channels related to the wavelength channel switching include wavelength channels 1 with downlink emission wavelengths of λd1, λd2, and λd3, respectively. ~ Wavelength channel 3.

步驟S12,上述光線路終端110向上述光網路單元120發送下行波長切換命令,上述波長切換命令用於指示上述光網路單元120切換到上述第二波長通道進行下行業務接收。 In step S12, the optical line terminal 110 sends a downlink wavelength switching command to the optical network unit 120, where the wavelength switching command is used to instruct the optical network unit 120 to switch to the second wavelength channel for downlink service reception.

具體而言,上述下行波長切換命令可以包括上述光網路單元120需要切換到的目標波長通道(即上述第二波長通道)的通道標識資訊或者上述光網路單元120需要切換到的目標下行接收波長(即上述第二波長通道的下行波長)。另外,上述下行波長切換命令也可以承載有波長切換類型資訊,用於指示上述光網路單元120進行下行接收波長切換。 Specifically, the downlink wavelength switching command may include channel identification information of the target wavelength channel (ie, the second wavelength channel) to which the optical network unit 120 needs to be switched, or target downlink reception that the optical network unit 120 needs to switch to. Wavelength (ie, the downstream wavelength of the second wavelength channel described above). In addition, the downlink wavelength switching command may also carry the wavelength switching type information, and is used to instruct the optical network unit 120 to perform downlink receiving wavelength switching.

在具體實施例中,上述光線路終端110可以通過物理層操作管理和維護(Physical Layer Operations,Administration and Maintenance,PLOAM)消息、光網路終端管理和控制介面(ONT Management and Control Interface,OMCI) 消息、多點控制協定(Multi-Point Control Protocol,MPCP)消息或者操作管理和維護(Operation Administration and Maintenance,OAM)消息來承載上述下行波長切換命令,具體消息格式如欄位元元取值和欄位長度可以根據實際需要而定;當然,在其他替代實施例中,上述光線路終端110也可以通過新定義的消息來承載上述下行波長切換命令。 In a specific embodiment, the optical line terminal 110 can pass the Physical Layer Operations (Administration and Maintenance, PLOAM) message, the ONT Management and Control Interface (OMCI). The message, the Multi-Point Control Protocol (MPCP) message, or the Operation Administration and Maintenance (OAM) message is used to carry the downlink wavelength switching command. The specific message format is the field element value and the column. The bit length may be determined according to actual needs; of course, in other alternative embodiments, the optical line terminal 110 may also carry the downlink wavelength switching command by using a newly defined message.

以採用PLOAM消息來承載上述下行波長切換命令為例,請參閱圖4,其為PLOAM消息的消息格式示意圖,上述PLOAM消息通常包括光網路單元標識(ONU ID)欄位元元、消息標識(Message ID)欄位、序列號(Sequence No)欄位、資料(Data)欄位和完整性檢查(Integrity Check)欄位。在本實施例中,上述波長切換類型資訊以及目標波長通道的標識資訊或者目標下行接收波長資訊等波長切換相關資訊可以承載在上述PLOAM消息的資料欄位元元,比如,上述波長切換命令可以採用如下表所示格式: For example, the PLOAM message includes an optical network unit identifier (ONU ID) field element and a message identifier. Message ID) Field, Sequence No field, Data field, and Integrity Check field. In this embodiment, the wavelength switching type information and the wavelength switching related information such as the target wavelength channel identification information or the target downlink receiving wavelength information may be carried in the data field element of the PLOAM message. For example, the wavelength switching command may be adopted. The format shown in the following table:

步驟S13,上述光網路單元120根據上述下行波長切換命令的指示,將其下行接收波長切換到上述第二波長通道的下行波長。 In step S13, the optical network unit 120 switches the downlink reception wavelength to the downlink wavelength of the second wavelength channel according to the instruction of the downlink wavelength switching command.

具體而言,上述光網路單元120在接收到上述光線路終端110發來的下行波長切換命令之後,可以從上述下行波長切換命令承載的波長切換相關資訊獲知上述光線路終端110指定其需要切換到上述第二波長通道,因此,便控制其下行光接收器122將其下行接收波長從上述第一波長通道的下行波長調整到上述第二波長通道的下行波長。 Specifically, after receiving the downlink wavelength switching command sent by the optical line terminal 110, the optical network unit 120 may learn, from the wavelength switching related information carried by the downlink wavelength switching command, that the optical line terminal 110 specifies that it needs to switch. To the second wavelength channel, the downstream optical receiver 122 is controlled to adjust its downlink reception wavelength from the downlink wavelength of the first wavelength channel to the downstream wavelength of the second wavelength channel.

並且,上述光網路單元120在波長通道切換過程中,可以根據其在當前時刻的下行接收波長,從對應的波長通道接收上述光線路終端110發送的下行資料。具體而言,由於上述光線路終端110將下行資料同時承載在上述多個波長通道進行發送,因此,上述光網路單元120在波長切換過程中,不管上述光網路單元120在某個時刻其當前下行接收波長處於哪個波長值,其都可以通過與當前下行接收波長相對應的波長通道從上述光線路終端110接收到下行資料,從而避免在波長切換過程中出現下行業務中斷。 Moreover, in the wavelength channel switching process, the optical network unit 120 can receive the downlink data sent by the optical line terminal 110 from the corresponding wavelength channel according to the downlink receiving wavelength at the current time. Specifically, since the optical line terminal 110 simultaneously carries the downlink data in the multiple wavelength channels for transmission, the optical network unit 120 does not care whether the optical network unit 120 is at a certain time during the wavelength switching process. The current downlink receiving wavelength is at which wavelength value, and the downlink data can be received from the optical line terminal 110 through the wavelength channel corresponding to the current downlink receiving wavelength, thereby avoiding downlink service interruption during the wavelength switching process.

步驟S14,上述光網路單元120向上述光線路終端110返回下行波長切換回應,告知下行波長切換是否成功。 In step S14, the optical network unit 120 returns a downlink wavelength switching response to the optical line terminal 110 to notify whether the downlink wavelength switching is successful.

具體而言,在上述光網路單元120的下行接收波長調整完成之後,其可以通過向上述光線路終端110返回下行波長切換回應,來向上述光線路終端110上報波長切換結果。在具體實施例中,可選地,上述下行波長切換回應可以包括上述光網路單元120在執行波長切換之後調整到的下行接收波長。 Specifically, after the downlink receiving wavelength adjustment of the optical network unit 120 is completed, the wavelength switching result may be reported to the optical line terminal 110 by returning a downlink wavelength switching response to the optical line terminal 110. In a specific embodiment, optionally, the downlink wavelength switching response may include a downlink receiving wavelength adjusted by the optical network unit 120 after performing wavelength switching.

在具體實施例中,與上述下行波長切換命令相類 似,上述下行波長切換回應也可以通過PLOAM消息、OMCI消息、MPCP消息、OAM消息或者其他新定義的消息進行承載。以採用PLOAM消息來承載上述下行波長切換回應為例,上述下行波長切換回應可以採用如下表所示格式: In a specific embodiment, similar to the foregoing downlink wavelength switching command, the downlink wavelength switching response may also be carried by a PLOAM message, an OMCI message, an MPCP message, an OAM message, or other newly defined message. For example, the PLOAM message is used to carry the downlink wavelength switching response. The downlink wavelength switching response can be in the format shown in the following table:

步驟S15,上述光線路終端110根據上述光網路單元120返回的下行波長切換回應,確定上述光網路單元120當前的下行接收波長。 In step S15, the optical line terminal 110 determines the current downlink receiving wavelength of the optical network unit 120 according to the downlink wavelength switching response returned by the optical network unit 120.

具體而言,上述光線路終端110在接收到上述光網路單元120返回的下行波長切換回應之後,如果上述下行波長切換回應包括有下行接收波長欄位,則上述光線路終端110可以從上述下行接收波長欄位獲取到上述光網路單元120在執行波長切換之後調整到的下行接收波長,即上述光網路單元120當前的下行接收波長。由於上述波長切換響應的下行接收 波長欄位是可選欄位,因此,應當理解,步驟S15是可選的步驟,只有上述光網路單元120在上述下行波長切換回應中攜帶了其執行波長切換之後的下行接收波長資訊,上述光線路終端110才需要執行步驟S15。 Specifically, after receiving the downlink wavelength switching response returned by the optical network unit 120, if the downlink wavelength switching response includes a downlink receiving wavelength field, the optical line terminal 110 may obtain the downlink line from the downlink. The receiving wavelength field acquires the downlink receiving wavelength adjusted by the optical network unit 120 after performing the wavelength switching, that is, the current downlink receiving wavelength of the optical network unit 120. Downlink reception due to the above wavelength switching response The wavelength field is an optional field. Therefore, it should be understood that step S15 is an optional step. Only the optical network unit 120 carries the downlink receiving wavelength information after performing the wavelength switching in the downlink wavelength switching response. The optical line terminal 110 only needs to perform step S15.

並且,在具體實施例中,上述光線路終端110可以在本地維護有下行業務轉發表或者光網路單元與下行接收波長的資訊映射表,其中上述轉發表或資訊映射表可以包括多個表項,每個表項分別包括光網路單元資訊欄位和下行接收波長欄位,用於表示上述多波長無源光網路系統100中各個光網路單元120與下行接收波長之間的對應關係。如果上述光線路終端110在本地維護有上述轉發表或映射表,在確定出上述光網路單元120在進行波長切換之後調整到的下行接收波長時,上述光線路終端100還可以進一步對上述轉發表或映射表的相關表項中的下行接收波長資訊欄位進行刷新。 In addition, in the specific embodiment, the optical line terminal 110 may locally maintain a downlink service forwarding table or an information mapping table of the optical network unit and the downlink receiving wavelength, where the forwarding table or the information mapping table may include multiple entries. Each of the entries includes an optical network unit information field and a downlink receiving wavelength field, respectively, for indicating the correspondence between each optical network unit 120 and the downlink receiving wavelength in the multi-wavelength passive optical network system 100. . If the optical line terminal 110 maintains the forwarding table or the mapping table locally, the optical line terminal 100 may further perform the above-mentioned rotation when determining the downlink receiving wavelength adjusted by the optical network unit 120 after the wavelength switching is performed. The downlink receiving wavelength information field in the related table of the publication or mapping table is refreshed.

步驟S16,上述光線路終端110停止下行資料的複製,只通過上述光網路單元120在波長通道切換之後工作在的第二波長通道發送下行資料。 In step S16, the optical line terminal 110 stops the replication of the downlink data, and only transmits the downlink data through the second wavelength channel in which the optical network unit 120 operates after the wavelength channel switching.

在通過上述下行波長切換回應獲知上述光網路單元120已經成功切換到上述第二波長通道之後,上述光線路終端110可以停止步驟S11中關於下行資料的複製,而僅是將上述下行資料調製到上述第二波長通道的下行波長,從而實現只通過上述第二波長通道向上述光網路單元120發送上述下行資料。 After the downlink wavelength switching response is learned that the optical network unit 120 has successfully switched to the second wavelength channel, the optical line terminal 110 may stop copying the downlink data in step S11, but only modulate the downlink data to The downlink wavelength of the second wavelength channel is configured to transmit the downlink data to the optical network unit 120 only through the second wavelength channel.

在本申請實施例提供的多波長無源光網路的波長 切換方法中,由於在上述光網路單元120在進行波長通道切換之前,上述光線路終端110將下行資料進行複製並分別通過多個波長通道同時發送上述下行資料,從而保證上述光網路單元120在波長通道切換過程中不管其當前下行接收波長處於哪個波長狀態都可以接收到上述下行資料,因此,即使上述波長切換過程需要持續相對較長的時間段,採用本申請實施例提供的波長切換方法可以有效保證在波長通道切換過程中下行業務暢通,即避免下行業務在上述波長通道切換過程中處於中斷狀態,從而提高用戶對於語音、視頻等即時業務的用戶體驗,有效減小資料丟包,保證業務質量。 The wavelength of the multi-wavelength passive optical network provided in the embodiment of the present application In the switching method, before the optical network unit 120 performs wavelength channel switching, the optical line terminal 110 copies the downlink data and simultaneously transmits the downlink data through multiple wavelength channels, thereby ensuring the optical network unit 120. The above-mentioned downlink data can be received in the wavelength channel switching process regardless of the wavelength state of the current downlink receiving wavelength. Therefore, even if the wavelength switching process needs to last for a relatively long period of time, the wavelength switching method provided by the embodiment of the present application is adopted. The downlink service can be effectively ensured during the wavelength channel switching process, that is, the downlink service is interrupted during the above-mentioned wavelength channel switching process, thereby improving the user experience for real-time services such as voice and video, and effectively reducing data loss and ensuring Quality of business.

實施例二 Embodiment 2

本申請還提供另一種多波長無源光網路的波長切換方法,主要針對上述光網路單元120的上行發射波長切換,其除了實現上行負載均衡以外,還可以有效避免上述光網路單元120在上行接收波長切換過程中出現上行業務中斷。請參閱圖5,其為本申請第二種實施例提供的多波長無源光網路的波長切換方法的流程圖,上述波長切換方法可以包括: The present invention further provides another wavelength switching method for a multi-wavelength passive optical network, which is mainly directed to the uplink transmit wavelength switching of the optical network unit 120. In addition to implementing uplink load balancing, the optical network unit 120 can be effectively avoided. An uplink service interruption occurs during uplink receiving wavelength switching. Referring to FIG. 5, which is a flowchart of a method for wavelength switching of a multi-wavelength passive optical network according to a second embodiment of the present application, the wavelength switching method may include:

步驟S20,光線路終端110判斷出需要指示光網路單元120從第一波長通道切換到第二波長通道。 In step S20, the optical line terminal 110 determines that it is required to instruct the optical network unit 120 to switch from the first wavelength channel to the second wavelength channel.

比如,在上述光線路終端110檢測到上述多波長無源光網路系統100的多個波長通道的負載不均衡,或者,上述光線路終端110出於節能需求,或者,上述光線路終端100發現其光收發器件出現故障或性能劣化時,可以判斷出需要指示相關的光網路單元120從原工作通道(即第一波長通道)切換 到目標波長通道(即第二波長通道)。 For example, the optical line terminal 110 detects that the load of the plurality of wavelength channels of the multi-wavelength passive optical network system 100 is unbalanced, or the optical line terminal 110 is used for energy saving, or the optical line terminal 100 finds When the optical transceiver device fails or the performance is degraded, it can be determined that the associated optical network unit 120 needs to be switched from the original working channel (ie, the first wavelength channel). To the target wavelength channel (ie the second wavelength channel).

步驟S21,上述光線路終端110更新針對上述光網路單元120的帶寬授權,在包括上述第一波長通道和上述第二波長通道的多個波長通道為上述光網路單元120分配相同的上行發送時隙。 In step S21, the optical line terminal 110 updates the bandwidth grant for the optical network unit 120, and allocates the same uplink transmission to the optical network unit 120 in multiple wavelength channels including the first wavelength channel and the second wavelength channel. Time slot.

具體而言,在上述光網路單元120進行波長切換之前,上述光線路終端110僅在上述光網路單元120工作的原波長通道(即第一波長通道)進行帶寬授權,即根據在上述第一波長通道的業務情況進行動態帶寬分配(DBA)調度,給上述光網路單元120授權上行發送時隙。當上述光線路終端110判斷出上述光網路單元120進行波長切換時,其可以在向上述光網路單元120下達波長切換指示之前,在多個不同的波長通道分別給上述光網路單元120預留相同的時隙,以授權上述光網路單元120在波長通道切換過程中可以按照上述光網路單元120在當前時刻調整到的上行發射波長,通過相對應的波長通道向上述光線路終端110發送上行資料。 Specifically, before the optical network unit 120 performs wavelength switching, the optical line terminal 110 performs bandwidth authorization only on the original wavelength channel (ie, the first wavelength channel) in which the optical network unit 120 operates, that is, according to the foregoing The traffic condition of a wavelength channel is subjected to dynamic bandwidth allocation (DBA) scheduling, and the optical network unit 120 is authorized to transmit uplink time slots. When the optical line terminal 110 determines that the optical network unit 120 performs wavelength switching, it may respectively provide the optical network unit 120 to the plurality of different wavelength channels before issuing the wavelength switching indication to the optical network unit 120. The same time slot is reserved to authorize the optical network unit 120 to switch to the uplink transmission wavelength adjusted by the optical network unit 120 at the current time during the wavelength channel switching, and to the optical line terminal through the corresponding wavelength channel. 110 sends uplink data.

在一種實施例中,上述多個波長通道可以是上述多波長無源光網路100的所有波長通道,即波長通道1~波長通道4。可替代地,在另一種實施例中,上述多個波長通道也可以僅包括與上述波長通道切換相關的波長通道,即從原波長通道(即上述第一波長通道)的上行波長切換到目標波長通道(即上述第二波長通道)的上行波長過程中需要經歷多個上行波長值所對應的波長通道。比如,假設上述第一波長通道為波長通道4,而上述第二波長通道為波長通道2,由於上述波長通 道1~波長通道4的下行波長λu1~λu4滿足λu1<λu2<λu3<λu4,因此上述與波長通道切換相關的多個波長通道便包括上行分別為λu2、λu3和λu4的波長通道2~波長通道4。 In one embodiment, the plurality of wavelength channels may be all wavelength channels of the multi-wavelength passive optical network 100, that is, the wavelength channel 1 to the wavelength channel 4. Alternatively, in another embodiment, the multiple wavelength channels may also include only the wavelength channel associated with the wavelength channel switching, that is, switching from the upstream wavelength of the original wavelength channel (ie, the first wavelength channel) to the target wavelength. The upstream wavelength of the channel (ie, the second wavelength channel described above) needs to undergo a plurality of wavelength channels corresponding to the upstream wavelength values. For example, suppose the first wavelength channel is the wavelength channel 4, and the second wavelength channel is the wavelength channel 2, because the above wavelength pass The downlink wavelengths λu1 λλ4 of the channel 1 to the wavelength channel 4 satisfy λu1 < λu2 < λu3 < λu4, and thus the plurality of wavelength channels related to the wavelength channel switching include the wavelength channel 2 to the wavelength channel respectively λu2, λu3, and λu4 4.

步驟S22,上述光線路終端110向上述光網路單元120發送上行波長切換命令,上述上行波長切換命令用於指示上述光網路單元120切換到上述第二波長通道進行上行業務發送。 In step S22, the optical line terminal 110 sends an uplink wavelength switching command to the optical network unit 120, where the uplink wavelength switching command is used to instruct the optical network unit 120 to switch to the second wavelength channel for uplink service transmission.

具體而言,上述上行波長切換命令可以包括上述光網路單元120需要切換到的目標波長通道(即上述第二波長通道)的波長標識資訊或者上述光網路單元120需要切換到的目標上行發射波長(即上述第二波長通道的上行波長)。另外,上述波長切換命令也可以承載有波長切換類型資訊,用於指示上述光網路單元120進行上行發射波長切換。 Specifically, the uplink wavelength switching command may include the wavelength identification information of the target wavelength channel (ie, the second wavelength channel) to which the optical network unit 120 needs to be switched, or the target uplink transmission that the optical network unit 120 needs to switch to. Wavelength (ie, the upstream wavelength of the second wavelength channel described above). In addition, the wavelength switching command may also carry the wavelength switching type information, and is used to instruct the optical network unit 120 to perform uplink transmission wavelength switching.

在具體實施例中,上述波長切換命令的也可以通過PLOAM消息、OMCI消息、MPCP消息、OAM消息或者其他新定義的消息進行承載,上述波長切換命令的具體消息格式可以參照與實施例一的步驟S12中所描述的消息格式。 In a specific embodiment, the foregoing wavelength switching command may also be carried by a PLOAM message, an OMCI message, an MPCP message, an OAM message, or other newly defined message. For the specific message format of the wavelength switching command, refer to the steps in the first embodiment. The message format described in S12.

步驟S23,上述光網路單元120根據上述上行波長切換命令的指示,將其上行發射波長切換到上述第二波長通道的上行波長。 In step S23, the optical network unit 120 switches the uplink transmission wavelength to the uplink wavelength of the second wavelength channel according to the instruction of the uplink wavelength switching command.

具體而言,上述光網路單元120在接收到上述光線路終端110發來的上行波長切換命令之後,可以從上述上行波長切換命令獲知上述光線路終端110指定其需要切換到上述第二波長通道進行上行業務發送,因此,上述光網路單元120 便控制其上行光發射器123將其上行發射波長從上述第一波長通道的上行波長調整到上述第二波長通道的上行波長。並且,在波長切換過程中上述光網路單元120可以在上述光線路終端110授權的時隙利用當前上行發射波長所對應的波長通道向上述光線路終端110發送上行資料。具體而言,由於上述光線路終端110在上述多個波長通道為上述光網路單元120授權相同的上行發送時隙,因此,上述光網路單元120在上行波長切換過程中,不管上述光網路單元120在某個時刻其上行發射波長處於哪個波長值,都可以通過與當前的上行發射波長相對應的波長通道向上述光線路終端110發送上行資料,從而避免在波長切換過程中出現上行業務中斷。 Specifically, after receiving the uplink wavelength switching command sent by the optical line terminal 110, the optical network unit 120 may learn from the uplink wavelength switching command that the optical line terminal 110 specifies that it needs to switch to the second wavelength channel. Performing uplink service transmission, therefore, the optical network unit 120 described above The upstream light emitter 123 is controlled to adjust its upstream emission wavelength from the upstream wavelength of the first wavelength channel to the upstream wavelength of the second wavelength channel. Moreover, in the wavelength switching process, the optical network unit 120 may send the uplink data to the optical line terminal 110 by using the wavelength channel corresponding to the current uplink transmission wavelength in the time slot authorized by the optical line terminal 110. Specifically, since the optical line terminal 110 authorizes the same uplink transmission time slot for the optical network unit 120 in the multiple wavelength channels, the optical network unit 120 does not care about the optical network during the uplink wavelength switching process. At a certain time, the uplink unit 120 can transmit uplink data to the optical line terminal 110 through a wavelength channel corresponding to the current uplink transmission wavelength, thereby avoiding uplink service during the wavelength switching process. Interrupted.

步驟S24,上述光網路單元120向上述光線路終端110返回上行波長切換回應,告知上行波長切換是否成功。 In step S24, the optical network unit 120 returns an uplink wavelength switching response to the optical line terminal 110 to notify whether the uplink wavelength switching is successful.

在具體實施例中,上述上行波長切換回應同樣也可以通過PLOAM消息、OMCI消息、MPCP消息、OAM消息或者其他新定義的消息進行承載,上述上行波長切換命令的具體消息格式可以參照與實施例一的步驟S14中所描述的消息格式,主要區別僅在於需要將步驟S14中的下行波長切換回應的下行接收波長欄位替換為上行發射波長欄位,並承載上述光網路單元120在完成波長通道切換之後的上行發射波長值。 In a specific embodiment, the uplink wavelength switching response may also be carried by a PLOAM message, an OMCI message, an MPCP message, an OAM message, or other newly defined message. The specific message format of the uplink wavelength switching command may be referred to the first embodiment. The message format described in the step S14 is mainly different in that the downlink receiving wavelength field of the downlink wavelength switching response in step S14 needs to be replaced with the uplink transmitting wavelength field, and the optical network unit 120 is carried in the completed wavelength channel. The upstream transmit wavelength value after the switch.

步驟S25,上述光線路終端110根據上述光網路單元120返回的上行波長切換回應,確定上述光網路單元120當前的上行發射波長。 In step S25, the optical line terminal 110 determines the current uplink transmission wavelength of the optical network unit 120 according to the uplink wavelength switching response returned by the optical network unit 120.

具體而言,如果上述上行波長切換回應包括有上 行發射波長欄位,上述光線路終端110可以從上述上行發射波長欄位獲取到上述光網路單元120在執行上行波長切換之後調整到的上行發射波長。由於上述波長切換響應的上行波長欄位是可選欄位,因此,步驟S15是可選的步驟。 Specifically, if the foregoing uplink wavelength switching response includes In the row emission wavelength field, the optical line terminal 110 can obtain the uplink transmission wavelength adjusted by the optical network unit 120 after performing the uplink wavelength switching from the uplink transmission wavelength field. Since the uplink wavelength field of the above wavelength switching response is an optional field, step S15 is an optional step.

另外,與實施例一的步驟S15相類似,在步驟S25中,如果上述光線路終端110在本地維護有光網路單元與上行發射波長的資訊映射表,在確定出上述光網路單元120在進行上行波長切換之後調整到的上行發射波長時,上述光線路終端110還可以進一步對上述映射表的相關表項中的上行發射波長資訊欄位進行刷新。 In addition, similar to step S15 of the first embodiment, in step S25, if the optical line terminal 110 locally maintains an information mapping table of the optical network unit and the uplink transmission wavelength, it is determined that the optical network unit 120 is When the uplink transmission wavelength adjusted after the uplink wavelength switching is performed, the optical line terminal 110 may further refresh the uplink transmission wavelength information field in the related entry of the mapping table.

步驟S26,上述光線路終端110停止在除上述第二波長通道以外的其他波長通道對上述光網路單元120的帶寬授權,在同一個上行發送時隙僅授權上述光網路單元120在上述第二波長通道發送資料。 Step S26, the optical line terminal 110 stops the bandwidth authorization of the optical network unit 120 in other wavelength channels except the second wavelength channel, and only authorizes the optical network unit 120 in the same uplink transmission time slot. The two-wavelength channel transmits data.

在通過上述上行波長切換回應獲知上述光網路單元120已經成功切換到上述第二波長通道之後,上述光線路終端110可以停止步驟S21中在多個波長通道的相同時隙為上述光網路單元120的帶寬授權,而僅在上述第二波長通道給上述光網路單元120分配上行發送時隙,從而使得在完成波長通道切換之後上述光網路單元120只通過上述第二波長通道向上述光線路終端110發送上述上行資料。 After learning, by the uplink wavelength switching response, that the optical network unit 120 has successfully switched to the second wavelength channel, the optical line terminal 110 may stop the same time slot in the multiple wavelength channels in step S21 as the optical network unit. The bandwidth authorization of 120, and the uplink transmission time slot is allocated to the optical network unit 120 only in the foregoing second wavelength channel, so that the optical network unit 120 passes only the second wavelength channel to the light after the wavelength channel switching is completed. The road terminal 110 transmits the above uplink data.

在本申請實施例提供的多波長無源光網路的波長切換方法中,由於在上述光網路單元120在進行波長通道切換之前,上述光線路終端110將在多個不同波長的波長通道的相 同時隙同時給上述光網路單元120分配上行發送時隙,從而保證上述光網路單元120在波長通道切換過程中不管其當前上行發射波長處於哪個波長狀態都可以向上述光線路終端110發送上述上行資料,因此,即使上述波長切換過程需要持續相對較長的時間段,採用本申請實施例提供的波長切換方法可以有效保證在波長通道切換過程中上行業務暢通,即避免上行業務在上述波長通道切換過程中處於中斷狀態,保證業務質量。 In the wavelength switching method of the multi-wavelength passive optical network provided by the embodiment of the present application, the optical line terminal 110 will be in a plurality of wavelength channels of different wavelengths before the optical network unit 120 performs the wavelength channel switching. phase At the same time, the optical network unit 120 is allocated an uplink transmission time slot at the same time, thereby ensuring that the optical network unit 120 can send the foregoing to the optical line terminal 110 regardless of the wavelength state of the current uplink transmission wavelength during the wavelength channel switching process. Uplink data, therefore, even if the wavelength switching process needs to be continued for a relatively long period of time, the wavelength switching method provided by the embodiment of the present application can effectively ensure that the uplink service is smooth during the wavelength channel switching process, that is, the uplink service is avoided in the foregoing wavelength channel. Interrupted during the handover process to ensure service quality.

實施例三 Embodiment 3

在上述多波長無源光網路系統100的波長通道切換的具體實現上,上述光網路單元120也可以在同一個波長通道切換過程實現上行發射波長和下行接收波長的同時調整,請參閱圖6,其為本申請第三種實施例提供的多波長無源光網路的波長切換方法的流程圖,上述波長切換方法可以包括: In the specific implementation of the wavelength channel switching of the multi-wavelength passive optical network system 100, the optical network unit 120 can also adjust the uplink transmit wavelength and the downlink receive wavelength in the same wavelength channel switching process, please refer to the figure. 6. The flowchart of the wavelength switching method of the multi-wavelength passive optical network provided by the third embodiment of the present application, where the wavelength switching method may include:

步驟S30,光線路終端110判斷出需要指示光網路單元120從第一波長通道切換到第二波長通道。 In step S30, the optical line terminal 110 determines that it is required to instruct the optical network unit 120 to switch from the first wavelength channel to the second wavelength channel.

步驟S31,上述光線路終端110一方面將上述光網路單元120的下行資料進行複製,並分別通過至少包括上述第一波長通道和上述第二波長通道的多個波長通道同時發送上述下行資料,另一方面,上述光線路終端110還更新針對上述光網路單元120的帶寬授權,在上述多個波長通道為上述光網路單元120分配相同的上行發送時隙。 Step S31, the optical line terminal 110 copies the downlink data of the optical network unit 120 on the one hand, and simultaneously transmits the downlink data by using multiple wavelength channels including at least the first wavelength channel and the second wavelength channel. On the other hand, the optical line terminal 110 further updates the bandwidth grant for the optical network unit 120, and allocates the same uplink transmission slot to the optical network unit 120 in the plurality of wavelength channels.

步驟S32,上述光線路終端110向上述光網路單元120發送波長切換命令,上述波長切換命令用於指示上述光網路單元120切換到上述第二波長通道進行下行業務接收和上行 業務發送。 Step S32, the optical line terminal 110 sends a wavelength switching command to the optical network unit 120, where the wavelength switching command is used to instruct the optical network unit 120 to switch to the second wavelength channel for downlink service reception and uplink. Business delivery.

也就是說,上述光線路終端110發送給上述光網路單元120的下行波長切換命令和上行波長切換命令承載發送給上述光網路單元120的在同一個控制消息(即上述波長切換命令),以指示上述光網路單元120在接收到上述控制消息之後同時進行下行接收波長切換和上行發射波長切換。 That is, the downlink wavelength switching command sent by the optical line terminal 110 to the optical network unit 120 and the uplink wavelength switching command bearer are sent to the optical network unit 120 in the same control message (ie, the wavelength switching command). The optical network unit 120 is instructed to perform downlink receiving wavelength switching and uplink transmitting wavelength switching simultaneously after receiving the foregoing control message.

步驟S33,上述光網路單元120根據上述波長切換命令的指示,將其下行接收波長切換到上述第二波長通道的下行波長,並將其上行發射波長切換到上述第二波長通道的上行波長。 Step S33, the optical network unit 120 switches the downlink reception wavelength to the downlink wavelength of the second wavelength channel according to the indication of the wavelength switching command, and switches the uplink transmission wavelength to the uplink wavelength of the second wavelength channel.

步驟S34,上述光網路單元120向上述光線路終端110返回波長切換回應,告知波長切換是否成功。 In step S34, the optical network unit 120 returns a wavelength switching response to the optical line terminal 110 to notify whether the wavelength switching is successful.

步驟S35,上述光線路終端110根據上述光網路單元120返回的波長切換回應,確定上述光網路單元120當前的下行接收波長和上行發射波長。 In step S35, the optical line terminal 110 determines the current downlink receiving wavelength and the uplink transmitting wavelength of the optical network unit 120 according to the wavelength switching response returned by the optical network unit 120.

步驟S36,上述光線路終端110停止下行資料的複製,只通過上述光網路單元120切換到的第二波長通道發送下行資料,並停止在除上述第二波長通道以外的其他波長通道對上述光網路單元120的帶寬授權,在同一個時隙僅授權上述光網路單元120在上述第二波長通道發送上行資料。 Step S36, the optical line terminal 110 stops the replication of the downlink data, transmits the downlink data only through the second wavelength channel switched by the optical network unit 120, and stops the wavelength channel to the light other than the second wavelength channel. The bandwidth authorization of the network unit 120 only authorizes the optical network unit 120 to transmit uplink data in the second wavelength channel in the same time slot.

本實施例的步驟S30~S36的具體工作過程可以參照前面兩個實施例,此處不在贅述。 For the specific working process of steps S30 to S36 of this embodiment, reference may be made to the foregoing two embodiments, and details are not described herein.

採用本實施例提供的波長切換方法不僅可以有效保證在波長通道切換過程中下行業務暢通,即避免下行業務在 上述波長通道切換過程中處於中斷狀態,還可以同時保證避免上行業務在上述波長通道切換過程中出現終端,從而保證業務質量。 The wavelength switching method provided in this embodiment can effectively ensure that the downlink service is smooth during the wavelength channel switching process, that is, the downlink service is avoided. The above-mentioned wavelength channel switching process is in an interrupted state, and it is also possible to ensure that the uplink service is prevented from appearing in the above-mentioned wavelength channel switching process, thereby ensuring service quality.

可替代地,在具體實施例中,為提高上述多波長無源光網路系統100的可靠性,上述光線路終端110可在承載上述下行資料的下行資料幀中填充上述光線路終端110的下行發射波長資訊,以便於上述光網路單元120檢查其當前下行接收波長的正確性;並且,上述光網路單元120也在承載上述上行資料的上行資料幀中填充上述光網路單元120的上行發射波長資訊和/或下行接收波長資訊,以便於上述光線路終端110檢查上述光網路單元120的上行發射波長和下行接收波長的正確性。在這種情況下,上述光網路單元120在完成波長切換之後無需向上述光線路終端110返回波長切換回應,上述光線路終端110可以直接從上述光網路單元120發送的上行資料幀承載的上行發射波長資訊和/或下行接收波長資訊,判斷上述光網路單元120的波長切換是否成功。 Alternatively, in a specific embodiment, to improve the reliability of the multi-wavelength passive optical network system 100, the optical line terminal 110 may fill the downlink of the optical line terminal 110 in a downlink data frame carrying the downlink data. The wavelength information is transmitted, so that the optical network unit 120 checks the correctness of the current downlink receiving wavelength. The optical network unit 120 also fills the uplink of the optical network unit 120 in the uplink data frame that carries the uplink data. The wavelength information and/or the downlink reception wavelength information are transmitted, so that the optical line terminal 110 checks the correctness of the uplink transmission wavelength and the downlink reception wavelength of the optical network unit 120. In this case, the optical network unit 120 does not need to return a wavelength switching response to the optical line terminal 110 after completing the wavelength switching, and the optical line terminal 110 can directly carry the uplink data frame sent by the optical network unit 120. The uplink transmission wavelength information and/or the downlink reception wavelength information are used to determine whether the wavelength switching of the optical network unit 120 is successful.

實施例四 Embodiment 4

請參閱圖7,其為本申請第四種實施例提供的多波長無源光網路的波長切換方法的流程圖。本實施例主要有關上述光網路單元120的下行接收波長調整,上述波長切換方法可以包括: Please refer to FIG. 7 , which is a flowchart of a wavelength switching method for a multi-wavelength passive optical network according to a fourth embodiment of the present application. The embodiment is mainly related to the downlink receiving wavelength adjustment of the optical network unit 120. The foregoing wavelength switching method may include:

步驟S40,光線路終端110判斷出需要指示光網路單元120從第一波長通道切換到第二波長通道。 In step S40, the optical line terminal 110 determines that it is required to instruct the optical network unit 120 to switch from the first wavelength channel to the second wavelength channel.

步驟S41,上述光線路終端110將原準備通過第一波長通道發送給上述光網路單元120的下行資料複製成多份, 並分別通過至少包括上述第一波長通道和上述第二波長通道的多個波長通道同時發送下行資料幀,其中上述下行資料幀用於承載上述下行資料,且通過各個波長通道分別發送的下行資料幀還分別包括上述光線路終端的下行發射波長資訊,即上述多個下行資料幀通過分別填充有用於進行上述下行資料幀發送的波長通道的下行波長資訊。 In step S41, the optical line terminal 110 copies the downlink data that is to be sent to the optical network unit 120 through the first wavelength channel into multiple copies. And simultaneously transmitting the downlink data frame by using the plurality of wavelength channels including the first wavelength channel and the second wavelength channel, wherein the downlink data frame is used to carry the downlink data, and the downlink data frames respectively sent through the respective wavelength channels The downlink transmission wavelength information of the optical line terminal is further included, that is, the plurality of downlink data frames are respectively filled with downlink wavelength information for performing wavelength channel transmission of the downlink data frame.

在具體實施例中,上述下行資料幀可以為乙太網無源光網路(EPON)採用的帶邏輯鏈路標識(Logic Link Identification,LLID)的乙太網幀(以下簡稱EPON幀)、吉比特無源光網路(GPON)採用的GPON傳輸彙聚(GPON Transmission Convergence,GTC)幀、XGPON採用的XGPON傳輸彙聚(XG-PON Transmission Convergence,XGTC)幀等下行數據幀來承載上述下行資料和上述下行發射波長資訊。 In a specific embodiment, the downlink data frame may be an Ethernet network frame (hereinafter referred to as an EPON frame) with a logical link identification (LLID) used by an Ethernet passive optical network (EPON). A GPON Transmission Convergence (GTC) frame used by the GPON, and a downlink data frame such as an XGPON Transmission Convergence (XGTC) frame used by the XGPON to carry the downlink data and the foregoing Downstream transmission wavelength information.

以EPON幀為例,請參閱圖8,其為本發明實施例提供的一種EPON幀的幀格式示意圖,上述EPON幀包括LLID欄位和淨荷(Payload)欄位,其中,上述下行資料可以承載在上述淨荷欄位,上述下行發射波長資訊可以承載在上述LLID欄位。通常上述LLID欄位元元包括模式(mode)子欄位和LLID子欄位,在本實施例中,由於上述LLID欄位承載了上述下行發射波長資訊,因此上述LLID欄位除了包括上述兩個子欄位以外,還進一步包括波長資訊子欄位,用於承載上述下行發射波長資訊。 An EPON frame is taken as an example. Referring to FIG. 8 , it is a schematic diagram of a frame format of an EPON frame according to an embodiment of the present invention. The EPON frame includes an LLID field and a Payload field, where the downlink data can be carried. In the above payload field, the downlink transmission wavelength information may be carried in the LLID field. Generally, the LLID field element includes a mode sub-field and an LLID sub-field. In this embodiment, since the LLID field carries the downlink transmission wavelength information, the LLID field includes the above two. In addition to the subfield, the wavelength information subfield is further included for carrying the downlink transmission wavelength information.

在其他替代實施例中,上述下行發射波長資訊也可用通過PLOAM消息、OMCI消息、MPCP消息、OAM消息 或者其他新定義的消息等進行承載。 In other alternative embodiments, the downlink transmission wavelength information may also be used to pass PLOAM messages, OMCI messages, MPCP messages, OAM messages. Or other newly defined messages, etc. are carried.

步驟S42,上述光線路終端110向上述光網路單元120發送下行波長切換命令,上述下行波長切換命令用於指示上述光網路單元120切換到上述第二波長通道進行下行業務接收。 In step S42, the optical line terminal 110 sends a downlink wavelength switching command to the optical network unit 120, where the downlink wavelength switching command is used to instruct the optical network unit 120 to switch to the second wavelength channel for downlink service reception.

步驟S43,上述光網路單元120根據上述下行波長切換命令的指示,將其下行接收波長切換到上述第二波長通道的下行波長,並且將其下行接收波長資訊承載在上行資料幀發送給上述光線路終端110。 Step S43, the optical network unit 120 switches the downlink receiving wavelength to the downlink wavelength of the second wavelength channel according to the indication of the downlink wavelength switching command, and sends the downlink receiving wavelength information to the uplink data frame to send the light. Road terminal 110.

具體地,上述光網路單元120在接收到上述光線路終端110發來的下行波長切換命令之後,可以從上述下行波長切換命令控制其下行光接收器122對其下行接收波長進行調整。並且,上述光網路單元120還可以從上述光線路終端110發送的下行資料幀獲取到各個波長通道的下行發送波長資訊,根據上述下行發送波長資訊來判斷其當前下行接收波長的正確性,並根據判斷結果確定是否需要對當前下行接收波長進行進一步調整。 Specifically, after receiving the downlink wavelength switching command sent by the optical line terminal 110, the optical network unit 120 may control the downlink optical receiver 122 to adjust the downlink receiving wavelength from the downlink wavelength switching command. The optical network unit 120 may further obtain downlink transmission wavelength information of each wavelength channel from the downlink data frame sent by the optical line terminal 110, and determine the correctness of the current downlink reception wavelength according to the downlink transmission wavelength information, and According to the judgment result, it is determined whether the current downlink reception wavelength needs to be further adjusted.

另外,在下行接收波長調整過程中,上述光網路單元120還可以在其向上述光線路終端110發送上行資料幀的時候,將其當前下行接收波長資訊承載在上述上行資料幀併發送給上述光線路終端110,在具體實施例中,上述上行資料幀可以是EPON幀、GTC幀或者XGTC幀,其具體格式可以參照步驟S41的描述,以EPON幀為例,與步驟S42相類似,上述下行接收波長資訊同樣可以承載在上述LLID欄位的波長資訊 子欄位。 In addition, in the downlink receiving wavelength adjustment process, the optical network unit 120 may also carry the current downlink receiving wavelength information in the uplink data frame and send the uplink data frame to the optical data terminal 110. In the specific embodiment, the uplink data frame may be an EPON frame, a GTC frame, or an XGTC frame. The specific format may refer to the description of step S41, and the EPON frame is taken as an example, similar to step S42. The receiving wavelength information can also carry the wavelength information in the above LLID field. Subfield.

步驟S44,上述光線路終端110在向上述光網路單元120發送下行波長切換命令之後等待預設延遲時間,再從來自上述光網路單元120的上行資料幀讀取上述下行接收波長資訊,並根據上述下行接收波長資訊判斷上述光網路單元120的波長切換是否成功。 Step S44, the optical line terminal 110 waits for a preset delay time after transmitting the downlink wavelength switching command to the optical network unit 120, and then reads the downlink receiving wavelength information from the uplink data frame from the optical network unit 120, and Whether the wavelength switching of the optical network unit 120 is successful is determined according to the downlink receiving wavelength information.

與圖3所示的實施例一不同的是,在本實施例中,上述光線路終端110在向上述光網路單元120發送下行波長切換命令之後,不需要等待上述光網路單元120返回波長切換響應,而是等待一段預設延時時間,再從上述光網路單元120發送的上行資料幀讀取出上述光網路單元120的下行接收波長資訊,並根據上述下行接收波長資訊判斷上述光網路單元120的波長切換是否成功。在具體實施例中,上述延時時間的長度主要取決於上述光網路單元120的光收發器件的波長調節和穩定所需要的時間,通過上述延時時間等待,可以保證上述光線路終端110在上述光網路單元120完成下行接收波長切換之後才獲取其下行接收波長資訊。 Different from the first embodiment shown in FIG. 3, in the embodiment, the optical line terminal 110 does not need to wait for the optical network unit 120 to return the wavelength after transmitting the downlink wavelength switching command to the optical network unit 120. Switching the response, but waiting for a predetermined delay time, reading the downlink receiving wavelength information of the optical network unit 120 from the uplink data frame sent by the optical network unit 120, and determining the light according to the downlink receiving wavelength information. Whether the wavelength switching of the network unit 120 is successful. In a specific embodiment, the length of the delay time is mainly determined by the time required for the wavelength adjustment and stabilization of the optical transceiver device of the optical network unit 120. By waiting for the delay time, the optical line terminal 110 can ensure the light. The network unit 120 acquires its downlink receiving wavelength information after completing the downlink receiving wavelength switching.

另一方面,如果上述光線路終端110根據上述下行接收波長資訊判斷出上述光網路單元120在波長切換之後的下行接收波長與預期不符,即上述光網路單元120並沒有成功將其下行接收波長調整到上述第二波長通道的下行波長,上述光線路終端110可以重新向上述光網路單元120發送下行波長切換命令,指示上述光網路單元120重新進行下行接收波長調整,即是重複步驟S42~S44,直至上述光網路單元120的下行 接收波長切換成功。 On the other hand, if the optical line terminal 110 determines that the downlink receiving wavelength of the optical network unit 120 after the wavelength switching is not in accordance with the expected downlink optical wavelength information, the optical network unit 120 does not successfully receive the downlink receiving. The wavelength adjustment is performed to the downlink wavelength of the second wavelength channel, and the optical line terminal 110 may retransmit the downlink wavelength switching command to the optical network unit 120 to instruct the optical network unit 120 to perform downlink receiving wavelength adjustment again, that is, repeating steps. S42~S44 until the downlink of the optical network unit 120 The receiving wavelength is successfully switched.

步驟S45,上述光線路終端110停止下行資料的複製,只通過上述光網路單元120在波長通道切換之後工作在的第二波長通道發送下行資料。 In step S45, the optical line terminal 110 stops the replication of the downlink data, and only transmits the downlink data through the second wavelength channel in which the optical network unit 120 operates after the wavelength channel switching.

本實施例的波長切換方法中與實施例一相關的各個步驟的具體工作過程可以參照實施例一的描述,與實施例一相類似,採用本實施例提供的波長切換方法同樣可以有效保證在波長通道切換過程中下行業務暢通,即避免下行業務在上述波長通道切換過程中處於中斷狀態。 The specific working process of the steps related to the first embodiment in the wavelength switching method of the present embodiment can be referred to the description of the first embodiment. Similar to the first embodiment, the wavelength switching method provided by the embodiment can also effectively ensure the wavelength. During the channel switching process, the downlink service is smooth, that is, the downlink service is prevented from being interrupted during the above wavelength channel switching process.

實施例五 Embodiment 5

請參閱圖9,其為本申請第五種實施例提供的多波長無源光網路的波長切換方法的流程圖。本實施例主要有關上述光網路單元120的上行發射波長調整,上述波長切換方法可以包括: Please refer to FIG. 9 , which is a flowchart of a wavelength switching method of a multi-wavelength passive optical network according to a fifth embodiment of the present application. The embodiment is mainly related to the uplink transmission wavelength adjustment of the optical network unit 120. The foregoing wavelength switching method may include:

步驟S50,光線路終端110判斷出需要指示光網路單元120從第一波長通道切換到第二波長通道。 In step S50, the optical line terminal 110 determines that it is required to instruct the optical network unit 120 to switch from the first wavelength channel to the second wavelength channel.

步驟S51,上述光線路終端110更新針對上述光網路單元120的帶寬授權,在包括上述第一波長通道和上述第二波長通道的多個波長通道為上述光網路單元120分配相同的上行發送時隙。 Step S51, the optical line terminal 110 updates the bandwidth grant for the optical network unit 120, and allocates the same uplink transmission to the optical network unit 120 in multiple wavelength channels including the first wavelength channel and the second wavelength channel. Time slot.

步驟S52,上述光線路終端110向上述光網路單元120發送上行波長切換命令,上述上行波長切換命令用於指示上述光網路單元120切換到上述第二波長通道進行上行業務發送。 In step S52, the optical line terminal 110 sends an uplink wavelength switching command to the optical network unit 120, where the uplink wavelength switching command is used to instruct the optical network unit 120 to switch to the second wavelength channel for uplink service transmission.

步驟S53,上述光網路單元120根據上述上行波長 切換命令的指示,將其上行發射波長切換到上述第二波長通道的上行波長,並且將其上行發射波長資訊承載在上行資料幀發送給上述光線路終端110。 Step S53, the optical network unit 120 is configured according to the uplink wavelength. The indication of the handover command switches the uplink transmission wavelength to the uplink wavelength of the second wavelength channel, and transmits the uplink transmission wavelength information to the optical data terminal 110 in the uplink data frame.

與實施例四相類似,在上行發射波長調整過程中,上述光網路單元120可以在其向上述光線路終端110發送上行資料幀的時候,將其當前上行發射波長資訊承載在上述上行資料幀併發送給上述光線路終端,在具體實施例中,上述上行資料幀可以是EPON幀、GTC幀或者XGTC幀。以採用EPON幀為例,上述上行發射波長資訊可以承載在上述LLID欄位的波長資訊子欄位。 Similar to the fourth embodiment, in the uplink transmit wavelength adjustment process, the optical network unit 120 may carry its current uplink transmit wavelength information in the uplink data frame when it sends the uplink data frame to the optical line terminal 110. And transmitting to the optical line terminal, in an embodiment, the uplink data frame may be an EPON frame, a GTC frame, or an XGTC frame. Taking the EPON frame as an example, the uplink transmission wavelength information may be carried in the wavelength information subfield of the LLID field.

步驟S54,上述光線路終端110在向上述光網路單元120發送上行波長切換命令之後等待預設延遲時間,再在從來自上述光網路單元120的上行資料幀讀取上述上行發射波長資訊,並根據上述上行發射波長資訊判斷上述光網路單元120的波長切換是否成功。 Step S54, the optical line terminal 110 waits for a preset delay time after transmitting an uplink wavelength switching command to the optical network unit 120, and then reads the uplink transmission wavelength information from an uplink data frame from the optical network unit 120. And determining whether the wavelength switching of the optical network unit 120 is successful according to the uplink transmission wavelength information.

與圖5所示的實施例二不同的是,在本實施例中,上述光線路終端110在向上述光網路單元120發送上行波長切換命令之後,不需要等待上述光網路單元返回的上行波長切換回應,而是等待一段預設延時時間,再從上述光網路單元120發送的上行資料幀讀取出上述光網路單元120的上行發射波長資訊,並由此判斷上述光網路單元120的波長切換是否成功。在具體實施例中,上述延時時間等待同樣可以使得上述光線路終端110在上述光網路單元120完成上行發射波長切換之後才獲取其上行發射波長資訊。 Different from the second embodiment shown in FIG. 5, in the embodiment, the optical line terminal 110 does not need to wait for the uplink returned by the optical network unit after transmitting the uplink wavelength switching command to the optical network unit 120. The wavelength switching response, but waiting for a predetermined delay time, and then reading the uplink transmission wavelength information of the optical network unit 120 from the uplink data frame sent by the optical network unit 120, and determining the optical network unit Whether the wavelength switching of 120 is successful. In a specific embodiment, the delay time waiting may also cause the optical line terminal 110 to obtain the uplink transmission wavelength information after the optical network unit 120 completes the uplink transmission wavelength switching.

另一方面,如果上述光線路終端110根據上述上行發射波長資訊判斷出上述光網路單元120在波長切換之後調整到的上行發射波長與預期不符,即上述光網路單元120並沒有成功將其上行發射波長調整到上述第二波長通道的上行波長,上述光線路終端110可以重新向上述光網路單元120發送上行波長切換命令,指示上述光網路單元120重新進行上行發射波長調整,即是重複步驟S52~S54,直至上述光網路單元120的上行發射波長切換成功。 On the other hand, if the optical line terminal 110 determines that the uplink transmission wavelength adjusted by the optical network unit 120 after the wavelength switching is not in accordance with the expected uplink optical wavelength information, the optical network unit 120 does not successfully perform the optical network unit 120. The uplink transmission wavelength is adjusted to the uplink wavelength of the second wavelength channel, and the optical line terminal 110 may re-transmit the uplink wavelength switching command to the optical network unit 120 to instruct the optical network unit 120 to perform the uplink transmission wavelength adjustment again. Steps S52 to S54 are repeated until the uplink transmission wavelength of the optical network unit 120 is successfully switched.

步驟S55,上述光線路終端110停止在除上述第二波長通道以外的其他波長通道對上述光網路單元120的帶寬授權,在同一個上行發送時隙僅授權上述光網路單元120在上述第二波長通道發送資料。 Step S55, the optical line terminal 110 stops the bandwidth authorization of the optical network unit 120 in other wavelength channels except the second wavelength channel, and only authorizes the optical network unit 120 in the same uplink transmission time slot. The two-wavelength channel transmits data.

本實施例的波長切換方法中與實施例二相關的各個步驟的具體工作過程可以參照實施例二的描述,與實施例二相類似,採用本實施例提供的波長切換方法同樣可以有效保證在波長通道切換過程中上行業務暢通,即避免上行業務在上述波長通道切換過程中處於中斷狀態,保證業務質量。 The specific working process of the steps related to the second embodiment in the wavelength switching method of the present embodiment can be referred to the description of the second embodiment. Similar to the second embodiment, the wavelength switching method provided by the embodiment can also effectively ensure the wavelength. The uplink service is unblocked during the channel switching process, that is, the uplink service is interrupted during the above-mentioned wavelength channel switching process to ensure service quality.

實施例六 Embodiment 6

請參閱圖10,其為本申請第六種實施例提供的多波長無源光網路的波長切換方法的流程圖。本實施例同時有關上述光網路單元120的上行發射波長和下行接收波長的調整,上述波長切換方法可以包括: Please refer to FIG. 10 , which is a flowchart of a wavelength switching method for a multi-wavelength passive optical network according to a sixth embodiment of the present application. In this embodiment, the uplink transmission wavelength and the downlink reception wavelength of the optical network unit 120 are adjusted. The wavelength switching method may include:

步驟S60,光線路終端110判斷出需要指示光網路單元120從第一波長通道切換到第二波長通道。 In step S60, the optical line terminal 110 determines that it is required to instruct the optical network unit 120 to switch from the first wavelength channel to the second wavelength channel.

步驟S61,上述光線路終端110一方面將上述光網路單元120的下行資料進行複製,並分別通過至少包括上述第一波長通道和上述第二波長通道的多個波長通道同時發送上述下行資料,另一方面,上述光線路終端110還更新針對上述光網路單元120的帶寬授權,在上述多個波長通道為上述光網路單元120分配相同的上行發送時隙。 Step S61, the optical line terminal 110 copies the downlink data of the optical network unit 120 on the one hand, and simultaneously transmits the downlink data by using multiple wavelength channels including at least the first wavelength channel and the second wavelength channel. On the other hand, the optical line terminal 110 further updates the bandwidth grant for the optical network unit 120, and allocates the same uplink transmission slot to the optical network unit 120 in the plurality of wavelength channels.

步驟S62,上述光線路終端110向上述光網路單元120發送波長切換命令,上述波長切換命令用於指示上述光網路單元120切換到上述第二波長通道進行下行業務接收和上行業務發送。 In step S62, the optical line terminal 110 sends a wavelength switching command to the optical network unit 120, where the wavelength switching command is used to instruct the optical network unit 120 to switch to the second wavelength channel for downlink service reception and uplink service transmission.

步驟S63,上述光網路單元120根據上述波長切換命令的指示,將其下行接收波長切換到上述第二波長通道的下行波長,並將其上行發射波長切換到上述第二波長通道的上行波長,並且,上述光網路單元120還將其下行接收波長資訊和上行發射波長資訊承載在上行資料幀發送給上述光線路終端110。 Step S63, the optical network unit 120 switches the downlink reception wavelength to the downlink wavelength of the second wavelength channel according to the indication of the wavelength switching command, and switches the uplink transmission wavelength to the uplink wavelength of the second wavelength channel. Moreover, the optical network unit 120 transmits the downlink receiving wavelength information and the uplink transmitting wavelength information to the optical line terminal 110 in the uplink data frame.

步驟S64,上述光線路終端110在向上述光網路單元120發送波長切換命令之後等待預設延遲時間,在從來自上述光網路單元120的上行資料幀讀取上述下行接收波長資訊和上述上行發射波長資訊,並根據上述下行接收波長資訊和上述上行發射波長資訊判斷上述光網路單元120的波長切換是否成功。如果不成功,上述光線路終端110指示上述光網路單元120重新進行波長切換。 Step S64, the optical line terminal 110 waits for a preset delay time after transmitting the wavelength switching command to the optical network unit 120, and reads the downlink receiving wavelength information and the uplink from the uplink data frame from the optical network unit 120. Transmitting the wavelength information, and determining whether the wavelength switching of the optical network unit 120 is successful according to the downlink receiving wavelength information and the uplink transmitting wavelength information. If unsuccessful, the optical line terminal 110 instructs the optical network unit 120 to perform wavelength switching again.

步驟S65,上述光線路終端110停止下行資料的複 製,只通過上述光網路單元120在波長通道切換之後工作在的第二波長通道發送下行資料,並停止在除上述第二波長通道以外的其他波長通道對上述光網路單元120的帶寬授權,在同一個上行發送時隙僅授權上述光網路單元120在上述第二波長通道發送資料。 Step S65, the optical line terminal 110 stops the recovery of the downlink data. The downlink data is transmitted only through the second wavelength channel in which the optical network unit 120 operates after the wavelength channel switching, and stops the bandwidth authorization of the optical network unit 120 in other wavelength channels except the second wavelength channel. In the same uplink transmission time slot, only the optical network unit 120 is authorized to transmit data in the second wavelength channel.

本實施例的波長切換方法中與實施例三相關的各個步驟的具體工作過程可以參照實施例三的描述,與實施例三相類似,採用本實施例採用本實施例提供的波長切換方法同樣不僅可以有效保證在波長通道切換過程中下行業務暢通,即避免下行業務在上述波長通道切換過程中處於中斷狀態,還可以同時保證避免上行業務在上述波長通道切換過程中出現終端,從而保證業務質量。 The specific working process of the steps related to the third embodiment in the wavelength switching method of the present embodiment can be referred to the description of the third embodiment, and is similar to the three-phase embodiment. The wavelength switching method provided by the embodiment is not only used in this embodiment. The downlink service can be effectively ensured during the wavelength channel switching process, that is, the downlink service is interrupted in the above-mentioned wavelength channel switching process, and the terminal can be prevented from appearing in the above-mentioned wavelength channel switching process, thereby ensuring service quality.

實施例七 Example 7

基於上述實施例提供的多波長無源光網路系統的波長切換方法,本申請還進一步提供一種波長切換裝置,上述波長切換裝置可以應用到在圖2所示的多波長無源光網路系統100的光線路終端110。請參閱圖11,其為本申請提供的多波長無源光網路系統的波長切換裝置一種實施例的結構示意圖,上述波長切換裝置700可以包括:資料處理模組710,用於在光網路單元120需要從第一波長通道切換到第二波長通道時,將待發送給上述光網路單元120的下行資料複製成多份;發送模組720,用於分別通過多個波長通道分別將上述多份下行資料發送給上述光網路單元120,上述多個波長通道至 少包括第一波長通道和第二波長通道;控制模組730,用於控制上述發送模組720向上述光網路單元120發送下行波長切換命令,指示上述光網路單元120將其下行接收波長切換到上述第二波長通道的下行波長,並在判斷出上述光網路單元120的下行接收波長切換成功之後,控制上述資料處理模組停止下行資料複製,並控制上述發送模組720只通過上述第二波長通道向上述光網路單元發送上述下行資料。 Based on the wavelength switching method of the multi-wavelength passive optical network system provided by the foregoing embodiment, the present application further provides a wavelength switching device, which can be applied to the multi-wavelength passive optical network system shown in FIG. 2 . Optical line terminal 110 of 100. FIG. 11 is a schematic structural diagram of an embodiment of a wavelength switching device for a multi-wavelength passive optical network system provided by the present application. The wavelength switching device 700 may include: a data processing module 710, configured to be in an optical network. When the unit 120 needs to switch from the first wavelength channel to the second wavelength channel, the downlink data to be sent to the optical network unit 120 is copied into multiple copies; and the sending module 720 is configured to separately use the multiple wavelength channels. Sending a plurality of downlink data to the optical network unit 120, the plurality of wavelength channels to The first wavelength channel and the second wavelength channel are included in the control module 730, and the control module 730 is configured to control the sending module 720 to send a downlink wavelength switching command to the optical network unit 120, and instruct the optical network unit 120 to receive the downlink receiving wavelength. Switching to the downlink wavelength of the second wavelength channel, and after determining that the downlink receiving wavelength of the optical network unit 120 is successfully switched, controlling the data processing module to stop downlink data replication, and controlling the sending module 720 to pass only the foregoing The second wavelength channel transmits the downlink data to the optical network unit.

其中,上述多個波長通道包括上述多波長無源光網路系統100的所有波長通道,即波長通道1~波長通道4;可替代地,上述多個波長通道也可以僅包括與上述下行波長切換相關的波長通道,即上述光網路單元120的下行接收波長從上述第一波長通道的下行波長切換到上述第二波長通道的下行波長過程中需要經歷多個下行波長值所對應的波長通道。 The plurality of wavelength channels include all the wavelength channels of the multi-wavelength passive optical network system 100, that is, the wavelength channel 1 to the wavelength channel 4; alternatively, the plurality of wavelength channels may also include only switching with the downlink wavelength. The wavelength channel corresponding to the plurality of downlink wavelength values needs to be subjected to a wavelength channel corresponding to the downlink wavelength of the first wavelength channel to the downlink wavelength of the second wavelength channel.

進一步地,上述波長切換裝置700還可以包括接收模組740和判斷模組750。 Further, the wavelength switching device 700 may further include a receiving module 740 and a determining module 750.

在一種實施例中,上述接收模組740可以用於接收上述光網路單元120返回的下行波長切換回應,其中上述下行波長切換回應包括上述光網路單元120在波長切換之後的下行接收波長資訊;上述判斷模組750,用於根據上述下行波長切換回應承載的下行接收波長資訊,判斷上述光網路單元120的下行接收波長切換是否成功。 In an embodiment, the receiving module 740 may be configured to receive a downlink wavelength switching response returned by the optical network unit 120, where the downlink wavelength switching response includes downlink receiving wavelength information of the optical network unit 120 after wavelength switching. The determining module 750 is configured to determine whether the downlink receiving wavelength switching of the optical network unit 120 is successful according to the downlink receiving wavelength information of the downlink wavelength switching response bearer.

可替代地,在另一種實施例中,上述接收模組740,可以用於接收上述光網路單元120返回的上行波長切換 回應,其中上述上行波長切換回應包括上述光網路單元120在波長切換之後的上行發射波長資訊;上述判斷模組750,可以用於根據上述上行發射波長資訊,判斷上述光網路單元120的上行發射波長切換是否成功。進一步地,上述資料處理模組710還可以用於上述複製得到的下行資料分別承載在多個下行資料幀,其中每一個下行資料幀還包括用於傳輸上述下行資料幀的波長通道的下行波長資訊。 Alternatively, in another embodiment, the receiving module 740 can be configured to receive the uplink wavelength switch returned by the optical network unit 120. In response, the uplink wavelength switching response includes the uplink transmission wavelength information of the optical network unit 120 after the wavelength switching; the determining module 750 is configured to determine the uplink of the optical network unit 120 according to the uplink transmission wavelength information. Whether the transmission wavelength switching is successful. Further, the data processing module 710 may further be configured to: the downlink data obtained by the copying is respectively carried in multiple downlink data frames, where each downlink data frame further includes downlink wavelength information for transmitting a wavelength channel of the downlink data frame. .

可選地,在一種實施例中,上述波長切換裝置700還可以包括:帶寬分配模組760,用於更新針對上述光網路單元120的帶寬授權,在上述多個波長通道為上述光網路單元120分配相同的上行發送時隙;並且,上述控制模組730,還用於控制上述發送模組720向上述光網路單元120發送上行波長切換命令,指示上述光網路單元120將其上行發射波長切換到上述第二波長通道的上行波長;在判斷出上述光網路單元120的上行發射波長切換成功之後,控制上述帶寬分配模組760停止在除上述第二波長通道以外的其他波長通道向上述光網路單元120分配上行發送時隙,僅授權上述光網路單元120在上述第二波長通道的上行發送時隙發送上行資料。 Optionally, in an embodiment, the wavelength switching device 700 may further include: a bandwidth allocation module 760, configured to update a bandwidth grant for the optical network unit 120, where the multiple wavelength channels are optical networks. The unit 120 allocates the same uplink transmission time slot; and the control module 730 is further configured to control the sending module 720 to send an uplink wavelength switching command to the optical network unit 120, instructing the optical network unit 120 to uplink The emission wavelength is switched to the upstream wavelength of the second wavelength channel; after determining that the uplink transmission wavelength of the optical network unit 120 is successfully switched, the bandwidth allocation module 760 is controlled to stop at other wavelength channels than the second wavelength channel. An uplink transmission time slot is allocated to the optical network unit 120, and only the optical network unit 120 is authorized to transmit uplink data in an uplink transmission time slot of the second wavelength channel.

可選地,上述下行波長切換命令和上述上行波長切換命令可以承載在發送給上述光網路單元120的同一個控制消息,上述控制消息用於指示上述光網路單元同時進行下行接收波長切換和上行發射波長切換。 Optionally, the downlink wavelength switching command and the uplink wavelength switching command may be carried in the same control message that is sent to the optical network unit 120, where the control message is used to indicate that the optical network unit performs downlink receiving wavelength switching at the same time. Uplink emission wavelength switching.

可替代地,在一種實施例中,上述接收模組740可以用於接收上述光網路單元120發送的上行資料,並在上述發送模組720向上述光網路單元120發送下行波長切換命令之後,等待預設延遲時間,再從上述光網路單元120發送上行資料幀讀取上述光網路單元120的下行接收波長資訊;上述判斷模組750可以用於根據上述上行資料幀承載的下行接收波長資訊,判斷上述光網路單元的下行接收波長切換是否成功。 Alternatively, in an embodiment, the receiving module 740 may be configured to receive the uplink data sent by the optical network unit 120, and after the sending module 720 sends the downlink wavelength switching command to the optical network unit 120. And waiting for the preset delay time, and then sending the uplink data frame from the optical network unit 120 to read the downlink receiving wavelength information of the optical network unit 120. The determining module 750 may be configured to perform downlink receiving according to the uplink data frame. The wavelength information determines whether the downlink receiving wavelength switching of the optical network unit is successful.

在另一種實施例中,上述接收模組740,可以用於接收上述光網路單元120發送的上行資料,並在上述發送模組720向上述光網路單元120發送下行波長切換命令之後,等待預設延遲時間,再從上述光網路單元120發送上行資料幀讀取上述光網路單元120的上行發射波長資訊;上述判斷模組750,可以用於根據上述上行發射波長資訊,判斷上述光網路單元120的上行發射波長切換是否成功。 In another embodiment, the receiving module 740 can be configured to receive the uplink data sent by the optical network unit 120, and wait after the sending module 720 sends a downlink wavelength switching command to the optical network unit 120. Determining the delay time, and then transmitting the uplink data frame from the optical network unit 120 to read the uplink transmission wavelength information of the optical network unit 120. The determining module 750 may be configured to determine the light according to the uplink transmission wavelength information. Whether the uplink transmission wavelength switching of the network unit 120 is successful.

在具體實施例中,當上述波長切換裝置700應用到在圖2所示的多波長無源光網路系統100時,上述發送模組720可以主要包括在上述光線路終端110的下行光發射器Tx1~Tx4和第一波分複用裝置112;上述接收模組740可以主要包括在上述光線路終端110的下行光接收器Rx1~Rx4和第二波分複用裝置113;而上述資料處理模組710、上述控制模組730、上述判斷模組750和上述帶寬分配模組760可以通過上述光線路終端110的處理模組114(比如MAC模組)來實現。 In a specific embodiment, when the wavelength switching device 700 is applied to the multi-wavelength passive optical network system 100 shown in FIG. 2, the transmitting module 720 may mainly include a downlink optical transmitter at the optical line terminal 110. Tx1~Tx4 and the first wavelength division multiplexing device 112; the receiving module 740 may mainly include the downstream optical receivers Rx1 R Rx4 and the second wavelength division multiplexing device 113 of the optical line terminal 110; and the data processing module The group 710, the control module 730, the determination module 750, and the bandwidth allocation module 760 can be implemented by the processing module 114 (such as a MAC module) of the optical line terminal 110.

應當理解,以上僅是簡單概括上述波長切換裝置700各個功能模組的主要功能,上述功能模組具體工作過程可 以參閱上述實施例一至實施例六的波長切換方法。 It should be understood that the above is only a brief summary of the main functions of the various functional modules of the above wavelength switching device 700, and the specific working process of the above functional modules may be For the wavelength switching method of the first embodiment to the sixth embodiment described above.

通過以上的實施例的描述,本領域的技術人員可以清楚地瞭解到本發明可借助軟體加必需的硬體平臺的方式來實現,當然也可以全部通過硬體來實施。基於這樣的理解,本發明的技術方案對背景技術做出貢獻的全部或者部分可以以軟體產品的形式體現出來,該電腦軟體產品可以存儲在存儲介質中,如ROM/RAM、磁碟、光碟等,包括若干指令用以使得一台電腦設備(可以是個人電腦,伺服器,或者網路設備等)執行本發明各個實施例或者實施例的某些部分上述的方法。 Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of a software plus a necessary hardware platform, and of course, can also be implemented entirely by hardware. Based on such understanding, all or part of the technical solution of the present invention contributing to the background art may be embodied in the form of a software product, which may be stored in a storage medium such as a ROM/RAM, a magnetic disk, a compact disk, or the like. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform the various methods described above in accordance with various embodiments or embodiments of the present invention.

以上所述,僅為本申請較佳的實施例,但本申請的保護範圍並不局限於此,任何熟悉本技術領域的技術人員在本申請披露的技術範圍內,可輕易想到的變化或替換,都應涵蓋在本申請的保護範圍之內。因此,本申請的保護範圍應該以申請專利範圍的保護範圍為準。 The foregoing is only a preferred embodiment of the present application, but the scope of protection of the present application is not limited thereto, and any change or replacement that can be easily conceived by those skilled in the art within the technical scope disclosed in the present application is not limited thereto. All should be covered by the scope of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the scope of the patent application.

Claims (11)

一種多波長無源光網路的波長切換方法,其特徵在於,包括:當判斷出所述光網路單元需要進行波長切換時,向所述光網路單元下達波長切換指示之前,在多個不同的波長通道分別給所述光網路單元預留相同的時隙,以授權所述光網路單元在波長通道切換過程中可以按照所述光網路單元在當前時刻調整到的上行發射波長;在所述預留的時隙,接收所述光網路單元發送的資料。 A wavelength switching method for a multi-wavelength passive optical network, comprising: when it is determined that the optical network unit needs to perform wavelength switching, before the wavelength switching indication is sent to the optical network unit, Different wavelength channels respectively reserve the same time slot for the optical network unit to authorize the optical network unit to adjust the uplink transmission wavelength to be adjusted by the optical network unit at the current time during the wavelength channel switching process. Receiving, in the reserved time slot, the data sent by the optical network unit. 如申請專利範圍第1項所述的波長切換方法,其特徵在於,所述波長切換方法還包括:當獲知所述光網路單示已經完成波長通道切換之後,停止在多個波長通道的相同時隙。 The wavelength switching method according to claim 1, wherein the wavelength switching method further comprises: stopping the same in the plurality of wavelength channels after learning that the optical network indicates that the wavelength channel switching has been completed. Time slot. 如申請專利範圍第2項所述的波長切換方法,其特徵在於,所述波長切換方法還包括:為所述光網路單元切換後所在的波長通道預留相同的時隙;根據所述分配的時隙,通過所述切換後所在的波長通道接收所述光網路單元的資料。 The wavelength switching method of claim 2, wherein the wavelength switching method further comprises: reserving the same time slot for the wavelength channel in which the optical network unit is switched; The time slot receives the data of the optical network unit through the wavelength channel in which the switching is performed. 一種多波長無源光網路的波長切換方法,其特徵在於,包括:光網路單元在波長通道切換過程中,調整上行發射波長;根據光線路終端在多個不同的波長通道分別給所述光網路單元預留相同的時隙,通過所述調整後的波長通道向所述 光線路終端發送資料。 A wavelength switching method for a multi-wavelength passive optical network, comprising: an optical network unit adjusting an uplink transmission wavelength during a wavelength channel switching; respectively, according to an optical line terminal, respectively, in a plurality of different wavelength channels The optical network unit reserves the same time slot, and the adjusted wavelength channel is used to The optical line terminal sends the data. 如申請專利範圍第4項所述的波長切換方法,其特徵在於,所述波長切換方法還包括:所述光網路單元進行波長通道切換;根據所述光線路終端為所述切換後的所在的波長通道分配的時隙,在所述切換後的所在的波長通道上發送資料。 The wavelength switching method of claim 4, wherein the wavelength switching method further comprises: the optical network unit performs wavelength channel switching; and the optical line terminal is located after the switching The time slot allocated by the wavelength channel transmits data on the wavelength channel where the switching is performed. 一種光線路終端,其特徵在於,所述光線路終端,用於當判斷出所述光網路單元需要進行波長切換時,向所述光網路單元下達波長切換指示之前,在多個不同的波長通道分別給所述光網路單元預留相同的時隙,以授權所述光網路單元在波長通道切換過程中可以按照所述光網路單元在當前時刻調整到的上行發射波長;在所述預留的時隙,接收所述光網路單元發送的資料。 An optical line terminal, wherein the optical line terminal is configured to: when it is determined that the optical network unit needs to perform wavelength switching, before the wavelength switching indication is sent to the optical network unit, in a plurality of different The wavelength channel respectively reserves the same time slot for the optical network unit to authorize the optical network unit to adjust the uplink transmission wavelength to be adjusted by the optical network unit at the current time during the wavelength channel switching; The reserved time slot receives the data sent by the optical network unit. 如申請專利範圍第6項所述的光線路終端,其特徵在於,所述光線路終端,還用於獲知所述光網路單元已經完成波長通道切換之後,停止在多個波長通道的相同時隙,為所述光網路單元的切換後所在的波長通道預留相同的時隙。 The optical line terminal according to claim 6, wherein the optical line terminal is further configured to: after the optical network unit has completed wavelength channel switching, stop at the same time of the plurality of wavelength channels The slot reserves the same time slot for the wavelength channel in which the optical network unit is switched. 如申請專利範圍第6項所述的光線路終端,其特徵在於,所述光線路終端,還用於,為所述光網路單元切換後所在的波長通道預留相同的時隙;根據所述分配的時隙,通過所述切換後所在的波長通道接收所述光網路單元的資料。 The optical line terminal according to claim 6, wherein the optical line terminal is further configured to reserve the same time slot for the wavelength channel in which the optical network unit is switched; The allocated time slot receives the data of the optical network unit through the wavelength channel in which the switching takes place. 一種光網路單元,其特徵在於,所述光網路單元,用於光網路單元在波長通道切換過程中,調整上行發射波長;根據光線路終端在多個不同的波長通道分別給所述光網路單 元預留相同的時隙,通過所述調整後的波長通道向所述光線路終端發送資料。 An optical network unit, wherein the optical network unit is configured to adjust an uplink transmit wavelength during a wavelength channel switching process of the optical network unit; and respectively, according to the optical line terminal, in the multiple different wavelength channels Optical network The element reserves the same time slot, and sends data to the optical line terminal through the adjusted wavelength channel. 如申請專利範圍第9項所述的光網路單元,其特徵在於,所述光網路單元,還用於進行波長通道切換;根據所述光線路終端為所述切換後的所在的波長通道分配的時隙,在所述切換後的所在的波長通道上發送資料。 The optical network unit of claim 9, wherein the optical network unit is further configured to perform wavelength channel switching; and according to the optical line terminal, the wavelength channel after the switching The allocated time slot transmits data on the wavelength channel in which the switching is performed. 一種多波長無源光網路系統,具有M個波長通道,M大於1,其特徵在於,所述多波長無源光網路系統包括至少一個光線路終端、多個光網路單元和光分配網路,其中所述光線路終端通過所述光分配網路連接到所述多個光網路單元;其中,所述光線路終端如申請專利範圍第6-8項所述的任意一所述光線路終端,所述光網路單元如申請專利範圍第9-10項所述的任意一所述光網路單元。 A multi-wavelength passive optical network system having M wavelength channels, M is greater than 1, wherein the multi-wavelength passive optical network system includes at least one optical line terminal, multiple optical network units, and an optical distribution network. And the optical line terminal is connected to the plurality of optical network units through the optical distribution network; wherein the optical line terminal is any one of the light rays described in claim 6-8 The optical network unit is any one of the optical network units described in claim 9-10.
TW104113481A 2012-05-23 2013-04-30 Method, system and device for switching wavelength of multi-wavelength passive optical network (pon) TW201531045A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/075921 WO2013173983A1 (en) 2012-05-23 2012-05-23 Method, system and device for switching wavelength of multi-wavelength passive optical network (pon)

Publications (1)

Publication Number Publication Date
TW201531045A true TW201531045A (en) 2015-08-01

Family

ID=49621684

Family Applications (2)

Application Number Title Priority Date Filing Date
TW104113481A TW201531045A (en) 2012-05-23 2013-04-30 Method, system and device for switching wavelength of multi-wavelength passive optical network (pon)
TW102115374A TWI493900B (en) 2012-05-23 2013-04-30 Wavelength switching method, system and device for multi - wavelength passive optical network

Family Applications After (1)

Application Number Title Priority Date Filing Date
TW102115374A TWI493900B (en) 2012-05-23 2013-04-30 Wavelength switching method, system and device for multi - wavelength passive optical network

Country Status (8)

Country Link
US (1) US20130315589A1 (en)
EP (1) EP2731287A4 (en)
JP (1) JP2015522992A (en)
KR (1) KR20150008911A (en)
CN (1) CN103548292A (en)
AR (1) AR091358A1 (en)
TW (2) TW201531045A (en)
WO (1) WO2013173983A1 (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104837077B (en) * 2014-02-12 2019-05-07 中兴通讯股份有限公司 Optical line terminal/optical network unit wavelength tuning method and device
CN105580300A (en) * 2014-05-12 2016-05-11 华为技术有限公司 Wavelength switching method, device and system
EP3065321B1 (en) * 2014-07-15 2018-05-16 Huawei Technologies Co., Ltd. Communication method, apparatus and system for passive optical network
WO2016015216A1 (en) * 2014-07-29 2016-02-04 华为技术有限公司 Method and apparatus for device registration and wavelength switching in ethernet passive optical network system
CN106576011B (en) 2014-08-13 2019-05-24 华为技术有限公司 Communication means, device and the system of passive optical network
CN106797268B (en) * 2014-10-09 2019-10-25 华为技术有限公司 The power-economizing method of passive optical network, device and system
WO2016106599A1 (en) * 2014-12-30 2016-07-07 华为技术有限公司 Communication method, apparatus and system applied to multi-wavelength passive optical network
CN106470366B (en) * 2015-08-19 2020-10-16 南京中兴新软件有限责任公司 Channel configuration method and device
KR20180044378A (en) * 2015-09-07 2018-05-02 후아웨이 테크놀러지 컴퍼니 리미티드 Passive optical network communication method, apparatus, and system
CN108063985B (en) 2016-11-07 2020-11-17 中兴通讯股份有限公司 Data receiving and sending method and device
US10436109B2 (en) * 2016-12-31 2019-10-08 Malta Inc. Modular thermal storage
CN108259118B (en) * 2018-01-12 2019-12-17 烽火通信科技股份有限公司 Auxiliary management control device and method for WDM PON system
CN108391185B (en) * 2018-02-12 2021-06-04 青岛海信宽带多媒体技术有限公司 Optical module control method and device and optical module
CN115514445A (en) * 2018-12-29 2022-12-23 中兴通讯股份有限公司 Data receiving and transmitting method, wavelength configuration method, device and wireless access system
EP3883156A1 (en) * 2020-03-18 2021-09-22 Sterlite Technologies Limited System and method for enabling dynamic bandwidth control in passive optical network infrastructure

Family Cites Families (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1254035C (en) * 2002-10-15 2006-04-26 华为技术有限公司 Light wavelength channel protecting method and apparatus for compact WDM system
AU2003900693A0 (en) * 2003-02-14 2003-02-27 Redfern Broadband Networks Inc. WDM-to-Switch interface card
PL2615883T3 (en) * 2004-03-09 2019-04-30 Optis Wireless Technology Llc Random access method and radio communication terminal device
KR100640475B1 (en) * 2004-07-22 2006-10-30 삼성전자주식회사 Telecommunication Broadcating Multiplexer and Demultiplexer for Using Integrating System of Broadcasting and Telecommunication
KR100570842B1 (en) * 2004-12-13 2006-04-13 한국전자통신연구원 Dynamic multicasting group management and service wavelength allocation method for communication and broadcasting converged service in wdm-pons
JP4704842B2 (en) * 2005-08-01 2011-06-22 株式会社日立製作所 WDM type PON system
KR100785436B1 (en) * 2005-09-20 2007-12-13 한국과학기술원 Wavelength division multiplexing passive optical network for convergence broadcasting service and communication service
CN101009530B (en) * 2006-01-23 2012-02-15 华为技术有限公司 Passive optical network, multiplexing/de-multiplexing device and method supporting the multicast service
CN101119163B (en) * 2006-07-31 2011-08-10 华为技术有限公司 WDM-PON method, system and optical line terminal for implementing multicast service
US7877013B2 (en) * 2006-08-24 2011-01-25 Futurewei Technologies, Inc. Method and system for random channel assignment in WDM based passive optical networks
US8824889B2 (en) * 2006-10-04 2014-09-02 Futurewei Technologies, Inc. High capacity optical frequency division multiple access passive optical network
JP4388556B2 (en) * 2007-01-09 2009-12-24 株式会社日立コミュニケーションテクノロジー Passive optical network system and wavelength allocation method
US8744265B2 (en) * 2007-04-27 2014-06-03 Futurewei Technologies, Inc. Passive optical network with partially-tuned lasers
CN101378291A (en) * 2007-08-28 2009-03-04 华为技术有限公司 Method, equipment and system for transmitting test data
CN101378388B (en) * 2007-08-28 2012-10-03 华为技术有限公司 Method, system and equipment for transmitting passive optical network data
US7885543B2 (en) * 2007-09-12 2011-02-08 Verizon Patent And Licensing Inc. High performance gigabit passive optical network
JP4820791B2 (en) * 2007-09-21 2011-11-24 株式会社日立製作所 Passive optical network system and ranging method
CN101459656B (en) * 2007-12-13 2012-05-23 华为技术有限公司 Passive optical network aggregation node device and system
CN101309191B (en) * 2008-05-30 2012-08-22 北京北方烽火科技有限公司 PON system mixing TDMA and WDM having function of local area network
US8797854B2 (en) * 2008-09-29 2014-08-05 Cisco Technology, Inc. Scheduling for RF over fiber optic cable [RFoG]
US8089381B2 (en) * 2009-05-29 2012-01-03 Azad Siahmakoun Photonic D/A
JP5314760B2 (en) * 2009-06-16 2013-10-16 株式会社日立製作所 Optical multiplex terminator, wavelength multiplex passive optical network system, downlink wavelength transmission method
WO2011005223A1 (en) * 2009-07-10 2011-01-13 Agency For Science, Technology And Research Method and system for wavelength allocation in a wdm/tdm passive optical network
US20120051748A1 (en) * 2009-07-14 2012-03-01 Mitsubishi Electric Corporation Optical line terminal and pon system
JP5334878B2 (en) * 2010-01-15 2013-11-06 日本電信電話株式会社 Optical communication system, station side device, subscriber side device, and optical communication method
US8467682B2 (en) * 2010-10-29 2013-06-18 Lockheed Martin Corporation Reliable load-balanced multi-photonic star configuration
US9219566B2 (en) * 2011-04-08 2015-12-22 Futurewei Technologies, Inc. Wavelength management in multiple-wavelength passive optical networks

Also Published As

Publication number Publication date
EP2731287A4 (en) 2014-12-31
US20130315589A1 (en) 2013-11-28
EP2731287A1 (en) 2014-05-14
WO2013173983A1 (en) 2013-11-28
CN103548292A (en) 2014-01-29
TWI493900B (en) 2015-07-21
TW201349771A (en) 2013-12-01
KR20150008911A (en) 2015-01-23
JP2015522992A (en) 2015-08-06
AR091358A1 (en) 2015-01-28

Similar Documents

Publication Publication Date Title
TWI493900B (en) Wavelength switching method, system and device for multi - wavelength passive optical network
US10123101B2 (en) Communication method applied to multi-wavelength passive optical network, apparatus, and system
US9438368B2 (en) Wavelength negotiation method and apparatus of multi-wavelength passive optical network, and multi-wavelength passive optical network system
US8200088B2 (en) Optical communication system, and optical communication method and communication unit therefor
JP5328994B2 (en) Relay device, station side optical communication device, communication system, and bandwidth allocation method
WO2013185306A1 (en) Wavelength configuration method, system, and device for multi-wavelength passive optical network
WO2012071894A1 (en) Passive optical network and protection switching method thereof
WO2021008224A1 (en) Method for reducing uplink time delay of passive optical network, and related device
WO2013189321A1 (en) Tuning method, system and device for wavelength in passive optical network
CN106664234B (en) WDM/TDM-PON system and transmission start time correction method thereof
CN108092709B (en) Protection switching method in passive optical network, optical line terminal and optical network device
JP6582731B2 (en) Station-side terminator, subscriber-side terminator, optical communication system, path switching method, path switching program, and wavelength switching method
WO2014079233A1 (en) Method and system for tuning operating wavelength
JP2018023075A (en) Communication device, communication method, and communication program
CN103248418A (en) Method and system used for switching main channel and spare channel and based on PON (passive optical network)
JP2015170958A (en) Master station device, slave station device, control device, optical communication system, and failure changeover method