CN102868945A - Upgrading method optical network unit (ONU) in Ethernet passive optical network (EPON) - Google Patents

Upgrading method optical network unit (ONU) in Ethernet passive optical network (EPON) Download PDF

Info

Publication number
CN102868945A
CN102868945A CN2012103893447A CN201210389344A CN102868945A CN 102868945 A CN102868945 A CN 102868945A CN 2012103893447 A CN2012103893447 A CN 2012103893447A CN 201210389344 A CN201210389344 A CN 201210389344A CN 102868945 A CN102868945 A CN 102868945A
Authority
CN
China
Prior art keywords
onu
epon
upgrade
activate
commit
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
CN2012103893447A
Other languages
Chinese (zh)
Other versions
CN102868945B (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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201210389344.7A priority Critical patent/CN102868945B/en
Publication of CN102868945A publication Critical patent/CN102868945A/en
Application granted granted Critical
Publication of CN102868945B publication Critical patent/CN102868945B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

The invention relates to an upgrading method of the Ethernet passive optical network (EPON) and particularly discloses an upgrading method of an optical network unit (ONU) in the EPON. The method includes starting a corresponding timer according to the upgrading state of the ONU when the ONU requires Activate or Commit, waiting for response of the Activate or the Commit of the ONU in set time, indicating that the action is finished successfully if the response is received in the set time and transmitting the Activate or Commit command again if the response is not received in the set time. Further, the action is finished successfully if response is received in continuous retransmission times in the set time. If the response is not received in the continuous retransmission times in the set time, the connection is cut off, and fault information is reported to a webmaster. The upgrading method further ensures smooth proceeding of the software image processes of Activate and Commit and effectively improves reliability of the ONU in the software upgrading process.

Description

The upgrade method of ONU among a kind of EPON
Technical field
The present invention relates to the upgrade method of a kind of EPON, relate in particular to the upgrade-system of ONU among a kind of EPON.
Background technology
At present, at the EPON(ethernet passive optical network, Ethernet Passive Optical Network) in the connecting system, ONU(optical node, Optical Network Unit) software upgrading mainly comprise downloading process and Activate and the Commit Software Mirroring process of ONU upgrade software; Wherein, the OLT(optical line terminal, optical line terminal) and the communication between the ONU then adopt two layers Ethernet protocol, with the MPCP(Multi-point Control Protocol, Multi-Point Control Protocol) OAM(Operations, Administration and Maintenance in, Operation Administration and Maintenance) passage is carrier, and order will be encapsulated in the OAM Frame with upgrade image and transmits (referring to " requirement of the EPON of China Telecom equipment and technology ") so that OLT will upgrade.
Because what use is the double layer network transmission, when the network appearance is congested, busy, easily cause losing of message, for fear of in the downloading process of ONU software for avoiding occurring the situation of packet loss, disclose in " requirement of the EPON of China Telecom equipment and technology " and adopted overtime retransmission mechanism to carry out the downloading process of ONU software, but then do not had explanation for Activate and Commit Software Mirroring process; 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 present volume technical barrier to be solved.
Summary of the invention
For the problems referred to above that exist in the existing EPON upgrade method, now provide the upgrade method of ONU among the EPON that carries out smoothly of a kind of Activate of guaranteeing and Commit Software Mirroring process.
Concrete technical scheme is as follows:
The upgrade method of ONU among a kind of EPON wherein, may further comprise the steps:
Step S1:OLT sends a command to ONU, and starts timer;
Step S2: after being sent completely, OLT judges whether to receive in the given time response;
Step S3: if receive response, then carry out next action;
Step S4: if do not receive response, continue then to judge whether whether the number of times that sends a command to continuously at the appointed time ONU exceeds set point number;
Step S5: if do not exceed described set point number, OLT resends order to ONU, and repeating step S2-S4 successively;
Step S6: if exceed described set point number, break link then, and error message reported webmaster.
The upgrade method of ONU among the above-mentioned EPON wherein, starts described timer according to the upgrade status of ONU.
The upgrade method of ONU among the above-mentioned EPON, wherein, described order comprises Activate order or Commit order.
The upgrade method of ONU among the above-mentioned EPON, wherein, the upgrade status of ONU is programming when finishing, OLT just sends Activate and orders to ONU, and starts the Activate timer.
The upgrade method of ONU among the above-mentioned EPON, wherein, when the ONU state was finished for restarting, OLT just sent Commit and orders to ONU, and started the Commit timer.
The upgrade method of ONU among the above-mentioned EPON wherein, is set the described scheduled time and described stipulated time according to different upgrade images.
The upgrade method of ONU among the above-mentioned EPON, wherein, the described scheduled time and described stipulated time all are directly proportional with the size of upgrade image.
The upgrade method of ONU among the above-mentioned EPON, wherein, the described scheduled time is less than or equal to the described stipulated time.
The upgrade method of ONU among the above-mentioned EPON wherein, is set described set point number according to the upgrade requirement of ONU.
The upgrade method of ONU among the above-mentioned EPON wherein, is applied on the OLT equipment of EPON.
The upgrade method of ONU among a kind of EPON of the present invention, upgrade status according to ONU, when ONU needs Activate or Commit, then start corresponding timer, and wait for that within the time of setting the Activate of ONU or Commit respond, if then represent to be successfully completed this action if within the time of this setting, receive response, if do not receive response at this in setting time, then resend Activate or Commit order, and the response of receiving ONU in ought be the at the appointed time continuous number of retransmissions, also expression is successfully completed this action, if the response of not receiving ONU in the continuous number of retransmissions at the appointed time, then disconnect, and error message is reported webmaster; And then guaranteed carrying out smoothly of Activate and Commit Software Mirroring process, and effectively raise the reliability of the software upgrade process of ONU.
Description of drawings
Fig. 1 is the embodiment one flow process schematic diagram of the upgrade method of ONU among a kind of EPON of the present invention;
Fig. 2 is the embodiment two flow process schematic diagrames of the upgrade method of ONU among a kind of EPON of the present invention.
Embodiment
The invention will be further described below in conjunction with the drawings and specific embodiments, but not as limiting to the invention.
The upgrade method of ONU among a kind of EPON of the present invention, be applied on the OLT equipment of EPON, at first, when ONU upgrades when needing Activate or Commit, mirror image programming that ONU will upgrade sends in the flash owing to Activate order is based on, and the Commit order be sent in ONU finish restart after, so the time confidential upgrade status according to ONU of startup timer is specifically determined, namely according to the upgrade status of ONU, OLT sends a command to ONU; Be programming when finishing such as the upgrade status of ONU, OLT just sends Activate and orders to ONU, and starts the Activate timer, and if the ONU state is restarted when finishing, OLT then sends Commit and orders to ONU, and starts the Commit timer; Wherein, by a task of timer, being used for inquiring about the upgrade status of ONU, and then send Activate or Commit order, and only when send order the first time of this subcommand action, start corresponding timer.
Secondly, after order was sent completely, OLT judged whether to receive ONU about receiving the response of order in the time slot of predetermined overtime re-transmission, if OLT receives response, illustrated that then command action finishes, and continued to carry out next action; If OLT does not receive response in the time slot of predetermined overtime re-transmission, OLT judges whether further that then the number of times of at the appointed time continuous retransmission order is being less than or equal to the number of retransmissions of regulation, if the number of times that retransmits is less than or equal to the number of retransmissions of this regulation, OLT resends and identical the order to ONU before, and repeats above-mentioned judgement and receive the step of responding; If the number of times that retransmits, then illustrates command action greater than the number of retransmissions of this regulation and does not finish, disconnects, and report webmaster to carry out analyzing and processing error message.
Because, the Activate order is to allow the ONU that the upgrade image programming has been finished restart, and the Commit order is to allow the active and standby memory block of ONU exchange, and the real-time of these two processes is not high, even can be because different ONU, different upgrade images so that reboot time and active and standby memory block reciprocal time also be not quite similar.If the time slot of predetermined overtime re-transmission and the stipulated time of continuous retransmission order are too short, cause easily in the time slot of setting, to order to transmit successfully and can't receive the situation of response, if the time slot of predetermined overtime re-transmission and the stipulated time of continuous retransmission order are long, meeting is so that the efficient of escalation process is excessively low.So the time slot of predetermined overtime re-transmission and the stipulated time of continuous retransmission order will arrange according to different upgrade images different time slots and stipulated time, and this time slot and stipulated time all be directly proportional with the size of upgrade image.
Further, the stipulated number of continuous retransmission order is to set according to the upgrade requirement of ONU.
Embodiment one
As shown in Figure 1, setting ONU needs the Activate order, and the stipulated number of continuous retransmission order is set as 3; At first, by task of timer, the upgrade status of inquiry ONU, when the upgrade status of ONU is programming when finishing, OLT just sends Activate and orders to ONU, and only starts the Activate timer when send the first time of this time Activate action; Secondly, after the Activate order was sent completely, OLT judged whether to receive that ONU is about successfully receiving the response of Activate order, if OLT receives response in the time slot of predetermined overtime re-transmission, illustrate that then the Activate command action finishes, and continue to carry out next action; If OLT does not receive that ONU is about successfully receiving the response of Activate in the time slot of predetermined overtime re-transmission, then further judge whether the number of retransmissions 3 that the number of times of at the appointed time continuous retransmission order is being less than or equal to regulation, if the number of times that retransmits is less than or equal to 3, then OLT resends with identical before Activate and orders to ONU, and repeats the step that above-mentioned judgement successfully receives the Activate response; If the number of times that retransmits, then illustrates command action greater than 3 and does not finish, disconnects, and report webmaster to carry out analyzing and processing error message.
Embodiment two
On the basis of embodiment one, as shown in Figure 2, setting ONU needs the Commit order, and the stipulated number of continuous retransmission order also is set as 3; At first, by task of timer, the upgrade status of inquiry ONU, when the upgrade status of ONU was finished for restarting, OLT just sent Commit and orders to ONU, and only started the Commit timer when send the first time of this time Commit action; Secondly, after the Commit order was sent completely, OLT judged whether to receive that ONU is about successfully receiving the response of Commit order, if OLT receives response in the time slot of predetermined overtime re-transmission, illustrate that then the Commit command action finishes, and continue to carry out next action; If OLT does not receive that ONU is about successfully receiving the response of Commit in the time slot of predetermined overtime re-transmission, then further judge whether the number of retransmissions 3 that the number of times of at the appointed time continuous retransmission order is being less than or equal to regulation, if the number of times that retransmits is less than or equal to 3, then OLT resends with identical before Commit and orders to ONU, and repeats the step that above-mentioned judgement successfully receives the Commit response; If the number of times that retransmits, then illustrates command action greater than 3 and does not finish, disconnects, and report webmaster to carry out analyzing and processing error message.
The upgrade method of ONU among a kind of EPON of the present invention, upgrade status according to ONU, when ONU needs Activate or Commit, then start corresponding timer, and wait for that within the time of setting the Activate of ONU or Commit respond, if then represent to be successfully completed this action if within the time of this setting, receive response, if do not receive response at this in setting time, then resend Activate or Commit order, and the response of receiving ONU in ought be the at the appointed time continuous number of retransmissions, also expression is successfully completed this action, if the response of not receiving ONU in the continuous number of retransmissions at the appointed time, then disconnect, and error message is reported webmaster; And then guaranteed carrying out smoothly of Activate and Commit Software Mirroring process, and effectively raise the reliability of the software upgrade process of ONU.
The above only is preferred embodiment of the present invention; be not so restriction embodiments of the present invention and protection range; to those skilled in the art; should recognize that being equal to that all utilizations specification of the present invention and diagramatic content done replace and the resulting scheme of apparent variation, all should be included in protection scope of the present invention.

Claims (10)

1. the upgrade method of ONU among the EPON is characterized in that, may further comprise the steps:
Step S1:OLT sends a command to ONU, and starts timer;
Step S2: after being sent completely, OLT judges whether to receive in the given time response;
Step S3: if receive response, then carry out next action;
Step S4: if do not receive response, continue then to judge whether whether the number of times that sends a command to continuously at the appointed time ONU exceeds set point number;
Step S5: if do not exceed described set point number, OLT resends order to ONU, and repeating step S2-S4 successively;
Step S6: if exceed described set point number, break link then, and error message reported webmaster.
2. the upgrade method of ONU among the EPON as claimed in claim 1 is characterized in that, starts described timer according to the upgrade status of ONU.
3. the upgrade method of ONU among the EPON as claimed in claim 2 is characterized in that described order comprises Activate order or Commit order.
4. the upgrade method of ONU among the EPON as claimed in claim 3 is characterized in that, the upgrade status of ONU is programming when finishing, and OLT just sends Activate and orders to ONU, and starts the Activate timer.
5. the upgrade method of ONU among the EPON as claimed in claim 3 is characterized in that when the ONU state was finished for restarting, OLT just sent Commit and orders to ONU, and starts the Commit timer.
6. the upgrade method of ONU among the EPON as claimed in claim 1 is characterized in that, sets the described scheduled time and described stipulated time according to different upgrade images.
7. the upgrade method of ONU among the EPON as claimed in claim 6 is characterized in that the described scheduled time and described stipulated time all are directly proportional with the size of upgrade image.
8. such as the upgrade method of ONU among the EPON as described in any one among the claim 1-7, it is characterized in that the described scheduled time is less than or equal to the described stipulated time.
9. the upgrade method of ONU among the EPON as claimed in claim 8 is characterized in that, sets described set point number according to the upgrade requirement of ONU.
10. the upgrade method of ONU among the EPON as claimed in claim 9 is characterized in that, is applied on the OLT equipment of EPON.
CN201210389344.7A 2012-10-15 2012-10-15 The upgrade method of ONU in a kind of EPON Active CN102868945B (en)

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 true CN102868945A (en) 2013-01-09
CN102868945B CN102868945B (en) 2016-03-02

Family

ID=47447501

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210389344.7A Active 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)

Cited By (4)

* Cited by examiner, † Cited by third party
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
CN105282235A (en) * 2015-09-15 2016-01-27 武汉长光科技有限公司 Method for solving upgrading instability of RPC at double-PON-port ONU
CN110268386A (en) * 2018-01-19 2019-09-20 深圳市大疆创新科技有限公司 A kind of firmware upgrade method, device, electronic equipment and control equipment
CN112311502A (en) * 2020-12-29 2021-02-02 北京国科天迅科技有限公司 Data retransmission method, device, controller and medium based on optical fiber communication system

Citations (3)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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

Cited By (6)

* Cited by examiner, † Cited by third party
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
CN105282235A (en) * 2015-09-15 2016-01-27 武汉长光科技有限公司 Method for solving upgrading instability of RPC at double-PON-port ONU
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
CN112311502A (en) * 2020-12-29 2021-02-02 北京国科天迅科技有限公司 Data retransmission method, device, controller and medium based on optical fiber communication system
CN112311502B (en) * 2020-12-29 2021-04-09 北京国科天迅科技有限公司 Data retransmission method, device, controller and medium based on optical fiber communication system

Also Published As

Publication number Publication date
CN102868945B (en) 2016-03-02

Similar Documents

Publication Publication Date Title
JP5574544B2 (en) Unified device management method and system
CN101542980B (en) Method for the operation of an ethernet-compatible field bus device
KR101273201B1 (en) The Method and Apparatus of Terminal Software Updating in a Network System
CN104869057A (en) OpeFlow switch graceful restart processing method, device and OpeFlow controller
CN102868945B (en) The upgrade method of ONU in a kind of EPON
WO2015120695A1 (en) Wavelength adjustment method and device for optical line terminal/optical network unit
CN109560835B (en) Power communication multi-channel monitoring method and device, computer equipment and storage medium
CN107360012B (en) Link state processing method and network node equipment
US7969865B2 (en) Network system of recovering routing information
CN102811451B (en) Method and device for controlling connection of control and provisioning of wireless access points (Capwap) tunnel
JP5578023B2 (en) Station side device, home side device, optical communication system, and control method of optical communication system
US7860090B2 (en) Method for processing LMP packets, LMP packet processing unit and LMP packet processing node
JP2017098655A (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
CN105471619A (en) Network node devices and master-slave configuration method and system thereof
JP6003509B2 (en) Master station communication device, master station control program, and network system
CN105049477A (en) Method and device for maintaining long connection
CN102098795B (en) Method and system for re-accessing control terminal
CN106559234B (en) Control message sending method and device
CN101741474B (en) Optical network unit starting method and device for gigabit-capable passive optical network
JP5914616B1 (en) Network system, firmware update method, station side termination device, and subscriber side termination device
US10491544B2 (en) Consistency control of a logical path passing through a relay device
CN111224803B (en) Multi-master detection method in stacking system and stacking system
CN102523157B (en) Communication equipment, system and communication means

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

Effective date of registration: 20180313

Granted publication date: 20160302

PP01 Preservation of patent right
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