CN102520986A - Novel optical transmission platform equipment software upgrading method - Google Patents
Novel optical transmission platform equipment software upgrading method Download PDFInfo
- Publication number
- CN102520986A CN102520986A CN2011103872751A CN201110387275A CN102520986A CN 102520986 A CN102520986 A CN 102520986A CN 2011103872751 A CN2011103872751 A CN 2011103872751A CN 201110387275 A CN201110387275 A CN 201110387275A CN 102520986 A CN102520986 A CN 102520986A
- Authority
- CN
- China
- Prior art keywords
- control module
- software upgrading
- data
- module
- platform equipment
- 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
Links
Images
Landscapes
- Stored Programmes (AREA)
- Optical Communication System (AREA)
Abstract
The invention discloses a novel optical transmission platform equipment software upgrading method. The method is that a personal computer (PC) sends systematical software upgrading orders which comprise address information of modules needing upgrading to a control module, address 0 represents conducting software upgrading on the control module, and address 1-n represents conducting software upgrading on modules of slot 1-n. The control module judges after receiving corresponding instructions, if the address is 0, the control module is software upgraded, or a slot module is software upgraded, and software upgrading of all modules of the optical transmission platform equipment is finally achieved. The novel optical transmission platform equipment software upgrading method cannot only upgrade all modules of the optical transmission platform equipment, but also reduce amount of work of the optical transmission platform equipment in an upgrading process which is simple and high in efficiency, and simultaneously upgrading cost is greatly reduced.
Description
Technical field
The present invention relates to a kind of method for upgrading software, be specifically related to a kind of new type light transmission platform equipment software upgrading method.
Background technology
Optical transport platform equipment is made up of functional modules such as frame control module, forward light emission module, backlight transmitter module, forward Optical Receivers, backlight receiver modules, and frame control module and each functional module are respectively by inner separately Single-chip Controlling., needs necessarily require this optical transport platform equipment to have software upgrading function when carrying out the improved software upgrading of function to optical transport platform equipment; But at present domestic and international employed optical transport platform equipment generally can not accomplish to the software of EM equipment module single-chip microcomputer upgrade or escalation process loaded down with trivial details and complicated, general software upgrading mode mainly contains following several kinds:
1, the mode of the direct replacement of module: this method is the module that producer newly upgraded directly to be replaced original module or entire equipment replace together, and this method is not software upgrading truly, but with the method for thing for thing, waste plenty of time and cost.
2, the software mode of programming again: this method is to leave the interface of single-chip microcomputer programming in inside modules; When the needs upgrade software, again to single-chip microcomputer programming software, this mode need leave special programming interface in module; When programming, need the casing of module be opened; Also need special programming instrument, waste time and energy, and cost is also high.
3, traditional upgrading mode: this method is to utilize communication modes such as serial ports or Ethernet interface that device software is upgraded; But this mode can only be upgraded to the control module software of equipment, and each functional module is not reserved corresponding communication interface and can not be carried out software upgrading owing to it.
More than various upgrading modes shortcoming is separately all arranged, the software upgrade problem of solution optical transport platform equipment that can not be in full force and effect.
Summary of the invention
In order to solve the deficiency in the above-mentioned technology; The present invention provides a kind of new type light transmission platform equipment software upgrading method; This method not only can be upgraded to all module softwares in the optical transport platform equipment; And reduced the workload of optical transport platform device upgrade process, and escalation process is simply efficient, and upgrade cost reduces greatly simultaneously.
For reaching the foregoing invention purpose, the technical scheme that the present invention adopted is: a kind of new type light transmission platform equipment software upgrading method is provided, may further comprise the steps:
A, send system software upgrading order by PC to control module, have address information n in the order, address 0 representative is carried out software upgrading to control module, and address 1~n represents to the module at slot 1~n place and carries out software upgrading;
B, control module are according to the decision of the address information in order optical transport platform equipment software upgrading flow process; If the address is 0; Then control module self is carried out software upgrading, escalation process mainly is that control module receives upgrade file bag data and the storage that PC sends, and accomplishes upgrading; If the address is 1~n, then socket module is carried out software upgrading, escalation process mainly is that control module receives upgrade file bag data and the storage that PC sends, and then is transmitted to socket module, socket module receives these data and storage, accomplishes upgrading.
Further: said control module software upgrade process specifically may further comprise the steps:
A, PC begin to send the data of upgrade file bag;
After b, control module receive the frame data that PC sends over, store the data to the inner flash storer of control module single-chip microcomputer the inside, send an answer signal to PC simultaneously, expression correctly receives frame data;
C, PC judge whether to receive upgrade file end-of-packet frame, do not receive that end frame then continues to get back to step a and carries out, and represent that then whole upgrade file reception finishes if receive end frame, and so far whole upgrade process finishes.
Further: said socket module software upgrade process specifically may further comprise the steps:
(1) storing process step:
After
, control module receive the frame data that PC sends over; Store the data to control module single-chip microcomputer ram space the inside; Send an answer signal to PC simultaneously, expression correctly receives frame data;
, PC judge whether to receive upgrade file end-of-packet frame; Do not receive that end frame then continues to get back to step
and carries out, represent that then whole upgrade file reception finishes if receive end frame;
(2) repeating process step:
, the control module starts sending step
~
in the data stored in the RAM into the slot where the module n;
, control module are then sent next frame after receiving the answer signal of module at slot n place successively;
, the data of repeating step
in RAM are all sent and are finished, and so far whole upgrade process finishes.Further: PC sends the system software upgrading order through serial ports RS232 to control module.
Further: said socket module is 10.
Compared with prior art, beneficial effect of the present invention is:
1) the present invention provides a kind of new type light transmission platform equipment software upgrading method, and this method is upgraded to all module softwares in the optical transport platform equipment, and upgrade function improves greatly.
2) this novel system method for upgrading software has reduced the workload of optical transport platform device upgrade process, and escalation process is simply efficient, and upgrade cost reduces greatly simultaneously.
Description of drawings
Fig. 1 is an optical transport platform device systems composition frame chart provided by the present invention;
Fig. 2 is an optical transport platform equipment software upgrading process flow synoptic diagram provided by the present invention.
Embodiment
Below in conjunction with accompanying drawing embodiment of the present invention is carried out detailed description.
Method for upgrading software provided by the present invention can carry out software upgrading for the functional module in optical transport platform device control module and the slot.Shown in accompanying drawing 1, optical transport platform equipment rack control module adopts the RS232 data-interface to link to each other with PC, and inner employing RS485 bus links to each other with module in 10 slots, and wherein control module is the main control system of RS485, and the interior module of slot is a slave.
When the user need carry out software upgrading to optical transport platform equipment; Need not special single-chip programmer and special programming software; The user sends the software upgrading order through the ultra terminal called mode of PC to control module; The address information that in this order, includes the module of needs upgrading, address 0 representative is upgraded to control module, and address 1~10 representative carries out software upgrading for the module at slot 1~10 place; Control module judges after receiving corresponding order that if send the software upgrading order to control module, the upgrade file data that then PC sended over are saved in the inner flash storer of control module; If send the upgrading order to socket module; The upgrade file data that then PC sended over are saved in earlier among the RAM of control module; The principle of transmitting through storage sends to packet in the socket module again; Socket module is received and is stored in behind the packet of control module separately in the inner flash storer of socket module single-chip microcomputer, thereby realized the software upgrading to all modules of optical transport platform equipment.
Shown in accompanying drawing 2; After the software upgrading order of optical transport platform control module PC in receiving from steps A; In step B, at first judges the module that will upgrade belong to control module itself or socket module, step C or D are carried out in decision according to information judged then; Step C carries out software upgrading to control module, and step D carries out software upgrading to socket module.In addition, method for upgrading software provided by the present invention not only can be used for optical transport platform equipment, can also be used for the device systems that other has master-slave mode bus architecture such as buses such as I2C, SPI.
Claims (5)
1. a new type light transmission platform equipment software upgrading method is characterized in that, may further comprise the steps:
A, send system software upgrading order by PC to control module, have address information n in the order, address 0 representative is carried out software upgrading to control module, and address 1~n represents to the module at slot 1~n place and carries out software upgrading;
B, control module are according to the decision of the address information in order optical transport platform equipment software upgrading flow process; If the address is 0; Then control module is carried out software upgrading, escalation process mainly is that control module receives upgrade file bag data and the storage that PC sends, and accomplishes upgrading; If the address is 1~n, then socket module is carried out software upgrading, escalation process mainly is that control module receives upgrade file bag data and the storage that PC sends, and then is transmitted to socket module, socket module receives these data and storage, accomplishes upgrading.
2. new type light transmission platform equipment software upgrading method according to claim 1 is characterized in that: said control module software upgrade process specifically may further comprise the steps:
A, PC begin to send the data of upgrade file bag;
After b, control module receive the frame data that PC sends over, store the data to the inner flash storer of control module single-chip microcomputer the inside, send an answer signal to PC simultaneously, expression correctly receives frame data;
C, PC judge whether to receive upgrade file end-of-packet frame, do not receive that end frame then continues to get back to step a and carries out, and represent that then whole upgrade file reception finishes if receive end frame, and so far whole upgrade process finishes.
3. new type light transmission platform equipment software upgrading method according to claim 1 is characterized in that: said socket module software upgrade process specifically may further comprise the steps:
(1) storing process step:
After
, control module receive the frame data that PC sends over; Store the data to control module single-chip microcomputer ram space the inside; Send an answer signal to PC simultaneously, expression correctly receives frame data;
, PC judge whether to receive upgrade file end-of-packet frame; Do not receive that end frame then continues to get back to step
and carries out, represent that then whole upgrade file reception finishes if receive end frame;
(2) repeating process step:
, the control module starts sending step
~
in the data stored in the RAM into the slot where the module n;
, control module are then sent next frame after receiving the answer signal of module at slot n place successively;
4. new type light transmission platform equipment software upgrading method according to claim 1 is characterized in that: PC sends the system software upgrading order through serial ports RS232 to control module.
5. new type light transmission platform equipment software upgrading method according to claim 1 is characterized in that: said socket module is 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103872751A CN102520986A (en) | 2011-11-29 | 2011-11-29 | Novel optical transmission platform equipment software upgrading method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103872751A CN102520986A (en) | 2011-11-29 | 2011-11-29 | Novel optical transmission platform equipment software upgrading method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102520986A true CN102520986A (en) | 2012-06-27 |
Family
ID=46291928
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011103872751A Pending CN102520986A (en) | 2011-11-29 | 2011-11-29 | Novel optical transmission platform equipment software upgrading method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102520986A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103902315A (en) * | 2012-12-27 | 2014-07-02 | 北京谊安医疗系统股份有限公司 | System and method for online updating of multiple board cards |
CN111506325A (en) * | 2020-03-27 | 2020-08-07 | 广州视源电子科技股份有限公司 | Firmware upgrading method, system, storage medium and related equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1434646A (en) * | 2002-01-25 | 2003-08-06 | 深圳市中兴通讯股份有限公司 | Method for parallel downloading mobile communication system software |
JP2005258895A (en) * | 2004-03-12 | 2005-09-22 | Fuji Xerox Co Ltd | Driver selection method, device, and program |
CN201571163U (en) * | 2009-12-15 | 2010-09-01 | 汕头高新区亚威科技有限公司 | CATV optical transmission platform |
-
2011
- 2011-11-29 CN CN2011103872751A patent/CN102520986A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1434646A (en) * | 2002-01-25 | 2003-08-06 | 深圳市中兴通讯股份有限公司 | Method for parallel downloading mobile communication system software |
JP2005258895A (en) * | 2004-03-12 | 2005-09-22 | Fuji Xerox Co Ltd | Driver selection method, device, and program |
CN201571163U (en) * | 2009-12-15 | 2010-09-01 | 汕头高新区亚威科技有限公司 | CATV optical transmission platform |
Non-Patent Citations (1)
Title |
---|
谢涛等: "现场监控软件的远程升级设计", 《西北大学学报(自然科学网络版)》, vol. 3, no. 8, 30 September 2005 (2005-09-30) * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103902315A (en) * | 2012-12-27 | 2014-07-02 | 北京谊安医疗系统股份有限公司 | System and method for online updating of multiple board cards |
CN111506325A (en) * | 2020-03-27 | 2020-08-07 | 广州视源电子科技股份有限公司 | Firmware upgrading method, system, storage medium and related equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107918545A (en) | A kind of remote update system and its implementation based on ZYNQ | |
CN103200026B (en) | The upgrade method and system of firmware | |
RU2008145039A (en) | METHOD, SYSTEM AND COMPUTER SOFTWARE-IMPLEMENTED CODE FOR AUTOMATIC INSTALLATION OF TRAIN WITH DISTRIBUTED POWER | |
CN104753130B (en) | Charging of mobile devices device and its software installation method | |
RU2017112535A (en) | MOBILE DEVICES FOR COMMUNICATION WITH ADDITIONAL FUNCTIONS AND METHODS FOR THEIR IMPLEMENTATION | |
CN201583945U (en) | Serial communication system for multiple singlechips based on FPGA | |
US20150271264A1 (en) | Service Processing Method and Device | |
CN105159109B (en) | A kind of PLC controller remote update system | |
CN102752299B (en) | Debugging-free composite communication device and method for electric vehicle charging station | |
CN204424942U (en) | Charging of mobile devices device | |
CN103902305A (en) | Software long-distance loading and solidifying method based on TI DSP | |
CN102196601A (en) | Wireless data transmission device based on WSN (wireless sensor network), GPRS (general packet radio service) and GPS (global position system) | |
CN103812695A (en) | Software debugging method and device for SFP (small form pluggable) ONU (optical network unit) | |
CN105068825A (en) | Upgrading system and method for vehicle-loaded communication terminal and upgrading device | |
CN106031253A (en) | Apparatus, system and method of wireless communication during a power save state | |
US20120003927A1 (en) | Communication Apparatus, Program and Communication Method | |
CN102520986A (en) | Novel optical transmission platform equipment software upgrading method | |
CN111654836A (en) | LoRa data acquisition unit, communication method and upgrading method thereof | |
CN101656975A (en) | Wireless sensor network node on-site wireless program updating device and updating method thereof | |
CN103010039A (en) | Boot loading method of battery management systems | |
CN112202656B (en) | Application method of bus communication protocol for on-orbit adjustable traveling wave tube amplifier | |
CN110212937B (en) | Low-power-consumption module based on single Beidou module and multi-card data transmission mode | |
CN116130804B (en) | Battery management system for energy storage system | |
CN110139450B (en) | Street lamp control system based on Internet of things | |
CN114500146B (en) | Model design-based test verification environment building system and verification method |
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 of invention or patent application | ||
CB02 | Change of applicant information |
Address after: Shantou high tech Zone in Guangdong city of Shantou province science and technology road 515000 No. 6 (business building) third, eleventh, twelfth Applicant after: Guangdong Donyan Network Technologies Co., Ltd. Address before: 515000 Guangdong city of Shantou province science and Technology Park Road No. 6 (business building) third, eleventh, twelfth Applicant before: Guangdong Dongyan Network Technologies Co., Ltd. |
|
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120627 |