CN104133714A - Third-party module software on-line management method - Google Patents

Third-party module software on-line management method Download PDF

Info

Publication number
CN104133714A
CN104133714A CN201410394349.8A CN201410394349A CN104133714A CN 104133714 A CN104133714 A CN 104133714A CN 201410394349 A CN201410394349 A CN 201410394349A CN 104133714 A CN104133714 A CN 104133714A
Authority
CN
China
Prior art keywords
party
file
module software
version
upgrade file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410394349.8A
Other languages
Chinese (zh)
Other versions
CN104133714B (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.)
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 CN201410394349.8A priority Critical patent/CN104133714B/en
Publication of CN104133714A publication Critical patent/CN104133714A/en
Application granted granted Critical
Publication of CN104133714B publication Critical patent/CN104133714B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The invention discloses a third-party module software on-line management method which comprises the following steps that first, whether an updating file of third-party module software corresponds to a hardware mark of a single disc which needs updating is checked, if yes, the second step is carried out, and otherwise, updating is not carried out; second, the file description of a target file is obtained; third, the target file is subjected to integrity checking, if the fact that the target file is not complete is found, updating is not carried out, and errors are reported to a web master; otherwise, the fourth step is carried out; fourth, according to the comparing result of information of two versions, whether updating is allowed is judged, if the version of the target file is older than the version of a current file, updating is not carried out, and otherwise, the fifth step is carried out; and fifth, the target file is downloaded, installed and updated. According to the method, a semi-automatic measure is used, on-line management of the third-party module software is achieved, manpower and material resources are saved, and software maintaining efficiency is improved.

Description

The method of third party's module software online management
Technical field
The present invention relates to communication system, be specifically related to the method for third party's module software online management, for to the operation of other devices on single-deck or equipment but not plate carries the software of administrative unit (Board Mangement Unit is called for short BMU) self-operating, by webmaster and plate, carry administrative unit and complete alternately online management.
Background technology
In communication system, third party's programmable module refer to non-single-deck upper plate carry administrative unit (BMU) upper that carry out, process the software that the required every logic module of single-deck, physical device drive, but performed software (software), the hardware (firmware) of other device insides onboard.The file of third party's programmable module manages its validity by BMU and version is followed the tracks of, but does not manage its execution.
In current Communication System Development, more and more use third party's programmable module, and in practical engineering application, the demand of these third party's programmable modules being carried out to software upgrading is very large.
Yet, existing communication equipment can not be supported the on-line software updating of programmable module, once pinpoint the problems in engineering, can utilize alternative device to do change the upgrading of Hou Fan factory for hot swappable device, and for plugging device, need corresponding device to do whole replacement.Therefore, in communication facilities, the software updating efficiency of third party's programmable module and the maintainability of single-deck are poor.
Summary of the invention
Technical matters to be solved by this invention is the software updating efficiency of third party's programmable module and the poor problem of the maintainability of single-deck in communication facilities.
In order to solve the problems of the technologies described above, the technical solution adopted in the present invention is to provide a kind of method of third party's module software online management, comprises the following steps:
Whether the upgrade file of A10, inspection third party module software is corresponding with the hardware identifier of the single-deck of need to upgrading, if corresponding, carries out A20; Otherwise execution step A60;
A20, the upgrade file and the file thereof that by being carried in maintain key word in the project file on this single-deck software, obtain third party's module software are described;
A30, obtain integrity interface, and call the upgrade file of integrity interface check third party module software and file thereof and whether completely describe, if complete, carry out A40; Otherwise exit upgrading, and report an error to webmaster;
A40, the upgrade file of third party's module software and third party's module software of using are carried out to version checking, whether the upgrade file version that judges third party's module software is the lowest version of third party's module software of using, if lowest version is carried out A60; Otherwise carry out A50;
A50, download are also installed the upgrade file of third party's module software, and its version information is reported to webmaster;
A60, exit updating and management.
In said method, in steps A 20, the file of the upgrade file of third party's module software is described and is comprised: the source file of the upgrade file of third party's module software, file path, file size and document handling method.
In said method, in steps A 40, the judgement of the upgrade file lowest version of third party's module software comprises following concrete steps:
A41, obtain version checking function interface, by calling version checking function interface, from the software package version management head of the upgrade file of third party's module software and third party's module software of using, extract corresponding version information;
A42, to the upgrade file of third party's module software and third party's module software release information of using, judge whether they are identical version, and identical version, performs step A45 if; Otherwise execution step A43;
A43, according to version information, judge whether the upgrade file of third party's module software is the soft redaction of third party's module of using, and redaction is carried out A45 if; Otherwise carry out A44;
A44, exit updating and management;
A45, end lowest version determining program.
In said method, in steps A 50, in the process of downloading at the upgrade file to third party's module software, whether the version head of the upgrade file of third party's module software is carried out to CRC check is tampered to detect it, if be tampered, stop downloading, abandon the upgrade file of described third party's module software, and report an error to webmaster.
In said method, the upgrade file of third party's module software reports webmaster by version information after having downloaded.
The present invention adopts semi-automatic means to realize the online management of third party's module software, by software program, first the integrality of the upgrade file of third party's module software and file description thereof is determined, and before the upgrade file of third party's module software is downloaded, carry out version and determine, guaranteed that download version is redaction, avoided unnecessary download and installation, save man power and material, improved the efficiency of software maintenance.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the method for third party's module software online management provided by the invention;
Fig. 2 is lowest version decision flow chart in the present invention.
Embodiment
Below in conjunction with Figure of description, the present invention is described in detail.
For convenience of describing, in below introducing, the third party's module software just using is defined as to current file on single-deck, the upgrade file of third party's module software is defined as to file destination.
As shown in Figure 1, the method for third party's module software online management provided by the invention, comprises the following steps:
A10, check that whether file destination is corresponding with the hardware identifier of the single-deck of need to upgrading, if corresponding, carries out A20; Otherwise execution step A60.
A20, by being carried in, maintain key word in the project file on this single-deck software obtains file destination and file is described.
In this step, by the maintain key word being carried in the project file on single-deck software, obtain file destination and information of upgrade file (file description) thereof, comprising: the source file of file destination, file path, file size and document handling method.
A30, obtain integrity interface, and call integrity interface check file destination and file thereof and whether completely describe, if complete, carry out A40; Otherwise exit upgrading, and report an error to webmaster.
In this step, by being carried in the methord.ini file acquisition integrity interface in the project file on single-deck BMU, and call integrity interface file destination is carried out to integrity checking, integrity checking comprises path, length, the disposal route of the file of the file of file destination in describing, and any one abnormal (not being equal to expection) occurs and all may cause integrity checking abnormal.If find that by check code inspection file destination damages, exit upgrading, and report an error to webmaster.
A40, to file destination and current file carry out version checking (result have 3 kinds may, highest version, lowest version, be equal to version), judge that whether file destination version is the lowest version of current file, if file destination version is the lowest version of current file, carries out A60; Otherwise carry out A50.
In this step, by being carried in the methord.ini file acquisition version checking function interface in the project file on single-deck BMU, call version checking function interface and from the software package version management head of file destination and current file, extract corresponding version information respectively, and judge whether to allow upgrading according to the comparative result between two version informations, as shown in Figure 2, concrete steps are as follows:
A41, obtain version checking function interface, by calling version checking function interface, from the software package version management head of file destination and current file, extract corresponding version information;
A42, contrast file destination and current file version information, judge whether they are identical version, and identical version, performs step A45 if; Otherwise execution step A43;
A43, according to version information, judge whether file destination is redaction, and redaction is carried out A45 if; Otherwise carry out A44;
A44, exit updating and management;
A45, end lowest version determining program.
A50, download installation targets file, and the version information of file destination is reported to webmaster.
In this step, by being carried in methord.ini file acquisition in the project file on the single-deck BMU function interface of upgrading/download, and call upgrading/download function interface downloading object file.In the process of downloading, by version head is done to CRC check, determine whether file destination is tampered, if file destination is tampered, abandons this file destination and report an error to webmaster.
In the present invention, when file destination version is identical with current file version, in order to guarantee that the consistance of version done compulsory software version synchronization, again download and installed file destination, current file has been carried out forcing to upgrade.
A60, exit updating and management.
The present invention is not limited to above-mentioned preferred forms, and anyone should learn the structural change of making under enlightenment of the present invention, and every have identical or close technical scheme with the present invention, within all falling into protection scope of the present invention.

Claims (5)

1. the method for third party's module software online management, is characterized in that, comprises the following steps:
Whether the upgrade file of A10, inspection third party module software is corresponding with the hardware identifier of the single-deck of need to upgrading, if corresponding, carries out A20; Otherwise execution step A60;
A20, the upgrade file and the file thereof that by being carried in maintain key word in the project file on this single-deck software, obtain third party's module software are described;
A30, obtain integrity interface, and call the upgrade file of integrity interface check third party module software and file thereof and whether completely describe, if complete, carry out A40; Otherwise exit upgrading, and report an error to webmaster;
A40, the upgrade file of third party's module software and third party's module software of using are carried out to version checking, whether the upgrade file version that judges third party's module software is the lowest version of third party's module software of using, if lowest version is carried out A60; Otherwise carry out A50;
A50, download are also installed the upgrade file of third party's module software, and its version information is reported to webmaster;
A60, exit updating and management.
2. the method for claim 1, is characterized in that, in steps A 20, the file of the upgrade file of third party's module software is described and comprised: the source file of the upgrade file of third party's module software, file path, file size and document handling method.
3. the method for claim 1, is characterized in that, in steps A 40, the judgement of the upgrade file lowest version of third party's module software comprises following concrete steps:
A41, obtain version checking function interface, by calling version checking function interface, from the software package version management head of the upgrade file of third party's module software and third party's module software of using, extract corresponding version information;
A42, to the upgrade file of third party's module software and third party's module software release information of using, judge whether they are identical version, and identical version, performs step A45 if; Otherwise execution step A43;
A43, according to version information, judge whether the upgrade file of third party's module software is the soft redaction of third party's module of using, and redaction is carried out A45 if; Otherwise carry out A44;
A44, exit updating and management;
A45, end lowest version determining program.
4. the method for claim 1, it is characterized in that, in steps A 50, in the process of downloading at the upgrade file to third party's module software, the version head of the upgrade file of third party's module software is carried out to CRC check and to detect it, whether be tampered, if be tampered, stop downloading, abandon the upgrade file of described third party's module software, and report an error to webmaster.
5. the method for claim 1, is characterized in that, the upgrade file of third party's module software reports webmaster by version information after having downloaded.
CN201410394349.8A 2014-08-12 2014-08-12 The method of third party's module software online management Active CN104133714B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410394349.8A CN104133714B (en) 2014-08-12 2014-08-12 The method of third party's module software online management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410394349.8A CN104133714B (en) 2014-08-12 2014-08-12 The method of third party's module software online management

Publications (2)

Publication Number Publication Date
CN104133714A true CN104133714A (en) 2014-11-05
CN104133714B CN104133714B (en) 2018-01-02

Family

ID=51806400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410394349.8A Active CN104133714B (en) 2014-08-12 2014-08-12 The method of third party's module software online management

Country Status (1)

Country Link
CN (1) CN104133714B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105071971A (en) * 2015-08-26 2015-11-18 广州云宏信息科技股份有限公司 Method for automatically upgrading server side
CN106528248A (en) * 2016-11-30 2017-03-22 惠州Tcl移动通信有限公司 Downloading method and system of mobile terminal based on software integrity
CN106936630A (en) * 2017-02-23 2017-07-07 烽火通信科技股份有限公司 A kind of whole bag upgrade method of many card insert type equipment and upgrade-system
CN108710503A (en) * 2018-05-17 2018-10-26 烽火通信科技股份有限公司 A kind of management method of software version, application method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101038549A (en) * 2007-03-28 2007-09-19 北京启明星辰信息技术有限公司 A software updating method capable of crossing system
WO2013066938A1 (en) * 2011-10-31 2013-05-10 Nokia Corporation Wireless programming

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101038549A (en) * 2007-03-28 2007-09-19 北京启明星辰信息技术有限公司 A software updating method capable of crossing system
WO2013066938A1 (en) * 2011-10-31 2013-05-10 Nokia Corporation Wireless programming

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105071971A (en) * 2015-08-26 2015-11-18 广州云宏信息科技股份有限公司 Method for automatically upgrading server side
CN106528248A (en) * 2016-11-30 2017-03-22 惠州Tcl移动通信有限公司 Downloading method and system of mobile terminal based on software integrity
CN106528248B (en) * 2016-11-30 2021-06-22 惠州Tcl移动通信有限公司 Downloading method and system of mobile terminal based on software integrity
CN106936630A (en) * 2017-02-23 2017-07-07 烽火通信科技股份有限公司 A kind of whole bag upgrade method of many card insert type equipment and upgrade-system
CN108710503A (en) * 2018-05-17 2018-10-26 烽火通信科技股份有限公司 A kind of management method of software version, application method and system

Also Published As

Publication number Publication date
CN104133714B (en) 2018-01-02

Similar Documents

Publication Publication Date Title
US9081964B2 (en) Firmware upgrade error detection and automatic rollback
US7870547B2 (en) Method and apparatus for managing patchable software systems
CN104133714A (en) Third-party module software on-line management method
US10762033B2 (en) Method and apparatus for updating server firmware in server, and server
US20100218176A1 (en) Test system configuration method and system
CN104217137A (en) Method and device for identifying whether intelligent terminal system is changed
CN102662706A (en) Method for remotely reliably upgrading XIP (execute in place) chip software
US9483254B2 (en) Method, apparatus and storage medium for dynamically patching a function
WO2019000963A1 (en) Pre-inspection method for service system, server, and computer readable storage medium
CN106331862A (en) Set-top box software upgrading method and set-top box
CN104123490A (en) Method and device for processing malicious bundled software and mobile terminal
US11615189B2 (en) Update of gateway in substation
CN104331310A (en) Background application one-click installation method and system
CN104615471A (en) System upgrading method and device for terminal
CN111198811A (en) Page automatic test method and device, electronic equipment and storage medium
CN105095006A (en) Method and device for repairing software installation failure
CN105045640A (en) Software upgrading method and device and intelligent equipment
CN102546341B (en) Method for detecting address conflicts in multi-connected air-conditioning units
CN104820676A (en) Method and device for judging magnitude of version number
CN104036193B (en) Local cross-domain vulnerability detection method and device for application program
CN104050054A (en) Processing method for installation package installation failure and cause determining method and device
CN104317672A (en) System file repairing method, device and system
CN111814203A (en) Method, device and equipment for processing environmental data and storage medium
CN104348905A (en) Method and device for pushing message in off-line way
US8074121B2 (en) Automated information technology error and service request correlation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant