CN103401797A - Message processing method and equipment - Google Patents

Message processing method and equipment Download PDF

Info

Publication number
CN103401797A
CN103401797A CN2013103164282A CN201310316428A CN103401797A CN 103401797 A CN103401797 A CN 103401797A CN 2013103164282 A CN2013103164282 A CN 2013103164282A CN 201310316428 A CN201310316428 A CN 201310316428A CN 103401797 A CN103401797 A CN 103401797A
Authority
CN
China
Prior art keywords
port
openflow
message
physical network
network card
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
CN2013103164282A
Other languages
Chinese (zh)
Other versions
CN103401797B (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201310316428.2A priority Critical patent/CN103401797B/en
Publication of CN103401797A publication Critical patent/CN103401797A/en
Application granted granted Critical
Publication of CN103401797B publication Critical patent/CN103401797B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a message processing method. The method comprises the following steps of creating a second OF (OpenFlow) port and a link aggregation port connected with the second OF port in a data forwarding module, and creating a corresponding uplink port for the link aggregation port to form an aggregation channel, wherein the uplink port includes more than one selected physical network card ports of a server; when a data message coming from a virtual machine network card enters a data forwarding module through a first OF port, forwarding the message to a second OF port by matching an uplink flow table, wherein the inlet port of the uplink flow table is taken as the first OF port into which the data message enters, and the outlet port is taken as the second OF port; and when a data message coming from the second OF port is received on the link aggregation port, selecting one selected physical network card port in an uplink port group for serving as the outlet port through a Hash algorithm, and forwarding the message. According to the method and the equipment, the load sharing of the host physical port of the server can be realized.

Description

A kind of message processing method and equipment
Technical field
The present invention relates to network communications technology field, particularly a kind of message processing method and equipment.
Background technology
The birth of OpenFlow agreement, brought new technical support for software defined network (SDN), the OpenFlow agreement will be controlled platform and provide the implementation of a very promising system for cloud computing for SDN with the thought that forwards platform and isolate deployment, namely based on the distributed virtual switch (vDS) of OpenFlow agreement.
As shown in Figure 1, vDS comprises virtual machine central management platform (VMware vCenter Server), control plane (Control Plane) and data retransmission plane (Data Plane).Wherein, the function of control plane is mainly by controller (Controller) realization, and the function on data retransmission plane is mainly realized by the data forwarding module that is arranged on each server.Data forwarding module is equivalent to a switch based on the OpenFlow agreement, communicates by the escape way based on the OpenFlow agreement between data forwarding module and controller.The user is in the characteristic of vCenter Server deploy related port, and the upper and lower line event of control port, complete the control of Control Plane to Data Plane, thereby can realize the distributed virtual switch based on the OpenFlow agreement simultaneously.
Fictionalize data forwarding module and one or more virtual machines (VM) by Intel Virtualization Technology on server, each virtual machine includes a virtual machine network interface card (vNic).Binding relationship between data forwarding module and virtual machine network interface card (vNic), server host physical network card (vmnic) as shown in Figure 2.A plurality of virtual ports are arranged on Data Plane, be called OpenFlow port (OF Port), part OpenFlow port is bound one by one with the virtual machine network interface card that is arranged in down link port group (Distributed Virtual Port Group), and a part of OpenFlow port is bound one by one with the physical network card port that is arranged in uplink port group (Uplink Port Group).
The method that prior art is completed the traffic forwarding between vNic and vmnic comprises the following steps:
S1, user create Uplink Port Group by vCenter Server, and a plurality of physical network card port arrangement of reaching the standard grade of server are tied on Uplink Port Group; VCenter Server sends to data forwarding module on the corresponding with service device with the information of above-mentioned configuration;
Data forwarding module on S2, server receives the user and binds the message of a plurality of physical network card ports;
The behavior of S3, controller monitoring service device upper port, when the message that receives the physical network card port and reach the standard grade, its enable port polymerizable functional, and, monitor the data message of self virtualizing machine network interface card, complete the flow control to a plurality of physical ports of reaching the standard grade;
S4, enter data forwarding module when the data message that carrys out the self virtualizing machine network interface card, and by on while delivering to controller, controller can pass through Hash (Hash) algorithm and select a physical port in Uplink Port Group as outbound port, and issue corresponding stream and show on data forwarding module so that data forwarding module in the future the data message of self virtualizing machine network interface card send from outbound port.
The logical meaning that it should be noted that above-mentioned data forwarding module upper port is indefinite, and the function of load balancing performs practically no function.Corresponding vmnic port of OpenFlow port on data forwarding module, and the parsing of polymerization concept is all on Control Plane, Control Plane starts the polymerizable functional module, by a field in purpose media access control (MAC) address, source MAC, purpose IP and source IP, through hash algorithm, selects a vmnic port.While Control Plane issues corresponding stream and shows on Data Plane.Suppose that concrete stream table is as follows:
in-port:10action=mod_vlan_vid:xx,output:1
Wherein, the occurrence of stream table is inbound port (in-port), and action item, for revising VLAN ID number (vlan_vid), forwards at outbound port (output).
Such stream table causes the message that enters from some vNic, how are MAC Address that let it be and IP address, all can't carry out hash algorithm and select the physics outbound port, this is because the stream voting that first message triggering that the physics outbound port has been entered from this vNIC port generates is fixed.
Summary of the invention
The object of the present invention is to provide a kind of message processing method and equipment, can realize the load balancing of server host physical port.
For achieving the above object, the invention provides a kind of message processing method, be applied to OpenFlow distributed virtual switching system, described system comprises controller and is connected to a plurality of servers of described controller by the escape way based on the OpenFlow agreement, be provided with virtual machine VM and data forwarding module on described server, described data forwarding module comprises a more than one OpenFlow port, each OpenFlow port connects with the virtual machine network interface card of corresponding virtual machine respectively, and the method comprises:
The link polymerization terminal port that creates one the 2nd OpenFlow port and with described the 2nd OpenFlow port, be connected in data forwarding module, create the uplink port group of a correspondence for this link polymerization terminal port, this uplink port group comprises the more than one physical network card port of choosing of server;
, when the data message that carrys out the self virtualizing machine network interface card enters data forwarding module by an OpenFlow port,, by coupling upstream table, forward the packet to the 2nd OpenFlow port; Described upstream table inbound port is the OpenFlow port that data message enters, and outbound port is the 2nd OpenFlow port;
When on described link polymerization terminal port, while receiving from the data message on described the 2nd OpenFlow port, by hash algorithm, select one in the uplink port group to choose the physical network card port as outbound port, forward the packet away.
For achieving the above object, the present invention also provides the server in a kind of OpenFlow distributed virtual switching system, described system also comprises the controller that is connected by the escape way based on the OpenFlow agreement with each server, described server comprises creation module, virtual machine and data forwarding module, described data forwarding module comprises a more than one OpenFlow port, each OpenFlow port connects with the virtual machine network interface card of corresponding virtual machine respectively, wherein:
Described creation module, be used for the link polymerization terminal port that creates one the 2nd OpenFlow port and with described the 2nd OpenFlow port, be connected at data forwarding module, create the uplink port group of a correspondence for this link polymerization terminal port, this uplink port group comprises the more than one physical network card port of choosing of server;
Described data forwarding module, be used for when by an OpenFlow port, receiving the data message of self virtualizing machine network interface card,, by coupling upstream table, forwards the packet to the 2nd OpenFlow port; Described upstream table inbound port is the OpenFlow port that data message enters, and outbound port is the 2nd OpenFlow port; And,, when on described link polymerization terminal port, while receiving from the data message on described the 2nd OpenFlow port, by hash algorithm, select one in the uplink port group to choose the physical network card port as outbound port, forward the packet away.
In sum, in the embodiment of the present invention, created link polymerization terminal port (the LA Port of logic on data forwarding module, Link Aggregation Port), with a plurality of physical network card ports of choosing in the corresponding uplink port group of the link polymerization terminal port of this logic, form the polymerization passage, realized the logical concept of aggregation port.Like this, carry out the data message of self virtualizing machine network interface card, arrive the link polymerization terminal port of logic, by hash algorithm with one in a plurality of physical network card ports of choosing as outbound port, to forward by the polymerization passage from the message of the link polymerization terminal port of logic, thereby realized the load balancing function.Compared with prior art, neither can produce burden to controller, forwarding that simultaneously also can the convection current table produces burden.
Description of drawings
Fig. 1 is that the switch of the distributed virtual based on the OpenFlow agreement of prior art forms module diagram.
Fig. 2 is the binding relationship schematic diagram between Data Plane and virtual machine network interface card and server host physical network card.
Fig. 3 is that the embodiment of the present invention is set up the schematic diagram of polymerization passage at data forwarding module.
Fig. 4 is the schematic flow sheet of message processing method of the present invention.
Fig. 5 is the structural representation of server in embodiment of the present invention OpenFlow distributed virtual switching system.
Embodiment
, for making purpose of the present invention, technical scheme and advantage clearer, referring to the accompanying drawing embodiment that develops simultaneously, scheme of the present invention is described in further detail.
Core concept of the present invention is: the link polymerization terminal port that creates logic on data forwarding module, with a plurality of physical network card ports of choosing in the corresponding uplink port group of the link polymerization terminal port of this logic, form the polymerization passage, arrive the link polymerization terminal port of logic when data message from the virtual machine network interface card, just traffic sharing to a plurality of member's physical ports of choosing in the up link port set can be forwarded.
Fig. 3 is that the embodiment of the present invention is set up the schematic diagram of polymerization passage at data forwarding module.The OpenFlow port of close virtual machine network interface card side on data forwarding module, be called an OpenFlow port, each OpenFlow port connects with the virtual machine network interface card of corresponding virtual machine respectively, and in Fig. 3, OF1, OF2 and OF3 bind respectively the vNic2 of vNic1, VM2 of VM1 and the vNic3 of VM3; The OpenFlow port of close physical network card side on data forwarding module, be called the 2nd OpenFlow port, OF4 binding LA Port, for realizing the communication between LA Port and physical port, set up the polymerization passage, LA Port is corresponding with a plurality of physical network card port vmnic1, vmnic2, vmnic3 that choose.Here vmnic1, vmnic2 and vmnic3 normally reach the standard grade, and have the port of same alike result class, just can be corresponding with LA Port by the polymerization passage.
After setting up the polymerization passage, the load balancing function while being mainly used in realizing message repeating.As shown in Figure 4, it comprises the following steps the schematic flow sheet of message processing method of the present invention:
Step 41, the link polymerization terminal port that creates one the 2nd OpenFlow port and with described the 2nd OpenFlow port, be connected in data forwarding module, create the uplink port group of a correspondence for this link polymerization terminal port, form the polymerization passage, this uplink port group comprises the more than one physical network card port of choosing of server.
Particularly, the method for formation polymerization passage comprises:
Data forwarding module is with the physical network card port of reaching the standard grade in described link polymerization terminal port binding uplink port group, and announcement is to controller;
Data forwarding module receives the control message of physical network card port as the physical network card port of choosing of reaching the standard grade that Attribute class in the uplink port group is identical that controller issues;
Data forwarding module, with the physical network card port of choosing in described link polymerization terminal port binding uplink port group, forms the polymerization passage.
Form the process of polymerization passage for clearly demonstrating step 41, below as an example of Fig. 3 schematic diagram example, be elaborated, it comprises the following steps:
SS1, user create Uplink Port Group by vCenter Server, and a plurality of physical network card port vmnic1, vmnic2, vmnic3 and vmnic4(vmnic4 of reaching the standard grade of server are not shown in the figures) configuration is tied on Uplink Port Group; VCenter Server sends to data forwarding module on the corresponding with service device with the information of above-mentioned configuration;
Data forwarding module on SS2, server receives the user and binds the message of vmnic1, vmnic2, vmnic3 and vmnic4, create the 2nd OpenFlow port OF4 on data forwarding module, and the LA Port that is connected with OF4, and with this LA Port binding vmnic1, vmnic2, vmnic3 and vmnic4;
SS3, the behavior of controller monitored data forwarding module upper port, when listening to LA Port binding vmnic1, vmnic2, after the message of vmnic3 and vmnic4, according to each physical port vmnic1 that reaches the standard grade, vmnic2, the physical port vmnic1 that reaches the standard grade that the Attribute class of vmnic3 and vmnic4 is identical with Attribute class in Uplink Port Group, vmnic2, vmnic3 is as the physical network card port of choosing, set up LA Port and the physical network card port vmnic1 that chooses, vmnic2, mapping relations between vmnic3, unchecked physical network card port vmnic4 is announced to data forwarding module by controlling message,
Wherein, how controller judges that the Attribute class of vmnic1, vmnic2, vmnic3 is identical, method as the physical network card port of choosing can be: as the reference port, in the present embodiment, the hypothetical reference port is vmnic1 with a port in vmnic1, vmnic2, vmnic3 and vmnic4; Whether the Attribute class that judges successively vmnic2, vmnic3 and vmnic4 is identical with vmnic1, and Attribute class can be interface parameters MTU (MTU, Maximum Transmission Unit), the perhaps maximum load of interface; The MTU value of supposing vmnic2 and vmnic3 is all identical with vmnic1 with maximum load value, thus vmnic1, vmnic2, vmnic3 are chosen, as the physical network card port of choosing.At this moment the physical network card port vmnic1 that sets up LA Port and choose, the mapping relations between vmnic2, vmnic3, the MTU value of LA Port is the MTU value of vmnic1, vmnic2, the arbitrary port of vmnic3, and the maximum load of LA Port is the load value of vmnic1, vmnic2, three port additions of vmnic3.Because the MTU value of vmnic4 is different from vmnic1 with maximum load value, so that vmnic4 does not have is selected, so controller can be announced unchecked physical network card port vmnic4 to data forwarding module by controlling message.
SS4, data forwarding module fall unchecked physical network card port vmnic4 obstruction (block) according to controlling message,, with LA Port binding vmnic1, vmnic2, vmnic3, form the polymerization passage between LA Port and vmnic1, vmnic2, vmnic3.
Step 42, enter data forwarding module by an OpenFlow port when the data message that carrys out the self virtualizing machine network interface card,, by coupling upstream table, forward the packet to the 2nd OpenFlow port; Described upstream table inbound port is the OpenFlow port that data message enters, and outbound port is the 2nd OpenFlow port.
While also not having the upstream table in the tentation data forwarding module, need that at first controller is carried out message and trigger, make controller issue the upstream table to data forwarding module.Particularly,, when the data message that carrys out the self virtualizing machine network interface card enters data forwarding module, while not mating upper any stream table, will deliver to controller on this data message, with trigger controller, generate and issue corresponding upstream table.
In the embodiment of the present invention, suppose to enter data forwarding module from the data message of vNic1 by OF1, by coupling upstream table, forward the packet to LA Port, the occurrence of this upstream table comprises: inbound port is OF1 corresponding to vNic1, performs an action and comprises: OF4 corresponding to LA Port that is logic by outbound port E-Packets.Wherein, the upstream table obtains and can not repeat them here with reference to prior art.
Step 43, when on described link polymerization terminal port, while receiving from the data message on described the 2nd OpenFlow port, by hash algorithm, select one in the uplink port group to choose the physical network card port as outbound port, forward the packet away.
In the embodiment of the present invention, suppose that vmnic1 is outbound port, from the message of LA Port, by the polymerization passage, from vmnic1, forward.So far, completed the traffic forwarding from vNic to vmnic.
It should be noted that hash algorithm of the present invention realizes at data forwarding module, from prior art, realize different at controller.The present invention can carry out Hash calculation according to source MAC, target MAC (Media Access Control) address, source IP address or one of them field of purpose IP address of message, selects one as outbound port from the physical network card port of choosing.The present invention can also carry out described hash algorithm according to the sequential of message, realizes load balancing.The present invention only has on the basis of inbound port (in-port) at the occurrence that issues the stream table, just realized load balancing, the message of different MAC Address, IP address can forward from different physics outbound ports, and the message of different sequential also can forward from different physics outbound ports.Do not need as prior art, for realizing load balancing, when controller issues the stream table, occurrence not only includes port, and comprise MAC Address or IP address, with the differentiation as different messages of MAC Address or IP address, such shortcoming is exactly: need to send controller from each different MAC of vNic or the message of IP field, obtain the physical port of load balancing with algorithm.So not only increase the burden of controller, and will have a large amount of stream tables in data forwarding module, expended a large amount of resource of data forwarding module and completed the function of load balancing.
Fig. 4 has been the flow forwarding method schematic diagram of vNic to vmnic.
After setting up so the polymerization passage, complete vmnic and comprise the following steps to the flow forwarding method of vNic:
Step 51, when the data message of choosing the physical network card port from the uplink port group enters data forwarding module, message is sent to described link polymerization terminal port;
Step 52, when the data message that receives on described the 2nd OpenFlow port from described link polymerization terminal port, by coupling downstream table, with message by an OpenFlow port repeat to corresponding virtual machine network interface card; Described downstream table inbound port is the 2nd OpenFlow port, and outbound port is an OpenFlow port corresponding to virtual machine network interface card.Concrete, corresponding which or which the OpenFlow port of outbound port, be to be decided according to features such as the target MAC (Media Access Control) address of message, clean culture/multicast/broadcast massage by controller, about the generating mode of stream table, can, with reference to prior art, repeat no more herein.
While also not having the downstream table in the tentation data forwarding module, need that at first controller is carried out message and trigger, make controller issue the downstream table to data forwarding module.Particularly,, when the data message of the physical network card port from the uplink port group enters data forwarding module, during the upper any stream table of coupling, will deliver to controller on this data message, generates and issue the downstream table of correspondence with trigger controller.
In the embodiment of the present invention, suppose to enter the polymerization passage from the data message of vmnic1, directly arrive LA Port, then by OF4, enter data forwarding module,, by coupling downstream table, forward the packet to vNic1.The occurrence of this downstream table comprises: inbound port is OF4 corresponding to LA Port, performs an action and comprises: by outbound port, be that OF1 corresponding to vNic1 E-Packets.Wherein, the downstream table obtain do not repeat them here for prior art.
In addition, the physical network card port of choosing in Uplink Port Group can change, if the user unbinds a physical network card port of choosing on vCenter Server,
Data forwarding module receives the message that the physical network card port chosen changes;
The behavior of controller monitored data forwarding module upper port, upgrade the mapping relations between the physical network card port choose and corresponding link polymerization terminal port, and the physical network card port that will unbind is announced to data forwarding module by the control message;
Data forwarding module falls according to the physical network card port block that the control message will unbind, with the physical network card port of choosing after described link polymerization terminal port Binding Update.
The message announcement that the physical network card port that data forwarding module will be chosen unbinds is to controller;
The control message that the physical network card port that will choose that data forwarding module reception controller issues unbinds;
The physical network card port chosen of data forwarding module after with described link polymerization terminal port Binding Update.
In summary, the message announcement that unbinds of the physical network card port that will choose of data forwarding module is to controller; The control message that the physical network card port that will choose that data forwarding module reception controller issues unbinds; The physical network card port chosen of data forwarding module after with described link polymerization terminal port Binding Update.
based on same inventive concept, the present invention also proposes the server in a kind of OpenFlow distributed virtual switching system, described system also comprises the controller that is connected by the escape way based on the OpenFlow agreement with each server, described server comprises creation module, virtual machine and data forwarding module, described data forwarding module comprises a more than one OpenFlow port, each OpenFlow port connects with the virtual machine network interface card of corresponding virtual machine respectively, referring to Fig. 5, Fig. 5 is applied to the structural representation of the server of said method in the specific embodiment of the invention.This server comprises:
Creation module 501, be used for the link polymerization terminal port that creates one the 2nd OpenFlow port and with described the 2nd OpenFlow port, be connected at data forwarding module, create the uplink port group of a correspondence for this link polymerization terminal port, this uplink port group comprises the more than one physical network card port of choosing of server;
Described data forwarding module 502, be used for when by an OpenFlow port, receiving the data message of self virtualizing machine network interface card,, by coupling upstream table, forwards the packet to the 2nd OpenFlow port; Described upstream table inbound port is the OpenFlow port that data message enters, and outbound port is the 2nd OpenFlow port; And,, when on described link polymerization terminal port, while receiving from the data message on described the 2nd OpenFlow port, by hash algorithm, select one in the uplink port group to choose the physical network card port as outbound port, forward the packet away.
Preferably, described data forwarding module 502, also be used for will delivering to controller on this data message when the data message that carrys out the self virtualizing machine network interface card does not mate upper any stream table, with trigger controller, generates and issue corresponding upstream table.
Preferably, described data forwarding module 502, also be used for and will arrive described link polymerization terminal port from the data message forwarding of choosing the physical network card port of uplink port group; And when the data message that receives by the 2nd OpenFlow port from described link polymerization terminal port, by coupling downstream table, with message by an OpenFlow port repeat to corresponding virtual machine network interface card; Described downstream table inbound port is the 2nd OpenFlow port, and outbound port is an OpenFlow port corresponding to virtual machine network interface card.
Preferably, described data forwarding module 502, also be used for will delivering to controller on this data message when the data message of the physical network card port from the uplink port group does not mate upper any stream table, with trigger controller, generate and issue corresponding downstream table.
Described creating unit 501 further comprises: binding subelement 511 and reception subelement 512;
Described binding subelement 511, be used for the physical network card port of reaching the standard grade of described link polymerization terminal port binding uplink port group, and announcement is to controller;
Described reception subelement 512, be used for receiving the control message of physical network card port as the physical network card port of choosing of reaching the standard grade that uplink port group Attribute class is identical that controller issues;
Described binding subelement 511, also be used for the physical network card port that described link polymerization terminal port binding uplink port group is chosen, and forms the polymerization passage.
When the physical network card port in elected changes,
Described binding subelement 511, the message announcement that the physical network card port that also is used for choosing unbinds is to controller;
Described reception subelement 512, the control message that the physical network card port that will choose that also for the reception controller, issues unbinds;
Described binding subelement 511, also be used for the physical network card port of choosing after described link polymerization terminal port Binding Update.
In sum, utilize link polymerization terminal port in the specific embodiment of the invention,, with a plurality of physical network card ports of choosing in the corresponding uplink port group of this link polymerization terminal port, form the polymerization passage, the load balancing function while having realized message repeating.The link polymerization terminal port from logic that the function of load balancing is compressed in the polymerization passage fully on the direction of physical port, so can produce burden to controller, and forwarding that simultaneously also can the convection current table produces burden, thereby reaches purpose of the present invention.
The above, be only preferred embodiment of the present invention, not is used for limiting protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (11)

1. message processing method, be applied to OpenFlow distributed virtual switching system, described system comprises controller and is connected to a plurality of servers of described controller by the escape way based on the OpenFlow agreement, be provided with virtual machine VM and data forwarding module on described server, described data forwarding module comprises a more than one OpenFlow port, each OpenFlow port connects with the virtual machine network interface card of corresponding virtual machine respectively, and the method comprises:
The link polymerization terminal port that creates one the 2nd OpenFlow port and with described the 2nd OpenFlow port, be connected in data forwarding module, create the uplink port group of a correspondence for this link polymerization terminal port, this uplink port group comprises the more than one physical network card port of choosing of server;
, when the data message that carrys out the self virtualizing machine network interface card enters data forwarding module by an OpenFlow port,, by coupling upstream table, forward the packet to the 2nd OpenFlow port; Described upstream table inbound port is the OpenFlow port that data message enters, and outbound port is the 2nd OpenFlow port;
When on described link polymerization terminal port, while receiving from the data message on described the 2nd OpenFlow port, by hash algorithm, select one in the uplink port group to choose the physical network card port as outbound port, forward the packet away.
2. the method for claim 1, is characterized in that, wherein,
When the data message that carrys out the self virtualizing machine network interface card enters data forwarding module, while not mating upper any stream table, will deliver to controller on this data message, generate and issue corresponding upstream table with trigger controller.
3. the method for claim 1, is characterized in that, also comprises:
When the data message of choosing the physical network card port from the uplink port group enters data forwarding module, message is sent to described link polymerization terminal port;
When the data message that receives on described the 2nd OpenFlow port from described link polymerization terminal port, by coupling downstream table, with message by an OpenFlow port repeat to corresponding virtual machine network interface card; Described downstream table inbound port is the 2nd OpenFlow port, and outbound port is an OpenFlow port corresponding to virtual machine network interface card.
4. method as claimed in claim 3, is characterized in that, also comprises:
When the data message of the physical network card port from the uplink port group enters data forwarding module, during the upper any stream table of coupling, will deliver to controller on this data message, generates and issues the downstream table of correspondence with trigger controller.
5. the method for claim 1, is characterized in that,, according to media access control MAC address or IP address or the message reception sequential of message, carries out the selection of described hash algorithm and process.
6. the method for claim 1, is characterized in that, the uplink port group of described establishment one correspondence comprises:
Data forwarding module is with the physical network card port of reaching the standard grade in described link polymerization terminal port binding uplink port group, and announcement is to controller;
Data forwarding module receives the control message of physical network card port as the physical network card port of choosing of reaching the standard grade that Attribute class in the uplink port group is identical that controller issues;
Data forwarding module, with the physical network card port of choosing in described link polymerization terminal port binding uplink port group, forms the polymerization passage.
7. method as claimed in claim 6, is characterized in that, when the physical network card port in being elected to changed, the method further comprised:
The message announcement that the physical network card port that data forwarding module will be chosen unbinds is to controller;
The control message that the physical network card port that will choose that data forwarding module reception controller issues unbinds;
The physical network card port chosen of data forwarding module after with described link polymerization terminal port Binding Update.
8. the server in an OpenFlow distributed virtual switching system, described system also comprises the controller that is connected by the escape way based on the OpenFlow agreement with each server, described server comprises creation module, virtual machine and data forwarding module, described data forwarding module comprises a more than one OpenFlow port, each OpenFlow port connects with the virtual machine network interface card of corresponding virtual machine respectively, wherein:
Described creation module, be used for the link polymerization terminal port that creates one the 2nd OpenFlow port and with described the 2nd OpenFlow port, be connected at data forwarding module, create the uplink port group of a correspondence for this link polymerization terminal port, this uplink port group comprises the more than one physical network card port of choosing of server;
Described data forwarding module, be used for when by an OpenFlow port, receiving the data message of self virtualizing machine network interface card,, by coupling upstream table, forwards the packet to the 2nd OpenFlow port; Described upstream table inbound port is the OpenFlow port that data message enters, and outbound port is the 2nd OpenFlow port; And,, when on described link polymerization terminal port, while receiving from the data message on described the 2nd OpenFlow port, by hash algorithm, select one in the uplink port group to choose the physical network card port as outbound port, forward the packet away.
9. equipment as claimed in claim 8, is characterized in that,
Described data forwarding module, also be used for and will arrive described link polymerization terminal port from the data message forwarding of choosing the physical network card port of uplink port group; And when the data message that receives by the 2nd OpenFlow port from described link polymerization terminal port, by coupling downstream table, with message by an OpenFlow port repeat to corresponding virtual machine network interface card; Described downstream table inbound port is the 2nd OpenFlow port, and outbound port is an OpenFlow port corresponding to virtual machine network interface card.
10. equipment as claimed in claim 9, is characterized in that, described creating unit further comprises: binding subelement and reception subelement;
Described binding subelement, be used for the physical network card port of reaching the standard grade of described link polymerization terminal port binding uplink port group, and announcement is to controller;
Described reception subelement, be used for receiving the control message of physical network card port as the physical network card port of choosing of reaching the standard grade that uplink port group Attribute class is identical that controller issues;
Described binding subelement, also be used for the physical network card port that described link polymerization terminal port binding uplink port group is chosen, and forms the polymerization passage.
11. equipment as claimed in claim 10, is characterized in that,
Described binding subelement, the message announcement that the physical network card port that also is used for choosing unbinds is to controller;
Described reception subelement, the control message that the physical network card port that will choose that also for the reception controller, issues unbinds;
Described binding subelement, also be used for the physical network card port of choosing after described link polymerization terminal port Binding Update.
CN201310316428.2A 2013-07-24 2013-07-24 A kind of message processing method and equipment Active CN103401797B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310316428.2A CN103401797B (en) 2013-07-24 2013-07-24 A kind of message processing method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310316428.2A CN103401797B (en) 2013-07-24 2013-07-24 A kind of message processing method and equipment

Publications (2)

Publication Number Publication Date
CN103401797A true CN103401797A (en) 2013-11-20
CN103401797B CN103401797B (en) 2016-05-11

Family

ID=49565326

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310316428.2A Active CN103401797B (en) 2013-07-24 2013-07-24 A kind of message processing method and equipment

Country Status (1)

Country Link
CN (1) CN103401797B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595647A (en) * 2013-11-27 2014-02-19 北京邮电大学 OpenFlow-based downlink signaling processing method for SDN (Software Defined Network) virtualization platform
CN104283785A (en) * 2014-10-29 2015-01-14 杭州华三通信技术有限公司 Method and device for processing flow table rapidly
CN104639464A (en) * 2015-01-09 2015-05-20 盛科网络(苏州)有限公司 System and method for realizing cross-interchanger link aggregation on OpenFlow interchanger
CN104660506A (en) * 2013-11-22 2015-05-27 华为技术有限公司 Data packet forwarding method, device and system
CN104767676A (en) * 2014-01-03 2015-07-08 华为技术有限公司 Data message forwarding method and data message forwarding system in software defined network (SDN)
CN105245456A (en) * 2015-10-20 2016-01-13 浪潮(北京)电子信息产业有限公司 Method and system for unloading SDN virtual network function in cloud server
WO2016090552A1 (en) * 2014-12-09 2016-06-16 华为技术有限公司 Method and device for processing adaptive flow table
WO2019000434A1 (en) * 2017-06-30 2019-01-03 华为技术有限公司 Data processing method, network interface card and server
CN109274592A (en) * 2018-11-22 2019-01-25 新华三技术有限公司 MAC Address table entry processing method, device and computer-readable medium
CN109347623A (en) * 2018-10-18 2019-02-15 盛科网络(苏州)有限公司 Conversate the method and device of holding in a kind of application of balancing link load
CN110061917A (en) * 2019-04-08 2019-07-26 新华三技术有限公司 Creation method, device, the network equipment and the storage medium of interface group
CN111211975A (en) * 2018-11-22 2020-05-29 中国电信股份有限公司 Flow table generating method and device, software defined network and storage medium
CN112615777A (en) * 2020-12-23 2021-04-06 新华三云计算技术有限公司 Link switching method, device, equipment and machine readable storage medium
CN112787913A (en) * 2021-01-26 2021-05-11 北京百度网讯科技有限公司 Intelligent network card assembly, physical machine, cloud service system and message sending method
CN112995006A (en) * 2019-12-17 2021-06-18 中兴通讯股份有限公司 Message processing method and module, detection method, exchange equipment and storage medium
CN114531405A (en) * 2020-10-31 2022-05-24 华为技术有限公司 Flow table processing method and related equipment
CN114745255A (en) * 2022-04-12 2022-07-12 深圳星云智联科技有限公司 Hardware chip, DPU, server, communication method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546351A (en) * 2012-03-15 2012-07-04 北京邮电大学 System and method for interconnecting openflow network and conventional Internet protocol (IP) network
CN102959910A (en) * 2010-06-25 2013-03-06 瑞典爱立信有限公司 Notifying a controller of a change to a packet forwarding configuration of a network element over a communication channel
EP2587736A2 (en) * 2007-09-26 2013-05-01 Nicira, Inc. Network operating system for managing and securing networks
CN103139039A (en) * 2013-02-25 2013-06-05 汉柏科技有限公司 Virtual network capable of achieving flow isolation control and construction method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2587736A2 (en) * 2007-09-26 2013-05-01 Nicira, Inc. Network operating system for managing and securing networks
CN102959910A (en) * 2010-06-25 2013-03-06 瑞典爱立信有限公司 Notifying a controller of a change to a packet forwarding configuration of a network element over a communication channel
CN102546351A (en) * 2012-03-15 2012-07-04 北京邮电大学 System and method for interconnecting openflow network and conventional Internet protocol (IP) network
CN103139039A (en) * 2013-02-25 2013-06-05 汉柏科技有限公司 Virtual network capable of achieving flow isolation control and construction method

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660506A (en) * 2013-11-22 2015-05-27 华为技术有限公司 Data packet forwarding method, device and system
WO2015074395A1 (en) * 2013-11-22 2015-05-28 华为技术有限公司 Data packet forwarding method, apparatus and system
CN104660506B (en) * 2013-11-22 2018-12-25 华为技术有限公司 A kind of method, apparatus and system of data packet forwarding
CN103595647B (en) * 2013-11-27 2014-08-06 北京邮电大学 OpenFlow-based downlink signaling processing method for SDN (Software Defined Network) virtualization platform
CN103595647A (en) * 2013-11-27 2014-02-19 北京邮电大学 OpenFlow-based downlink signaling processing method for SDN (Software Defined Network) virtualization platform
CN104767676B (en) * 2014-01-03 2017-12-12 华为技术有限公司 Data message forwarding method and system in SDN
CN104767676A (en) * 2014-01-03 2015-07-08 华为技术有限公司 Data message forwarding method and data message forwarding system in software defined network (SDN)
CN104283785A (en) * 2014-10-29 2015-01-14 杭州华三通信技术有限公司 Method and device for processing flow table rapidly
WO2016090552A1 (en) * 2014-12-09 2016-06-16 华为技术有限公司 Method and device for processing adaptive flow table
US10485015B2 (en) 2014-12-09 2019-11-19 Huawei Technologies Co., Ltd. Method and apparatus for processing adaptive flow table
JP2018504022A (en) * 2014-12-09 2018-02-08 華為技術有限公司Huawei Technologies Co.,Ltd. Method and apparatus for processing an adaptive flow table
CN104639464B (en) * 2015-01-09 2018-06-15 盛科网络(苏州)有限公司 The system and method for switch-spanning link aggregation is realized on OpenFlow interchangers
CN104639464A (en) * 2015-01-09 2015-05-20 盛科网络(苏州)有限公司 System and method for realizing cross-interchanger link aggregation on OpenFlow interchanger
CN105245456B (en) * 2015-10-20 2018-12-25 浪潮(北京)电子信息产业有限公司 A kind of method and system of the interior unloading SDN virtual network function of Cloud Server
CN105245456A (en) * 2015-10-20 2016-01-13 浪潮(北京)电子信息产业有限公司 Method and system for unloading SDN virtual network function in cloud server
WO2019000434A1 (en) * 2017-06-30 2019-01-03 华为技术有限公司 Data processing method, network interface card and server
US11223579B2 (en) 2017-06-30 2022-01-11 Huawei Technologies Co., Ltd. Data processing method, network interface card, and server
CN110050447A (en) * 2017-06-30 2019-07-23 华为技术有限公司 A kind of data processing method, network interface card and server
CN109347623A (en) * 2018-10-18 2019-02-15 盛科网络(苏州)有限公司 Conversate the method and device of holding in a kind of application of balancing link load
CN111211975A (en) * 2018-11-22 2020-05-29 中国电信股份有限公司 Flow table generating method and device, software defined network and storage medium
CN109274592A (en) * 2018-11-22 2019-01-25 新华三技术有限公司 MAC Address table entry processing method, device and computer-readable medium
CN111211975B (en) * 2018-11-22 2022-05-24 中国电信股份有限公司 Flow table generation method and device, software defined network, and storage medium
CN110061917A (en) * 2019-04-08 2019-07-26 新华三技术有限公司 Creation method, device, the network equipment and the storage medium of interface group
CN110061917B (en) * 2019-04-08 2021-07-06 新华三技术有限公司 Interface group creating method and device, network equipment and storage medium
CN112995006A (en) * 2019-12-17 2021-06-18 中兴通讯股份有限公司 Message processing method and module, detection method, exchange equipment and storage medium
CN114531405A (en) * 2020-10-31 2022-05-24 华为技术有限公司 Flow table processing method and related equipment
CN112615777B (en) * 2020-12-23 2022-10-11 新华三云计算技术有限公司 Link switching method, device and equipment and machine readable storage medium
CN112615777A (en) * 2020-12-23 2021-04-06 新华三云计算技术有限公司 Link switching method, device, equipment and machine readable storage medium
CN112787913A (en) * 2021-01-26 2021-05-11 北京百度网讯科技有限公司 Intelligent network card assembly, physical machine, cloud service system and message sending method
CN112787913B (en) * 2021-01-26 2023-03-31 北京百度网讯科技有限公司 Intelligent network card assembly, physical machine, cloud service system and message sending method
CN114745255A (en) * 2022-04-12 2022-07-12 深圳星云智联科技有限公司 Hardware chip, DPU, server, communication method and related device
CN114745255B (en) * 2022-04-12 2023-11-10 深圳星云智联科技有限公司 Hardware chip, DPU, server, communication method and related device

Also Published As

Publication number Publication date
CN103401797B (en) 2016-05-11

Similar Documents

Publication Publication Date Title
CN103401797A (en) Message processing method and equipment
CN106953788B (en) virtual network controller and control method
CN104468358A (en) Message forwarding method and device of distributive virtual switch system
KR20170060102A (en) Data forwarding method, device and system in software-defined networking
Song et al. A congestion avoidance algorithm in SDN environment
CN103581274B (en) Message forwarding method and device in stacking system
CN104022960A (en) Method and device realizing PVLAN through OpenFlow protocol
CN104506408A (en) Data transmission method and device based on SDN
CN103081418A (en) Computer system and communication method in computer system
CN105262667A (en) Method and device for controlling multicast transmission in Overlay network
CN106982149A (en) Message mirror-image method and network flow monitoring management system based on SDN
CN104092604A (en) Message transmission control method and device
CN107493244A (en) The data forwarding port selecting method and device of a kind of vertical stack system
CN105391634A (en) Message processing method, device and switch
CN106357542A (en) Method for providing multicast service and software defined network controller
CN106130920A (en) A kind of message forwarding method and device
CN108337179A (en) Link flow control method and device
CN103873361B (en) Packet transmitting device and method
CN105262753A (en) System and method for achieving security policy based on SDN virtual switch
CN104639437A (en) Forwarding method and apparatus of broadcast messages in stack system
CN106330730A (en) Multicast control method and apparatus
EP2924925A1 (en) Communication system, virtual-network management device, communication node, and communication method and program
CN102984082A (en) Network service quality control method and device
CN105207856A (en) Load balancing system and method based on SDN virtual switch
CN104135379A (en) Port control method and device based on OpenFlow protocol

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.