CN105915370A - Temporary configuration management system and method based on batch rollback - Google Patents

Temporary configuration management system and method based on batch rollback Download PDF

Info

Publication number
CN105915370A
CN105915370A CN201610212573.XA CN201610212573A CN105915370A CN 105915370 A CN105915370 A CN 105915370A CN 201610212573 A CN201610212573 A CN 201610212573A CN 105915370 A CN105915370 A CN 105915370A
Authority
CN
China
Prior art keywords
configuration
rollback
provisional configuration
provisional
module
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.)
Granted
Application number
CN201610212573.XA
Other languages
Chinese (zh)
Other versions
CN105915370B (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201610212573.XA priority Critical patent/CN105915370B/en
Publication of CN105915370A publication Critical patent/CN105915370A/en
Application granted granted Critical
Publication of CN105915370B publication Critical patent/CN105915370B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a temporary configuration management system and method based on batch rollback, relating to the plane configuration management technology field. When the temporary configuration management system executes a temporary configuration, a temporary configuration management module generates management information for executing each temporary configuration, and the temporary configuration storage module stores the management information generated by the temporary configuration management module; when the temporary configuration management system executes the rollback temporary configuration, the temporary configuration management module obtains the management information of the rollback configuration in a temporary configuration storage module and obtains an inverse configuration of the rollback configuration from the management information; and the temporary configuration storage module temporarily configures the inverse configuration obtained by the temporary management module. The temporary configuration management system can simplify the rollback process of the temporary configuration management, and reduces the complexity of the temporary configuration management. The temporary configuration management system and method based on batch rollback enables the temporary configuration management, particularly the rollback granularity, to be extended from the configuration level to the state level, and enables the user to finish the rollback operation under condition that the inverse configuration or even the configuration is not concerned.

Description

Provisional configuration based on batch rollback management system and method
Technical field
The present invention relates to planar configuration management technique field, be specifically related to a kind of based on batch rollback Provisional configuration management system and method.
Background technology
During planar configuration management, general employing two benches comes into force pattern (i.e. by two stages Operating process configuration just can come into force), the two benches pattern that comes into force is:
First stage: user inputs configuration order, generate provisional configuration, for grammer or language The provisional configuration statement of justice mistake, system, by information displayed on the terminals, reminds user to join Put mistake and error reason.
Second stage: user submits configuration to, system enters the presentation stage of configuration.System is submitted to Provisional configuration is formal configuration.
Provisional configuration is exactly the configuration operation in the first stage, and formal configuration is the configuration behaviour preserved Make and restart system still to can continue to come into force.
Configuration rollback is that configuration returns to certain history configuration status, is that a raising system is joined Put reliability, the technology of lifting O&M efficiency.The basic operation unit of configuration rollback is inverse configuration, Inverse configuration is relative with configuration, and the effect of inverse configuration is to offset the effect that configuration produces.Such as Configuration is to enable OSPF business switch, then the inverse configuration needed during rollback goes to enable OSPF exactly Business switchs.
The management of existing provisional configuration uses using sole disposition as basic administrative unit, when joining When putting error or configuration error generation, it is certain that configuration personnel need to construct inverse configuration rollback one by one The history configuration status (i.e. provisional configuration rollback) of individual expectation.Shown in Figure 1, existing When provisional configuration rollback method uses, such as, have 3 provisional configuration, then configuration personnel hold successively , in row provisional configuration 1,2,3 when there is the scenes such as configuration error or configuration error, it is desirable to return Being rolled to the state before configuring 2, configuration personnel need to construct inverse configuration 3 and inverse configuration 2 respectively, Perform the most successively.
It follows that existing provisional configuration management method is when rollback, have the disadvantage in that
(1) workload of rollback structure inverse configuration is relatively big, before user needs to know configuration State.
(2) rollback history configuration status is the most remote, and workload is doubled and redoubled and easily makes mistakes.
In sum, existing provisional configuration management method be service deployment bring convenience same Time, bring constant to the management work of configuration personnel, be not easy to people and use.
Summary of the invention
For defect present in prior art, present invention solves the technical problem that for: simplify and face Time configuration management rollback process, reduce provisional configuration management complexity.The invention enables Provisional configuration managing special is that the granularity of rollback expands to state levels from configuration stage, and user can be It is indifferent in the case of inverse configuration even configures and completes rolling back action.
For reaching object above, provisional configuration based on the batch rollback management that the present invention provides is System, this system includes performing module, provisional configuration management module and provisional configuration memory module;
When described provisional configuration management system performs provisional configuration:
Provisional configuration management module is used for: generate the management information performing every provisional configuration;
Provisional configuration memory module is used for: the management letter that storage provisional configuration management module generates Breath;
When described provisional configuration management system performs rollback provisional configuration:
Execution module is used for: perform rollback provisional configuration and to facing according to the rollback state specified Time Configuration Manager send rollback notice;Receive the rollback knot that provisional configuration management module sends Really;
Provisional configuration management module is used for: when receiving the rollback notice performing module transmission, resolve This rollback notifies, obtains needing the provisional configuration of rollback;Provisional configuration memory module obtains Presently described rollback configuration management information and from this management information obtain rollback configure inverse Configuration;Inverse configuration storage signal is sent to provisional configuration memory module;Receive provisional configuration storage After the storage result of module feedback, to performing module feedback rollback result;
Provisional configuration memory module is used for: after receiving inverse configuration storage signal, store provisional configuration Manage the inverse configuration of module acquisition and to provisional configuration management module feedback storage result.
On the basis of technique scheme, described provisional configuration management system performs provisional configuration Time:
Execution module is used for: after performing provisional configuration, sends current to provisional configuration management module Provisional configuration;Receive the execution result that provisional configuration management module sends;
Provisional configuration management module specifically for: receive perform module send provisional configuration time, Generate the management information of current provisional configuration;Send management information to provisional configuration memory module to deposit Storage signal;It is back to perform module by the execution result that provisional configuration memory module notifies;
Provisional configuration memory module specifically for: receive management information signal storage after, storage is faced Time Configuration Manager generate management information and to provisional configuration management module notice perform knot Really.
On the basis of technique scheme, described provisional configuration management module receives provisional configuration After the storage result of memory module feedback, in addition it is also necessary to delete the management information of current rollback configuration.
The provisional configuration manager based on batch rollback for said system that the present invention provides Method, the method comprises the following steps:
A, execution provisional configuration, provisional configuration management module generates and performs every provisional configuration Management information, the management information of provisional configuration memory module every provisional configuration of record;
B, when provisional configuration needs rollback, it is intended that want the state of rollback, definition and this shape Provisional configuration corresponding to state is that rollback configures X;
After C, execution module perform rollback provisional configuration, send back to provisional configuration management module Rolling notice;Provisional configuration management module resolves this rollback notice, after obtaining rollback configuration X, In provisional configuration memory module, obtain the management information of rollback configuration X and believe from this management Breath obtains the inverse configuration of rollback configuration X;Provisional configuration memory module storage rollback configuration X Inverse configuration after, provisional configuration management module to perform module feedback rollback result, terminate.
On the basis of technique scheme, provisional configuration memory module described in step C is deposited After the inverse configuration of storage rollback configuration X, further comprising the steps of: provisional configuration management module is deleted Management information except rollback configuration X.
On the basis of technique scheme, further comprising the steps of before step A: to select Two-stage configuration take-effective pattern.
On the basis of technique scheme, in step B, provisional configuration needs the judgement of rollback Method is: when provisional configuration error or mistake, it is determined that provisional configuration needs rollback.
On the basis of technique scheme, step B is wanted the state of rollback according to all Provisional configuration specify.
Compared with prior art, it is an advantage of the current invention that:
The present invention is on the basis of existing provisional configuration management method, and record performs every temporarily The management information configured the concept introducing state, configuration personnel can directly join temporarily in rollback Being set to certain state specified, the provisional configuration state of rollback can be free position, the most permissible When being the configuration of previous bar, it is also possible to be to configure when just starting.
For example, see shown in Fig. 2, configuration personnel perform provisional configuration 1,2,3 successively, when sending out During the scenes such as raw configuration error or configuration error, it is desirable to be rolled back to the state before performing configuration 2, Before configuration personnel only need to specify rollback state for configuration 2, provisional configuration management module self completes Rollback, it is not necessary to configuration personnel construct inverse configuration.
In view of this, the present invention can simplify the rollback process of provisional configuration management, reduces interim The complexity of configuration management, it is simple to people use.
Ginseng is shown in Table 1, and table 1 passes through granularity, workload and performance to existing and the present invention System provisional configuration management method compares.
Table 1, the parameter comparison sheet of provisional configuration management method of existing and present system
Parameter Existing provisional configuration management method The provisional configuration management method of the present invention
Management/rollback granularity Configuration Configuration+state
Wall scroll rollback workload Construct 1 inverse configuration Before specifying rollback state to be 1
Wall scroll rollback time performance 1 time mutual 1 time mutual
Wall scroll rollback space performance Increase by 1 provisional configuration Reduce 1 provisional configuration
Rollback workload in batches Structure N bar inverse configuration Before specifying rollback state to be N bar
Rollback time performance in batches N times are mutual 1 time mutual
Rollback space performance in batches Increase N bar provisional configuration Reduce N bar provisional configuration
By table 1 it may be concluded that the present invention is when provisional configuration manages, either wall scroll returns Rolling or batch rollback, the most only need 1 time mutual, and need not during rollback construct inverse configuration; Meanwhile, the present invention is by the concept of state so that provisional configuration managing special is rollback Granularity expands to state levels from configuration stage, and user can be indifferent to the feelings that inverse configuration even configures Rolling back action is completed under condition.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of existing provisional configuration rollback method;
Fig. 2 is present invention schematic flow sheet when carrying out provisional configuration rollback;
Fig. 3 is the work of provisional configuration based on batch rollback management system in the embodiment of the present invention Make flow chart;
Fig. 4 is the stream of provisional configuration management method based on batch rollback in the embodiment of the present invention Cheng Tu.
Detailed description of the invention
Below in conjunction with drawings and Examples, the present invention is described in further detail.
Provisional configuration based on batch rollback management shown in Figure 3, in the embodiment of the present invention System, deposits including performing module (i.e. order line), provisional configuration management module and provisional configuration Storage module.
Shown in Figure 3, when the provisional configuration management system of the present invention performs provisional configuration:
Execution module is used for:
1, after performing provisional configuration, current provisional configuration is sent to provisional configuration management module;
2, the execution result that provisional configuration management module sends is received.
Provisional configuration management module is used for:
When 1, receiving the provisional configuration performing module transmission, generate the management of current provisional configuration Information;
2, management information signal storage is sent to provisional configuration memory module;
3, it is back to perform module by the execution result that provisional configuration memory module notifies.
Provisional configuration memory module is used for: after receiving management information signal storage, storage is joined temporarily Put the management information of management module generation and perform result to provisional configuration management module notice.
Shown in Figure 3, the provisional configuration management system of the present invention performs rollback provisional configuration Time:
Execution module is used for:
1, perform rollback provisional configuration according to the rollback state specified and manage to provisional configuration Module sends rollback notice;
2, the rollback result that provisional configuration management module sends is received.
Provisional configuration management module is used for:
When 1, receiving the rollback notice performing module transmission, resolve this rollback notice, returned Rolling configuration (i.e. needing the provisional configuration of rollback);
2, obtain in provisional configuration memory module current rollback configuration management information and from This management information obtains the inverse configuration of rollback configuration;
3, inverse configuration storage signal is sent to provisional configuration memory module;
4, after receiving the storage result of provisional configuration memory module feedback, delete current rollback and join The management information put to performing module feedback rollback result.
Provisional configuration memory module is used for: after receiving inverse configuration storage signal, store provisional configuration Manage the inverse configuration (being equivalent to the rolling back action of rollback configuration) of module acquisition and join to temporarily Put management module feedback storage result.
Shown in Figure 4, the embodiment of the present invention is used for the based on batch rollback of said system Provisional configuration management method, comprises the following steps:
S1: configuration personnel selection two-stage configuration take-effective pattern, forwards S2 to.
S2: configuration personnel perform provisional configuration, and provisional configuration management module generates execution every and faces Time configuration management information, provisional configuration memory module every provisional configuration of record management letter Breath, forwards S3 to.
S3: determine provisional configuration error or mistake, forward S4 to.
S4: configuration personnel decide whether rollback provisional configuration, if so, forward S5 to, no Then terminate.
S5: configuration personnel check current all of provisional configuration, forward S6 to.
Personnel are according to all of provisional configuration in S6: configuration, it is intended that want the state of rollback, definition The provisional configuration corresponding with this state is that rollback configures X, forwards S7 to.
S7: after performing module execution rollback provisional configuration, send back to provisional configuration management module Rolling notice;Provisional configuration management module resolves this rollback notice, after obtaining rollback configuration X, In provisional configuration memory module, obtain the management information of rollback configuration X and believe from this management Breath obtains the inverse configuration of rollback configuration X;Provisional configuration memory module storage rollback configuration X Inverse configuration after (be equivalent to rollback configuration X rolling back action), provisional configuration management module delete Except the management information of rollback configuration X and to performing module feedback rollback result, terminate.
The present invention is not limited to above-mentioned embodiment, for those skilled in the art For, under the premise without departing from the principles of the invention, it is also possible to make some improvements and modifications, Within these improvements and modifications are also considered as protection scope of the present invention.This specification is not made in detail The content described belongs to prior art known to professional and technical personnel in the field.

Claims (8)

1. provisional configuration based on a batch rollback management system, it is characterised in that: this is System includes performing module, provisional configuration management module and provisional configuration memory module;
When described provisional configuration management system performs provisional configuration:
Provisional configuration management module is used for: generate the management information performing every provisional configuration;
Provisional configuration memory module is used for: the management information that storage provisional configuration management module generates;
When described provisional configuration management system performs rollback provisional configuration:
Execution module is used for: perform rollback provisional configuration and to facing according to the rollback state specified Time Configuration Manager send rollback notice;Receive the rollback knot that provisional configuration management module sends Really;
Provisional configuration management module is used for: when receiving the rollback notice performing module transmission, resolve This rollback notifies, obtains needing the provisional configuration of rollback;Provisional configuration memory module obtains Presently described rollback configuration management information and from this management information obtain rollback configure inverse Configuration;Inverse configuration storage signal is sent to provisional configuration memory module;Receive provisional configuration storage After the storage result of module feedback, to performing module feedback rollback result;
Provisional configuration memory module is used for: after receiving inverse configuration storage signal, store provisional configuration Manage the inverse configuration of module acquisition and to provisional configuration management module feedback storage result.
2. provisional configuration based on batch rollback management system as claimed in claim 1, its It is characterised by: when described provisional configuration management system performs provisional configuration:
Execution module is used for: after performing provisional configuration, sends current to provisional configuration management module Provisional configuration;Receive the execution result that provisional configuration management module sends;
Provisional configuration management module specifically for: receive perform module send provisional configuration time, Generate the management information of current provisional configuration;Send management information to provisional configuration memory module to deposit Storage signal;It is back to perform module by the execution result that provisional configuration memory module notifies;
Provisional configuration memory module specifically for: receive management information signal storage after, storage is faced Time Configuration Manager generate management information and to provisional configuration management module notice perform knot Really.
3. provisional configuration based on batch rollback management system as claimed in claim 1 or 2, It is characterized in that: described provisional configuration management module receives depositing of provisional configuration memory module feedback After storage result, in addition it is also necessary to delete the management information of current rollback configuration.
4. one kind is used for the based on batch rollback of system described in any one of claims 1 to 3 Provisional configuration management method, it is characterised in that: the method comprises the following steps:
A, execution provisional configuration, provisional configuration management module generates and performs every provisional configuration Management information, the management information of provisional configuration memory module every provisional configuration of record;
B, when provisional configuration needs rollback, it is intended that want the state of rollback, definition and this shape Provisional configuration corresponding to state is that rollback configures X;
After C, execution module perform rollback provisional configuration, send back to provisional configuration management module Rolling notice;Provisional configuration management module resolves this rollback notice, after obtaining rollback configuration X, In provisional configuration memory module, obtain the management information of rollback configuration X and believe from this management Breath obtains the inverse configuration of rollback configuration X;Provisional configuration memory module storage rollback configuration X Inverse configuration after, provisional configuration management module to perform module feedback rollback result, terminate.
5. provisional configuration management method based on batch rollback as claimed in claim 4, its It is characterised by: inverse the joining of the storage rollback configuration X of provisional configuration memory module described in step C Postpone, further comprising the steps of: provisional configuration management module deletes the management of rollback configuration X Information.
6. the provisional configuration management method based on batch rollback as described in claim 4 or 5, It is characterized in that: further comprising the steps of before step A: select two-stage configuration take-effective mould Formula.
7. the provisional configuration management method based on batch rollback as described in claim 4 or 5, It is characterized in that: in step B, provisional configuration needs the decision method of rollback to be: join when temporarily When putting error or mistake, it is determined that provisional configuration needs rollback.
8. the provisional configuration management method based on batch rollback as described in claim 4 or 5, It is characterized in that: step B is wanted the state of rollback specify according to all of provisional configuration.
CN201610212573.XA 2016-04-07 2016-04-07 Provisional configuration management system and method based on batch rollback Active CN105915370B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610212573.XA CN105915370B (en) 2016-04-07 2016-04-07 Provisional configuration management system and method based on batch rollback

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610212573.XA CN105915370B (en) 2016-04-07 2016-04-07 Provisional configuration management system and method based on batch rollback

Publications (2)

Publication Number Publication Date
CN105915370A true CN105915370A (en) 2016-08-31
CN105915370B CN105915370B (en) 2018-11-30

Family

ID=56744706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610212573.XA Active CN105915370B (en) 2016-04-07 2016-04-07 Provisional configuration management system and method based on batch rollback

Country Status (1)

Country Link
CN (1) CN105915370B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111478801A (en) * 2020-03-27 2020-07-31 烽火通信科技股份有限公司 Communication equipment configuration management method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7307979B2 (en) * 2002-07-31 2007-12-11 Jeremy Benjamin As Receiver For Chiaro Networks Ltd Configuration rollback
CN101977127A (en) * 2010-11-26 2011-02-16 迈普通信技术股份有限公司 SNMP (Simple Network Management Protocol) based equipment configuration roll back method and SNMP network management equipment
CN102255761A (en) * 2011-08-19 2011-11-23 迈普通信技术股份有限公司 File-based configuration rollback system and configuration rollback method
CN102651698A (en) * 2012-04-28 2012-08-29 华为技术有限公司 Network management method, network management system and network elements
CN102694686A (en) * 2012-05-30 2012-09-26 华为技术有限公司 Configuration data backspacing method, related device and system
CN102742215A (en) * 2012-02-17 2012-10-17 华为技术有限公司 Method and device for clearing configuration command in communication equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7307979B2 (en) * 2002-07-31 2007-12-11 Jeremy Benjamin As Receiver For Chiaro Networks Ltd Configuration rollback
CN101977127A (en) * 2010-11-26 2011-02-16 迈普通信技术股份有限公司 SNMP (Simple Network Management Protocol) based equipment configuration roll back method and SNMP network management equipment
CN102255761A (en) * 2011-08-19 2011-11-23 迈普通信技术股份有限公司 File-based configuration rollback system and configuration rollback method
CN102742215A (en) * 2012-02-17 2012-10-17 华为技术有限公司 Method and device for clearing configuration command in communication equipment
CN102651698A (en) * 2012-04-28 2012-08-29 华为技术有限公司 Network management method, network management system and network elements
CN102694686A (en) * 2012-05-30 2012-09-26 华为技术有限公司 Configuration data backspacing method, related device and system
WO2013177883A1 (en) * 2012-05-30 2013-12-05 华为技术有限公司 Configuration data rollback method and related apparatus and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111478801A (en) * 2020-03-27 2020-07-31 烽火通信科技股份有限公司 Communication equipment configuration management method and system

Also Published As

Publication number Publication date
CN105915370B (en) 2018-11-30

Similar Documents

Publication Publication Date Title
Moreira et al. Polynomial time verification of decentralized diagnosability of discrete event systems
CN102222043B (en) Testing method and testing device
CN108255592A (en) A kind of Quartz clusters timing task processing system and method
CN111193605A (en) Fault positioning method and device and storage medium
CN109618000A (en) Master-slave switching method, device, system and the server of load balancing service
CN104283901B (en) A kind of distributed live background service system and its method
CN103229480B (en) Data processing method and equipment, client in distributed memory system
US20140095616A1 (en) Method and system for sampling online social networks
CN105302709B (en) Test data generating method and equipment
CN105915370A (en) Temporary configuration management system and method based on batch rollback
CN108415803A (en) A kind of method and system of the energy saving electricity monitoring of smart lock
Shogan A single server queue with arrival rate dependent on server breakdowns
CN109254916A (en) A kind of method and server of the visualization RestFul interface testing relying on injection based on Spring
CN108199912A (en) Management, consuming method and the device of a kind of strange land distributed message mostly living
CN105915372A (en) Temporary configuration management system and method based on automatic rollback
CN104410517B (en) A kind of method and apparatus that configuration retracts
CN105590249A (en) Quotation information inquiry system, method and B2B purchasing management system
CN103176796A (en) Method for achieving mapping from complex data to signal set in AUTOSAR
CN111027299A (en) Form generation method and system
CN110519107A (en) Metropolitan Area Network (MAN) circuit expansion method and device
CN114004712B (en) Service value chain construction method based on event log
CN109656610A (en) The hot update method of online game distributed data and device
CN109656740A (en) A method of supporting timeout treatment task flow
CN108289040A (en) A kind of the centralized management method, apparatus and system of node users
CN105184647B (en) The restoring method and system of transaction flow

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant