CN105516833B - The fault-tolerance approach and device of ONU state consistency are safeguarded in PON system - Google Patents
The fault-tolerance approach and device of ONU state consistency are safeguarded in PON system Download PDFInfo
- Publication number
- CN105516833B CN105516833B CN201610111065.2A CN201610111065A CN105516833B CN 105516833 B CN105516833 B CN 105516833B CN 201610111065 A CN201610111065 A CN 201610111065A CN 105516833 B CN105516833 B CN 105516833B
- Authority
- CN
- China
- Prior art keywords
- onu
- state
- sequence number
- olt
- online
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- 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
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
Abstract
The invention discloses fault-tolerance approaches and device that ONU state consistency is safeguarded in a kind of PON system, are related to passive optical network technique field.This method includes two parallel steps of OLT effluent journey and ONU effluent journey, in the side OLT:OLT first saves SN discovery period and ONU authorization list;It is then turned on the SN discovery timer and ONU status scan timer of OLT, and the time cycle is respectively set;Within the time cycle of SN discovery timer, upstream bandwidth authorization is periodically given to the legal ONU of detection, and update ONU state table;Meanwhile within the time cycle of ONU status scan timer, the scanning of ONU state table is carried out;In the side ONU:Current oneself state is marked in ONU, and is constantly changed according to state of the different transitions conditions of ONU state machine to self marker.The present invention can perceive the inconsistency of ONU state quickly, and quickly repair, to effectively safeguard the service security of user.
Description
Technical field
The present invention relates to PON (Passive Optical Network, passive optical network) technical field, more particularly to
The fault-tolerance approach and dress of ONU (Optical Network Unit, optical network unit) state consistency are safeguarded in a kind of PON system
It sets.
Background technique
Passive optical network technique is the broadband optical access technology based on optical fiber.Passive optical network (PON system) is by light
Line terminal (Optical Line Terminal, OLT), Optical Distribution Network (Optical Distribution Network,
ODN it) is formed with optical network unit (ONU).Since passive optical network has high bandwidth, high efficiency, large coverage, user
The many merits such as rich interface, broadband, the synthesization transformation using technology realization access network service of most of operators, and
Layout extensively, obtains a large amount of user experience.
In existing passive optical network, optical line terminal (OLT) uses the state machine for being present in itself, according to light
The response of network unit (ONU) and various timers change the state of optical network unit (ONU);Meanwhile optical network unit
(ONU) state machine for being present in itself is used, according to the physics of the state of optical link and the optical line terminal (OLT) received
OAM (Operation Administration and Maintenance, operation, management, maintenance) carries out the state of itself
Change.
But due to the variation of the environmental change of passive optical network and optical power budget, there are error code or frame loss
Possibility, so will appear local side optical line terminal (OLT) maintenance optical network unit (ONU) state and optical network unit at remote side
(ONU) the inconsistent situation of virtual condition causes the de- pipe of optical network unit (ONU), so that under the optical network unit (ONU)
All users service disconnection and not by network management system perceive and be difficult to restore.
Therefore, how optical network unit (ONU) go out present condition it is inconsistent when, accomplish to find and effectively restored in time
It is this field urgent problem to be solved.
Summary of the invention
For the defects in the prior art, the technical problem to be solved in the present invention is:In PON system, when local side OLT sheet
When the virtual condition of the ONU of the state and distal end of the ONU of ground maintenance is inconsistent, local side OLT and distal end ONU can perceive shape quickly
The inconsistency of state, and quickly repair, to effectively safeguard the service security of user.
To achieve the above objectives, the present invention provides the fault-tolerance approach that ONU state consistency is safeguarded in a kind of PON system, should
Fault-tolerance approach includes two parallel steps of OLT effluent journey and ONU effluent journey:
OLT effluent journey:
Step A1:Local side OLT saves the SN discovery cycle T 1 and ONU authorization list that network management issues, and is transferred to step A2;
Step A2:The SN for opening OLT has found timer, its time cycle is set as T1;Open the ONU status scan of OLT
Timer, and its time cycle is set, it is transferred to step A3;
Step A3:Local side OLT is simultaneously within the time cycle of SN discovery timer, the time of ONU status scan timer
In period, perform the following operation respectively:
Within the time cycle of SN discovery timer, ONU detection is carried out according to ONU authorization list, it is fixed to the legal ONU of detection
Phase gives upstream bandwidth authorization, and updates the ONU state table of OLT local maintenance;
Within the time cycle of ONU status scan timer, carry out ONU state table scanning, according to different states into
The corresponding state processing of row, to find out ONU actually online state;
ONU effluent journey is:
Step B1:Current oneself state is marked in distal end ONU, and the ONU state of label includes:Original state, sequence
Row number uploaded state and working condition, the upstream bandwidth authorization time slot that the ONU in sequence number uploaded state periodically gives in OLT
The sequence number for inside reporting oneself is transferred to step B2;
Step B2:ONU constantly changes the state of self marker according to the different transitions conditions of ONU state machine.
Based on the above technical solution, the state in ONU state table described in step A3 is divided into:It was found that state, work
Make state, interim not online 1 state, interim not online 2 state and down status;In step A3, local side OLT finds timing in SN
The operation carried out in the time cycle of device, specifically includes following steps:
Step A301:Local side OLT is within the time cycle of SN discovery timer, if receiving the SN that distal end ONU is reported,
The SN is compared with ONU authorization list, judges whether there is the SN in authorization list, if so, being transferred to step A302;Otherwise, it reports
Network management finds illegal ONU, return step A301;
Step A302:The corresponding ONU ID of the SN is obtained, by the ONU ID couple in the ONU state table of OLT local maintenance
The status indication of the ONU answered is discovery, is transferred to step A303;
Step A303:OLT sends ranging message to corresponding ONU, if ONU normal response ranging message, is transferred to step
A304;Otherwise, return step A301;
Step A304:OLT issues optical link parameter to the ONU, marks the ONU state to be in working condition, OLT is according to ONU
The grade of service and user demand distributing user bandwidth, safeguard customer service, be transferred to step A305;
Step A305:OLT at least gives upstream bandwidth authorization of ONU in continuous 8 downlink frames;Detect ONU uplink frame
Whether numeration has increase, if uplink frame numeration increases, maintenance ONU state is in working condition constant;Otherwise, update the ONU's
State is interim not online 1 state, and issues 3 deactivate_ONU-ID message.
Based on the above technical solution, in step A3, time cycle of the local side OLT in ONU status scan timer
The operation of interior progress, specifically includes following steps:If the state of ONU is interim not online 1 state, 3 deactivate_ are sent
ONU-ID message, it is interim not online 2 state that the state of the ONU is marked after being delayed;If the state of ONU is interim not online 2
State sends 3 deactivate_ONU-ID message, and it is down status that the state of the ONU is marked after being delayed;If the shape of ONU
State is in working condition, and is checked that the ONU uplink frame counts, if continuous 8 frame counts without the ONU uplink frame, is once managed to the ONU
Bandwidth chahnel authorization, if being not responding to the management passage bandwidth authorizing for this ONU3 times, OLT sends 3 deactivate_
The status indication of the ONU is interim not online 1 state by ONU-ID message.
Based on the above technical solution, step B2 specifically includes following operation:If the ONU state of label is initial shape
Current original state is then changed into sequence number uploaded state when ONU detects downlink frame by state;If the ONU state of label
Current sequence number uploaded state is then changed into work shape after ONU receives optical link parameter for sequence number uploaded state
State;It, then will be current when continuous 8 downlink frames do not detect the bandwidth authorizing of oneself if the ONU state of label is in working condition
Working condition change into sequence number uploaded state.
Based on the above technical solution, the time cycle of the ONU status scan timer is set as 8 seconds.
The present invention also provides the device that ONU state consistency is safeguarded in a kind of PON system based on above-mentioned fault-tolerance approach, packets
The configuration storage unit being set in local side OLT, timer setting unit, SN discovery unit, ONU status scan unit are included, and
ONU dry state symbol unit, ONU state in the ONU of distal end change unit;
The configuration storage unit is used for:Save the SN discovery cycle T 1 and ONU authorization list that network management issues;
The timer setting unit is used for:The SN for opening OLT has found timer, its time cycle is set as T1;It opens
The ONU status scan timer of OLT, and its time cycle is set;
The SN discovery unit is used for:Within the time cycle of SN discovery timer, ONU inspection is carried out according to ONU authorization list
It surveys, periodically gives upstream bandwidth authorization to the legal ONU of detection, and update the ONU state table of OLT local maintenance;
The ONU status scan unit is used for:Within the time cycle of ONU status scan timer, ONU state table is carried out
Scanning, corresponding state processing is carried out according to different ONU state, to find out ONU actually online state;
The ONU dry state symbol unit is used for:Current ONU state is marked, the ONU state of label includes:Just
Beginning state, sequence number uploaded state and working condition;The uplink band that ONU in sequence number uploaded state periodically gives in OLT
The sequence number of oneself is reported in width authorization time slot;
The ONU state changes unit and is used for:According to ONU state machine different transitions conditions to the ONU state of label into
Row constantly changes.
Based on the above technical solution, the state in the ONU state table is divided into:It was found that state, working condition, facing
When not online 1 state, interim not online 2 state and down status;SN discovery unit includes that ONU detection sub-unit, ONU swash
Subelement and ONU state table living update subelement;
The ONU detection sub-unit is used for:Within the time cycle of SN discovery timer, reported when receiving distal end ONU
SN, then the SN is compared with ONU authorization list, judges whether there is the SN in authorization list, if so, it is corresponding to obtain the SN
ONU ID, in the ONU state table of OLT local maintenance by the status indication of the corresponding ONU of ONU ID be discovery;Otherwise, on
Network management is reported to find illegal ONU;
The ONU activation subelement is used for:Ranging message is sent to corresponding ONU, if ONU normal response ranging message,
Optical link parameter then is issued to the ONU, the ONU state is marked to be in working condition, according to the grade of service of ONU and user demand point
With user bandwidth, customer service is safeguarded;
The ONU state table updates subelement and is used for:Upstream bandwidth of ONU is at least given in administrative frame under continuous 8
Authorization;Whether detection ONU uplink frame numeration has increase, if uplink frame numeration increases, maintenance ONU state is in working condition not
Become;Otherwise, the state for updating the ONU is interim not online 1 state, while issuing 3 deactivate_ONU-ID message.
Based on the above technical solution, the scanning of the ONU status scan unit progress ONU state table, and according to
Different ONU states perform corresponding processing, and to find out ONU actually online state, specifically include following operation:If ONU's
State is interim not online 1 state, sends 3 deactivate_ONU-ID message, marks the state of the ONU to be after being delayed
Interim not online 2 state;If the state of ONU is interim not online 2 state, 3 deactivate_ONU-ID message are sent, are passed through
The state that the ONU is marked after delay is down status;If the state of ONU is in working condition, check that the ONU uplink frame counts, such as
Continuous 8 frame of fruit counts without the ONU uplink frame, gives management passage bandwidth authorizing of the ONU, if be not responding to for this ONU3 times described
Management passage bandwidth authorizing, then OLT sends 3 deactivate_ONU-ID message, by the status indication of the ONU be it is interim not
Online 1 state.
Based on the above technical solution, the ONU state changes unit and is constantly changed to the ONU state of label
When, specifically include following operation:If the ONU state of label is that original state then will be current when ONU detects downlink frame
Original state changes into sequence number uploaded state;If the ONU state of label is sequence number uploaded state, when ONU receives light chain
After the parameter of road, then current sequence number uploaded state change is in working condition;If the ONU state of label is in working condition, when
Continuous 8 downlink frames do not detect the bandwidth authorizing of oneself, then current working condition are changed into sequence number uploaded state.
The beneficial effects of the present invention are:
(1) in the present invention, in local side, OLT can be carried out within the time cycle of SN discovery timer according to ONU authorization list
ONU detection, periodically gives upstream bandwidth authorization to the legal ONU of detection, and update the ONU state table of OLT local maintenance;Together
When, OLT can be carried out the scanning of ONU state table within the time cycle of ONU status scan timer, and according to different ONU shapes
State carries out corresponding state processing, to find out ONU actually online state.In distal end, ONU can be according to the difference of ONU state machine
Transitions condition constantly changes the state of self marker.
Compared with prior art, the shape of OLT and ONU can normally be realized using the present invention in passive optical network
State maintenance, when the ONU state and ONU virtual condition safeguarded there are OLT are inconsistent, system can be automatically repaired quickly, be reached
The state of the ONU of OLT local maintenance and the consistency of ONU virtual condition, thus effectively safeguard the service security of user, without
There is the de- pipe of ONU, causes the interrupting comprehensively and be difficult to the problem of restoring of customer service.
(2) whether practical online the present invention using the bandwidth authorizing of management passage can further detect ONU, management passage
Bandwidth is that system retains bandwidth, and the service resources of user can't be occupied using the bandwidth.Using the present invention, OLT being capable of basis
The virtual condition of ONU provides service resources, so as to update business demand according to the time of day of ONU, provides and is best suitable for
The Resource Guarantee of practical situation guarantees that system resource has all been actually allocated to online user, system is utilized to the greatest extent
Resource maintains the robustness of customer service service to improve the utilization rate of resource.
(3) in the present invention, what the state machine and ONU state machine that the ONU state table of OLT local maintenance is followed used
State is without departing from the status categories of communication standard defined, moreover, what the trigger mechanism of the transitions condition of state machine used
PLOAM is also without departing from the News Category of communication standard defined, it is possible to be updated, reach more in existing net equipment
The more healthy and strong business service of good system stability and offer.
Detailed description of the invention
Fig. 1 is the structural block diagram of passive optical network;
Fig. 2 is the flow chart for safeguarding the fault-tolerance approach of ONU state consistency in the embodiment of the present invention in PON system;
Fig. 3 is the flow chart of local side OLT concrete operations within the time cycle that SN has found timer TO1;
The state machine that Fig. 4 is followed by the ONU state table of OLT local maintenance;
Fig. 5 is ONU state machine.
Specific embodiment
With reference to the accompanying drawing and specific embodiment the present invention is described in further detail.
Shown in Figure 1, in the embodiment of the present invention, passive optical network includes a local side OLT and several distal ends
ONU is attached between each distal end ONU and local side OLT by one or more levels optical splitter (spliter).Local side OLT is logical
The intrinsic unique sequence numbers SN of each distal end ONU (Serial Number) is crossed to find ONU in systems, local side OLT occur
SN in authorization list that the SN of ONU is issued with network management is compared, to distinguish whether the ONU is illegal ONU (unauthorized)
Or legal ONU (authorization).The SN of illegal ONU is not appeared in authorization list, shows that the ONU is not allowed to utilize this PON
The resource of system will not be managed by OLT, will not bandwidth allocation and business give illegal ONU;Legal ONU exists in authorization list
The unique ONU mark (ONU ID) of system, and the ONU is managed by the ONU ID, system is assigned with service to the ONU ID
Grade, bandwidth and the scope of business;The actual bandwidth demand that OLT is reported according to the ONU grade of service and online ONU of network management configuration
Meet the business need of user as far as possible.
Shown in Figure 2, the embodiment of the present invention provides the fault-tolerance approach that ONU state consistency is safeguarded in a kind of PON system,
Including two parallel steps of OLT effluent journey and ONU effluent journey, wherein
OLT effluent journey is:
Step A1:Local side OLT saves the SN discovery cycle T 1 and ONU authorization list that network management issues, and is transferred to step A2;
Step A2:It opens SN and finds timer TO1, its time cycle is set as T1;Open ONU status scan timer
TO2, and its time cycle (being set as in the present embodiment 8 seconds) is set based on experience value, it is transferred to step A3;
Step A3:Local side OLT carries out ONU detection within the time cycle of SN discovery timer TO1, according to ONU authorization list,
Upstream bandwidth authorization is periodically given to the legal ONU of detection, and updates the ONU state table of OLT local maintenance;Wherein, described
ONU in upstream bandwidth authorization time slot in sequence number uploaded state reports the SN of oneself, the state point in the ONU state table
For:It was found that state, working condition, interim not online 1 state, interim not online 2 state and down status;
Meanwhile local side OLT carries out the scanning of ONU state table within the time cycle of ONU status scan timer TO2, and
Corresponding state processing is carried out according to different ONU state, to find out ONU actually online state.
ONU effluent journey is:
Step B1:Current oneself state is marked in distal end ONU, and the ONU state of label includes:Original state, sequence
Row number uploaded state and working condition, wherein the ONU in sequence number uploaded state is awarded in the upstream bandwidth that OLT periodically gives
The sequence number that oneself is temporary reported in gap, is transferred to step B2;
Step B2:ONU constantly changes the state of self marker according to the different transitions conditions of ONU state machine.
It is shown in Figure 3, when practical operation, time cycle of the local side OLT described in step A3 in SN discovery timer TO1
It is interior, ONU detection is carried out according to ONU authorization list, periodically gives upstream bandwidth authorization to the legal ONU of detection, and updates the local OLT
The ONU state table of maintenance, specifically includes following operation:
Step A301:Local side OLT is within the time cycle of SN discovery timer TO1, if receiving what distal end ONU was reported
The SN is then compared with ONU authorization list, judges whether there is the SN in authorization list by SN, if so, being transferred to step A302;Otherwise,
Network management is reported to find illegal ONU, return step A301;
Step A302:The corresponding ONU ID of the SN is obtained, by the ONU ID couple in the ONU state table of OLT local maintenance
The status indication of the ONU answered is discovery, is transferred to step A303;
Step A303:OLT sends ranging message to corresponding ONU, if ONU normal response ranging message, is transferred to step
A304;Otherwise, return step A301;
Step A304:OLT issues optical link parameter to the ONU, marks the ONU state to be in working condition, OLT is according to ONU
The grade of service and user demand distributing user bandwidth, safeguard customer service, be transferred to step A305;
Step A305:OLT at least gives upstream bandwidth authorization of ONU in continuous 8 downlink frames;Detect ONU uplink frame
Numeration whether have increase, if uplink frame numeration increase, maintenance ONU state be in working condition it is constant, OLT according to ONU service
Grade and user demand distributing user bandwidth safeguard customer service;Otherwise, the state for updating the ONU is interim not online 1 shape
State, while issuing 3 deactivate_ONU-ID message (deactivating ONU message).
On this basis, the scanning of ONU state table is carried out described in step A3, and phase is carried out according to different ONU states
The processing answered specifically includes following operation to find out ONU actually online state:
If the state of ONU is interim not online 1 state, 3 deactivate_ONU-ID message are sent, it is (logical after being delayed
Often delay is 1 second) mark the state of the ONU for interim not online 2 state;
If the state of ONU is interim not online 2 state, 3 deactivate_ONU-ID message are sent, it is (logical after being delayed
Often delay is 2 seconds) to mark the state of the ONU be down status;
If the state of ONU is in working condition, check that the ONU uplink frame counts, if continuous 8 frame is remembered without the ONU uplink frame
Number gives management passage bandwidth authorizing of the ONU, if being not responding to this bandwidth authorizing for this ONU3 times, OLT is sent 3 times
Deactivate_ONU-ID message, while being interim not online 1 state by the status indication of the ONU.
It is understood that being followed when the ONU state table of OLT local maintenance being updated and scanned in the present invention
The transitions condition of state machine as shown in Figure 4.
Shown in Figure 5, ONU marks itself according to the different transitions conditions of ONU state machine as shown in Figure 5 in the present invention
The state of note is constantly changed.Specifically, in ONU effluent journey, step B2 specifically includes following operation:If the ONU of label
State is original state, when ONU detects downlink frame, then current original state is changed into sequence number uploaded state;If
The ONU state of label is that current sequence number is then reported shape after ONU receives optical link parameter by sequence number uploaded state
State change is in working condition;If the ONU state of label is in working condition, when continuous 8 downlink frames do not detect the band of oneself
Width authorization, then change into sequence number uploaded state for current working condition.
The embodiment of the present invention, which also provides, safeguards ONU state consistency in a kind of PON system based on above-mentioned fault-tolerance approach
Device finds unit, ONU status scan list including the configuration storage unit in local side OLT, timer setting unit, SN
Member, and the ONU dry state symbol unit in the ONU of distal end, ONU state change unit.
Configuration storage unit is used for:Save the SN discovery cycle T 1 and ONU authorization list that network management issues.
Timer setting unit is used for:It opens SN and finds timer TO1, its time cycle is set as T1;Open ONU state
Timer TO2 is scanned, and its time cycle is set based on experience value.
SN discovery unit is used for:Within the time cycle of SN discovery timer TO1, ONU inspection is carried out according to ONU authorization list
It surveys, periodically gives upstream bandwidth authorization to the legal ONU of detection, and update the ONU state table of OLT local maintenance.
Wherein, SN has found that unit includes that ONU detection sub-unit, ONU activation subelement and ONU state table update subelement;
The ONU detection sub-unit is used for:Within the time cycle of SN discovery timer TO1, when receiving on the ONU of distal end
The SN is then compared with ONU authorization list, judges whether there is the SN in authorization list by the SN of report, if so, it is corresponding to obtain the SN
ONU ID, in the ONU state table of OLT local maintenance by the status indication of the corresponding ONU of ONU ID be discovery;Otherwise, on
Network management is reported to find illegal ONU;
The ONU activation subelement is used for:Ranging message is sent to corresponding ONU, if ONU normal response ranging message,
Optical link parameter then is issued to the ONU, the ONU state is marked to be in working condition, and according to the grade of service and user demand of ONU
Distributing user bandwidth safeguards customer service;
The ONU state table updates subelement and is used for:Upstream bandwidth of ONU is at least given in administrative frame under continuous 8
Authorization;Whether detection ONU uplink frame numeration has increase, if uplink frame numeration increases, maintenance ONU state is in working condition not
Become, and according to the grade of service of ONU and user demand distributing user bandwidth, safeguards customer service;Otherwise, the shape of the ONU is updated
State is interim not online 1 state, while issuing 3 deactivate_ONU-ID message.
ONU status scan unit is used for:Within the time cycle of ONU status scan timer TO2, ONU state table is carried out
Scanning, and corresponding state processing is carried out according to different ONU state, to find out ONU actually online state;
Wherein, the ONU status scan unit carries out the scanning of ONU state table, and carries out phase according to different ONU states
The processing answered specifically includes following operation to find out ONU actually online state:If the state of ONU is interim not online 1 shape
State sends 3 deactivate_ONU-ID message, and it is interim that (usually delay is 1 second), which marks the state of the ONU, after being delayed
Not online 2 state;If the state of ONU is interim not online 2 state, 3 deactivate_ONU-ID message are sent, through being delayed
It is down status that (usually delay is 2 seconds), which marks the state of the ONU, afterwards;If the state of ONU is in working condition, check on the ONU
Row frame statistics gives management passage bandwidth authorizing of the ONU, if the ONU 3 if continuous 8 frame counts without the ONU uplink frame
Secondary to be not responding to this bandwidth authorizing, then OLT sends 3 deactivate_ONU-ID message, while being by the status indication of the ONU
Interim not online 1 state.
ONU dry state symbol unit is used for:Current ONU state is marked, the ONU state of label includes:Initial shape
State, sequence number uploaded state and working condition, wherein the uplink band that the ONU in sequence number uploaded state periodically gives in OLT
The sequence number of oneself is reported in width authorization time slot.
ONU state changes unit and is used for:The ONU state of label is carried out not according to the different transitions conditions of ONU state machine
It is disconnected to change;
Wherein, when the ONU state change constantly changes the ONU state of label, following operation is specifically included:If
The ONU state of label is that original state then changes into current original state on sequence number when ONU detects downlink frame
Report state;If the ONU state of label is sequence number uploaded state, after ONU receives optical link parameter, then by current sequence
The change of number uploaded state is in working condition;If the ONU state of label is in working condition, when continuous 8 downlink frames do not detect
Current working condition is then changed into sequence number uploaded state by the bandwidth authorizing of oneself.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from
Under the premise of the principle of the invention, several improvements and modifications can also be made, these improvements and modifications are also considered as protection of the invention
Within the scope of.The content being not described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.
Claims (9)
1. safeguarding the fault-tolerance approach of ONU state consistency in a kind of PON system, it is characterised in that:The fault-tolerance approach includes the side OLT
Two parallel steps of process and ONU effluent journey:
OLT effluent journey:
Step A1:Local side OLT saves the sequence number SN discovery cycle T 1 and ONU authorization list that network management issues, and is transferred to step A2;
Step A2:The sequence number SN for opening OLT has found timer, its time cycle is set as T1;The ONU state for opening OLT is swept
Timer is retouched, its time cycle is set, is transferred to step A3;
Step A3:Local side OLT simultaneously sequence number SN discovery timer time cycle in, ONU status scan timer when
Between in the period, perform the following operation respectively:
Within the time cycle of sequence number SN discovery timer, ONU detection is carried out according to ONU authorization list, to the legal ONU of detection
Upstream bandwidth authorization periodically is given, and updates the ONU state table of OLT local maintenance;
Within the time cycle of ONU status scan timer, the scanning of ONU state table is carried out, phase is carried out according to different states
The state processing answered, to find out ONU actually online state;
ONU effluent journey is:
Step B1:Current oneself state is marked in distal end ONU, and the ONU state of label includes:Original state, sequence number
Uploaded state and working condition, the ONU in sequence number uploaded state in the upstream bandwidth authorization time slot that OLT periodically gives on
The sequence number for reporting oneself is transferred to step B2;
Step B2:ONU constantly changes the state of self marker according to the different transitions conditions of ONU state machine.
2. safeguarding the fault-tolerance approach of ONU state consistency in PON system as described in claim 1, it is characterised in that:Step A3
Described in state in ONU state table be divided into:It was found that state, working condition, interim not online 1 state, interim not online 2 state
And down status;In step A3, the operation that local side OLT carries out within the time cycle of sequence number SN discovery timer is specific to wrap
Include following steps:
Step A301:Local side OLT is within the time cycle of sequence number SN discovery timer, if receiving the sequence that distal end ONU is reported
Then sequence number SN is compared with ONU authorization list by row number SN, judges whether there is sequence number SN in authorization list, if so, turning
Enter step A302;Otherwise, network management is reported to find illegal ONU, return step A301;
Step A302:The corresponding ONU ID of sequence number SN is obtained, by the ONU ID in the ONU state table of OLT local maintenance
The status indication of corresponding ONU is discovery, is transferred to step A303;
Step A303:OLT sends ranging message to corresponding ONU, if ONU normal response ranging message, is transferred to step A304;It is no
Then, return step A301;
Step A304:OLT issues optical link parameter to the ONU, and the ONU state is marked to be in working condition, OLT according to ONU clothes
Grade of being engaged in and user demand distributing user bandwidth safeguard customer service, are transferred to step A305;
Step A305:OLT at least gives upstream bandwidth authorization of ONU in continuous 8 downlink frames;Detect the numeration of ONU uplink frame
Whether increase is had, if uplink frame numeration increases, maintenance ONU state is in working condition constant;Otherwise, the state of the ONU is updated
For temporarily not online 1 state, and issue 3 deactivate_ONU-ID message.
3. safeguarding the fault-tolerance approach of ONU state consistency in PON system as claimed in claim 2, it is characterised in that:Step A3
In, the operation that local side OLT carries out within the time cycle of ONU status scan timer specifically includes following steps:If ONU's
State is interim not online 1 state, sends 3 deactivate_ONU-ID message, marks the state of the ONU to be after being delayed
Interim not online 2 state;If the state of ONU is interim not online 2 state, 3 deactivate_ONU-ID message are sent, are passed through
The state that the ONU is marked after delay is down status;If the state of ONU is in working condition, check that the ONU uplink frame counts, such as
Continuous 8 frame of fruit counts without the ONU uplink frame, gives management passage bandwidth authorizing of the ONU, if be not responding to for this ONU3 times described
Management passage bandwidth authorizing, then OLT sends 3 deactivate_ONU-ID message, by the status indication of the ONU be it is interim not
Online 1 state.
4. safeguarding the fault-tolerance approach of ONU state consistency in PON system as described in claim 1, which is characterized in that step B2
Specifically include following operation:It, then will be current initial when ONU detects downlink frame if the ONU state of label is original state
State changes into sequence number uploaded state;If the ONU state of label is sequence number uploaded state, when ONU receives optical link ginseng
After number, then current sequence number uploaded state change is in working condition;If the ONU state of label is in working condition, when continuous 8
A downlink frame does not detect the bandwidth authorizing of oneself, then current working condition is changed into sequence number uploaded state.
5. safeguarding the fault-tolerance approach of ONU state consistency, feature in PON system according to any one of claims 1 to 4
It is:The time cycle of the ONU status scan timer is set as 8 seconds.
6. safeguarding the device of ONU state consistency, feature in a kind of PON system based on fault-tolerance approach described in claim 1
It is:The device include configuration storage unit in the local side OLT, timer setting unit, sequence number SN discovery unit,
ONU status scan unit, and the ONU dry state symbol unit in the ONU of distal end, ONU state change unit;
The configuration storage unit is used for:Save the sequence number SN discovery cycle T 1 and ONU authorization list that network management issues;
The timer setting unit is used for:The sequence number SN for opening OLT has found timer, its time cycle is set as T1;It opens
The ONU status scan timer of OLT is opened, and its time cycle is set;
The sequence number SN discovery unit is used for:Sequence number SN discovery timer time cycle in, according to ONU authorization list into
Row ONU detection, periodically gives upstream bandwidth authorization to the legal ONU of detection, and update the ONU state table of OLT local maintenance;
The ONU status scan unit is used for:Within the time cycle of ONU status scan timer, sweeping for ONU state table is carried out
It retouches, corresponding state processing is carried out according to different ONU state, to find out ONU actually online state;
The ONU dry state symbol unit is used for:Current ONU state is marked, the ONU state of label includes:Initial shape
State, sequence number uploaded state and working condition;ONU in sequence number uploaded state is awarded in the upstream bandwidth that OLT periodically gives
The sequence number of oneself is temporary reported in gap;
The ONU state changes unit and is used for:The ONU state of label is carried out not according to the different transitions conditions of ONU state machine
It is disconnected to change.
7. safeguarding the device of ONU state consistency in PON system as claimed in claim 6, it is characterised in that:The ONU shape
State in state table is divided into:It was found that state, working condition, interim not online 1 state, interim not online 2 state and down status;
The sequence number SN discovery unit includes that ONU detection sub-unit, ONU activation subelement and ONU state table update subelement;
The ONU detection sub-unit is used for:Within the time cycle of sequence number SN discovery timer, when receiving on the ONU of distal end
Then sequence number SN is compared with ONU authorization list by the sequence number SN of report, judges whether there is sequence number SN in authorization list,
If so, the corresponding ONU ID of sequence number SN is obtained, by the corresponding ONU of ONU ID in the ONU state table of OLT local maintenance
Status indication be discovery;Otherwise, network management is reported to find illegal ONU;
The ONU activation subelement is used for:Ranging message is sent to corresponding ONU, if ONU normal response ranging message, to
The ONU issues optical link parameter, and the ONU state is marked to be in working condition, and uses according to the grade of service of ONU and user demand distribution
Family bandwidth safeguards customer service;
The ONU state table updates subelement and is used for:Upstream bandwidth authorization of ONU is at least given in administrative frame under continuous 8;
Whether detection ONU uplink frame numeration has increase, if uplink frame numeration increases, maintenance ONU state is in working condition constant;It is no
Then, the state for updating the ONU is interim not online 1 state, while issuing 3 deactivate_ONU-ID message.
8. safeguarding the device of ONU state consistency in PON system as claimed in claim 7, it is characterised in that:The ONU shape
State scanning element carries out the scanning of ONU state table, and is performed corresponding processing according to different ONU states, to find out ONU reality
Online state specifically includes following operation:
If the state of ONU is interim not online 1 state, 3 deactivate_ONU-ID message are sent, label should after being delayed
The state of ONU is interim not online 2 state;
If the state of ONU is interim not online 2 state, 3 deactivate_ONU-ID message are sent, label should after being delayed
The state of ONU is down status;
If the state of ONU is in working condition, checks that the ONU uplink frame counts, if continuous 8 frame counts without the ONU uplink frame, give
Management passage bandwidth authorizing of the ONU, if being not responding to the management passage bandwidth authorizing for this ONU3 times, OLT is sent 3 times
The status indication of the ONU is interim not online 1 state by deactivate_ONU-ID message.
9. safeguarding the device of ONU state consistency in PON system as claimed in claim 6, it is characterised in that:The ONU shape
When state change unit constantly changes the ONU state of label, following operation is specifically included:If the ONU state of label is first
Current original state is then changed into sequence number uploaded state when ONU detects downlink frame by beginning state;If the ONU of label
State is that current sequence number uploaded state is then changed into work after ONU receives optical link parameter by sequence number uploaded state
Make state;If the ONU state of label is in working condition, when continuous 8 downlink frames do not detect the bandwidth authorizing of oneself, then will
Current working condition changes into sequence number uploaded state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610111065.2A CN105516833B (en) | 2016-02-29 | 2016-02-29 | The fault-tolerance approach and device of ONU state consistency are safeguarded in PON system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610111065.2A CN105516833B (en) | 2016-02-29 | 2016-02-29 | The fault-tolerance approach and device of ONU state consistency are safeguarded in PON system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105516833A CN105516833A (en) | 2016-04-20 |
CN105516833B true CN105516833B (en) | 2018-11-23 |
Family
ID=55724417
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610111065.2A Active CN105516833B (en) | 2016-02-29 | 2016-02-29 | The fault-tolerance approach and device of ONU state consistency are safeguarded in PON system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105516833B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111010628B (en) * | 2019-11-30 | 2021-06-29 | 华为技术有限公司 | Uplink resource authorization method, related device and computer readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1507207A (en) * | 2002-12-06 | 2004-06-23 | 北京格林威尔科技发展有限公司 | Bidirectional bandwidth control method in Ethernet passive light network system |
CN102006118A (en) * | 2010-12-01 | 2011-04-06 | 烽火通信科技股份有限公司 | Method for isolating long-emitting optical network units (ONU) in gigabit passive optical network (GPON) |
CN102368691A (en) * | 2011-09-23 | 2012-03-07 | 烽火通信科技股份有限公司 | Optical link protection switching realizing method in Ethernet passive optical network system |
CN103560823A (en) * | 2013-11-08 | 2014-02-05 | 烽火通信科技股份有限公司 | Device and method for detecting whether ONUs emit long light |
CN103560978A (en) * | 2013-10-14 | 2014-02-05 | 北京邮电大学 | Method and device for bandwidth dynamic allocation in optical access network |
CN105120376A (en) * | 2015-07-20 | 2015-12-02 | 武汉长光科技有限公司 | Method for improving optical link protection switching stability of ONU (optical network unit) |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100687710B1 (en) * | 2004-11-20 | 2007-02-27 | 한국전자통신연구원 | Method and apparatus for monitering optical fiber of passive optical network system |
-
2016
- 2016-02-29 CN CN201610111065.2A patent/CN105516833B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1507207A (en) * | 2002-12-06 | 2004-06-23 | 北京格林威尔科技发展有限公司 | Bidirectional bandwidth control method in Ethernet passive light network system |
CN102006118A (en) * | 2010-12-01 | 2011-04-06 | 烽火通信科技股份有限公司 | Method for isolating long-emitting optical network units (ONU) in gigabit passive optical network (GPON) |
CN102368691A (en) * | 2011-09-23 | 2012-03-07 | 烽火通信科技股份有限公司 | Optical link protection switching realizing method in Ethernet passive optical network system |
CN103560978A (en) * | 2013-10-14 | 2014-02-05 | 北京邮电大学 | Method and device for bandwidth dynamic allocation in optical access network |
CN103560823A (en) * | 2013-11-08 | 2014-02-05 | 烽火通信科技股份有限公司 | Device and method for detecting whether ONUs emit long light |
CN105120376A (en) * | 2015-07-20 | 2015-12-02 | 武汉长光科技有限公司 | Method for improving optical link protection switching stability of ONU (optical network unit) |
Also Published As
Publication number | Publication date |
---|---|
CN105516833A (en) | 2016-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101150367B (en) | A backup method and device for passive optical network OLT device | |
CN106371359B (en) | One one button security of process control network is locked | |
CN100438505C (en) | Passive optic network user terminal and its power control and state reporting method | |
CN103763148B (en) | ONU automatic authorization configuration recovery method | |
CN106412730B (en) | A kind of method of remote batch upgrading ONU system software under Boot environment | |
CN101567799B (en) | Automatic configuring method of optical network unit | |
CN102291265B (en) | Broadband terminal and webmaster optimization platform | |
CN102740174B (en) | Method for managing ONU (optical network unit) access in GPON (gigabit passive optical network) system | |
CN110086260B (en) | Intelligent sensing management and control device for power distribution network | |
CN102970071A (en) | Method and system for quickly recovering service after poweroff restart of 10G Ethernet passive optical network (EPON) system | |
CN104469561B (en) | The method and device of illegal manufacturer ONU access capabilities is controlled in GPON systems | |
CN101150433A (en) | A method for setting alarm filtering rule | |
CN101976883A (en) | Self-adapting integrative five-prevention system based on Ethernet communication | |
CN110349380A (en) | Power distribution network low-voltage circuit power failure alarm method based on communication terminal optical network unit | |
CN105516833B (en) | The fault-tolerance approach and device of ONU state consistency are safeguarded in PON system | |
CN109494728A (en) | A kind of distribution terminal addressing selection method | |
CN101577845B (en) | Method and device for processing switching control command | |
CN107135045B (en) | Substation's adaptive network and its clock synchronous safety method based on difference detection | |
WO2015117456A1 (en) | Link polling method, device and system, and computer storage medium | |
CN107517126A (en) | A kind of method of the batch installation network equipment | |
CN107682078A (en) | One kind is based on the co-operating ONU failure management methods of OLT and ONU | |
CN103490964A (en) | Method and device for flexibly configuring number of access terminals | |
CN101873516A (en) | Method for registering and activating optical network unit in a gigabit passive optical network system | |
CN101483551B (en) | Method and system for remote monitoring household gateway device | |
CN103974152B (en) | A kind of optical-fiber network allocation unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |