CN110166858A - The ONU adaptive method for switching of PON network - Google Patents

The ONU adaptive method for switching of PON network Download PDF

Info

Publication number
CN110166858A
CN110166858A CN201910462416.8A CN201910462416A CN110166858A CN 110166858 A CN110166858 A CN 110166858A CN 201910462416 A CN201910462416 A CN 201910462416A CN 110166858 A CN110166858 A CN 110166858A
Authority
CN
China
Prior art keywords
pon
network
onu
mode
error counter
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
CN201910462416.8A
Other languages
Chinese (zh)
Other versions
CN110166858B (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.)
Shenzhen Hua Hua Software Technology Co Ltd
Original Assignee
Shenzhen Hua Hua Software Technology 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 Shenzhen Hua Hua Software Technology Co Ltd filed Critical Shenzhen Hua Hua Software Technology Co Ltd
Priority to CN201910462416.8A priority Critical patent/CN110166858B/en
Publication of CN110166858A publication Critical patent/CN110166858A/en
Application granted granted Critical
Publication of CN110166858B publication Critical patent/CN110166858B/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
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects

Landscapes

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

Abstract

The present invention relates to a kind of ONU adaptive method for switching of PON network, comprising steps of obtaining the current PON mode of ONU;Configuration error counter is simultaneously initialized as 0;Whether detection fiber is inserted into;If detecting, optical fiber is not inserted into, and the error counter is reset to 0;If detecting, optical fiber has been inserted into, and judges whether the current value of the error counter is greater than predetermined value;If the current value of the error counter is greater than predetermined value, switch PON mode and restarting equipment.The present invention can detect the network mode of local side automatically, and automatically switch the operating mode of ONU according to the network mode, with the hsrdware requirements of automatic adaptation current network mode.

Description

The ONU adaptive method for switching of PON network
Technical field
The present invention relates to network communication technology field, in particular to the ONU adaptive method for switching of a kind of PON network.
Background technique
ONU (Optical Network Unit, optical network unit) is the terminal network appliance of user a kind of, uplink side It is connected to OLT (Optical Line Terminal, optical line terminal) with optical fiber, down direction passes through the side such as cable, Wlan The mobile phone of formula and terminal user, smart television and apparatus such as computer connection, provide online, IPTV and voice service for terminal user Etc. business.
Fiber to the home generally uses PON (Passive Optical Network, passive optical-fiber network) technology at present, and With the development of network technology, the network mode of mainstream mainly has EPON (Ethernet Passive Optical at present Network, Ethernet passive optical network) and two kinds of GPON (Gigabit-Capable PON), to be based on existing Ethernet User provides multiple business service, with many merits, the quilt such as high bandwidth, high efficiency, large coverage, user interface be abundant Most of operators are considered as realization and access the desirable technique that network service is broadband, and synthesization is transformed.
Online now, some areas exist simultaneously two kinds of networks of GPON and EPON, may when user handles intelligent acess The problem of network switching can be faced, and current ONU equipment only supports a kind of network mode, if wanting handover network, needs more Current ONU equipment is changed, is made troubles to user, and the use cost that will cause user increases.
Summary of the invention
Based on this, it is necessary to provide a kind of ONU adaptive method for switching of PON network, the network of local side can be detected automatically Mode, and according to the operating mode of network mode automatic switchover ONU, with the hsrdware requirements of automatic adaptation current network mode.
For achieving the above object, the present invention uses following technical scheme.
The present invention provides a kind of ONU adaptive method for switching of PON network, suitable for switching different PON modes to be adapted to Different PON network, comprising the following steps:
Obtain the current PON mode of ONU;
Configuration error counter is simultaneously initialized as 0;
Whether detection fiber is inserted into;
If detecting, optical fiber is not inserted into, and the error counter is reset to 0;
If detecting, optical fiber has been inserted into, and judges whether the current value of the error counter is greater than predetermined value;
If the current value of the error counter is greater than predetermined value, switch PON mode and restarting equipment.
Preferably, it further comprises the steps of:
If the current value of the error counter is not more than predetermined value, the state for continuing to monitor current PON mode is It is no normal.
Preferably, the whether normal step of the state for continuing to monitor current PON mode further comprises:
If current PON mode is GPON network mode, detect whether GPON state is O1 state;
If so, error counter is added 1;Otherwise, error counter is reset to 0.
Preferably, the whether normal step of the state for continuing to monitor current PON mode further comprises:
If current PON mode is EPON network mode, detect whether the network packet received is increasing;
If so, error counter is reset to 0, otherwise, by error counter plus 1.
Preferably, the predetermined value is 4~6 times.
Preferably, after the configuration error counter and the step of be initialized as 0, whether the detection fiber be inserted into The step of before, further comprise the steps of:
Make the ONU suspend mode predetermined time.
It preferably, further include following after described the step of error counter is reset to 0 or error counter is added 1 Step:
Make the ONU suspend mode predetermined time.
Preferably, the predetermined time is 2~3 seconds.
Whether the present invention is inserted by detection fiber and whether the error counter of ONU is greater than predetermined value to judge currently Whether PON mode matches current network mode, if being judged as mismatch, automatically switches PON mode to adapt to current network mould Formula, to be answered by adjusting the PON mode of ONU itself to achieve the effect that oneself.The present invention supports GPON, EPON double mode adaptive It should switch, the network mode used by detecting local side automatically, and modify inherent parameters automatically, implementation pattern switching makes user Replacement ONU is not needed when switching route or upgrades software, is greatly facilitated the network upgrade and business development of user, is also reduced The use cost of user.
Detailed description of the invention
Fig. 1 is the flow diagram of the ONU adaptive method for switching of PON network in the present embodiment.
Specific embodiment
With reference to the accompanying drawing and specific embodiment is described further.
As shown in Figure 1, the present embodiment provides a kind of ONU adaptive method for switching of PON network, for different in switching When PON network route, ONU equipment can automatically detect and modify automatically inherent parameters, to be switched to corresponding operating mode, Realize adaptive switching.
The above method mainly comprises the steps that
S1: the current PON mode of ONU is obtained;
S2: configuration error counter is simultaneously initialized as 0;
S3: whether detection fiber is inserted into;
S4: if detecting, optical fiber is not inserted into, and error counter is reset to 0;
S5: if detecting, optical fiber has been inserted into, and whether the current value for the counter that judges incorrectly is greater than predetermined value;
S6: if the current value of error counter is greater than predetermined value, switch PON mode and restarting equipment.
The ONU equipment that the present embodiment uses have GPON and EPON double working modes, can adapt to respectively GPON network and EPON network.
After ONU equipment booting, monitoring process starts automatically, so as to the whether normal incoming fiber optic of real-time monitoring ONU equipment, And whether the current network of detecting is normal.
Above-mentioned error counter often detects primary network event for detecting at regular intervals to current network Barrier, then counter adds 1.After equipment is restarted, error counter is initialized to 0.
In the present embodiment, whether detection fiber has been inserted into ONU equipment first, if not having, is considered as network failure, will Error counter resets to 0, and return step S3 is continued to test.
If detecting, optical fiber has been inserted into ONU equipment, continues to detect whether network has other failures, if detecting still There are failures, then counter values continue growing, until its current value is greater than predetermined value.
When the numerical value of above-mentioned counter is greater than predetermined value, it is believed that after multiple network joins again, network there are still failure, It is can determine that at this time as the operating mode of current ONU equipment and current network mode mismatch, and therefore, ONU automatically switches PON Mode (operating mode), and restarting equipment comes into force.
If error counter does not detect more network failures, i.e. current value is not more than predetermined value always, not It is normal for representing current network, at this point, the present embodiment increases following steps:
S7: if the current value of the error counter is not more than predetermined value, continue the state for monitoring current PON mode It is whether normal.
Whether the state for detecting current PON mode can normally be realized by the following method:
If current PON mode is GPON network mode, following methods are used:
S711: whether detection GPON state is O1 state;
S712: if so, error counter is added 1.
If current PON mode is EPON network mode, following methods are used:
S721: detect whether the network packet received is increasing;
S722: if it is not, error counter is then added 1.
In above-mentioned steps, since current PON mode may be GPON or EPON mode, and the inspection to GPON and EPON mode Survey method is different.
For GPON mode, usually there are multiple states, and O1 is abnormal condition, O2~O7 is normal condition, Therefore, as long as the state of detection ONU equipment is that O1 may know that current network is abnormal condition.At this time, it may be necessary to further detect It surveys.
For EPON mode, can most simple effective method be to receive detection network packet, if ONU equipment is received To network packet increasing, show that current network is normal, at this point, can be by counter clear 0, and detect again network-like State.
To avoid accidentally surveying, the present embodiment sets a predetermined value to the errors number of error counter, which is preferably 4 ~6 times.When errors number reaches this value, it can just be determined as that the operating mode of current network mode and ONU equipment mismatches, Need to switch the operating mode of ONU.
After detecting network failure, error counter adds 1, leads to error counter mistake to avoid the occurrence of network delay It counts, the present embodiment also increases following steps:
S8: make the ONU suspend mode predetermined time.
Step S8 is located at after step S2, before step S3.It should be noted that the ONU suspend mode refers to ONU's The suspend mode of monitoring process is not necessarily referring to the Network Process Unit suspend mode of ONU.
In the present embodiment, after counter initialization after perhaps counter adds 1 or after counter is reset as 0, make ONU Step S8 is gone to, monitoring process sleep step is executed, helps more accurately to detect network state, reduces false detection rate.
The length of time of ONU suspend mode can be freely arranged, but be advisable with 2-3 seconds.
By above-mentioned setting, ONU can detect the network mode that local side uses automatically, so as to when network mode mismatches The operating mode that itself can be switched in time can be adapted to current network, realize adaptive network connection.
In conclusion whether the present invention is inserted by detection fiber and whether the error counter of ONU is greater than predetermined value Judge whether current PON mode matches current network mode, if being judged as mismatch, automatically switches PON mode to adapt to Current network mode, to be answered by adjusting the PON mode of ONU itself to achieve the effect that oneself.The present invention supports GPON, EPON Double mode adaptively switches, the network mode used by detecting local side automatically, and modifies inherent parameters automatically, and implementation pattern is cut It changes, so that user is not needed replacement ONU when switching route or is upgraded software, the network upgrade and business for greatly facilitating user are opened up Exhibition, also reduces the use cost of user.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Protect range.

Claims (8)

1. the ONU adaptive method for switching of a kind of PON network, suitable for switching different PON modes to be adapted to different PON nets Network, which comprises the following steps:
Obtain the current PON mode of ONU;
Configuration error counter is simultaneously initialized as 0;
Whether detection fiber is inserted into;
If detecting, optical fiber is not inserted into, and the error counter is reset to 0;
If detecting, optical fiber has been inserted into, and judges whether the current value of the error counter is greater than predetermined value;
If the current value of the error counter is greater than predetermined value, switch PON mode and restarting equipment.
2. the ONU adaptive method for switching of PON network as described in claim 1, which is characterized in that further comprise the steps of:
If the current value of the error counter is not more than predetermined value, whether just to continue to monitor the state of current PON mode Often.
3. the ONU adaptive method for switching of PON network as claimed in claim 2, which is characterized in that described to continue monitoring currently The whether normal step of the state of PON mode further comprises:
If current PON mode is GPON network mode, detect whether GPON state is O1 state;
If so, error counter is added 1;Otherwise, error counter is reset to 0.
4. the ONU adaptive method for switching of PON network as claimed in claim 2, which is characterized in that described to continue monitoring currently The whether normal step of the state of PON mode further comprises:
If current PON mode is EPON network mode, detect whether the network packet received is increasing;
If so, error counter is reset to 0, otherwise, by error counter plus 1.
5. the ONU adaptive method for switching of the PON network as described in any one of Claims 1 to 4, which is characterized in that described Predetermined value is 4~6 times.
6. the ONU adaptive method for switching of the PON network as described in any one of Claims 1 to 4, which is characterized in that in institute After the step of stating configuration error counter and being initialized as 0, the step of whether the detection fiber is inserted into before, further include step It is rapid:
Make the ONU suspend mode predetermined time.
7. the ONU adaptive method for switching of PON network as claimed in claim 6, which is characterized in that described by error counter It is further comprising the steps of after the step of resetting to 0 or error counter is added 1:
Make the ONU suspend mode predetermined time.
8. the ONU adaptive method for switching of PON network as claimed in claim 7, which is characterized in that the predetermined time is 2 ~3 seconds.
CN201910462416.8A 2019-05-30 2019-05-30 ONU self-adaptive switching method of PON network Active CN110166858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910462416.8A CN110166858B (en) 2019-05-30 2019-05-30 ONU self-adaptive switching method of PON network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910462416.8A CN110166858B (en) 2019-05-30 2019-05-30 ONU self-adaptive switching method of PON network

Publications (2)

Publication Number Publication Date
CN110166858A true CN110166858A (en) 2019-08-23
CN110166858B CN110166858B (en) 2021-12-07

Family

ID=67630025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910462416.8A Active CN110166858B (en) 2019-05-30 2019-05-30 ONU self-adaptive switching method of PON network

Country Status (1)

Country Link
CN (1) CN110166858B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112672238A (en) * 2020-12-28 2021-04-16 武汉长光科技有限公司 Method for ONU to adaptively access PON
CN113596631A (en) * 2021-07-23 2021-11-02 上海市共进通信技术有限公司 Method for realizing PON type automatic switching based on key state change

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043399A (en) * 2006-06-28 2007-09-26 华为技术有限公司 Ethernet duplex mode matching method
WO2010111923A1 (en) * 2009-04-02 2010-10-07 华为技术有限公司 Passive optical network protection method, master-standby switch control device and system
CN102149025A (en) * 2010-02-04 2011-08-10 华为技术有限公司 Interface matching method, device and system for PON (passive optical network)
WO2013053248A1 (en) * 2011-10-12 2013-04-18 中兴通讯股份有限公司 Method and apparatus for processing uplink data abnormity
CN104540046A (en) * 2015-01-07 2015-04-22 上海市共进通信技术有限公司 Method for achieving intelligent ONU double-light source adaptation based on optical network unit
CN107529100A (en) * 2016-06-21 2017-12-29 中兴通讯股份有限公司 EPON mode switching method and device, passive optical network equipment and system
CN107547952A (en) * 2017-09-22 2018-01-05 烽火通信科技股份有限公司 ONU adapts to that 10G/10G is symmetrical and the asymmetrical method and system of 10G/1G
CN109819353A (en) * 2019-01-30 2019-05-28 网经科技(苏州)有限公司 A kind of method of gateway adaptive access passive optical network

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043399A (en) * 2006-06-28 2007-09-26 华为技术有限公司 Ethernet duplex mode matching method
WO2010111923A1 (en) * 2009-04-02 2010-10-07 华为技术有限公司 Passive optical network protection method, master-standby switch control device and system
CN102149025A (en) * 2010-02-04 2011-08-10 华为技术有限公司 Interface matching method, device and system for PON (passive optical network)
WO2013053248A1 (en) * 2011-10-12 2013-04-18 中兴通讯股份有限公司 Method and apparatus for processing uplink data abnormity
CN104540046A (en) * 2015-01-07 2015-04-22 上海市共进通信技术有限公司 Method for achieving intelligent ONU double-light source adaptation based on optical network unit
CN107529100A (en) * 2016-06-21 2017-12-29 中兴通讯股份有限公司 EPON mode switching method and device, passive optical network equipment and system
CN107547952A (en) * 2017-09-22 2018-01-05 烽火通信科技股份有限公司 ONU adapts to that 10G/10G is symmetrical and the asymmetrical method and system of 10G/1G
CN109819353A (en) * 2019-01-30 2019-05-28 网经科技(苏州)有限公司 A kind of method of gateway adaptive access passive optical network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112672238A (en) * 2020-12-28 2021-04-16 武汉长光科技有限公司 Method for ONU to adaptively access PON
CN113596631A (en) * 2021-07-23 2021-11-02 上海市共进通信技术有限公司 Method for realizing PON type automatic switching based on key state change

Also Published As

Publication number Publication date
CN110166858B (en) 2021-12-07

Similar Documents

Publication Publication Date Title
US8433194B2 (en) Communications network
US8842990B2 (en) Method and apparatus for detecting rogue optical network unit in passive optical network
US9118433B2 (en) GPON OAM using IEEE 802.1ag methodology
CN112567647B (en) PON fault positioning method and device
EP3479526B1 (en) Broadband access devices having a radio link
CN101931460B (en) Link fault detection method, device and system
US8249446B2 (en) Method and apparatus for regulating rogue behavior in optical network transmission devices
EP1990950A1 (en) A management method for passive optical network terminal and system thereof
US9755736B2 (en) Smart remote node optical network unit and operation method thereof
WO2005081828A2 (en) System, method, and apparatus for connectivity testing
US8145057B2 (en) Method for localizing an optical termination device in a passive optical network
CN110166858A (en) The ONU adaptive method for switching of PON network
CN101369846A (en) Passive optical network signal monitoring method and electric relay reactivator
US20080037563A1 (en) Method and apparatus for automatically detecting and configuring service ports of an optical network terminal (ONT)
US20090317087A1 (en) Configurable control for network device operation
KR20170093946A (en) Method, device and system for detecting rogue optical network unit
US20090067832A1 (en) Method and Apparatus for Verifying Signaling Values in an Optical Distribution Network
US9680568B2 (en) Method and apparatus for alien device identification in passive optical networks
US8683237B2 (en) System and method for resetting power of optical network terminal when a number of predefined hook flash signals generated by a telecommunication device detected at the customer's premises
CN110446125A (en) Optical network system, optical path switching method, light switching command delivery method and optical branching equipment
EP2938050B1 (en) Voip terminal and ringing parameter setting method therefor
CN116916196A (en) Optimization method and device for passive optical network, electronic equipment and storage medium
CN112672238A (en) Method for ONU to adaptively access PON
KR101453974B1 (en) System and Method for Determining Optical Fiber Failure Section

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant