CN102868945B - The upgrade method of ONU in a kind of EPON - Google Patents
The upgrade method of ONU in a kind of EPON Download PDFInfo
- Publication number
- CN102868945B CN102868945B CN201210389344.7A CN201210389344A CN102868945B CN 102868945 B CN102868945 B CN 102868945B CN 201210389344 A CN201210389344 A CN 201210389344A CN 102868945 B CN102868945 B CN 102868945B
- Authority
- CN
- China
- Prior art keywords
- onu
- epon
- upgrade
- olt
- activate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 230000004044 response Effects 0.000 claims abstract description 30
- 230000009471 action Effects 0.000 claims abstract description 20
- 230000008569 process Effects 0.000 abstract description 16
- 230000003287 optical effect Effects 0.000 description 3
- 230000004888 barrier function Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
Landscapes
- Communication Control (AREA)
Abstract
The present invention relates to the upgrade method of a kind of EPON, specifically disclose the upgrade method of ONU in a kind of EPON, according to the upgrade status of ONU, when ONU needs Activate or Commit, then start corresponding timer, and within the time of setting, wait for that Activate or Commit of ONU responds, if if receive response within the time of this setting, represent and be successfully completed this action, if do not receive response in this official hour, then resend Activate or Commit order, and response ought be received in continuous print number of retransmissions at the appointed time, also represent and be successfully completed this action, if continuous print number of retransmissions adduction is not responded at the appointed time, then disconnect, and error message is reported webmaster, and then ensure that carrying out smoothly of Activate and Commit Software Mirroring process, and effectively raise the reliability of the software upgrade process of ONU.
Description
Technical field
The present invention relates to the upgrade method of a kind of EPON, particularly relate to the upgrade-system of ONU in a kind of EPON.
Background technology
At present, at EPON(ethernet passive optical network, EthernetPassiveOpticalNetwork) in connecting system, ONU(optical node, OpticalNetworkUnit) software upgrading mainly comprise downloading process and Activate and the Commit Software Mirroring process of ONU upgrade software; Wherein, OLT(optical line terminal, opticallineterminal) communication and between ONU then adopts the Ethernet protocol of two layers, with MPCP(Multi-point Control Protocol, Multi-PointControlProtocol) OAM(Operations, Administration and Maintenance in, OperationAdministrationandMaintenance) passage is carrier, upgrade command and upgrade image is encapsulated in OAM data frame by OLT and carries out transmitting (see " China Telecom's EPON equipment technical requirement ").
Transmit owing to using double layer network, when network occurs congested, busy, easily cause the loss of message, for avoiding the situation occurring packet loss in the downloading process at ONU software, disclose the downloading process adopting Retransmission timeout mechanism to carry out ONU software in " China Telecom's EPON equipment technical requirement ", but Activate and Commit Software Mirroring process is not then illustrated; As the essential condition of the reliability of the software upgrade process of ONU, how to guarantee carrying out smoothly of Activate and Commit Software Mirroring process, become current volume technical barrier to be solved.
Summary of the invention
For the problems referred to above existed in existing EPON upgrade method, now provide the upgrade method of ONU in the EPON carried out smoothly of a kind of Activate of guaranteeing and Commit Software Mirroring process.
Concrete technical scheme is as follows:
A upgrade method of ONU in EPON, wherein, comprises the following steps:
Step S1:OLT sends a command to ONU, and starts timer;
Step S2: after being sent completely, OLT judge whether to receive response in the given time;
Step S3: if receive response, then perform next action;
Step S4: if do not receive response, then whether the number of times continuing to judge whether to send a command to ONU at the appointed time continuously exceeds set point number;
Step S5: if do not exceed described set point number, OLT resends order to ONU, and repeat step S2-S4 successively;
Step S6: if exceed described set point number, then break link, and error message is reported webmaster.
The upgrade method of ONU in above-mentioned EPON, wherein, starts described timer according to the upgrade status of ONU.
The upgrade method of ONU in above-mentioned EPON, wherein, described order comprises Activate order or Commit order.
The upgrade method of ONU in above-mentioned EPON, wherein, the upgrade status of ONU is programming when completing, and OLT just sends Activate order to ONU, and starts Activate timer.
The upgrade method of ONU in above-mentioned EPON, wherein, when ONU state is for having restarted, OLT just sends Commit order to ONU, and starts Commit timer.
The upgrade method of ONU in above-mentioned EPON, wherein, according to the different upgrade images setting described scheduled time and described stipulated time.
The upgrade method of ONU in above-mentioned EPON, wherein, the described scheduled time and described stipulated time are all directly proportional to the size of upgrade image.
The upgrade method of ONU in above-mentioned EPON, wherein, the described scheduled time is less than or equal to the described stipulated time.
The upgrade method of ONU in above-mentioned EPON, wherein, sets described set point number according to the upgrade requirement of ONU.
The upgrade method of ONU in above-mentioned EPON, wherein, is applied in the OLT device of EPON.
The upgrade method of ONU in a kind of EPON of the present invention, according to the upgrade status of ONU, when ONU needs Activate or Commit, then start corresponding timer, and within the time of setting, wait for that Activate or Commit of ONU responds, if if receive response within the time of this setting, represent and be successfully completed this action, if do not receive response in this official hour, then resend Activate or Commit order, and the response of ONU ought be received at the appointed time in continuous print number of retransmissions, also represent and be successfully completed this action, if do not receive the response of ONU at the appointed time in continuous print number of retransmissions, then disconnect, and error message is reported webmaster, and then ensure that carrying out smoothly of Activate and Commit Software Mirroring process, and effectively raise the reliability of the software upgrade process of ONU.
Accompanying drawing explanation
Fig. 1 is embodiment one schematic flow sheet of the upgrade method of ONU in a kind of EPON of the present invention;
Fig. 2 is embodiment two schematic flow sheet of the upgrade method of ONU in a kind of EPON of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, the invention will be further described, but not as limiting to the invention.
The upgrade method of ONU in a kind of EPON of the present invention, be applied in the OLT device of EPON, first, when ONU carry out upgrading need Activate or Commit time, because Activate order is that the mirror image programming will upgraded based on ONU sends in flash, and Commit order is sent in after ONU completes and restart, so the time confidential upgrade status according to ONU starting timer is specifically determined, namely according to the upgrade status of ONU, OLT sends a command to ONU; Upgrade status as ONU is programming when completing, and OLT just sends Activate order to ONU, and starts Activate timer, and if ONU state has been restarted time, OLT then sends Commit order to ONU, and starts Commit timer; Wherein, by a task of timer, to be used for inquiring about the upgrade status of ONU, and then send Activate or Commit order, and only start corresponding timer when the first time of this subcommand action sends and orders.
Secondly, after order is sent completely, OLT judges whether in the time slot of predetermined Retransmission timeout, to receive ONU about the response receiving order, if OLT receives response, then illustrates that command action completes, and continues to perform next action; If OLT does not receive response in the time slot of predetermined Retransmission timeout, OLT then judges whether that the number of times of continuous retransmission order is at the appointed time being less than or equal to the number of retransmissions of regulation further, if the number of times retransmitted is less than or equal to the number of retransmissions of this regulation, OLT resends with order identical before to ONU, and repeats the step that above-mentioned judgement receives response; If the number of times retransmitted is greater than the number of retransmissions of this regulation, then illustrate that command action does not complete, and disconnects, and error message is reported webmaster to carry out analyzing and processing.
Due to, Activate order allows be restarted by the ONU that upgrade image programming completes, and Commit order allows the active and standby memory block of ONU exchange, and the real-time of these two processes is not high, even can due to different ONU, different upgrade images makes reboot time and active and standby memory block reciprocal time also be not quite similar.If the stipulated time of the time slot of predetermined Retransmission timeout and continuous retransmission order is too short, order in the time slot of setting is easily caused to transmit successfully and the situation of response cannot be received, if the stipulated time of the time slot of predetermined Retransmission timeout and continuous retransmission order is long, the efficiency of escalation process can be made too low.So the time slot of predetermined Retransmission timeout and the stipulated time of continuous retransmission order will arrange different time slots and stipulated time according to different upgrade images, and this time slot and stipulated time are all directly proportional to the size of upgrade image.
Further, the stipulated number of continuous retransmission order sets according to the upgrade requirement of ONU.
Embodiment one
As shown in Figure 1, setting ONU needs Activate order, and the stipulated number of continuous retransmission order is set as 3; First, by task of timer, the upgrade status of inquiry ONU, when the upgrade status of ONU be programming complete time, OLT just sends Activate order to ONU, and the only startup Activate timer when the first time transmission of this Activate action; Secondly, after Activate order is sent completely, OLT judges whether in the time slot of predetermined Retransmission timeout, to receive ONU about the response successfully receiving Activate order, if OLT receives response, then illustrate that Activate command action completes, and continue to perform next action; If OLT does not receive ONU about the response successfully receiving Activate in the time slot of predetermined Retransmission timeout, then judge whether that the number of times of continuous retransmission order is at the appointed time being less than or equal to the number of retransmissions 3 of regulation further, if the number of times retransmitted is less than or equal to 3, then OLT resends with Activate order identical before to ONU, and repeats the step that above-mentioned judgement successfully receives Activate response; If the number of times retransmitted is greater than 3, then illustrate that command action does not complete, and disconnects, and error message is reported webmaster to carry out analyzing and processing.
Embodiment two
On the basis of embodiment one, as shown in Figure 2, setting ONU needs Commit order, and the stipulated number of continuous retransmission order is also set as 3; First, by task of timer, the upgrade status of inquiry ONU, when the upgrade status of ONU is for having restarted, OLT has just sent Commit order to ONU, and only starts Commit timer when the first time of this Commit action sends; Secondly, after Commit order is sent completely, OLT judges whether in the time slot of predetermined Retransmission timeout, to receive ONU about the response successfully receiving Commit order, if OLT receives response, then illustrate that Commit command action completes, and continue to perform next action; If OLT does not receive ONU about the response successfully receiving Commit in the time slot of predetermined Retransmission timeout, then judge whether that the number of times of continuous retransmission order is at the appointed time being less than or equal to the number of retransmissions 3 of regulation further, if the number of times retransmitted is less than or equal to 3, then OLT resends with Commit order identical before to ONU, and repeats the step that above-mentioned judgement successfully receives Commit response; If the number of times retransmitted is greater than 3, then illustrate that command action does not complete, and disconnects, and error message is reported webmaster to carry out analyzing and processing.
The upgrade method of ONU in a kind of EPON of the present invention, according to the upgrade status of ONU, when ONU needs Activate or Commit, then start corresponding timer, and within the time of setting, wait for that Activate or Commit of ONU responds, if if receive response within the time of this setting, represent and be successfully completed this action, if do not receive response in this official hour, then resend Activate or Commit order, and the response of ONU ought be received at the appointed time in continuous print number of retransmissions, also represent and be successfully completed this action, if do not receive the response of ONU at the appointed time in continuous print number of retransmissions, then disconnect, and error message is reported webmaster, and then ensure that carrying out smoothly of Activate and Commit Software Mirroring process, and effectively raise the reliability of the software upgrade process of ONU.
The foregoing is only preferred embodiment of the present invention; not thereby embodiments of the present invention and protection range is limited; to those skilled in the art; should recognize and all should be included in the scheme that equivalent replacement done by all utilizations specification of the present invention and diagramatic content and apparent change obtain in protection scope of the present invention.
Claims (9)
1. a upgrade method of ONU in EPON, is characterized in that, be applied in the OLT device of EPON, comprise the following steps:
Step S1: the upgrade status OLT according to ONU sends a command to ONU, and starts timer;
Step S2: after being sent completely, OLT judge whether to receive response in the given time;
Step S3: if receive response, then perform next action;
Step S4: if do not receive response, then whether the number of times continuing to judge whether to send a command to ONU at the appointed time continuously exceeds set point number;
Step S5: if do not exceed described set point number, OLT resends order to ONU, and repeat step S2-S4 successively;
Step S6: if exceed described set point number, then break link, and error message is reported webmaster;
Wherein, described order comprises Activate order or Commit order.
2. the upgrade method of ONU in EPON as claimed in claim 1, is characterized in that, start described timer according to the upgrade status of ONU.
3. the upgrade method of ONU in EPON as claimed in claim 1, is characterized in that, the upgrade status of ONU is programming when completing, and OLT just sends Activate order to ONU, and starts Activate timer.
4. the upgrade method of ONU in EPON as claimed in claim 1, it is characterized in that, when ONU state is for having restarted, OLT just sends Commit order to ONU, and starts Commit timer.
5. the upgrade method of ONU in EPON as claimed in claim 1, is characterized in that, according to the different upgrade images setting described scheduled time and described stipulated time.
6. the upgrade method of ONU in EPON as claimed in claim 5, it is characterized in that, the described scheduled time and described stipulated time are all directly proportional to the size of upgrade image.
7. as the upgrade method of ONU in EPON as described in any one in claim 1-6, it is characterized in that, the described scheduled time is less than or equal to the described stipulated time.
8. the upgrade method of ONU in EPON as claimed in claim 7, is characterized in that, set described set point number according to the upgrade requirement of ONU.
9. the upgrade method of ONU in EPON as claimed in claim 8, is characterized in that, be applied in the OLT device of EPON.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210389344.7A CN102868945B (en) | 2012-10-15 | 2012-10-15 | The upgrade method of ONU in a kind of EPON |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210389344.7A CN102868945B (en) | 2012-10-15 | 2012-10-15 | The upgrade method of ONU in a kind of EPON |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102868945A CN102868945A (en) | 2013-01-09 |
CN102868945B true CN102868945B (en) | 2016-03-02 |
Family
ID=47447501
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210389344.7A Expired - Fee Related CN102868945B (en) | 2012-10-15 | 2012-10-15 | The upgrade method of ONU in a kind of EPON |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102868945B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104270688A (en) * | 2014-10-31 | 2015-01-07 | 上海斐讯数据通信技术有限公司 | System and method for upgrading ONUs (optical network units) on EPON (Ethernet passive optical network) in batch |
CN105282235B (en) * | 2015-09-15 | 2018-09-14 | 武汉长光科技有限公司 | A method of solution RPC upgrades unstable in double-PON port ONU |
CN110268386A (en) * | 2018-01-19 | 2019-09-20 | 深圳市大疆创新科技有限公司 | A kind of firmware upgrade method, device, electronic equipment and control equipment |
CN112311502B (en) * | 2020-12-29 | 2021-04-09 | 北京国科天迅科技有限公司 | Data retransmission method, device, controller and medium based on optical fiber communication system |
CN116208528A (en) * | 2021-12-01 | 2023-06-02 | 保定市天河电子技术有限公司 | Method for intelligently monitoring gateway communication state |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005099298A1 (en) * | 2004-04-09 | 2005-10-20 | Siemens Aktiengesellschaft | Method and apparatus for communicating between a legacy pon network and an upgraded pon network |
CN101316191A (en) * | 2008-06-20 | 2008-12-03 | 中兴通讯股份有限公司 | Software release upgrading method of user side equipment in Gigabit passive optical network system |
CN102064955A (en) * | 2009-11-17 | 2011-05-18 | 中兴通讯股份有限公司 | Method and system for remotely upgrading optical network unit |
-
2012
- 2012-10-15 CN CN201210389344.7A patent/CN102868945B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005099298A1 (en) * | 2004-04-09 | 2005-10-20 | Siemens Aktiengesellschaft | Method and apparatus for communicating between a legacy pon network and an upgraded pon network |
CN101316191A (en) * | 2008-06-20 | 2008-12-03 | 中兴通讯股份有限公司 | Software release upgrading method of user side equipment in Gigabit passive optical network system |
CN102064955A (en) * | 2009-11-17 | 2011-05-18 | 中兴通讯股份有限公司 | Method and system for remotely upgrading optical network unit |
Also Published As
Publication number | Publication date |
---|---|
CN102868945A (en) | 2013-01-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102868945B (en) | The upgrade method of ONU in a kind of EPON | |
US9031076B2 (en) | Processing requests | |
CN105264843A (en) | Managing pending acknowledgement packets in a communication device | |
CN105407008A (en) | Reconnecting method and system for interrupted TCP (Transmission Control Protocol) connection, terminal and server | |
CN112491492A (en) | Method and device for time slot negotiation | |
CN105554175A (en) | ARP backup method in PW (Pseudo-wires) redundancy scene | |
CN102307194B (en) | Graceful restarting method and device for universal protocol process | |
US6452946B1 (en) | Apparatus and method for improving performance in master and slave communications systems | |
CN101729284A (en) | Equipment end initiative based method for realizing link polling in management system | |
CN107360012B (en) | Link state processing method and network node equipment | |
US7969865B2 (en) | Network system of recovering routing information | |
US7860090B2 (en) | Method for processing LMP packets, LMP packet processing unit and LMP packet processing node | |
JP6242376B2 (en) | Communication system and subscriber side device | |
CN105282235B (en) | A method of solution RPC upgrades unstable in double-PON port ONU | |
EP3534657B1 (en) | Dynamic time allocation method and device | |
CN105721395B (en) | Data synchronous configuration method, equipment and system | |
CN105471619A (en) | Network node devices and master-slave configuration method and system thereof | |
CN105049477A (en) | Method and device for maintaining long connection | |
CN102281194A (en) | Message transmission method and network equipment | |
CN102098795B (en) | Method and system for re-accessing control terminal | |
CN102523157B (en) | Communication equipment, system and communication means | |
CN111224803B (en) | Multi-master detection method in stacking system and stacking system | |
WO2010124567A1 (en) | Method and server for transferring large object | |
CN103795507A (en) | Instruction timeout retransmission method and instruction timeout retransmission system of EPON system | |
CN111464514A (en) | TCP hot backup method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
PP01 | Preservation of patent right | ||
PP01 | Preservation of patent right |
Effective date of registration: 20180313 Granted publication date: 20160302 |
|
PD01 | Discharge of preservation of patent | ||
PD01 | Discharge of preservation of patent |
Date of cancellation: 20210313 Granted publication date: 20160302 |
|
PP01 | Preservation of patent right | ||
PP01 | Preservation of patent right |
Effective date of registration: 20210313 Granted publication date: 20160302 |
|
PD01 | Discharge of preservation of patent | ||
PD01 | Discharge of preservation of patent |
Date of cancellation: 20240313 Granted publication date: 20160302 |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160302 |