CN107241138B - XG-PON system and re-ranging control method for channel switching thereof - Google Patents
XG-PON system and re-ranging control method for channel switching thereof Download PDFInfo
- Publication number
- CN107241138B CN107241138B CN201610182579.7A CN201610182579A CN107241138B CN 107241138 B CN107241138 B CN 107241138B CN 201610182579 A CN201610182579 A CN 201610182579A CN 107241138 B CN107241138 B CN 107241138B
- Authority
- CN
- China
- Prior art keywords
- onu
- olt
- channel
- equalization
- standby
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/07—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
- H04B10/075—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
- H04B10/079—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/03—Arrangements for fault recovery
- H04B10/038—Arrangements for fault recovery using bypasses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0005—Switch and router aspects
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a re-ranging control method after the channel switching in an XG-PON system, wherein an optical network terminal ONU in the XG-PON system is connected with a main channel or a standby channel of an optical line terminal OLT, and the method comprises the following steps: when the OLT is switched from the main channel to the standby channel, the OLT issues physical layer operation administration and maintenance PLOAM message authorization to the ONU through the standby channel; when the OLT receives an uplink response message which is sent by the ONU based on PLOAM message authorization through the standby channel, the OLT calculates the balance time delay of the ONU under the standby channel based on the received uplink response message; and the OLT issues the equalization time delay to the ONU through the ranging time message so that the ONU stably operates under the standby channel based on the equalization time delay. The invention realizes the stable operation of the ONU in the standby channel, thereby ensuring the reliable transmission of the service of the user in the XG-PON system.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a gigabit passive optical network system and a retest control method for channel switching thereof.
Background
The gigabit passive Optical Network XG-PON system comprises an Optical Line Terminal (OLT), an Optical Network Unit (ONU) and an Optical Distribution Network (ODN), wherein the transmission direction from the OLT to the ONU is a downlink direction, and the transmission direction from the ONU to the OLT is an uplink direction. With the development of communication technology, the demand of users on the bandwidth (the amount of data that can be transmitted on the line in a unit time) of the OLT optical line terminal is also increasing, and due to the high bandwidth, high efficiency, high splitting ratio and longer transmission distance performance of the XG-PON system, the XG-PON system is being widely used, and how to ensure reliable operation of the services of users in the XG-PON system becomes a problem that is generally concerned by equipment vendors and operators. When the XG-PON system works normally, the service passing through the OLT and the ONU is transmitted through the main channel. And when the main channel fails, switching to the standby channel for service transmission. After switching to the standby channel, the service can be normally transmitted after ranging is performed again. The transmission channel switching process comprises the following specific steps:
for an ONU accessing an XG-PON system, when the ONU is normally started, the ONU respectively goes through an initial state (O1 state), a serial number state (O2-3 state) and a ranging state (O4 state) and then enters a normal operation state (O5 state), so that the ONU stably operates under the main channel of the OLT. When the current main channel fails and the ONU detects LODS (downlink signal interruption), the ONU enters a fault recovery waiting state (O6 state) from an O5 state, and starts a timer (set to 100ms according to the standard) to detect whether the downlink signal of the ONU is recovered within a preset time, and meanwhile, the OLT closes the main channel and opens a standby channel after detecting that the uplink signal of the ONU is abnormal; when the OLT opens the standby channel, if the timer does not time out, the ONU switches to the O5 state again after detecting that the DSYNC downlink optical signal synchronization is successful in the O6 state, and if the timer times out, the ONU switches to the O1 state.
In the XG-PON standard (ITU-T G987.3), after the transmission channel is not explicitly required to be switched, the ONU sends a Registration ID (Registration ID) message to the OLT in the O5 state to respond to the ranging authorization issued by the OLT, so as to re-range the ONU, and in the XG-PON standard, a process in which the OLT controls the ONU to switch to the O4 state for re-ranging through a fault recovery wait ploam (pop ploam) message is not defined, so that the traffic of the user in the XG-PON system cannot be reliably transmitted.
Disclosure of Invention
The invention mainly aims to provide an XG-PON system and a re-ranging control method for channel switching of the XG-PON system, and aims to solve the problem that in the XG-PON standard, after ONU is not explicitly required to be switched to a normal operation state of a standby channel, an uplink Registration ID message is sent to the OLT under the standby channel based on ranging authorization issued by the OLT to re-range.
In order to achieve the above object, the present invention provides a re-ranging control method for channel switching in an XG-PON system, where an optical network terminal ONU in the XG-PON system is connected to a main channel or a standby channel of an optical line terminal OLT, the method including the following steps:
when the OLT is switched from the main channel to the standby channel, the OLT issues physical layer operation administration and maintenance PLOAM message authorization to the ONU through the standby channel;
when the OLT receives an uplink response message sent by the ONU based on the PLOAM message authorization through the standby channel, the OLT calculates the equalization time delay of the ONU under the standby channel based on the received uplink response message;
and the OLT issues the equalization time delay to the ONU through a distance measurement time message so that the ONU stably operates under the standby channel based on the equalization time delay.
Preferably, the step of the OLT calculating the equalization delay of the ONU under the back-up channel based on the received upstream response message includes:
calculating a first equalization time delay of the ONU under the standby channel based on the received uplink response message, and acquiring a second equalization time delay of the stored ONU under the main channel;
and calculating a difference value between the first equalization time delay and the second equalization time delay, and determining the difference value as the equalization time delay of the ONU under the spare channel.
Preferably, after the OLT switches from the main channel to the standby channel, the step of the OLT issuing a ranging authorization message to the ONU through the standby channel further includes:
and when the main channel normally operates, storing the second equalization time delay of the ONU under the main channel into the standby channel.
In order to achieve the above object, the present invention further provides a re-ranging control method for channel switching in an XG-PON system, where an optical network terminal ONU in the XG-PON system is connected to a main channel or a standby channel of an optical line terminal OLT, the method including the following steps:
when the ONU is switched from the fault recovery waiting state of the main channel to the normal operation state of the standby channel, the ONU receives PLOAM message authorization sent by the OLT through the standby channel;
the ONU transmits an uplink response message to the OLT under the standby channel based on the PLOAM message authorization so that the OLT calculates the equalization time delay of the ONU under the standby channel based on the received uplink response message;
and the ONU receives the equalization time delay issued by the OLT through a ranging time message and stably operates under the standby channel according to the equalization time delay.
Preferably, the step of the ONU sending an upstream response message to the OLT on the backup channel based on the ranging grant message includes:
the second equalization delay is used as a frame starting time for sending the uplink response message;
and sending an uplink response message to the OLT based on the frame starting time.
In addition, to achieve the above object, the present invention also provides an XG-PON system comprising: the optical network terminal ONU in the XG-PON system is connected with a main channel or a standby channel of the optical line terminal OLT; wherein, the optical line terminal OLT comprises:
a first sending module, configured to send a physical layer operation administration and maintenance PLOAM message authorization to the ONU through the standby channel after the OLT switches from the main channel to the standby channel;
a calculating module, configured to calculate, when the OLT receives, through the backup channel, the uplink response message that is authorized to be sent by the ONU based on the PLOAM message, an equalization delay of the ONU under the backup channel based on the received uplink response message;
and the second sending module is used for sending the equalization time delay to the ONU through a distance measurement time message so that the ONU stably operates under the standby channel based on the equalization time delay.
Preferably, the calculation module is further configured to:
calculating a first equalization time delay of the ONU under the standby channel based on the received uplink response message, and acquiring a second equalization time delay of the ONU under the main channel;
and calculating a difference value between the first equalization time delay and the second equalization time delay, and determining the difference value as the equalization time delay of the ONU under the spare channel.
Preferably, the optical line termination OLT further comprises:
and the storage module is used for storing the second equalization delay of the ONU under the main channel into the standby channel when the main channel normally operates.
In addition, to achieve the above object, the present invention further provides an XG-PON system comprising: the optical network terminal ONU in the XG-PON system is connected with a main channel or a standby channel of the optical line terminal OLT; wherein, the optical network terminal ONU includes:
a first receiving module, configured to receive, when the ONU switches from the failure recovery waiting state of the main channel to the normal operation state of the standby channel, a PLOAM message authorization issued by the OLT through the standby channel;
a sending module, configured to send an uplink response message to the OLT on the basis of the PLOAM message authorization, so that the OLT calculates, on the basis of receiving the uplink response message, an equalization delay of the ONU on the standby channel;
and the second receiving module is used for receiving the equalization time delay issued by the OLT through a ranging time message and stably operating in the standby channel according to the equalization time delay.
Preferably, the sending module includes:
taking the second equalization delay as a frame starting time for sending the uplink response message;
a sending unit, configured to send an uplink response message to the OLT based on the frame start time.
According to the invention, after the OLT is switched from the main channel to the standby channel, the OLT issues PLOAM message authorization to the ONU through the standby channel, when the OLT receives an uplink response message sent by the ONU based on the PLOAM message authorization through the standby channel, the OLT calculates the balance time delay of the ONU under the standby channel based on the received uplink response message, and the OLT issues the balance time delay to the ONU through the ranging time message, so that the ONU stably operates under the standby channel based on the balance time delay. After the ONU is switched from the fault recovery waiting state of the main channel to the normal operation state of the standby channel, receiving PLOAM message authorization issued by an OLT from the standby channel, and sending an uplink AcknowledgePLOAM message to the OLT based on the PLOAM message authorization, so that the OLT calculates the balance time delay from the OLT to the ONU under the standby channel, and after the ONU receives the balance time delay issued by the OLT, completing re-ranging, so that the ONU stably operates under the standby channel, and the service of a user in the XG-PON system is reliably transmitted.
Drawings
Fig. 1 is a schematic flowchart of a first embodiment of a re-ranging control method for channel switching in an XG-PON system according to the present invention;
fig. 2 is a schematic diagram of a detailed flow of an OLT calculating an equalization delay of the ONU under the backup channel based on the received uplink response message in the second embodiment of the distance re-measurement control method for channel switching in the XG-PON system according to the present invention;
fig. 3 is a schematic flowchart of a distance re-measurement control method for channel switching in an XG-PON system according to a third embodiment of the present invention;
fig. 4 is a schematic flowchart of a distance re-measurement control method for channel switching in an XG-PON system according to a fourth embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a detailed flow of sending, by an ONU, an uplink response message to the OLT on the basis of the PLOAM message authorization in the fifth embodiment of the distance re-measurement control method for channel switching in the XG-PON system according to the present invention;
FIG. 6 is a functional block diagram of a first embodiment of an optical line termination OLT in an XG-PON system according to the present invention;
FIG. 7 is a functional block diagram of a second embodiment of an optical line termination OLT in an XG-PON system according to the present invention;
FIG. 8 is a functional block diagram of a third embodiment of an optical network unit ONU in an XG-PON system according to the present invention;
fig. 9 is a schematic diagram of a detailed functional module of a sending module in a fourth embodiment of an optical network terminal ONU in the XG-PON system according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Based on the above problem, the present invention provides a re-ranging control method for channel switching in an XG-PON system.
Referring to fig. 1, fig. 1 is a schematic flowchart of a first embodiment of a re-ranging control method for channel switching in an XG-PON system according to the present invention.
In this embodiment, the method for controlling distance re-measurement for channel switching in the XG-PON system includes:
step S110, after the OLT switches from the main channel to the standby channel, the OLT issues PLOAM message authorization for physical layer operation management and maintenance to the ONU through the standby channel;
in this embodiment, the tera gigabit passive optical network XG-PON system includes an optical line terminal OLT, and when the OLT detects that an uplink signal of an ONU associated with the OLT is lost (ONU LOS) in the main channel, that is, in a main working PON port, the OLT closes the main working PON port, opens a standby working PON port, that is, opens a standby channel, and then the OLT switches from the main channel to the standby channel to operate. And the OLT issues physical layer operation management and maintenance PLOAM message authorization at the standby working PON port, namely, issues a specific ONU management control channel (ONU OMCC) bandwidth and re-measures the ONU. Wherein, the PON port is a port on the OLT.
It should be noted that the PLOAM message authorization structure is a PLOAM message authorization structure defined in the XG-PON standard (ITU-T G987.3), and the PLOAM message authorization definition for fields related to the re-ranging includes: alloc _ ID: the Alloc _ ID value corresponding to the ONU OMCC channel is consistent with the ONU-ID;
PLOAMu: whether a PLOAM message flag bit can be sent in an uplink frame or not, wherein 1 represents that an ONU can fill PLOAM messages in the next frame to be sent;
StartTime: the OLT sends the start time of the next frame allocation slot to the ONU, for example: is configured as 100;
GrantSize: the OLT sends the width of the next frame allocation slot to the ONU, for example: the configuration is 8. The GrantSize field for the O4 status ranging grant specified by the standard must be 0.
Step S120, when the OLT receives an uplink response message which is sent by the ONU based on PLOAM message authorization through the standby channel, the OLT calculates the equilibrium time delay of the ONU under the standby channel based on the received uplink response message;
when the ONU receives the ONU OMCC bandwidth with the PLOAMu flag bit of 1 issued by the OLT through the standby working PON port at the standby working PON port, the ONU sends an uplink response message, i.e. an uplink Acknowledge PLOAM message, to the OLT to respond to the ONU OMCC bandwidth with the PLOAMu flag bit of 1. After the OLT receives an uplink Acknowledge PLOAM message sent by the ONU, the equalization time delay of the ONU under the standby working PON port is recalculated, so that the ONU can stably work under the standby working PON port.
It is understood that the structure of the upstream Acknowledge PLOAM message is the structure of the upstream Acknowledge PLOAM message defined in the XG-PON standard (ITU-T G987.3):
bytes 1-2: ONU-ID, used for discerning ONU, distribute by OLT, keep unanimous in protecting the switching process;
byte 3: the Message ID defined by the standard PLOAM Message is used for identifying the Message type, and the Message ID of the uplink Acknowledgemessage is specified to be 0x09 by the standard;
byte 4: marking the serial number of the specified message, wherein the serial number is the same as the serial number of the response downlink message, and when no corresponding downlink message exists, the serial number is filled to be 0;
byte 5: the Completion _ code field specified by the standard, flags the response type of the message, for example: padding to 1, representing no message to send;
bytes 6-40: fill field, default fill is 0;
bytes 41-48: MIC, message integrity check field, compute padding as per standard requirements.
And step S130, the OLT issues the equalization time delay to the ONU through the ranging time message so that the ONU stably operates under the standby channel based on the equalization time delay.
After the OLT calculates the equalization delay of the ONU under the standby working PON port, the OLT issues the equalization delay to the ONU through a Ranging Time message, namely a Ranging _ Time PLOAM message, and the ONU adjusts the sending starting point of an uplink frame according to the equalization delay so as to ensure that the ONU stably runs under the standby channel based on the equalization delay.
In this embodiment, after the OLT switches from the main channel to the standby channel, the OLT issues a PLOAM message authorization to the ONU through the standby channel, and when the OLT receives an uplink response message sent by the ONU based on the PLOAM message authorization through the standby channel, the OLT calculates an equalization delay of the ONU under the standby channel based on the received uplink response message, and sends the equalization delay to the ONU through a ranging time message, so that the ONU stably operates under the standby channel based on the equalization delay. After the ONU is switched from the fault recovery waiting state of the main channel to the normal operation state of the standby channel, receiving PLOAM message authorization issued by an OLT from the standby channel, and sending an uplink AcknowledgePLOAM message to the OLT based on the PLOAM message authorization, so that the OLT calculates the balance time delay from the OLT to the ONU under the standby channel, and after the ONU receives the balance time delay issued by the OLT, completing re-ranging, so that the ONU stably operates under the standby channel, and the service of a user in the XG-PON system is reliably transmitted.
Further, based on the first embodiment, a second embodiment of the distance re-measurement control method for channel switching in the XG-PON system is provided, where in this embodiment, referring to fig. 2, the step S120 includes:
step S121, calculating a first equalization time delay of the ONU under the spare channel based on the received uplink response message, and acquiring a second equalization time delay of the stored ONU under the main channel;
in this embodiment, when receiving an uplink Acknowledge PLOAM message sent by an ONU, the OLT calculates, according to a time when receiving the uplink Acknowledge PLOAM message, a first equalization delay of the ONU under a standby working PON port, and acquires a second equalization delay of the ONU under a main channel, where the second equalization delay is pre-stored under the standby working PON port.
Step S122, calculating a difference between the first equalization delay and the second equalization delay, and determining that the difference is the equalization delay of the ONU in the spare channel.
The second equalization delay of the ONU under the main working PON port is used as a frame start time when the ONU sends the uplink response message, so that a difference value is obtained by subtracting the second equalization delay from the first equalization delay, and the difference value is determined as the equalization delay of the ONU under the standby channel.
In this embodiment, a first equalization delay of the ONU in the standby channel is calculated based on the received uplink response message, a second equalization delay of the stored ONU in the main channel is obtained, then a difference between the first equalization delay and the second equalization delay is calculated, and the difference is determined as the equalization delay of the ONU in the standby channel, so that the ONU can obtain an accurate equalization delay, and thus the ONU can stably operate in the standby channel.
Further, based on the second embodiment, a third embodiment of the distance re-measurement control method for channel switching in the XG-PON system is provided, where in this embodiment, referring to fig. 3, before the step S110, the method further includes:
and step S140, when the main channel normally runs, storing the second equalization delay of the ONU under the main channel into the standby channel.
In this embodiment, when the OLT and the ONU operate normally at the main working PON port, the OLT stores the second equalization delay obtained by ranging of the ONU in the main channel into the standby channel.
In this embodiment, when the OLT and the ONU operate normally in the main channel, the OLT stores the second equalization delay of the ONU in the main channel into the standby channel, so as to conveniently calculate the accurate equalization delay when the ONU operates in the standby channel, thereby playing a role of double protection of channel switching in the XG-PON system.
The invention further provides a re-ranging control method for channel switching in the XG-PON system.
Referring to fig. 4, fig. 4 is a schematic flowchart of a re-ranging control method for channel switching in an XG-PON system according to a fourth embodiment of the present invention.
In this embodiment, the method for controlling distance re-measurement for channel switching in the XG-PON system includes:
step S210, when the ONU is switched from the fault recovery waiting state of the main channel to the normal operation state of the standby channel, the ONU receives PLOAM message authorization issued by the OLT through the standby channel;
in this embodiment, the XG-PON system includes an optical network unit ONU, and the ONU switches to a fault recovery waiting state, i.e. an O6 state, after detecting LODS (loss of downstream signal), and starts a timer (set to 100ms according to the standard) to detect whether the downstream signal of the ONU is recovered within a preset time, and if the ONU detects successful synchronization of the DSYNC downstream optical signal in the O6 state, the ONU switches to a normal operation state of the standby working PON port, i.e. an O5 state, and waits for re-ranging. When the ONU switches to the O5 state under the standby working PON port, the ONU receives the PLOAM message authorization issued by the OLT through the standby working PON port, that is, the ONU OMCC bandwidth with the PLOAMu flag bit of 1.
Step S220, the ONU sends an uplink response message to the OLT under the standby channel based on PLOAM message authorization, so that the OLT calculates the equilibrium time delay of the ONU under the standby channel based on the received uplink response message;
when the ONU receives an ONU OMCC bandwidth with a PLOAMu flag bit of 1 issued by the OLT, the ONU uses the second equalization delay under the working PON port as a frame start time for sending an uplink response message, and sends an uplink response message, that is, an uplink Acknowledge PLOAM message to the OLT, so that the OLT calculates the equalization delay of the ONU under the standby working PON port based on the received uplink response message.
And step S230, the ONU receives the balanced time delay issued by the OLT through the ranging time message and stably operates in the standby channel according to the balanced time delay.
After receiving an uplink response message sent by an ONU by an OLT, the OLT calculates the equalization delay of the ONU under the standby working PON port and issues the calculated equalization delay to the ONU through a Ranging Time message, namely a Ranging _ Time PLOAM message. After receiving the equalization delay issued by the OLT through the ranging time message, the ONU adjusts the sending starting point of the uplink frame according to the equalization delay, thereby being capable of stably operating under the standby PON port.
In this embodiment, when the ONU switches from the fault recovery waiting state of the main channel to the normal operation state of the backup channel, the ONU receives a PLOAM message authorization issued by the OLT through the backup channel, and sends an uplink response message to the OLT in the backup channel based on the PLOAM message authorization, so that the OLT calculates the equalization delay of the ONU in the backup channel based on the received uplink response message, and when the ONU receives the equalization delay issued by the OLT through the ranging time message, the ONU stably operates in the backup channel according to the equalization delay, thereby enabling the service of the user in the XG-PON system to be reliably transmitted.
Further, based on the fourth embodiment, a fifth embodiment of the distance re-measurement control method for channel switching in an XG-PON system according to the present invention is provided, where in this embodiment, referring to fig. 5, the step S220 includes:
step S221, the second equalization delay is used as the frame starting time for sending the uplink response message;
step S222, sending an uplink response message to the OLT based on the frame start time.
In this embodiment, when the ONU receives the ONU OMCC bandwidth with the PLOAMu flag bit of 1 issued by the OLT, the ONU sends the upstream Acknowledge PLOAM message to the OLT with the second equalization delay as the frame start time for sending the upstream response message.
In this embodiment, the second equalization delay is used as a frame start time for sending the uplink response message, and the uplink response message is sent to the OLT based on the frame start time, so that the OLT can accurately calculate the equalization delay of the ONU in the standby channel.
The invention further provides an XG-PON system.
Referring to fig. 6, fig. 6 is a functional module diagram of a first embodiment of an optical line terminal OLT in the XG-PON system according to the present invention.
In this embodiment, the optical line termination OLT includes: a first sending module 110, a calculating module 120, and a second sending module 130.
The first sending module 110 is configured to issue a physical layer operation administration and maintenance PLOAM message authorization to the ONU through the standby channel after the OLT switches from the main channel to the standby channel;
in this embodiment, the tera gigabit passive optical network XG-PON system includes an optical line terminal OLT, and when the OLT detects that an uplink signal of an ONU associated with the OLT is lost (ONU LOS) in the main channel, that is, in a main working PON port, the OLT closes the main working PON port, opens a standby working PON port, that is, opens a standby channel, and then the OLT switches from the main channel to the standby channel to operate. A first sending module 110 in the OLT issues physical layer operation administration and maintenance PLOAM message authorization at the standby working PON port, that is, issues a specific ONU management control channel (ONU OMCC) bandwidth to perform ranging again on the ONU. Wherein, the PON port is a port on the OLT.
It should be noted that the PLOAM message authorization structure is a PLOAM message authorization structure defined in the XG-PON standard (ITU-T G987.3), and the PLOAM message authorization definition for fields related to the re-ranging includes: alloc _ ID: the Alloc _ ID value corresponding to the ONU OMCC channel is consistent with the ONU-ID;
PLOAMu: whether a PLOAM message flag bit can be sent in an uplink frame or not, wherein 1 represents that an ONU can fill PLOAM messages in the next frame to be sent;
StartTime: the OLT sends the start time of the next frame allocation slot to the ONU, for example: is configured as 100;
GrantSize: the OLT sends the width of the next frame allocation slot to the ONU, for example: the configuration is 8. The GrantSize field for the O4 status ranging grant specified by the standard must be 0.
The calculating module 120 is configured to calculate, when the OLT receives an uplink response message, which is authorized to be sent by the ONU based on the PLOAM message, through the standby channel, an equalization delay of the ONU under the standby channel based on the received uplink response message;
when the ONU receives the ONU OMCC bandwidth with the PLOAMu flag bit of 1 issued by the OLT through the standby working PON port at the standby working PON port, the ONU sends an uplink response message, i.e. an uplink Acknowledge PLOAM message, to the OLT to respond to the ONU OMCC bandwidth with the PLOAMu flag bit of 1. After the OLT receives an uplink Acknowledge PLOAM message sent by the ONU, the calculating module 120 recalculates the equalization delay of the ONU under the standby working PON port, so that the ONU can stably work under the standby working PON port.
It is understood that the structure of the upstream Acknowledge PLOAM message is the structure of the upstream Acknowledge PLOAM message defined in the XG-PON standard (ITU-T G987.3):
bytes 1-2: ONU-ID, used for discerning ONU, distribute by OLT, keep unanimous in protecting the switching process;
byte 3: the Message ID defined by the standard PLOAM Message is used for identifying the Message type, and the Message ID of the uplink Acknowledgemessage is specified to be 0x09 by the standard;
byte 4: marking the serial number of the specified message, wherein the serial number is the same as the serial number of the response downlink message, and when no corresponding downlink message exists, the serial number is filled to be 0;
byte 5: the Completion _ code field specified by the standard, flags the response type of the message, for example: padding to 1, representing no message to send;
bytes 6-40: fill field, default fill is 0;
bytes 41-48: MIC, message integrity check field, compute padding as per standard requirements.
The calculating module 120 is further configured to calculate a first equalization delay of the ONU in the standby channel based on the received uplink response message, and obtain a second equalization delay of the stored ONU in the main channel;
in this embodiment, when the OLT receives an uplink Acknowledge PLOAM message sent by an ONU, the computing module 120 in the OLT computes a first equalization delay of the ONU under the standby working PON according to the time of receiving the uplink Acknowledge PLOAM message, and obtains a second equalization delay of the ONU under the main channel, where the second equalization delay is pre-stored under the standby working PON.
The calculating module 120 is further configured to calculate a difference between the first equalization delay and the second equalization delay, and determine that the difference is the equalization delay of the ONU in the spare channel.
Since the second equalization delay of the ONU under the main working PON port is used as the frame start time when the ONU sends the uplink response message, the calculation module 120 needs to subtract the second equalization delay from the first equalization delay to obtain a difference, and determine the difference as the equalization delay of the ONU under the standby channel.
The second sending module 130 is configured to issue the equalization delay to the ONU through the ranging time message, so that the ONU stably operates in the spare channel based on the equalization delay.
After the calculation module 120 in the OLT calculates the equalization delay of the ONU under the standby working PON port, the second sending module 130 in the OLT issues the equalization delay to the ONU through a Ranging Time message, that is, through a Ranging _ Time PLOAM message, and the ONU adjusts the sending start point of the upstream frame according to the equalization delay, so that the ONU stably operates under the standby channel based on the equalization delay.
In this embodiment, after the OLT switches from the main channel to the standby channel, the first sending module 110 in the OLT issues a PLOAM message authorization to the ONU through the standby channel, and when the OLT receives an uplink response message sent by the ONU based on the PLOAM message authorization through the standby channel, the calculating module 120 in the OLT calculates the equalization delay of the ONU under the standby channel based on the received uplink response message, and the second sending module 130 in the OLT issues the equalization delay to the ONU through the ranging time message, so that the ONU stably operates under the standby channel based on the equalization delay. After the ONU is switched from the fault recovery waiting state of the main channel to the normal operation state of the standby channel, receiving PLOAM message authorization issued by an OLT from the standby channel, and sending an uplink AcknowledgePLOAM message to the OLT based on the PLOAM message authorization, so that the OLT calculates the balance time delay from the OLT to the ONU under the standby channel, and after the ONU receives the balance time delay issued by the OLT, completing re-ranging, so that the ONU stably operates under the standby channel, and the service of a user in the XG-PON system is reliably transmitted.
Further, based on the first embodiment, a second embodiment of the XG-PON system according to the present invention is proposed, and in this embodiment, referring to fig. 7, the optical line termination OLT further includes: a save module 140.
The saving module 140 is configured to, when the main channel operates normally, save the second equalization delay of the ONU under the main channel to the standby channel.
In this embodiment, when the OLT and the ONU operate normally at the main working PON port, the storage module 140 in the OLT stores the second equalization delay obtained by ranging in the main channel to the standby channel.
In this embodiment, when the OLT and the ONU operate normally in the main channel, the storage module 140 in the OLT stores the second equalization delay of the ONU in the main channel into the standby channel, so that when the main channel fails, the accurate equalization delay of the ONU in the standby channel can be conveniently calculated, thereby performing the channel switching dual protection function of the XG-PON system.
The invention further provides an XG-PON system.
Referring to fig. 8, fig. 8 is a functional module schematic diagram of a fourth embodiment of an optical network terminal ONU in the XG-PON system according to the present invention.
In this embodiment, the optical network unit ONU includes: a first receiving module 210, a sending module 220, and a second receiving module 230.
The first receiving module 210 is configured to receive a PLOAM message authorization issued by the OLT through the backup channel when the ONU switches from the failure recovery waiting state of the main channel to the normal operating state of the backup channel;
in this embodiment, the XG-PON system includes an optical network unit ONU, and the ONU switches to a fault recovery waiting state, i.e. an O6 state, after detecting LODS (loss of downstream signal), and starts a timer (set to 100ms according to the standard) to detect whether the downstream signal of the ONU is recovered within a preset time, and if the ONU detects successful synchronization of the DSYNC downstream optical signal in the O6 state, the ONU switches to a normal operation state of the standby working PON port, i.e. an O5 state, and waits for re-ranging. When the ONU switches to the O5 state under the standby working PON port, the first receiving module 210 in the ONU receives a PLOAM message authorization issued by the OLT through the standby working PON port, that is, an ONU OMCC bandwidth with a PLOAMu flag bit of 1;
the sending module 220 is configured to send an uplink response message to the OLT in the standby channel based on PLOAM message authorization, so that the OLT calculates the equalization delay of the ONU in the standby channel based on the received uplink response message;
when the first receiving module 210 in the ONU receives an ONU OMCC bandwidth with a PLOAMu flag bit of 1 issued by the OLT, the sending module 220 in the ONU sends an uplink response message, that is, an uplink Acknowledge PLOAM message, to the OLT with the second equalization delay under the working PON port as a frame start time for sending the uplink response message, so that the calculating module 120 in the OLT calculates the equalization delay of the ONU under the standby working PON port based on the received uplink response message.
The second receiving module 230 is configured to receive the equalization delay issued by the OLT through the ranging time message, and to stably operate in the standby channel according to the equalization delay.
After receiving the uplink response message sent by the ONU, the OLT calculates the equalization delay of the ONU under the standby working PON port by using a calculation module 120 in the OLT, and calls a second sending module 130 in the OLT to send the calculated equalization delay to the ONU through a Ranging Time message, i.e., a Ranging _ Time PLOAM message. After the second receiving module 230 in the ONU receives the equalization delay issued by the OLT through the ranging time message, the ONU adjusts the sending start point of the upstream frame according to the equalization delay, so that the ONU can stably operate under the standby PON port.
In this embodiment, when the ONU switches from the fault recovery waiting state of the main channel to the normal operation state of the backup channel, the first receiving module 210 in the ONU receives a PLOAM message authorization issued by the OLT through the backup channel, and invokes the sending module 220 in the ONU to send an uplink response message to the OLT in the backup channel based on the PLOAM message authorization, so that the OLT calculates the equalization delay of the ONU in the backup channel based on the received uplink response message, and when the second receiving module 230 in the ONU receives the equalization delay issued by the OLT through the ranging time message, the ONU stably operates in the backup channel according to the equalization delay, thereby reliably transmitting the service of the user in the XG-PON system.
Further, a fifth embodiment of the XG-PON system according to the present invention is proposed based on the fourth embodiment, and in this embodiment, referring to fig. 9, the transmitting module 220 includes an acquiring unit 221 and a transmitting unit 222.
The obtaining unit 221 uses the second equalization delay as a frame start time for sending the uplink response message;
the sending unit 222 is configured to send an uplink response message to the OLT based on the frame start time.
In this embodiment, when the ONU receives the ONU OMCC bandwidth with the PLOAMu flag bit of 1 issued by the OLT, the obtaining unit 221 uses the second equalization delay as the frame start time for sending the uplink response message, and notifies the sending unit 222 to send the uplink Acknowledge PLOAM message to the OLT.
In this embodiment, the second equalization delay is used as a frame start time for sending the uplink response message, and the uplink response message is sent to the OLT based on the frame start time, so that the OLT can accurately calculate the equalization delay of the ONU in the standby channel.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (4)
1. A re-ranging control method for channel switching in an XG-PON system is characterized in that an optical network terminal ONU in the XG-PON system is connected with a main channel or a standby channel of an optical line terminal OLT, and the method comprises the following steps:
when the OLT is switched from the main channel to the standby channel, the OLT issues physical layer operation administration and maintenance PLOAM message authorization to the ONU through the standby channel;
when the OLT receives an uplink response message sent by the ONU based on the PLOAM message authorization through the standby channel, the OLT calculates the equalization time delay of the ONU under the standby channel based on the received uplink response message;
the OLT issues the equalization time delay to the ONU through a distance measurement time message so that the ONU can stably operate under the standby channel based on the equalization time delay;
the step of the OLT calculating the equalization delay of the ONU under the back-up channel based on the received upstream response message includes:
calculating a first equalization time delay of the ONU under the standby channel based on the received uplink response message, and acquiring a second equalization time delay of the stored ONU under the main channel, wherein the second equalization time delay is a frame starting time when the ONU sends the uplink response message to the OLT;
calculating a difference value between the first equalization time delay and the second equalization time delay, and determining the difference value as the equalization time delay of the ONU under the spare channel;
before the OLT switches from the main channel to the standby channel, the method further includes:
and when the main channel normally operates, storing the second equalization time delay of the ONU under the main channel into the standby channel.
2. A re-ranging control method for channel switching in an XG-PON system is characterized in that an optical network terminal ONU in the XG-PON system is connected with a main channel or a standby channel of an optical line terminal OLT, and the method comprises the following steps:
when the ONU is switched from the fault recovery waiting state of the main channel to the normal operation state of the standby channel, the ONU receives PLOAM message authorization sent by the OLT through the standby channel;
the ONU sends an uplink response message to the OLT under the standby channel based on the PLOAM authorization so that the OLT calculates the equalization time delay of the ONU under the standby channel based on the received uplink response message;
the ONU receives the equalization time delay issued by the OLT through a ranging time message and stably operates under the standby channel according to the equalization time delay;
the ONU sends an uplink response message to the OLT under the standby channel based on the PLOAM authorization, and the method comprises the following steps: taking a second equalization delay as a frame starting time for sending the uplink response message, wherein when the OLT and the ONU operate normally in the main channel, the OLT stores the second equalization delay of the ONU obtained by ranging in the main channel into the standby channel; and sending the uplink response message to the OLT based on the frame starting time.
3. An XG-PON system, comprising: the optical network terminal ONU is connected with a main channel or a standby channel of the optical line terminal OLT; wherein, the optical line terminal OLT comprises:
a first sending module, configured to send a physical layer operation administration and maintenance PLOAM message authorization to the ONU through the standby channel after the OLT switches from the main channel to the standby channel;
a calculating module, configured to calculate, when the OLT receives, through the backup channel, the uplink response message that is authorized to be sent by the ONU based on the PLOAM message, an equalization delay of the ONU under the backup channel based on the received uplink response message;
the second sending module is used for sending the equalization time delay to the ONU through a distance measurement time message so that the ONU can stably operate under the standby channel based on the equalization time delay;
the calculation module is further to: calculating a first equalization time delay of the ONU under the standby channel based on the received uplink response message, and acquiring a second equalization time delay of the ONU under the main channel, wherein the second equalization time delay is a frame starting time when the ONU sends the uplink response message to the OLT; calculating a difference value between the first equalization time delay and the second equalization time delay, and determining the difference value as the equalization time delay of the ONU under the spare channel;
and the storage module is used for storing the second equalization delay of the ONU under the main channel into the standby channel when the main channel normally operates.
4. An XG-PON system, comprising: the optical network terminal ONU in the passive optical network system is connected with a main channel or a standby channel of the optical line terminal OLT; wherein, the optical network terminal ONU includes:
a first receiving module, configured to receive, when the ONU switches from the failure recovery waiting state of the main channel to the normal operation state of the standby channel, a PLOAM message authorization issued by the OLT through the standby channel;
a sending module, configured to send an uplink response message to the OLT on the basis of the PLOAM message authorization, so that the OLT calculates, on the basis of receiving the uplink response message, an equalization delay of the ONU on the standby channel;
the second receiving module is used for receiving the equalization time delay issued by the OLT through a ranging time message and stably operating in the standby channel according to the equalization time delay;
the sending module comprises: taking a second equalization delay as a frame starting time for sending the uplink response message, wherein when the OLT and the ONU operate normally in the main channel, the OLT stores the second equalization delay of the ONU obtained by ranging in the main channel into the standby channel; a sending unit, configured to send the uplink response message to the OLT based on the frame start time.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610182579.7A CN107241138B (en) | 2016-03-28 | 2016-03-28 | XG-PON system and re-ranging control method for channel switching thereof |
PCT/CN2016/086737 WO2017166454A1 (en) | 2016-03-28 | 2016-06-22 | Xg-pon system and channel switching re-ranging control method therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610182579.7A CN107241138B (en) | 2016-03-28 | 2016-03-28 | XG-PON system and re-ranging control method for channel switching thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107241138A CN107241138A (en) | 2017-10-10 |
CN107241138B true CN107241138B (en) | 2021-06-08 |
Family
ID=59962516
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610182579.7A Active CN107241138B (en) | 2016-03-28 | 2016-03-28 | XG-PON system and re-ranging control method for channel switching thereof |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107241138B (en) |
WO (1) | WO2017166454A1 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011144110A2 (en) * | 2011-05-27 | 2011-11-24 | 华为技术有限公司 | Method, system and device for communication in the optical network system |
CN102598587A (en) * | 2011-11-03 | 2012-07-18 | 华为技术有限公司 | Method for protecting communication and devices for the same |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101783975B (en) * | 2009-01-16 | 2013-06-12 | 华为技术有限公司 | Method, device and system for measuring distance in communication network |
CN102026048A (en) * | 2009-09-23 | 2011-04-20 | 中兴通讯股份有限公司 | Method for adjusting ranging value of passive optical network system and recovering passive optical network system, and optical line terminal |
FR2966996A1 (en) * | 2010-10-27 | 2012-05-04 | France Telecom | DATA PROCESSING FOR THE MANAGEMENT OF SLEEP |
CN102075238B (en) * | 2010-12-02 | 2015-04-01 | 中兴通讯股份有限公司 | Passive optical network and protection switching method thereof |
CN104506972B (en) * | 2015-01-07 | 2018-02-13 | 烽火通信科技股份有限公司 | The fast ranging method that a kind of XGPON system protections are switched |
-
2016
- 2016-03-28 CN CN201610182579.7A patent/CN107241138B/en active Active
- 2016-06-22 WO PCT/CN2016/086737 patent/WO2017166454A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011144110A2 (en) * | 2011-05-27 | 2011-11-24 | 华为技术有限公司 | Method, system and device for communication in the optical network system |
CN102598587A (en) * | 2011-11-03 | 2012-07-18 | 华为技术有限公司 | Method for protecting communication and devices for the same |
Also Published As
Publication number | Publication date |
---|---|
WO2017166454A1 (en) | 2017-10-05 |
CN107241138A (en) | 2017-10-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9025949B2 (en) | Equalization delay agnostic protection switching in protected passive optical networks | |
CN102075238B (en) | Passive optical network and protection switching method thereof | |
JP4442635B2 (en) | Failure notification method in PON system | |
US10491323B2 (en) | Data transmission control method, passive optical network equipment, apparatus, and passive optical network | |
EP2451092A1 (en) | Method and system for quickly updating ranging results of optical network unit by optical line terminal | |
US8873957B2 (en) | Logical-link management method and communication device | |
CN101836379A (en) | Optical communication | |
US8971699B2 (en) | Optical network failure recovery method | |
WO2009124484A1 (en) | A method, system and device for transmitting data in optical network | |
CN101997605B (en) | Optical distribution network as well as fault processing method, registration method and physical positioning method for optical network unit | |
KR20160114123A (en) | Channel switching method and apparatus, optical network unit and time wavelength division multiplexing system | |
US9614612B2 (en) | Fast protection switching method for passive optical network | |
WO2018121466A1 (en) | Onu ranging method and apparatus and method and apparatus for determining parameter for adjusting internal delay of onu | |
EP3098979B1 (en) | Long luminance detection method and device | |
CN104734773A (en) | C-type optical link protection switching optimization method of GPON (Gigabit Passive Optical Network) | |
WO2009062441A1 (en) | Method and apparatus for the passive optical network channel protection switch | |
CN102648590B (en) | Communication means, system and the device of optical network system | |
CN102104418A (en) | Transmission control system, subscriber-side communication device, and office-side communication device | |
CN102149027B (en) | Path switching method, system and downlink data transmission method | |
US20140093243A1 (en) | Method and Device for Sending Data in Passive Optical Network | |
WO2018184340A1 (en) | Method and device for determining and constructing topology in passive optical network | |
CN107241138B (en) | XG-PON system and re-ranging control method for channel switching thereof | |
CN103139669A (en) | Method and system for sending data | |
KR101586076B1 (en) | System and method for recovering error in Passive Optical Network | |
CN106686474A (en) | Wavelength tuning method and system for passive optical network, and ONU |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |