CN102907052A - Method and device for processing topology information - Google Patents
Method and device for processing topology information Download PDFInfo
- Publication number
- CN102907052A CN102907052A CN2012800010835A CN201280001083A CN102907052A CN 102907052 A CN102907052 A CN 102907052A CN 2012800010835 A CN2012800010835 A CN 2012800010835A CN 201280001083 A CN201280001083 A CN 201280001083A CN 102907052 A CN102907052 A CN 102907052A
- Authority
- CN
- China
- Prior art keywords
- topology information
- territory
- control appliance
- control device
- domain
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims description 40
- 238000012545 processing Methods 0.000 title abstract description 29
- 230000010365 information processing Effects 0.000 claims abstract description 8
- 238000003672 processing method Methods 0.000 claims abstract description 8
- 230000005540 biological transmission Effects 0.000 claims description 9
- 238000004891 communication Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 10
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- ABEXEQSGABRUHS-UHFFFAOYSA-N 16-methylheptadecyl 16-methylheptadecanoate Chemical compound CC(C)CCCCCCCCCCCCCCCOC(=O)CCCCCCCCCCCCCCC(C)C ABEXEQSGABRUHS-UHFFFAOYSA-N 0.000 description 2
- 241000764238 Isis Species 0.000 description 2
- 238000005417 image-selected in vivo spectroscopy Methods 0.000 description 2
- 238000012739 integrated shape imaging system Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/12—Discovery or management of network topologies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
- H04L45/04—Interdomain routing, e.g. hierarchical routing
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域 technical field
本申请涉及通信技术,尤其涉及拓扑信息处理方法及设备。The present application relates to communication technology, in particular to a topology information processing method and device.
背景技术 Background technique
随着互联网的发展,分布式系统无法更好的满足网络扩展性和管理上的需求,因此,控制和转发分离的集中式系统应运而生,例如:开放流(OpenFlow)系统等。控制设备(例如,Master等)和该控制设备管理的网络设备(例如,AP(Access Point)等)共同完成原来完全由交换机/路由器控制的报文转发过程,从而实现了数据转发和路由控制的分离。随着网络设备的增加,控制设备(Master)可以采用内部网关协议(Interior Gateway Protocol,IGP)或链路层发现协议(Link Layer Discovery Protocol,LLDP)等协议,经由该控制设备管理的网络设备收集整个网络的拓扑信息。With the development of the Internet, distributed systems cannot better meet the needs of network scalability and management. Therefore, centralized systems that separate control and forwarding have emerged, such as OpenFlow systems. The control device (for example, Master, etc.) and the network device (for example, AP (Access Point), etc.) managed by the control device jointly complete the packet forwarding process that was originally completely controlled by the switch/router, thus realizing the combination of data forwarding and routing control. separate. With the increase of network devices, the control device (Master) can adopt protocols such as Interior Gateway Protocol (Interior Gateway Protocol, IGP) or Link Layer Discovery Protocol (Link Layer Discovery Protocol, LLDP) to collect data from network devices managed by the control device. Topology information of the entire network.
然而,由于控制设备都需要经由该控制设备管理的网络设备收集整个网络的拓扑信息,因此,导致了控制设备的处理负担的增加,从而使得网络规模受限。However, since the control device needs to collect the topology information of the entire network via the network device managed by the control device, the processing load of the control device increases, thereby limiting the network scale.
发明内容 Contents of the invention
本申请的多个方面提供拓扑信息处理方法及设备,用以降低控制设备的处理负担。Aspects of the present application provide a topology information processing method and device to reduce the processing burden of the control device.
本申请的一方面,提供一种拓扑信息处理方法,所述方法应用于控制和转发分离的集中式系统,所述系统包括第一控制设备和第二控制设备,以及所述第一控制设备管理的网络设备和所述第二控制设备管理的网络设备,该方法包括:In one aspect of the present application, a method for processing topology information is provided, the method is applied to a centralized system in which control and forwarding are separated, the system includes a first control device and a second control device, and the first control device manages The network device and the network device managed by the second control device, the method includes:
所述第一控制设备获得所述第一控制设备所属第一域的拓扑信息,所述第一域为所述第一控制设备以及所述第一控制设备管理的网络设备所构成的域;The first control device obtains topology information of a first domain to which the first control device belongs, where the first domain is a domain formed by the first control device and network devices managed by the first control device;
所述第一控制设备接收所述第二控制设备发送的所述第二控制设备所属第二域的拓扑信息,所述第二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的域;The first control device receives the topology information of the second domain to which the second control device belongs sent by the second control device, and the second domain is managed by the second control device and the second control device. A domain composed of network devices;
所述第一控制设备将包含所述第一域的拓扑信息的拓扑信息发送给所述第二控制设备。The first control device sends topology information including topology information of the first domain to the second control device.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述包含所述第一域的拓扑信息的拓扑信息为所述第一控制设备将所述第一域的拓扑信息和所述第二域的拓扑信息进行汇总后得到的拓扑信息。According to the above-mentioned aspect and any possible implementation manner, an implementation manner is further provided, the topology information including the topology information of the first domain is for the first control device to transfer the topology information of the first domain to and the topology information obtained after summarizing the topology information of the second domain.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述包含所述第一域的拓扑信息的拓扑信息为所述第一控制设备获得的所述第一域的拓扑信息。According to the above aspect and any possible implementation manner, an implementation manner is further provided, the topology information including the topology information of the first domain is the topology of the first domain obtained by the first control device information.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述第一控制设备获得所述第一控制设备所属第一域的拓扑信息,包括:According to the foregoing aspect and any possible implementation manner, an implementation manner is further provided, where the first control device obtains the topology information of the first domain to which the first control device belongs, including:
所述第一控制设备利用IGP,获得所述第一控制设备所属第一域的拓扑信息;或者The first control device obtains the topology information of the first domain to which the first control device belongs by using an IGP; or
所述第一控制设备利用LLDP,获得所述第一控制设备所属第一域的拓扑信息。The first control device obtains the topology information of the first domain to which the first control device belongs by using LLDP.
本申请的另一方面,提供一种拓扑信息处理方法,所述方法应用于控制和转发分离的集中式系统,所述系统包括第一控制设备、第二控制设备和拓扑收集设备,以及所述第一控制设备管理的网络设备和所述第二控制设备管理的网络设备,该方法包括:Another aspect of the present application provides a method for processing topology information, the method is applied to a centralized system in which control and forwarding are separated, and the system includes a first control device, a second control device, and a topology collection device, and the The network device managed by the first control device and the network device managed by the second control device, the method includes:
所述拓扑收集设备接收所述第一控制设备发送的所述第一控制设备所属第一域的拓扑信息,所述第一域为所述第一控制设备以及所述第一控制设备管理的网络设备所构成的域;The topology collection device receives the topology information of the first domain to which the first control device belongs and is sent by the first control device, and the first domain is the first control device and a network managed by the first control device the domain formed by the device;
所述拓扑收集设备接收所述第二控制设备发送的所述第二控制设备所属第二域的拓扑信息,所述第二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的域;receiving, by the topology collection device, topology information of a second domain to which the second control device belongs, sent by the second control device, where the second domain is the second control device and a network managed by the second control device the domain formed by the device;
所述拓扑收集设备将包含所述第一域的拓扑信息的拓扑信息发送给所述第二控制设备;sending, by the topology collection device, topology information including topology information of the first domain to the second control device;
所述拓扑收集设备将包含所述第二域的拓扑信息的拓扑信息发送给所述第一控制设备。The topology collection device sends topology information including topology information of the second domain to the first control device.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述包含所述第一域的拓扑信息的拓扑信息和所述包含第二域的拓扑信息的拓扑信息均为所述拓扑收集设备将所述第一域的拓扑信息和所述第二域的拓扑信息进行汇总后得到的拓扑信息。According to the above aspect and any possible implementation manner, an implementation manner is further provided, wherein both the topology information including the topology information of the first domain and the topology information including the topology information of the second domain are both The topology information obtained by the topology collecting device after summarizing the topology information of the first domain and the topology information of the second domain.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述包含所述第一域的拓扑信息的拓扑信息为所述拓扑收集设备获得的所述第一域的拓扑信息;所述包含第二域的拓扑信息的拓扑信息为所述拓扑收集设备获得的所述第二域的拓扑信息。According to the above aspect and any possible implementation manner, an implementation manner is further provided, the topology information including the topology information of the first domain is the topology information of the first domain obtained by the topology collection device ; the topology information including the topology information of the second domain is the topology information of the second domain obtained by the topology collection device.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述第一控制设备获得所述第一控制设备所属第一域的拓扑信息,包括:According to the foregoing aspect and any possible implementation manner, an implementation manner is further provided, where the first control device obtains the topology information of the first domain to which the first control device belongs, including:
所述第一控制设备利用IGP,获得所述第一控制设备所属第一域的拓扑信息;或者The first control device obtains the topology information of the first domain to which the first control device belongs by using an IGP; or
所述第一控制设备利用LLDP,获得所述第一控制设备所属第一域的拓扑信息。The first control device obtains the topology information of the first domain to which the first control device belongs by using LLDP.
本申请的另一方面,提供一种控制设备,所述控制设备应用于控制和转发分离的集中式系统,所述系统包括所述控制设备和第二控制设备,以及所述控制设备管理的网络设备和所述第二控制设备管理的网络设备,该控制设备包括:In another aspect of the present application, a control device is provided, the control device is applied to a centralized system in which control and forwarding are separated, and the system includes the control device and a second control device, and a network managed by the control device The device and the network device managed by the second control device, the control device includes:
获得单元,用于获得所述控制设备所属第一域的拓扑信息,以及将所述第一域的拓扑信息传输给发送单元,所述第一域为所述控制设备以及所述控制设备管理的网络设备所构成的域;an obtaining unit, configured to obtain topology information of a first domain to which the control device belongs, and transmit the topology information of the first domain to a sending unit, where the first domain is the control device and managed by the control device A domain composed of network devices;
接收单元,用于接收所述第二控制设备发送的所述第二控制设备所属第二域的拓扑信息,以及将所述第二域的拓扑信息传输给所述发送单元,所述第二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的域;a receiving unit, configured to receive the topology information of the second domain to which the second control device belongs sent by the second control device, and transmit the topology information of the second domain to the sending unit, the second domain a domain formed by the second control device and network devices managed by the second control device;
所述发送单元,用于所述控制设备将包含所述第一域的拓扑信息的拓扑信息发送给所述第二控制设备。The sending unit is used for the control device to send topology information including the topology information of the first domain to the second control device.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述发送单元发送的所述包含所述第一域的拓扑信息的拓扑信息为所述发送单元将所述第一域的拓扑信息和所述第二域的拓扑信息进行汇总后得到的拓扑信息。According to the above aspect and any possible implementation manner, an implementation manner is further provided, the topology information including the topology information of the first domain sent by the sending unit is for the sending unit to transfer the first domain to The topology information obtained by summarizing the topology information of the domain and the topology information of the second domain.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述发送单元发送的所述包含所述第一域的拓扑信息的拓扑信息为所述发送单元接收的所述第一域的拓扑信息。According to the above aspect and any possible implementation manner, an implementation manner is further provided, the topology information including the topology information of the first domain sent by the sending unit is the first domain received by the sending unit The topology information of a domain.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述获得单元具体用于According to the above aspect and any possible implementation manner, an implementation manner is further provided, the obtaining unit is specifically configured to
利用IGP,获得所述控制设备所属第一域的拓扑信息;或者Obtaining topology information of the first domain to which the control device belongs by using an IGP; or
利用LLDP,获得所述控制设备所属第一域的拓扑信息。Using LLDP, the topology information of the first domain to which the control device belongs is obtained.
本申请的另一方面,提供一种拓扑收集设备,所述拓扑收集设备应用于控制和转发分离的集中式系统,所述系统包括第一控制设备、第二控制设备和所述拓扑收集设备,以及所述第一控制设备管理的网络设备和所述第二控制设备管理的网络设备,该拓扑收集设备包括:Another aspect of the present application provides a topology collection device, the topology collection device is applied to a centralized system that separates control and forwarding, and the system includes a first control device, a second control device, and the topology collection device, As well as the network device managed by the first control device and the network device managed by the second control device, the topology collection device includes:
接收单元,用于接收所述第一控制设备发送的所述第一控制设备所属第一域的拓扑信息,以及将所述第一域的拓扑信息传输给发送单元,所述第一域为所述第一控制设备以及所述第一控制设备管理的网络设备所构成的域;a receiving unit, configured to receive the topology information of the first domain to which the first control device belongs sent by the first control device, and transmit the topology information of the first domain to a sending unit, where the first domain is the a domain formed by the first control device and network devices managed by the first control device;
所述接收单元,还用于接收所述第二控制设备发送的所述第二控制设备所属第二域的拓扑信息,以及将所述第二域的拓扑信息传输给所述发送单元,所述第二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的域;The receiving unit is further configured to receive the topology information of the second domain to which the second control device belongs sent by the second control device, and transmit the topology information of the second domain to the sending unit, the The second domain is a domain formed by the second control device and network devices managed by the second control device;
所述发送单元,用于将包含所述第一域的拓扑信息的拓扑信息发送给所述第二控制设备;The sending unit is configured to send topology information including topology information of the first domain to the second control device;
所述发送单元,还用于将包含所述第二域的拓扑信息的拓扑信息发送给所述第一控制设备。The sending unit is further configured to send topology information including topology information of the second domain to the first control device.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述发送单元发送的所述包含所述第一域的拓扑信息的拓扑信息和所述发送单元发送的所述包含第二域的拓扑信息的拓扑信息均为所述发送单元将所述第一域的拓扑信息和所述第二域的拓扑信息进行汇总后得到的拓扑信息。According to the above aspect and any possible implementation manner, an implementation manner is further provided, the topology information including the topology information of the first domain sent by the sending unit and the sending unit including The topology information of the topology information of the second domain is topology information obtained by the sending unit after summarizing the topology information of the first domain and the topology information of the second domain.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述发送单元发送的所述包含所述第一域的拓扑信息的拓扑信息为所述发送单元接收的所述第一域的拓扑信息;所述发送单元发送的所述包含第二域的拓扑信息的拓扑信息为所述发送单元接收的所述第二域的拓扑信息。According to the above aspect and any possible implementation manner, an implementation manner is further provided, the topology information including the topology information of the first domain sent by the sending unit is the first domain received by the sending unit The topology information of a domain; the topology information including the topology information of a second domain sent by the sending unit is the topology information of the second domain received by the sending unit.
本申请的另一方面,提供一种控制设备,所述控制设备应用于控制和转发分离的集中式系统,所述系统包括所述控制设备和第二控制设备,以及所述控制设备管理的网络设备和所述第二控制设备管理的网络设备,该控制设备包括:In another aspect of the present application, a control device is provided, the control device is applied to a centralized system in which control and forwarding are separated, and the system includes the control device and a second control device, and a network managed by the control device The device and the network device managed by the second control device, the control device includes:
处理器,用于获得所述控制设备所属第一域的拓扑信息,以及将所述第一域的拓扑信息传输给发送器,所述第一域为所述控制设备以及所述控制设备管理的网络设备所构成的域;a processor, configured to obtain topology information of a first domain to which the control device belongs, and transmit topology information of the first domain to a sender, where the first domain is the control device and managed by the control device A domain composed of network devices;
接收器,用于接收所述第二控制设备发送的所述第二控制设备所属第二域的拓扑信息,以及将所述第二域的拓扑信息传输给所述发送器,所述第二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的域;a receiver, configured to receive the topology information of the second domain to which the second control device belongs sent by the second control device, and transmit the topology information of the second domain to the sender, the second domain a domain formed by the second control device and network devices managed by the second control device;
所述发送器,用于所述控制设备将包含所述第一域的拓扑信息的拓扑信息发送给所述第二控制设备。The sender is used for the control device to send topology information including the topology information of the first domain to the second control device.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述发送器发送的所述包含所述第一域的拓扑信息的拓扑信息为所述发送器将所述第一域的拓扑信息和所述第二域的拓扑信息进行汇总后得到的拓扑信息。According to the above aspect and any possible implementation manner, an implementation manner is further provided, the topology information including the topology information of the first domain sent by the sender is for the sender to transfer the first domain The topology information obtained by summarizing the topology information of the domain and the topology information of the second domain.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述发送器发送的所述包含所述第一域的拓扑信息的拓扑信息为所述发送器接收的所述第一域的拓扑信息。According to the above aspect and any possible implementation manner, an implementation manner is further provided, the topology information including the topology information of the first domain sent by the sender is the first domain received by the sender The topology information of a domain.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述处理器具体用于According to the foregoing aspect and any possible implementation manner, an implementation manner is further provided, the processor is specifically configured to
利用IGP,获得所述控制设备所属第一域的拓扑信息;或者Obtaining topology information of the first domain to which the control device belongs by using an IGP; or
利用LLDP,获得所述控制设备所属第一域的拓扑信息。Using LLDP, the topology information of the first domain to which the control device belongs is obtained.
本申请的另一方面,提供一种拓扑收集设备,所述拓扑收集设备应用于控制和转发分离的集中式系统,所述系统包括第一控制设备、第二控制设备和所述拓扑收集设备,以及所述第一控制设备管理的网络设备和所述第二控制设备管理的网络设备,该拓扑收集设备包括:Another aspect of the present application provides a topology collection device, the topology collection device is applied to a centralized system that separates control and forwarding, and the system includes a first control device, a second control device, and the topology collection device, As well as the network device managed by the first control device and the network device managed by the second control device, the topology collection device includes:
接收器,用于接收所述第一控制设备发送的所述第一控制设备所属第一域的拓扑信息,以及将所述第一域的拓扑信息传输给发送器,所述第一域为所述第一控制设备以及所述第一控制设备管理的网络设备所构成的域;a receiver, configured to receive the topology information of the first domain to which the first control device belongs sent by the first control device, and transmit the topology information of the first domain to the sender, where the first domain is the a domain formed by the first control device and network devices managed by the first control device;
所述接收器,还用于接收所述第二控制设备发送的所述第二控制设备所属第二域的拓扑信息,以及将所述第二域的拓扑信息传输给所述发送器,所述第二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的域;The receiver is further configured to receive the topology information of the second domain to which the second control device belongs sent by the second control device, and transmit the topology information of the second domain to the sender, the The second domain is a domain formed by the second control device and network devices managed by the second control device;
所述发送器,用于将包含所述第一域的拓扑信息的拓扑信息发送给所述第二控制设备;The sender is configured to send topology information including topology information of the first domain to the second control device;
所述发送器,还用于将包含所述第二域的拓扑信息的拓扑信息发送给所述第一控制设备。The transmitter is further configured to send topology information including topology information of the second domain to the first control device.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述发送器发送的所述包含所述第一域的拓扑信息的拓扑信息和所述发送器发送的所述包含第二域的拓扑信息的拓扑信息均为所述发送器将所述第一域的拓扑信息和所述第二域的拓扑信息进行汇总后得到的拓扑信息。According to the above aspect and any possible implementation, an implementation is further provided, the topology information sent by the sender including the topology information of the first domain and the sender sent by the sender include The topology information of the topology information of the second domain is topology information obtained by the sender after summarizing the topology information of the first domain and the topology information of the second domain.
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述发送器发送的所述包含所述第一域的拓扑信息的拓扑信息为所述发送器接收的所述第一域的拓扑信息;所述发送器发送的所述包含第二域的拓扑信息的拓扑信息为所述发送器接收的所述第二域的拓扑信息。According to the above aspect and any possible implementation manner, an implementation manner is further provided, the topology information including the topology information of the first domain sent by the sender is the first domain received by the sender The topology information of a domain; the topology information including the topology information of a second domain sent by the sender is the topology information of the second domain received by the sender.
由上述技术方案可知,一方面,本申请实施例通过第一控制设备获得所述第一控制设备所属第一域的拓扑信息,所述第一域为所述第一控制设备以及所述第一控制设备管理的网络设备所构成的域,以及所述第一控制设备接收所述第二控制设备发送的所述第二控制设备所属第二域的拓扑信息,所述第二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的域,使得所述第一控制设备能够将包含所述第一域的拓扑信息的拓扑信息发送给所述第二控制设备,能够避免现有技术中由于控制设备都需要经由该控制设备管理的网络设备收集整个网络的拓扑信息而导致的控制设备的处理负担的增加的问题,从而降低了控制设备的处理负担,有利于扩大网络规模。It can be seen from the above technical solutions that, on the one hand, in this embodiment of the present application, the first control device obtains the topology information of the first domain to which the first control device belongs, and the first domain is the first control device and the first domain. A domain composed of network devices managed by the control device, and the first control device receives topology information of the second domain to which the second control device belongs sent by the second control device, and the second domain is the second domain of the first control device. A domain formed by two control devices and network devices managed by the second control device, so that the first control device can send topology information including topology information of the first domain to the second control device, and can Avoid the problem of increasing the processing load of the control device in the prior art because the control device needs to collect the topology information of the entire network through the network device managed by the control device, thereby reducing the processing load of the control device and facilitating the expansion of the network scale.
由上述技术方案可知,另一方面,本申请实施例通过拓扑收集设备接收所述第一控制设备发送的所述第一控制设备所属第一域的拓扑信息,所述第一域为所述第一控制设备以及所述第一控制设备管理的网络设备所构成的域,以及所述拓扑收集设备接收所述第二控制设备发送的所述第二控制设备所属第二域的拓扑信息,所述第二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的域,使得所述拓扑收集设备能够将包含所述第一域的拓扑信息的拓扑信息发送给所述第二控制设备,以及所述拓扑收集设备能够将包含所述第二域的拓扑信息的拓扑信息发送给所述第一控制设备,能够避免现有技术中由于控制设备都需要经由该控制设备管理的网络设备收集整个网络的拓扑信息而导致的控制设备的处理负担的增加的问题,从而降低了控制设备的处理负担,有利于扩大网络规模。It can be seen from the above technical solution that, on the other hand, in this embodiment of the present application, the topology collection device receives the topology information of the first domain to which the first control device belongs, which is sent by the first control device, and the first domain is the first domain of the first control device. A domain formed by a control device and network devices managed by the first control device, and the topology collection device receives topology information of the second domain to which the second control device belongs sent by the second control device, the The second domain is a domain formed by the second control device and network devices managed by the second control device, so that the topology collection device can send topology information including topology information of the first domain to the The second control device, and the topology collection device can send the topology information including the topology information of the second domain to the first control device, which can avoid the problem in the prior art that all control devices need to be managed by the control device. The network device collects the topology information of the entire network, which increases the processing load of the control device, thereby reducing the processing load of the control device and facilitating the expansion of the network scale.
附图说明 Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present application. Those skilled in the art can also obtain other drawings based on these drawings without any creative effort.
图1为本申请一实施例提供的拓扑信息处理方法的流程示意图;FIG. 1 is a schematic flowchart of a topology information processing method provided by an embodiment of the present application;
图2为图1对应的实施例中的整个网络的一域划分示意图;FIG. 2 is a schematic diagram of domain division of the entire network in the embodiment corresponding to FIG. 1;
图3为图1对应的实施例中的整个网络的另一域划分示意图;FIG. 3 is a schematic diagram of another domain division of the entire network in the embodiment corresponding to FIG. 1;
图4为本申请另一实施例提供的拓扑信息处理方法的流程示意图;FIG. 4 is a schematic flowchart of a topology information processing method provided in another embodiment of the present application;
图5为本申请另一实施例提供的控制设备的结构示意图;FIG. 5 is a schematic structural diagram of a control device provided by another embodiment of the present application;
图6为本申请另一实施例提供的拓扑收集设备的结构示意图;FIG. 6 is a schematic structural diagram of a topology collection device provided in another embodiment of the present application;
图7为本申请另一实施例提供的控制设备的结构示意图;FIG. 7 is a schematic structural diagram of a control device provided by another embodiment of the present application;
图8为本申请另一实施例提供的拓扑收集设备的结构示意图。FIG. 8 is a schematic structural diagram of a topology collection device provided by another embodiment of the present application.
具体实施方式 Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
另外,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。In addition, the term "and/or" in this article is only an association relationship describing associated objects, which means that there may be three relationships, for example, A and/or B, which may mean: A exists alone, A and B exist at the same time, There are three cases of B alone. In addition, the character "/" in this article generally indicates that the contextual objects are an "or" relationship.
需要说明的是,本发明的技术方案可以适用于控制和转发分离的集中式系统,例如:OpenFlow系统等。It should be noted that the technical solution of the present invention can be applied to a centralized system in which control and forwarding are separated, such as an OpenFlow system and the like.
图1为本申请一实施例提供的拓扑信息处理方法的流程示意图,所述方法应用于控制和转发分离的集中式系统,所述系统包括第一控制设备和第二控制设备,以及所述第一控制设备管理的网络设备和所述第二控制设备管理的网络设备,如图1所示。Fig. 1 is a schematic flowchart of a method for processing topology information provided by an embodiment of the present application, the method is applied to a centralized system in which control and forwarding are separated, and the system includes a first control device and a second control device, and the first control device A network device managed by a control device and a network device managed by the second control device are shown in FIG. 1 .
101、所述第一控制设备获得所述第一控制设备所属第一域的拓扑信息,所述第一域为所述第一控制设备以及所述第一控制设备管理的网络设备所构成的域。101. The first control device obtains topology information of a first domain to which the first control device belongs, and the first domain is a domain formed by the first control device and network devices managed by the first control device .
102、所述第一控制设备接收所述第二控制设备发送的所述第二控制设备所属第二域的拓扑信息,所述第二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的域。102. The first control device receives the topology information of the second domain to which the second control device belongs sent by the second control device, and the second domain is the second control device and the second control device A domain of managed network devices.
103、所述第一控制设备将包含所述第一域的拓扑信息的拓扑信息发送给所述第二控制设备。103. The first control device sends topology information including topology information of the first domain to the second control device.
本实施例中,整个网络可以划分为若干个第一域和若干个第二域,如图2所示,具体的划分方法可以是通过操作人员手动指定分域,或者还可以是通过计算机自动指定分域,本实施例对此不进行限定。In this embodiment, the entire network can be divided into several first domains and several second domains, as shown in Figure 2, the specific division method can be manually designated by the operator, or automatically designated by the computer Domain division, which is not limited in this embodiment.
其中,所述拓扑信息可以包括但不限于对应域上的设备,以及这些设备的连接顺序关系。例如,所述第一域的拓扑信息可以包括但不限于所述第一域上的设备,以及这些设备的连接顺序关系。再例如,所述第二域的拓扑信息可以包括但不限于所述第二域上的设备,以及这些设备的连接顺序关系。Wherein, the topology information may include, but not limited to, devices on the corresponding domain, and the connection order relationship of these devices. For example, the topology information of the first domain may include, but not limited to, devices on the first domain, and a connection sequence relationship of these devices. For another example, the topology information of the second domain may include, but not limited to, devices on the second domain, and a connection sequence relationship of these devices.
需要说明的是,上述101、102和103的执行主体第一控制设备,在OpenFlow系统下,可以为控制服务器(Controller);所述第一控制设备管理的网络设备,在OpenFlow系统下,可以为OpenFlow交换机(OpenFlowSwitch);相应地,与所述第一控制设备对应的第二控制设备,在OpenFlow系统下,也可以为控制服务器;所述第二控制设备管理的网络设备,在OpenFlow系统下,也可以为OpenFlow交换机。It should be noted that, in the OpenFlow system, the first control device of the execution subject of the above-mentioned 101, 102 and 103 may be a control server (Controller); the network device managed by the first control device may be in the OpenFlow system OpenFlow switch (OpenFlowSwitch); Correspondingly, the second control device corresponding to the first control device may also be a control server under the OpenFlow system; the network device managed by the second control device, under the OpenFlow system, Can also be an OpenFlow switch.
可选地,在本实施例的可能的实现方式中,所述包含所述第一域的拓扑信息的拓扑信息可以为所述第一控制设备将所述第一域的拓扑信息和所述第二域的拓扑信息进行汇总后得到的拓扑信息。Optionally, in a possible implementation manner of this embodiment, the topology information including the topology information of the first domain may combine the topology information of the first domain and the topology information of the second domain for the first control device. The topology information obtained after summarizing the topology information of the second domain.
可选地,在本实施例的可能的实现方式中,所述包含所述第一域的拓扑信息的拓扑信息还可以为所述第一控制设备获得的所述第一域的拓扑信息。Optionally, in a possible implementation manner of this embodiment, the topology information including the topology information of the first domain may also be the topology information of the first domain obtained by the first control device.
可选地,在本实施例的可能的实现方式中,在101中,所述第一控制设备具体可以利用IGP,获得所述第一控制设备所属第一域的拓扑信息。在这种实现方式中,所述第一控制设备与所述第一控制设备管理的网络设备可以利用IGP,获得(即通过执行同步操作获得)所述第一域的拓扑信息。与现有技术相比,所述第一控制设备与所述第一控制设备管理的网络设备只需要利用IGP同步所述第一控制设备所属第一域的拓扑信息,无需同步整个网络的拓扑信息,能够有效降低所述第一控制设备与所述第一控制设备管理的网络设备的处理负担。Optionally, in a possible implementation manner of this embodiment, in 101, the first control device may specifically use an IGP to obtain topology information of the first domain to which the first control device belongs. In this implementation manner, the first control device and the network device managed by the first control device may use the IGP to obtain (that is, obtain by performing a synchronization operation) the topology information of the first domain. Compared with the prior art, the first control device and the network devices managed by the first control device only need to use IGP to synchronize the topology information of the first domain to which the first control device belongs, without needing to synchronize the topology information of the entire network , which can effectively reduce the processing load of the first control device and network devices managed by the first control device.
其中,IGP可以包括中间系统到中间系统(Intermediate System toIntermediate System,ISIS)协议或最短路径优先(Open Shortest Path First,OSPF)协议等协议。Wherein, the IGP may include an intermediate system to intermediate system (Intermediate System to Intermediate System, ISIS) protocol or a shortest path first (Open Shortest Path First, OSPF) protocol and other protocols.
可选地,在本实施例的可能的实现方式中,在101中,所述第一控制设备具体可以利用LLDP,获得所述第一控制设备所属第一域的拓扑信息。在这种实现方式中,所述第一控制设备与所述第一控制设备管理的网络设备建立通信连接,例如,传输控制协议(Transmission Control Protocol,TCP)连接,所述第一控制设备可以通过所建立的通信连接,获得每个所述第一控制设备管理的网络设备的拓扑信息,以形成所述第一域的拓扑信息。与现有技术相比,所述第一控制设备只需要建立与所述第一控制设备所属同一域内的第一控制设备管理的网络设备之间的通信连接,以获得所述第一域的拓扑信息,无需建立与整个网络中的控制设备管理的网络设备(即第一控制设备管理的网络设备和第二控制设备管理的网络设备)之间的通信连接,以获得所述整个网络的拓扑信息,能够有效降低所述第一控制设备的处理负担。Optionally, in a possible implementation manner of this embodiment, in 101, the first control device may specifically use LLDP to obtain topology information of the first domain to which the first control device belongs. In this implementation manner, the first control device establishes a communication connection with a network device managed by the first control device, for example, a Transmission Control Protocol (Transmission Control Protocol, TCP) connection, and the first control device may pass The established communication connection obtains topology information of network devices managed by each of the first control devices to form topology information of the first domain. Compared with the prior art, the first control device only needs to establish communication connections with network devices managed by the first control device in the same domain to which the first control device belongs, so as to obtain the topology of the first domain Information, without establishing a communication connection with the network devices managed by the control device in the entire network (that is, the network devices managed by the first control device and the network devices managed by the second control device), so as to obtain the topology information of the entire network , which can effectively reduce the processing load of the first control device.
可选地,在本实施例的可能的实现方式中,所述第一控制设备作为拓扑收集设备,可以是任何一个控制设备。具体地,所述系统中的多个控制设备具体可以根据预先设置的选择策略,确定一个控制设备作为所述第一控制设备,其他控制设备则可以为第二控制设备。Optionally, in a possible implementation manner of this embodiment, the first control device serves as a topology collection device, and may be any control device. Specifically, the plurality of control devices in the system may specifically determine one control device as the first control device according to a preset selection strategy, and other control devices may be the second control devices.
例如,所述选择策略可以为根据管理标识信息,选择取值最大或最小的控制设备,如IP地址等,作为所述第一控制设备;再例如,所述选择策略还可以为根据设备标识,选择取值最大或最小的控制设备,如电子序列号(Electronic Serial Numbers,ESN)标识(ESN ID)或媒体访问控制(MediaAccess Control,MAC)等,作为所述第一控制设备。For example, the selection strategy may be to select the control device with the largest or smallest value, such as an IP address, as the first control device according to the management identification information; for another example, the selection strategy may also be based on the device identifier, Select the control device with the largest or smallest value, such as electronic serial number (Electronic Serial Numbers, ESN) identification (ESN ID) or media access control (MediaAccess Control, MAC), etc., as the first control device.
为使得本申请实施例提供的方法更加清楚,下面将以图3所示的网络拓扑结构作为举例。如图3所示,整个网络分成4个域,即域1、域2、域3和域4。其中,Master 1、以及Master 1管理的AP 1、AP 2和AP 3组成域1;Master 2、以及Master 2管理的AP 4和AP 5组成域2;Master 3、以及Master3管理的AP 6和AP 7组成域3;Master 4、以及Master 4管理的AP 8和AP 9组成域4。In order to make the method provided by the embodiment of the present application clearer, the network topology shown in FIG. 3 will be used as an example below. As shown in Figure 3, the entire network is divided into four domains, namely
在一种可能的实现方式中,Master 1、Master 2、Master 3和Master 4具体可以根据预先设置的选择策略,确定Master 1为第一控制设备。首先,Master1、Master 2、Master 3和Master 4具体可以经由各自所属域内的AP获得各自所属域的拓扑信息,即Master 1获得域1的拓扑信息,Master 2获得域2的拓扑信息,Master 3获得域3的拓扑信息,Master 4获得域4的拓扑信息。然后,Master 2、Master 3和Master 4向Master 1发送各自获得的各自所属域的拓扑信息,以使得Master 1获得整个网络的拓扑信息。然后,Master 1将接收到的Master 2所属域2的拓扑信息、Master 3所属域3的拓扑信息和Master4所属域4的拓扑信息,与自身所属域1的拓扑信息进行汇总后得到的拓扑信息,发送给Master 2、Master 3和Master 4,以使得Master 2、Master 3和Master 4都获得整个网络的拓扑信息。In a possible implementation manner,
本实施例中,通过第一控制设备获得所述第一控制设备所属第一域的拓扑信息,所述第一域为所述第一控制设备以及所述第一控制设备管理的网络设备所构成的域,以及所述第一控制设备接收所述第二控制设备发送的所述第二控制设备所属第二域的拓扑信息,所述第二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的域,使得所述第一控制设备能够将包含所述第一域的拓扑信息的拓扑信息发送给所述第二控制设备,能够避免现有技术中由于控制设备都需要经由该控制设备管理的网络设备收集整个网络的拓扑信息而导致的控制设备的处理负担的增加的问题,从而降低了控制设备的处理负担,有利于扩大网络规模。In this embodiment, the first control device obtains the topology information of the first domain to which the first control device belongs, and the first domain is composed of the first control device and network devices managed by the first control device domain, and the first control device receives the topology information of the second domain to which the second control device belongs sent by the second control device, and the second domain is the second control device and the second A domain composed of network devices managed by the control device, so that the first control device can send topology information including the topology information of the first domain to the second control device, which can avoid the control device in the prior art It is necessary to collect the topology information of the entire network through the network equipment managed by the control equipment, which increases the processing burden of the control equipment, thereby reducing the processing burden of the control equipment and facilitating the expansion of the network scale.
图4为本申请另一实施例提供的拓扑信息处理方法的流程示意图,所述方法应用于控制和转发分离的集中式系统,所述系统包括第一控制设备、第二控制设备和拓扑收集设备,以及所述第一控制设备管理的网络设备和所述第二控制设备管理的网络设备,如图4所示。Fig. 4 is a schematic flowchart of a topology information processing method provided by another embodiment of the present application, the method is applied to a centralized system with separate control and forwarding, and the system includes a first control device, a second control device and a topology collection device , and network devices managed by the first control device and network devices managed by the second control device, as shown in FIG. 4 .
401、所述拓扑收集设备接收所述第一控制设备发送的所述第一控制设备所属第一域的拓扑信息,所述第一域为所述第一控制设备以及所述第一控制设备管理的网络设备所构成的域。401. The topology collection device receives the topology information of the first domain to which the first control device belongs and is sent by the first control device, and the first domain is managed by the first control device and the first control device A domain composed of network devices.
402、所述拓扑收集设备接收所述第二控制设备发送的所述第二控制设备所属第二域的拓扑信息,所述第二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的域。402. The topology collection device receives the topology information of the second domain to which the second control device belongs sent by the second control device, and the second domain is managed by the second control device and the second control device A domain composed of network devices.
403、所述拓扑收集设备将包含所述第一域的拓扑信息的拓扑信息发送给所述第二控制设备。403. The topology collecting device sends topology information including the topology information of the first domain to the second control device.
404、所述拓扑收集设备将包含所述第二域的拓扑信息的拓扑信息发送给所述第一控制设备。404. The topology collecting device sends topology information including the topology information of the second domain to the first control device.
可选地,在本实施例的可能的实现方式中,所述拓扑收集设备是一个独立设置的服务器,例如,控制服务器,这个服务器可以与每个控制设备(即第一控制设备和第二控制设备)进行通信。Optionally, in a possible implementation of this embodiment, the topology collection device is an independently configured server, for example, a control server, and this server can communicate with each control device (that is, the first control device and the second control device device) to communicate.
本实施例中,整个网络可以划分为若干个第一域和若干个第二域,如图2所示,具体的划分方法可以是通过操作人员手动指定分域,或者还可以是通过计算机自动指定分域,本实施例对此不进行限定。In this embodiment, the entire network can be divided into several first domains and several second domains, as shown in Figure 2, the specific division method can be manually designated by the operator, or automatically designated by the computer Domain division, which is not limited in this embodiment.
其中,所述拓扑信息可以包括但不限于对应域上的设备,以及这些设备的连接顺序关系。例如,所述第一域的拓扑信息可以包括但不限于所述第一域上的设备,以及这些设备的连接顺序关系。再例如,所述第二域的拓扑信息可以包括但不限于所述第二域上的设备,以及这些设备的连接顺序关系。Wherein, the topology information may include, but not limited to, devices on the corresponding domain, and the connection order relationship of these devices. For example, the topology information of the first domain may include, but not limited to, devices on the first domain, and a connection sequence relationship of these devices. For another example, the topology information of the second domain may include, but not limited to, devices on the second domain, and a connection sequence relationship of these devices.
需要说明的是,第一控制设备,在OpenFlow系统下,可以为控制服务器(Controller);所述第一控制设备管理的网络设备,在OpenFlow系统下,可以为OpenFlow交换机(OpenFlow Switch);相应地,与所述第一控制设备对应的第二控制设备,在OpenFlow系统下,也可以为控制服务器;所述第二控制设备管理的网络设备,在OpenFlow系统下,也可以为OpenFlow交换机。It should be noted that the first control device may be a control server (Controller) under the OpenFlow system; the network device managed by the first control device may be an OpenFlow switch (OpenFlow Switch) under the OpenFlow system; correspondingly , the second control device corresponding to the first control device may also be a control server under the OpenFlow system; the network device managed by the second control device may also be an OpenFlow switch under the OpenFlow system.
可选地,在本实施例的可能的实现方式中,所述包含所述第一域的拓扑信息的拓扑信息和所述包含第二域的拓扑信息的拓扑信息均可以为所述拓扑收集设备将所述第一域的拓扑信息和所述第二域的拓扑信息进行汇总后得到的拓扑信息。Optionally, in a possible implementation manner of this embodiment, both the topology information including the topology information of the first domain and the topology information including the topology information of the second domain may be the topology collection device The topology information obtained by summarizing the topology information of the first domain and the topology information of the second domain.
可选地,在本实施例的可能的实现方式中,所述包含所述第一域的拓扑信息的拓扑信息还可以为所述拓扑收集设备获得的所述第一域的拓扑信息。Optionally, in a possible implementation manner of this embodiment, the topology information including the topology information of the first domain may also be the topology information of the first domain obtained by the topology collection device.
可选地,在本实施例的可能的实现方式中,所述包含所述第二域的拓扑信息的拓扑信息还可以为所述拓扑收集设备获得的所述第二域的拓扑信息。Optionally, in a possible implementation manner of this embodiment, the topology information including the topology information of the second domain may also be the topology information of the second domain obtained by the topology collection device.
可选地,在本实施例的可能的实现方式中,所述第一控制设备具体可以利用IGP,获得所述第一控制设备所属第一域的拓扑信息。在这种实现方式中,所述第一控制设备与所述第一控制设备管理的网络设备可以利用IGP,获得(即通过执行同步操作获得)所述第一域的拓扑信息。与现有技术相比,所述第一控制设备与所述第一控制设备管理的网络设备只需要利用IGP同步所述第一控制设备所属第一域的拓扑信息,无需同步整个网络的拓扑信息,能够有效降低所述第一控制设备与所述第一控制设备管理的网络设备的处理负担。Optionally, in a possible implementation manner of this embodiment, the first control device may specifically use an IGP to obtain topology information of the first domain to which the first control device belongs. In this implementation manner, the first control device and the network device managed by the first control device may use the IGP to obtain (that is, obtain by performing a synchronization operation) the topology information of the first domain. Compared with the prior art, the first control device and the network devices managed by the first control device only need to use IGP to synchronize the topology information of the first domain to which the first control device belongs, without needing to synchronize the topology information of the entire network , which can effectively reduce the processing load of the first control device and network devices managed by the first control device.
其中,IGP可以包括中间系统到中间系统(Intermediate System toIntermediate System,ISIS)协议或最短路径优先(Open Shortest Path First,OSPF)协议等协议。Wherein, the IGP may include an intermediate system to intermediate system (Intermediate System to Intermediate System, ISIS) protocol or a shortest path first (Open Shortest Path First, OSPF) protocol and other protocols.
可选地,在本实施例的可能的实现方式中,所述第一控制设备具体可以利用LLDP,获得所述第一控制设备所属第一域的拓扑信息。在这种实现方式中,所述第一控制设备与所述第一控制设备管理的网络设备建立通信连接,例如,传输控制协议(Transmission Control Protocol,TCP)连接,所述第一控制设备可以通过所建立的通信连接,获得每个所述第一控制设备管理的网络设备的拓扑信息,以形成所述第一域的拓扑信息。与现有技术相比,所述第一控制设备只需要建立与所述第一控制设备所属同一域内的第一控制设备管理的网络设备之间的通信连接,以获得所述第一域的拓扑信息,无需建立与整个网络中的控制设备管理的网络设备(即第一控制设备管理的网络设备和第二控制设备管理的网络设备)之间的通信连接,以获得所述整个网络的拓扑信息,能够有效降低所述第一控制设备的处理负担。Optionally, in a possible implementation manner of this embodiment, the first control device may specifically use LLDP to obtain the topology information of the first domain to which the first control device belongs. In this implementation manner, the first control device establishes a communication connection with a network device managed by the first control device, for example, a Transmission Control Protocol (Transmission Control Protocol, TCP) connection, and the first control device may pass The established communication connection obtains topology information of network devices managed by each of the first control devices to form topology information of the first domain. Compared with the prior art, the first control device only needs to establish communication connections with network devices managed by the first control device in the same domain to which the first control device belongs, so as to obtain the topology of the first domain Information, without establishing a communication connection with the network devices managed by the control device in the entire network (that is, the network devices managed by the first control device and the network devices managed by the second control device), so as to obtain the topology information of the entire network , which can effectively reduce the processing load of the first control device.
可以理解的是,类似地,所述第二控制设备也可以利用类似的方法,获得所述第二控制设备所属第二域的拓扑信息,此处不再赘述。It can be understood that, similarly, the second control device may also use a similar method to obtain the topology information of the second domain to which the second control device belongs, which will not be repeated here.
为使得本申请实施例提供的方法更加清楚,下面将以图3所示的网络拓扑结构作为举例。如图3所示,整个网络分成4个域,即域1、域2、域3和域4。其中,Master 1、以及Master 1管理的AP 1、AP 2和AP 3组成域1;Master 2、以及Master 2管理的AP 4和AP 5组成域2;Master 3、以及Master3管理的AP 6和AP 7组成域3;Master 4、以及Master 4管理的AP 8和AP 9组成域4。In order to make the method provided by the embodiment of the present application clearer, the network topology shown in FIG. 3 will be used as an example below. As shown in Figure 3, the entire network is divided into four domains, namely
在一种可能的实现方式中,可以独立设置一服务器作为拓扑收集设备。首先,Master 1、Master 2、Master 3和Master 4具体可以经由各自所属域内的AP获得各自所属域的拓扑信息,即Master 1获得域1的拓扑信息,Master2获得域2的拓扑信息,Master 3获得域3的拓扑信息,Master 4获得域4的拓扑信息。然后,Master 1、Master 2、Master 3和Master 4向服务器发送各自获得的各自所属域的拓扑信息,以使得服务器获得整个网络的拓扑信息。然后,服务器将接收到的Master 1所属域1的拓扑信息、Master 2所属域2的拓扑信息、Master 3所属域3的拓扑信息和Master 4所属域4的拓扑信息进行汇总后得到的拓扑信息,发送给Master 1、Master 2、Master 3和Master 4,以使得Master 1、Master 2、Master 3和Master 4都获得整个网络的拓扑信息。In a possible implementation manner, a server may be independently set as a topology collection device. First,
本实施例中,通过拓扑收集设备接收所述第一控制设备发送的所述第一控制设备所属第一域的拓扑信息,所述第一域为所述第一控制设备以及所述第一控制设备管理的网络设备所构成的域,以及所述拓扑收集设备接收所述第二控制设备发送的所述第二控制设备所属第二域的拓扑信息,所述第二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的域,使得所述拓扑收集设备能够将包含所述第一域的拓扑信息的拓扑信息发送给所述第二控制设备,以及所述拓扑收集设备能够将包含所述第二域的拓扑信息的拓扑信息发送给所述第一控制设备,能够避免现有技术中由于控制设备都需要经由该控制设备管理的网络设备收集整个网络的拓扑信息而导致的控制设备的处理负担的增加的问题,从而降低了控制设备的处理负担,有利于扩大网络规模。In this embodiment, the topology information of the first domain to which the first control device belongs is received by the topology collection device from the first control device, and the first domain is the first control device and the first control device. A domain composed of network devices managed by the device, and the topology collection device receives topology information of the second domain to which the second control device belongs sent by the second control device, and the second domain is the second control device A domain formed by devices and network devices managed by the second control device, so that the topology collection device can send topology information including topology information of the first domain to the second control device, and the topology The collection device can send the topology information including the topology information of the second domain to the first control device, which can avoid the need in the prior art that the control device needs to collect the topology information of the entire network via the network device managed by the control device As a result, the processing burden of the control device increases, thereby reducing the processing burden of the control device, which is beneficial to expanding the network scale.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Depending on the application, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.
图5为本申请另一实施例提供的控制设备的结构示意图,所述控制设备应用于控制和转发分离的集中式系统,所述系统包括所述控制设备和第二控制设备,以及所述控制设备管理的网络设备和所述第二控制设备管理的网络设备。如图5所示,本实施例的控制设备可以包括获得单元51、接收单元52和发送单元53。其中,获得单元51,用于获得所述控制设备所属第一域的拓扑信息,以及将所述第一域的拓扑信息传输给发送单元53,所述第一域为所述控制设备以及所述控制设备管理的网络设备所构成的域;接收单元52,用于接收所述第二控制设备发送的所述第二控制设备所属第二域的拓扑信息,以及将所述第二域的拓扑信息传输给所述发送单元53,所述第二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的域;所述发送单元53,用于所述控制设备将包含所述第一域的拓扑信息的拓扑信息发送给所述第二控制设备。Fig. 5 is a schematic structural diagram of a control device provided by another embodiment of the present application. The control device is applied to a centralized system that separates control and forwarding. The system includes the control device and a second control device, and the control device A network device managed by the device and a network device managed by the second control device. As shown in FIG. 5 , the control device in this embodiment may include an obtaining
本实施例中,整个网络可以划分为若干个第一域和若干个第二域,如图2所示,具体的划分方法可以是通过操作人员手动指定分域,或者还可以是通过计算机自动指定分域,本实施例对此不进行限定。In this embodiment, the entire network can be divided into several first domains and several second domains, as shown in Figure 2, the specific division method can be manually designated by the operator, or automatically designated by the computer Domain division, which is not limited in this embodiment.
其中,所述拓扑信息可以包括但不限于对应域上的设备,以及这些设备的连接顺序关系。例如,所述第一域的拓扑信息可以包括但不限于所述第一域上的设备,以及这些设备的连接顺序关系。再例如,所述第二域的拓扑信息可以包括但不限于所述第二域上的设备,以及这些设备的连接顺序关系。Wherein, the topology information may include, but not limited to, devices on the corresponding domain, and the connection order relationship of these devices. For example, the topology information of the first domain may include, but not limited to, devices on the first domain, and a connection sequence relationship of these devices. For another example, the topology information of the second domain may include, but not limited to, devices on the second domain, and a connection sequence relationship of these devices.
需要说明的是,控制设备,在OpenFlow系统下,可以为控制服务器(Controller);所述控制设备管理的网络设备,在OpenFlow系统下,可以为OpenFlow交换机(OpenFlow Switch);相应地,与所述控制设备对应的第二控制设备,在OpenFlow系统下,也可以为控制服务器;所述第二控制设备管理的网络设备,在OpenFlow系统下,也可以为OpenFlow交换机。It should be noted that the control device can be a control server (Controller) under the OpenFlow system; the network device managed by the control device can be an OpenFlow switch (OpenFlow Switch) under the OpenFlow system; The second control device corresponding to the control device may also be a control server under the OpenFlow system; the network device managed by the second control device may also be an OpenFlow switch under the OpenFlow system.
可选地,在本实施例的可能的实现方式中,所述发送单元53发送的所述包含所述第一域的拓扑信息的拓扑信息可以为所述发送单元53将所述第一域的拓扑信息和所述第二域的拓扑信息进行汇总后得到的拓扑信息。Optionally, in a possible implementation of this embodiment, the topology information sent by the sending
可选地,在本实施例的可能的实现方式中,所述发送单元53发送的所述包含所述第一域的拓扑信息的拓扑信息还可以为所述发送单元53接收的所述第一域的拓扑信息。Optionally, in a possible implementation of this embodiment, the topology information including the topology information of the first domain sent by the sending
可选地,在本实施例的可能的实现方式中,所述获得单元51具体可以利用IGP,获得所述控制设备所属第一域的拓扑信息。Optionally, in a possible implementation manner of this embodiment, the obtaining
可选地,在本实施例的可能的实现方式中,所述获得单元51具体可以利用LLDP,获得所述控制设备所属第一域的拓扑信息。Optionally, in a possible implementation manner of this embodiment, the obtaining
需要说明的是,本实施例提供的控制设备用于对应执行如图1所示实施例的方法,对于图1所示实施例已经描述的细节,此处不再赘述。It should be noted that the control device provided in this embodiment is used to correspondingly execute the method of the embodiment shown in FIG. 1 , and the details already described in the embodiment shown in FIG. 1 will not be repeated here.
本实施例中,控制设备通过获得单元获得所述控制设备所属第一域的拓扑信息,所述第一域为所述控制设备以及所述控制设备管理的网络设备所构成的域,以及接收单元接收所述第二控制设备发送的所述第二控制设备所属第二域的拓扑信息,所述第二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的域,使得发送单元能够将包含所述第一域的拓扑信息的拓扑信息发送给所述第二控制设备,能够避免现有技术中由于控制设备都需要经由该控制设备管理的网络设备收集整个网络的拓扑信息而导致的控制设备的处理负担的增加的问题,从而降低了控制设备的处理负担,有利于扩大网络规模。In this embodiment, the control device obtains the topology information of the first domain to which the control device belongs through the obtaining unit, the first domain is a domain composed of the control device and network devices managed by the control device, and the receiving unit receiving the topology information of the second domain to which the second control device belongs and sent by the second control device, where the second domain is a domain formed by the second control device and network devices managed by the second control device , so that the sending unit can send the topology information including the topology information of the first domain to the second control device, which can avoid that in the prior art, the control device needs to collect the network information of the entire network via the network device managed by the control device. The problem of increasing the processing load of the control device caused by the topology information, thereby reducing the processing load of the control device, is conducive to expanding the network scale.
图6为本申请另一实施例提供的拓扑收集设备的结构示意图,所述拓扑收集设备应用于控制和转发分离的集中式系统,所述系统包括第一控制设备、第二控制设备和所述拓扑收集设备,以及所述第一控制设备管理的网络设备和所述第二控制设备管理的网络设备。如图6所示,本实施例的拓扑收集设备可以包括接收单元61和发送单元62。其中,接收单元61,用于接收所述第一控制设备发送的所述第一控制设备所属第一域的拓扑信息,以及将所述第一域的拓扑信息传输给发送单元62,所述第一域为所述第一控制设备以及所述第一控制设备管理的网络设备所构成的域;所述接收单元61,还用于接收所述第二控制设备发送的所述第二控制设备所属第二域的拓扑信息,以及将所述第二域的拓扑信息传输给所述发送单元62,所述第二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的域;所述发送单元62,用于将包含所述第一域的拓扑信息的拓扑信息发送给所述第二控制设备;所述发送单元62,还用于将包含所述第二域的拓扑信息的拓扑信息发送给所述第一控制设备。FIG. 6 is a schematic structural diagram of a topology collection device provided by another embodiment of the present application. The topology collection device is applied to a centralized system that separates control and forwarding. The system includes a first control device, a second control device, and the A topology collection device, and a network device managed by the first control device and a network device managed by the second control device. As shown in FIG. 6 , the topology collection device of this embodiment may include a receiving
可选地,在本实施例的可能的实现方式中,所述拓扑收集设备是一个独立设置的服务器,例如,控制服务器,这个服务器可以与每个控制设备(即第一控制设备和第二控制设备)进行通信。Optionally, in a possible implementation of this embodiment, the topology collection device is an independently configured server, for example, a control server, and this server can communicate with each control device (that is, the first control device and the second control device device) to communicate.
本实施例中,整个网络可以划分为若干个第一域和若干个第二域,如图2所示,具体的划分方法可以是通过操作人员手动指定分域,或者还可以是通过计算机自动指定分域,本实施例对此不进行限定。In this embodiment, the entire network can be divided into several first domains and several second domains, as shown in Figure 2, the specific division method can be manually designated by the operator, or automatically designated by the computer Domain division, which is not limited in this embodiment.
其中,所述拓扑信息可以包括但不限于对应域上的设备,以及这些设备的连接顺序关系。例如,所述第一域的拓扑信息可以包括但不限于所述第一域上的设备,以及这些设备的连接顺序关系。再例如,所述第二域的拓扑信息可以包括但不限于所述第二域上的设备,以及这些设备的连接顺序关系。Wherein, the topology information may include, but not limited to, devices on the corresponding domain, and the connection order relationship of these devices. For example, the topology information of the first domain may include, but not limited to, devices on the first domain, and a connection sequence relationship of these devices. For another example, the topology information of the second domain may include, but not limited to, devices on the second domain, and a connection sequence relationship of these devices.
需要说明的是,第一控制设备,在OpenFlow系统下,可以为控制服务器(Controller);所述第一控制设备管理的网络设备,在OpenFlow系统下,可以为OpenFlow交换机(OpenFlow Switch);相应地,与所述第一控制设备对应的第二控制设备,在OpenFlow系统下,也可以为控制服务器;所述第二控制设备管理的网络设备,在OpenFlow系统下,也可以为OpenFlow交换机。It should be noted that the first control device may be a control server (Controller) under the OpenFlow system; the network device managed by the first control device may be an OpenFlow switch (OpenFlow Switch) under the OpenFlow system; correspondingly , the second control device corresponding to the first control device may also be a control server under the OpenFlow system; the network device managed by the second control device may also be an OpenFlow switch under the OpenFlow system.
可选地,在本实施例的可能的实现方式中,所述发送单元62发送的所述包含所述第一域的拓扑信息的拓扑信息和所述发送单元62发送的所述包含第二域的拓扑信息的拓扑信息均可以为所述发送单元62将所述第一域的拓扑信息和所述第二域的拓扑信息进行汇总后得到的拓扑信息。Optionally, in a possible implementation of this embodiment, the topology information including the topology information of the first domain sent by the sending
可选地,在本实施例的可能的实现方式中,所述发送单元62发送的所述包含所述第一域的拓扑信息的拓扑信息还可以为所述发送单元62接收的所述第一域的拓扑信息。Optionally, in a possible implementation of this embodiment, the topology information including the topology information of the first domain sent by the sending
可选地,在本实施例的可能的实现方式中,所述发送单元62发送的所述包含第二域的拓扑信息的拓扑信息还可以为所述发送单元62接收的所述第二域的拓扑信息。Optionally, in a possible implementation of this embodiment, the topology information including the topology information of the second domain sent by the sending
本实施例中,拓扑收集设备通过接收单元接收所述第一控制设备发送的所述第一控制设备所属第一域的拓扑信息,所述第一域为所述第一控制设备以及所述第一控制设备管理的网络设备所构成的域,以及所述接收单元接收所述第二控制设备发送的所述第二控制设备所属第二域的拓扑信息,所述第二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的域,使得发送单元能够将包含所述第一域的拓扑信息的拓扑信息发送给所述第二控制设备,以及所述发送单元能够将包含所述第二域的拓扑信息的拓扑信息发送给所述第一控制设备,能够避免现有技术中由于控制设备都需要经由该控制设备管理的网络设备收集整个网络的拓扑信息而导致的控制设备的处理负担的增加的问题,从而降低了控制设备的处理负担,有利于扩大网络规模。In this embodiment, the topology collection device receives the topology information of the first domain to which the first control device belongs sent by the first control device through the receiving unit, and the first domain is the first control device and the second domain. A domain composed of network devices managed by a control device, and the receiving unit receives the topology information of the second domain to which the second control device belongs sent by the second control device, and the second domain is the second domain of the second control device. A domain formed by the control device and network devices managed by the second control device, so that the sending unit can send topology information including the topology information of the first domain to the second control device, and the sending unit can Sending the topology information including the topology information of the second domain to the first control device can avoid the problem in the prior art that the control device needs to collect the topology information of the entire network via the network device managed by the control device. The problem of increasing the processing load of the control device, thereby reducing the processing load of the control device, is conducive to expanding the network scale.
图7为本申请另一实施例提供的控制设备的结构示意图,所述控制设备应用于控制和转发分离的集中式系统,所述系统包括所述控制设备和第二控制设备,以及所述控制设备管理的网络设备和所述第二控制设备管理的网络设备。如图7所示,本实施例的控制设备可以包括处理器71、接收器72和发送器73。其中,处理器71,用于获得所述控制设备所属第一域的拓扑信息,以及将所述第一域的拓扑信息传输给发送器73,所述第一域为所述控制设备以及所述控制设备管理的网络设备所构成的域;接收器72,用于接收所述第二控制设备发送的所述第二控制设备所属第二域的拓扑信息,以及将所述第二域的拓扑信息传输给所述发送器73,所述第二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的域;所述发送器73,用于所述控制设备将包含所述第一域的拓扑信息的拓扑信息发送给所述第二控制设备。Fig. 7 is a schematic structural diagram of a control device provided by another embodiment of the present application. The control device is applied to a centralized system that separates control and forwarding. The system includes the control device and a second control device, and the control device A network device managed by the device and a network device managed by the second control device. As shown in FIG. 7 , the control device in this embodiment may include a
本实施例中,整个网络可以划分为若干个第一域和若干个第二域,如图2所示,具体的划分方法可以是通过操作人员手动指定分域,或者还可以是通过计算机自动指定分域,本实施例对此不进行限定。In this embodiment, the entire network can be divided into several first domains and several second domains, as shown in Figure 2, the specific division method can be manually designated by the operator, or automatically designated by the computer Domain division, which is not limited in this embodiment.
其中,所述拓扑信息可以包括但不限于对应域上的设备,以及这些设备的连接顺序关系。例如,所述第一域的拓扑信息可以包括但不限于所述第一域上的设备,以及这些设备的连接顺序关系。再例如,所述第二域的拓扑信息可以包括但不限于所述第二域上的设备,以及这些设备的连接顺序关系。Wherein, the topology information may include, but not limited to, devices on the corresponding domain, and the connection order relationship of these devices. For example, the topology information of the first domain may include, but not limited to, devices on the first domain, and a connection sequence relationship of these devices. For another example, the topology information of the second domain may include, but not limited to, devices on the second domain, and a connection sequence relationship of these devices.
需要说明的是,控制设备,在OpenFlow系统下,可以为控制服务器(Controller);所述控制设备管理的网络设备,在OpenFlow系统下,可以为OpenFlow交换机(OpenFlow Switch);相应地,与所述控制设备对应的第二控制设备,在OpenFlow系统下,也可以为控制服务器;所述第二控制设备管理的网络设备,在OpenFlow系统下,也可以为OpenFlow交换机。It should be noted that the control device can be a control server (Controller) under the OpenFlow system; the network device managed by the control device can be an OpenFlow switch (OpenFlow Switch) under the OpenFlow system; The second control device corresponding to the control device may also be a control server under the OpenFlow system; the network device managed by the second control device may also be an OpenFlow switch under the OpenFlow system.
可选地,在本实施例的可能的实现方式中,所述发送器73发送的所述包含所述第一域的拓扑信息的拓扑信息可以为所述发送器73将所述第一域的拓扑信息和所述第二域的拓扑信息进行汇总后得到的拓扑信息。Optionally, in a possible implementation of this embodiment, the topology information that includes the topology information of the first domain sent by the
可选地,在本实施例的可能的实现方式中,所述发送器73发送的所述包含所述第一域的拓扑信息的拓扑信息还可以为所述发送器73接收的所述第一域的拓扑信息。Optionally, in a possible implementation of this embodiment, the topology information including the topology information of the first domain sent by the
可选地,在本实施例的可能的实现方式中,所述处理器71具体可以利用IGP,获得所述控制设备所属第一域的拓扑信息。Optionally, in a possible implementation manner of this embodiment, the
可选地,在本实施例的可能的实现方式中,所述处理器71具体可以利用LLDP,获得所述控制设备所属第一域的拓扑信息。Optionally, in a possible implementation manner of this embodiment, the
需要说明的是,本实施例提供的控制设备用于对应执行如图1所示实施例的方法,对于图1所示实施例已经描述的细节,此处不再赘述。It should be noted that the control device provided in this embodiment is used to correspondingly execute the method of the embodiment shown in FIG. 1 , and the details already described in the embodiment shown in FIG. 1 will not be repeated here.
本实施例中,控制设备通过获得单元获得所述控制设备所属第一域的拓扑信息,所述第一域为所述控制设备以及所述控制设备管理的网络设备所构成的域,以及接收单元接收所述第二控制设备发送的所述第二控制设备所属第二域的拓扑信息,所述第二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的域,使得发送单元能够将包含所述第一域的拓扑信息的拓扑信息发送给所述第二控制设备,能够避免现有技术中由于控制设备都需要经由该控制设备管理的网络设备收集整个网络的拓扑信息而导致的控制设备的处理负担的增加的问题,从而降低了控制设备的处理负担,有利于扩大网络规模。In this embodiment, the control device obtains the topology information of the first domain to which the control device belongs through the obtaining unit, the first domain is a domain composed of the control device and network devices managed by the control device, and the receiving unit receiving the topology information of the second domain to which the second control device belongs and sent by the second control device, where the second domain is a domain formed by the second control device and network devices managed by the second control device , so that the sending unit can send the topology information including the topology information of the first domain to the second control device, which can avoid that in the prior art, the control device needs to collect the network information of the entire network via the network device managed by the control device. The problem of increasing the processing load of the control device caused by the topology information, thereby reducing the processing load of the control device, is conducive to expanding the network scale.
图8为本申请另一实施例提供的拓扑收集设备的结构示意图,所述拓扑收集设备应用于控制和转发分离的集中式系统,所述系统包括第一控制设备、第二控制设备和所述拓扑收集设备,以及所述第一控制设备管理的网络设备和所述第二控制设备管理的网络设备。如图8所示,本实施例的拓扑收集设备可以包括接收器81和发送器82。其中,接收器81,用于接收所述第一控制设备发送的所述第一控制设备所属第一域的拓扑信息,以及将所述第一域的拓扑信息传输给发送器82,所述第一域为所述第一控制设备以及所述第一控制设备管理的网络设备所构成的域;所述接收器81,还用于接收所述第二控制设备发送的所述第二控制设备所属第二域的拓扑信息,以及将所述第二域的拓扑信息传输给所述发送器82,所述第二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的域;所述发送器82,用于将包含所述第一域的拓扑信息的拓扑信息发送给所述第二控制设备;所述发送器82,还用于将包含所述第二域的拓扑信息的拓扑信息发送给所述第一控制设备。Fig. 8 is a schematic structural diagram of a topology collection device provided by another embodiment of the present application. The topology collection device is applied to a centralized system that separates control and forwarding, and the system includes a first control device, a second control device, and the A topology collection device, and a network device managed by the first control device and a network device managed by the second control device. As shown in FIG. 8 , the topology collection device of this embodiment may include a
可选地,在本实施例的可能的实现方式中,所述拓扑收集设备是一个独立设置的服务器,例如,控制服务器,这个服务器可以与每个控制设备(即第一控制设备和第二控制设备)进行通信。Optionally, in a possible implementation of this embodiment, the topology collection device is an independently configured server, for example, a control server, and this server can communicate with each control device (that is, the first control device and the second control device device) to communicate.
本实施例中,整个网络可以划分为若干个第一域和若干个第二域,如图2所示,具体的划分方法可以是通过操作人员手动指定分域,或者还可以是通过计算机自动指定分域,本实施例对此不进行限定。In this embodiment, the entire network can be divided into several first domains and several second domains, as shown in Figure 2, the specific division method can be manually designated by the operator, or automatically designated by the computer Domain division, which is not limited in this embodiment.
其中,所述拓扑信息可以包括但不限于对应域上的设备,以及这些设备的连接顺序关系。例如,所述第一域的拓扑信息可以包括但不限于所述第一域上的设备,以及这些设备的连接顺序关系。再例如,所述第二域的拓扑信息可以包括但不限于所述第二域上的设备,以及这些设备的连接顺序关系。Wherein, the topology information may include, but not limited to, devices on the corresponding domain, and the connection order relationship of these devices. For example, the topology information of the first domain may include, but not limited to, devices on the first domain, and a connection sequence relationship of these devices. For another example, the topology information of the second domain may include, but not limited to, devices on the second domain, and a connection sequence relationship of these devices.
需要说明的是,第一控制设备,在OpenFlow系统下,可以为控制服务器(Controller);所述第一控制设备管理的网络设备,在OpenFlow系统下,可以为OpenFlow交换机(OpenFlow Switch);相应地,与所述第一控制设备对应的第二控制设备,在OpenFlow系统下,也可以为控制服务器;所述第二控制设备管理的网络设备,在OpenFlow系统下,也可以为OpenFlow交换机。It should be noted that the first control device may be a control server (Controller) under the OpenFlow system; the network device managed by the first control device may be an OpenFlow switch (OpenFlow Switch) under the OpenFlow system; correspondingly , the second control device corresponding to the first control device may also be a control server under the OpenFlow system; the network device managed by the second control device may also be an OpenFlow switch under the OpenFlow system.
可选地,在本实施例的可能的实现方式中,所述发送器82发送的所述包含所述第一域的拓扑信息的拓扑信息和所述发送器82发送的所述包含第二域的拓扑信息的拓扑信息均可以为所述发送器82将所述第一域的拓扑信息和所述第二域的拓扑信息进行汇总后得到的拓扑信息。Optionally, in a possible implementation of this embodiment, the topology information including the topology information of the first domain sent by the
可选地,在本实施例的可能的实现方式中,所述发送器82发送的所述包含所述第一域的拓扑信息的拓扑信息还可以为所述发送器82接收的所述第一域的拓扑信息。Optionally, in a possible implementation of this embodiment, the topology information including the topology information of the first domain sent by the
可选地,在本实施例的可能的实现方式中,所述发送器82发送的所述包含第二域的拓扑信息的拓扑信息还可以为所述发送器82接收的所述第二域的拓扑信息。Optionally, in a possible implementation of this embodiment, the topology information including the topology information of the second domain sent by the
本实施例中,拓扑收集设备通过接收单元接收所述第一控制设备发送的所述第一控制设备所属第一域的拓扑信息,所述第一域为所述第一控制设备以及所述第一控制设备管理的网络设备所构成的域,以及所述接收单元接收所述第二控制设备发送的所述第二控制设备所属第二域的拓扑信息,所述第二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的域,使得发送单元能够将包含所述第一域的拓扑信息的拓扑信息发送给所述第二控制设备,以及所述发送单元能够将包含所述第二域的拓扑信息的拓扑信息发送给所述第一控制设备,能够避免现有技术中由于控制设备都需要经由该控制设备管理的网络设备收集整个网络的拓扑信息而导致的控制设备的处理负担的增加的问题,从而降低了控制设备的处理负担,有利于扩大网络规模。In this embodiment, the topology collection device receives the topology information of the first domain to which the first control device belongs sent by the first control device through the receiving unit, and the first domain is the first control device and the second domain. A domain composed of network devices managed by a control device, and the receiving unit receives the topology information of the second domain to which the second control device belongs sent by the second control device, and the second domain is the second domain of the second control device. A domain formed by the control device and network devices managed by the second control device, so that the sending unit can send topology information including the topology information of the first domain to the second control device, and the sending unit can Sending the topology information including the topology information of the second domain to the first control device can avoid the problem in the prior art that the control device needs to collect the topology information of the entire network via the network device managed by the control device. The problem of increasing the processing load of the control device, thereby reducing the processing load of the control device, is conducive to expanding the network scale.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units implemented in the form of software functional units may be stored in a computer-readable storage medium. The above-mentioned software functional units are stored in a storage medium, and include several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) or a processor (processor) execute the methods described in various embodiments of the present application. partial steps. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), magnetic disk or optical disc, etc., which can store program codes. medium.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, rather than limiting them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present application.
Claims (15)
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2012/079588 WO2014019196A1 (en) | 2012-08-02 | 2012-08-02 | Topology information processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102907052A true CN102907052A (en) | 2013-01-30 |
Family
ID=47577503
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012800010835A Pending CN102907052A (en) | 2012-08-02 | 2012-08-02 | Method and device for processing topology information |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102907052A (en) |
WO (1) | WO2014019196A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104144082A (en) * | 2013-05-08 | 2014-11-12 | 杭州华三通信技术有限公司 | Method for detecting loop in two-layer network and controller |
CN105357112A (en) * | 2014-08-19 | 2016-02-24 | 华为技术有限公司 | Communication method and device in software defined network |
CN105940703A (en) * | 2014-01-31 | 2016-09-14 | 高通股份有限公司 | Distributed clustering of wireless network nodes |
CN108141373A (en) * | 2016-04-20 | 2018-06-08 | 博科通讯系统有限公司 | For the united communications framework of network controller |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2000005657A1 (en) * | 1998-07-21 | 2000-02-03 | Conduct Ltd. | Automatic network topology analysis |
CN1801770A (en) * | 2005-01-05 | 2006-07-12 | 国际商业机器公司 | Topology finding method and system in SIP network |
CN1808988A (en) * | 2005-01-19 | 2006-07-26 | 华为技术有限公司 | Method of implementing synchronization of topology resource information between bearer networks |
CN101702678A (en) * | 2009-11-19 | 2010-05-05 | 杭州华三通信技术有限公司 | Star-shaped stack system and method thereof |
CN102045190A (en) * | 2009-10-21 | 2011-05-04 | 杭州华三通信技术有限公司 | Network topology discovery method and device |
WO2011083780A1 (en) * | 2010-01-05 | 2011-07-14 | 日本電気株式会社 | Communication system, control apparatus, processing rule setting method, packet transmitting method and program |
-
2012
- 2012-08-02 CN CN2012800010835A patent/CN102907052A/en active Pending
- 2012-08-02 WO PCT/CN2012/079588 patent/WO2014019196A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2000005657A1 (en) * | 1998-07-21 | 2000-02-03 | Conduct Ltd. | Automatic network topology analysis |
CN1801770A (en) * | 2005-01-05 | 2006-07-12 | 国际商业机器公司 | Topology finding method and system in SIP network |
CN1808988A (en) * | 2005-01-19 | 2006-07-26 | 华为技术有限公司 | Method of implementing synchronization of topology resource information between bearer networks |
CN102045190A (en) * | 2009-10-21 | 2011-05-04 | 杭州华三通信技术有限公司 | Network topology discovery method and device |
CN101702678A (en) * | 2009-11-19 | 2010-05-05 | 杭州华三通信技术有限公司 | Star-shaped stack system and method thereof |
WO2011083780A1 (en) * | 2010-01-05 | 2011-07-14 | 日本電気株式会社 | Communication system, control apparatus, processing rule setting method, packet transmitting method and program |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104144082A (en) * | 2013-05-08 | 2014-11-12 | 杭州华三通信技术有限公司 | Method for detecting loop in two-layer network and controller |
CN104144082B (en) * | 2013-05-08 | 2017-10-27 | 新华三技术有限公司 | The method and controller of detection loop in double layer network |
CN105940703A (en) * | 2014-01-31 | 2016-09-14 | 高通股份有限公司 | Distributed clustering of wireless network nodes |
US10327197B2 (en) | 2014-01-31 | 2019-06-18 | Qualcomm Incorporated | Distributed clustering of wireless network nodes |
CN105940703B (en) * | 2014-01-31 | 2020-03-03 | 高通股份有限公司 | Distributed clustering of wireless network nodes |
CN105357112A (en) * | 2014-08-19 | 2016-02-24 | 华为技术有限公司 | Communication method and device in software defined network |
CN108141373A (en) * | 2016-04-20 | 2018-06-08 | 博科通讯系统有限公司 | For the united communications framework of network controller |
US10855684B2 (en) | 2016-04-20 | 2020-12-01 | Avago Technologies International Sales Pte. Limited | Communication framework for a federation of network controllers |
CN108141373B (en) * | 2016-04-20 | 2021-04-16 | 安华高科技股份有限公司 | Federated Communication Framework for Network Controllers |
Also Published As
Publication number | Publication date |
---|---|
WO2014019196A1 (en) | 2014-02-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103746911B (en) | A kind of SDN structure and its communication means | |
JP6490082B2 (en) | Route control method, device, and system | |
CN103401786B (en) | Network topology foundation, path clustering, message transmitting method and device, system | |
CN105337857B (en) | A kind of multi-path transmission method based on software defined network | |
US10645006B2 (en) | Information system, control apparatus, communication method, and program | |
WO2014047784A1 (en) | Method for determining packet forwarding path, network device and control device | |
CN106921579B (en) | Communication method and device based on Service Function Chain (SFC) | |
JP5987841B2 (en) | COMMUNICATION SYSTEM, CONTROL DEVICE, TRANSFER NODE, COMMUNICATION SYSTEM CONTROL METHOD AND PROGRAM | |
CN104518973B (en) | A method of reliable multicast transmission of data based on SDN environment | |
KR20090078721A (en) | UPnP (Supports Multiple Remote Connections) Device and Method | |
CN107395532A (en) | A kind of multi-tenant virtual network partition method based on SDN | |
CN105553849A (en) | Conventional IP network and SPTN network intercommunication method and system | |
CN104243270A (en) | Tunnel setup method and tunnel setup device | |
CN105306365B (en) | A kind of powerline network and its dilatation ruin routed path and determine method with anti- | |
CN104283722A (en) | SDN link state information collecting method and device | |
CN109428766A (en) | Software-defined network system for automatic deployment of switches and method thereof | |
WO2022253087A1 (en) | Data transmission method, node, network manager, and system | |
CN104980368A (en) | Bandwidth guarantee method and apparatus in software defined network (SDN) | |
JP2016524412A (en) | Method and forwarder for processing packets | |
CN104202313A (en) | Data forwarding method and gateway | |
CN102907052A (en) | Method and device for processing topology information | |
JP6525256B2 (en) | Virtual network system and virtual network route setting method | |
WO2014094224A1 (en) | Method, network device, and virtual cluster for determining administrative domain | |
JPWO2014069502A1 (en) | COMMUNICATION SYSTEM, ROUTE INFORMATION EXCHANGE DEVICE, COMMUNICATION NODE, ROUTE INFORMATION TRANSFER METHOD, AND PROGRAM | |
JP6206493B2 (en) | CONTROL DEVICE, COMMUNICATION SYSTEM, RELAY DEVICE CONTROL METHOD, AND PROGRAM |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130130 |