CN103838606A - Patch updating method for ONU software version in GPON system - Google Patents

Patch updating method for ONU software version in GPON system Download PDF

Info

Publication number
CN103838606A
CN103838606A CN201410066841.2A CN201410066841A CN103838606A CN 103838606 A CN103838606 A CN 103838606A CN 201410066841 A CN201410066841 A CN 201410066841A CN 103838606 A CN103838606 A CN 103838606A
Authority
CN
China
Prior art keywords
patch
onu
upgrading
olt
software version
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.)
Pending
Application number
CN201410066841.2A
Other languages
Chinese (zh)
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 CN201410066841.2A priority Critical patent/CN103838606A/en
Publication of CN103838606A publication Critical patent/CN103838606A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a patch updating method for an ONU software version in a GPON system and relates to the technical field of the GPON system. When a part of functions of the ONU software version is required to be changed, only the part of functions required to be changed is modified, accordingly the ONU software version is prevented from being comprehensively updated, and terminal user management and maintenance of an operator are facilitated.

Description

A kind of patch upgrading method of ONU software version in GPON system
Technical field
The present invention relates to GPON systems technology field, is specifically the patch upgrading method of ONU software version in a kind of GPON system.
Background technology
GPON(Gigabit-Capable PON, gigabit passive optical network) system is a kind of broadband passive light synthesis access network network, GPON system comprises OLT(Optical Line Terminal, optical line terminal), ONT(Optimizing Converged Cisco Networks, ONT Optical Network Terminal) or ONU(Optical Network Unit, optical network unit), and ODN(Optical Distribution Network, Optical Distribution Network).To ONU software release upgrade, be the critical function that operator realizes management maintenance by OLT.
ONU software version generally leaves in the corresponding region of FLASH in ONU.The scheme of existing software upgrading, has adopted OMCI(ONT Management and Control Interface conventionally) the stopping and waiting for agreement of segmentation in specification.Be that new software version is divided into a lot of segmentations by OLT, wherein each segmentation is made up of a lot of trifles, then, by OMCI passage, OLT sends all segmentations to ONU one by one, in transport process, after a segmentation is confirmed to receive by ONU, OLT could transmit next segmentation, after all segmentation transmission complete, ONU carries out CRC check to new software version, and school inspection is passed through, ONU writes new software version the corresponding region of FLASH, and notifies OLT software release upgrade success.
In actual use, due to the otherness demand of operator, need to change the partial function of ONU software version, conventionally can only issue a new software version, then carry out software upgrading operation and solve the problems referred to above, i.e. the variation of partial function, causes the variation of whole software version, this is to the reliability of software version and be easy to maintainability and proposed higher requirement, is not easy to the management maintenance of operator to terminal user.
Summary of the invention
For the defect existing in prior art, the object of the present invention is to provide the patch upgrading method of ONU software version in a kind of GPON system, in the time that the partial function of ONU software version need to change, only the partial function of needs variation is revised, thereby avoid ONU software version to carry out complete upgrading, facilitate the management maintenance of operator to terminal user.
For reaching above object, the technical scheme that the present invention takes is: a kind of patch upgrading method of ONU software version in GPON system, comprising:
In GPON system, set up broadcast GEM passage, by described GEM passage, OLT sends and starts patch upgrading request message to administered each ONU;
Whether each ONU that OLT administers judges self needs to carry out software release upgrade, if so, needs the ONU of upgrading to send beginning patch upgrading back message using to OLT;
Described OLT receives after patch upgrading back message using, and patch file is divided into multiple segmentations, and each segmentation is sent to successively to all ONU of OLT administration; The described ONU that needs upgrading receives after all segmentations, and OLT sends and finishes patch upgrading message to the ONU of needs upgrading;
The described ONU upgrading that needs checks that whether the patch file receiving is correct, if so, needs the ONU of upgrading to carry out patch file renewal, and sends patch upgrading success back message using, end process flow process to OLT.
On the basis of technique scheme, the mode of described foundation broadcast GEM passage is: in OLT, arrange one and be exclusively used in the bearer path mark that sends broadcasting packet, and give this bearer path mark an ident value, in the each ONU administering at OLT, arrange one and be exclusively used in the bearer path mark that receives broadcasting packet, and give each bearer path mark an ident value, described ident value is identical with the ident value of bearer path mark in OLT.
On the basis of technique scheme, described beginning patch upgrading request message comprises length and the fragment size of vendor id, patch file version number and the patch file of ONU software version number scope, the patch file of needs upgradings.
On the basis of technique scheme, each ONU that OLT administers judges that self whether to need to carry out the mode of software release upgrade as follows:
Whether the vendor id of each ONU comparison self software version that OLT administers is consistent with the vendor id that starts the patch file in patch upgrading request message, if inconsistent, illustrates that this patch file can not use on this ONU, end process flow process; If consistent, whether the software version number that further judges self needs within the scope of the ONU software version number of upgrading in beginning patch upgrading request message, if not, end process flow process, if so, further relatively whether the patch file version number of self is consistent with the patch file version number in beginning patch upgrading request message, if inconsistent, need to carry out software release upgrade, if consistent, do not need to carry out software release upgrade.
On the basis of technique scheme, if not receiving, described OLT starts patch upgrading back message using, end process flow process.
On the basis of technique scheme, described end patch upgrading message comprises length and the CRC check value of patch file.
On the basis of technique scheme, the described ONU that needs upgrading checks that whether correct patch file the mode receiving be as follows: the multiple segmentations that receive are adopted to the checksum algorithm identical with OLT, calculation check and, relatively this verification and whether identical with the CRC check value in end patch upgrading message, if identical, the patch file that explanation receives is correct, if not identical, the patch file that explanation receives is wrong.
On the basis of technique scheme, described ONU has patch receiver module and functional module, described patch receiver module is used for calling described functional module and carries out patch file renewal, the described mode that needs the ONU execution patch file of upgrading to upgrade is as follows: ONU writes patch file the corresponding region of FLASH, then described patch receiver module calling functional modules, functional module is carried out patch file and is upgraded, and after renewal comes into force, ONU records the corresponding region of patch file version number to FLASH.
Beneficial effect of the present invention is: by patch upgrading method of the present invention, in the time that ONU requires to carry out partial function variation, do not need the complete upgrading of ONU software version, only the partial function of needs variation is revised, because patch file is conventionally much smaller than a complete software document, thereby reduce the taking of bandwidth, and improved the speed of ONU upgrading; And patch file is issued based on certain function, go for many moneys ONU of same demand, for equipment supplier provides processing mode easily, reduce overlapping development and the version of software and issue.In addition, because the partial function of a patch file ONU for needs variation is revised, patch file can not have influence on other functions of ONU, thereby facilitates the management maintenance of operator to terminal user.
Brief description of the drawings
Fig. 1 is the patch upgrading process flow diagram of ONU software version in a kind of GPON system of the present invention;
Each ONU that Fig. 2 administers for OLT in the present invention judges whether self needs to carry out the process flow diagram of software release upgrade.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.
As shown in Figure 1, in a kind of GPON system of the present invention, the patch upgrading method of ONU software version, specifically comprises the steps:
S1. in GPON system, set up broadcast GEM passage.
The mode of setting up broadcast DEM passage is as follows: in OLT, arrange one and be exclusively used in the bearer path mark that sends broadcasting packet, and give this bearer path mark an ident value, in the each ONU administering at OLT, arrange one and be exclusively used in the bearer path mark that receives broadcasting packet, and give each bearer path mark an ident value, described ident value is identical with the ident value of bearer path mark in OLT.
S2. by described GEM passage, OLT sends and starts patch upgrading request message to administered each ONU, and described beginning patch upgrading request message comprises length and the fragment size of vendor id, patch file version number and the patch file of ONU software version number scope that needs upgrade, patch file.
Each ONU that S3.OLT administers judges whether to carry out software release upgrade, if so, turns S4, otherwise, turn S10.
S4. according to the length that starts the patch file in patch upgrading message, the described ONU that needs upgrading is patch file memory allocated space, and beginning patch upgrading back message using is sent to OLT.
Start patch upgrading back message using if S5.OLT receives, turn S6, otherwise, S10 turned.
Patch file is divided into multiple segmentations by S6.OLT, each fragmented packets is containing fragment sequence number and fragment size information, and by described segment encapsulation in descending broadcast GEM frame, first send successively each ONU that first segmentation is administered to OLT, and then send each ONU that next segmentation is administered to OLT, to being all sent to all segmentations; The described ONU that needs upgrading receives all segmentations, does not need the ONU of upgrading not receive any segmentation.
S7.OLT sends end patch upgrading message to the described ONU that needs upgrading, and described end patch upgrading message comprises length and the CRC check value of patch file.
S8. the described ONU that needs upgrading adopts the checksum algorithm identical with OLT to the segmentation receiving, calculation check and, relatively this verification and whether identical with the CRC check value in end patch upgrading message, if identical, the patch file that explanation receives is correct, turns S9, if it is not identical, the patch file that explanation receives is wrong, and ONU sends patch upgrading failure message to OLT, and turns S10.
S9. the described ONU that needs upgrading carries out patch renewal, and sends patch upgrading success message to OLT.
S10. end process flow process.
As shown in Figure 2, each ONU that OLT administers judges that self whether to need to carry out the concrete mode of software release upgrade as follows:
S31. relatively whether the vendor id of the patch file in vendor id and the beginning patch upgrading request message of self software version is consistent, if not, illustrates that this patch file can not use on this ONU, turns S10, if so, turns S32.
S32. further judge that the software version number of self, whether starting, within the scope of the ONU software version number of the needs upgrading in patch upgrading request message, if not, to illustrate that this ONU does not meet promotion condition, turns S10, if so, turn S33.
S33. further relatively whether the patch file version number of self is consistent with the patch file version number in beginning patch upgrading request message, if not, i.e. explanation need to be carried out software release upgrade, if, the software version that this ONU is described had been beaten patch, turned S10.
In the present embodiment, in described GPON system, described ONU has patch receiver module and functional module, and described patch receiver module is used for calling described functional module and carries out patch file renewal.The described mode that needs the ONU execution patch of upgrading to upgrade is as follows: ONU writes patch file the corresponding region of FLASH, then patch receiver module calling functional modules is carried out patch file renewal, after renewal comes into force, ONU records the corresponding region of patch file version number to FLASH.
The present invention is not limited to above-mentioned embodiment, for those skilled in the art, under the premise without departing from the principles of the invention, can also make some improvements and modifications, within these improvements and modifications are also considered as protection scope of the present invention.The content not being described in detail in this instructions belongs to the known prior art of professional and technical personnel in the field.

Claims (8)

1. a patch upgrading method for ONU software version in GPON system, is characterized in that comprising:
In GPON system, set up broadcast GEM passage, by described GEM passage, OLT sends and starts patch upgrading request message to administered each ONU;
Whether each ONU that OLT administers judges self needs to carry out software release upgrade, if so, needs the ONU of upgrading to send beginning patch upgrading back message using to OLT;
Described OLT receives after patch upgrading back message using, and patch file is divided into multiple segmentations, and each segmentation is sent to successively to all ONU of OLT administration; The described ONU that needs upgrading receives after all segmentations, and OLT sends and finishes patch upgrading message to the ONU of needs upgrading;
The described ONU upgrading that needs checks that whether the patch file receiving is correct, if so, needs the ONU of upgrading to carry out patch file renewal, and sends patch upgrading success back message using, end process flow process to OLT.
2. the patch upgrading method of ONU software version in GPON system as claimed in claim 1, it is characterized in that: the mode of described foundation broadcast GEM passage is: in OLT, arrange one and be exclusively used in the bearer path mark that sends broadcasting packet, and give this bearer path mark an ident value, in the each ONU administering at OLT, arrange one and be exclusively used in the bearer path mark that receives broadcasting packet, and give each bearer path mark an ident value, described ident value is identical with the ident value of bearer path mark in OLT.
3. the patch upgrading method of ONU software version in GPON system as claimed in claim 1, is characterized in that: described beginning patch upgrading request message comprises length and the fragment size of vendor id, patch file version number and the patch file of ONU software version number scope, the patch file of needs upgradings.
4. the patch upgrading method of ONU software version in GPON system as claimed in claim 1, is characterized in that: each ONU that OLT administers judges that self whether to need to carry out the mode of software release upgrade as follows:
Whether the vendor id of each ONU comparison self software version that OLT administers is consistent with the vendor id that starts the patch file in patch upgrading request message, if inconsistent, illustrates that this patch file can not use on this ONU, end process flow process; If consistent, whether the software version number that further judges self needs within the scope of the ONU software version number of upgrading in beginning patch upgrading request message, if not, end process flow process, if so, further relatively whether the patch file version number of self is consistent with the patch file version number in beginning patch upgrading request message, if inconsistent, need to carry out software release upgrade, if consistent, do not need to carry out software release upgrade.
5. the patch upgrading method of ONU software version in GPON system as claimed in claim 1, is characterized in that: start patch upgrading back message using, end process flow process if described OLT does not receive.
6. the patch upgrading method of ONU software version in GPON system as claimed in claim 1, is characterized in that: described end patch upgrading message comprises length and the CRC check value of patch file.
7. the patch upgrading method of ONU software version in GPON system as claimed in claim 1, it is characterized in that: the ONU of described needs upgrading checks that whether correct the patch file of reception mode be as follows: the multiple segmentations that receive are adopted to the checksum algorithm identical with OLT, calculation check and, relatively this verification and whether identical with the CRC check value in end patch upgrading message, if identical, the patch file that explanation receives is correct, if not identical, the patch file that explanation receives is wrong.
8. the patch upgrading method of ONU software version in GPON system as claimed in claim 1, it is characterized in that: described ONU has patch receiver module and functional module, described patch receiver module is used for calling described functional module and carries out patch file renewal, the described mode that needs the ONU execution patch file of upgrading to upgrade is as follows: ONU writes patch file the corresponding region of FLASH, then described patch receiver module calling functional modules, functional module is carried out patch file and is upgraded, after renewal comes into force, ONU records the corresponding region of patch file version number to FLASH.
CN201410066841.2A 2014-02-26 2014-02-26 Patch updating method for ONU software version in GPON system Pending CN103838606A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410066841.2A CN103838606A (en) 2014-02-26 2014-02-26 Patch updating method for ONU software version in GPON system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410066841.2A CN103838606A (en) 2014-02-26 2014-02-26 Patch updating method for ONU software version in GPON system

Publications (1)

Publication Number Publication Date
CN103838606A true CN103838606A (en) 2014-06-04

Family

ID=50802139

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410066841.2A Pending CN103838606A (en) 2014-02-26 2014-02-26 Patch updating method for ONU software version in GPON system

Country Status (1)

Country Link
CN (1) CN103838606A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104965721A (en) * 2014-07-10 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for updating an application
WO2017152079A1 (en) * 2016-03-04 2017-09-08 Codepinch, Llc Computer-implemented system and method for automating web application runtime error repairing
CN107301054A (en) * 2017-07-14 2017-10-27 杭州敦崇科技股份有限公司 A kind of Oftware updating method based on MANET
CN107707411A (en) * 2017-10-30 2018-02-16 深圳市飞鸿光电子有限公司 The upgrade method and system of a kind of EPON
CN108574886A (en) * 2017-03-07 2018-09-25 中兴通讯股份有限公司 Service management control method, OLT and ONU in passive optical network
CN109766111A (en) * 2018-12-30 2019-05-17 惠州华阳通用电子有限公司 A kind of upgrade file generating means and its upgrade method
CN110557691A (en) * 2018-05-30 2019-12-10 中兴通讯股份有限公司 method, device and equipment for distributing multichannel PON bandwidth
CN112114838A (en) * 2019-06-20 2020-12-22 普天信息技术有限公司 Software version upgrading method, terminal and base station

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104965721A (en) * 2014-07-10 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for updating an application
CN104965721B (en) * 2014-07-10 2019-03-19 腾讯科技(深圳)有限公司 The method and device that a kind of pair of application program is updated
WO2017152079A1 (en) * 2016-03-04 2017-09-08 Codepinch, Llc Computer-implemented system and method for automating web application runtime error repairing
CN108574886A (en) * 2017-03-07 2018-09-25 中兴通讯股份有限公司 Service management control method, OLT and ONU in passive optical network
CN108574886B (en) * 2017-03-07 2022-03-01 中兴通讯股份有限公司 Service management control method, OLT and ONU in passive optical network system
CN107301054A (en) * 2017-07-14 2017-10-27 杭州敦崇科技股份有限公司 A kind of Oftware updating method based on MANET
CN107301054B (en) * 2017-07-14 2021-02-23 杭州敦崇科技股份有限公司 Software updating method based on ad hoc network
CN107707411A (en) * 2017-10-30 2018-02-16 深圳市飞鸿光电子有限公司 The upgrade method and system of a kind of EPON
CN110557691A (en) * 2018-05-30 2019-12-10 中兴通讯股份有限公司 method, device and equipment for distributing multichannel PON bandwidth
CN110557691B (en) * 2018-05-30 2022-03-04 中兴通讯股份有限公司 Method, device and equipment for distributing multichannel PON bandwidth
CN109766111A (en) * 2018-12-30 2019-05-17 惠州华阳通用电子有限公司 A kind of upgrade file generating means and its upgrade method
CN112114838A (en) * 2019-06-20 2020-12-22 普天信息技术有限公司 Software version upgrading method, terminal and base station

Similar Documents

Publication Publication Date Title
CN103838606A (en) Patch updating method for ONU software version in GPON system
CN101217412B (en) A method of optical network terminal batch grading in passive optical network system on gigabit Ethernet
CN103108262B (en) The method of optical network unit configuration file upgrading in GPON system
CN103701553B (en) It is applicable to the gigabit passive optical network Transmission Convergence extension of access of future generation
CN100459499C (en) Method for transmitting upgrade software to optical network unit in Ethernet passive optical network
CN102195798B (en) A kind of method and system of optical network unit of upgrading
US7941055B2 (en) Method for upgrading network rate of passive optical network
CN106412730B (en) A kind of method of remote batch upgrading ONU system software under Boot environment
CN101860456A (en) Method and system for updating software of optical network units (ONUs) in Ethernet passive optical network
CN102098590A (en) Automatic upgrading method and system of firmware version of optical network unit
CN107302412B (en) Passive optical network architecture, method for realizing data transmission thereof and optical network equipment
KR20110045591A (en) The Method and Apparatus of Terminal Software Updating in a Network System
JP2016511981A (en) How to automatically set the wavelength of an optical network unit
CN101902662A (en) Optical network unit (ONU) registration activating method and system
CN104270688A (en) System and method for upgrading ONUs (optical network units) on EPON (Ethernet passive optical network) in batch
US11805339B2 (en) Downlink bandwidth transmission method and apparatus for passive optical network
CN101304617A (en) Method, apparatus and system as well as server for upgrading optical network terminal
CN112994938B (en) Optical network unit upgrading system and method
WO2018082463A1 (en) Data sending and receiving method and device, onu, and olt
CN103795574A (en) Method for upgrading optical network terminal configuration file
CN111918155B (en) Method for loading ONU (optical network Unit) by using MPCP (Multi-Point protocol)
CN102318362B (en) Devices and methods for sending data in passive optical network
WO2010048791A1 (en) Method and apparatus for transmitting physical layer operations administration and maintenance message
WO2016019752A1 (en) Distance measurement method, device and system
CN102761369A (en) System, method and device for managing optical transport network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140604

RJ01 Rejection of invention patent application after publication