CN104753695A - Discovery and real-time display system and method for SDN (Software Defined Network) network topology - Google Patents
Discovery and real-time display system and method for SDN (Software Defined Network) network topology Download PDFInfo
- Publication number
- CN104753695A CN104753695A CN201310727865.3A CN201310727865A CN104753695A CN 104753695 A CN104753695 A CN 104753695A CN 201310727865 A CN201310727865 A CN 201310727865A CN 104753695 A CN104753695 A CN 104753695A
- Authority
- CN
- China
- Prior art keywords
- sdn
- interface
- module
- real
- discovery
- 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
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a discovery and real-time display system and method for an SDN (Software Defined Network) network topology. The method comprises the following steps that: after openflow switches are added into an SDN network, a connection relation acquisition module acquires port connection information among the openflow switches based on a protocol mechanism between an SDN controller and the openflow switches; when one openflow switch leaves the SDN network, the connection relation acquisition module updates corresponding port connection information; when a browse requester needs to browse the SDN network topology, a providing module sends a browse request to the connection relation acquisition module based on a second interface provided by a second interface module and a first interface provided by a first interface module; the connection relation acquisition module feeds back corresponding port connection information based on the received browse request; and the providing module provides the received port connection information for the browse requester in order to realize real-time perception and real-time display of network equipment.
Description
Technical field
The present invention relates to SDN field, particularly relate to a kind of discovery of SDN topological structure and real-time rendering system and method.
Background technology
Software defined network (Software Defined Network, SDN), it is a kind of new network innovation framework, its core technology OpenFlow is by separating network equipment chain of command and data surface, thus achieve the flexible control of network traffics, for the innovation of core network and application provides good platform.
The main purpose of discovering network topology is the connection relation information existed between information and network node of acquiring and maintaining network node, and network management personnel draws out whole network topological diagram on this basis, so that can carry out quick position to malfunctioning node on the basis of this topological diagram.
Under the existing network architecture, in order to enable the equipment of different vendor in a network, mutual discovery is system respective alternately and configuration information also, LLDP (Link Layer Discovery Protocol, Link Layer Discovery Protocol) provide a kind of standard link layer find mode, can by the unique ability of local device, management address, device identification, the Information Organizations such as interface identifier become different TLV(Type/Length/Value, type/length/value), and be encapsulated in LLDPDU(Link LayerDiscovery Protocol Data Unit, Link Layer Discovery Protocol data cell) in be distributed to the neighbours direct-connected with oneself, neighbours to receive it after these information with standard mib (Management Information Base, management information bank) form save, for network management system inquiry and the communication conditions judging link.
But, under novel SDN framework, because the network equipment can not initiatively send and receive LLDP data, also can not store the information of miscellaneous equipment in network, therefore, how to find and safeguard the topology situation of whole network, and safeguard the information of each network equipment, become the technical task that SDN administrative staff need to solve.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of discovery of SDN topological structure and real-time rendering system and method, can obtain the topological structure of SDN and to present in real time.
For achieving the above object and other relevant objects, the invention provides a kind of discovery and real-time rendering system of SDN topological structure, it at least comprises:
Be arranged on the annexation acquisition module in SDN controller, for obtaining the Port Connection Information between each openflow switch based on the protocol between SDN controller and openflow switch, and when an openflow switch leaves SDN, upgrade corresponding Port Connection Information;
Be arranged on the first interface module in described SDN controller, for providing the first interface of output port link information to described annexation acquisition module;
There is provided module, for providing corresponding port link information based on browse request;
Second interface module, for described the second interface providing module to provide receiving port link information.
The present invention also provides a kind of discovery of SDN topological structure and real-time rendering method, and it at least comprises:
After openflow switch adds SDN, annexation acquisition module obtains the Port Connection Information between each openflow switch based on the protocol between SDN controller and openflow switch;
When an openflow switch leaves SDN, annexation acquisition module upgrades corresponding Port Connection Information;
The first interface that the second interface providing module to provide based on the second interface module and first interface module provide sends the browse request browsing Port Connection Information to described annexation acquisition module;
Described annexation acquisition module feeds back to corresponding Port Connection Information based on the browse request received by first interface and the second interface;
Preferably, described second interface module and provide module to be all arranged in WEB server.
Preferably, provide mode that module can identify with browser to provide corresponding port link information described in.
Preferably, the protocol between described SDN controller and openflow switch comprises LLDP protocol.
Preferably, described first interface module providing package is containing the northbound interface of API Calls interface.
As mentioned above, the discovery of SDN topological structure of the present invention and real-time rendering method, there is following beneficial effect: achieve the real-time perception to the network equipment, make controller to the state of the network equipment more comprehensively, the topology situation of the complete awareness network of controller energy, and present in real time by the mode of browser access.
Accompanying drawing explanation
Fig. 1 is shown as discovery and the real-time rendering system schematic diagram of SDN topological structure of the present invention.
Fig. 2 is shown as the discovery of SDN topological structure of the present invention and real-time rendering method flow chart.
Element numbers explanation
1 finds and real-time rendering system
11 annexation acquisition modules
12 first interface modules
13 provide module
14 second interface modules
2 controllers
3,3 ' openflow switch
4 WEB server
5 network equipments
S1 ~ S5 step
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this specification can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this specification also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.
Refer to Fig. 1 and Fig. 2.It should be noted that, the diagram provided in the present embodiment only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
As shown in Figure 1, the invention provides a kind of discovery and real-time rendering system of SDN topological structure.Described discovery and real-time rendering system 1 at least comprise: annexation acquisition module 11, first interface module 12, provide module 13, second interface module 14.
Described annexation acquisition module 11 is arranged in SDN controller 2, for obtaining the Port Connection Information between each openflow switch based on the protocol between SDN controller 2 and openflow switch, and when an openflow switch leaves SDN, upgrade corresponding Port Connection Information.
Wherein, the protocol between SDN controller 2 and openflow switch 3 comprises any protocol that can be used between SDN controller and openflow switch, preferably, includes but not limited to: LLDP protocol etc.
Particularly, when SDN controller 2 and openflow switch are shaken hands successfully, described annexation acquisition module 11 issues an indication information on the openflow switch 3 be connected with the SDN controller 2 belonging to self, this indication information indicates described openflow switch 3 after receiving the particular data packet relevant to port connection relationship, this particular data packet is transmitted to oneself (i.e. described annexation acquisition module 11); Described annexation acquisition module 11 constructs LLDP packet according to each port of openflow switch 3 simultaneously, and give other openflow switch by this LLDP Packet Generation, thus, the openflow switch 3 ' be connected with openflow switch 3 is after receiving LLDP packet, this packet can be issued described annexation acquisition module 11 by openflow message, described annexation acquisition module 11 according to front construction and issue LLDP bag be analyzed, just may learn the annexation of inter-exchange; When the controller 2 belonging to described annexation acquisition module 11 receives a certain openflow switch ports themselves state updating message, as port status become down time, then described annexation acquisition module 11 needs the Port Connection Information again safeguarding this openflow switch, and upgrades the annexation of openflow inter-exchange.
Described first interface module 12 is arranged in described SDN controller 2, for providing the first interface of output port link information to described annexation acquisition module 11.
Wherein, described first interface can be any interface that can make described annexation acquisition module 11 output information, preferably, includes but not limited to it is the northbound interface etc. comprising API Calls interface.
The described module 13 that provides is for providing corresponding port link information based on browse request.
Described second interface module 14 is for described the second interface providing module 13 to provide receiving port link information.
Preferably, described second interface module 14 and provide module 13 to be all arranged in WEB server 4, more preferably, described in provide module 13 can identify with browser mode provide Port Connection Information to browse request people, facilitate the browse operation of browse request people thus.
Particularly, describedly module 13 is provided to receive after browse request people browses the browse request of SDN structure by the request that the network equipment 5 is sent to, the first interface that its second interface provided by described second interface module 14 and first interface module are provided sends corresponding browse request instruction to described annexation acquisition module 11, described annexation acquisition module 11 provides module 13 described in being sent to by corresponding Port Connection Information by first interface and the second interface based on this browse request instruction again, the described module 13 that provides is processed into receiving port connection relationship the form that the browser such as webpage or picture can identify, and be supplied to browse request people.
The course of work of above-mentioned discovery and real-time rendering system 1 will be described in detail in detail by instantiation below:
As shown in Figure 2, in step sl, after openflow switch adds SDN, annexation acquisition module 11 obtains the Port Connection Information between each openflow switch based on the protocol between SDN controller and openflow switch.
Such as, first, after controller 2 receives openflow switch OFPT_FEATURES_REPLY message, represent the success of shaking hands between openflow switch and controller 2, then annexation acquisition module 11 stores openflow switch dpid and openflow switch all of the port Port information.
Subsequently, annexation acquisition module 11 issues a stream table flow on the openflow switch be connected with controller belonging to self 2, the concrete meaning of this stream table be when openflow switch receive that Ethernet type is 0x88cc, destination-mac address be x01 x80 xc2 x00 x00 x0e packet after, all issue oneself (i.e. annexation acquisition module 11).
Then, annexation acquisition module 11 is for each port configuration LLDP packet of openflow switch, and sent by OFPT_PACKET_OUT message, like this, after the openflow switch be connected with this openflow switch receives this LLADP packet, by PacketIn message, Port Connection Information is sent the openflow switch be connected with self, this packet will be transmitted to annexation acquisition module 11 according to the stream list item issued by this openflow switch, and then annexation acquisition module 11 just may learn the annexation of openflow inter-exchange.
In step s 2, when an openflow switch leaves SDN, annexation acquisition module 11 upgrades corresponding Port Connection Information.
Such as, annexation acquisition module 11 timing goes by PACK_OUT message the annexation detecting openflow inter-exchange on the port PO RT of openflow switch, and upgrades the annexation of the openflow inter-exchange preserved.
In step s3, the first interface that the second interface providing module 13 to provide based on the second interface module 14 and first interface module 12 provide sends the browse request browsing Port Connection Information to described annexation acquisition module 11.
Such as, browse request people by browser timing send request the request of topological data to the module 13 that provides be arranged in GUI web server, described in provide module 13, by the second interface and first interface, this request is transferred to described annexation acquisition module 11.
In step s 4 which, described annexation acquisition module 11 feeds back to corresponding Port Connection Information based on the browse request received by first interface and the second interface.
Such as, the annexation acquisition module 11 being arranged on GUI web server intercepts connection and the request of browser, and obtain corresponding port link information according to the request of browser by whereabouts annexation acquisition module 11, and the Port Connection Information of acquisition is transmitted back by the second interface and first interface module 13 is provided.
In step s 5, provide module 13 that received Port Connection Information is supplied to browse request people described in.
Particularly, described in provide module 13 to send received Port Connection Information to the network equipment operated by browse request people, the browser of this network equipment shows the physical topology of actual SDN more in real time in patterning mode.
In sum, the discovery of SDN topological structure of the present invention and real-time rendering system and method can realize the real-time perception to SDN equipment, make controller to the state of the network equipment more comprehensively, the topology situation of the complete awareness network of controller energy, and present in real time by the mode of browser access.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.
Claims (9)
1. the discovery of SDN topological structure and a real-time rendering system, it is characterized in that, discovery and the real-time rendering system of described SDN topological structure at least comprise:
Be arranged on the annexation acquisition module in SDN controller, for obtaining the Port Connection Information between each openflow switch based on the protocol between SDN controller and openflow switch, and when an openflow switch leaves SDN, upgrade corresponding Port Connection Information;
Be arranged on the first interface module in described SDN controller, for providing the first interface of output port link information to described annexation acquisition module;
There is provided module, for providing corresponding port link information based on browse request;
Second interface module, for described the second interface providing module to provide receiving port link information.
2. the discovery of SDN topological structure according to claim 1 and real-time rendering system, is characterized in that: described second interface module and provide module to be all arranged in WEB server.
3. the discovery of SDN topological structure according to claim 1 and real-time rendering system, is characterized in that: described in provide module can identify with browser mode to provide corresponding port link information.
4. the discovery of SDN topological structure according to claim 1 and real-time rendering system, is characterized in that: the protocol between described SDN controller and openflow switch comprises LLDP protocol.
5. the discovery of SDN topological structure according to claim 1 and real-time rendering system, is characterized in that: described first interface module providing package is containing the northbound interface of API Calls interface.
6. the discovery of SDN topological structure and a real-time rendering method, is characterized in that, the discovery of described SDN topological structure and in real time rendering method at least comprise:
After openflow switch adds SDN, annexation acquisition module obtains the Port Connection Information between each openflow switch based on the protocol between SDN controller and openflow switch;
When an openflow switch leaves SDN, annexation acquisition module upgrades corresponding Port Connection Information;
The first interface that the second interface providing module to provide based on the second interface module and first interface module provide sends the browse request browsing Port Connection Information to described annexation acquisition module;
Described annexation acquisition module feeds back to corresponding Port Connection Information based on the browse request received by first interface and the second interface;
Received Port Connection Information is supplied to browse request people by the described module that provides.
7. the discovery of SDN topological structure according to claim 6 and real-time rendering method, is characterized in that: described in provide module can identify with browser mode to provide Port Connection Information.
8. the discovery of SDN topological structure according to claim 6 and real-time rendering method, is characterized in that: the protocol between described SDN controller and openflow switch comprises LLDP protocol.
9. the discovery of SDN topological structure according to claim 6 and real-time rendering method, is characterized in that: described first interface is the northbound interface comprising API Calls interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310727865.3A CN104753695B (en) | 2013-12-25 | 2013-12-25 | The discovery of SDN network topological structure and real-time rendering system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310727865.3A CN104753695B (en) | 2013-12-25 | 2013-12-25 | The discovery of SDN network topological structure and real-time rendering system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104753695A true CN104753695A (en) | 2015-07-01 |
CN104753695B CN104753695B (en) | 2018-11-30 |
Family
ID=53592853
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310727865.3A Active CN104753695B (en) | 2013-12-25 | 2013-12-25 | The discovery of SDN network topological structure and real-time rendering system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104753695B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105634962A (en) * | 2016-01-22 | 2016-06-01 | 北京航空航天大学 | SDN network topology generation method and device |
CN105721318A (en) * | 2016-02-29 | 2016-06-29 | 华为技术有限公司 | Method and device for discovering network topology in software defined network SDN (Software Defined Network) |
CN105809248A (en) * | 2016-03-01 | 2016-07-27 | 中山大学 | Method for configuring DANN onto SDN and an interaction method between them |
CN109687989A (en) * | 2017-10-19 | 2019-04-26 | 中兴通讯股份有限公司 | A kind of networking method for acquiring topology and system |
CN110661629A (en) * | 2018-06-28 | 2020-01-07 | 中兴通讯股份有限公司 | Network topology discovery method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102594689A (en) * | 2012-02-22 | 2012-07-18 | 中兴通讯股份有限公司 | Distributed network control method and device |
CN103051629A (en) * | 2012-12-24 | 2013-04-17 | 华为技术有限公司 | Software defined network-based data processing system, method and node |
CN103259728A (en) * | 2013-05-24 | 2013-08-21 | 华为技术有限公司 | OFS in-band communication method and OFS |
US20130266007A1 (en) * | 2012-04-10 | 2013-10-10 | International Business Machines Corporation | Switch routing table utilizing software defined network (sdn) controller programmed route segregation and prioritization |
CN103401786A (en) * | 2013-07-12 | 2013-11-20 | 华为技术有限公司 | Method, device and system for establishing network topology, controlling path and transmitting message |
US20130322443A1 (en) * | 2012-05-29 | 2013-12-05 | Futurewei Technologies, Inc. | SDN Facilitated Multicast in Data Center |
-
2013
- 2013-12-25 CN CN201310727865.3A patent/CN104753695B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102594689A (en) * | 2012-02-22 | 2012-07-18 | 中兴通讯股份有限公司 | Distributed network control method and device |
US20130266007A1 (en) * | 2012-04-10 | 2013-10-10 | International Business Machines Corporation | Switch routing table utilizing software defined network (sdn) controller programmed route segregation and prioritization |
US20130322443A1 (en) * | 2012-05-29 | 2013-12-05 | Futurewei Technologies, Inc. | SDN Facilitated Multicast in Data Center |
CN103051629A (en) * | 2012-12-24 | 2013-04-17 | 华为技术有限公司 | Software defined network-based data processing system, method and node |
CN103259728A (en) * | 2013-05-24 | 2013-08-21 | 华为技术有限公司 | OFS in-band communication method and OFS |
CN103401786A (en) * | 2013-07-12 | 2013-11-20 | 华为技术有限公司 | Method, device and system for establishing network topology, controlling path and transmitting message |
Non-Patent Citations (1)
Title |
---|
OSCAR MAURICIO CAICEDO RENDON, ET. AL.: "A Mashup-based Approach for Virtual SDN Management", 《2013 IEEE 37TH ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105634962A (en) * | 2016-01-22 | 2016-06-01 | 北京航空航天大学 | SDN network topology generation method and device |
CN105634962B (en) * | 2016-01-22 | 2018-07-24 | 北京航空航天大学 | The generation method and device of SDN network topology |
CN105721318A (en) * | 2016-02-29 | 2016-06-29 | 华为技术有限公司 | Method and device for discovering network topology in software defined network SDN (Software Defined Network) |
CN105721318B (en) * | 2016-02-29 | 2018-12-25 | 华为技术有限公司 | The method and apparatus of network topology are found in a kind of software defined network SDN |
CN105809248A (en) * | 2016-03-01 | 2016-07-27 | 中山大学 | Method for configuring DANN onto SDN and an interaction method between them |
CN105809248B (en) * | 2016-03-01 | 2018-07-24 | 中山大学 | A kind of configuration and exchange method of the distribution artificial neural network on SDN |
CN109687989A (en) * | 2017-10-19 | 2019-04-26 | 中兴通讯股份有限公司 | A kind of networking method for acquiring topology and system |
CN109687989B (en) * | 2017-10-19 | 2021-11-23 | 中兴通讯股份有限公司 | Networking topology obtaining method and system |
CN110661629A (en) * | 2018-06-28 | 2020-01-07 | 中兴通讯股份有限公司 | Network topology discovery method and device |
CN110661629B (en) * | 2018-06-28 | 2022-02-25 | 中兴通讯股份有限公司 | Network topology discovery method and device |
Also Published As
Publication number | Publication date |
---|---|
CN104753695B (en) | 2018-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104253749B (en) | A kind of user terminal distribution route computational methods based on software defined network framework | |
US9628339B1 (en) | Network testbed creation and validation | |
CN105874744B (en) | System and method for virtualizing remote-control device | |
CN106130796B (en) | SDN network topology traffic visualization monitoring method and control terminal | |
CN103825954A (en) | OpenFlow control method and corresponding insert, platform and network thereof | |
CN104753695A (en) | Discovery and real-time display system and method for SDN (Software Defined Network) network topology | |
CN104363159A (en) | Virtual open network building system and method based on software definition network | |
CN104410538A (en) | Network topological structure management method and system | |
CN103997513B (en) | A kind of programmable virtual network service system | |
CN105809248A (en) | Method for configuring DANN onto SDN and an interaction method between them | |
CN104935604B (en) | A kind of SDN firewall systems and method based on OpenFlow agreements | |
CN105162674A (en) | Method and network card for physical machine to access to virtual network | |
CN103795596A (en) | Programmable control SDN measuring system and method | |
CN104486246A (en) | SDN (software defined networking) architecture based method for realizing QoS (quality of service) mechanism of VXLAN (virtual extensible LAN) | |
CN107209695A (en) | System, virtualization control device, the methods and procedures for controlling virtualization control device | |
Son et al. | SDCon: Integrated control platform for software-defined clouds | |
WO2014023172A1 (en) | System and method for managing cwsn communication data based on gui graphic interaction interface | |
CN109391516A (en) | Realize the cloud third party NMS system of more producer UTN equipment centralized maintenance management | |
CN103078765A (en) | Test method and device of network element equipment performance | |
CN104301417A (en) | Load balancing method and device | |
US10552513B1 (en) | Computer system entity rendering system | |
CN109743259A (en) | A kind of traffic scheduling method and device of network | |
CN108039965A (en) | A kind of link data acquisition method of Simulation-Oriented network | |
CN105119911A (en) | Safety authentication method and system based on SDN flow | |
CN103401954B (en) | The implementation method of virtual DHCP |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |