CN108259352B - SDN and non-SDN interworking method and device - Google Patents

SDN and non-SDN interworking method and device Download PDF

Info

Publication number
CN108259352B
CN108259352B CN201711416597.8A CN201711416597A CN108259352B CN 108259352 B CN108259352 B CN 108259352B CN 201711416597 A CN201711416597 A CN 201711416597A CN 108259352 B CN108259352 B CN 108259352B
Authority
CN
China
Prior art keywords
sdn
edge
routing table
port
protocol
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
CN201711416597.8A
Other languages
Chinese (zh)
Other versions
CN108259352A (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.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks 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 Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN201711416597.8A priority Critical patent/CN108259352B/en
Publication of CN108259352A publication Critical patent/CN108259352A/en
Application granted granted Critical
Publication of CN108259352B publication Critical patent/CN108259352B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a device for intercommunication between SDN and non-SDN, wherein the method comprises the following steps: determining each edge network device of the SDN and an edge port of each edge network device; issuing a protocol message report table and port identification of a corresponding edge port to each edge network device, so that each edge network device reports the protocol message and the port identification of the edge port when receiving the protocol message recorded in the protocol message report table; after receiving the protocol message and the port identifier of the edge port, issuing a starting notice to the edge network equipment which reports the protocol message, so that the edge network equipment which reports the protocol message starts a protocol corresponding to the protocol message on the edge port which receives the protocol message and uses a port address to learn and report a routing table item of the network equipment which sends the protocol message in a non-SDN; and obtaining a routing table of the whole network according to the received routing table item and then issuing the routing table to each network device of the SDN. The scheme can not cause the route oscillation of the SDN, thereby greatly improving the user experience.

Description

SDN and non-SDN interworking method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for interworking between a Software Defined Network (SDN) and a non-SDN.
Background
The SDN is a novel network architecture in the Emulex network, and is an implementation mode of network virtualization. A network device of the SDN needs to support an SDN control mode to be controlled by a controller of the SDN. Therefore, existing SDNs are basically new networks, and legacy network devices basically do not support interfaces to be self-defined by a controller of the SDN. Therefore, how to fuse the SDN and the old non-SDN to make the network deployment more flexible is always a big problem.
In the network architecture shown in fig. 1, there are three non-SDNs: internet-1, Internet-2 and Internet-3, Internet-1 is connected with SDN through a non-SDN network device 1, Internet-2 is connected with SDN through a non-SDN network device 2, Internet-3 is connected with SDN through a non-SDN network device 3, SDN includes that the non-SDN network device 1, the non-SDN network device 2, and the SDN network device 3 are respectively connected with the non-SDN network device 1, the non-SDN network device 2, and the non-SDN network device 3, and the SDN network device 1, the SDN network device 2, and the SDN network device 3 are edge network devices of SDN, and a controller of SDN manages the whole SDN. The existing SDN and non-SDN intercommunication method is that an edge network device directly receives a protocol message, the protocol message is sent to a controller of the SDN, and after the controller of the SDN participates in the operation of the protocol, a flow table is sent to the SDN.
In the method, all operations of route updating, route changing, route keep-alive and the like of the SDN need to be participated by a controller of the SDN, and if the controller of the SDN responds untimely, route oscillation of the SDN can be caused, and user experience is seriously influenced.
Disclosure of Invention
The embodiment of the invention provides a method and a device for intercommunication between an SDN and a non-SDN, which are used for solving the problem that in the prior art, routing oscillation of the SDN is caused and user experience is seriously influenced.
According to an embodiment of the present invention, a method for interworking between an SDN and a non-SDN is provided, and applied to a controller of the SDN, the method includes:
determining respective edge network devices of the SDN and edge ports to which the respective edge network devices are connected with network devices of the non-SDN;
sending a protocol message report table and port identifications of corresponding edge ports to each edge network device, so that if each edge network device receives the protocol message recorded in the protocol message report table through each edge port, the protocol message and the port identifications of the edge ports receiving the protocol message are reported;
after receiving the protocol message and the port identifier of the edge port receiving the protocol message, issuing a protocol carrying the protocol message, a port identifier of the edge port receiving the protocol message and an opening notification of a port address to the edge network device reporting the protocol message, so that the edge network device reporting the protocol message opens a protocol corresponding to the protocol message on the edge port receiving the protocol message, and performs routing table item learning and reports a learned routing table item by using the port address and the network device sending the protocol message in the non-SDN;
and after obtaining a whole network routing table comprising an SDN and a non-SDN according to the received routing table item, issuing the whole network routing table to each network device of the SDN.
Specifically, after obtaining a whole network routing table including an SDN and a non-SDN according to a received routing table entry, issuing the whole network routing table to each network device of the SDN, specifically including:
merging the routing table entries which can be merged in the received routing table entries; and the number of the first and second groups,
determining an outgoing interface and an encapsulation table of each merged routing table entry to obtain a whole network routing table comprising an SDN and a non-SDN;
and issuing the whole network routing table to each network device of the SDN.
Optionally, the method further includes:
sending an advertisement indication to the respective edge network devices to cause the respective edge network devices to send the full-network routing table to the connected respective network devices of the non-SDN.
According to an embodiment of the present invention, there is also provided a method for interworking between an SDN and a non-SDN, where the method is applied to an edge network device of the SDN, and the method includes:
receiving a port identifier of an edge port and a protocol message upper report sent by a controller of the SDN;
monitoring whether the protocol message recorded in the report on the protocol message is received through the edge port or not;
if the protocol message recorded in the report on the protocol message is received through one edge port, reporting the protocol message and a port identifier of the edge port receiving the protocol message, so that a controller of the SDN issues an opening notification carrying a protocol corresponding to the protocol message, the port identifier of the edge port receiving the protocol message and a port address;
starting a protocol corresponding to the protocol message on an edge port for receiving the protocol message; and the number of the first and second groups,
and using the port address and the network equipment which sends the protocol message in the non-SDN to learn a routing table item, and reporting the learned routing table item, so that a controller of the SDN sends the whole network routing table to each network equipment of the SDN after obtaining the whole network routing table comprising the SDN and the non-SDN according to the received routing table item.
Optionally, the method further includes:
receiving an announcement indication sent by a controller of the SDN;
sending the entire network routing table to the connected network devices of the non-SDN.
According to an embodiment of the present invention, there is also provided a device for interworking between SDN and non-SDN, where the device is applied in a controller of the SDN, and the device includes:
a determining module to determine edge network devices of the SDN and edge ports of the edge network devices and the non-SDN network devices;
a first forwarding module, configured to forward a protocol packet report table and port identifiers of corresponding edge ports to each edge network device, so that if each edge network device receives a protocol packet recorded in the report table on the protocol packet through its edge port, the protocol packet is reported and the port identifiers of the edge ports that receive the protocol packet are reported;
a second issuing module, configured to, after receiving the protocol packet and a port identifier of an edge port that receives the protocol packet, issue a protocol corresponding to the protocol packet, a port identifier of an edge port that receives the protocol packet, and an opening notification of a port address to an edge network device that reports the protocol packet, so that the edge network device that reports the protocol packet opens a protocol corresponding to the protocol packet on the edge port that receives the protocol packet, and perform routing table entry learning and report a learned routing table entry using the port address and a network device that sends the protocol packet in the non-SDN;
and a third issuing module, configured to, after obtaining a whole-network routing table including an SDN and a non-SDN according to the received routing table entry, issue the whole-network routing table to each network device of the SDN.
Specifically, the third issuing module is specifically configured to:
merging the routing table entries which can be merged in the received routing table entries; and the number of the first and second groups,
determining an outgoing interface and an encapsulation table of each merged routing table entry to obtain a whole network routing table comprising an SDN and a non-SDN;
and issuing the whole network routing table to each network device of the SDN.
Optionally, the third issuing module is further configured to:
sending an advertisement indication to the respective edge network devices to cause the respective edge network devices to send the full-network routing table to the connected respective network devices of the non-SDN.
According to an embodiment of the present invention, there is also provided a device for interworking between SDN and non-SDN, where the device is applied in an edge network device of the SDN, and the device includes:
the receiving module is used for receiving a port identifier of an edge port and a protocol message upper report sent by a controller of the SDN;
the monitoring module is used for monitoring whether the protocol message recorded in the report form on the protocol message is received through the edge port;
a first reporting module, configured to report a protocol packet and a port identifier of an edge port that receives the protocol packet if the protocol packet recorded in the report on the protocol packet is received through an edge port, so that a controller of the SDN issues an opening notification that carries a protocol corresponding to the protocol packet, the port identifier of the edge port that receives the protocol packet, and a port address;
the starting module is used for starting a protocol corresponding to the protocol message on the edge port for receiving the protocol message;
a second reporting module, configured to perform routing table entry learning by using the port address and a network device in the non-SDN that sends the protocol packet, and report a learned routing table entry, so that a controller of the SDN, after obtaining an entire network routing table including the SDN and the non-SDN according to a received routing table entry, issues the entire network routing table to each network device of the SDN.
Optionally, the apparatus further includes a sending module;
the receiving module is further configured to receive an announcement indication sent by a controller of the SDN;
the sending module is configured to send the entire network routing table to each connected network device of the non-SDN according to the notification indication.
The invention has the following beneficial effects:
the embodiment of the invention provides a method and a device for intercommunication between SDN and non-SDN, wherein edge network devices of the SDN and edge ports connected with the edge network devices of the non-SDN are determined; sending a protocol message report table and port identifications of corresponding edge ports to each edge network device, so that if each edge network device receives the protocol message recorded in the protocol message report table through each edge port, the protocol message and the port identifications of the edge ports receiving the protocol message are reported; after receiving the protocol message and the port identifier of the edge port receiving the protocol message, issuing a protocol carrying the protocol message, a port identifier of the edge port receiving the protocol message and an opening notification of a port address to the edge network device reporting the protocol message, so that the edge network device reporting the protocol message opens the protocol corresponding to the protocol message on the edge port receiving the protocol message and uses the port address and the network device sending the protocol message in the non-SDN to learn a routing table item and report the learned routing table item; and after obtaining a whole network routing table comprising an SDN and a non-SDN according to the received routing table item, issuing the whole network routing table to each network device of the SDN. In the scheme, the controller of the SDN only participates in informing the edge port of the edge network device to start a corresponding protocol and obtains a whole network routing table according to the reported routing table items of each edge network device, and other work is completed by the edge network device.
Drawings
FIG. 1 is a diagram of SDN and non-SDN architecture in the prior art;
fig. 2 is a flowchart of a method for interworking SDN and non-SDN with a controller of the SDN as an execution subject according to an embodiment of the present invention;
FIG. 3 is a flowchart of S24 in an embodiment of the present invention;
fig. 4 is a flowchart of a method for performing SDN and non-SDN interworking with an edge network device of an SDN according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an SDN and non-SDN interworking apparatus corresponding to fig. 2 according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an SDN and non-SDN interworking apparatus corresponding to fig. 4 in an embodiment of the present invention.
Detailed Description
Aiming at the problems of routing shock of an SDN and serious influence on user experience in the prior art, the embodiment of the invention provides a method for intercommunication between the SDN and a non-SDN, the method is applied to a controller of the SDN, the flow is shown in figure 2, and the specific execution steps are as follows:
s21: determining edge network devices of the SDN and edge ports of the edge network devices connected with network devices of a non-SDN.
As shown in fig. 1, SDN and non-SDN are interconnected, and a network device in the SDN connected to a network device in the non-SDN may be defined as an edge network device in the SDN, where the number of the edge network devices may be one or multiple; and the port connected to the non-SDN network device in the edge network device may be defined as an edge port of the edge network device, and each edge port of the edge network device may be one or multiple.
Since the controller of the SDN stores the entire network deployment information of the SDN, the controller of the SDN may determine, according to the entire network deployment information of the SDN, each edge network device of the SDN and an edge port of each edge network device.
S22: and issuing a protocol message report table and the port identification of the corresponding edge port to each edge network device, so that each edge network device reports the protocol message and the port identification of the edge port for receiving the protocol message if receiving the protocol message recorded in the protocol message report table through the respective edge port.
The edge port of the edge network device may be preset to receive a relevant Protocol message and send the received Protocol message to a controller of the SDN, the relevant Protocol message may be recorded in a Protocol message report, and the report may include but is not limited to one or more Protocol messages of a Link Layer Discovery Protocol (LLDP), an Open Shortest Path First (OSPF), a Border Gateway Protocol (BGP), an Address Resolution Protocol (ARP), a Spanning Tree Protocol (STP), and the like, and may be set according to actual needs.
The controller of the SDN may issue a protocol packet reporting table and a port identifier of an edge port corresponding to each edge network device, and if each edge network device receives a protocol packet recorded in the protocol packet reporting table through its edge port, the controller of the SDN reports the protocol packet and the port identifier of the edge port receiving the protocol packet. Since the edge ports of the edge network devices are different, the port identifiers of the edge ports of the protocol packet and the edge port receiving the protocol packet need to be reported to the controller of the SDN.
S23: after receiving the protocol message and the port identifier of the edge port receiving the protocol message, sending a protocol corresponding to the protocol message, the port identifier of the edge port receiving the protocol message and an opening notification of a port address to the edge network device reporting the protocol message, so that the edge network device reporting the protocol message opens the protocol corresponding to the protocol message on the edge port receiving the protocol message and performs routing table item learning and reports the learned routing table item by using the port address and the network device which sends the protocol message in a non-SDN.
After receiving the protocol message and the port identifier of the edge port receiving the protocol message, the controller of the SDN determines that the edge network device reporting the protocol message needs to use the protocol corresponding to the protocol message to communicate with the non-SDN network device, so that an opening notification can be issued to the edge network device reporting the protocol message, the protocol corresponding to the protocol message, the port identifier of the edge port receiving the protocol message, and the opening notification of the port address are carried in the opening notification, the edge network device reporting the protocol message can open the protocol corresponding to the protocol message on the edge port receiving the protocol message according to the opening notification, and use the port address and the network device sending the protocol message in the non-SDN to learn the routing table entry, and report the learned routing table entry.
S24: and after obtaining a whole network routing table comprising the SDN and the non-SDN according to the received routing table item, issuing the whole network routing table to each network device of the SDN.
Since the SDN may include a plurality of edge network devices, a controller of the SDN needs to process all received routing table entries to obtain a whole network routing table including the SDN and the non-SDN, and then issue the whole network routing table to each network device of the SDN, thereby implementing interworking between the SDN and the non-SDN.
In the scheme, the controller of the SDN only participates in informing the edge port of the edge network device to start a corresponding protocol and obtains a whole network routing table according to the reported routing table items of each edge network device, and other work is completed by the edge network device.
Specifically, after obtaining the whole network routing table including the SDN and the non-SDN according to the received routing table entry in S24, the process of issuing the whole network routing table to each network device of the SDN specifically includes, as shown in fig. 3:
s241: and merging the routing table entries which can be merged in the received routing table entries.
For the following description, it is assumed that the received routing table entry includes the following three items:
192.168.1.1/32;
192.168.1.2/32;
192.168.1.3/32。
if the three routing table entries are all issued to all network devices of the SDN, three table entries are occupied. But in reality these three can be combined into one: 192.168.1.0/32, similar routing table entries are processed, so that the storage space of the network device of the SDN can be effectively saved.
S242: and determining an outgoing interface and an encapsulation table of each merged routing table entry to obtain a whole network routing table comprising an SDN and a non-SDN.
Each routing table entry corresponds to a different outgoing interface and encapsulation table, and in order to ensure the subsequent intercommunication between SDN and non-SDN, the outgoing interface and the encapsulation table entry also need to be recorded correspondingly to each routing table entry, so that a routing table of the whole network can be obtained.
S243: and issuing the whole network routing table to each network device of the SDN.
In order to implement intercommunication between the SDN and the non-SDN, each network device of the SDN needs to acquire a routing table of the whole network, and therefore, the routing table can be issued to each network device of the SDN.
Optionally, to implement SDN and non-SDN interworking, the method may further include: and sending an announcement instruction to each edge network device so that each edge network device sends the whole network routing table to each connected network device which is not the SDN. Each network device of the non-SDN also obtains the whole network routing table of the SDN, so that the intercommunication between the SDN and the non-SDN can be better realized.
The SDN and non-SDN interworking method described above is applied to a controller of an SDN, that is, the controller of the SDN is used as an execution subject, and another SDN and non-SDN interworking method is described below, the method is applied to each edge network device of the SDN, that is, each edge network device of the SDN is used as an execution subject, and a flow is shown in fig. 4, and the specific execution steps include:
s41: and receiving a port identifier of an edge port and a protocol message upper report sent by a controller of the SDN.
S42: and monitoring whether the protocol message recorded in the report form on the protocol message is received through the edge port.
S43: if the protocol message recorded in the report on the protocol message is received through one edge port, the protocol message and the port identifier of the edge port receiving the protocol message are reported, so that a controller of the SDN issues an opening notification carrying the protocol corresponding to the protocol message, the port identifier of the edge port receiving the protocol message and the port address.
The port identifiers of the edge ports of the protocol messages and the received protocol messages can be reported to a controller of the SDN, and the controller of the SDN issues an opening notice carrying the port identifiers and the port addresses of the edge ports of the protocol messages and the received protocol messages.
S44: and starting a protocol corresponding to the protocol message on the edge port for receiving the protocol message.
S45: and using the port address and the network equipment which sends the protocol message in the non-SDN to learn the routing table items, and reporting the learned routing table items, so that a controller of the SDN sends the whole network routing table to each network equipment of the SDN after obtaining the whole network routing table comprising the SDN and the non-SDN according to the received routing table items.
In the scheme, the controller of the SDN only participates in informing the edge port of the edge network device to start a corresponding protocol and obtains a whole network routing table according to the reported routing table items of each edge network device, and other work is completed by the edge network device.
Optionally, in order to facilitate interworking between SDN and non-SDN, the method may further include: receiving an announcement indication sent by a controller of the SDN; and sending the whole network routing table to each connected non-SDN network device. Each network device of the non-SDN also obtains the whole network routing table of the SDN, so that the intercommunication between the SDN and the non-SDN can be better realized.
Based on the same inventive concept, an embodiment of the present invention provides a device for interworking between SDN and non-SDN, where the device corresponds to the method for interworking between SDN and non-SDN shown in fig. 2, and is applied in a controller of SDN, and the structure is shown in fig. 5, and includes:
a determining module 51, configured to determine edge network devices of the SDN and edge ports of the edge network devices connected to non-SDN network devices;
a first forwarding module 52, configured to forward a protocol packet reporting table and port identifiers of corresponding edge ports to each edge network device, so that if each edge network device receives a protocol packet recorded in the protocol packet reporting table through its edge port, the protocol packet is reported and the port identifiers of the edge ports that receive the protocol packet are reported;
a second issuing module 53, configured to, after receiving a protocol packet and a port identifier of an edge port that receives the protocol packet, issue a protocol that carries a correspondence to the protocol packet, a port identifier of an edge port that receives the protocol packet, and an opening notification of a port address to an edge network device that reports the protocol packet, so that the edge network device that reports the protocol packet opens a protocol that corresponds to the protocol packet on the edge port that receives the protocol packet and performs routing table entry learning and reports a learned routing table entry using the port address and a network device that sends the protocol packet in a non-SDN;
a third issuing module 54, configured to, after obtaining a whole-network routing table including the SDN and the non-SDN according to the received routing table entry, issue the whole-network routing table to each network device of the SDN.
In the scheme, the controller of the SDN only participates in informing the edge port of the edge network device to start a corresponding protocol and obtains a whole network routing table according to the reported routing table items of each edge network device, and other work is completed by the edge network device.
Specifically, the third issuing module 54 is specifically configured to:
merging the routing table entries which can be merged in the received routing table entries; and the number of the first and second groups,
determining an outgoing interface and an encapsulation table of each merged routing table entry to obtain a whole network routing table comprising an SDN and a non-SDN;
and issuing the whole network routing table to each network device of the SDN.
Optionally, the third issuing module 54 is further configured to:
and sending an announcement instruction to each edge network device so that each edge network device sends the whole network routing table to each connected network device which is not the SDN.
Based on the same inventive concept, an embodiment of the present invention provides a device for interworking between SDN and non-SDN, where the device corresponds to the method for interworking between SDN and non-SDN shown in fig. 4, and is applied in a controller of SDN, and the structure is shown in fig. 6, and includes:
a receiving module 61, configured to receive a port identifier of an edge port and a protocol packet upper report sent by a controller of the SDN;
the monitoring module 62 is configured to monitor whether a protocol packet recorded in a report on the protocol packet is received through an edge port;
a first reporting module 63, configured to report the protocol packet and the port identifier of the edge port that receives the protocol packet if the protocol packet recorded in the report on the protocol packet is received through one edge port, so that a controller of the SDN issues an opening notification that carries a protocol corresponding to the protocol packet, the port identifier of the edge port that receives the protocol packet, and a port address;
an opening module 64, configured to open a protocol corresponding to the protocol packet on the edge port that receives the protocol packet;
a second reporting module 65, configured to perform routing table entry learning by using the port address and the network device that sends the protocol packet in the non-SDN, and report the learned routing table entry, so that after the controller of the SDN obtains an entire network routing table including the SDN and the non-SDN according to the received routing table entry, the controller of the SDN issues the entire network routing table to each network device of the SDN.
In the scheme, the controller of the SDN only participates in informing the edge port of the edge network device to start a corresponding protocol and obtains a whole network routing table according to the reported routing table items of each edge network device, and other work is completed by the edge network device.
Optionally, the apparatus further includes a sending module, wherein:
the receiving module is further configured to receive an announcement indication sent by a controller of the SDN;
and the sending module is used for sending the whole network routing table to each connected network device of the non-SDN according to the notification indication.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While alternative embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following appended claims be interpreted as including alternative embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (10)

1. A method for interworking a Software Defined Network (SDN) and a non-SDN is applied to a controller of the SDN, and is characterized by comprising the following steps:
determining respective edge network devices of the SDN and edge ports to which the respective edge network devices are connected with network devices of the non-SDN;
sending a protocol message report table and port identifications of corresponding edge ports to each edge network device, so that if each edge network device receives the protocol message recorded in the protocol message report table through each edge port, the protocol message and the port identifications of the edge ports receiving the protocol message are reported;
after receiving the protocol message and the port identifier of the edge port receiving the protocol message, issuing a protocol carrying the protocol message, a port identifier of the edge port receiving the protocol message and an opening notification of a port address to the edge network device reporting the protocol message, so that the edge network device reporting the protocol message opens the protocol corresponding to the protocol message on the edge port receiving the protocol message and uses the port address and the network device sending the protocol message in the non-SDN to learn a routing table item and report the learned routing table item;
and after obtaining a whole network routing table comprising an SDN and a non-SDN according to the received routing table item, issuing the whole network routing table to each network device of the SDN.
2. The method of claim 1, wherein after obtaining a whole network routing table including an SDN and a non-SDN according to the received routing table entry, issuing the whole network routing table to each network device of the SDN, specifically includes:
merging the routing table entries which can be merged in the received routing table entries; and the number of the first and second groups,
determining an outgoing interface and an encapsulation table of each merged routing table entry to obtain a whole network routing table comprising an SDN and a non-SDN;
and issuing the whole network routing table to each network device of the SDN.
3. The method of claim 1 or 2, further comprising:
sending an advertisement indication to the respective edge network devices to cause the respective edge network devices to send the full-network routing table to the connected respective network devices of the non-SDN.
4. A method for interworking between SDN and non-SDN is applied to an edge network device of the SDN, and is characterized in that the method comprises the following steps:
receiving a port identifier of an edge port and a protocol message upper report sent by a controller of the SDN;
monitoring whether the protocol message recorded in the report on the protocol message is received through the edge port or not;
if the protocol message recorded in the report on the protocol message is received through one edge port, reporting the protocol message and a port identifier of the edge port receiving the protocol message, so that a controller of the SDN issues an opening notification carrying a protocol corresponding to the protocol message, the port identifier of the edge port receiving the protocol message and a port address;
starting a protocol corresponding to the protocol message on an edge port for receiving the protocol message; and the number of the first and second groups,
and using the port address and the network equipment which sends the protocol message in the non-SDN to learn a routing table item, and reporting the learned routing table item, so that a controller of the SDN sends the whole network routing table to each network equipment of the SDN after obtaining the whole network routing table comprising the SDN and the non-SDN according to the received routing table item.
5. The method of claim 4, further comprising:
receiving an announcement indication sent by a controller of the SDN;
sending the entire network routing table to the connected network devices of the non-SDN.
6. An apparatus interworking between SDN and non-SDN, applied in a controller of the SDN, the apparatus comprising:
a determining module to determine edge network devices of the SDN and edge ports to which the edge network devices are connected with network devices of the non-SDN;
a first forwarding module, configured to forward a protocol packet report table and port identifiers of corresponding edge ports to each edge network device, so that if each edge network device receives a protocol packet recorded in the report table on the protocol packet through its edge port, the protocol packet is reported and the port identifiers of the edge ports that receive the protocol packet are reported;
a second issuing module, configured to, after receiving the protocol packet and a port identifier of an edge port that receives the protocol packet, issue a protocol corresponding to the protocol packet, a port identifier of an edge port that receives the protocol packet, and an opening notification of a port address to an edge network device that reports the protocol packet, so that the edge network device that reports the protocol packet opens a protocol corresponding to the protocol packet on the edge port that receives the protocol packet, and perform routing table entry learning and report a learned routing table entry using the port address and a network device that sends the protocol packet in the non-SDN;
and a third issuing module, configured to, after obtaining a whole-network routing table including an SDN and a non-SDN according to the received routing table entry, issue the whole-network routing table to each network device of the SDN.
7. The apparatus of claim 6, wherein the third issuing module is specifically configured to:
merging the routing table entries which can be merged in the received routing table entries; and the number of the first and second groups,
determining an outgoing interface and an encapsulation table of each merged routing table entry to obtain a whole network routing table comprising an SDN and a non-SDN;
and issuing the whole network routing table to each network device of the SDN.
8. The apparatus of claim 6 or 7, wherein the third issuing module is further configured to:
sending an advertisement indication to the respective edge network devices to cause the respective edge network devices to send the full-network routing table to the connected respective network devices of the non-SDN.
9. An apparatus for interworking between SDN and non-SDN, the apparatus being applied in an edge network device of the SDN, and the apparatus comprising:
the receiving module is used for receiving a port identifier of an edge port and a protocol message upper report sent by a controller of the SDN;
the monitoring module is used for monitoring whether the protocol message recorded in the report form on the protocol message is received through the edge port;
a first reporting module, configured to report a protocol packet and a port identifier of an edge port that receives the protocol packet if the protocol packet recorded in the report on the protocol packet is received through an edge port, so that a controller of the SDN issues an opening notification that carries a protocol corresponding to the protocol packet, the port identifier of the edge port that receives the protocol packet, and a port address;
the starting module is used for starting a protocol corresponding to the protocol message on the edge port for receiving the protocol message;
a second reporting module, configured to perform routing table entry learning by using the port address and a network device in the non-SDN that sends the protocol packet, and report a learned routing table entry, so that a controller of the SDN, after obtaining an entire network routing table including the SDN and the non-SDN according to a received routing table entry, issues the entire network routing table to each network device of the SDN.
10. The apparatus of claim 9, wherein the apparatus further comprises a transmitting module;
the receiving module is further configured to receive an announcement indication sent by a controller of the SDN;
the sending module is configured to send the entire network routing table to each connected network device of the non-SDN according to the notification indication.
CN201711416597.8A 2017-12-25 2017-12-25 SDN and non-SDN interworking method and device Active CN108259352B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711416597.8A CN108259352B (en) 2017-12-25 2017-12-25 SDN and non-SDN interworking method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711416597.8A CN108259352B (en) 2017-12-25 2017-12-25 SDN and non-SDN interworking method and device

Publications (2)

Publication Number Publication Date
CN108259352A CN108259352A (en) 2018-07-06
CN108259352B true CN108259352B (en) 2021-01-15

Family

ID=62722953

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711416597.8A Active CN108259352B (en) 2017-12-25 2017-12-25 SDN and non-SDN interworking method and device

Country Status (1)

Country Link
CN (1) CN108259352B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112953883A (en) * 2019-12-10 2021-06-11 中兴通讯股份有限公司 Equipment protocol intercommunication method, equipment and storage medium
CN112702269B (en) * 2021-01-21 2022-11-04 国网新疆电力有限公司信息通信公司 SDN and non-SDN intercommunication method and intercommunication system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243317A (en) * 2014-09-26 2014-12-24 杭州华三通信技术有限公司 Method and device for forwarding IP (internet protocol) routes
CN104618244A (en) * 2015-01-19 2015-05-13 迈普通信技术股份有限公司 SDN network and traditional IP network intercommunicating method and system
CN104982006A (en) * 2013-04-10 2015-10-14 华为技术有限公司 System and method for providing a software defined protocol stack
CN106330727A (en) * 2015-07-07 2017-01-11 中兴通讯股份有限公司 Method, device and system for establishing link of SDN (Software Defined Network) device
CN106664235A (en) * 2014-08-19 2017-05-10 华为技术有限公司 Converging method and apparatus for software defined network and traditional network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10103969B2 (en) * 2015-06-30 2018-10-16 Hewlett Packard Enterprise Development Lp Open shortest path first routing for hybrid networks

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104982006A (en) * 2013-04-10 2015-10-14 华为技术有限公司 System and method for providing a software defined protocol stack
CN106664235A (en) * 2014-08-19 2017-05-10 华为技术有限公司 Converging method and apparatus for software defined network and traditional network
CN104243317A (en) * 2014-09-26 2014-12-24 杭州华三通信技术有限公司 Method and device for forwarding IP (internet protocol) routes
CN104618244A (en) * 2015-01-19 2015-05-13 迈普通信技术股份有限公司 SDN network and traditional IP network intercommunicating method and system
CN106330727A (en) * 2015-07-07 2017-01-11 中兴通讯股份有限公司 Method, device and system for establishing link of SDN (Software Defined Network) device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于OpenFlow的SDN网络中路由机制研究;李勇等;《移动通信》;20150415;全文 *
混合SDN环境中路由关键技术研究;王畅;《中国优秀硕士学位论文全文数据库》;20160315;全文 *

Also Published As

Publication number Publication date
CN108259352A (en) 2018-07-06

Similar Documents

Publication Publication Date Title
CN110535766B (en) Method and equipment for generating route
CN109561033B (en) Method and device for multicast replication in Overlay network
CN110113197A (en) The method and SDN controller of SDN controller Configuration network equipment
CN105052087A (en) Table items addressing method, switch, and controller based on flow table
EP3355533B1 (en) Path switching
CN106302076B (en) Method and system for establishing VXLAN tunnel and SDN controller
CN102884762B (en) Network path control method, equipment and system
CN108259352B (en) SDN and non-SDN interworking method and device
CN109412925B (en) Forwarding table item updating method based on VTEP and VTEP
CN104283802A (en) Neighbor discovery method and device
CN104601380A (en) Software-defined network controller and host computer information recovery method thereof
CN104144122A (en) Method, device and system for establishing label switched path
CN108989204B (en) Link state determination method and device
JP2019519146A (en) Routing establishment, packet transmission
CN105634952A (en) Fast notification method and apparatus for LSP message
CN106559323A (en) A kind of method and apparatus sent on SDN equipment first packet
CN105162712B (en) The realization method and system of distributed protocol in a kind of router
CN111327527B (en) Flow forwarding method and system, SDN controller and computer readable storage medium
WO2015081785A1 (en) Method and device for virtualized access
CN103200117A (en) Method and device of load balancing
CN108696433A (en) Route flapping suppressing method and BGP routing devices
CN111327524B (en) Flow forwarding method and system, SDN controller and computer readable storage medium
CN105338127A (en) Media access control MAC address table updating method, switch and system
CN109587063B (en) Data drainage method and device
CN106230720A (en) Route recovery method after a kind of equipment fault and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant