CN105516833A - Fault tolerance method and device for maintaining ONU (optical network unit) state consistency in PON (passive optical network) system - Google Patents

Fault tolerance method and device for maintaining ONU (optical network unit) state consistency in PON (passive optical network) system Download PDF

Info

Publication number
CN105516833A
CN105516833A CN201610111065.2A CN201610111065A CN105516833A CN 105516833 A CN105516833 A CN 105516833A CN 201610111065 A CN201610111065 A CN 201610111065A CN 105516833 A CN105516833 A CN 105516833A
Authority
CN
China
Prior art keywords
onu
state
olt
steps
timer
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.)
Granted
Application number
CN201610111065.2A
Other languages
Chinese (zh)
Other versions
CN105516833B (en
Inventor
刘静霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201610111065.2A priority Critical patent/CN105516833B/en
Publication of CN105516833A publication Critical patent/CN105516833A/en
Application granted granted Critical
Publication of CN105516833B publication Critical patent/CN105516833B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a fault tolerance method and device for maintaining ONU (optical network unit) state consistency in a PON (passive optical network) system and relates to the technical field of passive optical networks. This method comprises two concurrent steps, an OLT (optical line terminal) side process and an ONU side process: on OLT side, storing, by an OLT, an SN (serial number) finding period and an ONU authorization list first; then enabling an SN finding timer and an ONU state scanning timer of the OLT, and setting periods of time separately; in the period of time of the SN finding timer, giving uplink bandwidth authorization periodically to a detected legal ONU, and updating an ONU state list; meanwhile, in the period of time of the ONU state scanning timer, scanning the ONU state list; on ONU side, marking self-state by the ONU, and continuously changing the self-marked state according to different transition conditions of an ONU state machine. The method and device enable inconsistency of ONU states to be quickly sensed and repaired, thus effectively maintaining service safety for a user.

Description

Fault-tolerance approach and the device of ONU state consistency is safeguarded in PON system
Technical field
The present invention relates to PON (PassiveOpticalNetwork, EPON) technical field, particularly relate in a kind of PON system the fault-tolerance approach and device of safeguarding ONU (OpticalNetworkUnit, optical network unit) state consistency.
Background technology
Passive optical network technique is the broadband optical access technology based on optical fiber.Passive optical network (PON system) is by optical line terminal (OpticalLineTerminal, OLT), Optical Distribution Network (OpticalDistributionNetwork, ODN) and optical network unit (ONU) composition.Because passive optical network has the many merits such as high bandwidth, high efficiency, large coverage, user interface be abundant, most of operator adopts this technology to realize, and Access Network business is broadband, synthesization transformation, and extensive layout, obtain a large amount of Consumer's Experience.
In existing passive optical network, optical line terminal (OLT) adopts and is present in self state machine, changes the state of optical network unit (ONU) according to the response of optical network unit (ONU) and various timer; Simultaneously, optical network unit (ONU) adopts the state machine being present in self, according to the state of optical link and the physics OAM (OperationAdministrationandMaintenance, operation, management, maintenance) of the optical line terminal (OLT) received, the state of self is changed.
But, due to the environmental change of passive optical network and the change of optical power budget, there is the possibility of error code or LOF, so the situation that the virtual condition that there will be optical network unit (ONU) state that local side optical line terminal (OLT) safeguards and optical network unit at remote side (ONU) is inconsistent, cause the de-pipe of optical network unit (ONU), make the service disconnection of all users under this optical network unit (ONU) and be not difficult to by network management system perception recover.
Therefore, how optical network unit (ONU) go out present condition inconsistent time, accomplishing Timeliness coverage and carrying out effectively recovering is this area problem demanding prompt solution.
Summary of the invention
For defect of the prior art, the technical problem to be solved in the present invention is: in PON system, when the virtual condition of the state of the ONU of local side OLT local maintenance and the ONU of far-end is inconsistent, local side OLT and far-end ONU can the inconsistencies of very fast perception state, and repairing fast, thus the service security of effective maintenance customer.
For reaching above object, the invention provides the fault-tolerance approach safeguarding ONU state consistency in a kind of PON system, this fault-tolerance approach comprises OLT effluent journey and ONU effluent journey two parallel step:
OLT effluent journey:
Steps A 1: the SN that local side OLT preservation webmaster issues finds cycle T 1 and ONU authorization list, proceeds to steps A 2;
Steps A 2: the SN opening OLT finds timer, and its time cycle is set to T1; Open the ONU status scan timer of OLT, and its time cycle is set, proceed to steps A 3;
Steps A 3: local side OLT is simultaneously within the time cycle that SN finds timer, in time cycle of ONU status scan timer, carry out following operation respectively:
Within the time cycle that SN finds timer, carry out ONU detection according to ONU authorization list, regularly give upstream bandwidth mandate to the legal ONU detected, and upgrade the ONU state table of OLT local maintenance;
Within the time cycle of ONU status scan timer, carry out the scanning of ONU state table, carry out corresponding state processing according to different states, to find out the actual online state of ONU;
ONU effluent journey is:
Step B1: far-end ONU marks current oneself state, the ONU state of mark comprises: initial condition, sequence number uploaded state and operating state, the ONU being in sequence number uploaded state reports the sequence number of oneself in the upstream bandwidth mandate time slot that OLT regularly gives, and proceeds to step B2;
Step B2:ONU constantly changes according to the state of different transitions condition to self marker of ONU state machine.
On the basis of technique scheme, the state in ONU state table described in steps A 3 is divided into: Discovery Status, operating state, interim not online 1 state, interim not online 2 states and down status; In steps A 3, the operation that local side OLT carries out within the time cycle of SN discovery timer, specifically comprises the following steps:
Steps A 301: at SN, local side OLT finds that, in the time cycle of timer, the SN that far-end ONU reports if receive, then compare this SN and ONU authorization list, judge whether there is this SN in authorization list, if so, proceed to steps A 302; Otherwise, report webmaster to find illegal ONU, return steps A 301;
Steps A 302: obtain the ONUID that this SN is corresponding, in the ONU state table of OLT local maintenance by the status indication of ONU corresponding for this ONUID for find, proceed to steps A 303;
Steps A 303:OLT sends ranging message to the ONU of correspondence, if ONU normal response ranging message, proceeds to steps A 304; Otherwise, return steps A 301;
Steps A 304:OLT issues optical link parameter to this ONU, and marking this ONU state is operating state, and OLT is according to the grade of service of ONU and user's request distributing user bandwidth, and maintenance customer's business, proceeds to steps A 305;
Steps A 305:OLT at least gives an ONU upstream bandwidth mandate in continuous 8 downlink frame; Detect the numeration of ONU uplink frame and whether have increase, if uplink frame numeration increases, safeguard that ONU state is that operating state is constant; Otherwise, upgrade the state of this ONU for interim not online 1 state, and issue 3 deactivate_ONU-ID message.
On the basis of technique scheme, in steps A 3, the operation that local side OLT carries out within the time cycle of ONU status scan timer, specifically comprise the following steps: if the state of ONU is interim not online 1 state, send 3 deactivate_ONU-ID message, after time delay, mark the state of this ONU for interim not online 2 states; If the state of ONU is interim not online 2 states, send 3 deactivate_ONU-ID message, the state marking this ONU after time delay is down status; If the state of ONU is operating state, check that this ONU uplink frame is added up, if continuous 8 frames count without this ONU uplink frame, to this ONU management channels bandwidth authorizing, if do not respond described management channels bandwidth authorizing for this ONU3 time, then OLT sends 3 deactivate_ONU-ID message, is interim not online 1 state by the status indication of this ONU.
On the basis of technique scheme, step B2 specifically comprises following operation: if the ONU state of mark is initial condition, when ONU detects downlink frame, then current initial condition is changed into sequence number uploaded state; If the ONU state of mark is sequence number uploaded state, after ONU receives optical link parameter, then current sequence number uploaded state is changed into operating state; If the ONU state of mark is operating state, when continuous 8 downlink frame do not detect the bandwidth authorizing of oneself, then current operating state is changed into sequence number uploaded state.
On the basis of technique scheme, the time cycle of described ONU status scan timer is set to 8 seconds.
The present invention also provides the device safeguarding ONU state consistency in a kind of PON system based on above-mentioned fault-tolerance approach, comprise the configure storage unit be located in local side OLT, timer setting unit, SN find unit, ONU status scan unit, and be located at ONU dry state symbol unit in far-end ONU, ONU state changes unit;
Described configure storage unit is used for: the SN that preservation webmaster issues finds cycle T 1 and ONU authorization list;
Described timer setting unit is used for: the SN opening OLT finds timer, and its time cycle is set to T1; Open the ONU status scan timer of OLT, and its time cycle is set;
Described SN finds that unit is used for: within the time cycle that SN finds timer, carry out ONU detection according to ONU authorization list, regularly give upstream bandwidth mandate, and upgrade the ONU state table of OLT local maintenance to the legal ONU detected;
Described ONU status scan unit is used for: within the time cycle of ONU status scan timer, carries out the scanning of ONU state table, carries out corresponding state processing according to different ONU states, to find out the actual online state of ONU;
Described ONU dry state symbol unit is used for: mark current ONU state, and the ONU state of mark comprises: initial condition, sequence number uploaded state and operating state; The ONU being in sequence number uploaded state reports the sequence number of oneself in the upstream bandwidth mandate time slot that OLT regularly gives;
Described ONU state changes unit and is used for: constantly change according to the ONU state of different transitions condition to mark of ONU state machine.
On the basis of technique scheme, the state in described ONU state table is divided into: Discovery Status, operating state, interim not online 1 state, interim not online 2 states and down status; Described SN finds that unit comprises ONU detection sub-unit, ONU activates subelement and ONU state table upgrades subelement;
Described ONU detection sub-unit is used for: within the time cycle that SN finds timer, as the SN receiving far-end ONU and report, then this SN and ONU authorization list is compared, judge whether there is this SN in authorization list, if, obtain the ONUID that this SN is corresponding, in the ONU state table of OLT local maintenance by the status indication of ONU corresponding for this ONUID for find; Otherwise, report webmaster to find illegal ONU;
Described ONU activates subelement and is used for: the ONU to correspondence sends ranging message, if ONU normal response ranging message, then issue optical link parameter to this ONU, marking this ONU state is operating state, according to the grade of service and the user's request distributing user bandwidth of ONU, maintenance customer's business;
Described ONU state table upgrades subelement and is used for: under continuous 8 in administrative frame at least to an ONU upstream bandwidth mandate; Detect the numeration of ONU uplink frame and whether have increase, if uplink frame numeration increases, safeguard that ONU state is that operating state is constant; Otherwise, upgrade the state of this ONU for interim not online 1 state, issue 3 deactivate_ONU-ID message simultaneously.
On the basis of technique scheme, described ONU status scan unit carries out the scanning of ONU state table, and process accordingly according to different ONU states, to find out the actual online state of ONU, specifically comprise following operation: if the state of ONU is interim not online 1 state, send 3 deactivate_ONU-ID message, after time delay, mark the state of this ONU for interim not online 2 states; If the state of ONU is interim not online 2 states, send 3 deactivate_ONU-ID message, the state marking this ONU after time delay is down status; If the state of ONU is operating state, check that this ONU uplink frame is added up, if continuous 8 frames count without this ONU uplink frame, to this ONU management channels bandwidth authorizing, if do not respond described management channels bandwidth authorizing for this ONU3 time, then OLT sends 3 deactivate_ONU-ID message, is interim not online 1 state by the status indication of this ONU.
On the basis of technique scheme, when the ONU state of described ONU state change unit to mark constantly changes, specifically comprise following operation: if the ONU state of mark is initial condition, when ONU detects downlink frame, then current initial condition is changed into sequence number uploaded state; If the ONU state of mark is sequence number uploaded state, after ONU receives optical link parameter, then current sequence number uploaded state is changed into operating state; If the ONU state of mark is operating state, when continuous 8 downlink frame do not detect the bandwidth authorizing of oneself, then current operating state is changed into sequence number uploaded state.
Beneficial effect of the present invention is:
(1) in the present invention, at local side, OLT finds, in the time cycle of timer, to carry out ONU detection according to ONU authorization list at SN, regularly gives upstream bandwidth mandate, and upgrade the ONU state table of OLT local maintenance to the legal ONU detected; Meanwhile, OLT, within the time cycle of ONU status scan timer, can carry out the scanning of ONU state table, and carries out corresponding state processing according to different ONU states, to find out the actual online state of ONU.At far-end, ONU constantly can change according to the state of different transitions condition to self marker of ONU state machine.
Compared with prior art, the present invention is adopted in passive optical network, normally can realize the state-maintenance of OLT and ONU, when the ONU state and ONU virtual condition that there is OLT maintenance are inconsistent, system can be repaired automatically very soon, reaches the state of the ONU of OLT local maintenance and the consistency of ONU virtual condition, thus the service security of effective maintenance customer, and there will not be the de-pipe of ONU, cause comprehensive interruption of customer service and be difficult to the problem recovered.
(2) whether actual online in the present invention if utilizing the bandwidth authorizing of management channels can detect ONU further, and the bandwidth of management channels is system reserved bandwidth, utilizes this bandwidth can't take the service resources of user.Adopt the present invention, OLT can provide service resources according to the virtual condition of ONU, thus business demand can be upgraded according to the time of day of ONU, the Resource Guarantee of the most realistic situation is provided, guarantee system resource all actual allocated gives online user, farthest make use of system resource, thus improve the utilance of resource, maintain the robustness of customer service service.
(3) in the present invention, the state machine that the ONU state table of OLT local maintenance is followed, and the state of ONU state machine employing does not all exceed the status categories of communication standard defined, and, the PLOAM of the trigger mechanism employing of the transitions condition of state machine does not exceed the News Category of communication standard defined yet, so can upgrade on existing net equipment, reach the better stability of a system and more healthy and strong business service is provided.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of passive optical network;
Fig. 2 is the flow chart of the fault-tolerance approach safeguarding ONU state consistency in the embodiment of the present invention in PON system;
Fig. 3 is that local side OLT finds the flow chart of concrete operations in the time cycle of timer TO1 at SN;
The state machine that the ONU state table that Fig. 4 is OLT local maintenance is followed;
Fig. 5 is ONU state machine.
Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention is described in further detail.
Shown in Figure 1, in the embodiment of the present invention, passive optical network comprises a local side OLT and some far-end ONU, and each far-end ONU is connected by one or more levels optical branching device (spliter) with between local side OLT.Local side OLT finds the ONU occurred in systems in which by the unique sequence numbers SN (SerialNumber) that each far-end ONU is intrinsic, SN in the authorization list that the SN of ONU and webmaster issue by local side OLT compares, and whether distinguish this ONU is illegal ONU (unauthorized) or legal ONU (authorizing).The SN of illegal ONU does not appear in authorization list, shows that this ONU is not allowed to utilize the resource of this PON system, can not be managed by OLT yet, can not distribute bandwidth sum business to illegal ONU; There is unique ONU mark (ONUID) of system in legal ONU, and manage this ONU by this ONUID in authorization list, and system is assigned with the grade of service, the bandwidth sum scope of business to this ONUID; OLT meets the business need of user as much as possible according to the actual bandwidth demand that the ONU grade of service of network management configuration and online ONU report.
Shown in Figure 2, the embodiment of the present invention provides the fault-tolerance approach safeguarding ONU state consistency in a kind of PON system, comprises OLT effluent journey and ONU effluent journey two parallel step, wherein,
OLT effluent journey is:
Steps A 1: the SN that local side OLT preservation webmaster issues finds cycle T 1 and ONU authorization list, proceeds to steps A 2;
Steps A 2: open SN and find timer TO1, its time cycle is set to T1; Open ONU status scan timer TO2, and its time cycle (being set to 8 seconds in the present embodiment) is set based on experience value, proceed to steps A 3;
Steps A 3: local side OLT finds, in the time cycle of timer TO1, to carry out ONU detection according to ONU authorization list at SN, regularly gives upstream bandwidth mandate, and upgrade the ONU state table of OLT local maintenance to the legal ONU detected; Wherein, the ONU being in sequence number uploaded state in described upstream bandwidth mandate time slot reports the SN of oneself, and the state in described ONU state table is divided into: Discovery Status, operating state, interim not online 1 state, interim not online 2 states and down status;
Meanwhile, local side OLT, within the time cycle of ONU status scan timer TO2, carries out the scanning of ONU state table, and carries out corresponding state processing according to different ONU states, to find out the actual online state of ONU.
ONU effluent journey is:
Step B1: far-end ONU marks current oneself state, the ONU state of mark comprises: initial condition, sequence number uploaded state and operating state, wherein, the ONU being in sequence number uploaded state reports the sequence number of oneself in the upstream bandwidth mandate time slot that OLT regularly gives, and proceeds to step B2;
Step B2:ONU constantly changes according to the state of different transitions condition to self marker of ONU state machine.
Shown in Figure 3, during practical operation, local side OLT described in steps A 3 finds in the time cycle of timer TO1 at SN, ONU detection is carried out according to ONU authorization list, upstream bandwidth mandate is regularly given to the legal ONU detected, and upgrade the ONU state table of OLT local maintenance, specifically comprise following operation:
Steps A 301: local side OLT finds in the time cycle of timer TO1 at SN, the SN that far-end ONU reports if receive, then compare this SN and ONU authorization list, judge whether there is this SN in authorization list, if so, proceed to steps A 302; Otherwise, report webmaster to find illegal ONU, return steps A 301;
Steps A 302: obtain the ONUID that this SN is corresponding, in the ONU state table of OLT local maintenance by the status indication of ONU corresponding for this ONUID for find, proceed to steps A 303;
Steps A 303:OLT sends ranging message to the ONU of correspondence, if ONU normal response ranging message, proceeds to steps A 304; Otherwise, return steps A 301;
Steps A 304:OLT issues optical link parameter to this ONU, and marking this ONU state is operating state, and OLT is according to the grade of service of ONU and user's request distributing user bandwidth, and maintenance customer's business, proceeds to steps A 305;
Steps A 305:OLT at least gives an ONU upstream bandwidth mandate in continuous 8 downlink frame; Detect the numeration of ONU uplink frame and whether have increase, if uplink frame numeration increases, safeguard that ONU state is that operating state is constant, OLT according to the grade of service of ONU and user's request distributing user bandwidth, maintenance customer's business; Otherwise, upgrade the state of this ONU for interim not online 1 state, issue 3 deactivate_ONU-ID message (deexcitation ONU message) simultaneously.
On this basis, described in steps A 3, carry out the scanning of ONU state table, and process accordingly according to different ONU states, to find out the actual online state of ONU, specifically comprise following operation:
If the state of ONU is interim not online 1 state, send 3 deactivate_ONU-ID message, after time delay, (usual time delay is 1 second) marks the state of this ONU for interim not online 2 states;
If the state of ONU is interim not online 2 states, send 3 deactivate_ONU-ID message, after time delay, (usual time delay is 2 seconds) marks the state of this ONU is down status;
If the state of ONU is operating state, check that this ONU uplink frame is added up, if continuous 8 frames count without this ONU uplink frame, to this ONU management channels bandwidth authorizing, if this ONU3 time does not respond this bandwidth authorizing, then OLT sends 3 deactivate_ONU-ID message, is interim not online 1 state by the status indication of this ONU simultaneously.
Be understandable that, when the ONU state table of OLT local maintenance being upgraded and scanned in the present invention, all follow the transitions condition of state machine as shown in Figure 4.
Shown in Figure 5, in the present invention, ONU constantly changes according to the state of different transitions condition to self marker of ONU state machine as shown in Figure 5.Specifically, in ONU effluent journey, step B2 specifically comprises following operation: if the ONU state of mark is initial condition, when ONU detects downlink frame, then current initial condition is changed into sequence number uploaded state; If the ONU state of mark is sequence number uploaded state, after ONU receives optical link parameter, then current sequence number uploaded state is changed into operating state; If the ONU state of mark is operating state, when continuous 8 downlink frame do not detect the bandwidth authorizing of oneself, then current operating state is changed into sequence number uploaded state.
The embodiment of the present invention also provides the device safeguarding ONU state consistency in a kind of PON system based on above-mentioned fault-tolerance approach, comprise the configure storage unit be located in local side OLT, timer setting unit, SN find unit, ONU status scan unit, and be located at ONU dry state symbol unit in far-end ONU, ONU state changes unit.
Configure storage unit is used for: the SN that preservation webmaster issues finds cycle T 1 and ONU authorization list.
Timer setting unit is used for: open SN and find timer TO1, its time cycle is set to T1; Open ONU status scan timer TO2, and its time cycle is set based on experience value.
SN finds that unit is used for: within the time cycle that SN finds timer TO1, carry out ONU detection according to ONU authorization list, regularly give upstream bandwidth mandate, and upgrade the ONU state table of OLT local maintenance to the legal ONU detected.
Wherein, SN finds that unit comprises ONU detection sub-unit, ONU activates subelement and ONU state table upgrades subelement;
Described ONU detection sub-unit is used for: within the time cycle that SN finds timer TO1, as the SN receiving far-end ONU and report, then this SN and ONU authorization list is compared, judge whether there is this SN in authorization list, if, obtain the ONUID that this SN is corresponding, in the ONU state table of OLT local maintenance by the status indication of ONU corresponding for this ONUID for find; Otherwise, report webmaster to find illegal ONU;
Described ONU activates subelement and is used for: the ONU to correspondence sends ranging message, if ONU normal response ranging message, then issue optical link parameter to this ONU, marking this ONU state is operating state, and according to the grade of service of ONU and user's request distributing user bandwidth, maintenance customer's business;
Described ONU state table upgrades subelement and is used for: under continuous 8 in administrative frame at least to an ONU upstream bandwidth mandate; Detect the numeration of ONU uplink frame and whether have increase, if uplink frame numeration increases, safeguard that ONU state is that operating state is constant, and according to the grade of service of ONU and user's request distributing user bandwidth, maintenance customer's business; Otherwise, upgrade the state of this ONU for interim not online 1 state, issue 3 deactivate_ONU-ID message simultaneously.
ONU status scan unit is used for: within the time cycle of ONU status scan timer TO2, carries out the scanning of ONU state table, and carries out corresponding state processing according to different ONU states, to find out the actual online state of ONU;
Wherein, described ONU status scan unit carries out the scanning of ONU state table, and process accordingly according to different ONU states, to find out the actual online state of ONU, specifically comprise following operation: if the state of ONU is interim not online 1 state, send 3 deactivate_ONU-ID message, after time delay, (usual time delay is 1 second) marks the state of this ONU for interim not online 2 states; If the state of ONU is interim not online 2 states, send 3 deactivate_ONU-ID message, after time delay, (usual time delay is 2 seconds) marks the state of this ONU is down status; If the state of ONU is operating state, check that this ONU uplink frame is added up, if continuous 8 frames count without this ONU uplink frame, to this ONU management channels bandwidth authorizing, if this ONU3 time does not respond this bandwidth authorizing, then OLT sends 3 deactivate_ONU-ID message, is interim not online 1 state by the status indication of this ONU simultaneously.
ONU dry state symbol unit is used for: mark current ONU state, the ONU state of mark comprises: initial condition, sequence number uploaded state and operating state, wherein, the ONU being in sequence number uploaded state reports the sequence number of oneself in the upstream bandwidth mandate time slot that OLT regularly gives.
ONU state changes unit and is used for: constantly change according to the ONU state of different transitions condition to mark of ONU state machine;
Wherein, when the ONU state of described ONU state change to mark constantly changes, following operation is specifically comprised: if the ONU state of mark is initial condition, when ONU detects downlink frame, then current initial condition is changed into sequence number uploaded state; If the ONU state of mark is sequence number uploaded state, after ONU receives optical link parameter, then current sequence number uploaded state is changed into operating state; If the ONU state of mark is operating state, when continuous 8 downlink frame do not detect the bandwidth authorizing of oneself, then current operating state is changed into sequence number uploaded state.
The present invention is not limited to above-mentioned execution mode, and for those skilled in the art, under the premise without departing from the principles of the invention, can also make some improvements and modifications, these improvements and modifications are also considered as within protection scope of the present invention.The content be not described in detail in this specification belongs to the known prior art of professional and technical personnel in the field.

Claims (9)

1. safeguard a fault-tolerance approach for ONU state consistency in PON system, it is characterized in that: this fault-tolerance approach comprises OLT effluent journey and ONU effluent journey two parallel step:
OLT effluent journey:
Steps A 1: the SN that local side OLT preservation webmaster issues finds cycle T 1 and ONU authorization list, proceeds to steps A 2;
Steps A 2: the SN opening OLT finds timer, and its time cycle is set to T1; Open the ONU status scan timer of OLT, its time cycle is set, proceeds to steps A 3;
Steps A 3: local side OLT is simultaneously within the time cycle that SN finds timer, in time cycle of ONU status scan timer, carry out following operation respectively:
Within the time cycle that SN finds timer, carry out ONU detection according to ONU authorization list, regularly give upstream bandwidth mandate to the legal ONU detected, and upgrade the ONU state table of OLT local maintenance;
Within the time cycle of ONU status scan timer, carry out the scanning of ONU state table, carry out corresponding state processing according to different states, to find out the actual online state of ONU;
ONU effluent journey is:
Step B1: far-end ONU marks current oneself state, the ONU state of mark comprises: initial condition, sequence number uploaded state and operating state, the ONU being in sequence number uploaded state reports the sequence number of oneself in the upstream bandwidth mandate time slot that OLT regularly gives, and proceeds to step B2;
Step B2:ONU constantly changes according to the state of different transitions condition to self marker of ONU state machine.
2. safeguard the fault-tolerance approach of ONU state consistency in PON system as claimed in claim 1, it is characterized in that: the state in ONU state table described in steps A 3 is divided into: Discovery Status, operating state, interim not online 1 state, interim not online 2 states and down status; In steps A 3, the operation that local side OLT carries out within the time cycle of SN discovery timer, specifically comprises the following steps:
Steps A 301: at SN, local side OLT finds that, in the time cycle of timer, the SN that far-end ONU reports if receive, then compare this SN and ONU authorization list, judge whether there is this SN in authorization list, if so, proceed to steps A 302; Otherwise, report webmaster to find illegal ONU, return steps A 301;
Steps A 302: obtain the ONUID that this SN is corresponding, in the ONU state table of OLT local maintenance by the status indication of ONU corresponding for this ONUID for find, proceed to steps A 303;
Steps A 303:OLT sends ranging message to the ONU of correspondence, if ONU normal response ranging message, proceeds to steps A 304; Otherwise, return steps A 301;
Steps A 304:OLT issues optical link parameter to this ONU, and marking this ONU state is operating state, and OLT is according to the grade of service of ONU and user's request distributing user bandwidth, and maintenance customer's business, proceeds to steps A 305;
Steps A 305:OLT at least gives an ONU upstream bandwidth mandate in continuous 8 downlink frame; Detect the numeration of ONU uplink frame and whether have increase, if uplink frame numeration increases, safeguard that ONU state is that operating state is constant; Otherwise, upgrade the state of this ONU for interim not online 1 state, and issue 3 deactivate_ONU-ID message.
3. in PON system as claimed in claim 2, safeguard the fault-tolerance approach of ONU state consistency, it is characterized in that: in steps A 3, the operation that local side OLT carries out within the time cycle of ONU status scan timer, specifically comprise the following steps: if the state of ONU is interim not online 1 state, send 3 deactivate_ONU-ID message, after time delay, mark the state of this ONU for interim not online 2 states; If the state of ONU is interim not online 2 states, send 3 deactivate_ONU-ID message, the state marking this ONU after time delay is down status; If the state of ONU is operating state, check that this ONU uplink frame is added up, if continuous 8 frames count without this ONU uplink frame, to this ONU management channels bandwidth authorizing, if do not respond described management channels bandwidth authorizing for this ONU3 time, then OLT sends 3 deactivate_ONU-ID message, is interim not online 1 state by the status indication of this ONU.
4. in PON system as claimed in claim 1, safeguard the fault-tolerance approach of ONU state consistency, it is characterized in that, step B2 specifically comprises following operation: if the ONU state of mark is initial condition, when ONU detects downlink frame, then current initial condition is changed into sequence number uploaded state; If the ONU state of mark is sequence number uploaded state, after ONU receives optical link parameter, then current sequence number uploaded state is changed into operating state; If the ONU state of mark is operating state, when continuous 8 downlink frame do not detect the bandwidth authorizing of oneself, then current operating state is changed into sequence number uploaded state.
5. safeguard the fault-tolerance approach of ONU state consistency in the PON system according to any one of Claims 1-4, it is characterized in that: the time cycle of described ONU status scan timer is set to 8 seconds.
6. in the PON system based on fault-tolerance approach described in claim 1, safeguard the device of ONU state consistency, it is characterized in that: this device comprises the configure storage unit be located in local side OLT, timer setting unit, SN find unit, ONU status scan unit, and be located at ONU dry state symbol unit in far-end ONU, ONU state changes unit;
Described configure storage unit is used for: the SN that preservation webmaster issues finds cycle T 1 and ONU authorization list;
Described timer setting unit is used for: the SN opening OLT finds timer, and its time cycle is set to T1; Open the ONU status scan timer of OLT, and its time cycle is set;
Described SN finds that unit is used for: within the time cycle that SN finds timer, carry out ONU detection according to ONU authorization list, regularly give upstream bandwidth mandate, and upgrade the ONU state table of OLT local maintenance to the legal ONU detected;
Described ONU status scan unit is used for: within the time cycle of ONU status scan timer, carries out the scanning of ONU state table, carries out corresponding state processing according to different ONU states, to find out the actual online state of ONU;
Described ONU dry state symbol unit is used for: mark current ONU state, and the ONU state of mark comprises: initial condition, sequence number uploaded state and operating state; The ONU being in sequence number uploaded state reports the sequence number of oneself in the upstream bandwidth mandate time slot that OLT regularly gives;
Described ONU state changes unit and is used for: constantly change according to the ONU state of different transitions condition to mark of ONU state machine.
7. safeguard the device of ONU state consistency in PON system as claimed in claim 6, it is characterized in that: the state in described ONU state table is divided into: Discovery Status, operating state, interim not online 1 state, interim not online 2 states and down status; Described SN finds that unit comprises ONU detection sub-unit, ONU activates subelement and ONU state table upgrades subelement;
Described ONU detection sub-unit is used for: within the time cycle that SN finds timer, as the SN receiving far-end ONU and report, then this SN and ONU authorization list is compared, judge whether there is this SN in authorization list, if, obtain the ONUID that this SN is corresponding, in the ONU state table of OLT local maintenance by the status indication of ONU corresponding for this ONUID for find; Otherwise, report webmaster to find illegal ONU;
Described ONU activates subelement and is used for: the ONU to correspondence sends ranging message, if ONU normal response ranging message, then issue optical link parameter to this ONU, marking this ONU state is operating state, according to the grade of service and the user's request distributing user bandwidth of ONU, maintenance customer's business;
Described ONU state table upgrades subelement and is used for: under continuous 8 in administrative frame at least to an ONU upstream bandwidth mandate; Detect the numeration of ONU uplink frame and whether have increase, if uplink frame numeration increases, safeguard that ONU state is that operating state is constant; Otherwise, upgrade the state of this ONU for interim not online 1 state, issue 3 deactivate_ONU-ID message simultaneously.
8. in PON system as claimed in claim 7, safeguard the device of ONU state consistency, it is characterized in that: described ONU status scan unit carries out the scanning of ONU state table, and process accordingly according to different ONU states, to find out the actual online state of ONU, specifically comprise following operation:
If the state of ONU is interim not online 1 state, send 3 deactivate_ONU-ID message, after time delay, mark the state of this ONU for interim not online 2 states;
If the state of ONU is interim not online 2 states, send 3 deactivate_ONU-ID message, the state marking this ONU after time delay is down status;
If the state of ONU is operating state, check that this ONU uplink frame is added up, if continuous 8 frames count without this ONU uplink frame, to this ONU management channels bandwidth authorizing, if do not respond described management channels bandwidth authorizing for this ONU3 time, then OLT sends 3 deactivate_ONU-ID message, is interim not online 1 state by the status indication of this ONU.
9. in PON system as claimed in claim 6, safeguard the device of ONU state consistency, it is characterized in that: when the ONU state of described ONU state change unit to mark constantly changes, specifically comprise following operation: if the ONU state of mark is initial condition, when ONU detects downlink frame, then current initial condition is changed into sequence number uploaded state; If the ONU state of mark is sequence number uploaded state, after ONU receives optical link parameter, then current sequence number uploaded state is changed into operating state; If the ONU state of mark is operating state, when continuous 8 downlink frame do not detect the bandwidth authorizing of oneself, then current operating state is changed into sequence number uploaded state.
CN201610111065.2A 2016-02-29 2016-02-29 The fault-tolerance approach and device of ONU state consistency are safeguarded in PON system Active CN105516833B (en)

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 true CN105516833A (en) 2016-04-20
CN105516833B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111010628A (en) * 2019-11-30 2020-04-14 华为技术有限公司 Uplink resource authorization method, related device and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
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
US20060110161A1 (en) * 2004-11-20 2006-05-25 Electronics And Telecommunications Research Institute Method and apparatus for monitoring optical fibers of passive optical 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)

Patent Citations (7)

* Cited by examiner, † Cited by third party
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
US20060110161A1 (en) * 2004-11-20 2006-05-25 Electronics And Telecommunications Research Institute Method and apparatus for monitoring optical fibers of passive optical 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111010628A (en) * 2019-11-30 2020-04-14 华为技术有限公司 Uplink resource authorization method, related device and computer readable storage medium
CN111010628B (en) * 2019-11-30 2021-06-29 华为技术有限公司 Uplink resource authorization method, related device and computer readable storage medium

Also Published As

Publication number Publication date
CN105516833B (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN100438505C (en) Passive optic network user terminal and its power control and state reporting method
CN108964756B (en) Fault detection method and device of optical distribution network and passive optical network system
CN102917286A (en) Hand-in-hand protection switching method and system in EPON (Ethernet Passive Optical Network)
CN106330573B (en) FTTH-based method for automatically corresponding terminal and template
CN103763148B (en) ONU automatic authorization configuration recovery method
CN102740174B (en) Method for managing ONU (optical network unit) access in GPON (gigabit passive optical network) system
CN106412730B (en) A kind of method of remote batch upgrading ONU system software under Boot environment
CN109698758A (en) A kind of network resource information check method and system
CN102970071B (en) The method and system of the fast quick-recovery of business after a kind of 10G EPON system power-off restarting
CN110460371B (en) Optical resource checking method and system
CN103368650A (en) Method for configuring optical communication network
CN104080020A (en) Method and device for automatically issuing ONU device configuration
CN102035597B (en) Method, device and system for switching between main terminal and standby terminal of passive optical network (PON)
CN102752041A (en) Method for detecting frequent-light-emission optical network units (ONUs) in gigabit passive optical network (GPON) system
CN103200395A (en) Intelligent fault report optical transceiver and network management client system thereof
CN104469561B (en) The method and device of illegal manufacturer ONU access capabilities is controlled in GPON systems
CN101989888B (en) Indicating method and system for opening/closing forward error correction coding (FEC) function
CN102571353A (en) Method for verifying legitimacy of home gateway in passive optical network
CN101047443B (en) Fault detection debugging method of passive optical network system and communication message device
CN106992986A (en) A kind of method and system of hybrid authentication
CN102932171B (en) Optical network unit (ONU) certification authorization management method based on License resource control
CN105516833A (en) Fault tolerance method and device for maintaining ONU (optical network unit) state consistency in PON (passive optical network) system
CN103701519B (en) The standby usage decision method of EPON
CN103036715B (en) Device management method, device and corresponding network management system
CN102158308B (en) Method and system for configuring uplink forward error correction flow

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