CN105187259A - Route management system and method generating topological graph on the basis of GNS tool - Google Patents

Route management system and method generating topological graph on the basis of GNS tool Download PDF

Info

Publication number
CN105187259A
CN105187259A CN201510650966.4A CN201510650966A CN105187259A CN 105187259 A CN105187259 A CN 105187259A CN 201510650966 A CN201510650966 A CN 201510650966A CN 105187259 A CN105187259 A CN 105187259A
Authority
CN
China
Prior art keywords
instrument
gns
topological diagram
router
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510650966.4A
Other languages
Chinese (zh)
Other versions
CN105187259B (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 invention provides a route management system generating a topological graph on the basis of a GNS tool. The route management system comprises a switch, a route management tool, and the GNS tool. The route management tool analyzes the interface, the next address, and the IP address information of a router by acquiring routing table information and database information of the router in a switch, draws a network topological graph by calling the GNS tool, marks interface information and IP addresses on the network topological graph, and automatically updates the network topological graph when topological information changes. After generating the network topological graph, the route management tool is connected with another router through the route management tool in order to modify and save configuration. According to the route information of the router in the network, the route management system automatically generates and momentarily updates a network topology that can be opened by the GNS tool. Therefore, a user may grasp the whole network globally, may modify and delete the configuration of the corresponding router, and rapidly discovers problems.

Description

A kind of route management system and method generating topological diagram based on GNS instrument
Technical field
The present invention relates to networking technology area, and in particular to a kind of route management system and the method that generate topological diagram based on GNS instrument.
Background technology
The universal of network brings ubiquitous facility, home-confined, just can the knowing and doing world.But once network goes wrong, usual needs manually go investigate and solve, investigation is got up very difficult, and efficiency is not high, if particularly electricity business in the Internet waits network to go wrong, if solve not in time, can massive losses be caused, so how loss is reduced to minimum, go to pinpoint the problems with the fastest time, dealing with problems, is the problem place of most critical.
For the network of complexity, if there is problem, adopting manual type to investigate, be not only difficult to quick position, and spended time is long, for the user that network relies on, will be a great calamity.Therefore quick position, quick solution problem is key.Although a lot of catenet all can have topological diagram, As time goes on, configuration is some change always, if investigated according to initial topological diagram again, and certainly will be tortuous.
Summary of the invention
The object of the present invention is to provide a kind of route management system based on GNS instrument generation topological diagram and method to improve the defect of prior art.
The embodiment of the present invention provides a kind of route management system generating topological diagram based on GNS instrument, it is characterized in that, comprise switch, routing management instrument and GNS instrument, wherein, described routing management instrument is connected to described switch and described GNS instrument, described routing management instrument is by obtaining routing table information and the database information of the router in described switch, analyze the interface of described router, next hop address, and IP address information, network topological diagram is drawn by calling described GNS instrument, and on described network topological diagram, mark interface message and IP address, and automatically upgrade described network topological diagram when topology information changes, after generating described network topological diagram, described routing management instrument connects other routers by described network topological diagram, amendment configuration and preservation.
Preferably, described routing management instrument comprises data obtaining module, topological drafting module and Configuration Manager, described topological drafting module is connected to described data obtaining module, described Configuration Manager is connected to described topological drafting module, wherein, described data obtaining module, for adopting multithreading to collect described routing table information in described router and described database information, after being mated, is preserved according to established form by regular expression; The information of preserving according to described established form that described topological drafting module obtains according to described data obtaining module, call described GNS instrument, be described network topological diagram by the convert information of described preservation, and on described network topological diagram, mark described interface message and described IP address, and automatically preserve according to the time; And described Configuration Manager is used for after described network topological diagram generates, at described network topological diagram interface, double-clicks router icon, described router is managed for configuration.
Preferably, described Configuration Manager, by sharing the port of real router, arranges the port of virtual router, realizes the function of configuration management in simulator.
Preferably, described routing management instrument also comprises serial communication modular, for connecting described routing management instrument and described switch, to make the described routing table information of the described router in described data obtaining module mobile phone searching switch and described database information.
Preferably, described routing management instrument also comprises GNS tool interface, and for connecting described routing management instrument and described GNS instrument, described routing management instrument draws described network topological diagram by calling described GNS tool interface.
The embodiment of the present invention also provides a kind of route management method generating topological diagram based on GNS instrument, it is characterized in that, comprise: adopt multithreading to collect routing table information and the database information of the router in switch by the data obtaining module of routing management instrument, after being mated by regular expression, preserve according to established form; The information of preserving according to established form obtained according to described data obtaining module by the topological drafting module of described routing management instrument, call GNS instrument, be network topological diagram by the convert information of preservation, and on described network topological diagram, mark interface message and IP address, and automatically preserve according to the time; And by the Configuration Manager of described routing management instrument after described network topological diagram generates, at described network topological diagram interface, double-click router icon, described router is managed for configuration.
Preferably, described data obtaining module collects the described routing table information of described router and described database information by calling serial communication modular.
Preferably, described topological drafting module carrys out described drafting network topological diagram by calling GNS tool interface.
Preferably, described Configuration Manager, by sharing the port of real router, arranges the port of virtual router, realizes the function of configuration management in simulator.
Route management system and the method generating topological diagram based on GNS instrument provided by the invention, according to the routing iinformation of router in network, the openable network topology of automatic generation GNS instrument, and upgrade at any time, therefore, user can go to hold whole network from the overall situation, can revise the configuration of deleting corresponding router, also can pinpoint the problems very rapidly.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The structural representation generating the route management system of topological diagram based on GNS instrument that Fig. 1 provides for an embodiment of the present invention.
The structural representation generating the route management system of topological diagram based on GNS instrument that Fig. 2 provides for another execution mode of the present invention.
Figure 3 shows that the schematic diagram of the network topological diagram generated in one embodiment of the invention.
The schematic flow sheet generating the route management method of topological diagram based on GNS instrument that Fig. 4 provides for an embodiment of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The structural representation generating the route management system of topological diagram based on GNS instrument that Fig. 1 provides for an embodiment of the present invention.As shown in Figure 1, the route management system 100 based on GNS instrument generation topological diagram comprises switch 110, routing management instrument 120 and GNS instrument 130.Wherein, routing management instrument 120 is connected to switch 110 and GNS instrument 130.
In an embodiment of the present invention, routing management instrument 120 is by obtaining routing table information and the database information of the router in switch 110, analyze the interface of router, next hop address and IP address information, network topological diagram is drawn by calling GNS instrument 130, and on network topological diagram, mark interface message and IP address, and automatically upgrade network topological diagram when topology information changes.Preferably, after generating network topological diagram, routing management instrument 120 connects other routers by network topological diagram, amendment configuration and preservation.
The structural representation generating the route management system of topological diagram based on GNS instrument that Fig. 2 provides for another execution mode of the present invention.In Fig. 1 with Fig. 2, the element of identical label has identical function, does not repeat them here.As shown in Figure 2, routing management instrument 120 comprises data obtaining module 121, topological drafting module 122 and Configuration Manager 123.Wherein, topological drafting module 122 is connected to data obtaining module 121, and Configuration Manager 123 is connected to topological drafting module 122.
In an embodiment of the present invention, data obtaining module 121 comes routing table information in collect & route device and database information for adopting multithreading, after being mated, preserves according to established form by regular expression.Table 1 is depicted as the preservation form in one embodiment of the invention, as shown in table 1, router-A and router B direct-connected, router B and router C is direct-connected, interface message and IP be all topology draw 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, the information of preserving according to established form that topology drafting module 122 obtains according to data obtaining module 121, call GNS instrument, be network topological diagram by the convert information of preservation, and on network topological diagram, mark interface message and IP address, and automatically preserve according to the time.Figure 3 shows that the schematic diagram of the network topological diagram generated in one embodiment of the invention.
In an embodiment of the present invention, Configuration Manager 123 is for after network topological diagram generation, and at network topological diagram interface, double-click router icon, routers is managed for configuration, and such as, adds, deletes or amendment.Particularly, Configuration Manager 123, by sharing the port of real router, arranges the port of virtual router, realizes the function of configuration management in simulator.
Preferably, in an embodiment of the present invention, routing management instrument 120 also comprises serial communication modular (not shown), for connection route management tool 120 and switch 110, with the routing table information and the database information that make data obtaining module 121 collect the router in switch 110.
Preferably, in an embodiment of the present invention, routing management instrument 120 also comprises GNS tool interface (not shown), and for connection route management tool 120 and GNS instrument 130, routing management instrument 120 draws network topological diagram by calling GNS tool interface.
Advantageously, the route management system generating topological diagram based on GNS instrument provided by the invention, according to the routing iinformation of router in network, the openable network topology of automatic generation GNS instrument, and upgrade at any time, therefore, user can go to hold whole network from the overall situation, the configuration of deleting corresponding router can be revised, also can pinpoint the problems very rapidly.
See the schematic flow sheet generating the route management method of topological diagram based on GNS instrument that Fig. 4, Fig. 4 provide for an embodiment of the present invention, this route management method 400 comprises the following steps:
Step S402: adopt multithreading to collect routing table information and the database information of the router in switch 110 by the data obtaining module 121 of routing management instrument 120, after being mated by regular expression, preserve according to established form.
Particularly, in an embodiment of the present invention, data obtaining module 121 carrys out routing table information and the database information of collect & route device by calling serial communication modular.
Step S404: the information of preserving according to established form obtained according to data obtaining module 121 by the topological drafting module 122 of routing management instrument 120, call GNS instrument 130, be network topological diagram by the convert information of preservation, and on network topological diagram, mark interface message and IP address, and automatically preserve according to the time.
Particularly, in an embodiment of the present invention, topological drafting module 122 draws network topological diagram by calling GNS tool interface.
Step S406: by the Configuration Manager 123 of routing management instrument 120 after network topological diagram generates, at network topological diagram interface, double-click router icon, routers is managed for configuration.
Particularly, in an embodiment of the present invention, Configuration Manager 123, by sharing the port of real router, arranges the port of virtual router, realizes the function of configuration management in simulator.
Advantageously, the route management method generating topological diagram based on GNS instrument provided by the invention, according to the routing iinformation of router in network, the openable network topology of automatic generation GNS instrument, and upgrade at any time, therefore, user can go to hold whole network from the overall situation, the configuration of deleting corresponding router can be revised, also can pinpoint the problems very rapidly.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. one kind generates the route management system of topological diagram based on GNS instrument, it is characterized in that, comprise switch, routing management instrument and GNS instrument, wherein, described routing management instrument is connected to described switch and described GNS instrument, described routing management instrument is by obtaining routing table information and the database information of the router in described switch, analyze the interface of described router, next hop address, and IP address information, network topological diagram is drawn by calling described GNS instrument, and on described network topological diagram, mark interface message and IP address, and automatically upgrade described network topological diagram when topology information changes, after generating described network topological diagram, described routing management instrument connects other routers by described network topological diagram, amendment configuration and preservation.
2. the route management system of topological diagram is generated as claimed in claim 1 based on GNS instrument, it is characterized in that, described routing management instrument comprises data obtaining module, topological drafting module and Configuration Manager, described topological drafting module is connected to described data obtaining module, described Configuration Manager is connected to described topological drafting module, wherein
Described data obtaining module, for adopting multithreading to collect described routing table information in described router and described database information, after being mated, is preserved according to established form by regular expression;
The information of preserving according to described established form that described topological drafting module obtains according to described data obtaining module, call described GNS instrument, be described network topological diagram by the convert information of described preservation, and on described network topological diagram, mark described interface message and described IP address, and automatically preserve according to the time; And
Described Configuration Manager is used for after described network topological diagram generates, and at described network topological diagram interface, double-clicks router icon, is managed for configuration described router.
3. the route management system of topological diagram is generated as claimed in claim 2 based on GNS instrument, it is characterized in that, described Configuration Manager, by sharing the port of real router, arranges the port of virtual router, realizes the function of configuration management in simulator.
4. the route management system of topological diagram is generated as claimed in claim 2 based on GNS instrument, it is characterized in that, described routing management instrument also comprises serial communication modular, for connecting described routing management instrument and described switch, search for the described routing table information of the described router in switch and described database information to make described data obtaining module.
5. the route management system of topological diagram is generated as claimed in claim 2 based on GNS instrument, it is characterized in that, described routing management instrument also comprises GNS tool interface, for connecting described routing management instrument and described GNS instrument, described routing management instrument draws described network topological diagram by calling described GNS tool interface.
6. generate a route management method for topological diagram based on GNS instrument, it is characterized in that, comprising:
Adopt multithreading to collect routing table information and the database information of the router in switch by the data obtaining module of routing management instrument, after being mated by regular expression, preserve according to established form;
The information of preserving according to established form obtained according to described data obtaining module by the topological drafting module of described routing management instrument, call GNS instrument, be network topological diagram by the convert information of preservation, and on described network topological diagram, mark interface message and IP address, and automatically preserve according to the time; And
By the Configuration Manager of described routing management instrument after described network topological diagram generates, at described network topological diagram interface, double-click router icon, described router is managed for configuration.
7. generate the route management method of topological diagram as claimed in claim 6 based on GNS instrument, it is characterized in that, described data obtaining module collects the described routing table information of described router and described database information by calling serial communication modular.
8. generate the route management method of topological diagram as claimed in claim 6 based on GNS instrument, it is characterized in that, described topological drafting module carrys out described drafting network topological diagram by calling GNS tool interface.
9. the route management method of topological diagram is generated as claimed in claim 6 based on GNS instrument, it is characterized in that, described Configuration Manager, by sharing the port of real router, arranges the port of virtual router, realizes the function of configuration management in simulator.
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 true CN105187259A (en) 2015-12-23
CN105187259B 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)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107612714A (en) * 2017-08-23 2018-01-19 武汉虹信通信技术有限责任公司 A kind of automated topology structure realization method and system
CN107888419A (en) * 2017-11-14 2018-04-06 广东电网有限责任公司电力科学研究院 A kind of switch network Topology g eneration method and device
CN108462587A (en) * 2017-02-20 2018-08-28 中兴通讯股份有限公司 A kind of network topology treating method and apparatus
CN108696380A (en) * 2017-04-11 2018-10-23 深圳市江机实业有限公司 Node role's automatic displaying method of bandwidth carrier routing node topological diagram
CN110890981A (en) * 2019-11-22 2020-03-17 苏州浪潮智能科技有限公司 System for configuring network equipment and method for realizing network equipment configuration
CN112804095A (en) * 2020-12-31 2021-05-14 迈普通信技术股份有限公司 Port information management method and device and electronic equipment
CN114244763A (en) * 2021-12-20 2022-03-25 中电福富信息科技有限公司 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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王宏群等: "仿真软件在网络工程实验教学中的应用", 《安徽警官职业学院学报》 *

Cited By (10)

* 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
CN108696380A (en) * 2017-04-11 2018-10-23 深圳市江机实业有限公司 Node role's automatic displaying method of bandwidth carrier routing node topological diagram
CN108696380B (en) * 2017-04-11 2021-05-25 深圳市江机实业有限公司 Automatic node role display method for broadband carrier routing node topological graph
CN107612714A (en) * 2017-08-23 2018-01-19 武汉虹信通信技术有限责任公司 A kind of automated topology structure realization method and system
CN107888419A (en) * 2017-11-14 2018-04-06 广东电网有限责任公司电力科学研究院 A kind of switch network Topology g eneration method and device
CN110890981A (en) * 2019-11-22 2020-03-17 苏州浪潮智能科技有限公司 System for configuring network equipment and method for realizing network equipment configuration
CN110890981B (en) * 2019-11-22 2022-09-20 苏州浪潮智能科技有限公司 System for configuring network equipment and method for realizing network equipment configuration
CN112804095A (en) * 2020-12-31 2021-05-14 迈普通信技术股份有限公司 Port information management method and device and electronic equipment
CN114244763A (en) * 2021-12-20 2022-03-25 中电福富信息科技有限公司 Dynamic network topology management method and system based on rule engine
CN114244763B (en) * 2021-12-20 2023-11-17 中电福富信息科技有限公司 Dynamic network topology management method and system based on rule engine

Also Published As

Publication number Publication date
CN105187259B (en) 2019-07-19

Similar Documents

Publication Publication Date Title
CN105187259A (en) Route management system and method generating topological graph on the basis of GNS tool
US10771285B2 (en) Method and apparatus for mapping network data models
US10680973B2 (en) Systems and methods for intelligent application grouping
CN103516610A (en) Service processing method, device and system
Alsudais et al. Hey network, can you understand me?
CN112492056B (en) IP address use analysis method and device
CN105207909B (en) A kind of method and network equipment sending information
CN111224901B (en) Data association method, device and distributed system
CN104486229A (en) Method and equipment for realizing VPN message forwarding
CN114024859B (en) Network topology generation method, storage medium and terminal based on equipment and link discovery
CN110855459B (en) Network configuration method, device and system
CN102938711B (en) Network interface information configuring methods and the network equipment
CN101345657A (en) Method and system for cluster management of multiple network elements based on simple network management protocol
CN105471742A (en) Message processing method and message processing equipment
CN106027321A (en) Method and system for automatically generating network topology
US11736338B2 (en) Network management apparatus, method, and program
CN105207904A (en) Message processing method, device and router
CN113556414B (en) Method, gateway device and storage medium for inter-network communication
CN112866011B (en) Method, device, equipment and medium for determining network topology structure
CN112087322B (en) Method, device and equipment for configuring basic information of network element and readable storage medium
CN103916278A (en) Method and device for unified management based on LAN and SAN
CN104994137B (en) A kind of method of network readezvous point agency
CN104838624A (en) Method, apparatus and system for controlling forwarding of service data in virtual network
CN103457864A (en) Method, device and network equipment for processing next-hop of routing
CN112165430A (en) Data routing method, device, equipment and storage medium

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
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.