CN104753695B - The discovery of SDN network topological structure and real-time rendering system and method - Google Patents

The discovery of SDN network topological structure and real-time rendering system and method Download PDF

Info

Publication number
CN104753695B
CN104753695B CN201310727865.3A CN201310727865A CN104753695B CN 104753695 B CN104753695 B CN 104753695B CN 201310727865 A CN201310727865 A CN 201310727865A CN 104753695 B CN104753695 B CN 104753695B
Authority
CN
China
Prior art keywords
module
connection relationship
interface
openflow interchanger
openflow
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310727865.3A
Other languages
Chinese (zh)
Other versions
CN104753695A (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.)
Shanghai Broadband Technology and Application Engineering Research Center
Original Assignee
Shanghai Broadband Technology and Application Engineering Research Center
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Broadband Technology and Application Engineering Research Center filed Critical Shanghai Broadband Technology and Application Engineering Research Center
Priority to CN201310727865.3A priority Critical patent/CN104753695B/en
Publication of CN104753695A publication Critical patent/CN104753695A/en
Application granted granted Critical
Publication of CN104753695B publication Critical patent/CN104753695B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides the discovery and real-time rendering system and method for a kind of SDN network topological structure.According to the method for the present invention, after SDN network is added in openflow interchanger, connection relationship is obtained module and is obtained the Port Connection Information between each openflow interchanger based on the protocol between SDN controller and openflow interchanger;When an openflow interchanger leaves SDN network, connection relationship obtains module and updates corresponding Port Connection Information;When browse request people needs to browse SDN network topology, the second interface that module is provided based on second interface module is provided and the first interface that first interface module provides obtains module to connection relationship and send browse request;Connection relationship obtains module and feeds back to corresponding Port Connection Information based on received browse request;Then, module is provided, received Port Connection Information is supplied to browse request people, be achieved in the real-time perception to the network equipment and presented in real time.

Description

The discovery of SDN network topological structure and real-time rendering system and method
Technical field
The present invention relates to SDN network fields, and the discovery and presentation in real time more particularly to a kind of SDN network topological structure are System and method.
Background technique
Software defined network(Software Defined Network,SDN), it is a kind of new network of Emulex network innovation framework, Core technology OpenFlow is by separating network equipment control plane with data surface, to realize the flexible of network flow Control, provides good platform for the innovation of core network and application.
The main purpose of discovering network topology be acquiring and maintaining network node there are between information and network node Connection relation information, and whole network topological diagram is drawn out on this basis, so that network management personnel is in the base of the topological diagram Malfunctioning node can quickly be positioned on plinth.
Under the existing network architecture, the equipment in order to enable different vendor in a network, finds mutually and interaction is each From system and configuration information, LLDP (Link Layer Discovery Protocol, Link Layer Discovery Protocol) provide one The link layer of kind standard finds mode, can be by the unique ability of local device, management address, device identification, interface identifier etc. Information is organized into different TLV(Type/Length/Value, type/length/value), and it is encapsulated in LLDPDU(Link Layer Discovery Protocol Data Unit, Link Layer Discovery Protocol data cell)In be distributed to the neighbours direct-connected with oneself, Neighbours receive it after these information with standard mib(Management Information Base, management information bank)Form It saves, so that the communication conditions of link are inquired and judged to Network Management System.
But under novel SDN network framework, due to the network equipment will not active transmission and receive LLDP data, The information of equipment other in network will not be stored, therefore, how find and safeguard the topology situation of whole network, and The information for safeguarding each network equipment becomes the technical task that SDN network administrative staff need to solve.
Summary of the invention
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide a kind of SDN network topological structures It was found that and real-time rendering system and method, to obtain the topological structure of SDN network and to present in real time.
In order to achieve the above objects and other related objects, the present invention provides the discovery and reality of a kind of SDN network topological structure Shi Chengxian system, includes at least:
The connection relationship being arranged in SDN controller obtains module, for based on SDN controller and openflow interchanger Between protocol obtain the Port Connection Information between each openflow interchanger, and when an openflow interchanger from When opening SDN network, corresponding Port Connection Information is updated;
First interface module in the SDN controller is set, it is defeated for obtaining module offer to the connection relationship The first interface of exit port link information;
Module is provided, for providing corresponding port link information based on browse request;
Second interface module, for providing the second interface of receiving port link information to the offer module.
The present invention also provides a kind of discovery of SDN network topological structure and real-time rendering methods, include at least:
After SDN network is added in openflow interchanger, connection relationship obtains module and is based on SDN controller and openflow Protocol between interchanger obtains the Port Connection Information between each openflow interchanger;
When an openflow interchanger leaves SDN network, connection relationship obtains module and updates corresponding port connection letter Breath;
There is provided the first interface of second interface and the offer of first interface module that module is provided based on second interface module to The connection relationship obtains the browse request that module sends browsing Port Connection Information;
The connection relationship obtains module and feeds back to phase by first interface and second interface based on received browse request The Port Connection Information answered;
Preferably, the second interface module and offer module are arranged in WEB server.
Preferably, the offer module can be known otherwise with browser to provide corresponding port link information.
Preferably, the protocol between the SDN controller and openflow interchanger includes LLDP protocol.
Preferably, the first interface module provides the northbound interface comprising API Calls interface.
As described above, discovery and the real-time rendering method of SDN network topological structure of the invention, have below beneficial to effect Fruit:Realize the real-time perception to the network equipment so that controller to the state of the network equipment more comprehensively, controller can be complete The topology situation of network is solved, and can be presented in real time in such a way that browser accesses.
Detailed description of the invention
Fig. 1 is shown as discovery and the real-time rendering system schematic diagram of SDN network topological structure of the invention.
Fig. 2 be shown as SDN network topological structure of the invention discovery and real-time rendering method flow chart.
Component label instructions
1 discovery and real-time rendering system
11 connection relationships obtain module
12 first interface modules
13 provide module
14 second interface modules
2 controllers
3,3 ' openflow interchanger
4 WEB servers
5 network equipments
S1~S5 step
Specific embodiment
Illustrate embodiments of the present invention below by way of specific specific example, those skilled in the art can be by this specification Other advantages and efficacy of the present invention can be easily understood for disclosed content.The present invention can also pass through in addition different specific realities The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints and application, without departing from Various modifications or alterations are carried out under spirit of the invention.
Please refer to Fig. 1 and Fig. 2.It should be noted that diagram provided in the present embodiment only illustrates this in a schematic way The basic conception of invention, only shown in schema then with related component in the present invention rather than package count when according to actual implementation Mesh, shape and size are drawn, when actual implementation kenel, quantity and the ratio of each component can arbitrarily change for one kind, and its Assembly layout kenel may also be increasingly complex.
As shown in Figure 1, the present invention provides discovery and the real-time rendering system of a kind of SDN network topological structure.The discovery And real-time rendering system 1 includes at least:Connection relationship obtains module 11, first interface module 12, provides module 13, second interface Module 14.
The connection relationship obtains module 11 and is arranged in SDN controller 2, for being based on SDN controller 2 and openflow Protocol between interchanger obtains the Port Connection Information between each openflow interchanger, and when an openflow is handed over It changes planes when leaving SDN network, updates corresponding Port Connection Information.
Wherein, the protocol between SDN controller 2 and openflow interchanger 3 includes that any can be used for SDN controller With the protocol between openflow interchanger, it is preferable that include but is not limited to:LLDP protocol etc..
Specifically, after SDN controller 2 and openflow interchanger are shaken hands successfully, the connection relationship obtains module 11 With itself belonging to the openflow interchanger 3 that connect of SDN controller 2 on issue an instruction information, which refers to Show that after receiving particular data packet relevant to port connection relationship, which is turned for the openflow interchanger 3 Issue oneself(The i.e. described connection relationship obtains module 11);The connection relationship obtains module 11 and is exchanged according to openflow simultaneously The LLDP data packet is sent to other openflow interchangers to construct LLDP data packet by each port of machine 3, as a result, The openflow interchanger 3 ' being connected with openflow interchanger 3 can pass through the data packet after receiving LLDP data packet Openflow message issues the connection relationship and obtains module 11, the connection relationship obtain module 11 according to front construction and under The LLDP packet of hair compares and analyzes, so that it may which the connection relationship of inter-exchange is arrived in study;When the connection relationship obtains module Controller 2 belonging to 11 receives a certain openflow switch port state update message, when becoming down such as port status, then The connection relationship obtains module 11 and needs to safeguard the Port Connection Information of the openflow interchanger again, and updates The connection relationship of openflow inter-exchange.
The first interface module 12 is arranged in the SDN controller 2, for obtaining module 11 to the connection relationship The first interface of output port link information is provided.
Wherein, the first interface can be any interface that the connection relationship can be made to obtain 11 output information of module, Preferably, including but is not limited to is the northbound interface etc. comprising API Calls interface.
The offer module 13 is for providing corresponding port link information based on browse request.
The second interface module 14 is used to provide the second interface of receiving port link information to the offer module 13.
Preferably, the second interface module 14 and offer module 13 are arranged in WEB server 4, it is further preferable that The offer module 13 can be known with browser to be come to provide Port Connection Information to browse request people otherwise, thus facilitates browsing The browse operation of claimant.
Specifically, the module 13 that provides receives the request browsing SDN net that browse request people is sent to by the network equipment 5 After the browse request of network structure, what the second interface and first interface module provided by the second interface module 14 provided First interface obtains module 11 to the connection relationship and sends corresponding browse request instruction, and the connection relationship obtains module 11 Described provide to is sent corresponding Port Connection Information by first interface and second interface again based on browse request instruction Module 13, the offer module 13 are processed into the lattice that the browsers such as webpage or picture can identify for port connection relationship is received Formula, and it is supplied to browse request people.
The course of work of above-mentioned discovery and real-time rendering system 1 will be described in detail below by specific example:
As shown in Fig. 2, in step sl, after SDN network is added in openflow interchanger, connection relationship obtains module 11 The port obtained between each openflow interchanger based on the protocol between SDN controller and openflow interchanger is connected Connect information.
For example, firstly, being indicated after controller 2 receives openflow interchanger OFPT_FEATURES_REPLY message Shaking hands between openflow interchanger and controller 2 has succeeded, then connection relationship obtains module 11 and stores openflow exchange Machine dpid and openflow interchanger all of the port Port information.
Then, connection relationship obtains module 11 and issues on the openflow interchanger connecting with itself affiliated controller 2 One flow table flow, it is 0x88cc, target that the concrete meaning of the flow table, which is when openflow interchanger receives Ethernet type, MAC Address be x01 x80 xc2 x00 x00 x0e data packet after, issue oneself(I.e. connection relationship obtains module 11).
Then, connection relationship obtains each port configuration LLDP data packet that module 11 is directed to openflow interchanger, and It is sent by OFPT_PACKET_OUT message, in this way, the openflow interchanger being connected with the openflow interchanger is received To after the LLADP data packet, Port Connection Information is sent by PacketIn message and is exchanged with the openflow itself being connected The data packet will be transmitted to connection relationship according to the flow entry issued and obtain module 11 by machine, the openflow interchanger, into And connection relationship acquisition module 11 can learn the connection relationship to openflow inter-exchange.
In step s 2, when an openflow interchanger leaves SDN network, connection relationship obtains module 11 and updates accordingly Port Connection Information.
Disappeared on the port PO RT of openflow interchanger by PACK_OUT for example, connection relationship obtains 11 timing of module Breath goes the connection relationship of detection openflow inter-exchange, and updates the connection relationship of the openflow inter-exchange of preservation.
In step s3, second interface and first interface module 12 that module 13 is provided based on second interface module 14 are provided The first interface of offer obtains the browse request that module 11 sends browsing Port Connection Information to the connection relationship.
For example, browse request people is sent by browser timing to the offer module 13 being arranged in GUI web server The request of topological data is requested, which is transferred to the connection by second interface and first interface by the offer module 13 Relation acquisition module 11.
In step s 4, the connection relationship acquisition module 11 passes through first interface and second based on received browse request Interface feeds back to corresponding Port Connection Information.
For example, the connection relationship that GUI web server is arranged in obtains connection and request that module 11 listens to browser, and Module 11 is obtained by whereabouts connection relationship according to the request of browser and obtains corresponding port link information, and the port that will acquire Link information is transmitted back to by second interface and first interface and provides module 13.
In step s 5, received Port Connection Information is supplied to browse request people by the offer module 13.
Specifically, the offer module 13 sends received Port Connection Information to operated by browse request people net Network equipment, the browser of the network equipment is again with the physical topology of the patterning actual SDN network of mode real-time display.
In conclusion the discovery of SDN network topological structure of the invention and real-time rendering system and method can be realized to SDN The real-time perception of the network equipment so that controller to the state of the network equipment more comprehensively, controller can be opened up awareness network completely Situation is flutterred, and can be presented in real time in such a way that browser accesses.So the present invention effectively overcome it is in the prior art various Disadvantage and have high industrial utilization value.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe The personage for knowing this technology all without departing from the spirit and scope of the present invention, carries out modifications and changes to above-described embodiment.Cause This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as At all equivalent modifications or change, should be covered by the claims of the present invention.

Claims (5)

1. discovery and the real-time rendering system of a kind of SDN network topological structure, which is characterized in that the SDN network topological structure Discovery and real-time rendering system include at least:
The connection relationship being arranged in SDN controller obtains module, for based between SDN controller and openflow interchanger Protocol obtain the Port Connection Information between each openflow interchanger, and when an openflow interchanger leaves When SDN network, corresponding Port Connection Information is updated;
First interface module in the SDN controller is set, provides output end for obtaining module to the connection relationship The first interface of mouth link information;
Module is provided, for providing corresponding port link information based on browse request;The offer module can be known with browser There is provided corresponding port link information otherwise;
Second interface module, for providing the second interface of receiving port link information to the offer module;
Protocol between the SDN controller and openflow interchanger includes LLDP protocol, wherein:The SDN After controller and openflow interchanger are shaken hands successfully, the connection relationship acquisition module is the SDN controller belonging to itself Connection the first openflow interchanger issue an instruction information, be used to indicate the first openflow interchanger receive with The particular data packet is forwarded to the connection relationship after the relevant particular data packet of port connection relationship and obtains module itself;And And the connection relationship obtains module according to each port configuration LLDP data packet of the first openflow interchanger, and should LLDP data packet is sent to the 2nd openflow interchanger;The 2nd openflow interchanger receives the LLDP data packet Afterwards, which is sent to the connection relationship by openflow message and obtains module;The connection relationship obtains The particular data packet and the LLDP data packet are compared by module, are handed over according to each openflow of comparison result information learning Connection relationship between changing planes.
2. discovery and the real-time rendering system of SDN network topological structure according to claim 1, it is characterised in that:It is described Second interface module and offer module are arranged in WEB server.
3. discovery and the real-time rendering system of SDN network topological structure according to claim 1, it is characterised in that:It is described First interface module provides the northbound interface comprising API Calls interface.
4. discovery and the real-time rendering method of a kind of SDN network topological structure, which is characterized in that the SDN network topological structure Discovery and real-time rendering method include at least:
After SDN network is added in openflow interchanger, connection relationship is obtained module and is exchanged based on SDN controller with openflow Protocol between machine obtains the Port Connection Information between each openflow interchanger;
When an openflow interchanger leaves SDN network, connection relationship obtains module and updates corresponding Port Connection Information;
The first interface of second interface and the offer of first interface module that module is provided based on second interface module is provided to described Connection relationship obtains the browse request that module sends browsing Port Connection Information;The side that module is provided and can be identified with browser Formula provides Port Connection Information;
The connection relationship is obtained module and is fed back to accordingly based on received browse request by first interface and second interface Port Connection Information;
Received Port Connection Information is supplied to browse request people by the offer module;
Protocol between the SDN controller and openflow interchanger includes LLDP protocol, wherein:The SDN After controller and openflow interchanger are shaken hands successfully, the connection relationship acquisition module is the SDN controller belonging to itself Connection the first openflow interchanger issue an instruction information, be used to indicate the first openflow interchanger receive with The particular data packet is forwarded to the connection relationship after the relevant particular data packet of port connection relationship and obtains module itself;And And the connection relationship obtains module according to each port configuration LLDP data packet of the first openflow interchanger, and should LLDP data packet is sent to the 2nd openflow interchanger;The 2nd openflow interchanger receives the LLDP data packet Afterwards, which is sent to the connection relationship by openflow message and obtains module;The connection relationship obtains The particular data packet and the LLDP data packet are compared by module, are handed over according to each openflow of comparison result information learning Connection relationship between changing planes.
5. discovery and the real-time rendering method of SDN network topological structure according to claim 4, it is characterised in that:It is described First interface is the northbound interface comprising API Calls interface.
CN201310727865.3A 2013-12-25 2013-12-25 The discovery of SDN network topological structure and real-time rendering system and method Active CN104753695B (en)

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 CN104753695A (en) 2015-07-01
CN104753695B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105634962B (en) * 2016-01-22 2018-07-24 北京航空航天大学 The generation method and device of SDN network topology
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
CN105809248B (en) * 2016-03-01 2018-07-24 中山大学 A kind of configuration and exchange method of the distribution artificial neural network on SDN
CN109687989B (en) * 2017-10-19 2021-11-23 中兴通讯股份有限公司 Networking topology obtaining method and system
CN110661629B (en) * 2018-06-28 2022-02-25 中兴通讯股份有限公司 Network topology discovery method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594689A (en) * 2012-02-22 2012-07-18 中兴通讯股份有限公司 Distributed network control method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9225635B2 (en) * 2012-04-10 2015-12-29 International Business Machines Corporation Switch routing table utilizing software defined network (SDN) controller programmed route segregation and prioritization
US10225094B2 (en) * 2012-05-29 2019-03-05 Futurewei Technologies, Inc. SDN facilitated multicast in data center
CN106170024B (en) * 2012-12-24 2019-12-24 华为技术有限公司 System, method and node for data processing in software defined network
CN103259728B (en) * 2013-05-24 2016-03-30 华为技术有限公司 A kind of OFS in-band communications method and OFS
CN103401786B (en) * 2013-07-12 2016-08-24 华为技术有限公司 Network topology foundation, path clustering, message transmitting method and device, system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594689A (en) * 2012-02-22 2012-07-18 中兴通讯股份有限公司 Distributed network control method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
A Mashup-based Approach for Virtual SDN Management;Oscar Mauricio Caicedo Rendon, et. al.;《2013 IEEE 37th Annual Computer Software and Applications Conference》;20130726;第144页第II节至第147页第IV节 *

Also Published As

Publication number Publication date
CN104753695A (en) 2015-07-01

Similar Documents

Publication Publication Date Title
CN104753695B (en) The discovery of SDN network topological structure and real-time rendering system and method
CN103825954B (en) A kind of OpenFlow control methods and corresponding plug-in unit, platform and network
CN105357046B (en) A method of the network information for software defined network SDN detects
CN106130796B (en) SDN network topology traffic visualization monitoring method and control terminal
CN105553849B (en) A kind of traditional IP and SPTN network intercommunication method and system
CN104253749B (en) A kind of user terminal distribution route computational methods based on software defined network framework
CN105337857B (en) A kind of multi-path transmission method based on software defined network
CN104363159B (en) A kind of opening virtual network constructing system and method based on software defined network
CN105430113B (en) SDN network ARP message processing methods, system, controller and interchanger
CN105376154B (en) Gradual MAC address learning
CN104901890B (en) A kind of SDN route generation, matching process and system
CN104283756B (en) A kind of method and apparatus for realizing distributed multi-tenant virtual network
CN105162704B (en) The method and device of multicast replication in Overlay network
CN104717098B (en) A kind of data processing method and device
CN105763416B (en) A kind of data transmission method and controller
CN106411785A (en) Openstack network system based on whole OPENFLOW physical switch network and realization method thereof
CN104092684B (en) A kind of OpenFlow agreements support VPN method and apparatus
CN103607308A (en) Virtual machine multi-network management system and method in cloud computing environment
CN104468394A (en) Method and device for forwarding messages in VXLAN network
CN107749803A (en) A kind of network topology layout method and device
CN105119911B (en) A kind of safety certifying method and system based on SDN streams
CN105227393B (en) A kind of bidirectional forwarding detection (BFD) method
CN103841189B (en) The method that data communicate between control cloud computing center server
CN105007169A (en) Data center auto provisioning
CN104301129A (en) Dynamic host configuration method and system in software defined network

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