CN103763146A - 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
CN103763146A
CN103763146A CN201410042731.2A CN201410042731A CN103763146A CN 103763146 A CN103763146 A CN 103763146A CN 201410042731 A CN201410042731 A CN 201410042731A CN 103763146 A CN103763146 A CN 103763146A
Authority
CN
China
Prior art keywords
sdn
forwarding unit
information
path
forwarding
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
CN201410042731.2A
Other languages
Chinese (zh)
Other versions
CN103763146B (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 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

Images

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 method of software defined network controller and generation forwarding information thereof
Technical field
The present invention relates to network communications technology field, particularly a kind of method of software defined network controller and generation forwarding information thereof.
Background technology
The control plane of software defined network (SDN, Soft Defined Network) is separated with Forwarding plane.SDN controller generates forwarding information, the forwarding information executing data message repeating that SDN switching equipment generates according to SDN controller.
When SDN switching equipment, receive data message, match the forwarding information of data message, as stream list item, SDN switching equipment is according to forwarding information executing data message repeating.When SDN switching equipment does not match the forwarding information of data message, data message is encapsulated as to Packet-in message by issuing SDN controller, SDN controller generates forwarding information according to the data message in Packet-in message, and the forwarding information of generation is issued to SDN switching equipment or carried out corresponding processing.
At present, can run on SDN controller and SDN switching equipment agreement comprises openflow agreement, openstack agreement etc.
Summary of the invention
The object of the present invention is to provide a kind of method of software defined network controller and generation forwarding information thereof, for each SDN forwarding unit on SDN data message forwarding path generates the forwarding information of corresponding VLAN, avoid data message forwarding fault.
For achieving the above object, the invention provides a kind of method that software defined network controller generates forwarding information, comprising, the network topology of software defined network SDN obtained; Obtain the vlan information of data retransmission port of each SDN switching equipment of SDN; According to the network topology of obtaining and the vlan information that obtains, be that the entrance SDN forwarding unit of SDN data message and each SDN forwarding unit on the forward-path between outlet SDN forwarding unit generate forwarding information.
For achieving the above object, the present invention also provides a kind of software defined network controller, comprising topological acquiring unit, obtains the network topology of software defined network SDN; Vlan information acquiring unit, obtains the vlan information of data retransmission port of each SDN switching equipment of SDN; Forwarding information generation unit is that the entrance SDN forwarding unit of SDN data message and each SDN forwarding unit on the forward-path between outlet SDN forwarding unit generate forwarding information according to the network topology of obtaining and the vlan information that obtains.
The present invention can generate the forwarding information of corresponding VLAN for each SDN forwarding unit on SDN data message forwarding path, avoids data message forwarding fault.
Accompanying drawing explanation
The software defined network controller that Fig. 1 provides for the embodiment of the present invention generates the flow chart of forwarding information.
Fig. 2 provides software defined network schematic diagram for the embodiment of the present invention.
Fig. 3 is the flow chart of another generation forwarding information method of software defined network controller in Fig. 2.
Fig. 4 is the flow chart of the another generation forwarding information of software defined network controller method in Fig. 2.
The schematic diagram of the software defined network controller that Fig. 5 provides for the embodiment of the present invention.
Embodiment
For making object of the present invention, technical scheme and advantage clearer, referring to the accompanying drawing embodiment that develops simultaneously, the present invention program is described in further detail.
As shown in Figure 1, the method that the SDN controller that the embodiment of the present invention provides generates forwarding information comprises:
Step 101, obtains the network topology of software defined network SDN;
Step 102, obtains the vlan information of data retransmission port of each SDN switching equipment of SDN;
Step 103 is that the entrance SDN forwarding unit of SDN data message and each SDN forwarding unit on the forward-path between outlet SDN forwarding unit generate forwarding information according to the network topology of obtaining and the vlan information that obtains.
By the method shown in Fig. 1, can generate the forwarding information of corresponding VLAN for each SDN forwarding unit on SDN data message forwarding path, avoid data message forwarding fault.
As shown in Figure 2, SDN network consists of the SDN controller 20 and the SDN switching equipment 21-29 that have moved openflow agreement.SDN switching equipment 24 and SDN switching equipment 26 have connected respectively main frame 2421 and main frame 2631.The port 2421 of SDN switching equipment 24 and the port 2631 of SDN switching equipment 26 can forward SDN data message and general data message, belong to Hybrid pattern.
Other ports 231-234 of the port 211-213 of SDN switching equipment 21, the port 221 and 222 of SDN switching equipment 22, SDN switching equipment 23, the port 241 and 242 of SDN switching equipment 24, the port 261 and 262 of the port 251-252 of SDN switching equipment 25, SDN switching equipment 26; The port 271-274 of SDN switching equipment 27; The port 283-284 of SDN switching equipment 28, and the port 291 of SDN switching equipment 291 and 292 can forward SDN data message, belongs to VLAN100.
Port 254 and the port 253 of SDN switching equipment 25 can forward SDN data message, belong to respectively VLAN200 and VLAN300.Port 281 and the port 282 of SDN switching equipment 28 can forward SDN data message, belong to respectively VLAN300 and VLAN200.The port 263 of SDN switching equipment 26 belongs to VLAN300.
SDN controller 20 transmit port query messages forward the vlan information of the port of SDN data message with all permissions of inquiry SDN switching equipment 21-29, when SDN switching equipment 21-29 receives interface querying information, transmit port response message, issues SDN controller 20 by the vlan information that local permission forwards the port of SDN data message separately.In the present embodiment, the port that above-mentioned SDN switching equipment can forward SDN data message can be used as the data retransmission port of each SDN switching equipment.
When SDN switching equipment 24 is received the data message of main frame 2421, SDN switching equipment 24 does not match forwarding information according to the target MAC (Media Access Control) address MAC2631 of data message.SDN switching equipment is encapsulated as packet-in message by data message, mails to SDN controller 20.
SDN controller 20 is received the packet-in message from SDN switching equipment 24, source MAC MAC2421 based on data message is in the address of forwarding-table item learning main frame 2421, based on target MAC (Media Access Control) address, at forwarding-table item, find the MAC2631 having learnt, specified data message is by the main frame 2421 of port 242 connections of SDN switching equipment, to be mail to the main frame 2631 of port 263 connections of SDN switching equipment 26.In Fig. 2, the forwarding head of data message or the partial information of forwarding head that SDN switching equipment can also mate forwarding information failure are encapsulated as Packet-in message, send to SDN controller.SDN controller, according to Packet-in message study forwarding-table item, generates the forwarding information of carrying out SDN data message forwarding for SDN forwarding unit.
SDN controller 20, according to SDN network topology, calculates path between SDN switching equipment 24 and SDN switching equipment 26, the forward-path using the shortest path calculating between SDN switching equipment 24 and SDN switching equipment 26.In the present embodiment, it is SDN switching equipment 24->SDN switching equipment 23->SDN switching equipment 25->SDN switching equipment 28->SDN switching equipment 26 that SDN controller 20 calculates shortest path.On this forward-path, the SDN switching equipment 24 that data message is accessed to SDN network is entrance SDN switching equipment, and the SDN switching equipment that data message is mail to outside SDN network is outlet SDN switching equipment; Other SDN switching equipment are middle SDN switching equipment.
SDN controller 20 determines that according to the shortest path calculating SDN switching equipment 24 receives that the port 242 of data message and the port 233 that the port 241 sending datagram belongs to next SDN switching equipment 23 receiving data packets on VLAN100 and shortest path also belong to VLAN100, SDN controller 20 generates forwarding information, indication is that MAC2421 and target MAC (Media Access Control) address are that the data message of MAC2631 sends by port 241 by source MAC, and SDN controller 20 is issued SDN switching equipment 24 by the forwarding information of generation.
SDN controller 20 is according to the shortest path calculating and the vlan information obtaining, determine that SDN switching equipment 23 receives that the port 233 of data message and the port 234 sending datagram belong to VLAN100, but the next SDN switching equipment 25 on shortest path receives that the port 254 of data message belongs to VLAN200, SDN controller 20 generates forwarding informations, and indication source MAC is that MAC2421 and target MAC (Media Access Control) address are that the data message of MAC2631 is sent and do not carried VLAN and identifies by port 234.SDN controller 20 is issued SDN switching equipment 23 by the forwarding information of generation.Due to, SDN switching equipment 25 receives that the port 254 of data message belongs to VLAN200, if SDN switching equipment 23 sends by port 234 data message that carries VLAN100 sign, the port 254 of SDN switching equipment 25 receives that the data message that carries VLAN100 can abandon, and causes the retransmission failure of data message.
SDN controller 20 is according to the shortest path calculating and the vlan information obtaining, and determines that the next SDN switching equipment 28 that the port 254 of SDN switching equipment 25 receiving data packets and the port 253 sending datagram belong to respectively on VLAN200 and VLAN300 and shortest path receives that the port 281 of data message belongs to VLAN300.SDN controller 20 generates forwarding informations, and indication is that MAC2421 and target MAC (Media Access Control) address are that the VLAN sign of the data message of MAC2631 is revised as VLAN300 and sends by port 253 by source MAC.SDN controller 20 is issued SDN switching equipment 25 by the forwarding information of generation.Due to, SDN switching equipment 25 receives that the port of data message and the port sending datagram belong to different VLAN, the port 254 of SDN switching equipment 25 receives that the data message that does not carry VLAN sign can add VLAN sign according to the VLAN configuration of port, and the VLAN of the port 253 of SDN switching equipment 25 configuration belongs to VLAN300, cannot send the data message that carries VLAN200.Therefore, when SDN switching equipment receives that the port of data message and the port that sends datagram belong to different VLAN, need to be according to the VLAN sign of the VLAN configuration modification data message of the transmit port of data message.
SDN controller 20 is according to shortest path, the port 281 of determining SDN switching equipment 28 receiving data packets belongs to VLAN100 with the port 261 that the port 282 sending datagram belongs to respectively next SDN switching equipment 26 receiving data packets of VLAN300 and VLAN200 and shortest path, SDN controller 20 generates forwarding informations, and indication is that MAC2421 and target MAC (Media Access Control) address are that the VLAN sign of the data message of MAC2631 is revised as VLAN200 and sends by port 281 data message that does not carry VLAN sign by source MAC.SDN controller 20 is issued SDN switching equipment 28 by the forwarding information of generation.
SDN controller 20, according to the shortest path calculating and the vlan information obtaining, determines that the port 261 of SDN switching equipment 26 receiving data packets and the port 263 sending datagram belong to respectively VLAN100 and VLAN300.SDN controller 20 generates forwarding informations, and indication is that MAC2421 and target MAC (Media Access Control) address are that the VLAN sign of the data message of MAC2631 is revised as VLAN300 and sends by port 263 by source MAC.SDN controller 20 is issued SDN switching equipment 26 by the forwarding information of generation.
When SDN switching equipment 24 is received the data message of source MAC MAC2421 and target MAC (Media Access Control) address MAC2631 by belonging to the port 242 of VLAN100, add VLAN sign VLAN10.SDN switching equipment matches forwarding information according to the source MAC of data message and target MAC (Media Access Control) address, by port 241, sends the data message that comprises VLAN100, source MAC MAC2421, target MAC (Media Access Control) address MAC2631.
SDN switching equipment 23 is received the data message that comprises VLAN100, source MAC MAC2421, target MAC (Media Access Control) address MAC2631 by port 233, according to the forwarding information of coupling, by port 234, send the data message that does not carry VLAN sign.
SDN switching equipment 25 receives that by port 254 source address is that MAC2421 and destination address are the data messages of MAC2631, adds VLAN sign VLAN200.SDN switching equipment 25 is revised as VLAN300 according to the forwarding information of source MAC and target MAC (Media Access Control) address coupling by the VLAN sign of data message, by port 253, send and comprise VLAN300, the data message of source MAC MAC2421, target MAC (Media Access Control) address MAC2631.
SDN switching equipment 28 is received and is comprised VLAN300 by port 281, the data message of source MAC MAC2421 and target MAC (Media Access Control) address MAC2631, is revised as the VLAN300 that receives data message VLAN200 and sends by port 282 data message that does not carry VLAN sign according to the forwarding information of source MAC and target MAC (Media Access Control) address coupling.
SDN switching equipment 26 receives by port 261 data message that comprises source MAC MAC2421 and target MAC (Media Access Control) address MAC2631, adds VLAN sign VLAN100.SDN switching equipment 26 is revised as VLAN300 by the VLAN100 of data message and sends by port vlan 263 according to the forwarding information of source MAC and target MAC (Media Access Control) address coupling.When the port 263 of SDN switching equipment sends datagram main frame 2631, can remove VLAN sign VLAN300.
In above-described embodiment, the vlan information of the port of SDN controller 20 based on SDN network topology and SDN switching equipment forwarding data packets, the mode that generates forwarding information can change.
As shown in Figure 3, SDN controller 20 calculates the path between entrance SDN switching equipment 24 and outlet SDN switching equipment 26 according to network topology.SDN controller 20 is the forward-path between SDN switching equipment 24 and 26 using the shortest path calculating, to SDN switching equipment 25,26,28 transmit port configuration messages, notice SDN switching equipment 25 is port 254 and 253 configuration VLAN100, notice SDN switching equipment is port 263 configuration VLAN100, and notice SDN switching equipment 28 is port 281 and 282 configuration VLAN100; Notice SDN switching equipment 26 is port 263 configuration VLAN100.Like this, SDN controller 20 by the port arrangement of forwarding data packets on the forward-path between SDN switching equipment 24 and 26 identical vlan information, avoid SDN switching equipment on shortest path because the different data message forwarding failures that cause of the VLAN of data message forwarding port configuration.
SDN controller is that SDN switching equipment 24 generates forwarding information based on shortest path, and indication sends by port 241 data message that comprises source MAC 2421 and target MAC (Media Access Control) address 2631.
SDN controller is that SDN switching equipment 23 generates forwarding information based on shortest path, and indication sends by port 234 data message that comprises source MAC 2421 and target MAC (Media Access Control) address 2631.
SDN controller is that SDN switching equipment 25 generates forwarding information based on shortest path, and indication sends by port 253 data message that comprises source MAC 2421 and target MAC (Media Access Control) address 2631.
SDN controller is that SDN switching equipment 28 generates forwarding information based on shortest path, and indication sends by port 282 data message that comprises source MAC 2421 and target MAC (Media Access Control) address 2631.
SDN controller is that SDN switching equipment 26 generates forwarding information based on shortest path, and indication sends the data message that comprises source MAC 2421 and target MAC (Media Access Control) address 2631 by port 263.
When SDN switching equipment 24 is received the data message of source MAC MAC2421 and target MAC (Media Access Control) address MAC2631 by belonging to the port 242 of VLAN100, add VLAN sign VLAN10.SDN switching equipment matches forwarding information according to the source MAC of data message and target MAC (Media Access Control) address, by port 241, sends datagram.
SDN switching equipment 23 is received the data message that comprises source MAC MAC2421, target MAC (Media Access Control) address MAC2631 by port 233, the forwarding information based on source MAC MAC2421 and target MAC (Media Access Control) address MAC2631 coupling, sends datagram by port 234.
SDN switching equipment 25 is received and is comprised the data message that source address is MAC2421 and target MAC (Media Access Control) address MAC2631 by port 254, according to the forwarding information of source MAC and target MAC (Media Access Control) address coupling, data message is sent by port 253.
SDN switching equipment 28 receives by port 281 data message that comprises source MAC MAC2421 and target MAC (Media Access Control) address MAC2631, according to the forwarding information data message of source MAC and target MAC (Media Access Control) address coupling, by port 282, sends.
SDN switching equipment 26 receives by port 261 data message that comprises source MAC MAC2421 and target MAC (Media Access Control) address MAC2631, according to the forwarding information of source MAC and target MAC (Media Access Control) address coupling, data message is sent by port vlan 263.When the port 263 of SDN switching equipment sends datagram main frame 2631, can remove VLAN sign VLAN300.
As shown in Figure 4, path between the entrance SDN switching equipment 24 of SDN controller 20 calculated data messages and outlet SDN switching equipment 26, will have the shortest path of the data retransmission port of identical VLAN and length 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 switching equipment 26.On this forward-path, the SDN switching equipment 24 that data message is accessed to SDN network is entrance SDN switching equipment, and the SDN switching equipment that data message is mail to outside SDN network is outlet SDN switching equipment; Other SDN switching equipment are middle SDN switching equipment.
SDN controller 20 generates the forwarding information of SDN switching equipment 20 according to above-mentioned forward-path, indication comprises source MAC MAC2421 by port 241 transmissions and target MAC (Media Access Control) address is the data message of MAC2631.SDN controller 20 is issued SDN switching equipment 24 by the forwarding information of calculating.
SDN controller 20 generates SDN switching equipment 23 forwarding informations according to above-mentioned forward-path, and indication sends by port 232 data message that comprises source MAC MAC2421 and target MAC (Media Access Control) address MAC2631.SDN controller 20 is issued SDN switching equipment 23 by the forwarding information of generation.
SDN controller 20 generates forwarding information according to above-mentioned forward-path, and indication sends by port 213 data message that comprises source MAC MAC2421 and target MAC (Media Access Control) address MAC2631.SDN controller 20 is issued SDN switching equipment 21 by the forwarding information of generation.
SDN controller 20 generates forwarding information according to above-mentioned forward-path, and indication sends the data message that comprises source MAC MAC2421 and target MAC (Media Access Control) address MAC2631 by port 252.SDN controller 20 is issued SDN switching equipment 25 by the forwarding information of generation.
SDN controller 20 generates forwarding information according to above-mentioned forward-path, and indication sends by port 274 data message that comprises source MAC MAC2421 and target MAC (Media Access Control) address MAC2631.SDN controller 20 is issued SDN switching equipment 27 by the forwarding information of generation.
SDN controller 20 generates forwarding information according to above-mentioned forward-path, and indication is revised as the VLAN sign sign of the data message that comprises source MAC MAC2421 and target MAC (Media Access Control) address MAC2631 VLAN VLAN300 and sends by port 253.SDN controller 20 is issued SDN switching equipment 26 by the forwarding information of generation.
SDN switching equipment 24 adds VLAN100 while receiving data message by port 242, based on forwarding information, will comprise VLAN100, and the data message of source MAC MAC2421 and target MAC (Media Access Control) address MAC2631 sends by port 241.
SDN switching equipment 23 is received and is comprised VLAN100 by port 233, and the data message of source MAC MAC2421 and target MAC (Media Access Control) address MAC2631 sends this data message according to the forwarding information of source MAC and target MAC (Media Access Control) address coupling by port 232.
SDN switching equipment 21 is received and is comprised VLAN100 by port 212, and the data message of source MAC MAC2421 and target MAC (Media Access Control) address MAC2631 sends this data message bag according to the forwarding information of source MAC and target MAC (Media Access Control) address coupling by port 213.
SDN switching equipment 25 is received and is comprised VLAN100 by port 251, and the data message of source MAC MAC2421 and target MAC (Media Access Control) address MAC2631 sends this data message according to the forwarding information of source MAC and target MAC (Media Access Control) address coupling by port 252.
SDN switching equipment 27 is received and is comprised VLAN100 by port 273, and the data message of source MAC MAC2421 and target MAC (Media Access Control) address MAC2631 sends this data message according to the forwarding information of source MAC and target MAC (Media Access Control) address coupling by port 274.
SDN switching equipment 26 receives with VLAN100 by port 262, the data message of source MAC MAC2421 and target MAC (Media Access Control) address MAC2631, according to the forwarding information of source MAC and target MAC (Media Access Control) address coupling, VLAN100 is revised as to VLAN300, the data message of having revised VLAN sign by port 2631 transmissions is by port 263.When SDN switching equipment 26 messages send datagram by port 263, VLAN can be identified to VLAN300 and remove.Or SDN controller 20 transmit port configuration informations are to SDN switching equipment 26, are port 263 configuration VLAN100.SDN controller generates forwarding information, and indication sends the data message that comprises source MAC MAC2421 and target MAC (Media Access Control) address MAC2631 by port 263.SDN controller 20 is issued SDN switching equipment 26 by the forwarding information of generation.SDN switching equipment 26 receives with VLAN100 by port 262, and the data message of source MAC MAC2421 and target MAC (Media Access Control) address MAC2631 sends by port 2631 according to the forwarding information of source MAC and target MAC (Media Access Control) address coupling.When SDN switching equipment 26 messages send datagram by port 263, VLAN can be identified to VLAN300 and remove.
As shown in Figure 5, the SDN controller 500 that the embodiment of the present invention provides comprises: topological acquiring unit 501, obtains the network topology of software defined network SDN.Vlan information acquiring unit 502, obtains the vlan information of data retransmission port of each SDN switching equipment of SDN; Forwarding information generation unit 503 is that the entrance SDN forwarding unit of SDN data message and each SDN forwarding unit on the forward-path between outlet SDN forwarding unit generate forwarding information according to the network topology of obtaining and the vlan information that obtains.
Forwarding information generation unit 503, calculates the path between entrance SDN forwarding unit and outlet SDN forwarding unit according to the network topology of obtaining; Forward-path using the shortest path calculating as entrance SDN forwarding unit and between outlet SDN forwarding unit; Transmit port configuration messages is by the identical information of virtual local area network of data retransmission port arrangement on shortest path; Based on forward-path, generate entrance SDN forwarding unit forwarding information, middle SDN forwarding unit forwarding information, outlet SDN forwarding unit forwarding information.
Forwarding information generation unit 503, calculates the path between entrance SDN forwarding unit and outlet SDN forwarding unit according to the network topology of obtaining; The forward-path of the shortest path of the data retransmission port of identical VLAN and length between entrance SDN forwarding unit and outlet SDN forwarding unit will be there is in the path of calculating; Based on forward-path, generate entrance SDN forwarding unit forwarding information, middle SDN forwarding unit forwarding information, outlet SDN forwarding unit forwarding information;
Forwarding information generation unit 503, calculates the path between entrance SDN forwarding unit and outlet SDN forwarding unit according to the network topology of obtaining; Forward-path using the shortest path calculating as entrance SDN forwarding unit and between outlet SDN forwarding unit; The vlan information, the entrance SDN forwarding unit that according to entrance SDN forwarding unit, receive the port of SDN data message send the vlan information of the data retransmission port of SDN data message at forward-path, and the vlan information of the data retransmission port of the SDN data message of next the SDN forwarding unit reception on forward-path, generate entrance SDN forwarding unit forwarding information; According to middle SDN forwarding unit, on forward-path, receive the vlan information of the data retransmission port of SDN data message, the vlan information of the data retransmission port of the SDN data message that the vlan information of the data retransmission port of transmission SDN data message and next the SDN forwarding unit on forward-path receive generates middle SDN forwarding unit forwarding information; According to outlet SDN forwarding unit, on forward-path, receive the vlan information of data retransmission port and the vlan information of outlet SDN forwarding unit transmission SDN data message of SDN data message, generate the forwarding information of outlet SDN forwarding unit.
In having moved the SDN network of OPENFLOW agreement, can realize interface querying message, port responses message, the port arrangement message in above-described embodiment by the interface querying status message of expansion OPEN flow agreement.
According to current OpenFlow agreement, realize, SDN controller can not obtain the vlan information of SDN switching equipment, also vlan information that cannot perception switching equipment forwarding data packets, easily causes the SDN switching equipment on the forward-path of SDN data message because vlan information is unknowable, to cause data retransmission fault.From above-described embodiment, can find out, the vlan information of the data retransmission port of SDN controller of the present invention based on SDN switching equipment, for each SDN forwarding unit on SDN data message forwarding path generates the forwarding information of corresponding VLAN, avoid SDN data message forwarding fault.
Above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (8)

1. software defined network controller generates a method for forwarding information, it is characterized in that,
Obtain the network topology of software defined network SDN;
Obtain the virtual LAN VLAN information of data retransmission port of each SDN switching equipment of described SDN;
According to the network topology of obtaining and the vlan information that obtains, be that the entrance SDN forwarding unit of SDN data message and each SDN forwarding unit on the forward-path between outlet SDN forwarding unit generate forwarding information.
2. method according to claim 1, it is characterized in that, be that the entrance SDN forwarding unit of SDN data message and each SDN forwarding unit on the forward-path between outlet SDN forwarding unit generate forwarding information and comprise according to the network topology of obtaining and the vlan information that obtains:
According to the network topology of obtaining, calculate the path between described entrance SDN forwarding unit and described outlet SDN forwarding unit;
Forward-path using the shortest path calculating as described entrance SDN forwarding unit and between described outlet SDN forwarding unit;
Transmit port configuration messages is by the identical vlan information of data retransmission port arrangement on described shortest path;
Based on described forward-path, generate entrance SDN forwarding unit forwarding information, middle SDN forwarding unit forwarding information, outlet SDN forwarding unit forwarding information.
3. method according to claim 1, it is characterized in that, be that the entrance SDN forwarding unit of SDN data message and each SDN forwarding unit on the forward-path between outlet SDN forwarding unit generate forwarding information and comprise according to the network topology of obtaining and the vlan information that obtains:
According to the network topology of obtaining, calculate the path between described entrance SDN forwarding unit and described outlet SDN forwarding unit;
The forward-path of the shortest path of the data retransmission port of identical VLAN and length between described entrance SDN forwarding unit and described outlet SDN forwarding unit will be there is in the path of calculating;
Based on described forward-path, generate entrance SDN forwarding unit forwarding information, middle SDN forwarding unit forwarding information, outlet SDN forwarding unit forwarding information.
4. method according to claim 1, it is characterized in that, be that the entrance SDN forwarding unit of SDN data message and each SDN forwarding unit on the forward-path between outlet SDN forwarding unit generate forwarding information and comprise according to the network topology of obtaining and the vlan information that obtains:
According to the network topology of obtaining, calculate the path between described entrance SDN forwarding unit and described outlet SDN forwarding unit;
Forward-path using the shortest path calculating as described entrance SDN forwarding unit and between described outlet SDN forwarding unit;
According to described entrance SDN forwarding unit receive the vlan information of the port of described SDN data message, described entrance SDN forwarding unit sends the vlan information of the data retransmission port of described SDN data message at described forward-path, and next the SDN forwarding unit on described forward-path receives the vlan information of the data retransmission port of described SDN data message, generation entrance SDN forwarding unit forwarding information;
According to middle SDN forwarding unit, on described forward-path, receive the vlan information of the data retransmission port of described SDN data message, the vlan information of data retransmission port that sends described SDN data message and the vlan information that next the SDN forwarding unit on described forward-path receives the data retransmission port of described SDN data message, SDN forwarding unit forwarding information in the middle of generating;
According to described outlet SDN forwarding unit, on described forward-path, receive the vlan information of data retransmission port of described SDN data message and the data retransmission port vlan information that described outlet SDN forwarding unit sends described SDN data message, generate the forwarding information of outlet SDN forwarding unit.
5. a software defined network controller, is characterized in that,
Topology acquiring unit, obtains the network topology of software defined network SDN;
Vlan information acquiring unit, obtains the vlan information of data retransmission port of each SDN switching equipment of described SDN;
Forwarding information generation unit is that the entrance SDN forwarding unit of SDN data message and each SDN forwarding unit on the forward-path between outlet SDN forwarding unit generate forwarding information according to the network topology of obtaining and the vlan information that obtains.
6. software defined network controller according to claim 5, is characterized in that, described forwarding information generation unit calculates the path between described entrance SDN forwarding unit and described outlet SDN forwarding unit according to the network topology of obtaining; Forward-path using the shortest path calculating as described entrance SDN forwarding unit and between described outlet SDN forwarding unit; Transmit port configuration messages is by the identical information of virtual local area network of data retransmission port arrangement on described shortest path; Based on described forward-path, generate entrance SDN forwarding unit forwarding information, middle SDN forwarding unit forwarding information, outlet SDN forwarding unit forwarding information.
7. described software defined network controller according to claim 5, is characterized in that, described forwarding information generation unit calculates the path between described entrance SDN forwarding unit and described outlet SDN forwarding unit according to the network topology of obtaining; The forward-path of the shortest path of the data retransmission port of identical VLAN and length between described entrance SDN forwarding unit and described outlet SDN forwarding unit will be there is in the path of calculating; Based on described forward-path, generate entrance SDN forwarding unit forwarding information, middle SDN forwarding unit forwarding information, outlet SDN forwarding unit forwarding information.
8. described software defined network controller according to claim 5, is characterized in that, described forwarding information generation unit calculates the path between described entrance SDN forwarding unit and described outlet SDN forwarding unit according to the network topology of obtaining; Forward-path using the shortest path calculating as described entrance SDN forwarding unit and between described outlet SDN forwarding unit; According to described entrance SDN forwarding unit receive the vlan information of the port of described SDN data message, described entrance SDN forwarding unit sends the vlan information of the data retransmission port of described SDN data message at described forward-path, and next the SDN forwarding unit on described forward-path receives the vlan information of the data retransmission port of described SDN data message, generation entrance SDN forwarding unit forwarding information; According to middle SDN forwarding unit, on described forward-path, receive the vlan information of the data retransmission port of described SDN data message, the vlan information of data retransmission port that sends described SDN data message and the vlan information that next the SDN forwarding unit on described forward-path receives the data retransmission port of described SDN data message, SDN forwarding unit forwarding information in the middle of generating; According to described outlet SDN forwarding unit, on described forward-path, receive the vlan information of data retransmission port of described SDN data message and the vlan information that described outlet SDN forwarding unit sends the data retransmission port of described SDN data message, generate the forwarding information of outlet SDN forwarding unit.
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 true CN103763146A (en) 2014-04-30
CN103763146B 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 (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243270A (en) * 2014-09-25 2014-12-24 杭州华三通信技术有限公司 Tunnel setup method and tunnel setup device
CN104301230A (en) * 2014-10-10 2015-01-21 杭州华三通信技术有限公司 Message forwarding method and device
CN104601487A (en) * 2014-12-31 2015-05-06 北京华为数字技术有限公司 Method and SDN (self-defending network) controller for realizing multistage load sharing
CN104618475A (en) * 2015-01-28 2015-05-13 清华大学 Horizontal direction communication method for heterogeneous SDN (self-defending network) and SDN system
WO2015188700A1 (en) * 2014-06-11 2015-12-17 Hangzhou H3C Technologies Co., Ltd. Establishing instance in software defined network
CN105207995A (en) * 2015-08-18 2015-12-30 上海斐讯数据通信技术有限公司 SDN-based VLAN dynamic registering method
CN105450532A (en) * 2014-09-28 2016-03-30 杭州华三通信技术有限公司 Three-layer forwarding method and three-layer forwarding device in software defined network
WO2016066144A1 (en) * 2014-10-31 2016-05-06 Hangzhou H3C Technologies Co., Ltd. Forwarding path link table packet in software defined network
CN105591963A (en) * 2015-08-27 2016-05-18 杭州华三通信技术有限公司 Message forwarding method and equipment in SDN
CN105704054A (en) * 2014-11-27 2016-06-22 英业达科技有限公司 Data center network flow migration method and system thereof
CN105704192A (en) * 2014-11-28 2016-06-22 华为技术有限公司 Method and equipment for determining controller position in SDN network
WO2016095822A1 (en) * 2014-12-17 2016-06-23 Hangzhou H3C Technologies Co., Ltd. Flow transmission
WO2016095141A1 (en) * 2014-12-17 2016-06-23 华为技术有限公司 Data forwarding method, device and system in software-defined networking
WO2017000221A1 (en) * 2015-06-30 2017-01-05 华为技术有限公司 Method and device for communication by far-end network element port
CN106685730A (en) * 2017-01-23 2017-05-17 郑州云海信息技术有限公司 SDN network system with separated configuration management and controlling
WO2017114342A1 (en) * 2015-12-31 2017-07-06 新华三技术有限公司 Control of packet of virtual machine
CN107078962A (en) * 2016-09-13 2017-08-18 深圳前海达闼云端智能科技有限公司 Data processing method, device and system in SDN, electronic equipment and computer program product
WO2018001242A1 (en) * 2016-06-30 2018-01-04 中兴通讯股份有限公司 Data-message processing method and apparatus
WO2018001154A1 (en) * 2016-06-29 2018-01-04 新华三技术有限公司 Flow path detection
WO2018019146A1 (en) * 2016-07-28 2018-02-01 新华三技术有限公司 Device detection
CN108880969A (en) * 2017-05-16 2018-11-23 杭州达乎科技有限公司 The method and apparatus of link are established in a kind of SDN network

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060002311A1 (en) * 2004-06-30 2006-01-05 Fujitsu Limited Network device with VLAN topology discovery functions
CN102946365A (en) * 2012-11-09 2013-02-27 清华大学 Flow table updating consistency maintaining method based on software defined network
WO2013168737A1 (en) * 2012-05-09 2013-11-14 日本電気株式会社 Communication system, control device, communication method, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060002311A1 (en) * 2004-06-30 2006-01-05 Fujitsu Limited Network device with VLAN topology discovery functions
WO2013168737A1 (en) * 2012-05-09 2013-11-14 日本電気株式会社 Communication system, control device, communication method, and program
CN102946365A (en) * 2012-11-09 2013-02-27 清华大学 Flow table updating consistency maintaining method based on software defined network

Cited By (46)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015188700A1 (en) * 2014-06-11 2015-12-17 Hangzhou H3C Technologies Co., Ltd. Establishing instance in software defined network
US10397098B2 (en) 2014-06-11 2019-08-27 Hewlett Packard Enterprise Development Lp Establishing instance in software defined network
CN104243270A (en) * 2014-09-25 2014-12-24 杭州华三通信技术有限公司 Tunnel setup method and tunnel setup device
CN104243270B (en) * 2014-09-25 2017-11-24 新华三技术有限公司 A kind of method and apparatus for establishing tunnel
CN105450532A (en) * 2014-09-28 2016-03-30 杭州华三通信技术有限公司 Three-layer forwarding method and three-layer forwarding device in software defined network
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
US10887132B2 (en) 2014-10-31 2021-01-05 Hewlett Packard Enterprise Development Lp Forwarding path link table packet in software defined network
WO2016066144A1 (en) * 2014-10-31 2016-05-06 Hangzhou H3C Technologies Co., Ltd. Forwarding path link table packet in software defined network
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
CN105704192A (en) * 2014-11-28 2016-06-22 华为技术有限公司 Method and equipment for determining controller position in SDN network
JP2017536761A (en) * 2014-12-17 2017-12-07 華為技術有限公司Huawei Technologies Co.,Ltd. Data transfer method, apparatus, and system in software-defined networking
AU2014414703B2 (en) * 2014-12-17 2018-11-08 Huawei Cloud Computing Technologies Co., Ltd. Data forwarding method, device and system in software-defined networking
KR20170060102A (en) * 2014-12-17 2017-05-31 후아웨이 테크놀러지 컴퍼니 리미티드 Data forwarding method, device and system in software-defined networking
CN107005462B (en) * 2014-12-17 2020-03-20 华为技术有限公司 Method, equipment and system for forwarding data in software defined network
US10476981B2 (en) 2014-12-17 2019-11-12 Hewlett Packard Enterprise Development Lp Flow transmission
CN107005462A (en) * 2014-12-17 2017-08-01 华为技术有限公司 The method, apparatus and system of data forwarding in software defined network
WO2016095141A1 (en) * 2014-12-17 2016-06-23 华为技术有限公司 Data forwarding method, device and system in software-defined networking
WO2016095822A1 (en) * 2014-12-17 2016-06-23 Hangzhou H3C Technologies Co., Ltd. Flow transmission
US10263889B2 (en) 2014-12-17 2019-04-16 Huawei Technologies Co., Ltd. Data forwarding method, device, and system in software-defined networking
CN104601487A (en) * 2014-12-31 2015-05-06 北京华为数字技术有限公司 Method and SDN (self-defending network) controller for realizing multistage load sharing
CN104618475A (en) * 2015-01-28 2015-05-13 清华大学 Horizontal direction communication method for heterogeneous SDN (self-defending network) and SDN system
US10491423B2 (en) 2015-06-30 2019-11-26 Huawei Technologies Co., Ltd. VLAN tag communication method by using a remote network element port and apparatus
WO2017000221A1 (en) * 2015-06-30 2017-01-05 华为技术有限公司 Method and device for communication by far-end network element port
CN105207995B (en) * 2015-08-18 2019-06-07 上海斐讯数据通信技术有限公司 A kind of VLAN dynamic registration method based on SDN
CN105207995A (en) * 2015-08-18 2015-12-30 上海斐讯数据通信技术有限公司 SDN-based VLAN dynamic registering method
CN105591963B (en) * 2015-08-27 2018-10-12 新华三技术有限公司 Message forwarding method and equipment in SDN
CN105591963A (en) * 2015-08-27 2016-05-18 杭州华三通信技术有限公司 Message forwarding method and equipment in SDN
CN106936715A (en) * 2015-12-31 2017-07-07 新华三技术有限公司 virtual machine message control method and device
CN106936715B (en) * 2015-12-31 2019-06-07 新华三技术有限公司 Virtual machine message control method and device
WO2017114342A1 (en) * 2015-12-31 2017-07-06 新华三技术有限公司 Control of packet of virtual machine
US10484274B2 (en) 2015-12-31 2019-11-19 New H3C Technologies Co., Ltd Controlling packets of virtual machines
WO2018001154A1 (en) * 2016-06-29 2018-01-04 新华三技术有限公司 Flow path detection
US10826821B2 (en) 2016-06-29 2020-11-03 New H3C Technologies Co., Ltd Flow path detection
WO2018001242A1 (en) * 2016-06-30 2018-01-04 中兴通讯股份有限公司 Data-message processing method and apparatus
CN107566237A (en) * 2016-06-30 2018-01-09 中兴通讯股份有限公司 A kind of data message processing method and device
US11115285B2 (en) 2016-07-28 2021-09-07 New H3C Technologies Co., Ltd. Device detection
WO2018019146A1 (en) * 2016-07-28 2018-02-01 新华三技术有限公司 Device detection
CN107078962A (en) * 2016-09-13 2017-08-18 深圳前海达闼云端智能科技有限公司 Data processing method, device and system in SDN, electronic equipment and computer program product
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
CN106685730A (en) * 2017-01-23 2017-05-17 郑州云海信息技术有限公司 SDN network system with separated configuration management and controlling
CN108880969B (en) * 2017-05-16 2021-02-02 上海层峰网络科技有限公司 Method and device for establishing link in SDN network
CN108880969A (en) * 2017-05-16 2018-11-23 杭州达乎科技有限公司 The method and apparatus of link are established in a kind of SDN network

Also Published As

Publication number Publication date
CN103763146B (en) 2017-05-17

Similar Documents

Publication Publication Date Title
CN103763146A (en) Soft defined network controller and transmission information generating method of soft defined network controller
US8830998B2 (en) Separation of edge and routing/control information for multicast over shortest path bridging
CN104639470A (en) Flow label encapsulating method and system
US8817782B2 (en) Method to route multicast data in SPB network by establishing the virtual PIM adjacency across the SPB networks in a single PIM domain
CN104579894B (en) The IGMP Snooping implementation methods and device of the distributed virtual switch system
CN104219150A (en) Method and device for issuing flow tables
CN103888369A (en) Ethernet communication method and system and SDN exchanger
CN103685009A (en) Data packet processing method and system as well as controller
CN104243270A (en) Tunnel setup method and tunnel setup device
CN103944828A (en) Method and equipment for transmitting protocol messages
CN104301230A (en) Message forwarding method and device
CN103067278B (en) A kind of method for transmission processing of Frame, equipment and system
CN104348717A (en) Message forwarding method and device
CN104168209A (en) Multi-access SDN message forwarding method and controller
CN108512758A (en) Message processing method, controller and forwarding unit
CN104639435A (en) Method and device for data stream forwarding in SDN (Software Defined Networking)
CN106936704B (en) Multi-path switching using hop-by-hop VLAN classification
CN106664235A (en) Converging method and apparatus for software defined network and traditional network
CN104219149B (en) A kind of message transmitting method and equipment based on virtual connections
CN103200107B (en) Message transmitting method and message transmitting equipment
KR20170023493A (en) Apparatus and method for controlling network service in environment of interworking between software defined network and legacy network
US9614758B2 (en) Communication system, integrated controller, packet forwarding method and program
WO2019041944A1 (en) Method and apparatus for processing packets
CN105049351A (en) Multi-link transparent interconnection algorithm based on SDN
KR101610031B1 (en) Method for controlling openflow switch embedded controller in software defined network and apparatus thereof

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: 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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant