CN104283790A - Topology discovery method and equipment of resilient packet ring (RPR) in SDN - Google Patents

Topology discovery method and equipment of resilient packet ring (RPR) in SDN Download PDF

Info

Publication number
CN104283790A
CN104283790A CN201410527358.XA CN201410527358A CN104283790A CN 104283790 A CN104283790 A CN 104283790A CN 201410527358 A CN201410527358 A CN 201410527358A CN 104283790 A CN104283790 A CN 104283790A
Authority
CN
China
Prior art keywords
rpr
sdn controller
equipment
link
network
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
Application number
CN201410527358.XA
Other languages
Chinese (zh)
Other versions
CN104283790B (en
Inventor
徐鹏飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201410527358.XA priority Critical patent/CN104283790B/en
Publication of CN104283790A publication Critical patent/CN104283790A/en
Application granted granted Critical
Publication of CN104283790B publication Critical patent/CN104283790B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides topology discovery method and equipment of a resilient packet ring (RPR) in an SDN. By means of the topology discovery method and equipment, the topology discovery of the RPR can be achieved in the SDN; besides, different from the topology discovery of an existing RPR, the mode that the TP frame, the ATD frame and the TC frame are adopted for all network equipment in the topology discovery of the existing RPR to spread the topology information is eliminated, the protocol level functions of the existing RPR are uniformly integrated to an SDN controller, and the network topology information is collected by the SDN controller in a concentrated mode.

Description

The topology discovery method of SDN Elastic grouping ring RPR and equipment
Technical field
The application relates to the network communications technology, Resilient Packet Ring (the RPR:Resilient Packet Ring) implementation method particularly in software defined network (SDN:Software Defined Network) and equipment.
Background technology
SDN is a kind of new network framework, for the control plane of the network equipment is extracted from the network equipment of dispersion, form a concentrated controller, this controller can be operated on cloud server array, by means of the powerful calculating ability of cloud server, complete every affairs such as the collecting topology of whole network, Business Processing and forwarding decision.
RPR, that a kind of novel media interviews control (MAC:Media Access Control) agreement, can run on phototiming network (SONET:Synchronous Optical Network)/SDH (Synchronous Digital Hierarchy) (SDH:Synchronous Digital Hierarchy), level of confidentiality wavelength division multiplexing (DWDM:Dense Wavelength Division Multiplexing) and Ethernet, for broadband IP MAN operator provides flexible and efficient networking plan.
RPR adopts reverse twin nuclei, and data forward among the nodes along looped network, as shown in Figure 1.The technical term that RPR relates to first is described below:
0 ring: in RPR dicyclo, dataframe direction is clockwisely be called 0 ring, also claims Outer Ring (outer shroud), specifically as shown in Figure 1.
1 ring: in RPR dicyclo, dataframe direction is counterclockwise be called 1 ring, also claims Inner Ring (inner ring), specifically as shown in Figure 1.
Node (Station): the equipment on RPR looped network, is responsible for receiving and forwarding data frame, also can be described as RPR node here.
Link (Link): the one section of transmission channel connecting adjacent node, is connected by two links that direction is contrary between adjacent node.
Section (Span): the link on RPR looped network between two adjacent nodes, two links contrary by direction form.
Territory (Domain): multiple continuous print section constitutes territory with the node on these sections.
West is to port: on 1 ring, send Frame, the physical port of receiving data frames on 0 ring.
East orientation port: send Frame on 0 ring, the physical port of receiving data frames on 1 ring.
Limit (Edge): when section or the one malfunctions adjacent with section, section just can not become limit by forwarding data.
Ring status: be divided into closed loop and open loop.The ring that there is not limit is closed loop, and the ring that there is limit is open loop.
The pretection switch of RPR comprises six priority, is followed successively by according to priority order from high to low:
FS (Forced Switch): Forced Switch;
SF (Signal Fail): Signal Fail is relevant to present physical state;
SD (Signal Degrade): signal attenuation is relevant with present physical state;
MS (Manual Switch): Manual Switch;
WTR (Wait to Restore): Wait-to-Restore;
IDLE: idle.
Above simple description is carried out to the technical term of RPR.
In the Topology Discovery process of RPR, mutually transmit topology protection (TP:Topology Protection) frame, Attribute Discovery (ATD:Attribute Discovery) frame and topological School Affairs (TC:Topology Checksum) frame mainly through node each on RPR and carry out Topology Discovery to propagate topology information.But still do not have a kind of method can realize completing the Topology Discovery of RPR in SDN at present.
Summary of the invention
This application provides topology discovery method and the equipment of SDN Elastic grouping ring RPR, to realize the Topology Discovery of RPR in SDN.
The technical scheme that the application provides comprises:
A topology discovery method of software defined network SDN Elastic grouping ring RPR, the method is applied to SDN controller, comprising:
Secure tunnel is set up with the network equipment; The non-customer end equipment that the described network equipment is hung under comprising RPR node and RPR node;
Periodically send Trigger message by secure tunnel to the network equipment, after receiving Trigger message with trigger network equipment, send Link Layer Discovery Protocol LLDP message by local port;
By the network information relevant to network topology that the secure tunnel reception network equipment reports;
Check whether this locality stores the described network information, if not, increases the described network information newly in this locality, and calculate the topology of whole network according to the local all-network information stored.
A topology discovery method of software defined network SDN Elastic grouping ring RPR, the method is applied to the network equipment, and the described network equipment is RPR node or the non-customer end equipment for hanging under RPR node, comprising:
Secure tunnel is set up with SDN controller;
The Trigger message that SDN controller sends is received by the secure tunnel set up with SDN controller, and sending Link Layer Discovery Protocol LLDP message by local all of the port, LLDP message at least carries following information: the port information of facility information and transmission LLDP message; Wherein, when the described network equipment is RPR node, also need this LLDP message to carry out RPR encapsulation when sending LLDP message by the port on the local RPR of connection;
Receive LLDP message, the information of the facility information of this equipment, this equipment port information receiving LLDP message and the LLDP message received being carried is sent to described SDN controller as the network information relevant with network topology by the secure tunnel set up with SDN controller together.
A Topology Discovery equipment of software defined network SDN Elastic grouping ring RPR, this equipment is applied to SDN controller, comprising:
Tunnel processing unit, for setting up secure tunnel with the network equipment; The non-customer end equipment that the described network equipment is hung under comprising each RPR node and RPR node;
Transmitting element, for periodically sending Trigger message by secure tunnel to the network equipment, by local port sends Link Layer Discovery Protocol LLDP message after receiving Trigger message with trigger network equipment;
Receiving element, for receiving the network information relevant to network topology that the network equipment reports by secure tunnel;
Inspection unit, for checking whether this locality stores the described network information;
Topology unit, for when the check result of described inspection unit is no, increases the described network information newly in this locality, and calculates the topology of whole network according to the local all-network information stored.
A Topology Discovery equipment of software defined network SDN Elastic grouping ring RPR, this equipment is applied to the network equipment, and the described network equipment is RPR node or the non-customer end equipment for hanging under RPR node, comprising:
Tunnel processing unit, for setting up secure tunnel with SDN controller;
Message reception units, receives for the secure tunnel by setting up with SDN controller the Trigger message that SDN controller sends;
Transmitting element, after receiving Trigger message for described message reception units, send Link Layer Discovery Protocol LLDP message by local all of the port, LLDP message at least carries following information: the port information of facility information and transmission LLDP message;
Message receiving element, for receiving LLDP message, the information of the facility information of this equipment, this equipment port information receiving LLDP message and the LLDP message received being carried is sent to described SDN controller as the network information relevant with network topology by the secure tunnel set up with SDN controller together.
As can be seen from the above technical solutions, the present invention can realize the Topology Discovery of RPR in SDN, and, be different from the Topology Discovery of existing RPR, present invention eliminates each network equipment in existing RPR Topology Discovery adopts TP frame, ATD frame, TC frame to propagate topology information, be concentrated to unified for the function of existing RPR protocol level on SDN controller, achieve by SDN controller centralised collection network topological information.
Accompanying drawing explanation
Fig. 1 is existing RPR schematic diagram;
Fig. 2 is method flow diagram provided by the invention;
Fig. 3 is embodiment networking schematic diagram provided by the invention;
The equipment structure chart that Fig. 4 provides for the embodiment of the present invention;
The hardware device structure chart that Fig. 5 provides for the embodiment of the present invention;
Another equipment structure chart that Fig. 6 provides for the embodiment of the present invention;
Another device hardware structure chart that Fig. 7 provides for the embodiment of the present invention.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearly, describe the present invention below in conjunction with the drawings and specific embodiments.
Method provided by the invention, the Topology Discovery of RPR can be realized in SDN, and, this Topology Discovery is different from the Topology Discovery of existing RPR, be specially: present invention eliminates each network equipment in existing RPR Topology Discovery and adopt TP frame, ATD frame, TC frame to propagate topology information, be concentrated to unified for the function of existing RPR protocol level on SDN controller, achieve by SDN controller centralised collection network topological information.
Below by Fig. 2, method provided by the invention is described:
Be method flow diagram provided by the invention see Fig. 2, Fig. 2.In the method, for ease of describing, the non-customer end equipment hung under the RPR node on RPR and RPR node and non-PC equipment are collectively referred to as the network equipment by the present invention.
As shown in Figure 2, this flow process can comprise the following steps:
Step 201, SDN controller and the network equipment set up secure tunnel (Channel).
In this step 201, the secure tunnel between SDN controller and the network equipment can human configuration, also can according to setting means Dynamic Establishing, and the present invention does not specifically limit.
As shown in Figure 3, RPR node has hung switch and non-customer end equipment for 1 time, and RPR node hangs PC and client device 3 times, then based on step 201, SDN controller just with the RPR node 1 to 5 in Fig. 3, and the switch that RPR node 1 time is hung sets up secure tunnel, specifically dotted line as shown in Figure 3.
Step 202, SDN controller periodically sends Trigger message to each network equipment by the secure tunnel set up.
As a kind of embodiment, the Packet-Out message that Trigger message can be the definition of existing SDN is identical.
As another kind of embodiment, Trigger message also can be the Packet-Out message that existing SDN is defined improve as follows after message: the Link Layer Discovery Protocol LLDP message that the Packet-Out message removing the definition of existing SDN is carried.
Step 203, the network equipment receives by the secure tunnel set up with SDN controller the Trigger message that SDN controller sends, and sends LLDP message by local all of the port.
Here, the LLDP message that the network equipment sends at least carries following information: the port information facility information of the network equipment and the network equipment sending LLDP message, wherein, when the network equipment is as RPR node, when being connected the port on RPR by this locality (because RPR node essence is hardware twin nuclei, there is the physical interface of each subring corresponding in it, therefore, this locality described here port essence connected on RPR is the physical interface of corresponding two subrings) also need this LLDP message to carry out RPR encapsulation when sending LLDP message, namely a RPR frame head is added to LLDP message, wherein, the target MAC (Media Access Control) address of this RPR frame head is consistent with the Ethernet target MAC (Media Access Control) address of LLDP message, being preassigned MAC Address is such as 01-80-C2-00-00-0E, and the source MAC of RPR frame head is just for sending the MAC Address of the port of LLDP message.
As shown in Figure 3, when RPR node 1 to 5, and when the switch hung of RPR node 1 time receives the Trigger message that SDN controller issues, RPR node 1 to 5, and the switch that RPR node is hung for 1 time will send LLDP message by local all of the port.Now, just exuberant a large amount of LLDP message in the whole network shown in Fig. 3.When RPR node 1 to 5, and when the switch of RPR node 1 time extension receives LLDP message, following step 204 will be performed.
Step 204, when the network equipment receives LLDP message, the information of the facility information of this equipment, this equipment port information receiving LLDP message and the LLDP message received being carried is sent to SDN controller as the network information relevant with network topology by the secure tunnel set up with SDN controller together.
Can be found out by step 204, the network equipment receives LLDP message, will trigger the operation sending the network information relevant to network topology to SDN controller.This that is, when the network equipment receives message, it first can identify whether this message is LLDP message, if so, then perform step 204, if not, then do not perform step 204.Here, when the message that the RPR node that the network equipment receives sends, this message can encapsulate RPR frame head, because the target MAC (Media Access Control) address of RPR frame head is exactly, the Ethernet target MAC (Media Access Control) address of the message of its encapsulation is (when message is LLDP message, the Ethernet target MAC (Media Access Control) address of this message is the MAC Address of specifying), so, according to the target MAC (Media Access Control) address of RPR frame head, the network equipment can directly determine whether the message that this RPR frame head encapsulates is LLDP message.And when the network equipment receives the message of non-customer end equipment transmission, then can only identify whether this message is LLDP message according to the property parameters of this message, this recognition category, like the identification of existing LLDP message, repeats no more.
Preferably, as one embodiment of the present of invention, in this step 204, the network equipment port information that the facility information of this equipment, this equipment can be received LLDP message and the LLDP message the received information of carrying is encapsulated in Packet-In message as the network information relevant with network topology and is sent to SDN controller together.
Step 205, whether SDN controller inspection this locality stores the network information that the network equipment reports, and if not, then increases the network information that the network equipment reports newly in this locality, and calculates the topology of whole network according to the local all-network information stored.
Still for Fig. 3, when if the secure tunnel between the switch that SDN controller is hung by RPR node 1 time receives the network information that switch that RPR node hangs for 1 time reports, the network information that RPR node 1 to 5 reports has been stored in this locality, the network information that the switch that then SDN controller increases RPR node 1 time extension newly in this locality reports, and recalculate a network topological diagram based on the network information that the switch that RPR node 1 to 5 and newly-increased RPR node are hung for 1 time reports.Here, the mode of SDN controller generating network topological diagram is consistent with existing mode, repeats no more.
Preferably, in this step 205, when SDN controller inspection this locality stores the network information that the network equipment reports, then do not perform any process.
It should be noted that, in the present invention, when after SDN controller generating network topological diagram, it according to the definition of 0 ring and 1 ring, can specify 0 ring on RPR and 1 ring, simultaneously, also correspondingly can specify the port each RPR node connecting RPR, namely east orientation port and west are to port, here, RPR node receives the port of message for west is to port on 0 ring, and the port that 1 ring receives message is east orientation port.Such as, in Fig. 3, the ring of specifying thick line composition is 0 ring, the ring of specifying fine rule composition is 1 ring, specifies the port each RPR node connecting RPR, with RPR node for 1 simultaneously, specify the port connecting thick line to be western to port, specify the port connecting fine rule to be east orientation port.
So far, the flow process shown in Fig. 2 is completed.
As can be seen from Figure 2, the present invention can realize the Topology Discovery of RPR in SDN, and, this Topology Discovery is different from the Topology Discovery of existing RPR, it eliminates each network equipment in existing RPR Topology Discovery and adopts TP frame, ATD frame, TC frame to propagate topology information, just be concentrated to unified for the function of existing RPR protocol level on SDN controller, achieve by SDN controller centralised collection network topological information.
It should be noted that, in the present invention, also can perform the operation that following RPR link is abnormal and recovery is corresponding:
RPR link is abnormal:
Here, RPR link is abnormal at least comprises: RPR link failure (SF), and/or RPR link signal decay (SD).
When the link that RPR nodal test to be connected to it on RPR is abnormal, it can send abnormal notice by the secure tunnel between SDN controller to SDN controller.Here, abnormal notice realizes by the Port-Status message in Openflow.
For the RPR node 1 in Fig. 3, when such as link 1 is abnormal for the link that RPR nodal test to be connected to it on RPR, it can send abnormal notice by the secure tunnel between SDN controller to SDN controller.
In the present invention, abnormal notice can carry anomaly link information, such as, this RPR node connects the port of this anomaly link, the port one of RPR node 1 in such as Fig. 3.
After SDN controls to be received abnormal notice by secure tunnel, it can first according to the network information corresponding to the abnormal anomaly link information notifying to find this exception to notify to carry in this locality, such as anomaly link information is that the port one of RPR node 1 is abnormal, then find the network information of the port one comprising RPR node 1, afterwards, local other all-network information except the network information that this finds stored are utilized to recalculate the topology of whole network.Also namely, SDN controller has recalculated network topology.Preferably, in the present invention, SDN controller is after finding the network information corresponding to anomaly link information, the network information corresponding to this anomaly link information found can be deleted in this locality, or the network information directly corresponding to the mark anomaly link information of this locality is abnormal, so that after anomaly link recovery, this network information corresponding to anomaly link information of direct recovery, no longer recalculates topological diagram.
RPR link is from abnormal restoring:
In the present invention, if RPR nodal test is connected to link on RPR from abnormal restoring to it, then can send abnormal restoring notice by secure tunnel to SDN controller;
After SDN controller receives abnormal restoring notice, perform the operation sending Trigger message in similar above-mentioned steps 202 to each network equipment.Return above-mentioned steps 203 to step 205 afterwards.
So far, RPR link exception and the description from abnormal restoring is completed.
Also have, in the present invention, when the Forced Switch (FS) that the link that SDN controller is known on RPR carries out or Manual Switch (MS) come into force, find the network information that the link of Forced Switch or Manual Switch is corresponding in its all-network information that can store in this locality, utilize local other all-network information except the network information that this finds stored to recalculate the topology of whole network.Here, Forced Switch or Manual Switch are carried out to the link on RPR and is realized by configuration order on SDN controller, when order comes into force, also just mean that the Forced Switch of the link configuration on RPR or Manual Switch come into force.
It should be noted that, in the present invention, whenever generating network topology, also need to perform following steps 1 and step 2 further:
Step 1, according to the ring selection strategy of configuration and the topology of whole network of calculating, for the ring selection table that each RPR node calculate is corresponding, and by secure tunnel, the ring selection table for each RPR node calculate is issued to each RPR node (issuing by Openflow rule) respectively here; Here, generate the mode of the similar existing generation ring selection table of mode of ring selection table, repeat no more.
Step 2, is that the non-customer end equipment hung under each RPR node calculates corresponding RPR MAC address entries according to the network topology calculated, and is issued to each RPR node, to avoid unnecessary message at whole network flood.
In addition, the situation when non-customer end equipment hung under present invention also offers RPR node is removed:
In the present invention, when the non-customer end equipment hung under RPR node is removed, RPR node can send signalling trouble to SDN controller by secure tunnel;
When SDN controller receives signalling trouble by secure tunnel, its non-customer end equipment hung under knowing RPR node based on described signalling trouble is removed, then can send to all RPR nodes and delete notice, with when each RPR node receives this notice, it can delete RPR MAC address entries corresponding to this non-customer end equipment be removed.
Further, situation during link failure between the non-customer end equipment that present invention also offers RPR node and lower extension:
In the present invention, during link failure between RPR node and the non-customer end equipment of lower extension, the non-customer end equipment of RPR node and/or lower extension can send signalling trouble by secure tunnel to SDN controller; When SDN controller receives signalling trouble by secure tunnel, the link failure between the non-customer end equipment of RPR node and lower extension is known in its meeting based on described signalling trouble, then send to all RPR nodes and delete notice, with when each RPR node receives this notice, it can delete RPR MAC address entries corresponding to this non-customer end equipment.
Afterwards, during link failure recovery between RPR node and the non-customer end equipment of lower extension, the non-customer end equipment of RPR node and/or lower extension can send fault recovery notice by secure tunnel to SDN controller, after SDN controller receives fault recovery notice, its meeting knows the link failure recovery between the non-customer end equipment of RPR node and lower extension according to described fault recovery notice, the network information of this non-customer end equipment then again stored according to this locality is that this non-customer end equipment calculates corresponding RPR MAC address entries, and is issued to each RPR node and stores.
So far, complete method provided by the invention to describe.
Below equipment provided by the invention is described:
See the equipment structure chart that Fig. 4, Fig. 4 provide for the embodiment of the present invention.This equipment is applied to SDN controller, and as shown in Figure 4, this equipment can comprise:
Tunnel processing unit, for setting up secure tunnel with the network equipment; The non-customer end equipment that the described network equipment is hung under comprising each RPR node and RPR node;
Transmitting element, for periodically sending Trigger message by secure tunnel to the network equipment, by local port sends Link Layer Discovery Protocol LLDP message after receiving Trigger message with trigger network equipment;
Receiving element, for receiving the network information relevant to network topology that the network equipment reports by secure tunnel;
Inspection unit, for checking whether this locality stores the described network information;
Topology unit, for when the check result of described inspection unit is no, increases the described network information newly in this locality, and calculates the topology of whole network according to the local all-network information stored.
Preferably, described receiving element further by secure tunnel receive RPR node detect its be connected to link on RPR abnormal time the exception notice that sends, described abnormal notice carries anomaly link information; Described link is abnormal at least to be comprised: link failure SF, and/or link signal decay SD;
Described topology unit finds the network information corresponding to the described anomaly link information extremely notifying to carry further in the network information of this locality storage, utilizes local other all-network information except the network information that this finds stored to recalculate the topology of whole network;
Preferably; described receiving element receives RPR node detecting that it is connected to link on RPR from the abnormal restoring notice sent during abnormal restoring further by secure tunnel, and triggers described transmitting element sends Trigger message to each network equipment operation by secure tunnel.
Preferably, this equipment comprises further:
Detecting unit, whether the Forced Switch FS that the link for detecting on RPR carries out or Manual Switch MS comes into force;
When the Forced Switch FS that the link that described topology unit detects on RPR at described detecting unit further carries out or Manual Switch MS comes into force, in the all-network information that this locality stores, find the network information that the link of Forced Switch or Manual Switch is corresponding, utilize local other all-network information except the network information that this finds stored to recalculate the topology of whole network.
Preferably, described topology unit is further according to the ring selection strategy of configuration and the topology of whole network of calculating, for the ring selection table that each RPR node calculate is corresponding, and by the secure tunnel between each RPR node, the ring selection table for each RPR node calculate is issued to each RPR node respectively; And,
Be that non-customer end equipment calculates corresponding RPR MAC address entries according to the network information that reports of non-customer end equipment that this locality stores, and be issued to each RPR node by the secure tunnel between each RPR node.
Preferably, described receiving element receives the signalling trouble of RPR node transmission further by secure tunnel, and described signalling trouble is that RPR node sends when its lower non-customer end equipment hung is removed or it is connected to the link failure of the non-customer end equipment of lower extension; And the fault recovery notice of RPR node transmission is received by secure tunnel, described fault recovery notice is that the link that RPR node is connected to the non-customer end equipment of lower extension at it sends from during fault recovery; And,
Fault recovery notice is received by secure tunnel, described fault recovery notice is that the link that RPR node is connected to the non-customer end equipment of lower extension at it sends from during fault recovery, or send during the link failure recovery of the non-customer end equipment hung under RPR node between itself and RPR node;
Described transmitting element sends deletion notice based on described signalling trouble to all RPR nodes further, to make this non-customer end equipment be removed of all RPR knot removals, or the RPR MAC address entries that the non-customer end equipment of link failure being connected to RPR node is corresponding; And, again this link being connected to RPR node stored according to this locality according to described fault recovery notice is that this non-customer end equipment calculates corresponding RPR MAC address entries from the network information of the non-customer end equipment of fault recovery, and is issued to each RPR node by the secure tunnel between each RPR node.
So far, complete the device structure shown in Fig. 4 to describe.
Accordingly, the hardware configuration that present invention also offers equipment shown in corresponding diagram 4 describes.As shown in Figure 5, this hardware configuration can comprise:
Memory, for depositing tunnel processing unit, transmitting element, receiving element, inspection unit, topology unit;
CPU, for depositing the program controlling tunnel processing unit, transmitting element, receiving element, inspection unit, topology unit operation respectively.
Wherein, the program that control tunnel processing unit, transmitting element, receiving element, inspection unit, topology unit are run specifically comprises the operation of above-mentioned tunnel processing unit, transmitting element, receiving element, inspection unit, topology unit execution, repeats no more here.
Preferably, in the present invention, memory comprises further: detecting unit;
Described CPU comprises the program controlling detecting unit and run further.Wherein, the program controlling detecting unit operation specifically can comprise the operation of above-mentioned detecting unit execution, repeats no more here.
So far, complete the hardware configuration shown in Fig. 5 to describe.
See another equipment structure chart that Fig. 6, Fig. 6 provide for the embodiment of the present invention.This equipment is applied to the network equipment, and the described network equipment is RPR node or the non-customer end equipment for hanging under RPR node, and as shown in Figure 6, this equipment can comprise:
Tunnel processing unit, for setting up secure tunnel with SDN controller;
Message reception units, receives for the secure tunnel by setting up with SDN controller the Trigger message that SDN controller sends;
Transmitting element, after receiving Trigger message for described message reception units, send Link Layer Discovery Protocol LLDP message by local all of the port, LLDP message at least carries following information: the port information of facility information and transmission LLDP message; Wherein, when the described network equipment is RPR node, also need this LLDP message to carry out RPR encapsulation when sending LLDP message by the port on the local RPR of connection;
Message receiving element, for receiving LLDP message, the information of the facility information of this equipment, this equipment port information receiving LLDP message and the LLDP message received being carried is sent to described SDN controller as the network information relevant with network topology by the secure tunnel set up with SDN controller together.
Preferably, when the described network equipment is as RPR node, this equipment comprises further:
Detecting unit, at the described network equipment as RPR node, when detect its be connected to link on RPR abnormal time, sends abnormal notice by the secure tunnel set up with SDN controller to SDN controller, described exception notice carries anomaly link information; Described link is abnormal at least to be comprised: link failure SF, or link signal decay SD; When detecting that it is connected to link on RPR from abnormal restoring, sending abnormal restoring by the secure tunnel set up with SDN controller to SDN controller and notifying; Secure tunnel when detecting that its lower non-customer end equipment hung is removed or it is connected to the link failure of the non-customer end equipment of lower extension by setting up with SDN controller sends signalling trouble to SDN controller; When detecting that link that it is connected to the non-customer end equipment of lower extension notifies from sending fault recovery by the secure tunnel set up with SDN controller to SDN controller during fault recovery;
And, during the non-customer end equipment hung under the described network equipment is as RPR node, when detecting that it is connected to the link failure of RPR node, send signalling trouble by the secure tunnel set up with SDN controller to SDN controller; When detecting that link that it is connected to RPR node notifies from sending fault recovery by the secure tunnel set up with SDN controller to SDN controller during fault recovery.
Preferably, when the described network equipment is as RPR node, this equipment comprises further:
Memory cell, receives for the secure tunnel by setting up with SDN controller and stores the ring selection table for this RPR node calculate that SDN controller sends; And, received by the secure tunnel set up with SDN controller and the RPRMAC list item calculated for the non-customer end equipment hung under RPR node storing that SDN controller sends; And, receive by the secure tunnel set up with SDN controller the deletion that SDN controller sends and notify, to delete the non-customer end equipment that this is removed, or the RPR MAC address entries that the non-customer end equipment of link failure being connected to RPR node is corresponding; And being received by the secure tunnel set up with SDN controller and storing SDN controller is RPR MAC address entries that the link being connected to RPR node calculates from the non-customer end equipment of fault recovery again.
So far, the device description shown in Fig. 6 is completed.
The hardware configuration that present invention also offers equipment shown in corresponding diagram 6 describes.As shown in Figure 7, this equipment can comprise:
Memory, for depositing tunnel processing unit, message reception units, transmitting element, message receiving element;
CPU, for depositing the program controlling tunnel processing unit, message reception units, transmitting element, the operation of message receiving element.
The program that control tunnel processing unit, message reception units, transmitting element, message receiving element run comprises the operation of above-mentioned tunnel processing unit, message reception units, transmitting element, the execution of message receiving element respectively, repeats no more here.
Preferably, memory comprises further: detecting unit, memory cell;
CPU comprises further: the program controlling detecting unit, memory cell operation.
Wherein, control the operation that program comprises above-mentioned detecting unit respectively, memory cell performs of detecting unit, memory cell operation, repeat no more here.
So far, the hardware configuration completing the equipment shown in Fig. 7 describes.
Above equipment provided by the invention is described.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (16)

1. a topology discovery method of software defined network SDN Elastic grouping ring RPR, is characterized in that, the method is applied to SDN controller, comprising:
Secure tunnel is set up with the network equipment; The non-customer end equipment that the described network equipment is hung under comprising RPR node and RPR node;
Periodically send Trigger message by secure tunnel to the network equipment, after receiving Trigger message with trigger network equipment, send Link Layer Discovery Protocol LLDP message by local port;
By the network information relevant to network topology that the secure tunnel reception network equipment reports;
Check whether this locality stores the described network information, if not, increases the described network information newly in this locality, and calculate the topology of whole network according to the local all-network information stored.
2. method according to claim 1, is characterized in that, the method comprises further:
By secure tunnel receive RPR node detect its be connected to link on RPR abnormal time the exception notice that sends, described abnormal notice carries anomaly link information; Described link is abnormal at least to be comprised: link failure SF, and/or link signal decay SD;
In the network information that this locality stores, find the network information corresponding to the described anomaly link information extremely notifying to carry, utilize local other all-network information except the network information that this finds stored to recalculate the topology of whole network;
Receive RPR node detecting that it is connected to link on RPR from the abnormal restoring notice sent during abnormal restoring by secure tunnel, and pass back through secure tunnel sends operation from Trigger message to each network equipment.
3. method according to claim 1, is characterized in that, the method comprises further:
When detecting that Forced Switch FS that the link on RPR carries out or Manual Switch MS comes into force, in the all-network information that this locality stores, find the network information that the link of Forced Switch or Manual Switch is corresponding, utilize local other all-network information except the network information that this finds stored to recalculate the topology of whole network.
4., according to the arbitrary described method of claims 1 to 3, it is characterized in that, the topology calculating whole network comprises further:
According to the ring selection strategy of configuration and the topology of whole network of calculating, be the ring selection table that each RPR node calculate is corresponding, and by the secure tunnel between each RPR node, the ring selection table for each RPR node calculate be issued to each RPR node respectively;
Be that non-customer end equipment calculates corresponding RPR MAC address entries according to the network information that reports of non-customer end equipment that this locality stores, and be issued to each RPR node respectively by the secure tunnel between each RPR node.
5. method according to claim 4, is characterized in that, the method comprises further:
Receive signalling trouble by secure tunnel, described signalling trouble is that RPR node sends when its lower non-customer end equipment hung is removed or it is connected to the link failure of the non-customer end equipment of lower extension; Or send during the link failure of the non-customer end equipment hung under RPR node between itself and RPR node;
To send to all RPR nodes based on described signalling trouble and delete notice, to make this non-customer end equipment be removed of all RPR knot removals, or the RPR MAC address entries that the non-customer end equipment of link failure being connected to RPR node is corresponding;
Fault recovery notice is received by secure tunnel, described fault recovery notice is that the link that RPR node is connected to the non-customer end equipment of lower extension at it sends from during fault recovery, or send during the link failure recovery of the non-customer end equipment hung under RPR node between itself and RPR node;
Again this link being connected to RPR node stored according to this locality according to described fault recovery notice is that this non-customer end equipment calculates corresponding RPR MAC address entries from the network information of the non-customer end equipment of fault recovery, and is issued to each RPR node by the secure tunnel between each RPR node.
6. a topology discovery method of software defined network SDN Elastic grouping ring RPR, it is characterized in that, the method is applied to the network equipment, and the described network equipment is RPR node or the non-customer end equipment for hanging under RPR node, comprising:
Secure tunnel is set up with SDN controller;
The Trigger message that SDN controller sends is received by the secure tunnel set up with SDN controller, and sending Link Layer Discovery Protocol LLDP message by local all of the port, LLDP message at least carries following information: the port information of facility information and transmission LLDP message;
Receive LLDP message, the information of the facility information of this equipment, this equipment port information receiving LLDP message and the LLDP message received being carried is sent to described SDN controller as the network information relevant with network topology by the secure tunnel set up with SDN controller together.
7. method according to claim 6, is characterized in that, when as RPR node, the method comprises further:
When detect its be connected to link on RPR abnormal time, sends abnormal notice by the secure tunnel set up with SDN controller to SDN controller, described exception notice carries anomaly link information; Described link is abnormal at least to be comprised: link failure SF, or link signal decay SD;
When detecting that it is connected to link on RPR from abnormal restoring, sending abnormal restoring by the secure tunnel set up with SDN controller to SDN controller and notifying;
When detecting that its lower non-customer end equipment hung is removed or it is connected to the link failure of non-customer end equipment of lower extension, send signalling trouble by the secure tunnel set up with SDN controller to SDN controller;
When detecting that link that it is connected to the non-customer end equipment of lower extension notifies from sending fault recovery by the secure tunnel set up with SDN controller to SDN controller during fault recovery;
During the non-customer end equipment hung under as RPR node, the method comprises further:
When detecting that it is connected to the link failure of RPR node, send signalling trouble by the secure tunnel set up with SDN controller to SDN controller;
When detecting that link that it is connected to RPR node notifies from sending fault recovery by the secure tunnel set up with SDN controller to SDN controller during fault recovery.
8. method according to claim 7, is characterized in that, when as RPR node, the method comprises further:
Received by the secure tunnel set up with SDN controller and store the ring selection table for this RPR node calculate that SDN controller sends;
Received by the secure tunnel set up with SDN controller and the RPR MAC address entries calculated for the non-customer end equipment hung under RPR node storing that SDN controller sends;
Receive by the secure tunnel set up with SDN controller the deletion that SDN controller sends to notify, to delete the non-customer end equipment that this is removed, or the RPR MAC address entries that the non-customer end equipment of link failure being connected to RPR node is corresponding;
Being received by the secure tunnel set up with SDN controller and storing SDN controller is RPR MAC address entries that the link being connected to RPR node calculates from the non-customer end equipment of fault recovery again.
9. a Topology Discovery equipment of software defined network SDN Elastic grouping ring RPR, is characterized in that, this equipment is applied to SDN controller, comprising:
Tunnel processing unit, for setting up secure tunnel with the network equipment; The non-customer end equipment that the described network equipment is hung under comprising each RPR node and RPR node;
Transmitting element, for periodically sending Trigger message by secure tunnel to the network equipment, by local port sends Link Layer Discovery Protocol LLDP message after receiving Trigger message with trigger network equipment;
Receiving element, for receiving the network information relevant to network topology that the network equipment reports by secure tunnel;
Inspection unit, for checking whether this locality stores the described network information;
Topology unit, for when the check result of described inspection unit is no, increases the described network information newly in this locality, and calculates the topology of whole network according to the local all-network information stored.
10. equipment according to claim 9, is characterized in that, described receiving element receive further RPR node detect its be connected to link on RPR abnormal time the exception notice that sent by secure tunnel, described abnormal notice carries anomaly link information; Described link is abnormal at least to be comprised: link failure SF, and/or link signal decay SD;
Described topology unit finds the network information corresponding to the described anomaly link information extremely notifying to carry further in the network information of this locality storage, utilizes local other all-network information except the network information that this finds stored to recalculate the topology of whole network;
Described receiving element receives RPR node further detecting that it is connected to link on RPR from the abnormal restoring notice sent during abnormal restoring, and triggers described transmitting element sends Trigger message to each network equipment operation by secure tunnel.
11. equipment according to claim 9, is characterized in that, this equipment comprises further:
Detecting unit, whether the Forced Switch FS that the link for detecting on RPR carries out or Manual Switch MS comes into force;
When the Forced Switch FS that the link that described topology unit detects on RPR at described detecting unit further carries out or Manual Switch MS comes into force, in the all-network information that this locality stores, find the network information that the link of Forced Switch or Manual Switch is corresponding, utilize local other all-network information except the network information that this finds stored to recalculate the topology of whole network.
12. according to the arbitrary described equipment of claim 9 to 11, it is characterized in that, described topology unit is further according to the ring selection strategy of configuration and the topology of whole network of calculating, for the ring selection table that each RPR node calculate is corresponding, and by the secure tunnel between each RPR node, the ring selection table for each RPR node calculate is issued to each RPR node respectively; And,
Be that non-customer end equipment calculates corresponding RPR MAC address entries according to the network information that reports of non-customer end equipment that this locality stores, and be issued to each RPR node respectively by the secure tunnel between each RPR node.
13. equipment according to claim 12, it is characterized in that, described receiving element receives the signalling trouble of RPR node transmission further by secure tunnel, and described signalling trouble is that RPR node sends when its lower non-customer end equipment hung is removed or it is connected to the link failure of the non-customer end equipment of lower extension; And the fault recovery notice of RPR node transmission is received by secure tunnel, described fault recovery notice is that the link that RPR node is connected to the non-customer end equipment of lower extension at it sends from during fault recovery;
Described transmitting element sends deletion notice based on described signalling trouble to all RPR nodes further, to make this non-customer end equipment be removed of all RPR knot removals, or the RPR MAC address entries that the non-customer end equipment of link failure being connected to RPR node is corresponding; And, again this link being connected to RPR node stored according to this locality according to described fault recovery notice is that this non-customer end equipment calculates corresponding RPR MAC address entries from the network information of the non-customer end equipment of fault recovery, and is issued to each RPR node by the secure tunnel between each RPR node.
The Topology Discovery equipment of 14. 1 kinds of software defined network SDN Elastic grouping ring RPR, it is characterized in that, this equipment is applied to the network equipment, and the described network equipment is RPR node or the non-customer end equipment for hanging under RPR node, comprising:
Tunnel processing unit, for setting up secure tunnel with SDN controller;
Message reception units, receives for the secure tunnel by setting up with SDN controller the Trigger message that SDN controller sends;
Transmitting element, after receiving Trigger message for described message reception units, send Link Layer Discovery Protocol LLDP message by local all of the port, LLDP message at least carries following information: the port information of facility information and transmission LLDP message;
Message receiving element, for receiving LLDP message, the information of the facility information of this equipment, this equipment port information receiving LLDP message and the LLDP message received being carried is sent to described SDN controller as the network information relevant with network topology by the secure tunnel set up with SDN controller together.
15. equipment according to claim 14, is characterized in that, this equipment comprises further:
Detecting unit, at the described network equipment as RPR node, when detect its be connected to link on RPR abnormal time, sends abnormal notice by the secure tunnel set up with SDN controller to SDN controller, described exception notice carries anomaly link information; Described link is abnormal at least to be comprised: link failure SF, or link signal decay SD; When detecting that it is connected to link on RPR from abnormal restoring, sending abnormal restoring by the secure tunnel set up with SDN controller to SDN controller and notifying; Secure tunnel when detecting that its lower non-customer end equipment hung is removed or it is connected to the link failure of the non-customer end equipment of lower extension by setting up with SDN controller sends signalling trouble to SDN controller; When detecting that link that it is connected to the non-customer end equipment of lower extension notifies from sending fault recovery by the secure tunnel set up with SDN controller to SDN controller during fault recovery;
And, during the non-customer end equipment hung under the described network equipment is as RPR node, when detecting that it is connected to the link failure of RPR node, send signalling trouble by the secure tunnel set up with SDN controller to SDN controller; When detecting that link that it is connected to RPR node notifies from sending fault recovery by the secure tunnel set up with SDN controller to SDN controller during fault recovery.
16. equipment according to claim 14, is characterized in that, when the described network equipment is as RPR node, this equipment comprises further:
Memory cell, receives for the secure tunnel by setting up with SDN controller and stores the ring selection table for this RPR node calculate that SDN controller sends; And, received by the secure tunnel set up with SDN controller and the RPRMAC list item calculated for the non-customer end equipment hung under RPR node storing that SDN controller sends; And, receive by the secure tunnel set up with SDN controller the deletion that SDN controller sends and notify, to delete the non-customer end equipment that this is removed, or the RPR MAC address entries that the non-customer end equipment of link failure being connected to RPR node is corresponding; And being received by the secure tunnel set up with SDN controller and storing SDN controller is RPR MAC address entries that the link being connected to RPR node calculates from the non-customer end equipment of fault recovery again.
CN201410527358.XA 2014-10-09 2014-10-09 The topology discovery method and equipment of RPR in SDN Active CN104283790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410527358.XA CN104283790B (en) 2014-10-09 2014-10-09 The topology discovery method and equipment of RPR in SDN

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410527358.XA CN104283790B (en) 2014-10-09 2014-10-09 The topology discovery method and equipment of RPR in SDN

Publications (2)

Publication Number Publication Date
CN104283790A true CN104283790A (en) 2015-01-14
CN104283790B CN104283790B (en) 2017-09-15

Family

ID=52258287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410527358.XA Active CN104283790B (en) 2014-10-09 2014-10-09 The topology discovery method and equipment of RPR in SDN

Country Status (1)

Country Link
CN (1) CN104283790B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105553842A (en) * 2015-12-10 2016-05-04 华南理工大学 Network dormancy-based user autonomic routing method
CN105721318A (en) * 2016-02-29 2016-06-29 华为技术有限公司 Method and device for discovering network topology in software defined network SDN (Software Defined Network)
WO2016116050A1 (en) * 2015-01-23 2016-07-28 华为技术有限公司 Failure protection method, device and system for ring protection link
CN106301541A (en) * 2015-06-05 2017-01-04 中兴通讯股份有限公司 The method of service protection, controller and optical network device are set
CN106899507A (en) * 2017-01-16 2017-06-27 新华三技术有限公司 A kind of file transmitting method and device
CN107438016A (en) * 2017-07-28 2017-12-05 深圳市万网博通科技有限公司 Network management, equipment, system and storage medium
US11223597B2 (en) 2017-12-11 2022-01-11 Huawei Technologies Co., Ltd. Network and network management method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003067843A1 (en) * 2002-02-06 2003-08-14 Wuhan Fiberhome Networks Co., Ltd Resilient multiple service ring
CN101262399A (en) * 2007-03-08 2008-09-10 华为技术有限公司 A cross-loop RPR two point failure processing method and system
US20110058501A1 (en) * 2009-09-07 2011-03-10 Fujitsu Limited Node apparatus and route calculation method
CN102301662A (en) * 2011-06-27 2011-12-28 华为技术有限公司 MAC address protection method and switches
CN101366243B (en) * 2006-01-06 2012-02-08 日本电气株式会社 Communication system, communication method, node, and node program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003067843A1 (en) * 2002-02-06 2003-08-14 Wuhan Fiberhome Networks Co., Ltd Resilient multiple service ring
CN101366243B (en) * 2006-01-06 2012-02-08 日本电气株式会社 Communication system, communication method, node, and node program
CN101262399A (en) * 2007-03-08 2008-09-10 华为技术有限公司 A cross-loop RPR two point failure processing method and system
US20110058501A1 (en) * 2009-09-07 2011-03-10 Fujitsu Limited Node apparatus and route calculation method
CN102301662A (en) * 2011-06-27 2011-12-28 华为技术有限公司 MAC address protection method and switches

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10708081B2 (en) 2015-01-23 2020-07-07 Huawei Technologies Co., Ltd. Failure protection method based on ring protection link, device, and system
WO2016116050A1 (en) * 2015-01-23 2016-07-28 华为技术有限公司 Failure protection method, device and system for ring protection link
CN106301541A (en) * 2015-06-05 2017-01-04 中兴通讯股份有限公司 The method of service protection, controller and optical network device are set
CN106301541B (en) * 2015-06-05 2019-07-30 中兴通讯股份有限公司 Method, controller and the optical network device of service protection are set
CN105553842A (en) * 2015-12-10 2016-05-04 华南理工大学 Network dormancy-based user autonomic routing method
CN105553842B (en) * 2015-12-10 2019-04-09 华南理工大学 A kind of autonomous method for routing of user based on net dormancy
CN105721318B (en) * 2016-02-29 2018-12-25 华为技术有限公司 The method and apparatus of network topology are found in a kind of software defined network SDN
CN105721318A (en) * 2016-02-29 2016-06-29 华为技术有限公司 Method and device for discovering network topology in software defined network SDN (Software Defined Network)
CN106899507A (en) * 2017-01-16 2017-06-27 新华三技术有限公司 A kind of file transmitting method and device
CN106899507B (en) * 2017-01-16 2019-12-06 新华三技术有限公司 message sending method and device
CN107438016A (en) * 2017-07-28 2017-12-05 深圳市万网博通科技有限公司 Network management, equipment, system and storage medium
CN107438016B (en) * 2017-07-28 2021-04-06 深圳市万网博通科技有限公司 Network management method, device, system and storage medium
US11223597B2 (en) 2017-12-11 2022-01-11 Huawei Technologies Co., Ltd. Network and network management method

Also Published As

Publication number Publication date
CN104283790B (en) 2017-09-15

Similar Documents

Publication Publication Date Title
CN104283790A (en) Topology discovery method and equipment of resilient packet ring (RPR) in SDN
US9515845B2 (en) Utility communication method and system
US9461841B2 (en) Communication system, communication method, node, and program for node
CN110324165B (en) Network equipment management method, device and system
US20150249572A1 (en) Software-Defined Network Control Using Functional Objects
CN101286922B (en) Signalling control method, system and apparatus
CN102104520B (en) Ring network protection method and device based on topology information
JPWO2007086157A1 (en) Network system
US9800521B2 (en) Network switching systems and methods
CN101414963A (en) Method and apparatus for automatic topological discover and resource management in PBB TE network
WO2019056909A1 (en) Centralized automatic link discover system and method for otn network
CN104283802A (en) Neighbor discovery method and device
CN105790988B (en) Method and device for realizing operation maintenance management function
CN104065571A (en) Broadcast message processing method, device and system
CN104980302A (en) STP-based method for removing redundancy link under SDN framework
CN104618150A (en) Business configuration method and system under two layer-to-three layer business scene of PTN
WO2018001225A1 (en) Method, device and system for monitoring far-end net element
CN103916318A (en) Single-loop network implementation method
CN104125079B (en) A kind of method and device for determining two-node cluster hot backup configuration information
CN101453412A (en) Method and apparatus for automatic topology discovery and resource management in PBB network
CN104320322A (en) Message control method and equipment
CN105790984B (en) Configuration and implementation method of operation maintenance management function and forwarding equipment
WO2016206010A1 (en) Link fault location method, apparatus and system
KR101802037B1 (en) Method and system of transmitting oam message for service function chaining in software defined network environment
CN101895409A (en) Method, device and system for processing operation, administration and maintenance mechanism in multipath domain

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant