CN105357117B - Flow table issuing method and system, SDN controller and SDN switch - Google Patents

Flow table issuing method and system, SDN controller and SDN switch Download PDF

Info

Publication number
CN105357117B
CN105357117B CN201510688178.4A CN201510688178A CN105357117B CN 105357117 B CN105357117 B CN 105357117B CN 201510688178 A CN201510688178 A CN 201510688178A CN 105357117 B CN105357117 B CN 105357117B
Authority
CN
China
Prior art keywords
flow table
flow
sdn
sdn controller
file
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
CN201510688178.4A
Other languages
Chinese (zh)
Other versions
CN105357117A (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.)
Huzhou YingLie Intellectual Property Operation Co.,Ltd.
Original Assignee
Shanghai Feixun Data Communication Technology 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510688178.4A priority Critical patent/CN105357117B/en
Publication of CN105357117A publication Critical patent/CN105357117A/en
Application granted granted Critical
Publication of CN105357117B publication Critical patent/CN105357117B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/38Flow based 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/02Topology update or discovery

Landscapes

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

Abstract

the invention provides a flow table issuing method, a flow table issuing system, an SDN controller and an SDN switch, wherein the flow table issuing method comprises the following steps: detecting whether the number of flow table entries generated by the SDN controller exceeds a preset threshold value, if so, generating a flow file containing the flow table entries, and if not, issuing the flow table containing the flow table entries to an SDN switch by the SDN controller; after the stream file is generated, the SDN controller sends a stream table message containing stream file information to the SDN interaction machine; and the SDN interaction machine acquires the flow table items in the flow file from the SDN controller in a preset network access mode according to the received flow table message, and configures and issues the flow table according to the acquired flow table items. According to the method and the device, the SDN controller generates the flow file containing a large number of flow entries, and the SDN interaction machine acquires and issues the large number of flow entries from the SDN controller in one step in an FTP mode, so that the flow table issuing speed of the whole SDN network is increased.

Description

Flow table issuing method and system, SDN controller and SDN switch
Technical Field
The invention relates to the technical field of networks, in particular to the technical field of SDN networks, and specifically relates to a flow table issuing method, a flow table issuing system, an SDN controller and an SDN switch.
background
software Defined Networking (SDN), which is a novel Network innovation architecture of the Emulex Network, is an implementation manner of Network virtualization, and its core technology OpenFlow separates a control plane and a data plane of a Network device, thereby implementing flexible control of Network traffic and making the Network become more intelligent as a pipeline. In a network in a traditional IT architecture, after the network is deployed and brought online according to service requirements, if the service requirements change, IT is a very tedious matter to modify the configuration on corresponding network devices (routers, switches, firewalls) again. In the service environment of the internet/mobile internet, the high stability and the high performance of the network are not enough to meet the service requirement, and the flexibility and the agility are more critical. What SDN does is to separate the control rights on the network devices, manage them by a centralized controller, and shield the differences from the underlying network devices without relying on the underlying network devices (routers, switches, firewalls). The control right is completely open, and the user can customize any network routing and transmission rule strategy to be realized, so that the method is more flexible and intelligent. SDN is a representative of the design of next-generation IP network management architecture, and this approach emphasizes splitting the control and forwarding planes, replacing "packet switching" with "flow switching", and replacing individual configuration with "centralized management". OpenFlow is a protocol for replacing a Routing Table (RIB) of a Network device with a Flow Table (more general term, NIB, Network Information Base) of a Network centralized management platform when realizing the idea.
the SDN network includes an SDN Controller (SDN Controller) and an SDN switch. An SDN controller is an application in a Software Defined Network (SDN) responsible for traffic control to ensure an intelligent network. SDN controllers are based on protocols such as OpenFlow, allowing servers to tell switches where to send packets. The SDN controller is a control center of the whole SDN network, and the SDN switch transmits messages by issuing various flow tables through the SDN controller through an OpenFlow protocol. In the SDN network, the SDN interaction machine supporting OpenFlow performs service forwarding by means of flow tables, and the flow tables in the SDN interaction machine are generated by an SDN controller and are issued to the SDN interaction machine one by one. When a lot of user services are available, the SDN controller can generate a lot of flow table entries, and the flow table configuring the SDN switch is configured at a relatively low speed through a flow table issuing mechanism of the OpenFlow protocol, so that a lot of flow tables are generated, the flow table issuing speed is low, the service completely takes effect for a long time, and the user experience is influenced.
Disclosure of Invention
In view of the above drawbacks of the prior art, an object of the present invention is to provide a flow table issuing method, a flow table issuing system, an SDN controller, and an SDN switch, which are used to solve the problem in the prior art that when a large number of flow tables are generated in the SDN controller, the flow table issuing speed is slow.
In order to achieve the above and other related objects, the present invention provides a flow table issuing method, which is applied in a process of issuing a flow table to an SDN switch by an SDN controller in an SDN network, and the flow table issuing method includes: detecting whether the number of flow table entries generated by an SDN controller exceeds a preset threshold value, if so, generating a flow file containing the flow table entries, and if not, issuing a flow table containing the flow table entries to an SDN switch by the SDN controller; after a flow file containing the flow table entry is generated, a flow table message containing the flow file information is sent to the SDN interaction machine; the SDN interaction machine acquires flow entries in the flow file from the SDN controller in a preset network access mode according to the received flow table message; and the SDN interaction machine configures and issues the flow table according to the acquired flow table items.
Preferably, the flow table issuing method further includes: and extending an Experimenter message in an OpenFlow protocol standard, wherein the flow table message containing the flow file information is carried by the Experimenter message when the flow table message is sent to the SDN interaction machine.
Preferably, the flow table issuing method further includes: after sending the flow table message containing the flow file information to the SDN interaction machine, when the SDN controller does not receive feedback information fed back by the SDN interaction machine and used for confirming that a flow table item is obtained and the flow table is issued within preset time, the SDN controller issues the flow table containing the flow table item to an SDN switch.
Preferably, the preset network access mode is an FTP network access mode.
In order to achieve the above object, the present invention further provides an SDN controller for issuing a flow table to an SDN switch in an SDN network, where the SDN controller includes: the threshold setting module is used for setting the threshold of the flow table entry; a threshold detection module connected to the threshold setting module, configured to detect whether the number of flow entries generated by the SDN controller exceeds a preset threshold; the flow file module is connected with the threshold detection module and used for generating a flow file containing the flow entries when the number of the flow entries generated by the SDN controller exceeds a preset threshold; the flow table issuing module is connected with the threshold value detecting module and used for issuing a flow table containing the flow table items to the SDN switch when the number of the flow table items generated by the SDN controller does not exceed a preset threshold value; and the flow table information sending module is connected with the flow file module and used for sending the flow table information containing the flow file information to the SDN interaction machine.
Preferably, the SDN controller further includes: the expansion module is connected with the flow table information sending module and used for expanding the Experimenter message in the OpenFlow protocol standard; when the flow table information sending module sends the flow table information containing the flow file information to the SDN interaction machine, the flow table information is carried by the Experimenter message.
Preferably, the SDN controller further includes: the feedback information receiving module is used for judging whether feedback information which is fed back by the SDN interaction machine and used for confirming that the flow table items are acquired and the flow table is issued is received or not within preset time; and when the feedback information fed back by the SDN interaction machine is not received within the preset time, the flow table issuing module issues a flow table containing the flow table entry to the SDN switch.
in order to achieve the above object, the present invention further provides an SDN switch for acquiring a flow table from an SDN controller in an SDN network, where the SDN switch includes: a flow table information receiving module for receiving a flow table message containing flow file information from the SDN controller; a flow table entry obtaining module connected to the flow table information receiving module, and configured to obtain a flow table entry in the flow file from the SDN controller in a preset network access manner according to the received flow table message; and the configuration issuing module is connected with the flow table item acquisition module and used for configuring and issuing the flow table according to the acquired flow table item.
preferably, the SDN switch further includes: and the feedback information sending module is connected with the configuration issuing module and used for sending feedback information for confirming that the flow table items are acquired and the flow table is issued to the SDN controller.
In order to achieve the above object, the present invention further provides a flow table issuing system, which is applied in a process of issuing a flow table to an SDN switch by an SDN controller in an SDN network, where the flow table issuing system includes the SDN controller and the SDN switch.
As described above, the flow table issuing method, system, SDN controller and SDN switch of the present invention have the following beneficial effects:
1. According to the method and the device, the SDN controller generates the flow file containing a large number of flow entries, and the SDN interaction machine acquires and issues the large number of flow entries from the SDN controller in one step in an FTP mode, so that the flow table issuing speed of the whole SDN network is increased.
2. The invention avoids the traditional flow table issuing mode, and ensures the dependence between the flow tables through a message mechanism; if the SND switch does not support the FTP issuing mode, the processing can be continuously carried out according to the traditional flow table issuing mode.
3. The method is simple and efficient, and has strong universality and practicability.
Drawings
Fig. 1 is a flow chart showing a flow chart issuing method according to the present invention.
Fig. 2 is a schematic view showing a processing flow of an SDN controller in the flow table issuing method of the present invention.
Fig. 3 is a schematic diagram illustrating a processing flow of an SDN switch in the flow table issuing method according to the present invention.
Fig. 4 is a schematic structural diagram of the flow table issuing system of the present invention.
Fig. 5 is a schematic structural diagram of an SDN controller according to the present invention.
fig. 6 shows a schematic structure of an SDN switch according to the present invention.
Description of the element reference numerals
1 flow table issuing system
11 SDN controller
111 threshold setting module
112 threshold detection module
113 stream file module
114 flow table down-sending module
115 flow table information sending module
116 expansion module
117 feedback information receiving module
12 SDN switch
121 flow table information receiving module
122 flow entry acquisition module
123 configuration issuing module
124 feedback information sending module
S11-S16
Detailed Description
the embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention.
Referring to fig. 1 to 6, an object of the present embodiment is to provide a flow table issuing method, a flow table issuing system, an SDN controller, and an SDN switch, so as to solve the problem in the prior art that when a large number of flow tables are generated in the SDN controller, the flow table issuing speed is slow. The flow table issuing method, system, SDN controller and SDN switch according to the present invention will be described in detail below, so that those skilled in the art can understand the flow table issuing method, system, SDN controller and SDN switch without creative labor.
The embodiment provides a flow table issuing method and system, an SDN controller and an SDN switch based on a message queue mechanism, the SDN controller judges a flow table issuing mode according to a preset flow table item threshold, if the number of generated flow table items exceeds the threshold, an Experimenter message with a flow file mark and a flow file name is sent to the SDN switch, the SDN switch acquires the flow files in an FTP mode, the flow table items are issued rapidly according to the sequence in the flow files, and the flow table issuing speed of the whole SDN network system is improved.
Specifically, as shown in fig. 1, the present embodiment provides a flow table issuing method, which is applied to a process of issuing a flow table to an SDN switch by an SDN controller in an SDN network, and the flow table issuing method includes the following steps.
step S11, detecting whether the number of flow entries generated by the SDN controller exceeds a preset threshold, if not, then performing step S12, and if yes, then performing step S13.
Step S12, the SDN controller issues a flow table containing the flow table entry to an SDN switch.
Step S13, a stream file containing the stream entry is generated.
Step S14, after generating the flow file containing the flow entry, sends a flow table message containing the flow file information to the SDN interactor.
Step S15, the SDN interacting machine acquires a flow entry in the flow file from the SDN controller in a preset network access manner according to the received flow table message.
And step S16, the SDN interaction machine configures and issues a flow table according to the acquired flow table item.
the following describes steps S11 to S16 in detail.
Step S11, detecting whether the number of flow entries generated by the SDN controller exceeds a preset threshold. The threshold of the flow table entry may be set according to network load capacity, network speed, etc. The flow table issuing method in this embodiment determines the flow table issuing mode according to the threshold of the flow table entry. If the number of flow entries generated by the SDN controller does not exceed the preset threshold of the flow entries, step S12 is executed, and the SDN controller issues a flow table containing the flow entries to the SDN switch. That is to say, if the number of the flow entries generated by the SDN controller does not exceed the preset threshold of the flow entries, the SDN controller continues to issue the flow entries to the SDN switch in a conventional flow entry issuing manner, that is, the SDN controller generates the flow entries and issues the flow entries to the SDN interacting machine one by one. If the number of flow entries generated by the SDN controller exceeds a preset threshold of the flow entries, step S13 is executed, and the SDN controller generates a flow file including the flow entries.
After generating the flow file containing the flow entry, next, in step S14, the SDN controller sends a flow table message containing the flow file information to the SDN interworking machine, where the flow table information includes at least a flow file identifier and a name of a flow file.
in this embodiment, the SDN controller specifically sends a flow table message including the flow file information to the SDN interactor in the following manner: and extending an Experimenter message in an OpenFlow protocol standard, wherein the flow table message containing the flow file information is carried by the Experimenter message when the flow table message is sent to the SDN interaction machine.
At the SDN switch, step S15 is executed, and the SDN inter-working machine acquires flow entries in the flow file from the SDN controller according to the received flow table message in a preset network access manner. In this embodiment, the preset network access mode is an FTP network access mode. The SDN interaction machine can acquire and issue a large number of flow table items from the SDN controller in one step by using an FTP mode, and the flow table issuing speed of the whole SDN network is improved.
After the SDN controller acquires the flow entry in the flow file, step S16 is executed, and the SDN inter-working machine configures and issues a flow table according to the acquired flow entry.
Furthermore, in this embodiment, after sending the flow table message including the flow file information to the SDN interactor, in order to ensure that the SDN interactor has already acquired the flow entries in the flow file, the SDN controller sends an inquiry message (e.g., Barrier message) to inquire whether the SDN switch has already acquired the flow entries in the flow file, so in this embodiment, after the SDN interactor configures and issues the flow table according to the acquired flow entries, the SDN interactor feeds back feedback information for confirming that the flow entries have been acquired and the flow table has been issued to the SDN controller. When the SDN controller does not receive feedback information fed back by the SDN interaction machine and used for confirming that a flow table item is acquired and issued, the SDN controller issues the flow table containing the flow table item to an SDN switch, namely when the SDN controller does not receive the feedback information fed back by the SDN interaction machine and used for confirming that the flow table item is acquired and the flow table is issued in the preset time, the SDN controller continues to issue the flow table to the SDN switch in a traditional flow table issuing mode, namely the SDN controller generates the flow table and issues the flow table to the SDN interaction machine in a strip mode.
In order to further understand the flow table issuing method in this embodiment, as shown in fig. 2 and fig. 3, the following will further describe an implementation process of the flow table issuing method in this embodiment.
The threshold value of the flow table entry is preset. The SDN controller checks whether the flow table items needing to be generated exceed a set threshold value, if not, the SDN controller continues to send the flow table items to the SDN switch in a traditional flow table issuing mode, namely the SDN controller generates the flow table items and issues the flow table items to the SDN interaction machine one by one. And if the current flow file is beyond the preset flow file, writing the current generated flow entry into the flow file by the SDN controller, and sending an Experimenter message with an extended flow file mark and a flow file name to the SDN switch by the SDN controller. The SDN switch receives an Experimenter message with a stream file mark and a stream file name, and if the SDN switch does not receive the Experimenter message or does not support the Experimenter message, the traditional stream table issuing mode is continued. If the SDN switch receives the Experimenter message, the SDN switch acquires the flow file from the SDN controller through the FTP, if the flow file is overtime and is not acquired successfully, the traditional flow table issuing mode is continued. And if the flow is successfully acquired, the SDN switch sequentially reads the entries in the flow file and rapidly configures the flow table.
In order to ensure that the SDN switch acquires and issues entries in the flow file, the SDN controller inquires whether the SDN switch acquires the flow entries in the flow file or not by sending Barrier messages, and after the SDN interaction machine configures and issues the flow table according to the acquired flow entries, the SDN interaction machine responds to the Barrier messages of the SDN controller and indicates that the processing is finished. And the SDN controller waits for a Barrier message response, and if the SDN controller receives the Barrier message response within the preset time, the step S11 is returned, and the flow table issuing method in the embodiment is repeatedly executed. And if the SDN controller does not receive the Barrier message response within the specified time, prompting the user of an error, and issuing the flow processing according to the traditional flow table.
In order to achieve the above object, the present invention further provides a flow table issuing system, and specifically, as shown in fig. 4, the flow table issuing system 1 includes: SDN controller 11 and SDN switch 12.
The SDN controller 11 and the SDN switch 12 in the flow table issuing system 1 are described in detail below.
The SDN controller 11 is configured to issue a flow table to an SDN switch 12 in an SDN network, and specifically, as shown in fig. 4 and fig. 5, the SDN controller 11 includes: the device comprises a threshold setting module 111, a threshold detection module 112, a stream file module 113, a stream table issuing module 114, a stream table information sending module 115 and an expansion module 116.
The threshold setting module 111 is configured to set a threshold of a flow table entry; the threshold of the flow table entry may be set according to network load capacity, network speed, etc. The present embodiment determines a flow table issuing mode according to a threshold of a flow table entry.
The threshold detecting module 112 is connected to the threshold setting module 111, and is configured to detect whether the number of flow entries generated by the SDN controller 11 exceeds a preset threshold.
The flow file module 113 is connected to the threshold detection module 112, and is configured to generate a flow file including the flow entries when the number of the flow entries generated by the SDN controller 11 exceeds a preset threshold. The flow table issuing module 114 is connected to the threshold detection module 112, and configured to issue a flow table containing the flow table entry to the SDN switch 12 when the number of the flow table entries generated by the SDN controller 11 does not exceed a preset threshold.
If the number of flow entries generated by the SDN controller 11 does not exceed the preset threshold of the flow entry, the flow table issuing module 114 issues the flow table containing the flow entry to the SDN switch 12. That is, if the number of the flow entries generated by the SDN controller 11 does not exceed the preset threshold of the flow entries, the SDN controller 11 continues to send the flow entries to the SDN switch 12 in a conventional flow entry issuing manner, that is, the SDN controller 11 generates the flow entries and issues the flow entries to the SDN interacting machine one by one. If the number of flow entries generated by the SDN controller 11 exceeds a preset threshold of the flow entries, the flow file module 113 generates a flow file including the flow entries.
The flow table information sending module 115 is connected to the flow file module 113, and is configured to send a flow table message including the flow file information to an SDN interactor. After generating the flow file containing the flow entry, the flow table information sending module 115 sends a flow table message containing the flow file information to the SDN inter-working machine, where the flow table information at least includes a flow file identifier and a name of a flow file.
The expansion module 116 is connected to the flow table information sending module 115, and is configured to expand an Experimenter message in an OpenFlow protocol standard; when the flow table information sending module 115 sends the flow table message containing the flow file information to the SDN interactor, the flow table message is carried by the Experimenter message.
The SDN switch 12 is used in an SDN network to acquire a flow table from an SDN controller 11, and specifically, as shown in fig. 4 and fig. 6, the SDN switch 12 includes: a flow table information receiving module 121, a flow table entry obtaining module 122 and a configuration issuing module 123.
The flow table information receiving module 121 is configured to receive a flow table message containing flow file information from the SDN controller 11; the flow table entry obtaining module 122 is connected to the flow table information receiving module 121, and is configured to obtain a flow table entry in the flow file from the SDN controller 11 in a preset network access manner according to the received flow table message.
In this embodiment, the preset network access mode is an FTP network access mode. The SDN interaction machine can acquire and issue a large number of flow table entries from the SDN controller 11 in one step by using an FTP mode, and the flow table issuing speed of the whole SDN network is increased.
The configuration issuing module 123 is connected to the flow entry obtaining module 122, and is configured to configure and issue a flow table according to the obtained flow entry.
Furthermore, in this embodiment, after sending the flow table message containing the flow file information to the SDN interactor, to ensure that the SDN interactor has already acquired the flow table entry in the flow file, the SDN controller 11 sends an inquiry message (e.g., Barrier message) inquiring whether the SDN switch 12 has already acquired the flow table entry in the flow file. Therefore, in this embodiment, the SDN switch 12 further includes: a feedback information sending module 124, connected to the configuration issuing module 123, and configured to send feedback information used for confirming that a flow entry has been acquired and a flow table has been issued to the SDN controller 11. The SDN controller 11 further includes: and the feedback information receiving module 117 is configured to determine whether feedback information for confirming that a flow table item has been acquired and a flow table has been issued is received within a preset time. When the feedback information receiving module 117 does not receive the feedback information fed back by the SDN interacting machine within a preset time, the flow table issuing module 114 issues the flow table including the flow table entry to the SDN switch 12. That is to say, when the feedback information receiving module 117 does not receive the feedback information, which is fed back by the feedback information sending module 124 and used for confirming that the flow table entry has been acquired and the flow table has been issued, within the preset time, the SDN controller 11 continues to send the flow table to the SDN switch 12 in the conventional flow table issuing manner, that is, the SDN controller 11 generates the flow table and issues the flow table to the SDN interactor one by one.
In order to further understand the flow table issuing system 1 in this embodiment, the following will further describe the working process of the flow table issuing system 1 in this embodiment.
the threshold setting module 111 sets the threshold of the flow table entry in advance. The threshold detection module 112 checks whether the flow table entry to be generated exceeds a set threshold, and if not, the flow table issuing module 114 continues to issue the flow table entry to the SDN switch 12 in a conventional flow table issuing manner, that is, the SDN controller 11 generates the flow table and issues the flow table entry to the SDN interactor one by one. If the flow table entry exceeds the preset flow table entry, the flow table file module 113 writes the flow table entry generated this time into the flow file, and the flow table information sending module 115 sends an Experimenter message with a flow file flag and a flow file name, which is extended by the extension module 116, to the SDN switch 12. The SDN switch 12 receives an Experimenter message with a flow file flag and a flow file name, and when the flow table information sending module 115 sends a flow table message containing the flow file information to the SDN inter-working machine, the flow table message is carried by the Experimenter message. If the flow table information receiving module 121 in the SDN switch 12 does not receive the Experimenter message or does not support the Experimenter message, the flow table issuing module 114 continues to use the conventional flow table issuing manner. If the flow table information receiving module 121 receives the Experimenter message, the flow table entry obtaining module 122 obtains the flow file from the SDN controller 11 through the FTP, and if the obtaining is over time and unsuccessful, the flow table issuing module 114 continues the conventional flow table issuing mode. If the acquisition is successful, the flow table entry acquiring module 122 sequentially reads the entries in the flow file, and the configuration issuing module 123 performs the rapid configuration of the flow table.
In order to ensure that the SDN switch 12 has acquired and issued entries in the flow file, the SDN controller 11 queries whether the SDN switch 12 has acquired flow entries in the flow file by sending a Barrier message, and after the SDN interactor configures and issues a flow table according to the acquired flow entries, the feedback information sending module 124 responds to the Barrier message of the SDN controller 11, indicating that the processing is completed. The feedback information receiving module 117 waits for a Barrier message response, and if the feedback information receiving module 117 receives the Barrier message response within a preset time, the current flow table issuing process is ended. If the feedback information receiving module 117 does not receive the Barrier message response within the specified time, the user is prompted to make an error, and the flow table issuing module 114 processes according to the conventional flow table issuing process.
In summary, the flow file containing a large number of flow entries is generated by the SDN controller, and the SDN interactor acquires and issues the large number of flow entries from the SDN controller in one step in an FTP manner, so that the flow table issuing speed of the whole SDN network is increased; the invention avoids the traditional flow table issuing mode, and ensures the dependence between the flow tables through a message mechanism; if the SND switch does not support the FTP issuing mode, the processing can be continuously carried out according to the traditional flow table issuing mode; the method is simple and efficient, and has strong universality and practicability. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (10)

1. A flow table issuing method is applied to the process of issuing a flow table to an SDN switch by an SDN controller in an SDN network, and is characterized in that: the flow table issuing method comprises the following steps:
Detecting whether the number of flow table entries generated by an SDN controller exceeds a preset threshold value, if so, generating a flow file containing the flow table entries, and if not, issuing a flow table containing the flow table entries to an SDN switch by the SDN controller;
after a flow file containing the flow table entry is generated, flow table information containing the flow file information is sent to the SDN switch; the flow table information at least comprises a flow file identifier and a name of a flow file;
The SDN switch acquires flow entries in the flow file from the SDN controller in a preset network access mode according to the received flow table information;
And the SDN switch configures and acquires a flow issuing table according to the acquired flow table items.
2. The flow table issuing method according to claim 1, characterized in that: the flow table issuing method further comprises the following steps: and extending an Experimenter message in an OpenFlow protocol standard, wherein the flow table information is carried by the Experimenter message when the flow table information containing the flow file information is sent to the SDN switch.
3. The flow table issuing method according to claim 1, characterized in that: the flow table issuing method further comprises the following steps: after flow table information containing the flow file information is sent to the SDN switch, when the SDN controller does not receive feedback information fed back by the SDN switch and used for confirming that a flow table item is obtained and obtaining a flow table to be issued within preset time, the SDN controller issues the flow table containing the flow table item to the SDN switch.
4. the flow table issuing method according to claim 1, characterized in that: the preset network access mode is an FTP network access mode.
5. An SDN controller for issuing flow tables to SDN switches in an SDN network, characterized in that: contained within the SDN controller:
The threshold setting module is used for setting the threshold of the flow table entry;
a threshold detection module connected to the threshold setting module, configured to detect whether the number of flow entries generated by the SDN controller exceeds a preset threshold;
The flow file module is connected with the threshold detection module and used for generating a flow file containing the flow entries when the number of the flow entries generated by the SDN controller exceeds a preset threshold;
The flow table issuing module is connected with the threshold value detecting module and used for issuing a flow table containing the flow table items to the SDN switch when the number of the flow table items generated by the SDN controller does not exceed a preset threshold value;
The flow table information sending module is connected with the flow file module and used for sending flow table information containing the flow file information to the SDN switch; the flow table information at least comprises a flow file identifier and a name of a flow file;
After a flow table information sending module sends flow table information containing the flow file information to the SDN switch, the SDN switch obtains flow table entries in the flow files from the SDN controller in a preset network access mode according to the received flow table information.
6. the SDN controller of claim 5, wherein: the SDN controller further comprises: the expansion module is connected with the flow table information sending module and used for expanding the Experimenter message in the OpenFlow protocol standard; when the flow table information sending module sends the flow table information containing the flow file information to the SDN switch, the flow table information is carried by the Experimenter message.
7. The SDN controller of claim 5, wherein: the SDN controller further comprises:
The feedback information receiving module is used for judging whether feedback information which is fed back by the SDN switch and used for confirming that a flow table item is acquired and acquiring a flow table is issued is received or not within preset time;
When the feedback information fed back by the SDN switch is not received within the preset time, the flow table issuing module issues a flow table containing the flow table entry to the SDN switch.
8. An SDN switch, used in an SDN network to acquire a flow table from an SDN controller, characterized in that: the SDN switch comprises:
A flow table information receiving module for receiving flow table information containing flow file information from the SDN controller;
A flow table entry obtaining module connected to the flow table information receiving module, and configured to obtain a flow table entry in the flow file from the SDN controller in a preset network access manner according to the received flow table information; the flow table information at least comprises a flow file identifier and a name of a flow file;
The configuration issuing module is connected with the flow table item acquisition module and used for configuring and issuing the flow table according to the acquired flow table item;
When the number of flow entries generated by the SDN controller exceeds a preset threshold value of the flow entries, the SDN controller generates a flow file containing the flow entries; after a flow file containing the flow entry is generated, an SDN controller sends flow table information containing the flow file information to an SDN switch, and a flow table information receiving module of the SDN switch receives the flow table information containing the flow file information from the SDN controller; and a flow table entry acquisition module acquires a flow table entry in the flow file from the SDN controller in a preset network access mode according to the received flow table information.
9. The SDN switch of claim 8, wherein: further included within the SDN switch is:
And the feedback information sending module is connected with the configuration issuing module and used for sending feedback information for confirming that the flow table entry is acquired and the flow table is acquired to the SDN controller.
10. A flow table issuing system is applied to the process that an SDN controller issues a flow table to an SDN switch in an SDN network, and is characterized in that: the flow table issuing system comprises the SDN controller of any one of claims 5 to 7 and the SDN switch of any one of claims 8 to 9.
CN201510688178.4A 2015-10-21 2015-10-21 Flow table issuing method and system, SDN controller and SDN switch Active CN105357117B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510688178.4A CN105357117B (en) 2015-10-21 2015-10-21 Flow table issuing method and system, SDN controller and SDN switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510688178.4A CN105357117B (en) 2015-10-21 2015-10-21 Flow table issuing method and system, SDN controller and SDN switch

Publications (2)

Publication Number Publication Date
CN105357117A CN105357117A (en) 2016-02-24
CN105357117B true CN105357117B (en) 2019-12-13

Family

ID=55332990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510688178.4A Active CN105357117B (en) 2015-10-21 2015-10-21 Flow table issuing method and system, SDN controller and SDN switch

Country Status (1)

Country Link
CN (1) CN105357117B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395380A (en) * 2016-05-16 2017-11-24 中兴通讯股份有限公司 A kind of method for processing business and system
CN106850803B (en) * 2017-02-06 2020-06-26 中译语通科技(青岛)有限公司 SDN-based weighted polling system and algorithm
CN107360161A (en) * 2017-07-12 2017-11-17 济南浪潮高新科技投资发展有限公司 A kind of SDN flow table issuances system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103347013A (en) * 2013-06-21 2013-10-09 北京邮电大学 OpenFlow network system and method for enhancing programmable capability
CN104022953A (en) * 2013-02-28 2014-09-03 杭州华三通信技术有限公司 Message forwarding method and device based on Open Flow
CN104170332A (en) * 2012-03-09 2014-11-26 日本电气株式会社 Controller, communication system, switch control method and program
CN104219150A (en) * 2014-09-03 2014-12-17 杭州华三通信技术有限公司 Method and device for issuing flow tables
CN104954271A (en) * 2014-03-26 2015-09-30 国际商业机器公司 Data packet processing method and data packet processing device in SDN network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102087226B1 (en) * 2013-02-14 2020-03-10 삼성전자주식회사 Method for sharing network based on software defined network to support multiple operator

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104170332A (en) * 2012-03-09 2014-11-26 日本电气株式会社 Controller, communication system, switch control method and program
CN104022953A (en) * 2013-02-28 2014-09-03 杭州华三通信技术有限公司 Message forwarding method and device based on Open Flow
CN103347013A (en) * 2013-06-21 2013-10-09 北京邮电大学 OpenFlow network system and method for enhancing programmable capability
CN104954271A (en) * 2014-03-26 2015-09-30 国际商业机器公司 Data packet processing method and data packet processing device in SDN network
CN104219150A (en) * 2014-09-03 2014-12-17 杭州华三通信技术有限公司 Method and device for issuing flow tables

Also Published As

Publication number Publication date
CN105357117A (en) 2016-02-24

Similar Documents

Publication Publication Date Title
CN105933225B (en) Strategy routing method and system based on SDN
EP2940971B1 (en) Method and apparatus for obtaining an ip address by dhcp client
CN103036732B (en) A kind of method of network monitoring process, system and equipment
CN110545206B (en) Method, device and system for generating scheduling table in time-triggered network
CN105357117B (en) Flow table issuing method and system, SDN controller and SDN switch
CN113542128B (en) Method and device for sending routing information
CN104301238A (en) Message processing method, device and system
US10404544B2 (en) Network topology determining method and apparatus, and centralized network status information storage device
CN109041086B (en) Configuration method and device of OpenFlow instance
CN106850803B (en) SDN-based weighted polling system and algorithm
CN110768911B (en) Method, device, equipment, system and storage medium for efficient flow drainage
EP2811698B1 (en) Construction method, node and system of trill network
WO2014080993A1 (en) Communication system, virtual-network management device, communication node, and communication method and program
CN106330511B (en) Network element equipment and method for opening data communication network
CN114221781A (en) Flow filtering method and system, electronic device and storage medium
US20130097228A1 (en) Network storage system, data manipulation method in network storage system, storage device and computer program product for controlling client device
JP6206493B2 (en) CONTROL DEVICE, COMMUNICATION SYSTEM, RELAY DEVICE CONTROL METHOD, AND PROGRAM
WO2015003420A1 (en) Resource deployment method for cloud computing environment
CN107005473B (en) Communication path switching apparatus, method of controlling communication path switching apparatus
CN110109933B (en) Information maintenance method, configuration management database system and storage medium
US10291581B2 (en) Method and system for reducing PIM protocol DR change
KR102058082B1 (en) Software-defined networking apparatus based on service profile learning
US20160301755A1 (en) Method and apparatus for controlling scan of slave devices
JP2016178530A (en) Communication system, communication terminal, communication method, and program
WO2016034217A1 (en) Software defined networking controller for hybrid network components and method for controlling a software defined network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201125

Address after: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou Jiji Intellectual Property Operation Co., Ltd

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201217

Address after: 8319 Yanshan Road, Bengbu City, Anhui Province

Patentee after: Bengbu Lichao Information Technology Co.,Ltd.

Address before: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou Jiji Intellectual Property Operation Co., Ltd

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210310

Address after: 313000 room 1019, Xintiandi commercial office, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee after: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Address before: 8319 Yanshan Road, Bengbu City, Anhui Province

Patentee before: Bengbu Lichao Information Technology Co.,Ltd.

TR01 Transfer of patent right