CN108234194A - Network topology structure based on SDN finds method, apparatus and storage medium - Google Patents

Network topology structure based on SDN finds method, apparatus and storage medium Download PDF

Info

Publication number
CN108234194A
CN108234194A CN201711292148.7A CN201711292148A CN108234194A CN 108234194 A CN108234194 A CN 108234194A CN 201711292148 A CN201711292148 A CN 201711292148A CN 108234194 A CN108234194 A CN 108234194A
Authority
CN
China
Prior art keywords
network device
physical server
virtual network
network
detection
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
CN201711292148.7A
Other languages
Chinese (zh)
Other versions
CN108234194B (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.)
Weikun Shanghai Technology Service Co Ltd
Original Assignee
Lujiazui Shanghai International Financial Assets Market Ltd By Share 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 Lujiazui Shanghai International Financial Assets Market Ltd By Share Ltd filed Critical Lujiazui Shanghai International Financial Assets Market Ltd By Share Ltd
Priority to CN201711292148.7A priority Critical patent/CN108234194B/en
Publication of CN108234194A publication Critical patent/CN108234194A/en
Application granted granted Critical
Publication of CN108234194B publication Critical patent/CN108234194B/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
    • 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
    • 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/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]

Landscapes

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

Abstract

This application involves a kind of network topology structures based on SDN to find method, apparatus, computer readable storage medium and computer equipment, the method includes:Obtain the SDN topological structure templates generated when creating virtual network device;Determine the virtual network device recorded in the SDN topological structures template;Obtain the network address corresponding to determining virtual network device;First detection instruction is sent according to the network address;The first detection instruction is used to indicate the corresponding physical server of the network address and sends the first detection packet to determining virtual network device;When receiving when replying packet for the first of the described first detection packet of the physical server feedback in preset time period, then judge that the virtual network device on the physical server is present in network topology structure.The scheme that the application provides can improve the efficiency of network topology structure discovery.

Description

Network topology structure based on SDN finds method, apparatus and storage medium
Technical field
This application involves network technique fields, and method, dress are found more particularly to a kind of network topology structure based on SDN It puts and storage medium.
Background technology
With computer technology develop, SDN (Software Defined Network, software defined network) occur Technology, SDN are a kind of new network of Emulex network innovation framework, are a kind of realization methods of network virtualization.With software defined network Rapid development, effective network management has obtained more and more attention, and obtains newest network topology structure for network It manages most important.
Traditional network topology structure is found typically by the way of Blind Test, that is, by various underlying protocols such as ICMP (Internet Control Message Protocol, network Internet Control Message Protocol), SNMP (Simple Network Management Protocol, Simple Network Management Protocol), LLDP (Link Layer Discovery Protocol, link Layer find agreement) etc. various equipment are detected, then collect feedback information, therefrom sort out network topology.Based on tradition Network topology structure discovery need to expend a large amount of Internet resources and detected, and a large amount of feedback information need to be arranged so that net Network topology discovery efficiency is low.
Invention content
Based on this, it is necessary to find the technical issues of efficiency is low for network topology structure, provide a kind of net based on SDN Network topology discovery method, apparatus and storage medium.
A kind of network topology structure based on SDN finds method, the method includes:
Obtain the SDN topological structure templates generated when creating virtual network device;
Determine the virtual network device recorded in the SDN topological structures template;
Obtain the network address corresponding to determining virtual network device;
First detection instruction is sent according to the network address;The first detection instruction is used to indicate the network address Corresponding physical server sends the first detection to determining virtual network device and wraps;
When first time for the described first detection packet that the physical server feedback is received in preset time period When wrapping again, then judge that the virtual network device on the physical server is present in network topology structure.
A kind of network topology structure based on SDN finds device, and described device includes:
Acquisition module, for obtaining the SDN topological structure templates generated when creating virtual network device;
Determining module, for determining the virtual network device recorded in the SDN topological structures template;
The acquisition module is additionally operable to obtain the network address corresponding to determining virtual network device;
Sending module instructs for sending the first detection according to the network address;First detection instructs to refer to Show that the corresponding physical server of the network address sends the first detection to determining virtual network device and wraps;
Determination module receives being examined for described first for the physical server feedback for working as in preset time period When surveying the first reply packet of packet, then judge that the virtual network device on the physical server is present in network topology structure.
A kind of computer readable storage medium is stored with computer program, when the computer program is executed by processor, So that the processor performs the step of network topology structure based on SDN finds method.
A kind of computer equipment, including memory and processor, the memory is stored with computer program, the calculating When machine program is performed by the processor so that the processor performs the network topology structure based on SDN and finds method The step of.
The above-mentioned network topology structure based on SDN finds method, apparatus, storage medium and equipment, is creating virtual network SDN topological structure templates are generated during equipment, according to the virtual network device recorded in SDN topological structure templates, are controlled and virtual Physical server corresponding to the network equipment sends the first detection to virtual network device and wraps, and avoids and uses various underlying protocols Data packet carry out detection network equipment, save resource.Also, by whether receiving the first reply in preset time period Packet, you can the network equipment in verification SDN topological structure templates whether there is, so as to find whole network topological structure, greatly Ground reduces the various protocol packages that blindly detects and need to use, and reduces calculation amount, improves the efficiency of network topology structure discovery.
Description of the drawings
Fig. 1 is the applied environment figure that the network topology structure based on SDN finds method in one embodiment;
Fig. 2 is the flow diagram that the network topology structure based on SDN finds method in one embodiment;
Fig. 3 is the flow diagram for the step of network link is verified in one embodiment;
Fig. 4 is the flow diagram for the step of networkaccess rules are verified in one embodiment;
Fig. 5 is to be verified in network topology structure by the first Microsoft Loopback Adapter and the second Microsoft Loopback Adapter in one embodiment The flow diagram of the step of networkaccess rules;
Fig. 6 is the structure chart of network topology structure found in one embodiment;
Fig. 7 is the structure diagram that the network topology structure based on SDN finds device in one embodiment;
Fig. 8 is the structure diagram that the network topology structure based on SDN finds device in another embodiment;
Fig. 9 is the structure diagram that the network topology structure based on SDN finds device in another embodiment;
Figure 10 is the structure diagram that the network topology structure based on SDN finds device in a still further embodiment;
Figure 11 is the structure diagram of one embodiment Computer equipment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the object, technical solution and advantage for making the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and It is not used in restriction the application.
Specifically, in the present embodiment, in order to improve the efficiency of network topology structure discovery, it is proposed that one kind is based on The network topology structure of SDN finds method, and the realization of this method can rely on computer program, can run on based on von Neumann body In the computer system of system.As shown in Figure 1, the computer system can be in the network system shown in Fig. 2 based on SDN in Heart control node.
Fig. 1 illustrates a kind of network system based on SDN, including center control nodes 110 and physical server 120.In Heart control node 110 is connect with physical server 120, and the network topology of virtual network device is found by physical server 120 Structure.Multiple virtual network devices are run on physical server 120, as run virtual net in physical server 124 in Fig. 1 Network equipment 124A to virtual network device 124B.It should be noted that center control nodes 110 can be that single server is hard The server cluster that part entity device or multiple servers are formed, the server in the server cluster can be real respectively Multiple logic functions of existing center control nodes.
As shown in Fig. 2, it in one embodiment, provides a kind of network topology structure based on SDN and finds method.This reality Example is applied mainly to illustrate applied to the center control nodes in above-mentioned Fig. 1 in this way.It, should the net based on SDN with reference to Fig. 2 Network topology discovery method specifically comprises the following steps:
S202 obtains the SDN topological structure templates generated when creating virtual network device.
Wherein, virtual network device is the virtual network equipment, can be specifically that can realize physical network device correlation work( The application program of energy, such as virtual machine, Microsoft Loopback Adapter, virtual switch or virtual router etc..Topological structure is the network equipment Physically or logically layout.SDN topological structure templates are the SDN topological structures generated when creating virtual network device, specifically It can be the interconnecting relation between virtual network device and virtual network device.
Specifically, center control nodes can directly acquire itself pre-stored SDN topological structures template or pass through net The modes such as network communication or usb communication obtain the SDN topological structure templates being stored on other physical equipments.
In one embodiment, center control nodes can preserve the virtual network when creating virtual network device Interconnecting relation between equipment and virtual network device.Interconnecting relation between virtual network device, for example, virtual machine and subnet Connection relation, the networkaccess rules between subnet and subnet, the connection relation between virtual machine and virtual machine etc..It preserves Interconnecting relation, that is, SDN topological structure templates between virtual network device and virtual network device.
S204 determines the virtual network device recorded in SDN topological structure templates.
In one embodiment, center control nodes can receive network topology structure verification instruction, according to the network of reception Topological structure verification instructs, the virtual network device recorded in the SDN topological structure templates specified by acquisition instruction.
In one embodiment, center control nodes can be used the mode of traversal and obtain successively in SDN topological structure templates The virtual network device of record.
S206 obtains the network address corresponding to determining virtual network device.
Wherein, network address is the logical address for determining virtual network device position.In the present embodiment, center is controlled Node processed can determine and the corresponding physical server of the network address according to network address.Specifically, center control nodes It, can be by running the virtual network device, to search after the virtual network device recorded during SDN topological structure templates are determined The network address of itself;Or obtain the network address of the virtual network device by searching for network address assignment record, In, network address assignment record is to create virtual network device and carrying out the record done during network address distribution.
S208 sends the first detection according to network address and instructs;It is corresponding that first detection instruction is used to indicate network address Physical server sends the first detection to determining virtual network device and wraps.
Wherein, the first detection instruction is for detecting the instruction that virtual network device whether there is.First detection packet is several Can be specifically a protocol encapsulation packet, for example be based on for detecting the data packet that virtual network device whether there is according to packet The data packet of ICMP, the data packet based on LLDP or data packet based on SNMP etc..Wherein, the first detection includes testing number According to, originating address and destination address etc..
Specifically, center control nodes, can be according to the net after the network address corresponding to virtual network device is got Network address determines and the corresponding physical server of network address.Wherein, it is determined according to the network address of virtual network device Physical server be run the virtual network device physical server.Center control nodes can send the to physical server One detection instruction, the first detection instruction are used to indicate physical server and are wrapped to determining the first detection of virtual network device transmission.
S210 is wrapped when receiving being replied for the first of the first detection packet for physical server feedback in preset time period When, then judge that the virtual network device on physical server is present in network topology structure.
Specifically, after physical server sends the first detection to determining virtual network device to be wrapped, work as virtual network device When being present in network topology structure, virtual network device can receive the first detection packet.And send one to physical server A the first reply packet for being directed to the first detection packet.During physical server feeds back to the first reply packet after the first reply packet is received Heart control node.Therefore when center control nodes receive the first reply packet in preset time period, you can judgement physics clothes Virtual network device on business device is present in network topology structure.Judge that virtual network device whether there is in network topology knot Structure is the verification to the virtual network device validity.
In one embodiment, when virtual network device is not present or breaks down and can not communicate with other equipment When, center control nodes can not then receive when replying packet for the first of the first detection packet of physical server feedback, then can recognize It is not present for the virtual network device.
For example, when center control nodes need to detect certain virtual machine VM1 and whether there is, then center control nodes are to void The corresponding physical server S1 of plan machine VM1 initiate the first detection instruction so that physical server S1 is based on to virtual machine VM1 transmissions The ping packets (originating address and destination address are included in ping packets) of ICMP.If virtual machine VM1 exists, ping packets are being received After can feed back to physical server S1 first reply packet.Physical server S1 turns the first reply packet after receiving the first reply packet Issue center control nodes.Center control nodes reply packet according to first and can determine that virtual machine VM1 is present in network topology structure In.
The above-mentioned network topology structure based on SDN finds method, and SDN topological structures are generated when creating virtual network device Template, according to the virtual network device recorded in SDN topological structure templates, control takes with the physics corresponding to virtual network device Device be engaged in virtual network device transmission the first detection packet, avoids and carrys out detection network equipment using various underlying protocols, save Resource.Also, by whether receiving the first reply packet in preset time period, you can in verification SDN topological structure templates The network equipment whether there is, and so as to find whole network topological structure, considerably reduce the various associations that blindly detects and need to use View packet, further reduces calculation amount, improves the efficiency of network topology structure discovery.
In one embodiment, network topology structure discovery method that should be based on SDN further includes the step that network link is verified Suddenly, the step of network link is verified includes:
S302 obtains the network link to be verified recorded in SDN topological structure templates;Network link is network topology Network link in structure between the first virtual network device and the second virtual network device.
Wherein, network link is in network topology structure between the first virtual network device and the second virtual network device Communication link.Specifically, after center control nodes determine the virtual network device being present in network topology structure, center Control node acquisition is recorded in the network link to be verified in SDN topological structure templates.
S304 determines the first physical server of the first virtual network device of operation.
In one embodiment, center control nodes can pass through the network address of the first virtual network device of acquisition.Pass through The network address determines and corresponding first physical server of network address.Wherein it is determined that the first physical server on transport Go the first virtual network device.
In one embodiment, center control nodes can be by the SDN topology knots that are generated when creating virtual network device Structure template directly acquires the first physical server of the first virtual network device of operation.
S306 sends the second detection to the first physical server and instructs;Second detection instruction, is used to indicate the first physics clothes Business device sends the second detection packet from the first virtual network device to the second virtual network device.
Specifically, center control nodes can send the second detection to the first physical server and instruct, the first physical server After receiving the second detection instruction, the second detection packet from the first virtual network device to the second virtual network device is sent.Its In, the second detection includes detection data, originating address and destination address etc..
In one embodiment, when the first virtual network device and second virtual is run on the first physical server simultaneously During the network equipment, the first physical server sends the second detection packet from the first virtual network device to the second virtual network device When, the second detection packet from the first virtual network device via with the first physical server accordingly the first virtual switch, send To the second virtual network device.
In one embodiment, when running the first virtual network device, the second physical services on the first physical server When the second virtual network device is run on device, the second detection packet is sent to via the first physical server, the second physical server Second virtual network device.
S308 is received and is replied packet for the second of the second detection packet.
It specifically, can be to running the second virtual network device when the second virtual network device receives the second detection packet Physical server feedback second reply packet.Physical server replys packet by second again and is transmitted to center control nodes.
S310 replys according to second and wraps, determines the verification result of network link in network topology structure.
Specifically, center control nodes are after the second reply packet is received, and the content of packet is replied in parsing second, according to parsing Content, determine network link in network topology structure whether connection.
For example, when center control nodes need to detect the first virtual machine VM1 and whether the second virtual machine VM2 connects, Center control nodes send the second detection to the corresponding first physical server S1 of the first virtual machine VM1 and instruct.First physics takes Business device S1 by from the sending destination location corresponding first Microsoft Loopback Adapter NA1 of the first virtual machine VM1 on be with second virtually The protocol encapsulation packet (such as ping packets) of the corresponding second Microsoft Loopback Adapter NA2 of machine VM2.If the second Microsoft Loopback Adapter NA2 is received It is replied to just receiving successful second to physical server feedback representation corresponding with the second Microsoft Loopback Adapter NA2 during the data packet Packet;If reception failure, the second of feedback representation reception failure replys packet.During second reply packet is transmitted to by physical server Heart control node.The content that center control nodes reply packet according to second determines the lattice chain of virtual machine VM1 and virtual machine VM2 Road.
In above-described embodiment, according to the network link to be verified recorded in SDN topological structure templates, targetedly test Whether the network link between the card network equipment connects, and avoids ineffective detection.Control and the object corresponding to virtual network device Second detection packet of the server transmission from the first virtual network device to the second virtual network device is managed, avoids and uses various bottoms Layer protocol carrys out detection network link, saves resource.The network link in SDN topological structure templates is targetedly verified in this way Whether connect, so as to find whole network topological structure, the various protocol packages that blindly detects and need to use are considerably reduced, into one Step reduces calculation amount, improves the efficiency of network topology structure discovery.
In one embodiment, the second detection instruction is used to indicate the first physical server and the first virtual network is controlled to set Preparation plays the second detection packet, and the second detection packet is sent to the second virtual network via the first physical server, the second physical server Equipment;Second virtual network device is corresponding with the second physical server;It receives to reply for the second of the second detection packet and wrap, packet It includes:Replying for the second of the second detection packet for the second physical server feedback is received to wrap.
Specifically, it when running the first virtual network device on the first physical server, is run on the second physical server When the second virtual network device, the second detection packet is sent to second virtually via the first physical server, the second physical server The network equipment.Second virtual network device, which feeds back to reply for the second of the second detection packet to the second physical server, to be wrapped.Center Control node receives the second reply packet of the second physical server forwarding.
For example, when running the first virtual machine VM1 on the first physical server S1, transported on the second physical services S2 devices Go the second virtual machine VM2 when, the first physical server S1 sent from the first virtual machine VM1 to the second virtual machine VM2 second inspection Survey packet.The transmitting path of second detection packet is specifically to be initiated from first Microsoft Loopback Adapter NA1 corresponding with the first virtual machine VM1, The first physical server S1 is reached by the first virtual switch C1, the second physical server is forwarded to by physical switches It is empty that S2, the second physical server S2 are forwarded to corresponding with the second virtual machine VM2 second by the second virtual switch C2 again Intend network interface card NA2.Second Microsoft Loopback Adapter NA2 feedbacks are replied for the second of the second detection packet and are wrapped.Center control nodes receive second The second of physical server S2 forwardings replys packet.
In above-described embodiment, when the first virtual network device and the second virtual network device are separately operable in different physics When on server, the second detection packet is sent to the second virtual network device via the first physical server, the second physical server, can To find the network link between physical network device.
In one embodiment, when the first virtual network device and second virtual is run on the first physical server simultaneously During the network equipment, the second detection instruction is used to indicate the first physical server and the first virtual network device is controlled to initiate the second inspection Packet is surveyed, the second detection packet is sent to the second virtual network device via the first virtual switch.Receive for the second detection packet Two reply packet, including:Replying for the second of the second detection packet for the first physical server feedback is received to wrap.
For example, when the first virtual machine VM1 and the second virtual machine VM2 that need to detect whether connection operate in first When on physical server S1, the first physical server S1 sends the second detection from the first virtual machine VM1 to the second virtual machine VM2 Packet.The transmitting path of second detection packet is specifically to be initiated from first Microsoft Loopback Adapter NA1 corresponding with the first virtual machine VM1, warp First virtual switch C1 corresponding with the first physical server S1 is crossed, is finally reached again corresponding with the second virtual machine VM2 Second Microsoft Loopback Adapter NA2.Second Microsoft Loopback Adapter NA2 feedbacks are replied for the second of the second detection packet and are wrapped.Center control nodes connect Receive the first physical server S2 forwardings second replys packet.
In one embodiment, network topology structure discovery method that should be based on SDN further includes networkaccess rules verification The step of, networkaccess rules verify the step of include:
S402 obtains the networkaccess rules to be verified recorded in SDN topological structure templates;Networkaccess rules are Networkaccess rules in network topology structure between the first subnet and the second subnet.
Wherein, networkaccess rules are the rules that the network equipment between different sub-network is controlled to communicate.Specifically, SDN There are different subnets in topological structure template, and record the networkaccess rules between different sub-network.For example, subnet A and son The networkaccess rules for netting B are that 9000 ports in 8000 ports and subnet B in only subnet A can communicate.Wherein, here Port be port on logical meaning, refer to TCP (Transmission Control Protocol, transmission control protocol), IP (Internet Protocol, the agreement interconnected between network) or UDP (User Datagram Protocol, user datagram Agreement) etc. port in agreements.
S404 creates the first Microsoft Loopback Adapter and the second Microsoft Loopback Adapter;First Microsoft Loopback Adapter connects the first subnet, and second is virtual Network interface card connects the second subnet.
Specifically, center control nodes can directly create the first Microsoft Loopback Adapter with the first Subnetwork connection, with the second subnet Second Microsoft Loopback Adapter of connection.According to networkaccess rules, the first Microsoft Loopback Adapter and the second Microsoft Loopback Adapter is made to communicate, if It communicates successfully, then can verify that the networkaccess rules between the first subnet and the second subnet are effective.
S406 by the first Microsoft Loopback Adapter and the second Microsoft Loopback Adapter, verifies networkaccess rules in network topology structure.
Specifically, center control nodes can control empty from first with corresponding first physical server of the first Microsoft Loopback Adapter Intend network interface card and send third detection packet to the second Microsoft Loopback Adapter.Third detection includes detection data, originating address and destination Location etc..Wherein, originating address includes the mark of the first subnet, port numbers of third detection packet transmission etc.;It receives address and includes the Port numbers that the mark of two subnets, third detection packet receive etc..
In one embodiment, when the second Microsoft Loopback Adapter is properly received third detection packet, then the first subnet and the are proved Networkaccess rules between two subnets are effective.In one embodiment, third is received when the second Microsoft Loopback Adapter fails During detection packet, then it is invalid to prove the networkaccess rules between the first subnet and the second subnet.
In above-described embodiment, by creating the first Microsoft Loopback Adapter with the first Subnetwork connection, create and the second Subnetwork connection The second Microsoft Loopback Adapter, according to the networkaccess rules between the first subnet and the second subnet, make the first Microsoft Loopback Adapter and second empty Intend network interface card to communicate.Successfully then verify that the networkaccess rules are effective when the first Microsoft Loopback Adapter communicates with the second Microsoft Loopback Adapter, So that the verification of networkaccess rules to be verified recorded in SDN topological structure templates becomes simple, efficient.
In one embodiment, by the first Microsoft Loopback Adapter and the second Microsoft Loopback Adapter, net is verified in network topology structure The step of network access rule, includes:
S502 sends third detection instruction to the physical server of the first Microsoft Loopback Adapter of operation;Third detection instruction, is used for The physical server of the first Microsoft Loopback Adapter of operation is indicated according to networkaccess rules, from the first Microsoft Loopback Adapter to the second Microsoft Loopback Adapter Send third detection packet.
Specifically, the physical server of the first Microsoft Loopback Adapter of center control nodes control operation sends third detection instruction. Wherein, third detection instruction is used to indicate the physical server for running the first Microsoft Loopback Adapter according to networkaccess rules, from first Microsoft Loopback Adapter sends third detection packet to the second Microsoft Loopback Adapter.
In one embodiment, when the first Microsoft Loopback Adapter and the second Microsoft Loopback Adapter are operated on same physical server When, third detection packet is sent to the second Microsoft Loopback Adapter via the first Microsoft Loopback Adapter, the first virtual switch.Wherein, first is virtual Interchanger is with running the corresponding virtual switch of the first Microsoft Loopback Adapter.
For example, when needing to verify the networkaccess rules of subnet A and subnet B, the networkaccess rules of acquisition are 9000 ports in 8000 ports and subnet B in only subnet A can communicate.First the first son of Microsoft Loopback Adapter NA1 connections Net A, second Microsoft Loopback Adapter NA2 the second subnets of connection B.Wherein third detection includes detection data, the second Microsoft Loopback Adapter NA2 Corresponding IP address, the port numbers 9000 of the port numbers 8000 of subnet A and subnet B, the first Microsoft Loopback Adapter NA1 MAC Address and The information such as the MAC Address of the second Microsoft Loopback Adapter NA2.
Specifically, third detection packet is sent to and the first Microsoft Loopback Adapter NA1 corresponding first at the first Microsoft Loopback Adapter NA1 Virtual switch C1, the first virtual switch C1 search the MAC Address of the second Microsoft Loopback Adapter NA2, when finding the second virtual net After the MAC Address for blocking NA2, third detection packet is forwarded to the second Microsoft Loopback Adapter NA2 by the first virtual switch C1.
In one embodiment, when running the first Microsoft Loopback Adapter on the first physical server, on the second physical server When running the second Microsoft Loopback Adapter, third detection packet is sent to second virtually via the first physical server, the second physical server Network interface card.
For example, third detection packet be sent at the first Microsoft Loopback Adapter NA1 it is corresponding with the first physical server S1 First virtual switch C1.When the first virtual switch C1 can not find the MAC Address of the second Microsoft Loopback Adapter NA2, then Third detection packet is forwarded to virtual router R by one virtual switch C1.Virtual router R is parsed after receiving third detection packet IP address corresponding with the second Microsoft Loopback Adapter NA2 according to the IP address, third detection packet is forwarded to corresponding with the IP address The second virtual switch C2.Second virtual switch C2 searches the MAC Address of the second Microsoft Loopback Adapter NA2, and data packet is forwarded To the second Microsoft Loopback Adapter NA2.Wherein, the first virtual switch C1 is corresponding with the first physical server S1, the second virtual switch Machine is corresponding with the second physical server S2.
S504 is received and is replied packet for the third of third detection packet.
Specifically, center control nodes can be received replys packet for the third of third detection packet.
S506 is replied according to third and is wrapped, and determines the verification result of networkaccess rules in network topology structure.
Specifically, center control nodes can parse the information that third replys packet, and the information of packet is replied according to the third of parsing Judge the validity of networkaccess rules to be verified.For example, when the information that third replys packet represents the success of the second Microsoft Loopback Adapter When receiving third detection packet, then it can determine that the networkaccess rules of above-mentioned verification are present in network topology structure, be effective. When the information that third replys packet represents that the second Microsoft Loopback Adapter can not be properly received third detection packet, then above-mentioned verification is can determine Networkaccess rules are not present in network topology structure, are invalid.
In above-described embodiment, by sending third detection instruction to the physical server of the first Microsoft Loopback Adapter of operation.Wherein, Third detection instruction is used to indicate the physical server of the first Microsoft Loopback Adapter of operation according to networkaccess rules, virtual from first Network interface card sends third detection packet to the second Microsoft Loopback Adapter.In this way, need to only confirm whether the second Microsoft Loopback Adapter can be properly received third Detection packet can determine whether networkaccess rules are effective, simply and efficiently demonstrate the validity of networkaccess rules.
In one embodiment, network topology structure discovery method that should be based on SDN further includes update SDN topological structure moulds The step of the step of plate, update SDN topological structure templates, includes:Record the network topology structure having verified that;According to the net of record Network topological structure updates SDN topological structure templates.
Specifically, center control nodes are when verifying the topological structure in SDN topological structure templates, record verification As a result.SDN topological structure templates are updated according to verification result.Verification result is such as proved to be successful or authentication failed.For example, when testing When demonstrate,proving networkaccess rules, verification result is authentication failed, then illustrates that the networkaccess rules are invalid, can be in SDN topological structures The topological structure of the networkaccess rules is deleted in template.
In above-described embodiment, center control nodes can correspond to more according to the verification result for the network topology structure having verified that New SDN topological structure templates so that SDN topological structures template can accurately represent network topology structure.
In one embodiment, network topology structure discovery method that should be based on SDN further includes positioning failure topological structure The step of, the step of positioning failure topological structure, includes:Record the network topology structure having verified that;Determine the network topology of record The difference of structure and SDN topological structure templates;Failure topological structure in SDN topological structure templates is positioned according to difference.
Specifically, center control nodes are when verifying the topological structure in SDN topological structure templates, record verification As a result.Wherein, it is proved to be successful, illustrates that the topological structure is present in network topology structure, authentication failed then illustrates that the topology is tied Structure is not present in network topology structure.Compare the difference of the network topology structure having verified that and SDN topological structure templates, determine The topological structure of authentication failed in SDN topological structure templates.The topological structure of authentication failed can be considered as SDN topological structure moulds Failure topological structure in plate.
In above-described embodiment, center control nodes pass through the network topology structure of record and the difference of SDN topological structure templates It is different, the failure topological structure in SDN topological structure templates can be quickly positioned, is found with this virtual in whole network topological structure The health status of the network equipment improves failure topological structure convenient for subsequent processing.
Fig. 6 shows the network topology structure found in one embodiment.In one embodiment, implement above-mentioned be based on The network topology structure of SDN finds method, can obtain network topology structure as shown in Figure 6.Wherein, the network topology knot of Fig. 6 Structure includes:Subnet 1, subnet 2, subnet 3 and subnet 4 are connected respectively with router;Virtual machine VM1 and virtual machine VM2 connect respectively Subnet 1 is connect, virtual machine VM3, virtual machine VM4 and virtual machine VM5 connect subnet 2, virtual machine VM6 connections subnet 3, virtual machine respectively VM7 connections subnet 4;Networkaccess rules between subnet 3 and subnet 2 are networkaccess rules A, between subnet 3 and subnet 4 Networkaccess rules are networkaccess rules B.
As shown in fig. 7, in one embodiment, provide a kind of network topology structure based on SDN and find device 700, Including acquisition module 701, determining module 702, sending module 703, determination module 704.
Acquisition module 701, for obtaining the SDN topological structure templates generated when creating virtual network device;
Determining module 702, for determining the virtual network device recorded in SDN topological structure templates;
Acquisition module 701 is additionally operable to obtain the network address corresponding to determining virtual network device;
Sending module 703 instructs for sending the first detection according to network address;First detection instruction is used to indicate network The corresponding physical server in address sends the first detection to determining virtual network device and wraps;
Determination module 704, being wrapped for the first detection for physical server feedback is received in preset time period for working as First reply packet when, then judge that the virtual network device on physical server is present in network topology structure.
The above-mentioned network topology structure based on SDN finds device, and SDN topological structures are generated when creating virtual network device Template, according to the virtual network device recorded in SDN topological structure templates, control takes with the physics corresponding to virtual network device Device be engaged in virtual network device transmission the first detection packet, avoids and carrys out detection network equipment using various underlying protocols, save Resource.Also, by whether receiving the first reply packet in preset time period, you can in verification SDN topological structure templates The network equipment whether there is, and so as to find whole network topological structure, considerably reduce the various associations that blindly detects and need to use View packet, further reduces calculation amount, improves the efficiency of network topology structure discovery.
In one embodiment, acquisition module 701 is additionally operable to obtain the net to be verified recorded in SDN topological structure templates Network link;Network link is the lattice chain in network topology structure between the first virtual network device and the second virtual network device Road;Determining module 702 is additionally operable to determine the first physical server of the first virtual network device of operation;Sending module 703 is also used It is instructed in sending the second detection to the first physical server;Second detection instruction, is used to indicate the first physical server from first Virtual network device sends the second detection to the second virtual network device and wraps;Determination module 704 is additionally operable to receive for the second inspection Survey packet second replys packet;It replys and wraps according to second, determine the verification result of network link in network topology structure.
In above-described embodiment, according to the network link to be verified recorded in SDN topological structure templates, targetedly test Whether the network link between the card network equipment connects, and avoids ineffective detection.Control and the object corresponding to virtual network device Second detection packet of the server transmission from the first virtual network device to the second virtual network device is managed, avoids and uses various bottoms Layer protocol carrys out detection network link, saves resource.The network link in SDN topological structure templates is targetedly verified in this way Whether connect, so as to find whole network topological structure, the various protocol packages that blindly detects and need to use are considerably reduced, into one Step reduces calculation amount, improves the efficiency of network topology structure discovery.
In one embodiment, the second detection instruction is used to indicate the first physical server and the first virtual network is controlled to set Preparation plays the second detection packet, and the second detection packet is sent to the second virtual network via the first physical server, the second physical server Equipment;Second virtual network device is corresponding with the second physical server;Determination module 704 is additionally operable to receive the second physical server Being replied for the second of the second detection packet for feedback is wrapped.
In above-described embodiment, when the first virtual network device and the second virtual network device are separately operable in different physics When on server, the second detection packet is sent to the second virtual network device via the first physical server, the second physical server, can To find the network link between physical network device.
In one embodiment, as shown in figure 8, the network topology structure based on SDN finds that device 700 further includes establishment mould Block 705.
Acquisition module 701 is additionally operable to obtain the networkaccess rules to be verified recorded in SDN topological structure templates;Network Access rule is the networkaccess rules in network topology structure between the first subnet and the second subnet;
Creation module 705, for creating the first Microsoft Loopback Adapter and the second Microsoft Loopback Adapter;The first son of first Microsoft Loopback Adapter connection Net, the second Microsoft Loopback Adapter connect the second subnet;
Determination module 704 is additionally operable to, by the first Microsoft Loopback Adapter and the second Microsoft Loopback Adapter, verify in network topology structure Networkaccess rules.
In above-described embodiment, by creating the first Microsoft Loopback Adapter with the first Subnetwork connection, create and the second Subnetwork connection The second Microsoft Loopback Adapter, according to the networkaccess rules between the first subnet and the second subnet, make the first Microsoft Loopback Adapter and second empty Intend network interface card to communicate.Successfully then verify that the networkaccess rules are effective when the first Microsoft Loopback Adapter communicates with the second Microsoft Loopback Adapter, So that the verification of networkaccess rules to be verified recorded in SDN topological structure templates becomes simple, efficient.
In one embodiment, sending module 703 is additionally operable to send the to the physical server of the first Microsoft Loopback Adapter of operation Three detection instructions;Third detection instruction is used to indicate the physical server of the first Microsoft Loopback Adapter of operation according to networkaccess rules, Third detection packet is sent from the first Microsoft Loopback Adapter to the second Microsoft Loopback Adapter;Determination module 704 is additionally operable to receive and third is detected The third of packet replys packet;It is replied and wrapped according to third, determine the verification result of networkaccess rules in network topology structure.
In above-described embodiment, by sending third detection instruction to the physical server of the first Microsoft Loopback Adapter of operation.Wherein, Third detection instruction is used to indicate the physical server of the first Microsoft Loopback Adapter of operation according to networkaccess rules, virtual from first Network interface card sends third detection packet to the second Microsoft Loopback Adapter.In this way, need to only confirm whether the second Microsoft Loopback Adapter can be properly received third Detection packet can determine whether networkaccess rules are effective, simply and efficiently demonstrate the validity of networkaccess rules.
In one embodiment, as shown in figure 9, the network topology structure based on SDN finds that device 700 further includes record mould Block 706 and update module 707.
Logging modle 706, for recording the network topology structure having verified that.
Update module 707, for updating SDN topological structure templates according to the network topology structure of record.
In above-described embodiment, center control nodes can correspond to more according to the verification result for the network topology structure having verified that New SDN topological structure templates so that SDN topological structures template can accurately represent network topology structure.
In one embodiment, as shown in Figure 10, the network topology structure based on SDN finds that device 700 further includes positioning Module 708.
Logging modle 706 is additionally operable to the network topology structure that record has verified that.
Determining module 702 is additionally operable to determine the network topology structure of record and the difference of SDN topological structure templates.
Locating module 708, for positioning the failure topological structure in SDN topological structure templates according to difference.
In above-described embodiment, center control nodes pass through the network topology structure of record and the difference of SDN topological structure templates It is different, the failure topological structure in SDN topological structure templates can be quickly positioned, is found with this virtual in whole network topological structure The health status of the network equipment improves failure topological structure convenient for subsequent processing.
In one embodiment, provide a kind of computer equipment, the computer equipment can be server or Mobile terminal.When the computer equipment is server, internal structure chart can be as shown in figure 11.The computer equipment includes Processor, memory and the network interface connected by system bus.Wherein, the processor of the computer equipment is based on providing Calculation and control ability.The memory of the computer equipment includes non-volatile memory medium, built-in storage.The non-volatile memories Media storage has operating system and computer program.The built-in storage is operating system and calculating in non-volatile memory medium The operation of machine program provides environment.The network interface of the computer equipment is used to communicate by network connection with external terminal. To realize that a kind of network topology structure based on SDN finds method when the computer program is executed by processor.
It will be understood by those skilled in the art that the structure shown in Figure 11, only with the relevant part of application scheme The block diagram of structure, does not form the restriction for the computer equipment being applied thereon to application scheme, and specific computer is set It is standby to include either combining certain components than components more or fewer shown in figure or be arranged with different components.
In one embodiment, the network topology structure based on SDN that the application provides finds that device can be implemented as one The form of kind computer program, computer program can be run on computer equipment as shown in figure 11.Computer equipment is deposited Each program module of composition network topology structure discovery device based on SDN can be stored in reservoir, for example, shown in Fig. 7 Acquisition module, determining module, sending module and determination module.The computer program that each program module is formed causes processor to hold Step in the network topology structure discovery method based on SDN of each embodiment of the application described in row this specification.
For example, the computer equipment shown in Figure 11 can be found by the network topology structure as shown in Figure 7 based on SDN Acquisition module in device performs step S202 and S206.Computer equipment can perform step S204 by determining module.It calculates Machine equipment can perform step S208 by sending module.Computer equipment can perform step S210 by determination module.
In one embodiment, a kind of computer equipment is provided, including memory and processor, is stored in memory Computer program, when computer program is executed by processor so that processor performs following steps:It obtains and is creating virtual network The SDN topological structure templates generated during equipment;Determine the virtual network device recorded in SDN topological structure templates;It obtains and determines Virtual network device corresponding to network address;First detection instruction is sent according to network address;First detection instruction is used for Indicate that the corresponding physical server of network address sends the first detection to determining virtual network device and wraps;When in preset time period When replying packet for the first of the first detection packet of physical server feedback is inside received, then is judged virtual on physical server The network equipment is present in network topology structure.
In one embodiment, computer program so that going back processor performs following steps:Obtain SDN topological structure templates The network link to be verified of middle record;Network link is the first virtual network device and second virtual in network topology structure The network link of LA Management Room;Determine the first physical server of the first virtual network device of operation;To the first physical services Device sends the second detection instruction;Second detection instruction is used to indicate the first physical server from the first virtual network device to the Two virtual network devices send the second detection packet;It receives to reply for the second of the second detection packet and wrap;It replys and wraps according to second, really Determine the verification result of network link in network topology structure.
In one embodiment, the second detection instruction is used to indicate the first physical server and the first virtual network is controlled to set Preparation plays the second detection packet, and the second detection packet is sent to the second virtual network via the first physical server, the second physical server Equipment;Second virtual network device is corresponding with the second physical server;Computer program cause processor perform receive for The second of second detection packet specifically performs following steps when replying the step of packet:Receive the second physical server feedback for the The second of two detection packets replys packet.
In one embodiment, computer program so that going back processor performs following steps:Obtain SDN topological structure templates The networkaccess rules to be verified of middle record;Networkaccess rules are the first subnet and the second subnet in network topology structure Between networkaccess rules;Create the first Microsoft Loopback Adapter and the second Microsoft Loopback Adapter;First Microsoft Loopback Adapter the first subnet of connection, second Microsoft Loopback Adapter connects the second subnet;By the first Microsoft Loopback Adapter and the second Microsoft Loopback Adapter, network is verified in network topology structure Access rule.
In one embodiment, computer program causes processor performing through the first Microsoft Loopback Adapter and the second virtual net Card specifically performs following steps in network topology structure during the step of verification networkaccess rules:To running the first virtual net The physical server of card sends third detection instruction;Third detection instruction is used to indicate the physics clothes of the first Microsoft Loopback Adapter of operation Device be engaged according to networkaccess rules, third detection packet is sent from the first Microsoft Loopback Adapter to the second Microsoft Loopback Adapter;It receives for third The third of detection packet replys packet;It is replied and wrapped according to third, determine the verification result of networkaccess rules in network topology structure.
In one embodiment, computer program so that going back processor performs following steps:The network having verified that is recorded to open up Flutter structure;SDN topological structure templates are updated according to the network topology structure of record.
In one embodiment, computer program so that going back processor performs following steps:The network having verified that is recorded to open up Flutter structure;Determine the network topology structure of record and the difference of SDN topological structure templates;SDN topological structures are positioned according to difference Failure topological structure in template.
Above computer equipment generates SDN topological structure templates when creating virtual network device, according to SDN topology knots The virtual network device recorded in structure template, control is with the physical server corresponding to virtual network device to virtual network device The first detection packet is sent, avoids and carrys out detection network equipment using various underlying protocols, save resource.Also, by pre- If the first reply packet whether being received in the period, you can the network equipment in verification SDN topological structure templates whether there is, from And find whole network topological structure, the various protocol packages that blindly detects and need to use are considerably reduced, further reduce meter Calculation amount improves the efficiency of network topology structure discovery.
A kind of computer readable storage medium, is stored with computer program, real when which is executed by processor Existing following steps:Obtain the SDN topological structure templates generated when creating virtual network device;Determine SDN topological structure templates The virtual network device of middle record;Obtain the network address corresponding to determining virtual network device;It is sent according to network address First detection instruction;First detection instruction is used to indicate the corresponding physical server of network address to determining virtual network device Send the first detection packet;When the first reply for the first detection packet that physical server feedback is received in preset time period Bao Shi then judges that the virtual network device on physical server is present in network topology structure.
In one embodiment, computer program so that going back processor performs following steps:Obtain SDN topological structure templates The network link to be verified of middle record;Network link is the first virtual network device and second virtual in network topology structure The network link of LA Management Room;Determine the first physical server of the first virtual network device of operation;To the first physical services Device sends the second detection instruction;Second detection instruction is used to indicate the first physical server from the first virtual network device to the Two virtual network devices send the second detection packet;It receives to reply for the second of the second detection packet and wrap;It replys and wraps according to second, really Determine the verification result of network link in network topology structure.
In one embodiment, the second detection instruction is used to indicate the first physical server and the first virtual network is controlled to set Preparation plays the second detection packet, and the second detection packet is sent to the second virtual network via the first physical server, the second physical server Equipment;Second virtual network device is corresponding with the second physical server;Computer program cause processor perform receive for The second of second detection packet specifically performs following steps when replying the step of packet:Receive the second physical server feedback for the The second of two detection packets replys packet.
In one embodiment, computer program so that going back processor performs following steps:Obtain SDN topological structure templates The networkaccess rules to be verified of middle record;Networkaccess rules are the first subnet and the second subnet in network topology structure Between networkaccess rules;Create the first Microsoft Loopback Adapter and the second Microsoft Loopback Adapter;First Microsoft Loopback Adapter the first subnet of connection, second Microsoft Loopback Adapter connects the second subnet;By the first Microsoft Loopback Adapter and the second Microsoft Loopback Adapter, network is verified in network topology structure Access rule.
In one embodiment, computer program causes processor performing through the first Microsoft Loopback Adapter and the second virtual net Card specifically performs following steps in network topology structure during the step of verification networkaccess rules:To running the first virtual net The physical server of card sends third detection instruction;Third detection instruction is used to indicate the physics clothes of the first Microsoft Loopback Adapter of operation Device be engaged according to networkaccess rules, third detection packet is sent from the first Microsoft Loopback Adapter to the second Microsoft Loopback Adapter;It receives for third The third of detection packet replys packet;It is replied and wrapped according to third, determine the verification result of networkaccess rules in network topology structure.
In one embodiment, computer program so that going back processor performs following steps:The network having verified that is recorded to open up Flutter structure;SDN topological structure templates are updated according to the network topology structure of record.
In one embodiment, computer program so that going back processor performs following steps:The network having verified that is recorded to open up Flutter structure;Determine the network topology structure of record and the difference of SDN topological structure templates;SDN topological structures are positioned according to difference Failure topological structure in template.
Above computer readable storage medium storing program for executing generates SDN topological structure templates when creating virtual network device, according to The virtual network device recorded in SDN topological structure templates, control is with the physical server corresponding to virtual network device to void Intend the network equipment and send the first detection packet, avoid and carry out detection network equipment using various underlying protocols, save resource.And And by whether receiving the first reply packet in preset time period, you can the network equipment in verification SDN topological structure templates It whether there is, so as to find whole network topological structure, the various protocol packages that blindly detects and need to use are considerably reduced, into one Step reduces calculation amount, improves the efficiency of network topology structure discovery.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a non-volatile computer and can be read In storage medium, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, it is provided herein Each embodiment used in any reference to memory, storage, database or other media, may each comprise non-volatile And/or volatile memory.Nonvolatile memory may include that read-only memory (ROM), programming ROM (PROM), electricity can be compiled Journey ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) directly RAM (RDRAM), straight Connect memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above example can be combined arbitrarily, to make description succinct, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield is all considered to be the range of this specification record.
Embodiment described above only expresses the several embodiments of the application, and description is more specific and detailed, but simultaneously Cannot the limitation to the application the scope of the claims therefore be interpreted as.It should be pointed out that for those of ordinary skill in the art For, under the premise of the application design is not departed from, various modifications and improvements can be made, these belong to the guarantor of the application Protect range.Therefore, the protection domain of the application patent should be determined by the appended claims.

Claims (10)

1. a kind of network topology structure based on SDN finds method, the method includes:
Obtain the SDN topological structure templates generated when creating virtual network device;
Determine the virtual network device recorded in the SDN topological structures template;
Obtain the network address corresponding to determining virtual network device;
First detection instruction is sent according to the network address;The first detection instruction is used to indicate the network address and corresponds to Physical server send the first detection to determining virtual network device and wrap;
It is wrapped when receiving being replied for the first of the described first detection packet for the physical server feedback in preset time period When, then judge that the virtual network device on the physical server is present in network topology structure.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
Obtain the network link to be verified recorded in the SDN topological structures template;The network link is that the network is opened up Flutter the network link between the first virtual network device and the second virtual network device in structure;
Determine the first physical server of operation first virtual network device;
The second detection instruction is sent to first physical server;The second detection instruction, is used to indicate first object Reason server sends the second detection packet from first virtual network device to second virtual network device;
It receives to reply for the second of the described second detection packet and wrap;
It replys and wraps according to described second, determine the verification result of network link described in the network topology structure.
3. according to the method described in claim 2, it is characterized in that, the second detection instruction, is used to indicate first object It manages the first virtual network device described in server controls and initiates the second detection packet, the second detection packet is via first physics Server, the second physical server are sent to second virtual network device;Second virtual network device and described second Physical server corresponds to;
Described receive replys packet for the second of the described second detection packet, including:
Replying for the second of the described second detection packet for the second physical server feedback is received to wrap.
4. according to the method described in claim 1, it is characterized in that, the method further includes:
Obtain the networkaccess rules to be verified recorded in the SDN topological structures template;The networkaccess rules are institutes State the networkaccess rules between the first subnet and the second subnet in network topology structure;
Create the first Microsoft Loopback Adapter and the second Microsoft Loopback Adapter;The first Microsoft Loopback Adapter connection, first subnet, described second Microsoft Loopback Adapter connects second subnet;
By first Microsoft Loopback Adapter and the second Microsoft Loopback Adapter, the network access rule are verified in the network topology structure Then.
5. according to the method described in claim 4, it is characterized in that, described pass through first Microsoft Loopback Adapter and the second virtual net Card, verifies the networkaccess rules in the network topology structure, including:
Third detection instruction is sent to the physical server for running first Microsoft Loopback Adapter;The third detection instruction, is used for Indicate to run the physical server of first Microsoft Loopback Adapter according to the networkaccess rules, from first Microsoft Loopback Adapter to Second Microsoft Loopback Adapter sends third detection packet;
It receives and packet is replied for the third of third detection packet;
It is replied and wrapped according to the third, determine the verification result of networkaccess rules in the network topology structure.
6. the method according to any one of claims 1 to 5, it is characterized in that, the method further includes:
Record the network topology structure having verified that;
The SDN topological structures template is updated according to the network topology structure of record.
7. the method according to any one of claims 1 to 5, it is characterized in that, the method further includes:
Record the network topology structure having verified that;
Determine the network topology structure of record and the difference of the SDN topological structures template;
Failure topological structure in the SDN topological structures template is positioned according to the difference.
8. a kind of network topology structure based on SDN finds device, described device includes:
Acquisition module, for obtaining the SDN topological structure templates generated when creating virtual network device;
Determining module, for determining the virtual network device recorded in the SDN topological structures template;
The acquisition module is additionally operable to obtain the network address corresponding to determining virtual network device;
Sending module instructs for sending the first detection according to the network address;The first detection instruction is used to indicate institute It states the corresponding physical server of network address and sends the first detection packet to determining virtual network device;
Determination module receives being wrapped for the described first detection for the physical server feedback for working as in preset time period First reply packet when, then judge that the virtual network device on the physical server is present in network topology structure.
9. a kind of computer readable storage medium is stored with computer program, when the computer program is executed by processor, makes The processor is obtained to perform such as the step of any one of claim 1 to 7 the method.
10. a kind of computer equipment, including memory and processor, the memory is stored with computer program, the calculating When machine program is performed by the processor so that the processor is performed such as the step of any one of claim 1 to 7 the method Suddenly.
CN201711292148.7A 2017-12-08 2017-12-08 Network topology structure discovery method and device based on SDN and storage medium Active CN108234194B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711292148.7A CN108234194B (en) 2017-12-08 2017-12-08 Network topology structure discovery method and device based on SDN and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711292148.7A CN108234194B (en) 2017-12-08 2017-12-08 Network topology structure discovery method and device based on SDN and storage medium

Publications (2)

Publication Number Publication Date
CN108234194A true CN108234194A (en) 2018-06-29
CN108234194B CN108234194B (en) 2021-02-26

Family

ID=62653418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711292148.7A Active CN108234194B (en) 2017-12-08 2017-12-08 Network topology structure discovery method and device based on SDN and storage medium

Country Status (1)

Country Link
CN (1) CN108234194B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379290A (en) * 2018-11-30 2019-02-22 四川安迪科技实业有限公司 The topological automatic discovering method of the star-like networking of VSAT
CN109842527A (en) * 2019-03-19 2019-06-04 中国联合网络通信集团有限公司 A kind of network alarm method and equipment
CN112636988A (en) * 2020-12-31 2021-04-09 中电长城网际安全技术研究院(北京)有限公司 Network topology generation method, electronic device and computer readable medium
CN113422729A (en) * 2021-04-29 2021-09-21 全球能源互联网研究院有限公司 Virtual power plant targeted communication system and control method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158747A (en) * 2013-05-14 2014-11-19 中兴通讯股份有限公司 Network topology discovery method and system
US20150244607A1 (en) * 2014-02-26 2015-08-27 Futurewei Technologies, Inc. Software Defined Networking (SDN) Specific Topology Information Discovery
CN105721318A (en) * 2016-02-29 2016-06-29 华为技术有限公司 Method and device for discovering network topology in software defined network SDN (Software Defined Network)
US20160380807A1 (en) * 2015-06-29 2016-12-29 Ca, Inc. Efficient management of network configuration-dependent network functionality

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158747A (en) * 2013-05-14 2014-11-19 中兴通讯股份有限公司 Network topology discovery method and system
US20150244607A1 (en) * 2014-02-26 2015-08-27 Futurewei Technologies, Inc. Software Defined Networking (SDN) Specific Topology Information Discovery
US20160380807A1 (en) * 2015-06-29 2016-12-29 Ca, Inc. Efficient management of network configuration-dependent network functionality
CN105721318A (en) * 2016-02-29 2016-06-29 华为技术有限公司 Method and device for discovering network topology in software defined network SDN (Software Defined Network)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379290A (en) * 2018-11-30 2019-02-22 四川安迪科技实业有限公司 The topological automatic discovering method of the star-like networking of VSAT
CN109842527A (en) * 2019-03-19 2019-06-04 中国联合网络通信集团有限公司 A kind of network alarm method and equipment
CN109842527B (en) * 2019-03-19 2022-11-18 中国联合网络通信集团有限公司 Network alarm method and equipment
CN112636988A (en) * 2020-12-31 2021-04-09 中电长城网际安全技术研究院(北京)有限公司 Network topology generation method, electronic device and computer readable medium
CN112636988B (en) * 2020-12-31 2023-04-07 中电长城网际安全技术研究院(北京)有限公司 Network topology generation method, electronic device and computer readable medium
CN113422729A (en) * 2021-04-29 2021-09-21 全球能源互联网研究院有限公司 Virtual power plant targeted communication system and control method
CN113422729B (en) * 2021-04-29 2022-08-05 全球能源互联网研究院有限公司 Virtual power plant targeted communication system and control method

Also Published As

Publication number Publication date
CN108234194B (en) 2021-02-26

Similar Documents

Publication Publication Date Title
CN107800602B (en) Message processing method, device and system
CN108234194A (en) Network topology structure based on SDN finds method, apparatus and storage medium
US11296972B2 (en) Scalable network path tracing
US20220200898A1 (en) Compute-aware routing method and apparatus
CN109076018B (en) Method and equipment for realizing network element in segmented routing network by using IS-IS protocol
CN108604999B (en) Data plane method and apparatus for monitoring Differentiated Services Coding Points (DSCP) and Explicit Congestion Notification (ECN)
Waddington et al. Topology discovery for public IPv6 networks
CN112511431B (en) Routing flow fusion method for virtual network simulation
CN105490884B (en) A kind of VXLAN tunnel detection method and device
CN105991387A (en) Message transformation method and device of virtual extensible local area network (VXLAN)
CN108566336A (en) A kind of network path acquisition methods and equipment
CN105591907B (en) A kind of route obtaining method and device
CN113595891B (en) Data communication method and device and electronic equipment
CN106341333B (en) Applied to the packet loss position method and apparatus in VXLAN
CN114553752B (en) Network performance test method and device based on simulation software and computer equipment
US11882016B2 (en) Systems and methods for data plane validation of multiple paths in a network
WO2022083563A1 (en) Link detection method, link detection apparatus, terminal device and storage medium
CN105634977A (en) Method and device for discovering a path maximum transmission unit (PMTU)
CN105917617A (en) Single hop overlay architecture for line rate performance in campus networks
Lee et al. Performance evaluation of gtp-u and srv6 stateless translation
CN105391817A (en) SDP-based self-test NAT traversal system and method
CN113507410B (en) CGN backup method and device
CN113596192B (en) Communication method, device, equipment and medium based on gatekeeper networking
CN108471374A (en) The retransmission method and device of data message
US11876881B2 (en) Mechanism to enable third party services and applications discovery in distributed edge computing environment

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200212

Address after: 200120 floor 15, 1333 Lujiazui Ring Road, free trade Experimental Zone, Pudong New Area, Shanghai

Applicant after: Weikun (Shanghai) Technology Service Co., Ltd

Address before: 200120 13 floor, 1333 Lujiazui Road, Pudong New Area free trade pilot area, Shanghai.

Applicant before: Lujiazui Shanghai international financial assets market Limited by Share Ltd

GR01 Patent grant
GR01 Patent grant