Background technology
The modern network management system can be divided into network element (NE), Element management system (EMS), network management system (nms) etc. from architecture.To the near-end maintaining of NE, generally use LMT Local Maintenance Terminal (LMT) terminal; EMS/NMS etc. then are referred to as operation maintenance center (OMC), can carry out remote maintenance to NE.The user both can pass through LMT, also can come NE is carried out data configuration by OMC.
NE and OMC are kept at configuration data respectively in the own local database.Under the normal condition, it is consistent that NE goes up the configuration data of preserving with OMC.Radio configuration data message amount is big, the complexity height, and the user needs according to service needed configuration data to be adjusted in regular maintenance, therefore needing a kind of technology can guarantee that the configuration data in network element and the operation maintenance center is consistent, and can reflect the master data configuring condition of system and the situation of change that the user uses LMT or OMC that configuration data is adjusted.
In present a kind of prior art, the configuration data of network element and operation maintenance center all is kept in the database, directly the configuration data in the database in the synchronous network element of technology of use database synchronization and the operation maintenance center is safeguarded network element and the consistent purpose of operation maintenance center's configuration data to reach.
The shortcoming of this technology comprises:
If the database technology of using in network element and the operation maintenance center is different then can have certain problem, for example database is difficult to realize synchronously, so the versatility of this scheme is poor;
This method can't show the situation of change of the configuration data of adjusting in the master data configuration of current system and the regular maintenance for the user;
This method is difficult to the configuration data of native system is migrated to the basic data configuration of a new system as this new system.
In present another kind of method, network element and operation maintenance center all save the data in the database, and network element and operation maintenance center's utility command script file are realized both sides' data synchronization.Be that network element and operation maintenance center all preserve with a configuration order script file, when using LMT Local Maintenance Terminal that network element is carried out data configuration, every configuration order all can be come the notifying operation maintenance centre by incident, and both sides' configuration order script is consistent like this; When using operation maintenance center that network element is carried out data configuration, the command record that network element also can issue operation maintenance center is in the command script of this locality.So just guaranteed the consistency of the configuration data of network element and operation maintenance center.
The shortcoming of this technology comprises:
This technology can't show the situation of change of the configuration data of adjusting in the master data configuration of current system and the regular maintenance for the user;
When the communication of network element and operation maintenance center was broken down, the configuration operation of being done on LMT Local Maintenance Terminal only can be kept at network element, and is not reported to operation maintenance center; After the communication of operation maintenance center and network element recovers normally, network element can not accurately promptly be made a response to LMT Local Maintenance Terminal configuration order situation of change, and operation maintenance center must come the variation of more resulting configuration order by the method for resolving both sides' configuration script.
Summary of the invention
In view of above-mentioned existing in prior technology problem, the memory management method and the system that the purpose of this invention is to provide configuration data between a kind of network element of simple general-purpose and webmaster, be convenient between network element and operation maintenance center, keep configuration data consistency, improve the maintainability of system.
The objective of the invention is to be achieved through the following technical solutions:
A kind of memory management method of realizing data configuration between network element and webmaster comprises:
A, when carrying out configurations, after the configurations command execution, it is saved to respectively in the base command file of network element and operation maintenance center;
B, adjust when configuration, under the normal situation of link, after adjusting configuration order and carrying out, it is saved to respectively in the adjustment configuration order file of network element and operation maintenance center;
C, adjust when configuration, when in link down, use LMT Local Maintenance Terminal that network element is carried out and adjust order, be kept in the temporary file of network element, treat performed adjustment order to be updated in the adjustment configuration order file of operation maintenance center again behind the link-recovery adjusting order.
The script file of described configurations order, adjustment configuration order produces by the same set of command description mechanism of ordering in advance, realizes the synchronous of network two ends disparate databases.
Described step B comprises:
B1, when being configured by operation maintenance center, network element receives and carries out the order that comes from operation maintenance center, after the command execution, this order is saved in the local adjustment configuration order file, and this order is sent to operation maintenance center, it is saved in the adjustment configuration order file of operation maintenance center;
B2, when being configured by LMT Local Maintenance Terminal, network element receives and carries out the order that comes from LMT Local Maintenance Terminal, after the command execution, this order is saved in the local adjustment configuration order file, and this order is sent to operation maintenance center, it is saved in the adjustment configuration order file of operation maintenance center.
Treating among the described step C is configured behind the link-recovery again and comprises:
Adjustment configuration order in the temporary file is saved in the adjustment configuration file of network element;
Adjustment configuration order in the temporary file is saved in the adjustment configuration file of operation maintenance center;
After the adjustment configuration order is preserved respectively, the deletion temporary file.
The described configuration order of will adjusting is saved to network element and adjusts the sequencing that command file or operation maintenance center adjust command file and can change.
A kind of storage management system of realizing data configuration between network element and webmaster comprises:
The network element commands processing unit is used for network element and operation maintenance center's link just often with the configurations order with adjust configuration order and be stored in local respective file respectively, and sends this and order the command processing module to operation maintenance center; When network element and operation maintenance center's link open circuit, be saved in the temporary file of network element adjusting configuration order.
Operation maintenance center's command processing device is used to receive the configuration order from network element, and is saved to respectively in the corresponding local file.
Described network element commands processing unit comprises:
The normality processing module is used at network element and operation maintenance center's link just often, with the configurations order with adjust configuration order and be kept at respectively in the network element corresponding file;
The chain rupture processing module, be used for after configurations finishes, network element and operation maintenance center's link disconnect, and when the user is configured adjustment by LMT Local Maintenance Terminal to network element, executed adjustment configuration order is kept in the temporary file of network element this locality, treats behind the link-recovery content of temporary file is sent to operation maintenance center;
When the order in the temporary file after operation maintenance center preserves successfully, this order is saved to network element is local to be adjusted in the command file, and the deletion temporary file.
As seen from the above technical solution provided by the invention, the present invention safeguards the consistency of configuration data between network element and operation maintenance center simply and easily, can be clearly to the basic data configuration of user's display systems and the data configuration of dynamically adjusting, and the configuration data of a certain system can be multiplexed in other system easily.
Embodiment
Core of the present invention is to use identical command description method to describe whole configuration orders, and the configurations order is stored in respectively in network element and the operation maintenance center's base command file, adjust configuration order and be stored in respectively in the adjustment command file of network element and operation maintenance center.When between network element and the operation maintenance center during chain rupture, the user uses LMT Local Maintenance Terminal that network element is adjusted, network element will be adjusted in the temporary file that configuration order is stored in network element, behind link-recovery the adjustment configuration order in the temporary file be sent to operation maintenance center.
More specifically say, the present invention is stored in configurations order and adjustment configuration order respectively in the respective file of network element and operation maintenance center, and use the temporary file in the network element temporarily to preserve the adjustment configuration order when opening circuit in system, be convenient in follow-up work identification and processing to this part order.
The present invention uses the same set of command description mechanism of ordering in advance to produce the script file of configurations order, adjustment configuration order, and NE and OMC preserve with a configuration order script file like this, can realize the synchronous of network two ends disparate databases.
In specific embodiments of the invention, the base command file that is used to preserve the configurations order is configure base data file (CMBase), being used to preserve the adjustment command file of adjusting configuration order is network management configuration delta data file (CMChange), and being used for preserving the temporary file of adjusting configuration order under the link down situation is network element configuration delta data file (CMDelta).
The present invention will adjust the employed adjustment configuration order of configuration to system and be saved to the adjustment command file, and this document is present in network element and operation maintenance center simultaneously.
Concrete configuration can be carried out respectively according to following three kinds of situations:
The user uses operation maintenance center to be configured;
Under network element and the normal situation of operation maintenance center's communication, the user uses LMT Local Maintenance Terminal to be configured;
Under the situation of network element and operation maintenance center's communication chain rupture, the user uses LMT Local Maintenance Terminal to be configured.
For the situation that the user uses operation maintenance center to be configured, its layoutprocedure comprises:
The user carries out by operation maintenance center and adjusts configuration order;
Operation maintenance center to NE, and is configured command down-transmitting in NE in layoutprocedure;
Network element carry out to be adjusted after the configuration order command record in the network management configuration delta data file of this locality, and executed adjustment configuration order is sent to operation maintenance center;
Operation maintenance center with command record in local configuration variation data file.
Normal for network element and operation maintenance center's communication, the user uses LMT Local Maintenance Terminal to carry out the situation of data configuration, and its layoutprocedure comprises:
The user carries out network element by LMT Local Maintenance Terminal and adjusts configuration order;
The configuration order executed of network element notifying operation maintenance centre, and executed configuration order sent to operation maintenance center;
Operation maintenance center is saved to the executed configuration order that receives in the local configuration variation data file, and notice network element adjustment configuration order is preserved;
Network element is saved to executed configuration order in the local configuration variation data file.
For network element and operation maintenance center's communication chain rupture, and the user uses LMT Local Maintenance Terminal to carry out the situation of data configuration, and its layoutprocedure comprises:
The user carries out network element by LMT Local Maintenance Terminal and adjusts configuration order;
Network element will be adjusted configuration order and be saved in the local temporary file, and after communication between network element and operation maintenance center recovers, the adjustment configuration order in the temporary file will be sent to operation maintenance center;
The adjustment configuration order that operation maintenance center will receive is saved in the local network management configuration variation data file, and sends the response of successfully preserving to network element;
Network element is that adjustment configuration order in the temporary file is saved in the local network management configuration variation data file with local network element configuration delta data file, and deletes local network element configuration delta data file.
Below in conjunction with accompanying drawing data storage and management method of the present invention is elaborated.
The present invention arranges the common command description method of a cover between network element and operation maintenance center, network element can be discerned different database technologys and database design with operation maintenance center, just can use different database technology and database design store configuration data with operation maintenance center thus at network element.
The concrete grammar of configuration data comprises between network element and webmaster:
The user uses operation maintenance center to carry out data configuration;
The user uses LMT Local Maintenance Terminal to carry out data configuration.
Wherein, user's method of using LMT Local Maintenance Terminal to carry out data configuration comprises again:
Communication configuration just often between network element and the operation maintenance center;
Configuration between network element and the operation maintenance center during communication chain rupture.
As shown in Figure 1, user's detailed step of using operation maintenance center to be configured is as follows:
The configuration order that step 11, user incite somebody to action by operation maintenance center is sent to network element.
Step 12, network element are carried out the order that is received in network element this locality after receiving and adjusting configuration order, finish configuration adjustment in network element.
After step 13, network element were finished configuration and adjusted, performed adjustment configuration order was saved in the network management configuration delta data file of network element this locality when adjusting with being configured.
Step 14, after network element preserve to be adjusted configuration order, network element will dispose adjustment and finish confirmation and send to operation maintenance center.
Step 15, when operation maintenance center receive adjust confirmation from the configuration of network element after, operation maintenance center's adjustment configuration order that network element is performed is saved in the network management configuration delta data file of operation maintenance center this locality.
It is identical to be saved to the configuration order that is saved in operation maintenance center's network management configuration delta data file in configuration order and the step 15 in the network management configuration delta data file of network element in the described step 13.
As shown in Figure 2, under the normal situation of communication between network element and the operation maintenance center, it is as follows that the user uses LMT Local Maintenance Terminal to carry out the detailed step of data configuration:
Step 21, user are sent to network element by LMT Local Maintenance Terminal with required adjustment configuration order.
After step 22, network element receive the adjustment configuration order that comes from LMT Local Maintenance Terminal,, in network element, finish configuration adjustment in the order that the local execution of network element is received;
After the network element configuration adjustment was finished, network element sent configuration adjustment to operation maintenance center and finishes confirmation, and network element performed adjustment configuration order content in configuration is adjusted is sent to operation maintenance center.
Step 23, operation maintenance center are receiving after network element configuration adjusts confirmation and adjust configuration order, the configuration order that receives are saved in the network management configuration delta data file of this locality of operation maintenance center.
Step 24, operation maintenance center adjust the successful affirmation information of configuration order preservation to network element transmit operation maintenance centre after preserving and adjusting configuration order.
Step 25, network element are saved to the adjustment configuration order that sends to operation maintenance center in the network management configuration delta data file of network element this locality after receiving the preservation confirmation of operation maintenance center.
It is identical to be saved to the configuration order that is saved in the network element network management configuration delta data file in configuration order and the step 25 in operation maintenance center's network management configuration delta data file in the described step 23.
As shown in Figure 3, under the situation of communication chain rupture between network element and the operation maintenance center, it is as follows that the user uses LMT Local Maintenance Terminal to carry out the detailed step of data configuration:
Step 31, user carry out by LMT Local Maintenance Terminal and adjust configuration order, and the adjustment configuration order that will carry out is sent to network element.
After step 32, network element receive the adjustment configuration order that comes from LMT Local Maintenance Terminal, the network element configuration delta data file (CMDelta) that configuration order is saved to network element this locality will be adjusted.
Step 33, after the link-recovery of network element and operation maintenance center is normal, network element sends message to operation maintenance center, there is network element configuration delta data file in the notifying operation maintenance centre in network element.
Step 34, operation maintenance center are uploaded to operation maintenance center with the adjustment configuration order in the network element configuration delta data file, and will adjust in the network management configuration delta data file that configuration order is saved to operation maintenance center this locality.
Step 35, operation maintenance center send message to network element, and the notice network element successfully is saved to the adjustment configuration order in the network element configuration delta data file in the network management configuration delta data file of operation maintenance center this locality.
Step 36, network element receive the message that comes from operation maintenance center, after determining that configuration order in the network element configuration delta data file has been saved to operation maintenance center, the configuration order in the network element configuration delta data file is saved in the local network management configuration delta data file;
Finish the preservation of adjustment configuration order when network element after, network element deletion network element configuration delta data file.
It is identical to be updated to the adjustment configuration order that is saved in the network element local network management configuration variation data file in the adjustment configuration order that is saved in adjustment configuration order and the step 34 in the network element configuration delta data file of network element in operation maintenance center's network management configuration delta data file and the step 36 in the described step 32.
As shown in Figure 4, a kind of storage management system of realizing data configuration between network element and webmaster of the present invention comprises:
The network element commands processing unit is used for network element and operation maintenance center's link and just often configurations order and adjustment configuration order is stored in local respective file respectively, and sends the adjustment configuration order to operation maintenance center's command processing module; When network element and operation maintenance center's link open circuit, be saved in the temporary file of network element adjusting configuration order.
Operation maintenance center's command processing device is used to receive the configuration order from network element, and is saved to respectively in the corresponding local file.
Described network element commands processing unit comprises:
The normality processing module is used at network element and operation maintenance center's link just often, with the configurations order with adjust configuration order and be kept at respectively in the network element corresponding file;
The chain rupture processing module, be used for after configurations finishes, network element and operation maintenance center's link disconnect, and when the user is configured adjustment by LMT Local Maintenance Terminal to network element, executed adjustment configuration order is kept in the temporary file of network element this locality, treats behind the link-recovery content of temporary file is sent to operation maintenance center;
When the order in the temporary file after operation maintenance center preserves successfully, this order is saved to network element is local to be adjusted in the command file, and the deletion temporary file.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.