CN1317831C - Method for realizing data synchronization of calling states between main and standby modules - Google Patents

Method for realizing data synchronization of calling states between main and standby modules Download PDF

Info

Publication number
CN1317831C
CN1317831C CNB021451362A CN02145136A CN1317831C CN 1317831 C CN1317831 C CN 1317831C CN B021451362 A CNB021451362 A CN B021451362A CN 02145136 A CN02145136 A CN 02145136A CN 1317831 C CN1317831 C CN 1317831C
Authority
CN
China
Prior art keywords
modules
module
spare
call
main
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
CNB021451362A
Other languages
Chinese (zh)
Other versions
CN1499738A (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 CNB021451362A priority Critical patent/CN1317831C/en
Publication of CN1499738A publication Critical patent/CN1499738A/en
Application granted granted Critical
Publication of CN1317831C publication Critical patent/CN1317831C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Hardware Redundancy (AREA)

Abstract

The present invention relates to a call state data synchronization realizing method between primary modules and spare modules. A UML tool is used for defining a type of a concrete call flow processing object, and the internal attribute values of the object are changed so as to change corresponding state information. The present invention comprises steps that (a) the internal attribute values of an object instance which processes a call flow are recorded for any one call in primary processing modules and spare processing modules of protocol calls, and the internal attribute values are synchronized up to the corresponding spare modules; (b) when the primary processing modules fail, calls proceeded in the primary processing modules are moved to the spare modules, and consequently, the original spare modules become new primary modules; (c) in the new primary modules, the internal attribute values recorded in the step (a) are read for any one call so that the corresponding internal attribute values of the object instance are replaced by the recorded internal attribute values, and consequently, the synchronization of call state data between the primary modules and the spare modules is realized. When the method is used, the defects existing call state data synchronization realizing methods between primary modules and spare modules in the prior art are overcome, and the present invention has the advantages of simplicity and easy realization.

Description

Between main backup module, realize the method for call state data sync
Technical field
The invention belongs to the communication equipment manufacturing field, say exactly, relate to a kind of UML of utilization instrument is realized the call state data sync between main backup module method.
Background technology
UML (be called for short UML) is a kind of visualize, make clear, visual unified modeling language, be by world-renowned Object-oriented Technique expert Grady Booch, Jim Rumbaugh and IvarJacobson initiate, at OMT (Object-oriented Modeling Technology, OO modeling technique) grows up on the basis of method and OOSE (Object-Oriented Software Engineering, OOSE) method.In fact, UML instrument (as Rhapsody, Rational Rose) set analysis, design and developing in one is a kind of strong tool.In the UML instrument, state diagram is a kind of very important illustraton of model, required condition when can be used for describing all possible state of a class object and state migration taking place.
Because therefore the practicality and the convenience of UML instrument, utilize the UML instrument to realize that the protocol call processing module is a kind of good selection.Simultaneously, for guaranteeing the stability and the reliability of telecom carrier-class device, generally speaking, adopt the redundant configuration measure, i.e. the main backup module mode.
In the protocol call processing module based on the UML instrument, we have defined the object that a class is handled concrete call flow, and required condition when describing all states of this class object and state migration takes place with state diagram.On this basis, usually can realize call state data synchronization between the main backup module in the following way: 1) in the pairing state diagram of object of handling concrete call flow, for arbitrary non-initial condition, increase and move to the required incident of this state from initial condition accordingly; 2) the protocol call master with in the processing module, for arbitrary calling, the pairing sign of record current state, and with this information synchronization in corresponding spare module; 3) when the master breaks down with processing module, the calling of carrying out in this module will move in the spare module and handle, thereby former spare module has become new master to use module.New main using in the module, for above-mentioned arbitrary calling, at first obtain handling the object instance of this call flow and corresponding flag information (by 2)), and to this object instance transmission events corresponding, make it move to corresponding state, thereby realize call state data synchronization between the main backup module from initial condition.We learn from said method: in the pairing state diagram of object of handling concrete call flow, for arbitrary non-initial condition, need to increase and move to the required incident of this state from initial condition accordingly.This will cause following result: one: original state diagram is very loaded down with trivial details, and is readable relatively poor; Its two: owing to increased more incident, will cause the stability and the decrease in efficiency of system.
Summary of the invention
The technical problem to be solved in the present invention is for overcoming the shortcoming in original method, proposes a kind of fairly simple, solution of being easy to realize.
For this reason, in the protocol call processing module based on the UML instrument, we have defined the object that a class is handled concrete call flow, and required condition when describing all states of this class object and state migration takes place with state diagram.In fact, in UML instrument (as Rhapsody), all state informations in the state diagram self are managed by the UML instrument, and wherein each state is corresponding to a built-in attribute of this object.But, facts have proved, can change corresponding state information by the value that changes above-mentioned built-in attribute.Therefore, the present invention adopts the method that comprises following steps to realize call state data synchronization between the main backup module: a) use in the processing module the protocol call master, for arbitrary calling, the value stored record of handling the built-in attribute of current each state correspondence in the object instance of this call flow is got off, and with this information synchronization in corresponding spare module; B) when main when breaking down with processing module, will move in the spare module in the main calling that carry out in processing module and handle, will lead with the processing module failure and inform spare module, thereby make former spare module become the new main module of using by message first; C) new main using in the module, for arbitrary calling, by a) the built-in attribute value corresponding of stored record of read step with each state, obtain handling the object instance and the corresponding information of this call flow, with the value that substitutes in this object instance corresponding built-in attribute, thereby realize call state data synchronization between the main backup module.
Implement said method of the present invention, at original deficiency of utilizing the UML instrument realizes the call state data sync between main backup module method to exist, provided a kind of effective solution, not only overcome these shortcomings well, and this scheme fairly simple, be easy to realize.
Description of drawings
Fig. 1 has provided the present invention and has utilized the UML instrument to carry out the synchronous detailed process of protocol call status data on main backup module.
Embodiment
With reference to figure 1, under the UML instrument,, comprise following two parts in order to realize call state data synchronization between the main backup module:
(1) main with in the processing module 101, for arbitrary calling, under the value record preservation of built-in attribute that will current each state correspondence in the object instance of handling this calling, and with these information synchronization in corresponding spare module.
(2) when the master breaks down with processing module 101, shown in arrow 102, the calling of carrying out from this module 101 will move in the corresponding spare module 103 and handle.At this moment, this spare module 103 is received a message, be apprised of main to break down with module, thereby this spare module be arranged to new mainly use processing module, and carry out call treatment; Passed through masterslave switchover as a certain calling, then shown in frame 106, at first obtain handling the object instance and the corresponding information of this calling, the value of the built-in attribute of each state correspondence that i.e. this calling preserves before masterslave switchover, we are worth to substitute the value of corresponding built-in attribute in this object instance with these then, thereby have realized call state data synchronization between the main backup module.

Claims (1)

1, a kind of method that between main backup module, realizes the call state data sync, utilize UML instrument definition one class to handle the object of concrete call flow, and required condition when describing all states of this class object and state migration takes place with state diagram, each state is to a built-in attribute that should object, change corresponding state information by the value that changes built-in attribute, it is characterized in that, may further comprise the steps: a) use in the processing module the protocol call master, for arbitrary calling, the value stored record of handling the built-in attribute of current each state correspondence in the object instance of this call flow is got off, and with this information synchronization in corresponding spare module; B) when main when breaking down with processing module, will move in the spare module in the main calling that carry out in processing module and handle, will lead with the processing module failure and inform spare module, thereby make former spare module become the new main module of using by message first; C) new main using in the module, for arbitrary calling, by a) content of stored record of read step, obtain handling the object instance and the corresponding information of this call flow, with the value that substitutes in this object instance corresponding built-in attribute, thereby realize call state data synchronization between the main backup module.
CNB021451362A 2002-11-05 2002-11-05 Method for realizing data synchronization of calling states between main and standby modules Expired - Fee Related CN1317831C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021451362A CN1317831C (en) 2002-11-05 2002-11-05 Method for realizing data synchronization of calling states between main and standby modules

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021451362A CN1317831C (en) 2002-11-05 2002-11-05 Method for realizing data synchronization of calling states between main and standby modules

Publications (2)

Publication Number Publication Date
CN1499738A CN1499738A (en) 2004-05-26
CN1317831C true CN1317831C (en) 2007-05-23

Family

ID=34232275

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021451362A Expired - Fee Related CN1317831C (en) 2002-11-05 2002-11-05 Method for realizing data synchronization of calling states between main and standby modules

Country Status (1)

Country Link
CN (1) CN1317831C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009071010A1 (en) * 2007-11-09 2009-06-11 Huawei Technologies Co., Ltd. Method and network device for solving address conflict

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100426692C (en) * 2004-11-15 2008-10-15 中兴通讯股份有限公司 Communication device host-standby switching protocol processing software synchronizing method
CN101394641B (en) * 2007-09-18 2011-09-21 中兴通讯股份有限公司 Main standby machine switching method oriented to user data

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1321004A (en) * 2000-04-25 2001-11-07 华为技术有限公司 Method and equipment for swapping active with standby switches

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1321004A (en) * 2000-04-25 2001-11-07 华为技术有限公司 Method and equipment for swapping active with standby switches

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009071010A1 (en) * 2007-11-09 2009-06-11 Huawei Technologies Co., Ltd. Method and network device for solving address conflict

Also Published As

Publication number Publication date
CN1499738A (en) 2004-05-26

Similar Documents

Publication Publication Date Title
CN104239132B (en) A kind of wake up the method for alignment, device and terminal up
CN101977124B (en) Service clustering method and system based on ZooKeeper technology
CN108550930B (en) Bridging manager, bridging system and bridging method based on retired power battery pack
CN103441861B (en) A kind of data record generation method and device
KR20220128420A (en) Vehicle intelligent control system and vehicle based on dual independent control system
CN103051681A (en) Collaborative type log system facing to distribution-type file system
CN105530220A (en) OPC-based interface method for realizing system communication of two different types of protocols
CN101631345B (en) Method and device for monitoring running state of single plate
CN102866925A (en) Communication method and system for middleware and user interface
CN114363096B (en) Data access transmission system crossing safety partitions
CN1317831C (en) Method for realizing data synchronization of calling states between main and standby modules
CN110086678A (en) Binary channels real-time data acquisition system and acquisition method based on Redis
CN101022633A (en) Allocation data recovering method, system and device
CN1260983C (en) A method of disaster recovery for home location register (HLR) with zero-time service take-over
CN103166994A (en) Method and device of obtaining network data
CN113206720B (en) Method and device for realizing top-tuning message channel
CN111917791B (en) Scheduling server system with high stability by adopting modularization
CN111083195B (en) Virtual single disk proxy system and method
CN100474852C (en) Method for communicating between telecommunication equipment service terminal and customer terminal
CN101170375A (en) Performance management method and device for SDN device
CN102026249B (en) A kind of voice class operation system and disaster tolerance implementation method
CN111475478A (en) Heterogeneous power distribution automation system, provincial-regional 1+ N graph synchronization method, provincial-level power distribution master station and storage medium
CN108683873A (en) The control device and method of video conference
CN103391281B (en) The three-in-one fusion method of agreement is realized based on integrated access equipment IAD
CN210895427U (en) Multi-serial-port concurrent control system capable of being freely expanded

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070523

Termination date: 20171105