CN107005479A - The method, apparatus and system of data forwarding in software defined network SDN - Google Patents

The method, apparatus and system of data forwarding in software defined network SDN Download PDF

Info

Publication number
CN107005479A
CN107005479A CN201480083893.9A CN201480083893A CN107005479A CN 107005479 A CN107005479 A CN 107005479A CN 201480083893 A CN201480083893 A CN 201480083893A CN 107005479 A CN107005479 A CN 107005479A
Authority
CN
China
Prior art keywords
switching equipment
path
data
forwarding
equipment
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.)
Granted
Application number
CN201480083893.9A
Other languages
Chinese (zh)
Other versions
CN107005479B (en
Inventor
左少夫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Cloud Computing 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
Publication of CN107005479A publication Critical patent/CN107005479A/en
Application granted granted Critical
Publication of CN107005479B publication Critical patent/CN107005479B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a kind of method and apparatus of data forwarding in SDN, pass through the first path for determining to forward the corresponding data of the data message, so that the Data Concurrent of the information of the first switching equipment wrapper containing first path gives the second switching equipment, so that second switching equipment is forwarded according to the information of the first path and the second forwarding rule to the data, the second forwarding rule, second switching equipment is received before the data are received, second switching equipment is enabled to receive the forwarding rule to data forwarding before data are received, and realize data forwarding according to the data and routing information received.Because the second switching equipment is that the second forwarding rule is received before the data for needing to forward are received, the second switching equipment to repeat the applicable second forwarding rule when carrying out data forwarding to forward data, save the second switching equipment and preserve and be applicable the resource consumption that forwarding rule is brought, so as to improve the utilization rate of switching equipment, also save between control device and switching equipment because repeatedly issuing the bandwidth shared by forwarding rule.

Description

The method, apparatus and system of data forwarding in software defined network SDN Technical field
The present invention relates to areas of information technology, the method, apparatus and system of data forwarding in more particularly to software defined network SDN.
Background technology
With continuing to develop for technology, the construction of data center is faced with various stern challenges, how to lift DC resource utilizations, how to reduce the problem of DC energy consumptions and cost etc. all turn into concern.
Virtually turn to the structure of New Generation of IDC and development specifies direction.Virtualization technology helps data center to integrate hardware resource, sets up virtualization pool, realizes that resource is globally shared, distributed according to need according to business, so that the comprehensive utilization ratio of lifting system resource, saves equipment energy consumption.
Data center virtualization requires network virtualization.Legacy network pattern seems awkward in data center virtualization network.The theory and virtualization network that SDN (Software Defined Network, software defined network) separates network control with Forwarding plane are perfectly in harmony.
SDN is as a kind of new network of Emulex network innovation framework, and its core technology OpenFlow is by the way that network equipment chain of command and data surface are separated, it is achieved thereby that the flexible control of network traffics.
OpenFlow agreements tend to be ripe, and form standard with a series of version evolution, continuous specification.OpenFlow supports to press arbitrary fields query composition flow table, and proposes the concept of multilevel flow table, and size, the quantity of flow table have become the bottleneck that existing chip supports OpenFlow urgently to break through.
In data center network, often realize a pair of end-to-end communications, the switching equipment being related to just increases a flow table item newly, the virtual swap device of network edge is limited to communication ends quantity, flow table quantity influences little to switching equipment and control device, switching equipment in network backbone layer but increases with lower layer exchange device flow table item and constantly expanded, and substantial amounts of flow table will take the hardware resource of control device and key layer exchange device in SDN, have influence on the performance and network performance of equipment in SDN.
The content of the invention
The embodiment of the present invention provides a kind of method, apparatus and system of data forwarding in SDN, the problem of to solve equipment and not high network performance in the SDN excessively brought by flow table item in the prior art.
To reach above-mentioned purpose, the technical scheme that the embodiment of the present invention is used is:
In a first aspect, the embodiments of the invention provide data forwarding method in a kind of software defined network SDN, including:
The first forwarding rule request that the first switching equipment in the SDN is sent is received, the first path forwarded to the corresponding data of the data message is determined according to the data message carried in the described first forwarding rule request;
Issue for forwarding the first of the data to forward rule to first switching equipment, so that the Data Concurrent of the information of the first switching equipment wrapper containing first path gives the second switching equipment, the information of the first path is the sequencing according to the switching equipment that the data forwarding is realized in the first path, the sequence represented with the unique mark of forward-path between switching equipment, so that second switching equipment is forwarded according to the information of the first path and the second forwarding rule to the data, the second forwarding rule, second switching equipment is received before the data are received, and second switching equipment can be made to forward the data to the switching equipment being joined directly together in the first path with second switching equipment according to the information of the first path.
In the first possible implementation of first aspect, with reference to first aspect, the second forwarding rule is generated in the switching equipment building topology relation that second switching equipment is directly connected or after building topology relation, and the second forwarding rule is the forwarding rule to the Data duplication forwarding comprising the routing information according to the routing information received.
In second of possible implementation of first aspect, with reference to the first possible implementation of first aspect or first aspect, the unique mark of link between the switching equipment that unique interface mark or switching equipment between the switching equipment that the unique mark of forward-path is the unique mark of switching equipment between the switching equipment, switching equipment is directly connected directly are connected.
In the third possible implementation of first aspect, with reference to first aspect to first aspect Any of second of possible implementation implementation, the information of the first path, which is nested in multiprotocol label switching MPLS message, is handed down to first switching equipment.
In the 4th kind of possible implementation of first aspect, with reference to any of the third possible implementation of first aspect to first aspect implementation, methods described also includes:
Create multicast identifier, the multicast identifier is the mark of unique mark multicast group, the multicast group includes at least two multicast members, realizes the switching equipment of data forwarding between the multicast member and includes first switching equipment and second switching equipment;
Accordingly, the multicast identifier is also included in the regular and described second forwarding rule of first forwarding.
In the 5th kind of possible implementation of first aspect, with reference to the 4th kind of possible implementation of first aspect, realizing the switching equipment of data forwarding between the multicast member also includes the 3rd switching equipment, and the 3rd switching equipment is the switching equipment for forwarding data to the multicast member by two articles with upper pathway;
Methods described also includes:
The 3rd forwarding rule comprising multicast identifier is sent to the 3rd switching equipment, so that the 3rd switching equipment is according to the described 3rd forwarding rule, the Data Concurrent being encapsulated into up to the routing information in the path of next convergence switching equipment is sent;The routing information in the path for reaching next convergence switching equipment is the sequencing according to the switching equipment for realizing data forwarding, the sequence represented with the unique mark of forward-path between switching equipment;Next convergence switching equipment is on the forwarding data to the path of multicast member, first passed through from the 3rd switching equipment to multicast member by two articles with switching equipment from upper pathway to multicast member forwarding data.
In the 6th kind of possible implementation of first aspect, with reference to any of the third possible implementation of first aspect to first aspect implementation, methods described also includes:
Service chaining is set, the service chaining is that possess the service sequences that the equipment of special services ability is constituted in the SDN, be the mark for possessing the equipment distribution unique mark of the special services ability equipment in the service chaining;Wherein, the switching equipment being directly connected to the equipment for possessing special services ability includes 4th switching equipment;
Methods described also includes:
Generate the 4th forwarding rule and be handed down to the 4th switching equipment, the 4th forwarding rule includes the unique mark for the first special services capacity device being joined directly together with the 4th switching equipment so that the equipment that the 4th switching equipment gives the data forwarding received the first special services ability;The 4th forwarding rule is the forwarding rule that the 4th switching equipment is received before the data for needing to forward are received.
In the 7th kind of possible implementation of first aspect, with reference to the 6th kind of possible implementation of first aspect, methods described also includes:
Receive the 5th forwarding rule request of the 5th switching equipment transmission, determine to reach the service chaining path of the 7th switching equipment according to the information of the data carried in the described 5th forwarding rule request, the switching equipment that 5th switching equipment is with the second special services capacity device is joined directly together in the service chaining, 7th switching equipment that switching equipment is with the 3rd special services capacity device is joined directly together in the service chaining, the second special services equipment and the special services equipment that the 3rd special services equipment is the direct neighbor in the service chaining;The service chaining path is the sequencing according to the switching equipment that the data forwarding is realized in the second special services equipment to the path of the 3rd special services equipment, the sequence represented with the unique mark of forward-path between the switching equipment;
Issue for forwarding the 5th of the data the to forward rule to the 5th switching equipment, so that the data of the information in the 5th switching equipment wrapper footpath containing service link, and it is sent to the 7th switching equipment, or it is sent to the 6th switching equipment on the service chaining path, so that the 6th switching equipment is forwarded according to the service chaining routing information and the 6th forwarding rule to the data, the 6th forwarding rule is that the 6th switching equipment is received before the data comprising the service chaining routing information are received, and the 6th switching equipment can be made to forward the data to other switching equipment on the service chaining path according to the information in service chaining path;Wherein, the 6th switching equipment is the switching equipment on the 5th path between the 5th switching equipment and the 7th switching equipment.
Second aspect, the embodiment of the present invention additionally provides data forwarding method in a kind of software defined network SDN, including:
First switching equipment is regular to control device request forwarding according to the data received;
First switching equipment receives the first forwarding rule that the control device is returned, and it is sent to second switching equipment direct-connected with first switching equipment according to the data of the regular wrapper information containing first path of the described first forwarding, the information of the first path is the sequencing according to the switching equipment that the data forwarding is realized in the first path for forwarding the data, the sequence represented with the unique mark of forward-path between switching equipment;
Second switching equipment receives the data that first switching equipment is sent, second switching equipment is according to the information of the first path and the second forwarding rule, the data are sent to the switching equipment that second switching equipment is joined directly together, the second forwarding rule, second switching equipment is received before the data are received, second switching equipment can be regular according to the information of the first path and second forwarding, forward the data to the switching equipment being joined directly together with second switching equipment, the switching equipment being joined directly together with second switching equipment is the switching equipment in the first path.
In the first possible implementation of second aspect, methods described also includes:
The information of the first path is sent to the switching equipment being joined directly together with second switching equipment by second switching equipment, or the switching equipment being joined directly together in the first path with second switching equipment is sent to the switching equipment being joined directly together with second switching equipment by second switching equipment to the information in the second path of the forward-path between the n-th switching equipment, the information in second path is the sequencing of switching equipment on the path for realize the data forwarding, the sequence represented with the unique mark of forward-path between switching equipment, wherein, n is for integer and more than or equal to 3.
In second of possible implementation of second aspect, with reference to first aspect, described second forward rule to be generated in the switching equipment building topology relation that second switching equipment is directly connected or after building topology relation, and the second forwarding rule comprising the described second forwarding rule is the forwarding rule that can be forwarded according to routing information to the Data duplication comprising routing information.
In the third possible implementation of second aspect, with reference to any of second of possible implementation of second aspect to second aspect implementation,
Methods described also includes:
I-th switching equipment receives the i-th -1 routing information and the data that the i-th -1 switching equipment is sent, i-th -1 routing information is the sequence represented with the unique mark of forward-path between switching equipment according to realizing the i-th switching equipment of the data forwarding to the sequencing of the n-th switching equipment;Wherein, i is for integer and more than or equal to 3;
I-th switching equipment is according to i-th -1 routing information, the data and the i-th routing information are sent to the i+1 switching equipment, i-th routing information is the sequence represented with the unique mark of forward-path between switching equipment according to realizing the i+1 switching equipment of the data forwarding to the sequencing of the n-th switching equipment;
I-th switching equipment, i-th -1 switching equipment and the i+1 switching equipment are the switching equipment in the first path.
In the 4th kind of possible implementation of second aspect, with reference to the third possible implementation of second aspect, methods described also includes:
I-th switching equipment sends the data to i+1 switching equipment and the i-th routing information is specifically included according to i-th -1 routing information:
I-th switching equipment peels off the unique mark of the forward-path of i-th switching equipment from i-th -1 routing information, generates i-th routing information;
By the forward-path unique mark of i-th switching equipment, the i-th forwarding rule that i-th switching equipment is preserved is inquired about, the exit port of i-th switching equipment is determined;
I-th switching equipment sends the data and the i-th routing information by the exit port of i-th switching equipment to i+1 switching equipment.
In the 5th kind of possible implementation of second aspect, with reference to any of the 4th kind of possible implementation of second aspect to second aspect implementation,
The first path information, the second routing information and the i-th routing information use multiprotocol label switching MPLS label nesting encapsulation, the forward-path unique mark of MPLS label head one switching equipment of filling.
In the 6th kind of possible implementation of second aspect, with reference to any of the 5th kind of possible implementation of second aspect to second aspect implementation,
The unique mark of link between the switching equipment that unique interface mark or switching equipment between the switching equipment that the unique mark of forward-path is the unique mark of switching equipment between the switching equipment, switching equipment is directly connected directly are connected.
In the 7th kind of possible implementation of second aspect, with reference to any of the 6th kind of possible implementation of second aspect to second aspect implementation,
First switching equipment, second switching equipment and the 3rd switching equipment are the members of same multicast group, wherein, 3rd switching equipment be by two articles with upper pathway to the multicast member forward data switching equipment, the member of the multicast group is sent to the data of other members, can be received by other members of the multicast group;
Methods described also includes:
The 3rd forwarding rule comprising multicast identifier is sent to the 3rd switching equipment, so that the 3rd switching equipment is according to the described 3rd forwarding rule, the Data Concurrent being encapsulated into up to the routing information in the path of next convergence switching equipment is sent;The routing information in the path for reaching next convergence switching equipment is the sequencing according to the switching equipment for realizing data forwarding, the sequence represented with the unique mark of forward-path between switching equipment;Next convergence switching equipment is on the forwarding data to the path of multicast member, first passed through from the 3rd switching equipment to multicast member by two articles with switching equipment from upper pathway to multicast member forwarding data.
In the 8th kind of possible implementation of second aspect, with reference to any of the 6th kind of possible implementation of second aspect to second aspect implementation, methods described also includes:
5th switching equipment sends the 5th to the control device and forwards rule request, and receive the service chaining path for the switching equipment of arrival the 7th that the control device is returned, 5th switching equipment is set with the switching equipment that the second special services capacity device is joined directly together in the service chaining, the 7th exchange For the switching equipment for being with the 3rd special services capacity device is joined directly together in the service chaining, the second special services equipment and the special services equipment that the 3rd special services equipment is the direct neighbor in the service chaining, the service chaining path is the sequence represented with the unique mark of forward-path between the switching equipment according to the sequencing between the switching equipment that the data forwarding is realized in the second special services equipment to the path of the 3rd special services equipment;The service chaining is that possess the service sequences that the equipment of special services ability is constituted in the SDN, possessing the equipment of special services ability in the service chaining has a mark of the unique mark equipment, and the service sequences are the sequences that combine of unique mark for the equipment for possessing special services ability described in;
The 6th switching equipment that 5th switching equipment will be transmitted on the 7th switching equipment or the service chaining path after the data and service chaining path Information encapsulation;
6th switching equipment is forwarded according to the service chaining routing information and the 6th forwarding rule to the data, and the 6th forwarding rule is that the 6th switching equipment is received before the data comprising the service chaining routing information are received;Wherein, the 6th switching equipment is the switching equipment on the 5th path between the 5th switching equipment and the 7th switching equipment.
The third aspect, the embodiment of the present invention additionally provides the control device in a kind of software defined network SDN, including:The control device includes network communication unit, control message processing unit, forward-path determining unit and forwarding regulation management unit;
The network communication unit, the first forwarding rule request for receiving the transmission of the first switching equipment in SDN, and the described first forwarding rule request is sent to the control message processing unit;
The control message processing unit, for parsing the first forwarding rule request, the first forwarding rule request after parsing is sent to the forward-path determining unit, and the information for the first path for determining the forward-path determining unit, and the first forwarding rule of the forwarding regulation management unit generation is sent to first switching equipment by the network communication unit, the second forwarding rule of the forwarding regulation management unit generation is sent to the second switching equipment in the first path by the network communication unit;The information of the first path is the order according to switching equipment in the first path, the sequence represented with the unique mark of forward-path between switching equipment, the first via The information in footpath can give second switching equipment with the data forwarding so that second switching equipment is forwarded according to the information and the second forwarding rule of the first path to the data;
The forward-path determining unit, for the first forwarding rule request after the parsing that is sent according to the control message determining unit, it is determined that to the first path of the corresponding data forwarding of data message carried in the described first forwarding rule request;
The forwarding regulation management unit, for generating the regular and described second forwarding rule of first forwarding, the second forwarding rule, second switching equipment is received before the data are received, and second switching equipment can be made to forward the data to the switching equipment being joined directly together in the first path with second switching equipment according to the information of the first path.
In the first possible implementation of the third aspect, the second forwarding rule is generated in the switching equipment building topology relation that second switching equipment is directly connected or after building topology relation, and the second forwarding rule is the forwarding rule to the Data duplication forwarding comprising the routing information according to the routing information received.
In second of possible implementation of the third aspect, the unique mark of link between the switching equipment that unique interface mark or switching equipment between the switching equipment that the unique mark of forward-path is the unique mark of switching equipment between any of the first possible implementation with reference to the third aspect to third aspect implementation, the switching equipment, switching equipment is directly connected directly are connected.
In the third possible implementation of the third aspect, any of second of possible implementation with reference to the third aspect to third aspect implementation, the information of the first path, which is nested in multiprotocol label switching MPLS message, is handed down to first switching equipment.
In the 4th kind of possible implementation of the third aspect, with reference to any of the third possible implementation of the third aspect to third aspect implementation, the control device also includes mark administrative unit and Topology Management unit:
The mark administrative unit, the unique mark for distributing and reclaiming forward-path between switching equipment in the SDN;
The Topology Management unit, for the conversion according to SDN topology, updates the network topological information of the SDN;
Accordingly, the forward-path determining unit is according to the network topological information recorded in the Topology Management unit, and it is described mark administrative unit distribution switching equipment between forward-path unique mark, the first forwarding rule request after the parsing sent with reference to the control message determining unit, it is determined that to the first path of the data message forwarding carried in the described first forwarding rule request.
In the 5th kind of possible implementation of the third aspect, with reference to any of the 4th kind of possible implementation of the third aspect to third aspect implementation, the control device also includes multicast group administrative unit,
The multicast group administrative unit, for for the Multicast Group Assignment multicast identifier in the SDN, described one multicast group of multicast identifier unique mark, the data that the multicast group includes member's transmission at least two multicast members, multicast group can be multicast other members in group and receive.
In the 6th kind of possible implementation of the third aspect, with reference to the 5th kind of possible implementation of the third aspect, the forwarding regulation management unit, it is additionally operable to send the 3rd forwarding rule comprising multicast identifier to the 3rd switching equipment, so that the 3rd switching equipment is according to the described 3rd forwarding rule, the Data Concurrent being encapsulated into up to the routing information in the path of next convergence switching equipment is sent;The routing information in the path for reaching next convergence switching equipment is the sequencing according to the switching equipment for realizing data forwarding, the sequence represented with the unique mark of forward-path between switching equipment;3rd switching equipment is the switching equipment being joined directly together with the member of the multicast group, the 3rd switching equipment be by two articles with upper pathway to the multicast member forward data switching equipment;Next convergence switching equipment is on the forwarding data to the path of multicast member, first passed through from the 3rd switching equipment to multicast member by two articles with switching equipment from upper pathway to multicast member forwarding data.
In the 7th kind of possible implementation of the third aspect, with reference to any of the 4th kind of possible implementation of the third aspect to third aspect implementation, the control device also includes:
Service chaining setup unit, for setting service chaining, the service chaining is that possess specific in the SDN The service sequences that the equipment of service ability is constituted, and to possess the mark of the equipment of the special services ability distribution unique mark equipment in the service chaining;
The forwarding regulation management unit, it is additionally operable to the forwarding of generation the 4th rule and is handed down to the 4th switching equipment, the 4th forwarding rule includes the unique mark for the first special services capacity device being joined directly together with the 4th switching equipment so that the equipment that the 4th switching equipment gives the data forwarding received the first special services ability;The forwarding rule that the 4th forwarding rule is the 4th switching equipment to be received before the data for needing to forward are received, the 4th switching equipment is in the service chaining and possesses the switching equipment that the equipment of special services ability is directly connected to.
In the 8th kind of possible implementation of the third aspect, with reference to any of the 7th kind of possible implementation of third aspect implementation, the network communication unit is additionally operable to receive the 5th forwarding rule request that the 5th switching equipment is sent;
The control message processing unit, is additionally operable to parsing the 5th forwarding rule request, and the 5th forwarding rule request after parsing is sent into the forward-path determining unit;
The forward-path determining unit, it is additionally operable to the 5th forwarding rule request after the parsing according to control message determining unit transmission, it is determined that reaching the service chaining path of the 7th switching equipment, the switching equipment that 5th switching equipment is with the second special services capacity device is joined directly together in the service chaining, 7th switching equipment that switching equipment is with the 3rd special services capacity device is joined directly together in the service chaining, the second special services equipment and the special services equipment that the 3rd special services equipment is the direct neighbor in the service chaining;The service chaining path is the sequencing according to the switching equipment that the data forwarding is realized in the second special services equipment to the path of the 3rd special services equipment, the sequence represented with the unique mark of forward-path between the switching equipment;
The forwarding regulation management unit, it be additionally operable to issue the 5th forwarding rule to the 5th switching equipment, so that the data of the information in the 5th switching equipment wrapper footpath containing service link, and it is sent to the 7th switching equipment, or it is sent to the 6th switching equipment on the service chaining path, so that the 6th switching equipment is forwarded according to the service chaining routing information and the 6th forwarding rule to the data, the 6th forwarding rule is that the 6th switching equipment is being received comprising the service link Received before the data of the information in footpath, and the 6th switching equipment can be made to forward the data to other switching equipment on service chaining path according to the service chaining routing information;Wherein, the 6th switching equipment is the switching equipment on the 5th path between the 5th switching equipment and the 7th switching equipment.
Fourth aspect, the embodiment of the present invention additionally provides data forwarding system in a kind of software defined network SDN, including the first switching equipment and the second switching equipment, and first switching equipment is joined directly together with second switching equipment,
First switching equipment, for regular to control device request forwarding according to the data received, receive the first forwarding rule that the control device is returned, and it is sent to second switching equipment according to the data of the regular wrapper information containing first path of the described first forwarding, the information of the first path is the sequencing according to the switching equipment that the data forwarding is realized in the first path for forwarding the data, the sequence represented with the unique mark of forward-path between switching equipment;
Second switching equipment, for receiving the data that the first switching equipment is sent, second switching equipment is according to the information of the first path and the second forwarding rule, the data are sent to the switching equipment that second switching equipment is joined directly together, the second forwarding rule, second switching equipment is received before the data are received, second switching equipment can be regular according to the information of the first path and second forwarding, forward the data to the switching equipment being joined directly together with second switching equipment, the switching equipment being joined directly together with second switching equipment is the switching equipment in the first path.
In the first possible implementation of fourth aspect, second switching equipment, it is additionally operable to being sent to the information of the first path into the switching equipment being joined directly together with second switching equipment, or second switching equipment is by the information of the switching equipment being joined directly together in the first path with second switching equipment to the second path of the forward-path between the n-th switching equipment, it is sent to the switching equipment being joined directly together with second switching equipment, the information in second path is the sequencing of switching equipment on the path for realize the data forwarding, the sequence represented with the unique mark of forward-path between switching equipment, wherein, n is for integer and more than or equal to 3.
In second of possible implementation of fourth aspect, any of the first possible implementation with reference to fourth aspect to fourth aspect implementation, described second forward rule to be generated in the switching equipment building topology relation that second switching equipment is directly connected or after building topology relation, and the second forwarding rule comprising the described second forwarding rule is the forwarding rule that can be forwarded according to routing information to the Data duplication comprising routing information.
In the third possible implementation of fourth aspect, any of second of possible implementation with reference to fourth aspect to fourth aspect implementation, the data forwarding system also includes the i-th switching equipment, the i-th -1 switching equipment and i+1 switching equipment, and i-th switching equipment, i-th -1 switching equipment and the i+1 switching equipment are the switching equipment in the first path;
I-th switching equipment, for receiving the i-th -1 routing information and the data that i-th -1 switching equipment is sent, i-th -1 routing information is the sequence represented with the unique mark of forward-path between switching equipment according to realizing i-th switching equipment of the data forwarding to the sequencing of the n-th switching equipment;Wherein, i is for integer and more than or equal to 3;And according to i-th -1 routing information, the data and the i-th routing information are sent to the i+1 switching equipment, i-th routing information is the sequence represented with the unique mark of forward-path between switching equipment according to realizing the i+1 switching equipment of the data forwarding to the sequencing of the n-th switching equipment.
In the 4th kind of possible implementation of fourth aspect, with reference to the third possible implementation of fourth aspect, i-th switching equipment sends the data to i+1 switching equipment and the i-th routing information is specifically included according to i-th -1 routing information:
I-th switching equipment peels off the unique mark of the forward-path of i-th switching equipment from i-th -1 routing information, generates i-th routing information;
By the forward-path unique mark of i-th switching equipment, the i-th forwarding rule that i-th switching equipment is preserved is inquired about, the exit port of i-th switching equipment is determined;
I-th switching equipment sends the data and the i-th routing information by the exit port of i-th switching equipment to i+1 switching equipment.
In the 5th kind of possible implementation of fourth aspect, with reference to fourth aspect to fourth aspect Any of the 4th kind of possible implementation implementation, the first path information, second routing information and the i-th routing information are using the nesting encapsulation of multiprotocol label switching MPLS label, the forward-path unique mark of MPLS label head one switching equipment of filling.
In the 6th kind of possible implementation of fourth aspect, with reference to any of the 5th kind of possible implementation of fourth aspect to fourth aspect implementation,
The unique mark of link between the switching equipment that unique interface mark or switching equipment between the switching equipment that the unique mark of forward-path is the unique mark of switching equipment between the switching equipment, switching equipment is directly connected directly are connected.
In the 7th kind of possible implementation of fourth aspect, any of the 6th kind of possible implementation with reference to fourth aspect to fourth aspect implementation, first switching equipment, second switching equipment and the 3rd switching equipment are the members of same multicast group, wherein, 3rd switching equipment be by two articles with upper pathway to the multicast member forward data switching equipment, the member of the multicast group is sent to the data of other members, can be received by other members of the multicast group;
3rd switching equipment, for receiving the forwarding rule of the 3rd comprising multicast identifier that the control device is sent, according to the described 3rd forwarding rule, the Data Concurrent being encapsulated into up to the routing information in the path of next convergence switching equipment is sent;The routing information in the path for reaching next convergence switching equipment is the sequencing according to the switching equipment for realizing data forwarding, the sequence represented with the unique mark of forward-path between switching equipment;Next convergence switching equipment is on the forwarding data to the path of multicast member, first passed through from the 3rd switching equipment to multicast member by two articles with switching equipment from upper pathway to multicast member forwarding data.
In the 8th kind of possible implementation of fourth aspect, data forwarding system also includes the 5th switching equipment, the 6th switching equipment and the 7th switching equipment in any of the 6th kind of possible implementation with reference to fourth aspect to fourth aspect implementation, the SDN;
5th switching equipment, forwards rule request, and receive the service chaining path for the switching equipment of arrival the 7th that the control device is returned, the 5th switching equipment for sending the 5th to the control device It is and the second special services capacity device is joined directly together in the service chaining switching equipment, 7th switching equipment that switching equipment is with the 3rd special services capacity device is joined directly together in the service chaining, the second special services equipment and the special services equipment that the 3rd special services equipment is the direct neighbor in the service chaining, the service chaining path is according to the sequencing between the switching equipment that the data forwarding is realized in the second special services equipment to the path of the 3rd special services equipment, the sequence represented with the unique mark of forward-path between the switching equipment;The service chaining is that possess the service sequences that the equipment of special services ability is constituted in the SDN, possessing the equipment of special services ability in the service chaining has a mark of the unique mark equipment, and the service sequences are the sequences that combine of unique mark for the equipment for possessing special services ability described in;
The data and the service chaining routing information are transmitted to the 6th switching equipment on the 7th switching equipment or the service chaining path by the 5th switching equipment;
6th switching equipment, for being forwarded according to the service chaining routing information and the 6th forwarding rule to the data, the 6th forwarding rule is that the 6th switching equipment is received before the data comprising the service chaining routing information are received;Wherein, the 6th switching equipment is the switching equipment on the 5th path between the 5th switching equipment and the 7th switching equipment.
In the 9th kind of possible implementation of fourth aspect, any of the 8th kind of possible implementation with reference to fourth aspect to fourth aspect implementation, data forwarding system also includes control device in the SDN, and the control device includes network communication unit, control message processing unit, forward-path determining unit and forwarding regulation management unit;
The network communication unit, the control message processing unit is sent to for receiving the first forwarding rule request that first switching equipment is sent, and by the described first forwarding rule request;
The control message processing unit, for parsing the first forwarding rule request, the first forwarding rule request after parsing is sent to the forward-path determining unit, and the information for the first path for determining the forward-path determining unit and the first forwarding rule of forwarding regulation management unit generation are sent to first switching equipment by the network communication unit, the second forwarding rule of the forwarding regulation management unit generation is sent to the first via by the network communication unit The second switching equipment on footpath;The information of the first path is the order according to switching equipment in the first path, the sequence represented with the unique mark of forward-path between switching equipment, the information of the first path can give second switching equipment with the data forwarding so that second switching equipment is forwarded according to the information and the second forwarding rule of the first path to the data;
The forward-path determining unit, for the first forwarding rule request after the parsing that is sent according to the control message determining unit, it is determined that to the first path of the corresponding data forwarding of data message carried in the described first forwarding rule request;
The forwarding regulation management unit, for generating the regular and described second forwarding rule of first forwarding.
In the tenth kind of possible implementation of fourth aspect, with reference to the 9th kind of possible implementation of fourth aspect, the control device also includes multicast group administrative unit,
The multicast group administrative unit, for for the Multicast Group Assignment multicast identifier in the SDN, described one multicast group of multicast identifier unique mark, the data that the multicast group includes member's transmission at least two multicast members, multicast group can be multicast other members in group and receive.
In a kind of the tenth possible implementation of fourth aspect, with reference to the tenth kind of possible implementation of fourth aspect, the forwarding regulation management unit, it is additionally operable to send the 3rd forwarding rule comprising multicast identifier to the 3rd switching equipment, so that the 3rd switching equipment is according to the described 3rd forwarding rule, the Data Concurrent being encapsulated into up to the routing information in the path of next convergence switching equipment is sent;The routing information in the path for reaching next convergence switching equipment is the sequencing according to the switching equipment for realizing data forwarding, the sequence represented with the unique mark of forward-path between switching equipment;3rd switching equipment is the switching equipment being joined directly together with the member of the multicast group, the 3rd switching equipment be by two articles with upper pathway to the multicast member forward data switching equipment;Next convergence switching equipment is on the forwarding data to the path of multicast member, first passed through from the 3rd switching equipment to multicast member by two articles with switching equipment from upper pathway to multicast member forwarding data.
In the 12nd kind of possible implementation of fourth aspect, with reference to the 9th kind of fourth aspect Possible implementation to a kind of any of the tenth possible implementation of fourth aspect implementation, the control device also includes:
Service chaining setup unit, for setting service chaining, the service chaining is that possess the service sequences that the equipment of special services ability is constituted in the SDN, and to possess the mark of the equipment of the special services ability distribution unique mark equipment in the service chaining;
The forwarding regulation management unit, it is additionally operable to the forwarding of generation the 4th rule and is handed down to the 4th switching equipment, the 4th forwarding rule includes the unique mark for the first special services capacity device being joined directly together with the 4th switching equipment so that the 4th switching equipment will be transmitted to the first special services ability equipment under the data received;The forwarding rule that the 4th forwarding rule is the 4th switching equipment to be received before the data for needing to forward are received, the 4th switching equipment is in the service chaining and possesses the switching equipment that the equipment of special services ability is directly connected to.
In the 13rd kind of possible implementation of fourth aspect, with reference to the 12nd kind of possible implementation of fourth aspect, the network communication unit is additionally operable to receive the 5th forwarding rule request that the 5th switching equipment is sent;
The control message processing unit, is additionally operable to parsing the 5th forwarding rule request, and the 5th forwarding rule request after parsing is sent into the forward-path determining unit;
The forward-path determining unit, it is additionally operable to the 5th forwarding rule request after the parsing according to control message determining unit transmission, it is determined that reaching the service chaining path of the 7th switching equipment, the switching equipment that 5th switching equipment is with the second special services capacity device is joined directly together in the service chaining, 7th switching equipment that switching equipment is with the 3rd special services capacity device is joined directly together in the service chaining, the second special services equipment and the special services equipment that the 3rd special services equipment is the direct neighbor in the service chaining;The service chaining path is the sequencing according to the switching equipment that the data forwarding is realized in the second special services equipment to the path of the 3rd special services equipment, the sequence represented with the unique mark of forward-path between the switching equipment;
The forwarding regulation management unit, is additionally operable to issue the 5th forwarding rule to the 5th switching equipment, so that the 5th switching equipment wrapper contains the data of the service chaining routing information, and is sent to 7th switching equipment, or it is sent to the 6th switching equipment on the service chaining path, so that the 6th switching equipment is forwarded according to the service chaining routing information and the 6th forwarding rule to the data, the 6th forwarding rule is that the 6th switching equipment is received before the data comprising the service chaining routing information are received, and the 6th switching equipment can be made to forward the data to other switching equipment on service chaining path according to the service chaining routing information;Wherein, the 6th switching equipment is the switching equipment on the 5th path between the 5th switching equipment and the 7th switching equipment.
Method and apparatus provided in an embodiment of the present invention, pass through the first path for determining to forward the corresponding data of the data message, so that the Data Concurrent of the information of the first switching equipment wrapper containing first path gives the second switching equipment, so that second switching equipment is forwarded according to the information of the first path and the second forwarding rule to the data, the second forwarding rule, second switching equipment is received before the data are received, second switching equipment is enabled to receive the forwarding rule to data forwarding before data are received, and realize data forwarding according to the data and routing information received.Control device need not all issue to the second switching equipment forwarding data and once forward rule every time, second switching equipment need not all receive forwarding rule in forwarding data every time, the second switching equipment is not only saved because preserving and being applicable the resource consumption that forwarding rule is brought, also save resource consumption of the control device when issuing forwarding rule, the utilization rate of equipment is improved, while also saving between control device and switching equipment because repeatedly issuing the bandwidth shared by forwarding rule.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, the required accompanying drawing used in embodiment or description of the prior art will be briefly described below, apparently, drawings in the following description are only some embodiments of the present invention, for those of ordinary skill in the art, without having to pay creative labor, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of data forwarding method in a kind of SDN of the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of data forwarding method in another SDN of the embodiment of the present invention;
Fig. 3 is the network architecture schematic diagram that a kind of SDN data forwarding methods of the embodiment of the present invention are realized in data center;
Fig. 4 be SDN of the embodiment of the present invention in realize the schematic flow sheet that the method for data forwarding is implemented;
Fig. 5 is process flow figure when data center network topology changes of the embodiment of the present invention;
Fig. 6 is that figure is presented in the visualization of forward-path in the present embodiment;
Fig. 7 is the implementation network architecture diagram that the embodiment of the present invention realizes data or service message forwarding on multicast group;
Fig. 8 disposes a kind of implementation schematic diagram of service chaining for tenant in the embodiment of the present invention in data center;
Fig. 9 be a kind of SDN of the embodiment of the present invention in control device structural representation;
Figure 10 be a kind of SDN of the embodiment of the present invention in another implementation of control device structural representation;
Data forwarding system structural representation in a kind of SDN of Figure 11 embodiment of the present invention;
Another implementation structural representation of data forwarding system in a kind of SDN of Figure 12 embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is explicitly described, it is clear that described embodiment is a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained on the premise of creative work is not made should all belong to the scope of protection of the invention.
To solve the switching equipment flow table item in the prior art in network backbone layer excessively, SDN is taken The problem of performance and network performance of equipment decline in the hardware resource of middle control device and key layer exchange device, the SDN brought, the embodiments of the invention provide a kind of method of data forwarding in SDN.As shown in figure 1, Fig. 1 is the schematic flow sheet of data forwarding method in a kind of SDN of the embodiment of the present invention, including:
Step 100:The first forwarding rule request that the first switching equipment in the SDN is sent is received, the first path forwarded to the corresponding data of the data message is determined according to the data message carried in the described first forwarding rule request;
Step 102:Issue for forwarding the first of the data to forward rule to first switching equipment, so that the Data Concurrent of the information of the first switching equipment wrapper containing first path gives the second switching equipment, the information of the first path is the sequencing according to the switching equipment that the data forwarding is realized in the first path, the sequence represented with the unique mark of forward-path between switching equipment, so that second switching equipment is forwarded according to the information of the first path and the second forwarding rule to the data, the second forwarding rule is that second switching equipment is received before the data are received and second switching equipment can be made to forward the data to the switching equipment being joined directly together in the first path with second switching equipment according to the information of the first path.
The above method passes through the first path that determines to forward the corresponding data of the data message, so that the Data Concurrent of the information of the first switching equipment wrapper containing first path gives the second switching equipment, so that second switching equipment is forwarded according to the information of the first path and the second forwarding rule to the data, the second forwarding rule, second switching equipment is received before the data are received, second switching equipment is enabled to receive the forwarding rule to data forwarding before data are received, and realize data forwarding according to the data and routing information received.Control device need not all issue to the second switching equipment forwarding data and once forward rule every time, save resource consumption of the control device when issuing forwarding rule, the utilization rate of equipment is improved, while also saving between control device and switching equipment because repeatedly issuing the bandwidth shared by forwarding rule.
Above-mentioned steps 100 and step 102 can realize by the control device in a controller group of planes in Fig. 3, The specific implementation that may be referred in Fig. 3 of the embodiment of the present invention.Accordingly, first switching equipment can be the virtual switch 1 in Fig. 3, and second switching equipment can be the access switch 1 in Fig. 3.
It is used as a kind of optional implementation, the second forwarding rule is generated in the switching equipment building topology relation that second switching equipment is directly connected or after building topology relation, and the second forwarding rule is the forwarding rule to the Data duplication forwarding comprising the routing information according to the routing information received.When topological relation between the switching equipment being joined directly together with second switching equipment changes, second switching equipment should change therewith to the forwarding rule between directly connected switching equipment.Therefore, in the switching equipment building topology relation that second switching equipment is directly connected or after building topology relation, the forwarding of generation second rule is simultaneously sent to the second switching equipment, forwarded when enabling the second switching equipment to carry out data forwarding according to the second forwarding rule according to newest network topology, the accuracy rate of data forwarding is improved while device resource consumption is saved.
Optionally, in the embodiment of the present invention, the unique mark of link between the switching equipment that unique interface mark or switching equipment between the switching equipment that the unique mark of forward-path is the unique mark of switching equipment between the switching equipment, switching equipment is directly connected directly are connected.
When implementing, the information of the first path, which can be nested in multiprotocol label switching MPLS message, is handed down to first switching equipment.
The methods described of the embodiment of the present invention, can also include:
Create multicast identifier, the multicast identifier is the mark of unique mark multicast group, the multicast group includes at least two multicast members, realizes the switching equipment of data forwarding between the multicast member and includes first switching equipment and second switching equipment;
Accordingly, the multicast identifier is also included in the regular and described second forwarding rule of first forwarding.
Realizing the switching equipment of data forwarding between the multicast member also includes the 3rd switching equipment, and the 3rd switching equipment is with upper pathway to forward the exchange of data to set to the multicast member by two articles It is standby;Methods described also includes:
The 3rd forwarding rule comprising multicast identifier is sent to the 3rd switching equipment, so that the 3rd switching equipment is according to the described 3rd forwarding rule, the Data Concurrent being encapsulated into up to the routing information in the path of next convergence switching equipment is sent;The routing information in the path for reaching next convergence switching equipment is the sequencing according to the switching equipment for realizing data forwarding, the sequence represented with the unique mark of forward-path between switching equipment;Next convergence switching equipment is on the forwarding data to the path of multicast member, first passed through from the 3rd switching equipment to multicast member by two articles with switching equipment from upper pathway to multicast member forwarding data.
Above-mentioned 3rd switching equipment, is the switching equipment in multicast group where convergent point, has more than two articles of path to reach the member of multicast group by the 3rd switching equipment.The above method issues the 3rd forwarding rule to the switching equipment where the convergent point, so that the Data Concurrent of the 3rd switching equipment wrapper containing two articles of routing informations with upper pathway is sent, the efficiency and reliability that data forwarding in multicast group is improved on the premise of device resource in saving SDN can be realized.When 3rd switching equipment can be the access switch 1 shown in Fig. 7, next convergence switching equipment is convergence switch 2;It realizes that the forwarding of multicast group data message may be referred to the embodiment shown in Fig. 7 to realize.
In the specific implementation, data forwarding method also includes in SDN provided in an embodiment of the present invention:
Service chaining is set, the service chaining is that possess the service sequences that the equipment of special services ability is constituted in the SDN, be the mark for possessing the equipment distribution unique mark of the special services ability equipment in the service chaining;Wherein, the switching equipment being directly connected to the equipment for possessing special services ability includes the 4th switching equipment;
Methods described also includes:
Generate the 4th forwarding rule and be handed down to the 4th switching equipment, the 4th forwarding rule includes the unique mark for the first special services capacity device being joined directly together with the 4th switching equipment so that the equipment that the 4th switching equipment gives the data forwarding received the first special services ability;The 4th forwarding rule is the forwarding rule that the 4th switching equipment is received before the data for needing to forward are received.
Optionally, methods described also includes:
Receive the 5th forwarding rule request of the 5th switching equipment transmission, determine to reach the service chaining path of the 7th switching equipment according to the information of the data carried in the described 5th forwarding rule request, the switching equipment that 5th switching equipment is with the second special services capacity device is joined directly together in the service chaining, 7th switching equipment that switching equipment is with the 3rd special services capacity device is joined directly together in the service chaining, the second special services equipment and the special services equipment that the 3rd special services equipment is the direct neighbor in the service chaining;The service chaining path is the sequencing according to the switching equipment that the data forwarding is realized in the second special services equipment to the path of the 3rd special services equipment, the sequence represented with the unique mark of forward-path between the switching equipment;
Issue for forwarding the 5th of the data the to forward rule to the 5th switching equipment, so that the data of the information in the 5th switching equipment wrapper footpath containing service link, and it is sent to the 7th switching equipment, or it is sent to the 6th switching equipment on the service chaining path, so that the 6th switching equipment is forwarded according to the service chaining routing information and the 6th forwarding rule to the data, the 6th forwarding rule is that the 6th switching equipment is received before the data comprising the service chaining routing information are received and the 6th switching equipment can be made to forward the data to other switching equipment on the service chaining path according to the information in service chaining path;Wherein, the 6th switching equipment is the switching equipment on the 5th path between the 5th switching equipment and the 7th switching equipment.By taking the service chaining shown in Fig. 8 as an example, the 5th switching equipment in the embodiment of the present invention can be with access switch 1, and the 7th switching equipment can be access switch 3, and the 6th switching equipment can be core switch;Realize that the forwarding of data message may be referred to the embodiment shown in Fig. 8 under service chaining scene.
Above by the 5th forwarding rule issued for forwarding the data to the 5th switching equipment, it can realize under the scene of application service chain, also the resource utilization of the network equipment in SDN can be lifted, when data forwarding is needed by different special services equipment, sequencing according to each special services equipment in service chaining realizes the forwarding of data, in data forwarding process, switching equipment on forward-path, such as the 6th switching equipment in above-mentioned implementation, can be according to receiving data The forwarding rule received before is forwarded to data, it is not necessary to forwarding rule is all obtained when receiving data every time, the resource overhead of control device is saved, and the resource utilization of equipment in SDN is improved while service chaining service is realized.
With reference to Fig. 2, Fig. 2 is the schematic flow sheet of data forwarding method in another SDN of the embodiment of the present invention, including:
Step 200:First switching equipment is regular to control device request forwarding according to the data received;
Step 202:First switching equipment receives the first forwarding rule that the control device is returned, and it is sent to second switching equipment direct-connected with first switching equipment according to the data of the regular wrapper information containing first path of the described first forwarding, the information of the first path is the sequencing according to the switching equipment that the data forwarding is realized in the first path for forwarding the data, the sequence represented with the unique mark of forward-path between switching equipment;
Step 204:Second switching equipment receives the data that first switching equipment is sent, second switching equipment is according to the information of the first path and the second forwarding rule, the data are sent to the switching equipment that second switching equipment is joined directly together, the second forwarding rule, second switching equipment is received before the data are received, second switching equipment can be regular according to the information of the first path and second forwarding, forward the data to the switching equipment being joined directly together with second switching equipment, the switching equipment being joined directly together with second switching equipment is the switching equipment in the first path.
The first switching equipment in method shown in Fig. 2 can be the virtual switch 1 in embodiment illustrated in fig. 3, second switching equipment can be the access switch 1 in embodiment illustrated in fig. 3,3rd switching equipment can be the convergence switch 1 in embodiment illustrated in fig. 3, and concrete implementation can also be with reference to the implementation shown in Fig. 3.
The above method receives the first forwarding rule that the control device is returned by the first switching equipment, and it is sent to second switching equipment direct-connected with first switching equipment according to the data of the regular wrapper information containing first path of the described first forwarding, second switching equipment is forwarded according to the information of the first path and the second forwarding rule to the data, and the second forwarding rule is described What the second switching equipment was received before the data are received so that second switching equipment can receive the forwarding rule to data forwarding before data are received, and realize data forwarding according to the data and routing information received.Second switching equipment need not receive all to obtain after data every time once forwards rule, it need not every time receive and a flow table progress data forwarding is all obtained after data, the forwarding that the second forwarding rule realizes data may be reused, save the second switching equipment carry out data forwarding when because preserve and using forwarding rule caused by resource consumption, improve the utilization rate of switching equipment;Especially for the switching equipment of data center's backbone layer, because forwarding data volume is big, the resource consumptions such as huge chip can be brought with being applicable substantial amounts of forwarding rule by preserving;The scheme provided by the present embodiment, can save the resource of switching equipment so that switching equipment in data center network need not higher performance can be achieved with substantial amounts of data forwarding, improve the competitiveness of switching equipment.
It is used as a kind of optional implementation, in the embodiment of the present invention, the information of the first path can be sent to the switching equipment being joined directly together with second switching equipment by second switching equipment, or the switching equipment being joined directly together in the first path with second switching equipment is sent to the switching equipment being joined directly together with second switching equipment by second switching equipment to the information in the second path of the forward-path between the n-th switching equipment, the information in second path is the sequencing of switching equipment on the path for realize the data forwarding, the sequence represented with the unique mark of forward-path between switching equipment, wherein, n is for integer and more than or equal to 3.I.e., the information of first path can all be transmitted to the directly next switching equipment (the 3rd switching equipment) connected, in the first path for realizing data forwarding by the second switching equipment, as long as the switching equipment in the first path can recognize that its next switching equipment to be forwarded after receiving the information of the first path according to the unique mark that data forwarding is realized between switching equipment;Or second switching equipment is received after the first path information, peel off the information of the second switching equipment described in the routing information, by in the first path, the routing information of the 3rd switching equipment to the n-th switching equipment is sent to the 3rd switching equipment.
Optionally, the second forwarding rule is generated in the switching equipment building topology relation that second switching equipment is directly connected or after building topology relation, includes the described second forwarding rule The second forwarding rule then is the forwarding rule that can be forwarded according to routing information to the Data duplication comprising routing information.
In the embodiment of the present invention, methods described also includes:
I-th switching equipment receives the i-th -1 routing information and the data that the i-th -1 switching equipment is sent, i-th -1 routing information is the sequence represented with the unique mark of forward-path between switching equipment according to realizing the i-th switching equipment of the data forwarding to the sequencing of the n-th switching equipment;Wherein, i is for integer and more than or equal to 3;
I-th switching equipment is according to i-th -1 routing information, the data and the i-th routing information are sent to the i+1 switching equipment, i-th routing information is the sequence represented with the unique mark of forward-path between switching equipment according to realizing the i+1 switching equipment of the data forwarding to the sequencing of the n-th switching equipment;
I-th switching equipment, i-th -1 switching equipment and the i+1 switching equipment are the switching equipment in the first path.
As a kind of optional implementation, i-th switching equipment sends the data to i+1 switching equipment and the i-th routing information is specifically included according to i-th -1 routing information:
I-th switching equipment peels off the unique mark of the forward-path of i-th switching equipment from i-th -1 routing information, generates i-th routing information;
By the forward-path unique mark of i-th switching equipment, the i-th forwarding rule that i-th switching equipment is preserved is inquired about, the exit port of i-th switching equipment is determined;
I-th switching equipment sends the data and the i-th routing information by the exit port of i-th switching equipment to i+1 switching equipment.
As one kind of specific implementation, i-th switching equipment can be the core switch in embodiment illustrated in fig. 3, and the i-th -1 switching equipment and i+1 switching equipment are convergence switch 1 and convergence switch 2 respectively.
The above method realizes the switching equipment on the data forwarding paths, can realize data according to the forwarding rule and the routing information of data forwarding received before the data for needing to forward are received Forwarding, it is not necessary to every time all obtained in data forwarding once forward rule, save the resource overhead of control device and switching equipment, improve the utilization rate of resource in SDN.
As a kind of optional implementation, the first path information, the second routing information and the i-th routing information are using the nesting encapsulation of multiprotocol label switching MPLS label, the forward-path unique mark of MPLS label head one switching equipment of filling.The unique mark of link between the switching equipment that unique interface mark or switching equipment between the switching equipment that the unique mark of forward-path is the unique mark of switching equipment between the switching equipment, switching equipment is directly connected directly are connected.
When first switching equipment, second switching equipment and the 3rd switching equipment are the members of same multicast group, the method for the embodiment of the present invention also includes:
The 3rd forwarding rule comprising multicast identifier is sent to the 3rd switching equipment, so that the 3rd switching equipment is according to the described 3rd forwarding rule, the Data Concurrent being encapsulated into up to the routing information in the path of next convergence switching equipment is sent;The routing information in the path for reaching next convergence switching equipment is the sequencing according to the switching equipment for realizing data forwarding, the sequence represented with the unique mark of forward-path between switching equipment;Next convergence switching equipment is on the forwarding data to the path of multicast member, first passed through from the 3rd switching equipment to multicast member by two articles with switching equipment from upper pathway to multicast member forwarding data.The implementation of switching equipment in the multicast group, can also be realized, i.e. the 3rd switching equipment can be the convergent point interchanger in Fig. 7, for example access switch 1 or convergence switch 2 etc. with reference to the implementation in the embodiment shown in Fig. 7;When the 3rd switching equipment is access switch 1, next convergence switching equipment is convergence switch 2.
Pass through the above method, when first switching equipment, second switching equipment and the 3rd switching equipment are the members of same multicast group, and the 3rd switching equipment by member from two or more path to multicast group forward data when, switching equipment when two articles of information with upper pathway forwards data to multicast member on forward-path is encapsulated by the 3rd switching equipment, it can avoid in multicast group data is forwarded because largely issuing the device resource consumption that forwarding rule is brought, improve device resource utilization rate in SDN.
Scene for needing to realize service chaining, method provided in an embodiment of the present invention can also reach the effect of device resource utilization rate in lifting SDN.Service chaining in the embodiment of the present invention is that possess the service sequences that the equipment of special services ability is constituted in the SDN, possessing the equipment of special services ability in the service chaining has a mark of the unique mark equipment, and the service sequences are the sequences that combine of unique mark for the equipment for possessing special services ability described in.As a kind of optional implementation, the above method further comprises:The switching equipment that 5th switching equipment is with the second special services capacity device is joined directly together in the service chaining, 5th switching equipment sends the 5th to the control device and forwards rule request, and receive the service chaining path for the switching equipment of arrival the 7th that the control device is returned, 7th switching equipment that switching equipment is with the 3rd special services capacity device is joined directly together in the service chaining, the second special services equipment and the special services equipment that the 3rd special services equipment is the direct neighbor in the service chaining, the service chaining path is according to the sequencing between the switching equipment that the data forwarding is realized in the second special services equipment to the path of the 3rd special services equipment, the sequence represented with the unique mark of forward-path between the switching equipment;
The 6th switching equipment that 5th switching equipment will be transmitted on the 7th switching equipment or the service chaining path after the data and service chaining path Information encapsulation;
6th switching equipment is forwarded according to the service chaining routing information and the 6th forwarding rule to the data, and the 6th forwarding rule is that the 6th switching equipment is received before the data comprising the service chaining routing information are received;Wherein, the 6th switching equipment is the switching equipment on the 5th path between the 5th switching equipment and the 7th switching equipment.By taking the service chaining shown in Fig. 8 as an example, the 5th switching equipment in the embodiment of the present invention can be with access switch 1, and the 7th switching equipment can be access switch 3, and the 6th switching equipment can be core switch;Realize that the forwarding of data message may be referred to the embodiment shown in Fig. 8 under service chaining scene.
The 5th forwarding rule is obtained above by the 5th switching equipment, realize under the scene of application service chain, also the resource utilization of the network equipment in SDN can be lifted, when data forwarding is needed by different special services equipment, sequencing according to each special services equipment in service chaining realizes the forwarding of data, in data forwarding process, the switching equipment on forward-path, such as above-mentioned implementation In the 6th switching equipment, data can be forwarded according to the forwarding rule received before data are received, forwarding rule is all obtained when need not receive data every time, the resource overhead of control device is saved, the resource utilization of equipment in SDN is improved while service chaining service is realized.
Fig. 3 is the network architecture schematic diagram that a kind of SDN data forwarding methods of the embodiment of the present invention are realized in DC (Data Center, data center).As shown in figure 3, accessing, converging, core layer belongs to backbone network, access, convergence, core switch are corresponded to respectively.Edge network is virtual level, is made up of virtual switch, is connected by access switch with DC backbone networks.
Carry is distinguished on virtual switch 1,2 in source, destination fictitious host computer, the two across DC backbone network communication.There is a data path between source, destination host:Virtual switch 1-access switch 1- convergence switches 1- core switch-convergence switch 2- access switch 2- virtual switches 2.Message is sent from source host, through virtual switch 1, and interface 2 enters, and interface 5 goes out;Through access switch 1, interface 7 enters, and interface 4 goes out;Through convergence switch 1, interface 6 enters, and interface 3 goes out;Through core switch, interface 5 enters, and interface 9 goes out;Through convergence switch 2, interface 8 enters, and interface 7 goes out;Through access switch 2, interface 6 enters, and interface 8 goes out;Through virtual switch 2, interface 3 enters, and interface 1 goes out;Destination host finally is arrived at, so as to realize the transmission of data message.Wherein, source or destination can be the equipment such as mobile terminal (including but is not limited to notebook, mobile phone, flat board, palm PC, POS, MP3, navigator), fixed terminal (including but is not limited to desktop computer, printer, facsimile machine, number throwing, DTV) or wireless access terminal;Virtual switch 1, access switch 1, convergence switch 1, core switch, convergence switch 2, access switch 2 and virtual switch 2 are all the switching equipment in SDN.
Fig. 4 be SDN of the embodiment of the present invention in realize the schematic flow sheet that the method for data forwarding is implemented.As shown in Figure 4:
Step 701:SDN controllers collect DC network topological informations;
When implementing, SDN controllers can monitor the state of each interchanger, and the topology information of DC networks is collected according to the annexation of each interchanger.
SDN controllers are the unique mark that interchanger distributes forward-path between interchanger.Here with point Illustrated exemplified by unique mark (i.e. unique network identity) with interchanger.SDN controllers are that the mark that interchanger is distributed possesses uniqueness, to distinguish in DC networks other interchangers or can possess the other types of object of network identity.The unique mark can also individually can be applied in combination with other network identities, for demarcating message forwarding path.
For example, SDN controllers are the network identity of each forwarding unit distribution in DC networks in the form shown in table 1.Virtual switch 1 obtains network identity 1, and access switch 1 obtains network identity 11, and convergence switch 1 obtains network identity 21, core switch obtains network identity 3, convergence switch 2 obtains network identity 22, and access switch 2 obtains network identity 12, and virtual switch 2 obtains network identity 2.
Forwarding unit Network identity
Virtual switch 1 1
Access switch 1 11
Convergence switch 1 21
Core switch 1 3
Convergence switch 2 22
Access switch 2 12
Virtual switch 2 2
Table 1
In the specific implementation, if there is exchange fault and SDN controller disconnections, or Interface status changes, or when having the new interchanger access network to be connected with the foundation of SDN controllers, can all trigger the renewal of network topology.For example, when interchanger is because of failure and other reasons and SDN controller disconnections, SDN controllers will reclaim the unique mark of the interchanger of the allocated disconnection, and the network identity of recovery can be reallocated to other interchangers, or can possess the other types of object of network identity.If exchanging the interface connect to break down, although renewal occurs in network topology, and SDN controllers can also retain the unique mark of interchanger.It is above-mentioned be using the network identity of interchanger as unique mark exemplified by illustrate, during for unique mark using link identification as forward-path, when exchange interface failure causes network topology to change, corresponding link identification should be accordingly adjusted.
, can be to exchanging after SDN controller identifier interchangers when there is new interchanger to access DC networks Machine PacketOut LLDP messages, interchanger broadcasts LLDP messages to its all outgoing interface, and neighboring switch, due to the flow table item without matching, will produce PacketIn events, notify SDN controllers after LLDP messages are received;SDN controllers analyze LLDP message characteristics, determine the network topology of interchanger, i.e. neighboring switch and its outgoing interface, and obtain topology information of the SDN after topological relation change.By taking the network architecture shown in Fig. 3 as an example, the DC network topologies that SDN controllers are obtained after last time topology changes are as shown in table 2:
Table 2
Wherein, virtual switch 1 abuts access switch 1 in outgoing interface 5, access switch 1 is in outgoing interface 7, 4 abut virtual switch 1 respectively, convergence switch 1, convergence switch 1 is in outgoing interface 6, 3 abut access switch 1 respectively, core switch, core switch is in outgoing interface 5, 9 abut convergence switch 1 respectively, 2, convergence switch 2 is in outgoing interface 8, 7 abut core switch respectively, access switch 2, access switch 2 is in outgoing interface 6, 8 abut convergence switch 2 respectively, virtual switch 2, virtual switch 2 abuts access switch 2 in outgoing interface 3.Based on the specific implementation shown in Fig. 3, virtual switch 1 can be the first switching equipment in the embodiment of the present invention, and access switch 1 can be the second switching equipment in the embodiment of the present invention.
Step 702:SDN controllers refresh backbone switch active flow table item according to the DC network topological informations of acquisition;
Active flow table item is the information proactive customizations of SDN controllers foundation themselves capture and the unrelated flow table item of business issued.Receive the interchanger of active flow table item directly can forward data or service message according to active flow table item.In the embodiment of the present invention, the forwarding rules of data is that, by flow table issuance, controller is by issuing flow table to interchanger to realize issuing for forwarding rule.Active flow table item is exactly controller when not receiving interchanger request and issuing forwarding rule, and the forwarding rule actively issued to interchanger is handed down to interchanger by active flow table item.Exemplified by the forward-path in SDN between switching equipment is demarcated by the unique mark of interchanger, the active flow table item that SDN controllers are issued meets following characteristics:
Matching condition:Neighboring switch is identified;
Perform action:Neighboring switch mark is peeled off to message, message is sent to neighboring switch outgoing interface.
Table 3 is a kind of presentation mode of active flow table item in network architecture diagram shown in Fig. 3:
Table 3
As shown in table 3, controller is issued to the active flow table item up to adjacent virtual interchanger 1, convergence switch 1 to access switch 1, the active flow table item up to neighboring access interchanger 1, core switch is issued to convergence switch 1, the active flow table up to adjacent convergence switch 1,2 is issued to core switch , the active flow table item up to adjacent core interchanger, access switch 2 is issued to convergence switch 2, the active flow table item up to adjacent convergence switch 2, virtual switch 2 is issued to access switch 2.
After in the specific implementation, changing renewal when DC network topologies, the refreshing of active flow table item is triggered so that active flow table item can in time be adjusted with the change of network, meet the timely forwarding of data or service message.As described above, the change of network topology be able to can be triggered abnormal, new addition interchanger of abnormal, exchange interface etc. because of interchanger, concrete implementation flow can be realized by the schematic flow sheet shown in Fig. 5, Fig. 5 is process flow figure when data center network topology changes of the embodiment of the present invention, and is repeated no more here.
Step 703:Source sends message to the interchanger direct-connected with it, due to the flow table item without matching, and direct-connected interchanger is to SDN controller report PacketIn events with source;
Step 704:SDN controllers analyze message characteristic, according to current network topology, select forward-path;
SDN controllers can select optimal forward-path from a plurality of forward-path, for example, most short or flow weight most light forward-path can be selected.
Step 705:The SDN controllers pair interchanger direct-connected with source issues passive flow table item.Passive flow table item is that the message received can not be handled in forwarding unit (i.e. interchanger), turns SDN controller decision-makings, the related flow table item of the business for passively customizing and issuing;Namely switching equipment is handed down to the forwarding rule of interchanger according to the request of interchanger, the forwarding is regular to be handed down to interchanger by passive flow table item when receiving interchanger request and issuing forwarding rule.The passive flow table item of source meets following characteristics:
Matching condition:Original message feature;
Perform action:The forward-path up to the interchanger direct-connected with destination is encapsulated into original message, packaged message is sent to next-hop outgoing interface.The passive flow table item can be as shown in table 4:
Table 4
In table 4, passive flow table item indicates the matching original message feature of virtual switch 1, and the forward-path up to virtual switch 2 is encapsulated into original message, packaged message is sent to interface 5;The matching original message feature of virtual switch 2 is indicated, original message is sent to interface 1.
The forward-path up to virtual switch 2 is encapsulated into table 4, i.e. message is by way of virtual switch 1, access switch 1, convergence switch 1, core switch, convergence switch 2, access switch 2, virtual switch 2 from source to destination, and difference map network identifies 1,11,21,3,22,12,2.Forward-path between the forward-path demarcated using the unique mark of interchanger between interchanger, such interchanger be exactly it is unique, being capable of one forward-path of unique mark by one group of sequence for indicating switch identification.The forward-path that message is sent to destination from source can be expressed as:1–11–21–3–22–12–2.Fig. 6 is that figure is presented in the visualization of forward-path in the present embodiment.
Forward-path can be nested in MPLS (Multiple Protocol Label Switching, multiprotocol label switching) by way of road sign envelope turns and be handed down to the interchanger direct-connected with source by SDN controllers.
MPLS label supports multilayer nest between message two, three layers of head.One MPLS label takes 32 bits, as shown in table 5:
Table 5
Wherein Label fields account for 20 bits, for marking road sign, indicate the next-hop forwarding unit of message;Exp fields take 3 bits, for marking QoS, realize the big double layer network differential services of DC;S fields take 1 bit, are stack bottom marks, identify final jump;Ttl field takes 8 bits, for marking label life cycle, because the next-hop of label only identification message, and perseverance is 1.
One MPLS carrying, one road sign, multiple MPLS are nested in order, carry one group of road sign, And then constitute a forward-path.The forward-path that DC networks are selected with the direct-connected interchanger of source according to SDN controllers, message, final jump road sign press-in stack bottom, next-hop road sign press-in stack top are pressed into by road sign successively by destination to source.As shown in table 6:
Table 6
Table 6 is the schematic diagram for the message for encapsulating forward-path.Virtual switch 2 is the final jump forwarding unit of message, and its road sign is by first press-in message, positioned at the stack bottom of the nested labels of MPLS.Because the encapsulation operation of forward-path is performed on virtual switch 1, virtual switch 1 understands that the next-hop forwarding unit of message is access switch 1, therefore the jump of forward-path first is the next-hop forwarding unit convergence switch 1 of access switch 1, and its road sign is crushed on stack top.Other forwarding unit road signs are the road sign of access switch 2, the road sign of convergence switch 2, core switch road sign successively by stack bottom to stack top.
Step 706:The SDN controllers pair interchanger direct-connected with destination issues passive flow table item.
The passive flow table item of destination meets following characteristics:
Matching condition:Original message feature;
Perform action:Original message is sent to destination outgoing interface.
The SDN controllers pair interchanger direct-connected with destination issues passive flow table item can be as shown in table 7:
Forwarding unit Passive flow table item
Virtual switch 2 Matching condition:Original message feature;Perform action:Send to interface 1
Table 7
The backbone switch of DC networks receives the active flow table item that SDN controllers are issued, and edge switch is received after the passive flow table item that SDN controllers are issued, i.e., can realize the forwarding to message.What is received due to backbone switch is active flow table item, all flow table need not be issued in forwarding data every time to backbone switch, i.e. active flow table item can be reused in follow-up data forwarding, reduce the quantity that flow table is issued to backbone switch, correspondingly reduce the device resource occupancy of SDN controllers, the network bandwidth between SDN controllers and backbone switch corresponding can also be saved, simultaneously, backbone switch need not all receive flow table item in each data forwarding, improve the resource utilization of backbone switch.
The embodiment of the present invention additionally provides a kind of implementation when realizing data or service message forwarding for multicast group.Multicast group, is multiple one multicast group of member composition, and data or service message that a member sends in multicast group, the only member in multicast group can receive.The member of multicast group, can be the equipment such as mobile terminal (including but is not limited to notebook, mobile phone, flat board, palm PC, POS, MP3, navigator), fixed terminal (including but is not limited to desktop computer, printer, facsimile machine, number throwing, DTV) or wireless access terminal.
There are 4 members with multicast group, different interchangers are connected respectively, exemplified by the forwarding that data or service message are realized by the backbone switch of DC networks, illustrate implementation of the data message forwarding method of the embodiment of the present invention in multicast group.As shown in fig. 7, the implementation network architecture diagram of data or service message forwarding is realized on multicast group for the embodiment of the present invention.
In Fig. 7, multicast group possesses 4 members:Member 1,2,3,4, access DC networks by virtual switch 1, access switch 1, access switch 3, virtual switch 2 respectively.Across the DC backbone network transmitting-receiving multicast message of multicast member.
Multicast member 1 sends multicast message to other members:The multicast message of member 2 is sent to, through virtual switch 1, interface 2 enters, and interface 5 goes out, through access switch 1, and interface 7 enters, and interface 1 goes out;The multicast message of member 3 is sent to, through virtual switch 1, interface 2 enters, and interface 5 goes out, through access switch 1, interface 7 enters, and interface 4 goes out, through convergence switch 1, interface 6 enters, and interface 3 goes out, through core switch, interface 5 enters, and interface 9 goes out, through convergence switch 2, interface 8 enters, and interface 4 goes out, through access switch 3, interface 5 enters, and interface 8 goes out;The multicast message of member 4 is sent to, through virtual switch 1, interface 2 enters, and interface 5 goes out, through access switch 1, interface 7 enters, and interface 4 goes out, through convergence switch 1, interface 6 enters, and interface 3 goes out, through core switch, and interface 5 enters, interface 9 goes out, through convergence switch 2, and interface 8 enters, and interface 7 goes out, through access switch 2, interface 6 enters, and interface 8 goes out, through virtual switch 2, interface 3 enters, and interface 1 goes out.
Multicast member 2 sends multicast message to other members:The multicast message of member 1 is sent to, through access switch 1, interface 1 enters, and interface 7 goes out, through virtual switch 1, and interface 5 enters, and interface 2 goes out;The multicast message of member 3 is sent to, through access switch 1, interface 1 enters, and interface 4 goes out, through convergence switch 1, and interface 6 enters, interface 3 goes out, through core switch, and interface 5 enters, and interface 9 goes out, through convergence switch 2, interface 8 enters, and interface 4 goes out, through access switch 3, and interface 5 enters, and interface 8 goes out;The multicast message of member 4 is sent to, through access switch 1, interface 1 enters, and interface 4 goes out, through convergence switch 1, interface 6 enters, and interface 3 goes out, through core switch, interface 5 enters, and interface 9 goes out, through convergence switch 2, interface 8 enters, and interface 7 goes out, through access switch 2, interface 6 enters, and interface 8 goes out, through virtual switch 2, interface 3 enters, and interface 1 goes out.
Multicast member 3 sends multicast message to other members:The multicast message of member 1 is sent to, through access switch 3, interface 8 enters, and interface 5 goes out, through convergence switch 2, interface 4 enters, and interface 8 goes out, through core switch, interface 9 enters, and interface 5 goes out, through convergence switch 1, interface 3 enters, and interface 6 goes out, through access switch 1, interface 4 enters, and interface 7 goes out, through virtual switch 1, interface 5 enters, and interface 2 goes out;The multicast message of member 2 is sent to, through access switch 3, interface 8 enters, and interface 5 goes out, through convergence switch 2, and interface 4 enters, interface 8 goes out, through core switch, and interface 9 enters, and interface 5 goes out, through convergence switch 1, interface 3 enters, and interface 6 goes out, through access switch 1, and interface 4 enters, and interface 1 goes out;It is sent to the group of member 4 Text is reported, through access switch 3, interface 8 enters, and interface 5 goes out, through convergence switch 2, and interface 4 enters, and interface 7 goes out, through access switch 2, and interface 6 enters, and interface 8 goes out, through virtual switch 2, and interface 3 enters, and interface 1 goes out.
Multicast member 4 sends multicast message to other members:The multicast message of member 1 is sent to, through virtual switch 2, interface 1 enters, and interface 3 goes out, through access switch 2, interface 8 enters, and interface 6 goes out, through convergence switch 2, interface 7 enters, and interface 8 goes out, through core switch, and interface 9 enters, interface 5 goes out, through convergence switch 1, and interface 3 enters, and interface 6 goes out, through access switch 1, interface 4 enters, and interface 7 goes out, through virtual switch 1, interface 5 enters, and interface 2 goes out;The multicast message of member 2 is sent to, through virtual switch 2, interface 1 enters, and interface 3 goes out, through access switch 2, interface 8 enters, and interface 6 goes out, through convergence switch 2, interface 7 enters, and interface 8 goes out, through core switch, interface 9 enters, and interface 5 goes out, through convergence switch 1, interface 3 enters, and interface 6 goes out, through access switch 1, interface 4 enters, and interface 1 goes out;The multicast message of member 3 is sent to, through virtual switch 2, interface 1 enters, and interface 3 goes out, through access switch 2, and interface 8 enters, and interface 6 goes out, through convergence switch 2, and interface 7 enters, and interface 4 goes out, through access switch 3, and interface 5 enters, and interface 8 goes out.
The forwarding of data or service message between multicast group member is realized, on the basis of above-mentioned embodiment illustrated in fig. 4 issues active flow table item and passive flow table item, in addition to:
A, SDN controller are collected, update multicast group information;
SDN controllers collect multicast group information and include following three kinds of situations:
A, when there is new terminal to add multicast group, the process that triggering multicast group information updates is as follows:
New multicast member is sent to multicast router adds multicast group request;
The interchanger for adding multicast group request is received due to the flow table item issued without SDN controllers, to SDN controller report PacketIn events;
SDN controllers simulate multicast router, and analysis main frame adds multicast group request, updates designated multicast group information;
SDN controllers send addition multicast group response to the interchanger for reporting PacketIn events;
It is described to report the interchanger of PacketIn events to send the member interface for adding multicast group response to the addition multicast group.
B, when multicast member exits multicast group, the process that triggering multicast group information updates is as follows:
The multicast member that will move out is sent to anchor router exits multicast group request;
The interchanger being connected with the multicast member that this is exited is due to the flow table item without matching, to SDN controller report PacketIn events;
SDN controllers analyze the PacketIn events, and analysis multicast member exits multicast group request, updates designated multicast group information;
SDN controllers send to the interchanger being connected with exiting multicast member and exit multicast group response;
The interchanger being connected with exiting multicast member, which is sent, exits the member interface that multicast group is exited in multicast group response described in.
C, when SDN controllers inquire about multicast group, triggering multicast group information renewal process is as follows:
SDN controllers timing to the direct-connected interchanger PacketOut multicast group inquiry requests of multicast member;
Interchanger sends multicast group inquiry request to interface where multicast member;
Multicast member returns to multicast group inquiry response;
Interchanger is due to the flow table item without matching, to SDN controller report PacketIn events;
SDN controllers analyze multicast group polling result, update multicast group information.
D, SDN controller create multicast identifier
The multicast identifier of the embodiment of the present invention possesses uniqueness, to distinguish other multicast groups in DC networks, or can possess the other types of object of network identity, can be independent, can also be combined with other network identities, demarcates message forwarding path.
B, multicast group active flow table item is issued
In multicast group, in key layer switch, the interchanger where multicast group Rendezvous Point can be included, the interchanger where multicast group Rendezvous Point is to be forwarded by two with upper pathway to the multicast group member The interchanger of data, is the duplication point of departure of multicast message proximity receiving end.Interchanger where multicast group Rendezvous Point, is that the forward-path of the other multicast members of multicast member arrival has common factor, the intersection point closest to multicast member is multicast group Rendezvous Point.
By taking the network architecture shown in Fig. 7 as an example, access switch 1 and convergence switch 2 are the interchangers where Rendezvous Point, can be the 3rd switching equipment in above method embodiment.The duplication for carrying out data message by the interchanger where Rendezvous Point is forwarded, and can further save the DC network bandwidths.Interchanger where multicast group Rendezvous Point changes and changed with multicast member.
When multicast member changes, the renewal of convergence switch can be triggered, the information of the interchanger such as where increasing or delete multicast group Rendezvous Point.
SDN controllers update multicast group Rendezvous Point information.Multicast group Rendezvous Point information includes multicast member and corresponding multicast message is transferred to, produces interface.Wherein, multicast message is sent to multicast group Rendezvous Point place interchanger from multicast source, multicast message multicast group Rendezvous Point receiving port on switches to be transferred to interface, interchanger where from multicast group Rendezvous Point is sent to multicast receivers, and the transmission mouthful of multicast message interchanger where multicast group Rendezvous Point is to produce interface.
SDN controllers are obtained after multicast group Rendezvous Point is the interchanger where Rendezvous Point, generate multicast group convergent point information, the exchanger information where Rendezvous Point by taking Fig. 7 as an example is as shown in table 8:
Table 8
In table 8, access switch 1 is to member 1, outgoing interface 7, incoming interface 4, to member 2, outgoing interface 1, incoming interface 4, to member 3,4, outgoing interface 4, incoming interface 1,7.Convergence switch 2 is to member 3, outgoing interface 4, incoming interface 8, to member 4, outgoing interface 7, incoming interface 8, to member 1,2, outgoing interface 8, Incoming interface 4,7.
For Rendezvous Point interchanger, the active flow table item that SDN controllers are issued needs to meet following characteristics:
1) matching condition:Multicast group Rendezvous Point incoming interface, multicast identifier;
2) action is performed:
A. it is sent to recipient:Duplicated multicast message, peels off multicast identifier to the multicast message of duplication, native multicasting message is sent to recipient's outgoing interface
B. it is sent to the next Rendezvous Point of multicast group:Duplicated multicast message, the forward-path up to the next Rendezvous Point of multicast group is encapsulated into the multicast message of duplication, packaged multicast message is sent to next-hop outgoing interface.
For example, as shown in table 9 to the active flow table item of the interchanger where Rendezvous Point in Fig. 7:
Table 9
In table 9, SDN controllers carry out duplication distribution to access switch 1 in the multicast message that distinct interface is received:The multicast message that member 3,4 sends is received in entrance 4, is gone to the transmission of member 1 to interface 7, is gone Toward the peeling outer layer road sign of member 2, send to interface 1;The multicast message that member 1 sends is received in interface 7, goes to member 2, and peeling outer layer road sign is sent to interface 1, is gone to the forward-path being encapsulated into up to multicast group Rendezvous Point convergence switch 2 of member 3,4, is sent to interface 4.SDN controllers carry out duplication distribution to convergence switch 2 in the multicast message that distinct interface is received:The multicast message that member 3 sends is received in interface 4, goes to the forward-path being encapsulated into up to virtual switch 2 of member 4, is sent to interface 7, goes to the forward-path for being encapsulated into access switch 1 of member 1,2, is sent to interface 8;The multicast message that member 4 sends is received in interface 7, goes to the transmission of member 3 to interface 4, goes to the forward-path being encapsulated into up to multicast group Rendezvous Point access switch 1 of member 1,2, is sent to interface 8;The multicast message that member 1,2 sends is received in interface 8, goes to the transmission of member 3 to interface 4, goes to the forward-path being encapsulated into up to virtual switch 2 of member 4, is sent to interface 7.
The active flow table item that the SDN controllers pair interchanger direct-connected with multicast receivers (non-Rendezvous Point interchanger) is issued needs to meet following characteristics:
1) matching condition:Multicast message entrance, multicast identifier;
2) action is performed:Multicast identifier is peeled off to multicast message, native multicasting message is sent to multicast receivers outgoing interface.
For example, the flow table item issued in Fig. 7 to non-Rendezvous Point interchanger is as shown in table 10:
Table 10
In table 10, the multicast message for being sent to member 1, SDN controllers are that virtual switch 1 customizes active flow table item, and matching multicast message entrance 5, multicast group 1 are identified, and are peeled off multicast message multicast group 1 and are identified, native multicasting message is sent to interface 2;Multicast message for being sent to member 3, SDN controllers are that access switch 3 customizes active flow table item, and matching multicast message entrance 5, multicast group 1 are identified, stripping group Report literary multicast group 1 to identify, native multicasting message is sent to interface 8;Multicast message for being sent to member 4, SDN controllers are that virtual switch 2 customizes active flow table item, and matching multicast message entrance 3, multicast group 1 are identified, and are peeled off multicast message multicast group 1 and are identified, native multicasting message is sent to interface 1.
C, multicast group passive flow table item is issued
Member in multicast group, when other members into multicast group send data or service message, sends multicast message to directly connected interchanger, the interchanger being joined directly together is due to the flow table item without matching, to SDN controller report PacketIn events.SDN controllers analyze multicast message feature, according to current network topology and multicast group information, select suitable forward-path.Passive flow table item meets following characteristics:
1) matching condition:Native multicasting message entrance, feature;
2) action is performed:Encapsulate multicast identifier successively to native multicasting message, reach the forward-path of the next Rendezvous Point of multicast group, packaged multicast message is sent to next-hop outgoing interface.
In network architecture diagram for example shown in Fig. 7, the passive flow table item that SDN controllers are issued is as shown in table 11:
Table 11
In table 11, the multicast message sent to member 1, passive flow table item indicates the matching native multicasting message of virtual switch 1 entrance 2, feature, and native multicasting message encapsulation multicast group 1 is identified, packaged multicast message is sent to interface 5;The multicast message for going to member 1 sent to member 2, passive flow table item indicates the matching native multicasting message of access switch 1 entrance 1, feature, to native multicasting message encapsulation group Broadcast group 1 to identify, packaged multicast message is sent to interface 7;What member 2 was sent goes to the multicast message of member 3,4, passive flow table item indicates the matching native multicasting message of access switch 1 entrance 1, feature, encapsulate the forward-path that multicast group 1 identifies, reaches convergence switch 2 successively to native multicasting message, packaged multicast message is sent to interface 4;The multicast message sent to member 3, passive flow table item indicates the matching native multicasting message of access switch 3 entrance 8, feature, and native multicasting message encapsulation multicast group 1 is identified, packaged multicast message is sent to interface 5;The multicast message sent to member 4, passive flow table item indicates the matching native multicasting message of virtual switch 2 entrance 1,, feature, encapsulate the forward-path that multicast group 1 identifies, reaches convergence switch 2 successively to native multicasting message, packaged multicast message sent to interface 3.
The flow table item that each interchanger of DC networks is issued according to SDN controllers, including active flow table item and passive flow table item, realize the forwarding of data or service message.Above-mentioned multicast group realizes the forwarding of data or service message, can not only reduce quantity demand of the key layer switch to forwarding flow table item, improve the resource utilization of SDN controllers, improve the efficiency of SDN controllers and interchanger;And by issuing active flow table item to convergent point interchanger, data or service message are copied into next convergent point interchanger while multicast member is sent to, multicast message is replicated in Rendezvous Point and distributed not in source, saves the DC network bandwidths.
In the specific implementation, tenant can affix one's name to various services in its generic top in DC, and to its user opening.The tenant be to data center DC service suppliers lease calculate, storage, Internet resources use main body;Wherein, the tenant is the use main body of the data center resource installation, deployment, issuing service by lease.
Fig. 8 is a kind of implementation schematic diagram that tenant disposes service chaining in DC in the embodiment of the present invention.As shown in figure 8, the present embodiment is illustrated exemplified by including fire wall, authentication, 5 service nodes of load balancing and database service, 5 service nodes constitute service chaining.Wherein, main frame where firewall services accesses DC networks by access switch 1, and authentication service place main frame accesses DC networks by access switch 3, and the access switch 3 can be the 4th switching equipment in the embodiment of the present invention;Main frame where load balancing service accesses DC networks by access switch 2, and database service place main frame is by virtual switch 2 access DC networks.When implementing, for the purpose of safety, tenant wishes that user must pass through fire wall before database is accessed, by authentication process, while in view of the performance and availability of database service, need to distribute data source by load balancing service Real-Time Scheduling.Wherein, the main frame is can to provide the server of special services (such as fire wall), can be that physical server can also be virtual server.As a kind of optional implementation, the main frame can also be the equipment such as above-mentioned mobile terminal, fixed terminal or wireless access terminal, and the embodiment of the present invention does not limit concrete implementation mode.
There is provided related service by disposing the main frame of related service by tenant.For example the main frame of deployment fire wall is there is provided firewall services, and the main frame of the offer firewall services is exactly a service node.Tenant can ask to add or delete service node by UI (User Interface, user interface) to SDN controllers.
After the completion of service node addition, SDN controllers are that each service node distributes a unique mark, for distinguishing other service nodes in DC networks, or the other types of object of network identity can be possessed, can be independent, it can also be combined with other network identities, demarcate message forwarding path.For example, as shown in table 12, the unique network identification for the service node that SDN controllers are distributed in the network architecture diagram for being Fig. 8.
Service node Network identity
Fire wall 5
Authentication 6
Load balancing 7
Database 1 8
Database 2 9
Table 12
In table 12, firewall services node obtains network identity 5;Authentication service node obtains network identity 6;Load balancing service node obtains network identity 7;The service node of database 1 obtains network identity 8;The service node of database 2 obtains network identity 9.
Service chaining in the embodiment of the present invention, i.e. tenant are the service sequences that its user sets, and are arranged in a combination in a designated order by service node, embody the inner strategy that tenant externally provides service.DC permits Perhaps the different service chainings of tenant customization, are then channeled to all service nodes on different service chaining entrances, traversal chain, so as to realize the external differential service of tenant according to customer traffic feature.In the specific implementation, tenant can initiate establishment to controller by UI or delete the request of service chaining, so as to realize the establishment or deletion of service chaining.Table 13 is schematically shown in Fig. 8, several achievable modes of service chaining.
Service chaining Service node sequence Network identity sequence
1 Fire wall-authentication-database 1 5-6-8
2 Fire wall-authentication-database 2 5-6-9
3 Fire wall-authentication-load balancing 5-6-7
Table 13
In table 13, tenant is directly that user specifies data source to be database 1 by the 1st article of service chaining, and user's stream sequentially passes through fire wall, authentication, finally arrives at database 1, corresponding network identity sequence is 5-6-8;Directly it is that user specifies data source to be database 2 by the 2nd article of service chaining, user's stream sequentially passes through fire wall, authentication, finally arrives at database 2, corresponding network identity sequence is 5-6-9;Data source is specified for user by load balancing service by the 3rd article of service chaining, user's stream sequentially passes through fire wall, authentication, then dispatched by load balancing service, finally arrive at the database that load balancing service is specified, corresponding network identity sequence is 5-6-7.
The service chaining in DC networks is realized, the management and control of service chaining can be further realized on the basis of the realization of flow shown in above-mentioned Fig. 4.For the interchanger being joined directly together with service node, SDN controllers need the active flow table item issued to need to meet following characteristics:
1) matching condition:Service node is identified;
2) action is performed:Service node mark is peeled off to message, original message is sent to service node outgoing interface.
Table 14 be network architecture diagram shown in Fig. 8 in, the active flow table item that SDN controllers pair are issued with the interchanger that service node is joined directly together:
Table 14
In table 14, SDN controllers indicate that the concern of access switch 1 carries the message of firewall services node identification, peel off message firewall services node identification, original message is sent to interface 1;Indicate that the concern of access switch 3 carries the message of authentication service node identification, peel off message authentication service node identification, original message is sent to interface 8;Indicate that the concern of access switch 2 carries the message of load balancing service node identification, peel off message load balancing service node identification, send to interface 9;Indicate that the concern of virtual switch 2 carries the message of database service node identification, peel off message data storehouse service node mark, send to the corresponding interface.
For the passive flow table item that is issued with the interchanger that service node is joined directly together, it is necessary to meet following characteristics:
1) matching condition:Original message incoming interface, feature,
2) action is performed:Connect position of the service node in service chaining according to interchanger, encapsulate its next service node mark successively to original message, reach the forward-path of the service node, packaged message is sent to next-hop outgoing interface.
Table 15 is a kind of implementation for the passive flow table item for realizing service chaining:
Forwarding unit Passive flow table item
Virtual switch 1 Matching condition:Original message incoming interface, feature;Perform action:Firewall services node identification is encapsulated, is sent to interface 5
Access switch 1 Matching condition:Original message incoming interface, feature;Perform action:Encapsulate authentication service node identification, reach the forward-path of authentication service node, send to interface 4
Access switch 3 Matching condition:Original message incoming interface, feature;Perform action:Encapsulate load balancing service node identification, reach the forward-path of load balancing service node, send to interface 5
Access switch 2 Matching condition:Original message incoming interface, feature;Perform action:Encapsulation of data storehouse service node mark, sends to interface 8
Table 15
In table 15, passive flow table item indicates the matching original message of virtual switch 1 incoming interface, feature, encapsulates firewall services node identification to original message, then sends the message after encapsulation to interface 5;The matching original message of access switch 1 incoming interface, feature are indicated, authentication service node is encapsulated to original message Mark, the forward-path for reaching authentication service node, then send the message after encapsulation to interface 4;The matching original message of access switch 3 incoming interface, feature are indicated, load balancing service node identification is encapsulated to original message, the forward-path of load balancing service node is reached, then sent the message after encapsulation to interface 5;The matching original message of access switch 2 incoming interface, feature are indicated, original message encapsulation of data storehouse service node is identified, then sent the message after encapsulation to interface 8.For example, above-mentioned access switch 1 can be the 5th switching equipment in the embodiment of the present invention, convergence switch 2 is the 6th switching equipment in the embodiment of the present invention, and access switch 3 is the 7th switching equipment in the embodiment of the present invention, so as to realize the flow table issuance of service chaining different interchangers in realizing.It is used as a kind of possible implementation, if the path in Fig. 8 between access switch 3 and access switch 1 is joined directly together, then access switch 1 can also be just the 5th switching equipment in the embodiment of the present invention, access switch 3 is the 7th switching equipment in the embodiment of the present invention, with reference to the above-mentioned flow table issuance method realized in service chaining, also it can realize that difference forwards issuing for rule under service chaining scene, so as to reach the purpose for saving equipment in network resource and bandwidth.
It should be noted that, must be original message because service message enters service node, SDN controllers are when issuing forward-path, the forward-path of whole piece service chaining can not disposably be customized, need path decomposing according to each service node into multistage, every section is initially a upper service node, and termination is next service node, and it is similar with implementation shown in Fig. 4 that each section of path issues mode.
There is active flow table item and passive flow table item under scene to different service nodes by above-described embodiment to issue, while realizing meeting tenant customization strategy to realize that data or Business Stream flexibly shuttle between different services, without repeating to issue flow table, the device resource occupancy of SDN controllers and interchanger is reduced, also the corresponding performance and efficiency for improving SDN controllers and interchanger.
In concrete implementation, can also there is the scene that DC supports multi-tenant, DC networks allow each tenant to share its physical network, so as to build the logical network of respective tenant's independence.Logical network between tenant is mutually isolated, and physical network space then can be with overlapping.For the scene of multi-tenant, the control device in DC networks can distribute a unique mark for each tenant, and the different tenant for distinguishing realizes the management to different tenants.When each the main frame in tenant is by DC real-time performance data forwardings, carry The unique mark of the tenant of distribution, by the unique mark of the tenant, to recognize the data forwarding in a tenant.The above-mentioned data forwarding method for realizing SDN, is readily applicable to the scene of multi-tenant.Realize the above method under multi-tenant scene, it is necessary to further include tenant identification in the forwarding rule that control device is issued, switching equipment is in forwarding is realized, in addition it is also necessary to match tenant identification, and after tenant identification is peeled off envelope revolution according to and forwarded.Concrete implementation process is similar with above-mentioned implementation process, repeats no more.
With reference to Fig. 9, Fig. 9 is the structural representation of the control device 900 in a kind of SDN of the embodiment of the present invention, including:Network communication unit 901, control message processing unit 902, forward-path determining unit 903 and forwarding regulation management unit 904;
The network communication unit 901, the first forwarding rule request for receiving the transmission of the first switching equipment in SDN, and the described first forwarding rule request is sent to the control message processing unit 902;
The control message processing unit 902, for parsing the first forwarding rule request, the first forwarding rule request after parsing is sent to the forward-path determining unit 903, and the information for the first path for determining the forward-path determining unit 903 and the first forwarding rule of forwarding regulation management unit generation are sent to first switching equipment by the network communication unit, and the second forwarding rule of the forwarding regulation management unit generation is sent to the second switching equipment in the first path by the network communication unit;The information of the first path is the order according to switching equipment in the first path, the sequence represented with the unique mark of forward-path between switching equipment, the information of the first path can give second switching equipment with the data forwarding so that second switching equipment is forwarded according to the information and the second forwarding rule of the first path to the data;
The forward-path determining unit 903, for the first forwarding rule request after the parsing that is sent according to the control message determining unit 902, it is determined that to the first path of the corresponding data forwarding of data message carried in the described first forwarding rule request;
The forwarding regulation management unit 904, it is regular and described second turn for generating first forwarding Hair rule, the second forwarding rule, second switching equipment is received before the data are received, and second switching equipment can be made to forward the data to the switching equipment being joined directly together in the first path with second switching equipment according to the information of the first path.
Control device 900 in above-mentioned SDN passes through the first path that determines to forward the corresponding data of the data message, so that the Data Concurrent of the information of the first switching equipment wrapper containing first path gives the second switching equipment, so that second switching equipment is forwarded according to the information of the first path and the second forwarding rule to the data, the second forwarding rule, second switching equipment is received before the data are received, second switching equipment is enabled to receive the forwarding rule to data forwarding before data are received, and realize data forwarding according to the data and routing information received.Control device 900 need not all issue to the second switching equipment forwarding data and once forward rule every time, save resource consumption of the control device when issuing forwarding rule, the utilization rate of equipment is improved, while also saving between control device 900 and switching equipment because repeatedly issuing the bandwidth shared by forwarding rule.
Optionally, the second forwarding rule is generated in the switching equipment building topology relation that second switching equipment is directly connected or after building topology relation, and the second forwarding rule is the forwarding rule to the Data duplication forwarding comprising the routing information according to the routing information received.The unique mark of link between the switching equipment that unique interface mark or switching equipment between the switching equipment that the unique mark of forward-path is the unique mark of switching equipment between the switching equipment, switching equipment is directly connected directly are connected.The information of the first path, which is nested in multiprotocol label switching MPLS message, is handed down to first switching equipment.
As a kind of optional implementation, the control device 900 also includes mark administrative unit 905 and Topology Management unit 906, as shown in Figure 10, wherein:
The mark administrative unit 905, the unique mark for distributing and reclaiming forward-path between switching equipment in the SDN;
The Topology Management unit 906, for the conversion according to SDN topology, updates the network topological information of the SDN;
Accordingly, the forward-path determining unit 903 is according to the network topological information recorded in the Topology Management unit 904, and it is described mark administrative unit 905 distribute switching equipment between forward-path unique mark, the first forwarding rule request after the parsing sent with reference to the control message determining unit 902, it is determined that to the first path of the data message forwarding carried in the described first forwarding rule request.
As shown in Figure 10, the control device 900 also includes multicast group administrative unit 907,
The multicast group administrative unit 907, for for the Multicast Group Assignment multicast identifier in the SDN, described one multicast group of multicast identifier unique mark, the data that the multicast group includes member's transmission at least two multicast members, multicast group can be multicast other members in group and receive.
The forwarding regulation management unit 903, it is additionally operable to send the 3rd forwarding rule comprising multicast identifier to the 3rd switching equipment, so that the 3rd switching equipment is according to the described 3rd forwarding rule, the Data Concurrent being encapsulated into up to the routing information in the path of next convergence switching equipment is sent;The routing information in the path for reaching next convergence switching equipment is the sequencing according to the switching equipment for realizing data forwarding, the sequence represented with the unique mark of forward-path between switching equipment;3rd switching equipment is the switching equipment being joined directly together with the member of the multicast group, the 3rd switching equipment be by two articles with upper pathway to the multicast member forward data switching equipment;Next convergence switching equipment is on the forwarding data to the path of multicast member, first passed through from the 3rd switching equipment to multicast member by two articles with switching equipment from upper pathway to multicast member forwarding data.
As shown in Figure 10, the control device 900 also includes:
Service chaining setup unit 908, for setting service chaining, the service chaining is that possess the service sequences that the equipment of special services ability is constituted in the SDN, and to possess the mark of the equipment of the special services ability distribution unique mark equipment in the service chaining;
The forwarding regulation management unit 903, it is additionally operable to the forwarding of generation the 4th rule and is handed down to the 4th switching equipment, the 4th forwarding rule includes the unique mark of the first special services capacity device being joined directly together with the 4th switching equipment so that the 4th switching equipment by the data forwarding received to The equipment of the first special services ability;The forwarding rule that the 4th forwarding rule is the 4th switching equipment to be received before the data for needing to forward are received, the 4th switching equipment is in the service chaining and possesses the switching equipment that the equipment of special services ability is directly connected to.
Accordingly, the network communication unit 901 is additionally operable to receive the 5th forwarding rule request that the 5th switching equipment is sent;
The control message processing unit 902, is additionally operable to parsing the 5th forwarding rule request, and the 5th forwarding rule request after parsing is sent into the forward-path determining unit 903;
The forward-path determining unit 903, it is additionally operable to the 5th forwarding rule request after the parsing according to control message determining unit transmission, it is determined that reaching the service chaining path of the 7th switching equipment, the switching equipment that 5th switching equipment is with the second special services capacity device is joined directly together in the service chaining, 7th switching equipment that switching equipment is with the 3rd special services capacity device is joined directly together in the service chaining, the second special services equipment and the special services equipment that the 3rd special services equipment is the direct neighbor in the service chaining;The service chaining path is the sequencing according to the switching equipment that the data forwarding is realized in the second special services equipment to the path of the 3rd special services equipment, the sequence represented with the unique mark of forward-path between the switching equipment;
The forwarding regulation management unit 904, it be additionally operable to issue the 5th forwarding rule to the 5th switching equipment, so that the data of the information in the 5th switching equipment wrapper footpath containing service link, and it is sent to the 7th switching equipment, or it is sent to the 6th switching equipment on the service chaining path, so that the 6th switching equipment is forwarded according to the service chaining routing information and the 6th forwarding rule to the data, the 6th forwarding rule is that the 6th switching equipment is received before the data of the information comprising the service chaining path are received and the 6th switching equipment can be made to forward the data to other switching equipment on service chaining path according to the service chaining routing information;Wherein, the 6th switching equipment is the switching equipment on the 5th path between the 5th switching equipment and the 7th switching equipment.
The implementation of control device of the embodiment of the present invention 900, may be referred to the implementation of above-mentioned Fig. 1 control devices into the implementation of embodiment illustrated in fig. 8 to realize, repeats no more.
With reference to Figure 11, the embodiment of the present invention additionally provides data forwarding system 1100 in a kind of SDN, including the first switching equipment 1101 and the second switching equipment 1102, and first switching equipment 1101 is joined directly together with second switching equipment 11021102, it is characterised in that:
First switching equipment 1101, for regular to control device request forwarding according to the data received, receive the first forwarding rule that the control device is returned, and it is sent to second switching equipment 1102 according to the data of the regular wrapper information containing first path of the described first forwarding, the information of the first path is the sequencing according to the switching equipment that the data forwarding is realized in the first path for forwarding the data, the sequence represented with the unique mark of forward-path between switching equipment;
Second switching equipment 1102, for receiving the data that the first switching equipment 1101 is sent, second switching equipment 1102 is according to the information of the first path and the second forwarding rule, the data are sent to the switching equipment that second switching equipment 1102 is joined directly together, the second forwarding rule, second switching equipment 1102 is received before the data are received, second switching equipment 1102 can be regular according to the information of the first path and second forwarding, forward the data to the switching equipment being joined directly together with second switching equipment, the switching equipment being joined directly together with second switching equipment is the switching equipment in the first path.
Data forwarding system 1100 in the SDN that above-described embodiment is provided, first switching equipment 1101 receives the first forwarding rule that the control device is returned, and it is sent to the second switching equipment 1102 according to the data of the regular wrapper information containing first path of the described first forwarding, second switching equipment is forwarded according to the information of the first path and the second forwarding rule to the data, the second forwarding rule, second switching equipment 1102 is received before the data are received, second switching equipment 1102 is enabled to receive the forwarding rule to data forwarding before data are received, and realize data forwarding according to the data and routing information received.Second switching equipment 1102 need not receive all to obtain after data every time once forwards rule, it need not every time receive and a flow table progress data forwarding is all obtained after data, the forwarding that the second forwarding rule realizes data may be reused, preservation and the resource consumption brought using forwarding rule when the second switching equipment 1102 carries out data forwarding are saved, the utilization rate of equipment is improved;Especially for the switching equipment of data center's backbone layer, by Big in forwarding data volume, the resource consumptions such as huge chip can be brought by preserving and be applicable substantial amounts of forwarding rule;The scheme provided by the present embodiment, can save the resource of switching equipment so that switching equipment in data center network need not higher performance can be achieved with substantial amounts of data forwarding, improve the competitiveness of switching equipment.
Optionally, second switching equipment 1102, it is additionally operable to being sent to the information of the first path into the switching equipment being joined directly together with second switching equipment, or second switching equipment 1102 is by the information of the switching equipment being joined directly together in the first path with second switching equipment to the second path of the forward-path between the n-th switching equipment, it is sent to the 3rd switching equipment, the information in second path is the sequencing of switching equipment on the path for realize the data forwarding, the sequence represented with the unique mark of forward-path between switching equipment, wherein, n is for integer and more than or equal to 3.
Wherein, described second forward rule to be generated in the switching equipment building topology relation that second switching equipment 1102 is directly connected or after building topology relation, and the second forwarding rule comprising the described second forwarding rule is the forwarding rule that can be forwarded according to routing information to the Data duplication comprising routing information.
It is used as a kind of optional implementation, in the embodiment of the present invention, the data forwarding system also includes the i-th switching equipment, the i-th -1 switching equipment and the i-th -1 switching equipment, and i-th switching equipment, i-th -1 switching equipment and the i+1 switching equipment are the switching equipment in the first path;
I-th switching equipment, for receiving the i-th -1 routing information and the data that i-th -1 switching equipment is sent, i-th -1 routing information is the sequence represented with the unique mark of forward-path between switching equipment according to realizing i-th switching equipment of the data forwarding to the sequencing of the n-th switching equipment;Wherein, i is for integer and more than or equal to 3;And according to i-th -1 routing information, the data and the i-th routing information are sent to the i+1 switching equipment, i-th routing information is the sequence represented with the unique mark of forward-path between switching equipment according to realizing the i+1 switching equipment of the data forwarding to the sequencing of the n-th switching equipment.
I-th switching equipment sends the data to i+1 switching equipment and the i-th routing information is specifically included according to i-th -1 routing information:
I-th switching equipment peels off the unique mark of the forward-path of i-th switching equipment from i-th -1 routing information, generates i-th routing information;
By the forward-path unique mark of i-th switching equipment, the i-th forwarding rule that i-th switching equipment is preserved is inquired about, the exit port of i-th switching equipment is determined;
I-th switching equipment sends the data and the i-th routing information by the exit port of i-th switching equipment to i+1 switching equipment.
As a kind of optional implementation, the first path information, the second routing information and the i-th routing information are using the nesting encapsulation of multiprotocol label switching MPLS label, the forward-path unique mark of MPLS label head one switching equipment of filling.The unique mark of link between the switching equipment that unique interface mark or switching equipment between the switching equipment that the unique mark of forward-path is the unique mark of switching equipment between the switching equipment, switching equipment is directly connected directly are connected.
As shown in figure 12, data forwarding system 1100 also includes the 3rd switching equipment 1103 in the SDN;
First switching equipment 1101, second switching equipment 1102 and the 3rd switching equipment 1103 are the members of same multicast group, wherein, 3rd switching equipment 1103 be by two articles with upper pathway to the multicast member forward data switching equipment, the member of the multicast group is sent to the data of other members, can be received by other members of the multicast group;
3rd switching equipment 1103, for receiving the forwarding rule of the 3rd comprising multicast identifier that the control device is sent, according to the described 3rd forwarding rule, the Data Concurrent being encapsulated into up to the routing information in the path of next convergence switching equipment is sent;The routing information in the path for reaching next convergence switching equipment is the sequencing according to the switching equipment for realizing data forwarding, the sequence represented with the unique mark of forward-path between switching equipment;Next convergence switching equipment is on the forwarding data to the path of multicast member, first passed through from the 3rd switching equipment to multicast member by two articles with switching equipment from upper pathway to multicast member forwarding data.
As shown in figure 12, data forwarding system 1100 also includes the 5th switching equipment 1105, the 6th switching equipment 1106 and the 7th switching equipment 1107 in the SDN;
5th switching equipment 1105, rule request is forwarded for sending the 5th to the control device, and Receive the service chaining path for the switching equipment 1107 of arrival the 7th that the control device is returned, the switching equipment that 5th switching equipment 1105 is with the second special services capacity device is joined directly together in the service chaining, 7th switching equipment that switching equipment 1107 is with the 3rd special services capacity device is joined directly together in the service chaining, the second special services equipment and the special services equipment that the 3rd special services equipment is the direct neighbor in the service chaining, the service chaining path is according to the sequencing between the switching equipment that the data forwarding is realized in the second special services equipment to the path of the 3rd special services equipment, the sequence represented with the unique mark of forward-path between the switching equipment;The service chaining is that possess the service sequences that the equipment of special services ability is constituted in the SDN, possessing the equipment of special services ability in the service chaining has a mark of the unique mark equipment, and the service sequences are the sequences that combine of unique mark for the equipment for possessing special services ability described in;
The data and the service chaining routing information are transmitted to the 6th switching equipment 1106 on the 7th switching equipment 1107 or the service chaining path by the 5th switching equipment 1105;
6th switching equipment 1106, for being forwarded according to the service chaining routing information and the 6th forwarding rule to the data, the 6th forwarding rule is that the 6th switching equipment is received before the data comprising the service chaining routing information are received;Wherein, the 6th switching equipment is the switching equipment on the 5th path between the 5th switching equipment 1105 and the 7th switching equipment 1107.
As shown in figure 12, data forwarding system 1100 also includes control device, control device control device 900 as shown in Figure 9 in the SDN.
The implementation of data forwarding system 1100 in SDN of the embodiment of the present invention, may be referred to the implementation of above-mentioned Fig. 1 control devices into the implementation of embodiment illustrated in fig. 8 to realize, repeats no more.
Those of ordinary skill in the art can be appreciated that, the unit and algorithm steps of each example described with reference to the embodiments described herein, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate the interchangeability of hardware and software, the composition and step of each example are generally described according to function in the above description.These functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that beyond the scope of this invention.
It is apparent to those skilled in the art that, for convenience of description and succinctly, the specific work process of the system of foregoing description, device and unit may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can realize by another way.For example, device embodiment described above is only schematical, for example, the division of the unit, it is only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or do not perform.In addition, shown or discussed coupling or direct-coupling or communication connection each other can be by the INDIRECT COUPLING of some interfaces, device or unit or communication connection or electricity, mechanical or other forms are connected.
The unit illustrated as separating component can be or may not be physically separate, and the part shown as unit can be or may not be physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Some or all of unit therein can be selected to realize the purpose of scheme of the embodiment of the present invention according to the actual needs.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit or unit is individually physically present or two or more units are integrated in a unit.Above-mentioned integrated unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or in use, can be stored in a computer read/write memory medium.Understood based on such, the part that technical scheme substantially contributes to prior art in other words, or all or part of the technical scheme can be embodied in the form of software product, the computer software product is stored in a storage medium, including some instructions to cause a computer equipment (can be personal computer, server, or the network equipment etc.) perform each embodiment methods described of the invention All or part of step.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
It is described above; only embodiment of the invention; but protection scope of the present invention is not limited thereto; any one skilled in the art the invention discloses technical scope in; various equivalent modifications or substitutions can be readily occurred in, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (40)

  1. Data forwarding method in a kind of software defined network SDN, it is characterised in that:
    The first forwarding rule request that the first switching equipment in the SDN is sent is received, the first path forwarded to the corresponding data of the data message is determined according to the data message carried in the described first forwarding rule request;
    Issue for forwarding the first of the data to forward rule to first switching equipment, so that the Data Concurrent of the information of the first switching equipment wrapper containing first path gives the second switching equipment, the information of the first path is the sequencing according to the switching equipment that the data forwarding is realized in the first path, the sequence represented with the unique mark of forward-path between switching equipment, so that second switching equipment is forwarded according to the information of the first path and the second forwarding rule to the data, the second forwarding rule, second switching equipment is received before the data are received, and second switching equipment can be made to forward the data to the switching equipment being joined directly together in the first path with second switching equipment according to the information of the first path.
  2. The method of data forwarding in SDN according to claim 1, it is characterised in that:
    The second forwarding rule is generated in the switching equipment building topology relation that second switching equipment is directly connected or after building topology relation, and the second forwarding rule is the forwarding rule to the Data duplication forwarding comprising the routing information according to the routing information received.
  3. Data forwarding method in SDN according to claim 1 or 2, characterized in that, between the switching equipment that the unique mark of forward-path is the unique mark of switching equipment between the switching equipment, the unique interface mark between the switching equipment that switching equipment is directly connected or switching equipment are directly connected link unique mark.
  4. According to data forwarding method in any described SDN of claim 1-3, it is characterised in that the information of the first path, which is nested in multiprotocol label switching MPLS message, is handed down to first switching equipment.
  5. According to data forwarding method in any described SDN in claim 1-4, it is characterised in that Methods described also includes:
    Create multicast identifier, the multicast identifier is the mark of unique mark multicast group, the multicast group includes at least two multicast members, realizes the switching equipment of data forwarding between the multicast member and includes first switching equipment and second switching equipment;
    Accordingly, the multicast identifier is also included in the regular and described second forwarding rule of first forwarding.
  6. Data forwarding method in SDN according to claim 5, it is characterised in that:Realizing the switching equipment of data forwarding between the multicast member also includes the 3rd switching equipment, and the 3rd switching equipment is the switching equipment for forwarding data to the multicast member by two articles with upper pathway;
    Methods described also includes:
    The 3rd forwarding rule comprising multicast identifier is sent to the 3rd switching equipment, so that the 3rd switching equipment is according to the described 3rd forwarding rule, the Data Concurrent being encapsulated into up to the routing information in the path of next convergence switching equipment is sent;The routing information in the path for reaching next convergence switching equipment is the sequencing according to the switching equipment for realizing data forwarding, the sequence represented with the unique mark of forward-path between switching equipment;Next convergence switching equipment is on the forwarding data to the path of multicast member, first passed through from the 3rd switching equipment to multicast member by two articles with switching equipment from upper pathway to multicast member forwarding data.
  7. According to data forwarding method in any described SDN in claim 1-4, it is characterised in that methods described also includes:
    Service chaining is set, the service chaining is that possess the service sequences that the equipment of special services ability is constituted in the SDN, be the mark for possessing the equipment distribution unique mark of the special services ability equipment in the service chaining;Wherein, the switching equipment being directly connected to the equipment for possessing special services ability includes the 4th switching equipment;
    Methods described also includes:
    Generate the 4th forwarding rule and be handed down to the 4th switching equipment, the 4th forwarding rule includes the unique mark for the first special services capacity device being joined directly together with the 4th switching equipment, makes Obtain equipment of the 4th switching equipment by the data forwarding received to the first special services ability;The 4th forwarding rule is the forwarding rule that the 4th switching equipment is received before the data for needing to forward are received.
  8. Data forwarding method in SDN according to claim 7, it is characterised in that methods described also includes:
    Receive the 5th forwarding rule request of the 5th switching equipment transmission, determine to reach the service chaining path of the 7th switching equipment according to the information of the data carried in the described 5th forwarding rule request, the switching equipment that 5th switching equipment is with the second special services capacity device is joined directly together in the service chaining, 7th switching equipment that switching equipment is with the 3rd special services capacity device is joined directly together in the service chaining, the second special services equipment and the special services equipment that the 3rd special services equipment is the direct neighbor in the service chaining;The service chaining path is the sequencing according to the switching equipment that the data forwarding is realized in the second special services equipment to the path of the 3rd special services equipment, the sequence represented with the unique mark of forward-path between the switching equipment;
    Issue for forwarding the 5th of the data the to forward rule to the 5th switching equipment, so that the data of the information in the 5th switching equipment wrapper footpath containing service link, and it is sent to the 7th switching equipment, or it is sent to the 6th switching equipment on the service chaining path, so that the 6th switching equipment is forwarded according to the service chaining routing information and the 6th forwarding rule to the data, the 6th forwarding rule is that the 6th switching equipment is received before the data comprising the service chaining routing information are received, and the 6th switching equipment can be made to forward the data to other switching equipment on the service chaining path according to the information in service chaining path;Wherein, the 6th switching equipment is the switching equipment on the 5th path between the 5th switching equipment and the 7th switching equipment.
  9. Data forwarding method in a kind of software defined network SDN, it is characterised in that:
    First switching equipment is regular to control device request forwarding according to the data received;
    First switching equipment receives the first forwarding rule that the control device is returned, and is sent to and is exchanged with described first according to the data of the regular wrapper information containing first path of the described first forwarding The second direct-connected switching equipment of equipment, the information of the first path is the sequencing according to the switching equipment that the data forwarding is realized in the first path for forwarding the data, the sequence represented with the unique mark of forward-path between switching equipment;
    Second switching equipment receives the data that first switching equipment is sent, second switching equipment is according to the information of the first path and the second forwarding rule, the data are sent to the switching equipment that second switching equipment is joined directly together, the second forwarding rule, second switching equipment is received before the data are received, second switching equipment can be regular according to the information of the first path and second forwarding, forward the data to the switching equipment being joined directly together with second switching equipment, the switching equipment being joined directly together with second switching equipment is the switching equipment in the first path.
  10. Data forwarding method in SDN according to claim 9, it is characterised in that methods described also includes:
    The information of the first path is sent to the switching equipment being joined directly together with second switching equipment by second switching equipment, or the switching equipment being joined directly together in the first path with second switching equipment is sent to the switching equipment being joined directly together with second switching equipment by second switching equipment to the information in the second path of the forward-path between the n-th switching equipment, the information in second path is the sequencing of switching equipment on the path for realize the data forwarding, the sequence represented with the unique mark of forward-path between switching equipment, wherein, n is for integer and more than or equal to 3.
  11. Data forwarding method in SDN according to claim 9 or 10, it is characterised in that
    Described second forward rule to be generated in the switching equipment building topology relation that second switching equipment is directly connected or after building topology relation, and the second forwarding rule comprising the described second forwarding rule is the forwarding rule that can be forwarded according to routing information to the Data duplication comprising routing information.
  12. According to data forwarding method in any described SDN of claim 9-11, it is characterised in that
    Methods described also includes:
    I-th switching equipment receives the i-th -1 routing information and the data that the i-th -1 switching equipment is sent, institute It is the sequence represented with the unique mark of forward-path between switching equipment according to realizing the i-th switching equipment of the data forwarding to the sequencing of the n-th switching equipment to state the i-th -1 routing information;Wherein, i is for integer and more than or equal to 3;
    I-th switching equipment is according to i-th -1 routing information, the data and the i-th routing information are sent to the i+1 switching equipment, i-th routing information is the sequence represented with the unique mark of forward-path between switching equipment according to realizing the i+1 switching equipment of the data forwarding to the sequencing of the n-th switching equipment;
    I-th switching equipment, i-th -1 switching equipment and the i+1 switching equipment are the switching equipment in the first path.
  13. Data forwarding method in SDN according to claim 12, it is characterised in that methods described also includes:
    I-th switching equipment sends the data to i+1 switching equipment and the i-th routing information is specifically included according to i-th -1 routing information:
    I-th switching equipment peels off the unique mark of the forward-path of i-th switching equipment from i-th -1 routing information, generates i-th routing information;
    By the forward-path unique mark of i-th switching equipment, the i-th forwarding rule that i-th switching equipment is preserved is inquired about, the exit port of i-th switching equipment is determined;
    I-th switching equipment sends the data and the i-th routing information by the exit port of i-th switching equipment to i+1 switching equipment.
  14. According to data forwarding method in any described SDN of claim 9-13, it is characterised in that:
    The first path information, the second routing information and the i-th routing information are using the nesting encapsulation of multiprotocol label switching MPLS label, the forward-path unique mark of MPLS label head one switching equipment of filling.
  15. According to data forwarding method in any described SDN of claim 9-14, it is characterised in that:
    Unique interface mark or switching equipment between the switching equipment that the unique mark of forward-path is the unique mark of switching equipment between the switching equipment, switching equipment is directly connected are directly The unique mark of link between connected switching equipment.
  16. According to data forwarding method in any described SDN of claim 9-15, it is characterised in that:
    First switching equipment, second switching equipment and the 3rd switching equipment are the members of same multicast group, wherein, 3rd switching equipment be by two articles with upper pathway to the multicast member forward data switching equipment, the member of the multicast group is sent to the data of other members, can be received by other members of the multicast group;
    Methods described also includes:
    The 3rd forwarding rule comprising multicast identifier is sent to the 3rd switching equipment, so that the 3rd switching equipment is according to the described 3rd forwarding rule, the Data Concurrent being encapsulated into up to the routing information in the path of next convergence switching equipment is sent;The routing information in the path for reaching next convergence switching equipment is the sequencing according to the switching equipment for realizing data forwarding, the sequence represented with the unique mark of forward-path between switching equipment;Next convergence switching equipment is on the forwarding data to the path of multicast member, first passed through from the 3rd switching equipment to multicast member by two articles with switching equipment from upper pathway to multicast member forwarding data.
  17. According to data forwarding method in any described SDN of claim 9-15, it is characterised in that methods described also includes:
    5th switching equipment sends the 5th to the control device and forwards rule request, and receive the service chaining path for the switching equipment of arrival the 7th that the control device is returned, the switching equipment that 5th switching equipment is with the second special services capacity device is joined directly together in the service chaining, 7th switching equipment that switching equipment is with the 3rd special services capacity device is joined directly together in the service chaining, the second special services equipment and the special services equipment that the 3rd special services equipment is the direct neighbor in the service chaining, the service chaining path is according to the sequencing between the switching equipment that the data forwarding is realized in the second special services equipment to the path of the 3rd special services equipment, the sequence represented with the unique mark of forward-path between the switching equipment;The service chaining is that possess the service sequences that the equipment of special services ability is constituted in the SDN, and possessing the equipment of special services ability in the service chaining has the mark of the unique mark equipment, and the service sequences are that possess special services described in The sequence that the unique mark of the equipment of ability is combined;
    The 6th switching equipment that 5th switching equipment will be transmitted on the 7th switching equipment or the service chaining path after the data and service chaining path Information encapsulation;
    6th switching equipment is forwarded according to the service chaining routing information and the 6th forwarding rule to the data, and the 6th forwarding rule is that the 6th switching equipment is received before the data comprising the service chaining routing information are received;Wherein, the 6th switching equipment is the switching equipment on the 5th path between the 5th switching equipment and the 7th switching equipment.
  18. Control device in a kind of software defined network SDN, it is characterised in that the control device includes network communication unit, control message processing unit, forward-path determining unit and forwarding regulation management unit;
    The network communication unit, the first forwarding rule request for receiving the transmission of the first switching equipment in SDN, and the described first forwarding rule request is sent to the control message processing unit;
    The control message processing unit, for parsing the first forwarding rule request, the first forwarding rule request after parsing is sent to the forward-path determining unit, and the information for the first path for determining the forward-path determining unit, and the first forwarding rule of the forwarding regulation management unit generation is sent to first switching equipment by the network communication unit, the second forwarding rule of the forwarding regulation management unit generation is sent to the second switching equipment in the first path by the network communication unit;The information of the first path is the order according to switching equipment in the first path, the sequence represented with the unique mark of forward-path between switching equipment, the information of the first path can give second switching equipment with the data forwarding so that second switching equipment is forwarded according to the information and the second forwarding rule of the first path to the data;
    The forward-path determining unit, for the first forwarding rule request after the parsing that is sent according to the control message determining unit, it is determined that to the first path of the corresponding data forwarding of data message carried in the described first forwarding rule request;
    The forwarding regulation management unit, for generating the regular and described second forwarding rule of first forwarding, the second forwarding rule is that second switching equipment is received before the data are received Arrive, and second switching equipment can be made to forward the data to the switching equipment being joined directly together in the first path with second switching equipment according to the information of the first path.
  19. Control device in SDN according to claim 18, it is characterised in that:
    The second forwarding rule is generated in the switching equipment building topology relation that second switching equipment is directly connected or after building topology relation, and the second forwarding rule is the forwarding rule to the Data duplication forwarding comprising the routing information according to the routing information received.
  20. The control device in SDN according to claim 18 or 19, characterized in that, between the switching equipment that the unique mark of forward-path is the unique mark of switching equipment between the switching equipment, the unique interface mark between the switching equipment that switching equipment is directly connected or switching equipment are directly connected link unique mark.
  21. According to the control device in any described SDN of claim 18-20, it is characterised in that the information of the first path, which is nested in multiprotocol label switching MPLS message, is handed down to first switching equipment.
  22. According to the control device in any described SDN of claim 18-21, it is characterised in that the control device also includes mark administrative unit and Topology Management unit:
    The mark administrative unit, the unique mark for distributing and reclaiming forward-path between switching equipment in the SDN;
    The Topology Management unit, for the conversion according to SDN topology, updates the network topological information of the SDN;
    Accordingly, the forward-path determining unit is according to the network topological information recorded in the Topology Management unit, and it is described mark administrative unit distribution switching equipment between forward-path unique mark, the first forwarding rule request after the parsing sent with reference to the control message determining unit, it is determined that to the first path of the data message forwarding carried in the described first forwarding rule request.
  23. According to the control device in any described SDN of claim 18-22, it is characterised in that the control device also includes multicast group administrative unit,
    The multicast group administrative unit, for for the Multicast Group Assignment multicast identifier in the SDN, institute One multicast group of multicast identifier unique mark is stated, the data that the multicast group includes member's transmission at least two multicast members, multicast group can be multicast other members in group and receive.
  24. Control device in SDN according to claim 23, it is characterised in that
    The forwarding regulation management unit, it is additionally operable to send the 3rd forwarding rule comprising multicast identifier to the 3rd switching equipment, so that the 3rd switching equipment is according to the described 3rd forwarding rule, the Data Concurrent being encapsulated into up to the routing information in the path of next convergence switching equipment is sent;The routing information in the path for reaching next convergence switching equipment is the sequencing according to the switching equipment for realizing data forwarding, the sequence represented with the unique mark of forward-path between switching equipment;3rd switching equipment is the switching equipment being joined directly together with the member of the multicast group, the 3rd switching equipment be by two articles with upper pathway to the multicast member forward data switching equipment;Next convergence switching equipment is on the forwarding data to the path of multicast member, first passed through from the 3rd switching equipment to multicast member by two articles with switching equipment from upper pathway to multicast member forwarding data.
  25. According to the control device in any described SDN of claim 18-22, it is characterised in that the control device also includes:
    Service chaining setup unit, for setting service chaining, the service chaining is that possess the service sequences that the equipment of special services ability is constituted in the SDN, and to possess the mark of the equipment of the special services ability distribution unique mark equipment in the service chaining;
    The forwarding regulation management unit, it is additionally operable to the forwarding of generation the 4th rule and is handed down to the 4th switching equipment, the 4th forwarding rule includes the unique mark for the first special services capacity device being joined directly together with the 4th switching equipment so that the equipment that the 4th switching equipment gives the data forwarding received the first special services ability;The forwarding rule that the 4th forwarding rule is the 4th switching equipment to be received before the data for needing to forward are received, the 4th switching equipment is in the service chaining and possesses the switching equipment that the equipment of special services ability is directly connected to.
  26. Control device in SDN according to claim 25, it is characterised in that:
    The 5th forwarding rule that the network communication unit is additionally operable to receive the transmission of the 5th switching equipment please Ask;
    The control message processing unit, is additionally operable to parsing the 5th forwarding rule request, and the 5th forwarding rule request after parsing is sent into the forward-path determining unit;
    The forward-path determining unit, it is additionally operable to the 5th forwarding rule request after the parsing according to control message determining unit transmission, it is determined that reaching the service chaining path of the 7th switching equipment, the switching equipment that 5th switching equipment is with the second special services capacity device is joined directly together in the service chaining, 7th switching equipment that switching equipment is with the 3rd special services capacity device is joined directly together in the service chaining, the second special services equipment and the special services equipment that the 3rd special services equipment is the direct neighbor in the service chaining;The service chaining path is the sequencing according to the switching equipment that the data forwarding is realized in the second special services equipment to the path of the 3rd special services equipment, the sequence represented with the unique mark of forward-path between the switching equipment;
    The forwarding regulation management unit, it be additionally operable to issue the 5th forwarding rule to the 5th switching equipment, so that the data of the information in the 5th switching equipment wrapper footpath containing service link, and it is sent to the 7th switching equipment, or it is sent to the 6th switching equipment on the service chaining path, so that the 6th switching equipment is forwarded according to the service chaining routing information and the 6th forwarding rule to the data, the 6th forwarding rule is that the 6th switching equipment is received before the data of the information comprising the service chaining path are received, and the 6th switching equipment can be made to forward the data to other switching equipment on service chaining path according to the service chaining routing information;Wherein, the 6th switching equipment is the switching equipment on the 5th path between the 5th switching equipment and the 7th switching equipment.
  27. Data forwarding system in a kind of software defined network SDN, including the first switching equipment and the second switching equipment, first switching equipment are joined directly together with second switching equipment, it is characterised in that:
    First switching equipment, for regular to control device request forwarding according to the data received, receive the first forwarding rule that the control device is returned, and second switching equipment is sent to according to the data of the regular wrapper information containing first path of the described first forwarding, the information of the first path is the priority according to the switching equipment that the data forwarding is realized in the first path for forwarding the data Sequentially, the sequence represented with the unique mark of forward-path between switching equipment;
    Second switching equipment, for receiving the data that the first switching equipment is sent, second switching equipment is according to the information of the first path and the second forwarding rule, the data are sent to the switching equipment that second switching equipment is joined directly together, the second forwarding rule, second switching equipment is received before the data are received, second switching equipment can be regular according to the information of the first path and second forwarding, forward the data to the switching equipment being joined directly together with second switching equipment, the switching equipment being joined directly together with second switching equipment is the switching equipment in the first path.
  28. Data forwarding system in SDN according to claim 27, it is characterised in that
    Second switching equipment, it is additionally operable to being sent to the information of the first path into the switching equipment being joined directly together with second switching equipment, or second switching equipment is by the information of the switching equipment being joined directly together in the first path with second switching equipment to the second path of the forward-path between the n-th switching equipment, it is sent to the switching equipment being joined directly together with second switching equipment, the information in second path is the sequencing according to switching equipment on the path for realizing the data forwarding, the sequence represented with the unique mark of forward-path between switching equipment, wherein, n is for integer and more than or equal to 3.
  29. Data forwarding system in SDN according to claim 27 or 28, it is characterised in that
    Described second forward rule to be generated in the switching equipment building topology relation that second switching equipment is directly connected or after building topology relation, and the second forwarding rule comprising the described second forwarding rule is the forwarding rule that can be forwarded according to routing information to the Data duplication comprising routing information.
  30. According to data forwarding system in any described SDN of claim 27-29, it is characterised in that
    The data forwarding system also includes the i-th switching equipment, the i-th -1 switching equipment and i+1 switching equipment, and i-th switching equipment, i-th -1 switching equipment and the i+1 switching equipment are the switching equipment in the first path;
    I-th switching equipment, for receiving the i-th -1 routing information that i-th -1 switching equipment is sent With the data, i-th -1 routing information is the sequence represented with the unique mark of forward-path between switching equipment according to realizing i-th switching equipment of the data forwarding to the sequencing of the n-th switching equipment;Wherein, i is for integer and more than or equal to 3;And according to i-th -1 routing information, the data and the i-th routing information are sent to the i+1 switching equipment, i-th routing information is the sequence represented with the unique mark of forward-path between switching equipment according to realizing the i+1 switching equipment of the data forwarding to the sequencing of the n-th switching equipment.
  31. Data forwarding system in SDN according to claim 30, it is characterised in that
    I-th switching equipment sends the data to i+1 switching equipment and the i-th routing information is specifically included according to i-th -1 routing information:
    I-th switching equipment peels off the unique mark of the forward-path of i-th switching equipment from i-th -1 routing information, generates i-th routing information;
    By the forward-path unique mark of i-th switching equipment, the i-th forwarding rule that i-th switching equipment is preserved is inquired about, the exit port of i-th switching equipment is determined;
    I-th switching equipment sends the data and the i-th routing information by the exit port of i-th switching equipment to i+1 switching equipment.
  32. According to data forwarding system in any described SDN of claim 27-31, it is characterised in that:
    The first path information, the second routing information and the i-th routing information are using the nesting encapsulation of multiprotocol label switching MPLS label, the forward-path unique mark of MPLS label head one switching equipment of filling.
  33. According to data forwarding system in any described SDN of claim 27-32, it is characterised in that:
    The unique mark of link between the switching equipment that unique interface mark or switching equipment between the switching equipment that the unique mark of forward-path is the unique mark of switching equipment between the switching equipment, switching equipment is directly connected directly are connected.
  34. According to data forwarding system in any described SDN of claim 27-33, it is characterised in that:
    First switching equipment, second switching equipment and the 3rd switching equipment are the switching equipment being joined directly together with the member of same multicast group, wherein, the 3rd switching equipment is by two articles The switching equipment of data is forwarded to the multicast member with upper pathway, the member of the multicast group is sent to the data of other members, can received by other members of the multicast group;
    3rd switching equipment, for receiving the forwarding rule of the 3rd comprising multicast identifier that the control device is sent, according to the described 3rd forwarding rule, the Data Concurrent being encapsulated into up to the routing information in the path of next convergence switching equipment is sent;The routing information in the path for reaching next convergence switching equipment is the sequencing according to the switching equipment for realizing data forwarding, the sequence represented with the unique mark of forward-path between switching equipment;Next convergence switching equipment is on the forwarding data to the path of multicast member, first passed through from the 3rd switching equipment to multicast member by two articles with switching equipment from upper pathway to multicast member forwarding data.
  35. According to data forwarding system in any described SDN of claim 27-33, it is characterised in that data forwarding system also includes the 5th switching equipment, the 6th switching equipment and the 7th switching equipment in the SDN;
    5th switching equipment, rule request is forwarded for sending the 5th to the control device, and receive the service chaining path for the switching equipment of arrival the 7th that the control device is returned, the switching equipment that 5th switching equipment is with the second special services capacity device is joined directly together in the service chaining, 7th switching equipment that switching equipment is with the 3rd special services capacity device is joined directly together in the service chaining, the second special services equipment and the special services equipment that the 3rd special services equipment is the direct neighbor in the service chaining, the service chaining path is according to the sequencing between the switching equipment that the data forwarding is realized in the second special services equipment to the path of the 3rd special services equipment, the sequence represented with the unique mark of forward-path between the switching equipment;The service chaining is that possess the service sequences that the equipment of special services ability is constituted in the SDN, possessing the equipment of special services ability in the service chaining has a mark of the unique mark equipment, and the service sequences are the sequences that combine of unique mark for the equipment for possessing special services ability described in;
    The data and the service chaining routing information are transmitted to the 6th switching equipment on the 7th switching equipment or the service chaining path by the 5th switching equipment;
    6th switching equipment, for according to the service chaining routing information and the 6th forwarding rule The data are forwarded, the 6th forwarding rule is that the 6th switching equipment is received before the data comprising the service chaining routing information are received;Wherein, the 6th switching equipment is the switching equipment on the 5th path between the 5th switching equipment and the 7th switching equipment.
  36. According to data forwarding system in any described SDN of claim 27-35, it is characterized in that, data forwarding system also includes control device in the SDN, and the control device includes network communication unit, control message processing unit, forward-path determining unit and forwarding regulation management unit;
    The network communication unit, the control message processing unit is sent to for receiving the first forwarding rule request that first switching equipment is sent, and by the described first forwarding rule request;
    The control message processing unit, for parsing the first forwarding rule request, the first forwarding rule request after parsing is sent to the forward-path determining unit, and the information for the first path for determining the forward-path determining unit and the first forwarding rule of forwarding regulation management unit generation are sent to first switching equipment by the network communication unit, and the second forwarding rule of the forwarding regulation management unit generation is sent to the second switching equipment in the first path by the network communication unit;The information of the first path is the order according to switching equipment in the first path, the sequence represented with the unique mark of forward-path between switching equipment, the information of the first path can give second switching equipment with the data forwarding so that second switching equipment is forwarded according to the information and the second forwarding rule of the first path to the data;
    The forward-path determining unit, for the first forwarding rule request after the parsing that is sent according to the control message determining unit, it is determined that to the first path of the corresponding data forwarding of data message carried in the described first forwarding rule request;
    The forwarding regulation management unit, for generating the regular and described second forwarding rule of first forwarding.
  37. Data forwarding system in SDN according to claim 36, it is characterised in that
    The control device also includes multicast group administrative unit,
    The multicast group administrative unit, for for the Multicast Group Assignment multicast identifier in the SDN, described one multicast group of multicast identifier unique mark, the multicast group to include at least two multicast members, The data that a member sends in multicast group can be multicast other members in group and receive.
  38. Data forwarding system in SDN according to claim 37, it is characterised in that
    The forwarding regulation management unit, it is additionally operable to send the 3rd forwarding rule comprising multicast identifier to the 3rd switching equipment, so that the 3rd switching equipment is according to the described 3rd forwarding rule, the Data Concurrent being encapsulated into up to the routing information in the path of next convergence switching equipment is sent;The routing information in the path for reaching next convergence switching equipment is the sequencing according to the switching equipment for realizing data forwarding, the sequence represented with the unique mark of forward-path between switching equipment;3rd switching equipment is the switching equipment being joined directly together with the member of the multicast group, the 3rd switching equipment be by two articles with upper pathway to the multicast member forward data switching equipment;Next convergence switching equipment is on the forwarding data to the path of multicast member, first passed through from the 3rd switching equipment to multicast member by two articles with switching equipment from upper pathway to multicast member forwarding data.
  39. According to data forwarding system in any described SDN of claim 36-38, it is characterised in that the control device also includes:
    Service chaining setup unit, for setting service chaining, the service chaining is that possess the service sequences that the equipment of special services ability is constituted in the SDN, and to possess the mark of the equipment of the special services ability distribution unique mark equipment in the service chaining;
    The forwarding regulation management unit, it is additionally operable to the forwarding of generation the 4th rule and is handed down to the 4th switching equipment, the 4th forwarding rule includes the unique mark for the first special services capacity device being joined directly together with the 4th switching equipment so that the 4th switching equipment will be transmitted to the first special services ability equipment under the data received;The forwarding rule that the 4th forwarding rule is the 4th switching equipment to be received before the data for needing to forward are received, the 4th switching equipment is in the service chaining and possesses the switching equipment that the equipment of special services ability is directly connected to.
  40. Data forwarding system in SDN according to claim 39, it is characterised in that:
    The network communication unit is additionally operable to receive the 5th forwarding rule request that the 5th switching equipment is sent;
    The control message processing unit, is additionally operable to parsing the 5th forwarding rule request, and the 5th forwarding rule request after parsing is sent into the forward-path determining unit;
    The forward-path determining unit, it is additionally operable to the 5th forwarding rule request after the parsing according to control message determining unit transmission, it is determined that reaching the service chaining path of the 7th switching equipment, the switching equipment that 5th switching equipment is with the second special services capacity device is joined directly together in the service chaining, 7th switching equipment that switching equipment is with the 3rd special services capacity device is joined directly together in the service chaining, the second special services equipment and the special services equipment that the 3rd special services equipment is the direct neighbor in the service chaining;The service chaining path is the sequencing according to the switching equipment that the data forwarding is realized in the second special services equipment to the path of the 3rd special services equipment, the sequence represented with the unique mark of forward-path between the switching equipment;
    The forwarding regulation management unit, it be additionally operable to issue the 5th forwarding rule to the 5th switching equipment, so that the 5th switching equipment wrapper contains the data of the service chaining routing information, and it is sent to the 7th switching equipment, or it is sent to the 6th switching equipment on the service chaining path, so that the 6th switching equipment is forwarded according to the service chaining routing information and the 6th forwarding rule to the data, the 6th forwarding rule is that the 6th switching equipment is received before the data comprising the service chaining routing information are received, and the 6th switching equipment can be made to forward the data to other switching equipment on service chaining path according to the service chaining routing information;Wherein, the 6th switching equipment is the switching equipment on the 5th path between the 5th switching equipment and the 7th switching equipment.
CN201480083893.9A 2014-12-17 2014-12-17 Method, device and system for forwarding data in Software Defined Network (SDN) Active CN107005479B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/094144 WO2016095142A1 (en) 2014-12-17 2014-12-17 Data forwarding method, device and system in software-defined networking (sdn)

Publications (2)

Publication Number Publication Date
CN107005479A true CN107005479A (en) 2017-08-01
CN107005479B CN107005479B (en) 2020-06-26

Family

ID=56125605

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201480083893.9A Active CN107005479B (en) 2014-12-17 2014-12-17 Method, device and system for forwarding data in Software Defined Network (SDN)

Country Status (2)

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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109743326A (en) * 2019-01-10 2019-05-10 新华三云计算技术有限公司 Flow transmission method and device
CN110651450A (en) * 2018-04-27 2020-01-03 华为技术有限公司 Network and network management method

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737481B (en) * 2017-04-24 2021-04-23 诺基亚通信公司 Communication method and communication device
CN107197443B (en) * 2017-06-21 2020-09-25 深圳市盛路物联通讯技术有限公司 Data transmission control method and system based on Internet of things
CN114374739A (en) * 2022-02-22 2022-04-19 深圳易可达科技有限公司 Information docking system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200122A (en) * 2013-03-05 2013-07-10 中兴通讯股份有限公司 Processing method and system for group table in software definition network, and controller
US20130272305A1 (en) * 2012-04-16 2013-10-17 Telefonaktiebolaget L M Ericsson (Publ) Chaining of inline services using software defined networking
CN103457776A (en) * 2013-09-04 2013-12-18 杭州华三通信技术有限公司 Method and device for dynamically deploying rendezvous points in two-way protocol independent multicast
CN104158749A (en) * 2013-05-14 2014-11-19 华为技术有限公司 Message forwarding method in software defined networking, network equipment and software defined networking

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140125898A (en) * 2013-04-18 2014-10-30 한국전자통신연구원 Method for delivering emergency traffic in software defined networking networks and apparatus for perfoming the same
CN104184663B (en) * 2014-07-17 2018-02-06 北京交通大学 Communication means and device based on software defined network and integrated identification network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130272305A1 (en) * 2012-04-16 2013-10-17 Telefonaktiebolaget L M Ericsson (Publ) Chaining of inline services using software defined networking
CN103200122A (en) * 2013-03-05 2013-07-10 中兴通讯股份有限公司 Processing method and system for group table in software definition network, and controller
CN104158749A (en) * 2013-05-14 2014-11-19 华为技术有限公司 Message forwarding method in software defined networking, network equipment and software defined networking
CN103457776A (en) * 2013-09-04 2013-12-18 杭州华三通信技术有限公司 Method and device for dynamically deploying rendezvous points in two-way protocol independent multicast

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110651450A (en) * 2018-04-27 2020-01-03 华为技术有限公司 Network and network management method
CN110651450B (en) * 2018-04-27 2021-05-07 华为技术有限公司 Network and network management method
CN109743326A (en) * 2019-01-10 2019-05-10 新华三云计算技术有限公司 Flow transmission method and device

Also Published As

Publication number Publication date
CN107005479B (en) 2020-06-26
WO2016095142A1 (en) 2016-06-23

Similar Documents

Publication Publication Date Title
CN107005462A (en) The method, apparatus and system of data forwarding in software defined network
CN105553849B (en) A kind of traditional IP and SPTN network intercommunication method and system
CN110662231A (en) Network slice resource adjusting method and system for 5G environment
CN102986172B (en) Virtual Cluster exchanges
CN112187517B (en) Configuration method, platform and controller for SDN virtual routing of data center
CN107005479A (en) The method, apparatus and system of data forwarding in software defined network SDN
CN105162704B (en) The method and device of multicast replication in Overlay network
CN108566659A (en) A kind of online mapping method of 5G networks slice based on reliability
CN105103493A (en) Method for realizing network virtualization and related device and communication system
CN102572962A (en) Data transmitting method and device for multimode base station
CN107211036A (en) A kind of method and data center network of data center network networking
CN104717098A (en) Data processing method and device
CN102932342B (en) Realize method and the network equipment of isolation multi-user virtual local area network (LAN)
CN110401478B (en) SDN technology-based spatial information network management and control method
CN105871745A (en) Mixed-service-based dispatching method in SDN network
CN103501280A (en) Access method of multilayer virtual overlay network
CN103581274A (en) Message forwarding method and device in stacking system
CN108809796A (en) A kind of Metropolitan Area Network (MAN) power system service communication means based on VxLAN
CN107204919A (en) A kind of edge through street based on POF by with caching system and method
CN103391245A (en) Method and device for constructing multi-state routing in network domain as well as router
CN101699817A (en) Method and device for controlling messages transmitted to CPU
CN103124436B (en) A kind of wireless telecommunication system, cloud virtual base station and resource regulating method
Salman Cloud RAN: Basics, advances and challenges
CN104301229A (en) Data packet forwarding method and device and routing table generating method and device.
CN103095579B (en) TRILL network interconnected method, Apparatus and system

Legal Events

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

Effective date of registration: 20220222

Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province

Patentee after: Huawei Cloud Computing Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.