CN108205569A - For updating the method and apparatus of configuration management database - Google Patents

For updating the method and apparatus of configuration management database Download PDF

Info

Publication number
CN108205569A
CN108205569A CN201611181170.XA CN201611181170A CN108205569A CN 108205569 A CN108205569 A CN 108205569A CN 201611181170 A CN201611181170 A CN 201611181170A CN 108205569 A CN108205569 A CN 108205569A
Authority
CN
China
Prior art keywords
resource
cmdb
resource information
resources
equipment
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
Application number
CN201611181170.XA
Other languages
Chinese (zh)
Other versions
CN108205569B (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.)
China Mobile Communications Group Co Ltd
China Mobile Group Shanxi Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Shanxi 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 China Mobile Communications Group Co Ltd, China Mobile Group Shanxi Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201611181170.XA priority Critical patent/CN108205569B/en
Publication of CN108205569A publication Critical patent/CN108205569A/en
Application granted granted Critical
Publication of CN108205569B publication Critical patent/CN108205569B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases

Abstract

Provide a kind of method and apparatus for being used to update configuration management database.This method includes:The extraction equipment resource information from network flow data;Based on the mapping relations between the resource distribution object in equipment resource information and CMDB models, generation and the corresponding resource distribution object of equipment resource information, resource distribution object include the physical layer in CMDB models and the resource object of logical layer and resources relationship object;And the resource distribution object synchronization of generation is updated to CMDB.Network flow system is combined by this method with CMDB resource automatic managements, solves the problems, such as CMDB resource automatic managements, realizes that the dynamic update of CMDB resources and relationship is maintained.

Description

For updating the method and apparatus of configuration management database
Technical field
The present invention relates to the communications fields, relate more specifically to a kind of method and dress for being used to update configuration management database It puts.
Background technology
Configuration management database (Configuration Management Database, CMDB) is as China Mobile's industry Be engaged in supporting network operation management system (BOMC) system hard core control module, provide to inside business supporting network business, using, The management function of the resource datas such as logic, physics and show function.Therefore CMDB resource data amounts number, resource particle degree How much thickness, the type of resource have larger shadow for the performance of the CMDB service ability provided and entire BOMC systems It rings.
The platform resource and its automatic of relationship that CMDB is realized at present find to be mainly based upon simple net with automatic management The automatic of network management agreement (Simple Network Management Protocol, SNMP) finds mode.However, due to The poll inquiry mechanism of SNMP services, which has, causes network communication to block equivalent risk, therefore require strictly Network Security Environment Equipment in the network segment all closes SNMP services mostly.Automatic discovery mode based on snmp protocol is not for opening SNMP services Network environment seems helpless.
In addition, existing CMDB resource management systems also exist such as resource model range covering not comprehensively, can not be timely The problems such as removing invalid resource object in CMDB etc..
Invention content
The present invention provides a kind of novel configuration management database CMDB update methods and its devices.
Configuration management database CMDB update methods according to embodiments of the present invention, including:It is carried from network flow data Taking equipment resource information;Based on the mapping relations between the resource distribution object in equipment resource information and CMDB models, generation With the corresponding resource distribution object of equipment resource information, resource distribution object includes physical layer and logical layer in CMDB models Resource object and resources relationship object;And the resource distribution object synchronization of generation is updated to CMDB.
The device for being used to update configuration management database CMDB according to embodiments of the present invention, including:Information extraction unit, For the extraction equipment resource information from network flow data;Object generation unit, for being based on equipment resource information and CMDB The mapping relations between resource distribution object in model, generation and the corresponding resource distribution object of equipment resource information, should Resource distribution object includes the physical layer in CMDB models and the resource object of logical layer and resources relationship object;And update is single Member, for the resource distribution object synchronization of generation to be updated to CMDB.
Resource interface equipment according to embodiments of the present invention, including:Memory, for storing program code;Processor;It is logical Believe interface;And bus, wherein, memory, processor and communication interface are connected by bus and complete mutual communication, place Reason device runs program corresponding with program code by reading the program code stored in memory for performing a kind of use In the method for update configuration management database CMDB, method includes:The extraction equipment resource information from network flow data;It is based on The mapping relations between resource distribution object in equipment resource information and CMDB models, generation are corresponding with equipment resource information Resource distribution object, resource distribution object include CMDB models in physical layer and logical layer resource object and resources relationship Object;And the resource distribution object synchronization of generation is updated to CMDB.
Configuration management database CMDB update methods according to embodiments of the present invention and its device can excavate network flow The bigger value of amount system, network flow system is combined with CMDB resource automatic managements, solves core network segment resource certainly The problem of dynamicization manages realizes that the dynamic update of core network segment resource and relationship is maintained.It is improved recorded in this explanation It increases IP address, the MAC Address of physical layer and the High Availabitity relationship of equipment of logical layer in CMDB models newly, while extends relationship Type enriches the resource model of CMDB, promotes CMDB and externally provides consumption service ability, and it is end-to-end complete to be advantageously implemented business Orientation analysis monitors, and promotes the accuracy ability of traffic failure analyzing and positioning, reduces alarm quantity and alarm grade.
Description of the drawings
The detailed description made referring to the drawings to non-limiting example by reading, other feature of the invention, Objects and advantages will become more apparent upon, wherein, the same or similar reference numeral represents the same or similar feature.
Fig. 1 is the exemplary process diagram for showing CMDB update methods according to embodiments of the present invention;
Fig. 2 is the mapping relations figure shown according to embodiments of the present invention between equipment resource information and resource distribution object Graphical representation of exemplary;
Fig. 3 is the exemplary block diagram of CMDB resource management systems according to embodiments of the present invention;
Fig. 4 is the CMDB update methods for showing to realize in big data storm stream calculation frames according to embodiments of the present invention Exemplary process diagram;
Fig. 5 is the exemplary process flow figure of resource interface service according to embodiments of the present invention and CMDB synchronized updates;
Fig. 6 is the graphical representation of exemplary of improved CMDB framework models according to embodiments of the present invention;
Fig. 7 is graphical representation of exemplary of the improved CMDB framework models shown in Fig. 6 in middleware transverse direction dilatation scene;
Fig. 8 is the specific behaviour for showing CMDB update methods according to embodiments of the present invention in middleware transverse direction dilatation scene The exemplary process diagram of work;
Fig. 9 is to show mapping relations between equipment resource information shown in Fig. 2 and resource distribution object in middleware The graphical representation of exemplary of specific implementation in lateral dilatation scene;
Figure 10 be show it is according to embodiments of the present invention for updating the schematic of the device of configuration management database CMDB Block diagram;And
Figure 11 is to show to realize showing for the computing device of CMDB update methods according to embodiments of the present invention and device The structure chart of example property hardware structure.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes Formula is implemented, and is not understood as limited to embodiment set forth herein;On the contrary, these embodiments are provided so that the present invention more Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.In the figure in order to clear It is clear, it may be exaggerated the thickness of region and layer.Identical reference numeral represents same or similar structure in figure, thus will save Slightly their detailed description.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable manner In example.In the following description, many details are provided to fully understand the embodiment of the present invention so as to provide.However, It will be appreciated by persons skilled in the art that technical scheme of the present invention can be put into practice without one in the specific detail or more It is more or other methods, constituent element, material etc. may be used.In other cases, be not shown in detail or describe known features, Material or operation to avoid the fuzzy present invention major technique intention.
Traditional automatic discovery technique and CMDB resource managements and update scheme based on snmp protocol are lacked there are following It falls into:1) the resource automatic management scarce capacity of CMDB systems, resource and inter-resource relation dynamic update are maintained by network environment Limit more, in the network environment for not opening SNMP services, it is almost ineffective that the dynamics of Internet resources maintains function;2) The resource model range covering of CMDB systems is not comprehensive, for example current physical layer resources can not embody the High Availabitity relationship of equipment Type (load balancing, active and standby, double examples etc.) etc.;3) invalid network relationships a large amount of present in CMDB can not be carried out in time Effective feedback processing, can not be timely and effectively using the mechanism that automatically updates of snmp protocol after changing such as network environment Perceive the relationship change of network environment.
In view of one or more problems present on, the present invention provides a kind of novel configurations based on network flow Manage database CMDB update methods and device, the CMDB resources relationships system based on the CMDB update methods and CMDB numbers According to library system, so as to not found the equipment resource information in network by network security requirement with being limited, resource is extended High Availabitity relationship type, and the invalid resource relationship removed in time in CMDB is proofreaded by redundancy.
Fig. 1 shows the exemplary process diagram of CMDB update methods 100 according to embodiments of the present invention.It as shown in Figure 1, should Method 100 includes:S102, the extraction equipment resource information from network flow data;S104, based on equipment resource information and CMDB The mapping relations between resource distribution object in model, generation and the corresponding resource distribution object of equipment resource information, money Source configuration object includes the physical layer in CMDB models and the resource object of logical layer and resources relationship object;And S106, The resource distribution object synchronization of generation is updated to CMDB.
Here, equipment resource information includes one or more of the following items:Network request in network flow data MAC Address, IP address or the port numbers of method, apparatus, MAC Address, IP address or the port numbers of network recipients equipment and Call relation between equipment, and MAC Address is mapped to the resource object of the physical layer in CMDB models, IP address and end Slogan is mapped to the resource object of the logical layer in CMDB models.In one embodiment, the resource object of physical layer includes At least one of host, the network equipment and storage device, the resource object of logical layer include process, middleware services, data At least one of library object, IP address.
From figure 1 it appears that the CMDB update methods are not using based on the automatic of Simple Network Management Protocol SNMP It was found that mode, but the equipment resource information in data on flows is found based on network flow data.Therefore, the CMDB in Fig. 1 Update method can be applied to not open the core network segment of Simple Network Management Protocol SNMP services.
In the embodiment in figure 1, network flow data can be obtained by flow harvester or system.For example, net Network data on flows is acquired by the network flow acquisition tracking system based on flow collection machine.Network flow acquisition tracking system The data packet that transmitted in a network can be acquired by monitoring network element equipment room network flow for system and mirror image.Network flow Acquire tracking system can in statistical analysis flow MAC, IP, the information such as port (Port), obtain the whole network so as to analyze Access dependence between access dependence, the network equipment between effectively accessed service inventory, service etc., so as to for CMDB information automatically updates and maintains offer data supporting.In other embodiments, network flow acquisition tracking system can also Directly other modules or equipment (example are sent to using the data on flows of acquisition (for example, data packet form) as network flow data Such as, resource interface module) further network flow data is parsed with therefrom extraction equipment resource information.
In some embodiments, the network flow data of magnanimity is collected by network flow acquisition system, and passes through net The relationship between different resource configuration item is found in the combination of the information such as MAC, IP, port in network data on flows.By will be largely consistent Configuration item and configuration item relationship analysis are integrated, and are taken out resource distribution item model corresponding with CMDB, can be extracted and patrol respectively Collect the resource object (such as database object, middleware example, IP address) of layer, resource object (such as host, the exchange of physical layer Machine, router, MAC Address) and resources relationship configuration item information, then periodically be synchronized to (for example, once every hour) In CMDB.In another embodiment, CMDB can combine data in library and is put in storage after carrying out redundancy analysis and relation broken etc. Operation, achievees the purpose that automatically update and maintains CMDB resources and relationship.
It is described in detail and further spreads out come each step in the flow chart to Fig. 1 below in conjunction with Fig. 2 to Fig. 6 Explanation.
Fig. 2 is the mapping relations figure shown according to embodiments of the present invention between equipment resource information and resource distribution object 200 graphical representation of exemplary.As shown in Fig. 2, the equipment resource information included in network flow, by field extraction process, point Analysis with postpone be can be corresponding with the resource distribution object maps mutually in tetra- layer architecture models of CMDB.In some embodiments, The mapping relations between resource distribution object in the tetra- layer architecture model of equipment resource information and CMDB included in network flow It is described as follows:
1st, in network flow the IP of network layer, port combination it is corresponding be logical layer resource object, such as process, centre Part service, database object, IP address etc..The specific field value of resource object can be according to IP, port set in network flow It closes to determine.Internal system can come via serve port the common application agreement run on automatic identification server (for example, SSH, LDAP, DNS, FTP, HTTP, Oracle etc.), so that it is determined that corresponding resource object types.
2nd, High Availabitity framework is identified by IP, port combination analysis.For example, if some application is fixed to access several phases Same middleware server, it may be considered that this several middleware servers belong to High Availabitity framework.
3rd, the MAC Address of network flow link layer it is corresponding be physical layer resource object, such as host, router, Interchanger, disk array etc..The specific field value of physical layer resources object can obtain MAC according to from link layer data packet Information determines.
4th, the network originating end ID in network flow and network receiving terminal ID can be used to determine the resource in CMDB models Relationship object can indicate node device the location of in network flow link, and pass through two ID and form service ring The call relation of section, that is, the call relation being mapped between the resource of tetra- layer architecture models of CMDB.In one embodiment, Physical layer resources object can be by the communication of MAC to identifying the access dependence between the network equipment;And network layer provides Source object can identify the access dependence between service by IP and port combination.
It can be seen that by the collected network traffic information of network flow acquisition system be pocessed post analysis go out it is relevant Equipment resource information, just the resource distribution object with improved tetra- layer architecture models of CMDB is (for example, physical layer and logical layer Resource object) mapping corresponds to, and thereby produce completely new tetra- layer architecture models of CMDB.
Fig. 3 is the exemplary block diagram of CMDB resource management systems 300 according to embodiments of the present invention.As shown in Figure 3, should CMDB resource management systems 300 include three parts:Money in flow harvester that component except dotted line frame is formed, dotted line frame Source interface module and configuration management database CMDB.
In the embodiment shown in fig. 3, resource interface module be responsible for from flow harvester obtain network flow data or Person's equipment resource information, and docked with CMDB resource managements, realize the analytical integration of network traffic information (for example, passing through MAC Unique equipment resource information for confirming link layer is believed by IP, the unique device resource for confirming network layer of port information combination Breath), the abstract extraction of resource distribution item and the analysis of redundancy relationship and mark, periodically (for example, per hour) by new discovery Resource object and resources relationship object be injected into CMDB.Resource interface module includes two service interface CMDB service interfaces 301 and traffic service interface 302 be each responsible for the communication with flow harvester and CMDB.
Configuration management database CMDB is receiving the autosynchronous resource object of resource interface module and resources relationship object Later, it is put in storage and the operations such as relation broken, so as to the resource data in update tetra- layer architecture models of CMDB of enriching constantly.
Fig. 4 is the CMDB update methods for showing to realize in big data storm stream calculation frames according to embodiments of the present invention 400 exemplary process diagram.In some embodiments, the resource distribution item abundant information based on network flow, extraction are found Process is realized in based on the bolt units in big data storm stream calculation frames, and specific process flow is as shown in Figure 4. The CMDB update methods 400 realized in big data storm stream calculation frames include:S402, from the upper of storm stream calculation frames Network traffic information stream, i.e. network flow data are obtained in one bolt;S404 handles flow information flow to extract net Equipment resource information in network data on flows, this includes extraction resource information field MAC (physical address)/IP (network layer transports IP)/PORT (server-side port numbers);According to the MAC/IP/PORT of extraction, this device resource is generated using MD5 algorithms by S406 The uniform resource identifier (that is, ID) of information record;S408, according to the ID of generation, in the baseline resources stored in query caching Resource information and resources relationship;It is corresponding with unique ID to determine that the baseline resources stored in caching whether there is by S410 Resource information and resources relationship, if it does not exist, then step advances to step S412, if it is present step advances to step S414;S412, in the buffer write-in resource information corresponding with the unique ID and resources relationship, and be back to step S408; S414 is converted into this equipment resource information the money consistent with CMDB models using corresponding resource information and resources relationship Source information and resources relationship;S416, for not finding that equipment corresponding thereto provides in baseline resources in network flow data The resource information or resources relationship of source information record the redundancy check and correction number of the resource information or resources relationship in daily record;With And S418, the daily record handled well is sent to next bolt to continue to analyze and process.
Although in Fig. 4 acquired network traffic information be using the bolt units in big data storm stream calculation frames as What unit was handled, however, Fig. 4 is only example.This CMDB update method being not offered as in Fig. 4 must be in big data It is realized in storm stream calculation frames.Those skilled in the art, which are readily apparent that, to be realized in Fig. 4 in other various system frameworks The CMDB update methods.
In the fig. 4 embodiment, (network layer passes resource information field MAC (the physical address)/IP extracted in step S404 Defeated IP)/PORT (server-side port numbers) implies resource allocation information in network.In embodiments described herein, this A little resource information fields can be mapped to each layer resource distribution object of CMDB models by mapping relations figure shown in Fig. 2 In.In some embodiments, step S402 to step S418 can be set by the resource interface module shown in Fig. 3 or resource interface It is standby to realize, and caching therein be redis cachings.Wherein exist for example, resource interface module is obtained from CMDB Resource distribution object, the resource distribution object of acquisition is pre-processed to obtain corresponding resource information and resources relationship, And it is stored in the buffer using obtained resource information and resources relationship as baseline resources.
In some embodiments, these baseline resources can be used for being compared with the information extracted from network flow data Compared with so that it is determined which resource information or resources relationship in baseline resources are not found corresponding thereto in network flow data The equipment resource information answered.In some embodiments, for the resource information or money for finding no corresponding equipment resource information Source relationship, resource interface module recorded in daily record this case that (including redundancy proof time), and increase their redundancy Proofread number.If being found that corresponding equipment resource information for a resource information or resources relationship, its redundancy check and correction Number is reset as zero.For continuously proofreading more than n times also without finding matched resource information or resources relationship (that is, redundancy Proofread number and be more than or equal to N), it is labeled as redundancy relationship by resource interface module.For example, N can be equal to 10,15,20 etc.. In one embodiment, exist with the corresponding resource distribution object of resource information or resources relationship for being marked as redundancy relationship It is eliminated in CMDB databases.
Fig. 5 is the exemplary process flow figure of resource interface service according to embodiments of the present invention and CMDB synchronized updates. As shown in Figure 5, resource interface service and the specific process flow of CMDB synchronized updates include the following steps:Step 1:In Fig. 4 Shown network traffic information processing can be swapped with the asset data information (for example, baseline resources) in caching (referring to Step S402 to S414);Step 2:Utilize cache database cache resources information and resources relationship data;Step 3:Timing resources Consuming thread timing obtains resource distribution object from CMDB, it is pre-processed to obtain resource information and resources relationship number According to and be saved in caching, so as to timing the baseline resources in caching are updated;Step 4:Timing resources synchronizing thread from Extraction is handled and newfound resource information and resources relationship data through network traffic information in caching, is converted into CMDB framework moulds Each layer resource class object of type and relationship object call CMDB resource management service interfaces, data are reported to CMDB resource managements, Complete new resources information and the discovery synchronizing process of resources relationship;And step 5:CMDB resource management services are to tetra- layers of CMDB The open ability encapsulation of framework model, externally provides the inquiry consumption of resource information and resource information finds to confirm storage and redundancy Relation broken ability provides corresponding restful interfaces, is interacted with step 3, step 4 respectively.
Fig. 6 is the graphical representation of exemplary of improved CMDB framework models according to embodiments of the present invention.It is all shown in Fig. 6 Such as " dependence ", " being based on ", " operating in ", " use ", " binding " indicate the resources relationship object represented in CMDB models, They represent the relationship between each resource object in CMDB models.Improved CMDB framework models tool shown in Fig. 6 There are following characteristics:
1) High Availabitity framework can recognize that by IP, PROT combinatory analysis in equipment resource information.For example, if some should Several identical middleware servers are accessed with fixed, it may be considered that this several middleware servers are High Availabitity framework.Fig. 6 The double examples of database, mainframe cluster, middleware cluster in middle physics class resource block diagram are to existing tetra- layer architecture models of CMDB A kind of extension of physics class resource type and relationship so that resource type is able to be assembled by service ability, so as to right Single equipment fault warning disturbance degree, which degrades, provides necessary resource data base support.Such as a master in mainframe cluster When catastrophe failure occurs in machine, monitoring alarm analysis platform can carry out rank tune automatically according to weight of this host in clustered node It is whole.Although if even if this host is in clustered node but the machine of delaying nor affects on the ability offer of clustered node, monitor Alert analysis platform can be directed to hostdown alarm and be degraded (for example, high severity alarm is reduced to minor alarm, minor alarm drop Commonly to alert).
2) MAC Address in physics class resource block diagram is one to existing tetra- layer architecture model physics class resource types of CMDB Kind extension.For example, by MAC Address library, it can identify that these MAC correspond to the manufacturer belonging to equipment.CMDB moulds shown in Fig. 6 The resources relationship object that the relationship binding of the application-IP-MAC- equipment in CMDB is indicated in type is also to existing four layer model A kind of innovation realizes that the relationship between application-IP-MAC- equipment is bound by IP.
3) resource object and its relationship that all kinds of resource components included in the dotted line frame in figure, resource and arrow represent Object all automatic synchronization acquisition can be carried out by the described CMDB update methods of the disclosure and update is maintained.
Illustrate that dilatation causes generated net after change of network environment by taking middleware cluster transverse direction equipment in the capacity expansion as an example below The various resource informations that network flow is related to, are compared with the resource in resource topology figure, to verify the processing of this patent proposition The reasonability of method.
Fig. 7 is graphical representation of exemplary of the improved CMDB framework models shown in Fig. 6 in middleware transverse direction dilatation scene. In the figure 7, the middleware cluster that two rack-mount servers expression that grey square frame is covered newly extends.It is newly sent out in CMDB models This existing two-server is to collect network flow by core switch and flow collection machine to give flow collection analysis system System analyzing and processing, will enrich tetra- layer frames of CMDB by resource interface module after the relevant resource information contents extraction of network flow It is realized in structure model.
The data process method of process shown in fig. 7 is shown in FIG. 8.Fig. 8 shows according to embodiments of the present invention The exemplary process diagram of concrete operations of the CMDB update methods in middleware transverse direction dilatation scene.As can be seen from Figure 8 in Between after part cluster dilatation data the whole process of CMDB is synchronized to after handling by analysis.
Illustrated with reference to Fig. 9 the resource information obtained during this be how with tetra- layer architecture models of CMDB What resource synchronized.
Fig. 9 is to show mapping relations between equipment resource information shown in Fig. 2 and resource distribution object in middleware The graphical representation of exemplary of specific implementation in lateral dilatation scene.The equipment money included in network flow field as can be seen from Figure 9 Source information is how the mapping of each with tetra- layer architecture models of CMDB layer, the synchronous updating method realization that is proposed again by the disclosure are synchronous 's.
As shown in figure 9, left-half representative is the equipment included inside the flow information of a network flow link in figure Resource information, it is corresponding with the field mapping explanation in Fig. 2.The side that these equipment resource informations can for example be described by Fig. 4 Field analysis configuration step (S402 and S404) in method, the equipment resource information obtained after handling these field analysis.Net Network originating end ID refers to the initiator ID (pid) of this link network flow, and network receiving terminal ID refers to primary network tune The resource ID (qpid) passively received is connect in.In one embodiment, network originating end ID and network receiving terminal ID can lead to It crosses and unique unduplicated ID is generated to generate using MD5 algorithms using information fields such as IP/MAC/PORT.
What middle section represented in Fig. 9 is synchronizing process, and concrete implementation method can refer to the described related steps of Fig. 5 Suddenly, update operation is synchronized by resource interface service and CMDB resource management services, realizes resource object and resources relationship Synchronization in object to CMDB.
Right half part shows each layer resource object that CMDB models include in Fig. 9, as can be seen from the figure mainly relates to And to the logical layers such as middleware services, cluster, host, MAC, IP and physical layer resources type.Left-hand component and right side in Fig. 9 Split-phase shows how specific with each layer in tetra- layer architecture models of CMDB the resource information of network traffic information extraction is in combination Which resource type maps mutually.Resources relationship in figure can include through the originating end ID inside left-half flow and connect Relationship between receiving end ID forms the call relation between resource distribution item, so as to be formed the pass between resource object System.
Figure 10 is to show the device 1000 for being used to update configuration management database CMDB according to embodiments of the present invention Schematic block diagram.
As shown in Figure 10, it is wrapped according to the embodiment of the present invention for updating the device 1000 of configuration management database CMDB It includes:Information extraction unit 1002, for the extraction equipment resource information from network flow data;Object generation unit 1004 is used In based on the mapping relations between the resource distribution object in equipment resource information and CMDB models, generation and equipment resource information Corresponding resource distribution object, resource distribution object include the resource object and money of the physical layer and logical layer in CMDB models Source relationship object;And updating unit 1006, for the resource distribution object synchronization of generation to be updated to CMDB.
Here, equipment resource information is included in the network request side found in network flow data and receiver equipment Call relation between MAC Address, IP address and port numbers and equipment, and MAC Address is mapped in CMDB models Physical layer resource object, IP address and port numbers are mapped to the resource object of the logical layer in CMDB models.At one In embodiment, the resource object of physical layer includes at least one of host, the network equipment and storage device, the resource of logical layer Object includes at least one of process, middleware services, database object, IP address.
In some alternative embodiments, the device 1000 shown in Fig. 10 for being used to update configuration management database CMDB can Selection of land further includes:Object acquisition unit 1008, for before the resource distribution object synchronization of generation is updated to CMDB, obtaining Resource distribution object present in CMDB;Pretreatment unit 1010, for the resource distribution object to acquisition pre-processed with Obtain corresponding resource information and resources relationship;And buffer unit 1012, for obtained resource information and resources relationship As baseline resources storage in the buffer.At this point, the object generation unit 1004 in device 1000 is further used for below progress Operation:The MAC Address of each equipment, IP address and the port numbers included using equipment resource information, generate each equipment Uniform resource identifier;It determines to whether there is resource information corresponding with the uniform resource identifier in the baseline resources in caching And resources relationship;If in the baseline resources in caching, there are corresponding resource information and resources relationships, utilize corresponding money Equipment resource information is generated as the resource information consistent with CMDB models and resources relationship by source information and resources relationship;If There is no corresponding resource information and resources relationship in baseline resources in caching, then create in the buffer and Uique Resource Identity It accords with corresponding resource information and resources relationship and equipment resource information is generated using the resource information and resources relationship of establishment For the resource information and resources relationship consistent with CMDB models;And the resource information and resource consistent with CMDB models Relationship is converted into resource distribution object.In an alternate embodiment of the invention, device 1000 further includes:Recording unit 1014, for for Do not find the resource information or resources relationship of equipment resource information corresponding thereto in baseline resources in network flow data, Record the redundancy check and correction number of the resource information or resources relationship;And redundancy relationship indexing unit 1016, if for resource Information or the redundancy of resources relationship check and correction number are more than or equal to pre-determined number, then by the resource information or resources relationship labeled as superfluous Remaining relationship.For example, the pre-determined number can be set as 10.
In conclusion the resource information of network flow system can map (each layer in figure with tetra- layer architecture model realizations of CMDB Resource component and relationship), the High Availabitity resource of physical layer and the discovery of relationship are particularly additionally provided, supplemented with tetra- layer frames of CMDB The blank of structure model passes through such mode, it is possible to a large amount of network flow datas analyzed and processed using big data technology, It is configured by analysis, constantly extracts resource distribution item information and be injected into CMDB libraries, realize to the four layer architecture models of CMDB Dynamic update is maintained, the structure BOMC business support net topology synchronous with operation system, and is passed through and externally provided resource and relationship Consumption, come continuous self-authentication resource topology accuracy, achieve the purpose that resource and relationship dynamic maintain.
The present invention can be used for excavating the bigger value of network flow system, and network flow system and CMDB resources is automatic Change management to be combined, solves the problems, such as core network segment resource automatic management, the dynamic of realization core network segment resource and relationship is more Newly maintain.It increases the IP address of logical layer, the MAC Address of physical layer in the recorded improved CMDB models of this explanation newly and sets Standby High Availabitity relationship, while relationship type is extended, the resource model of CMDB is enriched, CMDB is promoted and consumption clothes is externally provided Business ability is advantageously implemented the end-to-end comprehensive analysis monitoring of business, promotes the accuracy ability of traffic failure analyzing and positioning, drop Low alarm quantity and alarm grade.
It can be set with reference at least part of Fig. 1 to Fig. 6 and Figure 10 CMDB update methods described and device by calculating It is standby to realize.Figure 11 is the computing device 1100 for showing to realize CMDB update methods according to embodiments of the present invention and device The structure chart of exemplary hardware architecture.As shown in figure 11, computing device 1100 include input equipment 1101, input interface 1102, Central processing unit 1103, memory 1104, output interface 1105 and output equipment 1106.Wherein, input interface 1102, in Central processor 1103, memory 1104 and output interface 1105 are connected with each other by bus 1110, input equipment 1101 and defeated Go out equipment 1106 to connect with bus 1110 by input interface 1102 and output interface 1105 respectively, so with computing device 1100 Other assemblies connection.Specifically, input equipment 1101 is received from external input information, and is passed through input interface 1102 and incited somebody to action Input information is transmitted to central processing unit 1103;Central processing unit 1103 can perform based on the computer stored in memory 1104 Instruction handles to generate output information input information, and output information is temporarily or permanently stored in memory 1104 In, output information is then transmitted to by output equipment 1106 by output interface 1105;Output equipment 1106 is defeated by output information Go out outside to computing device 1100 for users to use.
That is, device shown in Fig. 10 can also be implemented as including:It is stored with depositing for computer executable instructions Reservoir;And processor, the processor can realize the CMDB updates described with reference to Fig. 1 when performing computer executable instructions Method.Here, processor can based on from for example, base station input information perform computer executable instructions, so as to fulfill With reference to Fig. 1 CMDB update methods described and device.
It should be clear that the invention is not limited in specific configuration described above and shown in figure and processing. For brevity, it is omitted here the detailed description to known method.In the above-described embodiments, several tools have been described and illustrated The step of body, is as example.But procedure of the invention is not limited to described and illustrated specific steps, this field Technical staff can be variously modified, modification and addition or suitable between changing the step after the spirit for understanding the present invention Sequence.
Structures described above frame functional block shown in figure can be implemented as hardware, software, firmware or their group It closes.When realizing in hardware, it may, for example, be electronic circuit, application-specific integrated circuit (ASIC), appropriate firmware, insert Part, function card etc..When being realized with software mode, element of the invention is used to perform program or the generation of required task Code section.Either code segment can be stored in machine readable media program or the data-signal by being carried in carrier wave is passing Defeated medium or communication links are sent." machine readable media " can include being capable of any medium of storage or transmission information. The example of machine readable media includes electronic circuit, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), soft Disk, CD-ROM, CD, hard disk, fiber medium, radio frequency (RF) link, etc..Code segment can be via such as internet, inline The computer network of net etc. is downloaded.
The present invention can realize in other specific forms, without departing from its spirit and essential characteristics.For example, particular implementation Algorithm described in example can be changed, and system architecture is without departing from the essence spirit of the present invention.Therefore, currently Embodiment be all counted as being exemplary rather than in all respects it is limited, the scope of the present invention by appended claims rather than Foregoing description defines, also, fall into claim meaning and equivalent in the range of whole change all to be included in Among the scope of the present invention.

Claims (13)

  1. A kind of 1. method for being used to update configuration management database CMDB, which is characterized in that the method includes:
    The extraction equipment resource information from network flow data;
    Based on the mapping relations between the resource distribution object in the equipment resource information and CMDB models, generation is set with described The corresponding resource distribution object of standby resource information, the resource distribution object include physical layer and logical layer in CMDB models Resource object and resources relationship object;And
    The resource distribution object synchronization of generation is updated to CMDB.
  2. 2. according to the method described in claim 1, wherein, the equipment resource information includes one or more in the following terms :MAC Address, IP address or the port numbers of network request method, apparatus in the network flow data, network recipients equipment MAC Address, the call relation between IP address or port numbers and equipment, and wherein described MAC Address is mapped to The resource object of physical layer in CMDB models, the IP address and port numbers are mapped to the money of the logical layer in CMDB models Source object.
  3. 3. according to the method described in claim 2, wherein, the resource object of the physical layer includes host, the network equipment and deposits At least one of equipment is stored up, the resource object of the logical layer includes process, middleware services, database object, IP address At least one of.
  4. 4. according to the method described in claim 1, wherein, before the resource distribution object synchronization of generation is updated to CMDB, The method further includes:
    Obtain resource distribution object present in the CMDB;
    The resource distribution object of acquisition is pre-processed to obtain corresponding resource information and resources relationship;And
    It is stored in the buffer using obtained resource information and resources relationship as baseline resources.
  5. 5. according to the method described in claim 4, wherein, based on the resource distribution in the equipment resource information and CMDB models Mapping relations between object, generation include with the corresponding resource distribution object of the equipment resource information:
    The MAC Address of each equipment, IP address and the port numbers included using the equipment resource information, generation is each to be set Standby uniform resource identifier;
    It determines to whether there is resource information corresponding with the uniform resource identifier and resource in the baseline resources in the caching Relationship;
    If there are corresponding resource information and resources relationships in the baseline resources in the caching, the corresponding money is utilized The equipment resource information is generated as the resource information consistent with CMDB models and resources relationship by source information and resources relationship;
    If there is no corresponding resource information and resources relationships in the baseline resources in the caching, created in the caching It builds resource information corresponding with the uniform resource identifier and resources relationship and is closed using the resource information and resource created The equipment resource information is generated as the resource information consistent with CMDB models and resources relationship by system;And
    The resource information consistent with CMDB models and resources relationship are converted into the resource distribution object.
  6. 6. according to the method described in claim 5, wherein, the method further includes:
    The resource for not finding equipment resource information corresponding thereto in the baseline resources in network flow data is believed Breath or resources relationship record the redundancy check and correction number of the resource information or resources relationship;And
    If resource information or the redundancy of resources relationship check and correction number are more than or equal to pre-determined number, by the resource information or resource Relation mark is redundancy relationship.
  7. 7. a kind of device for being used to update configuration management database CMDB, which is characterized in that described device includes:
    Information extraction unit, for the extraction equipment resource information from network flow data;
    Object generation unit, for based on the mapping between the resource distribution object in the equipment resource information and CMDB models Relationship, generation and the corresponding resource distribution object of the equipment resource information, the resource distribution object include CMDB models In physical layer and the resource object of logical layer and resources relationship object;And
    Updating unit, for the resource distribution object synchronization of generation to be updated to CMDB.
  8. 8. device according to claim 7, wherein, the equipment resource information includes one or more in the following terms :MAC Address, IP address or the port numbers of network request method, apparatus in the network flow data, network recipients equipment MAC Address, the call relation between IP address or port numbers and equipment, and wherein described MAC Address is mapped to The resource object of physical layer in CMDB models, the IP address and port numbers are mapped to the money of the logical layer in CMDB models Source object.
  9. 9. device according to claim 8, wherein, the resource object of the physical layer includes host, the network equipment and deposits At least one of equipment is stored up, the resource object of the logical layer includes process, middleware services, database object, IP address At least one of.
  10. 10. device according to claim 7, wherein, described device further includes:
    Object acquisition unit, for before the resource distribution object synchronization of generation is updated to CMDB, obtaining in the CMDB Existing resource distribution object;
    Pretreatment unit is pre-processed for the resource distribution object to acquisition and is closed with obtaining corresponding resource information and resource System;And
    Buffer unit, for being stored in the buffer using obtained resource information and resources relationship as baseline resources.
  11. 11. device according to claim 10, wherein, the object generation unit is additionally operable to carry out following operate:
    The MAC Address of each equipment, IP address and the port numbers included using the equipment resource information, generation is each to be set Standby uniform resource identifier;
    It determines to whether there is resource information corresponding with the uniform resource identifier and resource in the baseline resources in the caching Relationship;
    If there are corresponding resource information and resources relationships in the baseline resources in the caching, the corresponding money is utilized The equipment resource information is generated as the resource information consistent with CMDB models and resources relationship by source information and resources relationship;
    If there is no corresponding resource information and resources relationships in the baseline resources in the caching, created in the caching It builds resource information corresponding with the uniform resource identifier and resources relationship and is closed using the resource information and resource created The equipment resource information is generated as the resource information consistent with CMDB models and resources relationship by system;And
    The resource information consistent with CMDB models and resources relationship are converted into the resource distribution object.
  12. 12. according to the devices described in claim 11, wherein, described device further includes:
    Recording unit, for for not finding device resource corresponding thereto in the baseline resources in network flow data The resource information or resources relationship of information record the redundancy check and correction number of the resource information or resources relationship;And
    Redundancy relationship indexing unit, if be more than or equal to predetermined time for resource information or the redundancy of resources relationship check and correction number The resource information or resources relationship are then labeled as redundancy relationship by number.
  13. 13. a kind of resource interface equipment, including:Memory, for storing program code;Processor;Communication interface;It is and total Line,
    Wherein, the memory, processor and communication interface are connected by the bus and complete mutual communication, the place Reason device runs program corresponding with said program code by reading the program code stored in the memory for holding Row is a kind of for updating the method for configuration management database CMDB, the method includes:
    The extraction equipment resource information from network flow data;
    Based on the mapping relations between the resource distribution object in the equipment resource information and CMDB models, generation is set with described The corresponding resource distribution object of standby resource information, the resource distribution object include physical layer and logical layer in CMDB models Resource object and resources relationship object;And
    The resource distribution object synchronization of generation is updated to CMDB.
CN201611181170.XA 2016-12-19 2016-12-19 Method and apparatus for updating a configuration management database Active CN108205569B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611181170.XA CN108205569B (en) 2016-12-19 2016-12-19 Method and apparatus for updating a configuration management database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611181170.XA CN108205569B (en) 2016-12-19 2016-12-19 Method and apparatus for updating a configuration management database

Publications (2)

Publication Number Publication Date
CN108205569A true CN108205569A (en) 2018-06-26
CN108205569B CN108205569B (en) 2020-09-11

Family

ID=62603001

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611181170.XA Active CN108205569B (en) 2016-12-19 2016-12-19 Method and apparatus for updating a configuration management database

Country Status (1)

Country Link
CN (1) CN108205569B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109614190A (en) * 2018-12-06 2019-04-12 成都载信智能科技有限公司 Resources configuration management method and platform
CN109683911A (en) * 2018-12-26 2019-04-26 上海金融期货信息技术有限公司 A kind of system for realizing automation application deployment and impact analysis
CN109802953A (en) * 2018-12-29 2019-05-24 北京奇安信科技有限公司 A kind of recognition methods of industry control assets and device
CN110943867A (en) * 2019-12-05 2020-03-31 上交所技术有限责任公司 System and method for deducing application architecture information through network relationship
CN111147312A (en) * 2019-12-31 2020-05-12 深圳云天励飞技术有限公司 Resource allocation management method and device, resource allocation cache management method and device, and allocation management system
CN112417213A (en) * 2020-12-07 2021-02-26 上海轻维软件有限公司 VMware self-discovery monitoring and instance topology self-discovery method
CN112764874A (en) * 2020-12-28 2021-05-07 中国人寿保险股份有限公司上海数据中心 CMDB configuration management system-based virtual machine server information acquisition method
CN116401319A (en) * 2023-06-09 2023-07-07 建信金融科技有限责任公司 Data synchronization method and device, electronic equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100179945A1 (en) * 2009-01-15 2010-07-15 Bmc Software, Inc. Normalization Engine to Manage Configuration Management Database Integrity
CN103593804A (en) * 2013-10-29 2014-02-19 国网辽宁省电力有限公司信息通信分公司 Electric power information communication scheduling and monitoring platform
CN104113579A (en) * 2014-02-13 2014-10-22 西安未来国际信息股份有限公司 Service system data acquisition based on UDP and realization thereof
CN105490826A (en) * 2014-09-16 2016-04-13 钛马信息网络技术有限公司 Configuration management system and method based on automatic discovery

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100179945A1 (en) * 2009-01-15 2010-07-15 Bmc Software, Inc. Normalization Engine to Manage Configuration Management Database Integrity
CN103593804A (en) * 2013-10-29 2014-02-19 国网辽宁省电力有限公司信息通信分公司 Electric power information communication scheduling and monitoring platform
CN104113579A (en) * 2014-02-13 2014-10-22 西安未来国际信息股份有限公司 Service system data acquisition based on UDP and realization thereof
CN105490826A (en) * 2014-09-16 2016-04-13 钛马信息网络技术有限公司 Configuration management system and method based on automatic discovery

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高亮: "基于ITIL的配置管理数据库研究与设计", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109614190A (en) * 2018-12-06 2019-04-12 成都载信智能科技有限公司 Resources configuration management method and platform
CN109683911A (en) * 2018-12-26 2019-04-26 上海金融期货信息技术有限公司 A kind of system for realizing automation application deployment and impact analysis
CN109802953A (en) * 2018-12-29 2019-05-24 北京奇安信科技有限公司 A kind of recognition methods of industry control assets and device
CN109802953B (en) * 2018-12-29 2022-03-22 奇安信科技集团股份有限公司 Industrial control asset identification method and device
CN110943867B (en) * 2019-12-05 2022-08-16 上交所技术有限责任公司 System and method for deducing application architecture information through network relationship
CN110943867A (en) * 2019-12-05 2020-03-31 上交所技术有限责任公司 System and method for deducing application architecture information through network relationship
CN111147312A (en) * 2019-12-31 2020-05-12 深圳云天励飞技术有限公司 Resource allocation management method and device, resource allocation cache management method and device, and allocation management system
CN111147312B (en) * 2019-12-31 2022-11-22 深圳云天励飞技术股份有限公司 Resource allocation management method and device, resource allocation cache management method and device, and allocation management system
CN112417213B (en) * 2020-12-07 2022-11-04 上海轻维软件有限公司 VMware self-discovery monitoring and instance topology self-discovery method
CN112417213A (en) * 2020-12-07 2021-02-26 上海轻维软件有限公司 VMware self-discovery monitoring and instance topology self-discovery method
CN112764874A (en) * 2020-12-28 2021-05-07 中国人寿保险股份有限公司上海数据中心 CMDB configuration management system-based virtual machine server information acquisition method
CN112764874B (en) * 2020-12-28 2024-03-12 中国人寿保险股份有限公司上海数据中心 Virtual machine server information acquisition method based on CMDB configuration management system
CN116401319A (en) * 2023-06-09 2023-07-07 建信金融科技有限责任公司 Data synchronization method and device, electronic equipment and computer readable storage medium
CN116401319B (en) * 2023-06-09 2023-09-12 建信金融科技有限责任公司 Data synchronization method and device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN108205569B (en) 2020-09-11

Similar Documents

Publication Publication Date Title
CN108205569A (en) For updating the method and apparatus of configuration management database
US10528579B2 (en) Method, system, and apparatus for enterprise wide storage and retrieval of large amounts of data
CN100405784C (en) Method and apparatus for monitoring traffic in a network
EP2429120A1 (en) Distributed network management system, network element management server, and data configuration management method
CN112506659A (en) Management method of edge device and related device
US10956501B2 (en) Network-wide, location-independent object identifiers for high-performance distributed graph databases
CN101442558B (en) Method and system for providing index service for P2SP network
CN111355816B (en) Server selection method, device, equipment and distributed service system
CN108200111A (en) Resource allocation information update method, device and resource interface equipment
CN109923847A (en) Call discovery method, apparatus, equipment and the storage medium of link
CN102202087A (en) Method for identifying storage equipment and system thereof
CN104486116A (en) Multidimensional query method and multidimensional query system of flow data
CN107085552A (en) Method of testing and device
CN107040576A (en) Information-pushing method and device, communication system
CN113672692B (en) Data processing method, data processing device, computer equipment and storage medium
CN109992279A (en) Method for updating configuration data, calculates equipment and storage medium at device
CN112134719A (en) Method and system for analyzing base station security log
US20170235785A1 (en) Systems and Methods for Robust, Incremental Data Ingest of Communications Networks Topology
CN113259470B (en) Data synchronization method and data synchronization system
US8954445B2 (en) System and method for efficiently representing and managing a computer facility
US10102286B2 (en) Local object instance discovery for metric collection on network elements
CN116760834A (en) Load balancing method, system, equipment and storage medium
CN111061719A (en) Data collection method, device, equipment and storage medium
CN106603418B (en) Network topology updating method and traffic analysis equipment
CN105103505A (en) Method and apparatus for requesting or providing resource by terminal of server in wireless communication system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant