CN104133714B - The method of third party's module software online management - Google Patents
The method of third party's module software online management Download PDFInfo
- Publication number
- CN104133714B CN104133714B CN201410394349.8A CN201410394349A CN104133714B CN 104133714 B CN104133714 B CN 104133714B CN 201410394349 A CN201410394349 A CN 201410394349A CN 104133714 B CN104133714 B CN 104133714B
- Authority
- CN
- China
- Prior art keywords
- party
- file
- version
- module software
- software
- 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.)
- Active
Links
Landscapes
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of method of third party's module software online management, comprise the following steps:The first step, check that the upgrade file of third party's module software with needing the hardware identifier for upgrading single-deck whether corresponding, if it does correspond, then performing second step, otherwise exits upgrading;Second step, obtain the file description of file destination;3rd step carries out integrity checking to file destination, if it find that file destination is imperfect, then exits upgrading, and report an error to webmaster;Otherwise the 4th step is performed;4th step, determine whether to upgrade according to the comparative result between two version informations;If the version of file destination is older than the version of current file, upgrading is exited;Otherwise the 5th step is turned;5th step, downloading object file simultaneously install upgrading.The present invention, using the means of semi-automation, the online management of third party's module software is realized, has saved man power and material, improves the efficiency of software maintenance.
Description
Technical field
The present invention relates to communication system, and in particular to the method for third party's module software online management, for single-deck
Operation rather than onboard administrative unit (Board Mangement Unit abbreviation BMU) self-operating in other devices or equipment
Software, interacted by webmaster with onboard administrative unit and complete online management.
Background technology
In a communications system, third party's programmable module refers to performed on non-single-deck on onboard administrative unit (BMU), place
Manage every logic module needed for single-deck, the software that physical device drives, but the onboard software performed by other device insides
(software), hardware (firmware).The file of third party's programmable module manages its validity by BMU and version tracks,
But its execution is not managed.
Third party's programmable module is more and more used in current communication networks exploitation, and in practical engineering application
In, the demand that these third party's programmable modules are carried out with software upgrading is very big.
However, existing communication equipment can not support the on-line software updating of programmable module, once find to ask in engineering
Topic, it can be done for hot-swappable device using alternative device and change the upgrading of Hou Fan factories, and for device can not be plugged, then need
Overall replacement is done to corresponding device.Therefore, the software updating efficiency of third party's programmable module and single-deck in communication equipment
It is maintainable poor.
The content of the invention
The technical problems to be solved by the invention be in communication equipment the software updating efficiency of third party's programmable module and
Single-deck it is maintainable poor the problem of.
In order to solve the above-mentioned technical problem, the technical solution adopted in the present invention is to provide a kind of third party's module software and existed
The method of wire management, comprises the following steps:
A10, check third party's module software upgrade file and need upgrading single-deck hardware identifier it is whether corresponding, if
It is corresponding, then perform A20;Otherwise step A60 is performed;
A20, maintain keywords acquisition third party's module by being carried in the project file on the single-deck software
Upgrade file and its file description of software;
A30, integrity interface is obtained, and call integrity interface check third party's module software
Upgrade file and its file description it is whether complete, if completely, performing A40;Otherwise upgrading is exited, and is reported an error to webmaster;
A40, version checking is carried out to the upgrade file of third party's module software and the third party's module software being used,
Judge third party's module software upgrade file version whether be the third party's module software being used lowest version, if
Lowest version, then perform A60;Otherwise A50 is performed;
A50, download and the upgrade file for installing third party's module software, and its version information is reported into webmaster;
A60, exit updating and management.
In the above-mentioned methods, the file description of the upgrade file of third party's module software includes in step A20:Third party's mould
Source file, file path, file size and the document handling method of the upgrade file of block software.
In the above-mentioned methods, the judgement of the upgrade file lowest version of third party's module software includes following tool in step A40
Body step:
A41, version checking function interface is obtained, by calling version checking function interface from the liter of third party's module software
Corresponding version information is extracted in the software kit version management head of level file and the third party's module software being used;
A42, upgrade file and the third party's module software release information being used to third party's module software, judge
Whether they are identical version, if identical version, then perform step A45;Otherwise step A43 is performed;
Whether A43, the upgrade file for judging according to version information third party's module software are the third party's mould being used
The soft redaction of block, A45 is then performed if redaction;Otherwise A44 is performed;
A44, exit updating and management;
A45, terminate lowest version determining program.
In the above-mentioned methods, it is right during being downloaded to the upgrade file of third party's module software in step A50
The version head of the upgrade file of third party's module software carries out CRC check to detect whether it is tampered, if be tampered, eventually
Only download, abandon the upgrade file of third party's module software, and reported an error to webmaster.
In the above-mentioned methods, after the completion of the upgrade file of third party's module software is downloaded, version information is reported into webmaster.
The present invention realizes the online management of third party's module software using semi-automatic means, first by software program
Upgrade file to third party's module software and its integrality of file description determined, and in third party's module software
Upgrade file carries out version determination before downloading, and ensure that download version is redaction, avoids unnecessary download and installation, section
About man power and material, improve the efficiency of software maintenance.
Brief description of the drawings
Fig. 1 is the flow chart 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
The present invention is described in detail with reference to Figure of description.
For convenience of description, in introduced below, the third party's module software just used on single-deck is defined as current file,
The upgrade file of third party's module software is defined as 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 file destination with needing the hardware identifier for upgrading single-deck whether corresponding, if corresponding, performs
A20;Otherwise step A60 is performed.
A20, obtained by the maintain keywords that are carried in the project file on the single-deck software file destination and
Its file describes.
In the step, target text is obtained by the maintain keywords in the project file that is carried on single-deck software
Part and its information of upgrade file (file description), including:At the source file of file destination, file path, file size and file
Reason method.
A30, integrity interface is obtained, and call integrity interface check file destination and its text
Whether part description is complete, if completely, performing A40;Otherwise upgrading is exited, and is reported an error to webmaster.
In the step, examined by the methord.ini file acquisitions integrality being carried in the project file on single-deck BMU
Function interface is looked into, and calls integrity interface to carry out integrity checking to file destination, integrity checking includes mesh
The path of file in the file description of mark file, length, processing method, abnormal (being not equal to be expected) occurs all in any one
Integrity checking may be caused abnormal.If finding that file destination damages by check code inspection, upgrading is exited, and to webmaster
Report an error.
A40, version checking is carried out to file destination and current file, and (result has 3 kinds of possibility, highest version, lowest version, is equal
Version), judge file destination version whether be current file lowest version, if file destination version is the low version of current file
This, then perform A60;Otherwise A50 is performed.
In the step, pass through the methord.ini file acquisition version checkings being carried in the project file on single-deck BMU
Function interface, version checking function interface is called to be extracted respectively from the software kit version management head of file destination and current file
Corresponding version information, and determine whether to upgrade according to the comparative result between two version informations, as shown in Fig. 2 tool
Body step is as follows:
A41, version checking function interface is obtained, by calling version checking function interface from file destination and current file
Software kit version management head in extract corresponding version information;
A42, contrast file destination and current file version information, judge whether they are identical version, if identical
Version, then perform step A45;Otherwise step A43 is performed;
A43, according to version information judge whether file destination is redaction, A45 is then performed if redaction;Otherwise hold
Row A44;
A44, exit updating and management;
A45, terminate lowest version determining program.
A50, download simultaneously installation targets file, and the version information of file destination is reported into webmaster.
In the step, upgraded by the methord.ini file acquisitions that are carried in the project file on single-deck BMU/under
Function interface is carried, and calls upgrading/download function interface downloading object file.During download, by being done to version head
CRC check, determines whether file destination is tampered, if file destination is tampered, abandons the file destination and is reported an error to webmaster.
In the present invention, when file destination version is identical with current file version, in order to ensure that the uniformity of version is done
Compulsory software version synchronization, is re-downloaded and is mounted with file destination, and current file has been carried out to force renewal.
A60, exit updating and management.
The present invention is not limited to above-mentioned preferred forms, and anyone should learn that the knot made under the enlightenment of the present invention
Structure changes, and the technical schemes that are same or similar to the present invention, each falls within protection scope of the present invention.
Claims (4)
1. the method for third party's module software online management, it is characterised in that comprise the following steps:
Whether A10, the upgrade file for checking third party's module software are with needing the hardware identifier for upgrading single-deck corresponding, if relatively
Should, then perform A20;Otherwise step A60 is performed;
A20, maintain keywords acquisition third party's module by being carried in the project file on the software on the single-deck
Upgrade file and its file description of software;
A30, the methord.ini files by being carried in the project file on single-deck BMU, obtain integrity and connect
Mouthful, and call the upgrade file of integrity interface check third party's module software and its file description whether complete,
If complete, A40 is performed;Otherwise upgrading is exited, and is reported an error to webmaster;
A40, version checking is carried out to the upgrade file of third party's module software and the third party's module software being used, judged
The upgrade file version of third party's module software whether be the third party's module software being used lowest version, if low version
This, then perform A60;Otherwise A50 is performed;
A50, upgrade/download function by the methord.ini file acquisitions in the project file that is carried on single-deck BMU and connect
Mouthful, and upgrading/download function interface is called, download and the upgrade file of third party's module software is installed, and its version is believed
Breath reports webmaster;
A60, exit updating and management;
Wherein, the judgement of the upgrade file lowest version of third party's module software includes step in detail below in step A40:
A41, version checking function interface is obtained, by calling upgrading text of the version checking function interface from third party's module software
Corresponding version information is extracted in the software kit version management head of part and the third party's module software being used;
A42, upgrade file and the third party's module software release information being used to third party's module software, judge them
Whether it is identical version, if identical version, then performs step A45;Otherwise step A43 is performed;
Whether A43, the upgrade file for judging according to version information third party's module software are that the third party's module being used is soft
The redaction of part, A45 is then performed if redaction;Otherwise A44 is performed;
A44, exit updating and management;
A45, terminate lowest version determining program.
2. the method as described in claim 1, it is characterised in that the text of the upgrade file of third party's module software in step A20
Part description includes:Source file, file path, file size and the document handling method of the upgrade file of third party's module software.
3. the method as described in claim 1, it is characterised in that in step A50, in the upgrading text to third party's module software
During part is downloaded, CRC check is carried out to detect whether it is usurped to the version head of the upgrade file of third party's module software
Change, if be tampered, terminate and download, abandon the upgrade file of third party's module software, and report an error to webmaster.
4. the method as described in claim 1, it is characterised in that, will after the completion of the upgrade file of third party's module software is downloaded
Version information reports webmaster.
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 CN104133714A (en) | 2014-11-05 |
CN104133714B true 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) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105071971A (en) * | 2015-08-26 | 2015-11-18 | 广州云宏信息科技股份有限公司 | Method for automatically upgrading server side |
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 |
Citations (2)
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 |
-
2014
- 2014-08-12 CN CN201410394349.8A patent/CN104133714B/en active Active
Patent Citations (2)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN104133714A (en) | 2014-11-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104007996B (en) | The authentic firmware upgrading of a kind of dcs realizes method | |
CN102622298B (en) | Software testing system and method | |
CN104133714B (en) | The method of third party's module software online management | |
CN100445952C (en) | Software version update method and device in communication equipment | |
CN110209405B (en) | Automatic upgrading method and device for distributed system | |
CN105159718B (en) | Firmware upgrade method and device | |
CN102541596A (en) | Operating system upgrading method and device | |
US20090204946A1 (en) | Intelligent software code updater | |
CN104199869A (en) | Service batch processing method, service server and system | |
CN106325901A (en) | Software version management method and system | |
CN104615471A (en) | System upgrading method and device for terminal | |
CN105045640A (en) | Software upgrading method and device and intelligent equipment | |
CN109725906A (en) | A kind of code compiling method and corresponding continuous integration system | |
CN109324918A (en) | Processing method and processing device, terminal and the storage medium of application exception | |
CN104317672A (en) | System file repairing method, device and system | |
CN104050054A (en) | Processing method for installation package installation failure and cause determining method and device | |
CN103885798A (en) | Data processing method and electronic device | |
CN105590061B (en) | Secure operating system update method for credible performing environment | |
CN111857771A (en) | Deep learning-based automatic operating system patch installation method and system | |
CN110007946B (en) | Method, device, equipment and medium for updating algorithm model | |
CN102014146A (en) | Network monitoring and remote upgrading method of super base station | |
CN106528248B (en) | Downloading method and system of mobile terminal based on software integrity | |
CN104503789A (en) | Version updating control method and ICT (information and communication technology) equipment | |
CN108021407B (en) | Service processing method and device based on network equipment | |
CN103164236A (en) | Method and system of online update of remote server |
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 |