CN101136770B - Automatically upgrading method and apparatus for telecom multi-branch network management system - Google Patents

Automatically upgrading method and apparatus for telecom multi-branch network management system Download PDF

Info

Publication number
CN101136770B
CN101136770B CN2006101496531A CN200610149653A CN101136770B CN 101136770 B CN101136770 B CN 101136770B CN 2006101496531 A CN2006101496531 A CN 2006101496531A CN 200610149653 A CN200610149653 A CN 200610149653A CN 101136770 B CN101136770 B CN 101136770B
Authority
CN
China
Prior art keywords
client
upgrading
upgrade
aku
service end
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.)
Expired - Fee Related
Application number
CN2006101496531A
Other languages
Chinese (zh)
Other versions
CN101136770A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2006101496531A priority Critical patent/CN101136770B/en
Publication of CN101136770A publication Critical patent/CN101136770A/en
Application granted granted Critical
Publication of CN101136770B publication Critical patent/CN101136770B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The disclosed equipment includes upgrade center, upgrade proxy (UP) at server end, upgrade service at client end, and UP at client end. The method includes steps: UP at server end obtains upgrading packets from the upgrade center, and runs the upgrading packets to accomplish upgrading operation; UP at client end accesses the upgrade service at client end to detect whether version at client end isconsistent to version at server end; if not, then the UP at client end connects the upgrade center to obtain the upgrading packets, and runs them to upgrade or rollback the client end to the state consistent to version at server end. Thus, the invention reduces complexity of upgrading attended operation on site, raises upgrading and maintaining efficiency, and accuracy for executing upgrading operation so as to lower practical operating cost in telecom network management system, and provide high cost performance ratio.

Description

The automatically updating method of telecom multi-branch network management system and device
Technical field
The present invention relates to the multiple-limb system, particularly the automatically updating method of telecom multi-branch network management system and device.
Background technology
In recent years, along with the develop rapidly of telecommunications industry, the application of its network management system has also obtained fast development with popularization, and this makes the upgrade maintenance problem of telecommunication network management system become increasingly conspicuous.At present in the telecommunication network management field, the upgrade maintenance of system is often by on-site maintenance personnel manual operations, such as: when actual needs is upgraded network management system, generally finish the obtaining of AKU, decompress(ion) by hand by the on-site maintenance personnel, cover, delete discarded file, revise configuration file, carry out the database upgrade script according to the supporting paper information and executing upgrade file in the AKU again to realize the upgrading of the employed database of network management service, wherein especially configuration file upgrading and database upgrade, very loaded down with trivial details, be easy to make mistakes.
On the other hand, at present many to the research of the auto-update of software systems, such as: the virus base automatic upgrading and updating of antivirus software, upgrading of operating system or the like, but the upgrade design of these software systems, do not relate to the upgrading of application data base, only be that upgrade function is single, far can not satisfy the complex upgrading functional requirement of telecom network management system to the simple modification of replacement of the data file in the legacy version of current operation or configuration file.
In addition, the current research that also exists for the auto-update of telecom network management system, but the upgrade problem that does not all relate to database, the smooth upgrade of mainly having explored the redundancy of active and standby plate and having designed, do not relate to the upgrade problem of telecom network management system service end and client yet, more do not solve client upgrading and the handling problem of service end upgrading relation in the practical application, can't satisfy the actual upgrade demand of current telecom network management system.So, can't promote, make the upgrade maintenance of current telecom network management system, still use the manual upgrading mode of complex operation, inefficiency usually.
At last, because the network management system quantity of telecom operators is big in the practical application, the Regional Distribution scope is wide; The required workload of artificial upgrading mode is very big, expends great amount of manpower and material resources, and operation cost is increased sharply, and complicated operation, inefficiency.And current auto-update for complicated telecom network management system does not have total solution; So, finish the upgrade maintenance work of spatial dispersion, network management system that quantity is bigger how simply, efficiently, save human and material resources, cut operating costs, this has become to press for the problem of solution naturally.
Telecom network management system comprise following characteristics jointly:
1. system is huge, the function complexity;
2. divide the multilayer concurrent development.Because system is huge, function is complicated, so telecom network management system generally all is divided into multilayer, each layer developed by one or several special group or department.Because technology innovation is very fast, the industry competition fierceness requires the R﹠D cycle short as far as possible, so generally all be that multilayer is developed simultaneously in addition.Each layer all is a branch system independently from the exploitation angle;
3. individual system is divided into client and service end, i.e. the C/S structure;
4. many network management services are cascaded as topology network architecture up and down;
5. many clients can be used same service end simultaneously jointly, and same client also can successively connect different service ends;
6. the upgrading of service end and client is not quite similar, and service end need be carried out database upgrade;
7. the upgrading of client depends on the current version information of the service end that client connects, must be consistent with service end, so that the function of normally using service end and being provided.So this just relates to two aspect problems: promptly when client release is lower than service end current version information, client need be upgraded to consistent with the version of current institute Connection Service end; When client release is higher than service end current version information, then need client release is return back to consistent with the version of current institute Connection Service end.
8. system quantity is big in the actual operation, and the Regional Distribution scope is wide;
9. grid links to each other.The system of these spatial dispersion, One's name is legion generally links to each other by local area network (LAN) etc.
Mode complicated operation, inefficiency owing to upgrade manually, and the function singleness that the auto-update mode of regular software system provides is extremely limited, can not satisfy the special and complicated upgrade function demand of telecom network management system; The auto-update scheme of existing telecommunication system is not distinguished network management system service end and client upgrade problem, does not handle the dependence problem of client upgrading and service end upgrading, does not more relate to the auto-update problem of the application data base of service end.In addition, it no matter is the auto-update scheme of general software systems auto-update or current existing telecommunication system, all do not solve the actual upgrade problem of client, promptly needing current version according to institute's Connection Service end to decide is to adopt upwards upgrading mode, or the upgrading mode of downward rollback is so that guarantee the connected service end version of client release unanimity all the time.
Summary of the invention
For defective and the deficiency that overcomes prior art, the object of the present invention is to provide a kind of automatically updating method and device of telecom multi-branch network management system, can reduce the complexity of field upgrade attended operation, the accuracy that increases substantially upgrade maintenance efficient and carry out updating operation, and the saving human and material resources, greatly reduce the operation cost of telecom network management system reality.
In order to achieve the above object, the automatically updating method of a kind of telecom multi-branch network management system of the present invention may further comprise the steps:
(1) when the needs upgrading service end, service end upgrading agency obtains the AKU of equipment upgrade center, and the operation AKU is finished updating operation;
(2) client upgrading proxy access client upgrade service, whether with service end version consistent, if testing result is for being the step end if detecting client release; If testing result then enters step (3) for not;
(3) client upgrading agency connects equipment upgrade center and obtains AKU and operation, with the client upgrading or return back to the state consistent with the service end version.
As a further improvement on the present invention, described step (1) is specially:
(11) when the needs upgrading service end, service end upgrading agency connects equipment upgrade center, and obtains the current available AKU information of service end;
(12) if exist, then close service end, the mode by FTP is connected to equipment upgrade center, and the download and upgrade bag;
(13) service end upgrading agency carries out decompress(ion) to this AKU, and the run time version in the operation AKU carries out upgrading processing;
(14) service end upgrading agency starts the service end after upgrading processing.
As a further improvement on the present invention, the method for obtaining the current available AKU information of service end in the described step (11) is:
As parameter, the current available AKU information of service end is obtained in the service of visit equipment upgrade center information scanning to service end upgrading agency with local service end current version information;
Wherein, described AKU information comprises the title of AKU ID, the affiliated whole system of AKU, the release status migration information of AKU and the bottom branch system information that the affiliated branch system of AKU is relied on.
As a further improvement on the present invention, the upgrading processing described in the step (13) comprises successively:
It is upgrade file, configuration file upgrading, database upgrade and renewal version information that backup services end ancient deed, deletion need the service end ancient deed of upgrading, replacement service end ancient deed.
As a further improvement on the present invention, described step (2) is specially:
(21) client terminal start-up and logon server;
(22) client upgrading agency obtains access client upgrade service after the current version information of client;
Whether (23) the client upgrade service detects the current version information of the version information receive and service end consistent, if testing result is for being the step end; If testing result then enters step (3) for not.
As a further improvement on the present invention, described step (3) is specially:
(31) Client Agent connects equipment upgrade center, and obtains the current required AKU information of client;
(32) if exist, then close client, the mode by FTP is connected to equipment upgrade center, the download and upgrade bag;
(33) client upgrading agency carries out decompress(ion) to this AKU, and the run time version in the operation AKU carries out upgrading processing;
(34) with after the client upgrading or returning back to the state consistent with the service end version, client upgrading agency starts client.
As a further improvement on the present invention, the method for obtaining the current required AKU information of client in the described step (31) is:
As parameter, all AKU information that are higher than the active client version information and are less than or equal to institute's login service end current version information are obtained in the service of visit equipment upgrade center information scanning to client upgrading agency with local client current version information; Perhaps obtain all AKU information that are lower than the active client version information and are greater than or equal to institute's login service end current version information;
Wherein, described AKU information comprises the title of AKU ID, the affiliated whole system of AKU, the release status migration information of AKU and the bottom branch system information that the affiliated branch system of AKU is relied on.
As a further improvement on the present invention, the upgrading processing described in the step (33) comprises successively:
Backup client ancient deed, the ancient deed that the deletion client need be upgraded, the ancient deed of replacing client are upgrade file, configuration file upgrading and upgrade version information.
As a further improvement on the present invention, described step (1) is preceding also comprises:
(A) system develops AKU according to actual needs, and by the FTP service that equipment upgrade center provides, AKU is uploaded to equipment upgrade center.
The auto-update device of a kind of telecom multi-branch network management system of the present invention, comprise: independent part is deployed on the equipment upgrade center of any position, the service end upgrading agency that independent part is deployed on service end, be deployed in the client upgrade service of service end and client that independent part is deployed on client upgrading agency, wherein
Described equipment upgrade center is used to provide the upgrade information scan service, and receives the AKU of uploading by FTP of having made and provide service end and the upgrade FTP download service of required AKU of client;
Described service end upgrading agency is used for obtaining AKU in equipment upgrade center service end is carried out upgrading processing, and start service end after upgrading;
Described client upgrade service is used to obtain local service end current version information, does the consistency detection of version with the version of the client that receives, and testing result is returned to client upgrading agency;
Client upgrading agency is used to send client release to the client upgrade service, request version consistency detection, and obtain AKU from equipment upgrade center when inconsistent detecting version, will behind the AKU decompress(ion) client be carried out upgrading processing.
As a further improvement on the present invention, describedly service end carried out upgrading processing comprise:
It is upgrade file, configuration file upgrading, database upgrade and renewal version information that backup services end ancient deed, deletion need the service end ancient deed of upgrading, replacement service end ancient deed;
Describedly client carried out upgrading processing comprise:
Backup client ancient deed, the ancient deed that the deletion client need be upgraded, the ancient deed of replacing client are upgrade file, configuration file upgrading and upgrade version information.
After adopting above-mentioned method and apparatus, owing to used the system of service end and Client Auto Update, can reduce the complexity of field upgrade attended operation, the accuracy that increases substantially upgrade maintenance efficient and carry out updating operation, and saving human and material resources, greatly reduce the operation cost of telecom network management system reality, the cost performance height.
Description of drawings
Fig. 1 is the automatically updating method of telecom multi-branch network management system of the present invention and the main assembly schematic diagram of device;
Fig. 2 is the automatically updating method of telecom multi-branch network management system of the present invention and the equipment upgrade center schematic diagram of device;
Fig. 3 is the automatically updating method of telecom multi-branch network management system of the present invention and the service end upgrading flow chart of device;
The automatically updating method of Fig. 4 position telecom multi-branch network management system of the present invention and the client of device upgrading flow chart.
Embodiment
The present invention finishes the auto-update of network management system jointly by realizing equipment upgrade center module, service end upgrading proxy module, client upgrade service module, client upgrading proxy module.The i.e. automatic updating system of designing by this method, form by following four parts:
Equipment upgrade center, service end upgrading agency, client upgrade service, client upgrading agency.
Finish the content that the present invention also will arrange each branch system AKU descriptor:
(A) the unique ID that provides AKU to identify.This information is used to follow the tracks of the upgrading historical information of fielded system;
(B) provide the title of the whole system under the AKU.When information scanning and before carrying out upgrading, detect, to avoid misapplying the AKU of other system product;
(C) provide the release status migration information of AKU, promptly this AKU is upgraded to system the information of another release status from certain release status; This information will determine whether AKU can be carried out;
(D) provide the information of the bottom branch system that branch system is relied under the AKU.This information is used for decision upgrading execution path, promptly before carrying out certain AKU, whether needs at first to carry out the AKU that it relies on branch, so that the system after the upgrading can true(-)running.
Below in conjunction with accompanying drawing the specific embodiment of the present invention is described in further detail.
As shown in Figure 1, be system of the present invention composition diagram, comprise:
Equipment upgrade center;
Functions of modules: Ftp service function and AKU information scanning service function are provided, mainly finish the distribution and the upgrade information scan function of AKU.
Deployed position: can independently arbitrarily dispose;
Information interaction: accept service end current version information (service end upgrading proxy module sends) or client current version information (client upgrading agency sends); Send upgrade information to service end upgrading agency or client upgrading agency.Receiving Ftp uploads (during the release upgrade bag), downloads (when carrying out upgrading) AKU request; Receive, send the AKU file of appointment.
Service end upgrading agency;
Functions of modules: provide network management system service end upgrade information to detect, when needs are upgraded, at first close the network management system service end, from equipment upgrade center download and upgrade bag, start the executable program in the AKU at last again, finish the auto-update of network management system service end.
Deployed position: be deployed in the network management system service end, but must move with independent process.
Information interaction: obtain local service end current version information, send to equipment upgrade center, the request upgrade information; Obtain current upgrade information from the equipment upgrade center module.Send the request of Ftp download and upgrade APMB package to the equipment upgrade center module; From equipment upgrade center module download and upgrade APMB package.
The client upgrade service;
Functions of modules: provide service end information to obtain, finish client and local service end (being the current service end of logining of client) version consistency detection jointly with client upgrading agency.
Deployed position: must be deployed in network management service, and with network management service in same in-process operation.
Information interaction: accept the client current version information that client upgrading agency sends; Obtain local service end current version information, analyze the version consistency; Analysis result is sent to client upgrading agency.
Client upgrading agency;
Functions of modules: client and service end version consistency detection are provided, when needs are upgraded, at first close local client; Connect equipment upgrade center again, obtain corresponding AKU; Start the executable program in the AKU at last, finish the auto-update of network management system client.
Deployed position: must be deployed in network management system client, but move with independent process.
Information interaction: obtain local client current version information, send to the client upgrade service, the request consistency analysis; Obtain the consistency analysis result from the client upgrade service.Send client current version information to equipment upgrade center; Obtain the client upgrade information from equipment upgrade center.Send the request of Ftp download and upgrade APMB package to equipment upgrade center; From equipment upgrade center download client AKU file.
As shown in Figure 1, this programme performing step is as follows:
The first step: correctly dispose each module of auto-update, equipment upgrade center can be deployed in arbitrarily independently server; Service end upgrading agency department is deployed on service end system, but necessary independent operating; The client upgrade service is deployed in the in-process operation of service end system; Client upgrading agency department is deployed on FTP client FTP, but independent operating;
Second step: release upgrade bag.The AKU of (as repairing fault, update functions etc.) exploitation according to actual needs, the Ftp service that utilizes equipment upgrade center to provide uploads to equipment upgrade center with AKU;
The 3rd step: service end upgrading proxy access equipment upgrade center, obtain upgrade information and download and upgrade bag, the decompress(ion) AKU, the upgrading run time version in the AKU that reruns is finished concrete updating operation;
The 4th step:, obtain version consistency detection result by the upgrade service of client upgrading proxy access client; When if the service end version of client release and current login is inconsistent, then point out the user to need upgrading.After the user confirms to need upgrading, by client upgrading proxy access equipment upgrade center, obtain upgrade information and download and upgrade bag, reruning downloads to local AKU, and the state consistent with the service end version arrived in local client upgrading (when client release is low) or rollback (when client release is higher).
As shown in Figure 2, the equipment upgrade center functional schematic has been described.
Equipment upgrade center provides conventional Ftp service, comprises that visiting equipment upgrade center FTP service uploads AKU and visit equipment upgrade center FTP service download and upgrade bag;
In addition, equipment upgrade center provides the service of AKU information scanning, retouches service slightly by client upgrading agency or service end upgrading proxy access equipment upgrade center information, and the current AKU information that provides is provided; This service provides two kinds of service functions, and a kind of function is to specify a current version information, obtains current all new (the current version information that promptly is higher than appointment) the AKU information of equipment upgrade center, uses this function during the service end upgrading; Another kind of function is to specify a current version information and with the target version information that is upgraded to, obtain equipment upgrade center current all availablely (promptly be higher than current version, and be less than or equal to the target version that will be upgraded to, be i.e. all AKUs of client upgrading; Perhaps be lower than current version, and be greater than or equal to the target version that will be upgraded to, be i.e. all AKUs of client " rollback ") AKU, this function the time is used in the client upgrading.
The flow chart of service end upgrading has been described as shown in Figure 3.
(101) at first by the actual needs of user, start service end upgrading agency according to the service end operation; Here it should be noted that service end upgrading agency can be configured to move automatically when service end starts, and in the whole service process, visit equipment upgrade center, detect upgrade information according to designated time intervals.But such risk is bigger! Service end generally can not carried out updating operation easily in actual operation, only breaking down or existing capability can not satisfy office side's demand the time, just may carry out the upgrading of service end.In addition, instant certain function breaks down, also a upgrading at office side's service end of having used this function, and for office side's service end of not using this function just, generally be unwilling to carry out upgrading, introduce other new faults that are difficult to expect because worry the upgrading back.In sum, the upgrading of service end is comparatively careful, needs specifically to confirm, so the proxy configurations of generally service end not being upgraded is operation automatically, but the user confirms to need to carry out when upgrading to start operation by the user; But, for the superior and the subordinate are unified into the cancellated a plurality of service ends of topology (can affirm that the service end under this situation belongs to same office side), the proxy configurations of service end can being upgraded is carried out auto-update for the version according to higher level's service end, promptly when subordinate's service end version is lower than higher level's service end version, subordinate's service end will automatically perform updating operation;
(102) after service end upgrading agency starts, service segment upgrading agency connects equipment upgrade center; Simultaneously with the local service end current version information obtained as parameter, the current available AKU information of service end is obtained in the service of visit equipment upgrade center information scanning;
(103) if there is AKU information, then close the local service end;
(104) be connected to equipment upgrade center in the Ftp mode, the AKU of download user appointment;
(105) AKU is downloaded to this locality after, the decompress(ion) AKU;
(106) with process initiation independently and move run time version in the AKU;
(107) after this carrying out concrete updating operation successively by the run time version in the AKU comprises
(A) backup ancient deed in order to improve the efficient of backup, can be taked only the target that will delete, revise, move to be backed up;
(B) the discarded file of deletion is carried out deletion action for being upgraded file discarded in the version, to avoid its influence to the normal operation of the new system in the back of upgrading;
(C) replace upgrade file, the upgrade file in the AKU is copied to the target location that is upgraded in the version;
(D) configuration file upgrading, carry out the configuration updating operation, comprise two kinds of big modes, a kind of be according to configuration upgrading descriptor directly the old configuration file in being upgraded system newly-increased, revise, the deletion configuration item, to finish updating operation, make that the new system after the upgrading is able to normal operation to old configuration file; Another kind is to use the profile template of redaction to override ancient deed earlier, again according to the configuration emigration descriptor, in the new configuration file of the specified configuration information transfer in the ancient deed before the upgrading after the upgrading, to satisfy the requirement of the normal operation of the new system in upgrading back;
Wherein, above-mentioned configuration upgrading descriptor is the used information description file of a kind of ROMPaq, is used to describe the upgrade information of network management system configuration file, upgrades operation so that ROMPaq, is carried out the upgrading of network management system configuration file according to this descriptor.This message file is the XML form, and its content comprises: description will be upgraded target configuration file name and the relative path information in the direct old network management system of upgrading of program; The form of the target configuration file that description will directly be upgraded.The configuration file of network management system is generally two kinds of forms at present: XML form and Properties form, because file for different-format, the needed information gap of its upgrading processing is very big, and upgrading processing is also inequality, so need clearly describe the format information of the file destination that will be upgraded;
Describe concrete updating operation information, comprising: increase configuration item: promptly need ROMPaq according to this descriptor, a newly-increased configuration item in the file destination of appointment.For this situation, need provide the newly-increased positional information of configuration item in file destination; For the newly-increased configuration item of needs upgrading user in upgrading layout setting configuration item value, also need to provide internationalization information and layout setting control type, so that ROMPaq is according to these information, create corresponding upgrading the interface is set, so that the upgrading user is provided with the value of newly-increased configuration item, ROMPaq is added value and other information of configuration item that the user is provided with in the file destination of appointment more together; Be provided with for the user that need not to upgrade, then must when describing this newly-increased configuration item, provide the value of configuration item; In addition, but also the scope of the limited subscriber value of setting, provide default value as a reference or the like.
Revise configuration item: the information of promptly describing the configuration item that needs the ROMPaq modification, so that ROMPaq is according to this descriptor, specified configuration item in the file destination is directly revised, revised or the like simultaneously as the title of revising configuration item, the value of revising configuration item or the two.For revising title, then need to provide amended newname; For the modification value, then need to provide amended new value.
Deletion configuration item: promptly describe the discarded configuration item that needs the ROMPaq deletion, so that ROMPaq according to this descriptor, is directly deleted the specified configuration item in the file destination.At this moment, need provide deleted position and deleted title to get final product.
Above-mentioned configuration emigration descriptor is the used information description file of a kind of ROMPaq, be used to describe the migration information of network management system configuration file, so that ROMPaq is according to this descriptor, to specify the value of the configuration item in the configuration file to read out in the old network management system before the upgrading, and be saved in the specified configuration item in the specified configuration file of the new network management system in upgrading back, thereby operation is upgraded in the upgrading of finishing configuration file.This provides the mode of another kind of network management system configuration file upgrading.This message file is the XML form, and its content comprises:
Describe the source file information of migration, promptly ROMPaq will read the information of which configuration item in which file the legacy version before upgrading;
Describe the file destination information of migration, promptly ROMPaq will be preserved in which file in the redaction of upgrading back and obtained information in which configuration item;
The form of migrated file is described.The configuration file of network management system is generally two kinds of forms at present: XML form and Properties form, because file for different-format, it is very big that its migration upgrade is handled needed information gap, the migration upgrade operation is also inequality, so need clearly to describe the format information that will carry out the information transfer file;
Describe concrete migration operation information, comprising: read configuration item position and name information in ancient deed; The information that reads is saved in the position and the name information of concrete configuration item in the new file.
(E) database upgrade if there is database upgrade, then according to the database upgrade descriptor, obtained the database upgrade script by the order of describing, and is carried out each upgrade script successively.If need the interim usemame/password of switching when carrying out some concrete upgrade scripts, then use and specify the usemame/password of switching to carry out this database upgrade script in the descriptor file;
Wherein, above-mentioned database upgrade descriptor is the used information description file of a kind of ROMPaq, be used to describe network management system database upgrade information, so that ROMPaq is according to this descriptor, carry out the database upgrade script file that provides successively, thereby operation is upgraded in the upgrading of finishing the network management system database.This message file is the XML form, and its content comprises:
At first according to version transition dividing data qurush level script, promptly from certain edition upgrading to another version process, need to carry out which database upgrade script;
According to data source (under the general situation, a plurality of data sources are used in the operation of network management system simultaneously) dividing data qurush level script, promptly under specific version transition, which database upgrade script is certain data source need carry out again;
According to database language environment (under the general situation, database operates in one of two language environments, i.e. Chinese or english-speaking environment) dividing data qurush level script,, need to carry out which database upgrade script under certain language environment more promptly at specific data source;
Again according to type of database (under the general situation, network management system is used the database of a certain type, such as: Sql Server2000, Oracle, Sybase, Mysql or the like) dividing data qurush level script, promptly at specific language environment, which database upgrade script the database upgrade of certain type need carry out.
(F) upgrade version information, carry out carry out AKU after, need to upgrade version information, according to the target version information of AKU version information, revise the specified message file as the new system in upgrading back.
(108) upgrading finishes the back and starts service end, withdraws from ROMPaq again.
As shown in Figure 4, the flow chart of upgrading for client.
Trigger a client upgrading agency's operation when starting client login service end by the user at every turn.
(201) start client;
(202) login service end;
(203) upgrade service of client upgrading proxy access client detects the version consistency; At first obtain the current version information of local client, visit again the client upgrade service of institute's login service end, send client current version information, request version consistency analysis result; If the two version unanimity then withdraws from client upgrading agency, allow the user continue to carry out subsequent operation; If the two version is inconsistent, then point out the user active client of need upgrading;
(204) after the user confirms to need upgrading, client upgrading agency connects equipment upgrade center, visit upgrade information scan service is obtained all the AKU information (when client release is low) that are higher than the active client version information and are less than or equal to institute's login service end current version information; Perhaps obtain all AKU information (when client release is higher) that are lower than the active client version information and are greater than or equal to institute's login service end current version information.
(205) if there is AKU information, then close local client;
(206) be connected to equipment upgrade center in the Ftp mode, download required AKU;
(207) AKU is downloaded to this locality after, the decompress(ion) AKU;
(208) with process initiation independently and move run time version in the AKU;
(209) after this carry out concrete updating operation successively by the run time version in the AKU, concrete updating operation and service end upgrading are similar, just the client upgrading does not relate to the updating operation of database, comprises backup ancient deed, the discarded file of deletion successively, replaces upgrade file, configuration file upgrading, upgrades version information;
(210) after upgrading finishes, start client automatically, withdraw from ROMPaq again.
After adopting method described above, can reach following some beneficial effect:
(1) solved the service end upgrade problem. Namely be unified into the auto-update of topology between cancellated a plurality of service ends for the superior and the subordinate, namely the user only need to carry out the upgrading of higher level's service end, and all subordinate's service ends will be finished updating operation automatically. Also solved simultaneously the upgrade problem of the employed database of service end;
(2) solved the actual upgrade problem of client. Be the version that the upgrading of client depends on institute's Connection Service end, when client release is higher, will carry out the upgrading mode of " rollback "; When client release is low, the upwards mode of upgrading will be carried out; Version final and institute's Connection Service end is consistent, so as client can normally use connect the function that service end provides;
(3) applied widely. This technical scheme scope of application is wider, supports simultaneously the auto-update of regular software system and multiple-limb software systems;
(4) improved upgrade maintenance efficient. Use the automatically updating method of multiple-limb system, the efficient of actual execution upgrade maintenance is high a lot;
(5) reduce Operating Complexity. Transparent to the end user, the actual upgrade of multiple-limb system is simple to operate, and the user carries out the updating operation of multiple-limb system as the upgrading of biconditional operation conventional system; For the upgrading of client, it is " upgrading " or " rollback " that the user does not distinguish actual;
(6) the concrete code of carrying out upgrading is in AKU, and the upgrading agent functionality is simple, and this is easy to expansion so that the each several part coupling degree of whole upgrade-system reduces.
(7) this method realizes that cost is cheap, but the lifting of the performance of bringing to the end user is significant, and cost performance is higher.

Claims (9)

1. the automatically updating method of a telecom multi-branch network management system is characterized in that, may further comprise the steps:
(1) when the needs upgrading service end, service end upgrading agency obtains the AKU of equipment upgrade center, and the operation AKU is finished updating operation;
(2) client upgrading proxy access client upgrade service, whether with service end version consistent, if testing result is for being the step end if detecting client release; If testing result then enters step (3) for not;
(3) client upgrading agency connects equipment upgrade center and obtains AKU and operation, with the client upgrading or return back to the state consistent with the service end version;
Wherein, described step (1) is specially:
(11) when the needs upgrading service end, service end upgrading agency connects equipment upgrade center, and obtains the current available AKU information of service end;
(12) if exist, then close service end, the mode by FTP is connected to equipment upgrade center, and the download and upgrade bag;
(13) service end upgrading agency carries out decompress(ion) to this AKU, and carries out upgrading processing with the run time version in the independent process operation AKU;
(14) service end upgrading agency starts the service end after upgrading processing;
Wherein the upgrading processing described in the step (13) comprises successively: service end ancient deed, the replacement service end ancient deed of backup services end ancient deed, the upgrading of deletion needs are upgrade file, configuration file upgrading, database upgrade and renewal version information.
2. according to the automatically updating method of the described telecom multi-branch network management system of claim 1, it is characterized in that the method for obtaining the current available AKU information of service end in the described step (11) is:
As parameter, the current available AKU information of service end is obtained in the service of visit equipment upgrade center information scanning to service end upgrading agency with local service end current version information;
Wherein, described AKU information comprises the title of AKU ID, the affiliated whole system of AKU, the release status migration information of AKU and the bottom branch system information that the affiliated branch system of AKU is relied on.
3. according to the automatically updating method of the described telecom multi-branch network management system of claim 1, it is characterized in that described step (2) is specially:
(21) client terminal start-up and logon server;
(22) client upgrading agency obtains access client upgrade service after the current version information of client;
Whether (23) the client upgrade service detects the current version information of the version information receive and service end consistent, if testing result is for being the step end; If testing result then enters step (3) for not.
4. according to the automatically updating method of the described telecom multi-branch network management system of claim 1, it is characterized in that described step (3) is specially:
(31) Client Agent connects equipment upgrade center, and obtains the current required AKU information of client;
(32) if exist, then close client, the mode by FTP is connected to equipment upgrade center, the download and upgrade bag;
(33) client upgrading agency carries out decompress(ion) to this AKU, and carries out upgrading processing with the run time version in the independent process operation AKU;
(34) with after the client upgrading or returning back to the state consistent with the service end version, client upgrading agency starts client.
5. according to the automatically updating method of the described telecom multi-branch network management system of claim 4, it is characterized in that the method for obtaining the current required AKU information of client in the described step (31) is:
As parameter, all AKU information that are higher than the active client version information and are less than or equal to institute's login service end current version information are obtained in the service of visit equipment upgrade center information scanning to client upgrading agency with local client current version information; Perhaps obtain all AKU information that are lower than the active client version information and are greater than or equal to institute's login service end current version information;
Wherein, described AKU information comprises the title of AKU ID, the affiliated whole system of AKU, the release status migration information of AKU and the bottom branch system information that the affiliated branch system of AKU is relied on.
6. according to the automatically updating method of the described telecom multi-branch network management system of claim 4, it is characterized in that the upgrading processing described in the step (33) comprises successively:
Backup client ancient deed, the ancient deed that the deletion client need be upgraded, the ancient deed of replacing client are upgrade file, configuration file upgrading and upgrade version information.
7. according to the automatically updating method of the described telecom multi-branch network management system of claim 1, it is characterized in that described step (1) is preceding also to be comprised:
(A) system develops AKU according to actual needs, and by the FTP service that equipment upgrade center provides, AKU is uploaded to equipment upgrade center.
8. the auto-update device of a telecom multi-branch network management system, it is characterized in that, comprise: independent part is deployed on the equipment upgrade center of any position, the service end upgrading agency that independent part is deployed on service end, be deployed in the client upgrade service of service end and client that independent part is deployed on client upgrading agency, wherein
Described equipment upgrade center is used to provide the upgrade information scan service, and receives the AKU of uploading by FTP of having made and provide service end and the upgrade FTP download service of required AKU of client;
Described service end upgrading agency, move with independent process, be used for obtaining AKU service end is carried out upgrading processing in equipment upgrade center, and after upgrading, start service end, wherein service end is carried out upgrading processing and comprise: service end ancient deed, the replacement service end ancient deed of backup services end ancient deed, the upgrading of deletion needs are upgrade file, configuration file upgrading, database upgrade and renewal version information;
Described client upgrade service is used to obtain local service end current version information, does the consistency detection of version with the version of the client that receives, and testing result is returned to client upgrading agency;
Client upgrading agency, with the independent process operation, be used to send client release to the client upgrade service, request version consistency detection, and obtain AKU from equipment upgrade center when inconsistent detecting version, will behind the AKU decompress(ion) client be carried out upgrading processing.
9. according to the auto-update device of the described telecom multi-branch network management system of claim 8, it is characterized in that,
Describedly client carried out upgrading processing comprise:
Backup client ancient deed, the ancient deed that the deletion client need be upgraded, the ancient deed of replacing client are upgrade file, configuration file upgrading and upgrade version information.
CN2006101496531A 2006-10-13 2006-10-13 Automatically upgrading method and apparatus for telecom multi-branch network management system Expired - Fee Related CN101136770B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006101496531A CN101136770B (en) 2006-10-13 2006-10-13 Automatically upgrading method and apparatus for telecom multi-branch network management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006101496531A CN101136770B (en) 2006-10-13 2006-10-13 Automatically upgrading method and apparatus for telecom multi-branch network management system

Publications (2)

Publication Number Publication Date
CN101136770A CN101136770A (en) 2008-03-05
CN101136770B true CN101136770B (en) 2010-12-29

Family

ID=39160628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006101496531A Expired - Fee Related CN101136770B (en) 2006-10-13 2006-10-13 Automatically upgrading method and apparatus for telecom multi-branch network management system

Country Status (1)

Country Link
CN (1) CN101136770B (en)

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916200B (en) * 2010-08-03 2015-08-26 中兴通讯股份有限公司 The method of terminal staging, the method for backoff of terminal upgrading and upgrading management center
CN102902562B (en) * 2012-09-17 2018-04-27 中兴通讯股份有限公司 A kind of assembly type multimode webmaster service packs installation method and device
CN103838598A (en) * 2012-11-27 2014-06-04 镇江精英软件科技有限公司 Method for automatically upgrading programs through FTP technology
CN105376085A (en) * 2014-08-27 2016-03-02 中兴通讯股份有限公司 Method, device and system for upgrading data collection agent
CN104793970A (en) * 2015-04-02 2015-07-22 安徽四创电子股份有限公司 Online upgrade method based on FTP
CN106469069B (en) * 2015-08-17 2021-06-11 中兴通讯股份有限公司 Version upgrading method and system
CN105071971A (en) * 2015-08-26 2015-11-18 广州云宏信息科技股份有限公司 Method for automatically upgrading server side
CN105302603A (en) * 2015-10-26 2016-02-03 广州视睿电子科技有限公司 Software upgrade method and apparatus
CN105302604B (en) * 2015-10-30 2018-10-23 北京奇虎科技有限公司 The method for updating edition and device of application program
CN105528205A (en) * 2015-11-30 2016-04-27 用友优普信息技术有限公司 Update control method and update control system
CN107463390B (en) * 2016-06-02 2020-12-01 阿里巴巴集团控股有限公司 Software upgrading method and upgrading server
CN108270806A (en) * 2016-12-30 2018-07-10 航天信息股份有限公司 A kind of more application upgrade method and systems
CN107391176B (en) * 2017-06-26 2020-07-07 上交所技术有限责任公司 Efficient configuration data change processing method
CN108134701A (en) * 2017-12-22 2018-06-08 上海携程商务有限公司 Client runs the management method and system of benchmark
DK3617875T3 (en) * 2018-08-27 2021-07-19 Ovh PROCEDURE FOR IMPROVED AUTOMATED SOFTWARE UPDATE USING A NETWORK DEVICE
CN109634669B (en) * 2018-11-20 2021-08-17 锐捷网络股份有限公司 Starting method and device of embedded system
CN109639812A (en) * 2018-12-24 2019-04-16 山东浪潮云信息技术有限公司 A kind of participle package management method, apparatus and system
CN109658588A (en) * 2019-01-25 2019-04-19 浪潮金融信息技术有限公司 A method of realizing that intelligence configures can recognize banknote
CN110912975A (en) * 2019-11-12 2020-03-24 国云科技股份有限公司 Private cloud version management system and implementation method thereof
CN112306552A (en) * 2020-11-01 2021-02-02 国铁吉讯科技有限公司 System software version management method, device and storage medium
CN114968294A (en) * 2021-02-26 2022-08-30 深圳怡化电脑科技有限公司 Firmware upgrading method and device for equipment, electronic equipment and storage medium
CN115576586B (en) * 2022-11-15 2023-04-07 四川蜀天信息技术有限公司 Method for intelligently operating and maintaining server-side program of server
CN116974857B (en) * 2023-09-21 2024-01-23 中国西安卫星测控中心 Automatic deployment and update method and system for monitoring agent

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477500A (en) * 2002-08-19 2004-02-25 万达信息股份有限公司 Software automatic upgrading and updating method under Client/Server frame
CN1690961A (en) * 2004-04-30 2005-11-02 鸿富锦精密工业(深圳)有限公司 Client program automatic updating system and method
EP1684172A1 (en) * 2005-01-24 2006-07-26 BIOTRONIK CRM Patent AG Software distribution and maintenance system for implantable medical devices
CN1276348C (en) * 2003-01-15 2006-09-20 联想(北京)有限公司 Automatic upgrading method for diskfree working station

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477500A (en) * 2002-08-19 2004-02-25 万达信息股份有限公司 Software automatic upgrading and updating method under Client/Server frame
CN1276348C (en) * 2003-01-15 2006-09-20 联想(北京)有限公司 Automatic upgrading method for diskfree working station
CN1690961A (en) * 2004-04-30 2005-11-02 鸿富锦精密工业(深圳)有限公司 Client program automatic updating system and method
EP1684172A1 (en) * 2005-01-24 2006-07-26 BIOTRONIK CRM Patent AG Software distribution and maintenance system for implantable medical devices

Also Published As

Publication number Publication date
CN101136770A (en) 2008-03-05

Similar Documents

Publication Publication Date Title
CN101136770B (en) Automatically upgrading method and apparatus for telecom multi-branch network management system
KR100596298B1 (en) System and method for the automatic installation and configuration of an operating system
CN101179429B (en) Remote exhibition and real-time edition method of configuration file
CN105681060A (en) Virtualization network function management upgrading method and apparatus and virtualization network function management server
CN108334370B (en) Software automatic incremental updating and upgrading method of distributed test system
CN103226493A (en) Method and system for deploying multi-operation system service
CN110427385A (en) Block chain data-updating method, interdependent node and block chain
CN112199157B (en) Cloud environment management method
CN109298868A (en) Intelligent dynamic deployment and unloading method for mapping image data processing software
CN105260209A (en) Hot-update solution of program
CN109598427B (en) Robot management method and device and electronic equipment
CN106569845A (en) Universal software installation system and universal software installation method under Windows domain authority management
CN103077034A (en) JAVA application migration method and system for hybrid virtualization platform
JPH08137768A (en) Remote distribution management network system
CN105630898A (en) Method applicable to switch application database table data version
CN105979384A (en) Smart television interaction function card frame management method and device
CN106161532A (en) A kind of orientation method for cleaning based on cloud service and system
US9207928B2 (en) Computer-readable medium, apparatus, and methods of automatic capability installation
CN107220379A (en) A kind of management system and method for automatic optical detecting system software version repository
CN100535860C (en) Equipment software upgrade automatic realizing system and method
CN100370867C (en) Method for downloading base station edition
CN114443294B (en) Big data service component deployment method, system, terminal and storage medium
CN113254356B (en) Test environment management method based on Knative
CN101572881B (en) Equipment management method in TD-SCDMA
CN103530151A (en) Customization method of Linux operating system capable of switching service software systems

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101229

Termination date: 20151013

EXPY Termination of patent right or utility model