CN102611576A - Method and device for generating network management configuration model file - Google Patents
Method and device for generating network management configuration model file Download PDFInfo
- Publication number
- CN102611576A CN102611576A CN2012100509239A CN201210050923A CN102611576A CN 102611576 A CN102611576 A CN 102611576A CN 2012100509239 A CN2012100509239 A CN 2012100509239A CN 201210050923 A CN201210050923 A CN 201210050923A CN 102611576 A CN102611576 A CN 102611576A
- Authority
- CN
- China
- Prior art keywords
- management information
- information document
- mib object
- network element
- configuration file
- 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
Links
Images
Landscapes
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method for generating a network management configuration model file, which is used for increasing the efficiency and the reliability of generating the network management configuration model file. The method comprises the steps of: obtaining an MIB (Management Information Base) object management information document; aiming at a network element needing being managed, reading required data from the obtained MIB object management information document according to a format configuration file corresponding to the network element; and by combining the format configuration file corresponding to the network element with the required data read from the MIB object management information document, generating the network management configuration model file of the network element. The invention also discloses a device for realizing the method.
Description
Technical field
The present invention relates to the communications field, particularly relate to the method and the device that generate the network management configuration model file.
Background technology
Adopt common text document form for the description of NE management object in early days; Each management object defines the interface with webmaster from aspects such as title, value, change forms; The technical staff manually generates the allocation models file that drives the webmaster software work according to this interface specification; And this allocation models file is stored among the OMC (Operation & Maintenance Center, operation maintenance center).
In view of OMC appears the NE management Object Operations and the needs of management object hierarchical relationship, the plane of text document form is described and can't be satisfied, the substitute is form the Object Management group information bank (Management Information Base, MIB).This management object with the tree structure tissue is described and is embodied the hierarchical relationship between management object better, and the requirement and the OMC allocation models file format that management object webmaster side is appeared of replenishing among the MIB are also agreed with more.
But the mib object management information document of form also needs the technical staff manually to generate the allocation models file that drives the webmaster software work according to this interface specification, and this allocation models file is stored among the OMC.If management object has any variation, all need the artificial allocation models file that drives the webmaster software work that regenerates, efficient is lower, and reliability can't guarantee.
Summary of the invention
The embodiment of the invention provides a kind of method and device that generates the network management configuration model file, is used to improve efficient and the reliability that generates the network management configuration model file.
A kind of method that generates the network management configuration model file may further comprise the steps:
Obtain mib object management information document;
To the network element of need management, the format configuration file corresponding according to this network element reads required data from the mib object management information document that obtains;
In conjunction with format configuration file and the required data that from the mib object management information document that obtains, read, generate the network management configuration model file.
A kind of device that is used to generate the network management configuration model file comprises:
Interface module is used to obtain mib object management information document;
Read module is used for to the network element that needs management, and the format configuration file corresponding according to this network element reads required data from the mib object management information document that obtains;
Generation module, the required data that are used for combining format configuration file and read from the mib object management information document that obtains generate the network management configuration model file.
Design corresponding format configuration file respectively to each network element in advance in the embodiment of the invention,, from mib object management information document, read required data, and then generate the network management configuration model file according to this format configuration file.If the data in the mib object management information document change, format configuration file does not need to revise so, just can generate new network management configuration model file according to format configuration file again.If newly-increased network element is arranged, then only need the corresponding format configuration file of configuration, and then generate the network management configuration model file, existing format configuration file is not needed to revise, stand good.It is thus clear that, reduce artificial the participation in the process of whole generation network management configuration model file, improved the efficient and the reliability that generate the network management configuration model file.
Description of drawings
Fig. 1 is the main method flow chart that generates the network management configuration model file in the embodiment of the invention;
Fig. 2 is the detailed method flow chart that generates the network management configuration model file in the embodiment of the invention;
The primary structure figure of Fig. 3 for installing in the embodiment of the invention;
The detailed structure view of Fig. 4 for installing in the embodiment of the invention.
Embodiment
Design corresponding format configuration file respectively to each network element in advance in the embodiment of the invention,, from mib object management information document, read required data, and then generate the network management configuration model file according to this format configuration file.If the data in the mib object management information document change, format configuration file does not need to revise so, just can generate new network management configuration model file according to format configuration file again.If newly-increased network element is arranged, then only need the corresponding format configuration file of configuration, and then generate the network management configuration model file, existing format configuration file is not needed to revise, stand good.It is thus clear that, reduce artificial the participation in the process of whole generation network management configuration model file, improved the efficient and the reliability that generate the network management configuration model file.
Referring to Fig. 1, the main method flow process that generates the network management configuration model file in the present embodiment is following:
Step 101: obtain mib object management information document.
Step 102: to the network element that needs management, the format configuration file corresponding according to this network element reads required data from the mib object management information document that obtains.
Step 103: combine the format configuration file of this network element correspondence and the required data that from the mib object management information document that obtains, read, generate the network management configuration model file of this network element.
In order to improve the reliability of data; In the format configuration file corresponding according to this network element; From the mib object management information document that obtains, read before the required data, can also carry out verification to the data in the mib object management information document that obtains through operation correctness verification configuration file.Concrete implementation procedure is referring to following embodiment.
Referring to Fig. 2, the detailed method flow process that generates the network management configuration model file in the present embodiment is following:
Step 201: obtain mib object management information document.
Step 202: through operation correctness verification configuration file the data in the mib object management information document that obtains are carried out verification,, otherwise continue step 205 if verification succeeds then continues step 203.
Step 203: to the network element that needs management, the format configuration file corresponding according to this network element reads required data from the mib object management information document that obtains.
Step 204: the required data that combine format configuration file and from the mib object management information document that obtains, read generate the network management configuration model file.
Step 205: revise the data in the mib object management information document.
To different fields different verification modes can be arranged; Also multiple verification mode can be arranged to same field: for example; The verification strategy comprises root management object and sub-management object for requiring management object, to the management object verification time, judges whether to comprise two levels so, if; Then verification is passed through, otherwise failure.Perhaps, the verification strategy is to require the sign of management object unique within the specific limits, to the management object verification time, judges whether to exist identical a plurality of management object signs so, if, then verification failure, otherwise verification is passed through.Perhaps, the verification strategy is for being provided with the span of certain attribute in advance, and when this attribute was carried out verification, whether the value of judging the data that this attribute is corresponding was in this span, if then verification is passed through, otherwise failure.Any correctness verification to management object and attribute all is applicable to present embodiment, here can not be exhaustive.And multiple verification mode can be used in combination.
Preferable, mib object management information document is a form in the present embodiment.Special, the data of mib object management information document comprise: the attribute data that the management object of a plurality of levels is corresponding.The structure of mib object management information document is referring to shown in the table 1:
Table 1
Wherein, the nodeName row are described management object sign, level and attribute.The sign of attribute representation attribute.Each property row is described each characteristic (as: title, span, webmaster side appearance form etc.) of attribute.
The instance of correctness verification configuration file is following:
[Check name]=nodeName // verification object is a nodename
The verification strategy of [nodeName]=nodeName checking rules // nodename
[Check name]=propertyRelation // verification object is a relation on attributes
The verification strategy of [propertyRelation]=propertyRelation checking rules // attribute type relation
[Check name]=property1 // verification object is an attribute type 1
The verification strategy of [property1]=property1 checking rules // attribute type 1
[Check?name]=property3
[property3]=property3?checking?rules
Can carry out verification to any row or several row in the table 1, check item and verification strategy can increase or delete flexibly.
Format configuration file comprises management object sign and the corresponding attribute-bit of management object that respective network elements is corresponding.The instance of a format configuration file is following:
The instance of the network management configuration model file that generates is following:
The content of the required configuration management of network management configuration model file that generates is the management object and the attribute of format configuration file definition, and corresponding sign and data are from mib object management information document.
Said process can be realized by device, introduces in the face of the internal structure and the function of this device down.
Referring to Fig. 3, the device that is used to generate the network management configuration model file in the present embodiment comprises:
Read module 302 is used for to the network element that needs management, and the format configuration file corresponding according to this network element reads required data from the mib object management information document that obtains.
The required data that generation module 303 is used for combining format configuration file and reads from the mib object management information document that obtains generate the network management configuration model file.
If said device is positioned at the outside of OMC, then generation module 303 can also send to OMC with the network management configuration model file that generates.
Said device also comprises: verification module 304, and referring to shown in Figure 4.Verification module 304 is used for through operation correctness verification configuration file the data of the mib object management information document of acquisition being carried out verification.Read module 302 is when verification succeeds, and the format configuration file corresponding according to this network element reads required data from the mib object management information document that obtains.
Mib object management information document is a form in the present embodiment.Special, the data of mib object management information document comprise: the attribute data that the management object of a plurality of levels is corresponding.And format configuration file comprises management object sign and the corresponding attribute-bit of management object that respective network elements is corresponding.
Design corresponding format configuration file respectively to each network element in advance in the embodiment of the invention,, from mib object management information document, read required data, and then generate the network management configuration model file according to this format configuration file.If the data in the mib object management information document change, format configuration file does not need to revise so, just can generate new network management configuration model file according to format configuration file again.If newly-increased network element is arranged, then only need the corresponding format configuration file of configuration, and then generate the network management configuration model file, existing format configuration file is not needed to revise, stand good.It is thus clear that, reduce artificial the participation in the process of whole generation network management configuration model file, improved the efficient and the reliability that generate the network management configuration model file.Accuracy and the reliability of the embodiment of the invention in order to improve data before reading of data, also carried out verification to the data in the mib object management information document.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of the embodiment of complete hardware embodiment, complete software implementation example or combination software and hardware aspect.And the present invention can be employed in the form that one or more computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) that wherein include computer usable program code go up the computer program of implementing.
The present invention is that reference is described according to the flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out through the processor of computer or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in ability vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work; Make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device; Make on computer or other programmable devices and to carry out the sequence of operations step producing computer implemented processing, thereby the instruction of on computer or other programmable devices, carrying out is provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.
Claims (12)
1. a method that generates the network management configuration model file is characterized in that, may further comprise the steps:
Obtain management information bank mib object management information document;
To the network element of need management, the format configuration file corresponding according to this network element reads required data from the mib object management information document that obtains;
In conjunction with the format configuration file of this network element correspondence and the required data that from the mib object management information document that obtains, read, generate the network management configuration model file of this network element.
2. the method for claim 1; It is characterized in that; The format configuration file corresponding according to this network element; From the mib object management information document that obtains, read before the required data, also comprise step: the data in the mib object management information document that obtains are carried out verification through operation correctness verification configuration file;
The format configuration file corresponding according to this network element; From the mib object management information document that obtains, read required data; Specifically comprise: when verification succeeds, the format configuration file corresponding according to this network element reads required data from the mib object management information document that obtains.
3. method as claimed in claim 2 is characterized in that, also comprises step: when verification is failed, revise the data in the mib object management information document.
4. the method for claim 1 is characterized in that, mib object management information document is a form.
5. like each described method in the claim 1 to 4, it is characterized in that the data of mib object management information document comprise: the attribute data that the management object of a plurality of levels is corresponding.
6. method as claimed in claim 5 is characterized in that, format configuration file comprises management object sign and the corresponding attribute-bit of management object that respective network elements is corresponding.
7. a device that is used to generate the network management configuration model file is characterized in that, comprising:
Interface module is used to obtain mib object management information document;
Read module is used for to the network element that needs management, and the format configuration file corresponding according to this network element reads required data from the mib object management information document that obtains;
Generation module is used for combining the format configuration file of this network element correspondence and the required data that read from the mib object management information document that obtains, and generates the network management configuration model file of this network element.
8. device as claimed in claim 7 is characterized in that, also comprises: the verification module is used for through operation correctness verification configuration file the data of the mib object management information document of acquisition being carried out verification;
Read module is when verification succeeds, and the format configuration file corresponding according to this network element reads required data from the mib object management information document that obtains.
9. device as claimed in claim 8 is characterized in that, the verification module also is used for when verification is failed, and output needs to revise the information of the data in the mib object management information document.
10. device as claimed in claim 7 is characterized in that, mib object management information document is a form.
11., it is characterized in that the data of mib object management information document comprise like each described device in the claim 7 to 10: the attribute data that the management object of a plurality of levels is corresponding.
12. device as claimed in claim 11 is characterized in that, format configuration file comprises management object sign and the corresponding attribute-bit of management object that respective network elements is corresponding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210050923.9A CN102611576B (en) | 2012-02-29 | 2012-02-29 | Method and device for generating network management configuration model file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210050923.9A CN102611576B (en) | 2012-02-29 | 2012-02-29 | Method and device for generating network management configuration model file |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102611576A true CN102611576A (en) | 2012-07-25 |
CN102611576B CN102611576B (en) | 2015-02-04 |
Family
ID=46528748
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210050923.9A Active CN102611576B (en) | 2012-02-29 | 2012-02-29 | Method and device for generating network management configuration model file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102611576B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105516063A (en) * | 2014-09-26 | 2016-04-20 | 成都鼎桥通信技术有限公司 | Method for maintaining data consistency in heterogeneous network and user data center |
CN105808748A (en) * | 2016-03-14 | 2016-07-27 | 广州市诚毅科技软件开发有限公司 | MIB (Management Information Base) version contrast method and device |
CN106686623A (en) * | 2015-11-10 | 2017-05-17 | 张泽鑫 | LTE automatic station opening method based on ICM port |
CN106843818A (en) * | 2015-12-03 | 2017-06-13 | 阿里巴巴集团控股有限公司 | A kind of business model generation method and device |
CN110034943A (en) * | 2018-01-12 | 2019-07-19 | 大唐移动通信设备有限公司 | A kind of method and apparatus for deleting management information bank MIB |
CN110113196A (en) * | 2019-04-26 | 2019-08-09 | 中车青岛四方机车车辆股份有限公司 | A kind of protocol configuration method, device, equipment and medium |
WO2021218503A1 (en) * | 2020-04-28 | 2021-11-04 | 中兴通讯股份有限公司 | Method and apparatus for updating site configuration data, and electronic device |
CN113872785A (en) * | 2020-06-30 | 2021-12-31 | 大唐移动通信设备有限公司 | Model obtaining method and device and operation maintenance terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1999061992A1 (en) * | 1998-05-29 | 1999-12-02 | The Boeing Company | Self configuring network peripheral |
CN1753402A (en) * | 2004-09-22 | 2006-03-29 | 中兴通讯股份有限公司 | Method of using simple network management protocol to act multirariant block inquiry |
CN1756190A (en) * | 2004-09-30 | 2006-04-05 | 北京航空航天大学 | Distributed performance data acquisition method |
CN1921492A (en) * | 2006-09-27 | 2007-02-28 | 华为技术有限公司 | Method and device for configuration management |
CN101989928A (en) * | 2010-11-05 | 2011-03-23 | 中兴通讯股份有限公司 | Network equipment information acquisition method and system, management system and network equipment |
-
2012
- 2012-02-29 CN CN201210050923.9A patent/CN102611576B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1999061992A1 (en) * | 1998-05-29 | 1999-12-02 | The Boeing Company | Self configuring network peripheral |
CN1753402A (en) * | 2004-09-22 | 2006-03-29 | 中兴通讯股份有限公司 | Method of using simple network management protocol to act multirariant block inquiry |
CN1756190A (en) * | 2004-09-30 | 2006-04-05 | 北京航空航天大学 | Distributed performance data acquisition method |
CN1921492A (en) * | 2006-09-27 | 2007-02-28 | 华为技术有限公司 | Method and device for configuration management |
CN101989928A (en) * | 2010-11-05 | 2011-03-23 | 中兴通讯股份有限公司 | Network equipment information acquisition method and system, management system and network equipment |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105516063A (en) * | 2014-09-26 | 2016-04-20 | 成都鼎桥通信技术有限公司 | Method for maintaining data consistency in heterogeneous network and user data center |
CN105516063B (en) * | 2014-09-26 | 2019-02-12 | 成都鼎桥通信技术有限公司 | The method and subscriber data center of data consistency are kept in a kind of heterogeneous network |
CN106686623A (en) * | 2015-11-10 | 2017-05-17 | 张泽鑫 | LTE automatic station opening method based on ICM port |
CN106843818A (en) * | 2015-12-03 | 2017-06-13 | 阿里巴巴集团控股有限公司 | A kind of business model generation method and device |
CN105808748A (en) * | 2016-03-14 | 2016-07-27 | 广州市诚毅科技软件开发有限公司 | MIB (Management Information Base) version contrast method and device |
CN110034943A (en) * | 2018-01-12 | 2019-07-19 | 大唐移动通信设备有限公司 | A kind of method and apparatus for deleting management information bank MIB |
CN110034943B (en) * | 2018-01-12 | 2020-12-04 | 大唐移动通信设备有限公司 | Method and device for deleting Management Information Base (MIB) |
CN110113196A (en) * | 2019-04-26 | 2019-08-09 | 中车青岛四方机车车辆股份有限公司 | A kind of protocol configuration method, device, equipment and medium |
CN110113196B (en) * | 2019-04-26 | 2022-04-15 | 中车青岛四方机车车辆股份有限公司 | Protocol configuration method, device, equipment and medium |
WO2021218503A1 (en) * | 2020-04-28 | 2021-11-04 | 中兴通讯股份有限公司 | Method and apparatus for updating site configuration data, and electronic device |
CN113872785A (en) * | 2020-06-30 | 2021-12-31 | 大唐移动通信设备有限公司 | Model obtaining method and device and operation maintenance terminal |
Also Published As
Publication number | Publication date |
---|---|
CN102611576B (en) | 2015-02-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102611576A (en) | Method and device for generating network management configuration model file | |
CN110032369A (en) | A kind of code automatic generation method, device and medium | |
CN107145537B (en) | Table data importing method and system | |
CN101504672A (en) | Method and system for dynamically configuring physical data table | |
US8782597B2 (en) | Ontology updating apparatus, method and system | |
CN103268226A (en) | Test script file generation method and device | |
CN108427697A (en) | Assembled architecture data export method based on BIM and device | |
CN113721892A (en) | Domain modeling method, domain modeling device, computer equipment and storage medium | |
CN105573774B (en) | Application Parameters management and configuration method | |
CN107480380A (en) | A kind of engineering drawing generation method based on template | |
CN103744647A (en) | Java workflow development system and method based on workflow GPD | |
CN105653716A (en) | Database construction method and system based on classification-attribute-value | |
CN109799948A (en) | A kind of date storage method and device | |
CN103257987A (en) | Rule-based distributed log service implementation method | |
CN106469152A (en) | A kind of document handling method based on ETL and system | |
CN105446952B (en) | For handling the method and system of semantic segment | |
CN110109658A (en) | A kind of ROS code generator and code generating method based on formalized model | |
CN109976803A (en) | A kind of generation method and device of file | |
KR20150119554A (en) | Apparatus and method for application log data processing | |
CN102932416B (en) | A kind of intermediate data storage method of information flow task, processing method and device | |
CN101645062B (en) | Report form generation method and system | |
CN103365923A (en) | Method and device for assessing partition schemes of database | |
CN103473106B (en) | Method and system for generating page | |
CN103995699A (en) | Electric power enterprise information system development method based on MDA | |
CN110941422A (en) | Code automatic generation method, code generator and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |