CN105373410B - Base station software difference upgrade method and its device - Google Patents

Base station software difference upgrade method and its device Download PDF

Info

Publication number
CN105373410B
CN105373410B CN201510980722.2A CN201510980722A CN105373410B CN 105373410 B CN105373410 B CN 105373410B CN 201510980722 A CN201510980722 A CN 201510980722A CN 105373410 B CN105373410 B CN 105373410B
Authority
CN
China
Prior art keywords
file
upgrade package
difference
version
base station
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
Application number
CN201510980722.2A
Other languages
Chinese (zh)
Other versions
CN105373410A (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.)
Comba Network Systems Co Ltd
Original Assignee
Comba Telecom Technology Guangzhou Ltd
Comba Telecom Systems China Ltd
Comba Telecom Systems Guangzhou Co Ltd
Tianjin Comba Telecom Systems 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 Comba Telecom Technology Guangzhou Ltd, Comba Telecom Systems China Ltd, Comba Telecom Systems Guangzhou Co Ltd, Tianjin Comba Telecom Systems Co Ltd filed Critical Comba Telecom Technology Guangzhou Ltd
Priority to CN201510980722.2A priority Critical patent/CN105373410B/en
Publication of CN105373410A publication Critical patent/CN105373410A/en
Application granted granted Critical
Publication of CN105373410B publication Critical patent/CN105373410B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Abstract

The present invention provides a kind of base station software difference upgrade method, comprising steps of receiving the difference upgrade package uploaded and unziping to respective directories;The version information obtained in difference upgrade package describes file;The information that file is described based on the version information determines the corresponding basic source file of each patch file in difference upgrade package;By the corresponding basic source file guards escorting prisoners of each patch file point, to generate corresponding new target image file;The new target image file of generation is replaced into the corresponding file of original version respectively, integrates new software upgrade package, and save to backup directory;Activate the new software upgrade package version;Base station is restarted, to complete the upgrading of base station software packet.The method of the invention can simply, efficiently and safely realize the upgrading of base station software, reduce the consumption of Internet resources, prevent from generating the security breaches for being easy to forge upgrade package in the whole packet escalation process of tradition, realize the high concurrent upgrading of base station centralized management.

Description

Base station software difference upgrade method and its device
Technical field
The present invention relates to fields of communication technology, specifically, the present invention relates to a kind of base station software difference upgrade method and Corresponding device.
Background technique
Since upgrade package is excessive and the limitation of network transfer speeds, it will lead to that update time is elongated, and update time is too long Problems are brought for upgrading base station.Occur the case where emergency event influences updating result increase during upgrading, such as Link exception, device looses power etc..Now operational administrative is all realized by distributed central control in net base station, and update time is long, meaning Wait-for-response time it is also elongated, for need to realize large-scale concurrent operation controller for, it is desirable that it is higher.Upgrade package It is excessive, space is occupied, big file is decompressed and consumes more cpu resource, while expending network bandwidth, expend network flow, if User will increase overhead by with the Channel improvement of charge on traffic.It then becomes necessary to have a kind of new technology, to solve The certainly above problem improves base station operation stability, operational administrative accuracy.
At this stage, by difference upgrade method have very much, but most of apply in mobile terminal, Web TV, often Kind method corresponds to a kind of upgrading mode of specific equipment, and versatility is lower, and needs more script configuration, implements trouble. And traditional base station software upgrading is upgraded by updating entire software package, and the great wasting of resources is thus brought.Therefore Need to provide a kind of more excellent base station software upgrade method, simply and efficiently to realize the high concurrent of base station centralized management Upgrading.
Summary of the invention
The purpose of the present invention aims to solve the problem that at least one above-mentioned problem, provides a kind of base station software upgrade method and device.
To achieve the goals above, the present invention provides a kind of base station software difference upgrade method, comprising the following steps:
It receives the difference upgrade package uploaded and unzips to respective directories;
The version information obtained in difference upgrade package describes file;
The information that file is described based on the version information determines the corresponding base of each patch file in difference upgrade package Plinth source file;
By the corresponding basic source file guards escorting prisoners of each patch file point, to generate corresponding new target mirror image File;
The new target image file of generation is replaced into the corresponding file of original version respectively, integrates new software upgrade package, And it saves to backup directory;
Activate the new software upgrade package version;
Base station is restarted, to complete the upgrading of base station software packet.
It further, further include the legitimacy of determining difference upgrade package, the specific steps are as follows:
It reads version information and describes file, obtain the corresponding version of difference upgrade package;
Whether consistent verify currently running version information version information corresponding with difference upgrade package;
It is judged as legal if consistent;
It is inconsistent, it is judged as illegal.
Preferably, further include previous step, the disk space size of base station equipment is checked, to determine whether sufficient space Guarantee that difference upgrade package unzips to respective directories.
Specifically, after the base station is restarted successfully, software packet upgrade success.
Specifically, after the base station is restarted unsuccessfully, software packet upgrade failure maintains original version.
Further, it after base station is restarted unsuccessfully, sends upgrading and unsuccessfully alerts to prompt software packet upgrade to fail.
Specifically, file includes that version information describes file, patch file, configuration file in the difference upgrade package.
Optionally, the difference upgrading Packet type includes single file difference upgrade package, whole packet difference upgrade package, adjacent version Difference upgrade package and cross-version difference upgrade package.
Specifically, the version information describes file for recording current operation version information, target version information, master This image file title, patch image file title.
Further, further include step, the configuration file of current operation version and update are exported, by updated configuration file Copy backup directory to.
Specifically, the specific steps for activating new software upgrade package are as follows:
Receive the request for activating new software upgrade package;
Read software upgrading state;
If upgrade status success, updating software starting path is backup directory;
Update state of activation file and restarting equipment.
A kind of base station software difference update device, comprising:
Receiving module: for receiving the difference upgrade package uploaded and unziping to respective directories;
It obtains module: describing file for obtaining the version information in difference upgrade package;
File matching module: it for describing the information of file based on the version information, determines every in difference upgrade package The corresponding basic source file of a patch file;
Solve difference block: for dividing the corresponding basic source file guards escorting prisoners of each patch file, to generate phase The new target image file answered;
Integration module: it for the new target image file generated to be replaced the corresponding file of original version respectively, integrates new Software upgrade package, and save to backup directory;
Active module: for activating the new software upgrade package version;
Restart module: for restarting base station, to complete the upgrading of base station software packet.
Further, further include validity judgement module for determining the legitimacy of difference upgrade package, specifically execute step It is as follows:
It reads version information and describes file, obtain the corresponding version of difference upgrade package;
Whether consistent verify currently running version information version information corresponding with difference upgrade package;
It is judged as legal if consistent;
It is inconsistent, it is judged as illegal.
Further, further include disk space detection module, for detecting the disk space size of base station equipment, be with determination It is no to there is sufficient space to guarantee that difference upgrade package unzips to respective directories.
Specifically, after the base station is restarted successfully, software packet upgrade success.
Specifically, after the base station is restarted unsuccessfully, software packet upgrade failure maintains original version.
Further, after base station is restarted unsuccessfully, upgrading is sent by exception processing module and is unsuccessfully alerted to prompt software packet upgrade Failure.
Specifically, file includes that version information describes file, patch file, base station configuration text in the difference upgrade package Part.
Specifically, the difference upgrading Packet type includes single file difference upgrade package, whole packet difference upgrade package, adjacent version Difference upgrade package and cross-version difference upgrade package.
Specifically, the version information describes file for recording current operation version information, target version information, master This image file title, patch image file title.
It further, further include update module, it, will be updated for exporting configuration file and the update of current operation version Configuration file copies backup directory to.
Specifically, the active module executes step are as follows:
Receive the request for activating new software upgrade package;
Read software upgrading state;
If upgrade status success, updating software starting path is backup directory.
Compared with prior art, the solution of the invention has the following advantages:
1, the present invention carries out upgrading update to the software of base station equipment by the way of difference upgrade package, uploads small volume Difference packet to base station equipment, method instead of using the whole packet of upgrade package to be upgraded in the prior art solves prior art liter It the problem of network resources waste caused by upgrade package is excessive during grade and upgrading low efficiency, simply and efficiently realizes in base station set The high concurrent of formula management upgrades, effective guarantee upgrading stability, improves base station Operation and Maintenance accuracy, and greatly improve network can Maintainability.
2, the present invention is based on the information that the version information in difference upgrade package describes to record in file, to software upgrade package into Row solution difference, configures, solution difference can be carried out by describing file according only to the version information, simply and efficiently without additional script Software upgrade package is restored by difference upgrade package.
3, the method for the invention takes into account the base station feature high to security requirement, by difference packet mode to former upgrade package In file carry out difference upgrading, prevent from generating the security breaches for being easy to forge upgrade package in the whole packet escalation process of tradition.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow diagram of base station software difference upgrade method of the present invention;
Fig. 2 is the structural schematic diagram of base station software difference update device of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and for explaining only the invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the invention Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.It is used herein to arrange Diction "and/or" includes one or more associated wholes for listing item or any cell and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here To explain.
The principle flow chart with reference to shown in Fig. 1, the present invention provide a kind of base station software difference upgrade method, for soft to base station Part is upgraded, specifically includes the following steps:
S11, it receives the difference upgrade package uploaded and unzips to respective directories;
The difference upgrade package locally generated, the equipment end for needing to update software version is uploaded to by local, and equipment end receives To the difference upgrade package of upload, it is unziped it, unzips to corresponding catalogue.Before being decompressed to difference upgrade package, Further include previous step: checking the disk space size of base station equipment, to determine whether that enough spaces guarantee difference upgrading Packet can unzip to corresponding catalogue.Wherein, the file in the difference upgrade package includes that version information describes file, patch text Part, base station configuration file.
Preferably, the difference upgrade package is obtained by the way that upgraded version and original version are carried out difference using bsdiff tool It takes, wherein the upgraded version and original version can be two adjacent versions, generate adjacent version difference upgrade package;It is described Upgraded version and original version may be non-conterminous two versions, generate cross-version difference upgrade package.
When the change of new version older version is bigger, the differential file volume generate after difference will be bigger, because This present embodiment uses the corresponding new version of single file and legacy version in software package to carry out difference one by one respectively, then will be poor All single file collectives after point are packaged, to generate the difference upgrade package of small volume.
S12, the version information obtained in difference upgrade package describe file;
Difference upgrade package is parsed, version information therein is obtained and describes file, the version information description is used for The information such as the current operation version information of record, target version information, original version image file title, patch image file title, Inquire the corresponding version information of difference upgrade package, i.e. target version information.By by the target version information with it is currently running Version information is matched, and determines the legitimacy of difference upgrade package, the specific steps are as follows:
1, it reads version information and describes file, obtain the corresponding version of difference upgrade package;
2, whether consistent currently running version information version information corresponding with difference upgrade package is verified;
3, it is judged as legal if consistent;
4, inconsistent, it is judged as illegal.
When confirming that difference upgrade package is legal, then the difference upgrade package is subjected to solution difference to obtain software upgrade package.When When confirming that the difference upgrade package is illegal, then upgrading failure alarm prompt is sent, and save failure cause, be based in case subsequent The failure cause is further processed, to ensure the normal fortune of base station equipment while the upgrading behavior of monitoring device Row.
S13, the information that file is described based on the version information determine that each patch file in difference upgrade package is corresponding Basic source file;
The original version image file title and patch image file title of file record are described based on the version information, really Determine the corresponding document in the corresponding current operation version of patch file in difference upgrade package, i.e., basic source file.
Wherein, the type of the difference upgrade package includes single file difference upgrade package, whole packet difference upgrade package, adjacent version Difference upgrade package and cross-version difference upgrade package.The single file difference upgrade package is by upgrade package and the phase in former software package It answers file to carry out difference one by one, then each differential file obtained after difference is packaged and generates difference upgrade package.Whole packet difference The whole packet of the whole Bao Yuyuan software package of upgrade package is carried out difference by upgrade package, generates difference upgrade package.Single file difference upgrade package Relatively whole packet difference upgrade package it is small in size, therefore when upgrade package compare the change of original version software package it is larger when, it is preferred to use it is single A difference upgrade package.
Neighbour's version difference upgrade package refers to that the version between upgrade package and former software package is adjacent version;The cross-version Difference upgrade package refers to that the version between upgrade package and former software package is non-adjacent version, the more than one version of difference between version This.Wherein, the adjacent version difference upgrade file is smaller, but needs multiple circulant solution difference to synthesize when upgrading, and need Save multiple version patch files.The cross-version difference upgrade file is larger, but only that once solving difference, saves one The patch of version upgrades more flexible.When more demanding to the file size of upload, preferably using adjacent version difference;When right When update time is more demanding, cross-version difference is preferably used.
S14, the corresponding basic source file guards escorting prisoners of each patch file is divided, to generate corresponding new target Image file;
By each patch file and the corresponding basic source file of each patch file in difference upgrade package, use File one-to-one correspondence is carried out solution difference by bspatch tool, is generated corresponding new target image file, is reduced to upgrade Respective file in packet.It should especially by calling difference upgrade interface patchUpgrad (basePack, patchPack) to realize Solve differentiation step, wherein basePack indicates that basic document store path, patchPack indicate patch file store path.
S15, the new target image file of generation is replaced into the corresponding file of original version respectively, integrates new software upgrading Packet, and save to backup directory;
Based on above-mentioned steps, by the corresponding document in the corresponding difference upgrade package of the basic source file in software package into Row solution difference, is reduced to the corresponding upgrade package of software.The new target image file generated after difference will be solved successively to replace respectively The corresponding file of original version software, and replaced file is integrated to new software upgrade package, including being needed in upgrade package Original version in file, the complete new software upgrade package of generation is saved to backup directory, be used for subsequent update Upgrading.
Further include step in software upgrade package generating process, the configuration file of current operation version software is upgraded, i.e., The current configuration file for running version of export and update, copy updated configuration file to backup directory.The configuration text Part can be database, configuration script etc..By taking database as an example, the variable in upgrade package is searched with the presence or absence of current operation version Database in, be then to update upgrade database using the value of current operation version, copy the database of update to backup directory.
S16, the activation new software upgrade package version;
Based on the new software upgrade package that the difference upgrade package obtains, it is activated, with the liter for base station software Grade is prepared.The specific steps of the new software upgrade package of the activation are as follows:
1, the request for activating new software upgrade package is received;
2, software upgrading state is read;
If 3, upgrade status success, updating software starting path is backup directory;
When the success of software upgrading status display, the starting path for updating software is backup directory, is read in backup directory New software upgrade package, update state of activation file, restart base station equipment, to complete the upgrading of base station software.
S17, base station is restarted, to complete the upgrading of base station software packet.
After base station is restarted successfully, then base station software packet upgrades successfully.When base station is restarted unsuccessfully, then base station software packet upgrades Failure, base station still uses original version software package, to guarantee the normal operation of base station equipment.In addition, after software packet upgrade failure, Start corresponding exception handling, upgrading failure alarm prompt is sent, and save failure cause, in case subsequent be based on the mistake It loses reason to be further processed, is monitoring the normal fortune for ensuring base station equipment while base station equipment upgrading behavior to realize Row.
In order to further modularly describe base station software difference upgrade method of the present invention, refering to what is shown in Fig. 2, also mentioning For a kind of base station software difference update device, including receiving module 81, acquisition module 82, file matching module 83, solution differential mode Block 84, integration module 85, active module 86 restart the validity judgement module 90 in module 87 and Partial Transformation embodiment, Disk space detection module 91, exception processing module 92, update module 93, wherein
The receiving module 81 is used to receive the difference upgrade package uploaded and unzips to respective directories;Receive local upload to Difference upgrade package decompression is reduced to corresponding catalogue, wherein by disk before decompression by the difference upgrade package of base station equipment Space detection module 91 detects the size in the space of respective directories, to determine reserving whether enough difference upgrade package are decompressed Contracting.
The version information that module 82 is obtained for obtaining in difference upgrade package describes file, the version information description For recording the letters such as current operation version information, target version information, original version image file title, patch image file title Breath.After this, the version information based on acquisition describes the conjunction that file judges difference upgrade package by validity judgement module 90 Method.
The file matching module 83 is used to describe the information of file based on the version information, determines in difference upgrade package The corresponding basic source file of each patch file;The original version image filename of file record is described based on the version information Title and patch image file title determine the corresponding text in the corresponding current operation version of patch file in difference upgrade package Part, i.e., basic source file.
The solution difference block 84 is used for by the corresponding basic source file guards escorting prisoners of each patch file point, with life At corresponding new target image file;By each patch file and the corresponding base of each patch file in difference upgrade package File one-to-one correspondence is carried out solution difference using bspatch tool by plinth source file, generates corresponding new target mirror image text Part, the respective file being reduced in upgrade package.
The integration module 85 is used to the new target image file generated replacing the corresponding file of original version respectively, collects The software upgrade package of Cheng Xin, and save to backup directory;The new target image file generated after difference will be solved successively to replace respectively The corresponding file of original version software is changed, and replaced file is integrated to new software upgrade package, including being needed in upgrade package The file in original version wanted saves the complete new software upgrade package of generation to backup directory, with for it is subsequent more New upgrading.Meanwhile further including update module 93, it, will be updated for exporting configuration file and the update of current operation version Configuration file copies backup directory to.
The active module 86 is for activating the new software upgrade package.It is obtained based on the difference upgrade package new Software upgrade package activates it, to prepare for the upgrading of base station software.When the success of software upgrading status display, more The starting path of new software is backup directory, reads the new software upgrade package in backup directory, updates state of activation file, weight New starting base station equipment, to complete the upgrading of base station software.
It is described to restart module 87 for restarting base station, to complete the upgrading of software package.After base station is restarted successfully, then base station Software packet upgrade success.When base station is restarted unsuccessfully, then base station software packet upgrading failure, base station still use original version software package, with Guarantee the normal operation of base station equipment.
In addition, starting exception processing module 92 after software packet upgrade failure, upgrading failure alarm prompt is sent, and protect Failure cause is deposited, in case subsequent be further processed based on the failure cause, to realize in monitoring base station equipment upgrading row For while ensure the normal operation of base station equipment.
The present invention provides the process of the another embodiment of base station software difference upgrade method, is made with programmatic way further It explains, including following below scheme:
Version information describes file in step 1, reading difference upgrade package, verifies version information.If system is currently run Version and difference upgrade package basic version it is inconsistent, be unable to complete solution difference, then upgrade failure, save failure cause;Such as Fruit unanimously thens follow the steps 2;
Step 2 checks whether disk space is enough, and difference upgrade package is decompressed if enough to respective directories;Otherwise it rises Grade failure, saves failure cause;
Step 3 describes the information in file according to version information, searches the base of each differential file in difference upgrade package Plinth source file, can not find, and upgrade failure, save failure cause;Otherwise by the target of two corresponding mitogenetic Cheng Xin of mirror image guards escorting prisoners Mirror image;
Step 4, by the upgrade package of all newly-generated target mirror image file set Cheng Xin, check other necessary files, such as The no file for then using current operation version of fruit difference upgrade package, integrates routine upgrade edition upgrade pack;
Step 5 empties backup directory, mobile newly integrated conventional upgrade package to backup directory, and mobile failure then records original Cause, upgrading failure;It moves and successfully thens follow the steps 6;
The configuration parameter file of step 6, the current operation version of export;
The new software upgrade package version of step 7, activation, activates and successfully thens follow the steps 8;Activation failure then records unsuccessfully former Cause, upgrading failure;
Step 8 restarts base station equipment, restarts and successfully then upgrades successfully;Restart failure and thens follow the steps 9;
The reason of step 9, record upgrading failure, and base station software packet is reduced to original version.
In conclusion the method for the invention or device are reducing escalation process by using the mode of difference upgrade package While middle network resource consumption, the efficiency of base station equipment software upgrading is improved, further perfect safety and fault tolerant mechanism, Realize the high concurrent upgrading of base station centralized management.
The above is only some embodiments of the invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (22)

1. a kind of base station software difference upgrade method, which comprises the following steps:
It receives the difference upgrade package uploaded and unzips to respective directories;
It obtains the version information in difference upgrade package and describes file, the version information describes file for recording original version mirror image File name and patch image file title;
Based on the original version image file title and the patch image file title, each benefit in difference upgrade package is determined The corresponding basic source file of fourth file;
By the corresponding basic source file guards escorting prisoners of each patch file point, to generate corresponding new target mirror image text Part;
The new target image file of generation is replaced into the corresponding file of original version respectively, integrates new software upgrade package, and protect It deposits to backup directory;
Activate the new software upgrade package version;
Base station is restarted, to complete the upgrading of base station software packet.
2. specifically being walked the method according to claim 1, wherein further including the legitimacy of determining difference upgrade package It is rapid as follows:
It reads version information and describes file, obtain the corresponding version of difference upgrade package;
Whether consistent verify currently running version information version information corresponding with difference upgrade package;
It is judged as legal if consistent;
It is inconsistent, it is judged as illegal.
3. checking that the disk of base station equipment is empty the method according to claim 1, wherein further including previous step Between size, with determine whether sufficient space guarantee difference upgrade package unzip to respective directories.
4. the method according to claim 1, wherein software packet upgrade is successful after the base station is restarted successfully.
5. the method according to claim 1, wherein after the base station is restarted unsuccessfully, software packet upgrade failure, Maintain original version.
6. according to the method described in claim 5, it is characterized in that, sending upgrading after base station restarts unsuccessfully and unsuccessfully alerting to mention Show that software packet upgrade fails.
7. the method according to claim 1, wherein file includes version information description in the difference upgrade package File, patch file, base station configuration file.
8. the method according to claim 1, wherein difference upgrading Packet type includes single file difference liter Grade packet, whole packet difference upgrade package, adjacent version difference upgrade package and cross-version difference upgrade package.
9. the method according to the description of claim 7 is characterized in that the version information, which describes file, is also used to record current fortune Row version information and target version information.
10. exporting the configuration text of current operation version the method according to claim 1, wherein further including step Part simultaneously updates, and copies updated configuration file to backup directory.
11. the method according to claim 1, wherein the specific steps for activating new software upgrade package are as follows:
Receive the request for activating new software upgrade package;
Read software upgrading state;
If upgrade status success, updating software starting path is backup directory.
12. a kind of base station software difference update device characterized by comprising
Receiving module: for receiving the difference upgrade package uploaded and unziping to respective directories;
It obtains module: describing file for obtaining the version information in difference upgrade package, the version information describes file and is used for Record original version image file title and patch image file title;
File matching module: for being based on the original version image file title and the patch image file title, determination is poor Divide each patch file in upgrade package corresponding basic source file;
Solve difference block: corresponding to generate for dividing the corresponding basic source file guards escorting prisoners of each patch file New target image file;
Integration module: for the new target image file generated to be replaced the corresponding file of original version respectively, newly soft is integrated Part upgrade package, and save to backup directory;
Active module: for activating the new software upgrade package version;
Restart module: for restarting base station, to complete the upgrading of base station software packet.
13. device according to claim 12, which is characterized in that further include the legitimacy for determining difference upgrade package Validity judgement module, steps are as follows for specific execution:
It reads version information and describes file, obtain the corresponding version of difference upgrade package;
Whether consistent verify currently running version information version information corresponding with difference upgrade package;
It is judged as legal if consistent;
It is inconsistent, it is judged as illegal.
14. device according to claim 12, which is characterized in that further include disk space detection module, for detecting base The disk space size of station equipment, to determine whether that sufficient space guarantees that difference upgrade package unzips to respective directories.
15. device according to claim 12, which is characterized in that after the base station is restarted successfully, software packet upgrade at Function.
16. device according to claim 12, which is characterized in that after the base station is restarted unsuccessfully, software packet upgrade is lost It loses, maintains original version.
17. device according to claim 16, which is characterized in that after base station is restarted unsuccessfully, sent by exception processing module Upgrading is unsuccessfully alerted to prompt software packet upgrade to fail.
18. device according to claim 12, which is characterized in that file includes that version information is retouched in the difference upgrade package State file, patch file, base station configuration file.
19. device according to claim 12, which is characterized in that the difference upgrading Packet type includes single file difference Upgrade package, whole packet difference upgrade package, adjacent version difference upgrade package and cross-version difference upgrade package.
20. device according to claim 18, which is characterized in that the version information describes file and is also used to record currently Run version information and target version information.
21. device according to claim 12, which is characterized in that further include update module, for exporting current operation version Configuration file originally and update, copy updated configuration file to backup directory.
22. device according to claim 12, which is characterized in that the active module executes step are as follows:
Receive the request for activating new software upgrade package;
Read software upgrading state;
If upgrade status success, updating software starting path is backup directory.
CN201510980722.2A 2015-12-22 2015-12-22 Base station software difference upgrade method and its device Active CN105373410B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510980722.2A CN105373410B (en) 2015-12-22 2015-12-22 Base station software difference upgrade method and its device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510980722.2A CN105373410B (en) 2015-12-22 2015-12-22 Base station software difference upgrade method and its device

Publications (2)

Publication Number Publication Date
CN105373410A CN105373410A (en) 2016-03-02
CN105373410B true CN105373410B (en) 2019-04-30

Family

ID=55375637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510980722.2A Active CN105373410B (en) 2015-12-22 2015-12-22 Base station software difference upgrade method and its device

Country Status (1)

Country Link
CN (1) CN105373410B (en)

Families Citing this family (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107436756A (en) * 2016-05-26 2017-12-05 高德信息技术有限公司 One kind applies update method, server, terminal and system
CN106873960B (en) * 2016-07-13 2020-07-21 阿里巴巴集团控股有限公司 Application software updating method and device
CN106648766B (en) * 2016-12-07 2020-07-28 京信通信系统(中国)有限公司 Method and device for generating patch upgrade patch based on folder and differentially upgrading patch based on folder
CN106686632A (en) * 2017-01-04 2017-05-17 京信通信技术(广州)有限公司 Automatic upgrading method and system for software of base stations
CN107015831A (en) * 2017-03-31 2017-08-04 武汉票据交易中心有限公司 A kind of client updating management method upgraded based on server end and system
CN106980522A (en) * 2017-03-31 2017-07-25 武汉票据交易中心有限公司 A kind of client application updating management method and system
CN108934033B (en) * 2017-05-26 2020-11-06 大唐移动通信设备有限公司 Base station upgrading and returning method and device
CN109426515A (en) * 2017-09-04 2019-03-05 中兴通讯股份有限公司 The generation method and device of upgrade package
CN110011817B (en) * 2018-01-04 2023-03-14 中兴通讯股份有限公司 Network element upgrading method and device and computer readable storage medium
CN108021404A (en) * 2018-01-09 2018-05-11 郑州云海信息技术有限公司 A kind of cross-version upgrades storage system and verifies the system and method for data consistency
CN108874406A (en) * 2018-06-28 2018-11-23 郑州云海信息技术有限公司 A kind of upgrade package production method and device
CN109526017B (en) * 2018-12-31 2022-06-03 超讯通信股份有限公司 Distributed small base station upgrading method and system
CN110032377A (en) * 2019-03-19 2019-07-19 芯讯通无线科技(上海)有限公司 Communication module method for upgrading software, system and communication module
CN112306724A (en) * 2019-07-31 2021-02-02 北京君正集成电路股份有限公司 Processing method for differential upgrading failure
CN110532012B (en) * 2019-09-03 2023-08-08 武汉虹信科技发展有限责任公司 Distributed system software upgrading method and device
CN112764789A (en) * 2019-11-06 2021-05-07 中移(苏州)软件技术有限公司 Distributed software upgrading method and node
CN110928569A (en) * 2019-11-20 2020-03-27 杭州依赛通信有限公司 Method for realizing Live Update function of communication equipment
CN111158737B (en) * 2019-12-30 2024-01-05 深圳云天励飞技术有限公司 Incremental upgrading method and related equipment
CN111190628B (en) * 2019-12-31 2023-10-20 京信网络系统股份有限公司 Base station upgrading method, device, equipment and storage medium
CN111258606A (en) * 2020-01-16 2020-06-09 南京英莫特信息科技有限公司 Configuration package upgrading method
CN111414185B (en) * 2020-02-28 2023-01-10 浙江吉利新能源商用车集团有限公司 Terminal upgrading method and device, terminal and storage medium
CN111782236A (en) * 2020-05-11 2020-10-16 广州朗国电子科技有限公司 System software upgrading method and device, storage medium and all-in-one machine equipment
CN111787100B (en) * 2020-06-30 2023-09-01 上海乾隆节能科技有限公司 Centralized controller, differential upgrading system and upgrading method of centralized controller
CN112527370A (en) * 2020-12-04 2021-03-19 成都中科慧源科技有限公司 Method for remotely and differentially upgrading Internet of things equipment
CN112579141A (en) * 2020-12-23 2021-03-30 华立科技股份有限公司 Firmware updating method, device, equipment and storage medium of embedded system
CN112732292B (en) * 2020-12-30 2024-02-23 北京浪潮数据技术有限公司 Method, system, equipment and readable storage medium for upgrading software
CN114697310B (en) * 2020-12-30 2023-04-28 大唐移动通信设备有限公司 Upgrade file distribution method, scheduling server, device and storage medium
CN112631633A (en) * 2021-01-07 2021-04-09 南方电网数字电网研究院有限公司 Function module upgrading method and device based on double-core intelligent electric meter
CN113312076A (en) * 2021-06-25 2021-08-27 瀚云科技有限公司 Configuration information upgrading method, system, electronic equipment and storage medium
CN113672349A (en) * 2021-08-20 2021-11-19 绿盟科技集团股份有限公司 Mirror image updating method, device, equipment and medium
CN114268941A (en) * 2021-12-27 2022-04-01 北京自如信息科技有限公司 Target equipment upgrading method, device, equipment and storage medium
CN116954673B (en) * 2023-09-21 2023-12-26 麒麟软件有限公司 Upgrading and restoring method of Linux operating system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442026A (en) * 2013-02-05 2013-12-11 华为技术有限公司 Application program processing method, device and system
CN103973475A (en) * 2013-02-05 2014-08-06 腾讯科技(深圳)有限公司 Difference service pack generating method, difference service pack downloading method, server and client-side
CN104391728A (en) * 2014-12-12 2015-03-04 北京奇虎科技有限公司 Software upgrading delta pack acquiring method, corresponding upgrading method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103442026A (en) * 2013-02-05 2013-12-11 华为技术有限公司 Application program processing method, device and system
CN103973475A (en) * 2013-02-05 2014-08-06 腾讯科技(深圳)有限公司 Difference service pack generating method, difference service pack downloading method, server and client-side
CN104391728A (en) * 2014-12-12 2015-03-04 北京奇虎科技有限公司 Software upgrading delta pack acquiring method, corresponding upgrading method and device

Also Published As

Publication number Publication date
CN105373410A (en) 2016-03-02

Similar Documents

Publication Publication Date Title
CN105373410B (en) Base station software difference upgrade method and its device
CN102262544B (en) The method and apparatus of software upgrading
CN104199666B (en) A kind of application program Dynamic Configuration and device
US9128880B2 (en) Synchronizing and controlling software downloads, such as for utility meter-reading data collection and processing
KR101238511B1 (en) Publishing the status of and updating firmware components
CN103177082B (en) Master server, from server, index synchro system and index synchronous method
CN106021023B (en) Application program recovery method and device and terminal
CN105653329A (en) Application management method, apparatus and system
US9660857B2 (en) Dynamic communication stack
CN101593119B (en) Method and device for firmware over-the-air of exclusive flash memory combined equipment
JP6852148B2 (en) How to update software update system, firmware over the air update system, and client devices
CN108279922A (en) Differential file generation method, upgrade method and system based on the differential file
CN104679534A (en) System application installation package loading processing method, device and terminal
CN105049502A (en) Method of upgrading equipment software in cloud network management system and device
EP2156286A1 (en) Dynamic cli mapping for clustered software entities
US20110161364A1 (en) System and method for providing a normal file database
JP2007080167A (en) Software resource distribution system and method, and program
CN111698558A (en) Television software upgrading method, television terminal and computer readable storage medium
US8136012B2 (en) Method and system for updating topology changes of a computer network
CN111385613B (en) Television system repairing method, storage medium and application server
CN117056115A (en) Application program repairing method and device, storage medium and electronic equipment
CN108521452B (en) Method and system for intelligently upgrading service version
CN110471689A (en) A kind of application program updating method and device
CN106708541A (en) Version upgrading processing method and apparatus
CN109981342A (en) A kind of method and system of batch processing network device operation order

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180222

Address after: 510663 Guangzhou Science City, Guangdong Shenzhou Road, No. 10

Applicant after: Comba Telecom System (China) Co., Ltd.

Applicant after: Comba Telecom Systems (Guangzhou) Co., Ltd.

Applicant after: Jingxin Communication Technology (Guangzhou) Co., Ltd.

Applicant after: TIANJIN COMBA TELECOM SYSTEMS CO., LTD.

Address before: 510663 Guangdong city of Guangzhou Province Economic and Technological Development Zone Jinbi Road No. 6

Applicant before: Jingxin Communication Technology (Guangzhou) Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200123

Address after: 510663 Guangzhou Science City, Guangdong Shenzhou Road, No. 10

Patentee after: Comba Telecom System (China) Ltd.

Address before: 510663 Guangzhou Science City, Guangdong Shenzhou Road, No. 10

Co-patentee before: COMBA TELECOM SYSTEMS (GUANGZHOU) Ltd.

Patentee before: Comba Telecom System (China) Ltd.

Co-patentee before: COMBA TELECOM TECHNOLOGY (GUANGZHOU) Ltd.

Co-patentee before: TIANJIN COMBA TELECOM SYSTEMS Ltd.

TR01 Transfer of patent right
CP01 Change in the name or title of a patent holder

Address after: 510663 Shenzhou Road 10, Science City, Guangdong, Guangzhou

Patentee after: Jingxin Network System Co.,Ltd.

Address before: 510663 Shenzhou Road 10, Science City, Guangdong, Guangzhou

Patentee before: Comba Telecom System (China) Ltd.

CP01 Change in the name or title of a patent holder