CN103581042B - Method and device for sending data package - Google Patents

Method and device for sending data package Download PDF

Info

Publication number
CN103581042B
CN103581042B CN201310526766.9A CN201310526766A CN103581042B CN 103581042 B CN103581042 B CN 103581042B CN 201310526766 A CN201310526766 A CN 201310526766A CN 103581042 B CN103581042 B CN 103581042B
Authority
CN
China
Prior art keywords
packet
microsoft loopback
loopback adapter
sends
virtual
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.)
Expired - Fee Related
Application number
CN201310526766.9A
Other languages
Chinese (zh)
Other versions
CN103581042A (en
Inventor
梁良
李春鹤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310526766.9A priority Critical patent/CN103581042B/en
Publication of CN103581042A publication Critical patent/CN103581042A/en
Application granted granted Critical
Publication of CN103581042B publication Critical patent/CN103581042B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention provides a method and device for sending a data package, and relates to the field of communication. The method and device for sending the data package are used for controlling the speed of sending the data package to a target device by a virtual switch. The method comprises the steps that the visual switch establishes a first virtual network interface card corresponding to a first visual machine in a physical machine, the data package is sent to the first visual network interface card after the data package which is sent through a corresponding second visual network interface card by the first visual machine is received, wherein the first visual network interface card is equipped with a first data package sending rule, the visual switch receives the data package which is sent by the first visual network interface card according to a first sending speed, and the data package is sent to the target device according to the first sending speed. The method and device for sending the data package are used for sending the data package to the target device by the visual machine.

Description

The method and apparatus that a kind of packet sends
Technical field
The present invention relates to the communications field, the method and apparatus that more particularly, to a kind of packet sends.
Background technology
In server virtualization technology, in physical machine, the virtual machine of configuration, when sending packet, needs by virtual Switch sends data packets to purpose equipment (as other virtual machines of configuration in physical network card or physical machine), but, During packet sends, physical resource (such as the bandwidth resources of physical network card, computing resource of cpu etc.) can be taken, when this When the speed of physical machine transmission packet is excessive, excessive physical resource will be taken, have influence on other equipment (in physical machine Configuration other virtual machines) normal operation, accordingly, it would be desirable to be controlled to the data package transmission velocity of virtual machine.
In the method that the existing data package transmission velocity to virtual machine is controlled, in physical network card, it is configured with data Bag sends rule, and in the case that virtual machine sends packet by physical network card, virtual switch receives this virtual machine and sends Packet, and this packet is sent to physical network card, this physical network card sends rule according to packet and sends out this packet Deliver to external equipment (another server as in network), wherein, this packet sends the transmission speed that rule includes packet The information such as rate, thus realize the control to data package transmission velocity.
From the foregoing, it will be observed that the speed that virtual switch sends packet to purpose equipment is uncontrollable, if this purpose equipment For in physical machine configuration other virtual machines, due to virtual switch by this packet send to this physical machine configuration other Need not move through physical network card during virtual machine, therefore, then cannot realize the control to data package transmission velocity.
Content of the invention
Embodiments of the invention provide the method and apparatus that a kind of packet sends, to control virtual switch to set to purpose Preparation send the speed of packet.
For reaching above-mentioned purpose, embodiments of the invention adopt the following technical scheme that
In a first aspect, providing a kind of method that packet sends, comprising:
Virtual switch sets up the first Microsoft Loopback Adapter of the first virtual machine in corresponding physical machine, and wherein, described first is virtual Network card configuration has the first packet to send rule, and described first packet sends the first transmission rate that rule includes packet;
After corresponding second Microsoft Loopback Adapter of described first virtual machine receives the packet that described first virtual machine sends, Described virtual switch receives the described packet that described second Microsoft Loopback Adapter sends;
Described virtual switch sends described packet to described first Microsoft Loopback Adapter;
Described virtual switch receives the described data that described first Microsoft Loopback Adapter sends according to described first transmission rate Bag, and described packet is sent to purpose equipment according to described first transmission rate.
In the first possible implementation of first aspect, set up in corresponding physical machine the in described virtual switch Before first Microsoft Loopback Adapter of one virtual machine, methods described also includes:
The Microsoft Loopback Adapter that described virtual switch receive user sends sets up instruction, and wherein, described Microsoft Loopback Adapter is set up and referred to Make and determining what described first virtual machine occupancy physical resource sent when exceeding predetermined threshold value for user;
Described virtual switch sets up the first Microsoft Loopback Adapter of the first virtual machine in corresponding physical machine, comprising:
Described virtual switch is set up instruction according to described Microsoft Loopback Adapter and is set up described first Microsoft Loopback Adapter.
In conjunction with first aspect or the first possible implementation, in the possible implementation of second, described virtual Described packet is sent to purpose equipment by switch according to described first transmission rate, comprising:
Described packet is sent to the physics of described physical machine by described virtual switch according to described first transmission rate Network interface card;Or,
Described packet is sent to described physical machine by described virtual switch according to described first transmission rate Two virtual machines.
In conjunction with the possible implementation of second, in the third possible implementation, described virtual switch according to Described packet is sent to the physical network card of described physical machine by described first transmission rate, comprising:
Described virtual switch sends described packet to being configured with the second packet according to described first transmission rate Send the physical network card of rule, wherein, described second packet sends the second transmission rate that rule includes packet, with toilet State physical network card to be sent described packet to external equipment according to described second transmission rate.
In conjunction with any one the possible implementation in first aspect to the third possible implementation, at the 4th kind In possible implementation, methods described also includes:
The network interface card that receive user sends deletes instruction;
Instruction is deleted according to described network interface card and deletes described first Microsoft Loopback Adapter.
Second aspect, provides a kind of virtual switch, comprising:
Processing unit, for setting up the first Microsoft Loopback Adapter of the first virtual machine in corresponding physical machine, wherein, described first is empty Intending network card configuration has the first packet to send rule, and described first packet sends the first transmission speed that rule includes packet Rate;
Receiving unit, sends out for receiving described first virtual machine in corresponding second Microsoft Loopback Adapter of described first virtual machine After the packet sending, receive the described packet that described second Microsoft Loopback Adapter sends;
Transmitting element, the described packet for receiving described receiving unit sends to described first Microsoft Loopback Adapter;
Described receiving unit is additionally operable to, and receives, in described first Microsoft Loopback Adapter, the described data that described transmitting element sends Bao Hou, receives the described packet that described first Microsoft Loopback Adapter sends according to described first transmission rate;
Described transmitting element is additionally operable to, and receives described first Microsoft Loopback Adapter according to described first in described receiving unit After the described packet that transmission rate sends, described packet is sent to purpose equipment according to described first transmission rate.
In the first possible implementation, described receiving unit is specifically for the Microsoft Loopback Adapter that receive user sends Foundation instruction, wherein, described Microsoft Loopback Adapter foundation instruction takies physical resource for user in described first virtual machine of determination and exceedes Send during predetermined threshold value;
Described processing unit is specifically for setting up instruction according to described Microsoft Loopback Adapter and setting up described first Microsoft Loopback Adapter.
In conjunction with second aspect or the first possible implementation, in the possible implementation of second, described transmission Unit specifically for:
According to described first transmission rate, described packet is sent to physical network card;Or,
Described packet is sent by the second virtual machine to described physical machine according to described first transmission rate.
In conjunction with the possible implementation of second, in the third possible implementation, described transmitting element is specifically used In:
The first transmission rate according to described packet by described packet send to be configured with second packet send rule Physical network card then, wherein, described second packet sends the second transmission rate that rule includes packet, so that described physics Network interface card sends described packet to external equipment according to described second transmission rate.
In conjunction with any one of second aspect to the third possible implementation possible implementation, can at the 4th kind In the implementation of energy, described receiving unit is additionally operable to, and the network interface card that receive user sends deletes instruction;
Described processing unit is additionally operable to, and deletes instruction according to described network interface card and deletes described first Microsoft Loopback Adapter.
Using such scheme, virtual switch sets up the first Microsoft Loopback Adapter of the first virtual machine in corresponding physical machine, and This first virtual machine sends after packet to corresponding second Microsoft Loopback Adapter, receives this data of this second Microsoft Loopback Adapter transmission Bag, then this virtual switch this packet is sent to this first Microsoft Loopback Adapter, so, this virtual switch is first virtual by this Machine sends and is converted to this virtual switch to the packet of this second Microsoft Loopback Adapter and sends to the packet of this first Microsoft Loopback Adapter, And, this first Microsoft Loopback Adapter configurable data bag sends rule, this first Microsoft Loopback Adapter is controlled to send to this virtual switch The transmission rate of packet, thus controlling this virtual switch to send this packet to the transmission rate of purpose equipment, prevents This first virtual machine excessive causes this first virtual by the speed that this virtual switch sends data packets to purpose equipment The physical resource that machine takies is excessive, improves Consumer's Experience.
Brief description
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be to required use in embodiment description Accompanying drawing be briefly described it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this For the those of ordinary skill of field, on the premise of not paying creative work, can also be obtained other according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of schematic flow sheet of data packet sending method provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of data packet sending method provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another kind data packet sending method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of virtual switch provided in an embodiment of the present invention;
Fig. 5 is the structural representation of another kind virtual switch provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of not making creative work Embodiment, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides a kind of sending method of packet, as shown in Figure 1, comprising:
S101, virtual switch set up the first Microsoft Loopback Adapter of the first virtual machine in corresponding physical machine.
Wherein, this first Microsoft Loopback Adapter is configured with the first packet and sends rule, and this first packet sends rule and includes First transmission rate of packet.
Specifically, after the Microsoft Loopback Adapter that this virtual switch receives user's transmission sets up instruction, according to this virtual net The Microsoft Loopback Adapter that the first virtual machine in corresponding physical machine is set up in instruction set up by card.
It should be noted that when the transmission rate of physical resource deficiency or this first virtual machine is excessive, in order that number According to bag normal transmission, user can issue Microsoft Loopback Adapter to this virtual switch and set up instruction, and this virtual switch is according to this void Intend network interface card and set up the first Microsoft Loopback Adapter that this first virtual machine is set up in instruction, thus the number according to configuration in this first Microsoft Loopback Adapter Send the speed that this first virtual machine of rule control sends packet to purpose equipment according to bag.
Wherein, in above-mentioned first Microsoft Loopback Adapter, the first packet transmission rule of configuration can be complete by flow-control module Become, this flow-control module can be independently of the module of virtual switch, specifically, this flow-control module is to this first void Intend Network card setup qos (quality of service, quality of service guarantee) parameter, thus realizing on this first Microsoft Loopback Adapter Configure the first packet and send rule, this qos parameter includes transmission bandwidth, upper limit bandwidth and burst flow, wherein, this transmission belt The lowest-bandwidth of this packet of transmission of a width of setting is it is ensured that corresponding first virtual machine of this first Microsoft Loopback Adapter sends this number According to the transmission rate of bag, thus ensureing the normal transmission of this packet;This packet of transmission of this width of setting of upper limit band is High bandwidth is it is ensured that in flow larger (the producing burst flow) of this first virtual machine transmission, this first virtual machine sends The transmission rate that this packet sends, thus ensureing the normal transmission of this packet, this upper limit bandwidth is more than or equal to this transmission belt Wide;This burst flow be the transmission of this first virtual machine flow larger when the flow that the transmits and flow based on transmission bandwidth transmission Difference, burst flow is bigger, and the time that this first virtual machine sends packet with this upper limit bandwidth is longer.So, due to sending out The corresponding transmission rate of difference giving the bandwidth of this packet also differs, therefore, by the different transmission belt of qos parameter setting Width, upper limit bandwidth and burst flow can correspond to the first different transmission rates, thus realizing this first virtual machine is passed through to be somebody's turn to do Virtual switch sends the control of the transmission rate of packet to purpose equipment.
S102, corresponding second Microsoft Loopback Adapter of this first virtual machine receive this first virtual machine transmission packet Afterwards, this virtual switch receives this packet of this second Microsoft Loopback Adapter transmission.
It should be noted that this second Microsoft Loopback Adapter is the rear end Microsoft Loopback Adapter of this first virtual machine, this rear end virtual net When card is that user creates this first virtual machine, to should the first virtual machine together create that is to say, that this first virtual machine lead to Cross this second Microsoft Loopback Adapter to receive and send packet;Wherein, this second Microsoft Loopback Adapter includes transmit queue and receiving queue, Above-mentioned flow-control module has good effect to the flow-control of this transmit queue, and the flow-control to this receiving queue There is larger defect.Because this first virtual machine passes through the packet of this second Microsoft Loopback Adapter transmission without this second void Intend network interface card transmit queue, therefore, in this second Microsoft Loopback Adapter configuration data bag send rule cannot effective control this first Virtual machine is changed planes by this virtual machine and is sent the transmission rate of packet to purpose equipment.
Illustratively, as shown in Fig. 2 the schematic diagram that sends for packet of described Fig. 2, the physical machine shown in Fig. 2 includes virtual Switch, the first virtual machine, the rear end Microsoft Loopback Adapter of this first virtual machine, this virtual switch set up to should be first virtual First Microsoft Loopback Adapter of machine and the second virtual machine, the rear end Microsoft Loopback Adapter of this second virtual machine, also have the physics of this physical machine External equipment outside network interface card and this physical machine.Wherein, the small circle in Fig. 2 is the port receiving or sending packet, numeral Path for transmission or receiving data bag.Then this second Microsoft Loopback Adapter receives in the packet such as Fig. 2 of this first virtual machine transmission Path 1 shown in, path 2 then represent this virtual switch receive this second Microsoft Loopback Adapter transmission this packet.
S103, this virtual switch send this packet to this first Microsoft Loopback Adapter.
Illustratively, this virtual switch, after the packet receiving the transmission of this second Microsoft Loopback Adapter, this packet is turned It is sent to this first Microsoft Loopback Adapter, as shown in the path 3 in Fig. 2.
S104, this virtual switch receive this packet that this first Microsoft Loopback Adapter sends according to this first transmission rate, And this packet is sent to purpose equipment according to this first transmission rate.
It should be noted that this first Microsoft Loopback Adapter sends passes through this first virtual net to the packet of this virtual switch The transmit queue of card, then this first packet of this first Microsoft Loopback Adapter configuration send that rule can this be first virtual with effective control Network interface card sends the transmission rate of packet to this virtual switch.
As shown in the path 4 in Fig. 2, illustratively, this flow-control module is that the qos parameter that this Microsoft Loopback Adapter is arranged includes Transmission bandwidth, upper limit bandwidth and burst flow, remember that this transmission bandwidth is transmission bandwidth a, remember this upper limit band a width of upper limit bandwidth b, Remember that this burst flow is burst flow c, wherein, this burst flow c is the higher limit of this first virtual machine burst flow of setting, Then this first Microsoft Loopback Adapter sends this packet according to corresponding first transmission rate of this qos parameter to this virtual switch, should Virtual switch sends this packet to purpose equipment according to this first transmission rate, wherein, when this first virtual machine does not have During burst flow, this first Microsoft Loopback Adapter is by the packet receiving according to the corresponding data package transmission velocity of this transmission bandwidth a Send to this virtual switch, so that this packet is sent by this virtual switch according to the corresponding packet of this transmission bandwidth a Speed sends to this purpose equipment.
When this first virtual machine produces this burst flow d (d be less than c), this first Microsoft Loopback Adapter is by the data receiving Bag sent to this virtual switch according to the corresponding data package transmission velocity of this burst flow d so that this virtual switch according to The corresponding data package transmission velocity of this burst flow d sends this packet to this purpose equipment, when this first virtual machine does not have During burst flow, then this first Microsoft Loopback Adapter recovers with the corresponding data package transmission velocity of transmission bandwidth a to this virtual switch Send this packet, this virtual switch recovers to send to this purpose equipment with the corresponding data package transmission velocity of transmission bandwidth a Packet.
In addition, when this first virtual machine produces this burst flow c, this Microsoft Loopback Adapter is by the packet receiving according to this The corresponding data package transmission velocity of upper limit bandwidth b sends to this virtual switch, so that this virtual switch is according to this upper limit band The corresponding data package transmission velocity of wide b sends this packet to this purpose equipment, and in c/ (b-a) after the second, first empty when this When plan machine does not have burst flow, this first Microsoft Loopback Adapter recovers virtual to this with the corresponding data package transmission velocity of transmission bandwidth a Switch sends this packet, and this virtual switch recovers to set to this purpose with the corresponding data package transmission velocity of transmission bandwidth a Preparation send packet.
Specifically, this purpose equipment can be the second virtual machine in this physical machine, then this virtual switch according to this One transmission rate sends this packet to this second virtual machine (such as the path 5 in Fig. 2, shown in path 6 and path 7);This mesh Equipment can also be this physical machine physical network card, then this virtual switch according to this first transmission rate, this packet is sent out Deliver to this physical network card (as shown in the path 8 in Fig. 2 and path 9).
From the above mentioned, when this first virtual machine is to the second virtual machine transmission packet corresponding in physical machine, packet is sent out Send path as shown in the path 1,2,3,4,5,6,7 in Fig. 2;This first virtual machine sends number to the physical network card of corresponding physical machine During according to bag, the path 1 in packet transmitting path such as Fig. 2, shown in 2,3,4,8,9,10, so, this first virtual machine is to purpose Equipment sending data bag all passes through path (the i.e. road in Fig. 2 that this first Microsoft Loopback Adapter sends packet to this virtual switch Footpath 4), thus this first virtual machine of rule control is sent to this purpose equipment according to the packet of configuration in this first Microsoft Loopback Adapter Send the speed of packet.
Further, virtual switch sends this packet to being configured with the second packet according to this first transmission rate Send the physical network card of rule, wherein, this second packet sends the second transmission rate that rule includes packet, so that this thing Reason network interface card sends this packet to external equipment according to this second transmission rate.
Wherein, in above-mentioned physical network card, the second packet transmission rule of configuration can be completed by flow-control module, should Flow-control module can be independently of the module of virtual switch, and specifically, this flow-control module sets to this physical network card Put qos (quality of service, quality of service guarantee) parameter, thus realizing the second data is configured on this physical network card Bag sends rule, then this physical network card sends this packet according to corresponding second transmission rate of this qos parameter to external equipment, Specifically may be referred to the description that above-mentioned first Microsoft Loopback Adapter sends packet according to this first transmission rate to this virtual switch, Here is omitted.
Illustratively, as shown in the path 10 in Fig. 2, this packet is sent by this physical network card according to this second transmission rate To external equipment, this external equipment can be such as another server in network, and this network can be wide area network or local Net.
It should be noted that this flow-control module can also arrange the priority of this first virtual machine, multiple virtual Machine sends packet to this physical network card simultaneously, and when this data packet flow causes the flow congestion of this physical network card, this thing Reason network interface card can be according to the priority distribution bandwidth of each virtual machine, and the high virtual machine of priority can take more bandwidth.
Further, when user needs to cancel the control to this first virtual-machine data packet rate, this virtual switch Receive network interface card and delete instruction, and instruction is deleted according to this network interface card and delete this first Microsoft Loopback Adapter.
Specifically, physical resource free time in the case of or this first virtual machine data package transmission velocity less when, User can issue network interface card to this virtual switch and delete instruction, this virtual switch according to this network interface card delete instruction delete this One Microsoft Loopback Adapter, thus cancel the control of the data package transmission velocity to this first virtual machine, to reduce system power dissipation.
Using said method, virtual switch sets up the first Microsoft Loopback Adapter of the first virtual machine in corresponding physical machine, and This first virtual machine sends after packet to corresponding second Microsoft Loopback Adapter, receives this data of this second Microsoft Loopback Adapter transmission Bag, then this virtual switch this packet is sent to this first Microsoft Loopback Adapter, so, this virtual switch is first virtual by this Machine sends and is converted to this virtual switch to the packet of this second Microsoft Loopback Adapter and sends to the packet of this first Microsoft Loopback Adapter, And, this first Microsoft Loopback Adapter configurable data bag sends rule, this first Microsoft Loopback Adapter is controlled to send to this virtual switch The transmission rate of packet, thus controlling this virtual switch to send this packet to the transmission rate of purpose equipment, prevents This first virtual machine excessive causes this first virtual by the speed that this virtual switch sends data packets to purpose equipment The physical resource that machine takies is excessive, improves Consumer's Experience.
The embodiment of the present invention provides a kind of sending method of packet, as shown in figure 3, the method is with physical machine Second virtual machine is as illustrating in the case of purpose equipment, comprising:
S301, virtual switch receive Microsoft Loopback Adapter foundation instruction, and set up correspondence according to the foundation instruction of this Microsoft Loopback Adapter First Microsoft Loopback Adapter of the first virtual machine in physical machine.
Wherein, this first Microsoft Loopback Adapter is configured with the first packet and sends rule, and this first packet sends rule and includes First transmission rate of packet.
Specifically, after the Microsoft Loopback Adapter that this virtual switch receives user's transmission sets up instruction, according to this virtual net The Microsoft Loopback Adapter that the first virtual machine in corresponding physical machine is set up in instruction set up by card.
It should be noted that when the transmission rate of physical resource deficiency or this first virtual machine is excessive, in order that number According to bag normal transmission, user can issue Microsoft Loopback Adapter to this virtual switch and set up instruction, and this virtual switch is according to this void Intend network interface card and set up the first Microsoft Loopback Adapter that this first virtual machine is set up in instruction, thus the number according to configuration in this first Microsoft Loopback Adapter Send the speed that this first virtual machine of rule control sends packet to purpose equipment according to bag.
Wherein, in above-mentioned first Microsoft Loopback Adapter, the first packet transmission rule of configuration can be complete by flow-control module Become, this flow-control module can be independently of the module of virtual switch, specifically, this flow-control module is to this first void Intend Network card setup qos (quality of service, quality of service guarantee) parameter, thus realizing on this first Microsoft Loopback Adapter Configure the first packet and send rule, this qos parameter includes transmission bandwidth, upper limit bandwidth and burst flow, wherein, this transmission belt The lowest-bandwidth of this packet of transmission of a width of setting is it is ensured that corresponding first virtual machine of this first Microsoft Loopback Adapter sends this number According to the transmission rate of bag, thus ensureing the normal transmission of this packet;This packet of transmission of this width of setting of upper limit band is High bandwidth is it is ensured that in flow larger (the producing burst flow) of this first virtual machine transmission, this first virtual machine sends The transmission rate that this packet sends, thus ensureing the normal transmission of this packet, this upper limit bandwidth is more than or equal to this transmission belt Wide;This burst flow be the transmission of this first virtual machine flow larger when the flow that the transmits and flow based on transmission bandwidth transmission Difference, burst flow is bigger, and the time that this first virtual machine sends packet with this upper limit bandwidth is longer.So, due to sending out The corresponding transmission rate of difference giving the bandwidth of this packet also differs, therefore, by the different transmission belt of qos parameter setting Width, upper limit bandwidth and burst flow can correspond to the first different transmission rates, thus realizing this first virtual machine is passed through to be somebody's turn to do Virtual switch sends the control of the transmission rate of packet to purpose equipment.
S302, this first virtual machine send packet to the second Microsoft Loopback Adapter.
It should be noted that this second Microsoft Loopback Adapter is the rear end Microsoft Loopback Adapter of this first virtual machine, this rear end virtual net When card is that user creates this first virtual machine, to should the first virtual machine together create, then the number that this first virtual machine sends Can be received by this second Microsoft Loopback Adapter according to bag;Wherein, this second Microsoft Loopback Adapter includes transmit queue and receiving queue, above-mentioned stream Amount control module has good effect to the flow-control of this transmit queue, and the flow-control to this receiving queue has relatively Big defect.Because this first virtual machine passes through the packet of this second Microsoft Loopback Adapter transmission without this second Microsoft Loopback Adapter Transmit queue, therefore, in this second Microsoft Loopback Adapter configuration data bag send rule cannot this first virtual machine of effective control Changed planes by this virtual machine and send the transmission rate of packet to purpose equipment.
S303, this virtual switch receive this packet of this second Microsoft Loopback Adapter transmission.
S304, this virtual switch send this packet to this first Microsoft Loopback Adapter.
Illustratively, as shown in Fig. 2 the schematic diagram that sends for packet of described Fig. 2, including virtual switch, first virtual Machine, the rear end Microsoft Loopback Adapter of this first virtual machine, this virtual switch set up to should the first virtual machine the first virtual net The second virtual machine in card and this corresponding physical machine of the first virtual machine, the rear end Microsoft Loopback Adapter of this second virtual machine, also External equipment outside the physical network card of this physical machine and this physical machine.Wherein, the small circle in Fig. 2 is to receive or send data The port of bag, numeral is the path of transmission or receiving data bag.Then this second Microsoft Loopback Adapter receives the transmission of this first virtual machine As shown in the path 1 in Fig. 2, path 2 then represents that this virtual switch receives this number of this second Microsoft Loopback Adapter transmission to packet According to bag.
Illustratively, this virtual switch, after the packet receiving the transmission of this second Microsoft Loopback Adapter, this packet is turned It is sent to this first Microsoft Loopback Adapter, as shown in the path 3 in Fig. 2.
S305, this virtual switch receive this packet that this first Microsoft Loopback Adapter sends according to the first transmission rate.
It should be noted that this first Microsoft Loopback Adapter sends passes through this first virtual net to the packet of this virtual switch The transmit queue of card, then this first packet of this first Microsoft Loopback Adapter configuration send that rule can this be first virtual with effective control Network interface card sends the transmission rate of packet to this virtual switch.
As shown in the path 4 in Fig. 2, illustratively, this flow-control module is that the qos parameter that this Microsoft Loopback Adapter is arranged includes Transmission bandwidth, upper limit bandwidth and burst flow, remember that this transmission bandwidth is transmission bandwidth a, remember this upper limit band a width of upper limit bandwidth b, Remember that this burst flow is burst flow c, wherein, this burst flow c is the higher limit of this first virtual machine burst flow of setting, Then this first Microsoft Loopback Adapter sends this packet according to corresponding first transmission rate of this qos parameter to this virtual switch, its In, when this first virtual machine does not have burst flow, this first Microsoft Loopback Adapter is by the packet receiving according to this transmission bandwidth a Corresponding data package transmission velocity sends to this virtual switch.
When this first virtual machine produces this burst flow d (d be less than c), this first Microsoft Loopback Adapter is by the data receiving Bag sends to this virtual switch according to the corresponding data package transmission velocity of this burst flow d, when this first virtual machine is not dashed forward When sending out flow, then this first Microsoft Loopback Adapter recovers to send out to this virtual switch with the corresponding data package transmission velocity of transmission bandwidth a Give this packet.
In addition, when this first virtual machine produces this burst flow c, this Microsoft Loopback Adapter is by the packet receiving according to this The corresponding data package transmission velocity of upper limit bandwidth b sends to this virtual switch, and in c/ (b-a) after the second, first virtual when this When machine does not have burst flow, this first Microsoft Loopback Adapter recovers with the corresponding data package transmission velocity of transmission bandwidth a to this virtual friendship Change planes and send this packet.
S306, this virtual switch send this packet to the second virtual machine according to this first transmission rate.
Illustratively, when this first virtual machine is to the second virtual machine transmission packet corresponding in physical machine, packet sends Path 1 in path such as Fig. 2, shown in 2,3,4,5,6,7, so, this virtual machine sends packet to this second virtual machine and passes through This first Microsoft Loopback Adapter sends the path (i.e. path 4 in Fig. 2) of packet to this virtual switch, thus according to this first void The packet intending configuration in network interface card sends the speed that this first virtual machine of rule control sends packet to this purpose equipment.
When user needs to cancel the control to this first virtual-machine data packet rate, execute s307 step.
S307, this virtual switch receive deletes network interface card instruction, and deleting instruction according to this network interface card, to delete this first virtual Network interface card.
Further, when user needs to cancel the control to this first virtual-machine data packet rate, this virtual switch Receive network interface card and delete instruction, and instruction is deleted according to this network interface card and delete this first Microsoft Loopback Adapter.
Specifically, physical resource free time in the case of or this first virtual machine data package transmission velocity less when, User can issue network interface card to this virtual switch and delete instruction, this virtual switch according to this network interface card delete instruction delete this One Microsoft Loopback Adapter, thus cancel the control of the data package transmission velocity to this first virtual machine, to reduce system power dissipation.
So, this first virtual machine is sent and is converted to this void to the packet of this second Microsoft Loopback Adapter by this virtual switch Intend switch to send to the packet of this first Microsoft Loopback Adapter, and, this first Microsoft Loopback Adapter configurable data bag send rule, Thus controlling this first Microsoft Loopback Adapter to send the transmission rate of packet to this virtual switch.This virtual switch is according to this Transmission rate sends to the second virtual machine this packet it is achieved that sending out to the packet of this second virtual machine to this first virtual machine The control of transmission rate.
It should be noted that for said method embodiment, in order to be briefly described, therefore it is all expressed as a series of dynamic Combine, but those skilled in the art should know, the present invention is not limited by described sequence of movement, secondly, this Skilled person also should know, embodiment described in this description belongs to preferred embodiment, involved action and Necessary to the module not necessarily present invention.
The embodiment of the present invention provides a kind of virtual switch 40, as shown in Figure 4, comprising:
Processing unit 41, for setting up the first Microsoft Loopback Adapter of the first virtual machine in corresponding physical machine.
Wherein, it is configured with the first packet in this first Microsoft Loopback Adapter and sends rule, this first packet sends rule bag Include the first transmission rate of packet.
Receiving unit 42, sends for receiving this first virtual machine in corresponding second Microsoft Loopback Adapter of this first virtual machine Packet after, receive this second Microsoft Loopback Adapter transmission this packet.
Transmitting element 43, this packet for receiving this receiving unit 42 sends to this first Microsoft Loopback Adapter.
This receiving unit 42 is additionally operable to, and receives this packet of this transmitting element 43 transmission in this first Microsoft Loopback Adapter Afterwards, receive this packet that this first Microsoft Loopback Adapter sends according to this first transmission rate.
This transmitting element 43 is additionally operable to, and receives this first Microsoft Loopback Adapter according to this first transmission speed in this receiving unit 42 After this packet that rate sends, this packet is sent to purpose equipment according to this first transmission rate.
Specifically, this receiving unit 42 is additionally operable to, and the Microsoft Loopback Adapter that receive user sends sets up instruction.
Wherein, this Microsoft Loopback Adapter sets up instruction is that user exceedes default threshold in determination this first virtual machine occupancy physical resource Send during value.
This processing unit 41 is additionally operable to, and sets up instruction according to the Microsoft Loopback Adapter that this receiving unit receives and sets up corresponding physical machine In the first virtual machine the first Microsoft Loopback Adapter.
It should be noted that when the transmission rate of physical resource deficiency or this first virtual machine is excessive, in order that number According to bag normal transmission, user can issue Microsoft Loopback Adapter to this virtual switch and set up instruction, and this virtual switch is according to this void Intend network interface card and set up the first Microsoft Loopback Adapter that this first virtual machine is set up in instruction, thus the number according to configuration in this first Microsoft Loopback Adapter Send the speed that this first virtual machine of rule control sends packet to purpose equipment according to bag.
Wherein, in above-mentioned first Microsoft Loopback Adapter, the first packet transmission rule of configuration can be complete by flow-control module Become, this flow-control module can be independently of the module of virtual switch, specifically, this flow-control module is to this first void Intend Network card setup qos (quality of service, quality of service guarantee) parameter, thus realizing on this first Microsoft Loopback Adapter Configure the first packet and send rule, this qos parameter includes transmission bandwidth, upper limit bandwidth and burst flow, wherein, this transmission belt The lowest-bandwidth of this packet of transmission of a width of setting is it is ensured that corresponding first virtual machine of this first Microsoft Loopback Adapter sends this number According to the transmission rate of bag, thus ensureing the normal transmission of this packet;This packet of transmission of this width of setting of upper limit band is High bandwidth is it is ensured that in flow larger (the producing burst flow) of this first virtual machine transmission, this first virtual machine sends The transmission rate that this packet sends, thus ensureing the normal transmission of this packet, this upper limit bandwidth is more than or equal to this transmission belt Wide;This burst flow be the transmission of this first virtual machine flow larger when the flow that the transmits and flow based on transmission bandwidth transmission Difference, burst flow is bigger, and the time that this first virtual machine sends packet with this upper limit bandwidth is longer.So, due to sending out The corresponding transmission rate of difference giving the bandwidth of this packet also differs, therefore, by the different transmission belt of qos parameter setting Width, upper limit bandwidth and burst flow can correspond to the first different transmission rates, thus realizing this first virtual machine is passed through to be somebody's turn to do Virtual switch sends the control of the transmission rate of packet to purpose equipment.
Specifically, this virtual switch is receiving the packet that this first virtual machine is sent by this second Microsoft Loopback Adapter Afterwards, this packet is sent to this first Microsoft Loopback Adapter, and receiving this first Microsoft Loopback Adapter according to this first transmission rate This packet sending, and this packet is sent to purpose equipment according to this first transmission rate.
Illustratively, this flow-control module is that the qos parameter of this Microsoft Loopback Adapter setting includes transmission bandwidth, upper limit bandwidth and Burst flow, remembers that this transmission bandwidth is transmission bandwidth a, remembers this upper limit band a width of upper limit bandwidth b, remembers that this burst flow is burst flow Amount c, wherein, this burst flow c be setting this first virtual machine burst flow higher limit, then this first Microsoft Loopback Adapter according to Corresponding first transmission rate of this qos parameter sends this packet to this virtual switch, this virtual switch according to this first Transmission rate sends this packet to purpose equipment, and wherein, when this first virtual machine does not have burst flow, this is first virtual The packet receiving is sent to this virtual switch by network interface card according to the corresponding data package transmission velocity of this transmission bandwidth a, with Just this packet is sent to this purpose equipment by this virtual switch according to the corresponding data package transmission velocity of this transmission bandwidth a.
When this first virtual machine produces this burst flow d (d be less than c), this first Microsoft Loopback Adapter is by the data receiving Bag sent to this virtual switch according to the corresponding data package transmission velocity of this burst flow d so that this virtual switch according to The corresponding data package transmission velocity of this burst flow d sends this packet to this purpose equipment, when this first virtual machine does not have During burst flow, then this first Microsoft Loopback Adapter recovers with the corresponding data package transmission velocity of transmission bandwidth a to this virtual switch Send this packet, this virtual switch recovers to send to this purpose equipment with the corresponding data package transmission velocity of transmission bandwidth a Packet.
In addition, when this first virtual machine produces this burst flow c, this Microsoft Loopback Adapter is by the packet receiving according to this The corresponding data package transmission velocity of upper limit bandwidth b sends to this virtual switch, so that this virtual switch is according to this upper limit band The corresponding data package transmission velocity of wide b sends this packet to this purpose equipment, and in c/ (b-a) after the second, first empty when this When plan machine does not have burst flow, this first Microsoft Loopback Adapter recovers virtual to this with the corresponding data package transmission velocity of transmission bandwidth a Switch sends this packet, and this virtual switch recovers to set to this purpose with the corresponding data package transmission velocity of transmission bandwidth a Preparation send packet.
Further, this transmitting element 43 is specifically for sending this packet to physics according to this first transmission rate Network interface card, or this packet is sent by the second virtual machine to this physical machine according to this first transmission rate.
From the foregoing, it will be observed that this first virtual machine to this second virtual machine or this physical network card send packet all pass through this One Microsoft Loopback Adapter sends the path of packet to this virtual switch, thus this virtual switch can be according to this first virtual net In card, the packet of configuration sends the speed that this first virtual machine of rule control sends packet to purpose equipment.
Specifically, this transmitting element 43 is specifically for this packet is sent by the first transmission rate according to this packet Send regular physical network card to being configured with the second packet.
Wherein, this second packet send rule include packet the second transmission rate so that this physical network card according to This second transmission rate sends this packet to external equipment.This external equipment can be as another service in network Device, this network can be wide area network or LAN.
In addition, the second packet transmission rule of configuration can be completed by flow-control module in above-mentioned physical network card, should Flow-control module can be independently of the module of virtual switch, and specifically, this flow-control module sets to this physical network card Put qos (quality of service, quality of service guarantee) parameter, thus realizing the second data is configured on this physical network card Bag sends rule, then this physical network card sends this packet according to corresponding second transmission rate of this qos parameter to external equipment, Specifically may be referred to the description that above-mentioned first Microsoft Loopback Adapter sends packet according to this first transmission rate to this virtual switch, Here is omitted.
It should be noted that this flow-control module can also arrange the priority of this first virtual machine, multiple virtual Machine sends packet to this physical network card simultaneously, and when this data packet flow causes the flow congestion of this physical network card, this thing Reason network interface card can be according to the priority distribution bandwidth of each virtual machine, and the high virtual machine of priority can take more bandwidth.
Alternatively, this receiving unit 42 is additionally operable to, and the network interface card that receive user sends deletes instruction.
This processing unit 41 is additionally operable to, and deletes instruction according to this network interface card and deletes this first Microsoft Loopback Adapter.
Specifically, physical resource free time in the case of or this first virtual machine data package transmission velocity less when, User can issue network interface card to this virtual switch and delete instruction, this virtual switch according to this network interface card delete instruction delete this One Microsoft Loopback Adapter, thus cancel the control of the data package transmission velocity to this first virtual machine, to reduce system power dissipation.
Using above-mentioned virtual switch, this virtual switch sets up the first virtual net of the first virtual machine in corresponding physical machine Card, and after this first virtual machine sends packet to corresponding second Microsoft Loopback Adapter, receive the transmission of this second Microsoft Loopback Adapter This packet, then this virtual switch this packet is sent to this first Microsoft Loopback Adapter, so, this virtual switch by this One virtual machine sends and is converted to this virtual switch to the packet of this second Microsoft Loopback Adapter and sends to this first Microsoft Loopback Adapter Packet, and, this first Microsoft Loopback Adapter configurable data bag sends rule, controls this first Microsoft Loopback Adapter to this virtual switch Machine sends the transmission rate of packet, thus controlling this virtual switch to send this packet to the transmission speed of purpose equipment Rate it is therefore prevented that this first virtual machine by this virtual switch send data packets to purpose equipment speed excessive cause this The physical resource that one virtual machine takies is excessive, improves Consumer's Experience.
The embodiment of the present invention provides a kind of virtual switch 50, as shown in figure 5, this virtual switch 50 includes:
Processor 51, communication interface 52, memorizer 53 and communication bus 54;Wherein, described processor 51, described communication connect Mouth 52 and described memorizer 53 complete mutual communication by described communication bus 54.This communication bus 54 can be isa (industry standard architecture, industry standard architecture) bus, pci(peripheral Component, external equipment interconnection) bus or eisa(extended industry standard architecture, expand Exhibition industry standard architecture) bus etc..Described bus can be one or more physical circuit, when being a plurality of physical circuit Address bus, data/address bus, controlling bus etc. can be divided into.
Processor 51 is probably a multi-core central processing unit cpu, or specific integrated circuit asic (application specific integrated circuit), or be arranged to implement the one of the embodiment of the present invention Individual or multiple integrated circuits.
Memorizer 53 is used for store program codes and related data, and described program code includes operating system instruction and applies Programmed instruction.Memorizer 53 may comprise high speed ram memorizer it is also possible to also include nonvolatile memory (non- Volatile memory), for example, at least one disk memory.
Communication interface 52 is used for the communication between this virtual switch 50 and miscellaneous equipment.
Processor 51 executes the program code of storage in memorizer 53, for setting up the first virtual machine in corresponding physical machine First Microsoft Loopback Adapter, receives the packet of this first virtual machine transmission in corresponding second Microsoft Loopback Adapter of this first virtual machine Afterwards, receive this packet of this second Microsoft Loopback Adapter transmission, and this packet is sent to this first Microsoft Loopback Adapter, virtual at this Switch receives this packet that this first Microsoft Loopback Adapter sends according to this first transmission rate, by this packet according to this One transmission rate sends to purpose equipment.
Wherein, it is configured with the first packet in this Microsoft Loopback Adapter and sends rule, this first packet sends rule and includes number The first transmission rate according to bag.
It should be noted that, the physical machine that the physical machine described in the embodiment of the present invention can be located for virtual swap device 50. Two or more virtual machines are comprised on this physical machine.
Alternatively, this processor 51 is additionally operable to, and the Microsoft Loopback Adapter that receive user sends sets up instruction, and according to this virtual net Card is set up instruction and is set up this first Microsoft Loopback Adapter.
Wherein, this Microsoft Loopback Adapter sets up instruction is that user exceedes default threshold in determination this first virtual machine occupancy physical resource Send during value.
Alternatively, this processor 51 is additionally operable to, and is sent this packet to this physical machine according to this first transmission rate Physical network card, or, this packet is sent by the second virtual machine to this physical machine according to this first transmission rate.
Alternatively, this processor 51 is additionally operable to, and the first transmission rate according to this packet sends this packet to joining It is equipped with the physical network card that the second packet sends rule, so that this packet is sent by this physical network card according to the second transmission rate To external equipment.
Wherein, this second packet sends the second transmission rate that rule includes packet.
Alternatively, this processor 51 is additionally operable to, and the network interface card that receive user sends deletes instruction, and is referred to according to the deletion of this network interface card This first Microsoft Loopback Adapter is deleted in order.
It should be noted that, device embodiment described above is only schematically, wherein said as separating component The unit illustrating can be or may not be physically separate, as the part that unit shows can be or can also It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to actual Need to select the purpose to realize this embodiment scheme for some or all of module therein.In addition, the device that the present invention provides In embodiment accompanying drawing, the annexation between module represents there is communication connection between them, specifically can be implemented as one or A plurality of communication bus or holding wire.Those of ordinary skill in the art are not in the case of paying creative work, you can to understand And implement.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can borrow Software is helped to add the mode of necessary common hardware to realize naturally it is also possible to include special IC, specially by specialized hardware To be realized with cpu, private memory, special components and parts etc..Generally, all functions of being completed by computer program can Easily realized with corresponding hardware, and, the particular hardware structure for realizing same function can also be multiple many Sample, such as analog circuit, digital circuit or special circuit etc..But, more for the purpose of the present invention in the case of software program real It is now more preferably embodiment.Based on such understanding, technical scheme is substantially made to prior art in other words That contributes partly can be embodied in the form of software product, and this computer software product is stored in the storage medium that can read In, as the floppy disk of computer, u disk, portable hard drive, read only memory (rom, read-only memory), random access memory Device (ram, random access memory), magnetic disc or CD etc., including some instructions with so that a computer sets Standby (can be personal computer, server, or network equipment etc.) executes the method described in each embodiment of the present invention.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art the invention discloses technical scope in, the change or replacement that can readily occur in, all answer It is included within the scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (10)

1. a kind of method that packet sends is it is characterised in that include:
Virtual switch sets up the first Microsoft Loopback Adapter of the first virtual machine in corresponding physical machine, wherein, described first Microsoft Loopback Adapter It is configured with the first packet and sends rule, described first packet sends the first transmission rate that rule includes packet;
After corresponding second Microsoft Loopback Adapter of described first virtual machine receives the packet that described first virtual machine sends, described Virtual switch receives the described packet that described second Microsoft Loopback Adapter sends;
Described virtual switch sends described packet to described first Microsoft Loopback Adapter;
Described virtual switch receives the described packet that described first Microsoft Loopback Adapter sends according to described first transmission rate, and Described packet is sent to purpose equipment according to described first transmission rate.
2. method according to claim 1 is it is characterised in that set up first in corresponding physical machine in described virtual switch Before first Microsoft Loopback Adapter of virtual machine, methods described also includes:
The Microsoft Loopback Adapter that described virtual switch receive user sends sets up instruction, and wherein, described Microsoft Loopback Adapter is set up instruction and is User is determining what described first virtual machine occupancy physical resource sent when exceeding predetermined threshold value;
Described virtual switch sets up the first Microsoft Loopback Adapter of the first virtual machine in corresponding physical machine, comprising:
Described virtual switch is set up instruction according to described Microsoft Loopback Adapter and is set up described first Microsoft Loopback Adapter.
3. method according to claim 1 it is characterised in that described virtual switch by described packet according to described One transmission rate sends to purpose equipment, comprising:
Described packet is sent to the physical network card of described physical machine by described virtual switch according to described first transmission rate; Or,
Described packet is sent the second void to described physical machine according to described first transmission rate by described virtual switch Plan machine.
4. method according to claim 3 will be it is characterised in that described virtual switch will according to described first transmission rate Described packet sends to the physical network card of described physical machine, comprising:
Described virtual switch according to described first transmission rate by described packet send to be configured with second packet send The physical network card of rule, wherein, described second packet sends the second transmission rate that rule includes packet, so that described thing Reason network interface card sends described packet to external equipment according to described second transmission rate.
5. the method according to any one of Claims 1-4 is it is characterised in that methods described also includes:
The network interface card that receive user sends deletes instruction;
Instruction is deleted according to described network interface card and deletes described first Microsoft Loopback Adapter.
6. a kind of virtual switch is it is characterised in that include:
Processing unit, for setting up the first Microsoft Loopback Adapter of the first virtual machine in corresponding physical machine, wherein, described first virtual net Card is configured with the first packet and sends rule, and described first packet sends the first transmission rate that rule includes packet;
Receiving unit, for receiving what described first virtual machine sent in corresponding second Microsoft Loopback Adapter of described first virtual machine After packet, receive the described packet that described second Microsoft Loopback Adapter sends;
Transmitting element, the described packet for receiving described receiving unit sends to described first Microsoft Loopback Adapter;
Described receiving unit is additionally operable to, and receives, in described first Microsoft Loopback Adapter, the described packet that described transmitting element sends Afterwards, receive the described packet that described first Microsoft Loopback Adapter sends according to described first transmission rate;
Described transmitting element is additionally operable to, and receives described first Microsoft Loopback Adapter in described receiving unit and sends speed according to described first After the described packet that rate sends, described packet is sent to purpose equipment according to described first transmission rate.
7. virtual switch according to claim 6 it is characterised in that
Described receiving unit is specifically for the Microsoft Loopback Adapter that receive user sends sets up instruction, and wherein, described Microsoft Loopback Adapter is set up Instruct and determining what described first virtual machine occupancy physical resource sent when exceeding predetermined threshold value for user;
Described processing unit is specifically for setting up instruction according to described Microsoft Loopback Adapter and setting up described first Microsoft Loopback Adapter.
8. virtual switch according to claim 6 it is characterised in that described transmitting element specifically for:
According to described first transmission rate, described packet is sent to physical network card;Or,
Described packet is sent by the second virtual machine to described physical machine according to described first transmission rate.
9. virtual switch according to claim 8 it is characterised in that described transmitting element specifically for:
The first transmission rate according to described packet by described packet send to be configured with second packet send rule Physical network card, wherein, described second packet sends the second transmission rate that rule includes packet, so that described physical network card According to described second transmission rate, described packet is sent to external equipment.
10. the virtual switch according to any one of claim 6 to 9 is it is characterised in that described receiving unit is additionally operable to, The network interface card that receive user sends deletes instruction;
Described processing unit is additionally operable to, and deletes instruction according to described network interface card and deletes described first Microsoft Loopback Adapter.
CN201310526766.9A 2013-10-30 2013-10-30 Method and device for sending data package Expired - Fee Related CN103581042B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310526766.9A CN103581042B (en) 2013-10-30 2013-10-30 Method and device for sending data package

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310526766.9A CN103581042B (en) 2013-10-30 2013-10-30 Method and device for sending data package

Publications (2)

Publication Number Publication Date
CN103581042A CN103581042A (en) 2014-02-12
CN103581042B true CN103581042B (en) 2017-01-18

Family

ID=50052003

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310526766.9A Expired - Fee Related CN103581042B (en) 2013-10-30 2013-10-30 Method and device for sending data package

Country Status (1)

Country Link
CN (1) CN103581042B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101014A (en) * 2016-06-03 2016-11-09 广东睿江云计算股份有限公司 A kind of cloud main-machine communication queue support method based on QoS and system
CN106101013B (en) * 2016-06-03 2019-05-21 广东睿江云计算股份有限公司 A kind of cloud main-machine communication queue ensuring method and system based on QoS
CN108964959B (en) * 2017-05-27 2022-02-25 阿里巴巴集团控股有限公司 Network card direct connection system for virtualization platform and data packet supervision method
CN107222349B (en) * 2017-06-23 2021-09-10 北京三快在线科技有限公司 Method and device for configuring network card rate of virtual machine, computer equipment and storage medium
CN107317710A (en) * 2017-06-30 2017-11-03 郑州云海信息技术有限公司 A kind of method and apparatus for carrying out QoS configurations to Microsoft Loopback Adapter based on SDN
CN107368178A (en) * 2017-08-21 2017-11-21 湖南大学 Power consumption optimization method based on DPDK processing data packets platforms
CN111224897A (en) * 2018-11-23 2020-06-02 北京金山云网络技术有限公司 Flow forwarding method and device, switch equipment and intelligent network card
CN109922003B (en) * 2019-03-22 2022-12-30 苏州浪潮智能科技有限公司 Data sending method, system and related components
CN113765816B (en) * 2021-08-02 2023-12-15 阿里巴巴新加坡控股有限公司 Flow control method, system, equipment and medium based on service grid
CN114697242A (en) * 2022-03-21 2022-07-01 浪潮云信息技术股份公司 Client virtual network card flow management method and system under government affair cloud scene

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163051A (en) * 2006-10-13 2008-04-16 鸿富锦精密工业(深圳)有限公司 Network card transmission speed testing system and method
CN101459618A (en) * 2009-01-06 2009-06-17 北京航空航天大学 Data packet forwarding method and device for virtual machine network
CN103139039A (en) * 2013-02-25 2013-06-05 汉柏科技有限公司 Virtual network capable of achieving flow isolation control and construction method
CN103248700A (en) * 2013-05-16 2013-08-14 成都国腾实业集团有限公司 Method for limiting speeds of internal and external networks of virtual machine on cloud platform in different levels

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9407550B2 (en) * 2008-11-24 2016-08-02 Avago Technologies General Ip (Singapore) Pte. Ltd. Method and system for controlling traffic over a computer network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163051A (en) * 2006-10-13 2008-04-16 鸿富锦精密工业(深圳)有限公司 Network card transmission speed testing system and method
CN101459618A (en) * 2009-01-06 2009-06-17 北京航空航天大学 Data packet forwarding method and device for virtual machine network
CN103139039A (en) * 2013-02-25 2013-06-05 汉柏科技有限公司 Virtual network capable of achieving flow isolation control and construction method
CN103248700A (en) * 2013-05-16 2013-08-14 成都国腾实业集团有限公司 Method for limiting speeds of internal and external networks of virtual machine on cloud platform in different levels

Also Published As

Publication number Publication date
CN103581042A (en) 2014-02-12

Similar Documents

Publication Publication Date Title
CN103581042B (en) Method and device for sending data package
CN104243265B (en) A kind of gateway control method, apparatus and system based on virtual machine (vm) migration
EP3116177B1 (en) Service implementation method for nfv system, and communications unit
CN106375142B (en) The test method and device of application program
CN104954274B (en) Generate method, controller and the business Delivery Function of forwarding information
CN102334112B (en) Method and system for virtual machine networking
CN104519458B (en) A kind of method of network connection, terminal, wireless router and system
CN105144110A (en) Automatic configuration of external services based upon network activity
CN109088820B (en) Cross-device link aggregation method and device, computing device and storage medium
CN102088404B (en) Method for limiting speed of network card in Xen virtual machine
CN103238301A (en) Technique for managing traffic at router
CN106453126A (en) Virtual machine traffic control method and device
CN103634235A (en) Method for limiting speed of network interface of virtual machine
CN102420776A (en) Method and system for dynamically regulating portal resource allocation threshold value
CN106357542A (en) Method for providing multicast service and software defined network controller
CN108616449A (en) Data transmission method, device, equipment and medium
CN106412039A (en) Distributed storage network integration method and system
CN106657279A (en) Network business speeding-up method and device
CN110417687A (en) A kind of message sends and receives method and device
CN106791679A (en) A kind of determination method and device of video transmission path
CN104283741B (en) The method and device of the accurate big stream aging of detection
CN103260197A (en) Bandwidth control method, device and equipment
CN103747040A (en) Node distribution method and control center
CN106708761A (en) Service message processing method and device
Buzhin et al. Evaluation of Telecommunication Equipment Delays in Software-Defined Networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170118

Termination date: 20181030

CF01 Termination of patent right due to non-payment of annual fee