CN105302613A - Method and system for updating EOC software by adopting combined files - Google Patents

Method and system for updating EOC software by adopting combined files Download PDF

Info

Publication number
CN105302613A
CN105302613A CN201510822879.2A CN201510822879A CN105302613A CN 105302613 A CN105302613 A CN 105302613A CN 201510822879 A CN201510822879 A CN 201510822879A CN 105302613 A CN105302613 A CN 105302613A
Authority
CN
China
Prior art keywords
file
upgrade
merged
firmware
pib
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
CN201510822879.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.)
Wuhan FiberHome Networks Co Ltd
Original Assignee
Wuhan FiberHome Networks 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 Wuhan FiberHome Networks Co Ltd filed Critical Wuhan FiberHome Networks Co Ltd
Priority to CN201510822879.2A priority Critical patent/CN105302613A/en
Publication of CN105302613A publication Critical patent/CN105302613A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The invention discloses a method and a system for updating EOC software by adopting combined files, relating to the field of access of integration of three networks. The method comprises the following steps: downloading a firmware updating file and a PIB updating file, packaging the firmware updating file and the PIB updating file into a combined file, and adding five fields, namely chip solution, checking and information, firmware version information, firmware file size and PIB file size, into the file header of the combined file; putting the combined file on an upgrading server; and downloading the combined file to equipment; analyzing the combined file downloaded to the equipment, checking the accuracy, completeness and version consistence of the upgraded file, updating the equipment only when the checking is complete, and returning the upgrading result. According to the method, the upgrading operations are reduced, the firmware is matched with PIB, the workload is reduced, meanwhile, the upgrading safety is improved, and the abnormal work caused by mismatching of the firmware and the PIB after updating can be avoided.

Description

Adopt the method and system that merged file is upgraded to EOC software
Technical field
The present invention relates to integration of three networks EOC (EthernetOverCable, ether data pass through co-axial cables transport) access technology field, specifically relate to a kind of method and system adopting merged file to upgrade to EOC software.
Background technology
Firmware (Firmware) is exactly write EROM (EraseableReadOnlyMemory, erasable read-only memory) or EEPROM (Electrically-ErasableProgrammableRead-OnlyMemory, EEPROM (Electrically Erasable Programmable Read Only Memo)) in program.In EOC (EthernetOverCable, ether data pass through co-axial cables transport) system, EOC firmware is exactly the system software that in head end or EOC terminal, CPU runs.PIB (ParameterInformationBlock, parameter information block) is EOC head end or the configuration file required for EOC terminal CPU running software, is some the necessary configurations required for EOC chip.
In EOC connecting system, EOC chip is managed by a master chip, and EOC chip refers to EOC head end chip and terminal chip, and EOC upgrading is exactly the software of upgrading EOC head end chip and terminal chip.
Shown in Figure 1, the operation of existing EOC document upgrading is exactly primary processor to EOC head end or the CPU software of EOC terminal or the updating operation of configuration file PIB.
In EOC system, the software that firmware and PIB Dou Shi chip producer provide, the firmware that producer provides or PIB also can ceaselessly patch installing and add New function, use to meet engineering, upgrade maintenance work just seems particularly important, when chip producer provides new firmware or PIB, just need to carry out necessary updating operation to the EOC head end in existing network or EOC terminal.
In existing network uses, EOC head end firmware/PIB or terminal firmware/PIB upgrading are generally all come step by step.Engineering staff takes the firmware that official issues, and selects to need the firmware of upgrading to upgrade by webmaster, after firmware of having upgraded, then selects to need the PIB of upgrading to upgrade.
In communication facilities is safeguarded, upgrade function is absolutely necessary, and in this case, must consider the factor of the aspects such as the workload of upgrading, operability and upgrading safety.In the existing network application of current EOC, be all adopt the direct firmware that provides of chip producer or PIB to upgrade respectively to EOC chip upgrade, upgrade after needing firmware updating PIB again, and each upgrading all can repeat twice, complex steps.When equipment to be upgraded is fewer, workload can also accept, but when will carry out the whole network upgrading, workload is obviously multiplied.
Summary of the invention
The object of the invention is the deficiency in order to overcome above-mentioned background technology, a kind of method and system adopting merged file to upgrade to EOC software are provided, updating operation can be reduced, accomplish firmware and PIB coupling simultaneously, while minimizing workload, improve the security of upgrading, avoid occurring after upgrading not mating due to firmware and PIB the operation irregularity caused.
The invention provides a kind of method adopting merged file to upgrade to EOC software, comprise the following steps:
Download firmware upgrade file and parameter information block PIB upgrade file, make the merged file needed for upgrading: after firmware upgrade file and PIB upgrade file are packaged into a merged file, 5 fields below adding in the file header of this merged file: chip solution field, School Affairs information field, firmware version information field, firmware file size field and PIB file size field;
Merged file is placed on upgrade server; Merged file is downloaded to equipment; Resolve the merged file downloaded on equipment, whether the correctness of verification upgrade file, integrality, version be consistent, only has verification completely by just carrying out device upgrade, and return the result of upgrading.
On the basis of technique scheme, whether described chip solution field is correct for verifying upgrade file.
On the basis of technique scheme, whether described School Affairs information field is complete for verifying upgrade file, and this field is according to merged file length computation result out.
On the basis of technique scheme, whether described firmware version information field is consistent for verifying upgrade file version.
On the basis of technique scheme, described firmware file size field and PIB file size field are used for: offset according to these two fields, parse firmware upgrade file and PIB upgrade file from merged file.
The present invention also provides a kind of system adopting merged file to upgrade to EOC software, and this system comprises merged file production unit, merged file download unit, resolves verification unit and upgrade unit, wherein:
Merged file production unit is used for: download firmware upgrade file and parameter information block PIB upgrade file, make the merged file needed for upgrading: after firmware upgrade file and PIB upgrade file are packaged into a merged file, 5 fields below adding in the file header of this merged file: chip solution field, School Affairs information field, firmware version information field, firmware file size field and PIB file size field; Merged file is placed on upgrade server;
Merged file download unit is used for: merged file is downloaded to equipment;
Parsing verification unit for: resolve the merged file that downloads on equipment, whether the correctness of verification upgrade file, integrality, version consistent, only have verification to pass through completely, and just transmission upgrade is to upgrade unit;
Upgrade unit is used for: only receive resolve verification unit send upgrade time, just carry out device upgrade, and return the result of upgrading.
On the basis of technique scheme, whether described chip solution field is correct for verifying upgrade file.
On the basis of technique scheme, whether described School Affairs information field is complete for verifying upgrade file, and this field is according to merged file length computation result out.
On the basis of technique scheme, whether described firmware version information field is consistent for verifying upgrade file version.
On the basis of technique scheme, described firmware file size field and PIB file size field are used for: offset according to these two fields, parse firmware upgrade file and PIB upgrade file from merged file.
Compared with prior art, advantage of the present invention is as follows:
The present invention is in EOC system, firmware upgrade file and PIB upgrade file are packaged into a merged file, 5 fields below the file header interpolation of merged file: chip solution field, School Affairs information field, firmware version information field, firmware file size field and PIB file size field.In escalation process, equipment is first combined file and does a series of verification, only has verification completely by just carrying out device upgrade: the File header information of first resolving interpolation, according to File header information, do the correctness of upgrade file, integrality etc. to compare, ensure the security of upgrading; Only when matches version information, just carry out updating operation, updating operation can be reduced, effective reduction workload and maintenance cost, accomplish firmware and PIB coupling simultaneously, while minimizing workload, improve the security of upgrading, avoid occurring after upgrading not mating due to firmware and PIB the operation irregularity caused.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of existing EOC document upgrading operation.
Fig. 2 adopts merged file to the process flow diagram of the method that EOC software is upgraded in the embodiment of the present invention.
Fig. 3 adopts merged file to the process flow diagram of the method that EOC software is upgraded specific embodiment.
Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention is described in further detail.
Shown in Figure 2, the embodiment of the present invention provides a kind of method adopting merged file to upgrade to EOC software, comprises the following steps:
Download firmware upgrade file and PIB upgrade file, make the merged file needed for upgrading: after firmware upgrade file and PIB upgrade file are packaged into a merged file, 5 fields below adding in the file header of this merged file: chip solution field, School Affairs information field, firmware version information field, firmware file size field and PIB file size field;
Merged file is placed on upgrade server; Merged file is downloaded to equipment; Resolve the merged file downloaded on equipment, whether the correctness of verification upgrade file, integrality, version be consistent, only has verification completely by just carrying out device upgrade, and return the result of upgrading.
The embodiment of the present invention also provides a kind of system adopting merged file to upgrade to EOC software, comprises merged file production unit, merged file download unit, resolves verification unit and upgrade unit, wherein:
Merged file production unit is used for: download firmware upgrade file and PIB upgrade file, make the merged file needed for upgrading: after firmware upgrade file and PIB upgrade file are packaged into a merged file, 5 fields below adding in the file header of this merged file: chip solution field, School Affairs information field, firmware version information field, firmware file size field and PIB file size field; Merged file is placed on upgrade server;
Merged file download unit is used for: merged file is downloaded to equipment;
Parsing verification unit for: resolve the merged file that downloads on equipment, whether the correctness of verification upgrade file, integrality, version consistent, only have verification to pass through completely, and just transmission upgrade is to upgrade unit;
Upgrade unit is used for: only receive resolve verification unit send upgrade time, just carry out device upgrade, and return the result of upgrading.
When making merged file, having more than is simply firmware upgrade file and PIB upgrade file have been packaged into a merged file just, only in merged file, adds suitable Detection Information, just can as the foundation of subsequent upgrade operation.After firmware upgrade file and PIB upgrade file are packaged into a merged file by the embodiment of the present invention, 5 fields below adding in the file header of this merged file: chip solution field, School Affairs information field, firmware version information field, firmware file size field and PIB file size field, wherein:
Chip solution field: whether correct for verifying upgrade file, in escalation process, the file placed on upgrade server may be made mistakes, resolve this field, see whether be this EOC chip solution, if not, direct backspace file does not mate, if mated with upgrading scheme, then carry out updating operation;
School Affairs information field: whether complete for verifying upgrade file, this field is according to merged file length computation result out, whether completely upgrade file can be verified according to this field, if checksum error, then directly return network management upgrading file imperfect; If correct, then carry out updating operation;
Firmware version information field: whether consistent for verifying upgrade file version, compares this field and equipment existing version, if version is consistent, then carries out updating operation;
Firmware file size field and PIB file size field are used for: offset according to these two fields, parse firmware upgrade file and PIB upgrade file from merged file.
Be described in detail below by a concrete escalation process.
Shown in Figure 3, the method adopting merged file to upgrade to EOC software, specifically comprises the following steps:
S1, need upgrading head end EOC software or terminal EOC software time, from the official website of chip producer, download firmware upgrade file and the PIB upgrade file of official's issue, by packing program, by firmware upgrade file and the packing of PIB upgrade file, form a merged file, and add following field in the file header of this merged file: chip solution, School Affairs information, firmware version information, firmware file size and PIB file size;
After S2, merged file complete, merged file is placed on upgrade server, the relevant configuration of configuration upgrade server, webmaster is selected the equipment needing upgrading, downloads merged file to the equipment needing upgrading;
Whether S3, verification upgrade file be correct: resolve the chip solution field in the file header of merged file, the actual chips solution of this field and equipment compared, if coupling, then represents that upgrade file is correct, forwards step S4 to; If do not mated, then represent upgrade file mistake, upgrade unsuccessfully, forward step S7 to;
Whether S4, verification upgrade file be complete: resolve the School Affairs information field in the file header of merged file, compared by the School Affairs that this field and upgrade file are calculated, if equal, then represents that upgrade file is complete, forwards step S5 to; If unequal, then represent that upgrade file is imperfect, upgrades unsuccessfully, forwards step S7 to;
Whether S5, verification upgrade file version be consistent: resolve the firmware version information field in the file header of merged file, this field and the firmware version information run at present are compared, if version is consistent, then forward step S6 to; If version is inconsistent, then failure of upgrading, forwards step S7 to;
Firmware file size field in the file header of S6, parsing merged file and PIB file size field, according to these two fields, parse the firmware upgrade file in merged file and PIB upgrade file, carry out updating operation, after having upgraded, forward step S7 to;
S7, return updating result.
The principle of the embodiment of the present invention is elaborated as follows:
Lack the verification of rational version in traditional escalation process, the integrality of file is not verified, if downloading process file is downloaded imperfect, can cause and upgrade unsuccessfully, but for webmaster, only know and upgrade unsuccessfully, and do not know it is that what reason causes failure; , also the correctness of file is not compared meanwhile, if at will take a upgrade file, under being placed on upgrading catalogue, can causing equally and upgrade unsuccessfully, and not know to upgrade failed reason; Moreover, version file information is not compared, in escalation process, all devices is all upgraded, be just that device version is consistent with existing version, have also been made updating operation, invisiblely can waste update time.
Mating of firmware file and PIB file is not done in traditional escalation process.Firmware updating continues to use original PIB file, when version span is larger, to upgrade firmware, there will be new firmware and the unmatched situation of original PIB, even firmware operation irregularity, final all cannot the new PIB of remote upgrade, when this situation of appearance, equipment must be repaired by the mode of programming file by return-to-factory.
The embodiment of the present invention is in EOC system, firmware upgrade file and PIB upgrade file are packaged into a merged file, 5 fields below the file header interpolation of merged file: chip solution field, School Affairs information field, firmware version information field, firmware file size field and PIB file size field.In escalation process, equipment first does a series of verification to file, only has verification completely by just carrying out device upgrade: the File header information of first resolving interpolation, according to File header information, do the correctness of upgrade file, integrality etc. to compare, ensure the security of upgrading; Only when matches version information, just carry out updating operation, updating operation can be reduced, effective reduction workload and maintenance cost, accomplish firmware and PIB coupling simultaneously, while minimizing workload, improve the security of upgrading, avoid occurring after upgrading not mating due to firmware and PIB the operation irregularity caused.
Those skilled in the art can carry out various modifications and variations to the embodiment of the present invention, if these amendments and modification are within the scope of the claims in the present invention and equivalent technologies thereof, then these revise and modification also within protection scope of the present invention.
The prior art that the content do not described in detail in instructions is known to the skilled person.

Claims (10)

1. the method adopting merged file to upgrade to EOC software, is characterized in that, comprises the following steps:
Download firmware upgrade file and parameter information block PIB upgrade file, make the merged file needed for upgrading: after firmware upgrade file and PIB upgrade file are packaged into a merged file, 5 fields below adding in the file header of this merged file: chip solution field, School Affairs information field, firmware version information field, firmware file size field and PIB file size field;
Merged file is placed on upgrade server; Merged file is downloaded to equipment; Resolve the merged file downloaded on equipment, whether the correctness of verification upgrade file, integrality, version be consistent, only has verification completely by just carrying out device upgrade, and return the result of upgrading.
2. the method adopting merged file to upgrade to EOC software as claimed in claim 1, is characterized in that: whether described chip solution field is correct for verifying upgrade file.
3. the method adopting merged file to upgrade to EOC software as claimed in claim 1, it is characterized in that: whether described School Affairs information field is complete for verifying upgrade file, this field is according to merged file length computation result out.
4. the method adopting merged file to upgrade to EOC software as claimed in claim 1, is characterized in that: whether described firmware version information field is consistent for verifying upgrade file version.
5. the method adopting merged file to upgrade to EOC software as claimed in claim 1, it is characterized in that: described firmware file size field and PIB file size field are used for: offset according to these two fields, from merged file, parse firmware upgrade file and PIB upgrade file.
6. the system adopting merged file to upgrade to EOC software, is characterized in that: this system comprises merged file production unit, merged file download unit, resolves verification unit and upgrade unit, wherein:
Merged file production unit is used for: download firmware upgrade file and parameter information block PIB upgrade file, make the merged file needed for upgrading: after firmware upgrade file and PIB upgrade file are packaged into a merged file, 5 fields below adding in the file header of this merged file: chip solution field, School Affairs information field, firmware version information field, firmware file size field and PIB file size field; Merged file is placed on upgrade server;
Merged file download unit is used for: merged file is downloaded to equipment;
Parsing verification unit for: resolve the merged file that downloads on equipment, whether the correctness of verification upgrade file, integrality, version consistent, only have verification to pass through completely, and just transmission upgrade is to upgrade unit;
Upgrade unit is used for: only receive resolve verification unit send upgrade time, just carry out device upgrade, and return the result of upgrading.
7. the system adopting merged file to upgrade to EOC software as claimed in claim 6, is characterized in that: whether described chip solution field is correct for verifying upgrade file.
8. the system adopting merged file to upgrade to EOC software as claimed in claim 6, it is characterized in that: whether described School Affairs information field is complete for verifying upgrade file, this field is according to merged file length computation result out.
9. the system adopting merged file to upgrade to EOC software as claimed in claim 6, is characterized in that: whether described firmware version information field is consistent for verifying upgrade file version.
10. the system adopting merged file to upgrade to EOC software as claimed in claim 6, it is characterized in that: described firmware file size field and PIB file size field are used for: offset according to these two fields, from merged file, parse firmware upgrade file and PIB upgrade file.
CN201510822879.2A 2015-11-23 2015-11-23 Method and system for updating EOC software by adopting combined files Pending CN105302613A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510822879.2A CN105302613A (en) 2015-11-23 2015-11-23 Method and system for updating EOC software by adopting combined files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510822879.2A CN105302613A (en) 2015-11-23 2015-11-23 Method and system for updating EOC software by adopting combined files

Publications (1)

Publication Number Publication Date
CN105302613A true CN105302613A (en) 2016-02-03

Family

ID=55199908

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510822879.2A Pending CN105302613A (en) 2015-11-23 2015-11-23 Method and system for updating EOC software by adopting combined files

Country Status (1)

Country Link
CN (1) CN105302613A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107341031A (en) * 2017-06-20 2017-11-10 广州慧睿思通信息科技有限公司 A kind of method and device that firmware generation information is added in DSP firmwares
CN110851162A (en) * 2019-11-11 2020-02-28 深圳忆联信息系统有限公司 SSD (solid State disk) firmware upgrading method and device compatible with RAID and non-RAID

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621792A (en) * 2009-07-15 2010-01-06 厦门敏讯信息技术股份有限公司 Method for upgrading telesoftware of wireless fixed phone terminal
CN101667131A (en) * 2009-10-14 2010-03-10 中兴通讯股份有限公司 Mobile terminal and updating method of configuration information thereof
CN103677902A (en) * 2013-11-25 2014-03-26 上海斐讯数据通信技术有限公司 Method for ensuring safety and success of updating of line-card software in distributed OLT system
CN104503803A (en) * 2014-12-26 2015-04-08 上海斐讯数据通信技术有限公司 Linux kernel and file system upgrading method
CN104657184A (en) * 2015-03-11 2015-05-27 成都广达电子股份有限公司 Upgrading method by corresponding files to multi-embedded equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621792A (en) * 2009-07-15 2010-01-06 厦门敏讯信息技术股份有限公司 Method for upgrading telesoftware of wireless fixed phone terminal
CN101667131A (en) * 2009-10-14 2010-03-10 中兴通讯股份有限公司 Mobile terminal and updating method of configuration information thereof
CN103677902A (en) * 2013-11-25 2014-03-26 上海斐讯数据通信技术有限公司 Method for ensuring safety and success of updating of line-card software in distributed OLT system
CN104503803A (en) * 2014-12-26 2015-04-08 上海斐讯数据通信技术有限公司 Linux kernel and file system upgrading method
CN104657184A (en) * 2015-03-11 2015-05-27 成都广达电子股份有限公司 Upgrading method by corresponding files to multi-embedded equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107341031A (en) * 2017-06-20 2017-11-10 广州慧睿思通信息科技有限公司 A kind of method and device that firmware generation information is added in DSP firmwares
CN107341031B (en) * 2017-06-20 2020-12-15 广州慧睿思通信息科技有限公司 Method and device for adding firmware generation information into DSP firmware
CN110851162A (en) * 2019-11-11 2020-02-28 深圳忆联信息系统有限公司 SSD (solid State disk) firmware upgrading method and device compatible with RAID and non-RAID

Similar Documents

Publication Publication Date Title
CN105262627A (en) Firmware upgrade method, device and system
CN103309768B (en) Method and device for repairing system files
CN104346167A (en) Method and device for generating application channel package
CN103226484A (en) On-orbit update method for satellite-borne integrated electronic system program
CN104579748B (en) The network analysis method and system that SCD is checked online
CN105589725B (en) Upgrade package production method and upgrade method, the upgrade package of a kind of electronic equipment
KR101512611B1 (en) Systems and methods for repairing system files
CN106484453B (en) Method and device for realizing system upgrading
CN104933368A (en) Network security vulnerability detection method and apparatus
CN105389177A (en) Software version confirmation method, device and system
TW201621647A (en) Operating system updating method
CN105302613A (en) Method and system for updating EOC software by adopting combined files
CN104506942A (en) Set-top box and upgrading method of cable modem system of set-top box
CN105468389A (en) CPLD-based remote upgrading control method and apparatus
CN104239109A (en) Method for on-line management of embedded system firmware
CN105808273A (en) Software upgrading method and software upgrading device
CN108268570A (en) A kind of method and device of development interface
AU2010358328B2 (en) Processing devices and methods for transmitting and receiving data
CN104834286A (en) Reprogramming method, reprogramming system, reprogramming device and electronic control unit
CN107438017A (en) Server system interface expander firmware upgrade method and system
CN101207492A (en) Method and apparatus for avoiding downloading error document
WO2017152079A1 (en) Computer-implemented system and method for automating web application runtime error repairing
CN103023881B (en) Information Security determination methods and system
CN108419006A (en) A kind of big packet upgrade method based on web camera
CN109582334A (en) The upgrade method and device of programmable logic device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20160203