CN105187259B - A kind of route management system and method generating topological diagram based on GNS tool - Google Patents

A kind of route management system and method generating topological diagram based on GNS tool Download PDF

Info

Publication number
CN105187259B
CN105187259B CN201510650966.4A CN201510650966A CN105187259B CN 105187259 B CN105187259 B CN 105187259B CN 201510650966 A CN201510650966 A CN 201510650966A CN 105187259 B CN105187259 B CN 105187259B
Authority
CN
China
Prior art keywords
tool
topological diagram
gns
router
routing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510650966.4A
Other languages
Chinese (zh)
Other versions
CN105187259A (en
Inventor
谷颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huzhou YingLie Intellectual Property Operation Co.,Ltd.
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510650966.4A priority Critical patent/CN105187259B/en
Publication of CN105187259A publication Critical patent/CN105187259A/en
Application granted granted Critical
Publication of CN105187259B publication Critical patent/CN105187259B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of route management system that topological diagram is generated based on GNS tool, including interchanger, routing management tool and GNS tool, the routing table information and database information that routing management tool passes through the router in acquisition interchanger, analyze the interface of router, next hop address, and IP address information, by calling GNS tool to draw network topological diagram, and interface message and IP address are marked on network topological diagram, and network topological diagram is automatically updated when topology information changes, after generating network topological diagram, routing management tool connects other routers by network topological diagram, modification configuration and preservation.The present invention automatically generates the openable network topology of GNS tool, and update at any time according to the routing iinformation of router in network, therefore, user can go to hold whole network from the overall situation, can modify the configuration for deleting corresponding router, can also rapidly find the problem.

Description

A kind of route management system and method generating topological diagram based on GNS tool
Technical field
The present invention relates to network technique fields, and in particular to a kind of routing pipe that topological diagram is generated based on GNS tool Manage system and method.
Background technique
The universal of network brings ubiquitous convenience, stays indoors, can the knowing and doing world.Once however network Go wrong, it usually needs manually go to check and solve, investigation get up it is very difficult, it is inefficient, especially if internet The networks such as electric business go wrong, if solve not in time, will lead to massive losses, then how loss is reduced to it is minimum, with The most fast time went where the problem of discovering problems and solve them, being most critical.
Complicated network is checked if there is problem using manual type, is not only difficult to quickly position, and And overlong time is spent, it will be a great calamity for the user that network relies on.Therefore quickly positioning, quickly solves the problems, such as It is for key.Although many catenets can all have topological diagram, over time, configuration always some variations, such as Fruit is checked further according to initial topological diagram, and be bound to complications.
Summary of the invention
The purpose of the present invention is to provide a kind of route management systems for generating topological diagram based on GNS tool and method to change Into the defect of the prior art.
The embodiment of the present invention provides a kind of route management system that topological diagram is generated based on GNS tool, which is characterized in that packet Include interchanger, routing management tool and GNS tool, wherein the routing management tool is connected to the interchanger and described GNS tool, the routing management tool pass through the routing table information and database information for obtaining the router in the interchanger, Interface, next hop address and the IP address information for analyzing the router are opened up by calling the GNS tool to draw network Figure is flutterred, and marks interface message and IP address on the network topological diagram, and automatically update institute when topology information changes Network topological diagram is stated, after generating the network topological diagram, the routing management tool connects other by the network topological diagram Router, modification configuration and preservation.
Preferably, the routing management tool includes data obtaining module, topological drafting module and configuration management module, The topology drafting module is connected to the data obtaining module, and the configuration management module is connected to the topology and draws mould Block, wherein the data obtaining module is used to collect the routing table information and the institute in the router using multithreading Database information is stated, after being matched by regular expression, is saved according to established form;The topology drafting module is according to institute The information saved according to the established form that data obtaining module obtains is stated, the GNS tool is called, by the letter of the preservation Breath is converted into the network topological diagram, and the interface message and the IP address is marked on the network topological diagram, and root It is automatically saved according to the time;And the configuration management module is used for after network topological diagram generation, is opened up in the network Figure interface is flutterred, router icon is double-clicked, the router is managed for configuration.
Preferably, virtual road is arranged by the port of shared real router in the configuration management module in simulator By the port of device, the function of Lai Shixian configuration management.
Preferably, the routing management tool further includes serial communication modular, for connect the routing management tool with The interchanger so that the routing table information of the router in the data obtaining module mobile phone searching interchanger and The database information.
Preferably, the routing management tool further includes GNS tool interface, for connecting the routing management tool and institute GNS tool is stated, the routing management tool draws the network topological diagram by calling the GNS tool interface.
The embodiment of the present invention also provides a kind of route management method that topological diagram is generated based on GNS tool, which is characterized in that It include: the routing table information for collecting the router in interchanger using multithreading by the data obtaining module of routing management tool And database information, after being matched by regular expression, saved according to established form;By opening up for the routing management tool The information saved according to established form that drafting module is obtained according to the data obtaining module is flutterred, GNS tool is called, will save Information be converted into network topological diagram, and interface message and IP address are marked on the network topological diagram, and according to the time from It is dynamic to save;And by the routing management tool configuration management module the network topological diagram generation after, in the net Network topological diagram interface double-clicks router icon, the router is managed for configuration.
Preferably, the data obtaining module collects the routing of the router by calling serial communication modular Table information and the database information.
Preferably, the topological drafting module is by calling GNS tool interface come the drafting network topological diagram.
Preferably, virtual road is arranged by the port of shared real router in the configuration management module in simulator By the port of device, the function of Lai Shixian configuration management.
The route management system and method provided by the invention that topological diagram is generated based on GNS tool, is routed according in network The routing iinformation of device automatically generates the openable network topology of GNS tool, and updates at any time, and therefore, user can be from the overall situation It goes to hold whole network, the configuration for deleting corresponding router can be modified, can also rapidly be found the problem.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the structure for the route management system that topological diagram is generated based on GNS tool that an embodiment of the present invention provides Schematic diagram.
Fig. 2 is the knot for the route management system that topological diagram is generated based on GNS tool that another embodiment of the present invention provides Structure schematic diagram.
Fig. 3 show the schematic diagram of the network topological diagram generated in one embodiment of the invention.
Fig. 4 is the process for the route management method that topological diagram is generated based on GNS tool that an embodiment of the present invention provides Schematic diagram.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Fig. 1 is the structure for the route management system that topological diagram is generated based on GNS tool that an embodiment of the present invention provides Schematic diagram.As shown in Figure 1, including interchanger 110, routing management based on the route management system 100 that GNS tool generates topological diagram Tool 120 and GNS tool 130.Wherein, routing management tool 120 is connected to interchanger 110 and GNS tool 130.
In an embodiment of the present invention, the routing table that routing management tool 120 passes through the router in acquisition interchanger 110 Information and database information analyze interface, next hop address and the IP address information of router, by calling GNS tool 130 draw network topological diagram, and interface message and IP address are marked on network topological diagram, and certainly when topology information changes It is dynamic to update network topological diagram.Preferably, after generating network topological diagram, routing management tool 120 connects it by network topological diagram His router, modification configuration and saves.
Fig. 2 is the knot for the route management system that topological diagram is generated based on GNS tool that another embodiment of the present invention provides Structure schematic diagram.The element of identical label function having the same in Fig. 1 and Fig. 2, details are not described herein.As shown in Fig. 2, routing pipe Science and engineering tool 120 includes data obtaining module 121, topological drafting module 122 and configuration management module 123.Wherein, topology is drawn Module 122 is connected to data obtaining module 121, and configuration management module 123 is connected to topological drafting module 122.
In an embodiment of the present invention, data obtaining module 121 is used for using multithreading come the routing in collect & route device Table information and database information after being matched by regular expression, are saved according to established form.Table 1 show the present invention Preservation format in one embodiment, as shown in table 1, router A and router B are direct-connected, and router B and router C are direct-connected, interface Information and IP are that topology drafting is ready.
Table 1
Router R1 Interface message Interface IP Direct-connected state Interface message Interface IP Router R2
Router R2 Interface message Interface IP Direct-connected state Interface message Interface IP Router R3
Router R1 Interface message Interface IP Direct-connected state Interface message Interface IP Router R3
In an embodiment of the present invention, topological drafting module 122 according to data obtaining module 121 obtain according to both fixing The information that formula saves calls GNS tool, converts network topological diagram for the information of preservation, and mark and connect on network topological diagram Message breath and IP address, and automatically saved according to the time.Fig. 3 show the network topological diagram generated in one embodiment of the invention Schematic diagram.
In an embodiment of the present invention, configuration management module 123 is used for after network topological diagram generation, in network topology Figure interface double-clicks router icon, router is managed for configuration, for example, adding, being deleted or modified.Specifically, configuration pipe Module 123 is managed by the port of shared real router, the port of virtual router is set in simulator, to realize configuration pipe The function of reason.
Preferably, in an embodiment of the present invention, routing management tool 120 further includes that serial communication modular (does not show in figure Out), for link road by management tool 120 and interchanger 110, so that data obtaining module 121 collects the road in interchanger 110 By the routing table information and database information of device.
Preferably, in an embodiment of the present invention, routing management tool 120 further includes that GNS tool interface (does not show in figure Out), for link road by management tool 120 and GNS tool 130, routing management tool 120 by calling GNS tool interface come Draw network topological diagram.
Advantageously, the route management system provided by the invention that topological diagram is generated based on GNS tool, is routed according in network The routing iinformation of device automatically generates the openable network topology of GNS tool, and updates at any time, and therefore, user can be from the overall situation It goes to hold whole network, the configuration for deleting corresponding router can be modified, can also rapidly be found the problem.
Referring to fig. 4, Fig. 4 is the routing management side that topological diagram is generated based on GNS tool that an embodiment of the present invention provides The flow diagram of method, the route management method 400 the following steps are included:
Step S402: interchanger 110 is collected using multithreading by the data obtaining module 121 of routing management tool 120 In router routing table information and database information, after being matched by regular expression, saved according to established form.
Specifically, in an embodiment of the present invention, data obtaining module 121 collects road by calling serial communication modular By the routing table information and database information of device.
Step S404: it is obtained by the topological drafting module 122 of routing management tool 120 according to data obtaining module 121 According to the information that established form saves, GNS tool 130 is called, converts network topological diagram for the information of preservation, and open up in network It flutters and marks interface message and IP address on figure, and automatically saved according to the time.
Specifically, in an embodiment of the present invention, topological drafting module 122 draws net by calling GNS tool interface Network topological diagram.
Step S406: by the configuration management module 123 of routing management tool 120 after network topological diagram generation, in net Network topological diagram interface double-clicks router icon, router is managed for configuration.
Specifically, in an embodiment of the present invention, configuration management module 123 by share real router port, The port of virtual router, the function of Lai Shixian configuration management are set in simulator.
Advantageously, the route management method provided by the invention that topological diagram is generated based on GNS tool, is routed according in network The routing iinformation of device automatically generates the openable network topology of GNS tool, and updates at any time, and therefore, user can be from the overall situation It goes to hold whole network, the configuration for deleting corresponding router can be modified, can also rapidly be found the problem.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.

Claims (6)

1. a kind of route management system for generating topological diagram based on GNS tool, which is characterized in that including interchanger, routing management Tool and GNS tool, wherein the routing management tool is connected to the interchanger and the GNS tool, the routing pipe Science and engineering tool analyzes connecing for the router by the routing table information and database information of the router in the acquisition interchanger Mouth, next hop address and IP address information by calling the GNS tool to draw network topological diagram, and are opened up in the network It flutters and marks interface message and IP address on figure, and automatically update the network topological diagram when topology information changes, generate institute After stating network topological diagram, the routing management tool connects other routers, modification configuration and guarantor by the network topological diagram It deposits;
The routing management tool includes that data obtaining module, topological drafting module and configuration management module, the topology are drawn Molding block is connected to the data obtaining module, and the configuration management module is connected to the topological drafting module, wherein
The data obtaining module is used to collect the routing table information and the number in the router using multithreading According to library information, after being matched by regular expression, saved according to established form;
The information saved according to the established form that the topology drafting module is obtained according to the data obtaining module, is called The information of the preservation is converted the network topological diagram by the GNS tool, and on the network topological diagram described in mark Interface message and the IP address, and automatically saved according to the time;And the configuration management module in the network for opening up It flutters after figure generation, at the network topological diagram interface, double-clicks router icon, the router is managed for configuration;
The port of virtual router is arranged by the port of shared real router in the configuration management module in simulator, To realize the function of configuration management.
2. the route management system of topological diagram is generated based on GNS tool as described in claim 1, which is characterized in that the road It further include serial communication modular by management tool, for connecting the routing management tool and the interchanger, so that the letter The routing table information of the router in breath acquisition block search interchanger and the database information.
3. the route management system of topological diagram is generated based on GNS tool as described in claim 1, which is characterized in that the road It further include GNS tool interface by management tool, for connecting the routing management tool and the GNS tool, the routing pipe Science and engineering tool draws the network topological diagram by calling the GNS tool interface.
4. a kind of route management method for generating topological diagram based on GNS tool characterized by comprising
The routing table information of the router in interchanger is collected using multithreading by the data obtaining module of routing management tool And database information, after being matched by regular expression, saved according to established form;
It is protected according to what the data obtaining module obtained according to established form by the topological drafting module of the routing management tool The information deposited calls GNS tool, converts network topological diagram for the information of preservation, and mark and connect on the network topological diagram Message breath and IP address, and automatically saved according to the time;And
By the configuration management module of the routing management tool after network topological diagram generation, in the network topological diagram Interface double-clicks router icon, the router is managed for configuration;
The port of virtual router is arranged by the port of shared real router in the configuration management module in simulator, To realize the function of configuration management.
5. the route management method of topological diagram is generated based on GNS tool as claimed in claim 4, which is characterized in that the letter Breath acquisition module collects the routing table information of the router by calling serial communication modular and the database is believed Breath.
6. the route management method of topological diagram is generated based on GNS tool as claimed in claim 4, which is characterized in that described to open up Drafting module is flutterred by calling GNS tool interface come the drafting network topological diagram.
CN201510650966.4A 2015-10-10 2015-10-10 A kind of route management system and method generating topological diagram based on GNS tool Active CN105187259B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510650966.4A CN105187259B (en) 2015-10-10 2015-10-10 A kind of route management system and method generating topological diagram based on GNS tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510650966.4A CN105187259B (en) 2015-10-10 2015-10-10 A kind of route management system and method generating topological diagram based on GNS tool

Publications (2)

Publication Number Publication Date
CN105187259A CN105187259A (en) 2015-12-23
CN105187259B true CN105187259B (en) 2019-07-19

Family

ID=54909113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510650966.4A Active CN105187259B (en) 2015-10-10 2015-10-10 A kind of route management system and method generating topological diagram based on GNS tool

Country Status (1)

Country Link
CN (1) CN105187259B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108462587A (en) * 2017-02-20 2018-08-28 中兴通讯股份有限公司 A kind of network topology treating method and apparatus
CN108696380B (en) * 2017-04-11 2021-05-25 深圳市江机实业有限公司 Automatic node role display method for broadband carrier routing node topological graph
CN107612714B (en) * 2017-08-23 2020-10-13 武汉虹信通信技术有限责任公司 Automatic topological structure implementation method and system
CN107888419A (en) * 2017-11-14 2018-04-06 广东电网有限责任公司电力科学研究院 A kind of switch network Topology g eneration method and device
CN110890981B (en) * 2019-11-22 2022-09-20 苏州浪潮智能科技有限公司 System for configuring network equipment and method for realizing network equipment configuration
CN112804095B (en) * 2020-12-31 2022-07-12 迈普通信技术股份有限公司 Port information management method and device and electronic equipment
CN114244763B (en) * 2021-12-20 2023-11-17 中电福富信息科技有限公司 Dynamic network topology management method and system based on rule engine

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247278A (en) * 2007-08-06 2008-08-20 北京高信达网络科技有限公司 Routing monitoring apparatus
CN102571417A (en) * 2011-12-15 2012-07-11 江苏亿通高科技股份有限公司 Method for realizing dynamic topology
CN103117880A (en) * 2013-02-22 2013-05-22 浪潮电子信息产业股份有限公司 Web technology based network topological generation method
CN103490926A (en) * 2013-09-18 2014-01-01 湖南蚁坊软件有限公司 Method for automatically acquiring network topology

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247278A (en) * 2007-08-06 2008-08-20 北京高信达网络科技有限公司 Routing monitoring apparatus
CN102571417A (en) * 2011-12-15 2012-07-11 江苏亿通高科技股份有限公司 Method for realizing dynamic topology
CN103117880A (en) * 2013-02-22 2013-05-22 浪潮电子信息产业股份有限公司 Web technology based network topological generation method
CN103490926A (en) * 2013-09-18 2014-01-01 湖南蚁坊软件有限公司 Method for automatically acquiring network topology

Also Published As

Publication number Publication date
CN105187259A (en) 2015-12-23

Similar Documents

Publication Publication Date Title
CN105187259B (en) A kind of route management system and method generating topological diagram based on GNS tool
US9473373B2 (en) Method and system for storing packet flows
CN106664261B (en) A kind of methods, devices and systems configuring flow entry
CN104518967B (en) Method for routing, equipment and system
CN107925613A (en) It is used for the methods, devices and systems to E-Packet in business function chain SFC
CN107707474B (en) Route distribution method and system
CN103929327B (en) A kind of reverse calculation algorithmses of webmaster to mixed networking business
US7894369B2 (en) Network physical connection inference for IP tunnels
CN104579978B (en) A kind of dynamic network Datalink Layer Topology Discovery method
CN102271084A (en) Technology for locating communication paths of network host
CN114640557B (en) Gateway and cloud network system
CN112492056B (en) IP address use analysis method and device
CN105743687B (en) Method and device for judging node fault
CN105207909B (en) A kind of method and network equipment sending information
CN105681125A (en) Method for counting traffic of virtual machine extranet of cloud platform
CN110098988A (en) For handling the method and system of Internet Protocol packet
Burchard et al. Wireless mesh networking protocol for sustained throughput in edge computing
CN107528794B (en) Data processing method and device
CN105100300B (en) Method and device for converting network address into NAT
CN101938420B (en) Cluster topological collection method and device
JP2011091536A (en) Device and method for estimating topology
CN104995879A (en) Communication system, communication method, control device, and control device control method and program
CN105207904A (en) Message processing method, device and router
CN115361296B (en) Network topology calculation method based on manual intervention in operation and maintenance system
CN101146035B (en) Label switching path routing search method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201130

Address after: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou Jiji Intellectual Property Operation Co., Ltd

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201216

Address after: 8319 Yanshan Road, Bengbu City, Anhui Province

Patentee after: Bengbu Lichao Information Technology Co.,Ltd.

Address before: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou Jiji Intellectual Property Operation Co., Ltd

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210310

Address after: 313000 room 1019, Xintiandi commercial office, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee after: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Address before: 8319 Yanshan Road, Bengbu City, Anhui Province

Patentee before: Bengbu Lichao Information Technology Co.,Ltd.

TR01 Transfer of patent right