Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiment is a part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other reality that those of ordinary skill in the art are obtained without making creative work
Example is applied, the scope of protection of the invention should be all belonged to.
Fig. 1 shows a kind of application scenarios provided in an embodiment of the present invention.As shown in Figure 1, the EPON system may include
EPON OLT and one or more EPON ONU, the EPON OLT can pass through optical splitter (Optical Splitter, abbreviation
For " OS ") it is connect with one or more EPON ONU optical fiber, wherein based on multiple between the EPON OLT and the EPON ONU
Downstream wavelength and a upstream wavelength are communicated.
The EPON OLT are, for example, NG-EPON OLT or the EPON OLT may be other OLT, which has more
A launch wavelength and a reception wavelength.As shown in Figure 1, the EPON ONU are, for example, n EPON ONU, i.e. EPON ONU 1
It is natural number to EPON ONU n, wherein n;The reception Wavelength tunable but launch wavelength of the EPON ONU is fixed, the EPON ONU
Such as may include one or more 1G EPON ONU, one or more 10G EPON ONU, one or more NG EPON
ONU etc., but the embodiment of the present invention is not limited to this.
It should be understood that in embodiments of the present invention, the optical signal of data or carrying data is transferred to the biography of ONT/ONU from OLT
Defeated direction is known as down direction, and correspondingly, the channel that OLT sends optical signal to ONT/ONU is also referred to as downstream wavelength channel;It is similar
The transmission direction that ground, data or the optical signal for carrying data are transferred to OLT from ONT/ONU is known as up direction;Correspondingly, ONT/
The channel that ONU sends optical signal to OLT is also referred to as upstream wavelength channel.
It should also be understood that the embodiment of the present invention is only illustrated by taking the EPON system of four wave downlink unicast uplinks as an example, i.e., with
It is illustrated for the EPON system in downstream wavelength channel and a upstream wavelength channel there are four having, but the present invention is not limited to
This, the method and its device of facility registration and wavelength switching according to the ... of the embodiment of the present invention can also be applied to other with more
The EPON system in a downstream wavelength channel and a upstream wavelength channel, and there is multiple downstream wavelength channels and multiple uplinks
The EPON system of wavelength channel.In addition, for convenience, will hereinafter be illustrated instead of ONT and/or ONU with ONU, but
The present invention is not limited thereto.
Fig. 2 shows the schematic flow chart of the method 100 of facility registration in EPON system provided in an embodiment of the present invention,
The EPON system includes optical line terminal OLT and optical network unit ONU, between the OLT and the ONU based on multiple downstream wavelengths and
One upstream wavelength is communicated, and this method 100 can be executed by OLT, for example, this method 100 is executed by NG-EPON OLT.
As shown in Fig. 2, this method 100 includes:
S110 sends windowing message to the ONU;
S120, receives the login request message for asking registration that the ONU is sent according to the windowing message, which asks
Message is asked to carry the wavelength information of the ONU, which includes that the ONU receives registration down going wave used by the windowing message
It is long;
S130 sends registration message by the registration downstream wavelength to the ONU, which includes that the OLT is the ONU
The logical links label (Logical Link Identifier, referred to as " LLID ") of distribution;
S140 receives the registration confirmation message for confirming completion registration that the ONU is sent according to the registration message.
Specifically, in the EPON system using multiple downstream wavelengths and a upstream wavelength into row of channels, such as OLT
To ONU broadcast transmissions windowing message, for asking whether that the ONU being newly added is registered.If just had at this time
The ONU being newly added is registered, then when the ONU receives the windowing message of OLT broadcast transmissions, so that it may with wide to OLT
It broadcasts and send login request message, which is used to ask to register to OLT, and the login request message carries wavelength
Information, the wavelength information can indicate that the ONU is received and register downstream wavelength used by the windowing message.OLT receives the ONU
Can include the registration message of LLID to ONU transmissions after the wavelength information of transmission;The ONU receives the registration that OLT is issued and disappears
After breath, corresponding location registration process can be carried out, and registration confirmation message can be sent to OLT, for indicating the ONU to OLT
Registration is completed, thus in the EPON system, it can be into row data communication between the OLT and the ONU.
Therefore, the method for the Ethernet passive optical network devices in system registration of the embodiment of the present invention, by optical-fiber network
Instruction registration downstream wavelength in the login request message that unit is sent to optical line terminal so that the optical line terminal can determine
Downstream wavelength used by the optical network unit, to use that multiple downstream wavelengths and a upstream wavelength are communicated with
Facility registration can be realized in net passive optical network very much, it thus can be between the optical network unit and the optical line terminal
Row data communication.
Specifically, in S110, OLT sends windowing message to ONU.For example, OLT can by way of broadcast to
ONU sends windowing message.The windowing message is, for example, to be based on Multi-point Control Protocol (Multi-Point Control
Protocol, referred to as " MPCP ") GATE message, the GATE message is for authorizing ONU, so that receiving this
The ONU of GATE message can immediately or within a specified time send information.
In embodiments of the present invention, which may include source address, destination address and message content, the message
Content for example may include at least one of following message information:Authorize (Grant) information, synchronization time (Sync Time)
Information and discovery information (Discovery Information), but the present invention is not limited thereto.
In S120, OLT receives the login request message that the ONU is sent according to the windowing message, the login request message
The wavelength information of carrying includes that the ONU receives registration downstream wavelength used by the windowing message.
In embodiments of the present invention, after ONU carries out self calibration, it can will receive wavelength and be adjusted in multiple downstream wavelengths
One, i.e. ONU, which is received, registers downstream wavelength used by the windowing message, and can the registration downstream wavelength be reported to OLT,
To carry out facility registration.
In embodiments of the present invention, optionally, which further includes the downstream wavelength regulating power information of the ONU,
The downstream wavelength regulating power information includes at least one of following message:Downstream wavelength control interval, down going wave long number, can
The wavelength regulation range of tunable filter, the regulating time of each downstream wavelength control interval and downstream wavelength governing speed.
I.e. in embodiments of the present invention, ONU can be by its downstream wavelength regulating power information reporting to OLT, in order to OLT
The relevant information of ONU can be known to carry out subsequent operation completely.For example, OLT can be according to the downstream wavelength regulating power of ONU
Information determines the target downlink wavelength etc. of downstream wavelength switching.
In embodiments of the present invention, which is, for example, the REGISTER_REQ message based on MPCP, should
REGISTER_REQ message is used to ask to register to OLT, and the REGISTER_REQ message carries the wavelength information.In this hair
In bright embodiment, which may include source address, destination address and message content, which removes
Include except wavelength information, such as can also include at least one of following message information:It waits for and authorizes (Pending
Grants) information, find information (Discovery Information), laser opening time (Laser On Time) information and
Laser shutdown time (Laser Off Time) information, but the present invention is not limited thereto.
It in embodiments of the present invention, can be by the frame structure of extension REGISTER_REQ message, to carry wavelength letter
Breath.Optionally, the discovery information domain (Discovery Information) (Field) of the login request message includes the wavelength
Information;Or the login request message includes the domain wavelength information (Wavelength Information), which includes
The wavelength information.
Below in conjunction with Fig. 3 A and 3B, above-mentioned login request message is described respectively.
Fig. 3 A show a kind of frame structure of registration request REGISTER_REQ message provided in an embodiment of the present invention,
In, the discovery information field of the REGISTER_REQ message carries the wavelength information.As shown in Figure 3A, operation code (Opcode) 0001
Indicate that media access control (Media Access Control, referred to as " MAC ") function is pause (PAUSE), i.e. operation code
Message for 0001 is pause (PAUSE) message;Similarly, the message that operation code is 0002 is windowing (GATE) message;Operation
Code is report (REPORT) message for 0003 message;The message that operation code is 0004 is that registration request (REGISTER_REQ) disappears
Breath;The message that operation code is 0005 is registration (REGISTER) message;The message that operation code is 0006 is accreditation verification
(REGISTER_ACK) message.
Wherein, which may include:Destination address (the Destination of 6 bytes
Address, referred to as " DA ") domain, domain source address (Source Address, referred to as " SA ") of 6 bytes, 2 bytes
Length (the Length)/domain type (Type), domain operation code (Opcode) of 2 bytes, 4 bytes timestamp
(Timestamp) domain, domain mark (Flags) of 1 byte, domain waiting mandate (Pending Grants) of 1 byte, 2
Domain discovery information (Discovery Information) of byte, 1 byte the laser opening time (Laser On Time)
Domain, domain laser shutdown time (Laser Off Time) of 1 byte, 32 bytes the filling domain (Pad) and 4 bytes frame
The domain verification sequence (Frame Check Sequence, referred to as " FCS ").
Wherein, each bit in the domains Discovery Information can indicate 1G uplink capacities information, 10G uplinks
Ability information, 1G registrations attempt information or information is attempted in 10G registrations;In addition, the bit in the domains Discovery Information
It can be used to indicate that registration downstream wavelength, and can be also used for indicating one or more in following wavelength information:Down going wave
The adjusting of long control interval information, down going wave long number information, downstream wavelength adjustable range information and downstream wavelength per control interval
Temporal information etc..I.e. in embodiments of the present invention, the Discovery Information of REGISTER_REQ message can be extended
Domain so that the reservation bit position in the domains Discovery Information may be used to indicate that the wavelength information of the ONU.
Fig. 3 B show another frame structure of registration request REGISTER_REQ message provided in an embodiment of the present invention,
In, the registration request REGISTER_REQ message that operation code is 0004 may also include, for example the wavelength information of 2 bytes
The domain (Wavelength Information), the bit in the domains Wavelength Information can be used to indicate that under registration
Traveling wave is long, and can be also used for indicating one or more in following wavelength information:Downstream wavelength control interval information, downlink
The regulating time information etc. of number of wavelengths information, downstream wavelength adjustable range information and downstream wavelength per control interval.I.e. in this hair
In bright embodiment, a domain Wavelength Information can be newly increased in REGISTER_REQ message, it should
The bit in the domains Wavelength Information is used to indicate the wavelength information of the ONU.
It should be understood that the embodiment of the present invention is only illustrated by taking frame structure shown in Fig. 3 A and Fig. 3 B as an example, but the present invention is simultaneously
It is without being limited thereto, for example, the wavelength information of ONU can also be carried on other domains of REGISTER_REQ message or other reserved fields
In;In another example wavelength information domain can have more byte numbers etc..
In S130, OLT can send registration message, the registration by broadcast according to the login request message to the ONU
Message includes the LLID that the OLT is ONU distribution.
It should be understood that in embodiments of the present invention, LLID is a kind of Digital ID that EPON system distributes to logical links, often
A logical links can all be assigned different LLID.In EPON system, OLT can by LLID come distinguish the frame of reception be by
What which ONU was sent, similarly, which can also be sent at corresponding ONU by OLT by changing the LLID in frame.By
This, can establish the correspondence between OLT and ONU, and can be communicated.
In embodiments of the present invention, optionally, which further includes wavelength confirmation message, which uses
In instruction, the OLT confirms the wavelength information.Specifically, for example, the wavelength confirmation message may include that registration downstream wavelength is true
Recognize information, confirms the registration downstream wavelength for instruction OLT.In another example the wavelength confirmation message can also include down going wave
Long regulating power confirmation message, which includes at least one of following message information
Confirm:Between downstream wavelength control interval, down going wave long number, the wavelength regulation range of tunable filter, each downstream wavelength are adjusted
Every regulating time and downstream wavelength governing speed.
Specifically, in embodiments of the present invention, which is, for example, the REGISTER message based on MPCP, should
REGISTER message is used to distribute LLID by the ONU for registering verification.In embodiments of the present invention, which can
To include source address, destination address and message content, the message content is other than including LLID, such as under can also including
At least one of column information information:Synchronization time (Sync Time) information waits for confirmation (the Echo of Pending authorized
Grants) information, target laser opening time (Target Laser On Time) information, target laser shut-in time
(Target Laser Off Time) information and wavelength confirmation message (Echo of Wavelength Information), but
The present invention is not limited thereto.
It in embodiments of the present invention, can be by the frame structure of extension REGISTER message, to carry the wavelength confirmation letter
Breath.Below will be by taking frame structure shown in Fig. 4 as an example, detailed description includes the registration REGISTER message of wavelength confirmation message.
As shown in figure 4, the message that operation code is 0005 is registration (REGISTER) message, which for example may be used
To include:Domain destination address (Destination Address, referred to as " DA ") of 6 bytes, 6 bytes source address
The domain (Source Address, referred to as " SA "), length (Length)/domain type (Type) of 2 bytes, 2 bytes behaviour
Make the domain code (Opcode), domain timestamp (Timestamp) of 4 bytes, 2 bytes distribution port (Assigned Port)
Domain, domain mark (Flags) of 1 byte, domain synchronization time (Sync Time) of 2 bytes, the waiting mandate of 1 byte are true
Recognize the domain (Echoed Pending Grants), 1 byte the target laser opening time (Target Laser On Time)
Domain, domain target laser shut-in time (Target Laser Off Time) of 1 byte, 2 bytes wavelength confirmation message
The domain (Echoed Wavelength Information), 32 bytes the filling domain (Pad) and 4 bytes Frame Check Sequence
(Frame Check Sequence, referred to as " FCS ").
Wherein, each bit in the domains Echoed Wavelength Information can indicate downstream wavelength confirmation letter
Breath, downstream wavelength control interval confirmation message, down going wave long number confirmation message, downstream wavelength adjustable range confirmation message and downlink
Regulating time confirmation message of the wavelength per control interval.
It should be understood that the embodiment of the present invention is only illustrated by taking frame structure shown in Fig. 4 as an example, but the present invention is not limited to
This, for example, the wavelength confirmation message can also be carried in other message, be carried on REGISTER message other domains or its
In its reserved field.
In S140, OLT receives the registration confirmation message that the ONU is sent according to the registration message, the registration confirmation message
For confirming that ONU completes registration.
It should be understood that within the time that ONU carries out pertinent registration processing according to registration message, OLT can be periodically or periodical
Ground sends GATE message to ONU, and ONU is waited for complete pertinent registration processing.After ONU completes pertinent registration processing, it can be sent out to OLT
Registration confirmation message is sent, registration is completed to confirm.
Specifically, in embodiments of the present invention, which is, for example, the REGISTER_ACK based on MPCP
Message, the REGISTER_ACK message may include source address, destination address and message content, which for example may be used also
To include confirming that (Echo of Sync Time) information and/or LLID confirm (Echo of LLID) information synchronization time.
Therefore, the method for the Ethernet passive optical network devices in system registration of the embodiment of the present invention, by optical-fiber network
Instruction registration downstream wavelength in the login request message that unit is sent to optical line terminal so that the optical line terminal can determine
Downstream wavelength used by the optical network unit, to use that multiple downstream wavelengths and a upstream wavelength are communicated with
Facility registration can be realized in net passive optical network very much, it thus can be between the optical network unit and the optical line terminal
Row data communication.
It should be understood that the present invention is only illustrated by taking application scenarios shown in FIG. 1 as an example, but the present invention is not limited thereto, example
Such as, in EPON system provided in an embodiment of the present invention facility registration method, can also be applied to using multiple downstream wavelengths and
The EPON system that multiple upstream wavelengths are communicated.
It should also be understood that in embodiments of the present invention, the login request message that ONU is sent to OLT is in addition to that can carry ONU's
Except downstream wavelength information, the upstream wavelength information of ONU can also be included, for example, registration upstream wavelength, upstream wavelength adjust energy
Force information etc., the upstream wavelength regulating power information is for example including at least one of following message:Upstream wavelength control interval,
Upgoing wave long number, upstream wavelength adjustable range, the regulating time of each upstream wavelength control interval and upstream wavelength governing speed.
It should also be understood that in embodiments of the present invention, the registration message that OLT is sent to ONU can also include OLT to upgoing wave
The information that long message is confirmed, for example, registration upstream wavelength confirmation message, upstream wavelength regulating power confirmation message etc., it should
Upstream wavelength regulating power confirmation message for example includes the confirmation at least one of following message:Between upstream wavelength is adjusted
Every, upgoing wave long number, upstream wavelength adjustable range, the regulating time of each upstream wavelength control interval and upstream wavelength adjust speed
Degree.
It should also be understood that in various embodiments of the present invention, size of the sequence numbers of the above procedures is not meant to execute
The execution sequence of the priority of sequence, each process should be determined by its function and internal logic, the reality without coping with the embodiment of the present invention
It applies process and constitutes any restriction.
Therefore, the method for the Ethernet passive optical network devices in system registration of the embodiment of the present invention, by optical-fiber network
Instruction registration downstream wavelength in the login request message that unit is sent to optical line terminal so that the optical line terminal can determine
Downstream wavelength used by the optical network unit, to use that multiple downstream wavelengths and a upstream wavelength are communicated with
Facility registration can be realized in net passive optical network very much, it thus can be between the optical network unit and the optical line terminal
Row data communication;In addition, this method according to the ... of the embodiment of the present invention can also reduce the error probability during facility registration, with
A kind of more rigorous, more specification, more efficient facility registration mechanism are provided.
Above in conjunction with Fig. 2 to Fig. 4, equipment in EPON system according to the ... of the embodiment of the present invention is described in detail from the sides OLT
The method 100 of registration is described in detail equipment in EPON system according to the ... of the embodiment of the present invention from the sides ONU and is noted below in conjunction with Fig. 5
The method 200 of volume.
As shown in figure 5, showing the method 200 of facility registration in EPON system according to the ... of the embodiment of the present invention, the EPON
System includes optical line terminal OLT and optical network unit ONU, based in multiple downstream wavelengths and one between the OLT and the ONU
Traveling wave length is communicated, and this method 200 can be executed by ONU, for example, this method 200 can be by NG-EPON ONU, 1G EPON
ONU or 10G EPON ONU are executed.
As shown in figure 5, this method 200 includes:
S210 receives the windowing message of OLT transmissions;
S220 sends the login request message for asking registration, the registration request according to the windowing message to the OLT
Message carries the wavelength information of the ONU, which includes that the ONU receives registration down going wave used by the windowing message
It is long;
S230 receives the registration message that the OLT is sent according to the login request message, which includes that the OLT is
The logical links label L LID of ONU distribution;
S240 is sent to the OLT for confirming the registration confirmation message for completing registration according to the registration message.
Specifically, in the EPON system using multiple downstream wavelengths and a upstream wavelength into row of channels, OLT is for example
Windowing message is sent to ONU by broadcast, for asking whether that the ONU being newly added is registered.If new be added
The ONU registered, then when the ONU receives the windowing message of OLT broadcast transmissions, so that it may to be disappeared according to the windowing
It ceases to the OLT broadcast transmission login request messages, which is used to ask to register to OLT, and the registration request
Message carries wavelength information, which can indicate that the ONU is received and register downstream wavelength used by the windowing message.
Can include the registration message of LLID to ONU transmissions after OLT receives the wavelength information of ONU transmissions;The ONU is received
After the registration message that OLT is issued, corresponding location registration process can be carried out, and registration confirmation message can be sent to OLT, for
Indicate that the ONU completes registration to OLT, thus in the EPON system, it can be into row data communication between the OLT and the ONU.
Therefore, the method for the Ethernet passive optical network devices in system registration of the embodiment of the present invention, by optical-fiber network
Instruction registration downstream wavelength in the login request message that unit is sent to optical line terminal so that the optical line terminal can determine
Downstream wavelength used by the optical network unit, to use that multiple downstream wavelengths and a upstream wavelength are communicated with
Facility registration can be realized in net passive optical network very much, it thus can be between the optical network unit and the optical line terminal
Row data communication.
In embodiments of the present invention, optionally, which further includes wavelength confirmation message, which uses
In instruction, the OLT confirms the wavelength information.
In embodiments of the present invention, optionally, the discovery information field of the login request message includes the wavelength information;Or it should
Login request message includes wavelength information domain, which includes the wavelength information.
In embodiments of the present invention, optionally, which further includes the downstream wavelength regulating power information of the ONU,
The downstream wavelength regulating power information includes at least one of following message:Downstream wavelength control interval, down going wave long number, can
The wavelength regulation range of tunable filter, the regulating time of each downstream wavelength control interval and downstream wavelength governing speed.
In embodiments of the present invention, optionally, which further includes the upstream wavelength and/or upstream wavelength of the ONU
Regulating power information, which includes at least one of following message:Upstream wavelength control interval,
Upgoing wave long number, upstream wavelength adjustable range, the regulating time of each upstream wavelength control interval and upstream wavelength governing speed.
It should be understood that in embodiments of the present invention, which is, for example, the GATE message based on MPCP;The registration request
Message is, for example, the REGISTER_REQ message based on MPCP;The registration message is, for example, the REGISTER message based on MPCP;
The registration confirmation message is, for example, the REGISTER_ACK message based on MPCP.Above combine Fig. 2 to Fig. 4 to above-mentioned message
It is described in detail, for sake of simplicity, details are not described herein.
It should also be understood that in various embodiments of the present invention, size of the sequence numbers of the above procedures is not meant to execute
The execution sequence of the priority of sequence, each process should be determined by its function and internal logic, the reality without coping with the embodiment of the present invention
It applies process and constitutes any restriction.
Therefore, the method for the Ethernet passive optical network devices in system registration of the embodiment of the present invention, by optical-fiber network
Instruction registration downstream wavelength in the login request message that unit is sent to optical line terminal so that the optical line terminal can determine
Downstream wavelength used by the optical network unit, to use that multiple downstream wavelengths and a upstream wavelength are communicated with
Facility registration can be realized in net passive optical network very much, it thus can be between the optical network unit and the optical line terminal
Row data communication.
Below in conjunction with Fig. 6, the method for facility registration in EPON system provided in an embodiment of the present invention is retouched in detail
It states.
As shown in fig. 6, in S310, OLT is to ONU broadcast transmission GATA message, for ask whether newly to be added
ONU is registered.The GATA message for example may include:Source address (SA), destination address (DA) authorize (Grant) letter
Breath, (Sync Time) information synchronization time and discovery information (Discovery Information).
In S320, ONU is used for OLT broadcast transmission REGISTER_REQ message, the REGISTER_REQ message to OLT
Request registration, and the REGISTER_REQ message carries wavelength information.The REGISTER_REQ message for example may include:Source
Address (SA), destination address (DA) wait for mandate (Pending Grants) information, find information (Discovery
Information), laser opening time (Laser On Time) information, laser shutdown time (Laser Off Time) information
With wavelength information (Wavelength Information).
In S330, OLT to ONU broadcast transmission REGISTER message, the REGISTER message include wavelength confirmation message,
The wavelength confirmation message is used to indicate the OLT and confirms the wavelength information.The REGISTER message for example may include:Source address
(SA), destination address (DA), LLID, synchronization time (Sync Time) information, confirmation (the Echo of Pending for waiting for mandate
Grants) information, target laser opening time (Target Laser On Time) information, target laser shut-in time
(Target Laser Off Time) information and wavelength confirmation message (Echo of Wavelength Information).
In S340, OLT sends GATA message to ONU unicasts, to be authorized to ONU.The GATA message for example can be with
Including:Source address (SA), destination address (DA) and mandate (Grant).
In S350, ONU sends REGISTER_ACK message to OLT unicasts, which is used for OLT
Registration is completed in instruction ONU.The REGISTER_ACK message for example may include:Source address (SA), synchronizes destination address (DA)
Time confirms that (Echo of Sync Time) information and LLID confirm (Echo of LLID) information.
It should be understood that in various embodiments of the present invention, size of the sequence numbers of the above procedures is not meant to execute suitable
The execution sequence of the priority of sequence, each process should be determined by its function and internal logic, the implementation without coping with the embodiment of the present invention
Process constitutes any restriction.
Therefore, the method for the Ethernet passive optical network devices in system registration of the embodiment of the present invention, by optical-fiber network
Instruction registration downstream wavelength in the login request message that unit is sent to optical line terminal so that the optical line terminal can determine
Downstream wavelength used by the optical network unit, to use that multiple downstream wavelengths and a upstream wavelength are communicated with
Facility registration can be realized in net passive optical network very much, it thus can be between the optical network unit and the optical line terminal
Row data communication.
Above in conjunction with Fig. 2 to Fig. 6, the side of facility registration in EPON system provided in an embodiment of the present invention is described in detail
Method, below in conjunction with Fig. 7 to Figure 15, the method that EPON system medium wavelength switching provided in an embodiment of the present invention is described in detail.
Fig. 7 shows the schematic flow chart of the method 500 of EPON system medium wavelength switching provided in an embodiment of the present invention,
This method 500 can be executed by OLT, for example, this method 500 is executed by NG-EPON OLT.As shown in fig. 7, this method 500 is wrapped
It includes:
S510 sends wavelength switching request message, wavelength switching on the downstream wavelength channel of source to optical network unit ONU
Request message is used to indicate the ONU and switches to target downlink wavelength, and the wavelength handoff request message includes and is used to indicate this
The target wavelength information of target downlink wavelength, and it is used to indicate the switching time information of the beginning and ending time of downstream wavelength switching;
S520 receives the wavelength that the ONU is sent according to the wavelength switching request message on fixed upstream wavelength channel
Switch acknowledgment message, the wavelength switch acknowledgment message are used to indicate the ONU and determine that executing the downstream wavelength switches;
S530, within the beginning and ending time, only to this on target downlink wavelength channel corresponding with the target downlink wavelength
ONU sends wavelength handover grant message, and the wavelength handover grant message is for authorizing the ONU;
S540, when successful switch is to the target downlink wavelength within the beginning and ending time by the ONU, in the upstream wavelength channel
The wavelength handoff completion message that upper reception ONU is sent according to the wavelength handover grant message, the wavelength handoff completion message are used
In indicate the ONU within the beginning and ending time successful switch to the target downlink wavelength.
Therefore, the method for the Ethernet passive optical network system medium wavelength switching of the embodiment of the present invention, passes through optical link end
It holds to optical network unit and indicates target wavelength information and switching time information, and in the downstream wavelength of optical line terminal instruction
Switch in the beginning and ending time, wavelength is sent to optical network unit only on target downlink wavelength channel corresponding with target downlink wavelength
Handover grant message so that the optical network unit can carry out downstream wavelength switching within the switching beginning and ending time, and can keep away
Exempt from optical line terminal and mandate is synchronized to optical network unit on multiple downstream wavelength channels, thus, it is possible to simplify downstream wavelength
Switching flow reduces switching error probability, and can improve the portfolio of system.
Specifically, in S510, OLT sends wavelength switching request message, the wave on the downstream wavelength channel of source to ONU
Long switching request message is used to indicate the ONU and switches to target downlink wavelength, and includes target wavelength information and switching time letter
Breath.
In embodiments of the present invention, initial time of the switching time information for example including downstream wavelength switching and when cut-off
Between;In another example the switching time information includes the initial time and switching duration of downstream wavelength switching;For another example when the switching
Between information include downstream wavelength switching switching duration and deadline;For another example when the switching time information includes the starting
Between, the switching duration and the deadline, but the present invention is not limited thereto.
In embodiments of the present invention, optionally, which is Multi-point Control Protocol MPCP message or fortune
Seek management service OAM message.Below in conjunction with Fig. 8 A and Fig. 9 A, above-mentioned wavelength switching request message is described respectively.
Fig. 8 A show the schematic diagram of the adjusting control message provided in an embodiment of the present invention based on MPCP agreements,
Wherein, the structure of adjusting control message shown in Fig. 8 A may be used in the wavelength switching request message of the embodiment of the present invention.
Specifically, as shown in Figure 8 A, MPCP operation codes (Opcode) 0001 indicate media access control (Media
Access Control, referred to as " MAC ") for function to suspend (PAUSE), i.e., the message that operation code is 0001 is pause
(PAUSE) message;Similarly, the message that operation code is 0002 is windowing (GATE) message;The message that operation code is 0003 is report
Accuse (REPORT) message;The message that operation code is 0004 is registration request (REGISTER_REQ) message;Operation code is 0005
Message is registration (REGISTER) message;The message that operation code is 0006 is accreditation verification (REGISTER_ACK) message;Operation
Code is adjusting control provided in an embodiment of the present invention (TUNING_CONTROL) message, the TUNING_ for 0007 message
CONTROL message can be used for OLT and send the relevant control instruction of downstream wavelength switching to ONU;The message that operation code is 0008
For governing response provided in an embodiment of the present invention (TUNING_RESPONSE) message, which can use
Switch relevant response message to OLT feeding back downlink wavelength in ONU.
Wherein, which may include:Destination address (the Destination of 6 bytes
Address, referred to as " DA ") domain, domain source address (Source Address, referred to as " SA ") of 6 bytes, 2 bytes
Length (the Length)/domain type (Type), domain operation code (Opcode) of 2 bytes, 4 bytes timestamp
(Timestamp) domain, domain mark (Flags) of 1 byte, 2 bytes target wavelength information (Target Wavelength
Information) domain (Start Time) at the beginning of domain, 1 byte, domain time-out (Timeouts) of 1 byte, 1
Domain mandate (Grants) of byte, 32 bytes the filling domain (Pad) and 4 bytes Frame Check Sequence (Frame Check
Sequence, referred to as " FCS ") domain.
In embodiments of the present invention, domain mark (Flags) of 1 byte for example may include four kinds of states, for example, should
When Flags is " 00 ", it can indicate that OLT indicates that registered ONU carries out downstream wavelength switching;In another example the Flags is " 01 "
When, it can indicate that OLT instructions are ready for the ONU revocation downstream wavelength switchings of wavelength switching;For another example the Flags is " 10 "
When, it can indicate that OLT confirms that the ONU downstream wavelengths switch successfully;For another example when the Flags is " 11 ", it can indicate that OLT is true
It is failed to recognize ONU downstream wavelengths switching, but the present invention is not limited thereto.
That is Fig. 8 A show the wavelength switching request message based on MPCP agreements, are described below shown in Fig. 9 A and are based on
The wavelength switching request message of OAM agreements.
Fig. 9 A show the schematic diagram of the adjusting control message provided in an embodiment of the present invention based on OAM agreements,
Wherein, the structure of adjusting control message shown in Fig. 9 A may be used in the wavelength switching request message of the embodiment of the present invention.
As shown in Figure 9 A, OAM message for example may include the destination address (Destination Address) of 6 bytes
Domain, domain source address (Source Address) of 6 bytes, length (Length)/domain type (Type) of 2 bytes, 2 words
Domain subtype (Subtype) of section, domain mark (Flags) of 1 byte, domain code (Code) of 2 bytes, 2 bytes
Fill the domain Frame Check Sequence (Frame Check Sequence) in the domain (Pad) and 4 bytes.
In domain code (Code) of 2 bytes, code " 00 " can for example indicate that the OAM message is information
(Information) message;Code " 00 " can for example indicate that the OAM message is information (Information) message;Code
" 01 " can for example indicate that the OAM message is that event notifies (Event Notification) message;Code " 02 " for example can be with
Indicate that the OAM message is variable request (Variable Request) message;Code " 03 " can for example indicate that the OAM message is
Variable response (Variable Response) message;Code " 04 " can for example indicate that the OAM message controls for loopback
(Loopback Control) message;Code " 05 " can for example indicate that the OAM message is adjusting provided in an embodiment of the present invention
Control (Tuning Control) message;Code " 06 " can for example indicate that the OAM message is tune provided in an embodiment of the present invention
Section response (Tuning Response) message;Code " FE " can for example indicate that the OAM message is specific tissue
(Organization Specific) message.
Wherein, the content of adjusting control (Tuning Control) message for example may include in following message at least
A kind of information:Flag information, target wavelength information, time started information, time-out information and authorization message.The mark (Flags)
Information for example may include four kinds of states, for example, when the Flags is " 00 ", can indicate that OLT indicates that registered ONU is carried out
Downstream wavelength switches;In another example when the Flags is " 01 ", it can indicate that OLT instructions are ready for the ONU revocations of wavelength switching
Downstream wavelength switches;For another example when the Flags is " 10 ", it can indicate that OLT confirms that the ONU downstream wavelengths switch successfully;Example again
Such as, when which is " 11 ", it can indicate that OLT confirms that ONU downstream wavelengths switching is failed, but the present invention is not limited thereto.
Therefore, in embodiments of the present invention, which is, for example, based on MPCP or OAM agreements
Flags is " 00 " adjusting control (Tuning Control) message.
In embodiments of the present invention, which can also include the label for being used to indicate type of message
And/or downstream wavelength regulating power information, wherein the downstream wavelength regulating power information includes at least one in following message
Kind:Downstream wavelength control interval, down going wave long number, the wavelength regulation range of tunable filter, each downstream wavelength control interval
Regulating time and downstream wavelength governing speed, but the present invention is not limited thereto.
In S520, on a fixed upstream wavelength channel, the wavelength switching confirmation for receiving ONU transmissions disappears OLT
Breath, the wavelength switch acknowledgment message are used to indicate the ONU and determine that executing the downstream wavelength switches.
In embodiments of the present invention, optionally, which is Multi-point Control Protocol MPCP message or fortune
Seek management service OAM message.Below in conjunction with Fig. 8 B and Fig. 9 B, above-mentioned wavelength switch acknowledgment message is described respectively.
As shown in Figure 8 B, the schematic of the governing response message provided in an embodiment of the present invention based on MPCP agreements is shown
The structure of governing response message shown in Fig. 8 B may be used in structure chart, the wavelength switch acknowledgment message of the embodiment of the present invention.
Wherein, operation code for example may include for 0008 governing response (TUNING_RESPONSE) message:6 bytes
The domain destination address (Destination Address), domains source address (Source Address) of 6 bytes, 2 bytes
Length (the Length)/domain type (Type), domain operation code (Opcode) of 2 bytes, 4 bytes timestamp
(Timestamp) domain, domain mark (Flags) of 1 byte, 2 bytes wavelength information confirm (Echoed Wavelength
Information the domain (Echoed Start Time)) is confirmed at the beginning of domain, 1 byte, the time-out of 1 byte confirms
The domain (Echoed Timeouts), 32 bytes the filling domain (Pad) and 4 bytes Frame Check Sequence (Frame Check
Sequence) domain.
In embodiments of the present invention, domain mark (Flags) of 1 byte for example may include four kinds of states, for example, should
When Flags is " 00 ", it can indicate that ONU is determined and execute downstream wavelength switching;In another example when the Flags is " 01 ", can indicate
ONU cannot execute downstream wavelength switching;For another example when the Flags is " 10 ", it can indicate that ONU feeding back downlink wavelength switches to
Work(;For another example when the Flags is " 11 ", it can indicate that ONU feedbacks do not complete downstream wavelength switching, and roll back to source downlink
Wavelength channel, but the present invention is not limited thereto.
Fig. 9 B show the schematic diagram of the governing response message provided in an embodiment of the present invention based on OAM agreements,
Wherein, the structure of governing response message shown in Fig. 9 B may be used in the wavelength switch acknowledgment message of the embodiment of the present invention.
As shown in Figure 9 B, code, which is the content of governing response (Tuning Response) message of " 06 ", can for example wrap
Include at least one of following message information:Flag information, target wavelength confirmation message, time started confirmation message and time-out are true
Recognize information.Wherein, which for example may include four kinds of states, for example, when the Flags is " 00 ", it can be with table
Show that ONU is determined and executes downstream wavelength switching;In another example when the Flags is " 01 ", it can indicate that ONU cannot execute downstream wavelength
Switching;For another example when the Flags is " 10 ", it can indicate that ONU feeding back downlink wavelength switches successfully information;For another example should
When Flags is " 11 ", it can indicate that ONU feeding back downlink wavelength switches failed information, and roll back to source downstream wavelength channel,
But the present invention is not limited thereto.
Therefore, in embodiments of the present invention, which is, for example, based on MPCP or OAM agreements
Flags is governing response (Tuning Response) message of " 00 ".
In embodiments of the present invention, which can also include at least one of following message:With
In the label of instruction message type, downstream wavelength regulating power confirmation message and switching time confirmation message, wherein the down going wave
Long regulating power confirmation message includes the confirmation at least one of following message information:Downstream wavelength control interval, downlink
Number of wavelengths, the wavelength regulation range of tunable filter, the regulating time of each downstream wavelength control interval and downstream wavelength are adjusted
Speed, but the present invention is not limited thereto.
In S530, within the beginning and ending time, OLT is only in target downlink wavelength channel corresponding with the target downlink wavelength
On to the ONU send wavelength handover grant message.
It should be understood that in embodiments of the present invention, within the beginning and ending time of downstream wavelength switching, OLT is only under target
It is authorized on traveling wave long-channel, without synchronizing mandate on multiple or all downstream wavelength channels, so as to
Switching efficiency is improved, reduces switching error probability, and the portfolio of system can be improved.
It should also be understood that in embodiments of the present invention, OLT can periodically send wavelength switching within the beginning and ending time and award
Weigh message.If within the beginning and ending time, OLT receives the wavelength handoff completion message of ONU transmissions, then illustrates that ONU is switched to
Work(, thus OLT need not send the wavelength handover grant message to ONU again.
I.e. in embodiments of the present invention, optionally, within the beginning and ending time and only the wave of ONU transmissions is received in OLT
Before long handoff completion message, OLT sends wavelength handover grant message only on the target downlink wavelength channel to the ONU.
In embodiments of the present invention, which may be the adjusting control based on MPCP or OAM agreements
(Tuning Control) message is made, as shown in Fig. 8 A and 9A, for sake of simplicity, details are not described herein.
In S540, when successful switch is to the target downlink wavelength within the beginning and ending time by the ONU, OLT is in the uplink
The wavelength handoff completion message that ONU transmissions are received on wavelength channel, to indicate that ONU successful switch within the beginning and ending time arrives
The target downlink wavelength.
I.e. within the beginning and ending time, if ONU successful switch is to target downlink wavelength, ONU energy within the beginning and ending time
Enough receive the wavelength handover grant message of OLT such as periodicity sendings, as a result, ONU can according to the wavelength handover grant message,
On the fixed upstream wavelength channel wavelength handoff completion message is sent to OLT.
In embodiments of the present invention, which may be that the adjusting based on MPCP or OAM agreements is rung
Answer (Tuning Response) message, wherein the Flags of the Tuning Response message can be " 10 ", and instruction ONU is anti-
It presents downstream wavelength to switch successfully, as shown in Fig. 8 B and 9B, for sake of simplicity, details are not described herein.
Therefore, the method for the Ethernet passive optical network system medium wavelength switching of the embodiment of the present invention, passes through optical link end
It holds to optical network unit and indicates target wavelength information and switching time information, and in the downstream wavelength of optical line terminal instruction
Switch in the beginning and ending time, wavelength is sent to optical network unit only on target downlink wavelength channel corresponding with target downlink wavelength
Handover grant message so that the optical network unit can carry out downstream wavelength switching within the switching beginning and ending time, and can keep away
Exempt from optical line terminal and mandate is synchronized to optical network unit on multiple downstream wavelength channels, thus, it is possible to simplify downstream wavelength
Switching flow reduces switching error probability, and can improve the portfolio of system.
In embodiments of the present invention, optionally, as shown in Figure 10, this method 500 further includes:
S550 sends wavelength switching according to the wavelength handoff completion message on the target downlink wavelength channel to the ONU
Success message, wavelength handover success message are used to indicate optical line terminal OLT and confirm that the ONU downstream wavelengths switch successfully.
I.e. in embodiments of the present invention, when OLT receives the wavelength handoff completion message of ONU transmissions, OLT can be at this
On target downlink wavelength channel, sends wavelength to the ONU and switch successfully message, for indicating that the OLT confirms the ONU down going waves
It is long to switch successfully.
In embodiments of the present invention, it may be the adjusting control based on MPCP or OAM agreements which, which switches successfully message,
Make (Tuning Control) message, wherein the Flags of the Tuning Control message can be " 10 ", indicate that OLT confirms
The ONU downstream wavelengths switch successfully, as shown in Fig. 8 A and 9A, for sake of simplicity, details are not described herein.
Above in conjunction with Fig. 7 to Figure 10, be described in detail ONU in EPON system downstream wavelength switch successfully the case where,
The downstream wavelength that ONU is described below in conjunction with Figure 11 switches failed situation.
As shown in figure 11, optionally, the method 500 of EPON system medium wavelength switching provided in an embodiment of the present invention is also wrapped
It includes:
S560, when being not received by the wavelength handoff completion message of ONU transmissions within the beginning and ending time, only at this
On the downstream wavelength channel of source the wavelength handover grant message is sent to the ONU;
S570 receives the ONU and is switched according to the wavelength that the wavelength handover grant message is sent on the upstream wavelength channel
Outstanding message, wavelength switching outstanding message are used to indicate the ONU and are switched to the target not successfully within the beginning and ending time
Downstream wavelength.
I.e. in embodiments of the present invention, the wavelength for being not received by ONU transmissions within the beginning and ending time as OLT has switched
When at message, OLT sends wavelength handover grant message only on the downstream wavelength channel of source to the ONU, so that downstream wavelength
Information can be received on the downstream wavelength channel of source by switching failed ONU, and thus ONU can switch according to the wavelength and authorize
Message sends wavelength switching outstanding message, to indicate the ONU in the start-stop on the fixed upstream wavelength channel to OLT
The target downlink wavelength is switched in time not successfully.
Thus, in embodiments of the present invention, even if only in source downstream wavelength if ONU downstream wavelengths switch failed OLT
ONU is authorized on channel so that ONU can roll back to source downstream wavelength channel, and thus, it is possible to simplify downstream wavelength switching
Flow reduces switching error probability, and can improve the portfolio of system.
In embodiments of the present invention, which may be the adjusting control based on MPCP or OAM agreements
(Tuning Control) message is made, as shown in Fig. 8 A and 9A, for sake of simplicity, details are not described herein.
In embodiments of the present invention, wavelength switching outstanding message may be the adjusting based on MPCP or OAM agreements
Respond (Tuning Response) message, wherein the Flags of the Tuning Response message can be " 11 ", indicate ONU
Feeding back downlink wavelength switches failed information, as shown in Fig. 8 B and 9B, for sake of simplicity, details are not described herein.
In embodiments of the present invention, optionally, as shown in figure 11, this method 500 further includes:
S580 switches outstanding message according to the wavelength and sends wavelength switching to the ONU on the source downstream wavelength channel
Failed message, the failed message of wavelength switching are used to indicate OLT and confirm that ONU downstream wavelengths switching is failed.
I.e. in embodiments of the present invention, when the wavelength that OLT receives ONU transmissions switches outstanding message, OLT can be
On the source downstream wavelength channel, sends wavelength to the ONU and switch failed message, for indicating that the OLT confirms the ONU downlinks
Wavelength switching is failed.
In embodiments of the present invention, it may be the adjusting based on MPCP or OAM agreements which, which switches failed message,
Control (Tuning Control) message, wherein the Flags of the Tuning Control message can be " 11 ", indicate that OLT is true
It is failed to recognize ONU downstream wavelengths switching, as shown in Fig. 8 A and 9A, for sake of simplicity, details are not described herein.
It should be understood that the embodiment of the present invention is only with the EPON systems with multiple downstream wavelength channels and a upstream wavelength channel
It is illustrated for system, but the present invention is not limited thereto, the method for wavelength switching provided in an embodiment of the present invention can also be applied
In the EPON system with multiple downstream wavelength channels and multiple upstream wavelength channels.
It should also be understood that in various embodiments of the present invention, size of the sequence numbers of the above procedures is not meant to execute
The execution sequence of the priority of sequence, each process should be determined by its function and internal logic, the reality without coping with the embodiment of the present invention
It applies process and constitutes any restriction.
Therefore, the method for the Ethernet passive optical network system medium wavelength switching of the embodiment of the present invention, passes through optical link end
It holds to optical network unit and indicates target wavelength information and switching time information, and in the downstream wavelength of optical line terminal instruction
Switch in the beginning and ending time, wavelength is sent to optical network unit only on target downlink wavelength channel corresponding with target downlink wavelength
Handover grant message so that the optical network unit can carry out downstream wavelength switching within the switching beginning and ending time, and can keep away
Exempt from optical line terminal and mandate is synchronized to optical network unit on multiple downstream wavelength channels, thus, it is possible to simplify downstream wavelength
Switching flow reduces switching error probability, and can improve the portfolio of system.
Above in conjunction with Fig. 7 to Figure 11, EPON system medium wavelength according to the ... of the embodiment of the present invention is described in detail from the sides OLT
EPON system according to the ... of the embodiment of the present invention is described in detail from the sides ONU below in conjunction with Figure 12 to Figure 14 in the method 500 of switching
The method 600 of medium wavelength switching.
As shown in figure 12, the method 600 of EPON system medium wavelength switching provided in an embodiment of the present invention includes:
S610 receives the wavelength switching request message that optical line terminal OLT is sent, the wavelength on the downstream wavelength channel of source
Switching request message is used to indicate optical network unit ONU and switches to target downlink wavelength, and the wavelength handoff request message
The target wavelength information for being used to indicate the target downlink wavelength is included, and is used to indicate cutting for the beginning and ending time that downstream wavelength switches
Change temporal information;
S620 sends wavelength switching according to the wavelength switching request message on fixed upstream wavelength channel to the OLT
Confirmation message, the wavelength switch acknowledgment message are used to indicate the ONU and determine that executing the downstream wavelength switches;
S630, when successful switch is to the target downlink wavelength within the beginning and ending time by the ONU, receive the OLT only with
The wavelength handover grant message sent on the corresponding target downlink wavelength channel of the target downlink wavelength, wavelength switching, which authorizes, to disappear
Breath is for authorizing the ONU;
S640 sends wavelength switching to the OLT according to the wavelength handover grant message and completes on the upstream wavelength channel
Message, the wavelength handoff completion message be used to indicate the ONU within the beginning and ending time successful switch to the target downlink wavelength.
Therefore, the method for the Ethernet passive optical network system medium wavelength switching of the embodiment of the present invention, passes through optical link end
It holds to optical network unit and indicates target wavelength information and switching time information, and in the downstream wavelength of optical line terminal instruction
Switch in the beginning and ending time, wavelength is sent to optical network unit only on target downlink wavelength channel corresponding with target downlink wavelength
Handover grant message so that the optical network unit can carry out downstream wavelength switching within the switching beginning and ending time, and can keep away
Exempt from optical line terminal and mandate is synchronized to optical network unit on multiple downstream wavelength channels, thus, it is possible to simplify downstream wavelength
Switching flow reduces switching error probability, and can improve the portfolio of system.
In embodiments of the present invention, optionally, this method 600 further includes:
S650 receives the wavelength that the OLT is sent according to the wavelength handoff completion message on the target downlink wavelength channel
Message is switched successfully, wavelength handover success message is used to indicate the OLT and confirms that the ONU downstream wavelengths switch successfully.
In embodiments of the present invention, optionally, this method 600 further includes:
S660 is super in the beginning and ending time when the ONU is switched to the target downlink wavelength not successfully within the beginning and ending time
Shi Hou receives the wavelength handover grant message that the OLT is only sent on the source downstream wavelength channel;
S670, it is not complete to OLT transmission wavelength switchings according to the wavelength handover grant message on the upstream wavelength channel
At message, wavelength switching outstanding message is used to indicate the ONU and is switched to the target downlink not successfully within the beginning and ending time
Wavelength.
In embodiments of the present invention, optionally, this method 600 further includes:
S680 receives the OLT and switches the wavelength that outstanding message is sent according to the wavelength on the source downstream wavelength channel
Switch failed message, the failed message of wavelength switching is used to indicate the OLT and confirms that ONU downstream wavelengths switching is failed.
In embodiments of the present invention, optionally, the wavelength switching request message, the wavelength switch acknowledgment message, the wavelength
At least one of handover grant message and the wavelength handoff completion message message are Multi-point Control Protocol MPCP message or operation
Management service OAM message.
In embodiments of the present invention, which is, for example, the adjusting control based on MPCP or OAM agreements
(Tuning Control) message, wherein the Flags of the Tuning Control message can be " 00 ", indicate OLT instructions
The ONU of registration carries out downstream wavelength switching, as shown in Fig. 8 A and 9A, for sake of simplicity, details are not described herein.
In embodiments of the present invention, which is, for example, the governing response based on MPCP or OAM agreements
(Tuning Response) message, wherein the Flags of the Tuning Response message can be " 00 ", indicate that ONU is determined
Downstream wavelength switching is executed, as shown in Fig. 8 B and 9B, for sake of simplicity, details are not described herein.
In embodiments of the present invention, which may be the adjusting control based on MPCP or OAM agreements
(Tuning Control) message is made, as shown in Fig. 8 A and 9A, for sake of simplicity, details are not described herein.
In embodiments of the present invention, which may be that the adjusting based on MPCP or OAM agreements is rung
Answer (Tuning Response) message, wherein the Flags of the Tuning Response message can be " 10 ", and instruction ONU is anti-
It presents downstream wavelength to switch successfully, as shown in Fig. 8 B and 9B, for sake of simplicity, details are not described herein.
It may be the adjusting control (Tuning Control) based on MPCP or OAM agreements that the wavelength, which switches successfully message,
Message, wherein the Flags of the Tuning Control message can be " 10 ", indicate that OLT confirms that the ONU downstream wavelengths switch
Success, as shown in Fig. 8 A and 9A, for sake of simplicity, details are not described herein.
It may be the governing response (Tuning based on MPCP or OAM agreements that the wavelength, which switches outstanding message,
Response) message, wherein the Flags of the Tuning Response message can be " 11 ", indicate ONU feeding back downlink wavelength
Switch failed information, as shown in Fig. 8 B and 9B, for sake of simplicity, details are not described herein.
It may be the adjusting control (Tuning based on MPCP or OAM agreements that the wavelength, which switches failed message,
Control) message, wherein the Flags of the Tuning Control message can be " 11 ", indicate that OLT confirms the ONU downlinks
Wavelength switching is failed, as shown in Fig. 8 A and 9A, for sake of simplicity, details are not described herein.
It should be understood that the embodiment of the present invention is only with the EPON systems with multiple downstream wavelength channels and a upstream wavelength channel
It is illustrated for system, but the present invention is not limited thereto, the method for wavelength switching provided in an embodiment of the present invention can also be applied
In the EPON system with multiple downstream wavelength channels and multiple upstream wavelength channels.
It should also be understood that in various embodiments of the present invention, size of the sequence numbers of the above procedures is not meant to execute
The execution sequence of the priority of sequence, each process should be determined by its function and internal logic, the reality without coping with the embodiment of the present invention
It applies process and constitutes any restriction.
Therefore, the method for the Ethernet passive optical network system medium wavelength switching of the embodiment of the present invention, passes through optical link end
It holds to optical network unit and indicates target wavelength information and switching time information, and in the downstream wavelength of optical line terminal instruction
Switch in the beginning and ending time, wavelength is sent to optical network unit only on target downlink wavelength channel corresponding with target downlink wavelength
Handover grant message so that the optical network unit can carry out downstream wavelength switching within the switching beginning and ending time, and can keep away
Exempt from optical line terminal and mandate is synchronized to optical network unit on multiple downstream wavelength channels, thus, it is possible to simplify downstream wavelength
Switching flow reduces switching error probability, and can improve the portfolio of system.
Below in conjunction with flow chart shown in figure 15, to the side of EPON system medium wavelength provided in an embodiment of the present invention switching
Method is described in detail.
As shown in figure 15, in S711, the sending port 1 of OLT sends wavelength switching on the downstream wavelength channel of source to ONU
Request message, the wavelength switching request message are used to indicate the ONU and switch to target downlink wavelength, and the wavelength switching request
Message includes target wavelength information and switching time information.
In S712, ONU sends wavelength switch acknowledgment message on fixed upstream wavelength channel, to OLT, for referring to
Show that the ONU is determined and executes downstream wavelength switching.
In S713, the sending port 2 of OLT is sent only on target downlink wavelength channel to ONU within the beginning and ending time
Wavelength handover grant message, to be authorized to the ONU.
Within the beginning and ending time, if ONU successful switch, to the target downlink wavelength, flow proceeds to S731 extremely
S734;If ONU does not have successful switch to the target downlink wavelength, flow proceeds to S751 to S753.
In S731, ONU receives on target downlink wavelength channel the wave of OLT transmissions within the beginning and ending time
Long handover grant message.
In S732, ONU sends wavelength handoff completion message on fixed upstream wavelength channel, to OLT, for referring to
Show the ONU within the beginning and ending time successful switch to the target downlink wavelength.
In S733, the sending port 2 of OLT sends wavelength handover success on the target downlink wavelength channel, to ONU and disappears
Breath confirms that the ONU downstream wavelengths switch successfully for guidance light road terminal OLT.
In S734, ONU successfully completes downstream wavelength switching, is communicated in target downlink Path Setup data with OLT, by
This, OLT can be on the fixed upstream wavelength channel to OLT to ONU transmission datas, ONU on target downlink channel
Transmission data.
In S751, OLT is not received by the wavelength handoff completion message of ONU transmissions within the beginning and ending time, then OLT
Sending port 1 authorizes to ONU transmission wavelength switchings only on the source downstream wavelength channel and disappears after the beginning and ending time time-out
Breath.
In S752, ONU on the fixed upstream wavelength channel, to OLT send wavelength switch outstanding message, with
In instruction, the ONU is switched to the target downlink wavelength not successfully within the beginning and ending time.
In S753, it is failed that the sending port 1 of OLT sends wavelength switching on the source downstream wavelength channel, to the ONU
Message confirms that ONU downstream wavelengths switching is failed for instruction OLT
It should also be understood that in various embodiments of the present invention, size of the sequence numbers of the above procedures is not meant to execute
The execution sequence of the priority of sequence, each process should be determined by its function and internal logic, the reality without coping with the embodiment of the present invention
It applies process and constitutes any restriction.
Therefore, the method for the Ethernet passive optical network system medium wavelength switching of the embodiment of the present invention, passes through optical link end
It holds to optical network unit and indicates target wavelength information and switching time information, and in the downstream wavelength of optical line terminal instruction
Switch in the beginning and ending time, wavelength is sent to optical network unit only on target downlink wavelength channel corresponding with target downlink wavelength
Handover grant message so that the optical network unit can carry out downstream wavelength switching within the switching beginning and ending time, and can keep away
Exempt from optical line terminal and mandate is synchronized to optical network unit on multiple downstream wavelength channels, thus, it is possible to simplify downstream wavelength
Switching flow reduces switching error probability, and can improve the portfolio of system.
Above in conjunction with Fig. 1 to Figure 15, be described in detail in EPON system provided in an embodiment of the present invention facility registration and
Optical line terminal and light according to the ... of the embodiment of the present invention is described in detail below in conjunction with Figure 16 to Figure 23 in the method for wavelength switching
Network element.
Figure 16 shows the schematic block diagram of the optical line terminal OLT 10 in EPON system provided in an embodiment of the present invention,
The EPON system further includes optical network unit ONU, and multiple downstream wavelengths and a upstream wavelength are based between the OLT and the ONU
It is communicated.As shown in figure 16, which includes:
Sending module 11, for sending windowing message to the ONU;
Receiving module 12, for receive the ONU according to the windowing message that the sending module 11 is sent being used for for sending
The login request message of registration, the login request message is asked to carry the wavelength information of the ONU, which includes the ONU
It receives and registers downstream wavelength used by the windowing message;
Wherein, which is additionally operable to:According to the login request message that the receiving module 12 receives, to the ONU
Registration message is sent, which includes the logical links label L LID that the OLT is ONU distribution;
The receiving module 12 is additionally operable to:Receive the use that the ONU is sent according to the registration message that the sending module 11 is sent
In the registration confirmation message for confirming completion registration.
Therefore, the optical line terminal in the Ethernet passive optical network system of the embodiment of the present invention, by optical-fiber network list
Instruction registration downstream wavelength in the login request message that member is sent to optical line terminal so that the optical line terminal can determine this
Downstream wavelength used by optical network unit, in the ether communicated using multiple downstream wavelengths and a upstream wavelength
Facility registration can be realized in net passive optical network, thus can be carried out between the optical network unit and the optical line terminal
Data communicate.
In embodiments of the present invention, optionally, the LLID which sends includes being used to indicate under the registration
The information of traveling wave length.
In embodiments of the present invention, optionally, the registration message which sends further includes wavelength confirmation letter
Breath, the wavelength confirmation message are used to indicate the OLT and confirm the wavelength information.
In embodiments of the present invention, optionally, the discovery information field for the login request message which receives
Including the wavelength information;Or the login request message that the receiving module 12 receives includes wavelength information domain, the wavelength information domain
Including the wavelength information.
In embodiments of the present invention, optionally, the wavelength information which receives further includes the downlink of the ONU
Wavelength regulation ability information, which includes at least one of following message:Downstream wavelength is adjusted
Interval, the wavelength regulation range of down going wave long number, tunable filter, each downstream wavelength control interval regulating time and downlink
Wavelength regulation speed.
It should be understood that in embodiments of the present invention, which is, for example, the GATE message based on MPCP;The registration request
Message is, for example, the REGISTER_REQ message based on MPCP;The registration message is, for example, the REGISTER message based on MPCP;
The registration confirmation message is, for example, the REGISTER_ACK message based on MPCP, for sake of simplicity, details are not described herein.
It should be understood that optical line terminal 10 according to the ... of the embodiment of the present invention can correspond to the OLT in the embodiment of the present invention, and
Above and other operation and/or function of modules in optical line terminal 10 is respectively in order to realize the method in Fig. 2 to Fig. 4
100 corresponding flow, for sake of simplicity, details are not described herein.
Therefore, the optical line terminal in the Ethernet passive optical network system of the embodiment of the present invention, by optical-fiber network list
Instruction registration downstream wavelength in the login request message that member is sent to optical line terminal so that the optical line terminal can determine this
Downstream wavelength used by optical network unit, in the ether communicated using multiple downstream wavelengths and a upstream wavelength
Facility registration can be realized in net passive optical network, thus can be carried out between the optical network unit and the optical line terminal
Data communicate.
Figure 17 shows the schematic block diagram of the optical network unit ONU 20 in EPON system provided in an embodiment of the present invention,
The EPON system further includes optical line terminal OLT, and multiple downstream wavelengths and a upstream wavelength are based between the OLT and the ONU
It is communicated.As shown in figure 17, which includes:
Receiving module 21, the windowing message for receiving OLT transmissions;
Sending module 22, the windowing message for being received according to the receiving module 21 are sent to the OLT for asking note
The login request message of volume, the login request message carry the wavelength information of the ONU, which includes ONU receptions should
Downstream wavelength is registered used by the message that opens a window;
The receiving module 21 is additionally operable to:The OLT is received to be sent out according to the login request message that the sending module 22 is sent
The registration message sent, the registration message include the logical links label L LID that the OLT is ONU distribution;
The sending module 22 is additionally operable to:It is sent to the OLT for true according to the registration message that the receiving module 21 receives
Recognize the registration confirmation message for completing registration.
Therefore, the optical network unit in the Ethernet passive optical network system of the embodiment of the present invention, by optical-fiber network list
Instruction registration downstream wavelength in the login request message that member is sent to optical line terminal so that the optical line terminal can determine this
Downstream wavelength used by optical network unit, in the ether communicated using multiple downstream wavelengths and a upstream wavelength
Facility registration can be realized in net passive optical network, thus can be carried out between the optical network unit and the optical line terminal
Data communicate.
In embodiments of the present invention, optionally, the LLID which receives includes being used to indicate under the registration
The information of traveling wave length.
In embodiments of the present invention, optionally, the registration message which receives further includes wavelength confirmation letter
Breath, the wavelength confirmation message are used to indicate the OLT and confirm the wavelength information.
In embodiments of the present invention, optionally, the discovery information field for the login request message which sends
Including the wavelength information;Or the login request message that the sending module 22 is sent includes wavelength information domain, the wavelength information domain
Including the wavelength information.
In embodiments of the present invention, optionally, the wavelength information which sends further includes the downlink of the ONU
Wavelength regulation ability information, which includes at least one of following message:Downstream wavelength is adjusted
Interval, the wavelength regulation range of down going wave long number, tunable filter, each downstream wavelength control interval regulating time and downlink
Wavelength regulation speed.
It should be understood that in embodiments of the present invention, which is, for example, the GATE message based on MPCP;The registration request
Message is, for example, the REGISTER_REQ message based on MPCP;The registration message is, for example, the REGISTER message based on MPCP;
The registration confirmation message is, for example, the REGISTER_ACK message based on MPCP, for sake of simplicity, details are not described herein.
It should be understood that optical network unit 20 according to the ... of the embodiment of the present invention can correspond to the ONU in the embodiment of the present invention, and
Above and other operation and/or function of modules in optical network unit 20 is respectively in order to realize the method 200 in Fig. 5
Corresponding flow, for sake of simplicity, details are not described herein.
Therefore, the optical network unit in the Ethernet passive optical network system of the embodiment of the present invention, by optical-fiber network list
Instruction registration downstream wavelength in the login request message that member is sent to optical line terminal so that the optical line terminal can determine this
Downstream wavelength used by optical network unit, in the ether communicated using multiple downstream wavelengths and a upstream wavelength
Facility registration can be realized in net passive optical network, thus can be carried out between the optical network unit and the optical line terminal
Data communicate.
Above in conjunction with Figure 16 and Figure 17, it is described in detail in EPON system provided in an embodiment of the present invention and is noted for equipment
The optical line terminal and optical network unit of volume, below in conjunction with Figure 18 and Figure 19, detailed description is provided in an embodiment of the present invention
Optical line terminal and optical network unit in EPON system for wavelength switching.
Figure 18 shows the schematic block diagram of optical line terminal 30 provided in an embodiment of the present invention.As shown in figure 18, the OLT
30 include:
Sending module 31, for sending wavelength switching request message to optical network unit ONU on the downstream wavelength channel of source,
The wavelength switching request message is used to indicate the ONU and switches to target downlink wavelength, and the wavelength handoff request message includes
It is used to indicate the target wavelength information of the target downlink wavelength, and is used to indicate the switching of the beginning and ending time of downstream wavelength switching
Temporal information;
Receiving module 32, in fixed upstream wavelength channel, receiving what the ONU was sent according to the sending module 31
The wavelength switching request message and the wavelength switch acknowledgment message sent, it is true which is used to indicate the ONU
Surely downstream wavelength switching is executed;
Wherein, which is additionally operable to:Within the beginning and ending time, only in target corresponding with the target downlink wavelength
Wavelength handover grant message is sent to the ONU on downstream wavelength channel, the wavelength handover grant message is for awarding the ONU
Power;
The receiving module 32 is additionally operable to:When successful switch is to the target downlink wavelength within the beginning and ending time by the ONU,
The wavelength that the ONU is sent according to the wavelength handover grant message that the sending module 31 is sent is received on the upstream wavelength channel
Handoff completion message, the wavelength handoff completion message are used to indicate the ONU within the beginning and ending time under successful switch to the target
Traveling wave is long.
Therefore, the optical line terminal in the Ethernet passive optical network system of the embodiment of the present invention, passes through optical line terminal
Target wavelength information and switching time information are indicated to optical network unit, and are cut in the downstream wavelength of optical line terminal instruction
It changes in the beginning and ending time, sending wavelength to optical network unit only on target downlink wavelength channel corresponding with target downlink wavelength cuts
Change authorization messages so that the optical network unit can carry out downstream wavelength switching within the switching beginning and ending time, and can avoid
Optical line terminal synchronizes mandate on multiple downstream wavelength channels to optical network unit, and thus, it is possible to simplify downstream wavelength to cut
Change of current journey reduces switching error probability, and can improve the portfolio of system.
In embodiments of the present invention, optionally, which is additionally operable to:On the target downlink wavelength channel, root
Wavelength being sent to the ONU according to the wavelength handoff completion message and switching successfully message, which switches successfully message and be used to indicate light
Line terminal OLT confirms that the ONU downstream wavelengths switch successfully.
In embodiments of the present invention, optionally, which is additionally operable to:It is not received by when within the beginning and ending time
The ONU send the wavelength handoff completion message when, only on the source downstream wavelength channel to the ONU send the wavelength switching award
Weigh message;
The receiving module 32 is additionally operable to:On the upstream wavelength channel, the ONU is received according to the wavelength handover grant message
The wavelength of transmission switches outstanding message, wavelength switching outstanding message be used to indicate the ONU within the beginning and ending time not at
Work(is switched to the target downlink wavelength.
In embodiments of the present invention, optionally, which is additionally operable to:On the source downstream wavelength channel, according to
The wavelength switches outstanding message and sends the failed message of wavelength switching to the ONU, which switches failed message for referring to
Show that OLT confirms that ONU downstream wavelengths switching is failed.
In embodiments of the present invention, optionally, the wavelength switching request message, the wavelength switch acknowledgment message, the wavelength
At least one of handover grant message and the wavelength handoff completion message message are Multi-point Control Protocol MPCP message or operation
Management service OAM message.
In embodiments of the present invention, which is, for example, the adjusting control based on MPCP or OAM agreements
(Tuning Control) message, wherein the Flags of the Tuning Control message can be " 00 ", indicate OLT instructions
The ONU of registration carries out downstream wavelength switching, as shown in Fig. 8 A and 9A, for sake of simplicity, details are not described herein.
In embodiments of the present invention, which is, for example, the governing response based on MPCP or OAM agreements
(Tuning Response) message, wherein the Flags of the Tuning Response message can be " 00 ", indicate that ONU is determined
Downstream wavelength switching is executed, as shown in Fig. 8 B and 9B, for sake of simplicity, details are not described herein.
In embodiments of the present invention, which may be the adjusting control based on MPCP or OAM agreements
(Tuning Control) message is made, as shown in Fig. 8 A and 9A, for sake of simplicity, details are not described herein.
In embodiments of the present invention, which may be that the adjusting based on MPCP or OAM agreements is rung
Answer (Tuning Response) message, wherein the Flags of the Tuning Response message can be " 10 ", and instruction ONU is anti-
It presents downstream wavelength to switch successfully, as shown in Fig. 8 B and 9B, for sake of simplicity, details are not described herein.
It may be the adjusting control (Tuning Control) based on MPCP or OAM agreements that the wavelength, which switches successfully message,
Message, wherein the Flags of the Tuning Control message can be " 10 ", indicate that OLT confirms that the ONU downstream wavelengths switch
Success, as shown in Fig. 8 A and 9A, for sake of simplicity, details are not described herein.
It may be the governing response (Tuning based on MPCP or OAM agreements that the wavelength, which switches outstanding message,
Response) message, wherein the Flags of the Tuning Response message can be " 11 ", indicate ONU feeding back downlink wavelength
Switch failed information, as shown in Fig. 8 B and 9B, for sake of simplicity, details are not described herein.
It may be the adjusting control (Tuning based on MPCP or OAM agreements that the wavelength, which switches failed message,
Control) message, wherein the Flags of the Tuning Control message can be " 11 ", indicate that OLT confirms the ONU downlinks
Wavelength switching is failed, as shown in Fig. 8 A and 9A, for sake of simplicity, details are not described herein.
It should be understood that optical line terminal 30 according to the ... of the embodiment of the present invention can correspond to the OLT in the embodiment of the present invention, and
Above and other operation and/or function of modules in optical line terminal 30 is respectively in order to realize the side in Fig. 7 to Figure 11
The corresponding flow of method 500, for sake of simplicity, details are not described herein.
Therefore, the optical line terminal in the Ethernet passive optical network system of the embodiment of the present invention, passes through optical line terminal
Target wavelength information and switching time information are indicated to optical network unit, and are cut in the downstream wavelength of optical line terminal instruction
It changes in the beginning and ending time, sending wavelength to optical network unit only on target downlink wavelength channel corresponding with target downlink wavelength cuts
Change authorization messages so that the optical network unit can carry out downstream wavelength switching within the switching beginning and ending time, and can avoid
Optical line terminal synchronizes mandate on multiple downstream wavelength channels to optical network unit, and thus, it is possible to simplify downstream wavelength to cut
Change of current journey reduces switching error probability, and can improve the portfolio of system.
Figure 19 shows the schematic block diagram of optical network unit 40 provided in an embodiment of the present invention.As shown in figure 19, the ONU
40 include:
Receiving module 41, the wavelength switching request sent for receiving optical line terminal OLT on the downstream wavelength channel of source
Message, which is used to indicate optical network unit ONU and switches to target downlink wavelength, and the wavelength switches
Request message includes being used to indicate the target wavelength information of the target downlink wavelength, and be used to indicate rising for downstream wavelength switching
The only switching time information of time;
Sending module 42, in fixed upstream wavelength channel, the wavelength received according to the receiving module 41 to be cut
It changes request message and sends wavelength switch acknowledgment message to the OLT, which is used to indicate the ONU and determines execution
The downstream wavelength switches;
Wherein, which is additionally operable to:When the ONU within the beginning and ending time successful switch to the target downlink wavelength
When, it receives the wavelength switching mandate that the OLT is only sent on target downlink wavelength channel corresponding with the target downlink wavelength and disappears
Breath, the wavelength handover grant message is for authorizing the ONU;
The sending module 42 is additionally operable to:On the upstream wavelength channel, the wavelength received according to the receiving module 41 is cut
It changes authorization messages and sends wavelength handoff completion message to the OLT, which is used to indicate the ONU in the start-stop
Successful switch is to the target downlink wavelength in time.
Therefore, the optical network unit in the Ethernet passive optical network system of the embodiment of the present invention, passes through optical line terminal
Target wavelength information and switching time information are indicated to optical network unit, and are cut in the downstream wavelength of optical line terminal instruction
It changes in the beginning and ending time, sending wavelength to optical network unit only on target downlink wavelength channel corresponding with target downlink wavelength cuts
Change authorization messages so that the optical network unit can carry out downstream wavelength switching within the switching beginning and ending time, and can avoid
Optical line terminal synchronizes mandate on multiple downstream wavelength channels to optical network unit, and thus, it is possible to simplify downstream wavelength to cut
Change of current journey reduces switching error probability, and can improve the portfolio of system.
In embodiments of the present invention, optionally, which is additionally operable to:On the target downlink wavelength channel, connect
It receives the OLT and message is switched successfully according to the wavelength that the wavelength handoff completion message is sent, which switches successfully message for referring to
Show that the OLT confirms that the ONU downstream wavelengths switch successfully.
In embodiments of the present invention, optionally, which is additionally operable to:When the ONU within the beginning and ending time not at
When work(is switched to the target downlink wavelength, after the beginning and ending time time-out, receives the OLT and only sent out on the source downstream wavelength channel
The wavelength handover grant message sent;
The sending module 42 is additionally operable to:On the upstream wavelength channel, sent out to the OLT according to the wavelength handover grant message
Wavelength is sent to switch outstanding message, wavelength switching outstanding message is used to indicate the ONU and is cut not successfully within the beginning and ending time
Change to the target downlink wavelength.
In embodiments of the present invention, optionally, which is additionally operable to:On the source downstream wavelength channel, receive
The OLT switches the wavelength that outstanding message is sent according to the wavelength and switches failed message, which switches failed message and use
In instruction, the OLT confirms that ONU downstream wavelengths switching is failed.
In embodiments of the present invention, optionally, the wavelength switching request message, the wavelength switch acknowledgment message, the wavelength
At least one of handover grant message and the wavelength handoff completion message message are Multi-point Control Protocol MPCP message or operation
Management service OAM message.
In embodiments of the present invention, which is, for example, the adjusting control based on MPCP or OAM agreements
(Tuning Control) message, wherein the Flags of the Tuning Control message can be " 00 ", indicate OLT instructions
The ONU of registration carries out downstream wavelength switching, as shown in Fig. 8 A and 9A, for sake of simplicity, details are not described herein.
In embodiments of the present invention, which is, for example, the governing response based on MPCP or OAM agreements
(Tuning Response) message, wherein the Flags of the Tuning Response message can be " 00 ", indicate that ONU is determined
Downstream wavelength switching is executed, as shown in Fig. 8 B and 9B, for sake of simplicity, details are not described herein.
In embodiments of the present invention, which may be the adjusting control based on MPCP or OAM agreements
(Tuning Control) message is made, as shown in Fig. 8 A and 9A, for sake of simplicity, details are not described herein.
In embodiments of the present invention, which may be that the adjusting based on MPCP or OAM agreements is rung
Answer (Tuning Response) message, wherein the Flags of the Tuning Response message can be " 10 ", and instruction ONU is anti-
It presents downstream wavelength to switch successfully, as shown in Fig. 8 B and 9B, for sake of simplicity, details are not described herein.
It may be the adjusting control (Tuning Control) based on MPCP or OAM agreements that the wavelength, which switches successfully message,
Message, wherein the Flags of the Tuning Control message can be " 10 ", indicate that OLT confirms that the ONU downstream wavelengths switch
Success, as shown in Fig. 8 A and 9A, for sake of simplicity, details are not described herein.
It may be the governing response (Tuning based on MPCP or OAM agreements that the wavelength, which switches outstanding message,
Response) message, wherein the Flags of the Tuning Response message can be " 11 ", indicate ONU feeding back downlink wavelength
Switch failed information, as shown in Fig. 8 B and 9B, for sake of simplicity, details are not described herein.
It may be the adjusting control (Tuning based on MPCP or OAM agreements that the wavelength, which switches failed message,
Control) message, wherein the Flags of the Tuning Control message can be " 11 ", indicate that OLT confirms the ONU downlinks
Wavelength switching is failed, as shown in Fig. 8 A and 9A, for sake of simplicity, details are not described herein.
It should be understood that optical network unit 40 according to the ... of the embodiment of the present invention can correspond to the ONU in the embodiment of the present invention, and
Above and other operation and/or function of modules in optical network unit 40 is respectively in order to realize the side in Figure 12 to Figure 14
The corresponding flow of method 600, for sake of simplicity, details are not described herein.
Therefore, the optical network unit in the Ethernet passive optical network system of the embodiment of the present invention, passes through optical line terminal
Target wavelength information and switching time information are indicated to optical network unit, and are cut in the downstream wavelength of optical line terminal instruction
It changes in the beginning and ending time, sending wavelength to optical network unit only on target downlink wavelength channel corresponding with target downlink wavelength cuts
Change authorization messages so that the optical network unit can carry out downstream wavelength switching within the switching beginning and ending time, and can avoid
Optical line terminal synchronizes mandate on multiple downstream wavelength channels to optical network unit, and thus, it is possible to simplify downstream wavelength to cut
Change of current journey reduces switching error probability, and can improve the portfolio of system.
As shown in figure 20, the embodiment of the present invention additionally provides the optical line terminal OLT 60 in a kind of EPON system, should
EPON system further includes optical network unit ONU, between the OLT and the ONU based on multiple downstream wavelengths and a upstream wavelength into
Row communication, the optical line terminal 60 include processor 61, memory 62, bus system 63, receiver 64 and transmitter 65.Its
In, processor 61, memory 62, receiver 64 and transmitter 65 are connected by bus system 63, and the memory 62 is for storing
Instruction, the processor 61 are used to execute the instruction of the memory 62 storage, receive signal to control and receive device 64, and control transmission
Device 65 sends signal;Wherein, which is used to send windowing message to the ONU;The receiver 64 is used for:Receive the ONU
The login request message for asking registration sent according to the windowing message, the login request message carry the wavelength of the ONU
Information, the wavelength information include that the ONU receives registration downstream wavelength used by the windowing message;Wherein, which goes back
For:Registration message is sent to the ONU according to the login request message, which includes that the OLT is patrolling for ONU distribution
Collect link indicia LLID;The receiver 64 is additionally operable to:It receives the ONU and completes registration for confirming according to what the registration message was sent
Registration confirmation message.
Therefore, the optical line terminal in the Ethernet passive optical network system of the embodiment of the present invention, by optical-fiber network list
Instruction registration downstream wavelength in the login request message that member is sent to optical line terminal so that the optical line terminal can determine this
Downstream wavelength used by optical network unit, in the ether communicated using multiple downstream wavelengths and a upstream wavelength
Facility registration can be realized in net passive optical network, thus can be carried out between the optical network unit and the optical line terminal
Data communicate.
It should be understood that in embodiments of the present invention, which can be central processing unit (Central
Processing Unit, referred to as " CPU "), which can also be other general processors, digital signal processor
(DSP), application-specific integrated circuit (ASIC), ready-made programmable gate array (FPGA) or other programmable logic device, discrete gate
Or transistor logic, discrete hardware components etc..General processor can be that microprocessor or the processor can also
It is any conventional processor etc..
The memory 62 may include read-only memory and random access memory, and provide instruction sum number to processor 61
According to.The a part of of memory 62 can also include nonvolatile RAM.It is set for example, memory 62 can also store
The information of standby type.
The bus system 63 can also include power bus, controlling bus and status signal in addition to including data/address bus
Bus etc..But for the sake of clear explanation, various buses are all designated as bus system 63 in figure.
During realization, each step of the above method can by the integrated logic circuit of the hardware in processor 61 or
The instruction of person's software form is completed.The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly in hardware handles
Device executes completion, or in processor hardware and software module combination execute completion.Software module can be located at deposits at random
Reservoir, flash memory, read-only memory, this fields such as programmable read only memory or electrically erasable programmable memory, register
In ripe storage medium.The storage medium is located at memory 62, and processor 61 reads the information in memory 62, hard in conjunction with it
Part completes the step of above method.To avoid repeating, it is not detailed herein.
Optionally, as one embodiment, which includes the information for being used to indicate the registration downstream wavelength.
Optionally, as one embodiment, which further includes wavelength confirmation message, which is used for
Indicate that the OLT confirms the wavelength information.
Optionally, as one embodiment, the discovery information field of the login request message includes the wavelength information;Or the note
Volume request message includes wavelength information domain, which includes the wavelength information.
Optionally, as one embodiment, which further includes the downstream wavelength regulating power information of the ONU, should
Downstream wavelength regulating power information includes at least one of following message:It is downstream wavelength control interval, down going wave long number, adjustable
The wavelength regulation range of filter, the regulating time of each downstream wavelength control interval and downstream wavelength governing speed.
It should be understood that in embodiments of the present invention, which is, for example, the GATE message based on MPCP;The registration request
Message is, for example, the REGISTER_REQ message based on MPCP;The registration message is, for example, the REGISTER message based on MPCP;
The registration confirmation message is, for example, the REGISTER_ACK message based on MPCP, for sake of simplicity, details are not described herein.
It should be understood that optical line terminal 60 according to the ... of the embodiment of the present invention can correspond to the OLT in the embodiment of the present invention, and can
To correspond to optical line terminal 10 provided in an embodiment of the present invention, and the modules in optical line terminal 60 above-mentioned and its
Its operation and/or function is respectively in order to realize the corresponding flow of the method 100 in Fig. 2 to Fig. 4, for sake of simplicity, no longer superfluous herein
It states.
Therefore, the optical line terminal in the Ethernet passive optical network system of the embodiment of the present invention, by optical-fiber network list
Instruction registration downstream wavelength in the login request message that member is sent to optical line terminal so that the optical line terminal can determine this
Downstream wavelength used by optical network unit, in the ether communicated using multiple downstream wavelengths and a upstream wavelength
Facility registration can be realized in net passive optical network, thus can be carried out between the optical network unit and the optical line terminal
Data communicate.
As shown in figure 21, the embodiment of the present invention additionally provides the optical network unit ONU 70 in a kind of EPON system, should
EPON system further includes optical line terminal OLT, between the OLT and the ONU based on multiple downstream wavelengths and a upstream wavelength into
Row communication, the optical network unit 70 include processor 71, memory 72, bus system 73, receiver 74 and transmitter 75.Its
In, processor 71, memory 72, receiver 74 and transmitter 75 are connected by bus system 73, and the memory 72 is for storing
Instruction, the processor 71 are used to execute the instruction of the memory 72 storage, receive signal to control and receive device 74, and control transmission
Device 75 sends signal;Wherein, which is used to receive the windowing message of OLT transmissions;The transmitter 75 is used for:According to this
Open a window message, sends the login request message for asking registration to the OLT, which carries the wavelength of the ONU
Information, the wavelength information include that the ONU receives registration downstream wavelength used by the windowing message;Wherein, which goes back
For:The registration message that the OLT is sent according to the login request message is received, which includes that the OLT distributes for the ONU
Logical links label L LID;The transmitter 75 is additionally operable to:It is sent to the OLT according to the registration message and completes registration for confirming
Registration confirmation message.
Therefore, the optical network unit in the Ethernet passive optical network system of the embodiment of the present invention, by optical-fiber network list
Instruction registration downstream wavelength in the login request message that member is sent to optical line terminal so that the optical line terminal can determine this
Downstream wavelength used by optical network unit, in the ether communicated using multiple downstream wavelengths and a upstream wavelength
Facility registration can be realized in net passive optical network, thus can be carried out between the optical network unit and the optical line terminal
Data communicate.
Optionally, as one embodiment, which includes the information for being used to indicate the registration downstream wavelength.
Optionally, as one embodiment, which further includes wavelength confirmation message, which is used for
Indicate that the OLT confirms the wavelength information.
Optionally, as one embodiment, the discovery information field of the login request message includes the wavelength information;Or the note
Volume request message includes wavelength information domain, which includes the wavelength information.
Optionally, as one embodiment, which further includes the downstream wavelength regulating power information of the ONU, should
Downstream wavelength regulating power information includes at least one of following message:It is downstream wavelength control interval, down going wave long number, adjustable
The wavelength regulation range of filter, the regulating time of each downstream wavelength control interval and downstream wavelength governing speed.
It should be understood that in embodiments of the present invention, which is, for example, the GATE message based on MPCP;The registration request
Message is, for example, the REGISTER_REQ message based on MPCP;The registration message is, for example, the REGISTER message based on MPCP;
The registration confirmation message is, for example, the REGISTER_ACK message based on MPCP, for sake of simplicity, details are not described herein.
It should be understood that optical network unit 70 according to the ... of the embodiment of the present invention can correspond to the ONU in the embodiment of the present invention, and can
To correspond to optical network unit 20 provided in an embodiment of the present invention, and the modules in optical line terminal 70 above-mentioned and its
Its operation and/or function is respectively in order to realize the corresponding flow of the method 200 in Fig. 5, for sake of simplicity, details are not described herein.
Therefore, the optical network unit in the Ethernet passive optical network system of the embodiment of the present invention, by optical-fiber network list
Instruction registration downstream wavelength in the login request message that member is sent to optical line terminal so that the optical line terminal can determine this
Downstream wavelength used by optical network unit, in the ether communicated using multiple downstream wavelengths and a upstream wavelength
Facility registration can be realized in net passive optical network, thus can be carried out between the optical network unit and the optical line terminal
Data communicate.
As shown in figure 22, the embodiment of the present invention additionally provides the optical line terminal OLT 80 in a kind of EPON system, the light
Line terminal 80 includes processor 81, memory 82, bus system 83, receiver 84 and transmitter 85.Wherein, processor 81,
Memory 82, receiver 84 and transmitter 85 are connected by bus system 83, the memory 82 for storing instruction, the processor
81 instruction for executing the memory 82 storage receives signal to control and receive device 84, and controls transmitter 85 and send signal;
Wherein, which is used for:On the downstream wavelength channel of source wavelength switching request is sent to optical network unit ONU
Message, the wavelength switching request message are used to indicate the ONU and switch to target downlink wavelength, and the wavelength switching request message
Including being used to indicate the target wavelength information of the target downlink wavelength, and be used to indicate the beginning and ending time of downstream wavelength switching
Switching time information;
The receiver 84 is used for:On fixed upstream wavelength channel, the ONU is received according to the wavelength switching request message
The wavelength switch acknowledgment message of transmission, the wavelength switch acknowledgment message are used to indicate the ONU and determine that executing the downstream wavelength switches;
Wherein, which is additionally operable to:Within the beginning and ending time, only under target corresponding with the target downlink wavelength
Wavelength handover grant message is sent to the ONU on traveling wave long-channel, the wavelength handover grant message is for awarding the ONU
Power;
The receiver 84 is additionally operable to:When successful switch is to the target downlink wavelength within the beginning and ending time by the ONU, at this
The wavelength handoff completion message that the ONU is sent according to the wavelength handover grant message is received on upstream wavelength channel, which cuts
Change complete message be used to indicate the ONU within the beginning and ending time successful switch to the target downlink wavelength.
Therefore, the optical line terminal in the Ethernet passive optical network system of the embodiment of the present invention, passes through optical line terminal
Target wavelength information and switching time information are indicated to optical network unit, and are cut in the downstream wavelength of optical line terminal instruction
It changes in the beginning and ending time, sending wavelength to optical network unit only on target downlink wavelength channel corresponding with target downlink wavelength cuts
Change authorization messages so that the optical network unit can carry out downstream wavelength switching within the switching beginning and ending time, and can avoid
Optical line terminal synchronizes mandate on multiple downstream wavelength channels to optical network unit, and thus, it is possible to simplify downstream wavelength to cut
Change of current journey reduces switching error probability, and can improve the portfolio of system.
Optionally, as one embodiment, which is additionally operable to:On the target downlink wavelength channel, according to this
Wavelength handoff completion message sends wavelength to the ONU and switches successfully message, which switches successfully message and be used to indicate optical link
Terminal OLT confirms that the ONU downstream wavelengths switch successfully.
Optionally, as one embodiment, which is additionally operable to:When being not received by this within the beginning and ending time
When the wavelength handoff completion message that ONU is sent, wavelength switching mandate is sent to the ONU only on the source downstream wavelength channel
Message;
The receiver 84 is additionally operable to:On the upstream wavelength channel, receives the ONU and sent out according to the wavelength handover grant message
The wavelength switching outstanding message sent, it is failed within the beginning and ending time that wavelength switching outstanding message is used to indicate the ONU
It is switched to the target downlink wavelength.
Optionally, as one embodiment, which is additionally operable to:On the source downstream wavelength channel, according to the wave
Long switching outstanding message sends wavelength to the ONU and switches failed message, which switches failed message and be used to indicate OLT
Confirm that ONU downstream wavelengths switching is failed.
Optionally, as one embodiment, the wavelength switching request message, the wavelength switch acknowledgment message, the wavelength are cut
It is Multi-point Control Protocol MPCP message or operation pipe to change at least one of authorization messages and the wavelength handoff completion message message
Reason safeguards OAM message.
It should be understood that optical line terminal 80 according to the ... of the embodiment of the present invention can correspond to the OLT in the embodiment of the present invention, and can
To correspond to optical line terminal 30 provided in an embodiment of the present invention, and the modules in optical line terminal 80 above-mentioned and its
Its operation and/or function is respectively in order to realize the corresponding flow of the method 500 in Fig. 7 to Figure 11, for sake of simplicity, no longer superfluous herein
It states.
Therefore, the optical line terminal in the Ethernet passive optical network system of the embodiment of the present invention, passes through optical line terminal
Target wavelength information and switching time information are indicated to optical network unit, and are cut in the downstream wavelength of optical line terminal instruction
It changes in the beginning and ending time, sending wavelength to optical network unit only on target downlink wavelength channel corresponding with target downlink wavelength cuts
Change authorization messages so that the optical network unit can carry out downstream wavelength switching within the switching beginning and ending time, and can avoid
Optical line terminal synchronizes mandate on multiple downstream wavelength channels to optical network unit, and thus, it is possible to simplify downstream wavelength to cut
Change of current journey reduces switching error probability, and can improve the portfolio of system.
As shown in figure 23, the embodiment of the present invention additionally provides the optical network unit ONU 90 in a kind of EPON system, the light
Network element 90 includes processor 91, memory 92, bus system 93, receiver 94 and transmitter 95.Wherein, processor 91,
Memory 92, receiver 94 and transmitter 95 are connected by bus system 93, the memory 92 for storing instruction, the processor
91 instruction for executing the memory 92 storage receives signal to control and receive device 94, and controls transmitter 95 and send signal;
Wherein, which is used for:The wavelength switching that optical line terminal OLT is sent is received on the downstream wavelength channel of source
Request message, the wavelength switching request message are used to indicate optical network unit ONU and switch to target downlink wavelength, and the wavelength
Handoff request message includes the target wavelength information for being used to indicate the target downlink wavelength, and is used to indicate downstream wavelength switching
Beginning and ending time switching time information;
The transmitter 95 is used for:On fixed upstream wavelength channel, sent out to the OLT according to the wavelength switching request message
Wavelength switch acknowledgment message is sent, which is used to indicate the ONU and determines that executing the downstream wavelength switches;
Wherein, which is additionally operable to:When the ONU within the beginning and ending time successful switch to the target downlink wavelength
When, it receives the wavelength switching mandate that the OLT is only sent on target downlink wavelength channel corresponding with the target downlink wavelength and disappears
Breath, the wavelength handover grant message is for authorizing the ONU;
The transmitter 95 is additionally operable to:On the upstream wavelength channel, sent to the OLT according to the wavelength handover grant message
Wavelength handoff completion message, the wavelength handoff completion message be used to indicate the ONU within the beginning and ending time successful switch to the mesh
Mark downstream wavelength.
Therefore, the optical network unit in the Ethernet passive optical network system of the embodiment of the present invention, passes through optical line terminal
Target wavelength information and switching time information are indicated to optical network unit, and are cut in the downstream wavelength of optical line terminal instruction
It changes in the beginning and ending time, sending wavelength to optical network unit only on target downlink wavelength channel corresponding with target downlink wavelength cuts
Change authorization messages so that the optical network unit can carry out downstream wavelength switching within the switching beginning and ending time, and can avoid
Optical line terminal synchronizes mandate on multiple downstream wavelength channels to optical network unit, and thus, it is possible to simplify downstream wavelength to cut
Change of current journey reduces switching error probability, and can improve the portfolio of system.
Optionally, as one embodiment, which is additionally operable to:On the target downlink wavelength channel, receiving should
OLT switches successfully message according to the wavelength that the wavelength handoff completion message is sent, which switches successfully message and be used to indicate this
OLT confirms that the ONU downstream wavelengths switch successfully.
Optionally, as one embodiment, which is additionally operable to:When the ONU is cut not successfully within the beginning and ending time
When changing to the target downlink wavelength, after the beginning and ending time time-out, receive what the OLT was only sent on the source downstream wavelength channel
The wavelength handover grant message;
The transmitter 95 is additionally operable to:On the upstream wavelength channel, sent to the OLT according to the wavelength handover grant message
Wavelength switches outstanding message, and wavelength switching outstanding message is used to indicate the ONU and switches not successfully within the beginning and ending time
To the target downlink wavelength.
Optionally, as one embodiment, which is additionally operable to:On the source downstream wavelength channel, the OLT is received
Switch the wavelength that outstanding message is sent according to the wavelength and switch failed message, which switches failed message and be used to indicate
The OLT confirms that ONU downstream wavelengths switching is failed.
Optionally, as one embodiment, the wavelength switching request message, the wavelength switch acknowledgment message, the wavelength are cut
It is Multi-point Control Protocol MPCP message or operation pipe to change at least one of authorization messages and the wavelength handoff completion message message
Reason safeguards OAM message.
It should be understood that optical network unit 90 according to the ... of the embodiment of the present invention can correspond to the ONU in the embodiment of the present invention, and can
To correspond to optical network unit 40 provided in an embodiment of the present invention, and the modules in optical network unit 90 above-mentioned and its
Its operation and/or function is respectively in order to realize the corresponding flow of the method 600 in Figure 12 to Figure 14, for sake of simplicity, herein no longer
It repeats.
Therefore, the optical network unit in the Ethernet passive optical network system of the embodiment of the present invention, passes through optical line terminal
Target wavelength information and switching time information are indicated to optical network unit, and are cut in the downstream wavelength of optical line terminal instruction
It changes in the beginning and ending time, sending wavelength to optical network unit only on target downlink wavelength channel corresponding with target downlink wavelength cuts
Change authorization messages so that the optical network unit can carry out downstream wavelength switching within the switching beginning and ending time, and can avoid
Optical line terminal synchronizes mandate on multiple downstream wavelength channels to optical network unit, and thus, it is possible to simplify downstream wavelength to cut
Change of current journey reduces switching error probability, and can improve the portfolio of system.
In addition, the terms " system " and " network " are often used interchangeably herein.The terms " and/
Or ", only a kind of incidence relation of description affiliated partner, indicates may exist three kinds of relationships, for example, A and/or B, it can be with table
Show:Individualism A exists simultaneously A and B, these three situations of individualism B.In addition, character "/" herein, typicallys represent front and back
Affiliated partner is a kind of relationship of "or".
It should be understood that in embodiments of the present invention, " B corresponding with A " indicates that B is associated with A, and B can be determined according to A.But
It should also be understood that determining that B is not meant to determine B only according to A according to A, B can also be determined according to A and/or other information.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This
A little functions are implemented in hardware or software actually, depend on the specific application and design constraint of technical solution.Specially
Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not
It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, foregoing description is
The specific work process of system, device and unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component
It can be combined or can be integrated into another system, or some features can be ignored or not executed.In addition, shown or beg for
The mutual coupling, direct-coupling or communication connection of opinion can be the INDIRECT COUPLING by some interfaces, device or unit
Or communication connection, can also be electricity, mechanical or other form connections.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the embodiment of the present invention
Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, can also be during two or more units are integrated in one unit.It is above-mentioned integrated
The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention
Portion or part steps.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace
It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection domain subject to.