WO2015109497A1 - 流表修改方法、流表修改装置和开放流网络系统 - Google Patents

流表修改方法、流表修改装置和开放流网络系统 Download PDF

Info

Publication number
WO2015109497A1
WO2015109497A1 PCT/CN2014/071264 CN2014071264W WO2015109497A1 WO 2015109497 A1 WO2015109497 A1 WO 2015109497A1 CN 2014071264 W CN2014071264 W CN 2014071264W WO 2015109497 A1 WO2015109497 A1 WO 2015109497A1
Authority
WO
WIPO (PCT)
Prior art keywords
flow table
flow
entry
matching
modified
Prior art date
Application number
PCT/CN2014/071264
Other languages
English (en)
French (fr)
Inventor
蔡慧
胡渭琦
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2014/071264 priority Critical patent/WO2015109497A1/zh
Priority to RU2016132459A priority patent/RU2652442C2/ru
Priority to CN201480000160.4A priority patent/CN105247831B/zh
Publication of WO2015109497A1 publication Critical patent/WO2015109497A1/zh
Priority to US15/218,613 priority patent/US10284458B2/en

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/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/40Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using virtualisation of network functions or resources, e.g. SDN or NFV entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/026Capturing of monitoring data using flow identification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/20Arrangements for monitoring or testing data switching networks the monitoring system or the monitored elements being virtualised, abstracted or software-defined entities, e.g. SDN or NFV
    • 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/64Routing or path finding of packets in data switching networks using an overlay routing layer
    • 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
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a flow table modification method, a flow table modification device, and an open flow network system.
  • the NEs in the OF protocol include an OF controller, an OF switch, an OF controller, and an OF switch.
  • the controller determines the forwarding action of the service flow, such as forwarding, discarding, according to the characteristics of the packet, such as a quintuple, an Ethernet frame header, or a virtual local area network (VLAN) identifier (ID).
  • the packet header, encapsulation, decapsulation, and the like are modified, and the flow rule corresponding to the service flow and one or more actions corresponding to the execution are sent to the switch.
  • the switch receives and stores the flow rule sent by the controller, and performs the action corresponding to the flow rule for the subsequent packets conforming to the flow rule, so as to implement packet forwarding or processing.
  • Flow rules include flow matching rules and corresponding processing actions.
  • the flow matching rule may include an Ethernet frame header, an internet protocol (IP) header information, or a transmission control protocol (TCP)/user data protocol (UDP) port number.
  • IP internet protocol
  • TCP transmission control protocol
  • UDP user data protocol
  • Processing actions include processing types and related parameters, such as forwarding, discarding, modifying, encapsulating, decapsulating, and the like.
  • the controller may send flow matching rules belonging to different flow tables to the switch through multiple update flow table entry messages. Then, the switch will match all the flows received from the controller. Rules and corresponding processing actions are stored or installed into the flow table.
  • the switch receives the packet sent by the user, the switch performs flow table matching, and processes the packet sent by the user according to the action set corresponding to the matched flow rule.
  • the OF protocol can implement the addition/modification/deletion of flow rules by updating the flow table entry messages.
  • the controller can only modify the flow entry by adding or deleting the flow table. For example, to modify a flow entry of a MAC address or an IP address, two update flow table entry messages need to be sent. First, the controller sends a message indicating that the new flow table entry is sent to the switch, and carries a deletion indication to delete a flow entry, and the matching domain carries (the source IP address is equal to IP2, and the source MAC address is equal to MAC2).
  • the controller sends an update flow table entry to the switch, carrying an increase indication to add a new flow entry, and the matching field of the new flow entry is carried (the source IP address is equal to IP3, and the source MAC address is equal to MAC3) ).
  • the controller needs to send 2N update flow table entry messages to the switch, and each update flow table entry message carries a complete match/action field.
  • the technical problem to be solved by the present invention is how to improve the efficiency of modifying the flow table and reduce the interface load.
  • the present invention provides a flow table modification method, including:
  • the switch receives an update flow table entry message sent by the controller, where the update flow table entry message includes a flow table identifier, an operation type, a target information to be modified, and a new matching domain field;
  • the switch searches for a presence and a wait in the flow table corresponding to the flow table identifier. Modify the flow entry matching the target information.
  • the switch modifies the matching domain field of the matched flow entry to the new matching domain.
  • the target information to be modified is a flow table association value
  • the switch searches for a flow entry that matches the to-be-modified target information in the flow table corresponding to the flow table identifier, and the packet includes:
  • the switch determines whether the associated value of the flow table in the currently found flow entry matches the value of the received flow table
  • the currently found flow entry matches the received flow table association value, the currently found flow entry is determined as the matched flow entry.
  • the target information to be modified is an old matching domain field
  • the switch in the flow table corresponding to the flow table identifier, is configured to search for a flow entry that matches the to-be-modified target information, including:
  • the switch determines, in the flow table, whether a matching domain field in the currently found flow entry matches the old matching domain field;
  • the currently found flow entry is determined as the matched flow entry.
  • the switch sends an error indication to the controller, where the error indication is used to notify the controller that the flow table modification fails.
  • the present invention provides a flow table modification method, including:
  • the controller sends an update flow table entry message to the switch, where the update flow table entry message is included a flow table identifier, an operation type, a target information to be modified, and a new matching domain field, where the update flow table entry message is used to indicate that the switch searches and waits in the flow table corresponding to the flow table identifier.
  • the flow entry matching the target information is modified, and the matching domain field of the matched flow entry is modified to the new matching domain.
  • the target information to be modified is a flow table association value or an old matching domain field.
  • the controller receives an error indication sent by the switch, where the error indication is Notifying the controller flow table to modify the failure book.
  • the present invention provides a flow table modification apparatus, including:
  • a receiving module configured to receive an update flow table entry message sent by the controller, where the update flow table entry message includes a flow table identifier, an operation type, a target information to be modified, and a new matching domain field;
  • a search module configured to be connected to the receiving module, configured to search, in a flow table corresponding to the flow table identifier, whether there is a flow entry that matches the target information to be modified received by the receiving module;
  • a modification module configured to be connected to the search module, to modify, in the case that the search module finds a flow entry that matches the target information to be modified, the matching domain field of the matched flow entry is modified to The new matching domain field.
  • the target information to be modified is a flow table associated value; the searching module is configured to:
  • the searching module is configured to:
  • the currently found flow entry is determined as the matched flow entry.
  • the flow table modification apparatus also includes:
  • a sending module configured to be connected to the searching module, configured to send an error indication to the controller, where the search module finds that there is no flow entry matching the target information to be modified, the error indication Used to notify the controller that the flow table modification fails.
  • the present invention provides a flow table modification apparatus, including:
  • a sending module configured to send an update flow table entry message to the switch, where the update flow table entry message includes a flow table identifier, an operation type, a target information to be modified, and a new matching domain field, where the update flow table entry message is sent And indicating, in the flow table corresponding to the flow table identifier, the flow table entry that matches the target information to be modified, and modifying the matching domain field of the matched flow entry to The new match field field.
  • the target information to be modified is a flow table association value or an old matching domain field.
  • the flow table modification apparatus further includes:
  • the present invention provides an OpenFlow network system, including: a switch and a controller; the switch adopting the third aspect or the first possible implementation manner of the third aspect to the third possibility of the third aspect The flow table modification device in any one of the possible implementation manners; the controller adopts the fourth aspect or the first possible implementation manner of the fourth aspect or the second possible implementation manner of the fourth aspect A flow table modification device in any of the possible implementations.
  • the switch searches for the target to be modified in the flow table corresponding to the flow table identifier by receiving the update flow table entry message sent by the controller.
  • the flow table entry matches the information, and the matching domain field of the matching flow entry is modified to the new matching domain field.
  • the efficiency of modifying the flow table is high and the interface load is reduced.
  • the identifier only modifies the flow entry that matches the target information to be modified, and the information of the modified flow table is less redundant.
  • FIG. 1 is a flowchart of a flow table modification method according to Embodiment 1 of the present invention.
  • FIG. 2 is a flowchart of a flow table modification method according to Embodiment 2 of the present invention.
  • FIG. 3 is a flowchart of a flow table modification method according to Embodiment 3 of the present invention.
  • FIG. 4a is a structural block diagram of a flow table modification apparatus according to Embodiment 4 of the present invention.
  • FIG. 4b is another structural block diagram of a flow table modification apparatus according to Embodiment 4 of the present invention
  • FIG. 5 is a structural block diagram of a flow table modification apparatus according to Embodiment 5 of the present invention.
  • FIG. 6 is a structural block diagram of a flow table modification apparatus according to Embodiment 6 of the present invention.
  • FIG. 7 is a block diagram showing the structure of a flow table modification apparatus according to a seventh embodiment of the present invention
  • FIG. 8 is a structural block diagram of an OpenFlow network system according to Embodiment 8 of the present invention. detailed description
  • the OF network system includes a controller and a switch.
  • the controller uses an OpenFlow protocol to send a flow table to the switch by updating the flow table entry message, and the switch receives and stores the flow table sent by the controller. All packets passing through the switch are matched with the flow entries stored by the switch.
  • a switch can support multiple flow tables. Each flow table contains several flow entries, and each flow entry contains matching fields, statistics, and operations. The packet is matched with the matching field in the flow entry of the first flow table stored by the switch. If the data packet matches an entry in the first flow table, the operation in the flow entry is performed.
  • the flow is forwarded to the next flow table matching flow entry after the other operations are performed, if the operation in the matched flow entry does not include the jump To the next flow table, the flow table matching ends, and the action set corresponding to the message is executed, for example, the data packet is forwarded to the designated output port, the data packet is discarded, and the data packet header is modified.
  • the controller may control the flow table stored by the switch by modifying the flow entry.
  • Example 1
  • FIG. 1 is a flow chart of a flow table modification method according to a first embodiment of the present invention. As shown in Figure 1, the flow table modification method mainly includes:
  • Step S110 The switch receives an update flow table entry message sent by the controller, where the update flow table entry message includes a flow table identifier, an operation type, a target to be modified, and a new matching domain field.
  • the switch may perform corresponding processing on the flow table description item specified by the modification target information.
  • the update flow table entry message should include the operation type in addition to the flow table identifier, the target information to be modified, and the new match domain field.
  • the type of operation can include book modifications in addition to deletions and additions.
  • the switch can determine the flow table to be modified according to the flow table identifier, and further determine the flow entry to be modified in the flow table to be modified according to the target information to be modified, and the flow entry to be modified is a flow table matching the target information to be modified. Item, and modify the matching domain field in the flow table entry to be modified to the new matching domain field.
  • Step S130 The switch searches, in the flow table corresponding to the flow table identifier, whether a flow entry matching the target information to be modified exists.
  • the switch may determine the flow table to be modified according to the flow table identifier, and find, in the flow table to be modified, whether the flow entry matches the target message to be modified.
  • Flow entry may be a flow table associated value or an old matching domain field.
  • the switch searches for the flow entry corresponding to the target information to be modified in the flow table corresponding to the flow table identifier, which may include: And determining whether the associated value of the flow table in the currently found flow entry matches the value of the received flow table; if the associated value of the flow table in the currently found flow entry is related to the received flow table Matches the current flow table entries that are currently found to be matched.
  • the to-be-modified target information in the update flow table entry message may be a flow table association value, but the switch only stores the flow table association value, and the flow table is not processed outside the process of updating the flow table entry message.
  • the associated values are processed for other purposes.
  • the switch can find whether the flow table association value in the flow table entry stored by the switch matches the current flow table association value received from the controller, if the switch finds the flow table stored by itself. If the flow table association value in the entry matches the current flow table association value received from the controller, the switch may determine the current flow table association value in the currently stored flow entry that is found and the current slave controller receives the value. If the associated value of the flow table is matched, the switch can determine that the current flow entry is a matching flow entry.
  • the switch searches for a flow entry that matches the to-be-modified target information in the flow table corresponding to the flow table identifier, including: the switch is in the flow table. Determining whether the matching field field in the currently found flow table entry matches the old matching domain field; if the matching matching field field in the currently found flow entry matches the old matching domain field, The currently found flow entry is determined to be a matching flow entry.
  • the switch can search for the flow entry to be modified according to the old matching domain field. After the switch receives the old matching field field from the controller, the switch can search whether the matching field field in the flow table entry in the flow table corresponding to the flow table identifier is matched with the old matching domain field, if the switch searches If the matching field field in the flow entry to be stored in the self-matching field matches the old matching domain field, the switch may determine that the matching domain field in the currently stored flow entry is successfully matched with the old matching domain, the switch You can determine that the currently found flow entry is a matching flow entry.
  • Step S150 If there is a flow entry that matches the to-be-modified target information, the switch modifies the matching domain field of the matched flow entry to the new matching domain.
  • the matching domain field in the matched flow entry can be modified to the new matching domain, and the flow entry takes effect immediately after the modification.
  • the switch Compared with the existing flow table modification method, if the N flow entry is modified, the switch needs to receive 2N update flow table entry messages from the controller, and each update flow table entry message carries a complete matching field or action. Fields, high information redundancy, low efficiency, and excessive interface load.
  • the switch In the embodiment of the present invention, if N flow entries are modified, the switch receives up to N update flow table entry messages from the controller, which is efficient and reduces the interface load.
  • the identifier only modifies the flow entry that matches the target information to be modified, and the information redundancy is low.
  • the switch in a case where there is no flow entry matching the target information to be modified, the switch sends an error indication to the controller, where the error indication is used to notify the control.
  • the flow table modification failed.
  • the switch may send an error indication to the controller.
  • the error indication can only notify the controller that the flow table modification fails and does not notify the controller of the specific reason for the failure of the flow table modification.
  • the error indication can also notify the controller of the flow table modification failure and notify the controller of the specific reason for the flow table modification failure.
  • the switch searches for the flow entry corresponding to the target information to be modified in the flow table corresponding to the flow table identifier by receiving the update flow table entry message sent by the controller, and matches the The matching field field of the flow entry is modified to the new matching domain field, and the modification of the flow table is efficient and reduces the interface load.
  • the identifier only modifies the flow entry that matches the target information to be modified, and the information of the modified flow table is less redundant.
  • FIG. 2 is a flow chart of a flow table modification method according to Embodiment 2 of the present invention. As shown in Figure 2, the flow table modification method mainly includes:
  • Step S210 The controller sends an update flow table entry message to the switch, where the update flow table entry message includes a flow table identifier, an operation type, a target information to be modified, and a new matching domain field, where the update flow table entry message is And indicating, in the flow table corresponding to the flow table identifier, the flow table entry that matches the target information to be modified, and modifying the matching domain field of the matched flow entry to The new match field field.
  • the controller may cause the switch to modify the flow entry by sending an update flow table entry message to the switch. If the switch receives the update flow table entry message sent by the controller, the switch can Determining the flow table to be modified according to the flow table identifier, and further determining, according to the target information to be modified, the flow entry to be modified in the flow table to be modified, and the flow entry to be modified is a flow entry matching the target information to be modified. Modify the matching domain field in the flow entry to be modified to the new matching domain field. For a specific example, refer to the related description of step S110 in the first embodiment.
  • the target information to be modified may be a flow table associated value or an old matching domain field.
  • the switch may search, in the flow table corresponding to the flow table identifier, whether the associated value of the flow table in the flow entry sent before the controller stored by the switch is The flow table association value sent by the current controller matches. If the switch finds that the flow table association value in the flow entry sent before the controller is matched with the flow table association value sent by the current controller, the switch can determine If the flow table association value of the current flow entry is matched with the current flow table association value, the switch can determine that the current flow entry is a matching flow entry, and the matching flow table can be matched.
  • the match field field in the item is modified to the new match field field. For a specific example, refer to the related description of step S130 and step S150 in the first embodiment.
  • the switch may search, in the flow table corresponding to the flow table identifier, whether the matching domain field in the flow entry stored by the switch matches the old matching domain field. If the switch finds that the matching field field in the flow entry that is stored by the switch matches the old matching domain field, the switch may determine that the matching domain field in the currently stored flow entry is matched with the old matching domain field. If the switch finds that the current flow entry is a matching flow entry, the matching domain field in the matching flow entry can be modified to the new matching domain. For a specific example, refer to the related description of step S130 and step S150 in the first embodiment.
  • the controller receives an error indication sent by the switch, where the error indication is used to notify the controller that the flow table modification fails.
  • the controller may receive an error indication sent by the switch.
  • the error indication can only inform the controller that the flow table modification fails and does not notify the controller of the specific reason for the flow table modification failure.
  • the indication can also notify the controller of the flow table modification failure and notify the controller of the specific reason for the flow table modification failure.
  • the controller sends an update flow table entry message to the switch, and the designated switch searches for the flow entry corresponding to the target information to be modified in the flow table corresponding to the flow table identifier, and The matching field field of the matched flow entry is modified to the new matching domain field, and the efficiency of modifying the flow table is high and the interface load is reduced.
  • the identifier only modifies the flow entry that matches the target information to be modified, and the information of the modified flow table indicates that the redundancy is low.
  • FIG. 3 is a flow chart of a method for modifying a flow table according to a third embodiment of the present invention.
  • the flow table modification method mainly includes:
  • Step S310 The controller sends an update flow table entry message to the switch, instructing the switch to modify the flow entry matching domain according to the updated flow table entry message.
  • Step S330 The switch searches, according to the update flow table entry message, the flow table that matches the target information to be modified in the update flow table entry message, if the flow table is in the flow table that matches the flow table identifier. If there is a flow entry that matches the to-be-modified target information in the update flow table entry message, step S350 and step S370 are performed; if the flow table does not exist, the target information to be modified in the update flow table entry message does not exist. If the matching flow entry is matched, step S390 is performed.
  • Step S350 The switch modifies the matching field field of the matched flow entry to the new matching domain field in the update flow table entry message.
  • the controller may cause the switch to modify the flow entry by sending an update flow table entry message to the switch.
  • the switch can find, in the flow table that matches the flow table identifier, whether the flow entry matches the flow entry to be modified.
  • the target information to be modified may be a flow table associated value or an old matching domain field.
  • the switch in the flow table to find the flow entry that matches the target information to be modified refer to the related description of step S130 in the first embodiment.
  • the matching flow entry can be matched.
  • the matching domain field in the field is modified to the new matching domain field.
  • Step S370 The switch matches the packet with the modified flow entry. If the packet matches the modified flow entry, the switch performs the operation in the matching entry.
  • Step S390 The switch sends an error indication to the controller, where the error indication is used to notify the controller that the flow table modification fails.
  • the switch may send an error indication to the controller.
  • the switch may send an error indication to the controller. For details, refer to the related description of step S150 in the first embodiment.
  • the controller book sends an update flow table entry message to the switch, and the designated switch searches for the flow entry corresponding to the target information to be modified in the flow table corresponding to the flow table identifier, and Modify the matching domain field of the matching flow entry to the new matching domain field.
  • the efficiency of modifying the flow table is high and the interface load is reduced.
  • the identifier only modifies the flow entry that matches the target information to be modified, and the information redundancy of the modified flow table is low.
  • the flow table modification device 400 mainly includes:
  • the receiving module 410 is configured to receive an update flow table entry message sent by the controller, where the update flow table entry message includes a flow table identifier, an operation type, a target information to be modified, and a new matching domain field.
  • the flow table modification device 400 may be a switch. If the receiving module 410 receives the update flow table entry message sent by the controller, the flow table modification apparatus 400 may perform corresponding processing on the flow entry specified by the modification target information.
  • the update flow table entry message should include the operation type in addition to the flow table identifier, the target information to be modified, and the new matching domain field.
  • the type of operation can include modifications in addition to deletions and additions.
  • the flow table modification device 400 may determine the flow table to be modified according to the flow table identifier, and further determine, according to the target information to be modified, the flow entry to be modified in the flow table to be modified, and the flow entry to be modified is the target information to be modified. Matching flow entry, and will need to be modified
  • the matching domain field in the flow entry is modified to the new matching domain field. For a specific example, refer to the related description of step S110 in the first embodiment.
  • the search module 430 is configured to be connected to the receiving module 410, and configured to: in the flow table corresponding to the flow table identifier, whether there is a flow table that matches the target information to be modified received by the receiving module 410 item.
  • the searching module 430 may determine, according to the flow table identifier, the flow table that needs to be modified, and further search for the flow table in the flow table that needs to be modified. A flow entry that matches the item to be modified.
  • the target information to be modified may be a flow table associated value or an old matching domain field book.
  • the to-be-modified target information is a flow table association value
  • the searching module 430 is configured to: determine, in the flow table, a flow table association in the currently found flow entry Whether the value matches the flow table association value received by the receiving module 410; if it is determined that the current table association value in the currently found flow entry matches the associated value of the flow table received by the receiving module 410, The currently found flow entry is determined as the matched flow entry.
  • the searching module 430 is configured to: determine, in the flow table, a flow table association in the currently found flow entry Whether the value matches the flow table association value received by the receiving module 410; if it is determined that the current table association value in the currently found flow entry matches the associated value of the flow table received by the receiving module 410, The currently found flow entry is determined as the matched flow entry.
  • step S130 refer to the related description of step S130 in the first embodiment.
  • the to-be-modified target information is an old matching domain field
  • the searching module 430 is configured to: determine, in the flow table, a matching domain field in the currently found flow entry Whether it is matched with the old matching domain field received by the receiving module 410; if it is determined that the matching domain field in the currently found flow entry matches the old matching domain field received by the receiving module 410, Determining the currently found flow entry as the matched flow entry.
  • the searching module 430 is configured to: determine, in the flow table, a matching domain field in the currently found flow entry Whether it is matched with the old matching domain field received by the receiving module 410; if it is determined that the matching domain field in the currently found flow entry matches the old matching domain field received by the receiving module 410, Determining the currently found flow entry as the matched flow entry.
  • FIG. 4b is a block diagram of another structure of the flow table modification apparatus 400 according to the fourth embodiment of the present invention. As shown in FIG. 4b, in a possible implementation manner, the flow table modification apparatus 400 may further include a sending module 470.
  • the searching module 430 is configured to send, when the searching module 430 finds that there is no flow entry that matches the target information to be modified, sending an error indication to the controller, where the error indication is Used to notify the controller that the flow table modification fails.
  • the error indication is Used to notify the controller that the flow table modification fails.
  • the receiving module receives the update flow table entry message sent by the controller, and the search module searches for the flow entry matching the target information to be modified in the flow table corresponding to the flow table identifier. If the search module finds a flow entry that matches the target information to be modified, the modification module modifies the matching domain field of the matched flow entry to the new matching domain field, and the efficiency of modifying the flow table is high and lightened. Interface load. In addition, the identifier only modifies the flow entry that matches the target information to be modified, and the information of the modified flow table is less redundant.
  • FIG. 5 is a structural block diagram of a flow table modification apparatus according to Embodiment 5 of the present invention. As shown in FIG. 5, the flow table modification device 500 mainly includes:
  • the sending module 510 is configured to send an update flow table entry message to the switch, where the update flow table entry message includes a flow table identifier, an operation type, a target information to be modified, and a new matching domain field, where the update flow table entry is The message is used to indicate that the switch searches for a flow entry that matches the to-be-modified target information in the flow table corresponding to the flow table identifier, and modifies the matching domain field of the matched flow entry to The new matching domain field.
  • the flow table modification device 500 can be a controller. For a specific example, refer to the related description of step S210 in the second embodiment.
  • the target information to be modified is a flow table association value or an old matching domain field.
  • the target information to be modified is a flow table association value or an old matching domain field.
  • the flow table modification apparatus 500 may further include a receiving module. 530.
  • the method is configured to receive an error indication sent by the switch, where the error indication is used to notify the flow table modification apparatus 500 that flow table modification fails.
  • the error indication is used to notify the flow table modification apparatus 500 that flow table modification fails.
  • the sending module sends an update flow table entry message to the switch, and the designated switch searches for the flow entry matching the target information to be modified in the flow table corresponding to the flow table identifier, and matches the The matching field field of the flow entry is modified to the new matching domain field, and the modification of the flow table is efficient and reduces the interface load.
  • the identifier only modifies the flow table entry that matches the target information to be modified, and the information redundancy of the modified flow table is low.
  • FIG. 6 is a block diagram showing the structure of a flow table modification apparatus 600 according to Embodiment 6 of the present invention.
  • the flow table modification device 600 includes a processor 610, a communication interface 620, a memory 630, and a bus 640.
  • the processor 610, the communication interface 620, and the memory 630 complete communication with each other via the bus 640.
  • the processor 610 is for executing a program.
  • the processor 610 may be a central processing unit CPU, or may be composed of a central processing unit CPU and a hardware chip, wherein the hardware chip may include a complex programmable logic device (CPLD).
  • CPLD complex programmable logic device
  • the memory 630 may be a volatile memory such as a random-access memory (RAM) or a non-volatile memory such as a read-only memory. ROM), flash memory, hard disk drive (HDD) or solid-state drive (SSD). Memory 630 is coupled to processor 610.
  • RAM random-access memory
  • ROM read-only memory
  • HDD hard disk drive
  • SSD solid-state drive
  • the above program may be a program code including computer operating instructions.
  • the processor 610 performs the following steps in accordance with program instructions:
  • the update flow table entry message includes a flow table identifier, an operation type, a target information to be modified, and a new matching domain field; Querying, in the flow table corresponding to the flow table identifier, whether there is a flow entry that matches the target information to be modified;
  • the matching domain field of the matched flow entry is modified to the new matching domain.
  • the flow table modification device of the embodiment of the present invention by receiving the update flow table entry message, searches for the flow entry matching the target information to be modified in the flow table corresponding to the flow table identifier, and matches the matched flow entry
  • the matching field field is modified to the new matching field field, and the efficiency of modifying the flow table is high and the interface load is lightened.
  • the identifier only modifies the flow entry that matches the target information to be modified, and the information of the modified flow table is less redundant.
  • FIG. 7 is a block diagram showing the structure of a flow table modification apparatus 700 according to a seventh embodiment of the present invention.
  • the flow table modification device 700 includes a processor 710, a communication interface 720, a memory 730, and a bus 740.
  • the processor 710, the communication interface 720, and the memory 730 complete communication with each other via the bus 740.
  • the processor 710 is for executing a program.
  • the processor 710 may be a central processing unit CPU, or may be composed of a central processing unit CPU and a hardware chip, wherein the hardware chip may include a complex programmable logic device (CPLD).
  • CPLD complex programmable logic device
  • the memory 730 may be a volatile memory such as a random-access memory (RAM) or a non-volatile memory such as a read-only memory. ROM), flash memory, hard disk drive (HDD) or solid-state drive (SSD). Memory 730 is coupled to processor 710.
  • RAM random-access memory
  • ROM read-only memory
  • HDD hard disk drive
  • SSD solid-state drive
  • the above program may be a program code including computer operating instructions.
  • the processor 710 performs the following steps in accordance with program instructions:
  • the update flow table entry message is used to instruct the switch to search for the target to be modified in the flow table corresponding to the flow table identifier, the identifier, the operation type, the target information to be modified, and the new match domain field.
  • the flow table entry matched by the information, and the matching domain field of the matched flow entry is modified to the new matching domain field.
  • the flow table modification device of the embodiment of the present invention by sending an update flow table entry message to the switch, specifies that the switch searches for a flow entry matching the target information to be modified in the flow table corresponding to the flow table identifier, and matches the The field field of the flow entry is modified to a new match field, and the flow table is modified to be efficient and reduces the interface load.
  • the identifier only modifies the flow table entry that matches the target information to be modified, and the information redundancy of the modified flow table is low.
  • FIG. 8 is a structural block diagram of an OpenFlow network system according to Embodiment 8 of the present invention. As shown in FIG. 8, the OpenFlow network system mainly includes: a controller 810 and a switch 830.
  • the switch 830 adopts the flow table modification device 400 described in the above-mentioned fourth embodiment or the flow table modification device 600 described in the sixth embodiment; the controller 810 adopts the flow table modification device 500 described in the above fifth embodiment. Or the flow table modification device 700 described in the seventh embodiment.
  • the switch 830 adopts the flow table modification device 400 described in the above-mentioned fourth embodiment or the flow table modification device 600 described in the sixth embodiment; the controller 810 adopts the flow table modification device 500 described in the above fifth embodiment.
  • the flow table modification device 700 described in the seventh embodiment For details, refer to the related description of the above embodiments 1 to 7.
  • the switch searches for the flow entry corresponding to the target information to be modified in the flow table corresponding to the flow table identifier by using the update flow table entry message sent by the controller, and matches the The matching field field of the flow entry is modified to the new matching domain field, and the modification of the flow table is efficient and reduces the interface load.
  • the identifier only modifies the flow entry that matches the target information to be modified, and the information of the modified flow table is less redundant.

Abstract

提供一种流表修改方法、流表修改装置和开放流网络系统。该方法包括以下步骤:交换机接收控制器发送的更新流表表项消息;交换机在与流表标识相对应的流表中査找是否存在与待修改目标信息匹配的流表项;在存在与待修改目标信息匹配的流表项的情况下,交换机将匹配的流表项的匹配字段修改为新匹配域字段。该方法的信息冗余低、效率高且减轻了接口负担。

Description

流表修改方法、 流表修改装置和开放流网络系统 技术领域
本发明涉及通信技术领域, 具体涉及一种流表修改方法、 流表修改装置 和开放流网络系统。 背景技术 说
随着网络技术的不断发展, 出现了软件定义网络 (software defined network , 简称 SDN) , 开放流 (OpenFl书ow, 简称 OF) 协议是 SDN中的一种 典型的技术。 OF协议中的网元包括 OF控制器 ( controller )、 OF交换机 (switch) , OF控制器简称控制器, OF交换机简称交换机。 控制器根据报文 特征, 例如五元组、 以太网帧头、 虚拟局域网 (virtual local area network, 简 称 VLAN)标识(identification, 简称 ID)等, 确定该业务流的转发动作, 例 如转发、 丢弃、 修改报文头、 封装、 解封装等, 并向交换机发送与该业务流 对应的流规则和对应执行的一个或多个动作。交换机接收并存储控制器发送 的流规则, 对于后续符合该流规则的报文, 执行该流规则对应的动作, 从而 实现报文的转发或处理。
首先, 控制器通过更新流表表项消息 (modify flow entry message, 简称 Flow_Mod) 向交换机发送流规则。 流规则包括流匹配规则及对应的处理动 作。 流匹配规则可以包括以太网帧头、 因特网协议 (internet protocol, 简称 IP) 头信息或者传输控制协议 (transmission control protocol, 简称 TCP) /用 户数据报协议(user date protocol, 简称 UDP)端口号等信息的组合。 处理动 作包括处理类型及相关的参数, 处理类型例如转发、 丢弃、 修改、 封装、 解 封装等。控制器可能通过多个更新流表表项消息将属于不同流表(flow table ) 的流匹配规则发送给交换机。 然后, 交换机将从控制器接收到的所有流匹配 规则及对应的处理动作存储或安装到流表中。 最后, 当交换机接收到用户发 送的报文时, 交换机执行流表匹配, 并根据匹配的流规则对应的动作集对用 户发送的报文进行处理。
OF协议可以通过更新流表表项消息实现流规则的增加 /修改 /删除。 但 是, 控制器只能通过增加或删除流表的动作, 来完成流表项的修改。 例如, 对一条 MAC地址、 IP地址的流表项的修改需要发送两条更新流表表项消息。 首先, 控制器向交换机发送一条更说新流表表项消息, 携带删除指示以删除一 条流表项, 匹配域携带(源 IP地址等于 IP2, 源 MAC地址等于 MAC2)。然后, 控制器向交换机发送一条更新流表表项消书息, 携带增加指示以增加一条新的 流表项, 新的流表项的匹配域携带 (源 IP地址等于 IP3 , 源 MAC地址等于 MAC3 )。修改 N条流表项,控制器需要向交换机发送 2N条更新流表表项消息, 且每条更新流表表项消息携带完整的匹配 (match) /操作 (action) 字段。
综上所述, 通常的修改流表的方法存在信息冗余、 效率低、 接口负载过 重的缺点。 发明内容
技术问题
有鉴于此, 本发明要解决的技术问题是, 如何提高修改流表的效率、 减 少接口负载。
解决方案
为了解决上述技术问题,在第一方面,本发明提供了一种流表修改方法, 包括:
交换机接收控制器发送的更新流表表项消息,所述更新流表表项消息包 括流表标识、 操作类型、 待修改目标信息和新匹配域字段;
所述交换机在与所述流表标识相对应的流表中,查找是否存在与所述待 修改目标信息匹配的流表项;
在存在与所述待修改目标信息匹配的流表项的情况下,所述交换机将所 述匹配的流表项的匹配域字段修改为所述新匹配域字段。
结合第一方面,在第一方面的第一种可能的实现方式中,所述待修改目 标信息为流表关联值;
所述交换机在与所述流表标识相对应的流表中,查找是否存在与所述待 修改目标信息匹配的流表项, 包说括:
所述交换机在所述流表中,判断当前查找到的流表项中的流表关联值与 接收到的流表关联值是否匹配; 书
如果当前查找到的流表项中的流表关联值与接收到的流表关联值相匹 配, 将所述当前查找到的流表项确定为所述匹配的流表项。
结合第一方面,在第一方面的第二种可能的实现方式中,所述待修改目 标信息为旧匹配域字段;
所述交换机在与所述流表标识相对应的流表中,查找是否存在与所述待 修改目标信息匹配的流表项, 包括:
所述交换机在所述流表中,判断当前查找到的流表项中的匹配域字段与 所述旧匹配域字段是否匹配;
如果当前查找到的流表项中的匹配域字段与所述旧匹配域字段相匹配, 将所述当前查找到的流表项确定为所述匹配的流表项。
结合第一方面或第一方面的第一种可能的实现方式或第一方面的第二 种可能的实现方式,在第一方面的第三种可能的实现方式中,在不存在与所 述待修改目标信息匹配的流表项的情况下,所述交换机向所述控制器发送错 误指示, 所述错误指示用于通知所述控制器流表修改失败。
第二方面, 本发明提供了一种流表修改方法, 包括:
控制器向交换机发送更新流表表项消息,所述更新流表表项消息中包括 流表标识、 操作类型、 待修改目标信息和新匹配域字段, 所述更新流表表项 消息用于指示所述交换机在与所述流表标识相对应的流表中, 查找与所述待 修改目标信息匹配的流表项, 并将所述匹配的流表项的匹配域字段修改为所 述新匹配域字段。
结合第二方面, 在第二方面的第一种可能的实现方式中, 所述待修改目 标信息为流表关联值或旧匹配域字段。
结合第二方面或第二方面的说第一种可能的实现方式,在第二方面的第二 种可能的实现方式中,所述控制器接收所述交换机发送的错误指示,所述错 误指示用于通知所述控制器流表修改失败书。
第三方面, 本发明提供了一种流表修改装置, 包括:
接收模块,用于接收控制器发送的更新流表表项消息,所述更新流表表 项消息包括流表标识、 操作类型、 待修改目标信息和新匹配域字段;
查找模块, 与所述接收模块连接,用于在与所述流表标识相对应的流表 中,查找是否存在与所述接收模块接收到的所述待修改目标信息匹配的流表 项;
修改模块, 与所述查找模块连接,用于在所述查找模块查找到存在与所 述待修改目标信息匹配的流表项的情况下,将所述匹配的流表项的匹配域字 段修改为所述新匹配域字段。
结合第三方面,在第三方面的第一种可能的实现方式中,所述待修改目 标信息为流表关联值; 所述查找模块被配置为:
在所述流表中,判断当前查找到的流表项中的流表关联值与所述接收模 块接收到的流表关联值是否匹配;
如果判定当前查找到的流表项中的流表关联值与所述接收模块接收到 的流表关联值相匹配, 将所述当前查找到的流表项确定为所述匹配的流表 项。 结合第三方面,在第三方面的第二种可能的实现方式中,所述待修改目 标信息为旧匹配域字段; 所述查找模块被配置为:
在所述流表中,判断当前查找到的流表项中的匹配域字段与所述接收模 块接收到的所述旧匹配域字段是否匹配;
如果判定当前查找到的流表项中的匹配域字段与所述接收模块接收到 的所述旧匹配域字段相匹配,将所述当前查找到的流表项确定为所述匹配的 流表项。 说
结合第三方面或第三方面的第一种可能的实现方式或第三方面的第二 种可能的实现方式,在第三方面的第三种书可能的实现方式中,所述流表修改 装置还包括:
发送模块, 与所述查找模块连接,用于在所述查找模块查找到不存在与 所述待修改目标信息匹配的流表项的情况下, 向所述控制器发送错误指示, 所述错误指示用于通知所述控制器流表修改失败。
第四方面, 本发明提供了一种流表修改装置, 包括:
发送模块,用于向交换机发送更新流表表项消息,所述更新流表表项消 息中包括流表标识、操作类型、待修改目标信息和新匹配域字段, 所述更新 流表表项消息用于指示所述交换机在与所述流表标识相对应的流表中,查找 与所述待修改目标信息匹配的流表项,并将所述匹配的流表项的匹配域字段 修改为所述新匹配域字段。
结合第四方面,在第四方面的第一种可能的实现方式中,所述待修改目 标信息为流表关联值或旧匹配域字段。
结合第四方面或第四方面的第一种可能的实现方式,在第四方面的第二 种可能的实现方式中, 所述流表修改装置还包括:
接收模块, 用于接收所述交换机发送的错误指示, 所述错误指示用于通 知所述流表修改装置流表修改失败。 第五方面,本发明提供了一种开放流网络系统,包括:交换机和控制器; 所述交换机采用第三方面或第三方面的第一种可能的实现方式至第三 方面的第三种可能的实现方式中任一种可能的实现方式中的流表修改装置; 所述控制器采用第四方面或第四方面的第一种可能的实现方式或第四 方面的第二种可能的实现方式中任一种可能的实现方式中的流表修改装置。
有益效果
本实施例的流表修改方法、 流说表修改装置和开放流网络系统, 交换机通 过接收控制器发送的更新流表表项消息,在与流表标识相对应的流表中查找 与待修改目标信息相匹配的流表项, 并将书匹配的流表项的匹配域字段修改为 新匹配域字段, 修改流表的效率高且减轻了接口负载。 此外, 标识仅对与待 修改目标信息相匹配的流表项进行修改, 修改流表的信息冗余低。
根据下面参考附图对示例性实施例的详细说明,本发明的其它特征及方 面将变得清楚。 附图说明
包含在说明书中并且构成说明书的一部分的附图与说明书一起示出了 本发明的示例性实施例、 特征和方面, 并且用于解释本发明的原理。
图 1为根据本发明实施例一的流表修改方法的流程图;
图 2为根据本发明实施例二的流表修改方法的流程图;
图 3为根据本发明实施例三的流表修改方法的流程图;
图 4a为根据本发明实施例四的流表修改装置的一种结构框图;
图 4b为根据本发明实施例四的流表修改装置的另一种结构框图; 图 5为根据本发明实施例五的流表修改装置的结构框图;
图 6为根据本发明实施例六的流表修改装置的结构框图;
图 7为根据本发明实施例七的流表修改装置的结构框图; 以及 图 8为根据本发明实施例八的开放流网络系统的结构框图。 具体实施方式
以下将参考附图详细说明本发明的各种示例性实施例、 特征和方面。 附 图中相同的附图标记表示功能相同或相似的元件。尽管在附图中示出了实施 例的各种方面, 但是除非特别指出, 不必按比例绘制附图。
在这里专用的词"示例性 "意为说 "用作例子、 实施例或说明性"。 这里作为 "示例性"所说明的任何实施例不必解释为优于或好于其它实施例。
另外, 为了更好的说明本发明, 在下书文的具体实施方式中给出了众多的 具体细节。 本领域技术人员应当理解, 没有某些具体细节, 本发明同样可以 实施。 在另外一些实例中, 对于本领域技术人员熟知的方法、 手段、 元件和 电路未作详细描述, 以便于凸显本发明的主旨。
如背景技术和发明内容所述, OF网络系统包括控制器和交换机,控制器 使用开放流协议, 通过更新流表表项消息向交换机发送流表, 交换机接收并 存储控制器发送的流表。所有经过交换机的报文都会与交换机存储的流表项 (flow entry) 进行匹配。 当前 OF协议中, 交换机可以支持多个流表, 每个 流表包含若干个流表项, 每个流表项包含匹配字段、 计数器 (statistics ) 和 操作。 报文与交换机存储的第一个流表的流表项中的匹配域进行匹配, 在数 据包匹配到第一个流表的某表项的情况下, 则执行上述流表项中的操作, 如 果匹配的流表项中的操作包括再跳转到下一个流表, 则在执行完其它操作之 后转到下一个流表匹配流表项,如果匹配的流表项中的操作不包括跳转到下 一个流表, 则流表匹配结束, 并执行该报文所对应的动作集 (action set) , 例如将数据包转发到指定输出端口, 丢弃数据包, 修改数据包头等。
本发明实施例中, 控制器可以通过修改流表项来控制交换机存储的流 表。 实施例 1
图 1为根据本发明实施例一的流表修改方法的流程图。 如图 1所示, 该流 表修改方法主要包括:
步骤 S110、 交换机接收控制器发送的更新流表表项消息, 所述更新流表 表项消息包括流表标识、 操作类型、 待修改目标信息和新匹配域字段。
具体地, 若交换机接收到控制器发送的更新流表表项消息, 则交换机可 以对待修改目标信息指定的流表说项进行相应的处理。更新流表表项消息除了 包括流表标识、 待修改目标信息和新匹配域字段, 还应该包括操作类型。 操 作类型除了包括删除和增加, 还可以包括书修改。 交换机可以根据流表标识确 定需要修改的流表,进一步根据待修改目标信息确定该需要修改的流表中需 要修改的流表项, 需要修改的流表项为与待修改目标信息匹配的流表项, 并 将需要修改的流表项中的匹配域字段修改为新匹配域字段。
步骤 S130、所述交换机在与所述流表标识相对应的流表中, 查找是否存 在与所述待修改目标信息匹配的流表项。
具体地, 交换机从控制器接收到更新流表表项消息之后, 可以根据流表 标识确定需要修改的流表,并在该需要修改的流表中查找是否有流表项与待 修改目标消息匹配的流表项。待修改目标信息可以为流表关联值, 也可以为 旧匹配域字段。
在待修改目标信息为流表关联值的情况下,交换机在与上述流表标识相 对应的流表中, 查找是否存在与待修改目标信息匹配的流表项, 可以包括: 交换机在该流表中,判断当前查找到的流表项中的流表关联值与接收到的流 表关联值是否匹配;如果当前查找到的流表项中的流表关联值与接收到的流 表关联值相匹配, 将当前查找到的流表项确定为匹配的流表项。
具体地, 更新流表表项消息中的待修改目标信息可以为流表关联值,但 是交换机只是存储流表关联值,在更新流表表项消息的处理之外并不对流表 关联值进行其它处理。交换机从控制器接收到流表关联值之后, 可以查找自 身存储的流表项中的流表关联值是否与当前从控制器接收到的流表关联值 匹配,如果交换机查找到自身存储的流表项中的流表关联值与当前从控制器 接收到的流表关联值相匹配,则交换机可以确定当前查找到的自身存储的流 表项中的流表关联值与当前从控制器接收到的流表关联值匹配成功,交换机 可以确定当前查找到的流表项为匹配的流表项。
在待修改目标信息为旧匹配说域字段的情况下,交换机在与上述流表标识 相对应的流表中, 查找是否存在与待修改目标信息匹配的流表项, 包括: 交 换机在该流表中,判断当前查找到的流表书项中的匹配域字段与所述旧匹配域 字段是否匹配;如果当前查找到的流表项中的匹配域字段与所述旧匹配域字 段相匹配, 将当前查找到的流表项确定为匹配的流表项。
具体地, 交换机可以根据旧匹配域字段查找需要修改的流表项。 交换机 从控制器接收到旧匹配域字段之后, 交换机可以查找自身存储与上述流表标 识相对应的流表中的流表项中的匹配域字段是否与该旧匹配域字段相匹配, 如果交换机查找到自身存储的流表项中的匹配域字段与该旧匹配域字段相 匹配, 则交换机可以确定当前查找到的自身存储的流表项中的匹配域字段与 该旧匹配域字段匹配成功, 交换机可以确定当前查找到的流表项为匹配的流 表项。
步骤 S150、在存在与所述待修改目标信息匹配的流表项的情况下, 所述 交换机将所述匹配的流表项的匹配域字段修改为所述新匹配域字段。
具体地, 交换机确定了匹配的流表项之后, 就可以将匹配的流表项中的 匹配域字段修改为该新匹配域字段, 流表项自修改之后即时生效。
对比于现有的流表修改方法, 若修改 N条流表项, 则交换机需要从控制 器接收 2N条更新流表表项消息,且每条更新流表表项消息携带完整的匹配字 段或动作字段, 信息冗余高, 效率低, 且接口负载过重。 而本发明实施例的 流表修改方法, 若修改 N条流表项, 则交换机从控制器接收的更新流表表项 消息至多 N条, 效率高且减轻了接口负载。 此外, 本发明实施例的流表修改 方法, 标识仅对与待修改目标信息相匹配的流表项进行修改, 信息冗余低。
在一种可能的实现方式中,在不存在与所述待修改目标信息匹配的流表 项的情况下,所述交换机向所述控制器发送错误指示,所述错误指示用于通 知所述控制器流表修改失败。
具体地, 如果交换机查找到说自身存储的流表项不存在与修改目标消息相 匹配的流表项, 则交换机可以向控制器发送错误指示。 错误指示可以只通知 控制器流表修改失败并不通知控制器流表书修改失败的具体原因,错误指示也 可以既通知控制器流表修改失败又通知控制器流表修改失败的具体原因。
本实施例的流表修改方法, 交换机通过接收控制器发送的更新流表表项 消息, 在与流表标识相对应的流表中查找与待修改目标信息相匹配的流表 项, 并将匹配的流表项的匹配域字段修改为新匹配域字段, 修改流表的效率 高且减轻了接口负载。 此外, 标识仅对与待修改目标信息相匹配的流表项进 行修改, 修改流表的信息冗余低。
实施例 2
图 2为根据本发明实施例二的流表修改方法的流程图。 如图 2所示, 该流 表修改方法主要包括:
步骤 S210、控制器向交换机发送更新流表表项消息,所述更新流表表项 消息中包括流表标识、操作类型、 待修改目标信息和新匹配域字段, 所述更 新流表表项消息用于指示所述交换机在与所述流表标识相对应的流表中,查 找与所述待修改目标信息匹配的流表项,并将所述匹配的流表项的匹配域字 段修改为所述新匹配域字段。
具体地,控制器可以通过向交换机发送更新流表表项消息来使交换机修 改流表项。 若交换机接收到控制器发送的更新流表表项消息, 则交换机可以 根据流表标识确定需要修改的流表,进一步根据待修改目标信息确定该需要 修改的流表中需要修改的流表项, 需要修改的流表项为与待修改目标信息匹 配的流表项, 并将需要修改的流表项中的匹配域字段修改为新匹配域字段。 具体示例可以参见上述实施例一中的步骤 S110的相关描述。待修改目标信息 可以为流表关联值, 也可以为旧匹配域字段。
在待修改目标信息为流表关联值的情况下, 交换机可以在与上述流表标 识相对应的流表中, 查找自身存储说的控制器之前发送的流表项中的流表关联 值是否与当前控制器发送的流表关联值匹配, 如果交换机查找到自身存储的 控制器之前发送的流表项中的流表关联书值与当前控制器发送的流表关联值 相匹配, 则交换机可以确定当前查找到的流表项中的流表关联值与当前控制 器发送的流表关联值匹配成功,交换机可以确定当前查找到的流表项为匹配 的流表项, 就可以将匹配的流表项中的匹配域字段修改为新匹配域字段。 具 体示例可以参见上述实施例一中步骤 S130和步骤 S150的相关描述。
在待修改目标信息为旧匹配域字段的情况下,交换机可以与上述流表标 识相对应的流表中, 查找自身存储的流表项中的匹配域字段是否与该旧匹配 域字段相匹配, 如果交换机查找到自身存储的流表项中的匹配域字段与该旧 匹配域字段相匹配, 则交换机可以确定当前查找到的自身存储的流表项中的 匹配域字段与该旧匹配域字段匹配成功, 交换机可以确定当前查找到的流表 项为匹配的流表项, 就可以将匹配的流表项中的匹配域字段修改为新匹配域 字段。 具体示例可以参见上述实施例一中步骤 S130和步骤 S150的相关描述。
在一种可能的实现方式中, 所述控制器接收所述交换机发送的错误指 示, 所述错误指示用于通知所述控制器流表修改失败。
具体地, 如果交换机查找到自身存储的流表项不存在与修改目标消息匹 配的流表项, 则控制器可以接收到交换机发送的错误指示。错误指示可以只 通知控制器流表修改失败并不通知控制器流表修改失败的具体原因,错误指 示也可以既通知控制器流表修改失败又通知控制器流表修改失败的具体原 因。
本实施例的流表修改方法, 控制器通过向交换机发送更新流表表项消 息,指定交换机在与流表标识相对应的流表中查找与待修改目标信息相匹配 的流表项, 并将匹配的流表项的匹配域字段修改为新匹配域字段,修改流表 的效率高且减轻了接口负载。此外,标识仅对与待修改目标信息相匹配的流 表项进行修改, 修改流表的信息说冗余低。
实施例 3
图 3为根据本发明实施例三的流表修书改方法的流程图。 如图 3所示, 该流 表修改方法主要包括:
步骤 S310、控制器向交换机发送更新流表表项消息,指示交换机根据更 新流表表项消息对流表项匹配域进行修改。
步骤 S330、交换机根据更新流表表项消息,在与流表标识相匹配的流表 中查找是否存在与更新流表表项消息中的待修改目标信息相匹配的流表项, 如果该流表中存在与更新流表表项消息中的待修改目标信息相匹配的流表 项, 则执行步骤 S350和步骤 S370; 如果该流表中不存在与更新流表表项消 息中的待修改目标信息相匹配的流表项, 则执行步骤 S390。
步骤 S350、交换机将匹配的流表项的匹配域字段修改为更新流表表项消 息中的新匹配域字段。
具体地,控制器可以通过向交换机发送更新流表表项消息来使交换机修 改流表项。交换机接收到更新流表表项消息之后,可以在与流表标识相匹配 的流表中, 查找是否有流表项与待修改目标消息匹配的流表项。待修改目标 信息可以为流表关联值, 也可以为旧匹配域字段。交换机在该流表中查找与 待修改目标信息相匹配的流表项的具体示例可以参见上述实施例一中步骤 S130的相关描述。交换机确定了匹配的流表项之后,就可以将匹配的流表项 中的匹配域字段修改为该新匹配域字段。
步骤 S370、交换机将报文与修改之后的流表项进行匹配,如果报文与修 改之后的流表项匹配成功, 则对报文执行匹配成功的表项中的操作。
步骤 S390、交换机向控制器发送错误指示,错误指示用于通知所述控制 器流表修改失败。
具体地,交换机查找到自身存储的流表项不存在与待修改目标消息相匹 配的流表项, 则交换机可以向控说制器发送错误指示。具体可以参见上述实施 例一中步骤 S150的相关描述。
本实施例的流表修改方法, 控制器书通过向交换机发送更新流表表项消 息,指定交换机在与流表标识相对应的流表中查找与待修改目标信息相匹配 的流表项, 并将匹配的流表项的匹配域字段修改为新匹配域字段,修改流表 的效率高且减轻了接口负载。此外,标识仅对与待修改目标信息相匹配的流 表项进行修改, 修改流表的信息冗余低。
实施例 4
图 4a为根据本发明实施例四的流表修改装置的一种结构框图。 如图 4a所 示, 该流表修改装置 400主要包括:
接收模块 410, 用于接收控制器发送的更新流表表项消息, 所述更新流 表表项消息包括流表标识、 操作类型、 待修改目标信息和新匹配域字段。
具体地, 流表修改装置 400可以为交换机。 若接收模块 410接收到控制器 发送的更新流表表项消息, 则流表修改装置 400可以对待修改目标信息指定 的流表项进行相应的处理。 更新流表表项消息除了包括流表标识、 待修改目 标信息和新匹配域字段, 还应该包括操作类型。 操作类型除了包括删除和增 加, 还可以包括修改。 流表修改装置 400可以根据流表标识确定需要修改的 流表,进一步根据待修改目标信息确定该需要修改的流表中需要修改的流表 项, 需要修改的流表项为与待修改目标信息匹配的流表项, 并将需要修改的 流表项中的匹配域字段修改为新匹配域字段。具体示例可以参见上述实施例 一中步骤 S110的相关描述。
查找模块 430, 与所述接收模块 410连接, 用于在与所述流表标识相对应 的流表中, 查找是否存在与所述接收模块 410接收到的所述待修改目标信息 匹配的流表项。
具体地, 接收模块 410从控制器接收到更新流表表项消息之后, 查找模 块 430可以根据流表标识确定需要说修改的流表, 并在该需要修改的流表中进 一步查找是否有流表项与待修改目标消息匹配的流表项。待修改目标信息可 以为流表关联值, 也可以为旧匹配域字段书。
在一种可能的实现方式中,所述待修改目标信息为流表关联值; 所述查 找模块 430被配置为: 在所述流表中, 判断当前查找到的流表项中的流表关 联值与所述接收模块 410接收到的流表关联值是否匹配; 如果判定当前查找 到的流表项中的流表关联值与所述接收模块 410接收到的流表关联值相匹 配,将所述当前查找到的流表项确定为所述匹配的流表项。具体示例可以参 见上述实施例一中步骤 S130的相关描述。
在一种可能的实现方式中,所述待修改目标信息为旧匹配域字段; 所述 查找模块 430被配置为: 在所述流表中, 判断当前查找到的流表项中的匹配 域字段与所述接收模块 410接收到的所述旧匹配域字段是否匹配; 如果判定 当前查找到的流表项中的匹配域字段与所述接收模块 410接收到的所述旧匹 配域字段相匹配,将所述当前查找到的流表项确定为所述匹配的流表项。具 体示例可以参见上述实施例一中步骤 S130的相关描述。
修改模块 450, 与所述查找模块 430连接, 用于在所述查找模块 430查找 到存在与所述待修改目标信息匹配的流表项的情况下,将所述匹配的流表项 的匹配域字段修改为所述新匹配域字段。具体示例可以参见上述实施例一中 步骤 S150的相关描述。 图 4b为根据本发明实施例四的流表修改装置 400的另一种结构框图, 如 图 4b所示, 在一种可能的实现方式中, 所述流表修改装置 400还可以包括发 送模块 470, 与所述查找模块 430连接, 用于在所述查找模块 430查找到不存 在与所述待修改目标信息匹配的流表项的情况下,向所述控制器发送错误指 示,所述错误指示用于通知所述控制器流表修改失败。具体示例可以参见上 述实施例一中步骤 S150的相关描述。
本实施例的流表修改装置,接说收模块接收控制器发送的更新流表表项消 息, 查找模块在与流表标识相对应的流表中查找与待修改目标信息相匹配的 流表项,修改模块在查找模块查找到与待书修改目标信息相匹配的流表项的情 况下, 将匹配的流表项的匹配域字段修改为新匹配域字段, 修改流表的效率 高且减轻了接口负载。 此外, 标识仅对与待修改目标信息相匹配的流表项进 行修改, 修改流表的信息冗余低。
实施例 5
图 5为根据本发明实施例五的流表修改装置的结构框图。 如图 5所示, 该 流表修改装置 500主要包括:
发送模块 510, 用于向交换机发送更新流表表项消息, 所述更新流表表 项消息中包括流表标识、 操作类型、 待修改目标信息和新匹配域字段, 所述 更新流表表项消息用于指示所述交换机在与所述流表标识相对应的流表中, 查找与所述待修改目标信息匹配的流表项, 并将所述匹配的流表项的匹配域 字段修改为所述新匹配域字段。 该流表修改装置 500可以为控制器。 具体示 例可以参见上述实施例二中的步骤 S210的相关描述。
在一种可能的实现方式中,所述待修改目标信息为流表关联值或旧匹配 域字段。 具体示例可以参见上述实施例一中步骤 S130和步骤 S150的相关描 述。
在一种可能的实现方式中, 所述流表修改装置 500还可以包括接收模块 530, 用于接收所述交换机发送的错误指示, 所述错误指示用于通知所述流 表修改装置 500流表修改失败。 具体示例可以参见上述实施例一中步骤 S150 的相关描述。
本实施例的流表修改装置, 发送模块向交换机发送更新流表表项消息, 指定交换机在与流表标识相对应的流表中查找与待修改目标信息相匹配的 流表项, 并将匹配的流表项的匹配域字段修改为新匹配域字段, 修改流表的 效率高且减轻了接口负载。此外说,标识仅对与待修改目标信息相匹配的流表 项进行修改, 修改流表的信息冗余低。
实施例 6 书
图 6为根据本发明实施例六的流表修改装置 600的结构框图。所述流表修 改装置 600包括处理器 (processor)610、 通信接 口 (communications interface)620、 存储器 (memory)630和总线 640。 其中, 处理器 610、 通信接口 620、 以及存储器 630通过总线 640完成相互间的通信。
处理器 610用于执行程序。 处理器 610可能是一个中央处理器 CPU, 也可 能由一个中央处理器 CPU和硬件芯片组成, 其中硬件芯片可以包括复杂可编 禾呈逻辑器件 ( complex programmable logic device, CPLD )。
存储器 630可以是易失性存储器 (volatile memory) , 例如随机存取存储 器 ( random-access memory , RAM ) , 或者非易失性存储器 ( non-volatile memory) , 例如只读存储器 (read-only memory, ROM) , 快闪存储器 (flash memory) ,硬盘(hard disk drive, HDD)或固态硬盘(solid-state drive, SSD)。 存储器 630与处理器 610相连。
在一种可能的实现方式中, 上述程序可为包括计算机操作指令的程序代 码。 该处理器 610根据程序指令执行以下步骤:
接收控制器发送的更新流表表项消息,所述更新流表表项消息包括流表 标识、 操作类型、 待修改目标信息和新匹配域字段; 在与所述流表标识相对应的流表中,查找是否存在与所述待修改目标信 息匹配的流表项;
在存在与所述待修改目标信息匹配的流表项的情况下,将所述匹配的流 表项的匹配域字段修改为所述新匹配域字段。
本发明实施例的流表修改装置,通过接收更新流表表项消息,在与流表 标识相对应的流表中查找与待修改目标信息相匹配的流表项,并将匹配的流 表项的匹配域字段修改为新匹配说域字段,修改流表的效率高且减轻了接口负 载。此外, 标识仅对与待修改目标信息相匹配的流表项进行修改, 修改流表 的信息冗余低。 书
实施例 7
图 7为根据本发明实施例七的流表修改装置 700的结构框图。所述流表修 改装置 700包括处理器 (processor)710、 通信接 口 (communications interface)720、 存储器 (memory)730和总线 740。 其中, 处理器 710、 通信接口 720、 以及存储器 730通过总线 740完成相互间的通信。
处理器 710用于执行程序。 处理器 710可能是一个中央处理器 CPU, 也可 能由一个中央处理器 CPU和硬件芯片组成, 其中硬件芯片可以包括复杂可编 禾呈逻辑器件 ( complex programmable logic device, CPLD )。
存储器 730可以是易失性存储器 (volatile memory) , 例如随机存取存储 器 ( random-access memory , RAM ) , 或者非易失性存储器 ( non-volatile memory) , 例如只读存储器 (read-only memory, ROM) , 快闪存储器 (flash memory) ,硬盘(hard disk drive, HDD)或固态硬盘(solid-state drive, SSD)。 存储器 730与处理器 710相连。
在一种可能的实现方式中, 上述程序可为包括计算机操作指令的程序代 码。 该处理器 710根据程序指令执行以下步骤:
向交换机发送更新流表表项消息,所述更新流表表项消息中包括流表标 识、 操作类型、 待修改目标信息和新匹配域字段, 所述更新流表表项消息用 于指示所述交换机在与所述流表标识相对应的流表中, 查找与所述待修改目 标信息匹配的流表项, 并将所述匹配的流表项的匹配域字段修改为所述新匹 配域字段。
本发明实施例的流表修改装置, 通过向交换机发送更新流表表项消息, 指定交换机在与流表标识相对应的流表中查找与待修改目标信息相匹配的 流表项, 并将匹配的流表项的匹说配域字段修改为新匹配域字段, 修改流表的 效率高且减轻了接口负载。此外,标识仅对与待修改目标信息相匹配的流表 项进行修改, 修改流表的信息冗余低。 书
实施例 8
图 8为根据本发明实施例八的开放流网络系统的结构框图。 如图 8所示, 该开放流网络系统主要包括: 控制器 810和交换机 830。
所述交换机 830采用上述实施例四中所述的流表修改装置 400或实施例 六所述的流表修改装置 600;所述控制器 810采用上述实施例五中所述的流表 修改装置 500或实施例七所述的流表修改装置 700。具体可以参见上述实施例 一至七的相关描述。
本实施例的开放流网络系统,交换机通过接收控制器发送的更新流表表 项消息,在与流表标识相对应的流表中查找与待修改目标信息相匹配的流表 项, 并将匹配的流表项的匹配域字段修改为新匹配域字段,修改流表的效率 高且减轻了接口负载。此外,标识仅对与待修改目标信息相匹配的流表项进 行修改, 修改流表的信息冗余低。
本领域普通技术人员可以意识到, 本文所描述的实施例中的各示例性单 元及算法步骤, 能够以计算机软件来实现。 在一定程度上可以认为本发明的 技术方案的全部或部分(例如对现有技术做出贡献的部分)是以计算机软件 产品的形式体现的。该计算机软件产品通常存储在计算机可读取的存储介质 中, 包括若干指令用以使得计算机设备(可以是个人计算机、 服务器、 或者 网络设备等)执行本发明各实施例方法的全部或部分步骤。 而前述的存储介 质包括 USB闪存驱动器(USB flash drive),移动硬盘、只读存储器(read-only memory, ROM)、 随机存耳又存储器 (random- access memory, RAM)、 磁碟 或者光盘等各种可以存储程序代码的介质。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术说人员在本发明揭露的技术范围内, 可轻易 想到变化或替代, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护 范围应以所述权利要求的保护范围为准。书

Claims

权 利 要 求 书
1、 一种流表修改方法, 其特征在于, 包括:
交换机接收控制器发送的更新流表表项消息,所述更新流表表项消息包 括流表标识、 操作类型、 待修改目标信息和新匹配域字段;
所述交换机在与所述流表标识相对应的流表中,查找是否存在与所述待 修改目标信息匹配的流表项;
在存在与所述待修改目标信息匹配的流表项的情况下,所述交换机将所 述匹配的流表项的匹配域字段修改为所述新匹配域字段。
2、 根据权利要求 1所述的流表修改方法, 其特征在于, 所述待修改目标 信息为流表关联值;
所述交换机在与所述流表标识相对应的流表中,查找是否存在与所述待 修改目标信息匹配的流表项, 包括:
所述交换机在所述流表中,判断当前查找到的流表项中的流表关联值与 接收到的流表关联值是否匹配;
如果当前查找到的流表项中的流表关联值与接收到的流表关联值相匹 配, 将所述当前查找到的流表项确定为所述匹配的流表项。
3、 根据权利要求 1所述的流表修改方法, 其特征在于, 所述待修改目标 信息为旧匹配域字段;
所述交换机在与所述流表标识相对应的流表中,查找是否存在与所述待 修改目标信息匹配的流表项, 包括:
所述交换机在所述流表中,判断当前查找到的流表项中的匹配域字段与 所述旧匹配域字段是否匹配;
如果当前查找到的流表项中的匹配域字段与所述旧匹配域字段相匹配, 将所述当前查找到的流表项确定为所述匹配的流表项。
4、 根据权利要求 1至 3中任意一项所述的流表修改方法, 其特征在于, 在不存在与所述待修改目标信息匹配的流表项的情况下,所述交换机向 权 利 要 求 书
所述控制器发送错误指示, 所述错误指示用于通知所述控制器流表修改失
5、 一种流表修改方法, 其特征在于, 包括:
控制器向交换机发送更新流表表项消息,所述更新流表表项消息中包括 流表标识、操作类型、待修改目标信息和新匹配域字段, 所述更新流表表项 消息用于指示所述交换机在与所述流表标识相对应的流表中,查找与所述待 修改目标信息匹配的流表项,并将所述匹配的流表项的匹配域字段修改为所 述新匹配域字段。
6、 根据权利要求 5所述的流表修改方法, 其特征在于, 所述待修改目标 信息为流表关联值或旧匹配域字段。
7、 根据权利要求 5或 6所述的流表修改方法, 其特征在于,
所述控制器接收所述交换机发送的错误指示,所述错误指示用于通知所 述控制器流表修改失败。
8、 一种流表修改装置, 其特征在于, 包括:
接收模块,用于接收控制器发送的更新流表表项消息,所述更新流表表 项消息包括流表标识、 操作类型、 待修改目标信息和新匹配域字段;
查找模块, 与所述接收模块连接,用于在与所述流表标识相对应的流表 中,查找是否存在与所述接收模块接收到的所述待修改目标信息匹配的流表 项;
修改模块, 与所述查找模块连接,用于在所述查找模块查找到存在与所 述待修改目标信息匹配的流表项的情况下,将所述匹配的流表项的匹配域字 段修改为所述新匹配域字段。
9、 根据权利要求 8所述的流表修改装置, 其特征在于, 所述待修改目标 信息为流表关联值; 所述查找模块被配置为:
在所述流表中,判断当前查找到的流表项中的流表关联值与所述接收模 权 利 要 求 书
块接收到的流表关联值是否匹配;
如果判定当前查找到的流表项中的流表关联值与所述接收模块接收到 的流表关联值相匹配, 将所述当前查找到的流表项确定为所述匹配的流表 项。
10、 根据权利要求 8所述的流表修改装置, 其特征在于, 所述待修改目 标信息为旧匹配域字段; 所述查找模块被配置为:
在所述流表中,判断当前查找到的流表项中的匹配域字段与所述接收模 块接收到的所述旧匹配域字段是否匹配;
如果判定当前查找到的流表项中的匹配域字段与所述接收模块接收到 的所述旧匹配域字段相匹配,将所述当前查找到的流表项确定为所述匹配的 流表项。
11、根据权利要求 8至 10中任意一项所述的流表修改装置, 其特征在于, 所述流表修改装置还包括:
发送模块, 与所述查找模块连接,用于在所述查找模块查找到不存在与 所述待修改目标信息匹配的流表项的情况下, 向所述控制器发送错误指示, 所述错误指示用于通知所述控制器流表修改失败。
12、 一种流表修改装置, 其特征在于, 包括:
发送模块,用于向交换机发送更新流表表项消息,所述更新流表表项消 息中包括流表标识、操作类型、待修改目标信息和新匹配域字段, 所述更新 流表表项消息用于指示所述交换机在与所述流表标识相对应的流表中,查找 与所述待修改目标信息匹配的流表项,并将所述匹配的流表项的匹配域字段 修改为所述新匹配域字段。
13、根据权利要求 12所述的流表修改装置, 其特征在于, 所述待修改目 标信息为流表关联值或旧匹配域字段。
14、根据权利要求 12或 13所述的流表修改装置, 其特征在于, 所述流表 权 利 要 求 书
修改装置还包括:
接收模块,用于接收所述交换机发送的错误指示,所述错误指示用于通 知所述流表修改装置流表修改失败。
15、 一种开放流网络系统, 其特征在于, 包括: 交换机和控制器; 所述交换机采用权利要求 8至 11中任意一项所述的流表修改装置; 所述控制器采用权利要求 12至 14中任意一项所述的流表修改装置。
PCT/CN2014/071264 2014-01-23 2014-01-23 流表修改方法、流表修改装置和开放流网络系统 WO2015109497A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
PCT/CN2014/071264 WO2015109497A1 (zh) 2014-01-23 2014-01-23 流表修改方法、流表修改装置和开放流网络系统
RU2016132459A RU2652442C2 (ru) 2014-01-23 2014-01-23 Способ модификации таблицы потоков, устройство модификации таблицы потоков и сетевая система открытых потоков
CN201480000160.4A CN105247831B (zh) 2014-01-23 2014-01-23 流表修改方法、流表修改装置和开放流网络系统
US15/218,613 US10284458B2 (en) 2014-01-23 2016-07-25 Flow table modifying method, flow table modifying apparatus, and openflow network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/071264 WO2015109497A1 (zh) 2014-01-23 2014-01-23 流表修改方法、流表修改装置和开放流网络系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/218,613 Continuation US10284458B2 (en) 2014-01-23 2016-07-25 Flow table modifying method, flow table modifying apparatus, and openflow network system

Publications (1)

Publication Number Publication Date
WO2015109497A1 true WO2015109497A1 (zh) 2015-07-30

Family

ID=53680608

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/071264 WO2015109497A1 (zh) 2014-01-23 2014-01-23 流表修改方法、流表修改装置和开放流网络系统

Country Status (4)

Country Link
US (1) US10284458B2 (zh)
CN (1) CN105247831B (zh)
RU (1) RU2652442C2 (zh)
WO (1) WO2015109497A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017020173A1 (zh) * 2015-07-31 2017-02-09 华为技术有限公司 一种流表同步的实现方法及转发设备

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170006082A1 (en) * 2014-06-03 2017-01-05 Nimit Shishodia Software Defined Networking (SDN) Orchestration by Abstraction
US9692689B2 (en) * 2014-08-27 2017-06-27 International Business Machines Corporation Reporting static flows to a switch controller in a software-defined network (SDN)
CN106713132B (zh) * 2016-11-23 2020-02-14 华为技术有限公司 用于更新转发表项的方法和装置
CN106656822A (zh) * 2017-02-13 2017-05-10 北京邮电大学 一种软件定义网络流表更新的方法及装置
CN110945837B (zh) * 2017-06-01 2022-11-01 瑞典爱立信有限公司 优化sdn中的服务节点监视
JP2020005051A (ja) * 2018-06-26 2020-01-09 富士通株式会社 制御プログラム、制御装置、及び制御方法
CN111404810B (zh) * 2019-01-02 2022-11-15 中国移动通信有限公司研究院 openflow流表恢复方法、装置、电子设备及介质
US10778574B2 (en) * 2019-01-08 2020-09-15 Dell Products, L.P. Smart network interface peripheral cards
CN110297833A (zh) * 2019-07-05 2019-10-01 税安科技(杭州)有限公司 一种业务报表纠错方法
CN113242215B (zh) * 2021-04-21 2022-05-24 华南理工大学 一种针对sdn指纹攻击的防御方法、系统、装置及介质
CN115225503B (zh) * 2022-05-16 2023-07-04 北京邮电大学 OpenFlow流表项动态超时分配方法及相关设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101325597A (zh) * 2008-07-30 2008-12-17 北京星网锐捷网络技术有限公司 一种数据处理的方法、装置及系统
CN102859952A (zh) * 2010-04-19 2013-01-02 日本电气株式会社 交换机和流表控制方法
US20130163427A1 (en) * 2011-12-22 2013-06-27 Ludovic Beliveau System for flexible and extensible flow processing in software-defined networks
CN103326943A (zh) * 2012-03-23 2013-09-25 日电(中国)有限公司 数据流重路由方法和控制器
CN103384223A (zh) * 2013-07-23 2013-11-06 迈普通信技术股份有限公司 一种流表项更新方法及设备
CN103500191A (zh) * 2013-09-17 2014-01-08 华为技术有限公司 一种流表配置、查询、表项删除方法及装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4774357B2 (ja) * 2006-05-18 2011-09-14 アラクサラネットワークス株式会社 統計情報収集システム及び統計情報収集装置
JP5621778B2 (ja) * 2009-09-25 2014-11-12 日本電気株式会社 コンテンツベーススイッチシステム、及びコンテンツベーススイッチ方法
JP5672235B2 (ja) * 2009-10-19 2015-02-18 日本電気株式会社 通信システム、フロー制御装置、フローテーブルの更新方法およびプログラム
US8503307B2 (en) * 2010-05-10 2013-08-06 Hewlett-Packard Development Company, L.P. Distributing decision making in a centralized flow routing system
US8897134B2 (en) * 2010-06-25 2014-11-25 Telefonaktiebolaget L M Ericsson (Publ) Notifying a controller of a change to a packet forwarding configuration of a network element over a communication channel

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101325597A (zh) * 2008-07-30 2008-12-17 北京星网锐捷网络技术有限公司 一种数据处理的方法、装置及系统
CN102859952A (zh) * 2010-04-19 2013-01-02 日本电气株式会社 交换机和流表控制方法
US20130163427A1 (en) * 2011-12-22 2013-06-27 Ludovic Beliveau System for flexible and extensible flow processing in software-defined networks
CN103326943A (zh) * 2012-03-23 2013-09-25 日电(中国)有限公司 数据流重路由方法和控制器
CN103384223A (zh) * 2013-07-23 2013-11-06 迈普通信技术股份有限公司 一种流表项更新方法及设备
CN103500191A (zh) * 2013-09-17 2014-01-08 华为技术有限公司 一种流表配置、查询、表项删除方法及装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017020173A1 (zh) * 2015-07-31 2017-02-09 华为技术有限公司 一种流表同步的实现方法及转发设备
CN107534612A (zh) * 2015-07-31 2018-01-02 华为技术有限公司 一种流表同步的实现方法及转发设备
CN107534612B (zh) * 2015-07-31 2020-07-10 深圳市宇轩网络技术有限公司 一种流表同步的实现方法及转发设备

Also Published As

Publication number Publication date
RU2016132459A (ru) 2018-02-08
CN105247831B (zh) 2018-10-30
CN105247831A (zh) 2016-01-13
US10284458B2 (en) 2019-05-07
US20160337228A1 (en) 2016-11-17
RU2652442C2 (ru) 2018-04-26

Similar Documents

Publication Publication Date Title
WO2015109497A1 (zh) 流表修改方法、流表修改装置和开放流网络系统
US11362938B2 (en) Packet sending method, router, and service switching entity
WO2019057199A1 (zh) 一种报文转发的方法及网络设备
EP2904745B1 (en) Method and apparatus for accelerating forwarding in software-defined networks
JP6053003B2 (ja) 伝送システム、伝送装置、及び伝送方法
WO2015131486A1 (zh) 一种组播报文的转发方法及装置
WO2013059991A1 (zh) 数据报文处理方法和系统、报文转发设备
US20210119906A1 (en) Loop Avoidance Communications Method, Device, and System
JP7430224B2 (ja) パケット処理方法およびゲートウェイ・デバイス
WO2016029345A1 (zh) 网络流的信息统计方法和装置
JP2014027443A (ja) 制御装置、通信システム、通信方法及びプログラム
JP6299745B2 (ja) 通信システム、制御装置、通信方法及びプログラム
WO2019196914A1 (zh) 一种发现转发路径的方法及其相关设备
US9749262B2 (en) Packet processing method and forwarding element
US11281453B1 (en) Methods and systems for a hitless rollback mechanism during software upgrade of a network appliance
WO2015081735A1 (zh) 流量卸载的方法、装置及系统
WO2015149367A1 (zh) 报文处理的方法与设备
WO2013107056A1 (zh) 报文转发的方法及装置
WO2017219868A1 (zh) Arp条目的处理方法及装置
WO2013023509A1 (zh) 一种报文收发方法、装置和系统
US20160352637A1 (en) Client-based port filter table
WO2012079405A2 (zh) 链路的跟踪处理方法及系统
US20150381775A1 (en) Communication system, communication method, control apparatus, control apparatus control method, and program
WO2014180363A1 (zh) OpenFlow信令控制方法及装置
JP2016178530A (ja) 通信システム、通信端末、通信方法、プログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14880103

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2016132459

Country of ref document: RU

Kind code of ref document: A

122 Ep: pct application non-entry in european phase

Ref document number: 14880103

Country of ref document: EP

Kind code of ref document: A1