CN107888520A - Topology collecting method and device - Google Patents
Topology collecting method and device Download PDFInfo
- Publication number
- CN107888520A CN107888520A CN201711144578.4A CN201711144578A CN107888520A CN 107888520 A CN107888520 A CN 107888520A CN 201711144578 A CN201711144578 A CN 201711144578A CN 107888520 A CN107888520 A CN 107888520A
- Authority
- CN
- China
- Prior art keywords
- port
- message
- switching equipment
- collecting topology
- packet
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/20—Support for services
- H04L49/205—Quality of Service based
-
- 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
- H04L49/00—Packet switching elements
- H04L49/20—Support for services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/25—Routing or path finding in a switch fabric
- H04L49/253—Routing or path finding in a switch fabric using establishment or release of connections between ports
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/30—Peripheral units, e.g. input or output ports
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This application provides topology collecting method and device.In the application,Switching equipment actively sends the device identification for carrying this equipment itself,The port-mark of port and the collecting topology message of port-qos information are to opposite equip.,And when opposite equip. receives collecting topology message,It can according to the collecting topology message generation Packet in message received and on give SDN controllers so that SDN controllers determine port links between switching equipment and opposite equip. and the QoS information using the port QoS information that Packet in message carries as port links according to Packet in message,Realize SDN controllers also have collected port links between each switching equipment in collecting whole network QoS information while port links,And the timing of SDN controllers is avoided to obtain port links from switching equipment,Reduce the message interaction between SDN controllers and switching equipment,Improve the whole efficiency of network.
Description
Technical field
The application is related to the network communications technology, more particularly to topology collecting method and device.
Background technology
Software defined network (SDN:Software Defined Network) it is a kind of new network of Emulex network innovation framework, its core
Thought is want to separate the control plane of the network equipment with forwarding plane, is core to realize the flexible control to network traffics
The innovation of network and application provides good platform.
In SDN, the timing of SDN controllers uses Link Layer Discovery Protocol (LLDP:Link Layer Discovery
Protocol whole SDN network topology) is collected.Each exchange that the network topology of the collection indicates the control of SDN controllers is set
UNICOM's state of port links between standby.Afterwards, SDN controllers will be based on having received when determining forward-path for data flow
The network topology of collection simultaneously calculates the source from data flow to the forward-path of destination according to shortest path first, the road calculated
Footpath is the shortest path from the source of data flow to destination.
But the network topology of SDN controllers collection simply simply shows the connection of port links between each switching equipment
Logical state, it is not concerned with the information such as the available bandwidths of port links, forwarding rate, forwarding cost (Cost), port priority.For
It is easy to describe, the information such as available bandwidth, forwarding rate, forwarding Cost, port priority is referred to as service quality (QoS) here
Information.Network topology of the SDN controllers based on the QoS information for not considering port links collected calculate from data flow
Source to the forward-path of destination is possible to be unsatisfactory for the qos requirement of data flow in itself.Using data flow qos requirement as:Data
The available bandwidth of each link is more than exemplified by nominated bandwidth M on the forward-path of stream, because the network topology that SDN controllers are collected is not
Include the available bandwidth of each link, in this way, just occur SDN controllers based on the network topology collected calculate from data
There is the available bandwidth of certain link on the source of stream to the forward-path of destination well below nominated bandwidth M, influence data flow
Forwarding.
The content of the invention
This application provides topology collecting method and device, the QoS of collection port link during realizing that network topology is collected
Information.
The technical scheme that the application provides includes:
A kind of topology collecting method, this method are applied to the switching equipment in the self-defined network SDN of software, including:
When reaching in the collecting topology cycle, corresponding collecting topology message is generated respectively for local each port and is passed through respectively
Local each port is sent;Collecting topology message corresponding to port carries the port-mark of port, miniport service quality Q oS letters
The device identification of breath and local terminal switching equipment;
When receiving the collecting topology message that opposite equip. is sent by local first port, according to the collecting topology received
Message generates Packet-in message, and Packet-in message carries the device identification of local terminal switching equipment, the end of first port
Second port in the device identification of opposite equip. entrained by mouthful mark and the collecting topology message that receives, opposite equip.
Port-mark and port QoS information;
The SDN controllers for being responsible for control management local terminal switching equipment will be delivered in the Packet-in message, so that
The SDN controllers are determined on the opposite equip. in second port and local terminal switching equipment according to the Packet-in message
Port links between the first port and port QoS information that carries the Packet-in message is as the port links
QoS information.
A kind of topology collecting method, this method are applied to the SDN controllers in the self-defined network SDN of software, including:
Receive the Packet-in message sent on the first switching equipment for being responsible for controlling management from this SDN controllers;It is described
Packet-in message is the topology from the second switching equipment received by first switching equipment according to local first port
Message generation is collected, carries device identification, port-mark, the Yi Jisuo of the first port of first switching equipment
State the device identification of second switching equipment entrained by collecting topology message, second port on second switching equipment
Port-mark and miniport service quality Q oS information;
Second port and first switching equipment on second switching equipment are determined according to the Packet-in message
Port links between the upper first port and port QoS information that carries the Packet-in message is as the port chain
The QoS information on road.
A kind of collecting topology device, the device are applied to the switching equipment in the self-defined network SDN of software, including:
Collecting topology unit, for when reaching in the collecting topology cycle, corresponding topology to be generated respectively for local each port
Collect message and sent respectively by local each port;The collecting topology message carries the equipment mark of local terminal switching equipment
Knowledge, the port-mark of corresponding port and miniport service quality Q oS information;
Packet-in message elements, for when the collecting topology report that opposite equip. transmission is received by local first port
Wen Shi, according to the collecting topology message generation Packet-in message received, Packet-in message carries local terminal switching equipment
Device identification, first port port-mark and the collecting topology message received entrained by opposite equip. equipment
The port-mark and port QoS information of second port in mark, opposite equip.;And
The SDN controllers for being responsible for control management local terminal switching equipment will be delivered in the Packet-in message, so that
The SDN controllers are determined on the opposite equip. in second port and local terminal switching equipment according to the Packet-in message
Port links between the first port and port QoS information that carries the Packet-in message is as the port links
QoS information.
A kind of collecting topology device, the device are applied to the SDN controllers in the self-defined network SDN of software, including:
Receiving unit, it is responsible for what is sent on the first switching equipment of control management from this SDN controllers for receiving
Packet-in message;The Packet-in message is to be come from by first switching equipment according to what local first port received
The collecting topology message generation of second switching equipment, carry the device identification of first switching equipment, the first end
The device identification of second switching equipment entrained by the port-mark and the collecting topology message of mouth, described second
The port-mark of second port and miniport service quality Q oS information on switching equipment;
Linking element, for determining second port and institute on second switching equipment according to the Packet-in message
State the port links on the first switching equipment between first port and the port QoS information for carrying the Packet-in message
QoS information as the port links.
As can be seen from the above technical solutions, in the application, switching equipment actively sends collecting topology message and set to opposite end
The collecting topology message that standby and switching equipment is sent carries the device identification of switching equipment itself, sends collecting topology message
Port port-mark and port-qos information, and when switching equipment opposite equip. receive switching equipment transmission topology
Collect message when, its can according to receive collecting topology message generation Packet-in message and on give so that the SDN control
Device determines port links between switching equipment and opposite equip. and by the Packet-in according to the Packet-in message
QoS information of the port QoS information that message carries as the port links, realize SDN controllers and collecting whole network
In port links between each switching equipment while, also have collected the QoS information of port links, also, avoid SDN controllers
Timing obtains port links from switching equipment, reduces the message interaction between SDN controllers and switching equipment, improves net
The whole efficiency of network.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure
Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of the method for collecting topology that the application provides;
Fig. 2 is the flow chart of the method for another collecting topology that the application provides;
Fig. 3 is the embodiment application network figure that the application provides;
Fig. 4 is a kind of structure chart of the device for collecting topology that the application provides;
Fig. 5 is the structure chart of the device for another collecting topology that the application provides.
Embodiment
In SDN, collecting topology message (such as LLDP messages) is from SDN controllers actively to each exchange of its control management
Equipment is sent, and carries out link discovery for SDN controllers and topology calculates.
And in the application, collecting topology message (such as LLDP messages) is actively sent by switching equipment, compared to existing
SDN controllers actively send collecting topology message (such as LLDP messages) to switching equipment when having collection network topology in SDN, subtract
Lack the message interaction between SDN controllers and switching equipment, improve the efficiency of network topology collection.Below by Fig. 1 pairs
The method that the application provides is described:
Referring to Fig. 1, Fig. 1 is a kind of flow chart of the method for collecting topology that the application provides.The flow is applied to exchange
Equipment (is designated as the first switching equipment).Here, the first switching equipment, any switching equipment in SDN is referred to, it is simply for ease of area
The switching equipment point drawn hereinafter and the name carried out.
As shown in figure 1, the flow may include following steps:
Step 101, the first switching equipment generates corresponding open up respectively when reaching in the collecting topology cycle for local each port
Flutter and collect message and sent respectively by local each port;Collecting topology message corresponding to port carries the port mark of port
The device identification of knowledge, miniport service quality Q oS information and local terminal switching equipment.
As one embodiment, the collecting topology cycle is that SDN controllers are issued to this switching equipment.Specifically, as
One embodiment, before the application execution, network configuration can be established between the first switching equipment and SDN controllers
(NETCONF) passage.The collecting topology cycle is that SDN controllers are led to by the NETCONF established between the first switching equipment
Road is issued to the first switching equipment.
As another embodiment, the collecting topology cycle can be according to practical business demand static configuration in the first switching equipment
's.
In order to ensure that the collecting topology message of the first switching equipment generation carries the port QoS information of its corresponding port,
QoS state mark can be locally configured in the first switching equipment in advance, the QoS state is marked for indicating that collecting topology message is taken
Port QoS information with its corresponding port.Here port QoS information includes being not limited to the available bandwidth of port, forwarding speed
The information such as rate, forwarding Cost, port priority.
As one embodiment, QoS state mark here can be issued configuration to the first switching equipment sheet by SDN controllers
Ground.Based on NETCONF passages described above, then QoS state here labeled as SDN controllers by with the first switching equipment
Between the NETCONF passages established to issue configuration in the first switching equipment local.It is local based on this, in this step 101
Each port generates corresponding collecting topology message respectively to be included:Check that local terminal switching equipment is had been received by from the SDN controllers
The QoS state mark issued, then corresponding collecting topology is generated respectively labeled as local each port according to the QoS state
Message.
After the first switching equipment sends collecting topology message by local Single port, if the port connects SDN controllers
Or virtual machine (VM), then because SDN controllers or VM, which are None- identifieds, goes out collecting topology message, it can directly abandon opening up for reception
Flutter collection message., can after the switching equipment of port connection receives collecting topology message and if port connects switching equipment
The collecting topology message received is identified and handles, wherein, handle the collecting topology message received and be specifically shown in the first friendship in step 102
The operation that exchange device performs.
Similarly, the first switching equipment can also receive the collecting topology report that opposite end switching equipment is sent by local port
Text, the collecting topology message that the second switching equipment sent by second port is received with the first port of the first switching equipment below
Exemplified by, when the first switching equipment receives the collecting topology that the second switching equipment sent by second port by local first port
During message, step 102 is performed.
Step 102, the first switching equipment local first port receives the second switching equipment and opened up by what second port was sent
When flutterring collection message, according to the collecting topology message generation Packet-in message received, Packet-in message carries first
Second entrained by the device identification of switching equipment, the port-mark of first port and the collecting topology message received hands over
The device identification of exchange device, the port-mark of second port and port QoS information.
As one embodiment, can be according to collecting topology message generation Packet-in message here:Generate Packet-
In message, Packet-in message carry the device identification of the first switching equipment, first port port-mark and this receive
Collecting topology message.
Step 103, the first switching equipment will be delivered in the Packet-in message for being responsible for controlling this exchange of management to set
Standby SDN controllers.
As one embodiment, before the application execution, opening can be established between the first switching equipment and SDN controllers
Flow (Openflow) passage.Based on this, this step 103 specifically may include:
First switching equipment on the Openflow passages established between SDN controllers by sending Packet-in message
To SDN controllers.
After the first switching equipment in Packet-in message by SDN controllers are delivered to, SDN controllers will foundation
The device identification of the first switching equipment, the port-mark of first port and the Packet-in that Packet-in message carries disappear
Cease the device identification of the second switching equipment entrained by the collecting topology message carried, the port-mark of second port determines second
Port links on switching equipment on second port and the first switching equipment between first port, meanwhile, it can also obtain Packet-
The port QoS information that in message carries, the QoS information using the port QoS information of acquisition as the port links of the determination.Finally
Realize the QoS information of each port links in the network topology and network topology of SDN controllers collection.Fig. 2 shows SDN controls
Device receives the concrete operations performed after Packet-in message, is described below:
Referring to Fig. 2, Fig. 2 is the flow chart of the method for another collecting topology that the application provides.The flow is applied to SDN
Controller.It should be noted that in the application, collecting topology and the topology initiated actively are initiated to trigger each switching equipment
Collect message and carry port QoS information, then before the execution of flow shown in Fig. 2, SDN controllers can further perform following step
Suddenly:Each switching equipment for being responsible for control management to this SDN controllers issues collecting topology cycle and QoS state mark respectively;Institute
State the QoS information that QoS state marks the collecting topology message carrying port sent for indicating port;The collecting topology cycle
For indicating that switching equipment initiates collecting topology, the collecting topology cycle that different switching equipment issue is identical or different.
As shown in Fig. 2 the flow may include following steps:
Step 201, SDN controllers receive is responsible for what is sent on the first switching equipment of control management from this SDN controllers
Packet-in message;The Packet-in message is to come from the second switching equipment according to what is received by first switching equipment
The generation of collecting topology message, carry the device identification of second switching equipment, second switching equipment sends institute
State the port-mark and port QoS information of the port of collecting topology message.
Here the first switching equipment is to refer to any switching equipment that SDN controllers are responsible for control management.Here
Two switching equipment are to refer to any opposite equip. that the first switching equipment is connected by local port.Why first exchange is described
Equipment, the second switching equipment, simply for ease of distinguishing, it is not intended to limit.
Step 202, SDN controllers determine second port on second switching equipment according to the Packet-in message
Port links between first port on first switching equipment and the port QoS for carrying the Packet-in message
QoS information of the information as the port links.
By step 201 to step 202, final SDN controllers can be collected in whole network between each switching equipment
The QoS information of port links and each port links.
When SDN controllers have collected port links and each port links in whole network between each switching equipment
QoS information after, the qos requirement for meeting data flow can be subsequently determined for data flow according to the QoS information of each port links
Forward-path.Citing description:
When SDN controllers are that data flow determines forward-path,
For example data flow has minimum bandwidth requirement B1, then SDN controllers can select respectively to hold on the forward-path of the determination
The available bandwidth (being included in the QoS information of port links) of mouth link is all higher than or equal to B1.
For another example, data stream claims have minimum forwarding cost C1 (forwarding cost represents consuming, for example, time delay it
Class), then SDN controllers can select the forwarding cost of each port links on the forward-path of the determination (to be included in port links
In QoS information) sum is less than or equal to C1.
For another example:Each switching equipment is according to high priority processing data stream on data stream claims forward-path, to realize
Each switching equipment occurs also abandon the data flow in the case of congestion, then SDN controllers can select the forwarding road of the determination
Each port links all possess higher priority (being included in the QoS information of port links) on footpath.
So far, flow shown in Fig. 2 is completed.
Can be seen that in this application by flow shown in Fig. 1, Fig. 2, switching equipment actively send collecting topology message to
The collecting topology message that opposite equip. and switching equipment are sent carries the device identification of switching equipment itself, sends topology receipts
Collect the port-mark and port-qos information of the port of message, and when the opposite equip. of switching equipment receives switching equipment transmission
Collecting topology message when, its can according to receive collecting topology message generation Packet-in message and on give so that described
SDN controllers are determined according to the Packet-in message described in port links and general between switching equipment and opposite equip.
QoS information of the port QoS information that Packet-in message carries as the port links, realizes SDN controllers and is collecting
In whole network while port links between each switching equipment, the QoS information of port links is also have collected, also, avoid
The timing of SDN controllers obtains port links from switching equipment, and the message reduced between SDN controllers and switching equipment is handed over
Mutually, the whole efficiency of network is improved.
Embodiment description is carried out to flow shown in Fig. 1,2 below by a specific embodiment:
Referring to Fig. 3, Fig. 3 is embodiments herein application network figure.In the network shown in Fig. 3, SW1, SW2, SW3,
SW4 is switching equipment, and Controller is SDN controllers, exist between SDN controllers and each interchanger NETCONF passages and
Openflow passages.
In the network shown in Fig. 3, SDN controllers issue configuration by the NETCONF passages between each switching equipment
Information, configuration information include:Collecting topology cycle, QOS status indications.
Illustrated by taking SW1 as an example:
The configuration information that SW1 is issued by the NETCONF channel reception SDN controllers between SDN controllers, with confidence
Breath includes:Collecting topology cycle, QOS status indications.
SW1 has found that the configuration information that SDN controllers issue includes QOS status indications, then when reaching in the collecting topology cycle
According to QOS status indications, for the local collecting topology message corresponding to generation per Single port.In the present embodiment, collecting topology report
Text is exemplified as LLDP messages.Wherein, LLDP messages carry the QoS information of port by increasing extended field.QoS information can wrap
Include:The information such as available bandwidth, forwarding rate, forwarding cost, port priority.It should be noted that in this application, SW1 is
The LLDP messages of local port generation also carry SW1 device identification (can be represented by SW1 bridge MAC Address), the end of port
Mouth mark.Afterwards, SW1 sends its corresponding LLDP message by local per Single port.
As shown in figure 3, SW1 locally has port Port101, Port102, Port103, Port104, then SW1 can be
LLDP messages (being designated as message 1a) corresponding to Port101 generations are simultaneously sent by Port101.Reported corresponding to the Port101 of generation
Literary 1a carries Port101 port QoS information.Similarly, SW1 can be that LLDP messages corresponding to Port102 is generated (are designated as reporting
Literary 2a) and sent by Port102.Message 2a corresponding to the Port102 of generation carries Port102 port QoS information.
SW1 can be LLDP messages (being designated as message 3a) corresponding to Port103 generations and be sent by Port103.Port103 pairs of generation
The message 3a answered carries Port103 port QoS information.SW1 can be that LLDP messages corresponding to Port104 is generated (are designated as reporting
Literary 4a) and sent by Port104.Message 4a corresponding to the Port104 of generation carries Port104 port QoS information.
After SW1 sends message 1a by Port101, because the opposite end of Port101 connections is SDN controllers, then SDN is controlled
Device processed can receive message 1a, but because message 1a encapsulates without Packet-in, SDN controllers can identify Chu Lai, so
SDN controllers directly abandon the message 1a of reception.After SW1 sends message 4a by Port104, because Port104 connections
Opposite end is virtual machine (VM11), then VM11 can receive message 4a, but VM11 can not identify the message 4a received, so VM11 is direct
Abandon the message 4a received.
After SW1 sends message 2a by Port102, because the opposite end of Port102 connections is SW2, then SW2 can receive report
Literary 2a.After SW2 receives message 2a by port Port202, one side SW2 obtains device identification (SW1), end from message 2a
Mouth mark (Port102), determines the link neighborhood between this SW2 upper port Port202 and SW1 upper ports Port102, separately
On the one hand, SW2 to message 2a carry out Packet-in encapsulation generation Packet-in message and on give SDN controllers.Now
Packet-in message also carries device identification (SW2), SW2 receives message 2a port in addition to having the message 2a received
Port-mark (Port202).After SDN controllers receive the Packet-in message of SW2 transmissions, according to Packet-in message
Message 2a is carried in the device identification SW2 of carrying, port-mark Port202 and Packet-in message device identification SW1,
Port-mark Port102 determines the port links between SW1 upper port Port102 and SW2 upper ports Port202, and will
The port QoS information for the Port102 that message 2a is carried is believed as the QoS of the port links determined in Packet-in message
Breath.
After SW1 sends message 3a by Port103, because the opposite end of Port103 connections is SW3, then SW3 can receive report
Literary 3a.After SW3 receives message 3a by port Port303, one side SW3 obtains device identification (SW1), end from message 3a
Mouth mark (Port103), determines the link neighborhood between this SW3 upper port Port303 and SW1 upper ports Port103, separately
On the one hand, SW3 to message 3a carry out Packet-in encapsulation generation Packet-in message and on give SDN controllers.Now
Packet-in message also carries device identification (SW3), SW3 receives message 3a port in addition to having the message 3a received
Port-mark (Port303).After SDN controllers receive the Packet-in message of SW3 transmissions, according to Packet-in message
Message 3a is carried in the device identification SW3 of carrying, port-mark Port303 and Packet-in message device identification SW1,
Port-mark Port103 determines the port links between SW1 upper port Port103 and SW3 upper ports Port203, and will
The port QoS information for the Port103 that message 3a is carried is believed as the QoS of the port links determined in Packet-in message
Breath.
The operation that the similar SW1 of operation that other switching equipment perform is performed, sets in this way, SDN controllers are based on each exchange
The standby Packet-in message above sent establishes network topological diagram physically.
It can be seen that in this application by the description of collecting topology above, switching equipment is sent by port every time
QOS information that all can be on the real-time statistics port before LLDP messages, SDN controllers can also obtain the port of port connection in real time
The QoS information of link;Further, in the application, the switching equipment cycle sends LLDP messages by port so that when some end
When QoS information on mouth changes, SDN controllers can upgrade in time the port links of port connection on physical topology
QoS information, forwarding data flow routing update is carried out in time so as to the QoS information of the port links based on renewal.SDN is described below
How the QoS information of the port links based on renewal carries out forwarding data flow routing update to controller in time:
When there is data stream transmitting, bandwidth requirement of the SDN controllers according to the data flow, and combine each end collected
The forward-path that the QOS information of mouthful link calculates the data flow is:SW1 Port102->SW2 Port204->SW4's
Port404。
Afterwards, sometime, SW1 port Port102 forwarding rate changes, and forwarding rate adds very
It is more, cause available bandwidth to reduce, in this way, being based on collecting topology process described above, finally, SDN controllers can also obtain end
Mouth Port102 newest available bandwidth.
Afterwards, when there is above-mentioned data stream transmitting, if port Port102 newest available bandwidth is to can not meet data
The bandwidth requirement of stream, then SDN controllers can be according to the bandwidth requirement of the data flow, and combines each port links collected
The forward-path that QOS information recalculates the data flow is:
SW1 Port103->SW3 Port304->SW4 Port404.
As can be seen that by the application, SDN controllers can the QoS information based on each port links of collection be data
Flowmeter calculates the forward-path for meeting data flow qos requirement itself, improves the forward efficiency and reliability of data flow.
The method provided above the application is described, and the device provided below the application is described:
Referring to Fig. 4, Fig. 4 is a kind of structure chart of the device for collecting topology that the application provides.The device is applied in SDN
Switching equipment, including:
Collecting topology unit, for when reaching in the collecting topology cycle, corresponding topology to be generated respectively for local each port
Collect message and sent respectively by local each port;The collecting topology message carries the equipment mark of local terminal switching equipment
Knowledge, the port-mark of corresponding port and miniport service quality Q oS information;
Packet-in message elements, for when the collecting topology report that opposite equip. transmission is received by local first port
Wen Shi, according to the collecting topology message generation Packet-in message received, Packet-in message carries local terminal switching equipment
Device identification, first port port-mark and the collecting topology message received entrained by opposite equip. equipment
The port-mark and port QoS information of second port in mark, opposite equip.;And
The SDN controllers for being responsible for control management local terminal switching equipment will be delivered in the Packet-in message, so that
The SDN controllers are determined on the opposite equip. in second port and local terminal switching equipment according to the Packet-in message
Port links between the first port and port QoS information that carries the Packet-in message is as the port links
QoS information.
As one embodiment, the collecting topology cycle is that the SDN controllers are issued to local terminal switching equipment;
The collecting topology unit is further used for receiving the QoS state mark that the SDN controllers issue, the QoS
Status indication is used to indicate that collecting topology message carries the port QoS information of its corresponding port;
The collecting topology unit generates corresponding collecting topology message respectively for local each port to be included:Check that local terminal is handed over
Exchange device has been received by the QoS state mark issued from the SDN controllers, then according to the QoS state labeled as this
Each port in ground generates corresponding collecting topology message respectively.
So far, the structure description of Fig. 4 shown devices is completed.
Referring to Fig. 5, Fig. 5 is the structure chart of the device for another collecting topology that the application provides.The device is applied to soft
SDN controllers in the self-defined network SDN of part, including:
Receiving unit, it is responsible for what is sent on the first switching equipment of control management from this SDN controllers for receiving
Packet-in message;The Packet-in message is to be come from by first switching equipment according to what local first port received
The collecting topology message generation of second switching equipment, carry the device identification of first switching equipment, the first end
The device identification of second switching equipment entrained by the port-mark and the collecting topology message of mouth, described second
The port-mark of second port and miniport service quality Q oS information on switching equipment;
Linking element, for determining second port and institute on second switching equipment according to the Packet-in message
State the port links on the first switching equipment between first port and the port QoS information for carrying the Packet-in message
QoS information as the port links.
As shown in figure 5, the device further comprises:
Dispensing unit, each switching equipment for being responsible for control management to this SDN controllers issue collecting topology week respectively
Phase and QoS state mark;The QoS state marks the QoS letters of the collecting topology message carrying port sent for indicating port
Breath;The collecting topology cycle that different switching equipment issue is identical or different;
Path unit, for when determining forward-path for data flow, the QoS information according to fixed each port links
The forward-path of qos requirement for meeting the data flow is determined for the data flow.
So far, the structure description of Fig. 5 shown devices is completed.
The preferred embodiment of the application is the foregoing is only, not limiting the application, all essences in the application
God any modification, equivalent substitution and improvements done etc., should be included within the scope of the application protection with principle.
Claims (10)
- A kind of 1. topology collecting method, it is characterised in that this method is applied to the switching equipment in the self-defined network SDN of software, Including:When reaching in the collecting topology cycle, corresponding collecting topology message is generated respectively for local each port and passes through local respectively Each port is sent;Collecting topology message corresponding to port carry the port-mark of port, miniport service quality Q oS information, with And the device identification of local terminal switching equipment;When receiving the collecting topology message that opposite equip. is sent by local first port, according to the collecting topology message received Packet-in message is generated, Packet-in message carries the device identification of local terminal switching equipment, the port mark of first port Know and the collecting topology message that receives entrained by the device identification of opposite equip., on opposite equip. second port end Mouth mark and port QoS information;The SDN controllers for being responsible for control management local terminal switching equipment will be delivered in the Packet-in message, so that described SDN controllers determine second port and on local terminal switching equipment first on the opposite equip. according to the Packet-in message Port links between port and the QoS using the port QoS information that the Packet-in message carries as the port links Information.
- 2. according to the method for claim 1, it is characterised in that the collecting topology cycle is that the SDN controllers issue To local terminal switching equipment.
- 3. according to the method for claim 1, it is characterised in that this method further comprises:The QoS state mark that the SDN controllers issue is received, the QoS state is marked for indicating that collecting topology message is taken Port QoS information with its corresponding port;Described is that collecting topology message corresponding to local each port generates respectively includes:Check that local terminal switching equipment has been received by come from The QoS state mark that the SDN controllers issue, then generated respectively labeled as local each port according to the QoS state Corresponding collecting topology message.
- A kind of 4. topology collecting method, it is characterised in that this method is applied to the SDN controllers in the self-defined network SDN of software, Including:Receive the Packet-in message sent on the first switching equipment for being responsible for controlling management from this SDN controllers;It is described Packet-in message is the topology from the second switching equipment received by first switching equipment according to local first port Message generation is collected, carries device identification, port-mark, the Yi Jisuo of the first port of first switching equipment State the device identification of second switching equipment entrained by collecting topology message, second port on second switching equipment Port-mark and miniport service quality Q oS information;The is determined on second switching equipment in second port and first switching equipment according to the Packet-in message Port links between the Single port and port QoS information that carries the Packet-in message is as the port links QoS information.
- 5. according to the method for claim 4, it is characterised in that this method further comprises:Each switching equipment for being responsible for control management to this SDN controllers issues collecting topology cycle and QoS state mark respectively;Institute State the QoS information that QoS state marks the collecting topology message carrying port sent for indicating port;Different switching equipment issue The collecting topology cycle it is identical or different.
- 6. according to the method for claim 4, it is characterised in that this method further comprises:When determining forward-path for data flow, the QoS information according to fixed each port links determines for the data flow Meet the forward-path of the qos requirement of the data flow.
- A kind of 7. collecting topology device, it is characterised in that the device is applied to the switching equipment in the self-defined network SDN of software, Including:Collecting topology unit, for when reaching in the collecting topology cycle, corresponding collecting topology to be generated respectively for local each port Message is simultaneously sent by local each port respectively;Collecting topology message carries the port-mark of port, port corresponding to port The device identification of service quality QoS information and local terminal switching equipment;Packet-in message elements, for when by local first port receive opposite equip. send collecting topology message when, According to the collecting topology message generation Packet-in message received, the equipment that Packet-in message carries local terminal switching equipment Mark, first port port-mark and the collecting topology message received entrained by opposite equip. device identification, right The port-mark of second port and port QoS information in end equipment;AndThe SDN controllers for being responsible for control management local terminal switching equipment will be delivered in the Packet-in message, so that described SDN controllers determine second port and on local terminal switching equipment first on the opposite equip. according to the Packet-in message Port links between port and the QoS using the port QoS information that the Packet-in message carries as the port links Information.
- 8. device according to claim 7, it is characterised in that the collecting topology cycle is that the SDN controllers issue To local terminal switching equipment;The collecting topology unit is further used for receiving the QoS state mark that the SDN controllers issue, the QoS state Mark for indicating that collecting topology message carries the port QoS information of its corresponding port;The collecting topology unit generates corresponding collecting topology message respectively for local each port to be included:Check that local terminal exchanges to set It is standby to have been received by the QoS state mark issued from the SDN controllers, then according to the QoS state labeled as local each Port generates corresponding collecting topology message respectively.
- A kind of 9. collecting topology device, it is characterised in that the device is applied to the SDN controllers in the self-defined network SDN of software, Including:Receiving unit, for receiving the Packet-in sent on the first switching equipment for being responsible for controlling management from this SDN controllers Message;The Packet-in message is to be exchanged by first switching equipment according to what local first port received from second The collecting topology message generation of equipment, carry device identification, the port of the first port of first switching equipment The device identification of second switching equipment entrained by mark and the collecting topology message, second switching equipment The port-mark and miniport service quality Q oS information of upper second port;Linking element, for determining on second switching equipment second port and described the according to the Packet-in message Port links on one switching equipment between first port and using the port QoS information that the Packet-in message carries as The QoS information of the port links.
- 10. device according to claim 9, it is characterised in that the device further comprises:Dispensing unit, for this SDN controllers be responsible for control management each switching equipment issue respectively the collecting topology cycle and QoS state marks;The QoS state marks the QoS information of the collecting topology message carrying port sent for indicating port;No The collecting topology cycle issued with switching equipment is identical or different;Path unit, for when determining forward-path for data flow, the QoS information according to fixed each port links to be institute State the forward-path that data flow determines to meet the qos requirement of the data flow.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711144578.4A CN107888520B (en) | 2017-11-17 | 2017-11-17 | Topology collection method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711144578.4A CN107888520B (en) | 2017-11-17 | 2017-11-17 | Topology collection method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107888520A true CN107888520A (en) | 2018-04-06 |
CN107888520B CN107888520B (en) | 2021-08-24 |
Family
ID=61777808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711144578.4A Active CN107888520B (en) | 2017-11-17 | 2017-11-17 | Topology collection method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107888520B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113452555A (en) * | 2021-06-22 | 2021-09-28 | 新华三大数据技术有限公司 | Service quality guarantee method and device |
WO2022048379A1 (en) * | 2020-09-07 | 2022-03-10 | 中兴通讯股份有限公司 | Wavelength division topological relation determining method, system, device, and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103999404A (en) * | 2011-06-22 | 2014-08-20 | 华为技术有限公司 | Internet group management protocol version three for quality of service support |
CN104283802A (en) * | 2014-10-09 | 2015-01-14 | 杭州华三通信技术有限公司 | Neighbor discovery method and device |
CN104901890A (en) * | 2015-06-24 | 2015-09-09 | 上海斐讯数据通信技术有限公司 | Route generating and coupling method and system of SDN |
CN105847151A (en) * | 2016-05-25 | 2016-08-10 | 安徽大学 | Multi-constrained QoS (Quality of Service) routing strategy designing method for software defined network |
WO2016164061A1 (en) * | 2015-04-08 | 2016-10-13 | Hewlett Packard Enterprise Development Lp | Big data transfer |
-
2017
- 2017-11-17 CN CN201711144578.4A patent/CN107888520B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103999404A (en) * | 2011-06-22 | 2014-08-20 | 华为技术有限公司 | Internet group management protocol version three for quality of service support |
CN104283802A (en) * | 2014-10-09 | 2015-01-14 | 杭州华三通信技术有限公司 | Neighbor discovery method and device |
WO2016164061A1 (en) * | 2015-04-08 | 2016-10-13 | Hewlett Packard Enterprise Development Lp | Big data transfer |
CN104901890A (en) * | 2015-06-24 | 2015-09-09 | 上海斐讯数据通信技术有限公司 | Route generating and coupling method and system of SDN |
CN105847151A (en) * | 2016-05-25 | 2016-08-10 | 安徽大学 | Multi-constrained QoS (Quality of Service) routing strategy designing method for software defined network |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022048379A1 (en) * | 2020-09-07 | 2022-03-10 | 中兴通讯股份有限公司 | Wavelength division topological relation determining method, system, device, and storage medium |
CN113452555A (en) * | 2021-06-22 | 2021-09-28 | 新华三大数据技术有限公司 | Service quality guarantee method and device |
CN113452555B (en) * | 2021-06-22 | 2023-12-26 | 新华三大数据技术有限公司 | Service quality guarantee method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107888520B (en) | 2021-08-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103229468B (en) | Packet-switched resources distribution method and equipment | |
TWI643477B (en) | Software defined network controller, service function chaining system and trace tracking method | |
JP5716741B2 (en) | COMMUNICATION SYSTEM, LOGICAL CHANNEL CONTROL DEVICE, CONTROL DEVICE, COMMUNICATION METHOD, AND PROGRAM | |
CN105009544B (en) | Tunnel processing method, switching equipment and the control device of message | |
CN104283756B (en) | A kind of method and apparatus for realizing distributed multi-tenant virtual network | |
CN107864061A (en) | A kind of method of virtual machine port speed constraint and mirror image in private clound | |
JP5975083B2 (en) | COMMUNICATION SYSTEM, CONTROL DEVICE, PACKET TRANSFER ROUTE CONTROL METHOD, AND PROGRAM | |
CN104702438B (en) | PE device management methods and device | |
US20110075560A1 (en) | Method and apparatus for processing labeled flows in a communications access network | |
JP2008515348A5 (en) | ||
CN104158745B (en) | A kind of method and system for realizing data packet forwarding | |
JP2002141932A (en) | Method for assigning network shared band and network system | |
CN105723657A (en) | Switch, controller, system and link quality detection method | |
CN103703722A (en) | Bootstrapping fault detection sessions over a p2mp tunnel | |
US20220078106A1 (en) | Packet Measurement Method, Device, and System | |
CN105227393B (en) | A kind of bidirectional forwarding detection (BFD) method | |
CN107404441B (en) | Method and equipment for data stream splitting in slicing network | |
CN104243362B (en) | A kind of message forwarding method and device | |
CN107566237A (en) | A kind of data message processing method and device | |
CN103944825A (en) | System and method for internet communication | |
WO2015154275A1 (en) | Routing method, apparatus and device in software defined network | |
CN106961400A (en) | A kind of method and system for realizing cloud platform virtual port mirror image | |
WO2012119372A1 (en) | Message processing method, device and system | |
CN107888520A (en) | Topology collecting method and device | |
CN101860769A (en) | Method, device and system for fusing IP and light |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |