WO2014019196A1 - Topology information processing method and device - Google Patents
Topology information processing method and device Download PDFInfo
- Publication number
- WO2014019196A1 WO2014019196A1 PCT/CN2012/079588 CN2012079588W WO2014019196A1 WO 2014019196 A1 WO2014019196 A1 WO 2014019196A1 CN 2012079588 W CN2012079588 W CN 2012079588W WO 2014019196 A1 WO2014019196 A1 WO 2014019196A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- control device
- domain
- topology information
- topology
- managed
- Prior art date
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 12
- 238000003672 processing method Methods 0.000 title claims abstract description 12
- 238000000034 method Methods 0.000 claims description 36
- 238000012545 processing Methods 0.000 abstract description 26
- 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
- 230000005540 biological transmission Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
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
Definitions
- TECHNICAL FIELD The present application relates to communication technologies, and in particular, to a topology information processing method and device. Background technique
- the control device for example, the Master, etc.
- the network device managed by the control device for example, an AP (Access Point), etc.
- the control device jointly complete the packet forwarding process that is completely controlled by the switch/router, thereby implementing data forwarding and routing control. Separation.
- the control device can use a protocol such as an Interior Gateway Protocol (IGP) or a Link Layer Discovery Protocol (LLDP), and the network device managed by the control device Collect topology information for the entire network.
- IGP Interior Gateway Protocol
- LLDP Link Layer Discovery Protocol
- aspects of the present application provide a topology information processing method and apparatus for reducing the processing load of a control device.
- An aspect of the present application provides a topology information processing method, the method being applied to a centralized system for controlling and forwarding separate, the system comprising a first control device and a second control device, and the first control device
- the managed network device and the network device managed by the second control device includes:
- the first control device obtains topology information of the first domain to which the first control device belongs, where the first domain is a domain formed by the first control device and a network device managed by the first control device;
- the second control device Receiving, by the first control device, the second control device that is sent by the second control device The topology information of the second domain, where the second domain is a domain formed by the second control device and the network device managed by the second control device;
- the first control device sends topology information including topology information of the first domain to the second control device.
- topology information of the topology information that includes the first domain is that the first control device uses the first domain
- topology information of the topology information that includes the first domain is the first domain obtained by the first control device Topological information.
- the above-mentioned aspect and any possible implementation manner further provide an implementation manner, where the first control device obtains the topology information of the first domain to which the first control device belongs, including:
- the first control device uses the IGP to obtain topology information of the first domain to which the first control device belongs; or
- the first control device uses LLDP to obtain topology information of the first domain to which the first control device belongs.
- a topology information processing method is provided, where the method is applied to a centralized centralized system for controlling and forwarding, and the system includes a first control device, a second control device, and a topology collection device, and 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 sends 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.
- the aspect as described above, and any possible implementation manner, further provide an implementation manner, where the topology information including the topology information of the first domain and the topology information of the topology information including the second domain are further provided
- the information is the topology information obtained by the topological collection device that summarizes the topology information of the first domain and the topology information of the second domain.
- topology information of the topology information that is included in the first domain is the first domain obtained by the topology collection device
- the topology information of the topology information including the second domain is topology information of the second domain obtained by the topology collection device.
- the above-mentioned aspect and any possible implementation manner further provide an implementation manner, where the first control device obtains the topology information of the first domain to which the first control device belongs, including:
- the first control device uses the IGP to obtain topology information of the first domain to which the first control device belongs; or
- the first control device uses LLDP to obtain topology information of the first domain to which the first control device belongs.
- a control device is provided, the control device being applied to a centralized system for controlling and forwarding separate, the system comprising the control device and a second control device, and a network managed by the control device a device and a network device managed by the second control device, the control device includes:
- an obtaining unit configured to obtain topology information of the first domain to which the control device belongs, and transmit topology information of the first domain to the sending unit, where the first domain is the control device and the control device The domain formed by the managed network devices;
- a receiving unit configured to receive topology information of the second domain to which the second control device belongs, sent by the second control device, and transmit topology information of the second domain to the sending unit, where
- the second domain is a domain formed by the second control device and the network device managed by the second control device;
- the sending unit is configured to send, by the control device, topology information including topology information of the first domain to the second control device.
- topology information that is sent by the sending unit and includes the topology information of the first domain is that the sending unit The topology obtained by summarizing the topology information of the first domain and the topology information of the second domain Information.
- the aspect as described above, and any possible implementation manner, further provide an implementation manner, where the topology information that is sent by the sending unit and includes the topology information of the first domain is received by the sending unit The topology information of the first domain.
- the LLDP is used to obtain topology information of the first domain to which the control device belongs.
- a topology collection device is provided, the topology collection device being applied to a centralized system for controlling and forwarding, the system comprising a first control device, a second control device, and the topology a collection device, and a network device managed by the first control device and a network device managed by the second control device, where the topology collection device includes:
- a receiving unit configured to receive topology information of the first domain to which the first control device belongs, and transmit topology information of the first domain to a sending unit, where the first domain is a domain formed by the first control device and the network device managed by the first control device;
- the receiving unit is further configured to receive, by the second control device, the second domain to which the second control device belongs The topology information, and transmitting the topology information of the second domain to the sending unit, where the second domain is a domain formed by the second control device and a network device 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.
- the aspect as described above, and any possible implementation manner, further provide an implementation manner, where the sending unit sends the topology information including the topology information of the first domain and the sending information by the sending unit
- the topology information including the topology information of the second domain is the topology information obtained by the sending unit combining the topology information of the first domain and the topology information of the second domain.
- the aspect as described above, and any possible implementation manner, further provide an implementation manner, where the topology information that is sent by the sending unit and includes the topology information of the first domain is received by the sending unit The topology information of the first domain; the extension of the second domain that is sent by the sending unit The topology information of the PC information is topology information of the second domain received by the sending unit.
- a control device is provided, the control device being applied to a centralized system for controlling and forwarding separate, the system comprising the control device and a second control device, and a network managed by the control device a device and a network device managed by the second control device, the control device includes:
- a processor configured to obtain topology information of the first domain to which the control device belongs, and transmit topology information of the first domain to a transmitter, where the first domain is the control device and the control device The domain formed by the managed network devices;
- the second control device And receiving, by the second control device, topology information of the second domain to which the second control device belongs, and transmitting topology information of the second domain to the transmitter, where
- the second domain is a domain formed by the second control device and the network device managed by the second control device; the transmitter is configured to: the control device includes a topology of topology information of the first domain Information is sent to the second control device.
- topology information of the topology information that is sent by the sender that includes the first domain is that the sender The topology information obtained by summarizing the topology information of the first domain and the topology information of the second domain.
- the LLDP is used to obtain topology information of the first domain to which the control device belongs.
- a topology collection device is provided, the topology collection device being applied to a centralized system for controlling and forwarding, the system comprising a first control device, a second control device, and the topology a collection device, and a network device managed by the first control device and a network device managed by the second control device, where the topology collection device includes:
- a receiver configured to receive topology information of the first domain to which the first control device belongs, sent by the first control device, and transmit topology information of the first domain to a sender, where the first domain is For The first control device and the domain of the network device managed by the first control device; the receiver is further configured to receive, by the second control device, the second domain to which the second control device belongs The topology information, and the topology information of the second domain is transmitted to the sender, where the second domain is a domain formed by the second control device and a network device managed by the second control device;
- the transmitter 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.
- the aspect as described above, and any possible implementation manner, further provide an implementation manner, where the topology information of the topology information that is sent by the sender and the information sent by the sender is sent by the sender
- the topology information including the topology information of the second domain is the topology information obtained by the sender summing the topology information of the first domain and the topology information of the second domain.
- topology information of the topology information that is sent by the sender and the first domain is received by the sender
- topology information of the first domain is sent by the sender
- topology information of the topology information that is sent by the sender is the topology information of the second domain that is received by the sender.
- the first control device obtains topology information of the first domain to which the first control device belongs, where the first domain is the first control device and the first a domain of the network device managed by the control device, and the first control device receives the topology information of the second domain to which the second control device belongs, and the second domain is a domain formed by the second control device and the network device 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
- the control device can avoid the problem of increasing the processing load of the control device caused by the collection of the topology information of the entire network by the network device managed by the control device in the prior art, thereby reducing the processing load of the control device. , is conducive to expanding the scale of the network.
- the topology of the application receives the topology information of the first domain to which the first control device belongs, and the first domain is the a domain formed by the first control device and the network device managed by the first control device, and the topology collection device receiving the second control device sent by the second control device
- the topology information of the second domain, the second domain is a domain formed by the second control device and the network device managed by the second control device, so that the topology collection device can include the first
- the topology information of the topology information of the domain is sent to the second control device, and the topology collection device is configured to send the topology information including the topology information of the second domain to the first control device.
- FIG. 1 is a schematic flowchart of a topology information processing method according to an embodiment of the present disclosure
- FIG. 2 is a schematic diagram of a domain division of an entire network in the embodiment corresponding to FIG. 1;
- FIG. 3 is a schematic diagram of another domain division of the entire network in the embodiment corresponding to FIG. 1;
- FIG. 4 is a schematic flowchart of a topology information processing method according to another embodiment of the present disclosure
- FIG. 5 is a schematic structural diagram of a control device according to another embodiment of the present application.
- FIG. 6 is a schematic structural diagram of a topology collection device according to another embodiment of the present application.
- FIG. 7 is a schematic structural diagram of a control device according to another embodiment of the present application.
- FIG. 8 is a schematic structural diagram of a topology collection device according to another embodiment of the present application.
- the technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application.
- the embodiments are part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present invention.
- FIG. 1 is a schematic flowchart of a method for processing topology information according to an embodiment of the present disclosure, where the method is applied to a centralized system for controlling and forwarding, the system includes a first control device and a second control device, and the The network device managed by the first control device and the network device managed by the second control device are as shown in FIG. 1 .
- the first control device obtains topology information of the first domain to which the first control device belongs, where the first domain is formed by the first control device and a network device managed by the first control device. area.
- the first control device receives the topology information of the second domain to which the second control device belongs, and the second domain is the second control device and the second control The domain formed by the network devices managed by the device.
- the first control device sends topology information including topology information of the first domain to the second control device.
- the entire network may be divided into a plurality of first domains and a plurality of second domains.
- the specific division method may be that the operator manually specifies the domain, or may be automatically designated by a computer.
- the domain is not limited in this embodiment.
- the topology information may include, but is not limited to, devices on the corresponding domain, and a connection order relationship of the devices.
- the topology information of the first domain may include, but is not limited to, devices on the first domain, and a connection order relationship of the devices.
- the topology information of the second domain may include, but is not limited to, devices on the second domain, and a connection order relationship of the devices.
- the OpenFlow system may be a control server (Controller); the network device managed by the first control device may be an OpenFlow switch (OpenFlow Switch) under the OpenFlow system; correspondingly, the first corresponding to the first control device
- the second control device, in the OpenFlow system may also be a control server; the network device managed by the second control device may also be an OpenFlow switch under the OpenFlow system.
- the topology information that includes the topology information of the first domain may be that the first control device uses the topology information of the first domain and The topology information obtained by summarizing the topology information of the second domain is summarized.
- the topology information that includes the topology information of the first domain may also be a topology of the first domain obtained by the first control device. information.
- the first control device may obtain the topology information of the first domain to which the first control device belongs.
- the first control device and the network device managed by the first control device may obtain, by using an IGP, topology information of the first domain obtained by performing a synchronization operation.
- the network device managed by the first control device and the first control device only needs to synchronize the topology information of the first domain to which the first control device belongs by using the IGP, and does not need to synchronize the extension of the entire network. The information can effectively reduce the processing load of the network device managed by the first control device and the first control device.
- the IGP may include an Intermediate System to Intermediate System (ISIS) protocol or an Open Shortest Path First (OSPF) protocol.
- ISIS Intermediate System to Intermediate System
- OSPF Open Shortest Path First
- the first control device may obtain the topology information of the first domain to which the first control device belongs.
- the first control device establishes a communication connection with the network device managed by the first control device, and performs a Transmission Control Protocol (TCP) connection, where the first The control device may obtain topology information of the network device managed by each of the first control devices by using the established communication connection to form topology information of the first domain.
- TCP Transmission Control Protocol
- the first control device only needs to establish a communication connection with a network device managed by the first control device in the same domain as the first control device, to obtain the extension of the first domain.
- the information is not required to establish a communication connection between the network device managed by the control device in the entire network (ie, the network device managed by the first control device and the network device managed by the second control device) to obtain the extension of the entire network.
- the simple information can effectively reduce the processing load of the first control device.
- the first control device is a topology collection device, and may be any one of the control devices.
- the multiple control devices in the system may specifically determine a control device as the first control device according to a preset selection policy.
- the other control device can be the second control device.
- the selection policy may be that, according to the management identifier information, a control device that has the largest or smallest value, such as an IP address, is selected as the first control device; for example, the selection policy may also be based on the device identifier.
- ESN Electronic Serial Numbers
- MAC Media Access Control
- the network topology shown in FIG. 3 will be taken as an example.
- the entire network is divided into four domains, namely domain 1, domain 2, domain 3, and domain 4.
- Master 1, and AP 1, AP 2 and AP 3 managed by Master 1 form domain 1
- Master 2, and AP 4 and AP 5 managed by Master 2 form domain 2
- AP 7 constitutes domain 3
- Master 4, and AP 8 and AP 9 managed by Master 4 constitute domain 4.
- Master 1, Master 2, Master 3, and Master 4 may specifically determine that Master 1 is the first control device according to a preset selection policy. First, Master 1, Master 2, Master 3, and Master 4 can obtain the topology information of the domain to which they belong, that is, Master 1 obtains the topology information of domain 1 and Master 2 obtains the topology information of domain 2. Master 3 obtains the topology information of domain 3, and Master 4 obtains the topology information of domain 4. Then, Master 2, Master 3, and Master 4 send the topology information of each of the respective domains to which Master 1 obtains, so that Master 1 obtains the topology information of the entire network.
- the master 1 summarizes the topology information of the domain 2 to which the master 2 belongs, the topology information of the domain 3 to which the master 3 belongs, and the topology information of the domain 4 to which the master 4 belongs, and the topology information of the domain 1 to which the master belongs.
- the obtained topology information is sent to Master 2, Master 3 and Master 4 so that Master 2, Master 3 and Master 4 obtain the topology information of the entire network.
- the topology information of the first domain to which the first control device belongs is obtained by the first control device, where the first domain is the first control device and the network device managed by the first control device And the first control device receives the topology information of the second domain to which the second control device belongs, and the second domain is the second control device and the a domain formed by the network device managed by the second control device, so that the first control device can send the topology information including the topology information of the first domain to the second control device, which can avoid the prior art. Because the control device needs to collect the entire network device managed by the control device The problem of an increase in the processing load of the control device caused by the topology information of the network, thereby reducing the processing load of the control device and facilitating the expansion of the network scale.
- FIG. 4 is a schematic flowchart of a topology information processing method according to another embodiment of the present disclosure, where the method is applied to a centralized centralized system for controlling and forwarding, and the system includes a first control device, a second control device, and a topology.
- the collection device, and the network device managed by the first control device and the network device managed by the second control device are as shown in FIG. 4 .
- the topology collection device receives 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 control The domain formed by the network devices managed by the device.
- the topological collection device receives the topology information of the second domain to which the second control device belongs, and the second domain is the second control device and the second control The domain formed by the network devices managed by the device.
- the topology collection device sends information about the extension information of the first domain to the second control device.
- the topology collection device sends information about the topology information of the second domain to the first control device.
- the topology collection device is a separately set server, for example, a control server, and the server may be associated with each control device (ie, the first control device and the second The control device) communicates.
- the entire network may be divided into a plurality of first domains and a plurality of second domains, as shown in the figure.
- the specific division method may be that the sub-domain is manually designated by the operator, or may be automatically designated by the computer, which is not limited in this embodiment.
- the topology information may include, but is not limited to, devices on the corresponding domain, and a connection order relationship of the devices.
- the topology information of the first domain may include, but is not limited to, devices on the first domain, and a connection order relationship of the devices.
- the topology information of the second domain may include, but is not limited to, devices on the second domain, and a connection order relationship of the devices.
- the first control device may be a control server (Controller); the network device managed by the first control device may be an OpenFlow switch (OpenFlow Switch) under the OpenFlow system;
- 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.
- the topology information that includes the topology information of the first domain and the topology information that includes the topology information of the second domain may be
- the topology information obtained by the topology collection device is obtained by summarizing the topology information of the first domain and the topology information of the second domain.
- the topology information that includes the topology information of the first domain may also be a topology of the first domain obtained by the topology collection device. information.
- the topology information that includes the topology information of the second domain may also be a topology of the second domain obtained by the topology collection device. information.
- the first control device may use the IGP to obtain topology information of the first domain to which the first control device belongs.
- the first control device and the network device managed by the first control device may obtain, by using an IGP, topology information of the first domain obtained by performing a synchronization operation.
- the network device managed by the first control device and the first control device only needs to synchronize the topology information of the first domain to which the first control device belongs by using the IGP, and does not need to synchronize the extension of the entire network. The information can effectively reduce the processing load of the network device managed by the first control device and the first control device.
- the IGP may include an Intermediate System to Intermediate System (ISIS) protocol or an Open Shortest Path First (OSPF) protocol.
- ISIS Intermediate System to Intermediate System
- OSPF Open Shortest Path First
- the first control device may use LLDP to obtain topology information of the first domain to which the first control device belongs.
- the first control device establishes a communication connection with a network device managed by the first control device, for example, a Transmission Control Protocol (TCP) connection, and the first control device can pass The established communication connection obtains topology information of the network device managed by each of the first control devices to form topology information of the first domain.
- TCP Transmission Control Protocol
- the first control device only needs to establish a communication connection with a network device managed by the first control device in the same domain as the first control device, to obtain the extension of the first domain.
- Park information there is no need to establish a network device managed by the control device in the entire network (ie, the network device managed by the first control device)
- the communication connection between the network device and the network device managed by the second control device to obtain the topology information of the entire network can effectively reduce the processing load of the first control device.
- the second control device can obtain the topology information of the second domain to which the second control device belongs by using a similar method, and details are not described herein again.
- the network topology shown in FIG. 3 will be taken as an example.
- the entire network is divided into four domains, namely domain 1, domain 2, domain 3, and domain 4.
- Master 1, and AP 1, AP 2 and AP 3 managed by Master 1 form domain 1
- Master 2, and AP 4 and AP 5 managed by Master 2 form domain 2
- AP 7 constitutes domain 3
- Master 4, and AP 8 and AP 9 managed by Master 4 constitute domain 4.
- a server may be independently set as a topology collection device.
- Master 1, Master 2, Master 3, and Master 4 can obtain the topology information of the domain to which they belong, that is, Master 1 obtains the topology information of domain 1 and Master 2 obtains the topology information of domain 2.
- Master 3 obtains the topology information of domain 3, and Master 4 obtains the topology information of domain 4.
- Master 1, Master 2, Master 3, and Master 4 send the topology information of each respective domain to the server, so that the server obtains the topology information of the entire network.
- the server obtains the topology information of the domain 1 to which the master 1 belongs, the topology information of the domain 2 to which the master 2 belongs, the topology information of the domain 3 to which the master 3 belongs, and the topology information of the domain 4 to which the master 4 belongs.
- the topology information is sent to Master 1, Master 2, Master 3 and Master 4 so that Master 1, Master 2, Master 3 and Master 4 obtain the topology information of the entire network.
- the topology information of the first domain to which the first control device belongs is sent by the first control device, where the first domain is the first control device and the first a domain of the network device managed by the control device, and the topology collection device receives the topology information of the second domain to which the second control device belongs, and the second domain is a domain formed by the second control device and the network device 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
- the 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 need for the control device to pass through the control device in the prior art.
- Control caused by managed network devices collecting topology information of the entire network The problem of an increase in the processing load of the device reduces the processing load of the control device and facilitates the expansion of the network scale.
- FIG. 5 is a schematic structural diagram of a control device according to another embodiment of the present application, where the control device is applied to a centralized system for controlling and forwarding, the system includes the control device and a second control device, and the control a network device managed by the device and a network device managed by the second control device.
- the control device of this embodiment may include an obtaining unit 51, a receiving unit 52, and a transmitting unit 53.
- the obtaining unit 51 is configured to obtain topology information of the first domain to which the control device belongs, and transmit topology information of the first domain to the sending unit 53, where the first domain is the control device and a receiving device 52, configured to receive topology information of the second domain to which the second control device belongs, and send the second domain
- the topology information is transmitted to the sending unit 53, the second domain is a domain formed by the second control device and a network device managed by the second control device, and the sending unit 53 is configured to The control device sends topology information including the topology information of the first domain to the second control device.
- the entire network may be divided into a plurality of first domains and a plurality of second domains.
- the specific division method may be that the operator manually specifies the domain, or may be automatically designated by a computer.
- the domain is not limited in this embodiment.
- the topology information may include, but is not limited to, devices on the corresponding domain, and a connection order relationship of the devices.
- the topology information of the first domain may include, but is not limited to, devices on the first domain, and a connection order relationship of the devices.
- the topology information of the second domain may include, but is not limited to, devices on the second domain, and a connection order relationship of the devices.
- control device may be a control server under the OpenFlow system; the network device managed by the control device may be under the OpenFlow system.
- the OpenFlow Switch OpenFlow Switch
- the second control device corresponding to the control device may be a control server under the OpenFlow system; and the network device managed by the second control device is under the OpenFlow system. It can also be an OpenFlow switch.
- the topology information that is sent by the sending unit 53 and includes the topology information of the first domain may be that the sending unit 53 The topology information obtained by summarizing the topology information of the domain and the topology information of the second domain.
- the topology information that is sent by the sending unit 53 and includes the topology information of the first domain may also be the Topological information of the first domain.
- the obtaining unit 51 may specifically obtain the topology information of the first domain to which the control device belongs by using the IGP.
- the obtaining unit 51 may specifically obtain the topology information of the first domain to which the control device belongs by using LLDP.
- control device provided in this embodiment is used to perform the method in the embodiment shown in FIG. 1.
- the details already described in the embodiment shown in FIG. 1 are not described herein again.
- the control device obtains the topology information of the first domain to which the control device belongs by using the obtaining unit, where the first domain is a domain formed by the control device and the network device managed by the control device, and receiving Receiving, by the second control device, topology information of the second domain to which the second control device belongs, where the second domain is formed by the second control device and the network device managed by the second control device
- the domain is configured to enable the sending unit to send the topology information including the topology information of the first domain to the second control device, which can avoid the network device that needs to be managed by the control device in the prior art.
- FIG. 6 is a schematic structural diagram of a topology collection device according to another embodiment of the present disclosure.
- the topology collection device is applied to a centralized system for controlling and forwarding, and the system includes a first control device, a second control device, and The topology collection device, and the network device managed by the first control device and the network device managed by the second control device.
- the topology collection device of this embodiment may include a receiving unit 61 and a sending unit 62.
- the receiving unit 61 is configured to receive topology information of the first domain to which the first control device belongs, sent by the first control device, and The topology information of the first domain is transmitted to the sending unit 62, where the first domain is a domain formed by the first control device and the network device managed by the first control device; the receiving unit 61 is further used for Receiving, by the second control device, the topology information of the second domain to which the second control device belongs, and transmitting the topology information of the second domain to the sending unit 62, where the second domain is a second control device and a domain formed by the network device managed by the second control device; the sending unit 62, configured to send topology information including topology information of the first domain to the second The sending unit 62 is further configured to send topology information including topology information of the second domain to the first control device.
- the topology collection device is a separately set server, for example, a control server, and the server may be associated with each control device (ie, the first control device and the second The control device) communicates.
- the entire network may be divided into a plurality of first domains and a plurality of second domains.
- the specific division method may be that the operator manually specifies the domain, or may be automatically designated by a computer.
- the domain is not limited in this embodiment.
- the topology information may include, but is not limited to, devices on the corresponding domain, and a connection order relationship of the devices.
- the topology information of the first domain may include, but is not limited to, devices on the first domain, and a connection order relationship of the devices.
- the topology information of the second domain may include, but is not limited to, devices on the second domain, and a connection order relationship of the devices.
- the first control device may be a control server (Controller); the network device managed by the first control device may be an OpenFlow switch (OpenFlow Switch) under the OpenFlow system;
- the second control device corresponding to the first control device may also be a control server under the OpenFlow system; and the network device managed by the second control device may also be an OpenFlow switch under the OpenFlow system.
- the topology information of the topology information of the two domains may be the topology information obtained by the sending unit 62 by summarizing the topology information of the first domain and the topology information of the second domain.
- the topology information that is sent by the sending unit 62 and includes the topology information of the first domain may also be received by the sending unit 62.
- the topology information of the first domain may also be received by the sending unit 62.
- the topology information that is sent by the sending unit 62 and includes the topology information of the second domain may also be the second received by the sending unit 62. Topological information of the domain.
- the topology collecting device receives 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 a domain formed by the network device managed by the first control device, and the receiving unit receives topology information of the second domain to which the second control device belongs, which is sent by the second control device, where the second domain is a domain formed by the second control device and the network device 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, and The sending unit can send the topology information including the topology information of the second domain to the first control device, which can avoid collecting the entire network device that is controlled by the control device in the prior art.
- the problem of increasing the processing load of the control device caused by the topology information of the network thereby reducing the processing load of the control device and facilitating the expansion of the network scale.
- FIG. 7 is a schematic structural diagram of a control device according to another embodiment of the present application, where the control device is applied to a centralized system for controlling and forwarding, the system includes the control device and a second control device, and the control a network device managed by the device and a network device managed by the second control device.
- the control device of this embodiment may include a processor 71, a receiver 72, and a transmitter 73.
- the processor 71 is configured to obtain topology information of the first domain to which the control device belongs, and transmit topology information of the first domain to the transmitter 73, where the first domain is the control device and a domain formed by the network device managed by the control device; a receiver 72, configured to receive topology information of the second domain to which the second control device belongs, sent by the second control device, and to use the second domain
- the topology information is transmitted to the transmitter 73, the second domain is a domain formed by the second control device and a network device managed by the second control device, and the transmitter 73 is configured to The control device sends topology information including the topology information of the first domain to the second control device.
- the entire network may be divided into a plurality of first domains and a plurality of second domains.
- the specific division method may be that the operator manually specifies the domain, or may be automatically designated by a computer.
- the domain is not limited in this embodiment.
- the topology information may include, but is not limited to, devices on the corresponding domain, and a connection order relationship of the devices.
- the topology information of the first domain may include, but is not limited to, devices on the first domain, and a connection order relationship of the devices.
- the topology information of the second domain may include, but is not limited to, devices on the second domain, and a connection order relationship of the devices.
- control device under the OpenFlow system, can be the control server.
- Controller the network device managed by the control device may be an OpenFlow switch (OpenFlow Switch) under the OpenFlow system; correspondingly, the second control device corresponding to the control device may be The network device managed by the second control device may be an OpenFlow switch under the OpenFlow system.
- OpenFlow Switch OpenFlow Switch
- the topology information that is sent by the sender 73 and includes topology information of the first domain may be that the transmitter 73
- the topology information that is sent by the sender 73 and includes the topology information of the first domain may also be the Topological information of the first domain.
- the processor 71 may use the IGP to obtain topology information of the first domain to which the control device belongs.
- the processor 71 may use LLDP to obtain topology information of the first domain to which the control device belongs.
- control device provided in this embodiment is used to perform the method in the embodiment shown in FIG. 1.
- the details already described in the embodiment shown in FIG. 1 are not described herein again.
- the control device obtains the topology information of the first domain to which the control device belongs by using the obtaining unit, where the first domain is a domain formed by the control device and the network device managed by the control device, and receiving Receiving, by the second control device, topology information of the second domain to which the second control device belongs, where the second domain is formed by the second control device and the network device managed by the second control device
- the domain is configured to enable the sending unit to send the topology information including the topology information of the first domain to the second control device, which can avoid the network device that needs to be managed by the control device in the prior art.
- FIG. 8 is a schematic structural diagram of a topology collection device according to another embodiment of the present disclosure.
- the topology collection device is applied to a centralized system for controlling and forwarding, and the system includes a first control device, a second control device, and The topology collection device, and the network device managed by the first control device and the network device managed by the second control device.
- the topology collection device of this embodiment may include a receiver 81 and a transmitter 82.
- the receiver 81 is configured to receive topology information of the first domain to which the first control device belongs, and transmit topology information of the first domain to the transmitter 82.
- the first domain is a domain formed by the first control device and the network device managed by the first control device; the receiver 81 is further configured to receive the second control sent by the second control device The topology information of the second domain to which the device belongs, and the topology information of the second domain is transmitted to the transmitter 82, where the second domain is managed by the second control device and the second control device a domain formed by the network device, the transmitter 82, configured to send topology information including topology information of the first domain to the second control device, where the transmitter 82 is further configured to include The topology information of the topology information of the second domain is sent to the first control device.
- the topology collection device is a separately set server, for example, a control server, and the server may be associated with each control device (ie, the first control device and the second The control device) communicates.
- the entire network may be divided into a plurality of first domains and a plurality of second domains.
- the specific division method may be that the operator manually specifies the domain, or may be automatically designated by a computer.
- the domain is not limited in this embodiment.
- the topology information may include, but is not limited to, devices on the corresponding domain, and a connection order relationship of the devices.
- the topology information of the first domain may include, but is not limited to, devices on the first domain, and a connection order relationship of the devices.
- the topology information of the second domain may include, but is not limited to, devices on the second domain, and a connection order relationship of the devices.
- the first control device may be a control server (Controller); the network device managed by the first control device may be an OpenFlow switch (OpenFlow Switch) under the OpenFlow system;
- the second control device corresponding to the first control device may also be a control server under the OpenFlow system; and the network device managed by the second control device may also be an OpenFlow switch under the OpenFlow system.
- the packet sent by the sender 82 is The topology information including the topology information of the first domain and the topology information of the topology information including the second domain sent by the sender 82 may be the transmitter 82 to use the first domain.
- the topology information obtained by summarizing the topology information and the topology information of the second domain.
- the topology information that is sent by the sender 82 and includes the topology information of the first domain may also be that the transmitter 82 receives the Topological information of the first domain.
- the topology information of the topology information that is sent by the transmitter 82 and includes the second domain may also be the second information received by the transmitter 82. Topological information of the domain.
- the topology collecting device receives 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 a domain formed by the network device managed by the first control device, and the receiving unit receives topology information of the second domain to which the second control device belongs, which is sent by the second control device, where the second domain is a domain formed by the second control device and the network device 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, and The sending unit can send the topology information including the topology information of the second domain to the first control device, which can avoid collecting the entire network device that is controlled by the control device in the prior art.
- the problem of increasing the processing load of the control device caused by the topology information of the network thereby reducing the processing load of the control device and facilitating the expansion of the network scale.
- the disclosed system, apparatus, and method may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
- the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
- the above software functional unit is stored in a storage medium and includes a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute the method of the various embodiments of the present application. Part of the steps.
- the foregoing storage medium includes: a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. Medium.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Embodiments of the present invention provide a topology information processing method and device. In one aspect of the embodiments of the present invention, a first control device obtains topology information of a first domain to which the first control device belongs, the first domain being a domain formed by the first control device and a network device managed by the first control device; and the first control device receives topology information of a second domain to which a second control device belongs, the topology information being sent by the second control device, and the second domain being a domain formed by the second control device and a network device managed by the second control device, so that the first control device can send topology information comprising the topology information of the first domain to the second control device, which can avoid the problem in the prior art that processing load of a control device increases because the control device needs to collect topology information of the entire network through a network device managed by the control device, thereby reducing the processing load of the control device, and being conducive to expanding the network scale.
Description
拓朴信息处理方法及设备 Topological information processing method and device
技术领域 本申请涉及通信技术, 尤其涉及拓朴信息处理方法及设备。 背景技术 TECHNICAL FIELD The present application relates to communication technologies, and 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, a centralized system with separate control and forwarding emerges, for example: OpenFlow system. The control device (for example, the Master, etc.) and the network device managed by the control device (for example, an AP (Access Point), etc.) jointly complete the packet forwarding process that is completely controlled by the switch/router, thereby implementing data forwarding and routing control. Separation. As the network device increases, the control device (Master) can use a protocol such as an Interior Gateway Protocol (IGP) or a Link Layer Discovery Protocol (LLDP), and the network device managed by the control device Collect topology information for 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 is increased, thereby making the network size limited. Summary of the invention
本申请的多个方面提供拓朴信息处理方法及设备, 用以降低控制设备的 处理负担。 Aspects of the present application provide a topology information processing method and apparatus for reducing the processing load of a control device.
本申请的一方面, 提供一种拓朴信息处理方法, 所述方法应用于控制和 转发分离的集中式系统, 所述系统包括第一控制设备和第二控制设备, 以及 所述第一控制设备管理的网络设备和所述第二控制设备管理的网络设备, 该 方法包括: An aspect of the present application provides a topology information processing method, the method being applied to a centralized system for controlling and forwarding separate, the system comprising a first control device and a second control device, and the first control device The managed network device and the network device managed by the second control device, the method includes:
所述第一控制设备获得所述第一控制设备所属第一域的拓朴信息, 所述 第一域为所述第一控制设备以及所述第一控制设备管理的网络设备所构成的 域; The first control device obtains topology information of the first domain to which the first control device belongs, where the first domain is a domain formed by the first control device and a network device managed by the first control device;
所述第一控制设备接收所述第二控制设备发送的所述第二控制设备所属
第二域的拓朴信息, 所述第二域为所述第二控制设备以及所述第二控制设备 管理的网络设备所构成的域; Receiving, by the first control device, the second control device that is sent by the second control device The topology information of the second domain, where the second domain is a domain formed by the second control device and the network device managed by the second control device;
所述第一控制设备将包含所述第一域的拓朴信息的拓朴信息发送给所述 第二控制设备。 The first control device sends topology information including topology information of the first domain to the second control device.
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所 述包含所述第一域的拓朴信息的拓朴信息为所述第一控制设备将所述第一域 的拓朴信息和所述第二域的拓朴信息进行汇总后得到的拓朴信息。 The aspect as described above, and any possible implementation manner, further provide an implementation manner, where the topology information of the topology information that includes the first domain is that the first control device uses the first domain The topology information obtained by summarizing the topology information and the topology information of the second domain.
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所 述包含所述第一域的拓朴信息的拓朴信息为所述第一控制设备获得的所述第 一域的拓朴信息。 The above-mentioned aspect and any possible implementation manner further provide an implementation manner, where the topology information of the topology information that includes the first domain is the first domain obtained by the first control device Topological information.
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所 述第一控制设备获得所述第一控制设备所属第一域的拓朴信息, 包括: The above-mentioned aspect and any possible implementation manner further provide an implementation manner, 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 uses the IGP to obtain topology information of the first domain to which the first control device belongs; or
所述第一控制设备利用 LLDP, 获得所述第一控制设备所属第一域的拓 朴信息。 The first control device uses LLDP to obtain topology information of the first domain to which the first control device belongs.
本申请的另一方面, 提供一种拓朴信息处理方法, 所述方法应用于控制 和转发分离的集中式系统, 所述系统包括第一控制设备、 第二控制设备和拓 朴收集设备, 以及所述第一控制设备管理的网络设备和所述第二控制设备管 理的网络设备, 该方法包括: In another aspect of the present application, a topology information processing method is provided, where the method is applied to a centralized centralized system for controlling and forwarding, and the system includes a first control device, a second control device, and a topology collection device, and The network device managed by the first control device and the network device managed by the second control device, the method includes:
所述拓朴收集设备接收所述第一控制设备发送的所述第一控制设备所属 第一域的拓朴信息, 所述第一域为所述第一控制设备以及所述第一控制设备 管理的网络设备所构成的域; Receiving, by the first control device, topology information of the first domain to which the first control device belongs, where the first domain is the first control device and the first control device The domain of the network device;
所述拓朴收集设备接收所述第二控制设备发送的所述第二控制设备所属 第二域的拓朴信息, 所述第二域为所述第二控制设备以及所述第二控制设备 管理的网络设备所构成的域; Receiving, by the second control device, topology information of the second domain to which the second control device belongs, where the second domain is managed by the second control device and the second control device The domain of the network device;
所述拓朴收集设备将包含所述第一域的拓朴信息的拓朴信息发送给所述 第二控制设备; The topology collection device sends 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. The aspect as described above, and any possible implementation manner, further provide an implementation manner, where the topology information including the topology information of the first domain and the topology information of the topology information including the second domain are further provided The information is the topology information obtained by the topological collection device that summarizes the topology information of the first domain and the topology information of the second domain.
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所 述包含所述第一域的拓朴信息的拓朴信息为所述拓朴收集设备获得的所述第 一域的拓朴信息; 所述包含第二域的拓朴信息的拓朴信息为所述拓朴收集设 备获得的所述第二域的拓朴信息。 The aspect as described above, and any possible implementation manner, further providing an implementation manner, where the topology information of the topology information that is included in the first domain is the first domain obtained by the topology collection device The topology information of the topology information including the second domain is topology information of the second domain obtained by the topology collection device.
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所 述第一控制设备获得所述第一控制设备所属第一域的拓朴信息, 包括: The above-mentioned aspect and any possible implementation manner further provide an implementation manner, 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 uses the IGP to obtain topology information of the first domain to which the first control device belongs; or
所述第一控制设备利用 LLDP, 获得所述第一控制设备所属第一域的拓 朴信息。 The first control device uses LLDP to obtain topology information of the first domain to which the first control device belongs.
本申请的另一方面, 提供一种控制设备, 所述控制设备应用于控制和转 发分离的集中式系统, 所述系统包括所述控制设备和第二控制设备, 以及所 述控制设备管理的网络设备和所述第二控制设备管理的网络设备, 该控制设 备包括: In another aspect of the present application, a control device is provided, the control device being applied to a centralized system for controlling and forwarding separate, the system comprising the control device and a second control device, and a network managed by the control device a device and a network device managed by the second control device, the control device includes:
获得单元, 用于获得所述控制设备所属第一域的拓朴信息, 以及将所述 第一域的拓朴信息传输给发送单元, 所述第一域为所述控制设备以及所述控 制设备管理的网络设备所构成的域; And an obtaining unit, configured to obtain topology information of the first domain to which the control device belongs, and transmit topology information of the first domain to the sending unit, where the first domain is the control device and the control device The domain formed by the managed network devices;
接收单元, 用于接收所述第二控制设备发送的所述第二控制设备所属第 二域的拓朴信息, 以及将所述第二域的拓朴信息传输给所述发送单元, 所述 第二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的 域; a receiving unit, configured to receive topology information of the second domain to which the second control device belongs, sent by the second control device, and transmit topology information of the second domain to the sending unit, where The second domain is a domain formed by the second control device and the network device managed by the second control device;
所述发送单元, 用于所述控制设备将包含所述第一域的拓朴信息的拓朴 信息发送给所述第二控制设备。 The sending unit is configured to send, by the control device, topology information including topology information of the first domain to the second control device.
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所 述发送单元发送的所述包含所述第一域的拓朴信息的拓朴信息为所述发送单 元将所述第一域的拓朴信息和所述第二域的拓朴信息进行汇总后得到的拓朴
信息。 The above-mentioned aspect and any possible implementation manner further provide an implementation manner, where the topology information that is sent by the sending unit and includes the topology information of the first domain is that the sending unit The topology obtained by summarizing the topology information of the first domain and the topology information of the second domain Information.
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所 述发送单元发送的所述包含所述第一域的拓朴信息的拓朴信息为所述发送单 元接收的所述第一域的拓朴信息。 The aspect as described above, and any possible implementation manner, further provide an implementation manner, where the topology information that is sent by the sending unit and includes the topology information of the first domain is received by the sending unit The topology information of the first domain.
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所 述获得单元具体用于 The aspect as described above and any possible implementation manner further provide an implementation manner, where the obtaining unit is specifically used for
利用 IGP, 获得所述控制设备所属第一域的拓朴信息; 或者 Using the IGP, obtaining topology information of the first domain to which the control device belongs; or
利用 LLDP, 获得所述控制设备所属第一域的拓朴信息。 The LLDP is used to obtain topology information of the first domain to which the control device belongs.
本申请的另一方面, 提供一种拓朴收集设备, 所述拓朴收集设备应用于 控制和转发分离的集中式系统, 所述系统包括第一控制设备、 第二控制设备 和所述拓朴收集设备, 以及所述第一控制设备管理的网络设备和所述第二控 制设备管理的网络设备, 该拓朴收集设备包括: In another aspect of the present application, a topology collection device is provided, the topology collection device being applied to a centralized system for controlling and forwarding, the system comprising a first control device, a second control device, and the topology a collection device, and a network device managed by the first control device and a network device managed by the second control device, where the topology collection device includes:
接收单元, 用于接收所述第一控制设备发送的所述第一控制设备所属第 一域的拓朴信息, 以及将所述第一域的拓朴信息传输给发送单元, 所述第一 域为所述第一控制设备以及所述第一控制设备管理的网络设备所构成的域; 所述接收单元, 还用于接收所述第二控制设备发送的所述第二控制设备 所属第二域的拓朴信息,以及将所述第二域的拓朴信息传输给所述发送单元, 所述第二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构 成的域; a receiving unit, configured to receive topology information of the first domain to which the first control device belongs, and transmit topology information of the first domain to a sending unit, where the first domain is a domain formed by the first control device and the network device managed by the first control device; the receiving unit is further configured to receive, by the second control device, the second domain to which the second control device belongs The topology information, and transmitting the topology information of the second domain to the sending unit, where the second domain is a domain formed by the second control device and a network device 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.
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所 述发送单元发送的所述包含所述第一域的拓朴信息的拓朴信息和所述发送单 元发送的所述包含第二域的拓朴信息的拓朴信息均为所述发送单元将所述第 一域的拓朴信息和所述第二域的拓朴信息进行汇总后得到的拓朴信息。 The aspect as described above, and any possible implementation manner, further provide an implementation manner, where the sending unit sends the topology information including the topology information of the first domain and the sending information by the sending unit The topology information including the topology information of the second domain is the topology information obtained by the sending unit combining the topology information of the first domain and the topology information of the second domain.
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所 述发送单元发送的所述包含所述第一域的拓朴信息的拓朴信息为所述发送单 元接收的所述第一域的拓朴信息; 所述发送单元发送的所述包含第二域的拓
朴信息的拓朴信息为所述发送单元接收的所述第二域的拓朴信息。 The aspect as described above, and any possible implementation manner, further provide an implementation manner, where the topology information that is sent by the sending unit and includes the topology information of the first domain is received by the sending unit The topology information of the first domain; the extension of the second domain that is sent by the sending unit The topology information of the PC information is 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 being applied to a centralized system for controlling and forwarding separate, the system comprising the control device and a second control device, and a network managed by the control device a device and a network device managed by the second control device, the control device includes:
处理器, 用于获得所述控制设备所属第一域的拓朴信息, 以及将所述第 一域的拓朴信息传输给发送器, 所述第一域为所述控制设备以及所述控制设 备管理的网络设备所构成的域; a processor, configured to obtain topology information of the first domain to which the control device belongs, and transmit topology information of the first domain to a transmitter, where the first domain is the control device and the control device The domain formed by the managed network devices;
接收器, 用于接收所述第二控制设备发送的所述第二控制设备所属第二 域的拓朴信息, 以及将所述第二域的拓朴信息传输给所述发送器, 所述第二 域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的域; 所述发送器, 用于所述控制设备将包含所述第一域的拓朴信息的拓朴信 息发送给所述第二控制设备。 And receiving, by the second control device, topology information of the second domain to which the second control device belongs, and transmitting topology information of the second domain to the transmitter, where The second domain is a domain formed by the second control device and the network device managed by the second control device; the transmitter is configured to: the control device includes a topology of topology information of the first domain Information is sent to the second control device.
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所 述发送器发送的所述包含所述第一域的拓朴信息的拓朴信息为所述发送器将 所述第一域的拓朴信息和所述第二域的拓朴信息进行汇总后得到的拓朴信 息。 The aspect as described above, and any possible implementation manner, further providing an implementation manner, where the topology information of the topology information that is sent by the sender that includes the first domain is that the sender The topology information obtained by summarizing the topology information of the first domain and the topology information of the second domain.
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所 述发送器发送的所述包含所述第一域的拓朴信息的拓朴信息为所述发送器接 收的所述第一域的拓朴信息。 The aspect as described above, and any possible implementation manner, further providing an implementation manner, where the topology information of the topology information that is sent by the sender and the first domain is received by the sender The topology information of the first domain.
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所 述处理器具体用于 The foregoing aspect and any possible implementation manner further provide an implementation manner, where the processor is specifically used to
利用 IGP, 获得所述控制设备所属第一域的拓朴信息; 或者 Using the IGP, obtaining topology information of the first domain to which the control device belongs; or
利用 LLDP, 获得所述控制设备所属第一域的拓朴信息。 The LLDP is used to obtain topology information of the first domain to which the control device belongs.
本申请的另一方面, 提供一种拓朴收集设备, 所述拓朴收集设备应用于 控制和转发分离的集中式系统, 所述系统包括第一控制设备、 第二控制设备 和所述拓朴收集设备, 以及所述第一控制设备管理的网络设备和所述第二控 制设备管理的网络设备, 该拓朴收集设备包括: In another aspect of the present application, a topology collection device is provided, the topology collection device being applied to a centralized system for controlling and forwarding, the system comprising a first control device, a second control device, and the topology a collection device, and a network device managed by the first control device and a network device managed by the second control device, where the topology collection device includes:
接收器, 用于接收所述第一控制设备发送的所述第一控制设备所属第一 域的拓朴信息, 以及将所述第一域的拓朴信息传输给发送器, 所述第一域为
所述第一控制设备以及所述第一控制设备管理的网络设备所构成的域; 所述接收器, 还用于接收所述第二控制设备发送的所述第二控制设备所 属第二域的拓朴信息, 以及将所述第二域的拓朴信息传输给所述发送器, 所 述第二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成 的域; a receiver, configured to receive topology information of the first domain to which the first control device belongs, sent by the first control device, and transmit topology information of the first domain to a sender, where the first domain is For The first control device and the domain of the network device managed by the first control device; the receiver is further configured to receive, by the second control device, the second domain to which the second control device belongs The topology information, and the topology information of the second domain is transmitted to the sender, where the second domain is a domain formed by the second control device and a network device managed by the second control device;
所述发送器, 用于将包含所述第一域的拓朴信息的拓朴信息发送给所述 第二控制设备; The transmitter 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.
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所 述发送器发送的所述包含所述第一域的拓朴信息的拓朴信息和所述发送器发 送的所述包含第二域的拓朴信息的拓朴信息均为所述发送器将所述第一域的 拓朴信息和所述第二域的拓朴信息进行汇总后得到的拓朴信息。 The aspect as described above, and any possible implementation manner, further provide an implementation manner, where the topology information of the topology information that is sent by the sender and the information sent by the sender is sent by the sender The topology information including the topology information of the second domain is the topology information obtained by the sender summing the topology information of the first domain and the topology information of the second domain.
如上所述的方面和任一可能的实现方式, 进一步提供一种实现方式, 所 述发送器发送的所述包含所述第一域的拓朴信息的拓朴信息为所述发送器接 收的所述第一域的拓朴信息; 所述发送器发送的所述包含第二域的拓朴信息 的拓朴信息为所述发送器接收的所述第二域的拓朴信息。 The aspect as described above, and any possible implementation manner, further providing an implementation manner, where the topology information of the topology information that is sent by the sender and the first domain is received by the sender The topology information of the first domain is sent by the sender, and the topology information of the topology information that is sent by the sender is the topology information of the second domain that is received by the sender.
由上述技术方案可知, 一方面, 本申请实施例通过第一控制设备获得所 述第一控制设备所属第一域的拓朴信息, 所述第一域为所述第一控制设备以 及所述第一控制设备管理的网络设备所构成的域, 以及所述第一控制设备接 收所述第二控制设备发送的所述第二控制设备所属第二域的拓朴信息, 所述 第二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的 域, 使得所述第一控制设备能够将包含所述第一域的拓朴信息的拓朴信息发 送给所述第二控制设备, 能够避免现有技术中由于控制设备都需要经由该控 制设备管理的网络设备收集整个网络的拓朴信息而导致的控制设备的处理负 担的增加的问题, 从而降低了控制设备的处理负担, 有利于扩大网络规模。 According to the foregoing technical solution, on the one hand, the first control device obtains topology information of the first domain to which the first control device belongs, where the first domain is the first control device and the first a domain of the network device managed by the control device, and the first control device receives the topology information of the second domain to which the second control device belongs, and the second domain is a domain formed by the second control device and the network device 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 The control device can avoid the problem of increasing the processing load of the control device caused by the collection of the topology information of the entire network by the network device managed by the control device in the prior art, thereby reducing the processing load of the control device. , is conducive to expanding the scale of the network.
由上述技术方案可知, 另一方面, 本申请实施例通过拓朴收集设备接收 所述第一控制设备发送的所述第一控制设备所属第一域的拓朴信息, 所述第 一域为所述第一控制设备以及所述第一控制设备管理的网络设备所构成的 域, 以及所述拓朴收集设备接收所述第二控制设备发送的所述第二控制设备
所属第二域的拓朴信息, 所述第二域为所述第二控制设备以及所述第二控制 设备管理的网络设备所构成的域, 使得所述拓朴收集设备能够将包含所述第 一域的拓朴信息的拓朴信息发送给所述第二控制设备, 以及所述拓朴收集设 备能够将包含所述第二域的拓朴信息的拓朴信息发送给所述第一控制设备, 能够避免现有技术中由于控制设备都需要经由该控制设备管理的网络设备收 集整个网络的拓朴信息而导致的控制设备的处理负担的增加的问题, 从而降 低了控制设备的处理负担, 有利于扩大网络规模。 附图说明 为了更清楚地说明本申请实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下 面描述中的附图是本申请的一些实施例, 对于本领域普通技术人员来讲, 在 不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。 According to the foregoing technical solution, on the other hand, the topology of the application receives the topology information of the first domain to which the first control device belongs, and the first domain is the a domain formed by the first control device and the network device managed by the first control device, and the topology collection device receiving the second control device sent by the second control device The topology information of the second domain, the second domain is a domain formed by the second control device and the network device managed by the second control device, so that the topology collection device can include the first The topology information of the topology information of the domain is sent to the second control device, and the topology collection device is configured to send the topology information including the topology information of the second domain to the first control device The problem of increasing the processing load of the control device caused by the collection of the topology information of the entire network by the network device managed by the control device is required in the prior art, thereby reducing the processing load of the control device. Conducive to expanding the scale of the network. BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. The drawings are some embodiments of the present application, and those skilled in the art can obtain other drawings based on these drawings without any inventive labor.
图 1为本申请一实施例提供的拓朴信息处理方法的流程示意图; 图 2为图 1对应的实施例中的整个网络的一域划分示意图; 1 is a schematic flowchart of a topology information processing method according to an embodiment of the present disclosure; FIG. 2 is a schematic diagram of a domain division of an entire network in the embodiment corresponding to FIG. 1;
图 3为图 1对应的实施例中的整个网络的另一域划分示意图; 3 is a schematic diagram of another domain division of the entire network in the embodiment corresponding to FIG. 1;
图 4为本申请另一实施例提供的拓朴信息处理方法的流程示意图; 图 5为本申请另一实施例提供的控制设备的结构示意图; 4 is a schematic flowchart of a topology information processing method according to another embodiment of the present disclosure; FIG. 5 is a schematic structural diagram of a control device according to another embodiment of the present application;
图 6为本申请另一实施例提供的拓朴收集设备的结构示意图; FIG. 6 is a schematic structural diagram of a topology collection device according to another embodiment of the present application;
图 7为本申请另一实施例提供的控制设备的结构示意图; FIG. 7 is a schematic structural diagram of a control device according to another embodiment of the present application;
图 8为本申请另一实施例提供的拓朴收集设备的结构示意图。 具体实施方式 为使本申请实施例的目的、 技术方案和优点更加清楚, 下面将结合本申 请实施例中的附图, 对本申请实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本申请一部分实施例, 而不是全部的实施例。 基于 本申请中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例, 都属于本申请保护的范围。 FIG. 8 is a schematic structural diagram of a topology collection device according to another embodiment of the present application. The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. The embodiments are part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present invention.
另外, 本文中术语"和 /或", 仅仅是一种描述关联对象的关联关系, 表示
可以存在三种关系, 例如, A和 /或 B, 可以表示: 单独存在 A, 同时存在 A 和 B, 单独存在 B这三种情况。 另外, 本文中字符 T, 一般表示前后关联对 象是一种"或"的关系。 In addition, the term "and / or" in this article is merely an association describing the associated object, indicating There may be three relationships, for example, A and/or B, which may indicate: A exists separately, A and B exist simultaneously, and B exists separately. In addition, the character T in this paper generally indicates that the contextual object is an "or" relationship.
需要说明的是, 本发明的技术方案可以适用于控制和转发分离的集中式 系统, 例如: Open Flow系统等。 It should be noted that the technical solution of the present invention can be applied to a centralized system for controlling and forwarding separate, for example, an Open Flow system or the like.
图 1 为本申请一实施例提供的拓朴信息处理方法的流程示意图, 所述方 法应用于控制和转发分离的集中式系统, 所述系统包括第一控制设备和第二 控制设备 , 以及所述第一控制设备管理的网络设备和所述第二控制设备管理 的网络设备, 如图 1所示。 FIG. 1 is a schematic flowchart of a method for processing topology information according to an embodiment of the present disclosure, where the method is applied to a centralized system for controlling and forwarding, the system includes a first control device and a second control device, and the The network device managed by the first control device and the network device managed by the second control device are as shown in FIG. 1 .
101、 所述第一控制设备获得所述第一控制设备所属第一域的拓朴信息, 所述第一域为所述第一控制设备以及所述第一控制设备管理的网络设备所构 成的域。 101. The first control device obtains topology information of the first domain to which the first control device belongs, where the first domain is formed by the first control device and a network device managed by the first control device. area.
102、所述第一控制设备接收所述第二控制设备发送的所述第二控制设备 所属第二域的拓朴信息, 所述第二域为所述第二控制设备以及所述第二控制 设备管理的网络设备所构成的域。 The first control device receives the topology information of the second domain to which the second control device belongs, and the second domain is the second control device and the second control The domain formed by the network devices managed by the device.
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 may be divided into a plurality of first domains and a plurality of second domains. As shown in FIG. 2, the specific division method may be that the operator manually specifies the domain, or may be automatically designated by a computer. The domain is not limited in this embodiment.
其中, 所述拓朴信息可以包括但不限于对应域上的设备, 以及这些设备 的连接顺序关系。 例如, 所述第一域的拓朴信息可以包括但不限于所述第一 域上的设备, 以及这些设备的连接顺序关系。 再例如, 所述第二域的拓朴信 息可以包括但不限于所述第二域上的设备, 以及这些设备的连接顺序关系。 The topology information may include, but is not limited to, devices on the corresponding domain, and a connection order relationship of the devices. For example, the topology information of the first domain may include, but is not limited to, devices on the first domain, and a connection order relationship of the devices. For another example, the topology information of the second domain may include, but is not limited to, devices on the second domain, and a connection order relationship of the devices.
需要说明的是, 上述 101、 102 和 103 的执行主体第一控制设备, 在 It should be noted that the first control device of the execution body of 101, 102, and 103 above is
OpenFlow系统下, 可以为控制服务器( Controller ) ; 所述第一控制设备管 理的网络设备, 在 OpenFlow系统下, 可以为 OpenFlow交换机 ( OpenFlow Switch ); 相应地, 与所述第一控制设备对应的第二控制设备, 在 OpenFlow 系统下, 也可以为控制服务器; 所述第二控制设备管理的网络设备, 在 OpenFlow系统下, 也可以为 OpenFlow交换机。
可选地, 在本实施例的可能的实现方式中, 所述包含所述第一域的拓朴 信息的拓朴信息可以为所述第一控制设备将所述第一域的拓朴信息和所述第 二域的拓朴信息进行汇总后得到的拓朴信息。 The OpenFlow system may be a control server (Controller); the network device managed by the first control device may be an OpenFlow switch (OpenFlow Switch) under the OpenFlow system; correspondingly, the first corresponding to the first control device The second control device, in the OpenFlow system, may also be a control server; 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 the embodiment, the topology information that includes the topology information of the first domain may be that the first control device uses the topology information of the first domain and The topology information obtained by summarizing the topology information of the second domain is summarized.
可选地, 在本实施例的可能的实现方式中, 所述包含所述第一域的拓朴 信息的拓朴信息还可以为所述第一控制设备获得的所述第一域的拓朴信息。 Optionally, in a possible implementation manner of the embodiment, the topology information that includes the topology information of the first domain may also be a topology of the first domain obtained by the first control device. information.
可选地, 在本实施例的可能的实现方式中, 在 101 中, 所述第一控制设 备具体可以利用 IGP, 获得所述第一控制设备所属第一域的拓朴信息。 在这 种实现方式中, 所述第一控制设备与所述第一控制设备管理的网络设备可以 利用 IGP, 获得(即通过执行同步操作获得)所述第一域的拓朴信息。 与现 有技术相比, 所述第一控制设备与所述第一控制设备管理的网络设备只需要 利用 IGP同步所述第一控制设备所属第一域的拓朴信息, 无需同步整个网络 的拓朴信息, 能够有效降低所述第一控制设备与所述第一控制设备管理的网 络设备的处理负担。 Optionally, in a possible implementation manner of the embodiment, in the first control device, the first control device may obtain the 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 obtain, by using an IGP, topology information of the first domain obtained by performing a synchronization operation. Compared with the prior art, the network device managed by the first control device and the first control device only needs to synchronize the topology information of the first domain to which the first control device belongs by using the IGP, and does not need to synchronize the extension of the entire network. The information can effectively reduce the processing load of the network device managed by the first control device and the first control device.
其中, IGP 可以包括中间系统到中间系统 ( Intermediate System to Intermediate System, ISIS )协议或最短路径优先( Open Shortest Path First, OSPF )协议等协议。 The IGP may include an Intermediate System to Intermediate System (ISIS) protocol or an Open Shortest Path First (OSPF) protocol.
可选地, 在本实施例的可能的实现方式中, 在 101 中, 所述第一控制设 备具体可以利用 LLDP, 获得所述第一控制设备所属第一域的拓朴信息。 在 这种实现方式中, 所述第一控制设备与所述第一控制设备管理的网络设备建 立通信连接, 例 ^口, 传输控制十办议(Transmission Control Protocol, TCP ) 连接, 所述第一控制设备可以通过所建立的通信连接, 获得每个所述第一控 制设备管理的网络设备的拓朴信息, 以形成所述第一域的拓朴信息。 与现有 技术相比, 所述第一控制设备只需要建立与所述第一控制设备所属同一域内 的第一控制设备管理的网络设备之间的通信连接, 以获得所述第一域的拓朴 信息, 无需建立与整个网络中的控制设备管理的网络设备(即第一控制设备 管理的网络设备和第二控制设备管理的网络设备)之间的通信连接, 以获得 所述整个网络的拓朴信息, 能够有效降低所述第一控制设备的处理负担。 Optionally, in a possible implementation manner of the embodiment, in the first control device, the first control device may 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 the network device managed by the first control device, and performs a Transmission Control Protocol (TCP) connection, where the first The control device may obtain topology information of the network device managed by each of the first control devices by using the established communication connection to form topology information of the first domain. Compared with the prior art, the first control device only needs to establish a communication connection with a network device managed by the first control device in the same domain as the first control device, to obtain the extension of the first domain. The information is not required to establish a communication connection between the network device managed by the control device in the entire network (ie, the network device managed by the first control device and the network device managed by the second control device) to obtain the extension of the entire network. The simple information can effectively reduce the processing load of the first control device.
可选地, 在本实施例的可能的实现方式中, 所述第一控制设备作为拓朴 收集设备, 可以是任何一个控制设备。 具体地, 所述系统中的多个控制设备 具体可以根据预先设置的选择策略, 确定一个控制设备作为所述第一控制设
备, 其他控制设备则可以为第二控制设备。 Optionally, in a possible implementation manner of the embodiment, the first control device is a topology collection device, and may be any one of the control devices. Specifically, the multiple control devices in the system may specifically determine a control device as the first control device according to a preset selection policy. The other control device can be the second control device.
例如, 所述选择策略可以为根据管理标识信息, 选择取值最大或最小的 控制设备, 如 IP地址等, 作为所述第一控制设备; 再例如, 所述选择策略还 可以为根据设备标识, 选择取值最大或最小的控制设备, 如电子序列号 ( Electronic Serial Numbers, ESN )标识 ( ESN ID )或媒体访问控制 ( Media Access Control, MAC )等, 作为所述第一控制设备。 For example, the selection policy may be that, according to the management identifier information, a control device that has the largest or smallest value, such as an IP address, is selected as the first control device; for example, the selection policy may also be based on the device identifier. A control device having the largest or smallest value, such as an Electronic Serial Numbers (ESN) identifier (ESN ID) or a Media Access Control (MAC), is selected 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、 以 及 Master 3管理的 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 taken as an example. As shown in Figure 3, the entire network is divided into four domains, namely domain 1, domain 2, domain 3, and domain 4. Among them, Master 1, and AP 1, AP 2 and AP 3 managed by Master 1 form domain 1; Master 2, and AP 4 and AP 5 managed by Master 2 form domain 2; Master 3, and AP 6 managed by Master 3. AP 7 constitutes domain 3; Master 4, and AP 8 and AP 9 managed by Master 4 constitute domain 4.
在一种可能的实现方式中, Master 1、 Master 2、 Master 3和 Master 4 具体可以根据预先设置的选择策略, 确定 Master 1为第一控制设备。 首先, Master 1、 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 的拓朴信息和 Master 4所属域 4的拓朴信息,与自身所属域 1的拓朴信息进 行汇总后得到的拓朴信息, 发送给 Master 2、 Master 3和 Master 4, 以使得 Master 2、 Master 3和 Master 4都获得整个网络的拓朴信息。 In a possible implementation manner, Master 1, Master 2, Master 3, and Master 4 may specifically determine that Master 1 is the first control device according to a preset selection policy. First, Master 1, Master 2, Master 3, and Master 4 can obtain the topology information of the domain to which they belong, that is, Master 1 obtains the topology information of domain 1 and Master 2 obtains the topology information of domain 2. Master 3 obtains the topology information of domain 3, and Master 4 obtains the topology information of domain 4. Then, Master 2, Master 3, and Master 4 send the topology information of each of the respective domains to which Master 1 obtains, so that Master 1 obtains the topology information of the entire network. Then, the master 1 summarizes the topology information of the domain 2 to which the master 2 belongs, the topology information of the domain 3 to which the master 3 belongs, and the topology information of the domain 4 to which the master 4 belongs, and the topology information of the domain 1 to which the master belongs. The obtained topology information is sent to Master 2, Master 3 and Master 4 so that Master 2, Master 3 and Master 4 obtain the topology information of the entire network.
本实施例中, 通过第一控制设备获得所述第一控制设备所属第一域的拓 朴信息, 所述第一域为所述第一控制设备以及所述第一控制设备管理的网络 设备所构成的域, 以及所述第一控制设备接收所述第二控制设备发送的所述 第二控制设备所属第二域的拓朴信息, 所述第二域为所述第二控制设备以及 所述第二控制设备管理的网络设备所构成的域, 使得所述第一控制设备能够 将包含所述第一域的拓朴信息的拓朴信息发送给所述第二控制设备, 能够避 免现有技术中由于控制设备都需要经由该控制设备管理的网络设备收集整个
网络的拓朴信息而导致的控制设备的处理负担的增加的问题, 从而降低了控 制设备的处理负担, 有利于扩大网络规模。 In this embodiment, the topology information of the first domain to which the first control device belongs is obtained by the first control device, where the first domain is the first control device and the network device managed by the first control device And the first control device receives the topology information of the second domain to which the second control device belongs, and the second domain is the second control device and the a domain formed by the network device managed by the second control device, so that the first control device can send the topology information including the topology information of the first domain to the second control device, which can avoid the prior art. Because the control device needs to collect the entire network device managed by the control device The problem of an increase in the processing load of the control device caused by the topology information of the network, thereby reducing the processing load of the control device and facilitating the expansion of the network scale.
图 4为本申请另一实施例提供的拓朴信息处理方法的流程示意图, 所述 方法应用于控制和转发分离的集中式系统, 所述系统包括第一控制设备、 第 二控制设备和拓朴收集设备, 以及所述第一控制设备管理的网络设备和所述 第二控制设备管理的网络设备, 如图 4所示。 FIG. 4 is a schematic flowchart of a topology information processing method according to another embodiment of the present disclosure, where the method is applied to a centralized centralized system for controlling and forwarding, and the system includes a first control device, a second control device, and a topology. The collection device, and the network device managed by the first control device and the network device managed by the second control device are 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 the first domain is the first control device and the first control The domain formed by the network devices managed by the device.
402、所述拓朴收集设备接收所述第二控制设备发送的所述第二控制设备 所属第二域的拓朴信息, 所述第二域为所述第二控制设备以及所述第二控制 设备管理的网络设备所构成的域。 The topological collection device receives the topology information of the second domain to which the second control device belongs, and the second domain is the second control device and the second control The domain formed by the network devices managed by the device.
403、所述拓朴收集设备将包含所述第一域的拓 4卜信息的拓 4卜信息发送给 所述第二控制设备。 403. The topology collection device sends information about the extension information of the first domain to the second control device.
404、所述拓朴收集设备将包含所述第二域的拓朴信息的拓 4卜信息发送给 所述第一控制设备。 404. The topology collection device sends information about the topology information of the second domain to the first control device.
可选地, 在本实施例的可能的实现方式中, 所述拓朴收集设备是一个独 立设置的服务器, 例如, 控制服务器, 这个服务器可以与每个控制设备(即 第一控制设备和第二控制设备)进行通信。 Optionally, in a possible implementation manner of this embodiment, the topology collection device is a separately set server, for example, a control server, and the server may be associated with each control device (ie, the first control device and the second The control device) communicates.
本实施例中, 整个网络可以划分为若干个第一域和若干个第二域, 如图 In this embodiment, the entire network may be divided into a plurality of first domains and a plurality of second domains, as shown in the figure.
2 所示, 具体的划分方法可以是通过操作人员手动指定分域, 或者还可以是 通过计算机自动指定分域, 本实施例对此不进行限定。 As shown in FIG. 2, the specific division method may be that the sub-domain is manually designated by the operator, or may be automatically designated by the computer, which is not limited in this embodiment.
其中, 所述拓朴信息可以包括但不限于对应域上的设备, 以及这些设备 的连接顺序关系。 例如, 所述第一域的拓朴信息可以包括但不限于所述第一 域上的设备, 以及这些设备的连接顺序关系。 再例如, 所述第二域的拓朴信 息可以包括但不限于所述第二域上的设备, 以及这些设备的连接顺序关系。 The topology information may include, but is not limited to, devices on the corresponding domain, and a connection order relationship of the devices. For example, the topology information of the first domain may include, but is not limited to, devices on the first domain, and a connection order relationship of the devices. For another example, the topology information of the second domain may include, but is not limited to, devices on the second domain, and a connection order relationship of the devices.
需要说明的是, 第一控制设备, 在 OpenFlow系统下, 可以为控制服务 器( Controller ); 所述第一控制设备管理的网络设备, 在 OpenFlow系统下, 可以为 OpenFlow交换机 ( OpenFlow Switch ) ; 相应地, 与所述第一控制 设备对应的第二控制设备, 在 OpenFlow系统下, 也可以为控制服务器; 所
述第二控制设备管理的网络设备,在 OpenFlow系统下,也可以为 OpenFlow 交换机。 It should be noted that, in the OpenFlow system, the first control device may be a control server (Controller); the network device managed by the first control device may be an OpenFlow switch (OpenFlow Switch) under the OpenFlow system; 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 the embodiment, the topology information that includes the topology information of the first domain and the topology information that includes the topology information of the second domain may be The topology information obtained by the topology collection device is 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 the embodiment, the topology information that includes the topology information of the first domain may also be a topology of the first domain obtained by the topology collection device. information.
可选地, 在本实施例的可能的实现方式中, 所述包含所述第二域的拓朴 信息的拓朴信息还可以为所述拓朴收集设备获得的所述第二域的拓朴信息。 Optionally, in a possible implementation manner of the embodiment, the topology information that includes the topology information of the second domain may also be a topology of the second domain obtained by the topology collection device. information.
可选地, 在本实施例的可能的实现方式中, 所述第一控制设备具体可以 利用 IGP, 获得所述第一控制设备所属第一域的拓朴信息。 在这种实现方式 中, 所述第一控制设备与所述第一控制设备管理的网络设备可以利用 IGP, 获得 (即通过执行同步操作获得)所述第一域的拓朴信息。 与现有技术相比, 所述第一控制设备与所述第一控制设备管理的网络设备只需要利用 IGP同步 所述第一控制设备所属第一域的拓朴信息, 无需同步整个网络的拓朴信息, 能够有效降低所述第一控制设备与所述第一控制设备管理的网络设备的处理 负担。 Optionally, in a possible implementation manner of the embodiment, the first control device may use the 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 obtain, by using an IGP, topology information of the first domain obtained by performing a synchronization operation. Compared with the prior art, the network device managed by the first control device and the first control device only needs to synchronize the topology information of the first domain to which the first control device belongs by using the IGP, and does not need to synchronize the extension of the entire network. The information can effectively reduce the processing load of the network device managed by the first control device and the first control device.
其中, IGP 可以包括中间系统到中间系统 ( Intermediate System to Intermediate System, ISIS )协议或最短路径优先( Open Shortest Path First, OSPF )协议等协议。 The IGP may include an Intermediate System to Intermediate System (ISIS) protocol or an Open Shortest Path First (OSPF) protocol.
可选地, 在本实施例的可能的实现方式中, 所述第一控制设备具体可以 利用 LLDP, 获得所述第一控制设备所属第一域的拓朴信息。 在这种实现方 式中,所述第一控制设备与所述第一控制设备管理的网络设备建立通信连接, 例如, 传输控制协议(Transmission Control Protocol, TCP )连接, 所述第 一控制设备可以通过所建立的通信连接, 获得每个所述第一控制设备管理的 网络设备的拓朴信息, 以形成所述第一域的拓朴信息。 与现有技术相比, 所 述第一控制设备只需要建立与所述第一控制设备所属同一域内的第一控制设 备管理的网络设备之间的通信连接, 以获得所述第一域的拓朴信息, 无需建 立与整个网络中的控制设备管理的网络设备 (即第一控制设备管理的网络设
备和第二控制设备管理的网络设备)之间的通信连接, 以获得所述整个网络 的拓朴信息, 能够有效降低所述第一控制设备的处理负担。 Optionally, in a possible implementation manner of the embodiment, the first control device may use LLDP to obtain topology information of the first domain to which the first control device belongs. In this implementation, the first control device establishes a communication connection with a network device managed by the first control device, for example, a Transmission Control Protocol (TCP) connection, and the first control device can pass The established communication connection obtains topology information of the network device 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 a communication connection with a network device managed by the first control device in the same domain as the first control device, to obtain the extension of the first domain. Park information, there is no need to establish a network device managed by the control device in the entire network (ie, the network device managed by the first control device) The communication connection between the network device and the network device managed by the second control device to obtain the topology information of the entire network can effectively reduce the processing load of the first control device.
可以理解的是, 类似地, 所述第二控制设备也可以利用类似的方法, 获 得所述第二控制设备所属第二域的拓朴信息, 此处不再赘述。 It can be understood that, similarly, the second control device can obtain the topology information of the second domain to which the second control device belongs by using a similar method, and details are not described herein again.
为使得本申请实施例提供的方法更加清楚, 下面将以图 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、 以 及 Master 3管理的 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 taken as an example. As shown in Figure 3, the entire network is divided into four domains, namely domain 1, domain 2, domain 3, and domain 4. Among them, Master 1, and AP 1, AP 2 and AP 3 managed by Master 1 form domain 1; Master 2, and AP 4 and AP 5 managed by Master 2 form domain 2; Master 3, and AP 6 managed by Master 3. AP 7 constitutes domain 3; Master 4, and AP 8 and AP 9 managed by Master 4 constitute domain 4.
在一种可能的实现方式中, 可以独立设置一服务器作为拓朴收集设备。 首先, Master 1、 Master 2、 Master 3和 Master 4具体可以经由各自所属域 内的 AP获得各自所属域的拓朴信息, 即 Master 1 获得域 1 的拓朴信息, Master 2获得域 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, Master 1, Master 2, Master 3, and Master 4 can obtain the topology information of the domain to which they belong, that is, Master 1 obtains the topology information of domain 1 and Master 2 obtains the topology information of domain 2. Master 3 obtains the topology information of domain 3, and Master 4 obtains the topology information of domain 4. Then, Master 1, Master 2, Master 3, and Master 4 send the topology information of each respective domain to the server, so that the server obtains the topology information of the entire network. Then, the server obtains the topology information of the domain 1 to which the master 1 belongs, the topology information of the domain 2 to which the master 2 belongs, the topology information of the domain 3 to which the master 3 belongs, and the topology information of the domain 4 to which the master 4 belongs. The topology information is sent to Master 1, Master 2, Master 3 and Master 4 so that Master 1, Master 2, Master 3 and Master 4 obtain the topology information of the entire network.
本实施例中, 通过拓朴收集设备接收所述第一控制设备发送的所述第一 控制设备所属第一域的拓朴信息, 所述第一域为所述第一控制设备以及所述 第一控制设备管理的网络设备所构成的域, 以及所述拓朴收集设备接收所述 第二控制设备发送的所述第二控制设备所属第二域的拓朴信息, 所述第二域 为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的域, 使 得所述拓朴收集设备能够将包含所述第一域的拓朴信息的拓朴信息发送给所 述第二控制设备, 以及所述拓朴收集设备能够将包含所述第二域的拓朴信息 的拓朴信息发送给所述第一控制设备, 能够避免现有技术中由于控制设备都 需要经由该控制设备管理的网络设备收集整个网络的拓朴信息而导致的控制
设备的处理负担的增加的问题, 从而降低了控制设备的处理负担, 有利于扩 大网络规模。 In this embodiment, the topology information of the first domain to which the first control device belongs is sent by the first control device, where the first domain is the first control device and the first a domain of the network device managed by the control device, and the topology collection device receives the topology information of the second domain to which the second control device belongs, and the second domain is a domain formed by the second control device and the network device 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 The 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 need for the control device to pass through the control device in the prior art. Control caused by managed network devices collecting topology information of the entire network The problem of an increase in the processing load of the device reduces the processing load of the control device and facilitates the expansion of the network scale.
需要说明的是, 对于前述的各方法实施例, 为了简单描述, 故将其都表 述为一系列的动作组合, 但是本领域技术人员应该知悉, 本申请并不受所描 述的动作顺序的限制, 因为依据本申请, 某些步骤可以釆用其他顺序或者同 时进行。 其次, 本领域技术人员也应该知悉, 说明书中所描述的实施例均属 于优选实施例, 所涉及的动作和模块并不一定是本申请所必须的。 It should be noted that, for the foregoing method embodiments, for the sake of brevity, they are all described as a series of action combinations, but those skilled in the art should understand that the present application is not limited by the described action sequence. Because in accordance with the present application, certain steps may be performed in other orders or concurrently. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
在上述实施例中, 对各个实施例的描述都各有侧重, 某个实施例中没有 详述的部分, 可以参见其他实施例的相关描述。 In the above embodiments, the descriptions of the various embodiments are different, and the parts that are not detailed in a certain embodiment can be referred to the related 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 according to another embodiment of the present application, where the control device is applied to a centralized system for controlling and forwarding, the system includes the control device and a second control device, and the control 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 of this embodiment may include an obtaining unit 51, a receiving unit 52, and a transmitting unit 53. The obtaining unit 51 is configured to obtain topology information of the first domain to which the control device belongs, and transmit topology information of the first domain to the sending unit 53, where the first domain is the control device and a receiving device 52, configured to receive topology information of the second domain to which the second control device belongs, and send the second domain The topology information is transmitted to the sending unit 53, the second domain is a domain formed by the second control device and a network device managed by the second control device, and the sending unit 53 is configured to The control device sends topology information including the topology information of the first domain to the second control device.
本实施例中, 整个网络可以划分为若干个第一域和若干个第二域, 如图 2 所示, 具体的划分方法可以是通过操作人员手动指定分域, 或者还可以是 通过计算机自动指定分域, 本实施例对此不进行限定。 In this embodiment, the entire network may be divided into a plurality of first domains and a plurality of second domains. As shown in FIG. 2, the specific division method may be that the operator manually specifies the domain, or may be automatically designated by a computer. The domain is not limited in this embodiment.
其中, 所述拓朴信息可以包括但不限于对应域上的设备, 以及这些设备 的连接顺序关系。 例如, 所述第一域的拓朴信息可以包括但不限于所述第一 域上的设备, 以及这些设备的连接顺序关系。 再例如, 所述第二域的拓朴信 息可以包括但不限于所述第二域上的设备, 以及这些设备的连接顺序关系。 The topology information may include, but is not limited to, devices on the corresponding domain, and a connection order relationship of the devices. For example, the topology information of the first domain may include, but is not limited to, devices on the first domain, and a connection order relationship of the devices. For another example, the topology information of the second domain may include, but is not limited to, devices on the second domain, and a connection order relationship of the devices.
需要说明的是, 控制设备, 在 OpenFlow 系统下, 可以为控制服务器 ( Controller ); 所述控制设备管理的网络设备, 在 OpenFlow系统下, 可以
为 OpenFlow交换机 ( OpenFlow Switch ) ; 相应地, 与所述控制设备对应 的第二控制设备, 在 OpenFlow系统下, 也可以为控制服务器; 所述第二控 制设备管理的网络设备,在 OpenFlow系统下,也可以为 OpenFlow交换机。 It should be noted that the control device may be a control server under the OpenFlow system; the network device managed by the control device may be under the OpenFlow system. The OpenFlow Switch (OpenFlow Switch); correspondingly, the second control device corresponding to the control device may be a control server under the OpenFlow system; and the network device managed by the second control device is under the OpenFlow system. It can also be an OpenFlow switch.
可选地,在本实施例的可能的实现方式中, 所述发送单元 53发送的所述 包含所述第一域的拓朴信息的拓朴信息可以为所述发送单元 53将所述第一 域的拓朴信息和所述第二域的拓朴信息进行汇总后得到的拓朴信息。 Optionally, in a possible implementation manner of the embodiment, the topology information that is sent by the sending unit 53 and includes the topology information of the first domain may be that the sending unit 53 The topology information obtained by summarizing the topology information of the domain and the topology information of the second domain.
可选地,在本实施例的可能的实现方式中, 所述发送单元 53发送的所述 包含所述第一域的拓朴信息的拓朴信息还可以为所述发送单元 53接收的所 述第一域的拓朴信息。 Optionally, in a possible implementation manner of the embodiment, the topology information that is sent by the sending unit 53 and includes the topology information of the first domain may also be the Topological information of the first domain.
可选地,在本实施例的可能的实现方式中, 所述获得单元 51具体可以利 用 IGP, 获得所述控制设备所属第一域的拓朴信息。 Optionally, in a possible implementation manner of the embodiment, the obtaining unit 51 may specifically obtain the topology information of the first domain to which the control device belongs by using the IGP.
可选地,在本实施例的可能的实现方式中, 所述获得单元 51具体可以利 用 LLDP, 获得所述控制设备所属第一域的拓朴信息。 Optionally, in a possible implementation manner of the embodiment, the obtaining unit 51 may specifically obtain the topology information of the first domain to which the control device belongs by using LLDP.
需要说明的是, 本实施例提供的控制设备用于对应执行如图 1所示实施 例的方法, 对于图 1所示实施例已经描述的细节, 此处不再赘述。 It should be noted that the control device provided in this embodiment is used to perform the method in the embodiment shown in FIG. 1. The details already described in the embodiment shown in FIG. 1 are not described herein again.
本实施例中, 控制设备通过获得单元获得所述控制设备所属第一域的拓 朴信息 , 所述第一域为所述控制设备以及所述控制设备管理的网络设备所构 成的域, 以及接收单元接收所述第二控制设备发送的所述第二控制设备所属 第二域的拓朴信息, 所述第二域为所述第二控制设备以及所述第二控制设备 管理的网络设备所构成的域, 使得发送单元能够将包含所述第一域的拓朴信 息的拓朴信息发送给所述第二控制设备, 能够避免现有技术中由于控制设备 都需要经由该控制设备管理的网络设备收集整个网络的拓朴信息而导致的控 制设备的处理负担的增加的问题, 从而降低了控制设备的处理负担, 有利于 扩大网络规模。 In this embodiment, the control device obtains the topology information of the first domain to which the control device belongs by using the obtaining unit, where the first domain is a domain formed by the control device and the network device managed by the control device, and receiving Receiving, by the second control device, topology information of the second domain to which the second control device belongs, where the second domain is formed by the second control device and the network device managed by the second control device The domain is configured to enable the sending unit to send the topology information including the topology information of the first domain to the second control device, which can avoid the network device that needs to be managed by the control device in the prior art. The problem of increasing the processing load of the control device caused by collecting the topology information of the entire network, thereby reducing the processing load of the control device and facilitating the expansion of 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 according to another embodiment of the present disclosure. The topology collection device is applied to a centralized system for controlling and forwarding, and the system includes a first control device, a second control device, and The topology collection device, and the network device managed by the first control device and the network device managed by the second control device. As shown in FIG. 6, the topology collection device of this embodiment may include a receiving unit 61 and a sending unit 62. The receiving unit 61 is configured to receive topology information of the first domain to which the first control device belongs, sent by the first control device, and The topology information of the first domain is transmitted to the sending unit 62, where the first domain is a domain formed by the first control device and the network device managed by the first control device; the receiving unit 61 is further used for Receiving, by the second control device, the topology information of the second domain to which the second control device belongs, and transmitting the topology information of the second domain to the sending unit 62, where the second domain is a second control device and a domain formed by the network device managed by the second control device; the sending unit 62, configured to send topology information including topology information of the first domain to the second The sending unit 62 is further configured to send topology information including topology information of the second domain to the first control device.
可选地, 在本实施例的可能的实现方式中, 所述拓朴收集设备是一个独 立设置的服务器, 例如, 控制服务器, 这个服务器可以与每个控制设备(即 第一控制设备和第二控制设备)进行通信。 Optionally, in a possible implementation manner of this embodiment, the topology collection device is a separately set server, for example, a control server, and the server may be associated with each control device (ie, the first control device and the second The control device) communicates.
本实施例中, 整个网络可以划分为若干个第一域和若干个第二域, 如图 2 所示, 具体的划分方法可以是通过操作人员手动指定分域, 或者还可以是 通过计算机自动指定分域, 本实施例对此不进行限定。 In this embodiment, the entire network may be divided into a plurality of first domains and a plurality of second domains. As shown in FIG. 2, the specific division method may be that the operator manually specifies the domain, or may be automatically designated by a computer. The domain is not limited in this embodiment.
其中, 所述拓朴信息可以包括但不限于对应域上的设备, 以及这些设备 的连接顺序关系。 例如, 所述第一域的拓朴信息可以包括但不限于所述第一 域上的设备, 以及这些设备的连接顺序关系。 再例如, 所述第二域的拓朴信 息可以包括但不限于所述第二域上的设备, 以及这些设备的连接顺序关系。 The topology information may include, but is not limited to, devices on the corresponding domain, and a connection order relationship of the devices. For example, the topology information of the first domain may include, but is not limited to, devices on the first domain, and a connection order relationship of the devices. For another example, the topology information of the second domain may include, but is not limited to, devices on the second domain, and a connection order relationship of the devices.
需要说明的是, 第一控制设备, 在 OpenFlow系统下, 可以为控制服务 器( Controller ); 所述第一控制设备管理的网络设备, 在 OpenFlow系统下, 可以为 OpenFlow交换机 ( OpenFlow Switch ) ; 相应地, 与所述第一控制 设备对应的第二控制设备, 在 OpenFlow系统下, 也可以为控制服务器; 所 述第二控制设备管理的网络设备,在 OpenFlow系统下,也可以为 OpenFlow 交换机。 It should be noted that, in the OpenFlow system, the first control device may be a control server (Controller); the network device managed by the first control device may be an OpenFlow switch (OpenFlow Switch) under the OpenFlow system; The second control device corresponding to the first control device may also be a control server under the OpenFlow system; and 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 manner of this embodiment, the topology information that is sent by the sending unit 62 and includes the topology information of the first domain and the content that is sent by the sending unit 62 The topology information of the topology information of the two domains may be the topology information obtained by the sending unit 62 by summarizing the topology information of the first domain and the topology information of the second domain.
可选地,在本实施例的可能的实现方式中, 所述发送单元 62发送的所述 包含所述第一域的拓朴信息的拓朴信息还可以为所述发送单元 62接收的所
述第一域的拓朴信息。 Optionally, in a possible implementation manner of the embodiment, the topology information that is sent by the sending unit 62 and includes the topology information of the first domain may also be received by the sending unit 62. The topology information of the first domain.
可选地,在本实施例的可能的实现方式中, 所述发送单元 62发送的所述 包含第二域的拓朴信息的拓朴信息还可以为所述发送单元 62接收的所述第 二域的拓朴信息。 Optionally, in a possible implementation manner of the embodiment, the topology information that is sent by the sending unit 62 and includes the topology information of the second domain may also be the second received by the sending unit 62. Topological information of the domain.
本实施例中, 拓朴收集设备通过接收单元接收所述第一控制设备发送的 所述第一控制设备所属第一域的拓朴信息, 所述第一域为所述第一控制设备 以及所述第一控制设备管理的网络设备所构成的域, 以及所述接收单元接收 所述第二控制设备发送的所述第二控制设备所属第二域的拓朴信息, 所述第 二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的 域, 使得发送单元能够将包含所述第一域的拓朴信息的拓朴信息发送给所述 第二控制设备, 以及所述发送单元能够将包含所述第二域的拓朴信息的拓朴 信息发送给所述第一控制设备, 能够避免现有技术中由于控制设备都需要经 由该控制设备管理的网络设备收集整个网络的拓朴信息而导致的控制设备的 处理负担的增加的问题, 从而降低了控制设备的处理负担, 有利于扩大网络 规模。 In this embodiment, the topology collecting device receives 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 a domain formed by the network device managed by the first control device, and the receiving unit receives topology information of the second domain to which the second control device belongs, which is sent by the second control device, where the second domain is a domain formed by the second control device and the network device 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, and The sending unit can send the topology information including the topology information of the second domain to the first control device, which can avoid collecting the entire network device that is controlled by the control device in the prior art. The problem of increasing the processing load of the control device caused by the topology information of the network, thereby reducing the processing load of the control device and facilitating the expansion of the network scale.
图 7为本申请另一实施例提供的控制设备的结构示意图, 所述控制设备 应用于控制和转发分离的集中式系统, 所述系统包括所述控制设备和第二控 制设备, 以及所述控制设备管理的网络设备和所述第二控制设备管理的网络 设备。 如图 7所示, 本实施例的控制设备可以包括处理器 71、 接收器 72和 发送器 73。 其中, 处理器 71 , 用于获得所述控制设备所属第一域的拓朴信 息, 以及将所述第一域的拓朴信息传输给发送器 73, 所述第一域为所述控制 设备以及所述控制设备管理的网络设备所构成的域; 接收器 72, 用于接收所 述第二控制设备发送的所述第二控制设备所属第二域的拓朴信息, 以及将所 述第二域的拓朴信息传输给所述发送器 73, 所述第二域为所述第二控制设备 以及所述第二控制设备管理的网络设备所构成的域; 所述发送器 73, 用于所 述控制设备将包含所述第一域的拓朴信息的拓朴信息发送给所述第二控制设 备。 FIG. 7 is a schematic structural diagram of a control device according to another embodiment of the present application, where the control device is applied to a centralized system for controlling and forwarding, the system includes the control device and a second control device, and the control 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 of this embodiment may include a processor 71, a receiver 72, and a transmitter 73. The processor 71 is configured to obtain topology information of the first domain to which the control device belongs, and transmit topology information of the first domain to the transmitter 73, where the first domain is the control device and a domain formed by the network device managed by the control device; a receiver 72, configured to receive topology information of the second domain to which the second control device belongs, sent by the second control device, and to use the second domain The topology information is transmitted to the transmitter 73, the second domain is a domain formed by the second control device and a network device managed by the second control device, and the transmitter 73 is configured to The control device sends topology information including the topology information of the first domain to the second control device.
本实施例中, 整个网络可以划分为若干个第一域和若干个第二域, 如图 2 所示, 具体的划分方法可以是通过操作人员手动指定分域, 或者还可以是 通过计算机自动指定分域, 本实施例对此不进行限定。
其中, 所述拓朴信息可以包括但不限于对应域上的设备, 以及这些设备 的连接顺序关系。 例如, 所述第一域的拓朴信息可以包括但不限于所述第一 域上的设备, 以及这些设备的连接顺序关系。 再例如, 所述第二域的拓朴信 息可以包括但不限于所述第二域上的设备, 以及这些设备的连接顺序关系。 In this embodiment, the entire network may be divided into a plurality of first domains and a plurality of second domains. As shown in FIG. 2, the specific division method may be that the operator manually specifies the domain, or may be automatically designated by a computer. The domain is not limited in this embodiment. The topology information may include, but is not limited to, devices on the corresponding domain, and a connection order relationship of the devices. For example, the topology information of the first domain may include, but is not limited to, devices on the first domain, and a connection order relationship of the devices. For example, the topology information of the second domain may include, but is not limited to, devices on the second domain, and a connection order relationship of the devices.
需要说明的是, 控制设备, 在 OpenFlow 系统下, 可以为控制服务器 It should be noted that the control device, under the OpenFlow system, can be the control server.
( Controller ); 所述控制设备管理的网络设备, 在 OpenFlow系统下, 可以 为 OpenFlow交换机 ( OpenFlow Switch ) ; 相应地, 与所述控制设备对应 的第二控制设备, 在 OpenFlow系统下, 也可以为控制服务器; 所述第二控 制设备管理的网络设备,在 OpenFlow系统下,也可以为 OpenFlow交换机。 (Controller); the network device managed by the control device may be an OpenFlow switch (OpenFlow Switch) under the OpenFlow system; correspondingly, the second control device corresponding to the control device may be The network device managed by the second control device may be an OpenFlow switch under the OpenFlow system.
可选地,在本实施例的可能的实现方式中, 所述发送器 73发送的所述包 含所述第一域的拓朴信息的拓朴信息可以为所述发送器 73将所述第一域的 拓朴信息和所述第二域的拓朴信息进行汇总后得到的拓朴信息。 Optionally, in a possible implementation manner of the embodiment, the topology information that is sent by the sender 73 and includes topology information of the first domain may be that the transmitter 73 The topology information obtained by summarizing the topology information of the domain and the topology information of the second domain.
可选地,在本实施例的可能的实现方式中, 所述发送器 73发送的所述包 含所述第一域的拓朴信息的拓朴信息还可以为所述发送器 73接收的所述第 一域的拓朴信息。 Optionally, in a possible implementation manner of the embodiment, the topology information that is sent by the sender 73 and includes the topology information of the first domain may also be the Topological information of the first domain.
可选地,在本实施例的可能的实现方式中, 所述处理器 71具体可以利用 IGP, 获得所述控制设备所属第一域的拓朴信息。 Optionally, in a possible implementation manner of the embodiment, the processor 71 may use the IGP to obtain topology information of the first domain to which the control device belongs.
可选地,在本实施例的可能的实现方式中, 所述处理器 71具体可以利用 LLDP, 获得所述控制设备所属第一域的拓朴信息。 Optionally, in a possible implementation manner of the embodiment, the processor 71 may use LLDP to obtain topology information of the first domain to which the control device belongs.
需要说明的是, 本实施例提供的控制设备用于对应执行如图 1所示实施 例的方法, 对于图 1所示实施例已经描述的细节, 此处不再赘述。 It should be noted that the control device provided in this embodiment is used to perform the method in the embodiment shown in FIG. 1. The details already described in the embodiment shown in FIG. 1 are not described herein again.
本实施例中, 控制设备通过获得单元获得所述控制设备所属第一域的拓 朴信息 , 所述第一域为所述控制设备以及所述控制设备管理的网络设备所构 成的域, 以及接收单元接收所述第二控制设备发送的所述第二控制设备所属 第二域的拓朴信息, 所述第二域为所述第二控制设备以及所述第二控制设备 管理的网络设备所构成的域, 使得发送单元能够将包含所述第一域的拓朴信 息的拓朴信息发送给所述第二控制设备, 能够避免现有技术中由于控制设备 都需要经由该控制设备管理的网络设备收集整个网络的拓朴信息而导致的控 制设备的处理负担的增加的问题, 从而降低了控制设备的处理负担, 有利于 扩大网络规模。
图 8为本申请另一实施例提供的拓朴收集设备的结构示意图, 所述拓朴 收集设备应用于控制和转发分离的集中式系统,所述系统包括第一控制设备、 第二控制设备和所述拓朴收集设备, 以及所述第一控制设备管理的网络设备 和所述第二控制设备管理的网络设备。 如图 8所示, 本实施例的拓朴收集设 备可以包括接收器 81和发送器 82。 其中, 接收器 81 , 用于接收所述第一控 制设备发送的所述第一控制设备所属第一域的拓朴信息, 以及将所述第一域 的拓朴信息传输给发送器 82, 所述第一域为所述第一控制设备以及所述第一 控制设备管理的网络设备所构成的域; 所述接收器 81 , 还用于接收所述第二 控制设备发送的所述第二控制设备所属第二域的拓朴信息, 以及将所述第二 域的拓朴信息传输给所述发送器 82, 所述第二域为所述第二控制设备以及所 述第二控制设备管理的网络设备所构成的域; 所述发送器 82, 用于将包含所 述第一域的拓朴信息的拓朴信息发送给所述第二控制设备; 所述发送器 82, 还用于将包含所述第二域的拓朴信息的拓朴信息发送给所述第一控制设备。 In this embodiment, the control device obtains the topology information of the first domain to which the control device belongs by using the obtaining unit, where the first domain is a domain formed by the control device and the network device managed by the control device, and receiving Receiving, by the second control device, topology information of the second domain to which the second control device belongs, where the second domain is formed by the second control device and the network device managed by the second control device The domain is configured to enable the sending unit to send the topology information including the topology information of the first domain to the second control device, which can avoid the network device that needs to be managed by the control device in the prior art. The problem of increasing the processing load of the control device caused by collecting the topology information of the entire network, thereby reducing the processing load of the control device and facilitating the expansion of the network scale. FIG. 8 is a schematic structural diagram of a topology collection device according to another embodiment of the present disclosure. The topology collection device is applied to a centralized system for controlling and forwarding, and the system includes a first control device, a second control device, and The topology collection device, and the network device managed by the first control device and the network device managed by the second control device. As shown in FIG. 8, the topology collection device of this embodiment may include a receiver 81 and a transmitter 82. The receiver 81 is configured to receive topology information of the first domain to which the first control device belongs, and transmit topology information of the first domain to the transmitter 82. The first domain is a domain formed by the first control device and the network device managed by the first control device; the receiver 81 is further configured to receive the second control sent by the second control device The topology information of the second domain to which the device belongs, and the topology information of the second domain is transmitted to the transmitter 82, where the second domain is managed by the second control device and the second control device a domain formed by the network device, the transmitter 82, configured to send topology information including topology information of the first domain to the second control device, where the transmitter 82 is further configured to include The topology information of the topology information of the second domain is sent to the first control device.
可选地, 在本实施例的可能的实现方式中, 所述拓朴收集设备是一个独 立设置的服务器, 例如, 控制服务器, 这个服务器可以与每个控制设备(即 第一控制设备和第二控制设备)进行通信。 Optionally, in a possible implementation manner of this embodiment, the topology collection device is a separately set server, for example, a control server, and the server may be associated with each control device (ie, the first control device and the second The control device) communicates.
本实施例中, 整个网络可以划分为若干个第一域和若干个第二域, 如图 2 所示, 具体的划分方法可以是通过操作人员手动指定分域, 或者还可以是 通过计算机自动指定分域, 本实施例对此不进行限定。 In this embodiment, the entire network may be divided into a plurality of first domains and a plurality of second domains. As shown in FIG. 2, the specific division method may be that the operator manually specifies the domain, or may be automatically designated by a computer. The domain is not limited in this embodiment.
其中, 所述拓朴信息可以包括但不限于对应域上的设备, 以及这些设备 的连接顺序关系。 例如, 所述第一域的拓朴信息可以包括但不限于所述第一 域上的设备, 以及这些设备的连接顺序关系。 再例如, 所述第二域的拓朴信 息可以包括但不限于所述第二域上的设备, 以及这些设备的连接顺序关系。 The topology information may include, but is not limited to, devices on the corresponding domain, and a connection order relationship of the devices. For example, the topology information of the first domain may include, but is not limited to, devices on the first domain, and a connection order relationship of the devices. For another example, the topology information of the second domain may include, but is not limited to, devices on the second domain, and a connection order relationship of the devices.
需要说明的是, 第一控制设备, 在 OpenFlow系统下, 可以为控制服务 器( Controller ); 所述第一控制设备管理的网络设备, 在 OpenFlow系统下, 可以为 OpenFlow交换机 ( OpenFlow Switch ) ; 相应地, 与所述第一控制 设备对应的第二控制设备, 在 OpenFlow系统下, 也可以为控制服务器; 所 述第二控制设备管理的网络设备,在 OpenFlow系统下,也可以为 OpenFlow 交换机。 It should be noted that, in the OpenFlow system, the first control device may be a control server (Controller); the network device managed by the first control device may be an OpenFlow switch (OpenFlow Switch) under the OpenFlow system; The second control device corresponding to the first control device may also be a control server under the OpenFlow system; and 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 manner of this embodiment, the packet sent by the sender 82 is The topology information including the topology information of the first domain and the topology information of the topology information including the second domain sent by the sender 82 may be the transmitter 82 to use the first domain. The topology information obtained by summarizing the topology information and the topology information of the second domain.
可选地,在本实施例的可能的实现方式中, 所述发送器 82发送的所述包 含所述第一域的拓朴信息的拓朴信息还可以为所述发送器 82接收的所述第 一域的拓朴信息。 Optionally, in a possible implementation manner of the embodiment, the topology information that is sent by the sender 82 and includes the topology information of the first domain may also be that the transmitter 82 receives the Topological information of the first domain.
可选地,在本实施例的可能的实现方式中, 所述发送器 82发送的所述包 含第二域的拓朴信息的拓朴信息还可以为所述发送器 82接收的所述第二域 的拓朴信息。 Optionally, in a possible implementation manner of the embodiment, the topology information of the topology information that is sent by the transmitter 82 and includes the second domain may also be the second information received by the transmitter 82. Topological information of the domain.
本实施例中, 拓朴收集设备通过接收单元接收所述第一控制设备发送的 所述第一控制设备所属第一域的拓朴信息, 所述第一域为所述第一控制设备 以及所述第一控制设备管理的网络设备所构成的域, 以及所述接收单元接收 所述第二控制设备发送的所述第二控制设备所属第二域的拓朴信息, 所述第 二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的 域, 使得发送单元能够将包含所述第一域的拓朴信息的拓朴信息发送给所述 第二控制设备, 以及所述发送单元能够将包含所述第二域的拓朴信息的拓朴 信息发送给所述第一控制设备, 能够避免现有技术中由于控制设备都需要经 由该控制设备管理的网络设备收集整个网络的拓朴信息而导致的控制设备的 处理负担的增加的问题, 从而降低了控制设备的处理负担, 有利于扩大网络 规模。 In this embodiment, the topology collecting device receives 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 a domain formed by the network device managed by the first control device, and the receiving unit receives topology information of the second domain to which the second control device belongs, which is sent by the second control device, where the second domain is a domain formed by the second control device and the network device 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, and The sending unit can send the topology information including the topology information of the second domain to the first control device, which can avoid collecting the entire network device that is controlled by the control device in the prior art. The problem of increasing the processing load of the control device caused by the topology information of the network, thereby reducing the processing load of the control device and facilitating the expansion of the network scale.
所属领域的技术人员可以清楚地了解到, 为描述的方便和简洁, 上述描 述的系统, 装置和单元的具体工作过程, 可以参考前述方法实施例中的对应 过程, 在此不再赘述。 A person skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统, 装置和 方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示 意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可 以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个 系统, 或一些特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间 的耦合或直接耦合或通信连接可以是通过一些接口, 装置或单元的间接耦合 或通信连接, 可以是电性, 机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的, 作 为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。 可以根据实际的需要选择其中的部分或 者全部单元来实现本实施例方案的目的。 In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中, 也可以是各个单元单独物理存在, 也可以两个或两个以上单元集成在一个单 元中。 上述集成的单元既可以釆用硬件的形式实现, 也可以釆用硬件加软件 功能单元的形式实现。 In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit 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-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium. The above software functional unit is stored in a storage medium and includes a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute the method of the various embodiments of the present application. Part of the steps. The foregoing storage medium includes: a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. Medium.
最后应说明的是: 以上实施例仅用以说明本申请的技术方案, 而非对其 限制; 尽管参照前述实施例对本申请进行了详细的说明, 本领域的普通技术 人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或 者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技 术方案的本质脱离本申请各实施例技术方案的精神和范围。
Finally, it should be noted that the above embodiments are only used to explain the technical solutions of the present application, and are not limited thereto; although the present application is described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently substituted; and the modifications or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1、 一种拓朴信息处理方法, 其特征在于, 所述方法应用于控制和转发分 离的集中式系统, 所述系统包括第一控制设备和第二控制设备, 以及所述第 一控制设备管理的网络设备和所述第二控制设备管理的网络设备, 该方法包 括: 1. A topology information processing method, characterized in that 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, and the first domain is a domain composed of the first control device and the network device 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 manages 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.
2、根据权利要求 1所述的方法, 其特征在于, 所述包含所述第一域的拓 朴信息的拓朴信息为所述第一控制设备将所述第一域的拓朴信息和所述第二 域的拓朴信息进行汇总后得到的拓朴信息。 2. The method according to claim 1, characterized in that: the topology information including the topology information of the first domain is the first control device combining the topology information of the first domain and the topology information of the first domain. The topology information obtained by summarizing the topology information of the second domain.
3、根据权利要求 1所述的方法, 其特征在于, 所述包含所述第一域的拓 朴信息的拓朴信息为所述第一控制设备获得的所述第一域的拓朴信息。 3. The method according to claim 1, wherein the topology information including the topology information of the first domain is the topology information of the first domain obtained by the first control device.
4、 根据权利要求 1~3任一权利要求所述的方法, 其特征在于, 所述第 —控制设备获得所述第一控制设备所属第一域的拓朴信息, 包括: 4. The method according to any one of claims 1 to 3, characterized in that 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 uses IGP to obtain the topology information of the first domain to which the first control device belongs; or
所述第一控制设备利用 LLDP, 获得所述第一控制设备所属第一域的拓 朴信息。 The first control device uses LLDP to obtain the topology information of the first domain to which the first control device belongs.
5、 一种拓朴信息处理方法, 其特征在于, 所述方法应用于控制和转发分 离的集中式系统, 所述系统包括第一控制设备、 第二控制设备和拓朴收集设 备, 以及所述第一控制设备管理的网络设备和所述第二控制设备管理的网络 设备, 该方法包括: 5. A topology information processing method, characterized in that the method is applied to a centralized system in which control and forwarding are separated, 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 a first domain to which the first control device belongs sent by the first control device, and the first domain is the first control device and the first control device. A domain composed of managed network devices;
所述拓朴收集设备接收所述第二控制设备发送的所述第二控制设备所属 第二域的拓朴信息, 所述第二域为所述第二控制设备以及所述第二控制设备 管理的网络设备所构成的域; 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 manages the second control device and the second control device. A domain composed of network devices;
所述拓朴收集设备将包含所述第一域的拓朴信息的拓朴信息发送给所述 第二控制设备; The topology collection device sends topology information including the topology information of the first domain to the second control device;
所述拓朴收集设备将包含所述第二域的拓朴信息的拓朴信息发送给所述 第一控制设备。 The topology collection device sends topology information including the topology information of the second domain to the first control device.
6、根据权利要求 5所述的方法, 其特征在于, 所述包含所述第一域的拓 朴信息的拓朴信息和所述包含第二域的拓朴信息的拓朴信息均为所述拓朴收 集设备将所述第一域的拓朴信息和所述第二域的拓朴信息进行汇总后得到的 拓朴信息。 6. The method according to claim 5, characterized in that, 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 The topology collection device summarizes the topology information of the first domain and the topology information of the second domain and obtains the topology information.
7、根据权利要求 5所述的方法, 其特征在于, 所述包含所述第一域的拓 朴信息的拓朴信息为所述拓朴收集设备获得的所述第一域的拓朴信息; 所述 包含第二域的拓朴信息的拓朴信息为所述拓朴收集设备获得的所述第二域的 拓朴信息。 7. The method according to claim 5, characterized in that: 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.
8、 根据权利要求 5~7任一权利要求所述的方法, 其特征在于, 所述第 一控制设备获得所述第一控制设备所属第一域的拓朴信息, 包括: 8. The method according to any one of claims 5 to 7, characterized in that 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 uses IGP to obtain the topology information of the first domain to which the first control device belongs; or
所述第一控制设备利用 LLDP, 获得所述第一控制设备所属第一域的拓 朴信息。 The first control device uses LLDP to obtain the topology information of the first domain to which the first control device belongs.
9、 一种控制设备, 其特征在于, 所述控制设备应用于控制和转发分离的 集中式系统, 所述系统包括所述控制设备和第二控制设备, 以及所述控制设 备管理的网络设备和所述第二控制设备管理的网络设备, 该控制设备包括: 获得单元, 用于获得所述控制设备所属第一域的拓朴信息, 以及将所述 第一域的拓朴信息传输给发送单元, 所述第一域为所述控制设备以及所述控 制设备管理的网络设备所构成的域; 9. A control device, characterized in that 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, as well as network devices managed by the control device and A network device managed by the second control device. The control device includes: an obtaining unit, configured to obtain the topology information of the first domain to which the control device belongs, and transmit the topology information of the first domain to the sending unit. , the first domain is a domain composed of the control device and the network device managed by the control device;
接收单元, 用于接收所述第二控制设备发送的所述第二控制设备所属第 二域的拓朴信息, 以及将所述第二域的拓朴信息传输给所述发送单元, 所述
第二域为所述第二控制设备以及所述第二控制设备管理的网络设备所构成的 域; 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 is a domain composed of the second control device and the network device managed by the second control device;
所述发送单元, 用于所述控制设备将包含所述第一域的拓朴信息的拓朴 信息发送给所述第二控制设备。 The sending unit is configured for the control device to send the topology information including the topology information of the first domain to the second control device.
10、 根据权利要求 9所述的控制设备, 其特征在于, 所述发送单元发送 的所述包含所述第一域的拓朴信息的拓朴信息为所述发送单元将所述第一域 的拓朴信息和所述第二域的拓朴信息进行汇总后得到的拓朴信息。 10. The control device according to claim 9, wherein the topology information including the topology information of the first domain sent by the sending unit is the topology information of the first domain sent by the sending unit. Topology information obtained by summarizing the topology information and the topology information of the second domain.
1 1、 根据权利要求 9所述的控制设备, 其特征在于, 所述发送单元发送 的所述包含所述第一域的拓朴信息的拓朴信息为所述发送单元接收的所述第 一域的拓朴信息。 1 1. The control device according to claim 9, characterized in that, the topology information including the topology information of the first domain sent by the sending unit is the first topology information received by the sending unit. Domain topology information.
12、 根据权利要求 9~11 任一权利要求所述的控制设备, 其特征在于, 所述获得单元具体用于 12. The control device according to any one of claims 9 to 11, characterized in that the obtaining unit is specifically used to
利用 IGP, 获得所述控制设备所属第一域的拓朴信息; 或者 Use IGP to obtain the topology information of the first domain to which the control device belongs; or
利用 LLDP, 获得所述控制设备所属第一域的拓朴信息。 Use LLDP to obtain the topology information of the first domain to which the control device belongs.
13、 一种拓朴收集设备, 其特征在于, 所述拓朴收集设备应用于控制和 转发分离的集中式系统, 所述系统包括第一控制设备、 第二控制设备和所述 拓朴收集设备, 以及所述第一控制设备管理的网络设备和所述第二控制设备 管理的网络设备, 该拓朴收集设备包括: 13. A topology collection device, characterized in that the topology collection device 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 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 the sending unit, the first domain A domain composed of the first control device and the network device managed by the first control device; the receiving unit is also configured to receive the second domain to which the second control device belongs sent by the second control device. the topology information of the second domain, and transmit the topology information of the second domain to the sending unit, where the second domain is a domain composed of the second control device and the network device 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 also configured to send topology information including topology information of the second domain to the first control device.
14、 根据权利要求 13 所述的拓朴收集设备, 其特征在于, 所述发送单
元发送的所述包含所述第一域的拓朴信息的拓朴信息和所述发送单元发送的 所述包含第二域的拓朴信息的拓朴信息均为所述发送单元将所述第一域的拓 朴信息和所述第二域的拓朴信息进行汇总后得到的拓朴信息。 14. The topology collection device according to claim 13, characterized in that: the sending order The topology information containing the topology information of the first domain sent by the sending unit and the topology information containing the topology information of the second domain sent by the sending unit are both the sending unit sending the third domain and the topology information containing the topology information of the second domain. Topology information obtained by summarizing the topology information of one domain and the topology information of the second domain.
15、 根据权利要求 13 所述的拓朴收集设备, 其特征在于, 所述发送单 元发送的所述包含所述第一域的拓朴信息的拓朴信息为所述发送单元接收的 所述第一域的拓朴信息; 所述发送单元发送的所述包含第二域的拓朴信息的 拓朴信息为所述发送单元接收的所述第二域的拓朴信息。
15. The topology collection device according to claim 13, wherein the topology information including the topology information of the first domain sent by the sending unit is the third topology information received by the sending unit. Topology information of one domain; The topology information including the topology information of the second domain sent by the sending unit is the topology information of the second domain received by the sending unit.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2012/079588 WO2014019196A1 (en) | 2012-08-02 | 2012-08-02 | Topology information processing method and device |
CN2012800010835A CN102907052A (en) | 2012-08-02 | 2012-08-02 | Topological information processing method and equipment |
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 |
---|---|
WO2014019196A1 true WO2014019196A1 (en) | 2014-02-06 |
Family
ID=47577503
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2012/079588 WO2014019196A1 (en) | 2012-08-02 | 2012-08-02 | Topology information processing method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102907052A (en) |
WO (1) | WO2014019196A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108141373A (en) * | 2016-04-20 | 2018-06-08 | 博科通讯系统有限公司 | For the united communications framework of network controller |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104144082B (en) * | 2013-05-08 | 2017-10-27 | 新华三技术有限公司 | The method and controller of detection loop in double layer network |
US10327197B2 (en) * | 2014-01-31 | 2019-06-18 | Qualcomm Incorporated | Distributed clustering of wireless network nodes |
CN105357112B (en) * | 2014-08-19 | 2018-08-14 | 华为技术有限公司 | Communication means and device in a kind of software defined network |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6205122B1 (en) * | 1998-07-21 | 2001-03-20 | Mercury Interactive Corporation | Automatic network topology analysis |
CN1801770A (en) * | 2005-01-05 | 2006-07-12 | 国际商业机器公司 | Topology finding method and system in SIP network |
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 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100370748C (en) * | 2005-01-19 | 2008-02-20 | 华为技术有限公司 | Method of implementing synchronization of topology resource information between bearer networks |
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 WO PCT/CN2012/079588 patent/WO2014019196A1/en active Application Filing
- 2012-08-02 CN CN2012800010835A patent/CN102907052A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6205122B1 (en) * | 1998-07-21 | 2001-03-20 | Mercury Interactive Corporation | Automatic network topology analysis |
CN1801770A (en) * | 2005-01-05 | 2006-07-12 | 国际商业机器公司 | Topology finding method and system in SIP network |
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 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
---|---|
CN102907052A (en) | 2013-01-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6490082B2 (en) | Route control method, device, and system | |
WO2014047784A1 (en) | Method for determining packet forwarding path, network device and control device | |
WO2016034074A1 (en) | Method, apparatus and system for implementing software-defined networking (sdn) | |
JP2022503686A (en) | Communication connection methods, devices, computer equipment, and computer programs | |
WO2015149563A1 (en) | Communication method and system, resource pool management system, switch and control device | |
WO2016146077A1 (en) | Dynamic route configuration method, device and system | |
US20180309675A1 (en) | Service function chain sfc-based communication method, and apparatus | |
WO2015149604A1 (en) | Load balancing method, apparatus and system | |
WO2015143610A1 (en) | Service implementation method for nfv system, and communications unit | |
US20170331641A1 (en) | Deployment Of Virtual Extensible Local Area Network | |
WO2013185715A1 (en) | Method for implementing virtual network and virtual network | |
WO2018214809A1 (en) | Message transmission method and device, and storage medium | |
WO2018050041A1 (en) | Parameter configuration method, device, and system | |
CN108011754B (en) | Transfer control separation system, backup method and device | |
JP5866083B1 (en) | Control method, control apparatus and processor in software definition network | |
WO2014106387A1 (en) | Method for establishing control channel, forwarding point and controller | |
WO2014075216A1 (en) | Method and network device for establishing virtual cluster | |
WO2021098727A1 (en) | Network deployment method and system | |
WO2015081551A1 (en) | Method, device and system for implementing packet routing in network | |
WO2015154275A1 (en) | Routing method, apparatus and device in software defined network | |
WO2014059787A1 (en) | Communication connection method, communication device and communication system | |
JP2016524412A (en) | Method and forwarder for processing packets | |
CN104092684A (en) | Method and device for supporting VPN based on OpenFlow protocol | |
EP2892196B1 (en) | Method, network node and system for implementing point-to-multipoint multicast | |
WO2014019196A1 (en) | Topology information processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 201280001083.5 Country of ref document: CN |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12882079 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 12882079 Country of ref document: EP Kind code of ref document: A1 |