CN102611576B - Method and device for generating network management configuration model file - Google Patents

Method and device for generating network management configuration model file Download PDF

Info

Publication number
CN102611576B
CN102611576B CN201210050923.9A CN201210050923A CN102611576B CN 102611576 B CN102611576 B CN 102611576B CN 201210050923 A CN201210050923 A CN 201210050923A CN 102611576 B CN102611576 B CN 102611576B
Authority
CN
China
Prior art keywords
management information
information document
management
data
network element
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
CN201210050923.9A
Other languages
Chinese (zh)
Other versions
CN102611576A (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201210050923.9A priority Critical patent/CN102611576B/en
Publication of CN102611576A publication Critical patent/CN102611576A/en
Application granted granted Critical
Publication of CN102611576B publication Critical patent/CN102611576B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (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

A kind of method and device generating network management configuration model file
Technical field
The present invention relates to the communications field, particularly relate to the method and device that generate network management configuration model file.
Background technology
Description in early days for NE management object adopts common text document form, each management object defines the interface with webmaster from aspects such as title, value, change forms, technical staff manually generates the allocation models file driving webmastering software work according to this interface specification, and this allocation models file is stored in OMC (Operation & Maintenance Center, operation maintenance center).
In view of OMC to present NE management Object Operations and the needs of management object hierarchical relationship, the plane of text document form describes and cannot meet, the substitute is the Object Management group information bank (Management Information Base, MIB) of form.Thisly describe the hierarchical relationship embodied better between management object with the management object of tree structure tissue, the requirement presented management object webmaster side supplemented in MIB and OMC allocation models file format are also agreed with more.
But the mib object management information document of form also needs technical staff manually to generate the allocation models file driving webmastering software work according to this interface specification, and is stored in OMC by this allocation models file.If management object has any change, all need manually to regenerate the allocation models file driving webmastering software work, efficiency is lower, and reliability cannot ensure.
Summary of the invention
The embodiment of the present invention provides a kind of method and the device that generate network management configuration model file, for improving the efficiency and reliability that generate network management configuration model file.
Generate a method for network management configuration model file, comprise the following steps:
Obtain mib object management information document;
For the network element that need manage, the format configuration file corresponding according to this network element, reads required data from the mib object management information document obtained;
Association scheme configuration file and the data needed for reading from the mib object management information document obtained, generate network management configuration model file.
For generating a device for network management configuration model file, comprising:
Interface module, for obtaining mib object management information document;
Read module, for for the network element that need manage, the format configuration file corresponding according to this network element, reads required data from the mib object management information document obtained;
Generation module, the data needed for reading for association scheme configuration file with from the mib object management information document obtained, generate network management configuration model file.
Design corresponding format configuration file respectively for each network element in advance in the embodiment of the present invention, according to this format configuration file, from mib object management information document, read required data, and then generate network management configuration model file.If the data in mib object management information document change, so format configuration file does not need amendment, again just can generate new network management configuration model file according to format configuration file.If there is newly-increased network element, then only need configure corresponding format configuration file, and then generate network management configuration model file, amendment not needed to existing format configuration file, stands good.Visible, reduce artificial participation in the process of whole generation network management configuration model file, improve the efficiency and reliability that generate network management configuration model file.
Accompanying drawing explanation
Fig. 1 is the main method flow chart generating network management configuration model file in the embodiment of the present invention;
Fig. 2 is the method detailed flow chart generating network management configuration model file in the embodiment of the present invention;
Fig. 3 is the primary structure figure of device in the embodiment of the present invention;
Fig. 4 is the detailed structure view of device in the embodiment of the present invention.
Embodiment
Design corresponding format configuration file respectively for each network element in advance in the embodiment of the present invention, according to this format configuration file, from mib object management information document, read required data, and then generate network management configuration model file.If the data in mib object management information document change, so format configuration file does not need amendment, again just can generate new network management configuration model file according to format configuration file.If there is newly-increased network element, then only need configure corresponding format configuration file, and then generate network management configuration model file, amendment not needed to existing format configuration file, stands good.Visible, reduce artificial participation in the process of whole generation network management configuration model file, improve the efficiency and reliability that generate network management configuration model file.
See Fig. 1, the main method flow process generating network management configuration model file in the present embodiment is as follows:
Step 101: obtain mib object management information document.
Step 102: for the network element that need manage, the format configuration file corresponding according to this network element, reads required data from the mib object management information document obtained.
Step 103: the format configuration file corresponding in conjunction with this network element and the data needed for reading from the mib object management information document obtained, 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, read required data from the mib object management information document obtained before, can also verify the data in the mib object management information document obtained by running correctness verification configuration file.Specific implementation process is see the following examples.
See Fig. 2, the method detailed flow process generating network management configuration model file in the present embodiment is as follows:
Step 201: obtain mib object management information document.
Step 202: by running correctness verification configuration file, the data in the mib object management information document obtained being verified, if verification succeeds, then continuing step 203, otherwise continuing step 205.
Step 203: for the network element that need manage, the format configuration file corresponding according to this network element, reads required data from the mib object management information document obtained.
Step 204: association scheme configuration file and the data needed for reading from the mib object management information document obtained, generate network management configuration model file.
Step 205: the data in amendment mib object management information document.
Different verification modes can be had for different fields, also multiple verification mode can be had: such as same field, verification strategy is for requiring that management object comprises root management object and sub-management object, so judge whether when verifying management object to comprise two levels, if, then verification is passed through, otherwise failure.Or verification strategy, for requiring that the mark of management object is unique within the specific limits, so judging whether to there are identical multiple management object marks, if so, then verify failure, otherwise verification being passed through when verifying management object.Or verification strategy is for being provided with the span of certain attribute in advance, and when verifying this attribute, judge that the value of the data that this attribute is corresponding is whether in this span, if so, then verification is passed through, otherwise failure.Any correctness verification to management object and attribute is all applicable to the present embodiment, herein can not be exhaustive.And multiple verification mode can be combined.
Preferably, in the present embodiment, mib object management information document is form.Especially, the data of mib object management information document comprise: the attribute data that the management object of multiple level is corresponding.The structure ginseng of mib object management information document is shown in Table 1:
Table 1
Wherein, nodeName row describe management object mark, level and attribute.Attribute represents the mark of attribute.Each property row describe each characteristic (as: title, span, webmaster side appearance form etc.) of attribute.
The example of correctness verification configuration file is as follows:
[Check name]=nodeName // verification object is nodename
The verification strategy of [nodeName]=nodeName checking rules // nodename
[Check name]=propertyRelation // verification object is relation on attributes
The verification strategy of [propertyRelation]=propertyRelation checking rules // attribute type relation
[Check name]=property1 // verification object is attribute type 1
The verification strategy of [property1]=property1 checking rules // attribute type 1
[Check name]=property3
[property3]=property3 checking rules
Can verify for any row in table 1 or several row, check item and verification strategy can increase flexibly or delete.
Format configuration file comprises the attribute-bit that management object corresponding to respective network elements identifies and management object is corresponding.The example of a format configuration file is as follows:
The example of the network management configuration model file generated is as follows:
The content of configuration management needed for the network management configuration model file generated is management object and the attribute of format configuration file definition, and corresponding mark and data are from mib object management information document.
Said process can be realized by device, is introduced below to the internal structure of this device and function.
See Fig. 3, the device for generating network management configuration model file in the present embodiment comprises:
Interface module 301 is for obtaining mib object management information document.If mib object management information document is stored in the miscellaneous equipment of described device outside, then interface module 301 obtains mib object management information document from miscellaneous equipment.If described device also comprises memory module, with store M IB Object Management group information document, then interface module 301 obtains mib object management information document from this memory module.
Read module 302 is for for the network element that need manage, and the format configuration file corresponding according to this network element, reads required data from the mib object management information document obtained.
Data needed for generation module 303 reads for association scheme configuration file with from the mib object management information document obtained, generate network management configuration model file.
If described device is positioned at the outside of OMC, then the network management configuration model file of generation can also be sent to OMC by generation module 303.
Described device also comprises: correction verification module 304, shown in Figure 4.Correction verification module 304 is for verifying the data in the mib object management information document obtained by running correctness verification configuration file.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 obtained.
Correction verification module 304, also for when verifying unsuccessfully, exports the information needing the data revised in mib object management information document.
In the present embodiment, mib object management information document is form.Especially, the data of mib object management information document comprise: the attribute data that the management object of multiple level is corresponding.And format configuration file comprises the attribute-bit that management object corresponding to respective network elements identifies and management object is corresponding.
Design corresponding format configuration file respectively for each network element in advance in the embodiment of the present invention, according to this format configuration file, from mib object management information document, read required data, and then generate network management configuration model file.If the data in mib object management information document change, so format configuration file does not need amendment, again just can generate new network management configuration model file according to format configuration file.If there is newly-increased network element, then only need configure corresponding format configuration file, and then generate network management configuration model file, amendment not needed to existing format configuration file, stands good.Visible, reduce artificial participation in the process of whole generation network management configuration model file, improve the efficiency and reliability that generate network management configuration model file.The embodiment of the present invention, in order to improve accuracy and the reliability of data, before reading data, also verifies the data in mib object management information document.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. generate a method for network management configuration model file, it is characterized in that, comprise the following steps:
Obtain management information bank mib object management information document;
By running correctness verification configuration file, the data in the mib object management information document obtained are verified;
For the network element that need manage, when verification succeeds, the format configuration file corresponding according to this network element, reads required data from the mib object management information document obtained;
The format configuration file corresponding in conjunction with this network element and the data needed for reading from the mib object management information document obtained, generate the network management configuration model file of this network element.
2. the method for claim 1, is characterized in that, also comprises step: when verifying unsuccessfully, the data in amendment mib object management information document.
3. the method for claim 1, is characterized in that, mib object management information document is form.
4. method as claimed any one in claims 1 to 3, it is characterized in that, the data of mib object management information document comprise: the attribute data that management object is corresponding, and wherein, described management object is the management object of multiple level.
5. method as claimed in claim 4, is characterized in that, format configuration file comprises the attribute-bit that management object corresponding to respective network elements identifies and management object is corresponding.
6. for generating a device for network management configuration model file, it is characterized in that, comprising:
Interface module, for obtaining mib object management information document;
Correction verification module, for verifying the data in the mib object management information document obtained by running correctness verification configuration file;
Read module, for for the network element that need manage, when verification succeeds, the format configuration file corresponding according to this network element, reads required data from the mib object management information document obtained;
Generation module, in conjunction with format configuration file corresponding to this network element and the data needed for reading from the mib object management information document obtained, generates the network management configuration model file of this network element.
7. device as claimed in claim 6, is characterized in that,
Correction verification module, also for when verifying unsuccessfully, exports the information needing the data revised in mib object management information document.
8. device as claimed in claim 6, it is characterized in that, mib object management information document is form.
9. the device according to any one of claim 6 to 8, is characterized in that, the data of mib object management information document comprise: the attribute data that management object is corresponding, and wherein, described management object is the management object of multiple level.
10. device as claimed in claim 9, is characterized in that, format configuration file comprises the attribute-bit that management object corresponding to respective network elements identifies and management object is corresponding.
CN201210050923.9A 2012-02-29 2012-02-29 Method and device for generating network management configuration model file Active CN102611576B (en)

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 CN102611576A (en) 2012-07-25
CN102611576B true 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)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN106843818B (en) * 2015-12-03 2021-01-15 创新先进技术有限公司 Business model generation method and device
CN105808748B (en) * 2016-03-14 2017-11-07 广州市诚毅科技软件开发有限公司 A kind of MIB versions control methods and device
CN110034943B (en) * 2018-01-12 2020-12-04 大唐移动通信设备有限公司 Method and device for deleting Management Information Base (MIB)
CN110113196B (en) * 2019-04-26 2022-04-15 中车青岛四方机车车辆股份有限公司 Protocol configuration method, device, equipment and medium
CN113573328A (en) * 2020-04-28 2021-10-29 中兴通讯股份有限公司 Method and device for updating site configuration data and electronic equipment
CN113872785B (en) * 2020-06-30 2022-11-22 大唐移动通信设备有限公司 Model obtaining method and device and operation maintenance terminal

Citations (5)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN102611576A (en) 2012-07-25

Similar Documents

Publication Publication Date Title
CN102611576B (en) Method and device for generating network management configuration model file
CN107145537B (en) Table data importing method and system
CN106940428B (en) Chip verification method, device and system
CN110032369A (en) A kind of code automatic generation method, device and medium
CN101888655B (en) Method and device for configuring network element data in template way in network management system
CN112270550B (en) New energy power tracing method and system based on blockchain
CN109240688A (en) Interface development method, electronic device and readable storage medium storing program for executing
CN101504672A (en) Method and system for dynamically configuring physical data table
CN108427697A (en) Assembled architecture data export method based on BIM and device
CN107480380B (en) A kind of engineering drawing generation method based on template
CN105573774B (en) Application Parameters management and configuration method
CN108134690B (en) Network service deployment process control method, device and system
CN106408170A (en) Electronic worksheet processing method, workflow engine and electronic worksheet system
CN110474794A (en) A kind of information conversion method and system of SDN framework
CN106227666A (en) A kind of automated testing method based on big data and system
CN109634870A (en) A kind of script management method of industrial control system agreement fuzz testing
CN102984737B (en) A kind of improve parameter unification collocation method of wireless network and device
CN109799948A (en) A kind of date storage method and device
CN105446952B (en) For handling the method and system of semantic segment
CN103049516B (en) A kind of data processing method and device
CN106155769A (en) A kind of workflow processing method, device and workflow engine
CN110209584A (en) A kind of automatic generation of test data and relevant apparatus
CN109976803A (en) A kind of generation method and device of file
CN107357588B (en) Object code generation method and device
CN109447384A (en) Verification method, device, equipment and the storage medium of air control system

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