CN101741689B - Method and system for maintaining link as well as optical line terminal - Google Patents
Method and system for maintaining link as well as optical line terminal Download PDFInfo
- Publication number
- CN101741689B CN101741689B CN2008101727111A CN200810172711A CN101741689B CN 101741689 B CN101741689 B CN 101741689B CN 2008101727111 A CN2008101727111 A CN 2008101727111A CN 200810172711 A CN200810172711 A CN 200810172711A CN 101741689 B CN101741689 B CN 101741689B
- Authority
- CN
- China
- Prior art keywords
- variable
- flow
- onu
- olt
- predetermined
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/25—Arrangements specific to fibre transmission
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q11/0067—Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/07—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0079—Operation or maintenance aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0088—Signalling aspects
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a method and a system for maintaining link as well as an optical line terminal. The method comprises: an optical line terminal (OLT) determines a first flow rate and a second flow rate, wherein the first flow rate is a total uplink data flow rate of optical network unit (ONU) within a preset time segment, and the second flow rate is an uplink maintaining flow rate of the ONU within the preset time segment; the OLT adjusts a first variable according to the first flow rate and the second flow rate or only according to the first flow rate, and notifies the first variable to the ONU by a gating message such that the ONU adjusts the value of a second variable by utilizing the value of the first variable, wherein the first variable transmits the maximal time interval of the grating message to the ONU for the OLT, and the second variable transmits the maximal time interval of a report message to the OLT for the ONU; and the OLT carries out the link maintenance according to the adjusted first variable and the received report message from the ONU. The invention can efficiently reduce the band width occupied by the link maintaining message and improve the processing efficiency of the system.
Description
Technical field
The present invention relates to the communications field, particularly, relate to a kind of link maintenance method and system and optical line terminal.
Background technology
Ethernet passive optical network (Ethernet Passive Optical Network; Abbreviate EPON as) be based on the comprehensive access technology of new generation broadband passive light of IEEE802.3-2005 Section 5 standards; The EPON system is usually by optical line terminal (the Optical LineTerminal of office's side; Abbreviate OLT as), optical network unit (the Optical Network Unit of user side; Abbreviate ONU as)/ONT Optical Network Terminal (Optical Network Termination abbreviates ONT as) and Optical Distribution Network (Optical Distribution Network abbreviates ODN as) composition.ODN is made up of Passive Optical Components such as monomode fiber and optical branching device, optical connectors, for the physical connection between OLT and the ONU provides light-transmitting medium.The EPON system is generally and a little arrives multipoint configuration, and promptly an OLT connects a plurality of ONU.
Stipulated a cover link gross error support mechanism among IEEE802.3-2005 Section 5 Clause64.3, specifically rule is as follows:
1, constant mpcp_timeout has stipulated two Multi-point Control Protocols (Mulltiple PointControl Protocol; Abbreviate MPCP as) data cell (Data Unit; Abbreviate DU as) between pass mutually message maximum time at interval; If can not receive at least one frame data in the interbody spacer at this moment, system will produce a fatal error and nullify ONU, and the value of mpcp_timeout is 1 second;
2, constant gate_timeout has stipulated that OLT is the maximum time interval that same ONU sends gating message (GATE), and the value of gate_timeout is 50 milliseconds;
3, one of OLT function of sending GATE message to ONU is to distribute send window to ONU; Making ONU can carry out normal data sends; Fig. 1 shows the structure according to the gating message of the Multi-point Control Protocol of correlation technique, and this gating message can comprise following field: the zero-time of destination address, source address, length/type, command code, timestamp, authorized quantity, each mandate and length, lock in time, filling/reservation, frame check;
4, constant report_timeout has stipulated ONU to the maximum time interval that OLT sends report message (REPORT), and the value of report_timeout is 50 milliseconds;
5, one of ONU function of sending REPORT message to OLT is to keep the state of activation of ONU to the link of OLT;
6, be in " registered " (registed) ONU of state for each; If ONU is uploading in the process of data to OLT constantly; When ONU does not receive the GATE message of OLT transmission in the gate_timeout official hour; The GATE message that OLT sends a sky to ONU to keep the send window that distributes to ONU, makes ONU can continue to upload data;
7, be in " registered " (registed) ONU of state for each; If OLT is in the send window that distributes to ONU; In the report_timeout official hour, do not receive the REPORT message that ONU sends; Then ONU is to the REPORT message of a sky of OLT transmission, in order to keep the state of activation of ONU to the link of OLT;
8, be in " registered " (registed) ONU of state for each; If in the mpcp_timeout official hour; ONU does not receive the GATE message that OLT sends; Then system thinks link gross error has taken place, and ONU is moved to " house dog is overtime " state, again to initiating registration process;
9, be in " registered " (registed) ONU of state for each; If in the mpcp_timeout official hour; OLT does not receive the REPORT message that ONU sends; Then system thinks link gross error has taken place, and OLT is innerly moved to " going registration " (deregistered) state with the corresponding state machine of this ONU with own, and ONU initiates registration process again then.
Can find out that by above-mentioned rule for the ONU that is in " registered " state, the maximum time of carrying out the normal message intercommunication between OLT and this ONU is 50 milliseconds at interval.But; Very low even be under 0 the situation at the regular traffic flow rate that transmits between OLT and the ONU; The flow that is used for the message (being empty GATE message and empty REPORT message) of link maintenance will be very big, so too much occupied bandwidth, reduction system handles efficient.At present, to too much the occupied bandwidth and reduce the problem of system handles efficient of link maintaining message, effective solution is not proposed as yet.
Summary of the invention
Big and the too much occupied bandwidth that causes of the flow of considering the message that under the low situation of the data traffic between OLT and the ONU, is used for link maintenance in the correlation technique, reduce the problem of system handles efficient and make the present invention; For this reason; Main purpose of the present invention is to provide a kind of link maintenance method and system and optical line terminal, to solve the problems referred to above in the correlation technique.
According to an aspect of the present invention, a kind of link maintenance method is provided, has been used for carrying out link maintenance at the Ethernet passive optical network that comprises optical line terminal OLT and optical network unit ONU.
Link maintenance method according to the present invention comprises: OLT confirms the first flow and second flow, wherein, first flow be ONU at the fixed time the section in up total data flow, second flow be ONU at the fixed time the section in a up link keep flow; OLT is according to the first flow and second flow or only adjust first variable according to first flow; And first variable is notified to ONU through gating message; Utilize the value of first variable to adjust the value of second variable for ONU; Wherein, first variable is the maximum time interval of OLT to ONU transmission gating message, and second variable is ONU sends maximum time interval from report message to OLT; OLT carries out link maintenance according to first variable of adjustment and the report message from ONU that receives.
Preferably, after ONU received first variable from OLT, this method further comprised: ONU adjusts second variable according to first variable; ONU sends report message according to second variable of adjustment to OLT.
Preferably, before OLT confirmed the first flow and second flow, this method also comprised: OLT receives the registration reply message from ONU, and wherein, registration reply message carries the sign whether indication OLT adjusts first variable.
Preferably; The processing that OLT adjusts first variable according to the relation between the first flow and second flow specifically comprises: when satisfying first condition, with first variable be adjusted into first variable and predetermined increment with, wherein; First condition is: (b1-b2)≤and b2/2, and α 1+ β≤γ 1 sets up; When satisfying second condition, first variable is adjusted into the poor of first variable and predetermined increment, wherein, second condition is: (b1-b2)>=b2*2, and α 1-β>=γ 2 sets up; When simultaneously not satisfying first condition and second condition, the value of first variable is remained unchanged; Wherein, b1 is a first flow, and b2 is second flow, and α 1 is first variable, and β is predetermined first threshold for predetermined increment, γ 1, and γ 2 is the second predetermined threshold value.
Preferably, OLT only specifically comprises according to the processing that first flow is adjusted first variable: utilize formula
Confirm first variable, and, as α 1>When γ 1 sets up, the value of first variable is adjusted into predetermined first threshold, as α 1<when γ 2 sets up, the value of first variable is adjusted into the second predetermined threshold value, wherein, α 1 is first variable, and b1 is a first flow, and γ 1 is predetermined first threshold, and γ 2 is the second predetermined threshold value.
Preferably, this method also comprises: predetermined increment is 50 milliseconds, and predetermined first threshold is 900 milliseconds, and the second predetermined threshold value is 50 milliseconds.
Preferably, the time span of above-mentioned predetermined amount of time was more than or equal to 5 seconds.
Preferably, the initial value of above-mentioned first variable and second variable is 50 milliseconds.
According to another aspect of the present invention, a kind of optical line terminal is provided.
Optical line terminal according to the present invention comprises: determination module; Be used for confirming the first flow and second flow; Wherein, first flow be optical network unit ONU at the fixed time the section in up total data flow, second flow be ONU at the fixed time the section in a up link keep flow; First adjusting module is used for the first flow and second flow of confirming according to determination module or only adjusts first variable according to first flow, and wherein, first variable is optical line terminal OLT is sent maximum time interval from gating message to ONU; Notification module is used for first variable that obtains after the adjustment of first adjusting module is notified to ONU, and is used for sending gating message to carry out link maintenance to ONU; First receiver module is used to receive the report message from ONU.
According to another aspect of the present invention, a kind of link maintenance system is provided, has comprised optical line terminal OLT and optical network unit ONU.
In link maintenance of the present invention system; OLT comprises: determination module; Be used for confirming the first flow and second flow in the section at the fixed time; Wherein, first flow be ONU at the fixed time the section in up total data flow, second flow be ONU at the fixed time the section in a up link keep flow; First adjusting module is used for the first flow and second flow of confirming according to determination module or only adjusts first variable according to first flow, and wherein, first variable is OLT sends maximum time interval from gating message to ONU; Notification module is used for first variable that obtains after the adjustment of first adjusting module is notified to ONU, and is used for sending gating message to carry out link maintenance to ONU; First receiver module, the report message that is used to receive from ONU; ONU comprises: second receiver module is used to receive first variable that OLT sends; Second adjusting module is used for accepting first variable that module receives according to second and adjusts second variable, wherein, second variable be ONU to maximum time that OLT sends report message at interval; Sending module is used for sending report message to carry out link maintenance according to second variable of second adjusting module adjustment to OLT.
Through technique scheme of the present invention; Through dynamically adjust OLT sends maximum time interval from gating message to ONU according to data traffic; And according to the maximum time interval of this time interval adjustment ONU to OLT transmission report message; Can reduce the empty GATE message that is used for link maintenance and the flow of empty REPORT message effectively; The too much ground occupied bandwidth that causes, the problem that reduces system handles efficient thereby the flow that can solve the message that under the low situation of the data traffic between OLT and the ONU, is used for link maintenance in the correlation technique is big, and then can effectively reduce the bandwidth that the message of keeping Link State is occupied, the treatment effeciency of raising system.
Other features and advantages of the present invention will be set forth in specification subsequently, and, partly from specification, become obvious, perhaps understand through embodiment of the present invention.The object of the invention can be realized through the structure that in the specification of being write, claims and accompanying drawing, is particularly pointed out and obtained with other advantages.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the structured flowchart according to the gating message of the Multi-point Control Protocol of correlation technique;
Fig. 2 is the flow chart according to the link maintenance method of the inventive method embodiment;
Fig. 3 is the structured flowchart according to the registration reply message of the Multi-point Control Protocol of correlation technique;
Fig. 4 is the structured flowchart according to the registration reply message of the inventive method embodiment;
Fig. 5 is the structured flowchart according to the gating message of the inventive method embodiment;
Fig. 6 is the flow chart according to the practical implementation of the link maintenance method of the inventive method embodiment;
Fig. 7 is another flow chart according to the practical implementation of the link maintenance method of the inventive method embodiment;
Fig. 8 is the structured flowchart according to the optical line terminal of apparatus of the present invention embodiment;
Fig. 9 is the structured flowchart of the link maintenance system of system according to the invention embodiment.
Embodiment
Function was both stated
And the too much ground occupied bandwidth that cause big, the problem of reduction system handles efficient to the flow of the message that is used for link maintenance under the low situation of the data traffic that exists in the correlation technique between OLT and the ONU; The present invention proposes a kind of link maintenance mechanism; Wherein, Through with OLT to maximum time that ONU sends gating message at interval and ONU to maximum time that OLT sends report message at interval as variable; And dynamically adjust this two time intervals according to data traffic, can reduce the empty GATE message of keeping Link State and the flow of empty REPORT message effectively.
Below in conjunction with accompanying drawing embodiments of the invention are described.
Method embodiment
Fig. 2 is according to the flow chart of the link maintenance method of the inventive method embodiment, need to prove, for the ease of describing; Used step number hereinafter; But this should not be construed as limitation of the present invention, and in addition, each step of in following method, describing can be carried out in the computer system such as a set of computer-executable instructions; And; Though logical order has been shown in flow chart, in some cases, can have carried out step shown or that describe with the order that is different from here.
As shown in Figure 2, comprise that according to the link maintenance method of the inventive method embodiment step S202 is to step S206:
Step S202, OLT confirm the first flow and second flow, wherein, first flow be ONU at the fixed time the section in up total data flow, second flow be ONU at the fixed time the section in a up link keep flow;
Step S204, OLT is according to the first flow and second flow or only adjust first variable (that is, gate_timeout) according to first flow; And first variable is notified to ONU through gating message; For ONU utilize the value of first variable adjust second variable (that is, and value report_timeout), wherein; First variable is the maximum time interval of OLT to ONU transmission gating message, and second variable is ONU sends maximum time interval from report message to OLT;
Step S206, OLT carries out link maintenance according to first variable of adjustment and the report message from ONU that receives.
The technical scheme that provides by means of present embodiment; Through dynamically adjust OLT sends maximum time interval from gating message to ONU according to data traffic; And according to the maximum time interval of this time interval adjustment ONU to OLT transmission report message; The empty GATE message that is used for link maintenance and the flow of empty REPORT message can be reduced effectively, thereby the bandwidth that the message of keeping Link State occupies, the treatment effeciency that can improve system can be reduced.
Specify above-mentioned processing procedure below.
(1) step S202
At first; OLT is set to first variable (promptly to the maximum time that ONU sends gating message (GATE); Constant gate_timeout is set to variable gate_timeout) and ONU be set to second variable (promptly to the maximum time that OLT sends report message (REPORT); Constant report_timeout is set to variable report_timeout); After gate_timeout and report_timeout be changed to variable, just can be used for the flow of the message of link maintenance through the value adjustment of these two variablees of dynamic adjustment, preferably; Can be respectively after OLT equipment and ONU device power, the initial value of gate_timeout and report_timeout is set to 50ms.
When ONU succeeded in registration, notice OLT can dynamically adjust variable one and variable two.This operation is specially; Sending at ONU increases by one and is used to indicate sign that whether OLT adjust first variable (gate_timeout) (promptly in the registration reply message (REGISTER_ACK) of OLT; The report time adjustment sign that hereinafter will be described, this identifies corresponding English and can be described as Report Time Adjustable), preferably; Can in registration reply message, increase respective field and carry this sign; This field can be positioned at preceding 1 byte of former PAD field, and, this field is put 1 o'clock indication OLT gate_timeout is adjusted.
Fig. 3 shows the structure according to the registration reply message of the Multi-point Control Protocol of correlation technique; This registration reply message can comprise following field: the LLID of destination address, source address, length/type, command code, timestamp, flag register, ONU registration back assignment; Lock in time, filling/reservation, frame check; Fig. 4 shows the structure according to the registration reply message of the inventive method embodiment; This registration reply message can comprise following field: the LLID of destination address, source address, length/type, command code, timestamp, flag register, ONU registration back assignment, lock in time, filling/reservation, frame check and the report time adjustment sign that increases newly.
OLT obtains report time adjustment sign after receiving above-mentioned registration reply message, determine whether that according to the value of this sign needs adjust variable one.For example, if the value of this sign was 1 (expression needs adjustment), then OLT knows and need adjust dynamically first variable according to the traffic conditions of data on the link.
OLT statistics two kinds of data traffics in a predetermined amount of time, i.e. flow one and flow two, flow one is the up total amount of data of ONU to OLT, flow two is kept flow (that is the total flow of empty GATE message and empty REPORT message) for uplink link status.Preferably, the time span of this predetermined amount of time can also start a timer by OLT this ticket reserving time section is carried out accurate timing more than or equal to 5 seconds.
(2) step S204
After having obtained the concrete numerical value of above-mentioned two kinds of flows, OLT just can adjust the numerical value of variable one, and the scheme of adjustment has two kinds: scheme one is that OLT adjusts variable one according to the first flow and second flow; Scheme two is that OLT only adjusts first variable according to first flow.Specify this dual mode below.
Scheme one, the processing that OLT adjusts variable one according to first flow and second flow specifically comprises: as (b1-b2)≤b2/2, and α 1+ β≤γ 1 is when setting up, with first variable be adjusted into first variable and predetermined increment and; As (b1-b2)>=b2*2, and α 1-β>=γ 2 is adjusted into the poor of first variable and predetermined increment with first variable when setting up; When above-mentioned two kinds of situation all are false, that is, as (b1-b2)≤b2/2, and α 1+ β≤γ 1 is false, and (b1-b2)>=b2*2, and α 1-β>=γ 2 is when being false, and the value of first variable is remained unchanged; Wherein, b1 is a first flow, and b2 is second flow, and α 1 is first variable, and β is predetermined first threshold for predetermined increment, γ 1, and γ 2 is the second predetermined threshold value.Preferably, above-mentioned predetermined increment can be 50 milliseconds, and predetermined first threshold can be 900 milliseconds, and the second predetermined threshold value can be 50 milliseconds.
Can find out; Scheme one is come the dynamically value of adjustment first variable according to the relation between the first flow and second flow, also promptly, and when the flow of the message that is used for link maintenance during at the shared large percentage of total data traffic; The value of gate_timeout is increased a predetermined increment; Like this, the time span of the gate_timeout that adjusted gate_timeout is more preceding than adjustment is long, just can suitably reduce the flow of GATE message; When the flow of the message that is used for link maintenance in the shared ratio of total data traffic hour; The value of gate_timeout is reduced by a predetermined increment; Like this; The time span of the gate_timeout that adjusted gate_timeout is more preceding than adjustment is short, just can suitably increase the flow that sends GATE message; When the flow of the message that is used for link maintenance when the shared ratio of total data traffic is suitable, the value of gate_timeout is not adjusted.
Scheme two, OLT only specifically comprises according to the processing that first flow is adjusted first variable: utilize formula
Confirm first variable, and, as α 1>When γ 1 sets up, the value of first variable is adjusted into predetermined first threshold, as α 1<when γ 2 sets up, the value of first variable is adjusted into the second predetermined threshold value, wherein, α 1 is first variable, and b1 is a first flow, and γ 1 is predetermined first threshold, and γ 2 is the second predetermined threshold value.Preferably, above-mentioned predetermined first threshold can be 900 milliseconds, and the second predetermined threshold value can be 50 milliseconds.
Need to prove that above-mentioned formula is an empirical equation, 64 is a byte number that the MPCP packet is comprised, and 8 is a bit number that byte comprised.The value that scheme two will utilize formula to confirm is directly composed and is given variable one; And the time interval of coming regulation GATE message to send according to the value of variable one, that is, and when adjusted gate_timeout numerical value is big; The time interval of sending GATE message is just big; Adjusted gate_timeout numerical value hour, the time interval of sending GATE message is just little, and; If the numerical value of adjusted gate_timeout during greater than first threshold or less than second threshold value, is adjusted into the first threshold or second threshold value with gate_timeout.
Can find out; Gate_timeout is fixing 50ms in the correlation technique; Behind scheme one and scheme two dynamic adjustment gate_timeout; System both can guarantee that OLT to the continuity of the data transmission window of ONU distribution, the normal transmission of assurance data, had reduced the flow of GATE message again.On the other hand, scheme two is than scheme one, and the numerical value of more simple, the adjusted variable one of the operating process of scheme two is more accurate, more helps reducing the flow of GATE message.
After OLT has carried out dynamic adjustment to first variable, the value of first variable is carried in the gating message (GATE) notice gives ONU, preferably, can in GATE message, increase gating message time (GATE TIME) field and carry the value of first variable.Fig. 5 shows the structure according to the gating message of the inventive method embodiment; As shown in Figure 5, comprise following field according to the gating message of the inventive method embodiment: destination address, source address, length/type, command code, timestamp, authorized quantity, zero-time that each is authorized and length, lock in time, gating message time, filling/reservation, frame check.
After ONU receives GATE message, the value of first variable is composed to second variable (that is also being that the value of gate_timeout is composed to report_timeout with the value in the GATE TIME field in the GATE message of receiving).Like this; ONU just can send report message (REPORT) to OLT when the report_timeout official hour reaches; Report_timeout is for fixing 5 in the correlation technique, and system not only can guarantee that up link kept state of activation, guarantees the normal transmission of data but also reduced the flow of REPORT message.
(3) step S206
Passed through the process of above-mentioned dynamic adjustment variable one and variable two, OLT just can carry out link maintenance with adjusted variable two according to adjusted variable one.
Based on above description, Fig. 6 further shows the flow process according to the practical implementation of the link maintenance method of the inventive method embodiment, and is as shown in Figure 6, and this handling process comprises step 601 to step 610:
Step 601, OLT receives the REGISTER_ACK message of ONU;
Step 602 judges that whether non-the value of Report Time Adjustable field among the REGISTER_ACK 0, proceed to step 603 being judged as to handle at non-0 o'clock, otherwise flow process finishes;
Step 603, it is the timer of t (length in this cycle was more than or equal to 5 seconds) that OLT starts one-period;
Step 604 judges whether timer is overtime, if timer expiry handles proceeding to step 605, otherwise, turn back to step 604;
Step 605, OLT adds up the ONU uplink traffic b1 (unit is a bit) that above-mentioned t receives in the time and the ONU up link of receiving is kept flow b2 (unit is a bit); That is, step 601 to step 605 is corresponding to above-mentioned steps S202;
Step 606 judges whether (b1-b2)≤b2/2 and gate_timeout+50≤900 set up, and under situation about setting up, handles proceeding to step 607, otherwise, handle proceeding to step 608;
Step 607 increases by 50 milliseconds with gate_timeout, handles proceeding to step 610;
Step 608 judges whether 50 of (b1-b2) >=b2*2 and gate_timeout-50 set up, and under the establishment situation, handles proceeding to step 609, otherwise, proceed to step 610;
Step 609 reduces 50 milliseconds with gate_timeout;
Step 610, OLT is carried at gate_timeout to notify in the GATE message and gives ONU, waits for the report message that receives from ONU, and returns step 603.That is, step 606 to step 610 corresponding to above-mentioned steps S204 to step S206.
Fig. 7 shows another flow process according to the practical implementation of the link maintenance method of the inventive method embodiment, and is as shown in Figure 7, and this handling process comprises step 701 to step 711:
Step 701, OLT receives the REGISTER_ACK of ONU;
Step 702 judges that whether non-the value of Report Time Adjustable field among the REGISTER_ACK 0, proceed to step 703 being judged as to handle at non-0 o'clock, otherwise flow process finishes;
Step 703, it is the timer of t (length in this cycle was more than or equal to 5 seconds) that OLT starts one-period;
Step 704 judges whether timer is overtime, handles under the overtime situation to proceed to and changes step 705, otherwise return step 704;
Step 705, OLT adds up the ONU uplink traffic b1 (unit is a bit) that above-mentioned t received in the time; That is, step 701 to step 705 is corresponding to above-mentioned steps S202;
Step 707 proceeds to step 708 if gate_timeout less than 50ms, handles, otherwise, handle proceeding to step 709;
Step 709 proceeds to step 710 if gate_timeout greater than 900ms, handles, and proceeds to step 711 otherwise handle;
Step 711, OLT is carried at gate_timeout to notify in the GATE message and gives ONU, waits for the report message that receives from ONU, and returns step 703.That is, step 706 to step 711 corresponding to above-mentioned steps S204 to step S206.
Device embodiment
Fig. 8 shows the structure according to the optical line terminal of apparatus of the present invention embodiment, and is as shown in Figure 8, comprises according to the optical line terminal of apparatus of the present invention embodiment: determination module 2, first adjusting module 4, notification module 6, first receiver module 8.Describe the function of above-mentioned module below in detail.
(1) determination module 2
(2) first adjusting modules 4
First adjusting module 4 is used for the first flow and second flow of confirming according to determination module 2 or only adjusts first variable according to first flow, and wherein, first variable is OLT sends maximum time interval from gating message to ONU.
Preferably, first adjusting module 4 can comprise: the first adjustment submodule is used for adjusting first variable according to the relation between the first flow and second flow; The second adjustment submodule is used for adjusting first variable according to first flow.(the first adjustment submodule and the second adjustment submodule be not for shown in Fig. 8)
The first adjustment submodule operation of adjusting first variable according to the relation between first flow and second flow specifically comprises: as (b1-b2)≤b2/2, and α 1+ β≤γ 1 is when setting up, with first variable be adjusted into first variable and predetermined increment and; As (b1-b2)>=b2*2, and α 1-β>=γ 2 is adjusted into the poor of first variable and predetermined increment with first variable when setting up; When above-mentioned two kinds of equal situation are false, that is, as (b1-b2)≤b2/2, and α 1+ β≤γ 1 is false, and (b1-b2)>=b2*2, and α 1-β>=γ 2 is when being false, and the value of first variable is remained unchanged; Wherein, b1 is a first flow, and b2 is second flow, and α 1 is first variable, and β is predetermined first threshold for predetermined increment, γ 1, and γ 2 is the second predetermined threshold value.
The second adjustment submodule only specifically comprises according to the operation that first flow is adjusted first variable: utilize formula
Confirm first variable, and, as α 1>When γ 1 sets up, the value of first variable is adjusted into predetermined first threshold, as α 1<when γ 2 sets up, the value of first variable is adjusted into the second predetermined threshold value, wherein, α 1 is first variable, and b1 is a first flow, and γ 1 is predetermined first threshold, and γ 2 is the second predetermined threshold value.
Preferably, above-mentioned predetermined increment is 50 milliseconds, and predetermined first threshold is 900 milliseconds, and the second predetermined threshold value is 50 milliseconds.
(3) notification module 6
(4) first receiver modules 8
The technical scheme that provides by present embodiment; Through determination module, first adjusting module, notification module, first receiver module are set; Can dynamically adjust OLT sends maximum time interval from gating message to ONU according to data traffic; And according to this adjustment ONU in time interval to maximum time that OLT sends report message at interval, thereby can reduce the empty GATE message that is used for link maintenance and the flow of empty REPORT message effectively.
System embodiment
Fig. 9 shows the structure of the link maintenance system of system according to the invention embodiment, and is as shown in Figure 9, and the structure of the link maintenance system of system according to the invention embodiment comprises that optical line terminal is that OLT3 and optical network unit are ONU5.
Wherein, Above-mentioned OLT3 comprises: determination module is used for confirming the first flow and second flow in the section at the fixed time, wherein; First flow be ONU5 at the fixed time the section in up total data flow, second flow be ONU5 at the fixed time the section in a up link keep flow; First adjusting module is used for the first flow and second flow of confirming according to determination module or only adjusts first variable according to first flow, and wherein, first variable is OLT3 sends maximum time interval from gating message to ONU5; Notification module is used for first variable that obtains after the adjustment of first adjusting module is notified to ONU5, and is used for sending gating message to carry out link maintenance to ONU5; First receiver module is used to receive the report message from ONU5.(above-mentioned module is not shown in Fig. 9)
Above-mentioned ONU5 comprises: second receiver module is used to receive first variable that OLT3 sends; Second adjusting module is used for accepting first variable that module receives according to second and adjusts second variable, wherein, second variable be ONU5 to maximum time that OLT3 sends report message at interval; Sending module is used for sending report message to carry out link maintenance according to second variable of second adjusting module adjustment to OLT3.(above-mentioned module is not shown in Fig. 9)
In sum; By means of technical scheme of the present invention; Through dynamically adjust OLT sends maximum time interval from gating message to ONU according to data traffic; And according to the maximum time interval of this time interval adjustment ONU to OLT transmission report message; Can reduce the empty GATE message that is used for link maintenance and the flow of empty REPORT message effectively; The too much ground occupied bandwidth that causes, the problem of reduction system handles efficient thereby the flow that can solve the message that under the low situation of the data traffic between OLT and the ONU, is used for link maintenance in the correlation technique is big, and then can reduce the bandwidth that the message of keeping Link State occupies, the treatment effeciency that can improve system.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (8)
1. a link maintenance method is used for carrying out link maintenance at the Ethernet passive optical network that comprises optical line terminal OLT and optical network unit ONU, it is characterized in that said method comprises:
Said OLT confirms the first flow and second flow; Wherein, Said first flow is the said ONU up total data flow in the section at the fixed time, and said second flow is said ONU is used to keep the message of up link state of activation in said predetermined amount of time a flow;
Said OLT is according to said first flow and said second flow or only adjust first variable according to said first flow; And said first variable is notified to said ONU through gating message; Utilize the value of said first variable to adjust the value of second variable for said ONU; Wherein, said first variable is the maximum time interval of said OLT to said ONU transmission gating message, and said second variable is said ONU sends maximum time interval from report message to said OLT;
Said OLT carries out link maintenance according to said first variable of adjustment and the report message from said ONU that receives;
Wherein, the said OLT processing of adjusting said first variable according to said first flow and said second flow specifically comprises:
When satisfying first condition, with said first variable be adjusted into said first variable and predetermined increment with, wherein, said first condition is: (b1-b2)≤b2/2, and a1+ β≤γ 1 sets up;
When satisfying second condition, said first variable is adjusted into the poor of said first variable and predetermined increment, wherein, said second condition is: (b1-b2) >=b2*2, and a1-β >=γ 2 sets up;
When simultaneously not satisfying said first condition and said second condition, the value of said first variable is remained unchanged;
Wherein, b1 is said first flow, and b2 is said second flow, and a1 is said first variable, and β is said predetermined increment, and γ 1 is predetermined first threshold, and γ 2 is the second predetermined threshold value;
Said OLT only specifically comprises according to the processing that said first flow is adjusted said first variable:
Utilize formula
to confirm said first variable, and, when a1>γ 1 sets up; The value of first variable is adjusted into predetermined first threshold; When a1<γ 2 sets up, the value of first variable is adjusted into the second predetermined threshold value, wherein; A1 is said first variable; B1 is said first flow, and γ 1 is said predetermined first threshold, and γ 2 is the said second predetermined threshold value.
2. method according to claim 1 is characterized in that, after said ONU received said first variable from said OLT, said method further comprised:
Said ONU adjusts second variable according to said first variable;
Said ONU sends said report message according to said second variable of adjustment to said OLT.
3. method according to claim 1 is characterized in that, before said OLT confirms said first flow and said second flow, also comprises:
Said OLT receives the registration reply message from said ONU, and wherein, said registration reply message carries the sign whether said OLT of indication adjusts said first variable.
4. method according to claim 1 is characterized in that, comprising:
Said predetermined increment is 50 milliseconds, and said predetermined first threshold is 900 milliseconds, and the said second predetermined threshold value is 50 milliseconds.
5. method according to claim 1 is characterized in that the time span of said predetermined amount of time was more than or equal to 5 seconds.
6. method according to claim 1 is characterized in that, the initial value of said first variable and said second variable is 50 milliseconds.
7. an optical line terminal is characterized in that, comprising:
Determination module; Be used for confirming the first flow and second flow; Wherein, said first flow is the optical network unit ONU up total data flow in the section at the fixed time, and said second flow is said ONU is used to keep the message of up link state of activation in said predetermined amount of time a flow;
First adjusting module; Be used for said first flow and said second flow of confirming according to said determination module or only adjust first variable according to said first flow; Wherein, said first variable is said optical line terminal OLT is sent maximum time interval from gating message to said ONU;
Notification module is used for said first variable that obtains after said first adjusting module adjustment is notified to said ONU, and is used for sending gating message to carry out link maintenance to said ONU;
First receiver module is used to receive the report message from said ONU;
Wherein, the processing of adjusting said first variable according to said first flow and said second flow of said first adjusting module specifically comprises:
When satisfying first condition, with said first variable be adjusted into said first variable and predetermined increment with, wherein, said first condition is: (b1-b2)<b2/2, and a1+ β≤γ 1 sets up;
When satisfying second condition, said first variable is adjusted into the poor of said first variable and predetermined increment, wherein, said second condition is: (b1-b2) >=b2*2, and a1-β >=γ 2 sets up;
When simultaneously not satisfying said first condition and said second condition, the value of said first variable is remained unchanged;
Wherein, b1 is said first flow, and b2 is said second flow, and a1 is said first variable, and β is said predetermined increment, and γ 1 is predetermined first threshold, and γ 2 is the second predetermined threshold value;
Said first adjusting module only specifically comprises according to the processing that said first flow is adjusted said first variable:
Utilize formula
to confirm said first variable, and, when a1>γ 1 sets up; The value of first variable is adjusted into predetermined first threshold; When a1<γ 2 sets up, the value of first variable is adjusted into the second predetermined threshold value, wherein; A1 is said first variable; B1 is said first flow, and γ 1 is said predetermined first threshold, and γ 2 is the said second predetermined threshold value.
8. a link maintenance system comprises optical line terminal OLT and optical network unit ONU, it is characterized in that,
Said OLT comprises:
Determination module; Be used for confirming the first flow and second flow in the section at the fixed time; Wherein, Said first flow is the said ONU up total data flow in the section at the fixed time, and said second flow is said ONU is used to keep the message of up link state of activation in said predetermined amount of time a flow;
First adjusting module; Be used for said first flow and said second flow of confirming according to said determination module or only adjust first variable according to said first flow; Wherein, said first variable is said OLT sends maximum time interval from gating message to said ONU;
Notification module is used for said first variable that obtains after said first adjusting module adjustment is notified to said ONU, and is used for sending gating message to carry out link maintenance to said ONU;
First receiver module, the report message that is used to receive from said ONU;
Wherein, the processing of adjusting said first variable according to said first flow and said second flow of said first adjusting module specifically comprises:
When satisfying first condition, with said first variable be adjusted into said first variable and predetermined increment with, wherein, said first condition is: (b1-b2)≤b2/2, and a1+ β≤γ 1 sets up;
When satisfying second condition, said first variable is adjusted into the poor of said first variable and predetermined increment, wherein, said second condition is: (b1-b2) >=b2*2, and a1-β >=γ 2 sets up;
When simultaneously not satisfying said first condition and said second condition, the value of said first variable is remained unchanged;
Wherein, b1 is said first flow, and b2 is said second flow, and a1 is said first variable, and β is said predetermined increment, and γ 1 is predetermined first threshold, and γ 2 is the second predetermined threshold value;
Said first adjusting module only specifically comprises according to the processing that said first flow is adjusted said first variable:
Utilize formula
to confirm said first variable, and, when a1>γ 1 sets up; The value of first variable is adjusted into predetermined first threshold; When a1<γ 2 sets up, the value of first variable is adjusted into the second predetermined threshold value, wherein; A1 is said first variable; B1 is said first flow, and γ 1 is said predetermined first threshold, and γ 2 is the said second predetermined threshold value;
Said ONU comprises:
Second receiver module is used to receive said first variable that said OLT sends;
Second adjusting module is used for adjusting said second variable according to said first variable that said second receiver module receives, and wherein, said second variable is said ONU sends maximum time interval from report message to said OLT;
Sending module is used for sending said report message to carry out link maintenance according to said second variable of said second adjusting module adjustment to said OLT.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101727111A CN101741689B (en) | 2008-11-11 | 2008-11-11 | Method and system for maintaining link as well as optical line terminal |
KR1020117013245A KR101503351B1 (en) | 2008-11-11 | 2008-12-22 | Link maintenance method and system, and optical line terminal |
PCT/CN2008/073642 WO2010054521A1 (en) | 2008-11-11 | 2008-12-22 | Link maintenance method and system, and optical line terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101727111A CN101741689B (en) | 2008-11-11 | 2008-11-11 | Method and system for maintaining link as well as optical line terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101741689A CN101741689A (en) | 2010-06-16 |
CN101741689B true CN101741689B (en) | 2012-02-08 |
Family
ID=42169597
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008101727111A Expired - Fee Related CN101741689B (en) | 2008-11-11 | 2008-11-11 | Method and system for maintaining link as well as optical line terminal |
Country Status (3)
Country | Link |
---|---|
KR (1) | KR101503351B1 (en) |
CN (1) | CN101741689B (en) |
WO (1) | WO2010054521A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102404188A (en) * | 2010-09-14 | 2012-04-04 | 中兴通讯股份有限公司 | Method and system capable of maintaining link in energy saving state of Ethernet passive optical network |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1728640A (en) * | 2004-07-26 | 2006-02-01 | 上海贝尔阿尔卡特股份有限公司 | Quick responsive method and system for assigning dynamic bandwidch |
CN1983877A (en) * | 2004-04-14 | 2007-06-20 | 烽火通信科技股份有限公司 | Method and device for dynamically distributing bandwith based on Ethernet passive light network up-link |
US20080130657A1 (en) * | 2006-12-01 | 2008-06-05 | Electronics And Telecommunications Research Institute | Method and apparatus for dynamically allocating bandwidth by hierarchical weight round robin |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100367714C (en) * | 2004-02-27 | 2008-02-06 | 联想(北京)有限公司 | Method for implementig mechanism of variable speed heartbeat based on network and load in host |
US7525982B2 (en) * | 2005-07-15 | 2009-04-28 | Teknovus, Inc. | Method and apparatus for facilitating asymmetric line rates in an Ethernet passive optical network |
-
2008
- 2008-11-11 CN CN2008101727111A patent/CN101741689B/en not_active Expired - Fee Related
- 2008-12-22 WO PCT/CN2008/073642 patent/WO2010054521A1/en active Application Filing
- 2008-12-22 KR KR1020117013245A patent/KR101503351B1/en active IP Right Grant
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1983877A (en) * | 2004-04-14 | 2007-06-20 | 烽火通信科技股份有限公司 | Method and device for dynamically distributing bandwith based on Ethernet passive light network up-link |
CN1728640A (en) * | 2004-07-26 | 2006-02-01 | 上海贝尔阿尔卡特股份有限公司 | Quick responsive method and system for assigning dynamic bandwidch |
US20080130657A1 (en) * | 2006-12-01 | 2008-06-05 | Electronics And Telecommunications Research Institute | Method and apparatus for dynamically allocating bandwidth by hierarchical weight round robin |
Also Published As
Publication number | Publication date |
---|---|
KR20110097824A (en) | 2011-08-31 |
CN101741689A (en) | 2010-06-16 |
WO2010054521A1 (en) | 2010-05-20 |
KR101503351B1 (en) | 2015-03-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101771902B (en) | Method, system and device for allocating passive optical network uplink bandwidth | |
US9112612B2 (en) | Relay device, station-side optical communication device, communication system, and bandwidth allocation method | |
CN104662845B (en) | Optical wireless access system, terminal office equipment and dormancy control method | |
CN101252789B (en) | Method and apparatus for allocating multi-frame dynamic band width | |
CN108370270B (en) | Dynamic bandwidth allocation method and device and passive optical network system | |
JP5483593B2 (en) | Passive network optical system and sleep time determination method | |
CN101252388B (en) | Apparatus and method for sending data | |
US10530517B2 (en) | Channel adjustment method, apparatus and system | |
KR20090119856A (en) | A dynamic bandwidth allocation device for a passive optical network system and the method implemented | |
CN103634086A (en) | Method for adjusting uplink and downlink time allocation, system, local-side equipment and customer premise equipment (CPE) | |
CN104320726A (en) | Time and wavelength division multiplexed passive optical network resource allocation mechanism based on linear prediction | |
US9615153B2 (en) | System and method for applying an extended multipoint protocol to wireless access systems | |
CN105049115A (en) | EPON-based hibernation method and system | |
EP3537673B1 (en) | Data sending and receiving method and device, onu, and olt | |
CN101217459B (en) | An Ethernet passive optical network dynamic bandwidth distribution method based on bandwidth credit | |
CN101174909B (en) | Control method, equipment and system for passive optical network multicast access | |
CN101741689B (en) | Method and system for maintaining link as well as optical line terminal | |
EP2723015A1 (en) | Method and device for communicating granularity of parameters | |
JPWO2010116411A1 (en) | Station side communication apparatus, optical communication system, and resource allocation method | |
JP2011254383A (en) | Communication device and band control method | |
CN104009817A (en) | Method for energy-saving dispatching in PON based on network coding | |
CN101577843B (en) | Method, device and system for processing multiframe | |
CN115209245A (en) | Data transmission method, optical line terminal, optical network unit and communication system | |
CN104468409B (en) | A kind of distribution method of dynamic bandwidth based on on-fixed multithreading poll | |
CN102404188A (en) | Method and system capable of maintaining link in energy saving state of Ethernet passive optical network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120208 Termination date: 20201111 |
|
CF01 | Termination of patent right due to non-payment of annual fee |