CN100556211C - A kind of upgrade method of mobile communication network management system - Google Patents

A kind of upgrade method of mobile communication network management system Download PDF

Info

Publication number
CN100556211C
CN100556211C CNB2004100277256A CN200410027725A CN100556211C CN 100556211 C CN100556211 C CN 100556211C CN B2004100277256 A CNB2004100277256 A CN B2004100277256A CN 200410027725 A CN200410027725 A CN 200410027725A CN 100556211 C CN100556211 C CN 100556211C
Authority
CN
China
Prior art keywords
version
upgrade
management system
network management
upgraded
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
CNB2004100277256A
Other languages
Chinese (zh)
Other versions
CN1713154A (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.)
Haimen science and Technology Development General Corporation
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 CNB2004100277256A priority Critical patent/CN100556211C/en
Publication of CN1713154A publication Critical patent/CN1713154A/en
Application granted granted Critical
Publication of CN100556211C publication Critical patent/CN100556211C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A kind of upgrade method of mobile communication network management system relates to the database upgrade of network management system in the mobile radio communication.In network management system, safeguard a version list or configuration file, comprise all old versions and latest edition; For one of each old version definition is upgraded to upgrade script file than the higher leveled version of current version with current old version; Initialization system, all old versions are related with corresponding upgrade script; With current database version and version to be upgraded relatively, if both version number's unanimities then connect database and database is backed up, recurrence reads the upgrade script statement then, and upgrading step by step, up to being upgraded to latest edition; Latest edition is modified in the database.Adopt the method for the invention, progressively upgrading has avoided rewriteeing the work of all old versions, only needs the script of newly-increased time redaction to the latest edition upgrading, has saved the development time, has reduced complexity of developing, has improved development efficiency.

Description

A kind of upgrade method of mobile communication network management system
Technical field:
The present invention relates to network management system in the mobile radio communication, relate in particular to the database upgrade of network management system in the mobile radio communication.
Background technology:
In mobile radio communication, webmaster is responsible for the network equipment is carried out maintenance work, and man-machine interface is provided, to Telecommunication network equipment be configured, check, control, diagnosis, operating right inspection, the operation conditions of tracking equipment, the service data of the collection analysis network equipment.Guarantee the normal operation and the management of foreground Telecommunication network equipment (below be commonly referred to as the foreground), must provide data base management system background net management server (below be commonly referred to as the backstage), the equipment that offers safely and reliably then uses and supports Network Management.The application program and the database that this shows NM server cannot or lack, and must be safely, reliably, in time, efficiently.
But professional demand is constantly changing, and Network Management Function also must change in order to satisfy professional new demand, and this just brings a upgrade problem.According to original mechanism, during upgrading AM/BAM is disconnected, background net management server and client side then upgrades, upgrading upgrade again after finishing each MP of foreground and veneer, again the database after the upgrading is synchronously given the foreground, after again the foreground being restarted at last, and the normal operation of professional beginning.
The shortcoming of this mechanism is self-evident, be exactly that background server upgrading failure appears in its contingency in escalation process, will cause can't be to the administering and maintaining of the foreground network equipment, and brought the dangerous of existing network operation and caused to a certain degree loss to carrier network.
Summary of the invention:
The problem to be solved in the present invention, provide a kind of method and guarantee that background net management all can normally move before and after upgrading, promptly guarantee lowest version NM server escalation process can be safely, carry out reliably, and can finish automatically, if failure, automatic safe ground rolled back to early version and do not influence current existing network and move.
Technical scheme of the present invention is as follows:
1.1 safeguard a version list or configuration file, comprise all network management system old versions and current latest edition;
1.2 be upgrade script file of each old version definition, this upgrade script only is responsible for current old version is upgraded to than the higher leveled version of current version;
1.3 initialization system is related with corresponding upgrade script with all old versions;
1.4 relatively, if both version number's unanimities then connect database and database are backed up, then with current database version and version to be upgraded
1.5 recurrence reads the upgrade script statement, and upgrading step by step, up to being upgraded to latest edition;
1.6 latest edition is modified in the database.
Upgrade script file in the step 1.2 comprises systematic name, each old version number and its next version number.
Current database version and version to be upgraded are relatively finished by a comparison function in the step 1.4.
Recurrence in the step 1.5 reads and rises the Tuan commentary on meaning of different diagrams in The Book Changes script sentence and will upgrade step by step, be that this function is a recursive call by the upgrading entrance function, it searches the upgrade script with current lowest version coupling, if find then call this script and upgrade, up to being upgraded to latest edition.Described upgrading step by step is meant that each version only is upgraded to its next version.In escalation process step by step, any one-level upgrading failure then recovers with backup database.
In the present invention, also define a mark, show it is which kind of system (HLR backstage/accounting server/OMC NM server) is to be upgraded.
Adopt the method for the invention, compared with prior art, can realize safety and automatic updating.Safety is to instigate the daemon software of upgrading can avoid failure occurring in the escalation process and the phenomenon that can't recover the previous versions environment automatically, obtained product stability, fail safe aspect effect.Automation is meant that the user only need click a upgrade button, just Backup Data, and restore data, steps such as upgrade data are finished automatically; Do not need artificial participation during the cross-version upgrading yet, finish automatically by the chain type upgrade method.
Because the present invention has adopted the method for chain type upgrading, it is a progressively process of upgrading, promptly when each upgraded version upgrades, avoided needing to rewrite the upgrade job of all old versions, only need newly-increased time redaction to the script of latest edition upgrading (other more early version network management system can by before upgrade script be responsible for it is upgraded to time redaction, and then again the network management system of inferior redaction is upgraded to latest edition) by newly-increased just now upgrade script, so just saved the development time, reduce complexity of developing, improved development efficiency.
Description of drawings:
Fig. 1 is a flow chart of the present invention;
After Fig. 2 is professional change, increase the flow chart of a redaction;
Fig. 3 is beginning scene, and the technical staff implements the idiographic flow of safety automation updating operation.
Embodiment:
Below the upgrading of main discussion database, provide the file backup for the upgrading of application program, rollback if desired, the file that covers new installation with the file of backup gets final product (being finished by Automatic Program equally).
In order to increase autgmentability and compatibility, during specific implementation technology of the present invention, can use java language and JDBC (Java DataBase Connection, the Java database connects), accomplish cross-platform (windows/unix), integration across database (sqlserver/mysql/oracle/db2 etc.), interdepartmental system (HLR/ charging/OMC etc.), GUI is provided graphical interfaces, simple operations, convenient and practical.
In summary of the invention, technical scheme of the present invention is described in detail, described with concrete enforcement below in conjunction with accompanying drawing.
Fig. 1 is the main flow process of the present invention.
In the present invention, upgrade script file designation rule is as follows:
sys oldVersion to newVers ion
Particular version number and corresponding upgrade-system are associated.Wherein sys is specific system name, can be omc, hlr, billomm OldVersion is an old version number, as: CNV2.00.1, CNV2.00.2 NewVersion is a current upgrade version this shop, as CNV2.00.2, CNV2.00.3 ...If the old version of certain system will be upgraded, can find corresponding upgrade script file according to system name+version number, call concrete upgrading sql statement by JDBC then next version is arrived in database upgrade.The main effect of this file designation can find the upgrade script file of corresponding this version exactly fast according to system number+version number.
Version list of current maintenance or configuration file comprise all network management system old versions and current latest edition.When upgrading, at first obtain data base configuration file information, obtain scalable version list according to current network management system version.Verupdate.ini is as follows for the version list configuration file:
START_VER oldVer newVer
S1 CNV2.00.1 CNV2.00.2
S2 CNV2.00.2 CNV2.00.3
…… …… ……
Sn-1 CNV2.00.n-1 CNV2.00.n
It is version row, and content is exactly said oldVersion in front and newVersion.Simulated under actual beginning situation at this, the version list that operator need safeguard, each version all might exist in real beginning environment.Wherein n version is current latest edition, do not need to upgrade; All the other n-1 version all has corresponding upgrade script, is responsible for respectively own corresponding edition upgrading to next version, up to being upgraded to latest edition n.The main purpose of safeguarding this version list mainly is exactly in order to guarantee that any one lowest version network management system can both be upgraded to latest edition smoothly.
There is the table r_dbver of a band safety automation upgraded version information in database.List structure is as follows:
dbver Varchar2(200)
The version number of dbver representation database wherein, the initial release supposition can be decided to be CNV2.00.1, if version changes later on, version number will progressively rise.Had after this table, work such as upgrading be judged and be confirmed to background program just can according to version number to upgraded version.
In escalation process, with current database version number and network management system version comparison to be upgraded, if do not wait, upgrading is failed by a version comparison function; If equal, at first carry out database and connect for preventing the upgrading failure, carry out data backup; Then call this upgrade script after success is backed up, be upgraded to next version, if backup failure then the failure of upgrading; Return failure if carry out this upgrade script, utilize backed up data to enter automatic restore database flow process, the upgrading failure; If upgrade successfully, the version number after then will upgrading is a parameter, carries out recursive call, continues to carry out upgrade job, up to old version being upgraded to up-to-date version, at last latest edition is modified in the database, finishes safety automation upgrading flow process.This upgrading flow process is the process of the upgrading of a chain type, promptly upgrades step by step to highest version from lowest version, the phenomenon of the upgrading that can never occur skipping a grade, and this mainly is in order to increase the exploitation complexity of version the reduction after newly.
Fig. 2 has introduced the flow process that increases a redaction.When business demand changed and involve the database change, the safety automation upgrading must be upgraded thereupon, and this figure has illustrated the detailed step of updating of safety automation upgrading.As can be seen from the figure, this process is very simple, only need newly-increased version list item (with consistent getting final product of upgrade script name), because if there are other lower versions need be upgraded to latest edition, safety automation upgrading flow process can be called former upgrade script earlier and be responsible for the network management system of this lowest version is upgraded to time redaction, final call newly-increased upgrade script again, the network management system of inferior redaction is upgraded to latest edition.This simple method has embodied the advantage of safety automation upgrading, has promptly improved the efficient of exploitation to a great extent.
Fig. 3 has introduced at beginning scene, the concrete operations flow process the when technical staff implements safety automation upgrading AM/BAM.At first determine to work as the AM/BAM version and will be upgraded to which redaction, utilize upgrading tool to carry out the safety automation upgrading of background net management; If failure, then this upgrading failure if upgrade successfully in the backstage, then can enter the upgrade job on foreground, otherwise, can't use the instrument of the upgrading foreground version of normal network management system correspondence to come to be upgraded in the early version foreground.The foreground has a plurality of, needs here to upgrade one by one, can move after each foreground upgrading is finished; If all foreground upgradings are finished, then all upgrade jobs of AM/BAM just are through with, if there is the version operation of upgrading back, foreground undesired, illustrate that the foreground version documenting has problem, carry out correct foreground version loading and get final product.The deployment personnel must upgrade in strict accordance with the step of this figure, otherwise may there be a lot of hidden danger in the operation of the system after the upgrading, and inconsistent as the AM/BAM version, the background synchronization data are failed or the like to the foreground.

Claims (7)

1, a kind of safety automation upgrade method of mobile communication network management system comprises:
1.1 safeguard a version list or configuration file, comprise all network management system old versions and current latest edition;
1.2 be upgrade script file of each old version definition, this upgrade script only is responsible for current old version is upgraded to than the higher leveled version of current version;
1.3 initialization system is related with corresponding upgrade script with all old versions;
1.4 relatively, if both version number's unanimities then connect database and database are backed up, then with current database version and version to be upgraded
1.5 recurrence reads the upgrade script statement, and upgrading step by step, up to being upgraded to latest edition;
1.6 latest edition is modified in the database.
2, the safety automation upgrade method of the described mobile communication network management system of claim 1 is characterized in that, the upgrade script file in the step 1.2 comprises systematic name, each old version number and its next version number.
3, the safety automation upgrade method of the described mobile communication network management system of claim 1 is characterized in that, current database version and version to be upgraded are relatively finished by a comparison function in the step 1.4.
4, the safety automation upgrade method of the described mobile communication network management system of claim 1, it is characterized in that, recurrence in the step 1.5 reads the upgrade script statement and will upgrade step by step, be by the upgrading entrance function, this function is a recursive call, it searches the upgrade script with current lowest version coupling, if find then call this script and upgrade, up to being upgraded to latest edition.
5, the safety automation upgrade method of the described mobile communication network management system of claim 1 is characterized in that, the described upgrading step by step of step 1.5 is meant that each version only is upgraded to its next version.
6, the safety automation upgrade method of the described mobile communication network management system of claim 1 is characterized in that, step by step in the escalation process, any one-level upgrading failure then recovers with backup database in step 1.5.
7, the safety automation upgrade method of the described mobile communication network management system of the arbitrary claim of claim 1 to 6 is characterized in that, also comprises: define a mark, show it is which kind of system is to be upgraded.
CNB2004100277256A 2004-06-22 2004-06-22 A kind of upgrade method of mobile communication network management system Expired - Fee Related CN100556211C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100277256A CN100556211C (en) 2004-06-22 2004-06-22 A kind of upgrade method of mobile communication network management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100277256A CN100556211C (en) 2004-06-22 2004-06-22 A kind of upgrade method of mobile communication network management system

Publications (2)

Publication Number Publication Date
CN1713154A CN1713154A (en) 2005-12-28
CN100556211C true CN100556211C (en) 2009-10-28

Family

ID=35718782

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100277256A Expired - Fee Related CN100556211C (en) 2004-06-22 2004-06-22 A kind of upgrade method of mobile communication network management system

Country Status (1)

Country Link
CN (1) CN100556211C (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100426291C (en) * 2005-11-26 2008-10-15 华为技术有限公司 System and method to realize database upgrading in background management system
CN100407206C (en) * 2006-02-20 2008-07-30 华为技术有限公司 Method and system for transformation between different version configuration data
CN101039494B (en) * 2007-03-19 2010-12-08 中兴通讯股份有限公司 Method and apparatus for batch upgrading multi-element configuration data
CN101345648B (en) * 2007-07-12 2011-01-19 中兴通讯股份有限公司 Solution method of data inconsistency
CN101188516B (en) * 2007-12-21 2013-04-17 康佳集团股份有限公司 A highly reliable and self-adapted remote update method for network device software system
CN101968741A (en) * 2009-07-27 2011-02-09 阿里巴巴集团控股有限公司 Method, server and system for data update
CN101650663A (en) * 2009-08-27 2010-02-17 中兴通讯股份有限公司 Database system and upgrading method thereof
CN102023903B (en) * 2009-09-10 2012-12-19 联想(北京)有限公司 Version management method and device for data backup
CN102681863A (en) * 2011-03-15 2012-09-19 新奥特(北京)视频技术有限公司 Method for automatically upgrading data based on command mode
CN102843252B (en) * 2011-06-23 2018-06-19 南京中兴软件有限责任公司 A kind of method and apparatus by network management upgrading network element
CN102495733A (en) * 2011-12-08 2012-06-13 方正国际软件有限公司 Methods for detecting compatibility of application program and relevant database script and performing upgrading maintenance on application program and relevant database script
CN102799522A (en) * 2012-06-28 2012-11-28 浪潮(北京)电子信息产业有限公司 Managing method and system for software version tracing test
CN104066077A (en) * 2014-06-24 2014-09-24 青岛海信移动通信技术股份有限公司 OTA downloading and upgrading method and device thereof
CN106815034A (en) * 2015-11-27 2017-06-09 中兴通讯股份有限公司 A kind of data updating method and device
CN106445618A (en) * 2016-10-17 2017-02-22 成都知道创宇信息技术有限公司 Automatic database updating method
CN106843984A (en) * 2017-02-13 2017-06-13 东软集团股份有限公司 The update method and device of application database
CN110034943B (en) * 2018-01-12 2020-12-04 大唐移动通信设备有限公司 Method and device for deleting Management Information Base (MIB)
CN111562931A (en) * 2020-04-30 2020-08-21 斑马网络技术有限公司 Method and system for upgrading vehicle firmware
CN112068881A (en) * 2020-09-21 2020-12-11 北京天地和兴科技有限公司 Database upgrading method based on data chain
CN112181946A (en) * 2020-09-28 2021-01-05 云知声智能科技股份有限公司 Method and device for automatically maintaining dynamic database script

Also Published As

Publication number Publication date
CN1713154A (en) 2005-12-28

Similar Documents

Publication Publication Date Title
CN100556211C (en) A kind of upgrade method of mobile communication network management system
US10592229B1 (en) Method and system for restoring software
US7802247B1 (en) Method and system for restoring software
US7831968B1 (en) Method and system for restoring software
CN102262544B (en) The method and apparatus of software upgrading
CN101635640B (en) Method for automatically releasing terminal program version of WEB network station system server
CN100426291C (en) System and method to realize database upgrading in background management system
CN100395707C (en) Method of upgrading sequence
US20020169745A1 (en) Method and arrangement for the management of database schemas
CN103699548A (en) Method and equipment for recovering database data by using logs
CN102402559A (en) Database upgrade script generating method and device
CN102609281A (en) Distributed software patch updating method and distributed software patch updating system
CN109977099A (en) Database portion arranging method, user equipment, storage medium and device
CN111737227B (en) Data modification method and system
CN103077019B (en) A kind of graphical parameter batch maintenance method and device
CN107562435A (en) A kind of batch upgrading method and system based on snapshot
CN102523620B (en) Method, device and system for data synchronism
US9207928B2 (en) Computer-readable medium, apparatus, and methods of automatic capability installation
CN101262684B (en) A version upgrade detection method for mobile communication system
CN100535860C (en) Equipment software upgrade automatic realizing system and method
CN116028084A (en) Cross-version hot upgrading method, system and terminal based on OpenStack cloud platform
CN112199104B (en) Software upgrading method and device, electronic equipment and storage medium
CN100466839C (en) Acquisition method, apparatus and system for single-board replacement of information
CN111897794A (en) Database maintenance method and device, electronic equipment and storage medium
CN106815004A (en) A kind of method of compatibility difference Cocos2d-x versions

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
ASS Succession or assignment of patent right

Owner name: HAIMEN TECHNOLOGY DEVELOPMENT CORP.

Free format text: FORMER OWNER: ZTE CORPORATION

Effective date: 20130408

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518057 SHENZHEN, GUANGDONG PROVINCE TO: 226144 NANTONG, JIANGSU PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20130408

Address after: 226144, 600 Beijing Road, Haimen, Jiangsu province (administrative center, room 0212)

Patentee after: Haimen science and Technology Development General Corporation

Address before: 518057 Department of law, Zhongxing building, South Science and technology road, Nanshan District hi tech Industrial Park, Shenzhen

Patentee before: ZTE Corporation

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091028

Termination date: 20160622