CN108462587A - A kind of network topology treating method and apparatus - Google Patents

A kind of network topology treating method and apparatus Download PDF

Info

Publication number
CN108462587A
CN108462587A CN201710089842.2A CN201710089842A CN108462587A CN 108462587 A CN108462587 A CN 108462587A CN 201710089842 A CN201710089842 A CN 201710089842A CN 108462587 A CN108462587 A CN 108462587A
Authority
CN
China
Prior art keywords
configuration information
network
data
information
network topology
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
CN201710089842.2A
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.)
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 CN201710089842.2A priority Critical patent/CN108462587A/en
Publication of CN108462587A publication Critical patent/CN108462587A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies

Abstract

The embodiment of the invention discloses a kind of network topology treating method and apparatus.Network topology processing method in the embodiment of the present invention includes:Obtain the configuration information that constrained devices and access equipment are accessed in network;The configuration information of acquisition is normalized, the data information of unified format is generated;Unify formatted data information architecture network topological diagram according to this.The embodiment of the present invention solves the mode for generating network topology in the prior art, and generally existing builds the intelligent poor of network topology, and the accuracy of the network topology generated and comprehensive poor problem.

Description

A kind of network topology treating method and apparatus
Technical field
The present invention relates to network topologies field, espespecially a kind of network topology treating method and apparatus.
Background technology
With the continuous development of computer technology, the network equipment in network is more and more, network administrator be management and Safeguard computer network, there is an urgent need to obtain the connection shape of the last state of the network equipment and LA Management Room in dynamic network State.To solve the above-mentioned problems, it is proposed that network topologies, you can to allow network administrator to more clearly understand Internet resources Incidence relation between physical/logical level, and provide the diagrammatic representation of different visual angles and level.
The generating mode of current network topological diagram can be divided into two classes:One kind is manually to draw network according to real network Topology, this mode need consuming vast resources that could complete, and network environment can obtain an initial net after the completion of setting up Network topology, still, if real network changes, such as the network equipment is offline or offline, and network configuration routing changes, all Network administrator's manual modification network topological diagram is needed, therefore, this mode is unable to real-time update network topology and builds effect Rate is low.Another kind of is to use procotol, for example, Simple Network Management Protocol (Simple Network Management Protocol, referred to as:SNMP) agreement, safety shell protocol (Secure Shell, referred to as:SSH) agreement etc., passes through net Network agreement obtains relevant configuration information from the network equipment, to complete the generation of network topology;For example, the branch of Sun Microsystems exploitation The distributed network management product SNM for holding snmp protocol provides open intuitive network topology structure and shows, but the product is needed by pipe The network equipment of reason opens SNMP services, and distinct device is supported to need the management information bank of compatible miscellaneous equipment (Management Information Base, referred to as:MIB), this for do not open SNMP services or it is privately owned (i.e. not Opening) equipment of MIB will be restricted;And another monitoring server uses SSH agreements, by obtaining the network equipment Relevant configuration information generates network topology according to configuration information;Although above-mentioned can be to avoid compatibility by the way of procotol The influence that a variety of distinct devices are brought, still, this method can not obtain access constrained devices, and (network that can not directly access is set It is standby) configuration information, it is not comprehensive enough so as to cause the information for building network topology, in this way, can cause generate network open up The accuracy flutterred and comprehensive poor, is unfavorable for administrator and carries out network management, but also the service based on network topology can not Accurate application.
In conclusion in the prior art generate network topology mode, generally existing build network topology it is intelligent compared with Difference, and the accuracy of the network topology of generation and comprehensive poor problem.
Invention content
In order to solve the above-mentioned technical problem, an embodiment of the present invention provides a kind of network topology treating method and apparatus, with The mode of generation network topology in the prior art is solved, generally existing builds the intelligent poor of network topology, and generate The accuracy of network topology and comprehensive poor problem.
In a first aspect, the embodiment of the present invention provides a kind of network topology processing method, including:
Obtain the configuration information that constrained devices and access equipment are accessed in network;
The configuration information of acquisition is normalized, the data information of unified format is generated;
According to the unified formatted data information architecture network topological diagram.
In the first possible realization method of first aspect, the acquisition access constrained devices match confidence Breath, including:
By the fastening means with target access constrained devices, acquisition is sent to the target access constrained devices;
The configuration information that the target access constrained devices return is received, and stores the configuration information.
In second of possible realization method of first aspect, the acquisition access constrained devices match confidence Breath, including:
By the fastening means with target access constrained devices, according to the type of the target access constrained devices, selection The acquisition script or configuration file of respective type, each acquisition script or configuration file are previously according to the corresponding visit Ask what the type of constrained devices created;
By selected acquisition script or configuration file acquisition is sent to the target access constrained devices;
The configuration information that the target access constrained devices return is received, and stores the configuration information.
In the third possible realization method of first aspect, the configuration information of described pair of acquisition is normalized Processing generates the data information of unified format, including:
The content in the configuration information is mapped according to pre-set normalization template, is determined described with confidence Breath and the binding relationship that field is normalized in the normalization template;
Keyword match is carried out to the configuration information, captures data content corresponding with the binding relationship;
Unified formatting and data preparation are carried out to the data content of the crawl, generate the data letter of the unified format Breath;Wherein, unified format with data preparation includes following one or more:Data type classifications, data precision are unified Merge with data.
In the 4th kind of possible realization method of first aspect, the configuration information of described pair of acquisition is normalized Processing generates the data information of unified format, including:
The configuration information is imported by the first data-interface, and place is normalized to the configuration information of importing Reason generates the data information of the unified format;Wherein, it is one by the configuration information that first data-interface imports The configuration information of platform or multiple devices.
It is described according to the unified formatted data information architecture net in the 5th kind of possible realization method of first aspect Network topological diagram, including:
The data information of the unified format is imported by the second data-interface, and according to the unified format of importing Data information builds the network topological diagram;Wherein, the data of the unified format imported by second data-interface The configuration information of one or more equipment generates according to information.
According to first aspect, first aspect the first to any one in the 5th kind of possible realization method, the 6th In the possible realization method of kind, the network topological diagram includes:The attribute of multiple networking components and each networking component; The method further includes:
According to the connection relation and attribute of networking component in the virtual condition of network and the network topological diagram, modification Network component information in the network topological diagram;Wherein, the modification network component information includes following one or more:Increase Add networking component, delete networking component and changes the attribute of networking component;
Believe according to the network component information changed, or according to the configuration information and the networking component changed Breath, rebuilds network topological diagram.
Second aspect, the embodiment of the present invention provide a kind of network topology processing unit, and described device includes:
Acquisition module, for obtaining the configuration information for accessing constrained devices and access equipment in network;
Normalized module, the configuration information for being obtained to the acquisition module are normalized, raw At the data information of unified format;
Constructing network topology module, the unified formatted data information for being generated according to the normalized module Build network topological diagram.
In the first possible realization method of second aspect, the acquisition module includes:
Access equipment acquiring unit, the configuration information for obtaining the access equipment;
Constrained devices acquiring unit is accessed, for obtaining the configuration information for accessing constrained devices;Wherein, the access Constrained devices acquiring unit includes:
Transmission sub-unit, for by the fastening means with target access constrained devices, being set to the target access is limited Preparation send acquisition;
Receiving subelement, the configuration information returned for receiving the target access constrained devices;
Storing sub-units, the configuration information received for storing the receiving subelement.
In second of possible realization method of second aspect, the acquisition module includes:
Access equipment acquiring unit, the configuration information for obtaining the access equipment;
Constrained devices acquiring unit is accessed, for obtaining the configuration information for accessing constrained devices;Wherein, the access Constrained devices acquiring unit includes:
Subelement is selected, for by the fastening means with target access constrained devices, being limited according to the target access The type of equipment selects the acquisition script or configuration file of respective type, and each acquisition script or configuration file are advance It is created according to the corresponding type for accessing constrained devices;
Transmission sub-unit, for by the selected acquisition script of the selection subelement or configuration file to the target It accesses constrained devices and sends acquisition;
Receiving subelement, the configuration information returned for receiving the target access constrained devices;
Storing sub-units, the configuration information received for storing the receiving subelement.
In the third possible realization method of second aspect, the normalized module includes:
Map unit, for being mapped the content in the configuration information according to pre-set normalization template, It determines the configuration information and normalizes the binding relationship of field in the normalization template;
Matching unit captures number corresponding with the binding relationship for carrying out keyword match to the configuration information According to content;
Normalized unit, the data content for being captured to the matching unit carries out unified formatting and data are whole Reason generates the data information of the unified format;Wherein, described unified to format and data preparation includes with the next item down or more :Data type classifications, data precision are unified and data merge.
In the 4th kind of possible realization method of second aspect, the configuration of the normalized module to acquisition Information is normalized, and generates the data information of unified format, including:
The configuration information is imported by the first data-interface, and place is normalized to the configuration information of importing Reason generates the data information of the unified format;Wherein, it is one by the configuration information that first data-interface imports The configuration information of platform or multiple devices.
In the 5th kind of possible realization method of second aspect, the constructing network topology module is according to the unified lattice Formula data information builds network topological diagram, including:
The data information of the unified format is imported by the second data-interface, and according to the unified format of importing Data information builds the network topological diagram;Wherein, the data of the unified format imported by second data-interface The configuration information of one or more equipment generates according to information.
According to second aspect, second aspect the first to any one in the 5th kind of possible realization method, the 6th In the possible realization method of kind, the network topological diagram includes:The attribute of multiple networking components and each networking component; Described device further includes:
Modified module, for being closed according to the connection of networking component in the virtual condition of network and the network topological diagram System and attribute, change the network component information in the network topological diagram;Wherein, the modification network component information includes following It is one or more:Increase networking component, delete networking component and changes the attribute of networking component;
The constructing network topology module is additionally operable to the network component information changed according to the modified module, or The network component information that the configuration information and the modified module obtained according to the acquisition module has been changed, rebuilds Network topological diagram.
Network topology treating method and apparatus provided in an embodiment of the present invention, by obtain network in access constrained devices and The configuration information of access equipment, and the configuration information of acquisition is normalized, the data information of unified format is generated, with Afterwards, the data information for unifying format according to this builds network topological diagram;Technical solution provided in an embodiment of the present invention, not only can be with The configuration information of access equipment is obtained, while the configuration information for accessing constrained devices can be got, you can be obtained from network Get the comprehensive data information for building network topology, and obtain configuration information mode have it is higher intelligent, Therefore, the mode for generating network topology in the prior art is solved, generally existing builds the intelligent poor of network topology, and The accuracy of the network topology of generation and comprehensive poor problem.
Description of the drawings
Attached drawing is used for providing further understanding technical solution of the present invention, and a part for constitution instruction, with this The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is that a kind of network topology generates the schematic diagram that system builds network topology in the prior art;
Fig. 2 is a kind of composition schematic diagram of networking component in network topology;
Fig. 3 is a kind of flow chart of network topology processing method provided in an embodiment of the present invention;
Fig. 4 be network topology processing method provided in an embodiment of the present invention in it is a kind of obtain access constrained devices match confidence The flow chart of breath;
Fig. 5 is another configuration for obtaining access constrained devices in network topology processing method provided in an embodiment of the present invention The flow chart of information;
Fig. 6 is the flow chart of another network topology processing method provided in an embodiment of the present invention;
Fig. 7 is a kind of schematic diagram of the configuration information of equipment in network topology processing method provided in an embodiment of the present invention;
Fig. 8 is a kind of schematic diagram of normalization template in network topology processing method provided in an embodiment of the present invention;
Fig. 9 is a kind of schematic diagram importing configuration information in network topology processing method provided in an embodiment of the present invention;
Figure 10 is a kind of data information importing unified format in network topology processing method provided in an embodiment of the present invention Schematic diagram;
Figure 11 is a kind of signal importing individual equipment information in network topology processing method provided in an embodiment of the present invention Figure;
Figure 12 is a kind of signal importing batch device information in network topology processing method provided in an embodiment of the present invention Figure;
Figure 13 is the flow chart of another network topology processing method provided in an embodiment of the present invention;
Figure 14 is a kind of application signal of modification networking component in network topology processing method provided in an embodiment of the present invention Figure;
Figure 15 is that the application of another modification networking component in network topology processing method provided in an embodiment of the present invention is shown It is intended to;
Figure 16 is that the application of another modification networking component in network topology processing method provided in an embodiment of the present invention is shown It is intended to;
Figure 17 is that the application of another modification networking component in network topology processing method provided in an embodiment of the present invention is shown It is intended to;
Figure 18 is that the application of another modification networking component in network topology processing method provided in an embodiment of the present invention is shown It is intended to;
Figure 19 is a kind of structural schematic diagram of network topology processing unit provided in an embodiment of the present invention;
Figure 20 is a kind of structural schematic diagram of acquisition module in network topology processing unit provided in an embodiment of the present invention;
Figure 21 is the structural schematic diagram of another acquisition module in network topology processing unit provided in an embodiment of the present invention;
Figure 22 is the structural schematic diagram of another network topology processing unit provided in an embodiment of the present invention;
Figure 23 is the structural schematic diagram of another network topology processing unit provided in an embodiment of the present invention.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application Feature mutually can arbitrarily combine.
Step shown in the flowchart of the accompanying drawings can be in the computer system of such as a group of computer-executable instructions It executes.Also, although logical order is shown in flow charts, and it in some cases, can be with suitable different from herein Sequence executes shown or described step.
Procotol may be used in the mode that generation network topology in the prior art is had been described above in background technology.Citing comes It says, Fig. 1 is that a kind of network topology generates the schematic diagram that system builds network topology in the prior art.In practical applications, this is It unites and acquires the configuration information of the network equipment from network, network topology is built according to the configuration information of acquisition, and can pass through The including but not limited to technologies such as WWW (Web) displaying network topology and network component information.
Fig. 2 is a kind of composition schematic diagram of networking component in network topology.As shown in Fig. 2, the group of networks in network topology Part includes but is not limited to device nodes, subnet node, cloud node and link node;Device nodes be divided into access equipment element and It accesses constrained devices and (accesses to be limited and refer to that equipment can not directly be accessed by network) element;Subnet node is mainly network Subnet element in topology, cloud node are mainly cloud element in network topology, and link node is mainly that the side in network topology (is used for Embody the connection relation between each networking component).
As described above, generating the mode of network topology in the prior art, when obtaining the configuration information of the network equipment, it is only capable of The configuration information of access equipment in the device node of Fig. 2 is got, therefore, when building network topology, since structure network is opened up The information flutterred is not comprehensive enough, the accuracy so as to cause the network topology of generation and comprehensive poor problem.It is apparent that at present It is urgent to provide one kind having both intelligent and accuracy and comprehensive constructing network topology mode.
Technical scheme of the present invention is described in detail below by specific embodiment, the present invention provides following Specific embodiment can be combined with each other, and same or analogous concept or process may be repeated no more in some embodiments.
Fig. 3 is a kind of flow chart of network topology processing method provided in an embodiment of the present invention.Net provided in this embodiment Network topology processing method can be executed by network topology processing unit, which is combined by hardware and software Mode realize.As shown in figure 3, the method for the present embodiment may include steps of:
S110 obtains the configuration information that constrained devices and access equipment are accessed in network.
Network topology processing method provided in an embodiment of the present invention is a kind of optimal way of structure network topology, at this In inventive embodiments, the configuration information of acquisition generally includes:Access constrained devices configuration information and access equipment match confidence Breath, i.e., method provided in an embodiment of the present invention can get all types equipment in the device node of networking component shown in Fig. 2 Configuration information.In addition, the configuration information of equipment is for example including following one or more:The routing iinformation of equipment, interface message, Virtual LAN VLAN information, network address translation NAT information.
It should be noted that the realization method for the configuration information for accessing constrained devices is obtained in the embodiment of the present invention, it can be with It is obtained, can also be obtained by offline sampling instrument manually by network administrator;Obtain the realization of the configuration information of access equipment Mode may be used mode in the prior art and obtain.
The configuration information of acquisition is normalized in S120, generates the data information of unified format.
S130 unifies formatted data information architecture network topological diagram according to this.
In embodiments of the present invention, get access constrained devices configuration information and access equipment configuration information it Afterwards, the configuration information got can be normalized, since the different network equipments may be by different factories What family provided, the difference of device type can cause the data format of the configuration information of distinct device to be possible to different, therefore, it is necessary to The content of the above-mentioned configuration information got is arranged, i.e. normalized, it is therefore intended that generate the data of unified format Information.Then, the data information structure network topological diagram of format, in practical applications, the network of structure can be unified according to this Topology can be shown by the form of network topological diagram, in order to which network administrator clearly knows each group of networks in network The attribute and connection relation of part.
It should be noted that in the embodiment of the present invention, the mode that the configuration information of acquisition is normalized is for example It, can will be corresponding in the fills to template of configuration information by the template to be handled by preconfigured template Position generates the data information based on the template style.In addition, the realization method of network topological diagram is built according to data information, Mode in the prior art may be used.
Network topology processing method provided in an embodiment of the present invention is essentially consisted in difference in the prior art:On the one hand, The configuration information for accessing constrained devices can be got, to provide more comprehensive data letter for subsequent builds network topological diagram Breath;On the other hand, all configuration informations of acquisition are normalized, different type network equipment can be matched confidence Breath carries out taxonomic revision, obtains the data information with unified format, you can to realize access equipment that different manufacturers provide Configuration information has higher compatibility, avoids subsequently when building network topological diagram, since device type is different, matches confidence Format difference is ceased, and leads to not the data information of compatible different-format to cause to be difficult to accurately to build network topological diagram Problem.
The network topology processing method that the embodiment of the present invention is provided accesses constrained devices and access by obtaining in network The configuration information of equipment, and the configuration information of acquisition is normalized, the data information of unified format is generated, then, The data information for unifying format according to this builds network topological diagram;Method provided in an embodiment of the present invention can not only obtain visit It asks the configuration information of equipment, while the configuration information for accessing constrained devices can be got, you can to get use from network In structure network topology comprehensive data information, and obtain configuration information mode have it is higher intelligent, therefore, solution It has determined and has generated the mode of network topology in the prior art, generally existing builds the intelligent poor of network topology, and generate The accuracy of network topology and comprehensive poor problem.
In a kind of optionally realization method of the embodiment of the present invention, it is limited access can be obtained manually by network administrator The configuration information of equipment, as shown in figure 4, for a kind of acquisitions access in network topology processing method provided in an embodiment of the present invention by The flow chart for limiting the configuration information of equipment in the i.e. S110 of embodiment illustrated in fig. 3, obtains the configuration information for accessing constrained devices Realization method may include steps of:
S201 sends acquisition life by the fastening means with target access constrained devices to the target access constrained devices It enables;
S202, receives the configuration information of target access constrained devices return, and stores the configuration information.
In embodiments of the present invention, the configuration information for accessing constrained devices is obtained manually by network administrator, hand Before dynamic acquisition configuration information, need using fastening means connection network topology processing unit and target access constrained devices, it should Fastening means includes but not limited to the fastening means such as SSH agreements, remote terminal protocol (Telnet), and then, network administrator is true The configuration information of some target access constrained devices will be obtained by recognizing, by the fastening means with the target access constrained devices, to The target access constrained devices send acquisition, which is used to indicate equipment and uploads the configuration information of its own, with Afterwards, network topology processing unit receives the configuration information of equipment return, and stores the configuration information.
In another optionally realization method of the embodiment of the present invention, it can be obtained by off-line tools and access limited set Standby configuration information, as shown in figure 5, in network topology processing method provided in an embodiment of the present invention it is another obtain access by The flow chart for limiting the configuration information of equipment in the i.e. S110 of embodiment illustrated in fig. 3, obtains the configuration information for accessing constrained devices Realization method may include steps of:
S301, by the fastening means with target access constrained devices, and according to the type of the target access constrained devices, Select the acquisition script or configuration file of respective type, it is each acquire script or configuration file be previously according to it is corresponding access by Limit the type structure of equipment;
S302 sends acquisition by selected acquisition script or configuration file to the target access constrained devices;
S303 receives the configuration information that target access constrained devices return, and storage configuration information.
In embodiments of the present invention, the configuration information for accessing constrained devices is obtained automatically by off-line tools, automatically Before acquisition configuration information, it is also necessary to the off-line tools corresponding to each target access constrained devices are created by network administrator, For example, acquire script or configuration file.In addition, acquire manually it is identical, also need using fastening means connect network topology Processing unit and target access constrained devices, which includes but not limited to SSH agreements, remote terminal protocol (Telnet) Equal fastening means are then selected according to the type for the configuration information and the equipment that obtain some target access constrained devices Script or configuration file are correspondingly acquired, is then set by the acquisition script or configuration file that have selected to the target access is limited Preparation send acquisition, should be used to indicate equipment with acquisition and upload the configuration information of its own, then, network topology processing Device receives the configuration information of equipment return, and stores the configuration information.
Optionally, Fig. 6 is the flow chart of another network topology processing method provided in an embodiment of the present invention.In Fig. 3 institutes On the basis of showing embodiment, in method provided in an embodiment of the present invention, S120 may include:
S121 maps the content in configuration information according to pre-set normalization template, determines configuration information With the binding relationship for normalizing field in the normalization template;
S122 carries out keyword match to the configuration information, captures data content corresponding with binding relationship;
S123 carries out unified formatting and data preparation to the data content of crawl, generates the data information of unified format; Wherein, unified format with data preparation includes following one or more:Data type classifications, data precision are unified and data are closed And.
In embodiments of the present invention, routing table (physics and virtual router), plan in the configuration information obtained in S110 Slightly routing, interface and VLAN are defined, the content of the original configurations information such as subnet information, NAT may refer to Fig. 7, real for the present invention A kind of schematic diagram of the configuration information of equipment in the network topology processing method of example offer is applied, as shown in figure 8, implementing for the present invention A kind of schematic diagram of normalization template in the network topology processing method that example provides, the content of the normalization template include but not office It is limited to the unified format of interface configuration (interface) and the unified format of routing configuration (route), is wrapped in the unified format of interface configuration It includes but is not limited to the field descriptions such as status, description, name, ip, speed;Routing configuration unifies format But it is not limited to the fields such as routeid, metrics, protocol, weight, interface, destination, gateway Description.After obtaining configuration information, normalization template can be based on, configuration information is mapped, so that it is determined that configuration information With in the normalization template normalize field binding relationship, to configuration information carry out keyword match when, including but not limited to Data content is captured by regular expression, then, unified formatting and data preparation are carried out to the data content of crawl, including But it is not limited to:Data type classifications, data precision are unified and data merge etc., to generate the data letter with unified format Breath.
Optionally, in embodiments of the present invention, after getting configuration information in S110, or unified lattice are generated in S120 After the data information of formula, the function module in network topology processing unit can import configuration information by different data-interfaces Or the data information of unified format is imported, and above two lead-in mode can support batch to import.
In a kind of possible realization method of the embodiment of the present invention, the configuration information got in S110 can be imported, The realization method of S120 i.e. in above-described embodiment is:Configuration information is imported by the first data-interface, and to the configuration of importing Information is normalized, and generates the data information of unified format;Wherein, the configuration information imported by the first data-interface For the configuration information of one or more equipment.
As shown in figure 9, importing showing for configuration information to be a kind of in network topology processing method provided in an embodiment of the present invention It is intended to, in the present embodiment, first opens up the configuration information by the first data-interface importing network after getting configuration information The module for being normalized, the module in processing unit is flutterred the configuration information of importing is normalized, with Afterwards, the data information for unifying format according to this by the constructing network topology module in network topology processing unit builds network topology Figure, generates the connection relation of networking component and the attribute of networking component.
It should be noted that the configuration information imported in the present embodiment can be the configuration information of one or more equipment, The configuration information for the multiple devices that can be obtained, and led the configuration information batch of the multiple devices by the first data-interface Entering in network topology apparatus, the configuration information that the module of the normalized of the device imports batch is normalized, The connection relation of the networking component ultimately generated and the attribute of networking component can be in the visualization models of network topology device Show network topological diagram.
In the alternatively possible realization method of the embodiment of the present invention, the unified format generated in S120 can be imported The realization method of data information, i.e. S130 in above-described embodiment is:The data of unified format are imported by the second data-interface Information, and network topological diagram is built according to the data information of the unified format of importing;Wherein, it is imported by second data-interface Unified format data information according to one or more equipment configuration information generate.
As shown in Figure 10, it is a kind of number importing unified format in network topology processing method provided in an embodiment of the present invention It is believed that the schematic diagram of breath is normalized after getting configuration information first in the present embodiment, for example, can pass through Off-line tools complete the normalized of configuration information, this is then unified the number of format by the data information for obtaining unified format It is believed that breath imports the constructing network topology module in network topology processing unit by the first data-interface, by the network topology structure Model the attribute that block generates the connection relation and networking component of networking component.
It should be noted that the data information of the unified format imported in the present embodiment one or more can be set according to What standby configuration information generated, you can with the configuration information of the multiple devices of acquisition, and to the configuration information of the multiple devices into Row normalized generates the data informations of multiple unified formats, then, the data information of multiple unified format is passed through the Two data-interfaces import the module for building network topology in network topology device, which unifies lattice according to the multiple of importing The attribute of the connection relation and networking component of the networking component that the data information of formula generates.
For example, in the above embodiment of the present invention, the mode for importing individual equipment information is as shown in figure 11, is this hair A kind of schematic diagram importing individual equipment information in the network topology processing method that bright embodiment provides, the facility information of importing can The data information 4 of configuration information 4 or unified format is imported network and opened up by the data information 4 for thinking configuration information 4 or unified format In flutterring, access equipment 4 and connection relation are generated in network topological diagram.
Again for example, in the above embodiment of the present invention, the mode for importing batch device information is as shown in figure 12, for this A kind of schematic diagram importing batch device information, the facility information of importing in the network topology processing method that inventive embodiments provide It can be the data information 4 of configuration information 4 or unified format, the data information 4 of configuration information 4 or unified format is imported into network Multiple access equipments 4 and connection relation are generated in topology, in network topological diagram.
Further, Figure 13 is the flow chart of another network topology processing method provided in an embodiment of the present invention.In Fig. 3 On the basis of illustrated embodiment, method provided in an embodiment of the present invention can also include after S130:
S140, according to the connection relation and attribute of networking component in the virtual condition of network and network topological diagram, modification Network component information in the network topological diagram;Wherein, modification network component information includes following one or more:Increase network Component deletes networking component and changes the attribute of networking component.
In embodiments of the present invention, the network topological diagram generated in S130 includes multiple networking components and each group of networks The attribute of part, networking component are that the data information according to the unified format of multiple equipment, identification are set by network topology processing unit Standby type, builds the connection relation of networking component and a networking component.After generating network topological diagram, network administrator can be with According to the actual state of network, the attribute of networking component is modified accordingly and is corrected, last triggering regenerates network and opens up Figure is flutterred, the network topological diagram after optimization is ultimately formed.
The networking component of editable operation includes but is not limited on network topological diagram:Equipment, subnet, cloud etc..For just In understanding, first the attribute of different type network component is carried out it is as described below, but in the embodiment of the present invention networking component type It is not limited to be described below with the attribute of networking component.
1) device nodes editor
The configuration information of device nodes indicates as follows on network topological diagram:
The configuration information of device nodes=
Device id
Equipment interface information
Equipment routing iinformation
Device name
…}
Equipment on network topological diagram can be divided into access equipment and access constrained devices.
By editing equipment, the above-mentioned relevant information of equipment can be added;For example, the use of network processing device can be passed through Family interface (User Interface, referred to as:UI the routing iinformation of equipment) is added:Destination address, next-hop, outgoing interface, association View etc..
For another example the interface message of equipment can be added by UI:Interface name, IP address etc..
2) subnet node editor
Subnet refers to the network subnet at least being connect with an equipment interface in network topological diagram, which is numerous nets The configuration information of the set of network deviceelement, subnet node indicates as follows:
The configuration information of subnet node=
Subnet ID
Subnetwork connection relationship:Connected device interface
Secure section:Secure section (DMZ/internal/external/) belonging to subnet
The subnet network segment
Subnet title
...}
The section type of the subnet can be changed on network topological diagram, increase and delete subnet interface.
3) cloud node editor
Cloud node is the set of numerous subnet nodes, and the configuration information of cloud node indicates as follows on network topological diagram:
The configuration information of cloud node=
Cloud node ID
Cloud node gateway
Secure section:Secure section (DMZ/internal/external/) belonging to cloud
Cloud node subnet:Purpose subnet in routing
...}
The configuration information for checking cloud can be clicked on network topological diagram, include the IP address and subnet information of cloud connection, The section property of modification cloud is divided into cloud edit operation, changes the subnet of cloud.
S150, according to the network component information changed, or according to configuration information and the network component information changed, Rebuild network topological diagram.
In the S140 of the embodiment of the present invention, due to having modified the network component information in network topological diagram, network can be caused The attribute of component and/or networking component changes, which, which can trigger, rebuilds network topological diagram.If only being changed in S140 The attribute of single network component, then can rebuild network topological diagram according to the network component information changed;If S140 When the attribute of middle modification networking component, it is related to the increase of other networking components or the variation of connection relation in networking component, then The network component information for needing the configuration information in conjunction with initial acquisition and having changed, rebuilds network topological diagram.
The attribute of modification networking component is illustrated below by way of some applications, the influence to network topological diagram is above-mentioned to repair Change including but not limited to:The attribute of device nodes is changed, the attribute of subnet node is changed, changes the attribute of cloud node.These Triggering network topology processing unit is all rebuild network topological diagram by the modification of networking component attribute.
Using example one
Figure 14 is a kind of application signal of modification networking component in network topology processing method provided in an embodiment of the present invention Figure, in application example shown in Figure 14, the attribute of concrete modification device node.
More new equipment:The device name and interface message of equipment can by directly reading the configuration information of the equipment, by The interface clicking trigger of network topology processing unit is shown.For example, changing the title of the equipment on network topological diagram, then directly Connect { the device nodes in the configuration information for changing the equipment:Device name };
Increase equipment interface:Change { the device nodes in the configuration information of equipment:Equipment interface information };
Increase equipment routing iinformation:Change { the device nodes in the configuration information of equipment:Equipment routing iinformation }, such as Figure 14 It is shown, increase interface infId to accessing constrained devices on network topological diagram, then can increase link newly (i.e. in network topological diagram Side).
Using example two
Figure 15 is that the application of another modification networking component in network topology processing method provided in an embodiment of the present invention is shown It is intended to, Figure 16 is the application signal of another modification networking component in network topology processing method provided in an embodiment of the present invention In application example shown in figure, Figure 15 and Figure 16, the attribute of concrete modification subnet node.
Change the section type of the subnet:The section type of subnet can by read the equipment configuration information son Net node:Section type }, change subnetwork type { subnet node:Section type }=DMZ be { subnet node:Section type }= Internal, as shown in figure 15, subnetwork type as shown in the figure change internal by original DMZ, belong to access equipment Two section types.
Increase subnet interface:New interface is added to subnet, sub-network structures { subnet node:Subnetwork connection relationship } in can increase Add the Id of this interface, and a newly-generated side, wherein side a endpoint are { subnet node:Subnet ID }, another endpoint For { the device nodes of equipment:Device id }, and automatically updating for network topological diagram is triggered, as shown in figure 16, increase subnet ID (subnetId), increase equipment I d (devId).
Delete subnet interface:Referring to the inverse process of Figure 16, the interface for connecting new subnet, { subnet node are deleted:Subnetwork connection Relationship } in delete the Id of this interface, deletion of connectrons net while and while on another endpoint equipment, and trigger network topological diagram It automatically updates.
Using example three
Figure 17 is that the application of another modification networking component in network topology processing method provided in an embodiment of the present invention is shown It is intended to, Figure 18 is the application signal of another modification networking component in network topology processing method provided in an embodiment of the present invention In application example shown in figure, Figure 17 and Figure 18, the attribute of concrete modification cloud node.
Change the section type of cloud:The section type of cloud can be by reading { the cloud node of the configuration information of the equipment:Area Segment type }, change subnetwork type { cloud node:Section type }=external be { cloud node:Section type }=internal, As shown in figure 17, the section type of cloud as shown in the figure changes internal by original external, belongs to access equipment Two section types, and trigger automatically updating for network topological diagram.
Change the subnet of cloud:The subnet of cloud can be by reading { the cloud node of the configuration information of the equipment:Section type }, Change subnet parameter { cloud node:Cloud node subnet }=subnet_a be { cloud node:Cloud node subnet }=subnet_b, such as schemes Shown in 18, the section type of cloud as shown in the figure changes subnet_b by original subnet_a, and subnet subnet_a is disconnected with cloud, Subnet subnet_b is connect with cloud, and triggers automatically updating for network topological diagram.
It should be noted that changing network component information in the embodiment of the present invention is not limited to each of above application example description Kind of situation, as long as meet real network situation, to the modification that the network topological diagram built is made, can be carried out and Triggering network topological diagram automatically updates.
Method provided in an embodiment of the present invention can change networking component in network topological diagram according to the actual conditions of network Attribute, generate the network topological diagram of optimization, to bring more accurate network topological information, (such as examined for network management Connection breaking problem, planned network connection request realize network connecting request, verification network connection change and monitoring network connection shape State etc.) correctly basis is provided.
Figure 19 is a kind of structural schematic diagram of network topology processing unit provided in an embodiment of the present invention.The present embodiment provides Network topology processing unit realized in conjunction with by way of hardware and software.As shown in figure 19, the network of the present embodiment is opened up Flutterring processing unit may include:Acquisition module 10, normalized module 20 and constructing network topology module 30.
Wherein, acquisition module 10, for obtaining the configuration information for accessing constrained devices and access equipment in network.
Network topology processing unit provided in an embodiment of the present invention is a kind of optimal way of structure network topology, at this In inventive embodiments, the configuration information that acquisition module 10 obtains generally includes:The configuration information and access for accessing constrained devices are set Standby configuration information, i.e., device provided in an embodiment of the present invention can get institute in the device node of networking component shown in Fig. 2 There is the configuration information of type equipment.In addition, the configuration information of equipment is for example including following one or more:The routing of equipment is believed Breath, interface message, virtual LAN VLAN information, network address translation NAT information.
It should be noted that the realization method for the configuration information for accessing constrained devices is obtained in the embodiment of the present invention, it can be with It is obtained, can also be obtained by offline sampling instrument manually by network administrator;Obtain the realization of the configuration information of access equipment Mode may be used mode in the prior art and obtain.
Normalized module 20, the configuration information for being obtained to acquisition module 10 are normalized, and generate system The data information of one format;
Constructing network topology module 30, the unified formatted data information architecture for being generated according to normalized module 20 Network topological diagram.
In embodiments of the present invention, it is got in acquisition module 10 and accesses the configuration information and access equipment of constrained devices After configuration information, the configuration information got can be normalized by normalized module 20, due to not The same network equipment may be to be provided by different producers, and the difference of device type can lead to the configuration information of distinct device Data format is possible to different, and therefore, it is necessary to the contents to the above-mentioned configuration information got to arrange, i.e., at normalization Reason, it is therefore intended that generate the data information of unified format.Then, format can be unified according to this by constructing network topology module 30 Data information build network topological diagram, in practical applications, the network topology of structure can pass through the form of network topological diagram It shows, in order to which network administrator clearly knows the attribute and connection relation of each networking component in network.
It should be noted that in the embodiment of the present invention, the mode that the configuration information of acquisition is normalized is for example It, can will be corresponding in the fills to template of configuration information by the template to be handled by preconfigured template Position generates the data information based on the template style.In addition, the realization method of network topological diagram is built according to data information, Mode in the prior art may be used.
Network topology processing unit provided in an embodiment of the present invention is essentially consisted in difference in the prior art:On the one hand, The configuration information for accessing constrained devices can be got, to provide more comprehensive data letter for subsequent builds network topological diagram Breath;On the other hand, all configuration informations of acquisition are normalized, different type network equipment can be matched confidence Breath carries out taxonomic revision, obtains the data information with unified format, you can to realize access equipment that different manufacturers provide Configuration information has higher compatibility, avoids subsequently when building network topological diagram, since device type is different, matches confidence Format difference is ceased, and leads to not the data information of compatible different-format to cause to be difficult to accurately to build network topological diagram Problem.
The network topology processing unit that inventive embodiments provide is used to execute the network that embodiment illustrated in fig. 3 of the present invention provides Topological processing method has corresponding function module, and implementing principle and technical effect are similar, and details are not described herein again.
In network topology processing unit provided in an embodiment of the present invention, acquisition module 10 may include:Access equipment obtains Unit 11, the configuration information for obtaining access equipment;Constrained devices acquiring unit 12 is accessed, constrained devices are accessed for obtaining Configuration information.Wherein, matching for access constrained devices can be obtained by different modes by accessing constrained devices acquiring unit 12 Confidence ceases.
It, can be by network administrator by accessing constrained devices in a kind of optionally realization method of the embodiment of the present invention Acquiring unit 12 obtains the configuration information for accessing constrained devices manually, is network provided in an embodiment of the present invention as shown in figure 20 The access constrained devices acquiring unit 12 of a kind of structural schematic diagram of acquisition module in topological processing unit, the present embodiment can wrap It includes:
Transmission sub-unit 121, for by the fastening means with target access constrained devices, being set to the target access is limited Preparation send acquisition;
Receiving subelement 122, the configuration information for receiving the return of target access constrained devices;
Storing sub-units 123, the configuration information for storing the reception of receiving subelement 122.
In embodiments of the present invention, the configuration information for accessing constrained devices is that network administrator is obtained by accessing constrained devices It takes unit 12 to obtain manually, before obtaining configuration information manually, needs to connect network topology processing unit using fastening means With target access constrained devices, which includes but not limited to the connection work such as SSH agreements, remote terminal protocol (Telnet) Tool, then, network administrator confirm that the configuration information that obtain some target access constrained devices, transmission sub-unit 121 pass through With the fastening means of the target access constrained devices, acquisition is sent to the target access constrained devices, which uses The configuration information of its own is uploaded in indicating equipment, then, receiving subelement 122 receives the configuration information of equipment return, and The configuration information is stored by storing sub-units 123.
The network topology processing unit that inventive embodiments provide is used to execute the network that embodiment illustrated in fig. 4 of the present invention provides Topological processing method has corresponding function module, and implementing principle and technical effect are similar, and details are not described herein again.
In a kind of optionally realization method of the embodiment of the present invention, it can be passed through by access constrained devices acquiring unit 12 Off-line tools obtain the configuration information for accessing constrained devices, are at network topology provided in an embodiment of the present invention as shown in figure 21 The structural schematic diagram of another acquisition module in device is managed, the access constrained devices acquiring unit 12 of the present embodiment may include:
Subelement 124 is selected, for by the fastening means with target access constrained devices, being limited according to the target access The type of equipment selects the acquisition script or configuration file of respective type, it is each acquire script or configuration file be previously according to What the corresponding type for accessing constrained devices created;
Transmission sub-unit 121, for by selecting 124 selected acquisition script of subelement or configuration file to be visited to target Ask that constrained devices send acquisition;
Receiving subelement 122, the configuration information for receiving the return of target access constrained devices;
Storing sub-units 123, the configuration information for storing receiving unit reception.
In embodiments of the present invention, the configuration information for accessing constrained devices be access constrained devices acquiring unit 12 by from What the Line tool obtained automatically, before automatic acquisition configuration information, it is also necessary to be created by network administrator and correspond to the visit of each target It asks the off-line tools of constrained devices, for example, acquires script or configuration file.In addition, acquiring manually identical, also need to adopt With fastening means connection network topology processing unit and target access constrained devices, which includes but not limited to SSH associations The fastening means such as view, remote terminal protocol (Telnet), then, select subelement 124 according to obtain some target access by The type selection of the configuration information and the equipment that limit equipment correspondingly acquires script or configuration file, subsequent transmission sub-unit The 121 acquisition script or configuration file by having selected sends acquisition to the target access constrained devices, should be with acquisition life Order is used to indicate equipment and uploads the configuration information of its own, and then, what receiving subelement 122 received equipment return matches confidence Breath, and store the configuration information by storing sub-units 123.
The network topology processing unit that inventive embodiments provide is used to execute the network that embodiment illustrated in fig. 5 of the present invention provides Topological processing method has corresponding function module, and implementing principle and technical effect are similar, and details are not described herein again.
Optionally, Figure 22 is the structural schematic diagram of another network topology processing unit provided in an embodiment of the present invention. On the architecture basics of Figure 19 shown devices, in device provided in an embodiment of the present invention, normalized module 20 may include:
Map unit 21, for being mapped the content in configuration information according to pre-set normalization template, really Determine configuration information and normalizes the binding relationship for normalizing field in template;
Matching unit 22 captures data content corresponding with binding relationship for carrying out keyword match to configuration information;
Normalized unit 23, the data content for being captured to matching unit 22 carries out unified formatting and data are whole Reason generates the data information of unified format;Wherein, unified format with data preparation includes following one or more:Data class Type classification, data precision is unified and data merge.
It should be noted that the content for the configuration information that acquisition module 10 obtains in the embodiment of the present invention equally may refer to Fig. 7, the format for normalizing template equally may refer to Fig. 8, and the normalized module 20 of the present embodiment is according to normalization template The realization method for executing normalized is referred to above-mentioned embodiment illustrated in fig. 6, therefore details are not described herein.
The network topology processing unit that inventive embodiments provide is used to execute the network that embodiment illustrated in fig. 6 of the present invention provides Topological processing method has corresponding function module, and implementing principle and technical effect are similar, and details are not described herein again.
Optionally, in embodiments of the present invention, after acquisition module 10 gets configuration information, or in normalized mould After block 20 generates the data information of unified format, the function module of network topology processing unit can pass through different data-interfaces It imports configuration information or imports the data information of unified format, and above two lead-in mode can support batch to import.
In a kind of possible realization method of the embodiment of the present invention, can import that acquisition module 10 gets matches confidence Breath, specifically imported into normalized module 20, i.e., the configuration information of acquisition is normalized in normalized module 20 Processing generates the realization method of the data information of unified format, may include:Configuration information is imported by the first data-interface, And the configuration information of importing is normalized, generate the data information of unified format;Wherein, pass through the first data-interface The configuration information of importing is the configuration information of one or more equipment.The schematic diagram of configuration information is imported in the present embodiment to join According to Fig. 9, realization method is identical as mode shown in Fig. 9, therefore details are not described herein.
It should be noted that the configuration information imported in the present embodiment can be the configuration information of one or more equipment, The configuration information for the multiple devices that can be obtained, and led the configuration information batch of the multiple devices by the first data-interface Entering in network topology apparatus, the configuration information that the normalized module 20 of the device imports batch is normalized, The connection relation of the networking component ultimately generated and the attribute of networking component can be in the visualization models of network topology device Show network topological diagram.
In the alternatively possible realization method of the embodiment of the present invention, the generation of normalized module 20 can be imported The data information of unified format, specifically imported into constructing network topology module 30, i.e., constructing network topology module 30 is according to system The realization method of one formatted data information architecture network topological diagram may include:Unified format is imported by the second data-interface Data information, and according to the data information of the unified format of importing build network topological diagram;Wherein, pass through the second data-interface The configuration information of one or more equipment generates according to the data information of the unified format of importing.It imports and matches in the present embodiment The schematic diagram of confidence breath is referred to Figure 10, and realization method is identical as mode shown in Figure 10, therefore details are not described herein.
It should be noted that the data information of the unified format imported in the present embodiment one or more can be set according to What standby configuration information generated, you can with the configuration information of the multiple devices of acquisition, and to the configuration information of the multiple devices into Row normalized generates the data informations of multiple unified formats, then, the data information of multiple unified format is passed through the Two data-interfaces import the constructing network topology module 30 in network topology device, which unifies formats according to the multiple of importing Data information generate networking component connection relation and networking component attribute.
Further, Figure 23 is the structural schematic diagram of another network topology processing unit provided in an embodiment of the present invention. On the basis of the structure of Figure 19 shown devices, device provided in an embodiment of the present invention can also include:
Modified module 40, for the connection relation according to networking component in the virtual condition and network topological diagram of network And attribute, change the network component information in the network topological diagram;Wherein, modification network component information includes with the next item down or more :Increase networking component, delete networking component and changes the attribute of networking component.
In embodiments of the present invention, the network topological diagram that constructing network topology module 30 generates includes multiple networking components With the attribute of each networking component, networking component is the data according to the unified format of multiple equipment by network topology processing unit Information, identification equipment type build the connection relation of networking component and a networking component.After generating network topological diagram, modification Module 40 can also be modified accordingly and correct to the attribute of networking component according to the actual state of network, last triggering weight Newly-generated network topological diagram ultimately forms the network topological diagram after optimization.
The networking component of editable operation includes but is not limited on network topological diagram:Equipment, subnet, cloud etc..This reality It is identical as the content described in above-described embodiment to apply the networking component that can be changed in example and its attribute, therefore details are not described herein.
Constructing network topology module 30, is additionally operable to the network component information changed according to modified module 40, or according to The network component information that the configuration information and modified module 40 that acquisition module 10 obtains have been changed, rebuilds network topological diagram.
In the embodiment of the present invention, since modified module 40 has modified the network component information in network topological diagram, it can cause The attribute of networking component and/or networking component changes, which, which can trigger, rebuilds network topological diagram.If modified module 40 only have modified the attribute of single network component, then can rebuild network topology according to the network component information changed Figure;If modified module 40 change networking component attribute, be related to other networking components increase or networking component in connect The variation of relationship, the then network component information for needing the configuration information in conjunction with initial acquisition and having changed, rebuilds network and opens up Flutter figure.The constructing network topology module 30 of the present embodiment rebuilds the reality of network topological diagram according to the network component information of modification Existing mode, the application example being referred in above-described embodiment, therefore details are not described herein.
The network topology processing unit that inventive embodiments provide is used to execute the net that embodiment illustrated in fig. 13 of the present invention provides Network topology processing method, has corresponding function module, and implementing principle and technical effect are similar, and details are not described herein again.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be referred to by program Related hardware (such as processor) is enabled to complete, described program can be stored in computer readable storage medium, such as read-only storage Device, disk or CD etc..Optionally, all or part of step of above-described embodiment can also use one or more integrated circuits To realize.Correspondingly, the form realization of hardware may be used in each module/unit in above-described embodiment, such as passes through integrated electricity Its corresponding function is realized on road, can also be realized in the form of software function module, such as is stored in by processor execution Program/instruction in memory realizes its corresponding function.The embodiment of the present invention be not limited to any particular form hardware and The combination of software.
Although disclosed herein embodiment it is as above, the content only for ease of understanding the present invention and use Embodiment is not limited to the present invention.Technical staff in any fields of the present invention is taken off not departing from the present invention Under the premise of the spirit and scope of dew, any modification and variation, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (14)

1. a kind of network topology processing method, which is characterized in that including:
Obtain the configuration information that constrained devices and access equipment are accessed in network;
The configuration information of acquisition is normalized, the data information of unified format is generated;
According to the unified formatted data information architecture network topological diagram.
2. network topology processing method according to claim 1, which is characterized in that described to obtain the access constrained devices Configuration information, including:
By the fastening means with target access constrained devices, acquisition is sent to the target access constrained devices;
The configuration information that the target access constrained devices return is received, and stores the configuration information.
3. network topology processing method according to claim 1, which is characterized in that described to obtain the access constrained devices Configuration information, including:
By the fastening means with target access constrained devices, according to the type of the target access constrained devices, selection is corresponding The acquisition script or configuration file of type, each acquisition script or configuration file be previously according to the corresponding access by Limit the type establishment of equipment;
By selected acquisition script or configuration file acquisition is sent to the target access constrained devices;
The configuration information that the target access constrained devices return is received, and stores the configuration information.
4. network topology processing method according to claim 1, which is characterized in that the configuration information of described pair of acquisition It is normalized, generates the data information of unified format, including:
The content in the configuration information is mapped according to pre-set normalization template, determine the configuration information with The binding relationship of field is normalized in the normalization template;
Keyword match is carried out to the configuration information, captures data content corresponding with the binding relationship;
Unified formatting and data preparation are carried out to the data content of the crawl, generate the data information of the unified format; Wherein, unified format with data preparation includes following one or more:Data type classifications, data precision unify sum number According to merging.
5. network topology processing method according to claim 1, which is characterized in that the configuration information of described pair of acquisition It is normalized, generates the data information of unified format, including:
The configuration information is imported by the first data-interface, and the configuration information of importing is normalized, it is raw At the data information of the unified format;Wherein, by first data-interface import the configuration information be one or The configuration information of multiple devices.
6. network topology processing method according to claim 1, which is characterized in that described according to the unified formatted data Information architecture network topological diagram, including:
The data information of the unified format, and the data of the unified format according to importing are imported by the second data-interface Network topological diagram described in information architecture;Wherein, the data information of the unified format imported by second data-interface According to one or more equipment configuration information generate.
7. according to network topology processing method according to any one of claims 1 to 6, which is characterized in that the network topology Figure includes:The attribute of multiple networking components and each networking component;The method further includes:
According to the connection relation and attribute of networking component in the virtual condition of network and the network topological diagram, described in modification Network component information in network topological diagram;Wherein, the modification network component information includes following one or more:Increase net Network component deletes networking component and changes the attribute of networking component;
According to the network component information changed, or according to the configuration information and the network component information changed, Rebuild network topological diagram.
8. a kind of network topology processing unit, which is characterized in that described device includes:
Acquisition module, for obtaining the configuration information for accessing constrained devices and access equipment in network;
Normalized module, the configuration information for being obtained to the acquisition module are normalized, and generate system The data information of one format;
Constructing network topology module, the unified formatted data information architecture for being generated according to the normalized module Network topological diagram.
9. network topology processing unit according to claim 8, which is characterized in that the acquisition module includes:
Access equipment acquiring unit, the configuration information for obtaining the access equipment;
Constrained devices acquiring unit is accessed, for obtaining the configuration information for accessing constrained devices;Wherein, described access is limited Equipment acquiring unit includes:
Transmission sub-unit, for by the fastening means with target access constrained devices, being sent out to the target access constrained devices Send acquisition;
Receiving subelement, the configuration information returned for receiving the target access constrained devices;
Storing sub-units, the configuration information received for storing the receiving subelement.
10. network topology processing unit according to claim 8, which is characterized in that the acquisition module includes:
Access equipment acquiring unit, the configuration information for obtaining the access equipment;
Constrained devices acquiring unit is accessed, for obtaining the configuration information for accessing constrained devices;Wherein, described access is limited Equipment acquiring unit includes:
Subelement is selected, is used for by the fastening means with target access constrained devices, according to the target access constrained devices Type, select the acquisition script or configuration file of respective type, each acquisition script or configuration file for previously according to What the corresponding type for accessing constrained devices created;
Transmission sub-unit, for by the selected acquisition script of the selection subelement or configuration file to the target access Constrained devices send acquisition;
Receiving subelement, the configuration information returned for receiving the target access constrained devices;
Storing sub-units, the configuration information received for storing the receiving subelement.
11. network topology processing unit according to claim 8, which is characterized in that the normalized module includes:
Map unit is determined for being mapped the content in the configuration information according to pre-set normalization template The configuration information and the binding relationship that field is normalized in the normalization template;
Matching unit is captured for carrying out keyword match to the configuration information in data corresponding with the binding relationship Hold;
Normalized unit, the data content for being captured to the matching unit carry out unified formatting and data preparation, Generate the data information of the unified format;Wherein, unified format with data preparation includes following one or more:Number According to classification of type, data precision is unified and data merge.
12. network topology processing unit according to claim 8, which is characterized in that the normalized module is to obtaining The configuration information taken is normalized, and generates the data information of unified format, including:
The configuration information is imported by the first data-interface, and the configuration information of importing is normalized, it is raw At the data information of the unified format;Wherein, by first data-interface import the configuration information be one or The configuration information of multiple devices.
13. network topology processing unit according to claim 8, which is characterized in that the constructing network topology module root According to the unified formatted data information architecture network topological diagram, including:
The data information of the unified format, and the data of the unified format according to importing are imported by the second data-interface Network topological diagram described in information architecture;Wherein, the data information of the unified format imported by second data-interface According to one or more equipment configuration information generate.
14. the network topology processing unit according to any one of claim 8~13, which is characterized in that the network is opened up Flutterring figure includes:The attribute of multiple networking components and each networking component;Described device further includes:
Modified module, for according to the connection relation of networking component in the virtual condition of network and the network topological diagram and Attribute changes the network component information in the network topological diagram;Wherein, the modification network component information includes with the next item down Or it is multinomial:Increase networking component, delete networking component and changes the attribute of networking component;
The constructing network topology module, is additionally operable to the network component information changed according to the modified module, or according to The network component information that the configuration information and the modified module that the acquisition module obtains have been changed, rebuilds network Topological diagram.
CN201710089842.2A 2017-02-20 2017-02-20 A kind of network topology treating method and apparatus Pending CN108462587A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710089842.2A CN108462587A (en) 2017-02-20 2017-02-20 A kind of network topology treating method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710089842.2A CN108462587A (en) 2017-02-20 2017-02-20 A kind of network topology treating method and apparatus

Publications (1)

Publication Number Publication Date
CN108462587A true CN108462587A (en) 2018-08-28

Family

ID=63229111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710089842.2A Pending CN108462587A (en) 2017-02-20 2017-02-20 A kind of network topology treating method and apparatus

Country Status (1)

Country Link
CN (1) CN108462587A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109672562A (en) * 2018-12-19 2019-04-23 迈普通信技术股份有限公司 Data processing method, device, electronic equipment and storage medium
CN109936474A (en) * 2018-12-28 2019-06-25 上海云轴信息科技有限公司 A kind of method and apparatus generating network topological diagram
CN110380902A (en) * 2019-07-19 2019-10-25 腾讯科技(深圳)有限公司 Topology generation method, apparatus, electronic equipment and storage medium
CN110611591A (en) * 2019-09-18 2019-12-24 重庆特斯联智慧科技股份有限公司 Network topology establishing method and device
CN110752948A (en) * 2019-10-18 2020-02-04 北京浪潮数据技术有限公司 Topological state display method, system, equipment and computer storage medium
CN111565124A (en) * 2020-07-14 2020-08-21 北京东方通软件有限公司 Topology analysis method and device
CN111970275A (en) * 2020-08-14 2020-11-20 中国工商银行股份有限公司 Data processing method, device, computing equipment and medium
CN114531335A (en) * 2020-11-23 2022-05-24 大唐移动通信设备有限公司 Method, equipment and device for detecting management information base data
CN114615066A (en) * 2022-03-17 2022-06-10 浙江网商银行股份有限公司 Target path determination method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101304337A (en) * 2008-07-09 2008-11-12 杭州华三通信技术有限公司 Method and apparatus for generating access topology of service VPN
CN103036692A (en) * 2011-09-29 2013-04-10 中国移动通信集团江苏有限公司 Method and device for generating network topologies aimed at IT supporting networks
US20130133023A1 (en) * 2011-11-21 2013-05-23 Ori BURSTEIN Dynamically mapping network trust relationships
CN104243193A (en) * 2013-06-18 2014-12-24 阿里巴巴集团控股有限公司 Network topology dynamic allocation and display method and device
CN105187259A (en) * 2015-10-10 2015-12-23 上海斐讯数据通信技术有限公司 Route management system and method generating topological graph on the basis of GNS tool

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101304337A (en) * 2008-07-09 2008-11-12 杭州华三通信技术有限公司 Method and apparatus for generating access topology of service VPN
CN103036692A (en) * 2011-09-29 2013-04-10 中国移动通信集团江苏有限公司 Method and device for generating network topologies aimed at IT supporting networks
US20130133023A1 (en) * 2011-11-21 2013-05-23 Ori BURSTEIN Dynamically mapping network trust relationships
CN104243193A (en) * 2013-06-18 2014-12-24 阿里巴巴集团控股有限公司 Network topology dynamic allocation and display method and device
CN105187259A (en) * 2015-10-10 2015-12-23 上海斐讯数据通信技术有限公司 Route management system and method generating topological graph on the basis of GNS tool

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109672562A (en) * 2018-12-19 2019-04-23 迈普通信技术股份有限公司 Data processing method, device, electronic equipment and storage medium
CN109672562B (en) * 2018-12-19 2022-02-22 迈普通信技术股份有限公司 Data processing method and device, electronic equipment and storage medium
CN109936474A (en) * 2018-12-28 2019-06-25 上海云轴信息科技有限公司 A kind of method and apparatus generating network topological diagram
CN109936474B (en) * 2018-12-28 2022-03-18 上海云轴信息科技有限公司 Method and equipment for generating network topological graph
CN110380902B (en) * 2019-07-19 2022-02-15 腾讯科技(深圳)有限公司 Topological relation generation method and device, electronic equipment and storage medium
CN110380902A (en) * 2019-07-19 2019-10-25 腾讯科技(深圳)有限公司 Topology generation method, apparatus, electronic equipment and storage medium
CN110611591A (en) * 2019-09-18 2019-12-24 重庆特斯联智慧科技股份有限公司 Network topology establishing method and device
CN110752948A (en) * 2019-10-18 2020-02-04 北京浪潮数据技术有限公司 Topological state display method, system, equipment and computer storage medium
CN110752948B (en) * 2019-10-18 2022-08-16 北京浪潮数据技术有限公司 Topological state display method, system, equipment and computer storage medium
CN111565124B (en) * 2020-07-14 2020-10-27 北京东方通软件有限公司 Topology analysis method and device
CN111565124A (en) * 2020-07-14 2020-08-21 北京东方通软件有限公司 Topology analysis method and device
CN111970275A (en) * 2020-08-14 2020-11-20 中国工商银行股份有限公司 Data processing method, device, computing equipment and medium
CN114531335A (en) * 2020-11-23 2022-05-24 大唐移动通信设备有限公司 Method, equipment and device for detecting management information base data
CN114531335B (en) * 2020-11-23 2023-04-11 大唐移动通信设备有限公司 Method, equipment and device for detecting management information base data
CN114615066A (en) * 2022-03-17 2022-06-10 浙江网商银行股份有限公司 Target path determination method and device

Similar Documents

Publication Publication Date Title
CN108462587A (en) A kind of network topology treating method and apparatus
CN109150640A (en) A kind of method for discovering network topology and system based on double layer network agreement
CN102546251B (en) Hybrid-detection-technology-based network topology discovery and automatic topology method and system
US20020141378A1 (en) Methods, apparatuses and systems facilitating deployment, support and configuration of network routing policies
WO2020207051A1 (en) Method and apparatus for network verification
CN102307129A (en) Real-time network element topology discovery method for IP (internet protocol) metropolitan area network
JP2011146920A (en) Apparatus, program and method for generating topology tree
US20140317313A1 (en) Nat sub-topology management server
CN101873230A (en) Method and device for discovering physical network topology
CN107104809B (en) A kind of method and system generating network topological diagram
CN104219153B (en) Network topology self-discovery method and apparatus based on MAC addresses beam search
CN107113191A (en) Inline data bag in data center's structural network is followed the trail of
CN109672562A (en) Data processing method, device, electronic equipment and storage medium
CN110086640A (en) The enabled method and apparatus of business
CN110855457A (en) Method and device for generating network model and configuring network
US20090207756A1 (en) Network configuration management method
CN115314392A (en) Automatic network topology generation system and method based on network equipment resource discovery algorithm
CN110661629B (en) Network topology discovery method and device
US20230344755A1 (en) Determining flow paths of packets through nodes of a network
CN102811144B (en) NMS topological discovery performance testing system and method
CN103957119A (en) Method for managing network devices through MIB file and browser
US11438237B1 (en) Systems and methods for determining physical links between network devices
CN115297007A (en) Construction method and system of network space asset information map for cooperative network
US10860409B2 (en) Tracelog isolation of failed sessions at scale
CN106612207A (en) Method and device for managing and controlling RSTP (Rapid Spanning Tree Protocol) information of Ethernet equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180828