CN101800659B - Configuration method and device of rack sub-rack data - Google Patents

Configuration method and device of rack sub-rack data Download PDF

Info

Publication number
CN101800659B
CN101800659B CN200910189133.7A CN200910189133A CN101800659B CN 101800659 B CN101800659 B CN 101800659B CN 200910189133 A CN200910189133 A CN 200910189133A CN 101800659 B CN101800659 B CN 101800659B
Authority
CN
China
Prior art keywords
rack
sub
data
template tree
node
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.)
Expired - Fee Related
Application number
CN200910189133.7A
Other languages
Chinese (zh)
Other versions
CN101800659A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200910189133.7A priority Critical patent/CN101800659B/en
Publication of CN101800659A publication Critical patent/CN101800659A/en
Application granted granted Critical
Publication of CN101800659B publication Critical patent/CN101800659B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a configuration method and a device of rack sub-rack data, the method comprising the following steps: build a template tree, build rack sub-rack template trees of all kinds of network elements and define all level nodes of the rack sub-rack template trees; generate a data structure, analyze the rack sub-rack template trees and generate data structures of rack sub-rack objects of all kinds of network elements; data configure, when the configure of rack sub-rack data is needed to carry out, determine matched rack sub-rack template trees and the rack sub-rack template tree nodes and carry out the configure of the rack sub-rack data according to the rack sub-rack template tree nodes. When a new type network element type or a rack sub-rack object requirement is changed, the rack sub-rack template tree is needed to modify, thereby solving the problem of effectively configuring rack sub-rack data, increasing the efficiency of default data management and data constraint management and having a better application to the environment with various network element types and larger device differentiation.

Description

A kind of collocation method of rack sub-rack data and device
Technical field
The present invention relates generally to the NE management field of field of telecommunications, particularly collocation method and the device of a kind of Element management system mid frame subrack (abbreviation container) data.
Background technology
Webmaster need to be managed for configuration the rack sub-rack of network element (container) data, as rack sub-rack Identity Code (Identity, ID), rack sub-rack type, rack sub-rack label etc., can be classified as default data management and two aspects are managed in data constraint to the management of these data.
Conventionally the configuration flow of rack sub-rack data has following two kinds:
One, the Existence dependency of rack sub-rack object is in the existence of Network element object, and the object that first creates NE, then could create rack sub-rack object, amendment rack sub-rack object; When network element is deleted, relevant rack sub-rack object also can associatedly be deleted.In amendment rack sub-rack object, just need to consider the critical data such as type, version number of rack sub-rack object like this, determine other attribute datas of rack sub-rack object; In creating rack sub-rack object, also need to consider the external constraints such as NE type, network element version number, determine the information such as quantity, type that can create rack sub-rack object.
Two, be a kind of topology objects by rack sub-rack object definition, or be referred to as rack sub-rack network element, then put into idle rack sub-rack list object; While creating NE, from idle rack sub-rack list object, search suitable rack sub-rack object, be increased in network element.Rack sub-rack object can be independent of network element and be present in network management system, while deleting the rack sub-rack object of network element, can just remove the membership of rack sub-rack object and Network element object.In creating rack sub-rack object, need to, according to the critical data such as type, version number of rack sub-rack object, determine other attribute datas of rack sub-rack object like this; In amendment rack sub-rack object, also need to consider the external constraint such as NE type, network element version number (if having NE type, network element version number), determine the information such as quantity, type that can create rack sub-rack object.
Existing two kinds of processing modes all can become scattered about each place that program realizes by default data and data constraint, if NE type is various and equipment otherness is large, in the time there is change or newly-increased NE type in rack sub-rack demand, amendment spread area will be too wide, even there will be new problem.
Summary of the invention
The present invention proposes a kind of collocation method and device of rack sub-rack data, realizes the configuration of rack sub-rack data by structure rack sub-rack template tree.
The collocation method that the invention provides a kind of rack sub-rack data, the method comprises:
Structure template tree: construct the rack sub-rack template tree of all types of network elements, and define the nodes at different levels of described rack sub-rack template tree;
Generated data structure: resolve described rack sub-rack template tree, generate the data structure of the rack sub-rack object of all types of network elements;
Data configuration: in the time need to carrying out the configuration of rack sub-rack data, determine rack sub-rack template tree and the described rack sub-rack template tree node of coupling, and carry out the configuration of rack sub-rack data according to described rack sub-rack template tree node.
Further, before structure rack sub-rack template tree, also comprise the step of classified types network element; When structure rack sub-rack template tree, each type network element builds a rack sub-rack template tree.
Further, classified types network element comprises: according to NE type classified types network element; If for the network element of specific different network elements type, its rack sub-rack object is configured to identical, is rack sub-rack template tree of the common structure of these NE types;
Further, classified types network element comprises: according to NE type and network element version classified types network element; NE type and network element version number all identical network element, its rack sub-rack object is configured to identical, carrys out classified types network element according to NE type and network element version number, by NE type and the network element version number common structure that determines rack sub-rack template tree.
Further, the concrete steps that define the nodes at different levels of described rack sub-rack template tree comprise:
The root node that builds described rack sub-rack template tree, NE type information is the unique identification of described rack sub-rack template tree root node;
Build the frame node of described rack sub-rack template tree;
Build the subrack node of described rack sub-rack template tree, the data definition of described subrack node the data structure of all subracks of described frame.
Further, described frame node is defined as follows data: frame attribute, frame attribute default value, the first data constraint, subrack node data, wherein, described the first data constraint comprises the data correlation between span and the described frame attribute of described frame attribute.
Further, the data of described subrack node comprise: subrack attribute, subrack attribute default value, the second data constraint, and wherein, described the second data constraint comprises the data correlation between span and the described subrack attribute of described subrack attribute; Wherein, rack sub-rack Identity Code ID is the unique identification of described frame node and described subrack node.
Further, determine that the rack sub-rack template tree and the described rack sub-rack template tree node that mate comprise:
The rack sub-rack template tree corresponding according to NE type information matches;
Mate corresponding frame node or the subrack node of described rack sub-rack template tree according to rack sub-rack ID.
Further, the method also comprises: in the time increasing rack sub-rack object or configure chassis subrack object, traversal rack sub-rack template tree, coupling rack sub-rack ID finds corresponding frame node or subrack node, then uses attribute information, default value, the data constraint configure chassis sub-rack data of this node definition.
The present invention also provides a kind of inking device of rack sub-rack data, and this device comprises:
Structural unit, for constructing the rack sub-rack template tree of all types of network elements, and defines the nodes at different levels of described rack sub-rack template tree;
Resolution unit, for resolving described rack sub-rack template tree, generates the data structure of the rack sub-rack object of all types of network elements;
Dispensing unit, in the time need to carrying out the configuration of rack sub-rack data, determines rack sub-rack template tree and the described rack sub-rack template tree node of coupling, and carries out the configuration of rack sub-rack data according to described rack sub-rack template tree node.
The collocation method of rack sub-rack data provided by the invention and device, according to type network element structure rack sub-rack template tree, network management system can have been set the configuration to rack sub-rack object by analytical engine shelf shut die plate, in the time of novel NE type or rack sub-rack object-oriented requirements generation change, only need amendment rack sub-rack template tree, thereby solve the problem of effective configure chassis sub-rack data, the efficiency that improves default data management and data constraint management, environment especially various for NE type, that equipment otherness is larger has good application.
Brief description of the drawings
Fig. 1 illustrates the schematic flow sheet of the collocation method of embodiment of the present invention mid frame sub-rack data;
Fig. 2 illustrates the schematic diagram of embodiment of the present invention mid frame subrack template tree;
Fig. 3 illustrates the structural representation of the inking device of embodiment of the present invention mid frame sub-rack data.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is elaborated.The present invention by every class network element all a corresponding rack sub-rack template by syntactic definition tree realize the configuration of rack sub-rack data.Network element node is the root node of rack sub-rack template tree, and NE type information is the unique identification of rack sub-rack template tree; Frame node and subrack node have defined attribute information, default value, data constraint of rack sub-rack object etc., and rack sub-rack ID is the unique identification of frame node and subrack node.In the time increasing rack sub-rack object or configure chassis subrack object, traversal rack sub-rack template tree, coupling rack sub-rack ID finds corresponding frame node or subrack node, then uses attribute information, default value, the data constraint configure chassis sub-rack data of this node definition.
Refer to Fig. 1, the schematic flow sheet of the collocation method of embodiment of the present invention mid frame sub-rack data be shown, comprise step:
Step S120, construct the rack sub-rack template tree of all types of network elements, and define the nodes at different levels of described rack sub-rack template tree.
Refer to Fig. 2, the schematic diagram of embodiment of the present invention mid frame subrack template tree is shown.
The nodes at different levels of the described rack sub-rack template tree of definition in described step S120 specifically comprise:
Step S121, build the root node of described rack sub-rack template tree.
NE type information is the unique identification of described rack sub-rack template tree root node.
Step S122, build the frame node of described rack sub-rack template tree.
Described frame node is defined as follows data: frame attribute, frame attribute default value, the first data constraint, subrack node data, wherein, described the first data constraint comprises the data correlation between span and the described frame attribute of described frame attribute, described subrack node data definition the data structure of all subracks of described frame.
Preferably, the frame node of analytical engine shelf shut die plate tree, for some frame nodes, if all data definitions except rack sub-rack ID are identical, can adopt and enumerate or interval form is described rack sub-rack ID, merge the definition of frame node, to simplify rack sub-rack template tree.
Step S123, build the subrack node of described rack sub-rack template tree.
Described subrack node has defined following data: subrack attribute, subrack attribute default value, the second data constraint, wherein, described the second data constraint comprises the data correlation between span and the described subrack attribute of described subrack attribute.
Preferably, subrack node under the same machine frame node of analytical engine shelf shut die plate tree, for some subrack nodes, if all data definitions except rack sub-rack ID are identical, can adopt and enumerate or interval form is described rack sub-rack ID, merge the definition of subrack node, to simplify rack sub-rack template tree.
Wherein, rack sub-rack Identity Code ID is the unique identification of described frame node and described subrack node.
In another embodiment of the present invention, before described step S120, can also comprise
Step S110, classified types network element.
If NE type attribute can ensure, for the identical network element of NE type, its rack sub-rack object can be configured to identical, can carry out classified types network element according to NE type, to every kind of NE type, constructs a rack sub-rack template tree; If for the network element of specific different network elements type, its rack sub-rack object also can be configured to identical, can be rack sub-rack template tree of the common structure of these NE types; Only has NE type and network element version number all identical network element, its rack sub-rack object can always be configured to identical, can carry out classified types network element according to NE type and network element version number, by NE type and the network element version number common structure that determines rack sub-rack template tree.
Step S130, resolve described rack sub-rack template tree, generate the data structure of the rack sub-rack object of all types of network elements.
Rack sub-rack template tree and the described rack sub-rack template tree node of step S140, definite coupling, and carry out the configuration of rack sub-rack data according to described rack sub-rack template tree node.
In the time need to carrying out the configuration of rack sub-rack data, determine rack sub-rack template tree and the described rack sub-rack template tree node of coupling, and carry out the configuration of rack sub-rack data according to described rack sub-rack template tree node.
Use rack sub-rack template tree configure chassis sub-rack data.While configuring the rack sub-rack object of network element, traversal rack sub-rack template tree, type information and the rack sub-rack ID of coupling network element, if match corresponding template tree node, use the default data of the data structure building rack sub-rack object of this node, or the amendment of constrained attributes; If the template tree node not matching, shows that this rack sub-rack ID is illegal, prompting user.
Rack sub-rack template tree and the described rack sub-rack template tree node of the definite coupling in described step S140 comprise:
Step S141, according to rack sub-rack template corresponding to NE type information matches tree;
Step S142, mate corresponding frame node or the subrack node of described rack sub-rack template tree according to rack sub-rack ID.
Technical solution of the present invention is according to type network element structure rack sub-rack template tree, network management system can have been set the configuration to rack sub-rack object by analytical engine shelf shut die plate, in the time of novel NE type or rack sub-rack object-oriented requirements generation change, only need amendment rack sub-rack template tree, thereby solve the problem of effective configure chassis sub-rack data, the efficiency that improves default data management and data constraint management, environment especially various for NE type, that equipment otherness is larger has good application.
With reference to Fig. 3, the structural representation of the inking device of embodiment of the present invention mid frame sub-rack data is shown.
Described inking device 300 comprises structural unit 310, resolution unit 320 and dispensing unit 330.
Described structural unit 310, for constructing the rack sub-rack template tree of all types of network elements, and defines the nodes at different levels of described rack sub-rack template tree.
Described resolution unit 320, for resolving described rack sub-rack template tree, generates the data structure of the rack sub-rack object of all types of network elements.
Described dispensing unit 330, in the time need to carrying out the configuration of rack sub-rack data, determines rack sub-rack template tree and the described rack sub-rack template tree node of coupling, and carries out the configuration of rack sub-rack data according to described rack sub-rack template tree node.
In another embodiment of the present invention, described inking device 300 can also comprise:
Division unit 340, for classified types network element.
Described structural unit 310 comprises:
First builds subelement 3101, for building the root node of described rack sub-rack template tree.NE type information is the unique identification of described rack sub-rack template tree root node.
Second builds subelement 3102, for building the frame node of described rack sub-rack template tree.Described frame node is defined as follows data: frame attribute, frame attribute default value, the first data constraint, subrack node data, wherein, described the first data constraint comprises the data correlation between span and the described frame attribute of described frame attribute, described subrack node data definition the data structure of all subracks of described frame.
The 3rd builds subelement 3103, for building the subrack node of described rack sub-rack template tree.Described subrack node has defined following data: subrack attribute, subrack attribute default value, the second data constraint, wherein, described the second data constraint comprises the data correlation between span and the described subrack attribute of described subrack attribute.
Wherein, rack sub-rack Identity Code ID is the unique identification of described frame node and described subrack node.
Described dispensing unit 330 comprises:
The first coupling subelement 3301, for the rack sub-rack template tree corresponding according to NE type information matches.
The second coupling subelement 3302, for mating corresponding frame node or the subrack node of described rack sub-rack template tree according to rack sub-rack ID.
The above is only the specific embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (9)

1. a collocation method for rack sub-rack data, is characterized in that, the method comprises:
Structure template tree: construct the rack sub-rack template tree of all types of network elements, and define the nodes at different levels of described rack sub-rack template tree;
Generated data structure: resolve described rack sub-rack template tree, generate the data structure of the rack sub-rack object of all types of network elements;
Data configuration: in the time need to carrying out the configuration of rack sub-rack data, determine rack sub-rack template tree and the described rack sub-rack template tree node of coupling, and carry out the configuration of rack sub-rack data according to described rack sub-rack template tree node;
Rack sub-rack template tree and the described rack sub-rack template tree node of described definite coupling comprise:
The rack sub-rack template tree corresponding according to NE type information matches;
Mate corresponding frame node or the subrack node of described rack sub-rack template tree according to rack sub-rack ID.
2. the collocation method of rack sub-rack data according to claim 1, is characterized in that, before structure rack sub-rack template tree, also comprises the step of classified types network element; When structure rack sub-rack template tree, each type network element builds a rack sub-rack template tree.
3. the collocation method of rack sub-rack data according to claim 2, is characterized in that, classified types network element comprises: according to NE type classified types network element; If for the network element of specific different network elements type, its rack sub-rack object is configured to identical, is rack sub-rack template tree of the common structure of these NE types;
4. the collocation method of rack sub-rack data according to claim 2, is characterized in that, classified types network element comprises: according to NE type and network element version classified types network element; NE type and network element version number all identical network element, its rack sub-rack object is configured to identical, carrys out classified types network element according to NE type and network element version number, by NE type and the network element version number common structure that determines rack sub-rack template tree.
5. according to the collocation method of the rack sub-rack data described in claim 1 to 4 any one, it is characterized in that, the concrete steps that define the nodes at different levels of described rack sub-rack template tree comprise:
The root node that builds described rack sub-rack template tree, NE type information is the unique identification of described rack sub-rack template tree root node;
Build the frame node of described rack sub-rack template tree;
Build the subrack node of described rack sub-rack template tree, the data definition of described subrack node the data structure of all subracks of described frame.
6. the collocation method of rack sub-rack data according to claim 5, it is characterized in that, described frame node is defined as follows data: frame attribute, frame attribute default value, the first data constraint, subrack node data, wherein, described the first data constraint comprises the data correlation between span and the described frame attribute of described frame attribute.
7. the collocation method of rack sub-rack data according to claim 5, it is characterized in that, the data of described subrack node comprise: subrack attribute, subrack attribute default value, the second data constraint, wherein, described the second data constraint comprises the data correlation between span and the described subrack attribute of described subrack attribute; Wherein, rack sub-rack Identity Code ID is the unique identification of described frame node and described subrack node.
8. the collocation method of rack sub-rack data according to claim 5, it is characterized in that, the method also comprises: in the time increasing rack sub-rack object or configure chassis subrack object, traversal rack sub-rack template tree, coupling rack sub-rack ID finds corresponding frame node or subrack node, then uses attribute information, default value, the data constraint configure chassis sub-rack data of this node definition.
9. an inking device for rack sub-rack data, is characterized in that, this device comprises:
Structural unit, for constructing the rack sub-rack template tree of all types of network elements, and defines the nodes at different levels of described rack sub-rack template tree;
Resolution unit, for resolving described rack sub-rack template tree, generates the data structure of the rack sub-rack object of all types of network elements;
Dispensing unit, in the time need to carrying out the configuration of rack sub-rack data, determines rack sub-rack template tree and the described rack sub-rack template tree node of coupling, and carries out the configuration of rack sub-rack data according to described rack sub-rack template tree node; Wherein, the rack sub-rack template of described definite coupling tree and described rack sub-rack template tree node comprise: the rack sub-rack template tree corresponding according to NE type information matches; Mate corresponding frame node or the subrack node of described rack sub-rack template tree according to rack sub-rack ID.
CN200910189133.7A 2009-12-18 2009-12-18 Configuration method and device of rack sub-rack data Expired - Fee Related CN101800659B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910189133.7A CN101800659B (en) 2009-12-18 2009-12-18 Configuration method and device of rack sub-rack data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910189133.7A CN101800659B (en) 2009-12-18 2009-12-18 Configuration method and device of rack sub-rack data

Publications (2)

Publication Number Publication Date
CN101800659A CN101800659A (en) 2010-08-11
CN101800659B true CN101800659B (en) 2014-06-11

Family

ID=42596162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910189133.7A Expired - Fee Related CN101800659B (en) 2009-12-18 2009-12-18 Configuration method and device of rack sub-rack data

Country Status (1)

Country Link
CN (1) CN101800659B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357023A (en) * 2014-08-22 2016-02-24 中兴通讯股份有限公司 Rack diagram display method and apparatus

Also Published As

Publication number Publication date
CN101800659A (en) 2010-08-11

Similar Documents

Publication Publication Date Title
US20240179103A1 (en) Network slice configuration
CN107431651B (en) Life cycle management method and equipment for network service
US7493377B2 (en) Method and apparatus to manage a configuration of clustered computers according to deployment date structures
CN102037677B (en) Computer readable medium, northbound interface uniform platform and starting method thereof
CN101730099B (en) Terminal management method based on authority control and device
CN102571420B (en) Method and system for network element data management
CN102202087B (en) Method for identifying storage equipment and system thereof
US8782597B2 (en) Ontology updating apparatus, method and system
CN103905464A (en) Network security strategy verification system and method on basis of formalizing method
CN105278991B (en) A kind of building method of cloud application deployment configuration model
WO2016107397A9 (en) System and method for model-based search and retrieval of networked data
CN105049256A (en) Method and system for realizing universal custom interface message
CN101854343A (en) Method for providing node information, and method and device for acquiring node information
CN105490826A (en) Configuration management system and method based on automatic discovery
CN104852813A (en) Method and system for on-demand loading of TR069 parameter node in home gateway equipment
CN102761443A (en) Collocation method and device of command lines
CN105824944A (en) XML (X Extensible Markup Language) configuration data maintenance method and system based on scripting language
CN106095511A (en) A kind of server updating method and apparatus
CN101800659B (en) Configuration method and device of rack sub-rack data
CN103036715B (en) Device management method, device and corresponding network management system
CN108089968A (en) A kind of method of host's machine monitoring virtual-machine data storehouse state
CN104104546A (en) SNMP network management system based on scripts
CN105740054A (en) Virtual machine management method and device
Rao et al. Multi-resolution network simulations using dynamic component substitution
CN109510728B (en) Method for automatically converting MIB file of network management information base into XML file

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140611

Termination date: 20171218