CN105915370B - Provisional configuration management system and method based on batch rollback - Google Patents

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

Info

Publication number
CN105915370B
CN105915370B CN201610212573.XA CN201610212573A CN105915370B CN 105915370 B CN105915370 B CN 105915370B CN 201610212573 A CN201610212573 A CN 201610212573A CN 105915370 B CN105915370 B CN 105915370B
Authority
CN
China
Prior art keywords
configuration
rollback
provisional configuration
provisional
management
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.)
Active
Application number
CN201610212573.XA
Other languages
Chinese (zh)
Other versions
CN105915370A (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 kind of provisional configuration management systems and method based on batch rollback, are related to planar configuration administrative skill field.When the system executes provisional configuration:Provisional configuration management module generates the management information for executing every provisional configuration;Provisional configuration memory module stores the management information that provisional configuration management module generates;When the system executes rollback provisional configuration:Provisional configuration management module obtains the management information of rollback configuration in provisional configuration memory module and obtains the inverse configuration of rollback configuration from the management information;Provisional configuration memory module stores the inverse configuration that provisional configuration management module obtains.The present invention can simplify the rollback process of provisional configuration management, reduce the complexity of provisional configuration management.The invention enables the granularities that provisional configuration managing special is rollback to be extended to state levels from configuration stage, and user can complete rolling back action in the case where being indifferent to inverse configuration and even configuring.

Description

Provisional configuration management system and method based on batch rollback
Technical field
The present invention relates to planar configuration administrative skill fields, and in particular to a kind of provisional configuration management based on batch rollback System and method.
Background technique
It is general to come into force mode (i.e. just by the operating process configuration in two stages using two stages when planar configuration manages Can come into force), the two stages mode that comes into force is:
First stage:User inputs configuration order, provisional configuration is generated, for the provisional configuration of grammer or semantic error Prompt information displayed on the terminals is reminded user configuration mistake and error reason by sentence, system.
Second stage:User submits configuration, and system enters the presentation stage of configuration.It is formally to match that system, which submits provisional configuration, It sets.
Provisional configuration is exactly the configuration operation in the first stage, formal configuration be the configuration operation saved and restart system according to So it can continue to come into force.
Configuring rollback is that will configure to be restored to some history configuration status, is a raising system configuration reliability, is promoted The technology of O&M efficiency.The basic operation unit of configuration rollback is inverse configuration, and inverse configuration and configuration are opposite, the works of inverse configuration With the effect for being counteracting configuration generation.For example configuration is enabled OSPF business switch, then the inverse configuration needed when rollback is exactly Enabled OSPF business switch.
Existing provisional configuration management is used using sole disposition as basic administrative unit, when configuration fault or configuration When mistake occurs, configuration personnel need to construct inverse configuration history configuration status (the i.e. provisional configuration that rollback is expected one by one for some Rollback).It is shown in Figure 1, existing provisional configuration rollback method in use, for example there is 3 provisional configurations, then configure personnel according to Secondary execution provisional configuration 1,2,3, when the scenes such as configuration fault or configuration error occur, it is desirable that the state before being rolled back to configuration 2, Configuration personnel need to construct inverse configuration 3 and inverse configuration 2 respectively, then successively execute.
It follows that existing provisional configuration management method has the following disadvantages in rollback:
(1) larger workload of rollback construction inverse configuration, user need to know the state before configuration.
(2) rollback history configuration status is remoter, and workload is doubled and redoubled and easily malfunctions.
In conclusion while existing provisional configuration management method brings convenience for service deployment, to configuration personnel's Management work bring it is constant, be not easy to people use.
Summary of the invention
In view of the deficiencies in the prior art, present invention solves the technical problem that being:Simplify returning for provisional configuration management Journey is rolled across, the complexity of provisional configuration management is reduced.It is the granularity of rollback from matching the invention enables provisional configuration managing special It sets grade and is extended to state levels, user can complete rolling back action in the case where being indifferent to inverse configuration and even configuring.
To achieve the above objectives, the provisional configuration management system provided by the invention based on batch rollback, the system include Execution module, provisional configuration management module and provisional configuration memory module;
When the provisional configuration management system executes provisional configuration:
Provisional configuration management module is used for:Generate the management information for executing every provisional configuration;
Provisional configuration memory module is used for:Store the management information that provisional configuration management module generates;
When the provisional configuration management system executes rollback provisional configuration:
Execution module is used for:Rollback provisional configuration is executed according to specified rollback state and to provisional configuration management module Send rollback notice;Receive the rollback result that provisional configuration management module is sent;
Provisional configuration management module is used for:When receiving the rollback notice of execution module transmission, rollback notice is parsed, is obtained Need the provisional configuration of rollback;Obtained in provisional configuration memory module the management information of presently described rollback configuration and from this The inverse configuration of rollback configuration is obtained in management information;Inverse configuration, which is sent, to provisional configuration memory module stores signal;It receives interim After the storage result of configuration storage module feedback, rollback result is fed back to execution module;
Provisional configuration memory module is used for:After receiving inverse configuration storage signal, storage provisional configuration management module is obtained Inverse configuration simultaneously feeds back storage result to provisional configuration management module.
Based on the above technical solution, when the provisional configuration management system executes provisional configuration:
Execution module is used for:After executing provisional configuration, current provisional configuration is sent to provisional configuration management module;Reception is faced When configuration management module send implementing result;
Provisional configuration management module is specifically used for:When receiving the provisional configuration of execution module transmission, generation is currently temporarily matched The management information set;Management information signal storage is sent to provisional configuration memory module;Provisional configuration memory module is notified Implementing result is back to execution module;
Provisional configuration memory module is specifically used for:After receiving management information storage signal, provisional configuration management module is stored The management information of generation simultaneously notifies implementing result to provisional configuration management module.
Based on the above technical solution, the provisional configuration management module receives provisional configuration memory module feedback After storage result, it is also necessary to delete the management information of current rollback configuration.
Provided by the present invention for the provisional configuration management method based on batch rollback of above system, this method include with Lower step:
A, provisional configuration is executed, provisional configuration management module generates the management information for executing every provisional configuration, temporarily matches Set the management information that memory module records every provisional configuration;
B, when provisional configuration needs rollback, the state of desired rollback is specified, provisional configuration corresponding with the state is defined X is configured for rollback;
C, after execution module executes rollback provisional configuration, rollback notice is sent to provisional configuration management module;Provisional configuration Management module parses rollback notice, and after obtaining rollback configuration X, the pipe of rollback configuration X is obtained in provisional configuration memory module It manages information and obtains the inverse configuration of rollback configuration X from the management information;Provisional configuration memory module stores rollback configuration X's After inverse configuration, provisional configuration management module feeds back rollback as a result, terminating to execution module.
Based on the above technical solution, inverse the matching of the storage of provisional configuration memory module described in step C rollback configuration X It postpones, it is further comprising the steps of:Provisional configuration management module deletes the management information of rollback configuration X.
Based on the above technical solution, further comprising the steps of before step A:Select two-stage configuration take-effective mould Formula.
Based on the above technical solution, provisional configuration needs the determination method of rollback to be in step B:Work as provisional configuration When fault or mistake, determine that provisional configuration needs rollback.
Based on the above technical solution, the state that rollback is wanted in step B is specified according to all provisional configurations.
Compared with the prior art, the advantages of the present invention are as follows:
For the present invention on the basis of existing provisional configuration management method, record executes the management letter of every provisional configuration The concept of state is ceased and introduces, configuration personnel can rollback provisional configuration be directly some specified state, and rollback is temporarily matched The state of setting can be free position, either when previous item configures, when being also possible to configure rigid beginning.
For example, see shown in Fig. 2, configuration personnel successively execute provisional configuration 1,2,3, and when occurring, configuration is made mistakes or configuration is wrong Accidentally etc. scenes when, it is desirable that be rolled back to execute configuration 2 before state, configuration personnel need to only specify rollback state for configuration 2 before, temporarily Configuration management module voluntarily completes rollback, constructs inverse configuration without configuring personnel.
In view of this, the present invention can simplify the rollback process of provisional configuration management, the complexity of provisional configuration management is reduced Degree uses convenient for people.
Ginseng is shown in Table 1, and table 1 is by granularity, workload and performance to existing and of the invention system provisional configuration management Method is compared.
The parameter comparison sheet of table 1, existing and present system provisional configuration management method
Parameter Existing provisional configuration management method Provisional configuration management method of the invention
Management/rollback granularity Configuration Configuration+state
Single rollback workload Construct 1 inverse configuration Before specified rollback state is 1
Single rollback time performance 1 interaction 1 interaction
Single rollback space performance Increase by 1 provisional configuration Reduce 1 provisional configuration
Batch rollback workload Construct N inverse configuration Specified rollback state is before N item
Batch rollback time performance N times interaction 1 interaction
Batch rollback space performance Increase N provisional configuration Reduce N provisional configuration
By table 1 it could be assumed that:The present invention is when provisional configuration manages, either single rollback or batch rollback, 1 interaction is only needed, and does not need construction inverse configuration when rollback;At the same time, the present invention by state concept so that facing When configuration management especially rollback granularity be extended to state levels from configuration stage, user can even configure be indifferent to inverse configuration In the case where complete rolling back action.
Detailed description of the invention
Fig. 1 is the flow diagram of existing provisional configuration rollback method;
Fig. 2 is the flow diagram when present invention carries out provisional configuration rollback;
Fig. 3 is the work flow diagram of the provisional configuration management system based on batch rollback in the embodiment of the present invention;
Fig. 4 is the flow chart of the provisional configuration management method based on batch rollback in the embodiment of the present invention.
Specific embodiment
Invention is further described in detail with reference to the accompanying drawings and embodiments.
It is shown in Figure 3, the provisional configuration management system based on batch rollback in the embodiment of the present invention, including execute mould Block (i.e. order line), provisional configuration management module and provisional configuration memory module.
It is shown in Figure 3, when provisional configuration management system of the invention executes provisional configuration:
Execution module is used for:
1, after executing provisional configuration, current provisional configuration is sent to provisional configuration management module;
2, the implementing result that provisional configuration management module is sent is received.
Provisional configuration management module is used for:
1, when receiving the provisional configuration of execution module transmission, the management information of current provisional configuration is generated;
2, management information signal storage is sent to provisional configuration memory module;
3, the implementing result that provisional configuration memory module notifies is back to execution module.
Provisional configuration memory module is used for:After receiving management information storage signal, storage provisional configuration management module is generated Management information and to provisional configuration management module notify implementing result.
It is shown in Figure 3, when provisional configuration management system of the invention executes rollback provisional configuration:
Execution module is used for:
1, it executes rollback provisional configuration according to specified rollback state and sends rollback to provisional configuration management module and lead to Know;
2, the rollback result that provisional configuration management module is sent is received.
Provisional configuration management module is used for:
1, when receiving the rollback notice of execution module transmission, rollback notice is parsed, rollback configuration is obtained and (needs rollback Provisional configuration);
2, the management information of current rollback configuration is obtained in provisional configuration memory module and is obtained from the management information The inverse configuration of rollback configuration;
3, inverse configuration is sent to provisional configuration memory module store signal;
4, after the storage result for receiving provisional configuration memory module feedback, the management information, simultaneously of current rollback configuration is deleted Rollback result is fed back to execution module.
Provisional configuration memory module is used for:After receiving inverse configuration storage signal, storage provisional configuration management module is obtained Inverse configuration (rolling back action for being equivalent to rollback configuration) simultaneously feeds back storage result to provisional configuration management module.
It is shown in Figure 4, the provisional configuration manager based on batch rollback of above system is used in the embodiment of the present invention Method includes the following steps:
S1:Personnel selection two-stage configuration take-effective mode is configured, S2 is gone to.
S2:Configuration personnel execute provisional configuration, and provisional configuration management module generates the management letter for executing every provisional configuration Breath, provisional configuration memory module record the management information of every provisional configuration, go to S3.
S3:It determines provisional configuration fault or mistake, goes to S4.
S4:Configuration personnel decide whether rollback provisional configuration, if so, going to S5, otherwise terminate.
S5:Configuration personnel check current all provisional configurations, go to S6.
S6:Configuration personnel specify the state of desired rollback, define face corresponding with the state according to all provisional configurations When be configured to rollback configuration X, go to S7.
S7:After execution module executes rollback provisional configuration, rollback notice is sent to provisional configuration management module;Provisional configuration Management module parses rollback notice, and after obtaining rollback configuration X, the pipe of rollback configuration X is obtained in provisional configuration memory module It manages information and obtains the inverse configuration of rollback configuration X from the management information;Provisional configuration memory module stores rollback configuration X's After inverse configuration (rolling back action for being equivalent to rollback configuration X), the management information of provisional configuration management module deletion rollback configuration X, And rollback is fed back as a result, terminating to execution module.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from Under the premise of the principle of the invention, several improvements and modifications can also be made, these improvements and modifications are also considered as protection of the invention Within the scope of.The content being not described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.

Claims (8)

1. a kind of provisional configuration management system based on batch rollback, it is characterised in that:The system includes execution module, temporarily matches Set management module and provisional configuration memory module;
When the provisional configuration management system executes provisional configuration:
Provisional configuration management module is used for:Generate the management information for executing every provisional configuration;
Provisional configuration memory module is used for:Store the management information that provisional configuration management module generates;
When the provisional configuration management system executes rollback provisional configuration:
Execution module is used for:Rollback provisional configuration is executed according to specified rollback state and is sent to provisional configuration management module Rollback notice;Receive the rollback result that provisional configuration management module is sent;
Provisional configuration management module is used for:When receiving the rollback notice of execution module transmission, rollback notice is parsed, is needed The provisional configuration of rollback;The management information of presently described rollback configuration is obtained in provisional configuration memory module and from the management The inverse configuration of rollback configuration is obtained in information;Inverse configuration, which is sent, to provisional configuration memory module stores signal;Receive provisional configuration After the storage result of memory module feedback, rollback result is fed back to execution module;
Provisional configuration memory module is used for:After receiving inverse configuration storage signal, inverse the matching of storage provisional configuration management module acquisition It sets and feeds back storage result to provisional configuration management module.
2. as described in claim 1 based on the provisional configuration management system of batch rollback, it is characterised in that:The provisional configuration When management system executes provisional configuration:
Execution module is used for:After executing provisional configuration, current provisional configuration is sent to provisional configuration management module;Reception is temporarily matched Set the implementing result of management module transmission;
Provisional configuration management module is specifically used for:When receiving the provisional configuration of execution module transmission, current provisional configuration is generated Management information;Management information signal storage is sent to provisional configuration memory module;The execution that provisional configuration memory module is notified As a result it is back to execution module;
Provisional configuration memory module is specifically used for:After receiving management information storage signal, storage provisional configuration management module is generated Management information and to provisional configuration management module notify implementing result.
3. as claimed in claim 1 or 2 based on the provisional configuration management system of batch rollback, it is characterised in that:It is described interim After configuration management module receives the storage result of provisional configuration memory module feedback, it is also necessary to delete the management of current rollback configuration Information.
4. a kind of provisional configuration management method based on batch rollback for any one of claims 1 to 3 system, special Sign is:This approach includes the following steps:
A, provisional configuration is executed, provisional configuration management module generates the management information for executing every provisional configuration, and provisional configuration is deposited Storage module records the management information of every provisional configuration;
B, when provisional configuration needs rollback, the state of desired rollback is specified, provisional configuration corresponding with the state is defined and is back Rolling configuration X;
C, after execution module executes rollback provisional configuration, rollback notice is sent to provisional configuration management module;Provisional configuration management Module parses rollback notice, and after obtaining rollback configuration X, the management letter of rollback configuration X is obtained in provisional configuration memory module Cease and obtain from the management information inverse configuration of rollback configuration X;Inverse the matching of provisional configuration memory module storage rollback configuration X It postpones, provisional configuration management module feeds back rollback as a result, terminating to execution module.
5. as claimed in claim 4 based on the provisional configuration management method of batch rollback, it is characterised in that:Described in step C It is further comprising the steps of after provisional configuration memory module stores the inverse configuration of rollback configuration X:Provisional configuration management module is deleted back The management information of rolling configuration X.
6. as described in claim 4 or 5 based on the provisional configuration management method of batch rollback, it is characterised in that:Before step A It is further comprising the steps of:Select two-stage configuration take-effective mode.
7. as described in claim 4 or 5 based on the provisional configuration management method of batch rollback, it is characterised in that:Face in step B When configuration need the determination method of rollback to be:When provisional configuration fault or mistake, determine that provisional configuration needs rollback.
8. as described in claim 4 or 5 based on the provisional configuration management method of batch rollback, it is characterised in that:Think in step B Want the state of rollback specified according to all provisional configurations.
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 CN105915370A (en) 2016-08-31
CN105915370B true 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)

Families Citing this family (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

Also Published As

Publication number Publication date
CN105915370A (en) 2016-08-31

Similar Documents

Publication Publication Date Title
US10706224B2 (en) Providing context-aware input data
CN104104547B (en) A kind of management method and network controller of network equipments configuration file
JP2016081401A (en) Information search presentation apparatus and information search presentation method
CN111625535B (en) Method, device and storage medium for realizing business data association
CN108595316A (en) Life cycle management method, manager, equipment and the medium of Distributed Application
CN104618166B (en) Application service dispositions method, apparatus and system
CN111198662B (en) Data storage method, device and computer readable storage medium
WO2012155643A1 (en) Method for implementing configuration console based on database, configuration console, and system
CN109710631A (en) Auxiliary generates method, apparatus, equipment and the computer storage medium of SQL code
CN113656407B (en) Data topology generation method and device, electronic equipment and storage medium
CN105915370B (en) Provisional configuration management system and method based on batch rollback
CN111026572A (en) Fault processing method and device of distributed system and electronic equipment
CN105302709B (en) Test data generating method and equipment
CN105787674A (en) Paperless mobile office system
CN110008315A (en) A kind of brand name recommended method and system
CN102110161A (en) Method and device for backing up and recovering multi-service database
US10474176B2 (en) Remote supervisory control system
CN102034168A (en) Method and system for matching task executor for work breakdown structure
CN108833451A (en) Multistage managing and control system and management-control method based on domestic safety control platform
CN109254916A (en) A kind of method and server of the visualization RestFul interface testing relying on injection based on Spring
CN105915372B (en) Provisional configuration management system and method based on automatic rollback
CN108830555A (en) Mail configuration method, device, computer equipment and storage medium
CN109992079A (en) Terminal device and control method applied to terminal device
CN108171640A (en) Marine communication system data storage system and statistical method
CN108184131A (en) Start broadcasting based reminding method, device and readable storage medium storing program for executing

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