CN103763146B - Soft defined network controller and transmission information generating method of soft defined network controller - Google Patents

Soft defined network controller and transmission information generating method of soft defined network controller Download PDF

Info

Publication number
CN103763146B
CN103763146B CN201410042731.2A CN201410042731A CN103763146B CN 103763146 B CN103763146 B CN 103763146B CN 201410042731 A CN201410042731 A CN 201410042731A CN 103763146 B CN103763146 B CN 103763146B
Authority
CN
China
Prior art keywords
sdn
forwarding
path
units
port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410042731.2A
Other languages
Chinese (zh)
Other versions
CN103763146A (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.)
New H3C Technologies Co Ltd
Original Assignee
New 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201410042731.2A priority Critical patent/CN103763146B/en
Publication of CN103763146A publication Critical patent/CN103763146A/en
Application granted granted Critical
Publication of CN103763146B publication Critical patent/CN103763146B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a soft defined network controller and a transmission information generating method of the soft defined network controller. The transmission information generating method includes the steps of obtaining a network topology of an SDN, obtaining VLAN information of data transmitting ports of SDN switching devices of the SDN, and generating transmission information for the SDN switching devices on a transmitting path between the inlet SDN switching device and the outlet SDN switching device of an SDN data message according to the obtained network topology and the obtained VLAN information. According to the soft defined network controller and the transmission information generating method, the transmitting information of corresponding VLANs can be generated for the SDN switching devices on the SDN data message transmitting path, and data message transmitting faults can be avoided.

Description

A kind of software defined network controller and its method for generating forwarding information
Technical field
The present invention relates to network communication technology field, more particularly to a kind of software defined network controller and its generation forwarding The method of information.
Background technology
The control plane of software defined network (SDN, Soft Defined Network) is detached with Forwarding plane. SDN controllers generate forwarding information, and SDN switching equipment perform data message forwarding according to the forwarding information that SDN controllers are generated.
When SDN switching equipment receive data message, the forwarding information of data message, such as flow table item are matched, SDN is exchanged and set It is standby that data message forwarding is performed according to forwarding information.When SDN switching equipment are not matched to the forwarding information of data message, then will Data message is encapsulated as Packet-in message by issuing SDN controllers, and SDN controllers are according to the number in Packet-in message Forwarding information is generated according to message, the forwarding information of generation is issued into SDN switching equipment or corresponding process is performed.
At present, can run on SDN controllers includes that openflow agreements, openstack are assisted with SDN switching equipment agreement View etc..
The content of the invention
It is an object of the invention to provide a kind of software defined network controller and its method for generating forwarding information, are Each SDN forwarding units generate the forwarding information of corresponding VLAN on SDN data message forwardings path, it is to avoid data message forwarding event Barrier.
For achieving the above object, the invention provides a kind of software defined network controller generates the side of forwarding information Method, including the network topology of acquisition software defined network SDN;Obtain the data forwarding end of each SDN switching equipment of SDN The vlan information of mouth;According to the entrance SDN forwarding units that the vlan information of the network topology and acquisition that obtain is SDN data messages Forwarding information is generated with each SDN forwarding units on the forward-path between outlet SDN forwarding units.
For achieving the above object, present invention also offers a kind of software defined network controller, including topology Acquiring unit, obtains the network topology of software defined network SDN;Vlan information acquiring unit, each SDN exchanges for obtaining SDN set The vlan information of standby data forwarding port;Forwarding information signal generating unit, according to the network topology for obtaining and the VLAN of acquisition letters Cease each SDN forwardings on the forward-path between the entrance SDN forwarding units and outlet SDN forwarding units for SDN data messages Equipment generates forwarding information.
The present invention can be the forwarding information that each SDN forwarding units generate corresponding VLAN on SDN data message forwardings path, Avoid data message forwarding failure.
Description of the drawings
Fig. 1 is the flow chart that software defined network controller provided in an embodiment of the present invention generates forwarding information.
Fig. 2 provides software defined network schematic diagram for the embodiment of the present invention.
Fig. 3 is another flow chart for generating forwarding information method of software defined network controller in Fig. 2.
Fig. 4 is the another flow chart for generating forwarding information method of software defined network controller in Fig. 2.
Fig. 5 is the schematic diagram of software defined network controller provided in an embodiment of the present invention.
Specific embodiment
To make the objects, technical solutions and advantages of the present invention become more apparent, develop simultaneously referring to the drawings embodiment, right The present invention program is described in further detail.
As shown in figure 1, the method that SDN controllers provided in an embodiment of the present invention generate forwarding information includes:
Step 101, obtains the network topology of software defined network SDN;
Step 102, obtains the vlan information of the data forwarding port of each SDN switching equipment of SDN;
Step 103, forwards according to the network topology for obtaining and the vlan information of acquisition for the entrance SDN of SDN data messages The each SDN forwarding units on forward-path between equipment and outlet SDN forwarding units generate forwarding information.
By the method shown in Fig. 1, can generate for each SDN forwarding units on SDN data message forwardings path corresponding The forwarding information of VLAN, it is to avoid data message forwarding failure.
As shown in Fig. 2 SDN is by the SDN controllers 20 and SDN switching equipment 21- for having run openflow agreements 29 are constituted.SDN switching equipment 24 and SDN switching equipment 26 are connected to respectively main frame 2421 and main frame 2631.SDN switching equipment 24 port 242 and the port 263 of SDN switching equipment 26 can forward SDN data messages and general data message, belong to Hybrid patterns.
The port 221 and 222, SDN switching equipment 23 of port 211-213, SDN switching equipment 22 of SDN switching equipment 21 Other ports 231-234, SDN switching equipment 24 port 241 and 242, SDN switching equipment 25 port 251-252, SDN The port 261 and 262 of switching equipment 26;The port 271-274 of SDN switching equipment 27;The port 283- of SDN switching equipment 28 284, and the port 291 and 292 of SDN switching equipment 291 can forward SDN data messages, belong to VLAN100.
The port 254 and port 253 of SDN switching equipment 25 can forward SDN data messages, be belonging respectively to VLAN200 and VLAN300.The port 281 and port 282 of SDN switching equipment 28 can forward SDN data messages, be belonging respectively to VLAN300 and VLAN200.The port 263 of SDN switching equipment 26 belongs to VLAN300.
The sending port query messages of SDN controllers 20 forward SDN numbers with all permissions for inquiring about SDN switching equipment 21-29 According to the vlan information of the port of message, when SDN switching equipment 21-29 receive interface querying information, sending port response message will Each the vlan information of the local port for allowing to forward SDN data messages issues SDN controllers 20.In the present embodiment, above-mentioned SDN Switching equipment can forward the port of SDN data messages can be used as the data forwarding port of each SDN switching equipment.
When SDN switching equipment 24 receive the data message of main frame 2421, mesh of the SDN switching equipment 24 according to data message MAC Address MAC2631 do not match forwarding information.Data message is encapsulated as packet-in message by SDN switching equipment, is sent out Toward SDN controllers 20.
SDN controllers 20 receive the packet-in message from SDN switching equipment 24, the source MAC ground based on data message Location MAC2421 finds what is learnt based on target MAC (Media Access Control) address in the address of forwarding-table item learning main frame 2421 in forwarding-table item MAC2631, determines that data message is that the main frame 2421 connected by the port 242 of SDN switching equipment is sent to SDN switching equipment 26 The main frame 2631 of the connection of port 263.In Fig. 2, SDN switching equipment can also match the forwarding of the data message of forwarding information failure The partial information of head or forwarding head is encapsulated as Packet-in message, is sent to SDN controllers.SDN controllers are according to Packet- In message learns forwarding-table item, generates the forwarding information that SDN data message forwardings are performed for SDN forwarding units.
SDN controllers 20 calculate path between SDN switching equipment 24 and SDN switching equipment 26 according to SDN topology, Using the shortest path for calculating as the forward-path between SDN switching equipment 24 and SDN switching equipment 26.In the present embodiment, SDN It is SDN switching equipment 24- that controller 20 is calculated shortest path>SDN switching equipment 23->SDN switching equipment 25->SDN is handed over Exchange device 28->SDN switching equipment 26.On this forward-path, it is by the SDN switching equipment 24 that data message accesses SDN Entrance SDN switching equipment, SDN switching equipment data message being sent to outside SDN are outlet SDN switching equipment;Other SDN Switching equipment is centre SDN switching equipment.
SDN controllers 20 according to the shortest path for calculating determine SDN switching equipment 24 receive the port 242 of data message with The port 241 for sending datagram belongs to VLAN100 and the receiving data message of next SDN switching equipment 23 on shortest path Port 233 falls within VLAN100, and SDN controllers 20 generate forwarding information, indicates that by source MAC be MAC2421 and purpose MAC Address is that the data message of MAC2631 is sent by port 241, and the forwarding information of generation is issued SDN by SDN controllers 20 Switching equipment 24.
SDN controllers 20 determine that SDN switching equipment 23 are received according to the shortest path for calculating and the vlan information of acquisition The port 233 of data message and the port 234 for sending datagram belong to VLAN100, but the next one on shortest path SDN switching equipment 25 receive the port 254 of data message and belong to VLAN200, and SDN controllers 20 generate forwarding information, indicate source MAC Address sends and does not carry VLAN marks for the data message that MAC2421 and target MAC (Media Access Control) address are MAC2631 by port 234 Know.The forwarding information of generation is issued SDN switching equipment 23 by SDN controllers 20.Because SDN switching equipment 25 receive datagram The port 254 of text belongs to VLAN200, if SDN switching equipment 23 send the data for carrying VLAN100 marks by port 234 Message, the port 254 of SDN switching equipment 25 receives and carries the data message of VLAN100 and can abandon, and causes the forwarding of data message Failure.
SDN controllers 20 determine that SDN switching equipment 25 are received according to the shortest path for calculating and the vlan information of acquisition The port 254 of data message and the port 253 for sending datagram are belonging respectively on VLAN200 and VLAN300 and shortest path Next SDN switching equipment 28 receive the port 281 of data message and belong to VLAN300.SDN controllers 20 generate forwarding letter Source MAC is that the VLAN marks of the data message of MAC2631 are revised as MAC2421 and target MAC (Media Access Control) address by breath, instruction VLAN300 and sent by port 253.The forwarding information of generation is issued SDN switching equipment 25 by SDN controllers 20.Due to, The port that SDN switching equipment 25 receive data message belongs to different VLAN, SDN switching equipment with the port for sending datagram 25 port 254 receive do not carry the data message of VLAN marks can be according to the VLAN of port configuration addition VLAN marks, and SDN The VLAN configurations of the port 253 of switching equipment 25 belong to VLAN300, it is impossible to send the data message for carrying VLAN200.Therefore, When the port that SDN switching equipment receive data message and the port for sending datagram belong to different VLAN, basis is needed The VLAN marks of the VLAN configuration modification data messages of the sending port of data message.
SDN controllers 20 determine the port 281 of the receiving data message of SDN switching equipment 28 and send according to shortest path The port 282 of data message is belonging respectively to VLAN300 and VLAN200 and the next SDN switching equipment 26 of shortest path are received The port 261 of data message belongs to VLAN100, and SDN controllers 20 generate forwarding information, indicates that by source MAC be MAC2421 It is revised as VLAN200 and sends by port 281 not taking with the VLAN marks of the data message that target MAC (Media Access Control) address is MAC2631 Data message with VLAN marks.The forwarding information of generation is issued SDN switching equipment 28 by SDN controllers 20.
SDN controllers 20 determine that SDN switching equipment 26 are received according to the shortest path for calculating and the vlan information of acquisition The port 261 of data message and the port 263 for sending datagram are belonging respectively to VLAN100 and VLAN300.SDN controllers 20 Forwarding information is generated, source MAC is the VLAN marks of the data message of MAC2631 for MAC2421 and target MAC (Media Access Control) address by instruction Knowledge is revised as VLAN300 and is sent by port 263.The forwarding information of generation is issued SDN switching equipment by SDN controllers 20 26。
SDN switching equipment 24 receive source MAC MAC2421 and purpose MAC ground by belonging to the port 242 of VLAN100 During the data message of location MAC2631, addition VLAN mark VLAN10.SDN switching equipment according to the source MAC of data message and Target MAC (Media Access Control) address matches forwarding information, is sent by port 241 and includes VLAN100, source MAC MAC2421, purpose MAC The data message of address MAC2631.
SDN switching equipment 23 are received comprising VLAN 100, source MAC MAC2421, target MAC (Media Access Control) address by port 233 The data message of MAC2631, the data message for not carrying VLAN marks is sent according to the forwarding information of matching by port 234.
SDN switching equipment 25 by port 254 receive source address be MAC2421 and destination address be MAC2631 data Message, addition VLAN mark VLAN200.The forwarding letter that SDN switching equipment 25 are matched according to source MAC and target MAC (Media Access Control) address Cease and the VLAN marks of data message are revised as into VLAN300, sent by port 253 and include VLAN300, source MAC The data message of MAC2421, target MAC (Media Access Control) address MAC2631.
SDN switching equipment 28 are received with including VLAN300, source MAC MAC2421 and purpose MAC by port 281 The data message of location MAC2631, data message will be received according to the forwarding information that source MAC and target MAC (Media Access Control) address are matched VLAN300 is revised as VLAN200 and sends by port 282 not carry the data message that VLAN is identified.
SDN switching equipment 26 are received by port 261 and include source MAC MAC2421 and target MAC (Media Access Control) address MAC2631 Data message, addition VLAN mark VLAN100.SDN switching equipment 26 are matched according to source MAC and target MAC (Media Access Control) address The VLAN 100 of data message is revised as VLAN300 and is sent by port vlan 263 by forwarding information.SDN switching equipment When port 263 sends datagram to main frame 2631, VLAN mark VLAN300 can be removed.
In above-described embodiment, SDN controllers 20 are topological and SDN switching equipment forwarding data packets based on SDN The vlan information of port, generating the mode of forwarding information can change.
As shown in figure 3, SDN controllers 20 are exchanged according to network topology calculating entrance SDN switching equipment 24 with outlet SDN setting Path between standby 26.SDN controllers 20 are using the shortest path for calculating as the forwarding road between SDN switching equipment 24 and 26 Footpath, to the sending port of SDN switching equipment 25,26,28 message is configured, and notifies SDN switching equipment 25 for the configuration of port 254 and 253 VLAN100, notifies that SDN switching equipment are that port 263 configures VLAN100, notifies that SDN switching equipment 28 are matched somebody with somebody for port 281 and 282 Put VLAN 100;Notify that SDN switching equipment 26 are that port 263 configures VLAN100.So, SDN is exchanged and set by SDN controllers 20 The port of forwarding data packets is configured with identical vlan information on standby forward-path between 24 and 26, it is to avoid on shortest path SDN switching equipment are because data message forwarding failure caused by the VLAN configurations of data message forwarding port are different.
SDN controllers are that SDN switching equipment 24 generate forwarding information based on shortest path, and instruction is sent by port 241 Data message comprising source MAC 2421 and target MAC (Media Access Control) address 2631.
SDN controllers are that SDN switching equipment 23 generate forwarding information based on shortest path, and instruction is sent by port 234 Data message comprising source MAC 2421 and target MAC (Media Access Control) address 2631.
SDN controllers are that SDN switching equipment 25 generate forwarding information based on shortest path, and instruction is sent by port 253 Data message comprising source MAC 2421 and target MAC (Media Access Control) address 2631.
SDN controllers are that SDN switching equipment 28 generate forwarding information based on shortest path, and instruction is sent by port 282 Data message comprising source MAC 2421 and target MAC (Media Access Control) address 2631.
SDN controllers are that SDN switching equipment 26 generate forwarding information based on shortest path, and instruction will be comprising source MAC 2421 and the data message of target MAC (Media Access Control) address 2631 sent by port 263.
SDN switching equipment 24 receive source MAC MAC2421 and purpose MAC ground by belonging to the port 242 of VLAN100 During the data message of location MAC2631, addition VLAN mark VLAN10.SDN switching equipment according to the source MAC of data message and Target MAC (Media Access Control) address matches forwarding information, is sent datagram by port 241.
SDN switching equipment 23 are received comprising source MAC MAC2421, target MAC (Media Access Control) address MAC2631 by port 233 Data message, based on the forwarding information that source MAC MAC2421 and target MAC (Media Access Control) address MAC2631 are matched, by port 234 Send data message.
It is MAC2421 and target MAC (Media Access Control) address MAC2631 that SDN switching equipment 25 are received comprising source address by port 254 Data message, is sent data message by port 253 according to the forwarding information that source MAC and target MAC (Media Access Control) address are matched.
SDN switching equipment 28 are received comprising source MAC MAC2421 and target MAC (Media Access Control) address by port 281 The data message of MAC2631, according to the forwarding information data message that source MAC and target MAC (Media Access Control) address are matched port 282 is passed through Send.
SDN switching equipment 26 are received by port 261 and include source MAC MAC2421 and target MAC (Media Access Control) address MAC2631 Data message, data message is passed through by port vlan 263 according to the forwarding information that source MAC and target MAC (Media Access Control) address are matched Send.When the port 263 of SDN switching equipment sends datagram to main frame 2631, VLAN mark VLAN300 can be removed.
As shown in figure 4, SDN controllers 20 calculate the entrance SDN switching equipment 24 and outlet SDN switching equipment of data message Path between 26, using the data forwarding port with identical VLAN and the most short path of length is used as forward-path;For example, SDN Switching equipment 24->SDN switching equipment 23->SDN switching equipment 21->SDN switching equipment 25->SDN switching equipment 27->SDN is handed over Exchange device 26.It is that entrance SDN exchanges set by the SDN switching equipment 24 that data message accesses SDN on this forward-path Standby, SDN switching equipment data message being sent to outside SDN are outlet SDN switching equipment;During other SDN switching equipment are Between SDN switching equipment.
SDN controllers 20 generate the forwarding information of SDN switching equipment 20 according to above-mentioned forward-path, indicate to pass through port 241 transmissions are the data message of MAC2631 comprising source MAC MAC2421 and target MAC (Media Access Control) address.SDN controllers 20 will be calculated Forwarding information issue SDN switching equipment 24.
SDN controllers 20 generate the forwarding information of SDN switching equipment 23 according to above-mentioned forward-path, indicate to pass through port 232 Send the data message comprising source MAC MAC2421 and target MAC (Media Access Control) address MAC2631.The turning generation of SDN controllers 20 Photos and sending messages issue SDN switching equipment 23.
SDN controllers 20 generate forwarding information according to above-mentioned forward-path, indicate to be sent comprising source MAC by port 213 The data message of address MAC2421 and target MAC (Media Access Control) address MAC2631.The forwarding information of generation is issued SDN by SDN controllers 20 Switching equipment 21.
SDN controllers 20 according to above-mentioned forward-path generate forwarding information, instruction will comprising source MAC MAC2421 with The data message of target MAC (Media Access Control) address MAC2631 is sent by port 252.SDN controllers 20 issue the forwarding information of generation SDN switching equipment 25.
SDN controllers 20 generate forwarding information according to above-mentioned forward-path, indicate to be sent comprising source MAC by port 274 The data message of address MAC2421 and target MAC (Media Access Control) address MAC2631.The forwarding information of generation is issued SDN by SDN controllers 20 Switching equipment 27.
SDN controllers 20 according to above-mentioned forward-path generate forwarding information, instruction will comprising source MAC MAC2421 with The VLAN Identifications of the data message of target MAC (Media Access Control) address MAC2631 are revised as VLAN VLAN300 and by port 253 Send.The forwarding information of generation is issued SDN switching equipment 26 by SDN controllers 20.
SDN switching equipment 24 add VLAN100 when receiving data message by port 242, will be included based on forwarding information The data message of VLAN100, source MAC MAC2421 and target MAC (Media Access Control) address MAC2631 is sent by port 241.
SDN switching equipment 23 are received comprising VLAN100, source MAC MAC2421 and target MAC (Media Access Control) address by port 233 The data message of MAC2631, end is passed through according to the forwarding information that source MAC and target MAC (Media Access Control) address are matched by the data message Mouth 232 sends.
SDN switching equipment 21 are received comprising VLAN100, source MAC MAC2421 and target MAC (Media Access Control) address by port 212 The data message of MAC2631, passes through the data message bag according to the forwarding information that source MAC and target MAC (Media Access Control) address are matched Port 213 sends.
SDN switching equipment 25 are received comprising VLAN100, source MAC MAC2421 and target MAC (Media Access Control) address by port 251 The data message of MAC2631, end is passed through according to the forwarding information that source MAC and target MAC (Media Access Control) address are matched by the data message Mouth 252 sends.
SDN switching equipment 27 are received comprising VLAN100, source MAC MAC2421 and target MAC (Media Access Control) address by port 273 The data message of MAC2631, end is passed through according to the forwarding information that source MAC and target MAC (Media Access Control) address are matched by the data message Mouth 274 sends.
SDN switching equipment 26 are received by port 262 and carry VLAN100, source MAC MAC2421 and target MAC (Media Access Control) address The data message of MAC2631, VLAN is revised as according to the forwarding information that source MAC and target MAC (Media Access Control) address are matched by VLAN100 300, the data message that have modified VLAN marks is sent by port 2631 by port 263.The message of SDN switching equipment 26 passes through When port 263 sends datagram, VLAN mark VLAN 300 can be removed.Or the sending port of SDN controllers 20 matches somebody with somebody confidence Cease to SDN switching equipment 26, be the configuration of port 263 VLAN100.SDN controllers generate forwarding information, and instruction will be comprising source MAC The data message of address MAC2421 and target MAC (Media Access Control) address MAC2631 is sent by port 263.SDN controllers 20 by generate Forwarding information issues SDN switching equipment 26.SDN switching equipment 26 are received by port 262 and carry VLAN100, source MAC The data message of MAC2421 and target MAC (Media Access Control) address MAC2631, according to the forwarding letter that source MAC and target MAC (Media Access Control) address are matched Breath is sent by port 2631.When the message of SDN switching equipment 26 is sent datagram by port 263, VLAN can be identified VLAN 300 is removed.
As shown in figure 5, SDN controllers 500 provided in an embodiment of the present invention include:Topological acquiring unit 501, obtains software Define the network topology of network SDN.Vlan information acquiring unit 502, obtains the data forwarding end of each SDN switching equipment of SDN The vlan information of mouth;Forwarding information signal generating unit 503, is SDN data according to the network topology for obtaining and the vlan information of acquisition The each SDN forwarding units on forward-path between the entrance SDN forwarding units and outlet SDN forwarding units of message generate forwarding Information.
Forwarding information signal generating unit 503, calculates entrance SDN forwarding units and turns with outlet SDN according to the network topology for obtaining Path between the equipment of sending out;Using the shortest path for calculating as turning between entrance SDN forwarding units and outlet SDN forwarding units Send out path;Sending port configures message by the data forwarding port configuration identical information of virtual local area network on shortest path;Base Entrance SDN forwarding unit forwarding informations are generated in forward-path, middle SDN forwarding units forwarding information exports SDN forwarding units Forwarding information.
Forwarding information signal generating unit 503, calculates entrance SDN forwarding units and turns with outlet SDN according to the network topology for obtaining Path between the equipment of sending out;Will calculate path in have identical VLAN data forwarding port and the most short path of length as Forward-path between entrance SDN forwarding units and outlet SDN forwarding units;Entrance SDN forwardings are generated based on forward-path to set Standby forwarding information, middle SDN forwarding units forwarding information exports SDN forwarding unit forwarding informations;
Forwarding information signal generating unit 503, calculates entrance SDN forwarding units and turns with outlet SDN according to the network topology for obtaining Path between the equipment of sending out;Using the shortest path for calculating as turning between entrance SDN forwarding units and outlet SDN forwarding units Send out path;Receive the vlan information of the port of SDN data messages, entrance SDN forwarding units according to entrance SDN forwarding units turning Send out the vlan information that path sends the data forwarding port of SDN data messages, and the next SDN forwarding units on forward-path The vlan information of the data forwarding port of the SDN data messages of reception, generates entrance SDN forwarding unit forwarding informations;According in Between SDN forwarding units receive on forward-path SDN data messages data forwarding port vlan information, send SDN data The SDN data messages that next SDN forwarding units on the vlan information and forward-path of the data forwarding port of message are received Data forwarding port vlan information, generate in the middle of SDN forwarding unit forwarding informations;Turned according to outlet SDN forwarding units The vlan information and outlet SDN forwarding units for sending out the data forwarding port that SDN data messages are received on path sends SDN data The vlan information of message, generates the forwarding information of outlet SDN forwarding units.
In the SDN for having run OPENFLOW agreements, the interface querying state of extension OPEN flow agreements can be passed through Message realizes interface querying message, port responses message, port configuration message in above-described embodiment.
According to current OpenFlow protocol realizations, SDN controllers will not obtain the vlan information of SDN switching equipment, The vlan information of switching equipment forwarding data packets, the SDN being easily caused on the forward-path of SDN data messages cannot be perceived Switching equipment causes data forwarding failure because vlan information is unknowable.From above-described embodiment as can be seen that the SDN controls of the present invention Vlan information of the device based on the data forwarding port of SDN switching equipment, is that each SDN forwardings set on SDN data message forwardings path The standby forwarding information for generating corresponding VLAN, it is to avoid SDN data message forwarding failures.
More than, only presently preferred embodiments of the present invention is not intended to limit protection scope of the present invention.It is all at this Within bright spirit and principle, any modification, equivalent substitution and improvements made etc. should be included in protection scope of the present invention Within.

Claims (8)

1. a kind of method that software defined network controller generates forwarding information, it is characterised in that
Obtain the network topology of software defined network SDN;
Obtain the virtual LAN VLAN information of the data forwarding port of each SDN forwarding units of the SDN;
According to the entrance SDN forwarding units that the vlan information of the network topology and acquisition that obtain is SDN data messages and outlet SDN Each SDN forwarding units on forward-path between forwarding unit generate forwarding information.
2. method according to claim 1, it is characterised in that be according to the network topology for obtaining and the vlan information of acquisition The each SDN forwarding units on forward-path between the entrance SDN forwarding units and outlet SDN forwarding units of SDN data messages Generating forwarding information includes:
Path between the entrance SDN forwarding units and the outlet SDN forwarding units is calculated according to the network topology for obtaining;
Using the shortest path for calculating as the forwarding road between the entrance SDN forwarding units and the outlet SDN forwarding units Footpath;
It is according to the vlan information sending port configuration message for obtaining that the data forwarding port configuration on the shortest path is identical Vlan information;
Entrance SDN forwarding unit forwarding informations, middle SDN forwarding units forwarding information, outlet are generated based on the forward-path SDN forwarding unit forwarding informations.
3. method according to claim 1, it is characterised in that be according to the network topology for obtaining and the vlan information of acquisition The each SDN forwarding units on forward-path between the entrance SDN forwarding units and outlet SDN forwarding units of SDN data messages Generating forwarding information includes:
Path between the entrance SDN forwarding units and the outlet SDN forwarding units is calculated according to the network topology for obtaining;
The data forwarding port and the most short path of length in the path that will be calculated with identical VLAN turns as the entrance SDN Send out the forward-path between equipment and the outlet SDN forwarding units;
Entrance SDN forwarding unit forwarding informations, middle SDN forwarding units forwarding information, outlet are generated based on the forward-path SDN forwarding unit forwarding informations.
4. method according to claim 1, it is characterised in that be according to the network topology for obtaining and the vlan information of acquisition The each SDN forwarding units on forward-path between the entrance SDN forwarding units and outlet SDN forwarding units of SDN data messages Generating forwarding information includes:
Path between the entrance SDN forwarding units and the outlet SDN forwarding units is calculated according to the network topology for obtaining;
Using the shortest path for calculating as the forwarding road between the entrance SDN forwarding units and the outlet SDN forwarding units Footpath;
Receive the vlan information of the port of the SDN data messages, the entrance SDN according to the entrance SDN forwarding units to turn The equipment of sending out sends the vlan information of the data forwarding port of the SDN data messages, and the forwarding in the forward-path Next SDN forwarding units on path receive the vlan information of the data forwarding port of the SDN data messages, generate entrance SDN forwarding unit forwarding informations;
The data forwarding port of the SDN data messages is received on the forward-path according to middle SDN forwarding units It is next on vlan information, the vlan information of the data forwarding port of the transmission SDN data messages and the forward-path SDN forwarding units receive the vlan information of the data forwarding port of the SDN data messages, generate middle SDN forwarding units and turn Photos and sending messages;
The data forwarding port of the SDN data messages is received on the forward-path according to the outlet SDN forwarding units Vlan information and the outlet SDN forwarding units send the data forwarding port/VLAN information of the SDN data messages, it is raw Into the forwarding information of outlet SDN forwarding units.
5. a kind of software defined network controller, it is characterised in that
Topological acquiring unit, obtains the network topology of software defined network SDN;
Vlan information acquiring unit, obtains the vlan information of the data forwarding port of each SDN forwarding units of the SDN;
Forwarding information signal generating unit, according to the entrance SDN that the vlan information of the network topology and acquisition that obtain is SDN data messages The each SDN forwarding units on forward-path between forwarding unit and outlet SDN forwarding units generate forwarding information.
6. software defined network controller according to claim 5, it is characterised in that the forwarding information signal generating unit, Path between the entrance SDN forwarding units and the outlet SDN forwarding units is calculated according to the network topology for obtaining;Will meter The shortest path of calculation is used as the forward-path between the entrance SDN forwarding units and the outlet SDN forwarding units;According to obtaining Data forwarding port on the shortest path is configured identical virtual local area by the vlan information sending port configuration message for taking Net information;Entrance SDN forwarding unit forwarding informations are generated based on the forward-path, middle SDN forwarding units forwarding information goes out Mouth SDN forwarding unit forwarding informations.
7. software defined network controller according to claim 5, it is characterised in that the forwarding information signal generating unit, Path between the entrance SDN forwarding units and the outlet SDN forwarding units is calculated according to the network topology for obtaining;Will meter In the path of calculation with identical VLAN data forwarding port and the most short path of length as the entrance SDN forwarding units with Forward-path between the outlet SDN forwarding units;Entrance SDN forwarding units forwarding letter is generated based on the forward-path Breath, middle SDN forwarding units forwarding information exports SDN forwarding unit forwarding informations.
8. software defined network controller according to claim 5, it is characterised in that the forwarding information signal generating unit, Path between the entrance SDN forwarding units and the outlet SDN forwarding units is calculated according to the network topology for obtaining;Will meter The shortest path of calculation is used as the forward-path between the entrance SDN forwarding units and the outlet SDN forwarding units;According to institute Vlan information, the entrance SDN forwarding units of port of the entrance SDN forwarding units reception SDN data messages are stated in institute State the vlan information that forward-path sends the data forwarding port of the SDN data messages, and on the forward-path under One SDN forwarding units receive the vlan information of the data forwarding port of the SDN data messages, generate entrance SDN forwarding units Forwarding information;The data forwarding port of the SDN data messages is received on the forward-path according to middle SDN forwarding units Vlan information, send the SDN data messages data forwarding port vlan information and the forward-path under One SDN forwarding units receive the vlan information of the data forwarding port of the SDN data messages, generate middle SDN forwarding units Forwarding information;The data forwarding of the SDN data messages is received on the forward-path according to the outlet SDN forwarding units The vlan information of port and the outlet SDN forwarding units send the VLAN of the data forwarding port of the SDN data messages Information, generates the forwarding information of outlet SDN forwarding units.
CN201410042731.2A 2014-01-29 2014-01-29 Soft defined network controller and transmission information generating method of soft defined network controller Active CN103763146B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410042731.2A CN103763146B (en) 2014-01-29 2014-01-29 Soft defined network controller and transmission information generating method of soft defined network controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410042731.2A CN103763146B (en) 2014-01-29 2014-01-29 Soft defined network controller and transmission information generating method of soft defined network controller

Publications (2)

Publication Number Publication Date
CN103763146A CN103763146A (en) 2014-04-30
CN103763146B true CN103763146B (en) 2017-05-17

Family

ID=50530309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410042731.2A Active CN103763146B (en) 2014-01-29 2014-01-29 Soft defined network controller and transmission information generating method of soft defined network controller

Country Status (1)

Country Link
CN (1) CN103763146B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101989333B1 (en) 2014-12-17 2019-09-30 후아웨이 테크놀러지 컴퍼니 리미티드 Data forwarding method, device and system in software-defined networking

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105337853A (en) 2014-06-11 2016-02-17 杭州华三通信技术有限公司 Instance establishing method and apparatus in software defined network (SDN)
CN104243270B (en) * 2014-09-25 2017-11-24 新华三技术有限公司 A kind of method and apparatus for establishing tunnel
CN105450532B (en) * 2014-09-28 2018-10-09 新华三技术有限公司 Three-layer forwarding method in software defined network and device
CN104301230A (en) * 2014-10-10 2015-01-21 杭州华三通信技术有限公司 Message forwarding method and device
CN105634959A (en) * 2014-10-31 2016-06-01 杭州华三通信技术有限公司 Method and device for distributing flow table items in software definition network
CN105704054A (en) * 2014-11-27 2016-06-22 英业达科技有限公司 Data center network flow migration method and system thereof
CN105704192B (en) * 2014-11-28 2019-01-25 华为技术有限公司 The method and apparatus for determining location of controls in SDN network
CN105763512B (en) * 2014-12-17 2019-03-15 新华三技术有限公司 The communication means and device of SDN virtualization network
CN104601487A (en) * 2014-12-31 2015-05-06 北京华为数字技术有限公司 Method and SDN (self-defending network) controller for realizing multistage load sharing
CN104618475B (en) * 2015-01-28 2018-10-30 清华大学 Horizontal direction communication means and SDN systems for isomery SDN network
CN106797344B (en) 2015-06-30 2020-10-16 华为技术有限公司 Method and apparatus for communicating through remote network element port
CN105207995B (en) * 2015-08-18 2019-06-07 上海斐讯数据通信技术有限公司 A kind of VLAN dynamic registration method based on SDN
CN105591963B (en) * 2015-08-27 2018-10-12 新华三技术有限公司 Message forwarding method and equipment in SDN
CN106936715B (en) 2015-12-31 2019-06-07 新华三技术有限公司 Virtual machine message control method and device
CN107547293B (en) 2016-06-29 2020-09-08 新华三技术有限公司 Flow path detection method and device
CN107566237B (en) * 2016-06-30 2021-06-29 深圳市中兴通讯技术服务有限责任公司 Data message processing method and device
CN107666428B (en) * 2016-07-28 2020-03-06 新华三技术有限公司 Method and device for detecting silent equipment
CN107078962B (en) * 2016-09-13 2021-02-23 深圳前海达闼云端智能科技有限公司 Data processing method, device and system in SDN, electronic equipment and computer storage medium
CN106685730B (en) * 2017-01-23 2020-02-11 苏州浪潮智能科技有限公司 Sdn network system with separated configuration management and control
CN108880969B (en) * 2017-05-16 2021-02-02 上海层峰网络科技有限公司 Method and device for establishing link in SDN network

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946365A (en) * 2012-11-09 2013-02-27 清华大学 Flow table updating consistency maintaining method based on software defined network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4334419B2 (en) * 2004-06-30 2009-09-30 富士通株式会社 Transmission equipment
CN104272679B (en) * 2012-05-09 2018-02-13 日本电气株式会社 Communication system, control device, communication means and recording medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946365A (en) * 2012-11-09 2013-02-27 清华大学 Flow table updating consistency maintaining method based on software defined network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101989333B1 (en) 2014-12-17 2019-09-30 후아웨이 테크놀러지 컴퍼니 리미티드 Data forwarding method, device and system in software-defined networking

Also Published As

Publication number Publication date
CN103763146A (en) 2014-04-30

Similar Documents

Publication Publication Date Title
CN103763146B (en) Soft defined network controller and transmission information generating method of soft defined network controller
CN103888369B (en) Ethernet communication method, system and SDN switch
CN104702479B (en) The method and apparatus that tunnel is established in SDN network
CN104243317B (en) A kind of method and apparatus for realizing IP routing forwardings
CN104243270B (en) A kind of method and apparatus for establishing tunnel
JP5522495B2 (en) Computer system, controller, controller manager, communication path analysis method
CN104348726B (en) Message forwarding method and device
CN104348717B (en) Message forwarding method and device
CN106992874A (en) Method and the network equipment for communication
CN107851109A (en) The configuration of software defined network
CN104158745B (en) A kind of method and system for realizing data packet forwarding
CN104022953A (en) Message forwarding method and device based on Open Flow
CN105723657A (en) Switch, controller, system and link quality detection method
CN103259721B (en) Message forwarding method in SPBM network and device
CN104993988B (en) A kind of energy internet scheduling and control method
CN104579894B (en) The IGMP Snooping implementation methods and device of the distributed virtual switch system
CN104660469B (en) A kind of method for detecting connectivity and relevant device of double layer network
CN108880968A (en) Broadcast, method of realizing group broadcasting and device, storage medium in software defined network
CN104092576B (en) A kind of network topology computational methods and device
CN106375223B (en) A kind of data forwarding system and method based on SDN
CN107547293A (en) A kind of flow path detection method and device
CN103067278B (en) A kind of method for transmission processing of Frame, equipment and system
CN114503524A (en) Closed loop automation for intent-based networking
CN108289061A (en) Business chain method of combination based on SDN and business chain topological structure
CN106936704A (en) Being classified using hop-by-hop VLAN carries out multipath exchange

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
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: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant