Method and apparatus for realizing configuring affair

A transaction and device technology, applied in the field of configuration transactions, can solve the problems of slow rollback, inability to meet fast rollback, rollback failure, etc., and achieve the effect of improving the rollback speed

Active Publication Date: 2009-09-02
HUAWEI TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] 2. The reverse operation of SET
[0012] 3. The reverse operation of DELETE
[0033] The existing configuration transaction compensation mechanism can only perform reverse operations one by one in reverse order to restore the original state of the running database. The time to perform reverse operations is equal to the time to execute operation commands, which leads to slow rollback. In many application environments Unable to meet fast fallback requirements
Moreover, during the rollback process of performing inverse operations one by one, if a certain inverse operation fails, the rollback will fail, and the running database cannot be restored to its original state

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and apparatus for realizing configuring affair
  • Method and apparatus for realizing configuring affair
  • Method and apparatus for realizing configuring affair

Examples

Experimental program
Comparison scheme
Effect test

example

[0054] The following basis figure 2 The device structure, through image 3 The method for configuring a transaction in the embodiment of the present invention is described. see image 3 , which is an example of a flow chart of a method for implementing a configuration transaction in an embodiment of the present invention, the method includes the following steps:

[0055] In step 301, the CFG module receives a command to start a configuration transaction input by a client, and creates a database instance. Here, the database instance is called a candidate database.

[0056] If different clients input commands to start the same configuration transaction to the CFG module at the same time, the CFG module creates candidate databases for different clients respectively.

[0057] The complete data of the configuration transaction is saved in the running database, and each configuration transaction includes more than one database table. For example, a certain configuration transac...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the present invention discloses a method for implementing a configuration transaction, the method comprising: creating a candidate database; controlling the candidate database to execute the operation commands of the configuration transaction one by one, and deleting the candidate database if the execution of the operation command fails; All operational commands then control the candidate database to update the configuration transaction in the running database with the completed configuration transaction. The embodiment of the invention also discloses a device for realizing configuration affairs. The solution of the embodiment of the present invention realizes fast rollback in the configuration transaction process.

Description

technical field [0001] The invention relates to operation and maintenance technology, in particular to a method and equipment for realizing configuration affairs. Background technique [0002] In order to simplify the operation and maintenance complexity of communication equipment, and support different application scenarios and service provisioning at the same time, the data configuration of communication equipment is required to support the configuration transaction mechanism. The configuration transaction is a collection of a series of configuration operations initiated by the client. This collection includes the data configured for the device. After the configuration transaction is completed, the completed configuration transaction can be applied to the communication device to take effect. A configuration transaction consists of more than one operation command, and each operation command includes Add (Create), Delete (Delete) or Change (Set) to the configuration object. ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/46G06F17/30
Inventor 侯越
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products