CN109101590A - Configuration item CI topological relation method for visualizing based on CMDB - Google Patents

Configuration item CI topological relation method for visualizing based on CMDB Download PDF

Info

Publication number
CN109101590A
CN109101590A CN201810839862.1A CN201810839862A CN109101590A CN 109101590 A CN109101590 A CN 109101590A CN 201810839862 A CN201810839862 A CN 201810839862A CN 109101590 A CN109101590 A CN 109101590A
Authority
CN
China
Prior art keywords
configuration item
cmdb
attribute data
configuration
traversal
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.)
Pending
Application number
CN201810839862.1A
Other languages
Chinese (zh)
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.)
GUIZHOU GUANGSI INFORMATION NETWORK CO Ltd
Original Assignee
GUIZHOU GUANGSI INFORMATION NETWORK 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 GUIZHOU GUANGSI INFORMATION NETWORK CO Ltd filed Critical GUIZHOU GUANGSI INFORMATION NETWORK CO Ltd
Priority to CN201810839862.1A priority Critical patent/CN109101590A/en
Publication of CN109101590A publication Critical patent/CN109101590A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a kind of configuration item CI topological relation method for visualizing based on CMDB.The present invention is based on the configuration item of CMDB (CI) topological relation method for visualizing, on the basis of making full use of traditional CMDB system data, in such a way that the form of computer programming realizes two kinds of traversals of configuration item (CI) topological relation, that is complete traversal and change traversal, automatically generating and visualize and showing function for topological relation is realized based on the obtained data of traversal, solve the problems, such as previous manual maintenance take time and effort, accuracy it is poor, reduce cost of labor, CMDB ease for use is improved, the advanced application service needs of CMDB are met.

Description

Configuration item CI topological relation method for visualizing based on CMDB
Technical field
The present invention relates to technical field of data processing, especially a kind of configuration item CI topological relation visualization based on CMDB Method.
Background technique
The abbreviation of CMDB (Configuration Management Database) configuration management database, by identifying, Control, maintenance, check the IT resource of enterprise, the various configuration informations of equipment in storage and management enterprise IT architecture, with all clothes Business is supported and service delivery process is all closely linked, and is these processes, such as incident management, issue management, change management, hair The processes such as cloth management provide accurate configuration information, so that efficiently control takes with the continually changing IT infrastructure of management and IT Business.CMDB is the configuration item (CI) that storage records IT architecture, relationship between the attribute and configuration item and configuration item of layout type The data of information.The basis of CMDB is the attribute of complete complete configuration item and configuration item, application such as incident management, change pipe The processes such as reason are exactly on the basis of based on configuration item and attribute, then the incidence relation relied between configuration item and configuration item comes Realize advanced application.Traditional CMDB system function more lays particular emphasis on the model structure of configuration item (CI), relationship, attribute three elements It builds, but function is relatively weak in terms of Topology generation between configuration item (CI) and visualization, is substantially all and needs artificial base Incidence relation between CMDB data information, analysis configuration item (CI), and manual maintenance relationship.This mode needs manually to grasp Make, larger workload, and the accuracy of data not necessarily can guarantee, can not realize after configuration item (CI) relationship changes Automatically update, and to demographic data analyze processing capacity have higher requirement, the cost of manual maintenance is higher.
Summary of the invention
The object of the present invention is to provide a kind of the configuration item CI topological relation method for visualizing based on CMDB, its solution Previous manual maintenance takes time and effort, the problem of accuracy difference, reduces cost of labor, improves CMDB ease for use, meet CMDB Advanced application service needs.
The present invention is implemented as follows: the configuration item CI topological relation method for visualizing based on CMDB, includes the following steps:
1) configuration n-th-trem relation n initialization: the configuration information stored in CMDB system includes configuration item and configuration item attribute number According to by carrying out complete traversal or change traversal to CMDB system data, to obtain configuration item incidence relation data;
2) configuration item CI topological relation automatically generates: data in incidence relation table include configuration item, associated configuration item and Relationship type, wherein relationship type is summarised as set membership, brotherhood, dependence, inclusion relation and redundancy relationship;Selection Generate topology or in which partial-topology relationship type comprising all types relationship;Configuration item Topology generation, to be based on it In point on the basis of a certain configuration item, extract corresponding incidence relation in configuration association relation table, and then generate the configuration item and its Topological relation figure between associated configuration item;
3) visualization shows: extracting the corresponding configuration item attribute data of each configuration item in topological diagram from CMDB system, will match It sets an attribute data and is rendered into corresponding configuration item pel, on user's visual check configuration item topological diagram and topological diagram Configuration item attribute data;For the attribute data that configuration item is shown, user, which freely configures, to be chosen whether to show in topology, and from By setting displaying sequence, with highlight key field.
The complete traversal refers to, transfers the configuration item stored in traditional CMDB system and configuration item attribute data;It presses Relationship that may be present setting relationship type, traversal level and existing state are as ergodic condition between configuration item;To CMDB system Configuration item and configuration item attribute data press ergodic condition and utilize " depth-first " algorithm successively recursive traversal in system;By traversing result Data are saved into configuration item incidence relation table.
The change traversal refers to:
A, for newly-increased configuration item and configuration item attribute data:
Obtain newly-increased configuration item and configuration item attribute data;By relationship that may be present between configuration item, relation object is set Type, traversal level and existing state are as ergodic condition;To configuration item in CMDB system and configuration item attribute data by traversal item Part utilizes " depth-first " algorithm successively recursive traversal;Traversing result data are saved into configuration item incidence relation table;
B, for already present but changed configuration item and configuration item attribute data;It obtains already present but becomes The configuration item and configuration item attribute data of change;By relationship that may be present between configuration item setting relationship type, traversal level and Existing state is as ergodic condition;To configuration item in CMDB system and configuration item attribute data, by ergodic condition utilization, " depth is excellent First " algorithm successively recursive traversal;According to the historical data in traversing result data modification configuration item incidence relation table.
Compared with prior art, the present invention is based on the configuration item of CMDB (CI) topological relation method for visualizing, abundant On the basis of traditional CMDB system data, the two of configuration item (CI) topological relation are realized by way of computer programming Kind of traversal mode, i.e. complete traversal and change traversal, the data obtained based on traversal realize topological relation automatically generate and Visualization show function, solve the problems, such as previous manual maintenance take time and effort, accuracy it is poor, reduce cost of labor, raising CMDB ease for use meets the advanced application service needs of CMDB.The invention is simple and feasible, low in cost, and using effect is good.
Detailed description of the invention
Fig. 1 is flow diagram of the invention.
Specific embodiment
The embodiment of the present invention: the configuration item CI topological relation method for visualizing based on CMDB includes the following steps:
Step1: configuration n-th-trem relation n initialization:
The configuration information stored in CMDB system includes configuration item and configuration item attribute data, by CMDB system data Complete traversal or change traversal are carried out, to obtain configuration item incidence relation data, wherein complete traversal, change traversal refer to:
1. complete traversal:
Transfer the configuration item stored in traditional CMDB system and configuration item attribute data;
By relationship that may be present between configuration item, such as set membership, brotherhood, dependence, inclusion relation, redundancy Relationship, setting relationship type, traversal level, existing state are as ergodic condition;
" depth-first " algorithm is utilized successively to pass by ergodic condition configuration item in CMDB system and configuration item attribute data Return traversal;
Traversing result data are saved into configuration item incidence relation table.
2. change traversal:
A, for newly-increased configuration item and configuration item attribute data:
Obtain newly-increased configuration item and configuration item attribute data;
By relationship that may be present between configuration item, such as set membership, brotherhood, dependence, inclusion relation, redundancy Relationship, setting relationship type, traversal level, existing state are as ergodic condition;
" depth-first " algorithm is utilized successively to pass by ergodic condition configuration item in CMDB system and configuration item attribute data Return traversal;
Traversing result data are saved into configuration item incidence relation table.
B, for already present but changed configuration item and configuration item attribute data;
Obtain already present but changed configuration item and configuration item attribute data;
By relationship that may be present between configuration item, such as set membership, brotherhood, dependence, inclusion relation, redundancy Relationship, setting relationship type, traversal level, existing state are as ergodic condition;
" depth-first " algorithm is utilized successively to pass by ergodic condition configuration item in CMDB system and configuration item attribute data Return traversal;
According to the historical data in traversing result data modification configuration item incidence relation table.
Step2: configuration item (CI) topological relation automatically generates:
Data in incidence relation table include configuration item, associated configuration item, relationship type, and wherein relationship type can be summarized as Set membership, brotherhood, dependence, inclusion relation, redundancy relationship etc..Include in addition to can choose generation when we implement The topology of all types relationship, the topological relation type that us can also be selected to generate according to actual needs.Configuration item topology is closed System generates, the point on the basis of based on a certain configuration item, extracts corresponding incidence relation in configuration association relation table, and then generating should Configuration item is associated with the topological relation figure between configuration item.
Step3: visualization shows:
The corresponding configuration item attribute data of each configuration item in topological diagram are extracted from CMDB system, by configuration item attribute data wash with watercolours Corresponding configuration item pel is contaminated, for the configuration item attribute number on user's visual check configuration item topological diagram and topological diagram According to.For the attribute data that configuration item is shown, user, which can freely configure, to be chosen whether to show in topology, and can freely be set Displaying sequence is set, with highlight key field.
A kind of configuration item (CI) topological relation method for visualizing based on CMDB provided in an embodiment of the present invention, obtains first Traditional CMDB configures item data, and carries out configuration item relationship initialization, generates configuration n-th-trem relation n number in configuration item incidence relation table According to, and then the corresponding incidence relation of a certain configuration item is extracted based on configuration item incidence relation table, realize configuration item topological relation Figure automatically generates, and topological relation figure extracts configuration item in topological diagram again attribute data after generating carries out visualization and shows.It is logical Cross the technical program, traditional CMDB system realizes automatically generating and visualize and showing function for topological relation automatically, solve with It is taken time and effort toward manual maintenance, the problem of accuracy difference, reduces cost of labor, improved CMDB ease for use, it is advanced to meet CMDB Application service needs.

Claims (3)

1. a kind of configuration item CI topological relation method for visualizing based on CMDB, which comprises the steps of:
1) configuration n-th-trem relation n initialization: the configuration information stored in CMDB system includes configuration item and configuration item attribute data, is led to It crosses and complete traversal or change traversal is carried out to CMDB system data, to obtain configuration item incidence relation data;
2) configuration item CI topological relation automatically generates: the data in incidence relation table include configuration item, associated configuration item and relationship Type, wherein relationship type is summarised as set membership, brotherhood, dependence, inclusion relation and redundancy relationship;Selection generates Topology comprising all types relationship or in which partial-topology relationship type;Configuration item Topology generation, with based on wherein certain Point on the basis of one configuration item extracts corresponding incidence relation in configuration association relation table, and then generates the configuration item and be associated with Topological relation figure between configuration item;
3) visualization shows: the corresponding configuration item attribute data of each configuration item in topological diagram is extracted from CMDB system, by configuration item Attribute data is rendered into corresponding configuration item pel, for the configuration on user's visual check configuration item topological diagram and topological diagram Item attribute data;For configuration item show attribute data, user freely configure choose whether displaying set in topology, and freely Displaying sequence is set, with highlight key field.
2. the configuration item CI topological relation method for visualizing according to claim 1 based on CMDB, it is characterised in that: described Complete traversal refer to, transfer the configuration item stored in traditional CMDB system and configuration item attribute data;By can between configuration item Relationship type, traversal level and existing state is arranged as ergodic condition in relationship existing for energy;To configuration item in CMDB system and Configuration item attribute data utilize " depth-first " algorithm successively recursive traversal by ergodic condition;Traversing result data are saved into and are matched Set an incidence relation table.
3. the configuration item CI topological relation method for visualizing according to claim 1 based on CMDB, it is characterised in that: described Change traversal refer to:
A, for newly-increased configuration item and configuration item attribute data:
Obtain newly-increased configuration item and configuration item attribute data;By relationship that may be present between configuration item setting relationship type, Level and existing state are traversed as ergodic condition;To configuration item in CMDB system and configuration item attribute data by ergodic condition benefit With " depth-first " algorithm successively recursive traversal;Traversing result data are saved into configuration item incidence relation table;
B, for already present but changed configuration item and configuration item attribute data;It obtains already present but changed Configuration item and configuration item attribute data;By relationship that may be present between configuration item setting relationship type, traversal level and survival State is as ergodic condition;" depth-first " is utilized to calculate by ergodic condition configuration item in CMDB system and configuration item attribute data Method successively recursive traversal;According to the historical data in traversing result data modification configuration item incidence relation table.
CN201810839862.1A 2018-07-27 2018-07-27 Configuration item CI topological relation method for visualizing based on CMDB Pending CN109101590A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810839862.1A CN109101590A (en) 2018-07-27 2018-07-27 Configuration item CI topological relation method for visualizing based on CMDB

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810839862.1A CN109101590A (en) 2018-07-27 2018-07-27 Configuration item CI topological relation method for visualizing based on CMDB

Publications (1)

Publication Number Publication Date
CN109101590A true CN109101590A (en) 2018-12-28

Family

ID=64847621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810839862.1A Pending CN109101590A (en) 2018-07-27 2018-07-27 Configuration item CI topological relation method for visualizing based on CMDB

Country Status (1)

Country Link
CN (1) CN109101590A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113450033A (en) * 2021-09-02 2021-09-28 广州嘉为科技有限公司 CMDB-based change influence analysis method and management equipment
CN113595800A (en) * 2021-08-03 2021-11-02 腾云悦智科技(深圳)有限责任公司 Method for automatically discovering application connection relation and preserving CMDB information
CN113672203A (en) * 2021-08-26 2021-11-19 优维科技(深圳)有限公司 Model inheritance method for CMDB configuration management

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113595800A (en) * 2021-08-03 2021-11-02 腾云悦智科技(深圳)有限责任公司 Method for automatically discovering application connection relation and preserving CMDB information
CN113595800B (en) * 2021-08-03 2022-07-05 腾云悦智科技(深圳)有限责任公司 Method for automatically discovering application connection relation and preserving CMDB information
CN113672203A (en) * 2021-08-26 2021-11-19 优维科技(深圳)有限公司 Model inheritance method for CMDB configuration management
CN113672203B (en) * 2021-08-26 2022-04-08 优维科技(深圳)有限公司 Model inheritance method for CMDB configuration management
CN113450033A (en) * 2021-09-02 2021-09-28 广州嘉为科技有限公司 CMDB-based change influence analysis method and management equipment

Similar Documents

Publication Publication Date Title
CN109101590A (en) Configuration item CI topological relation method for visualizing based on CMDB
CN104573231B (en) Wisdom building system and method based on BIM
CN106445484B (en) The method and system of data tracking are realized by Software Development Kit
CN103701633B (en) Setup and maintenance system of visual cluster application for distributed search SolrCloud
CN109150640A (en) A kind of method for discovering network topology and system based on double layer network agreement
CN103970887A (en) Information stream display system and method based on GIS distribution network graphs
CN104318027A (en) Information table template based closed-loop automatic interaction model information table design method
CN103927693A (en) Distribution network line loss management system
CN106202406A (en) A kind of 3D visualization machine room assets information management method and system
CN105812175B (en) Resource management method and resource management equipment
CN102403718A (en) Generating method for power grid topological relationship based on Arcgis
CN109635127A (en) A kind of power equipment portrait knowledge mapping construction method based on big data technology
CN106296315A (en) Context aware systems based on user power utilization data
CN103985022A (en) Intelligent substation secondary equipment operation and maintenance decision support system and data analysis method
CN104866981A (en) Modeling method based on business process management of extended finite state machine
CN106293891A (en) Multidimensional investment target measure of supervision
CN105574032A (en) Rule matching operation method and device
CN107783762A (en) Interface creating method, device, storage medium and computer equipment
CN111711677A (en) Virtual and real loop visualization method, system and medium for process layer switch of intelligent substation
CN110225095B (en) Data processing method, device and system
CN104598250B (en) A kind of system management architecture and its method for realizing management
CN101576981A (en) Scene-type service system
CN105117860A (en) Internet work attendance system and method on the basis of a facial recognition device
CN108694448A (en) PHM platforms
CN104778528A (en) Method and system for obtaining smart city evaluation indexes by utilizing big data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181228

WD01 Invention patent application deemed withdrawn after publication