CN101950253B - Method for upgrading optical module firmware in optical network unit by utilizing WEB webpage interface - Google Patents

Method for upgrading optical module firmware in optical network unit by utilizing WEB webpage interface Download PDF

Info

Publication number
CN101950253B
CN101950253B CN2010102521522A CN201010252152A CN101950253B CN 101950253 B CN101950253 B CN 101950253B CN 2010102521522 A CN2010102521522 A CN 2010102521522A CN 201010252152 A CN201010252152 A CN 201010252152A CN 101950253 B CN101950253 B CN 101950253B
Authority
CN
China
Prior art keywords
optical module
upgrading
network unit
optical
interface
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
Application number
CN2010102521522A
Other languages
Chinese (zh)
Other versions
CN101950253A (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 Gongjin Electronics Co Ltd
Original Assignee
Shenzhen Gongjin Electronics 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 Gongjin Electronics Co Ltd filed Critical Shenzhen Gongjin Electronics Co Ltd
Priority to CN2010102521522A priority Critical patent/CN101950253B/en
Publication of CN101950253A publication Critical patent/CN101950253A/en
Application granted granted Critical
Publication of CN101950253B publication Critical patent/CN101950253B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a method for upgrading an optical module firmware in an optical network unit by utilizing a WEB webpage interface, which is characterized in that the optical network unit utilizes the WEB interface to upload an upgrade file to the memory space of the optical network unit; the upgrade file in the memory space of the optical network unit is downloaded to a memory unit in an optical module MCU (Microprogrammed Control Unit) by utilizing an I2C interface and a matching interface conversion protocol; the upgrade file of the optical module firmware is updated; and the optical module MCU is reset after finishing the updating course to mainly solve the traditional upgrading mode having the defects of time and energy waste and easy damage to devices in the course of detaching the optical module and reprogramming on a test board of the optical module. The method of the invention has the advantages that the optical module is not required to be detached to avoid the damage to the devices in the course of detachment and assembly; the protection of the devices is realized, and the burden of working personnel is simultaneously reduced; and the firmware upgrading of the optical module is not troublesome and becomes simple and fast to meet the requirements of users on the continuous updating and upgrading of the optical module firmware.

Description

The method of upgrading optical module firmware in optical network unit by utilizing WEB webpage interface
Technical field
The invention belongs to passive fiber communication system field, relate to the upgrade method of optical module in optical network, specifically, is a kind of method that realizes the upgrading optical module firmware by the WEB web-page interface.
Background technology
At present optical fiber access technology develop rapidly, the optical network unit ONU demand is growing, day by day amplification along with user side network application demand, the functional requirement of optical network unit ONU also from strength to strength and its structure also become increasingly complex, the upgrading of the system network management software of optical network unit ONU has been had fairly simple processing mode.
Optical module--the core devices in the optical network unit ONU just becomes very complicated if relate to the firmware upgrade of optical module, and especially after optical module had been installed to above the system board, we need to upgrade to it, just became very thorny.
Optical module of the prior art upgrading mode is more original, generally is that optical module is disassembled, burning firmware again on the test board of optical module then, and this method wastes time and energy, and damages easily again device.
Summary of the invention
Problem to be solved by this invention is: break the original upgrading mode of optical module, realize a kind of optical module that need not to pull down from optical network unit ONU, need not just can finish by the testing tool plate again the method for optical module firmware upgrading.
The present invention for realizing the technical scheme that goal of the invention adopts is: the method for upgrading optical module firmware in optical network unit by utilizing WEB webpage interface, above method is by the upgrade service program being saved in the storage unit of optical module MCU inside, realize the master routine of optical module firmware or the renewal of parameter by the upgrade service program, in optical network unit, increase the WEB web-page interface, and in optical module, increase and optical network unit between the I of communication 2C interface, carry out following steps on this basis:
A, by the WEB web-page interface on the optical network unit, the upgrade file of optical module is uploaded, is stored in the storage space of optical network unit;
B, pass through I 2C interface and matching interface translation-protocol are downloaded to the upgrade file in the optical network unit storage space in the storage unit of optical module MCU inside, and concrete steps are as follows:
B1, optical network unit send the upgrade request order, simultaneously predefined upgrading banner string are stored in the mailbox memory of optical module;
B2, optical module MCU reset, and start operation upgrade service program;
B3, upgrade service program are by WEB web-page interface and I 2The matching interface translation-protocol of C interface is downloaded upgrade file and is stored in the storage unit of optical module MCU inside;
C, download completely, optical module MCU resets.
Wherein, when each optical module MCU resets, at first start operation upgrade service program, and check whether the mailbox memory of optical module stores predefined upgrading banner string, if having, execution in step B3 if do not have, skips to and carries out the optical module master routine.
In step C, download complete after, optical module MCU wipes the upgrading banner string in the mailbox memory.
The storage unit of optical module MCU inside is divided into the first storage unit, the second storage unit of depositing the optical module master routine of depositing the upgrade service program, the 3rd storage unit of depositing optical module parameter.
The storage unit of optical module MCU inside is programmable FLASH storage unit.
Utilize the inventive method, the flow processs such as dismounting optical module, burning, testing tool plate of passing through that the staff need not be wasted time and energy are again finished updating operation, and only need to obtain the upgrade file that this is inputted manually by the WEB web-page interface that ONU provides, at the I through optical module 2C interface and supporting agreement are sent to upgrade file in the storage space of optical module MCU inside, carry out afterwards master routine or the parameter of upgrading optical module firmware, finish escalation process.Obviously, the inventive method has successfully realized the upgrading mode of a kind of intelligence, robotization.
The present invention is described in detail below in conjunction with accompanying drawing.
Description of drawings
Fig. 1 is method flow diagram of the present invention.
Embodiment
Referring to Fig. 1, the method of upgrading optical module firmware in optical network unit by utilizing WEB webpage interface, above method is by upgrade file being saved in the storage unit of optical module MCU inside, realize the master routine of optical module firmware or the renewal of parameter by the upgrade service program, in optical network unit, increase the WEB web-page interface, and in optical module, increase and optical network unit between the I of communication 2C interface, carry out following steps on this basis:
A, by the WEB web-page interface on the optical network unit, the upgrade file of optical module is uploaded, is stored in the storage space of optical network unit;
B, pass through I 2C interface and matching interface translation-protocol are downloaded to the upgrade file in the optical network unit storage space in the storage unit of optical module MCU inside, and concrete steps are as follows:
B1, optical network unit send the upgrade request order, simultaneously predefined upgrading banner string are stored in the mailbox memory of optical module;
B2, optical module MCU reset, and start operation upgrade service program;
B3, upgrade service program are by WEB web-page interface and I 2The matching interface translation-protocol of C interface is downloaded upgrade file and is stored in the storage unit of optical module MCU inside;
C, download completely, optical module MCU wipes the upgrading banner string in the mailbox memory, and optical module MCU resets.
Wherein, when each optical module MCU resets, at first start operation upgrade service program, and check whether the mailbox memory of optical module stores predefined upgrading banner string, if having, execution in step B3 if do not have, skips to and carries out the optical module master routine.
The WEB web-page interface of ONU self gets access to after the upgrade data, send upgrading optical module request command, require the optical module MCU banner string of will upgrading to write in storage unit one mailbox memory in a fixed address space, optical module MCU resets and starts the upgrade service program, MCU checks from the storage unit in above-mentioned fixed address space whether the upgrading banner string is arranged, if inspection is not to the just normal optical module master routine that starts of banner string of upgrading, if inspection is to there being the upgrading banner string just to carry out upgrading, after upgrading is finished, remove the upgrading banner string in fixed address space, optical module MCU automatically resets, electrifying startup upgrade service program, detect the banner string of not upgrading in the fixed address space this moment, automatically skips to operation optical module master routine.Realize so the automatic controlled loading of upgrade service program, concrete loading procedure need not manual intervention.
Wherein, the storage unit of optical module MCU inside is programmable FLASH storage unit, and the storage unit of optical module MCU inside is divided into the first storage unit, the second storage unit of depositing the optical module master routine of depositing the upgrade service program, the 3rd storage unit of depositing optical module parameter.Utilize FLASH have erasable convenience, programming often, programming need not the advantage such as applying high voltage, can satisfy the demand of our online upgrading optical module, subregion process can the space of raising own the space availability ratio of very little optical module MCU storage unit just.
During this method implementation, the inventive method is based on optical network unit, reaches the core component optical module in the optical network unit.The inventive method is that the storage unit with the MCU inside of optical module is divided into the first storage unit, the second storage unit of depositing the optical module master routine of depositing the upgrade service program, the 3rd storage unit of depositing optical module parameter.By the WEB web-page interface of optical network unit self, the upgrade file of optical module is stored in the storage space of optical network unit; Then optical network unit MCU sends upgrading optical module request command, simultaneously predefined upgrading banner string is stored in the mailbox memory of optical module; Optical module MCU resets, and starts operation upgrade service program, and the upgrade service program is passed through I 2C interface and matching interface translation-protocol are downloaded upgrade file and are stored in the storage unit of optical module MCU inside; Carry out the upgrade file that upgrades optical module firmware; Finish renewal process, optical module MCU wipes the upgrading banner string in the mailbox memory, and optical module MCU resets.
After optical module MCU resets, all the time start from the first storage unit, operation upgrade service program, then check mailbox memory, content in the mailbox memory and predefined upgrading banner string are compared, must be checked through the banner string of not upgrading in the mailbox memory this moment, then skips to carry out the optical module master routine.
Adopt such upgrade method; no longer need optical module is dismantled; avoided in the disassembly process damage to device; namely realized a kind of protection to device; alleviated simultaneously staff's burden; make the firmware upgrade of optical module no longer thorny, but become more simple, quick, can satisfy users to the continuous renewal of optical module firmware, the demand of upgrading.

Claims (5)

1. the method for upgrading optical module firmware in optical network unit by utilizing WEB webpage interface, above method is by the upgrade service program being saved in the storage unit of optical module MCU inside, realize the master routine of optical module firmware or the renewal of parameter by the upgrade service program, it is characterized in that: in optical network unit, increase the WEB web-page interface, and in optical module, increase and optical network unit between the I of communication 2C interface, carry out following steps on this basis:
A, by the WEB web-page interface on the optical network unit, the upgrade file of optical module is uploaded, is stored in the storage space of optical network unit;
B, pass through I 2C interface and matching interface translation-protocol are downloaded to the upgrade file in the optical network unit storage space in the storage unit of optical module MCU inside, specifically may further comprise the steps:
B1, optical network unit send the upgrade request order, simultaneously predefined upgrading banner string be stored in the mailbox memory of optical module,
B2, optical module MCU reset, and start operation upgrade service program,
B3, upgrade service program are by WEB web-page interface and I 2The matching interface translation-protocol of C interface is downloaded upgrade file and is stored in the storage unit of optical module MCU inside;
C, download completely, optical module MCU resets.
2. the method for upgrading optical module firmware in optical network unit by utilizing WEB webpage interface according to claim 1, it is characterized in that: when each optical module MCU resets, at first start operation upgrade service program, and whether the mailbox memory that checks optical module stores predefined upgrading banner string, if have, execution in step B3 if do not have, skips to and carries out the optical module master routine.
3. the method for upgrading optical module firmware in optical network unit by utilizing WEB webpage interface according to claim 1 is characterized in that: among the described step C, download complete after, optical module MCU wipes the upgrading banner string in the mailbox memory.
4. the method for upgrading optical module firmware in optical network unit by utilizing WEB webpage interface according to claim 1, it is characterized in that: the storage unit of described optical module MCU inside is divided into the first storage unit, the second storage unit of depositing the optical module master routine of depositing the upgrade service program, the 3rd storage unit of depositing optical module parameter.
5. according to claim 1 or the method for 4 described upgrading optical module firmware in optical network unit by utilizing WEB webpage interfaces, it is characterized in that: the storage unit of described optical module MCU inside is programmable FLASH storage unit.
CN2010102521522A 2010-08-12 2010-08-12 Method for upgrading optical module firmware in optical network unit by utilizing WEB webpage interface Expired - Fee Related CN101950253B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102521522A CN101950253B (en) 2010-08-12 2010-08-12 Method for upgrading optical module firmware in optical network unit by utilizing WEB webpage interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102521522A CN101950253B (en) 2010-08-12 2010-08-12 Method for upgrading optical module firmware in optical network unit by utilizing WEB webpage interface

Publications (2)

Publication Number Publication Date
CN101950253A CN101950253A (en) 2011-01-19
CN101950253B true CN101950253B (en) 2013-03-13

Family

ID=43453758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102521522A Expired - Fee Related CN101950253B (en) 2010-08-12 2010-08-12 Method for upgrading optical module firmware in optical network unit by utilizing WEB webpage interface

Country Status (1)

Country Link
CN (1) CN101950253B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722384A (en) * 2012-05-25 2012-10-10 深圳市共进电子股份有限公司 On-line upgrading method and upgrading system for optical module firmware
CN102855151B (en) 2012-08-21 2016-06-08 武汉电信器件有限公司 The optical module firmware not interrupting business is in application upgrade method
CN102831000B (en) * 2012-09-11 2015-11-25 华为技术有限公司 The method and system of system upgrade
CN102945173B (en) * 2012-10-31 2016-06-29 青岛海信宽带多媒体技术有限公司 User program online upgrade system and upgrade method
CN104579719B (en) * 2013-10-10 2019-07-19 中兴通讯股份有限公司 A kind of upgrade method and system, host computer and optical module of firmware
CN104657160B (en) * 2013-11-21 2018-04-17 联创汽车电子有限公司 The method for burn-recording of Vehicle Controller multi-chip application program
CN103761117A (en) * 2013-12-24 2014-04-30 广东鼎燊科技有限公司 Induction cooker upgrading method
CN104461639A (en) * 2014-12-12 2015-03-25 四川华拓光通信股份有限公司 Bootloader based CSFP optical module upgrading method
CN104750531A (en) * 2015-04-15 2015-07-01 安徽师范大学 Embedded system on-line program refreshing method
CN109361528B (en) * 2017-12-29 2022-04-22 深圳Tcl新技术有限公司 Firmware upgrading method and intelligent household appliance
CN108958765B (en) * 2018-06-12 2022-12-09 新华三技术有限公司 Method and device for upgrading optical module firmware
CN108803442A (en) * 2018-07-25 2018-11-13 武汉光迅科技股份有限公司 A kind of optical mode block code download apparatus and method
CN110673898B (en) * 2019-09-30 2021-08-17 联想(北京)有限公司 Equipment management method, first equipment and interaction system
CN112203170B (en) * 2020-09-27 2022-10-11 上海欣诺通信技术股份有限公司 Upgrading method, device, medium and equipment of optical network unit
CN114466260B (en) * 2020-11-10 2023-11-03 青岛海信宽带多媒体技术有限公司 Optical module upgrading method and optical module
CN117439883B (en) * 2023-10-09 2024-08-02 四川泰瑞创通讯技术股份有限公司 Communication equipment, tera-megaphone interface module and firmware remote upgrading method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083564A (en) * 2007-07-24 2007-12-05 杭州华三通信技术有限公司 Method for updating automatically optical network unit and optical line terminal
CN101192970A (en) * 2006-11-22 2008-06-04 中兴通讯股份有限公司 Method for automatic synchronization of user device version in Ethernet passive optical network system
CN101271396A (en) * 2008-04-15 2008-09-24 威盛电子股份有限公司 Electronic device and method for on-line updating firmware

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192970A (en) * 2006-11-22 2008-06-04 中兴通讯股份有限公司 Method for automatic synchronization of user device version in Ethernet passive optical network system
CN101083564A (en) * 2007-07-24 2007-12-05 杭州华三通信技术有限公司 Method for updating automatically optical network unit and optical line terminal
CN101271396A (en) * 2008-04-15 2008-09-24 威盛电子股份有限公司 Electronic device and method for on-line updating firmware

Also Published As

Publication number Publication date
CN101950253A (en) 2011-01-19

Similar Documents

Publication Publication Date Title
CN101950253B (en) Method for upgrading optical module firmware in optical network unit by utilizing WEB webpage interface
CN102779057A (en) Base board management controller and automatic upgrade system and method thereof
CN101241364B (en) Local controller, remote management controller and method for automatically updating the local controller of an air conditioner system
CN103024074B (en) DSP (digital signal processor) remote wireless upgrading method based on GPRS (general packet radio service)
CN102195798B (en) A kind of method and system of optical network unit of upgrading
CN103593207A (en) High-speed automatic cluster system deployment method using virtual disk
CN102098590A (en) Automatic upgrading method and system of firmware version of optical network unit
CN106095494B (en) The automatic updating system and method for elevator peripheral hardware program
CN103716188B (en) The management of Linux server cluster management and maintaining method
CN106713053A (en) Method and device for batch updating server firmware based on Linux
CN106685723A (en) Remote upgrading method and system for embedded network devices
CN102857358A (en) Customer premise equipment capable of repairing firmware and firmware repairing method of customer premise equipment
CN107707405A (en) The method and its remote control that intelligent closestool firmware remotely updates are realized by remote control
CN105430096A (en) Automatic installation method and device for parallel file system
CN102378154A (en) Method and system for upgrading product firmware by wireless network
CN106708573A (en) System and method used for automatic installation of Hadoop cluster
CN103532929A (en) Voice terminal equipment and voice double-protocol switching method
CN104469278B (en) A kind of monitoring system upgrade method and device
CN110515635A (en) Mainboard VR firmware upgrade method, device, server and readable storage medium storing program for executing
CN106125578A (en) A kind of water heater primary controller procedure update method
CN102868558A (en) Multi-device software upgrading method and multi-device software upgrading system
CN113535202A (en) Charging pile upgrading method and device and charging pile system
CN102929649B (en) The configuration-system of PCS7 software systems and collocation method
US9207928B2 (en) Computer-readable medium, apparatus, and methods of automatic capability installation
CN103677919A (en) Airborne software updating method based on serial port

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 518000, Shenzhen, Guangdong province Nanshan District Shekou Nanhai Road 1019, 100 surplus medical instrument Park, two floor

Applicant after: Shenzhen Gongjin Electronics Co., Ltd.

Address before: 518000 Nanshan medical equipment Industrial Park, No. 1019 Nanhai Road, Shenzhen, Guangdong, Nanshan District B411-413

Applicant before: Shenzhen Gongjin Electronics Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHENZHEN GONGJIN ELECTRONICS CO., LTD. TO: SHENZHEN GONGJIN ELECTRONIC CO., LTD.

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130313

Termination date: 20180812

CF01 Termination of patent right due to non-payment of annual fee