WO2019085651A1 - 软件定义网络的设置方法、控制器、交换机及存储介质 - Google Patents

软件定义网络的设置方法、控制器、交换机及存储介质 Download PDF

Info

Publication number
WO2019085651A1
WO2019085651A1 PCT/CN2018/105309 CN2018105309W WO2019085651A1 WO 2019085651 A1 WO2019085651 A1 WO 2019085651A1 CN 2018105309 W CN2018105309 W CN 2018105309W WO 2019085651 A1 WO2019085651 A1 WO 2019085651A1
Authority
WO
WIPO (PCT)
Prior art keywords
switch
controller
forwarding
update time
sent
Prior art date
Application number
PCT/CN2018/105309
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 EP18872008.0A priority Critical patent/EP3678340A4/en
Publication of WO2019085651A1 publication Critical patent/WO2019085651A1/zh

Links

Images

Classifications

    • 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/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • 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/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process
    • 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/34Signalling channels for network management communication
    • H04L41/342Signalling channels for network management communication between virtual entities, e.g. orchestrators, SDN or NFV entities
    • 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/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • 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

Definitions

  • the present invention relates to, but is not limited to, the field of communication technologies, and in particular, to a method, a controller, a switch, and a storage medium for a Software Defined Network (SDN).
  • SDN Software Defined Network
  • SDN is a new type of network architecture. SDN separates the control plane and data forwarding plane of the network. In the SDN network, there is a controller (or a cluster of controllers) that collects information about the topology and traffic of the entire network, calculates the traffic forwarding path, and then forwards the forwarding entry to the switch through the OpenFlow protocol. Publish items to perform data forwarding.
  • the embodiment of the present invention is to provide a method for setting an SDN, a controller, a switch, and a storage medium, which overcomes the defect of the data forwarding interruption of the switch caused by the interruption of the connection between the controller and the switch in the SDN in the related art.
  • the embodiment of the invention provides a method for setting an SDN, which is applied to a controller, and the method includes:
  • the setting message carrying the update time is sent to the switch;
  • the switch When the connection is established again with the switch, the first forwarding entry is sent to the switch. And the switch, according to the update time, updates the pre-stored second forwarding entry according to the first forwarding entry.
  • the setting message carrying the update time is sent to the switch, including:
  • the embodiment of the invention further provides a method for setting an SDN, which is applied to a switch, and the method includes:
  • the second forwarding entry is updated according to the received first forwarding entry sent by the controller, based on the update time.
  • the method further includes:
  • the first forwarding entry includes: a first flow table and a first measurement rate limit table; and the second forwarding entry includes: a second flow table and a second measurement rate limit table;
  • the flow table that is not updated in the second flow table and the measurement speed limit table that is not updated in the second measurement speed limit table are deleted.
  • the first forwarding entry includes: a first group of tables; and the second forwarding entry includes: a second group of tables;
  • An embodiment of the present invention further provides a controller, where the controller includes a processor and a memory;
  • the processor is configured to execute a setup procedure of an SDN stored in the memory to implement the following steps:
  • the setting message carrying the update time is sent to the switch;
  • the switch When the connection is established again with the switch, the first forwarding entry is sent to the switch. And the switch, according to the update time, updates the pre-stored second forwarding entry according to the first forwarding entry.
  • the setting message carrying the update time is sent to the switch, including:
  • An embodiment of the present invention further provides a switch, where the controller includes a processor and a memory;
  • the processor is configured to execute a setup procedure of an SDN stored in the memory to implement the following steps:
  • the second forwarding entry is updated according to the received first forwarding entry sent by the controller, based on the update time.
  • the one or more programs may be executed by the one or more processors to implement the following steps:
  • the first forwarding entry includes: a first flow table and a first measurement rate limit table; and the second forwarding entry includes: a second flow table and a second measurement rate limit table;
  • the flow table that is not updated in the second flow table and the measurement speed limit table that is not updated in the second measurement speed limit table are deleted.
  • the first forwarding entry includes: a first group of tables; and the second forwarding entry includes: a second group of tables;
  • the embodiment of the present invention further provides a storage medium, where the storage medium stores one or more programs, and the one or more programs may be executed by one or more processors to implement the steps of the foregoing SDN setting method. .
  • the embodiment of the present invention has at least the following advantages:
  • the setting method, the controller, the switch, and the storage medium of the SDN provided by the embodiment of the present invention enable the switch to forward data based on the pre-stored forwarding entry when the controller is disconnected from the switch in the SDN network.
  • the switch stops data forwarding due to the disconnection between the controller and the switch, which effectively improves the forwarding efficiency of the switch in the SDN network and reduces the failure rate of the SDN network.
  • FIG. 1 is a schematic structural diagram of a SDN network in a related art
  • FIG. 2 is a flowchart of a method for setting an SDN according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for setting an SDN according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a method for setting an SDN according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of a method for setting an SDN according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of a method for a switch to update a flow table according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of a controller according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a switch according to an embodiment of the present invention.
  • switches and controllers that support the OpenFlow protocol are included.
  • the switch and the controller establish a connection based on the OpenFlow protocol through the secure channel, and match and forward the packets received by the switch through the flow table, the metering rate limit table, and the group table.
  • the switch determines the forwarding of data based on the forwarding entries sent by the controller, including the multi-level flow table, the metering rate limit table, and the group table.
  • An embodiment of the present invention provides a method for setting an SDN, which is applied to a controller. As shown in FIG. 2, the method includes:
  • Step S101 When it is detected that the connection with the switch is interrupted, and the re-establishment connection request sent by the switch is received, the setting message carrying the update time is sent to the switch.
  • the reason for the interruption of the connection between the controller and the switch includes at least one of the following: a controller failure, a controller restart, and a switch flashing in a large-scale SDN.
  • the update time is not specifically limited, and may be the best update time of the second entry set according to the engineering experience, or may be the best update time of the second entry obtained according to the limited experiment, or It is the best update time of the second entry based on a limited number of computer simulations.
  • Step S102 When the connection is established again with the switch, the first forwarding entry is sent to the switch, so that the switch updates the pre-stored second forwarding entry according to the first forwarding entry based on the update time.
  • the first forwarding entry is sent to the switch, so that the switch updates the pre-stored second forwarding entry according to the first forwarding entry, based on the update time, and can effectively interact with the controller.
  • the forwarding entry in the switch that establishes the connection after disconnection is quickly updated, which greatly improves the data forwarding accuracy of the SDN.
  • the method for setting the SDN provided by the embodiment of the present invention can effectively update the forwarding entries in the switch that is connected to the controller after the disconnection with the controller, thereby greatly improving the data forwarding accuracy of the SDN.
  • An embodiment of the present invention provides a method for setting an SDN, which is applied to a controller. As shown in FIG. 3, the method includes:
  • step S201 when it is detected that the connection with the switch is interrupted, and the re-establishment connection request sent by the switch is received, it is determined whether the information of the hold forwarding capability sent by the switch is received.
  • the reason for the interruption of the connection between the controller and the switch includes at least one of the following: a controller failure, a controller restart, and a switch flashing in a large-scale SDN.
  • step S202 if the information about the forwarding capability sent by the switch is received, the setting message carrying the new time is sent to the switch.
  • the update time is not specifically limited, and may be the best update time of the second entry set according to the engineering experience, or may be the best update time of the second entry obtained according to the limited experiment, or It is the best update time of the second entry based on a limited number of computer simulations.
  • the switch sends the information of the forwarding capability to the controller to notify the controller that the switch can forward the data according to the pre-stored second forwarding entry.
  • step S203 when the connection is established again with the switch, the first forwarding entry is sent to the switch, so that the switch updates the pre-stored second forwarding entry according to the first forwarding entry based on the update time.
  • the first forwarding entry is sent to the switch, so that the switch updates the pre-stored second forwarding entry according to the first forwarding entry, based on the update time, and can effectively interact with the controller.
  • the forwarding entry in the switch that establishes the connection after disconnection is quickly updated, which greatly improves the data forwarding accuracy of the SDN.
  • the setting method of the SDN provided by the embodiment of the invention can effectively update the forwarding entries in the switch that is connected to the controller after the disconnection, and the data forwarding accuracy of the SDN is greatly improved.
  • An embodiment of the present invention provides a method for setting an SDN, which is applied to a switch. As shown in FIG. 4, the method includes:
  • Step S301 when it is detected that the connection with the controller is interrupted, data forwarding is performed based on the pre-stored second forwarding entry.
  • the reason for the interruption of the connection between the controller and the switch includes at least one of the following: a controller failure, a controller restart, and a switch flashing in a large-scale SDN.
  • the pre-stored second forwarding entry is sent to the second forwarding entry of the switch before the connection between the switch and the controller is interrupted.
  • the switch forwards the data based on the pre-stored second forwarding entry, which avoids the switch from being disconnected due to the disconnection between the controller and the switch. This effectively improves the forwarding efficiency of the switch in the SDN network and reduces the failure rate of the SDN network.
  • step S302 after the connection request is re-established to the control, the setting message carrying the update time sent by the controller is received.
  • step S303 when the connection is established again with the switch, the second forwarding entry is updated according to the first forwarding entry sent by the received controller based on the update time.
  • step S303 includes:
  • the forwarding entries that are not updated in the second forwarding entry are deleted.
  • the switch updates the pre-stored second forwarding entry according to the first forwarding entry, which can effectively update the forwarding entries in the switch that is connected to the controller after the disconnection, and greatly improve the forwarding entry.
  • the data forwarding accuracy of SDN is the reason for the update time.
  • the setting method of the SDN realizes that when the controller is disconnected from the switch in the SDN network, the switch forwards the data based on the pre-stored forwarding entry, thereby avoiding disconnection between the controller and the switch.
  • the switch causes the data to be forwarded, effectively improving the forwarding efficiency of the switch in the SDN network, reducing the failure rate of the SDN network, and effectively forwarding the forwarding entries in the switch that is connected to the controller after the disconnection.
  • the update greatly improves the data forwarding accuracy of SDN.
  • An embodiment of the present invention provides a method for setting an SDN, which is applied to a switch. As shown in FIG. 4, the method includes:
  • Step S301 when it is detected that the connection with the controller is interrupted, data forwarding is performed based on the pre-stored second forwarding entry.
  • the reason for the interruption of the connection between the controller and the switch includes at least one of the following: a controller failure, a controller restart, and a switch flashing in a large-scale SDN.
  • the pre-stored second forwarding entry is sent to the second forwarding entry of the switch before the connection between the switch and the controller is interrupted.
  • the switch forwards the data based on the pre-stored second forwarding entry, which avoids the switch from being disconnected due to the disconnection between the controller and the switch. This effectively improves the forwarding efficiency of the switch in the SDN network and reduces the failure rate of the SDN network.
  • step S302 after the connection request is re-established to the control, the setting message carrying the update time sent by the controller is received.
  • step S302 includes:
  • the information about the forwarding capability is sent to the controller, so that the controller sends the setting packet carrying the update time to the switch based on the information that maintains the forwarding capability;
  • the setting message sent by the controller and carrying the update time is received.
  • the switch sends the information of the forwarding capability to the controller to notify the controller that the switch can forward the data according to the pre-stored second forwarding entry.
  • step S303 when the connection is established again with the switch, the second forwarding entry is updated according to the first forwarding entry sent by the received controller based on the update time.
  • step S303 includes:
  • the first forwarding entry includes: a first flow table and a first metering rate limit table; and the second forwarding table includes: a second flow table and a second metering speed limit table;
  • the flow table that is not updated in the second flow table is deleted, and the measurement rate limit table that is not updated in the second measurement rate limit table is deleted.
  • step S303 includes:
  • the first forwarding entry includes: a first group of tables; and the second forwarding entry includes: a second group of tables;
  • All group tables in the second set of tables are deleted during the update time from the receipt of the set message, and all the group tables in the first set of tables are stored to the second set of tables.
  • step S303 includes:
  • the first forwarding entry includes: a first flow table, a first metering rate limit table, and a first group of tables; and the second forwarding table includes: a second flow table, a second metering rate limit table, and a second group table;
  • the flow table that is not updated in the second flow table is deleted, and the measurement rate limit table that is not updated in the second measurement rate limit table is deleted.
  • the switch updates the pre-stored second forwarding entry according to the first forwarding entry, which can effectively update the forwarding entries in the switch that is connected to the controller after the disconnection, and greatly improve the forwarding entry.
  • the data forwarding accuracy of SDN is the reason for the update time.
  • the setting method of the SDN realizes that when the controller is disconnected from the switch in the SDN network, the switch forwards the data based on the pre-stored forwarding entry, thereby avoiding disconnection between the controller and the switch.
  • the switch causes the data to be forwarded, effectively improving the forwarding efficiency of the switch in the SDN network, reducing the failure rate of the SDN network, and effectively forwarding the forwarding entries in the switch that is connected to the controller after the disconnection.
  • the update greatly improves the data forwarding accuracy of SDN.
  • Step S501 the switch sends an OFPT_FEATRUE_REPLY message to the controller.
  • the switch when the switch detects that the connection with the controller is interrupted, the switch initiates an application for establishing a connection with the controller again; the switch performs data forwarding based on the second forwarding entry pre-stored in the switch; the switch sends the bearer to the controller to carry the hold forwarding capability.
  • the OFPT_FEATRUE_REPLY message of the message when the switch detects that the connection with the controller is interrupted, the switch initiates an application for establishing a connection with the controller again; the switch performs data forwarding based on the second forwarding entry pre-stored in the switch; the switch sends the bearer to the controller to carry the hold forwarding capability.
  • the setting manner of the OFPT_FEATRUE_REPLY packet carrying the information of the forwarding capability including but not limited to:
  • the reason for causing the connection between the controller and the switch to be interrupted includes at least one of the following:
  • the controller has a major failure, it is necessary to restart the SDN network cluster recovery; and when the number of switches in the large-scale SDN network is large, the OpenFlow connection between the switch and the controller is interrupted due to the instability of the management network.
  • Step S502 the controller sends an OFPT_EXPERIMENT message to the switch.
  • the controller When the controller receives the information of the forwarding capability carried in the OFPT_FEATRUE_REPLY packet, the controller is prohibited from sending a deletion instruction of the second forwarding entry to the switch; the controller sends an OFPT_EXPERIMENT packet carrying the update time to the switch.
  • the controller detects, in the OFPT_FEATRUE_REPLY packet, whether the information carrying the forwarding capability is carried, including but not limited to:
  • the OFPT_FEATRUE_REPLY message carries the information of the forwarding capability; if the highest bit in the capacatity field in the OFPT_FEATRUE_REPLY message is 0, the OFPT_FEATRUE_REPLY message is not carried. Information about forwarding capabilities.
  • the setting manner of the OFPT_EXPERIMENT packet carrying the update time includes but is not limited to:
  • the body field in the OFPT_EXPERIMENT message is set to the update time.
  • the update time is not specifically limited, and may be the best update time of the second entry set according to the engineering experience, or may be the best update time of the second entry obtained according to the limited experiment, or It is the best update time of the second entry based on a limited number of computer simulations.
  • Step S503 the switch starts timing according to the update time
  • the switch When the switch receives the OFPT_EXPERIMENT packet carrying the update time, the switch sets all the second forwarding entries with an aging flag; and starts timing according to the update time.
  • Step S504 the controller sends a first forwarding entry to the switch.
  • the controller When the switch establishes a connection with the controller again, the controller sends a first forwarding entry to the switch.
  • Step S505 The switch updates the second forwarding entry by using the first forwarding entry.
  • the switch receives the first forwarding entry.
  • the switch updates the second forwarding entry by using the first forwarding entry to obtain the third forwarding entry.
  • the manner in which the switch updates the second forwarding entry by using the first forwarding entry in the update time from the start of the timing includes:
  • the first forwarding entry includes: a first flow table, a first metering rate limit table, and a first group of tables;
  • the second forwarding table includes: a second flow table, a second metering rate limit table, and a second group table ;
  • the flow table that is not updated in the second flow table is deleted, and the fourth flow table is obtained; and the un-updated rate limit table in the second measurement rate limit table is deleted, and the fourth flow table is obtained.
  • the third forwarding entry includes: a fourth flow table, a fourth flow table, and a first group table.
  • the switch performs data forwarding according to the second flow table sent by the controller.
  • the switch When the switch detects that the connection with the controller is disconnected, the switch initiates an application to establish a connection with the controller again, and the switch maintains the second flow table for data forwarding.
  • Step S506 the switch performs data forwarding according to the third forwarding entry.
  • the setting method of the SDN realizes that when the controller is disconnected from the switch in the SDN network, the switch forwards the data based on the pre-stored forwarding entry, thereby avoiding disconnection between the controller and the switch.
  • the switch stops data forwarding, which effectively improves the forwarding efficiency of the switch in the SDN network and reduces the failure rate of the SDN network. It can effectively update the forwarding entries in the switch that is connected to the controller after the disconnection. Greatly improved the data forwarding accuracy of SDN.
  • An embodiment of the present invention provides a controller, which is disposed in an SDN network. As shown in FIG. 7, the controller includes the following components:
  • processor 601 and memory 602. can be connected by a bus or other means.
  • the processor 601 may be a general-purpose processor, such as a central processing unit (CPU), or may be a digital signal processor (DSP) or an application specific integrated circuit (ASIC). Or one or more integrated circuits configured to implement embodiments of the present invention.
  • the memory 602 is configured to store executable instructions of the processor 601;
  • the memory 602 is configured to store the program code and transmit the program code to the processor 601.
  • the memory 602 may include a volatile memory (Volatile Memory), such as a random access memory (RAM); the memory 602 may also include a non-volatile memory (Non-Volatile Memory), such as a read-only memory (Read- Only Memory, ROM), Flash Memory, Hard Disk Drive (HDD), or Solid-State Drive (SSD); the memory 602 may also include a combination of the above types of memories.
  • the processor 601 is configured to invoke the program code management code stored in the memory 602, and performs the following operations:
  • the reason for the interruption of the connection between the controller and the switch includes at least one of the following: a controller failure, a controller restart, and a switch flashing in a large-scale SDN.
  • the update time is not specifically limited, and may be the best update time of the second entry set according to the engineering experience, or may be the best update time of the second entry obtained according to the limited experiment, or It is the best update time of the second entry based on a limited number of computer simulations.
  • the first forwarding entry is sent to the switch, so that the switch updates the pre-stored second forwarding entry according to the first forwarding entry, based on the update time, and can effectively interact with the controller.
  • the forwarding entry in the switch that establishes the connection after disconnection is quickly updated, which greatly improves the data forwarding accuracy of the SDN.
  • the controller provided by the embodiment of the present invention can quickly update the forwarding entries in the switch that is connected to the controller after the disconnection, and greatly improves the data forwarding accuracy of the SDN.
  • An embodiment of the present invention provides a controller, which is disposed in an SDN network. As shown in FIG. 7, the controller includes the following components:
  • processor 601 and memory 602. can be connected by a bus or other means.
  • Processor 601 can be a general purpose processor, such as a CPU, and can also be a DSP, an ASIC, or one or more integrated circuits configured to implement embodiments of the present invention.
  • the memory 602 is configured to store executable instructions of the processor 601.
  • the memory 602 is configured to store the program code and transmit the program code to the processor 601.
  • Memory 602 can include volatile memory, such as RAM; memory 602 can also include non-volatile memory, such as ROM, flash memory, HDD, or SSD; memory 602 can also include a combination of the types of memory described above.
  • the processor 601 is configured to invoke the program code management code stored in the memory 602, and performs the following operations:
  • the reason for the interruption of the connection between the controller and the switch includes at least one of the following: a controller failure, a controller restart, and a switch flashing in a large-scale SDN.
  • the update time is not specifically limited, and may be the best update time of the second entry set according to the engineering experience, or may be the best update time of the second entry obtained according to the limited experiment, or It is the best update time of the second entry based on a limited number of computer simulations.
  • the switch sends the information of the forwarding capability to the controller to notify the controller that the switch can forward the data according to the pre-stored second forwarding entry.
  • the first forwarding entry is sent to the switch, so that the switch updates the pre-stored second forwarding entry according to the first forwarding entry, based on the update time, and can effectively interact with the controller.
  • the forwarding entry in the switch that establishes the connection after disconnection is quickly updated, which greatly improves the data forwarding accuracy of the SDN.
  • the controller provided by the embodiment of the present invention can quickly update the forwarding entries in the switch that is connected to the controller after the disconnection, and greatly improves the data forwarding accuracy of the SDN.
  • the embodiment of the present invention further provides a switch, which is disposed in an SDN network.
  • the switch includes the following components:
  • processor 801 and memory 802 can be connected by a bus or other means.
  • Processor 801 can be a general purpose processor, such as a CPU, and can also be a DSP, an ASIC, or one or more integrated circuits configured to implement embodiments of the present invention.
  • the memory 802 is configured to store executable instructions of the processor 801;
  • the memory 802 is configured to store program code and transmit the program code to the processor 801.
  • Memory 802 can include volatile memory, such as RAM; memory 802 can also include non-volatile memory, such as ROM, flash memory, HDD, or SSD; memory 802 can also include a combination of the above-described types of memory.
  • the processor 801 is configured to invoke the program code management code stored by the memory 802, and performs the following operations:
  • the reason for the interruption of the connection between the controller and the switch includes at least one of the following: a controller failure, a controller restart, and a switch flashing in a large-scale SDN.
  • the pre-stored second forwarding entry is sent to the second forwarding entry of the switch before the connection between the switch and the controller is interrupted.
  • the switch forwards the data based on the pre-stored second forwarding entry, which avoids the switch from being disconnected due to the disconnection between the controller and the switch. This effectively improves the forwarding efficiency of the switch in the SDN network and reduces the failure rate of the SDN network.
  • the receiving controller After transmitting the connection establishment request to the control, the receiving controller sends the setting message carrying the update time.
  • the second forwarding entry is updated according to the first forwarding entry sent by the received controller based on the update time.
  • the manner of updating the second forwarding entry according to the first forwarding entry sent by the received controller based on the update time includes:
  • the forwarding entries that are not updated in the second forwarding entry are deleted.
  • the switch updates the pre-stored second forwarding entry according to the first forwarding entry, which can effectively update the forwarding entries in the switch that is connected to the controller after the disconnection, and greatly improve the forwarding entry.
  • the data forwarding accuracy of SDN is the reason for the update time.
  • the switch provided by the embodiment of the present invention realizes that when the controller is disconnected from the switch in the SDN network, the switch forwards data based on the pre-stored forwarding entry, thereby avoiding disconnection between the controller and the switch.
  • the switch stops the data forwarding, which effectively improves the forwarding efficiency of the switch in the SDN network and reduces the failure rate of the SDN network. It can effectively update the forwarding entries in the switch that is connected to the controller after the disconnection. Greatly improved the data forwarding accuracy of SDN.
  • An embodiment of the present invention provides a switch, which is disposed in an SDN network. As shown in FIG. 8, the switch includes the following components:
  • processor 801 and memory 802. may be connected by a bus or other means.
  • Processor 801 can be a general purpose processor, such as a CPU, can also be a DSP, an ASIC, or one or more integrated circuits configured to implement embodiments of the present invention.
  • the memory 802 is configured to store executable instructions of the processor 801;
  • the memory 802 is configured to store program code and transmit the program code to the processor 801.
  • Memory 802 can include volatile memory, such as RAM; memory 802 can also include non-volatile memory, such as ROM, flash memory, HDD, or SSD; memory 802 can also include a combination of the above-described types of memory.
  • the processor 801 is configured to invoke the program code management code stored by the memory 802, and performs the following operations:
  • the reason for the interruption of the connection between the controller and the switch includes at least one of the following: a controller failure, a controller restart, and a switch flashing in a large-scale SDN.
  • the pre-stored second forwarding entry is sent to the second forwarding entry of the switch before the connection between the switch and the controller is interrupted.
  • the switch forwards the data based on the pre-stored second forwarding entry, which avoids the switch from being disconnected due to the disconnection between the controller and the switch. This effectively improves the forwarding efficiency of the switch in the SDN network and reduces the failure rate of the SDN network.
  • the receiving controller After transmitting the connection establishment request to the control, the receiving controller sends the setting message carrying the update time.
  • the manner of receiving the setting message carrying the update time sent by the controller includes:
  • the information about the forwarding capability is sent to the controller, so that the controller sends the setting packet carrying the update time to the switch based on the information that maintains the forwarding capability;
  • the setting message sent by the controller and carrying the update time is received.
  • the switch sends the information of maintaining the forwarding capability to the controller to notify the controller that the switch can perform data forwarding according to the pre-stored second forwarding entry.
  • the second forwarding entry is updated according to the first forwarding entry sent by the received controller based on the update time.
  • the manner of updating the second forwarding entry according to the first forwarding entry sent by the received controller based on the update time includes:
  • the first forwarding entry includes: a first flow table and a first metering rate limit table; and the second forwarding table includes: a second flow table and a second metering speed limit table;
  • the flow table that is not updated in the second flow table is deleted, and the measurement rate limit table that is not updated in the second measurement rate limit table is deleted.
  • the manner of updating the second forwarding entry according to the first forwarding entry sent by the received controller based on the update time includes:
  • the first forwarding entry includes: a first group of tables; and the second forwarding entry includes: a second group of tables;
  • All group tables in the second set of tables are deleted during the update time from the receipt of the set message, and all the group tables in the first set of tables are stored to the second set of tables.
  • the manner of updating the second forwarding entry according to the first forwarding entry sent by the received controller based on the update time includes:
  • the first forwarding entry includes: a first flow table, a first metering rate limit table, and a first group of tables; and the second forwarding table includes: a second flow table, a second metering rate limit table, and a second group table;
  • the flow table that is not updated in the second flow table is deleted, and the measurement rate limit table that is not updated in the second measurement rate limit table is deleted.
  • the switch updates the pre-stored second forwarding entry according to the first forwarding entry, and can quickly update the forwarding entry in the switch that is connected to the controller again after the disconnection with the controller. Improve the data forwarding accuracy of SDN.
  • the switch provided by the embodiment of the present invention realizes that when the controller is disconnected from the switch in the SDN network, the switch forwards data based on the pre-stored forwarding entry, thereby avoiding disconnection between the controller and the switch.
  • the switch stops the data forwarding, which effectively improves the forwarding efficiency of the switch in the SDN network and reduces the failure rate of the SDN network. It can effectively update the forwarding entries in the switch that is connected to the controller again after being disconnected from the controller. Greatly improved the data forwarding accuracy of SDN.
  • Embodiments of the present invention provide a computer readable storage medium.
  • the computer storage medium can be RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, mobile hard disk, CD-ROM, or any other form of storage medium known in the art.
  • the computer readable storage medium stores one or more programs, which may be executed by one or more processors to implement any one of the first embodiment of the present invention to the fifth embodiment of the present invention. Some or all of the steps.
  • the computer readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors, and the controller is disconnected from the switch in the SDN network.
  • the switch forwards the data based on the pre-stored forwarding entry, which prevents the switch from being disconnected due to the disconnection between the controller and the switch. This effectively improves the forwarding efficiency of the switch in the SDN network and reduces the fault of the SDN network. Rate; can effectively update the forwarding entries in the switch that is disconnected from the controller and establish the connection again, which greatly improves the data forwarding accuracy of the SDN.

Abstract

本发明公开了一种软件定义网络(SDN)的设置方法,包括:当检测到与控制器的连接中断时,基于预存的第二转发表项,进行数据转发;在向所述控制发送再次建立连接申请之后,接收所述控制器发送的携带更新时间的设定报文;当与所述交换机再次建立连接时,基于所述更新时间,根据接收到的所述控制器发送的第一转发表项,更新所述第二转发表项。本发明还公开了一种控制器、交换机及存储介质。

Description

软件定义网络的设置方法、控制器、交换机及存储介质
相关申请的交叉引用
本申请基于申请号为201711049534.3、申请日为2017年10月31日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本发明涉及但不限于通信技术领域,尤其涉及一种软件定义网络(SDN,Software Defined Network)的设置方法、控制器、交换机及存储介质。
背景技术
SDN是一种新型的网络体系结构,SDN将网络的控制平面和数据转发平面分离。在SDN网络中,有一个控制器(或控制器集群),负责收集整个网络的拓扑和流量等信息,计算流量转发路径,然后通过OpenFlow协议将转发表项下发给交换机,以供交换机根据转发表项执行数据转发。
相关技术中,当控制面和转发面发生中断时(例如控制器集群重启和/或大规模网络中交换机出现闪断),导致控制器和OpenFlow交换机之间存在重连的操作。为了保证重连后控制器和OpenFlow交换机上转发表项的一致性,OpenFlow交换机在接入SDN网络时,控制器首先控制OpenFlow交换机清除所有转发表项,然后再重新下发转发表项,导致控制器与OpenFlow交换机重连期间,OpenFlow交换机的数据转发流量会有短暂的中断,特别当网络规模较大的时候,重新下发转发表项耗时较长,中断时间引起的数据转发断流对SDN网络的数据转发造成重大影响。
发明内容
有鉴于此,本发明实施例期望提供一种SDN的设置方法、控制器、交换机及存储介质,克服了相关技术中SDN中由于控制器与交换机连接中断,导致的交换机数据转发中断的缺陷。
本发明实施例提供了一种SDN的设置方法,应用于控制器,所述方法包括:
当检测到与交换机的连接中断,并接收到所述交换机发送的再次建立连接申请时,将携带更新时间的设定报文发送至所述交换机;
当与所述交换机再次建立连接时,向所述交换机发送第一转发表项。以供所述交换机基于所述更新时间,根据所述第一转发表项,更新预存的第二转发表项。
上述方案中,所述当检测到与交换机的连接中断,并接收到所述交换机发送的再次建立连接申请时,将携带更新时间的设定报文发送至所述交换机,包括:
当检测到与交换机的连接中断,并接收到所述交换机发送的再次建立连接申请时,判断是否接收到所述交换机发送的保持转发能力的信息;
在接收到所述交换机发送的保持转发能力的信息的情况下,将所述设定报文发送至所述交换机。
本发明实施例还提供了一种SDN的设置方法,应用于交换机,所述方法包括:
当检测到与控制器的连接中断时,基于预存的第二转发表项,进行数据转发;
在向所述控制发送再次建立连接申请之后,接收所述控制器发送的携带更新时间的设定报文;
当与所述交换机再次建立连接时,基于所述更新时间,根据接收到的 所述控制器发送的第一转发表项,更新所述第二转发表项。
上述方案中,在向所述控制发送再次建立连接申请之后,所述方法还包括:
将保持转发能力的信息发送至所述控制器,以供所述控制器基于所述保持转发能力的信息,向所述交换机发送所述携带更新时间的设定报文。
上述方案中,所述第一转发表项包括:第一流表和第一计量限速表;所述第二转发表项包括:第二流表和第二计量限速表;
所述基于所述更新时间,根据接收到的所述控制器发送的第一转发表项,更新所述第二转发表项,包括:
在从接收到所述设定报文开始的所述更新时间内,通过所述第一流表,更新所述第二流表;并通过所述第一计量限速表,更新所述第二计量限速表;
在所述更新时间之后,删除所述第二流表中未更新的流表,及第二计量限速表中未更新的计量限速表。
上述方案中,所述第一转发表项包括:第一组表;所述第二转发表项包括:第二组表;
所述基于所述更新时间,根据接收到的所述控制器发送的第一转发表项,更新所述第二转发表项,包括:
在从接收到所述设定报文开始的所述更新时间内删除所述第二组表中的所有组表,并将所述第一组表中的所有组表存储至所述第二组表。
本发明实施例还提供一种控制器,所述控制器包括处理器和存储器;
所述处理器,配置为执行存储器中存储的SDN的设置程序,以实现以下步骤:
当检测到与交换机的连接中断,并接收到所述交换机发送的再次建立连接申请时,将携带更新时间的设定报文发送至所述交换机;
当与所述交换机再次建立连接时,向所述交换机发送第一转发表项。以供所述交换机基于所述更新时间,根据所述第一转发表项,更新预存的第二转发表项。
上述方案中,所述当检测到与交换机的连接中断,并接收到所述交换机发送的再次建立连接申请时,将携带更新时间的设定报文发送至所述交换机,包括:
当检测到与交换机的连接中断,并接收到所述交换机发送的再次建立连接申请时,判断是否接收到所述交换机发送的保持转发能力的信息;
在接收到所述交换机发送的保持转发能力的信息的情况下,将所述设定报文发送至所述交换机。
本发明实施例还提供一种交换机,所述控制器包括处理器和存储器;
所述处理器,配置为执行存储器中存储的SDN的设置程序,以实现以下步骤:
当检测到与控制器的连接中断时,基于预存的第二转发表项,进行数据转发;
在向所述控制发送再次建立连接申请之后,接收所述控制器发送的携带更新时间的设定报文;
当与所述交换机再次建立连接时,基于所述更新时间,根据接收到的所述控制器发送的第一转发表项,更新所述第二转发表项。
上述方案中,在向所述控制发送再次建立连接申请之后,所述一个或者多个程序还可被所述一个或者多个处理器执行,以实现以下步骤:
将保持转发能力的信息发送至所述控制器,以供所述控制器基于所述保持转发能力的信息,向所述交换机发送所述携带更新时间的设定报文。
上述方案中,所述第一转发表项包括:第一流表和第一计量限速表;所述第二转发表项包括:第二流表和第二计量限速表;
所述基于所述更新时间,根据接收到的所述控制器发送的第一转发表项,更新所述第二转发表项,包括:
在从接收到所述设定报文开始的所述更新时间内,通过所述第一流表,更新所述第二流表;并通过所述第一计量限速表,更新所述第二计量限速表;
在所述更新时间之后,删除所述第二流表中未更新的流表,及第二计量限速表中未更新的计量限速表。
上述方案中,所述第一转发表项包括:第一组表;所述第二转发表项包括:第二组表;
所述基于所述更新时间,根据接收到的所述控制器发送的第一转发表项,更新所述第二转发表项,包括:
在从接收到所述设定报文开始的所述更新时间内,删除所述第二组表中的所有组表,并将所述第一组表中的所有组表存储至所述第二组表。
本发明实施例还提供一种存储介质,所述存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现上述的SDN的设置方法的步骤。
采用上述技术方案,本发明实施例至少具有下列优点:
应用本发明实施例提供的所述SDN的设置方法、控制器、交换机及存储介质,实现了在SDN网络中控制器与交换机断开的情况下,交换机基于预存的转发表项进行数据转发,避免了由于控制器与交换机的断开,导致的交换机停止数据转发,有效提高了SDN网络中交换机的转发效率,降低了SDN网络的故障率。
附图说明
图1为相关技术中SDN网络的组成结构示意图;
图2为本发明实施例提供的SDN的设置方法流程图;
图3为本发明实施例提供的SDN的设置方法流程图;
图4为本发明实施例提供的SDN的设置方法流程图;
图5为本发明实施例提供的SDN的设置方法流程图;
图6为本发明实施例提供的交换机更新流表的方法流程图;
图7为本发明实施例提供的控制器组成结构示意图;
图8为本发明实施例提供的交换机组成结构示意图。
具体实施方式
以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
在SDN网络中,包括支持OpenFlow协议的交换机和控制器(或控制器集群)。如图1所示,交换机和控制器通过安全通道建立基于OpenFlow协议的连接,通过流表、计量限速表和组表匹配和转发交换机收到的报文。交换机基于控制器下发的转发表项(包括:多级流表、计量限速表和组表)确定数据的转发。
本发明实施例提供一种SDN的设置方法,应用于控制器,如图2所示,该方法包括:
步骤S101,当检测到与交换机的连接中断,并接收到交换机发送的再次建立连接申请时,将携带更新时间的设定报文发送至交换机。
在本实施例中,导致控制器与交换机连接中断的原因至少包括以下之一:控制器故障,控制器重启,和大规模SDN中交换机闪断等情况。
在本实施例中,对更新时间不做具体限定,可以是根据工程经验设置的第二表项最佳更新时间,也可以是根据有限次实验得到的第二表项最佳更新时间,也可以是根据有限次计算机仿真得到的第二表项最佳更新时间。
步骤S102,当与交换机再次建立连接时,向交换机发送第一转发表项,以供交换机基于更新时间,根据第一转发表项,更新预存的第二转发表项。
通过在与交换机再次建立连接的情况下,向交换机发送第一转发表项,以供交换机基于更新时间,根据第一转发表项,更新预存的第二转发表项,能够有效的对与控制器断开连接后次建立连接的交换机中的转发表项进行快速更新,极大的提高了SDN的数据转发准确性。
本发明实施例提供的上述SDN的设置方法,能够有效的对与控制器断开连接后次建立连接的交换机中的转发表项进行快速更新,极大的提高了SDN的数据转发准确性。
本发明实施例提供一种SDN的设置方法,应用于控制器,如图3所示,该方法包括:
步骤S201,当检测到与交换机的连接中断,并接收到交换机发送的再次建立连接申请时,判断是否接收到交换机发送的保持转发能力的信息。
在本实施例中,导致控制器与交换机连接中断的原因至少包括以下之一:控制器故障,控制器重启,和大规模SDN中交换机闪断等情况。
步骤S202,在接收到交换机发送的保持转发能力的信息的情况下,将携带跟新时间的设定报文发送至交换机。
在本实施例中,对更新时间不做具体限定,可以是根据工程经验设置的第二表项最佳更新时间,也可以是根据有限次实验得到的第二表项最佳更新时间,也可以是根据有限次计算机仿真得到的第二表项最佳更新时间。
在交换机能够根据预存的第二转发表项进行数据转发的情况下,交换机将保持转发能力的信息发送至控制器,以通知控制器该交换机能够根据预存的第二转发表项进行数据转发。
步骤S203,当与交换机再次建立连接时,向交换机发送第一转发表项,以供交换机基于更新时间,根据第一转发表项,更新预存的第二转发表项。
通过在与交换机再次建立连接的情况下,向交换机发送第一转发表项,以供交换机基于更新时间,根据第一转发表项,更新预存的第二转发表项, 能够有效的对与控制器断开连接后次建立连接的交换机中的转发表项进行快速更新,极大的提高了SDN的数据转发准确性。
本发明实施例提供的所述SDN的设置方法,能够有效的对与控制器断开连接后次建立连接的交换机中的转发表项进行快速更新,极大的提高了SDN的数据转发准确性。
本发明实施例提供一种SDN的设置方法,应用于交换机,如图4所示,该方法包括:
步骤S301,当检测到与控制器的连接中断时,基于预存的第二转发表项,进行数据转发。
在本实施例中,导致控制器与交换机连接中断的原因至少包括以下之一:控制器故障,控制器重启,和大规模SDN中交换机闪断等情况。
其中,预存的第二转发表项为交换机与控制器的连接中断前,该控制器发送至交换机的第二转发表项。
交换机基于预存的第二转发表项进行数据转发,避免了由于控制器与交换机的断开,导致的交换机停止数据转发,有效提高了SDN网络中交换机的转发效率,降低了SDN网络的故障率。
步骤S302,在向控制发送再次建立连接申请之后,接收控制器发送的携带更新时间的设定报文。
步骤S303,当与交换机再次建立连接时,基于更新时间,根据接收到的控制器发送的第一转发表项,更新第二转发表项。
在一实施例中,步骤S303,包括:
在从接收到该设定报文开始的更新时间内,通过第一转发表项,更新第二转发表项;
在更新时间之后,删除第二转发表项中未更新的转发表项。
交换机基于更新时间,根据第一转发表项,更新预存的第二转发表项, 能够有效的对与控制器断开连接后次建立连接的交换机中的转发表项进行快速更新,极大的提高了SDN的数据转发准确性。
本发明实施例提供的所述SDN的设置方法,实现了在SDN网络中控制器与交换机断开的情况下,交换机基于预存的转发表项进行数据转发,避免了由于控制器与交换机的断开,导致的交换机停止数据转发,有效提高了SDN网络中交换机的转发效率,降低了SDN网络的故障率;能够有效的对与控制器断开连接后次建立连接的交换机中的转发表项进行快速更新,极大的提高了SDN的数据转发准确性。
本发明实施例提供了一种SDN的设置方法,应用于交换机,如图4所示,该方法包括:
步骤S301,当检测到与控制器的连接中断时,基于预存的第二转发表项,进行数据转发。
在本实施例中,导致控制器与交换机连接中断的原因至少包括以下之一:控制器故障,控制器重启,和大规模SDN中交换机闪断等情况。
其中,预存的第二转发表项为交换机与控制器的连接中断前,该控制器发送至交换机的第二转发表项。
交换机基于预存的第二转发表项进行数据转发,避免了由于控制器与交换机的断开,导致的交换机停止数据转发,有效提高了SDN网络中交换机的转发效率,降低了SDN网络的故障率。
步骤S302,在向控制发送再次建立连接申请之后,接收控制器发送的携带更新时间的设定报文。
在一实施例中,步骤S302,包括:
在向控制发送再次建立连接申请之后,将保持转发能力的信息发送至控制器,以供控制器基于保持转发能力的信息,向交换机发送携带更新时间的设定报文;
接收控制器发送的携带更新时间的设定报文。
在交换机能够根据预存的第二转发表项进行数据转发的情况下,交换机将保持转发能力的信息发送至控制器,以通知控制器该交换机能够根据预存的第二转发表项进行数据转发。
步骤S303,当与交换机再次建立连接时,基于更新时间,根据接收到的控制器发送的第一转发表项,更新第二转发表项。
在一实施例中,步骤S303,包括:
第一转发表项包括:第一流表和第一计量限速表;第二转发表项包括:第二流表和第二计量限速表;
在从接收到设定报文开始的更新时间内,通过第一流表,更新第二流表;并通过第一计量限速表,更新第二计量限速表;
在更新时间之后,删除第二流表中未更新的流表,及第二计量限速表中未更新的计量限速表。
在一实施例中,步骤S303,包括:
第一转发表项包括:第一组表;第二转发表项包括:第二组表;
在从接收到设定报文开始的更新时间内,删除第二组表中的所有组表,并将第一组表中的所有组表存储至第二组表。
在一实施例中,步骤S303,包括:
第一转发表项包括:第一流表、第一计量限速表和第一组表;第二转发表项包括:第二流表、第二计量限速表和第二组表;
在从接收到设定报文开始的更新时间内,通过第一流表,更新第二流表;并通过第一计量限速表,更新第二计量限速表;删除第二组表中的所有组表,并将第一组表中的所有组表存储至第二组表;
在更新时间之后,删除第二流表中未更新的流表,及第二计量限速表中未更新的计量限速表。
交换机基于更新时间,根据第一转发表项,更新预存的第二转发表项,能够有效的对与控制器断开连接后次建立连接的交换机中的转发表项进行快速更新,极大的提高了SDN的数据转发准确性。
本发明实施例提供的所述SDN的设置方法,实现了在SDN网络中控制器与交换机断开的情况下,交换机基于预存的转发表项进行数据转发,避免了由于控制器与交换机的断开,导致的交换机停止数据转发,有效提高了SDN网络中交换机的转发效率,降低了SDN网络的故障率;能够有效的对与控制器断开连接后次建立连接的交换机中的转发表项进行快速更新,极大的提高了SDN的数据转发准确性。
以SDN的设置方法为例,结合附图5~图6介绍一个应用实例。
步骤S501,交换机向控制器发送OFPT_FEATRUE_REPLY报文;
这里,当交换机检测到与控制器的连接中断时,交换机发起与控制器再次建立连接的申请;交换机基于中预存的第二转发表项,进行数据转发;交换机向控制器发送携带保持转发能力的信息的OFPT_FEATRUE_REPLY报文。
其中,携带保持转发能力的信息的OFPT_FEATRUE_REPLY报文的设置方式,包括但不限于:
将OFPT_FEATRUE_REPLY报文中的capacatity字段中的最高位设置为1。
在本实施例中,导致控制器与交换机连接中断的原因至少包括以下之一:
控制器发生重大故障需要重启SDN网络集群恢复;及大规模SDN网络中交换机数量很大的情况下,由于管理网络不稳定导致交换机和控制器之间的OpenFlow连接发生中断等情况。
步骤S502,控制器向交换机发送OFPT_EXPERIMENT报文;
当控制器接收到的OFPT_FEATRUE_REPLY报文中携带的保持转发能力的信息时,禁止控制器向交换机发送第二转发表项的删除指令;控制器向交换机发送携带更新时间的OFPT_EXPERIMENT报文。
其中,控制器检测OFPT_FEATRUE_REPLY报文中是否携带保持转发能力的信息的方式,包括但不限于:
检测OFPT_FEATRUE_REPLY报文中的capacatity字段中的最高位;
若OFPT_FEATRUE_REPLY报文中的capacatity字段中的最高位为1,则OFPT_FEATRUE_REPLY报文中携带保持转发能力的信息;若OFPT_FEATRUE_REPLY报文中的capacatity字段中的最高位为0,则OFPT_FEATRUE_REPLY报文中不携带保持转发能力的信息。
其中,携带更新时间的OFPT_EXPERIMENT报文的设置方式,包括但不限于:
OFPT_EXPERIMENT报文中的body字段设置为更新时间。
在本实施例中,对更新时间不做具体限定,可以是根据工程经验设置的第二表项最佳更新时间,也可以是根据有限次实验得到的第二表项最佳更新时间,也可以是根据有限次计算机仿真得到的第二表项最佳更新时间。
步骤S503,交换机根据更新时间,开始计时;
当交换机接收到控制发送的携带更新时间的OFPT_EXPERIMENT报文时,将所有第二转发表项设置老化标记;并根据更新时间,开始计时。
步骤S504,控制器向交换机发送第一转发表项;
当交换机与控制器再次建立连接时,控制器向交换机发送第一转发表项。
步骤S505,交换机通过第一转发表项,更新第二转发表项;
交换机接收第一转发表项;在从开始计时开始的更新时间内,交换机通过第一转发表项,更新第二转发表项,得到第三转发表项。
其中,在从开始计时开始的更新时间内,交换机通过第一转发表项,更新第二转发表项的方式,包括:
所述第一转发表项包括:第一流表、第一计量限速表和第一组表;所述第二转发表项包括:第二流表、第二计量限速表和第二组表;
从接收到更新报文开始的更新时间内,通过第一流表,更新第二流表,并删除所有已更新第二流表的老化标记;并通过第一计量限速表,更新第二计量限速表,并删除所有已更新第二计量限速表的老化标记;删除第二组表中的所有组表,并将第一组表中的所有组表存储至第二组表;
在更新时间之后,删除第二流表中未更新的流表,得到第四流表;删除第二计量限速表中未更新的计量限速表,得到第四流表。
得到第三转发表项,其中,第三转发表项包括:第四流表、第四流表和第一组表。
例如:如图6所示,交换机根据接收到控制器发送的第二流表进行数据转发;其中,第二流表包括:流表0,持续时间(duration)=569.517s;流表1,duration=569.517s;及流表2,duration=569.517s;
当交换机检测到与控制器的连接断开时,交换机发起与控制器再次建立连接的申请,交换机保持第二流表进行数据转发;其中,第二流表包括:流表0,duration=569.517s;流表1,duration=569.517s;及流表2,duration=569.517s;
当交换机接收到携带更新时间的OFPT_EXPERIMENT报文时,对所有第二流表打老化标记,并开始计时;其中,对所有第二流表打老化标记的方式包括:流表0,duration=569.517s,sflag=ture,timer;流表1,duration=569.517s,sflag=ture,timer;及流表2,duration=569.517s,sflag=ture,timer;
当交换机与控制器再次建立连接时,交换机接收第一流表;其中,第 一流表包括:流表0,duration=1.517s;及流表1,duration=1.517s;在从开始计时开始的更新时间内,交换机通过第一流表,更新第二流表,更新后的第二流表包括:流表0,duration=1.517s;及流表1,duration=1.517s;其中,第二流表中的流表2在更新时间超时后删除。
步骤S506,交换机根据第三转发表项,进行数据转发。
本发明实施例所述的SDN的设置方法,实现了在SDN网络中控制器与交换机断开的情况下,交换机基于预存的转发表项进行数据转发,避免了由于控制器与交换机的断开,导致的交换机停止数据转发,有效提高了SDN网络中交换机的转发效率,降低了SDN网络的故障率;能够有效的对与控制器断开连接后次建立连接的交换机中的转发表项进行快速更新,极大的提高了SDN的数据转发准确性。
本发明实施例提供一种控制器,设置于SDN网络中,如图7所示,该控制器包括以下组成部分:
处理器601和存储器602。在一些实施例中,处理器601和存储器602可通过总线或者其它方式连接。
处理器601可以是通用处理器,例如中央处理器(Central Processing Unit,CPU),还可以是数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(英文:Application Specific Integrated Circuit,ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路。其中,存储器602,配置为存储所述处理器601的可执行指令;
存储器602,配置为存储程序代码,并将该程序代码传输给处理器601。存储器602可以包括易失性存储器(Volatile Memory),例如随机存取存储器(Random Access Memory,RAM);存储器602也可以包括非易失性存储器(Non-Volatile Memory),例如只读存储器(Read-Only Memory,ROM)、快闪存储器(Flash Memory)、硬盘(Hard Disk Drive,HDD)或固态硬盘(Solid-State  Drive,SSD);存储器602还可以包括上述种类的存储器的组合。
其中,处理器601,配置为调用所述存储器602存储的程序代码管理代码,执行如下操作:
1)当检测到与交换机的连接中断,并接收到交换机发送的再次建立连接申请时,将携带更新时间的设定报文发送至交换机。
在本实施例中,导致控制器与交换机连接中断的原因至少包括以下之一:控制器故障,控制器重启,和大规模SDN中交换机闪断等情况。
在本实施例中,对更新时间不做具体限定,可以是根据工程经验设置的第二表项最佳更新时间,也可以是根据有限次实验得到的第二表项最佳更新时间,也可以是根据有限次计算机仿真得到的第二表项最佳更新时间。
2)当与交换机再次建立连接时,向交换机发送第一转发表项,以供交换机基于更新时间,根据第一转发表项,更新预存的第二转发表项。
通过在与交换机再次建立连接的情况下,向交换机发送第一转发表项,以供交换机基于更新时间,根据第一转发表项,更新预存的第二转发表项,能够有效的对与控制器断开连接后次建立连接的交换机中的转发表项进行快速更新,极大的提高了SDN的数据转发准确性。
本发明实施例提供的所述控制器,能够有效的对与控制器断开连接后次建立连接的交换机中的转发表项进行快速更新,极大的提高了SDN的数据转发准确性。
本发明实施例提供一种控制器,设置于SDN网络中,如图7所示,该控制器包括以下组成部分:
处理器601和存储器602。在一些实施例中,处理器601和存储器602可通过总线或者其它方式连接。
处理器601可以是通用处理器,例如CPU,还可以是DSP、ASIC,或者是被配置成实施本发明实施例的一个或多个集成电路。其中,存储器602, 配置为存储所述处理器601的可执行指令;
存储器602,配置为存储程序代码,并将该程序代码传输给处理器601。存储器602可以包括易失性存储器,例如RAM;存储器602也可以包括非易失性存储器,例如ROM、快闪存储器、HDD或SSD;存储器602还可以包括上述种类的存储器的组合。
其中,处理器601,配置为调用所述存储器602存储的程序代码管理代码,执行如下操作:
1)当检测到与交换机的连接中断,并接收到交换机发送的再次建立连接申请时,判断是否接收到交换机发送的保持转发能力的信息。
在本实施例中,导致控制器与交换机连接中断的原因至少包括以下之一:控制器故障,控制器重启,和大规模SDN中交换机闪断等情况。
2)在接收到交换机发送的保持转发能力的信息的情况下,将携带跟新时间的设定报文发送至交换机。
在本实施例中,对更新时间不做具体限定,可以是根据工程经验设置的第二表项最佳更新时间,也可以是根据有限次实验得到的第二表项最佳更新时间,也可以是根据有限次计算机仿真得到的第二表项最佳更新时间。
在交换机能够根据预存的第二转发表项进行数据转发的情况下,交换机将保持转发能力的信息发送至控制器,以通知控制器该交换机能够根据预存的第二转发表项进行数据转发。
3)当与交换机再次建立连接时,向交换机发送第一转发表项,以供交换机基于更新时间,根据第一转发表项,更新预存的第二转发表项。
通过在与交换机再次建立连接的情况下,向交换机发送第一转发表项,以供交换机基于更新时间,根据第一转发表项,更新预存的第二转发表项,能够有效的对与控制器断开连接后次建立连接的交换机中的转发表项进行快速更新,极大的提高了SDN的数据转发准确性。
本发明实施例提供的所述控制器,能够有效的对与控制器断开连接后次建立连接的交换机中的转发表项进行快速更新,极大的提高了SDN的数据转发准确性。
本发明实施例还提供一种交换机,设置于SDN网络中,如图8所示,该交换机包括以下组成部分:
处理器801和存储器802,在一些实施例中,处理器801和存储器802可通过总线或者其它方式连接。
处理器801可以是通用处理器,例如CPU,还可以DSP、ASIC,或者是被配置成实施本发明实施例的一个或多个集成电路。其中,存储器802,配置为存储所述处理器801的可执行指令;
存储器802,配置为存储程序代码,并将该程序代码传输给处理器801。存储器802可以包括易失性存储器,例如RAM;存储器802也可以包括非易失性存储器,例如ROM、快闪存储器、HDD或SSD;存储器802还可以包括上述种类的存储器的组合。
其中,处理器801,配置为调用所述存储器802存储的程序代码管理代码,执行如下操作:
1)当检测到与控制器的连接中断时,基于预存的第二转发表项,进行数据转发。
在本实施例中,导致控制器与交换机连接中断的原因至少包括以下之一:控制器故障,控制器重启,和大规模SDN中交换机闪断等情况。
其中,预存的第二转发表项为交换机与控制器的连接中断前,该控制器发送至交换机的第二转发表项。
交换机基于预存的第二转发表项进行数据转发,避免了由于控制器与交换机的断开,导致的交换机停止数据转发,有效提高了SDN网络中交换机的转发效率,降低了SDN网络的故障率。
2)在向控制发送再次建立连接申请之后,接收控制器发送的携带更新时间的设定报文。
3)当与交换机再次建立连接时,基于更新时间,根据接收到的控制器发送的第一转发表项,更新第二转发表项。
在一实施例中,当与交换机再次建立连接时,基于更新时间,根据接收到的控制器发送的第一转发表项,更新第二转发表项的方式,包括:
在从接收到该设定报文开始的更新时间内,通过第一转发表项,更新第二转发表项;
在更新时间之后,删除第二转发表项中未更新的转发表项。
交换机基于更新时间,根据第一转发表项,更新预存的第二转发表项,能够有效的对与控制器断开连接后次建立连接的交换机中的转发表项进行快速更新,极大的提高了SDN的数据转发准确性。
本发明实施例提供的所述交换机,实现了在SDN网络中控制器与交换机断开的情况下,交换机基于预存的转发表项进行数据转发,避免了由于控制器与交换机的断开,导致的交换机停止数据转发,有效提高了SDN网络中交换机的转发效率,降低了SDN网络的故障率;能够有效的对与控制器断开连接后次建立连接的交换机中的转发表项进行快速更新,极大的提高了SDN的数据转发准确性。
本发明实施例提供一种交换机,设置于SDN网络中,如图8所示,该交换机包括以下组成部分:
处理器801和存储器802。在本发明的一些实施例中,处理器801和存储器802可通过总线或者其它方式连接。
处理器801可以是通用处理器,例如CPU,还可以是DSP、ASIC,或者是被配置成实施本发明实施例的一个或多个集成电路。其中,存储器802,配置为存储所述处理器801的可执行指令;
存储器802,配置为存储程序代码,并将该程序代码传输给处理器801。存储器802可以包括易失性存储器,例如RAM;存储器802也可以包括非易失性存储器,例如ROM、快闪存储器、HDD或SSD;存储器802还可以包括上述种类的存储器的组合。
其中,处理器801,配置为调用所述存储器802存储的程序代码管理代码,执行如下操作:
1)当检测到与控制器的连接中断时,基于预存的第二转发表项,进行数据转发。
在本实施例中,导致控制器与交换机连接中断的原因至少包括以下之一:控制器故障,控制器重启,和大规模SDN中交换机闪断等情况。
其中,预存的第二转发表项为交换机与控制器的连接中断前,该控制器发送至交换机的第二转发表项。
交换机基于预存的第二转发表项进行数据转发,避免了由于控制器与交换机的断开,导致的交换机停止数据转发,有效提高了SDN网络中交换机的转发效率,降低了SDN网络的故障率。
2)在向控制发送再次建立连接申请之后,接收控制器发送的携带更新时间的设定报文。
在一实施例中,在向控制发送再次建立连接申请之后,接收控制器发送的携带更新时间的设定报文的方式,包括:
在向控制发送再次建立连接申请之后,将保持转发能力的信息发送至控制器,以供控制器基于保持转发能力的信息,向交换机发送携带更新时间的设定报文;
接收控制器发送的携带更新时间的设定报文。
在交换机能够根据预存的第二转发表项进行数据转发的情况下,交换机将保持转发能力的信息发送至控制器,以通知控制器该交换机能够根据 预存的第二转发表项进行数据转发。
3)当与交换机再次建立连接时,基于更新时间,根据接收到的控制器发送的第一转发表项,更新第二转发表项。
在一实施例中,当与交换机再次建立连接时,基于更新时间,根据接收到的控制器发送的第一转发表项,更新第二转发表项的方式,包括:
第一转发表项包括:第一流表和第一计量限速表;第二转发表项包括:第二流表和第二计量限速表;
在从接收到设定报文开始的更新时间内,通过第一流表,更新第二流表;并通过第一计量限速表,更新第二计量限速表;
在更新时间之后,删除第二流表中未更新的流表,及第二计量限速表中未更新的计量限速表。
在一实施例中,当与交换机再次建立连接时,基于更新时间,根据接收到的控制器发送的第一转发表项,更新第二转发表项的方式,包括:
第一转发表项包括:第一组表;第二转发表项包括:第二组表;
在从接收到设定报文开始的更新时间内,删除第二组表中的所有组表,并将第一组表中的所有组表存储至第二组表。
在一实施例中,当与交换机再次建立连接时,基于更新时间,根据接收到的控制器发送的第一转发表项,更新第二转发表项的方式,包括:
第一转发表项包括:第一流表、第一计量限速表和第一组表;第二转发表项包括:第二流表、第二计量限速表和第二组表;
在从接收到设定报文开始的更新时间内,通过第一流表,更新第二流表;并通过第一计量限速表,更新第二计量限速表;删除第二组表中的所有组表,并将第一组表中的所有组表存储至第二组表;
在更新时间之后,删除第二流表中未更新的流表,及第二计量限速表中未更新的计量限速表。
交换机基于更新时间,根据第一转发表项,更新预存的第二转发表项,能够有效的对与控制器断开连接后,并再次建立连接的交换机中的转发表项进行快速更新,极大的提高了SDN的数据转发准确性。
本发明实施例提供的所述交换机,实现了在SDN网络中控制器与交换机断开的情况下,交换机基于预存的转发表项进行数据转发,避免了由于控制器与交换机的断开,导致的交换机停止数据转发,有效提高了SDN网络中交换机的转发效率,降低了SDN网络的故障率;能够有效的对与控制器断开连接后,并再次建立连接的交换机中的转发表项进行快速更新,极大的提高了SDN的数据转发准确性。
本发明实施例提供一种计算机可读存储介质。
计算机存储介质可以是RAM存储器、闪存、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、移动硬盘、CD-ROM或者本领域已知的任何其他形式的存储介质。
计算机可读存储介质存储有一个或者多个程序,该一个或者多个程序可被一个或者多个处理器执行,以实现本发明第一实施例至本发明第五实施例中任一实施例中部分或全部步骤。
本发明实施例提供的所述计算机可读存储介质,存储有一个或者多个程序,该一个或者多个程序可被一个或者多个处理器执行,实现了在SDN网络中控制器与交换机断开的情况下,交换机基于预存的转发表项进行数据转发,避免了由于控制器与交换机的断开,导致的交换机停止数据转发,有效提高了SDN网络中交换机的转发效率,降低了SDN网络的故障率;能够有效的对与控制器断开连接后,并再次建立连接的交换机中的转发表项进行快速更新,极大的提高了SDN的数据转发准确性。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物 品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于本发明的保护之内。

Claims (13)

  1. 一种软件定义网络SDN的设置方法,应用于控制器,所述方法包括:
    当检测到与交换机的连接中断,并接收到所述交换机发送的再次建立连接申请时,将携带更新时间的设定报文发送至所述交换机;
    当与所述交换机再次建立连接时,向所述交换机发送第一转发表项。
  2. 根据权利要求1所述的方法,其中,所述当检测到与交换机的连接中断,并接收到所述交换机发送的再次建立连接申请时,将携带更新时间的设定报文发送至所述交换机,包括:
    当检测到与交换机的连接中断,并接收到所述交换机发送的再次建立连接申请时,判断是否接收到所述交换机发送的保持转发能力的信息;
    在接收到所述交换机发送的保持转发能力的信息的情况下,将所述设定报文发送至所述交换机。
  3. 一种软件定义网络SDN的设置方法,应用于交换机,所述方法包括:
    当检测到与控制器的连接中断时,基于预存的第二转发表项,进行数据转发;
    在向所述控制发送再次建立连接申请之后,接收所述控制器发送的携带更新时间的设定报文;
    当与所述交换机再次建立连接时,基于所述更新时间,根据接收到的所述控制器发送的第一转发表项,更新所述第二转发表项。
  4. 根据权利要求3所述的方法,其中,在向所述控制发送再次建立连接申请之后,所述方法还包括:
    将保持转发能力的信息发送至所述控制器,以供所述控制器基于所述保持转发能力的信息,向所述交换机发送所述携带更新时间的设定报文。
  5. 根据权利要求3所述的方法,其中,所述第一转发表项包括:第一流表和第一计量限速表;所述第二转发表项包括:第二流表和第二计量限速表;
    所述基于所述更新时间,根据接收到的所述控制器发送的第一转发表项,更新所述第二转发表项,包括:
    在从接收到所述设定报文开始的所述更新时间内,通过所述第一流表,更新所述第二流表;并通过所述第一计量限速表,更新所述第二计量限速表;
    在所述更新时间之后,删除所述第二流表中未更新的流表,及第二计量限速表中未更新的计量限速表。
  6. 根据权利要求3或5所述的方法,其中,所述第一转发表项包括:第一组表;所述第二转发表项包括:第二组表;
    所述基于所述更新时间,根据接收到的所述控制器发送的第一转发表项,更新所述第二转发表项,包括:
    在从接收到所述设定报文开始的所述更新时间内,删除所述第二组表中的所有组表,并将所述第一组表中的所有组表存储至所述第二组表。
  7. 一种控制器,所述控制器包括处理器和存储器;
    所述处理器,配置为执行存储器中存储的软件定义网络SDN的设置程序,以实现以下步骤:
    当检测到与交换机的连接中断,并接收到所述交换机发送的再次建立连接申请时,将携带更新时间的设定报文发送至所述交换机;
    当与所述交换机再次建立连接时,向所述交换机发送第一转发表项。
  8. 根据权利要求7所述的控制器,其中,所述当检测到与交换机的连接中断,并接收到所述交换机发送的再次建立连接申请时,将携带更新时间的设定报文发送至所述交换机,包括:
    当检测到与交换机的连接中断,并接收到所述交换机发送的再次建立连接申请时,判断是否接收到所述交换机发送的保持转发能力的信息;
    在接收到所述交换机发送的保持转发能力的信息的情况下,将所述设定报文发送至所述交换机。
  9. 一种交换机,所述交换机包括处理器和存储器;
    所述处理器,配置为执行存储器中存储的软件定义网络SDN的设置程序,以实现以下步骤:
    当检测到与控制器的连接中断时,基于预存的第二转发表项,进行数据转发;
    在向所述控制发送再次建立连接申请之后,接收所述控制器发送的携带更新时间的设定报文;
    当与所述交换机再次建立连接时,基于所述更新时间,根据接收到的所述控制器发送的第一转发表项,更新所述第二转发表项。
  10. 根据权利要求9所述的交换机,其中,在向所述控制发送再次建立连接申请之后,所述一个或者多个程序还可被所述一个或者多个处理器执行,以实现以下步骤:
    将保持转发能力的信息发送至所述控制器,以供所述控制器基于所述保持转发能力的信息,向所述交换机发送所述携带更新时间的设定报文。
  11. 根据权利要求9所述的交换机,其中,所述第一转发表项包括:第一流表和第一计量限速表;所述第二转发表项包括:第二流表和第二计量限速表;
    所述基于所述更新时间,根据接收到的所述控制器发送的第一转发表项,更新所述第二转发表项,包括:
    在从接收到所述设定报文开始的所述更新时间内,通过所述第一流表,更新所述第二流表;并通过所述第一计量限速表,更新所述第二计量限速 表;
    在所述更新时间之后,删除所述第二流表中未更新的流表,及第二计量限速表中未更新的计量限速表。
  12. 根据权利要求9或11所述的交换机,其中,所述第一转发表项包括:第一组表;所述第二转发表项包括:第二组表;
    所述基于所述更新时间,根据接收到的所述控制器发送的第一转发表项,更新所述第二转发表项,包括:
    在从接收到所述设定报文开始的所述更新时间内,删除所述第二组表中的所有组表,并将所述第一组表中的所有组表存储至所述第二组表。
  13. 一种存储介质,所述存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现权利要求1~2中任一项所述的软件定义网络SDN的设置方法,和/或,以实现权利要求3~6中任一项所述的SDN的设置方法。
PCT/CN2018/105309 2017-10-31 2018-09-12 软件定义网络的设置方法、控制器、交换机及存储介质 WO2019085651A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP18872008.0A EP3678340A4 (en) 2017-10-31 2018-09-12 SDN NETWORK CONFIGURATION PROCESS, CONTROL DEVICE, SWITCH AND INFORMATION MEDIA

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711049534.3A CN109728932B (zh) 2017-10-31 2017-10-31 Sdn的设置方法、控制器、交换机及计算机可读存储介质
CN201711049534.3 2017-10-31

Publications (1)

Publication Number Publication Date
WO2019085651A1 true WO2019085651A1 (zh) 2019-05-09

Family

ID=66293904

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/105309 WO2019085651A1 (zh) 2017-10-31 2018-09-12 软件定义网络的设置方法、控制器、交换机及存储介质

Country Status (3)

Country Link
EP (1) EP3678340A4 (zh)
CN (1) CN109728932B (zh)
WO (1) WO2019085651A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110380993B (zh) * 2019-07-12 2021-09-14 中国电信集团工会上海市委员会 一种基于ovsdb的流表保护方法
CN113037599A (zh) * 2019-12-24 2021-06-25 中兴通讯股份有限公司 一种报文处理的方法、设备及存储介质
CN114422529B (zh) * 2022-01-21 2023-07-11 中国联合网络通信集团有限公司 数据处理方法、设备及介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104426789A (zh) * 2013-08-23 2015-03-18 杭州华三通信技术有限公司 软件定义网络中的转发设备控制方法及设备
CN104468360A (zh) * 2014-12-12 2015-03-25 国家电网公司 一种无损电力软件定义网络流表一致更新方法
CN104852867A (zh) * 2014-02-19 2015-08-19 华为技术有限公司 数据包转发方法、装置及系统

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9130869B2 (en) * 2012-02-09 2015-09-08 Telefonaktiebolaget L M Ericsson (Publ) Methods of redirecting network forwarding elements and related forwarding elements and controllers
CN104468168B (zh) * 2013-09-18 2018-01-23 华为技术有限公司 网络故障恢复方法、控制服务器及交换机
US20150326425A1 (en) * 2014-05-12 2015-11-12 Ntt Innovation Institute, Inc. Recording, analyzing, and restoring network states in software-defined networks
CN104243240B (zh) * 2014-09-23 2017-05-24 电子科技大学 一种基于OpenFlow的SDN流量测量方法
EP3375138B1 (en) * 2015-11-09 2020-09-02 Telefonaktiebolaget LM Ericsson (publ) State synchronization between a controller and a switch in a communications network
CN106790411B (zh) * 2016-11-30 2019-10-25 武汉噢易云计算股份有限公司 虚拟交换机与物理交换机的非聚合端口级联系统及方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104426789A (zh) * 2013-08-23 2015-03-18 杭州华三通信技术有限公司 软件定义网络中的转发设备控制方法及设备
CN104852867A (zh) * 2014-02-19 2015-08-19 华为技术有限公司 数据包转发方法、装置及系统
CN104468360A (zh) * 2014-12-12 2015-03-25 国家电网公司 一种无损电力软件定义网络流表一致更新方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3678340A4 *

Also Published As

Publication number Publication date
EP3678340A4 (en) 2020-11-04
CN109728932B (zh) 2021-09-28
EP3678340A1 (en) 2020-07-08
CN109728932A (zh) 2019-05-07

Similar Documents

Publication Publication Date Title
WO2015131486A1 (zh) 一种组播报文的转发方法及装置
US20220210755A1 (en) Time synchronization method and apparatus, computer-readable medium, and electronic device
US10454817B2 (en) Method and device for processing GR of openflow switch, and openflow controller
US10813036B2 (en) Anchor gateway switching method, apparatus, and system
US9401958B2 (en) Method, apparatus, and system for migrating user service
WO2019085651A1 (zh) 软件定义网络的设置方法、控制器、交换机及存储介质
WO2018121284A1 (zh) 一种处理路由的方法及网络设备
WO2015055096A1 (zh) 用于开放流网络中建立带内连接的方法和交换机
US10397340B2 (en) Multicast migration
KR20200105513A (ko) 다운링크 데이터 전송을 위한 방법 및 장치
CN104507054B (zh) 一种群组成员信息更新的方法及相关设备
US10432744B2 (en) Information processing apparatus, information processing system, and information processing method
US10680930B2 (en) Method and apparatus for communication in virtual network
CN108124504B (zh) Tfo传输方法、代理服务器和系统
WO2014019157A1 (zh) 通信路径的处理方法与装置
WO2017219868A1 (zh) Arp条目的处理方法及装置
EP3309999B1 (en) Timing processing method and apparatus for flow entry
WO2019091221A1 (zh) 以太广播帧的处理方法、装置及设备
CN113872860B (zh) 一种路径切换方法及装置
US20160295479A1 (en) Method for establishing optimal path, mme and gateway, and computer storage medium
WO2016206299A1 (zh) 一种会话保活方法及装置
WO2019149280A1 (zh) 同步报文的生成方法、同步设备及计算机可读存储介质
CN110784410A (zh) 一种路由建立方法及相关设备
WO2016107342A1 (zh) 设备到设备通信方法、装置和系统
CN106612235B (zh) 一种路由下发方法及装置

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2018872008

Country of ref document: EP

Effective date: 20200331

NENP Non-entry into the national phase

Ref country code: DE