[go: up one dir, main page]

WO2016095142A1 - Procédé, dispositif et système de réacheminement de données dans les réseaux sdn - Google Patents

Procédé, dispositif et système de réacheminement de données dans les réseaux sdn Download PDF

Info

Publication number
WO2016095142A1
WO2016095142A1 PCT/CN2014/094144 CN2014094144W WO2016095142A1 WO 2016095142 A1 WO2016095142 A1 WO 2016095142A1 CN 2014094144 W CN2014094144 W CN 2014094144W WO 2016095142 A1 WO2016095142 A1 WO 2016095142A1
Authority
WO
WIPO (PCT)
Prior art keywords
switching device
path
forwarding
data
forwarding rule
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2014/094144
Other languages
English (en)
Chinese (zh)
Inventor
左少夫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201480083893.9A priority Critical patent/CN107005479B/zh
Priority to PCT/CN2014/094144 priority patent/WO2016095142A1/fr
Publication of WO2016095142A1 publication Critical patent/WO2016095142A1/fr
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Definitions

  • the present invention relates to the field of information technology, and in particular, to a method, device and system for data forwarding in a software defined network SDN.
  • Virtualization points the way for the construction and development of next-generation data centers.
  • the virtualization technology helps the data center to integrate hardware resources, establish a virtual resource pool, realize global resource sharing, and allocate resources according to services, thereby improving the comprehensive utilization of system resources and saving equipment energy consumption.
  • SDN Software Defined Network
  • SDN's core technology realizes flexible control of network traffic by separating the control plane of the network device from the data plane.
  • OpenFlow The OpenFlow protocol evolves with a series of versions, is constantly standardized, matures, and forms standards. OpenFlow supports the combination of arbitrary fields to query the flow table, and proposes the concept of multi-level flow table. The size and number of flow tables have become the bottleneck for existing chips to support OpenFlow.
  • each pair of end-to-end communication implements a new flow entry for the switching device involved.
  • the virtual switching device at the edge of the network is limited to the number of communication ends.
  • the number of flow tables has little effect on the switching device and the control device.
  • the switching device at the backbone layer of the network continues to expand as the number of flow entries of the lower layer switching device increases.
  • a large number of flow tables occupy the hardware resources of the control device and the backbone layer switching device in the SDN, affecting the performance and network performance of the device in the SDN. .
  • the embodiment of the invention provides a method, a device and a system for forwarding data in an SDN, so as to solve the problem that the device and the network performance in the SDN are not high due to excessive flow entries in the prior art.
  • an embodiment of the present invention provides a data forwarding method in a software-defined network SDN, including:
  • Dissipating a first forwarding rule for forwarding the data to the first switching device so that the first switching device encapsulates the data including the information of the first path and sends the data to the second switching device, where
  • the information of the first path is a sequence represented by a unique identifier of the forwarding path between the switching devices according to the sequence of the switching devices that implement the data forwarding on the first path, so that the second switching device is configured according to the The information of a path and the second forwarding rule forward the data, the second forwarding rule is received by the second switching device before receiving the data, and enables the second switching device to The information of the first path forwards the data to a switching device on the first path that is directly connected to the second switching device.
  • the second forwarding rule is generated after the second switching device establishes a topological relationship with a switching device directly connected to the switching device or after establishing a topological relationship.
  • the second forwarding rule is a forwarding rule that repeatedly forwards data including the path information according to the received path information.
  • the unique identifier of the forwarding path between the switching devices is a unique identifier and exchange of the switching device.
  • the first aspect to the first aspect are combined
  • the information of the first path is nested in the multi-protocol label switching MPLS message and sent to the first switching device.
  • the method further includes:
  • the multicast group identifier is an identifier that uniquely identifies the multicast group
  • the multicast group includes at least two multicast group members
  • the switching device that implements data forwarding between the multicast group members includes Describe the first switching device and the second switching device
  • the first forwarding rule and the second forwarding rule further include the multicast group identifier.
  • the switching device that implements data forwarding between the multicast group members further includes a third switching device, where The three switching device is a switching device that forwards data to the multicast group member through two or more paths;
  • the method further includes:
  • a third forwarding rule that includes a multicast group identifier, so that the third switching device encapsulates the path information of the path to the next aggregation switching device according to the third forwarding rule.
  • the data is sent and sent;
  • the path information of the path to the next aggregation switching device is a sequence represented by a unique identifier of the forwarding path between the switching devices according to the sequence of the switching devices that implement data forwarding; the next aggregation switching device
  • the switching device that forwards the data to the multicast group member, and the first switching device from the third switching device to the multicast group member forwards data to the multicast group member through two or more paths.
  • the method further includes:
  • a switching device directly connected to a device with specific service capabilities includes Fourth switching device;
  • the method further includes:
  • the fourth forwarding rule includes a unique identifier of the first specific service capability device directly connected to the fourth switching device, so that the fourth switching device And forwarding the received data to the device of the first specific service capability;
  • the fourth forwarding rule is a forwarding rule that is received by the fourth switching device before receiving the data that needs to be forwarded.
  • the method further includes:
  • Receiving a fifth forwarding rule request sent by the fifth switching device determining, according to the information of the data carried in the fifth forwarding rule request, a service chain path to the seventh switching device, where the fifth switching device is connected to the service chain a switching device directly connected to the second specific service capability device, the seventh switching device is a switching device directly connected to a third specific service capability device in the service chain, and the second specific service device and the third
  • the specific service device is a specific service device directly adjacent in the service chain;
  • the service chain path is to implement the data forwarding exchange according to the path of the second specific service device to the third specific service device a sequence of devices, a sequence represented by a unique identifier of a forwarding path between the switching devices;
  • a fifth forwarding rule for forwarding the data to the fifth switching device, so that the fifth switching device encapsulates the data including the information of the service chain path, and sends the data to the seventh switching device, or Sending to the sixth switching device on the path of the service chain, so that the sixth switching device forwards the data according to the service chain path information and the sixth forwarding rule, where the sixth forwarding rule is Receiving, by the sixth switching device, the data including the service chain path information, and enabling the sixth switching device to forward the data to other switching devices on the service chain path according to the information of the service chain path
  • the sixth switching device is a switching device between the fifth switching device and the seventh switching device on the fifth path.
  • the embodiment of the present invention further provides a data forwarding method in a software-defined network SDN, including:
  • the first switching device requests a forwarding rule from the control device according to the received data
  • the first switching device receives the first forwarding rule returned by the control device, and encapsulates the data including the first path information according to the first forwarding rule to be sent to the second directly connected to the first switching device.
  • the switching device the information of the first path is a sequence represented by a unique identifier of a forwarding path between switching devices according to a sequence of switching devices that implement the data forwarding on a first path that forwards the data;
  • the second switching device receives the data sent by the first switching device, and the second switching device directly connects to the second switching device according to the information about the first path and the second forwarding rule.
  • the switching device sends the data, the second forwarding rule is received by the second switching device before receiving the data, and the second switching device is capable of according to the information of the first path and the
  • the second forwarding rule forwards the data to a switching device directly connected to the second switching device, and the switching device directly connected to the second switching device is a switching device on the first path.
  • the method further includes:
  • the second switching device Transmitting, by the second switching device, the information of the first path to a switching device directly connected to the second switching device, or the second switching device, the first path and the second switching device
  • the information of the second path of the forwarding path between the directly connected switching device and the nth switching device is sent to the switching device directly connected to the second switching device, where the information of the second path is used to implement the data forwarding.
  • the sequence of switching devices on the path represented by a sequence of unique identifiers of forwarding paths between switching devices, where n is an integer and greater than or equal to 3.
  • the second forwarding rule is generated after the second switching device establishes a topological relationship with a switching device directly connected to the switching device or after establishing a topological relationship.
  • the second forwarding rule including the second forwarding rule is a forwarding rule that can repeatedly forward the data including the path information according to the path information.
  • the method further includes:
  • the i-th switching device receives the i-th path information and the data sent by the i-th switching device, where the i-th path information is based on the i-th switching device to the n-th switching device that implements the data forwarding a sequence sequentially represented by a unique identifier of a forwarding path between switching devices; wherein i is an integer and greater than or equal to 3;
  • the i-th switching device Transmitting, by the i-th switching device, the data and the i-th path information to the i+1th switching device according to the (i-1th) path information, where the i-th path information is according to the implementation of the data forwarding a sequence of the first i+1 switching device to the nth switching device, and a sequence represented by a unique identifier of the forwarding path between the switching devices;
  • the i-th switching device, the i-th switching device, and the (i+1)th switching device are switching devices on the first path.
  • the method further includes:
  • the sending, by the ith switching device, the data and the ith path information to the (i+1)th switching device according to the (i-1)th path information specifically includes:
  • the i-th switching device sends the data and the i-th path information to the (i+1)th switching device by using an egress port of the i-th switching device.
  • the first path information, the second path information, and the ith path information are multi-protocol label switching MPLS label nested encapsulation, an MPLS label header fills the forwarding path unique identifier of a switching device.
  • the unique identifier of the forwarding path between the switching devices is a unique identifier of the switching device, a unique interface identifier between the switching device and the switching device directly connected thereto, or a unique identifier of the link between the switching device and the switching device directly connected thereto.
  • the first switching device, the second switching device, and the third switching device are members of the same multicast group, where the third switching device forwards the multicast group member through two or more paths.
  • a data exchange device the data sent by the members of the multicast group to other members can be received by other members of the multicast group;
  • the method further includes:
  • a third forwarding rule that includes a multicast group identifier, so that the third switching device encapsulates the path information of the path to the next aggregation switching device according to the third forwarding rule.
  • the data is sent and sent;
  • the path information of the path to the next aggregation switching device is a sequence represented by a unique identifier of the forwarding path between the switching devices according to the sequence of the switching devices that implement data forwarding; the next aggregation switching device
  • the switching device that forwards the data to the multicast group member, and the first switching device from the third switching device to the multicast group member forwards data to the multicast group member through two or more paths.
  • the method further includes:
  • the fifth switching device sends a fifth forwarding rule request to the control device, and receives a service chain path that is returned by the control device to the seventh switching device, where the fifth switching device is the second specific to the service chain.
  • a switching device directly connected to the service capability device the seventh switching device a switching device directly connected to a third specific service capability device in the service chain, the second specific service device and the third specific service device being specific service devices directly adjacent to the service chain,
  • the service chain path is a sequence between the switching devices that implement the data forwarding according to the path from the second specific service device to the third specific service device, and the unique identifier of the forwarding path between the switching devices is used.
  • the service chain is a service sequence formed by a device having a specific service capability in the SDN, and a device having a specific service capability in the service chain has an identifier that uniquely identifies the device, and the service sequence is a service a sequence of unique identifiers of devices having specific service capabilities;
  • the fifth switching device encapsulates the data and the service chain path information and forwards the data to the seventh switching device or the sixth switching device on the service chain path;
  • the sixth switching device forwards the data according to the service chain path information and the sixth forwarding rule, where the sixth forwarding rule is that the sixth switching device receives the data including the service chain path information. Received previously; wherein the sixth switching device is a switching device between the fifth switching device and the seventh switching device on the fifth path.
  • the embodiment of the present invention further provides a control device in a software-defined network SDN, including: the control device includes a network communication unit, a control message processing unit, a forwarding path determining unit, and a forwarding rule management unit;
  • the network communication unit is configured to receive a first forwarding rule request sent by the first switching device in the SDN, and send the first forwarding rule request to the control message processing unit;
  • the control message processing unit is configured to parse the first forwarding rule request, send the parsed first forwarding rule request to the forwarding path determining unit, and determine the first determined by the forwarding path determining unit
  • the information of the path and the first forwarding rule generated by the forwarding rule management unit are sent to the first switching device by the network communication unit, and the second forwarding rule generated by the forwarding rule management unit is used to communicate by using the network Sending, by the unit, the second switching device on the first path;
  • the information of the first path is a sequence represented by a unique identifier of a forwarding path between switching devices according to an order of switching devices on the first path, First road
  • the information of the path can be forwarded to the second switching device along with the data, so that the second switching device forwards the data according to the information of the first path and the second forwarding rule.
  • the forwarding path determining unit is configured to determine, according to the parsed first forwarding rule request sent by the control message determining unit, the first data forwarding corresponding to the data information carried in the first forwarding rule request path;
  • the forwarding rule management unit is configured to generate the first forwarding rule and the second forwarding rule, where the second forwarding rule is received by the second switching device before receiving the data, and can And causing the second switching device to forward the data to the switching device directly connected to the second switching device on the first path according to the information of the first path.
  • the second forwarding rule is generated after the second switching device establishes a topological relationship with the switching device directly connected to the second switching device, or after establishing a topological relationship, the second The forwarding rule is a forwarding rule that repeatedly forwards data including the path information according to the received path information.
  • the unique identifier of the forwarding path between the switching devices is The unique identifier of the switching device, the unique interface identifier between the switching device and the switching device directly connected to it, or the unique identifier of the link between the switching device and the switching device directly connected to it.
  • the information of the first path is nested in a multi-protocol
  • the label switching MPLS message is sent to the first switching device.
  • control device further includes an identity management unit and a topology management unit:
  • the identifier management unit is configured to allocate and reclaim a unique identifier of a forwarding path between the switching devices in the SDN;
  • the topology management unit is configured to update network topology information of the SDN according to the transformation of the SDN network topology
  • the forwarding path determining unit determines the parsing sent by the unit according to the network topology information recorded in the topology management unit and the unique identifier of the forwarding path between the switching devices allocated by the identifier management unit.
  • the first forwarding rule request determines a first path forwarded to the data information carried in the first forwarding rule request.
  • control device further includes a multicast group management unit, in combination with any one of the third aspect to the fourth possible implementation manner of the third aspect,
  • the multicast group management unit is configured to allocate a multicast group identifier to the multicast group in the SDN, where the multicast group identifier uniquely identifies a multicast group, and the multicast group includes at least two multicast groups. Member, data sent by one member of a multicast group can be received by other members of the multicast group.
  • the forwarding rule management unit is further configured to send, by the third switching device, the identifier that includes the multicast group identifier.
  • the third forwarding rule is configured to enable the third switching device to encapsulate the data of the path information of the path to the next aggregation switching device according to the third forwarding rule, and send the path to the path of the next aggregation switching device.
  • the path information is a sequence represented by a unique identifier of a forwarding path between switching devices according to a sequence of switching devices that implement data forwarding; the third switching device is a switching device directly connected to a member of the multicast group.
  • the third switching device is a switching device that forwards data to the multicast group member through two or more paths; the next aggregation switching device is a path for forwarding the data to a multicast group member, from the third The switching device that switches the device to the multicast group member to forward data to the multicast group member through two or more paths.
  • control device in combination with any one of the third aspect to the fourth possible implementation manner of the third aspect, the control device further includes:
  • a service chain setting unit configured to set a service chain, wherein the service chain is specific to the SDN a service sequence formed by the device of the service capability, and assigning a device uniquely identifying the device to the device having the specific service capability in the service chain;
  • the forwarding rule management unit is further configured to generate a fourth forwarding rule and send the fourth forwarding rule to the fourth switching device, where the fourth forwarding rule includes a unique identifier of the first specific service capability device directly connected to the fourth switching device. And causing the fourth switching device to forward the received data to the device of the first specific service capability; the fourth forwarding rule is a forwarding rule that is received by the fourth switching device before receiving the data that needs to be forwarded.
  • the fourth switching device is a switching device in the service chain that is directly connected to a device having a specific service capability.
  • the network communications unit is further configured to receive, by the fifth switching device, Five forwarding rule requests;
  • the control message processing unit is further configured to parse the fifth forwarding rule request, and send the parsed fifth forwarding rule request to the forwarding path determining unit;
  • the forwarding path determining unit is further configured to determine, according to the parsed fifth forwarding rule request sent by the control message determining unit, the service chain path to the seventh switching device, where the fifth switching device is a switching device directly connected to a second specific service capability device in the service chain, where the seventh switching device is a switching device directly connected to a third specific service capability device in the service chain, and the second specific service device Said third specific service device is a specific service device directly adjacent in said service chain; said service chain path is implemented on the path of said second specific service device to said third specific service device a sequence of forwarding switching devices, a sequence represented by a unique identifier of a forwarding path between the switching devices;
  • the forwarding rule management unit is further configured to send a fifth forwarding rule to the fifth switching device, so that the fifth switching device encapsulates the data including the information of the service chain path, and sends the data to the seventh exchange.
  • the device is sent to the sixth switching device on the service chain path, so that the sixth switching device forwards the data according to the service chain path information and the sixth forwarding rule, where the sixth forwarding rule is Receiving, by the sixth switching device, the service link
  • the data of the information of the path is received before, and the sixth switching device can forward the data to other switching devices on the service chain path according to the service chain path information; wherein the sixth switching device is A switching device between the fifth switching device and the seventh switching device on the fifth path.
  • the embodiment of the present invention further provides a data forwarding system in a software-defined network SDN, including a first switching device and a second switching device, where the first switching device is directly connected to the second switching device.
  • the first switching device is configured to request a forwarding rule from the control device according to the received data, receive a first forwarding rule returned by the control device, and encapsulate the first path information according to the first forwarding rule.
  • the data is sent to the second switching device, and the information of the first path is a sequence of forwarding paths between the switching devices according to the sequence of the switching devices that implement the data forwarding on the first path of forwarding the data. The sequence represented;
  • the second switching device is configured to receive the data sent by the first switching device, and the second switching device directly connects to the second switching device according to the information about the first path and the second forwarding rule.
  • the switching device sends the data, the second forwarding rule is received by the second switching device before receiving the data, and the second switching device is capable of according to the information of the first path and the
  • the second forwarding rule forwards the data to a switching device directly connected to the second switching device, and the switching device directly connected to the second switching device is a switching device on the first path.
  • the second switching device is further configured to send information about the first path to a switching device directly connected to the second switching device, or Transmitting, by the second switching device, the information of the second path of the forwarding path between the switching device directly connected to the second switching device and the second switching device in the first path to the second switching device Connected switching devices, the information of the second path is a sequence of switching devices on the path for implementing the data forwarding, and a sequence represented by a unique identifier of a forwarding path between switching devices, where n is an integer and is greater than or equal to 3 .
  • the second forwarding rule in the second possible implementation manner of the fourth aspect, in combination with any one of the first possible implementation manners of the fourth aspect to the fourth aspect, is in the second The second forwarding rule that includes the second forwarding rule is a forwarding rule that can repeatedly forward data including the path information according to the path information, when the switching device establishes a topological relationship with the directly connected switching device or after the topology relationship is established. .
  • the data forwarding system further includes an i-th switching device, An i-th switching device and an i+1th switching device, where the i-th switching device, the i-th switching device, and the (i+1)th switching device are switching devices on the first path;
  • the i-th switching device is configured to receive the i-th path information and the data sent by the i-th switching device, where the i-th path information is according to the foregoing a sequence of the i-switching device to the n-th switching device, a sequence represented by a unique identifier of the forwarding path between the switching devices; wherein i is an integer and greater than or equal to 3; and according to the i-th path information, to the The i+1 switching device sends the data and the i-th path information, where the i-th path information is in accordance with a sequence of the i+1th switching device to the nth switching device that implements the data forwarding, and the switching device uses A sequence of unique identifier representations of the forwarding paths.
  • the i-th switching device sends the i+1th switching device according to the (i-1th path information)
  • the sending of the data and the ith path information specifically includes:
  • the i-th switching device sends the data and the i-th path information to the (i+1)th switching device by using an egress port of the i-th switching device.
  • the fourth aspect to the fourth aspect are combined
  • the first path information, the second path information, and the i-th path information are encapsulated by a multi-protocol label switching MPLS label, and an MPLS label header is filled with an exchange.
  • the forwarding path unique identifier of the device is a multi-protocol label switching MPLS label, and an MPLS label header is filled with an exchange.
  • the unique identifier of the forwarding path between the switching devices is a unique identifier of the switching device, a unique interface identifier between the switching device and the switching device directly connected thereto, or a unique identifier of the link between the switching device and the switching device directly connected thereto.
  • the first switching device, the second switching The device and the third switching device are members of the same multicast group, where the third switching device is a switching device that forwards data to the multicast group member through two or more paths, and members of the multicast group Data sent to other members can be received by other members of the multicast group;
  • the third switching device is configured to receive, by the control device, a third forwarding rule that includes a multicast group identifier, and encapsulate the path information of the path to the next aggregation switching device according to the third forwarding rule.
  • the data is sent and sent;
  • the path information of the path to the next aggregation switching device is a sequence represented by a unique identifier of the forwarding path between the switching devices according to the sequence of the switching devices that implement data forwarding; the next aggregation switching device
  • the switching device that forwards the data to the multicast group member, and the first switching device from the third switching device to the multicast group member forwards data to the multicast group member through two or more paths.
  • the data forwarding system in the SDN further includes a fifth exchange, in combination with any one of the fourth aspect to the sixth possible implementation manner of the fourth aspect a device, a sixth switching device, and a seventh switching device;
  • a fifth switching device configured to send a fifth forwarding rule request to the control device, and receive a service chain path that is returned by the control device to the seventh switching device, where the fifth switching device Is a switching device directly connected to the second specific service capability device in the service chain, where the seventh switching device is a switching device directly connected to a third specific service capability device in the service chain, and the second specific service is
  • the device and the third specific service device are specific service devices directly adjacent to the service chain, and the service chain path is implemented according to the path of the second specific service device to the third specific service device a sequence of the data forwarding of the switching devices, a sequence represented by a unique identifier of the forwarding path between the switching devices;
  • the service chain is a service sequence formed by the device having the specific service capability in the SDN,
  • a device having a specific service capability in a service chain has an identifier that uniquely identifies the device, and the service sequence is a sequence that is a combination of the unique identifiers of the devices having the specific service capabilities
  • the fifth switching device forwards the data and the service chain path information to the seventh switching device or the sixth switching device on the service chain path;
  • the sixth switching device is configured to forward the data according to the service chain path information and the sixth forwarding rule, where the sixth forwarding rule is that the sixth switching device receives the path including the service chain The data of the information is previously received; wherein the sixth switching device is a switching device between the fifth switching device and the seventh switching device on the fifth path.
  • the data forwarding system in the SDN further includes a control device, in combination with any one of the fourth aspect to the eighth possible implementation manner of the fourth aspect,
  • the control device includes a network communication unit, a control message processing unit, a forwarding path determining unit, and a forwarding rule management unit;
  • the network communication unit is configured to receive a first forwarding rule request sent by the first switching device, and send the first forwarding rule request to the control message processing unit;
  • the control message processing unit is configured to parse the first forwarding rule request, send the parsed first forwarding rule request to the forwarding path determining unit, and determine the first determined by the forwarding path determining unit.
  • the information of the path and the first forwarding rule generated by the forwarding rule management unit are sent by the network communication unit to the first switching device, and the second forwarding rule generated by the forwarding rule management unit is used by the network communication unit.
  • the information of the first path is a sequence represented by a unique identifier of a forwarding path between switching devices according to an order of switching devices on the first path, and information of the first path can be Forwarding the data to the second switching device, so that the second switching device forwards the data according to the information of the first path and the second forwarding rule;
  • the forwarding path determining unit is configured to determine, according to the parsed first forwarding rule request sent by the control message determining unit, the first data forwarding corresponding to the data information carried in the first forwarding rule request path;
  • the forwarding rule management unit is configured to generate the first forwarding rule and the second forwarding rule.
  • control device further includes a multicast group management unit
  • the multicast group management unit is configured to allocate a multicast group identifier to the multicast group in the SDN, where the multicast group identifier uniquely identifies a multicast group, and the multicast group includes at least two multicast groups. Member, data sent by one member of a multicast group can be received by other members of the multicast group.
  • the forwarding rule management unit is further configured to send, to the third switching device, the identifier that includes the multicast group identifier. a third forwarding rule, so that the third switching device encapsulates the data of the path information of the path to the next aggregation switching device according to the third forwarding rule; and the path to the next aggregation switching device
  • the path information is a sequence represented by a unique identifier of a forwarding path between switching devices according to a sequence of switching devices that implement data forwarding;
  • the third switching device is a switching device directly connected to members of the multicast group,
  • the third switching device is a switching device that forwards data to the multicast group member by using two or more paths;
  • the next aggregation switching device is a path for forwarding the data to a multicast group member, where the The switching device that forwards data from the three switching devices to the members of the multicast group to the multicast group members through two or more paths
  • control device further includes:
  • a service chain setting unit configured to set a service chain, where the service chain is a service sequence formed by a device having a specific service capability in the SDN, and assigning a unique identifier to a device having a specific service capability in the service chain. Identification of the equipment;
  • the forwarding rule management unit is further configured to generate a fourth forwarding rule and send the fourth forwarding rule to the fourth switching device, where the fourth forwarding rule includes a unique identifier of the first specific service capability device directly connected to the fourth switching device. And causing, by the fourth switching device, to forward the received data to the device of the first specific service capability; the fourth forwarding rule is a forwarding that is received by the fourth switching device before receiving the data that needs to be forwarded.
  • the fourth switching device is a switching device in the service chain that is directly connected to a device having a specific service capability.
  • the network communications unit is further configured to receive a fifth forwarding rule request sent by the fifth switching device;
  • the control message processing unit is further configured to parse the fifth forwarding rule request, and send the parsed fifth forwarding rule request to the forwarding path determining unit;
  • the forwarding path determining unit is further configured to determine, according to the parsed fifth forwarding rule request sent by the control message determining unit, the service chain path to the seventh switching device, where the fifth switching device is a switching device directly connected to a second specific service capability device in the service chain, where the seventh switching device is a switching device directly connected to a third specific service capability device in the service chain, and the second specific service device Said third specific service device is a specific service device directly adjacent in said service chain; said service chain path is implemented on the path of said second specific service device to said third specific service device a sequence of forwarding switching devices, a sequence represented by a unique identifier of a forwarding path between the switching devices;
  • the forwarding rule management unit is further configured to send a fifth forwarding rule to the fifth switching device, so that the fifth switching device encapsulates the data that includes the service chain path information, and sends the data to the Transmitting, by the sixth switching device, the sixth switching device to the sixth switching device on the service chain path, so that the sixth switching device forwards the data according to the service chain path information and a sixth forwarding rule, where
  • the sixth forwarding rule is that the sixth switching device receives the data that includes the service chain path information, and enables the sixth switching device to forward the data according to the service chain path information.
  • the method and device provided by the embodiment of the present invention, by determining a first path for forwarding data corresponding to the data information, so that the first switching device encapsulates the data including the information of the first path and sends the data to the first
  • the second switching device forwards the data according to the information of the first path and the second forwarding rule, where the second forwarding rule is that the second switching device receives the data Previously received
  • the second switching device can receive forwarding rules for data forwarding before receiving data, and implement data forwarding according to the received data and path information.
  • the control device does not need to send a forwarding rule every time the data is forwarded to the second switching device, and the second switching device does not need to receive the forwarding rule every time the data is forwarded, which saves the second switching device from saving and applying the forwarding rule.
  • the resource consumption of the control device also saves the resource consumption of the control device when the forwarding rule is delivered, and improves the utilization of the device, and also saves the bandwidth occupied by the control device and the switching device due to multiple delivery of the forwarding rule.
  • FIG. 1 is a schematic flowchart of a data forwarding method in an SDN according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another data forwarding method in an SDN according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a network architecture implemented by a SDN data forwarding method in a data center according to an embodiment of the present invention
  • FIG. 4 is a schematic flowchart of a specific implementation of a method for implementing data forwarding in an SDN according to an embodiment of the present invention
  • FIG. 5 is a flowchart of a processing method when a data center network topology changes according to an embodiment of the present invention
  • FIG. 7 is a network architecture diagram of an implementation manner of implementing data or service packet forwarding by a multicast group according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of an implementation manner of a tenant deploying a service chain in a data center according to an embodiment of the present invention
  • FIG. 9 is a schematic structural diagram of a control device in an SDN according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of another implementation manner of a control device in an SDN according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of a data forwarding system in an SDN according to an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of another implementation manner of a data forwarding system in an SDN according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a data forwarding method in an SDN according to an embodiment of the present invention, including:
  • Step 100 Receive a first forwarding rule request sent by the first switching device in the SDN, and determine, according to the data information carried in the first forwarding rule request, a first path for forwarding data corresponding to the data information.
  • Step 102 Send a first forwarding rule for forwarding the data to the first switching device, so that the first switching device encapsulates the data including the information of the first path and sends the data to the second switching device.
  • the information of the first path is a sequence represented by a unique identifier of a forwarding path between the switching devices according to a sequence of the switching devices that implement the data forwarding on the first path, so that the second switching device is configured according to And the second forwarding rule is received by the second switching device before receiving the data and enables the second exchange The device forwards the data to the switching device directly connected to the second switching device on the first path according to the information of the first path.
  • the method of the foregoing method is configured to: determine, by the first switching device, the first path that forwards data corresponding to the data information, so that the first switching device encapsulates the data that includes the information of the first path, and sends the data to the second switching device, so that the first The second switching device forwards the data according to the information of the first path and the second forwarding rule, where the second forwarding rule is received by the second switching device before receiving the data, so that the The second switching device can receive the forwarding rule for data forwarding before receiving the data, and implement data forwarding according to the received data and the path information.
  • the control device does not need to send a forwarding rule every time the data is forwarded to the second switching device, which saves the resource consumption of the control device when the forwarding rule is sent, improves the utilization of the device, and saves the control device and the switching device.
  • the bandwidth occupied by the forwarding rule is sent multiple times.
  • the above steps 100 and 102 can be implemented by the control device in the controller cluster in FIG.
  • the first switching device may be the virtual switch 1 in FIG. 3
  • the second switching device may be the access switch 1 in FIG.
  • the second forwarding rule is generated after the second switching device establishes a topological relationship with the switching device directly connected to the second switching device, or after establishing a topology relationship, where the second forwarding rule is received according to the receiving The path information to the forwarding rule that repeatedly forwards the data including the path information.
  • the forwarding rules between the second switching device and the switching device directly connected thereto should change accordingly. Therefore, after the second switching device establishes a topological relationship with the directly connected switching device or establishes a topological relationship, the second forwarding rule is generated and sent to the second switching device, so that the second switching device performs data according to the second forwarding rule. Forwarding can be forwarded according to the latest network topology, which improves the accuracy of data forwarding while saving equipment resource consumption.
  • the unique identifier of the forwarding path between the switching devices is a unique identifier of the switching device, a unique interface identifier between the switching device and the switching device directly connected thereto, or the switching device directly connected thereto A unique identifier for the link between the switching devices.
  • the information of the first path may be nested in the multi-protocol label switching MPLS message and sent to the first switching device.
  • the multicast group identifier is an identifier that uniquely identifies the multicast group
  • the multicast group includes at least two multicast group members
  • the switching device that implements data forwarding between the multicast group members includes Describe the first switching device and the second switching device
  • the first forwarding rule and the second forwarding rule further include the multicast group identifier.
  • the switching device that implements data forwarding between the members of the multicast group further includes a third switching device, where the third switching device exchanges data to the multicast group member through two or more paths.
  • the method further includes:
  • a third forwarding rule that includes a multicast group identifier, so that the third switching device encapsulates the path information of the path to the next aggregation switching device according to the third forwarding rule.
  • the data is sent and sent;
  • the path information of the path to the next aggregation switching device is a sequence represented by a unique identifier of the forwarding path between the switching devices according to the sequence of the switching devices that implement data forwarding; the next aggregation switching device
  • the switching device that forwards the data to the multicast group member, and the first switching device from the third switching device to the multicast group member forwards data to the multicast group member through two or more paths.
  • the third switching device is a switching device where the aggregation point is located in the multicast group, and the third switching device has more than two paths to reach the members of the multicast group.
  • the foregoing method sends a third forwarding rule to the switching device where the aggregation point is located, so that the third switching device encapsulates the data that includes path information of two or more paths and sends the data, which can save device resources in the SDN network.
  • the third switching device is the access switch 1 shown in FIG. 7, the next aggregation switching device is the aggregation switch 2; and the forwarding of the multicast group data packet can be implemented by referring to the embodiment shown in FIG. achieve.
  • the data forwarding method in the SDN provided by the embodiment of the present invention further includes:
  • a switching device directly connected to a device having a specific service capability includes a fourth switching device;
  • the method further includes:
  • the fourth forwarding rule includes a unique identifier of the first specific service capability device directly connected to the fourth switching device, so that the fourth switching device And forwarding the received data to the device of the first specific service capability;
  • the fourth forwarding rule is a forwarding rule that is received by the fourth switching device before receiving the data that needs to be forwarded.
  • the method further includes:
  • Receiving a fifth forwarding rule request sent by the fifth switching device determining, according to the information of the data carried in the fifth forwarding rule request, a service chain path to the seventh switching device, where the fifth switching device is connected to the service chain a switching device directly connected to the second specific service capability device, the seventh switching device is a switching device directly connected to a third specific service capability device in the service chain, and the second specific service device and the third
  • the specific service device is a specific service device directly adjacent in the service chain;
  • the service chain path is to implement the data forwarding exchange according to the path of the second specific service device to the third specific service device a sequence of devices, a sequence represented by a unique identifier of a forwarding path between the switching devices;
  • a fifth forwarding rule for forwarding the data to the fifth switching device, so that the fifth switching device encapsulates the data including the information of the service chain path, and sends the data to the seventh switching device, or Sending to the sixth switching device on the path of the service chain, so that the sixth switching device forwards the data according to the service chain path information and the sixth forwarding rule, where the sixth forwarding rule is Receiving, by the sixth switching device, the data that includes the service chain path information, and enabling the sixth switching device to forward the data to other switching devices on the service chain path according to the information of the service chain path;
  • the sixth switching device is a switching device between the fifth switching device and the seventh switching device in the fifth path. Taking the service chain shown in FIG.
  • the fifth switching device in the embodiment of the present invention may access the switch 1
  • the seventh switching device may be the access switch 3
  • the sixth switching device may be the core switch.
  • FIG. 8 For the forwarding of data packets in the service chain scenario, reference may be made to the embodiment shown in FIG. 8.
  • the fifth forwarding device is configured to forward the data to the fifth switching device, and the resource utilization of the network device in the SDN can be improved in the application service chain scenario.
  • the data is forwarded according to the order of the specific service devices in the service chain.
  • the switching device on the forwarding path for example, the sixth switching device in the foregoing implementation manner, can be based on Received data
  • the previously received forwarding rule forwards the data, and does not need to obtain the forwarding rule every time the data is received, which saves the resource overhead of the control device, and improves the resource utilization of the device in the SDN while implementing the service chain service.
  • FIG. 2 is a schematic flowchart of another data forwarding method in an SDN according to an embodiment of the present invention, including:
  • Step 200 The first switching device requests a forwarding rule from the control device according to the received data.
  • Step 202 The first switching device receives the first forwarding rule returned by the control device, and encapsulates the data including the first path information to be directly connected to the first switching device according to the first forwarding rule.
  • the second switching device, the information of the first path is a sequence represented by a unique identifier of a forwarding path between switching devices according to a sequence of switching devices that implement the data forwarding on a first path that forwards the data;
  • Step 204 The second switching device receives the data sent by the first switching device, and the second switching device sends the data to the second switching device according to the information about the first path and the second forwarding rule.
  • the directly connected switching device sends the data, the second forwarding rule is received by the second switching device before receiving the data, and the second switching device is capable of according to the information of the first path and
  • the second forwarding rule forwards the data to a switching device directly connected to the second switching device, and the switching device directly connected to the second switching device is a switching device on the first path.
  • the first switching device in the method shown in Figure 2 may be the virtual switch 1 in the embodiment shown in Figure 3
  • the second switching device may be the access switch 1 in the embodiment shown in Figure 3
  • the third switching device may be
  • the specific implementation of the aggregation switch 1 in the embodiment shown in FIG. 3 reference may be made to the implementation shown in FIG. 3.
  • the method of the first switching device receives the first forwarding rule returned by the control device, and encapsulates the data including the first path information according to the first forwarding rule, and sends the data directly to the first switching device.
  • a second switching device where the second switching device forwards the data according to the information of the first path and a second forwarding rule, where the second forwarding rule is The second switching device receives the data before receiving the data, so that the second switching device can receive a forwarding rule for data forwarding before receiving the data, and implement data forwarding according to the received data and path information.
  • the second switching device does not need to obtain a forwarding rule once after receiving the data, that is, it does not need to obtain a flow table for data forwarding every time the data is received, and the second forwarding rule can be repeatedly used to implement data forwarding, thereby saving the data.
  • the resource consumption caused by saving and using the forwarding rule improves the utilization of the switching device.
  • the rule can bring huge resources such as chips.
  • the solution provided in this embodiment can save resources of the switching device, so that the switching device in the data center network can implement a large amount of data forwarding without requiring high performance. The competitiveness of switching equipment.
  • the second switching device may send information about the first path to a switching device directly connected to the second switching device, or the second The switching device sends information about the second path of the forwarding path between the switching device directly connected to the second switching device on the first path to the nth switching device to the directly connected to the second switching device.
  • the device, the information of the second path is a sequence of the switching devices on the path for implementing the data forwarding, and is represented by a unique identifier of the forwarding path between the switching devices, where n is an integer and is greater than or equal to 3.
  • the second switching device may forward all the information of the first path to the next switching device (the third switching device) that implements data forwarding on the first path directly connected thereto, as long as the first path is After receiving the information of the first path, the switching device can identify the next switching device to be forwarded according to the unique identifier that implements data forwarding between the switching devices; or the second switching device receives the first After the path information, the information of the second switching device in the path information is stripped, and the path information of the third switching device to the nth switching device on the first path is sent to the third switching device.
  • the second forwarding rule is generated after the second switching device establishes a topological relationship with the switching device directly connected to the second switching device, or after establishing a topology relationship, and includes the second forwarding rule.
  • the second forwarding rule is a forwarding rule that can repeatedly forward the data including the path information according to the path information.
  • the method further includes:
  • the i-th switching device receives the i-th path information and the data sent by the i-th switching device, where the i-th path information is based on the i-th switching device to the n-th switching device that implements the data forwarding a sequence sequentially represented by a unique identifier of a forwarding path between switching devices; wherein i is an integer and greater than or equal to 3;
  • the i-th switching device Transmitting, by the i-th switching device, the data and the i-th path information to the i+1th switching device according to the (i-1th) path information, where the i-th path information is according to the implementation of the data forwarding a sequence of the first i+1 switching device to the nth switching device, and a sequence represented by a unique identifier of the forwarding path between the switching devices;
  • the i-th switching device, the i-th switching device, and the (i+1)th switching device are switching devices on the first path.
  • the sending, by the ith switching device, the data and the ith path information to the (i+1)th switching device according to the (i-1)th path information specifically includes:
  • the i-th switching device sends the data and the i-th path information to the (i+1)th switching device by using an egress port of the i-th switching device.
  • the ith switching device may be the core switch in the embodiment shown in FIG. 3, and the i-1th switching device and the i+1th switching device are the aggregation switch 1 and the aggregation switch 2, respectively.
  • the foregoing method implements the switching device on the data forwarding path, and can implement the data according to the forwarding rule received before receiving the data to be forwarded and the path information of the data forwarding.
  • the forwarding does not need to obtain a forwarding rule every time data is forwarded, which saves the resource overhead of the control device and the switching device, and improves the utilization of resources in the SDN.
  • the first path information, the second path information, and the ith path information are encapsulated by a multi-protocol label switching MPLS label, and an MPLS label header fills a forwarding path unique identifier of a switching device.
  • the unique identifier of the forwarding path between the switching devices is a unique identifier of the switching device, a unique interface identifier between the switching device and the switching device directly connected thereto, or a unique identifier of the link between the switching device and the switching device directly connected thereto.
  • the method of the embodiment of the present invention further includes:
  • a third forwarding rule that includes a multicast group identifier, so that the third switching device encapsulates the path information of the path to the next aggregation switching device according to the third forwarding rule.
  • the data is sent and sent;
  • the path information of the path to the next aggregation switching device is a sequence represented by a unique identifier of the forwarding path between the switching devices according to the sequence of the switching devices that implement data forwarding; the next aggregation switching device
  • the switching device that forwards the data to the multicast group member, and the first switching device from the third switching device to the multicast group member forwards data to the multicast group member through two or more paths.
  • the third switching device can be the aggregation point switch in FIG. 7, for example, the access switch 1 or the aggregation.
  • the third switching device when the first switching device, the second switching device, and the third switching device are members of the same multicast group, and the third switching device passes the two or more paths to the multicast group.
  • the third switching device encapsulates the information of the two or more paths to the switching device on the forwarding path when the multicast group member forwards the data, so as to avoid the large number of forwarding rules in the multicast group data forwarding.
  • the consumption of device resources has increased the utilization of device resources in SDN.
  • the method provided by the embodiment of the present invention can also achieve the effect of improving device resource utilization in the SDN.
  • the service chain in the embodiment of the present invention is a service sequence formed by a device having a specific service capability in the SDN, where a device having a specific service capability in the service chain has an identifier that uniquely identifies the device, and the service sequence is a service A sequence of unique identifiers for devices with specific service capabilities.
  • the foregoing method further includes: the fifth switching device is a switching device directly connected to a second specific service capability device in the service chain, and the fifth switching device is to the control device Sending a fifth forwarding rule request, and receiving a service chain path that is returned by the control device to the seventh switching device, where the seventh switching device is a switching device directly connected to the third specific service capability device in the service chain,
  • the second specific service device and the third specific service device are specific service devices directly adjacent to the service chain, and the service chain path is according to the second specific service device to the third specific device a sequence between the switching devices that implement the data forwarding on the path of the service device, and a sequence represented by a unique identifier of the forwarding path between the switching devices;
  • the fifth switching device encapsulates the data and the service chain path information and forwards the data to the seventh switching device or the sixth switching device on the service chain path;
  • the sixth switching device forwards the data according to the service chain path information and the sixth forwarding rule, where the sixth forwarding rule is that the sixth switching device receives the data including the service chain path information. Received previously; wherein the sixth switching device is a switching device between the fifth switching device and the seventh switching device on the fifth path.
  • the fifth switching device in the embodiment of the present invention may access the switch 1
  • the seventh switching device may be the access switch 3
  • the sixth switching device may be the core switch.
  • the fifth forwarding rule is obtained by the fifth switching device, so that the resource utilization of the network device in the SDN can be improved in the scenario of the application service chain.
  • the service chain is used. Forwarding data in the order of the specific service devices, and forwarding devices on the forwarding path in the data forwarding process, for example, the foregoing implementation manner
  • the sixth switching device can forward the data according to the forwarding rule received before receiving the data, and does not need to obtain the forwarding rule every time the data is received, thereby saving the resource overhead of the control device and implementing the service chain service. At the same time, the resource utilization of the devices in the SDN is improved.
  • FIG. 3 is a schematic diagram of a network architecture implemented by a DC (Data Center) in an SDN data forwarding method according to an embodiment of the present invention.
  • the access, aggregation, and core layers belong to the backbone network, which correspond to access, aggregation, and core switches.
  • An edge network is a virtual layer and is composed of a virtual switch. It is connected to the DC backbone network through an access switch.
  • the source and destination virtual hosts are respectively mounted on the virtual switches 1, 2, and the two communicate with each other across the DC backbone network. There is a data path between the source and destination hosts: virtual switch 1 - access switch 1 - aggregation switch 1 - core switch - aggregation switch 2 - access switch 2 - virtual switch 2.
  • the packet is sent from the source host, through virtual switch 1, interface 2, interface 5 out; access switch 1, interface 7 in, interface 4 out; through aggregation switch 1, interface 6 in, interface 3 out; Interface 5 is in, interface 9 is out; through aggregation switch 2, interface 8 is in, interface 7 is out; via access switch 2, interface 6 is in, interface 8 is out; via virtual switch 2, interface 3 is in, interface 1 is out; Arrived at the destination host to implement data packet transmission.
  • the source end or the destination end may be a mobile terminal (including but not limited to a notebook, a mobile phone, a tablet, a palmtop computer, a POS machine, an MP3, a navigator), and a fixed terminal (including but not limited to a desktop computer, a printer, a fax machine, and a number
  • a device such as a switch, a digital television, or a wireless access terminal; a virtual switch 1, an access switch 1, an aggregation switch 1, a core switch, an aggregation switch 2, an access switch 2, and a virtual switch 2 are all switching devices in the SDN.
  • FIG. 4 is a schematic flowchart of a specific implementation of a method for implementing data forwarding in an SDN according to an embodiment of the present invention. As shown in Figure 4:
  • Step 701 The SDN controller collects DC network topology information.
  • the SDN controller monitors the status of each switch and collects topology information of the DC network according to the connection relationship of each switch.
  • the SDN controller assigns a unique identifier to the switch for the forwarding path between switches.
  • the unique identifier of the distribution switch that is, the unique network identifier
  • the SDN controller assigns a unique identifier to the switch to distinguish other switches in the DC network or other types of objects that can have the network identifier.
  • the unique identifier can be used alone or in combination with other network identifiers to calibrate the packet forwarding path.
  • the network identifier assigned by the SDN controller to each forwarding device within the DC network is in the table shown in Table 1.
  • the virtual switch 1 obtains the network identifier 1
  • the access switch 1 obtains the network identifier 11
  • the aggregation switch 1 obtains the network identifier 21
  • the core switch obtains the network identifier 3
  • the aggregation switch 2 obtains the network identifier 22
  • the access switch 2 obtains the network identifier 12, which is virtualized.
  • Switch 2 obtains network identification 2.
  • the network topology update is triggered. For example, when the switch is disconnected from the SDN controller due to a fault or the like, the SDN controller will reclaim the unique identifier of the disconnected switch that has been allocated, and the recovered network identifier can be reassigned to other switches, or other network capable of possessing the network identifier. Type of object. If the interface of the switch is faulty, the SDN controller can retain the unique identifier of the switch even though the network topology is updated.
  • the network identifier of the switch is used as the unique identifier.
  • the link identifier is used as the unique identifier of the forwarding path, when the switch interface fails and the network topology changes, the corresponding link identifier should be adjusted accordingly.
  • the SDN controller When a new switch accesses the DC network, the SDN controller will exchange after identifying the switch. Packet Out LLDP packets, the switch broadcasts LLDP packets to all outbound interfaces. After receiving the LLDP packets, the neighboring switch will generate a PacketIn event to notify the SDN controller because there is no matching flow entry.
  • the SDN controller analyzes LLDP packet characteristics determine the network topology of the switch, that is, the neighboring switch and its outbound interface, and obtain the topology information of the SDN network after the topology relationship changes. Take the network architecture shown in Figure 3 as an example.
  • the DC network topology acquired by the SDN controller after the last topology change is shown in Table 2:
  • the virtual switch 1 is adjacent to the access switch 1 on the outbound interface 5, and the access switch 1 is adjacent to the virtual switch 1 and the aggregation switch 1 on the outbound interfaces 7, 4 respectively, and the aggregation switch 1 is adjacent to the access switch 1 on the outbound interfaces 6 and 3, respectively.
  • the virtual switch 1 may be the first switching device in the embodiment of the present invention
  • the access switch 1 may be the second switching device in the embodiment of the present invention.
  • Step 702 The SDN controller refreshes the active flow entry of the backbone switch according to the obtained DC network topology information.
  • the active flow entry is a service-independent flow entry that the SDN controller actively customizes and delivers according to the information collected by the SDN controller.
  • the switch that receives the active flow entry can directly forward data or service packets according to the active flow entry.
  • the data forwarding rule is delivered by using the flow table, and the controller sends the forwarding rule to the switch by sending the flow table to implement the delivery of the forwarding rule.
  • An active flow entry is a forwarding rule that is sent to the switch when the controller sends a forwarding rule to the switch. Taking the forwarding path between the switching devices in the SDN network as an example, the active flow entry delivered by the SDN controller meets the following characteristics:
  • the action is performed: the neighboring switch identifier is stripped from the packet, and the packet is sent to the outbound interface of the adjacent switch.
  • Table 3 shows a representation of active flow entries in the network architecture diagram shown in Figure 3:
  • the controller sends the active flow entry to the access switch 1 to the adjacent virtual switch 1 and the aggregation switch 1, and the aggregation switch 1 delivers the active flow to the adjacent access switch 1 and the core switch.
  • An active flow table that is delivered to the core switch to reach the adjacent aggregation switches 1 and 2.
  • the active switch entry to the adjacent core switch and the access switch 2 is delivered to the aggregation switch 2, and the active flow entry to the adjacent aggregation switch 2 and the virtual switch 2 is delivered to the access switch 2.
  • the active flow entry is refreshed, so that the active flow entry can be adjusted in time according to the network change, and the data or service packet can be forwarded in time.
  • the network topology change may be triggered by a switch abnormality, a switch interface abnormality, and a newly added switch.
  • the specific implementation process may be implemented by using the flow diagram shown in FIG. 5, and FIG. 5 is a data center network according to an embodiment of the present invention. The flow chart of the processing method when the topology changes, will not be described here.
  • Step 703 The source sends a packet to the directly connected switch.
  • the switch directly connected to the source end reports the PacketIn event to the SDN controller because there is no matching flow entry.
  • Step 704 The SDN controller analyzes the packet characteristics, and selects a forwarding path according to the current network topology.
  • the SDN controller can select an optimal forwarding path from among multiple forwarding paths. For example, the shortest or the lightest forwarding path can be selected.
  • Step 705 The SDN controller sends a passive flow entry to the switch directly connected to the source end.
  • the passive flow entry is a service-related flow entry that cannot be processed by the forwarding device (that is, the switch), and is forwarded to the SDN controller, and is passively customized and delivered; that is, the switching device sends the request to the switch.
  • the forwarding rule is sent to the switch according to the request of the switch.
  • the forwarding rule is sent to the switch through the passive flow entry.
  • the passive flow entry at the source meets the following characteristics:
  • the action is performed: the original packet is encapsulated to the forwarding path of the switch directly connected to the destination end, and the encapsulated packet is sent to the next hop-out interface.
  • the passive flow entry can be as shown in Table 4:
  • the passive flow entry indicates that the virtual switch 1 matches the original packet feature, and the original packet is encapsulated to the forwarding path of the virtual switch 2, and the encapsulated packet is sent to the interface 5; the virtual switch 2 is instructed to match the original report.
  • the text feature sends the original message to interface 1.
  • Table 4 shows the forwarding path of the encapsulation to the virtual switch 2, that is, the packet passes from the source end to the destination end through the virtual switch 1, the access switch 1, the aggregation switch 1, the core switch, the aggregation switch 2, the access switch 2, and the virtual switch 2 Corresponding to the network identifiers 1, 11, 21, 3, 22, 12, 2, respectively.
  • the unique identifier of the switch is used to calibrate the forwarding path between the switches, so that the forwarding path between the switches is unique, and a forwarding path can be uniquely identified by a sequence of labels labeled with the switch.
  • the forwarding path from the source to the destination can be expressed as: 1–11–21–3–22–12–2.
  • FIG. 6 is a visual representation of a forwarding path in the embodiment.
  • the SDN controller can be used to route the forwarding path to the switch directly connected to the source end by MPLS (Multiple Protocol Label Switching).
  • MPLS Multiple Protocol Label Switching
  • the MPLS label is between the second and third layers of the packet and supports multiple levels of nesting.
  • An MPLS label occupies 32 bits, as shown in Table 5:
  • the Label field occupies 20 bits and is used to mark the road sign to indicate the next hop forwarding device of the packet.
  • the Exp field occupies 3 bits and is used to mark the QoS to implement DC large Layer 2 network differential service.
  • the S field occupies 1 bit.
  • the bottom of the stack marks the last hop; the TTL field occupies 8 bits and is used to mark the label lifetime. Since the label only identifies the next hop of the message, it is always 1.
  • An MPLS header carries a road sign, and multiple MPLS headers are nested in an orderly manner, carrying a set of road signs. Then form a forwarding path.
  • the switch directly connected to the DC network and the source end presses the forwarding path selected by the SDN controller, and the road sign is pressed into the packet from the destination end to the source end.
  • the last hop road sign is pushed into the bottom of the stack, and the next hop road sign is pushed into the top of the stack. As shown in Table 6:
  • Table 6 is a schematic diagram of a packet encapsulating a forwarding path.
  • the virtual switch 2 is the last hop forwarding device of the packet, and its landmark is pushed into the packet at the bottom of the stack of the MPLS nested label. Since the encapsulation operation of the forwarding path is performed on the virtual switch 1, the virtual switch 1 knows that the next hop forwarding device of the packet is the access switch 1, so the first hop of the forwarding path is the next hop of the access switch 1.
  • the transmitting device aggregates switch 1, and its roadmap is pressed on the top of the stack.
  • the other forwarding device roadmaps are from the bottom of the stack to the top of the stack, which are the access switch 2 road sign, the aggregation switch 2 road sign, and the core switch road sign.
  • Step 706 The SDN controller sends a passive flow entry to the switch directly connected to the destination end.
  • Execution action Send the original packet to the destination outbound interface.
  • the SDN controller sends passive flow entries to the switch directly connected to the destination.
  • Table 7 shows the following:
  • the backbone switch of the DC network receives the active flow entry sent by the SDN controller. After receiving the passive flow entry sent by the SDN controller, the edge switch can forward the packet. Since the backbone switch receives the active flow entry, it does not need to send the flow table to the backbone switch every time the data is forwarded. That is, the active flow entry can be reused in subsequent data forwarding, reducing the backbone switch. The number of the flow table is reduced, which reduces the device resource usage of the SDN controller. The network bandwidth between the SDN controller and the backbone switch is also saved. At the same time, the backbone switch does not need to receive every data forwarding. The flow entry improves the resource utilization of the backbone switch.
  • the embodiment of the invention also provides an implementation manner for implementing data or service packet forwarding for a multicast group.
  • a multicast group is a group of multiple members that form a multicast group.
  • the data or service packets sent by a member in a multicast group can be received only by members in the multicast group.
  • the members of the multicast group can be mobile terminals (including but not limited to notebooks, mobile phones, tablets, PDAs, POS machines, MP3s, navigators), fixed terminals (including but not limited to desktops, printers, fax machines, and digital devices). , digital TV) or wireless access terminals and other equipment.
  • the multicast group has four members, which are connected to different switches, and the data is forwarded through the backbone switch of the DC network.
  • the data packet forwarding method in the multicast group is implemented in the multicast group. the way.
  • FIG. 7 it is a network architecture diagram of an implementation manner of implementing data or service packet forwarding by a multicast group according to an embodiment of the present invention.
  • the multicast group has four members: members 1, 2, 3, and 4, which are respectively connected to the DC network through the virtual switch 1, the access switch 1, the access switch 3, and the virtual switch 2.
  • a multicast group member sends and receives multicast packets across the DC backbone network.
  • Multicast group member 1 sends multicast packets to other members: multicast packets sent to member 2, through virtual switch 1, interface 2, interface 5, access switch 1, interface 7 in, interface 1 out
  • the multicast packet sent to member 3 passes through virtual switch 1, interface 2, interface 5, access switch 1, interface 7 in, interface 4 out, through aggregation switch 1, interface 6 in, interface 3 out
  • interface 5 is in, interface 9 is out, through aggregation switch 2, interface 8 is in, interface 4 is out, through access switch 3, interface 5 is in, interface 8 is out; multicast message is sent to member 4, Via virtual switch 1, interface 2 enters, interface 5 exits, accesses switch 1, interface 7 enters, interface 4 exits, through aggregation switch 1, interface 6 enters, interface 3 exits, through core switch, interface 5 enters, interface 9 Out, through the aggregation switch 2, the interface 8 is in, the interface 7 is out, through the access switch 2, the interface 6 is entered, the interface 8 is out, through the virtual switch 2, the interface 3 is entered, and the interface 1 is output.
  • Multicast group member 2 sends multicast packets to other members: the multicast packets sent to member 1 are connected to switch 1, interface 1 is incoming, interface 7 is out, virtual switch 1, interface 5 is entered, and interface 2 is output.
  • the multicast packet sent to member 3 passes through access switch 1, interface 1 is in, interface 4 is out, through aggregation switch 1, interface 6 is in, interface 3 is out, through core switch, interface 5 is in, interface 9 is out.
  • the interface 8 is in, the interface 4 is out, the access switch 3 is connected to the interface 5, and the interface 8 is output; the multicast packet sent to the member 4 is accessed through the switch 1, the interface 1 is entered, and the interface 4 is output.
  • the interface 6 enters, the interface 3 is out, through the core switch, the interface 5 enters, the interface 9 is out, the aggregation switch 2, the interface 8 enters, the interface 7 is out, the access switch 2, the interface 6 enters, the interface 8 out, through virtual switch 2, interface 3 into, interface 1 out.
  • Multicast group member 3 sends multicast packets to other members: the multicast packets sent to member 1 are accessed through access switch 3, interface 8 is entered, interface 5 is output, and through aggregation switch 2, interface 4 is entered, and interface 8 is output.
  • interface 9 is in, interface 5 is out, through aggregation switch 1, interface 3 is in, interface 6 is out, accessing switch 1, interface 4 is in, interface 7 is out, via virtual switch 1, interface is 5, interface 2 out;
  • the multicast group member 4 sends multicast packets to other members: the multicast packets sent to member 1 are transmitted through virtual switch 2, interface 1 is entered, interface 3 is output, and access switch 2 is connected to interface 8 and interface 6 is output.
  • interface 7 is in, interface 8 is out, through core switch, interface 9 is in, interface 5 is out, through aggregation switch 1, interface 3 is in, interface is out, via access switch 1, interface is 4, interface 7 out, through virtual switch 1, interface 5 in, interface 2 out; multicast packets sent to member 2, through virtual switch 2, interface 1 into, interface 3 out, access switch 2, interface 8 into, interface 6 out, through the aggregation switch 2, interface 7 into, interface 8 out, through the core switch, interface 9 into, interface 5 out, through the aggregation switch 1, interface 3 into, interface 6 out, through the access switch 1, interface 4 into Interface 1 is output; multicast packets are sent to member 3, through virtual switch 2, interface 1 is in, interface 3 is out, access switch 2, interface 8 is in, interface 6 is out, through aggregati
  • the forwarding of the data or the service packet between the members in the multicast group is performed on the basis of the active flow entry and the passive flow entry in the embodiment shown in FIG. 4, and further includes:
  • the SDN controller collects and updates multicast group information
  • the SDN controller collects multicast group information in the following three cases:
  • the new multicast group member sends a multicast group request to the multicast router.
  • the switch receiving the multicast group request reports the PacketIn event to the SDN controller because there is no flow entry sent by the SDN controller.
  • the SDN controller simulates the multicast router, analyzes the host to join the multicast group request, and updates the specified multicast group information
  • the SDN controller sends a join multicast group response to the switch that reports the PacketIn event;
  • the switch that reports the PacketIn event sends a join multicast group response to the member interface of the join multicast group.
  • the switch connected to the queried multicast group member reports the PacketIn event to the SDN controller because there is no matching flow entry.
  • the SDN controller analyzes the PacketIn event, analyzes the multicast group member to exit the multicast group request, and updates the specified multicast group information;
  • the SDN controller sends an exit multicast group response to the switch connected to the member that exits the multicast group;
  • the switch connected to the member that exits the multicast group sends an exit multicast group response to the member interface of the exiting multicast group.
  • the SDN controller periodically queries the multicast group member to directly exchange the PacketOut multicast group query request;
  • the switch sends a multicast group query request to the interface where the multicast group member resides.
  • the multicast group member returns a multicast group query response.
  • the switch reports the PacketIn event to the SDN controller because there is no matching flow entry.
  • the SDN controller analyzes the multicast group query result and updates the multicast group information.
  • the SDN controller creates a multicast group identifier.
  • the multicast group identifier of the embodiment of the present invention is unique, and can be used to distinguish other multicast groups in the DC network, or other types of objects that can have the network identifier, and can be combined with other network identifiers to calibrate the packet forwarding. path.
  • the multicast group active flow entry is delivered.
  • the backbone switch includes the switch where the multicast group aggregation point is located.
  • the switch where the multicast group aggregation point is located is forwarded to the members in the multicast group through two or more paths.
  • the data exchange is the replication distribution point of the multicast packet near the receiving end.
  • the switch where the multicast group aggregation point is located is the intersection of the forwarding path of a multicast group member to other multicast group members. The closest point to the multicast group member is the multicast group aggregation point.
  • the access switch 1 and the aggregation switch 2 are the switches in which the aggregation point is located, and may be the third switching device in the foregoing method embodiment.
  • the data packet can be copied and forwarded by the switch where the aggregation point is located, which can further save DC network bandwidth.
  • the switch where the multicast group aggregation point is located varies with the multicast group member.
  • the multicast group member When the multicast group member changes, it triggers the update of the aggregation switch, for example, adding or deleting the information of the switch where the multicast group aggregation point is located.
  • the SDN controller updates the multicast group collection point information.
  • the multicast group aggregation point information includes multicast group members and corresponding multicast packet forwarding and forwarding interfaces.
  • the multicast packet is sent from the multicast source to the switch where the multicast group is located.
  • the receiving port of the multicast packet on the switch where the multicast group is located is the transit interface.
  • the multicast interface is the outgoing interface of the switch where the multicast group aggregation point is located.
  • the SDN controller After the SDN controller obtains the multicast group aggregation point, that is, the switch where the aggregation point is located, it generates multicast group convergence point information.
  • Table 8 shows the switch information of the aggregation point shown in Figure 7 as shown in Table 8:
  • the access switch 1 is connected to member 1, outbound interface 7, inbound interface 4, member 2, outbound interface 1, inbound interface 4, member 3, 4, outbound interface 4, and inbound interface 1, 7.
  • Aggregation switch 2 to member 3, outbound interface 4, inbound interface 8, member 4, outbound interface 7, inbound interface 8, pair member 1, 2, and outbound interface 8, Incoming interfaces 4, 7.
  • the active flow entry delivered by the SDN controller needs to meet the following characteristics:
  • Send the multicast group to the next aggregation point copy the multicast packet, encapsulate the copied multicast packet to the forwarding path of the next aggregation point of the multicast group, and send the encapsulated multicast packet to the next. Jump out of the interface.
  • the SDN controller replicates and distributes the multicast packets received by the access switch 1 on different interfaces: the multicast packets sent by the members 3 and 4 are received at the ingress 4, and are sent to the interface of the member 1 to the interface. 7, go The stripped outer road sign to member 2 is sent to interface 1; the multicast message sent by member 1 is received at interface 7, goes to member 2, strips the outer road sign, sends it to interface 1, and goes to member 3, 4 The encapsulation arrives at the forwarding path of the multicast group aggregation point aggregation switch 2 and is sent to the interface 4.
  • the SDN controller replicates and distributes the multicast packets received by the aggregation switch 2 on different interfaces.
  • the multicast packets sent by member 3 are received on interface 4, and the packet destined for member 4 reaches the forwarding path of virtual switch 2.
  • the forwarding path to the member 1, 2 to the access switch 1 is sent to the interface 8;
  • the multicast packet sent by the member 4 is received on the interface 7, and sent to the member 3 to the interface 4,
  • the packets destined for members 1 and 2 arrive at the forwarding path of the multicast group aggregation point access switch 1 and are sent to interface 8.
  • the multicast packets sent by members 1 and 2 are received at interface 8, and are sent to member 3 to The interface 4, the packet destined for the member 4 reaches the forwarding path of the virtual switch 2, and is sent to the interface 7.
  • the active flow entry delivered by the SDN controller to the switch (non-convergence switch) directly connected to the multicast receiver needs to meet the following characteristics:
  • the SDN controller customizes the active flow entry for the virtual switch 1, matches the multicast packet entry 5, the multicast group 1 identifier, and strips the multicast packet multicast group. 1 identifies the original multicast packet to be sent to interface 2.
  • the SDN controller customizes the active flow entry for the access switch 3, and matches the multicast packet entry 5 and the multicast group. 1 logo, stripping group
  • the broadcast message multicast group 1 is identified, and the original multicast packet is sent to the interface 8.
  • the SDN controller customizes the active flow entry for the virtual switch 2, and matches the multicast packet entry.
  • the multicast group 1 identifier is used to strip the multicast packet multicast group 1 and send the original multicast packet to interface 1.
  • a member of a multicast group When a member of a multicast group sends data or service packets to other members in the multicast group, it sends a multicast packet to the switch directly connected to it.
  • the directly connected switch does not have a matching flow entry to the SDN.
  • the controller reports the PacketIn event.
  • the SDN controller analyzes the characteristics of the multicast packet and selects an appropriate forwarding path according to the current network topology and multicast group information. Passive flow entries meet the following characteristics:
  • Execution action The original multicast packet is encapsulated with the multicast group identifier and the forwarding path of the next aggregation point of the multicast group, and the encapsulated multicast packet is sent to the next hop-out interface.
  • the passive flow entry indicates that virtual switch 1 matches the original multicast packet entry 2.
  • the original multicast packet encapsulates the multicast group 1 identifier and is encapsulated.
  • the multicast packet is sent to the interface.
  • the multicast packet sent by the member 2 to the member 1 indicates that the access switch 1 matches the original multicast packet entry 1, features, and the original multicast packet.
  • Package group The broadcast group 1 identifier is sent to the interface 7; the multicast packet destined for the member 3 and 4 sent by the member 2, and the passive flow entry indicates that the access switch 1 matches the original multicast packet.
  • the original multicast packet is encapsulated with the multicast group 1 identifier, the forwarding path to the aggregation switch 2, and the encapsulated multicast packet is sent to the interface 4;
  • the passive flow entry indicates that the access switch 3 matches the original multicast packet entry 8 and features, encapsulates the multicast group 1 identifier of the original multicast packet, and sends the encapsulated multicast packet to the interface 5;
  • the multicast packet indicates that the virtual switch 2 matches the original multicast packet entry 1, and the original multicast packet encapsulates the multicast group 1 identifier and the forwarding path to the aggregation switch 2, which will be encapsulated.
  • a good multicast packet is sent to interface 3.
  • Each switch of the DC network implements the forwarding of data or service packets according to the flow entries sent by the SDN controller, including active flow entries and passive flow entries.
  • the forwarding of data or service packets by the multicast group can reduce the number of forwarding flow entries required by the backbone switch, improve the resource utilization of the SDN controller, and improve the efficiency of the SDN controller and the switch.
  • the aggregation point switch delivers the active flow entry, and the data or service packet is copied to the next aggregation point switch while being sent to the multicast group member.
  • the multicast packet is not at the source end, but is copied and distributed at the aggregation point, saving DC network bandwidth.
  • the tenant can deploy various services on the host to which the DC belongs, and is open to its users.
  • the tenant is a user who rents computing, storage, and network resources to a data center DC service provider; wherein the tenant is a user who installs, deploys, and publishes a service through a leased data center resource.
  • FIG. 8 is a schematic diagram of an implementation manner in which a tenant deploys a service chain in a DC according to an embodiment of the present invention.
  • the embodiment is described by taking five service nodes including a firewall, an authentication, a load balancing, and a database service as an example.
  • the five service nodes constitute a service chain.
  • the host where the firewall service is located is connected to the DC network by the access switch 1, and the host where the authentication service is located is connected to the DC network by the access switch 3.
  • the access switch 3 may be the fourth switching device in the embodiment of the present invention;
  • the host where the equalization service is located is connected to the DC network by the access switch 2, and the host where the database service is located is configured by the virtual switch. 2 access to the DC network.
  • the host is a server capable of providing a specific service (such as a firewall, etc.), and may be a physical server or a virtual server.
  • the host may also be a device such as the foregoing mobile terminal, a fixed terminal, or a wireless access terminal, and the specific embodiment of the present invention is not limited to a specific implementation manner.
  • Tenants provide related services through the deployment of hosts for related services.
  • a host that deploys a firewall provides a firewall service
  • the host that provides the firewall service is a service node.
  • the tenant can request to add or delete a service node from the SDN controller through the UI (User Interface).
  • the SDN controller assigns each service node a unique identifier for distinguishing other service nodes in the DC network, or other types of objects that can have the network identifier, either alone or with other networks. Identify the combination and calibrate the packet forwarding path. For example, as shown in Table 12, the unique network identifier of the service node assigned to the SDN controller in the network architecture diagram of FIG.
  • the firewall service node obtains the network identifier 5; the authentication service node obtains the network identifier 6; the load balancing service node obtains the network identifier 7; the database 1 service node obtains the network identifier 8; and the database 2 service node obtains the network identifier 9.
  • the service chain in the embodiment of the present invention that is, the service sequence set by the tenant for the user, is arranged by the service node in a specified order, and reflects the internal strategy of the tenant to provide the service externally.
  • DC Yun The tenant customizes different service chains, and then guides them to different service chain portals according to the characteristics of the user data stream, traversing all the service nodes in the chain, thereby implementing the differentiated services of the tenants.
  • the tenant can initiate a request to create or delete a service chain through the UI, thereby implementing creation or deletion of the service chain.
  • Table 13 shows schematically several implementations of the service chain in Figure 8.
  • the tenant directly assigns the data source to the user through the first service chain, and the user stream passes through the firewall and authentication in turn, and finally arrives at the database 1.
  • the corresponding network identification sequence is 5–6–8;
  • the service chain directly specifies the data source for the user as the database 2, and the user flow passes through the firewall and authentication in turn, and finally arrives at the database 2, the corresponding network identification sequence is 5–6–9;
  • the load balancing service is The user specifies the data source, and the user stream passes through the firewall, authenticates, and then is scheduled by the load balancing service, and finally arrives at the database specified by the load balancing service.
  • the corresponding network identification sequence is 5–6–7.
  • the management and control of the service chain can be further realized on the basis of the implementation of the process shown in FIG. 4 above.
  • the active flow entry to be delivered by the SDN controller needs to meet the following characteristics:
  • Table 14 shows the active flow entries delivered by the SDN controller to the switch directly connected to the service node in the network architecture diagram shown in Figure 8.
  • the SDN controller instructs the access switch 1 to focus on the packet carrying the firewall service node identifier, strips the packet firewall service node identifier, and sends the original packet to the interface 1; the access switch 3 is instructed to carry the authentication service.
  • the packet identified by the node is stripped of the packet authentication service node identifier, and the original packet is sent to the interface 8.
  • the access switch 2 is instructed to focus on the packet carrying the load balancing service node identifier, and the packet load balancing service node identifier is sent off.
  • the virtual switch 2 is instructed to focus on the packet carrying the identifier of the database service node, and the packet database service node identifier is stripped and sent to the corresponding interface.
  • Table 15 shows an implementation of a passive flow entry for implementing a service chain:
  • the passive flow entry indicates that the virtual switch 1 matches the original packet inbound interface and features, encapsulates the firewall service node identifier for the original packet, and then sends the encapsulated packet to interface 5; indicating that the access switch 1 matches the original Packet incoming interface, feature, and original packet encapsulation authentication service node
  • the packet is sent to the interface 4 and the encapsulated packet is sent to the interface 4; the access switch 3 is matched with the original packet incoming interface and features, and the original packet is encapsulated with the load balancing service node identifier and the load is reached.
  • the forwarding path of the service node is equalized, and then the encapsulated packet is sent to the interface 5; the access switch 2 is matched with the original packet inbound interface, the feature is encapsulated, the database service node identifier is encapsulated in the original packet, and then the encapsulated packet is encapsulated.
  • the access switch 1 may be the fifth switching device in the embodiment of the present invention
  • the aggregation switch 2 is the sixth switching device in the embodiment of the present invention
  • the access switch 3 is the seventh switching device in the embodiment of the present invention. Therefore, the flow table of different switches in the service chain implementation is delivered.
  • the access switch 1 may also be the fifth switching device in the embodiment of the present invention.
  • the access switch 3 is the seventh switching device in the embodiment of the present invention.
  • the SDN controller cannot customize the forwarding path of the entire service chain at one time when the forwarding path is sent.
  • the path needs to be decomposed into multiple segments according to each service node. The start of each segment is the last service node, and the termination is the next service node. The path for each segment is sent in the same manner as the implementation shown in Figure 4.
  • the above embodiments are used to deliver the active flow entry and the passive flow entry in the scenario of different service nodes, and the tenant customization policy is implemented to realize the flexible shuttle between data or service flow between different services.
  • the flow meter reduces the device resource occupancy of the SDN controller and the switch, and also improves the performance and efficiency of the SDN controller and the switch.
  • the DC supports multi-tenancy
  • the DC network allows each tenant to share its physical network, thereby constructing a separate tenant independent logical network.
  • the logical networks between tenants are isolated and the physical network space can overlap.
  • the control device in the DC network can assign a unique identifier to each tenant to distinguish different tenants and implement management of different tenants.
  • the host in each tenant realizes data forwarding through the DC network, it carries The unique identifier of the assigned tenant, through which the tenant's unique identifier identifies the data forwarding within a tenant.
  • the foregoing method for implementing data forwarding of an SDN network can also be applied to a scenario of multi-tenancy.
  • the forwarding rule sent by the control device further includes the tenant ID.
  • the switching device needs to match the tenant ID in the forwarding, and then the data is forwarded and forwarded after the tenant ID is stripped.
  • the specific implementation process is similar to the above implementation process, and will not be described again.
  • FIG. 9 is a schematic structural diagram of a control device 900 in an SDN according to an embodiment of the present invention, including: a network communication unit 901, a control message processing unit 902, a forwarding path determining unit 903, and a forwarding rule management unit 904;
  • the network communication unit 901 is configured to receive a first forwarding rule request sent by the first switching device in the SDN, and send the first forwarding rule request to the control message processing unit 902;
  • the control message processing unit 902 is configured to parse the first forwarding rule request, send the parsed first forwarding rule request to the forwarding path determining unit 903, and determine the forwarding path determining unit 903
  • the information of the first path and the first forwarding rule generated by the forwarding rule management unit are sent by the network communication unit to the first switching device, and the second forwarding rule generated by the forwarding rule management unit is used by the Sending, by the network communication unit, the second switching device on the first path;
  • the information of the first path is a sequence represented by a unique identifier of a forwarding path between switching devices according to an order of switching devices on the first path
  • the information of the first path can be forwarded to the second switching device along with the data, so that the second switching device forwards the data according to the information of the first path and the second forwarding rule. ;
  • the forwarding path determining unit 903 is configured to determine, according to the parsed first forwarding rule request sent by the control message determining unit 902, the data forwarding corresponding to the data information carried in the first forwarding rule request.
  • the forwarding rule management unit 904 is configured to generate the first forwarding rule and the second forwarding Sending a rule, the second forwarding rule is received by the second switching device before receiving the data, and enables the second switching device to forward the data to the information according to the first path a switching device directly connected to the second switching device on the first path.
  • the control device 900 in the SDN determines the first path forwarded by the data corresponding to the data information, so that the first switching device encapsulates the data including the information of the first path and sends the data to the second switching device. And causing the second switching device to forward the data according to the information of the first path and the second forwarding rule, where the second forwarding rule is that the second switching device receives the data before receiving the data.
  • the second switching device is configured to receive a forwarding rule for data forwarding before receiving the data, and implement data forwarding according to the received data and the path information.
  • the control device 900 does not need to issue a forwarding rule every time the data is forwarded to the second switching device, which saves the resource consumption of the control device when the forwarding rule is sent, improves the utilization of the device, and saves the control device 900 and the exchange.
  • the second forwarding rule is generated after the second switching device establishes a topological relationship with the directly connected switching device, or after establishing a topology relationship, where the second forwarding rule is based on the received path information.
  • a forwarding rule that repeats forwarding of data containing the path information.
  • the unique identifier of the forwarding path between the switching devices is a unique identifier of the switching device, a unique interface identifier between the switching device and the switching device directly connected thereto, or a unique identifier of the link between the switching device and the switching device directly connected thereto.
  • the information of the first path is nested in the multi-protocol label switching MPLS message and sent to the first switching device.
  • control device 900 further includes an identifier management unit 905 and a topology management unit 906, as shown in FIG. 10, where:
  • the identifier management unit 905 is configured to allocate and reclaim a unique identifier of a forwarding path between switching devices in the SDN.
  • the topology management unit 906 is configured to update network topology information of the SDN according to the transformation of the SDN network topology
  • the forwarding path determining unit 903 combines the network topology information recorded in the topology management unit 904 with the unique identifier of the forwarding path between the switching devices allocated by the identifier management unit 905, and combines the control message determining unit.
  • the parsed first forwarding rule request sent by the 902 determines a first path forwarded to the data information carried in the first forwarding rule request.
  • control device 900 further includes a multicast group management unit 907.
  • the multicast group management unit 907 is configured to allocate a multicast group identifier to the multicast group in the SDN, where the multicast group identifier uniquely identifies one multicast group, and the multicast group includes at least two multicast groups. Group members, data sent by one member of a multicast group can be received by other members of the multicast group.
  • the forwarding rule management unit 903 is further configured to send a third forwarding rule that includes the multicast group identifier to the third switching device, so that the third switching device encapsulates the next aggregation switch according to the third forwarding rule.
  • the data of the path information of the path of the device is sent; the path information of the path to the next aggregation switching device is represented by a unique identifier of the forwarding path between the switching devices according to the sequence of the switching devices that implement data forwarding.
  • the third switching device is a switching device directly connected to a member of the multicast group, and the third switching device is a switching device that forwards data to the multicast group member through two or more paths;
  • the next aggregation switching device forwards the data to the multicast group member, and the first one from the third switching device to the multicast group member forwards data to the multicast group member through two or more paths. Switching equipment.
  • control device 900 further includes:
  • the service chain setting unit 908 is configured to set a service chain, where the service chain is a service sequence formed by a device having a specific service capability in the SDN, and assign a unique identifier to a device having a specific service capability in the service chain. The identification of the device;
  • the forwarding rule management unit 903 is further configured to generate a fourth forwarding rule and send the fourth forwarding rule to the fourth switching device, where the fourth forwarding rule includes a uniqueness of the first specific service capability device directly connected to the fourth switching device. Identifying, so that the fourth switching device forwards the received data to The device of the first specific service capability; the fourth forwarding rule is a forwarding rule received by the fourth switching device before receiving data that needs to be forwarded, and the fourth switching device is provided in the service chain A switching device that is directly connected to a device with a specific service capability.
  • the network communication unit 901 is further configured to receive a fifth forwarding rule request sent by the fifth switching device;
  • the control message processing unit 902 is further configured to parse the fifth forwarding rule request, and send the parsed fifth forwarding rule request to the forwarding path determining unit 903;
  • the forwarding path determining unit 903 is further configured to determine, according to the parsed fifth forwarding rule request sent by the control message determining unit, the service chain path to the seventh switching device, where the fifth switching device is a switching device directly connected to a second specific service capability device in the service chain, where the seventh switching device is a switching device directly connected to a third specific service capability device in the service chain, and the second specific service device is The third specific service device is a specific service device directly adjacent in the service chain; the service chain path is implemented according to a path of the second specific service device to the third specific service device a sequence of data forwarding forwarding devices, a sequence represented by a unique identifier of a forwarding path between the switching devices;
  • the forwarding rule management unit 904 is further configured to send a fifth forwarding rule to the fifth switching device, so that the fifth switching device encapsulates the data including the information of the service chain path, and sends the data to the seventh Transmitting the device, or sending the sixth switching device to the sixth switching device, so that the sixth switching device forwards the data according to the service chain path information and the sixth forwarding rule, where the sixth forwarding rule is And the sixth switching device receives the data including the information of the service chain path, and enables the sixth switching device to forward the data to the service chain path according to the service chain path information. And the other switching device; wherein the sixth switching device is a switching device between the fifth switching device and the seventh switching device in the fifth path.
  • control device 900 in the embodiment of the present invention may be implemented by referring to the implementation manner of the control device in the implementation manner of the embodiment shown in FIG. 1 to FIG. 8 , and details are not described herein.
  • an embodiment of the present invention further provides a data forwarding system 1100 in an SDN, including a first switching device 1101 and a second switching device 1102.
  • the first switching device 1101 is directly connected to the second switching device 11021102. , which is characterized by:
  • the first switching device 1101 is configured to request a forwarding rule from the control device according to the received data, receive a first forwarding rule returned by the control device, and encapsulate the first path information according to the first forwarding rule.
  • the data is sent to the second switching device 1102, and the information of the first path is a sequence of forwarding devices that implement the data forwarding according to the first path for forwarding the data, and the forwarding path is used between the switching devices. a sequence of unique identifiers;
  • the second switching device 1102 is configured to receive the data sent by the first switching device 1101, and the second switching device 1102 exchanges with the second according to the information about the first path and the second forwarding rule.
  • the switching device directly connected to the device 1102 sends the data, the second forwarding rule is received by the second switching device 1102 before receiving the data, and the second switching device 1102 can be according to the first The information of the path and the second forwarding rule forward the data to a switching device directly connected to the second switching device, where the switching device directly connected to the second switching device is on the first path Switching equipment.
  • the first switching device 1101 receives the first forwarding rule returned by the control device, and encapsulates the data including the first path information according to the first forwarding rule.
  • the second switching device 1102 the second switching device forwards the data according to the information of the first path and the second forwarding rule, where the second forwarding rule is that the second switching device 1102 receives the The data is received before, so that the second switching device 1102 can receive the forwarding rule for data forwarding before receiving the data, and implement data forwarding according to the received data and path information.
  • the second switching device 1102 does not need to acquire a forwarding rule once after receiving the data, that is, it does not need to obtain a flow table for data forwarding every time the data is received, and the second forwarding rule can be repeatedly used to implement data forwarding, thereby saving
  • the second switching device 1102 saves and uses the resource consumption caused by the forwarding rule when performing data forwarding, thereby improving the utilization rate of the device; especially for the switching device of the data center backbone layer,
  • the amount of forwarding data is large, and the storage and application of a large number of forwarding rules may result in a huge consumption of resources such as a chip.
  • the solution provided in this embodiment can save resources of the switching device, so that the switching device in the data center network does not need to be higher.
  • the performance can achieve a large amount of data forwarding, which enhances the competitiveness of switching equipment.
  • the second switching device 1102 is further configured to send information about the first path to a switching device directly connected to the second switching device, or the second switching device 1102
  • the information of the second path of the forwarding path between the switching device directly connected to the second switching device and the forwarding path of the nth switching device is sent to the third switching device, where the information of the second path is implemented.
  • the sequence of the switching devices on the path of the data forwarding the sequence represented by the unique identifier of the forwarding path between the switching devices, where n is an integer and is greater than or equal to 3.
  • the second forwarding rule is generated when the second switching device 1102 establishes a topological relationship with the switching device directly connected to the second switching device 1102 or after establishing a topology relationship, and the second forwarding rule that includes the second forwarding rule is A forwarding rule that can repeatedly forward data to the path information according to the path information.
  • the data forwarding system further includes an i-th switching device, an i-th switching device, and an i-th switching device, the i-th switching device, and the The i-1th switching device and the (i+1)th switching device are switching devices on the first path;
  • the i-th switching device is configured to receive the i-th path information and the data sent by the i-th switching device, where the i-th path information is according to the foregoing a sequence of the i-switching device to the n-th switching device, a sequence represented by a unique identifier of the forwarding path between the switching devices; wherein i is an integer and greater than or equal to 3; and according to the i-th path information, to the The i+1 switching device sends the data and the i-th path information, where the i-th path information is in accordance with a sequence of the i+1th switching device to the nth switching device that implements the data forwarding, and the switching device uses A sequence of unique identifier representations of the forwarding paths.
  • the sending, by the ith switching device, the data and the ith path information to the (i+1)th switching device according to the (i-1)th path information specifically includes:
  • the i-th switching device sends the data and the i-th path information to the (i+1)th switching device by using an egress port of the i-th switching device.
  • the first path information, the second path information, and the ith path information are encapsulated by a multi-protocol label switching MPLS label, and an MPLS label header fills a forwarding path unique identifier of a switching device.
  • the unique identifier of the forwarding path between the switching devices is a unique identifier of the switching device, a unique interface identifier between the switching device and the switching device directly connected thereto, or a unique identifier of the link between the switching device and the switching device directly connected thereto.
  • the data forwarding system 1100 in the SDN further includes a third switching device 1103;
  • the first switching device 1101, the second switching device 1102, and the third switching device 1103 are members of the same multicast group, where the third switching device 1103 is to the group by using two or more paths.
  • a switching device that forwards data to a group member, and data sent by members of the multicast group to other members can be received by other members of the multicast group;
  • the third switching device 1103 is configured to receive a third forwarding rule that includes the multicast group identifier sent by the control device, and encapsulate the path information of the path that reaches the next aggregation switching device according to the third forwarding rule.
  • the data is sent and sent;
  • the path information of the path to the next aggregation switching device is a sequence represented by a unique identifier of the forwarding path between the switching devices according to the sequence of the switching devices that implement data forwarding; the next aggregation switching
  • the device is a switching device that forwards the data to the multicast group member, and the first one from the third switching device to the multicast group member forwards data to the multicast group member through two or more paths.
  • the data forwarding system 1100 in the SDN further includes a fifth switching device 1105, a sixth switching device 1106, and a seventh switching device 1107;
  • a fifth switching device 1105 configured to send a fifth forwarding rule request to the control device, and Receiving, by the control device, a service chain path to the seventh switching device 1107, where the fifth switching device 1105 is a switching device directly connected to the second specific service capability device in the service chain, and the seventh switching device 1107 is a switching device directly connected to a third specific service capability device in the service chain, where the second specific service device and the third specific service device are specific service devices directly adjacent in the service chain,
  • the service chain path is a sequence between the switching devices that implement the data forwarding according to the path from the second specific service device to the third specific service device, and the unique identifier of the forwarding path between the switching devices is used.
  • the service chain is a service sequence formed by a device having a specific service capability in the SDN, and a device having a specific service capability in the service chain has an identifier that uniquely identifies the device, and the service sequence is a service a sequence of unique identifiers of devices having specific service capabilities;
  • the fifth switching device 1105 forwards the data and the service chain path information to the seventh switching device 1107 or the sixth switching device 1106 on the service chain path;
  • the sixth switching device 1106 is configured to forward the data according to the service chain path information and the sixth forwarding rule, where the sixth forwarding rule is that the sixth switching device receives the service chain The data of the path information is previously received; wherein the sixth switching device is a switching device between the fifth switching device 1105 and the seventh switching device 1107 on the fifth path.
  • the data forwarding system 1100 in the SDN further includes a control device, such as the control device 900 shown in FIG.
  • the implementation of the data forwarding system 1100 in the SDN of the embodiment of the present invention may be implemented by referring to the implementation manner of the control device in the implementation manner of the embodiment shown in FIG. 1 to FIG. 8 , and details are not described herein.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • Including a number of instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods of the various embodiments of the present invention All or part of the steps.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

La présente invention concerne un procédé et un dispositif de réacheminement de données dans un réseau SDN. Un premier trajet pour le réacheminement de données correspondant à des informations de données est déterminé, de manière à ce qu'un premier dispositif de commutation encapsule les données comprenant des informations sur le premier trajet et les envoie à un second dispositif de commutation. Le second dispositif de commutation réachemine les données en fonction des informations sur le premier trajet et d'une seconde règle de réacheminement. Le second dispositif de commutation reçoit la seconde règle de réacheminement avant les données, de sorte qu'il peut recevoir une règle de réacheminement de données avant de recevoir les données, et il réachemine les données en fonction des données reçues et des informations de trajet. Puisque le second dispositif de commutation reçoit la seconde règle de réacheminement avant de recevoir les données à réacheminer, il peut utiliser à plusieurs reprises la seconde règle de réacheminement pour réacheminer des données lorsqu'il réachemine les données. En conséquence, la consommation de ressources provoquée par la mémorisation et l'utilisation des règles de réacheminement par le second dispositif de commutation peut être réduite, ce qui améliore le taux d'utilisation du dispositif de commutation et limite la largeur de bande occupée lorsque le dispositif de commande délivre plusieurs fois les règles de réacheminement au dispositif de commutation.
PCT/CN2014/094144 2014-12-17 2014-12-17 Procédé, dispositif et système de réacheminement de données dans les réseaux sdn Ceased WO2016095142A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201480083893.9A CN107005479B (zh) 2014-12-17 2014-12-17 软件定义网络sdn中数据转发的方法、设备和系统
PCT/CN2014/094144 WO2016095142A1 (fr) 2014-12-17 2014-12-17 Procédé, dispositif et système de réacheminement de données dans les réseaux sdn

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/094144 WO2016095142A1 (fr) 2014-12-17 2014-12-17 Procédé, dispositif et système de réacheminement de données dans les réseaux sdn

Publications (1)

Publication Number Publication Date
WO2016095142A1 true WO2016095142A1 (fr) 2016-06-23

Family

ID=56125605

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/094144 Ceased WO2016095142A1 (fr) 2014-12-17 2014-12-17 Procédé, dispositif et système de réacheminement de données dans les réseaux sdn

Country Status (2)

Country Link
CN (1) CN107005479B (fr)
WO (1) WO2016095142A1 (fr)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737481A (zh) * 2017-04-24 2018-11-02 诺基亚通信公司 通信方法和通信设备
WO2018233031A1 (fr) * 2017-06-21 2018-12-27 深圳市盛路物联通讯技术有限公司 Procédé et système de contrôle de transmission de données basés sur l'internet des objets
CN114374739A (zh) * 2022-02-22 2022-04-19 深圳易可达科技有限公司 信息对接系统及方法

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110651450B (zh) * 2018-04-27 2021-05-07 华为技术有限公司 一种网络及网络管理方法
CN109743326B (zh) * 2019-01-10 2021-09-07 新华三云计算技术有限公司 流量传输方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140313898A1 (en) * 2013-04-18 2014-10-23 Electronics And Telecommunications Research Institute Method for delivering emergency traffic in software defined networking networks and apparatus for performing the same
CN104158749A (zh) * 2013-05-14 2014-11-19 华为技术有限公司 软件定义网络中报文转发方法、网络设备及软件定义网络
CN104184663A (zh) * 2014-07-17 2014-12-03 北京交通大学 基于软件定义网络和一体化标识网络的通信方法和装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10097452B2 (en) * 2012-04-16 2018-10-09 Telefonaktiebolaget Lm Ericsson (Publ) Chaining of inline services using software defined networking
CN103200122B (zh) * 2013-03-05 2016-08-10 国家电网公司 一种软件定义网络中组表的处理方法、系统和控制器
CN103457776B (zh) * 2013-09-04 2016-10-12 杭州华三通信技术有限公司 一种双向协议无关组播中动态部署汇聚点的方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140313898A1 (en) * 2013-04-18 2014-10-23 Electronics And Telecommunications Research Institute Method for delivering emergency traffic in software defined networking networks and apparatus for performing the same
CN104158749A (zh) * 2013-05-14 2014-11-19 华为技术有限公司 软件定义网络中报文转发方法、网络设备及软件定义网络
CN104184663A (zh) * 2014-07-17 2014-12-03 北京交通大学 基于软件定义网络和一体化标识网络的通信方法和装置

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737481A (zh) * 2017-04-24 2018-11-02 诺基亚通信公司 通信方法和通信设备
CN108737481B (zh) * 2017-04-24 2021-04-23 诺基亚通信公司 通信方法和通信设备
WO2018233031A1 (fr) * 2017-06-21 2018-12-27 深圳市盛路物联通讯技术有限公司 Procédé et système de contrôle de transmission de données basés sur l'internet des objets
CN114374739A (zh) * 2022-02-22 2022-04-19 深圳易可达科技有限公司 信息对接系统及方法

Also Published As

Publication number Publication date
CN107005479B (zh) 2020-06-26
CN107005479A (zh) 2017-08-01

Similar Documents

Publication Publication Date Title
CN107005462B (zh) 软件定义网络中数据转发的方法、设备和系统
CN114073052B (zh) 用于基于切片的路由的系统、方法及计算机可读介质
US8873398B2 (en) Implementing EPC in a cloud computer with openflow data plane
US10063470B2 (en) Data center network system based on software-defined network and packet forwarding method, address resolution method, routing controller thereof
CN107733799B (zh) 一种报文传输方法和装置
US10630508B2 (en) Dynamic customer VLAN identifiers in a telecommunications network
CN105122747B (zh) Sdn网络中的控制设备和控制方法
US9722923B2 (en) Method operating in a fixed access network and UEs
IL230406A (en) Cloud computing method and system for executing g3 package on cloud computer with open flow science and control planes
US20170310581A1 (en) Communication Network, Communication Network Management Method, and Management System
CN104717098A (zh) 一种数据处理方法及装置
WO2015039617A1 (fr) Procédé, système et dispositif pour traitement de paquet
CN107005479B (zh) 软件定义网络sdn中数据转发的方法、设备和系统
CN115242713B (zh) 基于ipv6的分段路由报文的转发方法、配置方法及设备
WO2024104007A1 (fr) Procédé et appareil de transmission de paquets, support de stockage et dispositif électronique
CN102710812B (zh) 一种建立隧道的方法、用户设备及nni接口网关
WO2012075846A1 (fr) Procédé et dispositif de diffusion de paquet à répartition dans le temps et à répartition par domaine
CN108512771A (zh) 一种数据流负载分担的方法和设备
Burakowski Role of network virtualization in designing Future Internet
CN115442304B (zh) 一种资源确定方法、转发设备、控制器、系统及介质
CN104683298B (zh) 一种差分服务规则的配置方法和装置
Mueller et al. Elastic network design and adaptive flow placement in software defined networks

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14908177

Country of ref document: EP

Kind code of ref document: A1