CN100366116C - Communication equipment sub-system staging method - Google Patents

Communication equipment sub-system staging method Download PDF

Info

Publication number
CN100366116C
CN100366116C CNB2004100767325A CN200410076732A CN100366116C CN 100366116 C CN100366116 C CN 100366116C CN B2004100767325 A CNB2004100767325 A CN B2004100767325A CN 200410076732 A CN200410076732 A CN 200410076732A CN 100366116 C CN100366116 C CN 100366116C
Authority
CN
China
Prior art keywords
data
communication equipment
slave board
patch
upgrading
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
CNB2004100767325A
Other languages
Chinese (zh)
Other versions
CN1741664A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2004100767325A priority Critical patent/CN100366116C/en
Publication of CN1741664A publication Critical patent/CN1741664A/en
Application granted granted Critical
Publication of CN100366116C publication Critical patent/CN100366116C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to the communication technology, and discloses an upgrade method for sub-systems of communication equipment, so that user data can not be lost and data of different versions can be smoothly upgraded when the communication equipment is upgraded on line. In the upgrade method, a backup single board and a main single board are alternately upgraded: at first, upgrading backup single-board programs and then adding patches; converting data structures during data restoration via the patches; after upgrading the backup single board, deleting the patches, setting the backup single board to be main use, and then upgrading the original main single board so as to upgrade the systems.

Description

Communication equipment sub-system staging method
Technical field
The present invention relates to the communication technology, the upgrade method when particularly data structure there are differences before and after the communication equipment sub-system staging.
Background technology
Along with the fast development of mobile communication business, the application of mobile data and multimedia communication will be more and more widely, in the near future, even will become the main business that mobile communication is carried above traditional speech.And traditional second generation global system for mobile communications (Global System for mobileCommunication, abbreviation " GSM ") mobile communications network can't adapt to this new development trend, for this reason, GSM will progressively carry out the transition to 3-G (Generation Three mobile communication system).Wherein, third generation partner program (3rd Generation Partnership Project, abbreviation " 3GPP ") Wideband Code Division Multiple Access (WCDMA) (the Wideband Code Division Multiple Access of institute's standard, be called for short " WCDMA ")/universal mobile telecommunications system (Universal Mobile Telecommunications System, be called for short " UMTS ") constantly improve and the mature technique standard with it, with its flexible net framework, level and smooth evolution pattern, many advantages such as effective investment, and develop into the major technique of 3G (Third Generation) Moblie gradually, and accepted by increasing mobile communication carrier and equipment supplier.
The WCDMA/UMTS system comprises Radio Access Network (Radio Access Network is called for short " RAN ") and core network (Core Network is called for short " CN ") two large divisions.Mainly comprise two category nodes among the RAN: base station (Node B) and radio network controller (Radio NetworkController is called for short " RNC ").Node B is responsible for the transmitting-receiving and the bottom layer treatment of wireless signal, for example modulation, coding and decoding etc.RNC connects RAN and CN by the Iu interface, and the management of responsible on-air radio resource, for example, sends Cell Broadcast CB, distributes RAB between wireless channel, allocating cell parameter, managing mobile phone and the system or the like.
And CN mainly comprises (the Mobile Switching Center of mobile switching centre, be called for short " MSC "), VLR Visitor Location Register (Visitor Location Register, be called for short " VLR "), attaching position register (Home Location Register, be called for short " HLR "), (the Gateway MSC of mobile gateway office, be called for short " GMSC "), GPRS serving GPRS support node (Serving GPRS SupportNode, be called for short " SGSN ") and gateway GPRS supporting node (GGSN) (GPRS GatewaySupport Node is called for short " GGSN ") etc.
Wherein, VLR is used to store CAMEL-Subscription-Information, mobility management information and the relevant information of calling that all roam into the travelling carriage (MobileStation is called for short " MS ") in this VLR coverage.The VLR data have important status.And the data of VLR belong to the user data of frequent change, and the demand of system upgrade is often arranged.
Yet the upgrading of system is to influence one of factor of communication system operate as normal.During software upgrading, whether can accomplish that data do not lose most important.At present, the capacity of VLR is increasing, and institute's storage user data is also more and more.In escalation process, if loss of data appears in VLR, will cause occurring a large amount of location updating messages in the communication network, all can cause great impact to RAN and CN.
The upgrading of VLR except the requirement that reliability is arranged, also had the requirement of adaptability.Current, there is multiple different MSC/VLR version in the net, the data structure of various version more or less can there are differences.As VLR during from an edition upgrading to another version, seamlessly transitting of data is very important and necessary.In addition, when redaction went wrong, VLR can rollback to original version data also be considerable.
Yet the current upgrade technique that mobile communication system adopted is that the data with VLR export to background server (Server) by internal agreement, and presses the file mode storage; After then VLR being loaded the program of redaction, again with data importing in system.
In actual applications, it is distributed that there is following problem: VLR in such scheme, and veneer quantity is many, and each VLR data volume is huge, imports and exports chronicly, and update time is long; Data for adopting the different pieces of information structure are difficult to realize level and smooth progressive transition.
Cause the main cause of this situation to be, prior art need be to other entity, as Server, import and derived data, and this process is simple data backup and recovery process, does not have operations such as data structure conversion.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of communication equipment sub-system staging method, when making the communication equipment online upgrading, keeps user data not lose, and supports the data smoothing upgrading between the different editions.
For achieving the above object, the invention provides a kind of communication equipment sub-system staging method, comprise mainboard and slave board in this communication equipment sub-system, comprise following steps:
The upgrade program of described slave board of A;
The data structure difference that B is used according to program in described mainboard and the slave board is made corresponding patch, for the program of described slave board loads this patch;
The described mainboard of C is to described slave board restore data, realizes that by described patch data are from the conversion to the data structure of described slave board of the data structure of described mainboard;
D deletes described patch, makes described patch unavailable, and described slave board is made as main using.
Wherein, also comprise following steps:
E the upgrade program and the restore data of described mainboard are made as described mainboard standby.
Implement message automated back-up mechanism between described mainboard and described slave board.
In the described steps A, during the program of the described slave board of upgrading, forbid described message automated back-up mechanism.
After the program of described slave board of having upgraded, restart described message automated back-up mechanism.
Among the described step C, when realizing the conversion of described data structure, new field is carried out initialization by default value, original field is carried out item by item assignment or memory copying.
Can realize the rollback of upgrading by loading different patches.
Described communication equipment is a VLR Visitor Location Register.
By relatively finding, technical scheme difference with the prior art of the present invention is that the present invention adopts standby board and main mode of upgrading in turn with veneer, upgrading standby board program earlier, stamp patch then, realize the conversion of data structure in the data recovery procedure by patch.The deletion patch is made as main usefulness with it after the standby board upgrading is finished, and then the former main veneer of using of upgrading, thus the upgrading of the system of realization.
Difference on this technical scheme has brought comparatively significantly beneficial effect, and promptly owing to adopted active and standby web wheel stream upgrading mode, therefore in escalation process, normal service need not be interrupted in system, has improved the reliability of system;
Owing to realize the conversion of the data structure of different editions by hot patch, therefore in escalation process, can realize seamlessly transitting, the mode of employing hot patch can be avoided the modification to formal proceedings in the slave board, and can different hot patch be set flexibly according to different versions, improved the adaptability of system.
Finish after the upgrading, if desired, can also make the rollback that uses the same method, lowered the risk of upgrading to the system of original version.
Description of drawings
Fig. 1 is the VLR data upgrading flow process according to a preferred embodiment of the present invention;
Fig. 2 is the Data Recovery Process according to a preferred embodiment of the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
Generally speaking, principle of the present invention is to utilize the active and standby plate structure of 1+1 of VLR, and the slave board program of at first upgrading is stamped patch then, by patch, makes the conversion that realizes data structure from mainboard when the slave board restore data.
Patch of the present invention, a software engineering that is in the escalation process to be relied on.Equipment for the long-time non-stop run of ask for something, when finding software defectiveness or software fault or other demands, need to replace the old code that is moving with correct code under the situation of non-interrupting service, this process is called the online patch installing of software, is called for short patch installing.It is not in order to revise the defective of systems soft ware that the present invention uses patching technology, but in order to substitute the implementation of old function, in particular, is in order to realize the coupling of data structure when the data backup.
The present invention is mainly used in the data upgrading of escalation process, particularly VLR of the CN entity of WCDMA.The user data of VLR is distributed in many on VLR database (VLR Database is called for short " the VDB ") veneer.Every pair of VDB veneer is active and standby plate 1+1 backup structure, adopts message automated back-up mechanism.This is to use condition of the present invention.The message automated back-up mechanism here is meant, after standby board starts, main with veneer with the data automated back-up to standby board.
The software upgrading of VLR comprises program upgrade and data upgrading.Before upgrading, main is early version program and old data with veneer, is in normal operating condition.Below in conjunction with accompanying drawing 1, the process of VLR data upgrading is described.
At first, in step 101, forbid by order that at maintenance console the VDB master of designated module carries out message automated back-up mechanism with veneer to standby board.The purpose of doing like this is to allow standby board carry out updating operation.
Then, enter step 102, extract the VDB standby board, it is changed the redaction program.After treating that program upgrade finishes, insert standby board, re-power startup work.
In step 103,, in standby board, load corresponding hot patch, and activate this patch then according to the difference of redaction and original version.Loading hot patch, is in order to realize the conversion of different pieces of information structure between the different editions.In VLR, user data is actually according to an internal data structure and defines, and comprises basic business data, supplementary service data and intelligent subscriber data etc., and every kind of data all can have a structure to define.Different VLR versions, organization definition has variation.For new field, generally the last member as structure adds; Also can on original structure, make amendment, extend to 4 bits from 3 bits with agreement such as certain structure member.Just because of the definition of the user data structure between the different editions may be different, therefore must load hot patch.After loading hot patch, when standby board is used the veneer receiving subscriber data from the master, will carry out related resolution, user data will be inserted in the redaction database of standby board.About detailed process and embodiment will illustrate below.
Then, enter step 104, the VDB master who opens designated module again by order at maintenance console carries out message automated back-up mechanism with veneer to standby board.Here be to utilize message automated back-up mechanism to make the new procedures system of standby board obtain the main data of using in the veneer.
In step 105, the main veneer of using is to the standby board restore data then, and the standby board resolution data also writes database.Because this step more complicated, detailed process will illustrate below.
Data enter step 106 after recovering to finish, the hot patch of deletion standby board.Because this hot patch only is used for data structure from specific early version to current redaction data structure translation data, in case therefore data transaction success, the mission of this hot patch is finished, and needs deletion.
In step 107, the standby board that will have new procedures and new data transfers main usefulness to then, former master is extracted with veneer, and ROMPaq and restore data, and as the standby board insertion of system newly.
In above-mentioned escalation process, standby board and main make VLR to move while upgrade with veneer upgrading does not in turn impact the normal operation of business; And realized the data transaction of different editions smoothly.
If the upgrading failure needs rollback, about operating process is consistent with above-mentioned flow process, different is that the hot patch of loading is the patch that is used for rollback, just realizes the patch of new data structure to old data structure conversion.
Below in conjunction with accompanying drawing 2 explanation above-mentioned steps 105 described Data Recovery Processes.
At first, in step 201, after standby board starts, initiatively send request for recovery data RECOV_REQ with veneer to main, main with veneer echo reply RECOV_ACK.
Then enter step 202, main regularly is that unit sends data RECOV_DATA to standby board with user with veneer, and each message comprises a user's total data.Mainboard sends the frame of some numbers, the corresponding acknowledgement frame RECOV_DATA_ACK of standby board.This moment, the business that has was proceeded in the mainboard, and mainboard backs up each user's data successively according to the order that pre-defines.The business modification during if the user data that has backed up is carried out once more, then this user's data can be backed up again.
Standby board enters step 203 after receiving data, data are resolved, and writes the customer data base of standby board.From escalation process, being in the main of data recovery procedure is different versions with veneer and standby board, and data structure definition may be inconsistent.In one embodiment of the invention, standby board is handled by following function after receiving customer traffic:
Void?RecoveUserData(void *pOldData,int?Len,void *pNewData,intlen);
This function is the user data that sends with veneer according to main *POldData is fitted to the data structure of redaction with the data structure of early version, and writes *In the pNewData user record data field.It has two kinds of different processing modes.
First kind is the processing mode of acquiescence, and function is only made simple memory copying, and this is applicable to general simple Data Recovery Process.These situations all are to carry out the veneer data to recover in same version inside, and data structure definition is just the same, can directly carry out the copy of internal memory.
Second kind of processing mode is applicable to the situation from an edition upgrading or rollback to another version.The adaptation processing that must carry out different editions this moment can realize by the mode of hot patch.Version organization definition according to specific corresponds to new version structure and carries out assignment item by item, for new field, carries out initialization according to default value.But can carry out algorithm optimization as the case may be, not necessarily want one one to carry out assignment, can directly carry out memory copying for identical section.Under this processing mode, after upgrading was finished, the deletion upgrade patch returned to default treatment.
After all data recoveries finish, enter step 204, it is main with the veneer end that standby board sends the RECOV_END_IND notice, and the master returns RECOV_END_ACK with veneer and confirms.
Data updating method of the present invention, not only can be used for the upgrading of VLR database, adopt the upgrading of network entity of active and standby plate structure and automatic message back mechanism suitable equally for those, and be particularly suitable for the situation that data structure can occur changing in escalation process.
The technical staff who is familiar with field of the present invention can know, if after slave board upgrades to mainboard, need to find recovery version until old, has for example found the defective of hiding in the redaction, can use method recited above to carry out rollback.Rollback only is the old version of current use as original version to be upgraded with the difference of original upgrading, and the data transaction in the hot patch need be done corresponding change.
Though by reference some preferred embodiment of the present invention, the present invention is illustrated and describes, but those of ordinary skill in the art should be understood that, can do various changes to it in the form and details, and the spirit and scope of the present invention that do not depart from appended claims and limited.

Claims (8)

1. a communication equipment sub-system staging method comprises mainboard and slave board in this communication equipment sub-system, it is characterized in that, comprises following steps:
The upgrade program of described slave board of A;
The data structure difference that B is used according to program in described mainboard and the slave board is made corresponding patch, for the program of described slave board loads this patch;
The described mainboard of C is to described slave board restore data, realizes that by described patch data are from the conversion to the data structure of described slave board of the data structure of described mainboard;
D deletes described patch, makes described patch unavailable, and described slave board is made as main using.
2. communication equipment sub-system staging method according to claim 1 is characterized in that, also comprises following steps:
E the upgrade program and the restore data of described mainboard are made as described mainboard standby.
3. communication equipment sub-system staging method according to claim 1 is characterized in that, implements message automated back-up mechanism between described mainboard and described slave board.
4. communication equipment sub-system staging method according to claim 3 is characterized in that, in the described steps A, during the program of the described slave board of upgrading, forbids described message automated back-up mechanism.
5. communication equipment sub-system staging method according to claim 4 is characterized in that, after the program of the described slave board of having upgraded, restarts described message automated back-up mechanism.
6. communication equipment sub-system staging method according to claim 1 is characterized in that, among the described step C, when realizing the conversion of described data structure, new field is carried out initialization by default value, and original field is carried out item by item assignment or memory copying.
7. communication equipment sub-system staging method according to claim 1 is characterized in that, realizes the rollback of upgrading by loading different patches.
8. according to each described communication equipment sub-system staging method in the claim 1 to 7, it is characterized in that described communication equipment is a VLR Visitor Location Register.
CNB2004100767325A 2004-08-29 2004-08-29 Communication equipment sub-system staging method Expired - Fee Related CN100366116C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100767325A CN100366116C (en) 2004-08-29 2004-08-29 Communication equipment sub-system staging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100767325A CN100366116C (en) 2004-08-29 2004-08-29 Communication equipment sub-system staging method

Publications (2)

Publication Number Publication Date
CN1741664A CN1741664A (en) 2006-03-01
CN100366116C true CN100366116C (en) 2008-01-30

Family

ID=36093857

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100767325A Expired - Fee Related CN100366116C (en) 2004-08-29 2004-08-29 Communication equipment sub-system staging method

Country Status (1)

Country Link
CN (1) CN100366116C (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068389A (en) * 2006-08-29 2007-11-07 中兴通讯股份有限公司 Double-mode double-standby mobile terminal calling out method
CN101212756B (en) * 2006-12-30 2011-02-02 华为技术有限公司 Software upgrade method and communication device
CN101009891A (en) * 2007-01-24 2007-08-01 中兴通讯股份有限公司 Dialing method and system for multi-mode mobile terminal
CN100461108C (en) * 2007-03-13 2009-02-11 中兴通讯股份有限公司 Method for on-line upgrading of edition in terminal product without interrupting the operation
CN101102219B (en) * 2007-07-30 2010-06-23 华为技术有限公司 Software update system and software update method
CN101119188B (en) * 2007-09-25 2010-06-02 中兴通讯股份有限公司 Single board updating method for implementing uninterruptive service
CN101179624B (en) * 2007-11-22 2010-09-22 上海华为技术有限公司 Method and device of implementing network element updating
CN101753351B (en) * 2008-12-11 2012-08-15 大唐移动通信设备有限公司 Method for extending and de-extending management information base, method and equipment for searching management object
CN101997708A (en) * 2009-08-11 2011-03-30 中兴通讯股份有限公司 Method and device for remotely upgrading main board and backup board
CN101631044B (en) * 2009-08-24 2012-05-09 中兴通讯股份有限公司 Smooth upgrading method and smooth upgrading system of communication equipment
CN102148709A (en) * 2011-02-25 2011-08-10 中兴通讯股份有限公司 Method and device for realizing main-standby monolithic board upgrading
CN102779191B (en) * 2012-07-03 2015-09-02 互动在线(北京)科技有限公司 A kind of system that realizes of MySQL database smooth upgrade and implementation method
CN105573766A (en) * 2014-10-09 2016-05-11 中兴通讯股份有限公司 Software upgrading method and device and electronic equipment
CN105141453A (en) * 2015-08-11 2015-12-09 上海斐讯数据通信技术有限公司 Control method capable of not interrupting service in upgrading process of system and system thereof
CN112114839A (en) * 2019-06-20 2020-12-22 上海安吉星信息服务有限公司 Method and system for rapidly upgrading standby environment
CN110880988B (en) * 2019-11-14 2024-04-16 国家电网有限公司 Network management system upgrading method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1229945A (en) * 1997-12-25 1999-09-29 日本电气株式会社 File updating method capable of updating operation file without interrupting online processing
CN1408083A (en) * 1999-12-07 2003-04-02 数据基础公司 Scalable storage architecture
WO2003048936A1 (en) * 2001-11-29 2003-06-12 Agami Systems, Inc. Fault tolerance using logical checkpointing in computing systems
CN1482547A (en) * 2002-07-29 2004-03-17 �Ҵ���˾ Method and system for upgrading drive firmware in a non-disruptive manner
CN1490817A (en) * 2002-10-14 2004-04-21 华为技术有限公司 Guide program recorder and method for guarantee of online upgrading thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1229945A (en) * 1997-12-25 1999-09-29 日本电气株式会社 File updating method capable of updating operation file without interrupting online processing
CN1408083A (en) * 1999-12-07 2003-04-02 数据基础公司 Scalable storage architecture
WO2003048936A1 (en) * 2001-11-29 2003-06-12 Agami Systems, Inc. Fault tolerance using logical checkpointing in computing systems
CN1482547A (en) * 2002-07-29 2004-03-17 �Ҵ���˾ Method and system for upgrading drive firmware in a non-disruptive manner
CN1490817A (en) * 2002-10-14 2004-04-21 华为技术有限公司 Guide program recorder and method for guarantee of online upgrading thereof

Also Published As

Publication number Publication date
CN1741664A (en) 2006-03-01

Similar Documents

Publication Publication Date Title
CN100366116C (en) Communication equipment sub-system staging method
CN102905226B (en) The equipment of multimedia broadcast/multi broadcast business is provided in mobile communication system
CN1258935C (en) Method for disaster recovery of mobile soft switch network
CN100355306C (en) Mobile switching center restart recovery procedure
CN1360801A (en) Gateway Location register fault recovery
WO2017036184A1 (en) Method, terminal and system for processing virtual sim card information
CN101888617B (en) Processing method and system of access point name constraint information and network element device and gateway device
CN101583120B (en) Method, system and device for managing mobile numbers
CN101150830B (en) Software packet upgrade method and device
CN100556211C (en) A kind of upgrade method of mobile communication network management system
CN1774131A (en) Method for providing time information in asynchronous mobile communication system
CN102523576A (en) Subscriber identification module (SIM) card configuration method, device and system
CN103188660A (en) Port-out method, port-out system and port-out device of mobile number
CN109803221B (en) Calling method, method for determining roaming number, server and readable storage medium
CN101572852A (en) Dynamic service management method in TD-SCDMA (Time Division Synchronous Code Division Multiple Access) terminals
CN101984681B (en) A kind of method and system improving utilization rate of number resources
KR101587030B1 (en) System and method for api call policy management of m2m application
KR20010022263A (en) Recovering group data between mobile systems
CN101578815B (en) Network support for non-compliant mobile terminals and core network nodes
CN101170440B (en) Resource management status processing method under offline configuration mode
CN1568027A (en) A method of disaster recovery for home location register (HLR) with zero-time service take-over
CN1661948B (en) Method for managing resources of base station in WCDMA system
CN101730050B (en) Method and system for preventing information inconsistency of network elements of MBBMS service system
CN1984474B (en) Method and system for realizing mobile user data safety backup
CN1838811A (en) HLR calamity manipulation method

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: 20080130

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