CN107888419A - A kind of switch network Topology g eneration method and device - Google Patents
A kind of switch network Topology g eneration method and device Download PDFInfo
- Publication number
- CN107888419A CN107888419A CN201711122339.9A CN201711122339A CN107888419A CN 107888419 A CN107888419 A CN 107888419A CN 201711122339 A CN201711122339 A CN 201711122339A CN 107888419 A CN107888419 A CN 107888419A
- Authority
- CN
- China
- Prior art keywords
- network
- switch
- respective switch
- preset
- configuration 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/12—Discovery or management of network topologies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention discloses a kind of switch network Topology g eneration method.After the present invention gets the configuration information of network physical port corresponding to respective switch by preset procotol, it is scanned and screened by regular expression technology, the configuration information of the different-format of different interchangers can be converted to unified form, so as to quickly generate topology diagram, and because the configuration information of all interchangers is all converted into unified form, so the phenomenon of " illegal external connection " or different places of safety " transregional interconnection " can be found easily, solve and be currently configured check device and be difficult to effective acquisition configuration information, topology diagram can not be quickly generated, it is difficult to the technical problem for finding " illegal external connection " or different places of safety " transregional interconnection ".
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of switch network Topology g eneration method and device.
Background technology
Compared to playing other industrial control systems or an information system, the characteristics of electric power monitoring system possesses itself:Power monitoring system
The scale screen of system is big, switch device is numerous, and kind of interface varies, and configuration information is difficult to efficient quick obtaining;Network connects
Complexity is connect, network topology structure is complicated, it is difficult to efficiently produces topological structure, it is difficult to find " illegal external connection " or different places of safety
" transregional interconnection " problem;
Network topology generation is sent on condition that needing correctly to obtain the global configuration letter of each interchanger accessed
Breath, VLAN configuration informations and mac address table.
The product that national exchange configuration at present is verified is less, and the form of the configuration information of interchanger in itself is shown also not to the utmost
Identical, because the interchanger of different model provides the content format difference of above- mentioned information, typesetting content and function title are different, institute
The configuration information read in configuration checking system is each inconsistent, so as to lead to not generate network topological diagram.
Therefore, it result in and be currently configured check device and be difficult to effective acquisition configuration information, topological structure can not be quickly generated
Figure, it is difficult to find the technical problem of " illegal external connection " or different places of safety " transregional interconnection ".
The content of the invention
The invention provides a kind of switch network Topology g eneration method and device, solves and is currently configured check device hardly possible
With effective acquisition configuration information, topology diagram can not be quickly generated, it is difficult to find " illegal external connection " or different places of safety " across
The technical problem of area's interconnection ".
The invention provides a kind of switch network Topology g eneration method, including:
S1:Switch network to be detected is accessed according to preset interchanger network segment IP;
S2:The device name of respective switch in switch network to be detected, each is obtained by preset procotol
The configuration information of network physical port corresponding to the MAC Address and respective switch of interchanger, and pass through regular expression technology
Network physical port matches somebody with somebody corresponding to the MAC Address and respective switch of device name, respective switch to respective switch
Confidence breath is scanned and screened, and the selection result is stored with the form of preset network sweep list of devices;
S3:Network topological information relation is generated according to the network sweep list of devices of each switch network to be detected
Table, and switch network topological diagram is generated according to network topological information relation table.
Preferably, step S2 is specifically included:
S201:The device name of respective switch in switch network to be detected, each is obtained by preset procotol
The configuration information of network physical port corresponding to the MAC Address and respective switch of individual interchanger, and respective switch is corresponding
The configuration information of network physical port be put into interim txt texts;
S202:According to preset character feature by regular expression technology to the respective switch pair in interim txt texts
The configuration information for the network physical port answered carries out character match, by network physical port corresponding to the respective switch after screening
Configuration information stored in the form of preset interchanger VLAN configuration information identification tables;
S203:Interchanger VLAN configuration informations corresponding to the device name of respective switch and respective switch are identified into table
It is associated and is stored with the form of preset network sweep list of devices.
Preferably, step S203 is specifically included:
Interchanger VLAN configuration informations identification table corresponding to the device name of respective switch and respective switch is carried out
Associate and stored with the form of preset network sweep list of devices, with the device name of respective switch and each exchange
Filename of the IP address of machine as each network sweep list of devices.
Preferably, it is characterised in that preset procotol specifically includes:Console agreements, SSH agreements or Telnet associations
View.
Preferably, preset character feature specifically includes:VLAN ID, VLAN Name, VLAN Type, VLAN Ports and
VLAN Status。
The invention provides a kind of switch network Topology g eneration device, including:
AM access module, for accessing switch network to be detected according to preset interchanger network segment IP;
Scan module, the equipment for obtaining respective switch in switch network to be detected by preset procotol
Title, respective switch MAC Address and respective switch corresponding to network physical port configuration information, and pass through canonical table
Up to formula technology to network physical corresponding to the device name of respective switch, the MAC Address of respective switch and respective switch
The configuration information of port is scanned and screened, and the selection result is deposited with the form of preset network sweep list of devices
Storage;
Topography module, for generating network topology according to the network sweep list of devices of each switch network to be detected
Information relationship table, and switch network topological diagram is generated according to network topological information relation table.
Preferably, scan module specifically includes:
Submodule is configured, for obtaining setting for respective switch in switch network to be detected by preset procotol
Standby title, respective switch MAC Address and respective switch corresponding to network physical port configuration information, and by each friendship
The configuration information of network physical port is put into interim txt texts corresponding to changing planes;
Screen submodule, for according to preset character feature by regular expression technology to each in interim txt texts
The configuration information of network physical port corresponding to individual interchanger carries out character match, by net corresponding to the respective switch after screening
The configuration information of network physical port is stored in the form of preset interchanger VLAN configuration information identification tables;
Sub-module stored, for interchanger VLAN corresponding to the device name of respective switch and respective switch to be configured
Information identification table is associated and stored with the form of preset network sweep list of devices.
Preferably, sub-module stored is specifically used for:
Interchanger VLAN configuration informations identification table corresponding to the device name of respective switch and respective switch is carried out
Associate and stored with the form of preset network sweep list of devices, with the device name of respective switch and each exchange
Filename of the IP address of machine as each network sweep list of devices.
Preferably, it is characterised in that preset procotol specifically includes:Console agreements, SSH agreements or Telnet associations
View.
Preferably, preset character feature specifically includes:VLAN ID, VLAN Name, VLAN Type, VLAN Ports and
VLAN Status。
As can be seen from the above technical solutions, the present invention has advantages below:
The invention provides a kind of switch network Topology g eneration method, including:S1:According to preset interchanger network segment IP
Access switch network to be detected;S2:Respective switch in switch network to be detected is obtained by preset procotol
Device name, respective switch MAC Address and respective switch corresponding to network physical port configuration information, and pass through
Regular expression technology is to net corresponding to the device name of respective switch, the MAC Address of respective switch and respective switch
The configuration information of network physical port is scanned and screened, and the selection result is entered with the form of preset network sweep list of devices
Row storage;S3:Network topological information relation table is generated according to the network sweep list of devices of each switch network to be detected,
And switch network topological diagram is generated according to network topological information relation table.
After the present invention gets the configuration information of network physical port corresponding to respective switch by preset procotol,
It is scanned and screened by regular expression technology, the configuration information of the different-format of different interchangers can be changed
For unified form, so as to quickly generate topology diagram, and because the configuration information of all interchangers is all converted into
Unified form, it is possible to find the phenomenon of " illegal external connection " or different places of safety " transregional interconnection " easily, solve current
Configuration check device be difficult to effective acquisition configuration information, topology diagram can not be quickly generated, it is difficult to find " illegal external connection " or
The technical problem of person's difference place of safety " transregional interconnection ".
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also
To obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of one embodiment of switch network Topology g eneration method provided by the invention;
Fig. 2 is that a kind of flow of another embodiment of switch network Topology g eneration method provided by the invention is illustrated
Figure;
Fig. 3 is the invention provides a kind of structural representation of one embodiment of switch network Topology g eneration device.
Embodiment
The embodiments of the invention provide a kind of switch network Topology g eneration method and device, solve and be currently configured verification
Device is difficult to effective acquisition configuration information, can not quickly generate topology diagram, it is difficult to finds " illegal external connection " or not Tongan City
The technical problem of whole district's " transregional interconnection ".
To enable goal of the invention, feature, the advantage of the present invention more obvious and understandable, below in conjunction with the present invention
Accompanying drawing in embodiment, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that disclosed below
Embodiment be only part of the embodiment of the present invention, and not all embodiment.Based on the embodiment in the present invention, this area
All other embodiment that those of ordinary skill is obtained under the premise of creative work is not made, belongs to protection of the present invention
Scope.
Referring to Fig. 1, the embodiments of the invention provide a kind of one embodiment of switch network Topology g eneration method, bag
Include:
Step 101:Switch network to be detected is accessed according to preset interchanger network segment IP;
It should be noted that the preset interchanger network segment is what network manager pre-set before detection.
Step 102:By preset procotol obtain the device name of respective switch in switch network to be detected,
The configuration information of network physical port corresponding to the MAC Address and respective switch of respective switch, and pass through regular expression
Technology is to network physical port corresponding to the device name of respective switch, the MAC Address of respective switch and respective switch
Configuration information be scanned and screen, the selection result is stored with the form of preset network sweep list of devices;
It should be noted that the content format of the configuration information got from various interchangers is different, typesetting content and work(
Energy title is different, therefore can not directly pass through these information and generate network topological diagram;
Configuration information can be then scanned and be screened by the condition pre-set, obtain by regular expression technology
The information for wherein needing to obtain is taken, and is stored according to the form of preset network sweep list of devices, ensure that all friendships
Change planes the form uniformity and accuracy of configuration information.
Step 103:Network topological information is generated according to the network sweep list of devices of each switch network to be detected
Relation table, and switch network topological diagram is generated according to network topological information relation table.
It should be noted that have form consistent and accurate interchanger configuration information, then can be according to each exchange
The relation of machine carries out being integrally formed network topological diagram.
The present embodiment gets the configuration information of network physical port corresponding to respective switch by preset procotol
Afterwards, it is scanned and screened by regular expression technology, can be by the configuration information of the different-format of different interchangers
Unified form is converted to, so as to quickly generate topology diagram, and because the configuration information of all interchangers all turns
Change unified form into, it is possible to find the phenomenon of " illegal external connection " or different places of safety " transregional interconnection " easily, solve
It is currently configured check device and is difficult to effective acquisition configuration information, topology diagram can not be quickly generated, it is difficult to finds " illegal outer
Connection " or the technical problem of different places of safety " transregional interconnection ".
Be a kind of one embodiment of switch network Topology g eneration method provided in an embodiment of the present invention above, below for
A kind of another embodiment of switch network Topology g eneration method provided in an embodiment of the present invention.
Referring to Fig. 2, the embodiments of the invention provide a kind of another embodiment of switch network Topology g eneration method,
Including:
Step 201:Switch network to be detected is accessed according to preset interchanger network segment IP;
Step 202:By preset procotol obtain the device name of respective switch in switch network to be detected,
The configuration information of network physical port corresponding to the MAC Address and respective switch of respective switch, and by respective switch pair
The configuration information for the network physical port answered is put into interim txt texts;
It should be noted that, it is necessary to create after getting the configuration information of network physical port corresponding to respective switch
One interim txt text, these information is put into wherein, in order to the use of regular expression technology.
Step 203:According to preset character feature by regular expression technology to the respective switch in interim txt texts
The configuration information of corresponding network physical port carries out character match, by network physical end corresponding to the respective switch after screening
The configuration information of mouth is stored in the form of preset interchanger VLAN configuration information identification tables;
It should be noted that regular expression, also known as regular expression, the entitled Regular Expression of English,
Regex, regexp or RE are often abbreviated as in code, is a concept of computer science;
Regular expression is usually used to retrieval, replaces those texts for meeting some pattern (rule);
Regular expression is that (including general character (for example, letter between a to z) and spcial character (are referred to as to character string
" metacharacter ")) operation a kind of logical formula, exactly with some specific characters and these specific characters defined in advance
Combination, form one " regular character string ", this " regular character string " is used for expressing a kind of filter logic to character string;
Regular expression is a kind of Text Mode, and pattern describes the one or more characters to be matched when searching for text
String;
So needing to pre-set character feature, text is screened according to character feature, obtains the friendship of different-format
Keyword in the configuration information of network physical port corresponding to changing planes, is screened and copies to preset interchanger
In VLAN configuration informations identification table, stored in the form of unified;
The form of interchanger VLAN configuration informations identification table is as follows:
The interchanger VLAN configuration informations of table 1. identify table
Step 204:Interchanger VLAN configuration informations corresponding to the device name of respective switch and respective switch are known
Other table is associated and stored with the form of preset network sweep list of devices, with the device name of respective switch and
Filename of the IP address of respective switch as each network sweep list of devices;
It should be noted that the device name of each interchanger is entered with corresponding interchanger VLAN configuration informations identification table
Row association, and both are stored with the form of unified preset network sweep list of devices, in order to manage;
Each network sweep list of devices is used as using the device name of respective switch and the IP address of respective switch
Filename is to be checked or carried out in order to facilitate operator when user's assets compare to be easier to search and call.
Step 205:Network topological information is generated according to the network sweep list of devices of each switch network to be detected
Relation table, and switch network topological diagram is generated according to network topological information relation table.
It should be noted that have form consistent and accurate interchanger configuration information, then can be according to each exchange
The relation of machine carries out being integrally formed network topological diagram.
The form of network topological information relation table is as follows:
The network topological information relation table of table 2.
Further, it is characterised in that preset procotol specifically includes:Console agreements, SSH agreements or Telnet
Agreement.
It should be noted that preset procotol includes but is not limited to:Console agreements, SSH agreements or Telnet associations
View;
The configuration information of interchanger can be obtained in practical application using other procotols as needed.
Further, preset character feature specifically includes:VLAN ID、VLAN Name、VLAN Type、VLAN Ports
With VLAN Status.
It should be noted that preset character feature includes but is not limited to:VLAN ID、VLAN Name、VLAN Type、
VLAN Ports and VLAN Status.
More character features can be selected to carry out screening keyword as needed in practical application.
The present embodiment gets the configuration information of network physical port corresponding to respective switch by preset procotol
Afterwards, it is scanned and screened by preset character string and regular expression technology, can be by the not apposition of different interchangers
The configuration information of formula is converted to unified form so that interchanger configuration information energy of the configuration inspection instrument to various model brands
Enough automatic identifications, reduce artificial intervention during network is scanned, so as to quickly generate topology diagram, improve
The efficiency of operation;
And because the configuration information of all interchangers is all converted into unified form, it is possible to finds easily " illegal outer
Connection " or the phenomenon of different places of safety " transregional interconnection ";
Solve and be currently configured check device and be difficult to effective acquisition configuration information, topology diagram can not be quickly generated, it is difficult
To find the technical problem of " illegal external connection " or different places of safety " transregional interconnection ".
It is a kind of another embodiment of switch network Topology g eneration method provided in an embodiment of the present invention above, below
For for a kind of one embodiment of switch network Topology g eneration device provided in an embodiment of the present invention.
Referring to Fig. 3, the embodiments of the invention provide a kind of one embodiment of switch network Topology g eneration device.
AM access module 301, for accessing switch network to be detected according to preset interchanger network segment IP;
Scan module 302, for obtaining respective switch in switch network to be detected by preset procotol
Device name, respective switch MAC Address and respective switch corresponding to network physical port configuration information, and by just
Then expression formula technology is to network corresponding to the device name of respective switch, the MAC Address of respective switch and respective switch
The configuration information of physical port is scanned and screened, and the selection result is carried out with the form of preset network sweep list of devices
Storage;
Topography module 303, for generating network according to the network sweep list of devices of each switch network to be detected
Topology information relation table, and switch network topological diagram is generated according to network topological information relation table.
Further, scan module 302 specifically includes:
Submodule 3021 is configured, for obtaining respective switch in switch network to be detected by preset procotol
Device name, respective switch MAC Address and respective switch corresponding to network physical port configuration information, and will be each
The configuration information of network physical port corresponding to individual interchanger is put into interim txt texts;
Screen submodule 3022, for according to preset character feature by regular expression technology in interim txt texts
Respective switch corresponding to the configuration information of network physical port carry out character match, the respective switch after screening is corresponding
The configuration information of network physical port stored in the form of preset interchanger VLAN configuration information identification tables;
Sub-module stored 3023, for by interchanger VLAN corresponding to the device name of respective switch and respective switch
Configuration information identification table is associated and stored with the form of preset network sweep list of devices.
Further, sub-module stored 3023 is specifically used for:
Interchanger VLAN configuration informations identification table corresponding to the device name of respective switch and respective switch is carried out
Associate and stored with the form of preset network sweep list of devices, with the device name of respective switch and each exchange
Filename of the IP address of machine as each network sweep list of devices.
Further, it is characterised in that preset procotol specifically includes:Console agreements, SSH agreements or Telnet
Agreement.
Further, preset character feature specifically includes:VLAN ID、VLAN Name、VLAN Type、VLAN Ports
With VLAN Status.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and module, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the module
Division, only a kind of division of logic function, can there is other dividing mode, such as multiple module or components when actually realizing
Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or
The mutual coupling discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or module
Close or communicate to connect, can be electrical, mechanical or other forms.
The module illustrated as separating component can be or may not be physically separate, show as module
The part shown can be or may not be physical module, you can with positioned at a place, or can also be distributed to multiple
On mixed-media network modules mixed-media.Some or all of module therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional module in each embodiment of the present invention can be integrated in a processing module, can also
That modules are individually physically present, can also two or more modules be integrated in a module.Above-mentioned integrated mould
Block can both be realized in the form of hardware, can also be realized in the form of software function module.
If the integrated module is realized in the form of software function module and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
Described above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before
Embodiment is stated the present invention is described in detail, it will be understood by those within the art that:It still can be to preceding
State the technical scheme described in each embodiment to modify, or equivalent substitution is carried out to which part technical characteristic;And these
Modification is replaced, and the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (10)
- A kind of 1. switch network Topology g eneration method, it is characterised in that including:S1:Switch network to be detected is accessed according to preset interchanger network segment IP;S2:The device name of respective switch, each exchange in switch network to be detected are obtained by preset procotol The configuration information of network physical port corresponding to the MAC Address and respective switch of machine, and by regular expression technology to each Confidence is matched somebody with somebody in the device name of individual interchanger, the MAC Address of respective switch and network physical port corresponding to respective switch Breath is scanned and screened, and the selection result is stored with the form of preset network sweep list of devices;S3:Network topological information relation table is generated according to the network sweep list of devices of each switch network to be detected, and Switch network topological diagram is generated according to network topological information relation table.
- 2. a kind of switch network Topology g eneration method according to claim 1, it is characterised in that step S2 is specifically wrapped Include:S201:The device name of respective switch, Ge Gejiao in switch network to be detected are obtained by preset procotol The configuration information of network physical port corresponding to the MAC Address and respective switch changed planes, and by net corresponding to respective switch The configuration information of network physical port is put into interim txt texts;S202:According to preset character feature by regular expression technology to corresponding to the respective switch in interim txt texts The configuration information of network physical port carries out character match, by matching somebody with somebody for network physical port corresponding to the respective switch after screening Confidence breath is stored in the form of preset interchanger VLAN configuration information identification tables;S203:Interchanger VLAN configuration informations identification table corresponding to the device name of respective switch and respective switch is carried out Associate and stored with the form of preset network sweep list of devices.
- 3. a kind of switch network Topology g eneration method according to claim 2, it is characterised in that step S203 is specifically wrapped Include:Interchanger VLAN configuration informations identification table corresponding to the device name of respective switch and respective switch is associated And stored with the form of preset network sweep list of devices, with the device name of respective switch and respective switch Filename of the IP address as each network sweep list of devices.
- A kind of 4. switch network Topology g eneration method according to any one in claim 1 or 2, it is characterised in that Preset procotol specifically includes:Console agreements, SSH agreements or Telnet agreements.
- A kind of 5. switch network Topology g eneration method according to claim 2, it is characterised in that preset character feature tool Body includes:VLAN ID, VLAN Name, VLAN Type, VLAN Ports and VLAN Status.
- A kind of 6. switch network Topology g eneration device, it is characterised in that including:AM access module, for accessing switch network to be detected according to preset interchanger network segment IP;Scan module, for obtaining the implementor name of respective switch in switch network to be detected by preset procotol Claim, the configuration information of network physical port corresponding to the MAC Address and respective switch of respective switch, and pass through regular expressions Formula technology is to network physical end corresponding to the device name of respective switch, the MAC Address of respective switch and respective switch The configuration information of mouth is scanned and screened, and the selection result is stored with the form of preset network sweep list of devices;Topography module, for generating network topological information according to the network sweep list of devices of each switch network to be detected Relation table, and switch network topological diagram is generated according to network topological information relation table.
- 7. a kind of switch network Topology g eneration device according to claim 6, it is characterised in that scan module specifically wraps Include:Submodule is configured, for obtaining the implementor name of respective switch in switch network to be detected by preset procotol Claim, the configuration information of network physical port corresponding to the MAC Address and respective switch of respective switch, and by respective switch The configuration information of corresponding network physical port is put into interim txt texts;Screen submodule, for according to preset character feature by regular expression technology to each friendship in interim txt texts The configuration information of network physical port carries out character match corresponding to changing planes, by network thing corresponding to the respective switch after screening The configuration information of reason port is stored in the form of preset interchanger VLAN configuration information identification tables;Sub-module stored, for by interchanger VLAN configuration informations corresponding to the device name of respective switch and respective switch Identification table is associated and stored with the form of preset network sweep list of devices.
- 8. a kind of switch network Topology g eneration device according to claim 7, it is characterised in that sub-module stored is specific For:Interchanger VLAN configuration informations identification table corresponding to the device name of respective switch and respective switch is associated And stored with the form of preset network sweep list of devices, with the device name of respective switch and respective switch Filename of the IP address as each network sweep list of devices.
- A kind of 9. switch network Topology g eneration device according to any one in claim 6 or 7, it is characterised in that Preset procotol specifically includes:Console agreements, SSH agreements or Telnet agreements.
- A kind of 10. switch network Topology g eneration device according to claim 7, it is characterised in that preset character feature Specifically include:VLAN ID, VLAN Name, VLAN Type, VLAN Ports and VLAN Status.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711122339.9A CN107888419A (en) | 2017-11-14 | 2017-11-14 | A kind of switch network Topology g eneration method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711122339.9A CN107888419A (en) | 2017-11-14 | 2017-11-14 | A kind of switch network Topology g eneration method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107888419A true CN107888419A (en) | 2018-04-06 |
Family
ID=61776585
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711122339.9A Pending CN107888419A (en) | 2017-11-14 | 2017-11-14 | A kind of switch network Topology g eneration method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107888419A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110266519A (en) * | 2019-05-23 | 2019-09-20 | 国网山东省电力公司临沂供电公司 | A kind of method, system, storage medium and equipment perceiving substation network topology |
CN110401560A (en) * | 2019-06-13 | 2019-11-01 | 深圳市遐域技术有限公司 | A kind of industrial switch exchange method and system |
CN112073381A (en) * | 2020-08-13 | 2020-12-11 | 中国电子科技集团公司第三十研究所 | Detection method for connecting internet equipment to access intranet |
CN113673966A (en) * | 2021-09-03 | 2021-11-19 | 海尔数字科技(青岛)有限公司 | Information security construction scheme generation method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103856579A (en) * | 2014-03-03 | 2014-06-11 | 国家电网公司 | Dynamic recognition method for intelligent substation network device topology based on MAC address matching |
US20150200803A1 (en) * | 2014-01-15 | 2015-07-16 | Dell Products L.P. | System and method for network topology management |
CN105187259A (en) * | 2015-10-10 | 2015-12-23 | 上海斐讯数据通信技术有限公司 | Route management system and method generating topological graph on the basis of GNS tool |
CN105847023A (en) * | 2015-01-14 | 2016-08-10 | 北京神州泰岳信息安全技术有限公司 | Service system network topology relationship obtaining method and device |
CN107124319A (en) * | 2017-06-14 | 2017-09-01 | 贵州电网有限责任公司 | A kind of topological Dynamic Recognition device of the intelligent substation network equipment matched based on MAC Address |
-
2017
- 2017-11-14 CN CN201711122339.9A patent/CN107888419A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150200803A1 (en) * | 2014-01-15 | 2015-07-16 | Dell Products L.P. | System and method for network topology management |
CN103856579A (en) * | 2014-03-03 | 2014-06-11 | 国家电网公司 | Dynamic recognition method for intelligent substation network device topology based on MAC address matching |
CN105847023A (en) * | 2015-01-14 | 2016-08-10 | 北京神州泰岳信息安全技术有限公司 | Service system network topology relationship obtaining 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 |
CN107124319A (en) * | 2017-06-14 | 2017-09-01 | 贵州电网有限责任公司 | A kind of topological Dynamic Recognition device of the intelligent substation network equipment matched based on MAC Address |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110266519A (en) * | 2019-05-23 | 2019-09-20 | 国网山东省电力公司临沂供电公司 | A kind of method, system, storage medium and equipment perceiving substation network topology |
CN110401560A (en) * | 2019-06-13 | 2019-11-01 | 深圳市遐域技术有限公司 | A kind of industrial switch exchange method and system |
CN112073381A (en) * | 2020-08-13 | 2020-12-11 | 中国电子科技集团公司第三十研究所 | Detection method for connecting internet equipment to access intranet |
CN112073381B (en) * | 2020-08-13 | 2021-12-17 | 中国电子科技集团公司第三十研究所 | Detection method for connecting internet equipment to access intranet |
CN113673966A (en) * | 2021-09-03 | 2021-11-19 | 海尔数字科技(青岛)有限公司 | Information security construction scheme generation method and device, electronic equipment and storage medium |
CN113673966B (en) * | 2021-09-03 | 2024-03-08 | 卡奥斯数字科技(青岛)有限公司 | Information security construction scheme generation method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107888419A (en) | A kind of switch network Topology g eneration method and device | |
US20170279840A1 (en) | Automated event id field analysis on heterogeneous logs | |
CN107911249B (en) | Method, device and equipment for sending command line of network equipment | |
CN108268580A (en) | The answering method and device of knowledge based collection of illustrative plates | |
CN102346747B (en) | Method for searching parameters in data model | |
CN105701096A (en) | Index generation method, data inquiry method, index generation device, data inquiry device and system | |
CN104539502B (en) | A kind of method of self-defined addition modbus equipment | |
CN106559314A (en) | A kind of cross-platform communication processing method, device | |
CN104025520B (en) | Lookup table creation method and query method, and controller, forwarding device and system therefor | |
CN112311571B (en) | Network topology generation method and device, electronic equipment and non-transitory storage medium | |
CN109669717A (en) | Data processing method, device, equipment and storage medium based on deployment platform | |
CN104601262B (en) | A kind of information processing method and mobile device | |
CN105868311A (en) | Data analyzing method and device | |
CN106559555A (en) | A kind of construction method of address list, device | |
CN114153980A (en) | Knowledge graph construction method and device, inspection method and storage medium | |
CN104965676A (en) | Random access memory access method and apparatus and control chip | |
CN109710676A (en) | Data capture method, device and the electronic equipment of CMDB model | |
CN110232633A (en) | A kind of electronic signature method, apparatus, storage medium and server | |
CN108733698A (en) | A kind of processing method and background service system of log information | |
CN107220251A (en) | Generate the method and device of description information | |
CN105335466A (en) | Audio data retrieval method and apparatus | |
CN104954415B (en) | Handle the method and device of HTTP request | |
CN106469115A (en) | A kind of telecommunication network management automatic software test method and device | |
CN113157904A (en) | Sensitive word filtering method and system based on DFA algorithm | |
CN106559551A (en) | A kind of information cuing method of address list, device |
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 |
Application publication date: 20180406 |
|
RJ01 | Rejection of invention patent application after publication |