CN101867511A - Pause frame sending method, associated equipment and system - Google Patents

Pause frame sending method, associated equipment and system Download PDF

Info

Publication number
CN101867511A
CN101867511A CN200910135520A CN200910135520A CN101867511A CN 101867511 A CN101867511 A CN 101867511A CN 200910135520 A CN200910135520 A CN 200910135520A CN 200910135520 A CN200910135520 A CN 200910135520A CN 101867511 A CN101867511 A CN 101867511A
Authority
CN
China
Prior art keywords
frame
port
bridge
formation
flow control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN200910135520A
Other languages
Chinese (zh)
Other versions
CN101867511B (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.)
Global Innovation Polymerization LLC
Gw Partnership 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 CN2009101355202A priority Critical patent/CN101867511B/en
Publication of CN101867511A publication Critical patent/CN101867511A/en
Application granted granted Critical
Publication of CN101867511B publication Critical patent/CN101867511B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a pause frame sending method, associated equipment and a system. The pause frame sending method comprises: whether the amount of a data frame cached in the first queue corresponding to a first port in a network bridge exceeds a first fluid control threshold is judged; the first port is the connection port of the network bridge and a server, and the cached data frame in the first queue is the data frame of which both the inlet port and an outlet port of the network bridge are the first port; when the amount of the data frame of the first queue exceeds the first fluid control threshold, the first pause frame is generated and is used for indicating to stop sending cache to the data frame of the first queue; and the first port sends the first pause frame to the server. The technical scheme provided by the embodiment of the invention can ensure that a virtual machine causing jam stops sending data when receiving the pause frame.

Description

Pause frame sending method, relevant device and system
Technical field
The present invention relates to communication technical field, particularly a kind of pause frame sending method, relevant device and system.
Background technology
Server (Server) is by physical network card (Network Interface Card, NIC) be connected with external bridge (Bridge), outside Bridge is in the port maintenance one set of queues group that receives and send data, comprise formation in this set of queues corresponding to each priority, if it is congested that certain priority query takes place, to the Flow Control frame (PFC frame) of other ports transmissions except this port based on priority, the port that receives this PFC frame will stop to send the data of this priority, to solve congestion problems.
The method of above-mentioned solution congestion problems is applicable to that server (Server) is by transmitting data between external bridge (Bridge) and other equipment.But in virtual ethernet bridge technology, in each server (Server) a plurality of virtual machines (Virtual Machine can be arranged, VM), a plurality of virtual machines are by Microsoft Loopback Adapter (Virtual Network Interface Card, VNIC) be connected to physical network card NIC, be connected with external bridge (Bridge) by NIC, can communicate by outside Bridge between the different virtual machine.
The inventor finds that prior art has following shortcoming in realizing process of the present invention:
Because externally the formation in the set of queues of port that should Server being safeguarded among the Bridge takes place when congested, can send the PFC frame to other ports except this port, like this, cause virtual machine among the congested Server not receive the PFC frame and can continue to send the data of this priority, cause congested can't the solution, therefore the congested method of solution of using prior art to provide can't solve and transmit the congestion problems that data caused in the Server between different virtual machine.
Summary of the invention
The embodiment of the invention provides a kind of pause frame sending method, relevant device and system, can guarantee to cause congested virtual machine to receive the Flow Control frame and stop to send data.
In view of this, the embodiment of the invention provides:
A kind of pause frame sending method comprises:
Judge whether the data in buffer number of frames surpasses the first-class control thresholding in first formation of corresponding first port in the bridge; Described first port is the port that described bridge is connected with server; The data in buffer frame is that inbound port and outbound port at described bridge all are the Frame of described first port in described first formation;
When the described first formation data in buffer number of frames surpasses the first-class control thresholding, generate the first-class control frame, described first-class control frame is used to indicate and stops to send the Frame that should be cached to described first formation;
Send described first-class control frame by described first port to described server.
A kind of pause frame sending method comprises:
Judge whether the data in buffer number of frames surpasses the Flow Control thresholding in the formation of corresponding first port in the bridge, if, generating the Flow Control frame, described Flow Control frame is used to indicate and stops to send the Frame that should be cached to described formation;
All of the port by described bridge sends described Flow Control frame.
A kind of bridge comprises:
First judging unit is used for judging whether the data in buffer number of frames surpasses the first-class control thresholding in first formation of corresponding first port of described bridge; Described first port is the port that described bridge is connected with server; The data in buffer frame is that inbound port and outbound port at described bridge all are the Frame of described first port in described first formation;
Flow Control frame generation unit is used for generating the first-class control frame when the first formation data in buffer number of frames surpasses the first-class control thresholding, and described first-class control frame is used to indicate and stops to send the Frame that should be cached to described first formation;
First transmitting element is used for sending described first-class control frame by described first port to described server.
A kind of bridge comprises:
Judging unit is used for judging whether the data in buffer number of frames surpasses the Flow Control thresholding in the formation of corresponding first port of described bridge;
Flow Control frame generation unit, be used for when the judged result of described judging unit when being, generate the Flow Control frame, described Flow Control frame is used to indicate and stops to send the data that should be cached to described formation;
Transmitting element is used for sending described Flow Control frame by all of the port of described bridge.
A kind of network system comprises: server, the bridge that is connected with described server,
Described bridge is used for judging whether the data in buffer number of frames surpasses the first-class control thresholding in first formation of corresponding first port of bridge; Described first port is the port that described bridge is connected with server; The data in buffer frame is that inbound port and outbound port at described bridge all are the Frame of described first port in described first formation; When the described first formation data in buffer number of frames surpasses the first-class control thresholding, generate the first-class control frame, described first-class control frame is used to indicate and stops to send the Frame that should be cached to described first formation; Send described first-class control frame by described first port to described server;
Described server is used to receive described first-class control frame, stops to send the Frame that should be cached to described first formation.
A kind of network system comprises: server, the bridge that is connected with server,
Described bridge is used for judging whether the data in buffer number of frames surpasses the Flow Control thresholding in the formation of corresponding first port of bridge, if, generating the Flow Control frame, described Flow Control frame is used to indicate and stops to send the Frame that should be cached to described formation; All of the port by described bridge sends described Flow Control frame;
Described server is used to receive described Flow Control frame, stops to send the Frame that should be cached to described formation.
When the data in buffer number of frames surpasses the first-class control thresholding in first formation of one embodiment of the invention corresponding first port in bridge, send the Flow Control frame by first port to server, the indication server stops to send the Frame that should be cached to this formation, make to stop to send Frame after causing congested virtual machine to receive this Flow Control frame, thereby remove congested.
When the data in buffer number of frames surpasses the Flow Control thresholding in the formation of another embodiment of the present invention corresponding first port in bridge, all of the port by bridge sends the Flow Control frame, the all devices that indication is connected with this bridge all stops to send the Frame that should be cached in this formation, thereby removes congested.
Description of drawings
The pause frame sending method flow chart that Fig. 1 provides for the embodiment of the invention one;
Fig. 2 is the pause frame sending method flow chart that the embodiment of the invention two provides;
Fig. 3 is that the Flow Control frame that the embodiment of the invention two provides sends schematic diagram;
Fig. 4 is the flow chart of the step 201 that provides of the embodiment of the invention two;
Fig. 5 is the flow chart of the step 202 that provides of the embodiment of the invention two;
Fig. 6 is the flow chart of the step 203 that provides of the embodiment of the invention two;
Fig. 7 is the pause frame sending method flow chart that the embodiment of the invention three provides;
Fig. 8 is that the Flow Control frame that the embodiment of the invention three provides sends schematic diagram;
Fig. 9 is the bridge structure chart that the embodiment of the invention four provides;
Figure 10 is the bridge structure chart that the embodiment of the invention five provides;
Figure 11 is the bridge structure chart that the embodiment of the invention six provides.
Embodiment
Embodiment one:
Consult Fig. 1, the embodiment of the invention one provides a kind of pause frame sending method, and it comprises:
101, judge whether the data in buffer number of frames surpasses the first-class control thresholding in first formation of corresponding first port in the bridge; Described first port is the port that described bridge is connected with server; The data in buffer frame is that inbound port and outbound port at described bridge all are the Frame of described first port in described first formation;
102, when the described first formation data in buffer number of frames surpasses the first-class control thresholding, generate the first-class control frame, described first-class control frame is used to indicate and stops to send the Frame that should be cached to described first formation;
103, send described first-class control frame by described first port to described server.
Wherein, first formation is the formation in the loopback set of queues of the first port correspondence in the subsequent embodiment two.
When the data in buffer number of frames surpasses the first-class control thresholding in first formation of the embodiment of the invention one corresponding first port in bridge, send the Flow Control frame by first port to server, the indication server stops to send the Frame that should be cached to this formation, make to stop to send Frame after causing congested virtual machine to receive this Flow Control frame, thereby remove congested.
Embodiment two:
Consult Fig. 2-Fig. 6, the embodiment of the invention two provides a kind of pause frame sending method, wherein, and the method flow diagram that the Flow Control frame that Fig. 2 provides for the embodiment of the invention two sends, Fig. 3 sends schematic diagram for the Flow Control frame that the embodiment of the invention two provides, and pause frame sending method specifically comprises:
201, bridge receives Frame from server (such as Server1) by first port, according to the outbound port of this Frame at bridge, this Frame is deposited in the outbound port corresponding queues group of the loopback set of queues of corresponding first port or this Frame.
202, whether the number of data frames of judging formation in the loopback set of queues of corresponding first port reaches the first-class control thresholding, and according to judged result, control PFC frame sends.
203, whether the number of data frames of judging formation (i.e. second formation) in the non-loopback set of queues of corresponding first port reaches the second Flow Control thresholding, and according to judged result, control PFC frame sends.
Consult Fig. 4, step 201 specifically comprises:
401, bridge is by the Frame of first port reception from Server1.
Frame from Server1 in this step is media interviews control (the MediaAccess Control that has priority tag and target network element that certain virtual machine among the Server1 sends, MAC) Frame of address, what suppose reception is the Frame that virtual machine 2 sends.
402, judge whether this Frame is first port at the outbound port of bridge, if carry out 403; If not, carry out 404.
In this step according to the MAC Address of the target network element in the Frame, in the mapping table of MAC Address that prestores and outbound port, search the outbound port of this Frame at bridge, if the MAC Address of target network element is the MAC Address of virtual machine among the Server1, then this Frame is still first port at the outbound port of bridge; If the MAC Address of target network element is not the MAC Address of virtual machine among the Server1, then this Frame is not first port at the outbound port of bridge.
403, this Frame is the Frame that transmits between the Server1 internal virtual machine, need output to virtual machine in the Server1 from the first port loopback, and this Frame is delivered to buffer memory in the loopback set of queues.
Wherein, safeguard one group of priority query in the loopback set of queues, answer the Frame of the corresponding priority of buffer memory in these formations; As shown in Figure 3, suppose that the Frame that the virtual machine 2 of above-mentioned reception sends need pass to virtual machine 1, then the outbound port of this Frame still is first port, this Frame need be looped back to virtual machine 1 from first port, priority tag according to the Frame that is received, this Frame is cached in the loopback set of queues in should the priority query of priority, such as, be cached in first formation.
404, this Frame need be transferred to other equipment by bridge from Server1, knows the outbound port of this Frame at bridge, and this Frame is sent to buffer memory in this outbound port corresponding queues group.
Wherein, if the target network element of this Frame is the virtual machine of another server, then in this step this Frame is sent in the non-loopback set of queues of this outbound port correspondence; Wherein, safeguard one group of priority query in the non-loopback set of queues, answer the Frame of the corresponding priority of buffer memory in these formations, in this step, according to the priority tag of the Frame that is received, this Frame is cached in the non-loopback set of queues in should the priority query of priority.
Consult Fig. 5, step 202 specifically comprises:
501, judge whether certain priority query's data in buffer number of frames surpasses the first-class control thresholding in the loopback set of queues of corresponding first port, if, carry out 502, if not, process ends.
502, generate the first-class control frame, this first-class control frame is used to indicate and stops to send the Frame that should be cached to this priority query, and send this first-class control frame by first port, this first-class control frame is passed to each virtual machine among the Server1 by first port and physical network card, after the virtual machine that sends the Frame of corresponding priority is received this first-class control frame, stop to send the Frame of corresponding priority.
Wherein, this Flow Control frame can be the PFC frame.
Consult Fig. 6, step 203 specifically comprises:
601, whether the non-loopback set of queues medium priority formation data in buffer number of frames of judging corresponding first port surpasses the second Flow Control thresholding, if, carry out 602, if not, process ends.
Wherein, the non-loopback set of queues medium priority formation data in buffer frame of this first port is that the inbound port at this bridge is not first port, is the Frame of first port at the outbound port of this bridge.
602, generate the second Flow Control frame, this second Flow Control frame is used to indicate and stops to send the Frame that should be cached to this priority query, and sending this second Flow Control frame by other ports except that first port on the bridge, the equipment that receives this second Flow Control frame stops to send the Frame of corresponding priority.
Wherein, the link bandwidth that first-class control thresholding and the second Flow Control thresholding can link to each other with first port of bridge according to Server1 and the ratio of other attachable link bandwidth sums of this bridge are provided with, wherein, other attachable link bandwidth sums of this bridge are the bandwidth sum of other ports except that first port and the link between the corresponding device on this bridge.
In order to make the foregoing description two clearer, now give an actual example and describe: the virtual machine 2 of supposition Server1 wants to send the Frame of certain priority to the virtual machine among the Server1 1, this Frame can be buffered in the loopback set of queues in should the formation of priority, when the number of data frames in detecting this formation surpasses the first-class control thresholding, generate the PFC frame, send the PFC frame by first port, this PFC frame is passed to each virtual machine among the Server1 by first port and physical network card, then virtual machine 2 receives this PFC frame, stops to send the Frame of this priority.
When the data in buffer number of frames surpasses the first-class control thresholding in the priority query of the embodiment of the invention two loopback set of queues of corresponding first port in bridge, send the Flow Control frame by first port to server, stop to send the Frame that should be cached to this priority query with the indication server, after receiving this Flow Control frame as the virtual machine in congested source in the server, stop to send the Frame of corresponding priority, make in the loopback set of queues that the data in buffer number of frames reduces gradually in this priority query, congested to remove.
Embodiment three:
Consult Fig. 7 and Fig. 8, the embodiment of the invention three provides a kind of pause frame sending method, the pause frame sending method flow chart that Fig. 7 provides for the embodiment of the invention three, and Fig. 8 sends schematic diagram for the Flow Control frame that the embodiment of the invention three provides, and this method specifically comprises:
701, by the Frame of first port reception, Frame is deposited in the set of queues of corresponding first port from server (such as Server1).
Safeguard one group of priority query in the embodiment of the invention in the set of queues of corresponding first port, answer the data of the corresponding priority of buffer memory in these formations.
702, judge whether the number of data frames in the set of queues medium priority formation of corresponding first port reaches the Flow Control thresholding, if not, process ends is if carry out 703.
703, generate the Flow Control frame, this Flow Control frame is used to indicate and stops to send the Frame that should be cached to this priority query, and sends this Flow Control frame by all of the port of this bridge.
Wherein, this Flow Control frame can be the PFC frame.
The all devices that is connected with this bridge all receives this Flow Control frame, after then the virtual machine of the corresponding priority data frame of transmission is received this Flow Control frame among the Server, stops to send the Frame of corresponding priority.
In order to make the foregoing description three clearer, now give an actual example and describe: consult Fig. 8, suppose that the virtual machine 2 of Server1 wants to send the Frame of certain priority to the virtual machine among the Server1 1, this Frame can be buffered in should the priority query of priority, when the number of data frames in detecting this priority query surpasses the Flow Control thresholding, generate the PFC frame, send the PFC frame by all of the port, then each virtual machine among the Server1 all receives this PFC frame, and virtual machine 2 receives the data that stop to send corresponding priority behind this PFC frame.
When the data in buffer number of frames surpasses the Flow Control thresholding in the priority query of the embodiment of the invention three corresponding first port in bridge, all of the port by bridge sends the Flow Control frame, the all devices that indication is connected with this bridge all stops to be cached to the Frame of this priority query, after receiving this Flow Control frame as the virtual machine in congested source in the server, stop to send the Frame of corresponding priority, make that the data in buffer number of frames reduces gradually in the formation, thereby remove congested.
Embodiment four:
Consult Fig. 9, the embodiment of the invention four provides a kind of bridge, comprising:
First judging unit 901 is used for judging whether the data in buffer number of frames surpasses the first-class control thresholding in first formation of corresponding first port of described bridge; Described first port is the port that described bridge is connected with server; The data in buffer frame is that inbound port and outbound port at described bridge all are the Frame of described first port in described first formation;
Flow Control frame generation unit 902 is used for generating the first-class control frame when the first formation data in buffer number of frames surpasses the first-class control thresholding, and described first-class control frame is used to indicate and stops to send the Frame that should be cached to described first formation;
First transmitting element 903 is used for sending described first-class control frame by described first port to described server.
When the data in buffer number of frames surpasses the first-class control thresholding in first formation of the embodiment of the invention four corresponding first port in bridge, send the Flow Control frame by first port to server, the indication server stops to send the Frame that should be cached to this formation, make and stop to send Frame after causing congested virtual machine to receive this Flow Control frame, the data in buffer number of frames reduces gradually in this first formation thereby make, and is congested to remove.
Consult Figure 10, the embodiment of the invention five provides a kind of bridge, comprise: first judging unit 1001, Flow Control frame generation unit 1002, first transmitting element 1003, second judging unit 1004, second transmitting element 1005, Data Receiving unit 1006, the 3rd judging unit 1007 and preservation unit 1008, wherein
Data Receiving unit 1006 is used for receiving from the data in server frame.
The 3rd judging unit 1007 is used to judge whether described Frame is first port at the outbound port of described bridge, and described first port is the port that described bridge is connected with server.
Preserve unit 1008, be used for when the judged result of described the 3rd judging unit 1007 when being, described Frame is deposited in first formation of corresponding first port, when the judged result of described the 3rd judging unit 1007 for not the time, described Frame is deposited in the outbound port corresponding queues of described Frame.
First judging unit 1001 is used for judging whether the data in buffer number of frames surpasses the first-class control thresholding in first formation of corresponding first port of described bridge; The data in buffer frame is that inbound port and outbound port at described bridge all are the Frame of described first port in described first formation.
Second judging unit 1004, whether the second formation data in buffer number of frames that is used to judge corresponding described first port surpasses the second Flow Control thresholding, and the described second formation data in buffer frame is not first port, is the Frame of described first port at the outbound port of described bridge for the inbound port at described bridge.
Flow Control frame generation unit 1002 is used for generating the first-class control frame when the first formation data in buffer number of frames surpasses the first-class control thresholding, and described first-class control frame is used to indicate and stops to send the Frame that should be cached to described first formation; When the second formation data in buffer number of frames surpasses the second Flow Control thresholding, generate the second Flow Control frame, the described second Flow Control frame is used to indicate and stops to send the Frame that should be cached to described second formation.
First transmitting element 1003 is used for sending described first-class control frame by described first port to described server.
Second transmitting element 1005 is used for sending the described second Flow Control frame by other ports, and described other ports are the port except that first port on the described bridge.
The embodiment of the invention five corresponding first port in bridge is preserved two formations, when data in buffer number of frames in first formation of corresponding first port surpasses the first-class control thresholding, send the Flow Control frame by first port to server, the indication server stops to send the Frame that should be cached to this formation, make and stop to send Frame after causing congested virtual machine to receive this Flow Control frame, the data in buffer number of frames reduces gradually in this first formation thereby make, and is congested to remove.
Embodiment six:
Consult Figure 11, the embodiment of the invention six provides a kind of bridge, comprising:
Judging unit 1101 is used for judging whether the data in buffer number of frames surpasses the Flow Control thresholding in the formation of corresponding first port of described bridge;
Flow Control frame generation unit 1102, be used for when the judged result of described judging unit when being, generate the Flow Control frame, described Flow Control frame is used to indicate and stops to send the data that should be cached to described formation;
Transmitting element 1103 is used for sending described Flow Control frame by all of the port of described bridge.
When the data in buffer number of frames surpasses the Flow Control thresholding in the formation of the embodiment of the invention six corresponding first port in bridge, all of the port by bridge sends the Flow Control frame, the all devices that indication is connected with this bridge all stops to send the Frame that should be cached in this formation, thereby the number of data frames in this formation is reduced gradually, congested to remove.
Embodiment seven:
The embodiment of the invention seven provides a kind of network system, comprising: the bridge that is connected with server,
Described bridge is used for judging whether the data in buffer number of frames surpasses the first-class control thresholding in first formation of corresponding first port of bridge; Described first port is the port that described bridge is connected with server; The data in buffer frame is that inbound port and outbound port at described bridge all are the Frame of described first port in described first formation; When the described first formation data in buffer number of frames surpasses the first-class control thresholding, generate the first-class control frame, described first-class control frame is used to indicate and stops to send the Frame that should be cached to described first formation; Send described first-class control frame by described first port to described server.
When the data in buffer number of frames surpasses the first-class control thresholding in first formation of the embodiment of the invention seven corresponding first port in bridge, send the Flow Control frame by first port to server, the indication server stops to send the Frame that should be cached to this formation, make and stop to send Frame after causing congested virtual machine to receive this Flow Control frame, the data in buffer number of frames reduces gradually in this first formation thereby make, and is congested to remove.
Embodiment eight:
The embodiment of the invention eight provides a kind of network system, comprising: the bridge that is connected with server,
Described bridge is used for judging whether the data in buffer number of frames surpasses the Flow Control thresholding in the formation of corresponding first port of bridge, if, generating the Flow Control frame, described Flow Control frame is used to indicate and stops to send the Frame that should be cached to described formation; All of the port by described bridge sends described Flow Control frame.。
When the data in buffer number of frames surpasses the Flow Control thresholding in the formation of the embodiment of the invention eight corresponding first port in bridge, all of the port by bridge sends the Flow Control frame, the all devices that indication is connected with this bridge all stops to send the Frame that should be cached in this formation, thereby the number of data frames in this formation is reduced gradually, congested to remove.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, read-only memory for example, disk or CD etc.
More than pause frame sending method, relevant device and system that the embodiment of the invention provided are described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (12)

1. a pause frame sending method is characterized in that, comprising:
Judge whether the data in buffer number of frames surpasses the first-class control thresholding in first formation of corresponding first port in the bridge; Described first port is the port that described bridge is connected with server; The data in buffer frame is that inbound port and outbound port at described bridge all are the Frame of described first port in described first formation;
When the described first formation data in buffer number of frames surpasses the first-class control thresholding, generate the first-class control frame, described first-class control frame is used to indicate and stops to send the Frame that should be cached to described first formation;
Send described first-class control frame by described first port to described server.
2. method according to claim 1 is characterized in that, this method also comprises:
Judge whether the data in buffer number of frames surpasses the second Flow Control thresholding in second formation of corresponding described first port, the described second formation data in buffer frame is not first port, is the Frame of described first port at the outbound port of described bridge for the inbound port at described bridge;
When data in buffer number of frames in described second formation surpasses the second Flow Control thresholding, generate the second Flow Control frame, the described second Flow Control frame is used to indicate and stops to send the Frame that should be cached to described second formation;
Send the described second Flow Control frame by other ports, described other ports are the port except that first port on the described bridge.
3. method according to claim 2 is characterized in that, whether the data in buffer number of frames surpasses before the first-class control thresholding in first formation of corresponding first port in judging bridge, and this method also comprises:
Reception is from described data in server frame;
Judge whether described Frame is first port at the outbound port of described bridge, if, described Frame is deposited in described first formation, if not, described Frame is deposited in the outbound port corresponding queues of described data.
4. according to claim 1,2 or 3 described methods, it is characterized in that,
By described first port after described server sends described first-class control frame, this method also comprises:
Virtual machine in the described server receives described first-class control frame, stops to send the Frame that should be cached to described first formation.
5. a pause frame sending method is characterized in that, comprising:
Judge whether the data in buffer number of frames surpasses the Flow Control thresholding in the formation of corresponding first port in the bridge, if, generating the Flow Control frame, described Flow Control frame is used to indicate and stops to send the Frame that should be cached to described formation;
All of the port by described bridge sends described Flow Control frame.
6. method according to claim 5 is characterized in that,
After all of the port by described bridge sent described Flow Control frame, this method also comprised:
Receive described Flow Control frame with the virtual machine in the server that described bridge is connected, stop to send the Frame that should be cached to described formation.
7. a bridge is characterized in that, comprising:
First judging unit is used for judging whether the data in buffer number of frames surpasses the first-class control thresholding in first formation of corresponding first port of described bridge; Described first port is the port that described bridge is connected with server; The data in buffer frame is that inbound port and outbound port at described bridge all are the Frame of described first port in described first formation;
Flow Control frame generation unit is used for generating the first-class control frame when the first formation data in buffer number of frames surpasses the first-class control thresholding, and described first-class control frame is used to indicate and stops to send the Frame that should be cached to described first formation;
First transmitting element is used for sending described first-class control frame by described first port to described server.
8. bridge according to claim 7 is characterized in that, also comprises: second judging unit, and second transmitting element, wherein,
Described second judging unit, whether the second formation data in buffer number of frames that is used to judge corresponding described first port surpasses the second Flow Control thresholding, and the described second formation data in buffer frame is not first port, is the Frame of described first port at the outbound port of described bridge for the inbound port at described bridge;
Described Flow Control frame generation unit also is used for generating the second Flow Control frame when the second formation data in buffer number of frames surpasses the second Flow Control thresholding, and the described second Flow Control frame is used to indicate and stops to send the Frame that should be cached to described second formation;
Described second transmitting element is used for sending the described second Flow Control frame by other ports, and described other ports are the port except that first port on the described bridge.
9. bridge according to claim 7 is characterized in that, also comprises:
The Data Receiving unit is used for receiving from described data in server frame;
The 3rd judging unit is used to judge whether described Frame is first port at the outbound port of described bridge;
Preserve the unit, be used for when the judged result of described the 3rd judging unit when being, described Frame is deposited in described first formation, when the judged result of described the 3rd judging unit for not the time, described Frame is deposited in the outbound port corresponding queues of described Frame.
10. a bridge is characterized in that, comprising:
Judging unit is used for judging whether the data in buffer number of frames surpasses the Flow Control thresholding in the formation of corresponding first port of described bridge;
Flow Control frame generation unit, be used for when the judged result of described judging unit when being, generate the Flow Control frame, described Flow Control frame is used to indicate and stops to send the data that should be cached to described formation;
Transmitting element is used for sending described Flow Control frame by all of the port of described bridge.
11. a network system is characterized in that, comprising: server, the bridge that is connected with described server,
Described bridge is used for judging whether the data in buffer number of frames surpasses the first-class control thresholding in first formation of corresponding first port of bridge; Described first port is the port that described bridge is connected with server; The data in buffer frame is that inbound port and outbound port at described bridge all are the Frame of described first port in described first formation; When the described first formation data in buffer number of frames surpasses the first-class control thresholding, generate the first-class control frame, described first-class control frame is used to indicate and stops to send the Frame that should be cached to described first formation; Send described first-class control frame by described first port to described server;
Described server is used to receive described first-class control frame, stops to send the Frame that should be cached to described first formation.
12. a network system is characterized in that, comprising: server, the bridge that is connected with server,
Described bridge is used for judging whether the data in buffer number of frames surpasses the Flow Control thresholding in the formation of corresponding first port of bridge, if, generating the Flow Control frame, described Flow Control frame is used to indicate and stops to send the Frame that should be cached to described formation; All of the port by described bridge sends described Flow Control frame;
Described server is used to receive described Flow Control frame, stops to send the Frame that should be cached to described formation.
CN2009101355202A 2009-04-20 2009-04-20 Pause frame sending method, associated equipment and system Expired - Fee Related CN101867511B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101355202A CN101867511B (en) 2009-04-20 2009-04-20 Pause frame sending method, associated equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101355202A CN101867511B (en) 2009-04-20 2009-04-20 Pause frame sending method, associated equipment and system

Publications (2)

Publication Number Publication Date
CN101867511A true CN101867511A (en) 2010-10-20
CN101867511B CN101867511B (en) 2013-01-09

Family

ID=42959082

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101355202A Expired - Fee Related CN101867511B (en) 2009-04-20 2009-04-20 Pause frame sending method, associated equipment and system

Country Status (1)

Country Link
CN (1) CN101867511B (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075537A (en) * 2011-01-19 2011-05-25 华为技术有限公司 Method and system for realizing data transmission between virtual machines
CN102611620A (en) * 2012-02-23 2012-07-25 福建星网锐捷网络有限公司 Congestion control method and message processing device
CN102739505A (en) * 2011-04-06 2012-10-17 中兴通讯股份有限公司 Method and system for controlling virtual channel flow in data center network
CN103036755A (en) * 2012-12-11 2013-04-10 蓝盾信息安全技术股份有限公司 Method of achieving distributed system real-time communication among devices by using controller area network (CAN) bus
CN103152251A (en) * 2013-02-27 2013-06-12 杭州华三通信技术有限公司 Method and device for processing message
CN104219159A (en) * 2013-05-31 2014-12-17 国际商业机器公司 Method and device for performing link aggregation based on virtual interface of virtual local area network
CN104717156A (en) * 2013-12-13 2015-06-17 国际商业机器公司 Method and system for managing data flows in software-defined network using network interface card
CN104717137A (en) * 2013-12-12 2015-06-17 国际商业机器公司 Managing data flows in overlay networks
WO2015139546A1 (en) * 2014-03-21 2015-09-24 海信集团有限公司 Method for transmitting data via wifi, main device and module device
WO2016008399A1 (en) * 2014-07-14 2016-01-21 Hangzhou H3C Technologies Co., Ltd. Flow control
WO2016086385A1 (en) * 2014-12-04 2016-06-09 华为技术有限公司 Congestion control method, device and system
WO2016127910A1 (en) * 2015-02-10 2016-08-18 Hangzhou H3C Technologies Co., Ltd. Packet buffering
CN108111428A (en) * 2017-12-20 2018-06-01 盛科网络(苏州)有限公司 A kind of method and apparatus of congestion control
CN108471385A (en) * 2017-02-23 2018-08-31 苏宁云商集团股份有限公司 A kind of flow control methods and device for distributed system
CN110138673A (en) * 2019-05-29 2019-08-16 南京南瑞继保电气有限公司 A kind of Network traffic control unit and flow control methods of secondary device
CN113098785A (en) * 2021-03-31 2021-07-09 新华三信息安全技术有限公司 Message processing method and device
WO2022022724A1 (en) * 2020-07-31 2022-02-03 华为技术有限公司 Bit block sending method and device
WO2023124660A1 (en) * 2021-12-31 2023-07-06 中兴通讯股份有限公司 Message scheduling method, apparatus, electronic device, and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2207139T3 (en) * 1999-06-02 2004-05-16 Thomson Multimedia PROCEDURE AND DEVICE FOR THE CREATION OF A ROADING TABLE FOR A COMMUNICATIONS NETWORK.
CN1878144A (en) * 2006-07-14 2006-12-13 华为技术有限公司 Multi-queue flow control method

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075537B (en) * 2011-01-19 2013-12-04 华为技术有限公司 Method and system for realizing data transmission between virtual machines
WO2011147371A1 (en) * 2011-01-19 2011-12-01 华为技术有限公司 Method and system for implementing data transmission between virtual machines
CN102075537A (en) * 2011-01-19 2011-05-25 华为技术有限公司 Method and system for realizing data transmission between virtual machines
CN102739505A (en) * 2011-04-06 2012-10-17 中兴通讯股份有限公司 Method and system for controlling virtual channel flow in data center network
CN102739505B (en) * 2011-04-06 2017-02-08 中兴通讯股份有限公司 Method and system for controlling virtual channel flow in data center network
CN102611620A (en) * 2012-02-23 2012-07-25 福建星网锐捷网络有限公司 Congestion control method and message processing device
CN103036755A (en) * 2012-12-11 2013-04-10 蓝盾信息安全技术股份有限公司 Method of achieving distributed system real-time communication among devices by using controller area network (CAN) bus
CN103152251A (en) * 2013-02-27 2013-06-12 杭州华三通信技术有限公司 Method and device for processing message
CN104219159A (en) * 2013-05-31 2014-12-17 国际商业机器公司 Method and device for performing link aggregation based on virtual interface of virtual local area network
CN104717137A (en) * 2013-12-12 2015-06-17 国际商业机器公司 Managing data flows in overlay networks
CN104717137B (en) * 2013-12-12 2018-02-02 国际商业机器公司 Manage the method and system of the data flow in overlay network
CN104717156A (en) * 2013-12-13 2015-06-17 国际商业机器公司 Method and system for managing data flows in software-defined network using network interface card
US10103972B2 (en) 2013-12-13 2018-10-16 International Business Machines Corporation Managing data flows in software-defined network using network interface card
WO2015139546A1 (en) * 2014-03-21 2015-09-24 海信集团有限公司 Method for transmitting data via wifi, main device and module device
WO2016008399A1 (en) * 2014-07-14 2016-01-21 Hangzhou H3C Technologies Co., Ltd. Flow control
CN106134138A (en) * 2014-12-04 2016-11-16 华为技术有限公司 A kind of method, apparatus and system of congestion control
CN106134138B (en) * 2014-12-04 2020-02-21 华为技术有限公司 Congestion control method, equipment and system
WO2016086385A1 (en) * 2014-12-04 2016-06-09 华为技术有限公司 Congestion control method, device and system
US10419358B2 (en) 2015-02-10 2019-09-17 Hewlett Packard Enterprise Development Lp Packet buffering
WO2016127910A1 (en) * 2015-02-10 2016-08-18 Hangzhou H3C Technologies Co., Ltd. Packet buffering
CN108471385A (en) * 2017-02-23 2018-08-31 苏宁云商集团股份有限公司 A kind of flow control methods and device for distributed system
CN108471385B (en) * 2017-02-23 2021-12-10 苏宁易购集团股份有限公司 Flow control method and device for distributed system
CN108111428A (en) * 2017-12-20 2018-06-01 盛科网络(苏州)有限公司 A kind of method and apparatus of congestion control
CN108111428B (en) * 2017-12-20 2021-12-28 苏州盛科通信股份有限公司 Congestion control method and device
CN110138673A (en) * 2019-05-29 2019-08-16 南京南瑞继保电气有限公司 A kind of Network traffic control unit and flow control methods of secondary device
CN110138673B (en) * 2019-05-29 2023-08-08 南京南瑞继保电气有限公司 Network flow control method of secondary equipment
WO2022022724A1 (en) * 2020-07-31 2022-02-03 华为技术有限公司 Bit block sending method and device
CN113098785A (en) * 2021-03-31 2021-07-09 新华三信息安全技术有限公司 Message processing method and device
CN113098785B (en) * 2021-03-31 2022-05-27 新华三信息安全技术有限公司 Message processing method and device
WO2023124660A1 (en) * 2021-12-31 2023-07-06 中兴通讯股份有限公司 Message scheduling method, apparatus, electronic device, and storage medium

Also Published As

Publication number Publication date
CN101867511B (en) 2013-01-09

Similar Documents

Publication Publication Date Title
CN101867511B (en) Pause frame sending method, associated equipment and system
US11876702B2 (en) System and method for facilitating efficient address translation in a network interface controller (NIC)
CA2345596C (en) Method and apparatus for extending the range of the universal serial bus protocol
US7492710B2 (en) Packet flow control
US7720064B1 (en) Method and system for processing network and storage data
US20100128605A1 (en) Method and system for controlling traffic over a computer network
US20010046235A1 (en) Low latency shared memory switch architecture
US20130100812A1 (en) Packet priority in a network processor
JP2004518381A (en) Modular and scalable switch and method for distributing Fast Ethernet data frames
US5864553A (en) Multiport frame exchange system
US8503474B2 (en) System and method for enhanced physical layer device interface capability for backward support of fast retrain
US20040081108A1 (en) Arbitration system
CN106372013B (en) Long-distance inner access method, device and system
EP0785651A1 (en) Receiver sharing for demand priority access method repeaters
US9906468B2 (en) Packet traffic control in a network processor
US20090319733A1 (en) System and Method for Aggregating Transmit Completion Interrupts
US9912604B2 (en) Reduction of silicon area for ethernet PFC protocol implementation in queue based network processors
US7577157B2 (en) Facilitating transmission of a packet in accordance with a number of transmit buffers to be associated with the packet
CN113572575A (en) Self-adaptive data transmission method and system
CN110601996B (en) Looped network anti-starvation flow control method adopting token bottom-preserving distributed greedy algorithm
US8225004B1 (en) Method and system for processing network and storage data
JP2011019040A (en) Communication device and flow control method for the communication device, and program therefor
JP5617625B2 (en) Data relay apparatus and communication priority control method
US9426097B1 (en) Facilitating communication between devices in a network
CN116418750A (en) PFC storm detection method and related equipment

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180426

Address after: California, USA

Patentee after: Global innovation polymerization LLC

Address before: London, England

Patentee before: GW partnership Co.,Ltd.

Effective date of registration: 20180426

Address after: London, England

Patentee after: GW partnership Co.,Ltd.

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

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

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

Granted publication date: 20130109