CN100499496C - A method and device for realization of the configuration transaction and commissioning mechanism - Google Patents

A method and device for realization of the configuration transaction and commissioning mechanism Download PDF

Info

Publication number
CN100499496C
CN100499496C CNB2006100327358A CN200610032735A CN100499496C CN 100499496 C CN100499496 C CN 100499496C CN B2006100327358 A CNB2006100327358 A CN B2006100327358A CN 200610032735 A CN200610032735 A CN 200610032735A CN 100499496 C CN100499496 C CN 100499496C
Authority
CN
China
Prior art keywords
data
configuration
mode
task list
record
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
CNB2006100327358A
Other languages
Chinese (zh)
Other versions
CN1996875A (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 CNB2006100327358A priority Critical patent/CN100499496C/en
Publication of CN1996875A publication Critical patent/CN1996875A/en
Application granted granted Critical
Publication of CN100499496C publication Critical patent/CN100499496C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

This invention provides one telecommunication device set data method and manager, which comprises the following steps: establishing data set mode information for analogue set data to indicate data set mode; along with data set mode switching, updating the relative data set mode information to the data; sending back the data according to the data set mode.

Description

A kind of method and apparatus of realizing configuration transaction and trial run mechanism
Technical field
The present invention relates to the data configuration method and the device of telecommunication apparatus.
Background technology
In the network of operator management, all be to initiate to a configuration data manager for the data configuration of telecommunication apparatus by client (terminal), provide data, services by this configuration data manager to each equipment again.
Present present situation is that data configuration is to be undertaken by single command, each bar command configuration part data, and configuration data manager is responsible for the correctness of this partial data, the command execution success, this partial data just enters into force in equipment.Fig. 1 is a data collocation system structure chart of realizing the prior art of such process.
But because the variation and the complexity of the network equipment, the data configuration process of a plurality of equipment is very complicated, has some incidence relations between a plurality of data, and the individual data configuration can not guarantee that correctly the data assembly is necessarily correct.Therefore, in case wrong data configuration or inconsistent data are quoted to equipment, may cause some serious consequences.
Therefore operator wishes that but equipment vendors provide a kind of data configuration process of rollback, and a data layoutprocedure is divided into several stages, comes the validity of verification msg by the data O﹠E in each stage.In case find that data are wrong, data configuration can be returned to content and the state set previously, guarantee the normal operation of equipment.
Summary of the invention
The purpose of this invention is to provide a kind of general mechanism, when data are configured data, two kinds of special data configuration patterns are provided, increase is to the ease for use of configuration data of device and reliability, fault-tolerant ability, guarantee simultaneously data configuration occurring when unusual, the operation that can provide effective means to come the rollback front, and then quick recovery system.
According to first aspect, the invention provides a kind of configuration data method of telecommunication apparatus, comprise step: for the data of intending configuration are set up the data configuration pattern information, with the designation data configuration mode; Along with the switching of data configuration pattern, change and the corresponding data configuration pattern information of described data; According to the Transaction Identifier in the affairs task list of data configuration pattern and foundation in advance, with described data-backoff.
Preferably, described data configuration pattern comprises test/trial running mode, and described rollback step is included in to delete under the test/trial running mode has the data of test/trial running mode.Further preferably, described method comprises by the data configuration pattern information is changed to normal mode from test/trial running mode, confirms the formally effective step of data.
Preferably, described data configuration pattern comprises transaction mode, and described rollback step is included in to delete under the transaction mode has the data of transaction mode.Further preferably, described method comprises by the data configuration pattern information is changed to test/trial running mode from transaction mode, submits the step of data for trial run to.
According to second aspect, a kind of configuration data manager of telecommunication apparatus is provided, comprise data memory module, it is characterized in that also comprising the controller that links to each other with data memory module, described controller will be intended the storage of configuration at described data memory module, and set up the data configuration pattern information for described data, the residing data configuration pattern of the described data of this information representation is so that the Transaction Identifier of controller in the affairs task list of described data configuration pattern and foundation in advance carries out rollback to data.
In first aspect and second aspect, preferably set up the affairs task list, intend the procedural information of configuration data with record.Described affairs task list can comprise amendment record identification information, modification table information, Transaction Identifier, record modification sequence number or revise type or the like.
The present invention has increased the reliability and the fault-tolerant ability of system by rollback, the affirmation of data are provided under transaction mode and test/trial running mode, make the user can come the correctness of observed data by the angle of a trial run simultaneously, has also improved availability.
Description of drawings
To with reference to accompanying drawing embodiment of the present invention be described in detail with the form of giving an example below, wherein:
Fig. 1 is the structure chart of the data collocation system of prior art;
Fig. 2 is the data collocation system structure chart according to one embodiment of the invention;
Fig. 3 is according to data configuration process schematic diagram of the present invention;
Fig. 4 is the process schematic diagram that configuration data manager is carried out transaction rollback.
Embodiment
Fig. 2 is the structure chart according to the data collocation system of one embodiment of the invention.Data collocation system comprises data configuration management device and equipment 1...N.
This data configuration management device comprises that data configuration interface, configuration management center, data processing module, data, services provide module, affairs/trial run controller and data memory module.More than each functional module concrete function as shown in the table.
Module Feature list
The data configuration interface Receive the data configuration order that the operator issues, and command syntax checked to the operator report operating result
The configuration management center Data configuration schema management and storage translation function are provided
Data processing Carry out the internal data format conversion, provide reliably data passes is arrived the veneer data storage cell
Data, services provides (1...N) provides various data, services to unit, as inquiry, and retrieval etc.
Storage The storage of data is provided
Affairs/trial run controller Data processing under configuration data transaction mode, the commissioned module is provided, and rollback is handled.Respond the request at configuration management center simultaneously, data query.
The data configuration management device provides module to link to each other with equipment 1...N through data, services.Equipment 1...N can be any concrete equipment, as switch, SGW, Softswitch etc.
Mainly showing according to the difference with upper framework and prior art of data configuration management device of the present invention has increased affairs/trial run controller, and this controller is the key of technical solution of the present invention.
By affairs/trial run controller, difference that can shield configuration administrative center visit data in normal mode, transaction mode, test/trial running mode, simultaneously, affairs/trial run controller is responsible for the data modification record modification process data in transaction mode, the test/trial running mode is guaranteed that the process of data-backoff is reversible.
Here, transaction mode is a kind of middle model of data configuration, and the data configuration under this pattern can carry out the rollback cancellation, perhaps submits data to.Test/trial running mode is an operational mode in the middle of a kind of system, and under this pattern, system can cancel test/trial running mode, also can confirm trial run.
Affairs/trial run controller mainly contains following function:
1. normal mode, transaction mode, test/trial running mode management and switching;
2. increase, delete, when changing data, process data carried out synchronous recording;
3. return back under the normal mode from transaction mode, the data of revising in the affairs are carried out rollback;
4. return normal mode from test/trial running mode in cancellation trial run mode, the data of revising in the affairs are carried out rollback;
5。Return normal mode from test/trial running mode in the affirmation mode, the process data of revising in the affairs is cleared up;
6. the difference of the visit data of configuration manager under the shielding different mode, such as, the data that increase in data transactions process of inquiry under transaction mode, what obtain is the data of affairs attitude, is the data of all normal states and the data of inquiring about under normal mode obtain.
7. the Transaction Identifier field of management transaction task list and tables of data.
Here, the affairs task list is the table of data procedures in the record business process, and by the content of this table, affairs/trial run controller can utilize this table to carry out data-backoff and handle.
Two differences that information is come implementation procedure data record and shield configuration administrative center visit data below affairs/trial run controller utilization.
One increases the Transaction Identifier field: data configuration mode type (TRANS_STATUS) and record identification in all tables of data.
The field that increases Meaning
TRANS_STATUS 0 these record data of expression are under normal mode; 1 these record data of expression are under transaction mode; 2 these record data of expression are under test/trial running mode;
Record identification The amendment record sign
Its two, in system, increase an affairs task list, come the process data of registration configuration administrative center to the data modification request of affairs/trial run controller initiation, as follows:
The field that increases Meaning
Sequence number The record modification sequence number
Transaction Identifier The record Transaction Identifier
Revise table Revise table information
The amendment record sign The record identification of record modification table
Revise type The type that identification data is revised
Fig. 3 is the data configuration process schematic diagram according to one embodiment of the invention.
Whole data configuration pattern has: normal mode, transaction mode, test/trial running mode.System default begins to be normal mode.The user can carry out mode switch by transmitting order to lower levels.General after data configuration is finished, turn back to normal mode.
Scene analysis
Below by scene analysis, binding pattern switches the technical program is described.Scene is as follows: increase data 1 (tables of data one), revise data 2 (tables of data two), data 2 rely on the existence of data 1 simultaneously.
For the associated data configuration of a plurality of equipment, because the equipment difference of just quoting, related flow process is identical, does not make specified otherwise at this.
The user issues and switches to transaction mode order (Begin Transaction) (step S310), and the mind-set task manager issues and enters transactions requests in the configuration management, enters transaction mode (step S320).For restarting of guaranteeing that abnormal conditions may cause, with the transaction mode persistence.This process can also can record database and realize by with transaction mode label record configuration file.All data modification request that mind-set affairs/trial run controller is initiated from configuration management only exist as an affairs attitude form from now on.When increasing data 1, can in the Transaction Information table, increase a record (wherein Transaction Identifier, modification table, amendment record sign, modification type can change according to actual conditions):
Sequence number Transaction Identifier Revise table The amendment record sign Revise type
0 0 Tables of data one 1 Increase
It is as follows to increase a record in the tables of data one
Tables of data one former field information TRANS_STATUS Record identification
Data 1 1 1
The execution result of while return command.
The user issues change data 2 requests, and the mind-set task manager issues the data of change in the configuration management.In this process, the configuration management center can be to the data dependence relation of affairs/trial run controller data query 2.At this moment affairs/trial run controller can be according to current configuration status, and data query is issued the configuration management center.In this scene, affairs/trial run controller according to " TRANS_STATUS equal 1 and record identification equal 1 " condition inquire about, the data that inquire return to the configuration management center.
After the configuration management center inquires data 1, carry out issuing after validity is judged the request of change data 2, it is as follows to increase a record in tables of data two equally, and originally recorded content keeps before the change:
Tables of data two former fields TRANS_STATUS Record identification
Information
Data 2 before the change 0 3
Change back data 2 1 3
It is as follows simultaneously to increase a record again in the affairs task list:
Sequence number Transaction Identifier Revise the table sign The amendment record sign Revise type
1 0 Tables of data two 3 Change
While return command execution result (step S330).
The user checks according to the data that at this moment disposed, and determines whether affairs are submitted to allow data come into force, and also can select to cancel affairs and allow data-backoff (step S340).
If the user issues backspace command, then mind-set affairs controller issues the transaction rollback request in the configuration management, according to the affairs task list data that begin to revise is carried out rollback (S350) by the transaction management module, and the rollback order is opposite with the order of data modification:
● according to 1 record of the sequence number in the affairs task list tables of data two is carried out rollback.The record of revising for this contextual data table two, if by deleted data table two meet " TRANS_STATUS equal 1 and record identification equal 3 " record of condition.
● secondly, tables of data one is carried out rollback according to 0 record of the sequence number in the affairs task list, as long as by deleted data table one meet " TRANS_STATUS equal 1 and record identification equal 1 " record of condition.
● the record according to the corresponding Transaction Identifier in the Transaction Identifier removing affairs task list needs only the record that deletion affairs task list meets " Transaction Identifier equals 0 " at this.
● behind the data-backoff, enter normal mode again, recording configuration pattern and persistence (step S400).
This process is referring to Fig. 4.Fig. 4 is the process schematic diagram that configuration data manager is carried out transaction rollback.
If the user issues the affairs submiting command, then mind-set data processing centre issues the data setting request in the configuration management, and with the data of revising, the form that converting thereof into equipment needs is updated to data, services provides module (step S360).After the correct renewal of data, at this moment the data configuration pattern automatically switches to test/trial running mode (step S370).Because data have been updated to data, services module are provided, and can test the data that begin to revise.
Under this pattern, tables of data one thes contents are as follows:
Tables of data one former field TRANS_STATUS Record identification
Information
Data 1 2 1
Tables of data two thes contents are as follows:
Tables of data two former field informations TRANS_STATUS Record identification
Data 2 before the change 0 3
Change back data 2 2 3
Content in the affairs task list is constant.
What another one was noted that data, services provides that module obtains is the valid data that data processing module provides, and does not comprise transaction process intermediate data.Therefore, provide module for data, services, the tables of data of quoting thes contents are as follows:
Tables of data one former field information
Data 1
The tables of data of quoting two thes contents are as follows:
Tables of data two former field informations
Change back data 2
Equipment is quoted the data of configuration and can normally be moved, and the user can select cancellation trial run allow data-backoff, can confirm that also trial run allows data formally effective (step S380).
If the user issues cancellation trial run order, then system can carry out the rollback (step S390) of data.This back off procedure provides module all can carry out synchronously in storage and data, services.The rollback success, then system automatically switches to normal mode (step S400).This process is similar substantially to Fig. 4, behind just many data rollbacks, need be initiated the request of data-backoff by mind-set data processing module in the configuration management, and this process provides the used data of module also to carry out rollback data, services.
Confirm the trial run order if the user issues, then system can formally allow the data of beginning user's modification come into force (step S410).This process is as follows:
● the record of updated data table one data 1 at first, this can meet by updated data table one " TRANS_STATUS equal 1 and record identification equal 1 " record, the tables of data one after the renewal thes contents are as follows:
Tables of data one former field information TRANS_STATUS Record identification
Data 1 0 1
● the record of updated data table two data 2, this can meet by first deleted data table two " TRANS_STATUS equal 0 and record identification equal 3 ", the TRANS_STATUS of change back record is set to 0 in the updated data table two again.Tables of data two after the renewal thes contents are as follows
Tables of data two former field informations TRANS_STATUS Record identification
Change back data 2 0 3
● the record according to the corresponding Transaction Identifier in the Transaction Identifier removing affairs task list needs only the record that deletion affairs task list meets " Transaction Identifier equals 0 " at this.
● automatically switch to normal mode, recording configuration pattern and persistence.
Simultaneously, in order to guarantee the reliability of data-backoff, consider in the processing procedure possible unusual, such as restarting process or the like.Affairs/trial run controller adopts following flow process to carry out for the data modification under the affairs, under the trial run:
◆ generate a unique identification-Transaction Identifier when entering affairs, and with this Transaction Identifier persistence;
◆ during data modification, at first the information of showing is revised in registration in the affairs task list;
◆ in the tables of data of revising, add data, and the modification type of data is set to 1 (transaction mode).
The operator can generate a Transaction Identifier by issuing a beginning transaction commands, Transaction Identifier mainly is the uniqueness that guarantees affairs, by sign to affairs, can carry out the nested processing of affairs, this affairs nested procedure is handled with single process similar, all be by the Transaction Identifier in the affairs task list distinguish, locator data and rollback data.
And adopt following flow process to carry out during the rollback data:
◆ according to Transaction Identifier, find all tables of data of revising in these affairs, and carry out the rollback tables of data according to the reverse sequence number in the affairs task list;
◆ rollback tables of data successively;
◆ according to the record in the Transaction Identifier deletion affairs task list;
◆ if having a plurality of affairs nested, turn back to the last layer affairs, if in outermost affairs, then configuration mode is set to normal mode.
The solution of the present invention dividing data configuration mode is normal, affairs, the several patterns of trial run.By switching to these patterns, data begin to be fabricated into come into force at last during, some middle states have been introduced, rollback, the affirmation of data are provided under transaction mode and test/trial running mode, the reliability and the fault-tolerant ability of system have been increased, make the user can come the correctness of observed data simultaneously, also improved availability by the angle of a trial run.
It may be noted that technical scheme of the present invention both can be realized by the software that operates in the central processing unit (CPU) in the webserver, also can finish by hardware combinations independently.
Obviously, the present invention described here can have many variations, and this variation can not be thought and departs from the spirit and scope of the present invention.Therefore, the change that all it will be apparent to those skilled in the art all is included within the covering scope of these claims.

Claims (21)

1. the configuration data method of a telecommunication apparatus comprises step: for the data of intending configuration are set up the data configuration pattern information, with the designation data configuration mode; Along with the switching of data configuration pattern, change and the corresponding data configuration pattern information of described data; According to the Transaction Identifier in the affairs task list of data configuration pattern and foundation in advance, with described data-backoff.
2. configuration data method as claimed in claim 1 is characterized in that described data configuration pattern comprises test/trial running mode, and described rollback step is included in to delete under the test/trial running mode has the data of test/trial running mode.
3. configuration data method as claimed in claim 2 is characterized in that comprising by the data configuration pattern information is changed to normal mode from test/trial running mode, confirms the formally effective step of data.
4. configuration data method as claimed in claim 1 is characterized in that described data configuration pattern comprises transaction mode, and described rollback step is included in to delete under the transaction mode has the data of transaction mode.
5. configuration data method as claimed in claim 4 is characterized in that comprising by the data configuration pattern information is changed to test/trial running mode from transaction mode, submits the step of data for trial run to.
6. configuration data method as claimed in claim 1 is characterized in that comprising and sets up the affairs task list, with the step of the procedural information that writes down described data.
7. configuration data method as claimed in claim 6 is characterized in that described affairs task list comprises the amendment record identification information, and this information shows the position of described data in its tables of data.
8. configuration data method as claimed in claim 6 is characterized in that described affairs task list comprises modification table information.
9. configuration data method as claimed in claim 6, it is characterized in that described affairs task list comprises the record modification sequence number, revise sequence number according to the sequencing assignment record of configuration data, described rollback step comprises that order according to the record modification sequence number is with the configuration data rollback.
10. configuration data method as claimed in claim 6 is characterized in that described affairs task list comprises the modification type, when described method is included in data is made amendment, and record corresponding modification type in the affairs task list.
11. configuration data method as claimed in claim 10 is characterized in that described modification type comprises increase, deletion and change.
12. configuration data method as claimed in claim 11 is characterized in that being included under the change data conditions, keeps former data and sets up the step of new record for changing data; Described rollback step comprises the deletion new record.
13. the configuration data manager of a telecommunication apparatus, comprise data memory module, it is characterized in that also comprising the controller that links to each other with data memory module, described controller will be intended the storage of configuration at described data memory module, and set up the data configuration pattern information for described data, the residing data configuration pattern of the described data of this information representation is so that the Transaction Identifier of controller in the affairs task list of described data configuration pattern and foundation in advance carries out rollback to data.
14. configuration data manager as claimed in claim 13 is characterized in that comprising the data configuration center, this center change described data configuration pattern and will change after the data configuration pattern notify described controller.
15. configuration data manager as claimed in claim 13 is characterized in that described data configuration pattern comprises test/trial running mode, described controller is deleted the rollback that the data with test/trial running mode are finished data under test/trial running mode.
16. configuration data manager as claimed in claim 13 is characterized in that described controller changes to normal mode with the data configuration pattern information from test/trial running mode, confirms that data are formally effective.
17. configuration data manager as claimed in claim 13 is characterized in that described data configuration pattern comprises transaction mode, described controller is deleted the data with transaction mode and is finished data-backoff under transaction mode.
18. configuration data manager as claimed in claim 18 is characterized in that described controller changes to test/trial running mode with the data configuration pattern information from transaction mode, and submits to described data for trial run.
19. configuration data manager as claimed in claim 13 is characterized in that described controller sets up the affairs task list, and the layoutprocedure information of described data is managed.
20. configuration data manager as claimed in claim 19 is characterized in that described affairs task list comprises the modification type information, is used for the type that identification data is revised.
21. configuration data manager as claimed in claim 19 is characterized in that described affairs task list comprises record modification sequence number and/or modification table information.
CNB2006100327358A 2006-01-07 2006-01-07 A method and device for realization of the configuration transaction and commissioning mechanism Expired - Fee Related CN100499496C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100327358A CN100499496C (en) 2006-01-07 2006-01-07 A method and device for realization of the configuration transaction and commissioning mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100327358A CN100499496C (en) 2006-01-07 2006-01-07 A method and device for realization of the configuration transaction and commissioning mechanism

Publications (2)

Publication Number Publication Date
CN1996875A CN1996875A (en) 2007-07-11
CN100499496C true CN100499496C (en) 2009-06-10

Family

ID=38251823

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100327358A Expired - Fee Related CN100499496C (en) 2006-01-07 2006-01-07 A method and device for realization of the configuration transaction and commissioning mechanism

Country Status (1)

Country Link
CN (1) CN100499496C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697518B (en) * 2009-09-24 2012-04-25 华为技术有限公司 Telecommunication equipment collocating method and system as well as telecommunication equipment
CN102111293B (en) * 2010-12-23 2013-10-02 华为技术有限公司 Configuration event processing method and device
WO2012103730A1 (en) * 2011-06-30 2012-08-09 华为技术有限公司 Data configuration method and telecommunication system device
CN103222220B (en) * 2012-10-31 2015-09-09 华为技术有限公司 The backing method of network data and equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1226772C (en) * 2002-02-14 2005-11-09 Lg.飞利浦显示器(韩国)株式会社 Colour cathode-ray tube

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1226772C (en) * 2002-02-14 2005-11-09 Lg.飞利浦显示器(韩国)株式会社 Colour cathode-ray tube

Also Published As

Publication number Publication date
CN1996875A (en) 2007-07-11

Similar Documents

Publication Publication Date Title
CN101542445B (en) Apparatus and methods of a zero single point of failure load balancer
US7912858B2 (en) Data synchronization method
CN107787490A (en) Function is directly connected in distributed data base grid
US8352932B2 (en) Synchronizing controller firmware download
CN107247758B (en) Data processing method based on bank core system
CN107277086A (en) Transaction processing system, method for processing business and service updating method
JP2002358167A (en) On-demand storage device and method for operating the same
CN100499496C (en) A method and device for realization of the configuration transaction and commissioning mechanism
CN106605217B (en) For the method and system for being moved to another website from a website will to be applied
CN102299814B (en) Method and system for upgrading MIB (management information base) on SNMP (simple network management protocol) agent
JP2000003390A (en) Wide area individual information update system
CN112559373B (en) Software compatibility management method and system
US7310614B2 (en) System and method for operation and management of storage apparatus
CN1904815A (en) Computer-implemented method, system, and interface for managing commands for a terminal session
CN108460078B (en) Auxiliary function execution method and device, storage medium and terminal
CN110377298B (en) Distributed cluster upgrading method and distributed cluster
US20060221964A1 (en) Data relay method and data relay apparatus
CN102109905B (en) Method and system for providing input method resources
CN112019364A (en) Information management method and device
JP2000020374A (en) Replication control system
JP2001265614A (en) Dynamic linking information takeover method, linking processing system and program recording medium therefor
JP3330006B2 (en) Network system including information storage system, input system of the system, and
US20240104069A1 (en) Systems and methods of managing state machine systems with compacting distributed log storage
JPH10320256A (en) Data update control method and device for distributed database system
KR100824464B1 (en) System and method for management of the it infra

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

Termination date: 20160107

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