Embodiments of the present invention relate to the field of optical communications technologies, and in particular, to a passive optical network communications method, apparatus and system.
A passive optical network (PON) technology is a point-to-multipoint fiber access technology. With continuous development of technologies, an EPON (Ethernet Passive Optical Network), a GPON (Gigabit passive Optical Network), an NG PON (next generation PON), and the like emerge. To ensure network reliability, a PON network needs to support fast switching.
In order to further extend application of the PON, a time wavelength division multiplexing-passive optical network (TWDM-PON) is put forward in the industry. The TWDM-PON is a passive optical network that combines both WDM and TDM technologies, and includes an office-side OLT, a user-side ONU or ONT (optical network terminal), and an ODN.
When a feeder fiber between the OLT and the ODN or a working port of the optical line terminal is faulty and this leads to interruption of communication between the optical line terminal and the optical network unit, no specific solution has yet been given for the TWDM-PON system, which is also an urgent issue that currently needs to be solved in the TWDM-PON system.
Embodiments of the present invention provide a PON communications method, a related device and a PON to solve a problem of communication interruption caused by a fault occurring in a passive optical network system, which implements fast protection switching of the passive optical network system and improves reliability of the system.
According to the first aspect, a passive optical network communications method is provided, which may include: receiving, by an optical network unit, a first message sent by an optical line terminal, where the first message carries backup wavelength channel ID information; switching, by the optical network unit when the optical network unit detects a fault, an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information; and performing, by the optical network unit, data communication over the switched-to backup wavelength channel.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the first message includes a message type ID Message type ID field and a message content field, where the message type ID field of the first message is a channel profile field, a system profile field or a protect-pair-configure field, and the message content field includes the backup wavelength channel ID information.
With reference to the first aspect, in a second possible implementation manner of the first aspect, the backup wavelength channel ID information includes a downstream backup wavelength channel ID; and
the switching, by the optical network unit, an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information includes:
switching, by the optical network unit, a downstream operating wavelength channel in operating wavelength channels of the optical network unit to a downstream backup wavelength channel identified by the downstream backup wavelength channel ID.
With reference to the first possible implementation manner of the first aspect or the second possible implementation manner of the first aspect, in the third possible implementation manner of the first aspect, the backup wavelength channel ID information includes an upstream backup wavelength channel ID; and
the switching, by the optical network unit, an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information includes:
switching, by the optical network unit, an upstream operating wavelength channel in operating wavelength channels of the optical network unit to an upstream backup wavelength channel identified by the upstream backup wavelength channel ID.
With reference to the first possible implementation manner of the first aspect or the second possible implementation manner of the first aspect, in the third and fourth possible implementation manners of the first aspect, the backup wavelength channel ID information includes a downstream backup wavelength channel ID and an upstream backup wavelength channel ID; and
the switching, by the optical network unit, an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information includes: switching, by the optical network unit, a downstream operating wavelength channel in operating wavelength channels of the optical network unit to a downstream backup wavelength channel identified by the downstream backup wavelength channel ID; and switching, by the optical network unit, an upstream operating wavelength channel in the operating wavelength channels of the optical network unit to an upstream backup wavelength channel identified by the upstream backup wavelength channel ID.
With reference to the first possible implementation manner of the first aspect or the second possible implementation manner of the first aspect, in the third, fourth and fifth possible implementation manners of the first aspect, the message content field further includes operating wavelength channel ID information, where the operating wavelength channel ID information corresponds to the backup wavelength channel ID information, and the operating wavelength channel ID information includes an operating wavelength channel ID; and
the switching, by the optical network unit, an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information includes: matching, by the optical network unit, the operating wavelength channel of the optical network unit itself to an operating wavelength channel identified by the operating wavelength channel ID in the message content field;
determining, by the optical network unit according to the matched operating wavelength channel, a backup wavelength channel identified by a backup wavelength channel ID; and
switching, by the optical network unit, the operating wavelength channel of the optical network unit to the backup wavelength channel.
With reference to the first possible implementation manner of the first aspect or the second possible implementation manner of the first aspect, in the third, fourth and fifth possible implementation manners of the first aspect, the message content field further includes a protect-pair-quantity used to indicate a quantity of backup wavelength channel IDs carried in the message content field, where the backup wavelength channel IDs include the downstream backup wavelength channel ID and the upstream backup wavelength channel ID.
With reference to the first possible implementation manner of the first aspect or the second possible implementation manner of the first aspect, in the third, fourth, fifth and sixth possible implementation manners of the first aspect, a second message sent by the optical line terminal is received, where the second message includes a message type ID Message type ID field and a message content field, where the message type ID field of the second message is a channel profile ID field, a system profile field or a protect-pair-configure field, and the message content field includes an upstream backup wavelength channel ID; and
the switching, by the optical network unit, an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information includes: switching, by the optical network unit, an upstream operating wavelength channel in the operating wavelength channels of the optical network unit to an upstream backup wavelength channel identified by the upstream backup wavelength channel ID in the second message.
According to the second aspect, a passive optical network communications method is provided, which may include: generating, by an optical line terminal, a first message, where the first message carries backup wavelength channel ID information, where the backup wavelength channel ID information is used to instruct to switch, when an optical network unit detects a fault, an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information; and sending the first message to the optical network unit.
With reference to the second aspect, in the first implementation manner of the second aspect, the first message includes a message type ID field and a message content field, where the message type ID field of the first message is a channel profile field, a system profile field or a protect-pair-configure field, and the message content field includes the backup wavelength channel ID information.
With reference to the second aspect or the first possible implementation manner of the second aspect, in the second possible implementation manner of the second aspect, the backup wavelength channel ID information includes a downstream backup wavelength channel ID, and the downstream backup wavelength channel ID is used to instruct to switch a downstream operating wavelength channel of the optical network unit to a downstream backup wavelength channel identified by the downstream backup wavelength channel ID; and
With reference to the first aspect or the first possible implementation manner of the first aspect, in the third possible implementation manner of the first aspect,
the backup wavelength channel ID information includes an upstream backup wavelength channel ID, and the upstream backup wavelength channel ID is used to instruct to switch an upstream operating wavelength channel of the optical network unit to an upstream backup wavelength channel identified by the upstream backup wavelength channel ID; and
With reference to the first aspect or the first possible implementation manner of the first aspect, in the fourth possible implementation manner of the first aspect, the backup wavelength channel ID information includes a downstream backup wavelength channel ID and an upstream backup wavelength channel ID; and
the downstream backup wavelength channel ID is used to instruct to switch a downstream operating wavelength channel of the optical network unit to a downstream backup wavelength channel identified by the downstream backup wavelength channel ID; and
the upstream backup wavelength channel ID is used to instruct to switch an upstream operating wavelength channel of the optical network unit to an upstream backup wavelength channel identified by the upstream backup wavelength channel ID.
With reference to the first aspect or the first possible implementation manner of the first aspect, in the fifth possible implementation manner of the first aspect, the message content field further includes operating wavelength channel ID information, where the operating wavelength channel ID information corresponds to the backup wavelength channel ID information, and the operating wavelength channel ID information includes an operating wavelength channel ID, where the operating wavelength channel ID is used to: instruct the optical network unit to match an operating wavelength channel identified by the operating wavelength channel ID; and determine, according to the matched operating wavelength channel, a backup wavelength channel identified by a backup wavelength channel ID, and switch the operating wavelength channel of the optical network unit to the backup wavelength channel.
With reference to the first aspect or the first possible implementation manner of the first aspect, in the sixth possible implementation manner of the first aspect, the message content field further includes a protect-pair-quantity used to indicate a quantity of backup wavelength channel IDs in the message content field, where the backup wavelength channel IDs include the downstream backup wavelength channel ID and the upstream backup wavelength channel ID.
With reference to the first aspect or the first possible implementation manner of the first aspect, in the seventh possible implementation manner of the first aspect, a second message is sent to the optical line terminal, where the second message includes a message type ID Message type ID field and a message content field, where the message type ID field of the second message is a channel profile field, a system profile field or a protect-pair-configure field, and the message content field includes an upstream backup wavelength channel ID, where the upstream backup wavelength channel ID is used to instruct the optical network unit to switch an upstream operating wavelength channel in operating wavelength channels of the optical network unit to an upstream backup wavelength channel identified by the upstream backup wavelength channel ID in the second message.
According to the third aspect, a passive optical network communications apparatus is provided, where the communications apparatus includes:
a first communications unit, configured to: receive a first message sent by an optical line terminal, where the first message carries backup wavelength channel ID information; and perform data communication over the switched-to backup wavelength channel; and
a first processing unit, configured to: when an optical network unit detects a fault, switch, according to the first message received by the first communications unit, an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information.
With reference to the third aspect, in a first possible implementation manner of the third aspect, the first message includes a message type ID Message type ID field and a message content field, where the message type ID field of the first message is a channel profile field, a system profile field or a protect-pair-configure field, and the message content field includes the backup wavelength channel ID information.
With reference to the third aspect and the first possible implementation manner of the third aspect, in the second possible implementation manner of the third aspect, the backup wavelength channel ID information includes a downstream backup wavelength channel ID; and
the first processing unit is specifically configured to switch a downstream operating wavelength channel in operating wavelength channels of the optical network unit to a downstream backup wavelength channel identified by the downstream backup wavelength channel ID.
According to the fourth aspect, a passive optical network communications apparatus is provided, where the communications apparatus includes:
a second processing unit, configured to generate a first message, where the first message carries backup wavelength channel ID information, where the backup wavelength channel ID information is used to instruct to switch, when an optical network unit detects a fault, an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information; and
a second communications unit, configured to send the first message to the optical network unit.
With reference to the fourth aspect, in the first possible implementation manner of the fourth aspect, the first message includes a message type ID field and a message content field, where the message type ID field of the first message is a channel profile field, a system profile field or a protect-pair-configure field, and the message content field includes the backup wavelength channel ID information.
With reference to the fourth aspect and the second possible implementation manner of the fourth aspect, in the third possible implementation manner of the fourth aspect, the backup wavelength channel ID information includes a downstream backup wavelength channel ID, and the downstream backup wavelength channel ID is used to instruct to switch a downstream operating wavelength channel of the optical network unit to a downstream backup wavelength channel identified by the downstream backup wavelength channel ID; and
According to the fifth aspect, a communications apparatus is provided, where the communications apparatus includes a processor, a memory, and a bus system, where the processor is connected to the memory by using the bus system, the memory is configured to store an instruction, and the processor is configured to execute the instruction stored by the memory, where
the processor is configured to generate a first message, where the first message carries backup wavelength channel ID information, where the backup wavelength channel ID information is used to instruct to switch, when an optical network unit detects a fault, an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information.
According to the sixth aspect, a passive optical network system is provided, where the system includes the communications apparatus described in the third aspect and the apparatus described in the fourth aspect; or the system includes the communications apparatus described in the third aspect and the apparatus described in the fifth aspect.
From the foregoing description, it can be seen that, in the implementation manners of the present invention, an optical network unit receives a first message sent by an optical line terminal, where the first message carries backup wavelength channel ID information; when the optical network unit detects a fault, the optical network unit switches an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information; and the optical network unit performs data communication over the switched-to backup wavelength channel. The foregoing communications method solves a problem of communication interruption caused by a fiber fault in a TWDM-PON system or a port fault of an optical line terminal, and thereby implements fast protection switching of the system and improves reliability of the system.
To describe the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments. Apparently, the accompanying drawings in the following description show merely some embodiments of the present invention, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
Embodiments of the present invention provide a PON communications method, related devices, and a PON to improve availability of a link between PON devices in a PON and improve a data transmission rate.
To make the invention objectives, features, and advantages of the present invention clearer and more comprehensible, the following clearly and completely describes the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the embodiments described in the following are merely a part rather than all of the embodiments of the present invention. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
It should be understood that, in the embodiments of the present invention, a transmission direction in which data or an optical signal that carries the data is transmitted from an OLT to an ONT/ONU is called a downstream direction, and correspondingly, the optical signal sent by the OLT to the ONT/ONU is also called a downstream optical signal. Similarly, a transmission direction in which data or an optical signal that carries the data is transmitted from the ONT/ONU to the OLT is called an upstream direction, and correspondingly, the optical signal sent by the ONT/ONU to the OLT is also called an upstream optical signal.
For ease of description, the four operating wavelength channels of the TWDM-PON system 100 in
The OLT 110 may include an optical coupler 111, a first wavelength division multiplexer 112, a second wavelength division multiplexer 113, multiple downstream optical transmitters Tx1-Tx4, multiple upstream optical receivers Rx1-Rx4, and a processing module 114. The multiple downstream optical transmitters Tx1-Tx4 are connected to the optical coupler 111 via the first wavelength division multiplexer 112, the multiple upstream optical receivers Rx1-Rx4 are connected to the optical coupler 111 via the second wavelength division multiplexer 113, and the coupler 111 is further connected to the feeder fiber 131 of the ODN 130.
Transmit wavelengths vary between the multiple downstream optical transmitters Tx1-Tx4. Each downstream optical transmitter of Tx1-Tx4 may correspond to one wavelength channel of the TWDM-PON system 100. For example, the transmit wavelengths of the multiple downstream optical transmitters Tx1-Tx4 may be λd1-λd4 respectively. The downstream optical transmitters Tx1-Tx4 may use their respective transmit wavelengths λd1-λd4 to transmit downstream data to corresponding wavelength channels so that the downstream data can be received by the ONUs 120 that work on the corresponding wavelength channels. Correspondingly, receive wavelengths may vary between the multiple upstream optical receivers Rx1-Rx4. Each upstream optical receiver of Rx1-Rx4 also corresponds to one wavelength channel of the TWDM-PON system 100. For example, the receive wavelengths of the multiple upstream optical receivers Rx1-Rx4 may be λu1-λu4 respectively. The upstream optical receivers Rx1-Rx4 may use their respective receive wavelengths λu1-λu4 to receive upstream data sent by the ONUs 120 that work on corresponding wavelength channels.
The first wavelength division multiplexer 112 is configured to perform wavelength division multiplexing for the downstream data that is transmitted by the multiple downstream optical transmitters Tx1-Tx4 and whose wavelengths are λd1-λd4, and send the downstream data to the feeder fiber 131 of the ODN 130 via the optical coupler 111, so as to provide the downstream data for the ONUs 120 via the ODN 130. In addition, the optical coupler 111 may be further configured to provide the second wavelength division multiplexer 113 with the upstream data that comes from the multiple ONUs 120 and whose wavelengths are λu1-λu4, and the second wavelength division multiplexer 113 may demultiplex the upstream data whose wavelengths are λu1-λu4 to the upstream optical receivers Rx1-Rx4 so as to implement data reception.
The processing module 114 may be a media access control (Media Access Control, MAC) module. On the one hand, the processing module may specify operating wavelength channels for the multiple ONUs 120 by means of wavelength negotiation, and according to an operating wavelength channel of one ONU 120, provide downstream data, which is to be sent to the ONU 120, for the downstream optical transmitters Tx1-Tx4 corresponding to the wavelength channel, so that the downstream optical transmitters Tx1-Tx4 transmit the downstream data to the corresponding wavelength channel; on the other hand, the processing module 114 may further perform dynamic bandwidth allocation (DBA) for upstream transmission for each wavelength channel, and allocate an upstream transmit timeslot to ONUs 120 that are multiplexed to a same wavelength channel in a TDM manner, so as to authorize the ONUs 120 to send upstream data in the specified timeslot through the corresponding wavelength channel.
The upstream transmit wavelength and the downstream receive wavelength of each ONU 120 are adjustable. According to a wavelength channel specified by the OLT 110, an ONU 120 may adjust its own upstream transmit wavelength and downstream receive wavelength respectively to an upstream operating wavelength and a downstream operating wavelength that are corresponding to the operating wavelength channel, so as to implement upstream and downstream data transmission and reception by using the wavelength channel. For example, if the OLT 110 instructs, in a wavelength negotiation process, one ONU 120 to work on wavelength channel 1, the ONU 120 may adjust its own upstream transmit wavelength and downstream receive wavelength to a first upstream operating wavelength λup1 and a first downstream operating wavelength λdn1 respectively; if the OLT 110 instructs the ONU 120 to work on wavelength channel 3, the ONU 120 may adjust its own upstream transmit wavelength and downstream receive wavelength to a third upstream operating wavelength λup3 and a third downstream operating wavelength λdn3 respectively.
The ONU 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 a distribution fiber 133 corresponding to the ONU 120 via the optical coupler 121. On the one hand, the optical coupler 121 may provide the distribution fiber 133 of the ODN 130 with upstream data sent by the upstream optical transmitter 123, so as to send the upstream data to the OLT 110 via the ODN 130; on the other hand, the optical coupler 121 may further provide the downstream optical receiver 122 with downstream data sent by the OLT 110 via the ODN 130, so as to implement data reception.
The processing module 124 may be a media access control MAC module or a microprocessor, and may perform wavelength negotiation with the OLT 110, and according to an operating wavelength channel specified by the OLT 110, adjust a receive wavelength of the downstream optical receiver 122 and a transmit wavelength of the upstream optical transmitter 123 (that is, adjust the downstream receive wavelength and upstream transmit wavelength of the ONU 120), so that the ONU 120 works on the operating wavelength channel specified by the OLT 110. In addition, the processing module 124 may further control, according to a dynamic bandwidth allocation result of the OLT 110, the upstream optical transmitter 123 to send upstream data in a specified timeslot.
It should be understood that in the embodiments of the present invention, the passive optical network communications method, apparatus and system according to the embodiments of the present invention may be applied in a time division or wavelength division passive optical network system, for example, a GPON system, a 10G GPON system, a 40G GPON system, an Ethernet passive optical network (EPON) system, a 10G EPON system or a wavelength division multiplexing passive optical network WDM PON system. For ease of description, a GPON system is used as an example for description below, but the present invention is not limited thereto. In addition, for ease of description, an optical network unit is used for description below in place of an optical network terminal and/or an optical network unit, but the present invention is not limited thereto.
S200. An OLT generates a first message, where the first message carries backup wavelength channel ID information.
Further, the backup wavelength channel ID information is used to instruct to switch, when an optical network unit detects a fault, an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information.
Further, the first message includes a message type ID Message type ID field and a message content field, where the message type ID field of the first message is a channel profile field, a system profile field or a protect-pair-configure field, and the message content field includes the backup wavelength channel ID information.
Specifically, the message type ID field is used to identify a type of the message, and the message content field is used to describe message content corresponding to the message type ID field.
Further, the backup wavelength channel ID information includes a downstream backup wavelength channel ID, where the downstream backup wavelength channel ID is used to identify a downstream backup wavelength channel, and specifically instruct the ONU to switch a downstream operating wavelength channel of the ONU to the downstream backup wavelength channel identified by the downstream backup wavelength channel ID.
Further, the backup wavelength channel ID information includes an upstream backup wavelength channel ID, where the upstream backup wavelength channel ID is used to identify an upstream backup wavelength channel, and specifically instruct the ONU to switch an upstream operating wavelength channel of the ONU to the upstream backup wavelength channel identified by the upstream backup wavelength channel ID.
Further, the backup wavelength channel ID information includes a downstream backup wavelength channel ID and an upstream backup wavelength channel ID, where
the downstream backup wavelength channel ID is used to instruct to switch a downstream operating wavelength channel of the optical network unit to a downstream backup wavelength channel identified by the downstream backup wavelength channel ID; and the upstream backup wavelength channel ID is used to instruct to switch an upstream operating wavelength channel of the optical network unit to an upstream backup wavelength channel identified by the upstream backup wavelength channel ID.
Further, the message content field further includes operating wavelength channel ID information, where the operating wavelength channel ID information corresponds to the backup wavelength channel ID information, and the operating wavelength channel ID information includes an operating wavelength channel ID, where the operating wavelength channel ID is used to instruct the ONU to: match an operating wavelength channel identified by the operating wavelength channel ID; according to the matched operating wavelength channel, determine a backup wavelength channel identified by a backup wavelength channel ID; and switch the operating wavelength channel of the ONU to the backup wavelength channel.
Further, the message content field further includes a protect-pair-quantity used to indicate a quantity of backup wavelength channel IDs in the message content field, where the backup wavelength channel IDs include the downstream backup wavelength channel ID and the upstream backup wavelength channel ID.
S202. The OLT sends the first message to an ONU.
Further, the method further includes: sending, by the OLT, a second message to the ONU, where the second message includes a message type ID Message type ID field and a message content field, where the message type ID field of the second message is a channel profile field, a system profile field or a protect-pair-configure field, and the message content field includes an upstream backup wavelength channel ID, where the upstream backup wavelength channel ID is used to instruct the optical network unit to switch an upstream operating wavelength channel in operating wavelength channels of the optical network unit to an upstream backup wavelength channel identified by the upstream backup wavelength channel ID in the second message.
S204. The ONU receives the first message sent by the OLT, where the first message carries the backup wavelength channel ID information.
S206. When the optical network unit detects a fault, the optical network unit switches an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information.
The fault may include loss of optical signal, loss of frame, a high bit error rate, or the like.
Further, the backup wavelength channel ID information includes a downstream backup wavelength channel ID.
That the optical network unit switches an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information includes:
switching, by the optical network unit, a downstream operating wavelength channel in operating wavelength channels of the optical network unit to a downstream backup wavelength channel identified by the downstream backup wavelength channel ID.
Further, the backup wavelength channel ID information includes an upstream backup wavelength channel ID.
That the optical network unit switches an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information includes:
switching, by the optical network unit, an upstream operating wavelength channel in operating wavelength channels of the optical network unit to an upstream backup wavelength channel identified by the upstream backup wavelength channel ID.
Further, the backup wavelength channel ID information includes a downstream backup wavelength channel ID and an upstream backup wavelength channel ID.
That the optical network unit switches an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information includes:
switching, by the optical network unit, a downstream operating wavelength channel in operating wavelength channels of the optical network unit to a downstream backup wavelength channel identified by the downstream backup wavelength channel ID; and
switching, by the optical network unit, an upstream operating wavelength channel in the operating wavelength channels of the optical network unit to an upstream backup wavelength channel identified by the upstream backup wavelength channel ID.
Further, the message content field further includes operating wavelength channel ID information, where the operating wavelength channel ID information corresponds to the backup wavelength channel ID information, and the operating wavelength channel ID information includes an operating wavelength channel ID.
That the optical network unit switches an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information includes:
matching, by the optical network unit according to its own operating wavelength channel, an operating wavelength channel identified by the operating wavelength channel ID in the message content field;
determining, by the optical network unit according to the matched operating wavelength channel, a backup wavelength channel identified by a backup wavelength channel ID; and
switching, by the optical network unit, the operating wavelength channel of the optical network unit to the backup wavelength channel.
Further, the message content field further includes a protect-pair-quantity used to indicate a quantity of backup wavelength channel IDs carried in the message content field, where the backup wavelength channel IDs include the downstream backup wavelength channel ID and the upstream backup wavelength channel ID.
Further, the method further includes:
receiving, by the ONU, a second message sent by the OLT, where the second message includes a message type ID Message type ID field and a message content field, where the message type ID field of the second message is a channel profile ID field, a system profile field or a protect-pair-configure field, and the message content field includes an upstream backup wavelength channel ID.
That the optical network unit switches an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information includes:
switching, by the optical network unit, an upstream operating wavelength channel in the operating wavelength channels of the optical network unit to an upstream backup wavelength channel identified by the upstream backup wavelength channel ID in the second message.
S208. The optical network unit performs data communication over the switched-to backup wavelength channel.
To sum up, for ease of understanding, the backup wavelength channel ID information and the operating wavelength channel ID information are explained below:
the backup wavelength channel ID information includes a backup wavelength channel ID, where
the backup wavelength channel ID includes a downstream backup wavelength channel ID, or
an upstream backup wavelength channel ID, or
a downstream backup wavelength channel ID and an upstream backup wavelength channel ID.
The downstream backup wavelength channel ID is used to identify a downstream backup wavelength channel; the upstream backup wavelength channel ID is used to identify an upstream backup wavelength channel.
In other words, the backup wavelength channel ID information includes a backup wavelength channel ID, where
the backup wavelength channel ID is used to identify a backup wavelength channel, where
the backup wavelength channel includes a downstream backup wavelength channel identified by a downstream backup wavelength channel ID or an upstream backup wavelength channel identified by an upstream backup wavelength channel ID; or includes a downstream backup wavelength channel identified by a downstream backup wavelength channel ID and an upstream backup wavelength channel identified by an upstream backup wavelength channel ID.
Correspondingly, the operating wavelength channel ID information may also be understood as follows:
the operating wavelength channel ID information includes an operating wavelength channel ID, where
the operating wavelength channel ID includes a downstream operating wavelength channel ID, or
an upstream operating wavelength channel ID, or
a downstream operating wavelength channel ID and an upstream operating wavelength channel ID.
The downstream operating wavelength channel ID is used to identify a downstream operating wavelength channel; the upstream wavelength channel ID is used to identify an upstream operating wavelength channel.
In other words, the operating wavelength channel ID information includes an operating wavelength channel ID, where
the operating wavelength channel ID is used to identify an operating wavelength channel, where
the operating wavelength channel includes a downstream operating wavelength channel identified by a downstream operating wavelength channel ID or an upstream operating wavelength channel identified by an upstream operating wavelength channel ID; or includes a downstream operating wavelength channel identified by a downstream operating wavelength channel ID and an upstream operating wavelength channel identified by an upstream operating wavelength channel ID.
It should be understood that the foregoing description and definitions related to the backup wavelength channel ID information and the operating wavelength channel ID information are applicable to all the following various embodiments.
Optionally, the first message and the second message may be any one of a physical layer operations, administration and maintenance (PLOAM) message, an ONT management and control interface (OMCI) message, a Multi-Point Control Protocol (MPCP) message, and an operation, administration and maintenance (OAM) message, or may be other messages.
The OLT may use one of the PLOAM message, the OMCI message, the MPCP message and the OAM message to carry the backup wavelength channel ID information. A specific message format, for example, field values, field lengths, and positions of fields in the message may be determined according to actual needs. In other alternative embodiments, the OLT may use a newly defined message to carry the backup wavelength channel ID information.
In the embodiments of the present invention, an ONU performs preconfiguration according to backup wavelength channel ID information sent by an OLT. When the ONU detects a fault, according to preconfigured backup wavelength channel information, the ONU quickly switches its own operating wavelength channel to a backup wavelength channel corresponding to the backup wavelength channel information so as to perform data communication over the switched-to backup wavelength channel, thereby implementing fast protection switching of a passive optical network system and improving reliability of the system.
The following gives description by using examples with reference to fault scenarios of a passive optical network system, but scenarios to which the solutions in the embodiments of the present invention are applied are not limited to the following fault scenarios.
As shown in
The active OLT, that is, OLT 0, includes at least 4 transceivers: transceiver 1, transceiver 2, transceiver 3, and transceiver 4. Each transceiver works on one operating wavelength channel, and each wavelength channel uses one pair of upstream and downstream operating wavelengths. For example, transceiver 1 works on operating wavelength channel 1, and operating wavelength channel 1 includes an upstream operating wavelength channel and a downstream operating wavelength channel, where the upstream operating wavelength channel corresponds to an upstream operating wavelength channel λup1 and the downstream operating wavelength channel corresponds to a downstream operating wavelength λdn1. By analogy, transceiver 2 works on wavelength channel 2, and wavelength channel 2 uses an upstream operating wavelength λup2 and a downstream operating wavelength λdn2.
The standby OLT, that is, OLT 1, includes at least one transceiver: transceiver 5. Transceiver 5 works on a backup wavelength channel, and an upstream backup wavelength and a downstream backup wavelength corresponding to the backup wavelength channel are λupi and λdni. Values of the upstream backup wavelength and the downstream backup wavelength corresponding to the backup wavelength channel may be one of the foregoing operating wavelength channels, or may be a wavelength corresponding to another wavelength channel different from the foregoing operating wavelength channels. For example, a value of λupi may be any one of λup1-λup4 and λup5. A value of λdni may be any one of λup1-λup4 and λup5.
Operating wavelength channel ID information includes an operating wavelength channel ID. The operating wavelength channel ID is used to identify an operating wavelength channel. The operating wavelength channel may be an upstream operating wavelength channel or a downstream operating wavelength channel. The upstream operating wavelength channel corresponds to an upstream operating wavelength, and the downstream operating wavelength channel corresponds to a downstream operating wavelength.
The ONUs, for example, ONU 1 . . . ONU 4, may be adjustable ONUs. Any one ONU includes at least one transceiver. The transceiver works on an operating wavelength channel. For example, ONU 1 includes transceiver 1, and transceiver 1 works on operating wavelength channel 1, and operating wavelength channel 1 uses an upstream operating wavelength λup1 and a downstream operating wavelength λdn1. The operating wavelength channel is identified by the operating wavelength channel ID. For example, an operating wavelength channel ID 1 identifies operating wavelength channel 1.
When the active OLT communicates with the ONUs normally, the active OLT sends a message that carries backup wavelength channel ID information to the ONUs, so that the ONUs receive the message and preconfigure the backup wavelength channel ID information.
When working port 0 of the active OLT, or the feeder fiber between the active OLT and the optical splitter is faulty, the standby OLT is enabled. The standby OLT uses a backup wavelength channel to send data to the ONUs.
When detecting a fault, an ONU switches its own operating wavelength channel to a preconfigured backup wavelength channel. Because the backup wavelength channel ID information preconfigured by the multiple ONUs is the same, the ONUs all switch to the same backup wavelength channel. In this case, a manner of communication between the standby OLT and the ONUs is time division multiplexing. That is, in an upstream direction, the ONUs send data to the standby OLT in a time division manner; in a downstream direction, the OLT delivers data to the ONUs in a broadcast manner.
Based on the architecture in
S402. An active OLT broadcasts a first message to all ONUs, where the first message carries backup wavelength channel ID information.
Further, that a PLOAM message is used to carry the backup wavelength channel ID information is used as an example. A message format of the PLOAM message is shown in Table 1. Table 1 is a schematic diagram of a PLOAM message format. The PLOAM message generally includes an optical network unit ID (ONU ID) field, a message type ID (Message type ID) field, a sequence number (Sequence No) field, a message content (Message Content) field, and a message integrity check (Message Integrity Check) field. In this embodiment of the present invention, the backup wavelength channel ID information may be carried in the message content field of the PLOAM message. For example, the PLOAM message format based on the backup wavelength channel ID information is shown in Table 1.
Optionally, the message type ID field of the PLOAM message may be a channel profile field, a system profile field or a protect-pair-configure field. When the message type ID field is a channel profile field, a system profile field or a protect-pair-configure field, the message content field includes backup wavelength channel ID information, where the backup wavelength channel ID information specifically includes at least one of a downstream backup wavelength channel ID and an upstream backup wavelength channel ID, as detailed in Table 2:
In Table 2, octets 1-2 in the PLOAM message are an ONU ID field ONU-ID, and are generally padded with 0X03FF for a broadcast message, which is not limited thereto. Octet 3 is a message type type field Message type ID, and is generally a channel profile “channel profile” or a system profile “system profile”, Octet 4 is a SeqNo sequence number, and is a sequence number of a broadcast or unicast PLOAM message. Octet 5 is backup wavelength channel ID information, which may specifically include at least one of: ID of a downstream backup wavelength channel and ID of an upstream backup wavelength channel. DDDD may be used to represent an ID of a downstream backup wavelength channel. For example, a value 0000 of DDDD represents an ID of downstream backup wavelength channel 0. UUUU is used to represent an ID of an upstream backup wavelength channel. For example, a value 1111 of UUUU represents an ID of upstream backup wavelength channel 15. Octets 6-40 may be padded with 0X00, and octets 41-48 are used for message integrity check. Octet 5 is a new field.
In Table 2 that describes the PLOAM message operating wavelength channel ID information (work wavelength channel ID information) of the ONU is not described. The operating wavelength channel ID information of the ONU may be further padded in another unpadded field. In Embodiment 1, the operating wavelength channel ID information is optional.
Further, that a PLOAM message is used to carry the backup wavelength channel ID information is used as an example. A message format of the PLOAM message may also be those shown in Table 3 and Table 4. Table 3 and Table 4 are schematic diagrams of PLOAM message formats.
A main different between the PLOAM message formats shown in Table 3 and Table 4 and that in Table 2 is that the downstream backup wavelength channel ID and upstream backup wavelength channel ID included in the backup wavelength channel ID information are separately carried by two PLOAM messages, as detailed in Table 3 and Table 4.
As shown in Table 3, octets 1-2 are still an ONU ID field, and its content is the same as the content of this field in Table 2. Octet 3 is a message type ID, and the message type ID identifies a downstream channel profile Downstream_Channel_Profile. Octet 4 is a sequence number field; for content of this field, refer to Table 2. Octet 5 is a profile version and profile index field, and this field is a field for updating a profile when the profile changes. Octet 6 is a downstream wavelength channel ID (Downstream wavelength channel ID) field, which represents a downstream wavelength channel of the ONU. Octet 7 is a Downstream backup wavelength channel ID field, which represents a downstream backup wavelength channel ID of the ONU and identifies the downstream backup wavelength channel of the ONU. The other octets numbered n-40 may be padded randomly or padded according to specified requirements. Descriptions of octets 41-48 are the same as those in Table 2. Octet 7 is a new field.
The downstream backup wavelength channel ID in the backup wavelength channel ID information in Table 3 may be carried in the Downstream backup wavelength channel ID field of the PLOAM message. In Table 3, except that the backup wavelength channel ID information is a mandatory field of the PLOAM message, all other fields are optional.
Further, as shown in Table 4, Table 4 is a PLOAM message in another format. The message format is detailed below.
The content in Table 4 shows that octets 1-2 are still an ONU ID field, and its content is the same as the content of this field in Table 2. Octet 3 is a message type ID, and the message type ID identifies an upstream channel profile upstream_Channel_Profile; Octet 4 is a sequence number field; for content of this field, refer to Table 2. Octet 5 is a profile version and profile index field, and this field is a field for updating a profile when the profile changes. Octet 6 is an upstream wavelength channel ID field, which represents an upstream wavelength channel of the ONU. Octet 7 is an upstream backup wavelength channel ID field, which represents an upstream backup wavelength channel ID of the ONU and is used to identify an upstream backup wavelength channel of the ONU. The other octets numbered n-40 may be padded randomly or padded according to specified requirements. Descriptions of octets 41-48 are the same as those in Table 2. Octet 7 in Table 4 is a new field.
In Table 3 and Table 4 that describe the PLOAM message, operating wavelength channel ID information (work wavelength channel ID information) of the ONU is not described. The operating wavelength channel ID information of the ONU may be further padded in another unpadded field. The operating wavelength channel ID information is optional.
In summary, when the backup channel ID information includes downstream backup wavelength channel ID information and an upstream backup wavelength channel ID, two scenarios exist. A first scenario is: The backup channel ID information in the first message delivered by the OLT includes downstream backup wavelength channel ID information and upstream backup wavelength channel ID information, and therefore the first message received by the ONU also includes the foregoing two types of information.
A second scenario is: The backup channel ID information in the first message delivered by the OLT includes only the downstream backup wavelength channel ID information. In this case, the OLT may further send a second message to the ONU, where the second message carries the upstream backup wavelength channel ID information, and the ONU also needs to receive the second message that carries the upstream backup wavelength channel ID information. For a format of the second message, reference may be made to Table 4 and corresponding descriptions in Table 4, and details are not repeated herein.
It should be understood that, in this embodiment of the present invention, an order and positions of the content of the octets in Table 3 and Table 4 are changeable. For example, octets 1-2 represent backup wavelength channel ID (Backup wavelength channel ID) information, and octet 5 is used to represent an ONU ID, which may change randomly without being limited to the foregoing form so long as it is ensured that at least one octet in the PLOAM message represents the backup wavelength channel ID (Backup wavelength channel ID) information. In addition, in all the foregoing PLOAM message formats, except that the backup wavelength channel ID information is a mandatory field of the message format, all other fields are optional.
S404. The ONUs receive the first message, and perform preconfiguration according to the backup wavelength channel ID information in the first message.
Specifically, in the networking architecture diagram in
By using the PLOOM message in Table 2 to Table 4, the backup wavelength channel ID information is carried in the message and delivered to the ONUs. Therefore, according to the message, the ONUs preconfigure the backup wavelength channel corresponding to the backup wavelength channel ID information. In this way, when detecting a fault, an ONU can quickly switch to the backup wavelength channel, thereby reducing interruption time and improving reliability of a system.
S406. When detecting a fault, the active OLT disables working port 0 of the active OLT; a standby OLT is enabled to communicate with the ONUs.
Specifically, when the active OLT communicates with the ONUs normally, the active OLT receives and transmits data by using working port 0, and standby port 1 of the standby OLT is in a sending-disabled and receiving-enabled state, that is, by using standby port 1, the standby OLT can synchronously receive data sent by the ONUs but is forbidden from sending data to the ONUs.
When detecting a fault, the active OLT determines that working port 0 of the active OLT is faulty or that a feeder fiber between the active OLT and an optical splitter is faulty. Then, the OLT disables working port 0 of the active OLT so that the OLT is forbidden from sending data to the ONUs. In this case, after a fault occurs, the standby OLT enables receiving and transmitting of data, that is, enables a data sending function, and periodically sends consecutive downstream data to the ONUs by using standby port 1.
S408. The ONUs detect the fault, and switch, according to preconfigured backup wavelength channel ID information, operating wavelength channels to a backup wavelength channel corresponding to the backup wavelength channel ID information.
Specifically, based on the networking architecture in
S410. The ONUs receive, over the standby wavelength channel, data sent by the standby OLT, and perform data synchronization processing and then recover data communication.
Over the downstream backup wavelength channel corresponding to the downstream backup wavelength channel ID information, the ONUs receive data that is delivered by the OLT in a broadcast manner; over the upstream backup wavelength channel corresponding to the upstream backup wavelength channel ID information, the ONUs send data to the standby OLT in a time division manner. Therefore, data communication between the ONUs and the standby OLT is recovered.
In this embodiment of the present invention, an ONU performs preconfiguration according to backup wavelength channel ID information sent by an OLT. When the ONU detects a fault, according to preconfigured backup wavelength channel information, the ONU quickly switches its own operating wavelength channel to a backup wavelength channel corresponding to the backup wavelength channel information so as to perform data communication over the switched-to backup wavelength channel, thereby implementing fast protection switching of a passive optical network system and improving reliability of the system.
As shown in
In the active/standby switching architecture diagram of
After receiving the message, ONU 3 that uses operating wavelength channel 3 uses operating wavelength channel 2 as its own backup wavelength channel. When detecting a fault, ONU 3 switches the operating wavelength channel of ONU 3 to operating wavelength channel 2 to receive and transmit data. Because all transceivers of OLT 0 work on fixed operating wavelength channels, when detecting a fault, OLT 0 disables transceiver 3 and uses other transceivers such as transceiver 1, transceiver 2, and transceiver 4 to receive and transmit data.
Based on the architecture in
S602. OLT 0 broadcasts a first message to all ONUs, where the first message carries backup wavelength channel ID information.
Before step S602, OLT 0 itself presets a correspondence between operating wavelength channel ID information and backup wavelength channel ID information of transceivers of the ONUs, and delivers the correspondence to the ONUs, where the correspondence may be determined by mutual selection from existing operating wavelength channel ID information, that is, mutual backup is implemented. For example, the correspondence table may include: Work wavelength channel 3 and operating wavelength channel 2 used by ONU 3 are mutual backups. OLT 0 uses operating wavelength channel 2 as a backup wavelength channel of ONU 3, which is delivered by being carried in the first message. According to the preconfigured correspondence, OLT 0 delivers the backup channel ID information and the like to the ONUs in the format of the first message, so that all the ONUs perform the corresponding preconfiguration.
Further, a PLOAM message is used as an example of the first message to carry the backup wavelength channel ID information. Table 5 shows a specific PLOAM message format that carries the backup wavelength channel ID information:
In Table 5, octets 1-2 in the PLOAM message are an ONU ID field, and are generally padded with 0X03FF for a broadcast message, which is not limited thereto. Octet 3 is a message type field and is protect-pair-configure (protect-pair-configure), and this octet is a new field. Octet 4 is a sequence number of a broadcast or unicast PLOAM message. Octet 5 is 0000 000C, and is used to identify a protect-pair-quantity. The protect-pair-quantity is primarily used to identify a quantity of operating wavelength channels identified by operating wavelength channel IDs and backup wavelength channels identified by backup wavelength channel IDs in octets 6-n. Octet 6 in Table 5 is operating wavelength channel ID information, which may specifically include: ID of a downstream wavelength channel, used to identify an operating wavelength channel used by the ONU in a downstream direction, where the operating wavelength channel may be specifically identified in a DDDD manner; and ID of an upstream wavelength channel, used to identify an operating wavelength channel used by the ONU in an upstream direction, where the operating wavelength channel may be specifically identified in a UUUU manner. Octet 7 is backup wavelength channel ID information, which may specifically include: ID of a downstream backup wavelength channel, used to identify a downstream backup wavelength channel used by the ONU, where the downstream backup wavelength channel may be specifically identified in an AAAA manner; and ID of an upstream backup wavelength channel (ID of upstream backup wavelength channel), used to identify an upstream backup wavelength channel used by the ONU, where the upstream backup wavelength channel may be specifically identified in a BBBB manner. Octets n-40 may be padded with 0X00. Octets 41-48 are used for message integrity check. Octet 3 and octets 5-7 are new fields.
It should be understood that, in this embodiment of the present invention, an order and positions of the content of the octets in Table 5 are changeable. For example, octets 1-2 represent backup wavelength channel ID information, octet 5 is used to represent an ONU ID, which may change randomly without being limited to the foregoing form so long as at least one or more octets in the PLOAM message represents backup wavelength channel ID information. In addition, in all the foregoing PLOAM message formats, except that the backup wavelength channel ID is a mandatory field of the message format, all other fields are optional.
The protect-pair-quantity field here is used to identify a quantity of wavelength protection pairs. The wavelength protection pair includes the operating wavelength channel identified by the operating wavelength channel ID and the backup wavelength channel identified by the backup wavelength channel ID, where the operating wavelength channel specifically includes the upstream operating wavelength channel identified by the upstream operating wavelength channel ID and the downstream operating wavelength channel identified by the downstream operating wavelength channel ID. The backup wavelength channel includes the upstream backup wavelength channel identified by the upstream backup wavelength channel ID and the downstream backup wavelength channel identified by the downstream backup wavelength channel ID. It should be understood that in Embodiment 2, the PLOAM message includes operating wavelength channel ID information and backup wavelength channel ID information. After detecting a fault, the ONU needs to perform wavelength channel switching according to the backup wavelength channel ID information, and the wavelength channel switching requires matching to corresponding backup wavelength channel ID information according to the operating wavelength channel ID information, so that the wavelength channel switching can be performed with the backup wavelength channel corresponding to the backup wavelength channel ID information.
S604. The ONUs receive the first message, and perform preconfiguration according to the backup wavelength channel ID information in the first message.
Specifically, in the networking architecture diagram in
S606. When detecting a fault, OLT 0 disables a faulty transceiver in OLT 0.
Specifically, OLT 0 detects the fault, and disables the faulty transceiver so that the ONUs are unable to receive data and further detect the fault.
S608. an ONU detects the fault, and switches, according to preconfigured backup wavelength channel ID information, an operating wavelength channel to a backup wavelength channel corresponding to the backup wavelength channel ID information.
Specifically, based on the architecture in
S610. The ONU receives, over the standby wavelength channel, data sent by the standby OLT, and recovers data communication.
Using ONU 3 in step S608 as an example, based on the downstream backup wavelength channel of the switched-to backup wavelength channel, ONU 3 receives data sent by the OLT, and over the upstream backup wavelength channel of the switched-to backup wavelength channel, ONU 3 sends data to the OLT.
In this embodiment of the present invention, an ONU performs preconfiguration according to backup wavelength channel ID information sent by an OLT. When the ONU detects a fault, according to preconfigured backup wavelength channel information, the ONU quickly switches its own operating wavelength channel to a backup wavelength channel corresponding to the backup wavelength channel information so as to perform data communication over the switched-to backup wavelength channel, thereby implementing fast protection switching of a passive optical network system and improving reliability of the system.
As shown in
The structure of an ONU in
Any one ONU includes at least 2 transceivers. The transceivers work on two different operating wavelength channels. For example, ONU 1 includes transceiver 1 and transceiver 2; transceiver 1 works on operating wavelength channel 1, where operating wavelength channel 1 uses an upstream operating wavelength λup1 and a downstream operating wavelength λdn1; and transceiver 2 works on operating wavelength channel 2, where operating wavelength channel 2 uses an upstream operating wavelength λup2 and a downstream operating wavelength λdn2. The operating wavelength channel is identified by an operating wavelength channel ID. For example, an operating wavelength channel ID 1 identifies operating wavelength channel 1.
The operating wavelength channel information of one of the transceivers of the ONU here is configured according to the backup wavelength channel ID information carried in a first message delivered by OLT 0.
The following describes a processing process of an ONU in detail.
S802. OLT 0 sends a first message to an ONU, where the first message carries backup wavelength channel ID information.
It should be understood that OLT 0 here delivers the message to a specified ONU in a unicast manner. That is, the first message delivered by the OLT includes ONU ID information of the specified ONU, indicating that the first message is to be sent to the ONU corresponding to the ONU ID.
S804. The specified ONU receives the first message, and configures its transceivers according to the first message.
Specifically, the ONU has at least two transceivers. During the configuration, the operating wavelength channel of another transceiver of the ONU is configured according to the backup wavelength channel ID information carried in the first message delivered by OLT 0. For example, at least two transceivers are configured for ONU 3: transceiver 1 and transceiver 3. In normal communication, ONU 3 performs data communication with transceiver 3 of OLT 0 by using transceiver 3. ONU 3 uses transceiver 3 to receive the first message delivered by the OLT. ONU 3 uses the backup wavelength channel, which is included in the backup wavelength channel ID information in the first message, as an operating wavelength channel of another transceiver 1. That is, the upstream operating wavelength of transceiver 1 of ONU 3 is set to the wavelength λup1 used by the upstream backup wavelength channel corresponding to the upstream backup wavelength channel ID, and the downstream operating wavelength of transceiver 1 is set to the wavelength λdn1 used by the downstream backup wavelength channel corresponding to the downstream backup wavelength channel ID.
In normal communication, both transceivers of the ONU can receive data sent by OLT 0.
Here, because the two transceivers of each ONU use different wavelength channel information, the OLT delivers the first message to the specified ONU in a unicast manner, where the first message carries different information. Specifically, a PLOAM message is used as an example of the first message received by a specified ONU. For a format of the message, refer to Table 6.
The ONU ID in octets 1-2 in Table 6 is ID information of an ONU specified to receive the unicast message, because this is a unicast message, and is used to identify the specified ONU. Octet 3 is a message type ID, and its message content is protect-pair-configure. In an original PLOAM message, this message type ID is not defined. Therefore, this octet is a new message type. The protect-pair-quantity in octet 5 is also optional in this embodiment, and is used to identify a quantity of wavelength protection pairs. Content of octets 6-7 is the same as that in Table 5, and includes operating wavelength channel ID information and backup wavelength channel ID information. The operating wavelength channel ID information in octet 6 is optional in Embodiment 3. Because the PLOAM message delivered by the OLT here is delivered to a specified ONU, the message needs only to carry the backup wavelength channel ID information of the specified ONU. After receiving the message, the specified ONU performs wavelength channel preconfiguration for another transceiver of the ONU according to the backup wavelength channel ID information in the message. That is, the another transceiver of the ONU uses the backup wavelength channel corresponding to the backup wavelength channel ID information as an operating wavelength channel, and the another transceiver of the ONU is used for data communication when the ONU detects a fault. The octets n-40 are padding octets, and octets 41-48 are a message integrity check field.
S806. When the specified ONU detects a fault, the ONU disables one of the transceivers and performs data communication by using another transceiver.
Using ONU 3 as an example, when ONU 3 detects a fault, transceiver 3 of ONU 3 is disabled and data on a wavelength channel used by transceiver 3 is switched to transceiver 1 of ONU 3, and a wavelength channel used by transceiver 1 is used to receive and transmit data. Specifically, a downstream operating wavelength channel of transceiver 1 is used to receive data, and an upstream operating wavelength channel of transceiver 1 is used to transmit data.
In this embodiment of the present invention, an ONU performs preconfiguration according to backup wavelength channel ID information sent by an OLT. When the ONU detects a fault, data communication is performed over an operating wavelength channel of another transceiver, thereby implementing fast protection switching of a passive optical network system and improving reliability of the system.
An apparatus provided in an embodiment of the present invention is shown in
A passive optical network communications apparatus 90 is provided, where the apparatus includes:
a first communications unit 902, configured to: receive a first message sent by an optical line terminal, where the first message carries backup wavelength channel ID information; and perform data communication over the switched-to backup wavelength channel; and
a first processing unit 904, configured to: when an optical network unit detects a fault, switch, according to the first message received by the first communications unit, an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information.
The communications apparatus may be an ONU, and corresponds to the ONU in
For specific functions of the ONU, refer to the specific description in the method embodiments in
The first communications unit may be a transceiver of the ONU. The first processing unit may be a MAC or a microprocessor, and the first processing unit may be implemented on a chip.
The first message includes a message type ID (Message type ID) field and a message content field, where the message type ID field of the first message is a channel profile field, a system profile field or a protect-pair-configure field, and the message content field includes the backup wavelength channel ID information.
The backup wavelength channel ID information includes a downstream backup wavelength channel ID.
The first processing unit is specifically configured to switch a downstream operating wavelength channel in operating wavelength channels of the optical network unit to a downstream backup wavelength channel identified by the downstream backup wavelength channel ID.
The backup wavelength channel ID information includes an upstream backup wavelength channel ID.
The first processing unit is specifically configured to switch an upstream operating wavelength channel in operating wavelength channels of the optical network unit to an upstream backup wavelength channel identified by the upstream backup wavelength channel ID.
The backup wavelength channel ID information includes a downstream backup wavelength channel ID and an upstream backup wavelength channel ID.
The first processing unit is specifically configured to: switch a downstream operating wavelength channel in operating wavelength channels of the optical network unit to a downstream backup wavelength channel identified by the downstream backup wavelength channel ID; and switch an upstream operating wavelength channel in the operating wavelength channels of the optical network unit to an upstream backup wavelength channel identified by the upstream backup wavelength channel ID.
The message content field further includes operating wavelength channel ID information, where the operating wavelength channel ID information corresponds to the backup wavelength channel ID information, and the operating wavelength channel ID information includes an operating wavelength channel ID.
The first processing unit is specifically configured to: according to its own operating wavelength channel, match an operating wavelength channel identified by the operating wavelength channel ID in the message content field; according to the matched operating wavelength channel, determine a backup wavelength channel identified by a backup wavelength channel ID; and switch the operating wavelength channel of the optical network unit to the backup wavelength channel.
The message content field further includes a protect-pair-quantity used to indicate a quantity of backup wavelength channel IDs carried in the message content field, where the backup wavelength channel IDs include the downstream backup wavelength channel ID and the upstream backup wavelength channel ID.
The first communications unit is further configured to receive a second message sent by the optical line terminal, where the second message includes a message type ID field and a message content field, where the message type ID field of the second message is a channel profile ID field, a system profile field or a protect-pair-configure field, and the message content field includes an upstream backup wavelength channel ID.
The first processing unit is further configured to switch an upstream operating wavelength channel in the operating wavelength channels of the optical network unit to an upstream backup wavelength channel identified by the upstream backup wavelength channel ID in the second message.
Evidently, in this embodiment of the present invention, an ONU performs preconfiguration according to the backup wavelength channel ID information sent by the OLT. When the ONU detects a fault, according to preconfigured backup wavelength channel information, the ONU quickly switches its own operating wavelength channel to a backup wavelength channel corresponding to the backup wavelength channel information so as to perform data communication over the switched-to backup wavelength channel, thereby implementing fast protection switching of a passive optical network system and improving reliability of the system.
As shown in
The communications apparatus 100 includes:
a second processing unit 1002, configured to generate a first message, where the first message carries backup wavelength channel ID information, where the backup wavelength channel ID information is used to instruct to switch, when an optical network unit detects a fault, an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information; and
a second communications unit 1004, configured to send the first message to the optical network unit.
The communications apparatus may be an OLT, and corresponds to the OLT in
For specific functions of the ONUs, refer to the specific description in the method embodiments in
The second communications unit may be a transceiver of the OLT. The second processing unit may be a MAC or a microprocessor, and functions of the second processing unit may be implemented on a chip of the OLT.
Further, the first message includes a message type ID field and a message content field, where the message type ID field of the first message is a channel profile field, a system profile field or a protect-pair-configure field, and the message content field includes the backup wavelength channel ID information.
Further, the backup wavelength channel ID information includes a downstream backup wavelength channel ID, where the downstream backup wavelength channel ID is used to instruct to switch a downstream operating wavelength channel of the optical network unit to a downstream backup wavelength channel identified by the downstream backup wavelength channel ID.
Further, the backup wavelength channel ID information includes an upstream backup wavelength channel ID, where the upstream backup wavelength channel ID is used to instruct to switch an upstream operating wavelength channel of the optical network unit to an upstream backup wavelength channel identified by the upstream backup wavelength channel ID.
Further, the backup wavelength channel ID information includes a downstream backup wavelength channel ID and an upstream backup wavelength channel ID.
The downstream backup wavelength channel ID is used to instruct to switch a downstream operating wavelength channel of the optical network unit to a downstream backup wavelength channel identified by the downstream backup wavelength channel ID.
The upstream backup wavelength channel ID is used to instruct to switch an upstream operating wavelength channel of the optical network unit to an upstream backup wavelength channel identified by the upstream backup wavelength channel ID.
The message content field further includes operating wavelength channel ID information, where the operating wavelength channel ID information corresponds to the backup wavelength channel ID information, and the operating wavelength channel ID information includes an operating wavelength channel ID, where the operating wavelength channel ID is used to instruct the optical network unit to: match an operating wavelength channel identified by the operating wavelength channel ID; according to the matched operating wavelength channel, determine a backup wavelength channel identified by a backup wavelength channel ID; and switch the operating wavelength channel of the optical network unit to the backup wavelength channel.
Further, the message content field further includes a protect-pair-quantity used to indicate a quantity of backup wavelength channel IDs in the message content field, where the backup wavelength channel IDs include the downstream backup wavelength channel ID and the upstream backup wavelength channel ID.
Further, the second control unit is further configured to generate a second message, where the second message includes a message type ID field and a message content field, where the message type ID field of the second message is a channel profile field, a system profile field or a protect-pair-configure field, and the message content field includes an upstream backup wavelength channel ID, where the upstream backup wavelength channel ID is used to instruct the optical network unit to switch an upstream operating wavelength channel in operating wavelength channels of the optical network unit to an upstream backup wavelength channel identified by the upstream backup wavelength channel ID in the second message.
The second communications unit is further configured to send the second message to an optical line terminal.
In this embodiment of the present invention, an OLT sends backup wavelength channel ID information to an ONU so that the ONU performs preconfiguration. When the ONU detects a fault, according to preconfigured backup wavelength channel information, the ONU quickly switches its own operating wavelength channel to a backup wavelength channel corresponding to the backup wavelength channel information so as to perform data communication over the switched-to backup wavelength channel, thereby implementing fast protection switching of a passive optical network system and improving reliability of the system.
An embodiment of the present invention further provides a communications apparatus 110, as shown in
The communications apparatus 110 includes a processor 1102, a memory 1104, and a bus system 1106, where the processor 1102 is connected to the memory 1104 by using the bus system 1106, the memory 1104 is configured to store an instruction, and the processor 1102 is configured to execute the instruction stored by the memory 1104. The processor 1102 is configured to generate a first message, where the first message carries backup wavelength channel ID information, where the backup wavelength channel ID information is used to instruct to switch, when an optical network unit detects a fault, an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information.
Further, for specific functions of the processor 1102, reference may be made to the specific functions of the second processing unit 1002 in the communications apparatus 100 in
Therefore, the communications apparatus in this embodiment of the present invention is configured to generate a first message, where the first message carries backup wavelength channel ID information, where the backup wavelength channel ID information is used to instruct to switch, when an optical network unit detects a fault, an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information, thereby implementing fast protection switching of a passive optical network system and improving reliability of the system.
It should be understood that, in this embodiment of the present invention, the processor 1102 may be a central processing unit (CPU), and the processor 1102 may also be another general purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logical device, a discrete gate or transistor logical device, a discrete hardware assembly, or the like. The general purpose processor may be a microprocessor, or the processor may also be any conventional processor or the like.
The memory 1104 may include a read-only memory and a random access memory, and provide instructions and data for the processor 1102. A part of the memory 1104 may further include a non-volatile random access memory. For example, the memory 1104 may further store device type information.
The bus system 1106 may include not only a data bus but also a power supply bus, a control bus, a status signal bus and the like. However, for clear description, various buses are denoted by the bus system 1106 in the diagram.
In an implementation process, steps of the foregoing methods may be implemented by using an integrated logical circuit in a hardware form or instructions in a software form in the processor 1102. Steps of the methods disclosed with reference to the embodiments of the present invention may be directly executed and accomplished by means of a hardware processor, or may be executed and accomplished by using a combination of hardware and software modules in the processor. The software module may be located in a mature storage medium in the field, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically-erasable programmable memory or a register. The storage medium is located in the memory 1104, and the processor 1104 reads information in the memory 1104 and implements, in combination with its hardware, the steps of the foregoing methods. To avoid repetition, no detailed description is given herein again.
The present invention further provides a passive optical network system. Referring to
The OLT is configured to generate a first message, where the first message carries backup wavelength channel ID information, where the backup wavelength channel ID information is used to instruct to switch, when an optical network unit detects a fault, an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information; and send the first message to the optical network unit.
The ONU is configured to: receive a first message sent by an optical line terminal, where the first message carries backup wavelength channel ID information;
switch, by the optical network unit when the optical network unit detects a fault, an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information; and
perform, by the optical network unit, data communication over the switched-to backup wavelength channel.
For specific formats of the first message and the second message, refer to the specific description in the corresponding embodiments in
In the passive optical network system provided in this embodiment of the present invention, an optical network unit receives a first message sent by an optical line terminal, where the first message carries backup wavelength channel ID information; when the optical network unit detects a fault, the optical network unit switches an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information; and the optical network unit performs data communication over the switched-to backup wavelength channel, thereby implementing fast protection switching of a passive optical network system and improving reliability of the system.
The present invention further provides a passive optical network system. Referring to
The OLT includes a processor, a memory, and a bus system, where the processor is connected to the memory by using the bus system, the memory is configured to store an instruction, and the processor is configured to execute the instruction stored by the memory.
The processor is configured to generate a first message, where the first message carries backup wavelength channel ID information, where the backup wavelength channel ID information is used to instruct to switch, when an optical network unit detects a fault, an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information.
The ONU is configured to: receive a first message sent by an optical line terminal, where the first message carries backup wavelength channel ID information;
switch, by the optical network unit when the optical network unit detects a fault, an operating wavelength channel of the optical network unit to a backup wavelength channel identified by the backup wavelength channel ID information; and
perform, by the optical network unit, data communication over the switched-to backup wavelength channel.
In this embodiment of the present invention, an ONU performs preconfiguration according to backup wavelength channel ID information sent by an OLT. When the ONU detects a fault, according to preconfigured backup wavelength channel information, the ONU quickly switches its own operating wavelength channel to a backup wavelength channel corresponding to the backup wavelength channel information so as to perform data communication over the switched-to backup wavelength channel, thereby implementing fast protection switching of a passive optical network system and improving reliability of the system.
In the foregoing embodiments, the description of each embodiment has respective focuses. For a part that is not described in detail in an embodiment, reference may be made to related descriptions in other embodiments.
It should be noted that, for ease of description, the foregoing method embodiments are described as a series of action combinations. However, a person skilled in the art should understand that the present invention is not limited to the described sequence of the actions, because some steps may be performed in another sequence or performed at the same time according to the present invention. In addition, a person skilled in the art should also understand that all the embodiments described in this specification belong to exemplary embodiments, and the involved actions and modules are not necessarily mandatory to the present invention.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the described apparatus embodiment is merely exemplary. For example, the unit division is merely logical function division and may be other division in actual implementation. For example, a plurality of units or components may be combined or integrated into another system, or some features may be ignored or not performed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections may be implemented through some interfaces. The indirect couplings or communication connections between the apparatuses or units may be implemented in electronic or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each of the units may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in a form of hardware, or may be implemented in a form of a software functional unit.
When the foregoing integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, the integrated unit may be stored in a computer-readable storage medium. Based on such an understanding, the technical solutions of the present invention essentially, or the part contributing to the prior art, or all or a part of the technical solutions may be implemented in the form of a software product. The software product is stored in a storage medium and includes several instructions for instructing a computer device (which may be a personal computer, a server, or a network device, and may specifically be a processor in a computer device) to perform all or a part of the steps of the foregoing methods described in the embodiments of the present invention. The foregoing storage medium may include: any medium that can store program code, such as a USB flash drive, a removable hard disk, a magnetic disk, an optical disc, a read-only memory (ROM), or a random access memory (RAM).
The foregoing embodiments are merely intended for describing the technical solutions of the present invention, but not for limiting the present invention. Although the present invention is described in detail with reference to the foregoing embodiments, persons of ordinary skill in the art should understand that they may still make modifications to the technical solutions described in the foregoing embodiments or make equivalent replacements to some technical features thereof, without departing from the spirit and scope of the technical solutions of the embodiments of the present invention.
This application is a continuation of U.S. patent application Ser. No. 15,406/392, filed on Jan. 13, 2017, which is a continuation of International Application No. PCT/CN2014/082279, filed on Jul. 15, 2014. All of the afore-mentioned patent applications are hereby incorporated by reference in their entireties.
Number | Name | Date | Kind |
---|---|---|---|
10244295 | Gao | Mar 2019 | B2 |
20060062576 | Nakamura | Mar 2006 | A1 |
20060210266 | Aoki | Sep 2006 | A1 |
20070092256 | Nozue et al. | Apr 2007 | A1 |
20080166127 | Kazawa et al. | Jul 2008 | A1 |
20120114333 | Zhang et al. | May 2012 | A1 |
20130315589 | Gao et al. | Nov 2013 | A1 |
20140133863 | Mizutani | May 2014 | A1 |
Number | Date | Country |
---|---|---|
1925370 | Mar 2007 | CN |
101667865 | Mar 2010 | CN |
101873514 | Oct 2010 | CN |
101990132 | Mar 2011 | CN |
2012136155 | Oct 2012 | WO |
2013173983 | Nov 2013 | WO |
Entry |
---|
“Series G: Transmission Systems and Media, Digital Systems and Networks, Digital sections and Digital line system—Optical line systems for local and access networks, Phoneline networking transceivers—Isolation function,” ITU-T G.989.3, pp. 1-20, International Union of Telecommunication, Geneva, Switzerland, (Mar. 2003). |
“IEEE Standard for Ethernet Section Five” IEEE Std 802.3-2012, pp. 1-844, Institute of Electrical and Electronics Engineers, New York, New York (2012). |
Number | Date | Country | |
---|---|---|---|
20190182569 A1 | Jun 2019 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 15406392 | Jan 2017 | US |
Child | 16266786 | US | |
Parent | PCT/CN2014/082279 | Jul 2014 | US |
Child | 15406392 | US |