CN103401797B - A kind of message processing method and equipment - Google Patents

A kind of message processing method and equipment Download PDF

Info

Publication number
CN103401797B
CN103401797B CN201310316428.2A CN201310316428A CN103401797B CN 103401797 B CN103401797 B CN 103401797B CN 201310316428 A CN201310316428 A CN 201310316428A CN 103401797 B CN103401797 B CN 103401797B
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.)
Active
Application number
CN201310316428.2A
Other languages
Chinese (zh)
Other versions
CN103401797A (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

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of message processing method: the link polymerization terminal port that creates one the 2nd OF port and be connected with described the 2nd OF port in data forwarding module, the uplink port group that creates a correspondence for this link polymerization terminal port forms polymerization passage, and this uplink port group comprises the more than one physical network card port of choosing of server; When the data message that carrys out self virtualizing machine network interface card enters data forwarding module by an OF port, by coupling upstream table, forward the packet to the 2nd OF port; Described upstream table inbound port is the OF port that data message enters, and outbound port is the 2nd OF port; When on described link polymerization terminal port, while receiving from data message on described the 2nd OF port, select one in uplink port group to choose physical network card port as outbound port by hash algorithm, forward the packet away. Adopt the present invention can realize the load balancing of server host physical port.

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, has brought new technical support to software defined network (SDN),OpenFlow agreement provides one with the thought that forwards platform and isolate deployment for SDN by controlling platformThe implementation of very promising system for cloud computing, i.e. the distributed virtual switch based on OpenFlow agreement(vDS)。
As shown in Figure 1, vDS comprises virtual machine central management platform (VMwarevCenterServer), controlPlane processed (ControlPlane) and data retransmission plane (DataPlane). Wherein, the function of control planeMainly realized by controller (Controller), the function of data retransmission plane is mainly by being arranged on each serviceData forwarding module on device is realized. Data forwarding module is equivalent to a friendship based on OpenFlow agreementChange planes, between data forwarding module and controller, lead to by the escape way based on OpenFlow agreementLetter. User is in the characteristic of vCenterServer deploy related port, simultaneously the upper and lower line thing of control portPart, completes the control of ControlPlane to DataPlane, thereby can realize the agreement based on OpenFlowDistributed virtual switch.
On server, fictionalize data forwarding module and one or more virtual machines by Intel Virtualization Technology(VM), each virtual machine includes a virtual machine network interface card (vNic). Data forwarding module and virtual machine network interface card(vNic), the binding relationship between server host physical network card (vmnic) as shown in Figure 2. DataPlaneOn have multiple virtual ports, be called OpenFlow port (OFPort), a part of OpenFlow port withThe virtual machine network interface card that is arranged in downlink port group (DistributedVirtualPortGroup) is bound one by one,Part OpenFlow port and the Physical Network that is arranged in uplink port group (UplinkPortGroup)Card port is bound one by one.
The method that prior art completes the traffic forwarding between vNic and vmnic comprises the following steps:
S1, user create UplinkPortGroup by vCenterServer, and the multiple of server are reached the standard gradePhysical network card port arrangement is tied on UplinkPortGroup; VCenterServer is by the letter of above-mentioned configurationBreath sends to the data forwarding module in corresponding server;
The message that data forwarding module on S2, server receives user binds multiple physical network card ports;
The behavior of S3, controller monitoring service device upper port, when the message that receives physical network card port and reach the standard grade,Its enable port polymerizable functional, and monitoring carrys out the data message of self virtualizing machine network interface card, completes on multipleThe flow control of line physical port;
S4, enter data forwarding module when the data message that carrys out self virtualizing machine network interface card, and by while delivering to controller,Controller can pass through Hash (Hash) algorithm and select a physical port in UplinkPortGroup to doFor outbound port, and issue corresponding stream and show on data forwarding module, so that data forwarding module will be from voidThe data message of plan machine network interface card sends from outbound port.
The logical meaning that it should be noted that above-mentioned data forwarding module upper port is indefinite, the merit of load balancingCan perform practically no function. A corresponding vmnic port of OpenFlow port on data forwarding module, Er QiejuThe parsing of closing concept is all on ControlPlane, and ControlPlane starts polymerizable functional module, passes through orderMedia Access Control (MAC) address, source MAC, object IP and source IP in a field warpCross hash algorithm and select a vmnic port. ControlPlane issues corresponding stream and shows Data simultaneouslyOn 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 is amendment VLAN ID number(vlan_vid), forward at outbound port (output).
Such stream table causes the message entering from some vNic, let it be MAC Address and IP addressHow, all cannot carry out hash algorithm and select physics outbound port, this be because physics outbound port byIt is fixed that first message entering from this vNIC port triggers the stream voting generating.
Summary of the invention
The object of the present invention is to provide a kind of message processing method and equipment, can realize server masterThe load balancing of machine physical port.
For achieving the above object, the invention provides a kind of message processing method, be applied toOpenFlow distributed virtual exchange system, described system comprises controller and passes through based on OpenFlowThe escape way of agreement is connected to multiple servers of described controller, is provided with virtual on described serverMachine VM and data forwarding module, described data forwarding module comprises a more than one OpenFlowPort, each OpenFlow port connects with the virtual machine network interface card of corresponding virtual machine respectively, the methodComprise:
In data forwarding module, create one the 2nd OpenFlow port and with described the 2nd OpenFlowThe link polymerization terminal port that port is connected, for this link polymerization terminal port creates the uplink port of a correspondenceGroup, this uplink port group comprises the more than one physical network card port of choosing of server;
When the data message that carrys out self virtualizing machine network interface card enters data retransmission mould by an OpenFlow portPiece, by coupling upstream table, forwards the packet to the 2nd OpenFlow port; Described upstream tableInbound port is the OpenFlow port that data message enters, and outbound port is the 2nd OpenFlow port;
When on described link polymerization terminal port, receive from the number on described the 2nd OpenFlow portDuring according to message, select one in uplink port group to choose physical network card port to do by hash algorithmFor outbound port, forward the packet away.
For achieving the above object, the present invention also provides a kind of OpenFlow distributed virtual exchangeServer in system, described system also comprises with each server by the peace based on OpenFlow agreementThe controller that full tunnel connects, described server comprises creation module, virtual machine and data forwarding module,Described data forwarding module comprises a more than one OpenFlow port, each OpenFlow endMouth connects with the virtual machine network interface card of corresponding virtual machine respectively, wherein:
Described creation module, for create at data forwarding module one the 2nd OpenFlow port andThe link polymerization terminal port being connected with described the 2nd OpenFlow port, for this link polymerization terminal port createsThe uplink port group of one correspondence, this uplink port group comprises the more than one choosing of serverMiddle physical network card port;
Described data forwarding module, receives self virtualizing machine for working as by an OpenFlow portWhen the data message of 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 secondOpenFlow port; And, when on described link polymerization terminal port, receive from described secondWhen data message on OpenFlow port, select in uplink port group by hash algorithmChoose physical network card port as outbound port, forward the packet away.
In sum, in the embodiment of the present invention, on data forwarding module, created the link aggregation of logicPort (LAPort, LinkAggregationPort), by up the link polymerization terminal port correspondence of this logicMultiple physical network card ports of choosing in link port group, form polymerization passage, realized aggregation portLogical concept. 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 using one in multiple physical network card ports of choosing as outbound port, will be from logicThe message of link polymerization terminal port forward by polymerization passage, thereby realized load balancing function.Compared with prior art, neither can produce burden to controller, forwarding that simultaneously also can convection current table producesBurden.
Brief description of the drawings
Fig. 1 is that the distributed virtual switch composition module based on OpenFlow agreement of prior art is shownIntention.
Fig. 2 is the binding relationship between DataPlane and virtual machine network interface card and server host physical network cardSchematic diagram.
Fig. 3 is the embodiment of the present invention is set up polymerization passage schematic diagram 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 exchange systemFigure.
Detailed description of the invention
For making object of the present invention, technical scheme and advantage clearer, develop simultaneously referring to accompanying drawingEmbodiment, is described in further detail scheme of the present invention.
Core concept of the present invention is: on data forwarding module, create the link polymerization terminal port of logic, and willMultiple physical network card ports of choosing in the corresponding uplink port group of link polymerization terminal port of this logic, shapeBecome polymerization passage, when data message arrives the link polymerization terminal port of logic from virtual machine network interface card, just can be byTraffic sharing to multiple member's physical ports of choosing in up-link port set forward.
Fig. 3 is the embodiment of the present invention is set up polymerization passage schematic diagram at data forwarding module. Data retransmissionIn module, near the OpenFlow port of virtual machine network interface card side, be called an OpenFlow port, each theOne OpenFlow port connects with the virtual machine network interface card of corresponding virtual machine respectively, OF1, OF2 in Fig. 3Bind respectively the vNic2 of vNic1, VM2 and the vNic3 of VM3 of VM1 with OF3; Data retransmissionIn module, near the OpenFlow port of physical network card side, be called the 2nd OpenFlow port, OF4Binding LAPort, for realizing the communication between LAPort and physical port, sets up polymerization passage, willLAPort is corresponding with multiple physical network card port vmnic1, vmnic2, vmnic3 that choose. HereVmnic1, vmnic2 and vmnic3 normally reach the standard grade, and have the port of same alike result class, just canWith corresponding with LAPort by polymerization passage.
After setting up polymerization passage, the load balancing function while being mainly used in realizing message repeating. The present inventionAs shown in Figure 4, it comprises the following steps the schematic flow sheet of message processing method:
Step 41, in data forwarding module, create one the 2nd OpenFlow port and with described secondThe link polymerization terminal port that OpenFlow port is connected, for this link polymerization terminal port creates the up of a correspondenceLink port group, forms polymerization passage, and this uplink port group comprises the more than one of serverChoose physical network card port.
Particularly, the method for formation polymerization passage comprises:
Data forwarding module is by the Physical Network of reaching the standard grade in described link polymerization terminal port binding uplink port groupCard port, and notice to controller;
Data forwarding module receive controller issue by identical the reaching the standard grade of Attribute class in uplink port groupPhysical network card port is as the control message of the physical network card port of choosing;
Data forwarding module is by the Physical Network of choosing in described link polymerization terminal port binding uplink port groupCard port, forms polymerization passage.
Form the process of polymerization passage for clearly demonstrating step 41, carry out as an example of Fig. 3 schematic diagram example below in detailIllustrate, it comprises the following steps:
SS1, user create UplinkPortGroup by vCenterServer, and the multiple of server are reached the standard gradePhysical network card port vmnic1, vmnic2, vmnic3 and vmnic4(vmnic4 are not shown in the figures) configure and tie upFixed to UplinkPortGroup; The information of above-mentioned configuration is sent to corresponding server by vCenterServerOn data forwarding module;
Data forwarding module on SS2, server receives user and binds vmnic1, vmnic2, vmnic3With the message of vmnic4, on data forwarding module, create the 2nd OpenFlow port OF4, and and OF4The LAPort connecting, and by this LAPort binding vmnic1, vmnic2, vmnic3 and vmnic4;
The behavior of SS3, controller monitored data forwarding module upper port, when listening to LAPort bindingAfter the message of vmnic1, vmnic2, vmnic3 and vmnic4, according to each physical port vmnic1 that reaches the standard grade,The Attribute class of vmnic2, vmnic3 and vmnic4 is by the thing of reaching the standard grade identical Attribute class in UplinkPortGroupReason port vmnic1, vmnic2, vmnic3, as the physical network card port of choosing, set up LAPort and choosingIn physical network card port vmnic1, the mapping relations between vmnic2, vmnic3, by unchecked physicsNetwork interface card port vmnic4 notices to data forwarding module by controlling message;
Wherein, how controller judges that the Attribute class of vmnic1, vmnic2, vmnic3 is identical, as choosingThe method of physical network card port can be: by one in vmnic1, vmnic2, vmnic3 and vmnic4Individual port is as with reference to port, and in the present embodiment, hypothetical reference port is vmnic1; Judge successively vmnic2,Whether the Attribute class of vmnic3 and vmnic4 is identical with vmnic1, and Attribute class can be the maximum biography of interface parametersDefeated unit (MTU, MaximumTransmissionUnit), or the maximum load of interface; Suppose vmnic2All identical with vmnic1 with maximum load value with the MTU value of vmnic3, thus by vmnic1, vmnic2,Vmnic3 chooses, as the physical network card port of choosing. At this moment set up LAPort and the physical network card of choosingMapping relations between port vmnic1, vmnic2, vmnic3, the MTU value of LAPort be vmnic1,The MTU value of vmnic2, the arbitrary port of vmnic3, the maximum load of LAPort be vmnic1, vmnic2,The load value that tri-ports of vmnic3 are added. Due to MTU value and maximum load value and the vmnic1 of vmnic4Difference, so that vmnic4 does not have is selected, therefore controller can be by unchecked physical network card port vmnic4Notice to data forwarding module by controlling message.
SS4, data forwarding module block unchecked physical network card port vmnic4 according to controlling message(block) fall, LAPort bound to vmnic1, vmnic2, vmnic3, form LAPort withPolymerization passage between vmnic1, vmnic2, vmnic3.
Step 42, enter number by an OpenFlow port when the data message that carrys out self virtualizing machine network interface cardAccording to forwarding module, by coupling upstream table, forward the packet to the 2nd OpenFlow port; DescribedUpstream table inbound port is the OpenFlow port that data message enters, and outbound port is secondOpenFlow port.
While also there is not upstream table in tentation data forwarding module, first need that controller is carried out to message and touchSend out, make controller issue upstream table to data forwarding module. Particularly, when carrying out self virtualizing machine network interface cardData message enters data forwarding module, while not matching any stream table, will on this data message, deliver to controlDevice, generates and issues corresponding upstream table with trigger controller.
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 LAPort, the occurrence of this upstream table comprises: inbound portFor OF1 corresponding to vNic1, perform an action and comprise: OF4 corresponding to LAPort that is logic by outbound portE-Packet. Wherein, upstream table obtain can not repeat them here with reference to prior art.
Step 43, when on described link polymerization terminal port, receive from described the 2nd OpenFlow portData message time, select one in uplink port group to choose physical network card port by hash algorithmAs outbound port, forward the packet away.
In the embodiment of the present invention, suppose that vmnic1 is outbound port, leads to by polymerization from the message of LAPortRoad forwards from vmnic1. 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, controlling with prior artDevice is realized different. The present invention can be according to the source MAC of message, target MAC (Media Access Control) address, source IP groundLocation or one of them field of object IP address, carry out Hash calculation, from the physical network card port of choosing, selectsSelect one as outbound port. The present invention can also, according to the sequential of message, carry out described hash algorithm, realizesLoad balancing. The present invention only has at the occurrence that issues stream table on the basis of inbound port (in-port), just realizesLoad balancing, the message of different MAC Address, IP address can forward from different physics outbound port, noMessage with sequential also can forward from different physics outbound ports. Not needing as prior art, is realityExisting load balancing, when controller issues stream table, occurrence not only includes port, and comprises MAC AddressOr IP address, using MAC Address or IP address, as the differentiation of different messages, such shortcoming is exactly:Need to send controller from the each different MAC of vNic or the message of IP field, obtain with algorithmGet the physical port of load balancing. So not only increase the burden of controller, and will in data forwarding moduleThere is a large amount of stream tables, expended data forwarding module a large amount of resource and complete the function of load balancing.
Fig. 4 has been the flow forwarding method schematic diagram of vNic to vmnic.
Set up so after polymerization passage, complete vmnic and comprise the following steps to the flow forwarding method of vNic:
Step 51, when entering from the data message of choosing physical network card port in uplink port groupWhen data forwarding module, message is sent to described link polymerization terminal port;
Step 52, when receive the number from described link polymerization terminal port on described the 2nd OpenFlow portDuring according to message, by coupling downstream table, message is arrived to corresponding void by an OpenFlow port repeatPlan machine network interface card; Described downstream table inbound port is the 2nd OpenFlow port, and outbound port is virtual machine network interface card pairThe one OpenFlow port of answering. Concrete, outbound port correspondence which or which an OpenFlow port,To be decided according to the feature such as target MAC (Media Access Control) address, clean culture/multicast/broadcast massage of message by controller,Generating mode about stream table can, with reference to prior art, repeat no more herein.
While also there is not downstream table in tentation data forwarding module, first need that controller is carried out to message and touchSend out, make controller issue downstream table to data forwarding module. Particularly, when from uplink portThe data message of the physical network card port in group enters data forwarding module, while not matching any stream table, and willOn this data message, deliver to controller, generate and issue corresponding downstream table with trigger controller.
In the embodiment of the present invention, suppose to enter polymerization passage from the data message of vmnic1, directly arrive LAPort, then enters data forwarding module by OF4, by coupling downstream table, forwards the packet to vNic1.The occurrence of this downstream table comprises: inbound port is the OF4 that LAPort is corresponding, performs an action and comprises: pass throughOutbound port is that the OF1 that vNic1 is corresponding E-Packets. Wherein, the obtaining as prior art of downstream table,This repeats no more.
In addition, the physical network card port of choosing in UplinkPortGroup can change, if user existsVCenterServer is upper unbinds a physical network card port of choosing,
Data forwarding module receives the message that the physical network card port chosen changes;
The behavior of controller monitored data forwarding module upper port, upgrades the physical network card port of choosing with correspondingMapping relations between link polymerization terminal port, by the physical network card port unbinding by control message notice toData forwarding module;
Data forwarding module falls according to controlling message the physical network card port block unbinding, and described link is poly-Close the physical network card port of choosing after port binding upgrades.
The message announcement that data forwarding module unbinds the physical network card port of choosing is to controller;
The control that the physical network card port by choosing that data forwarding module reception controller issues unbinds disappearsBreath;
Data forwarding module is by the physical network card port of choosing after described link polymerization terminal port Binding Update.
In summary, the message announcement that data forwarding module unbinds the physical network card port of choosing is given controlDevice processed; The control that the physical network card port by choosing that data forwarding module reception controller issues unbindsMessage; Data forwarding module is by the physical network card port of choosing after described link polymerization terminal port Binding Update.
Based on same inventive concept, the present invention also proposes a kind of OpenFlow distributed virtual exchange and isServer in system, described system also comprises with each server by the safety based on OpenFlow agreementChannel attached controller, described server comprises creation module, virtual machine and data forwarding module, instituteState data forwarding module and comprise a more than one OpenFlow port, each OpenFlow portConnect with the virtual machine network interface card of corresponding virtual machine respectively, referring to Fig. 5, Fig. 5 is the specific embodiment of the inventionIn be applied to the structural representation of the server of said method. This server comprises:
Creation module 501, for create at data forwarding module one the 2nd OpenFlow port and withThe link polymerization terminal port that described the 2nd OpenFlow port is connected, for this link polymerization terminal port creates oneCorresponding uplink port group, this uplink port group comprises that the more than one of server choosePhysical network card port;
Described data forwarding module 502, receives self-virtualizing for working as by an OpenFlow portWhen the data message of machine network interface card, by coupling upstream table, forward the packet to the 2nd OpenFlow endMouthful; Described upstream table inbound port is the OpenFlow port that data message enters, and outbound port isThe 2nd OpenFlow port; And, when on described link polymerization terminal port, receive from describedWhen data message on two OpenFlow ports, select in uplink port group by hash algorithmChoose physical network card port as outbound port, forward the packet away for one.
Preferably, described data forwarding module 502, also for working as to come the data message of self virtualizing machine network interface cardWhile not matching any stream table, will on this data message, deliver to controller, with trigger controller generate and underThe upstream table of sending out corresponding.
Preferably, described data forwarding module 502, also for by the choosing from uplink port groupThe data message forwarding of middle physical network card port is to described link polymerization terminal port; And when passing through secondWhen OpenFlow port receives from the data message of described link polymerization terminal port, by coupling downstreamTable, arrives corresponding virtual machine network interface card by message by an OpenFlow port repeat; Described downstreamTable inbound port is the 2nd OpenFlow port, and outbound port is the OpenFlow that virtual machine network interface card is correspondingPort.
Preferably, described data forwarding module 502, also for the thing when from uplink port groupWhen the data message of reason network interface card port does not match any stream table, will on this data message, deliver to controller,Generate and issue corresponding downstream table with trigger controller.
Described creating unit 501, further comprises: binding subelement 511 and reception subelement 512;
Described binding subelement 511, for binding uplink port group by described link polymerization terminal portThe physical network card port of reaching the standard grade, and notice to controller;
Described reception subelement 512, for receive that controller issues by uplink port group attributeWhat class was identical the reach the standard grade control message of physical network card port as the physical network card port of choosing;
Described binding subelement 511, also for binding uplink port group by described link polymerization terminal portIn the physical network card port chosen, form polymerization passage.
When physical network card port in elected changes,
Described binding subelement 511, the also message announcement for the physical network card port of choosing is unbindedGive controller;
Described reception subelement 512, also for receive that controller issues by the physical network card port of choosingThe control message unbinding;
Described binding subelement 511, also for by choosing after described link polymerization terminal port Binding UpdatePhysical network card port.
In sum, in the specific embodiment of the invention, utilize link polymerization terminal port, by this link polymerization terminal portMultiple physical network card ports of choosing in corresponding uplink port group, form polymerization passage, have realized reportLoad balancing function when literary composition forwards. By the function of load balancing be compressed in completely polymerization passage from logicLink polymerization terminal port on the direction of physical port, so can produce burden to controller, simultaneously alsoForwarding that can convection current table produces burden, thereby reaches object of the present invention.
The above, be only preferred embodiment of the present invention, is not intended to limit protection of the present inventionScope. Within the spirit and principles in the present invention all, any amendment of doing, be equal to replacement, improveDeng, within all should being included in protection scope of the present invention.

Claims (11)

1. a message processing method, is applied to OpenFlow distributed virtual exchange system, described systemTurnkey is drawn together controller and is connected to described controller by escape way based on OpenFlow agreementMultiple servers, are provided with virtual machine VM and data forwarding module on described server, described data turnSend out module and comprise a more than one OpenFlow port, each OpenFlow port is respectively with rightAnswer the virtual machine network interface card of virtual machine to connect, the method comprises:
In data forwarding module, create one the 2nd OpenFlow port and with described the 2nd OpenFlowThe link polymerization terminal port that port is connected, for this link polymerization terminal port creates the uplink port of a correspondenceGroup, this uplink port group comprises the more than one physical network card port of choosing of server;
When the data message that carrys out self virtualizing machine network interface card enters data retransmission mould by an OpenFlow portPiece, by coupling upstream table, forwards the packet to the 2nd OpenFlow port; Described upstream tableInbound port is the OpenFlow port that data message enters, and outbound port is the 2nd OpenFlow port;
When on described link polymerization terminal port, receive from the number on described the 2nd OpenFlow portDuring according to message, select one in uplink port group to choose physical network card port to do by hash algorithmFor outbound port, forward the packet away.
2. the method for claim 1, is characterized in that, wherein,
When the data message that carrys out self virtualizing machine network interface card enters data forwarding module, while not matching any stream table,To on this data message, deliver to controller, generate and issue corresponding upstream table with trigger controller.
3. the method for claim 1, is characterized in that, also comprises:
When entering data retransmission from the data message of choosing physical network card port in uplink port groupWhen module, message is sent to described link polymerization terminal port;
When receive the datagram from described link polymerization terminal port on described the 2nd OpenFlow portWen Shi, by coupling downstream table, arrives corresponding void by message by an OpenFlow port repeatPlan machine network interface card; Described downstream table inbound port is the 2nd OpenFlow port, and outbound port is virtual machine netThe OpenFlow port that card is corresponding.
4. method as claimed in claim 3, is characterized in that, also comprises:
When the data message of the physical network card port from uplink port group enters data retransmission mouldPiece, while not matching any stream table, will deliver to controller on this data message, generates with trigger controllerAnd issue corresponding downstream table.
5. the method for claim 1, is characterized in that, according to the media Access Control of messageMAC Address or IP address or message receive sequential, carry out the selection processing of described hash algorithm.
6. the method for claim 1, is characterized in that, the up-link of described establishment one correspondencePort set comprises:
Data forwarding module is by the Physical Network of reaching the standard grade in described link polymerization terminal port binding uplink port groupCard port, and notice to controller;
Data forwarding module receive controller issue by identical the reaching the standard grade of Attribute class in uplink port groupPhysical network card port is as the control message of the physical network card port of choosing;
Data forwarding module is by the Physical Network of choosing in described link polymerization terminal port binding uplink port groupCard port, forms polymerization passage.
7. method as claimed in claim 6, is characterized in that, the physical network card port in being elected to changesTime, the method further comprises:
The message announcement that data forwarding module unbinds the physical network card port of choosing is to controller;
The control that the physical network card port by choosing that data forwarding module reception controller issues unbinds disappearsBreath;
Data forwarding module is by the physical network card port of choosing after described link polymerization terminal port Binding Update.
8. the server in OpenFlow distributed virtual exchange system, described system also comprise withThe controller that each server connects by the escape way based on OpenFlow agreement, described server bagDraw together creation module, virtual machine and data forwarding module, described data forwarding module comprises more than oneOne OpenFlow port, each OpenFlow port connects with the virtual machine network interface card of corresponding virtual machine respectivelyConnect, wherein:
Described creation module, for create at data forwarding module one the 2nd OpenFlow port andThe link polymerization terminal port being connected with described the 2nd OpenFlow port, for this link polymerization terminal port createsThe uplink port group of one correspondence, this uplink port group comprises the more than one choosing of serverMiddle physical network card port;
Described data forwarding module, receives self virtualizing machine for working as by an OpenFlow portWhen the data message of 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 secondOpenFlow port; And, when on described link polymerization terminal port, receive from described secondWhen data message on OpenFlow port, select in uplink port group by hash algorithmChoose physical network card port as outbound port, forward the packet away.
9. server as claimed in claim 8, is characterized in that,
Described data forwarding module, also for choosing physical network card end from uplink port groupThe data message forwarding of mouth is to described link polymerization terminal port; And when connecing by the 2nd OpenFlow portWhile receiving the data message from described link polymerization terminal port, by coupling downstream table, message is passed throughThe one OpenFlow port repeat is to corresponding virtual machine network interface card; Described downstream table inbound port is secondOpenFlow port, outbound port is the OpenFlow port that virtual machine network interface card is corresponding.
10. server as claimed in claim 9, is characterized in that, described creation module, furtherComprise: binding subelement and reception subelement;
Described binding subelement, for by described link polymerization terminal port binding uplink port groupLine physical network card port, and notice to controller;
Described reception subelement, for receive that controller issues by uplink port group Attribute class phaseThe same control message of physical network card port as the physical network card port of choosing of reaching the standard grade;
Described binding subelement, also for selecting described link polymerization terminal port binding uplink port groupIn physical network card port, form polymerization passage.
11. servers as claimed in claim 10, is characterized in that,
Described binding subelement, also gives control for message announcement that the physical network card port of choosing is unbindedDevice processed;
Described reception subelement, also goes to tie up for receiving the physical network card port by choosing that controller issuesFixed control message;
Described binding subelement, also for by the physics of choosing after described link polymerization terminal port Binding UpdateNetwork interface card port.
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 CN103401797A (en) 2013-11-20
CN103401797B true 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)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN104767676B (en) * 2014-01-03 2017-12-12 华为技术有限公司 Data message forwarding method and system in SDN
CN104283785B (en) * 2014-10-29 2018-11-27 新华三技术有限公司 A kind of method and apparatus of quick processing flow table
JP6462879B2 (en) * 2014-12-09 2019-01-30 華為技術有限公司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
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
CN110050447B (en) * 2017-06-30 2021-02-12 华为技术有限公司 Data processing method, network interface card and server
CN109347623B (en) * 2018-10-18 2022-09-09 苏州盛科通信股份有限公司 Method and device for session maintenance in link load balancing application
CN109274592B (en) * 2018-11-22 2021-03-09 新华三技术有限公司 MAC address table item processing method and 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
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
CN114531405B (en) * 2020-10-31 2023-06-06 华为技术有限公司 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
CN112787913B (en) * 2021-01-26 2023-03-31 北京百度网讯科技有限公司 Intelligent network card assembly, physical machine, cloud service system and message sending method
CN114745255B (en) * 2022-04-12 2023-11-10 深圳星云智联科技有限公司 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

Also Published As

Publication number Publication date
CN103401797A (en) 2013-11-20

Similar Documents

Publication Publication Date Title
CN103401797B (en) A kind of message processing method and equipment
CN103081418B (en) Computer system and communication method in computer system
CN104104570B (en) Aggregation processing method in IRF systems and device
CN104954281B (en) Communication means, system, resource pool management system, interchanger and control device
CN104982013B (en) A kind of method, equipment and the system of business routing
CN107896195B (en) Service chain arranging method and device and service chain topological structure system
CN104468358A (en) Message forwarding method and device of distributive virtual switch system
CN103200122B (en) A kind of software defined network is organized the processing method of table, system and controller
CN104283785A (en) Method and device for processing flow table rapidly
CN101355505B (en) Method, apparatus and system for forwarding packet
CN106982149A (en) Message mirror-image method and network flow monitoring management system based on SDN
CN104869058A (en) Method and device for transmitting data message
CN103581274B (en) Message forwarding method and device in stacking system
CN105262667A (en) Method and device for controlling multicast transmission in Overlay network
CN108880968A (en) Broadcast, method of realizing group broadcasting and device, storage medium in software defined network
CN107493244A (en) The data forwarding port selecting method and device of a kind of vertical stack system
CN106385354B (en) Message forwarding method and device
CN104579894B (en) The IGMP Snooping implementation methods and device of the distributed virtual switch system
CN104601461B (en) Message forwarding method and device in a kind of Longitudinal Intelligence resilient infrastructure system
CN108768692A (en) A kind of network creation method, relevant device and system
CN103532863B (en) Method and device for realizing software stacking
CN103595712B (en) A kind of Web authentication method, apparatus and system
CN108512758A (en) Message processing method, controller and forwarding unit
US20160277251A1 (en) Communication system, virtual network management apparatus, communication node, communication method, and program
CN110391961A (en) A kind of tunnel binding method, equipment and system

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

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.

CP03 Change of name, title or address