CN105245465A - Flow control system and method of switch - Google Patents

Flow control system and method of switch Download PDF

Info

Publication number
CN105245465A
CN105245465A CN201510542335.0A CN201510542335A CN105245465A CN 105245465 A CN105245465 A CN 105245465A CN 201510542335 A CN201510542335 A CN 201510542335A CN 105245465 A CN105245465 A CN 105245465A
Authority
CN
China
Prior art keywords
outbound port
physical address
message
congested
opposite equip
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.)
Pending
Application number
CN201510542335.0A
Other languages
Chinese (zh)
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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510542335.0A priority Critical patent/CN105245465A/en
Publication of CN105245465A publication Critical patent/CN105245465A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a flow control system and method of a switch. The system comprises multiple input ports, multiple output ports, a monitoring unit and a processing unit, wherein messages sent from a device at the opposite end are received via the input ports, the messages are sent to corresponding destination addresses via the output ports, the monitoring unit is connected with the output ports to monitor whether the output ports are jammed, and the processing unit is connected with the input ports, the output ports and the monitoring unit, and is used for obtaining the corresponding physical address of the jammed output port, generating a control frame which stops sending of the message with the physical address, and sending the control frame to the device at the opposite end. The flow control system of the switch monitors whether jamming occurs in the output ports via the monitoring unit, the processing unit generates the control frame of the message with the physical address when jamming occurs, and thus, the device at the opposite end is controlled to stop sending the message to the jammed output port, and jamming of the output port can be alleviated.

Description

A kind of flow control system of switch and method
Technical field
The present invention relates to network control technology field, particularly relate to a kind of flow control system and method for switch.
Background technology
Existing end switch receives the message of opposite equip. transmission by multiple inbound port, when inbound port is multiple, if one of them outbound port occurs congested, this end switch sends the flow control frame stopping sending message to opposite equip. by inbound port, after opposite equip. receives the flow control frame stopping sending message, the message that all inbound ports of this end switch are sent will be stopped, to alleviate the congested of the outbound port appearance of this end switch, the hydraulic performance decline of whole end switch can be caused simultaneously.
Summary of the invention
For the problems referred to above that existing switch exists, while now providing a kind of outbound port being intended to realize alleviating switch congested, do not affect flow control system and the method for the switch of the performance of switch.
Concrete technical scheme is as follows:
A flow control system for switch, comprising:
Multiple inbound port, in order to receive the message that opposite equip. sends;
Multiple outbound port, in order to be sent to corresponding destination address by described message;
Also comprise:
Whether one monitoring means, connects described multiple outbound port respectively, congested in order to monitor described multiple outbound port;
One processing unit, connect described multiple inbound port, described multiple outbound port and described monitoring means respectively, in order to obtain physical address corresponding to congested described outbound port, generate and stop sending the control frame carrying the message of described physical address, and described control frame is sent to described opposite equip..
Preferably, opposite equip. described in each described inbound port correspondence one, the described message that each described inbound port sends in order to receive corresponding described opposite equip..
Preferably, described processing unit comprises:
One control module, controls in order to generate the control frame that described opposite equip. stopping transmission carrying the message of described physical address, and described control frame is sent to corresponding described opposite equip. by described inbound port.
Preferably, described processing unit comprises:
One memory module, in order to store the list of a described physical address corresponding with described outbound port;
When described monitoring means monitors congested described outbound port, described processing unit obtains described physical address corresponding to congested described outbound port according to the described list stored in described memory module, generate and stop sending the control frame carrying the message of described physical address, and described control frame is sent to described opposite equip..
Preferably, described list adopts two-layer retransmitting table.
A flow control methods for switch, provides multiple outbound port, comprises the steps:
S1. whether congestedly monitor described multiple outbound port, if there is congested described outbound port, perform step S2, if there is no congested described outbound port, terminate;
S2. obtain the physical address that congested described outbound port is corresponding, generate and stop sending the control frame carrying the message of described physical address, and described control frame is sent to opposite equip..
Preferably, provide a memory module in order to store the list of a described physical address corresponding with described outbound port, the detailed process of described step S2 is:
Described physical address corresponding to congested described outbound port is obtained according to the described list stored in described memory module, generate and control the control frame that described opposite equip. stopping transmission carrying the message of described physical address, and described control frame is sent to described opposite equip..
Preferably, described list adopts two-layer retransmitting table.
A kind of switch, applies flow control system as above.
A kind of switch, applies flow control methods as above.
The beneficial effect of technique scheme:
In the technical program, whether the flow control system of switch is stored in congestion situation by monitoring means monitoring outbound port, generate the control frame carrying the message of physical address by processing unit when occurring congested, stop sending message, to alleviate the congested of outbound port to congested outbound port to control opposite equip..The flow control methods of switch achieves the object not affecting the performance of switch while the outbound port alleviating switch is congested.
Accompanying drawing explanation
Fig. 1 is the module map of a kind of embodiment of the flow control system of switch of the present invention;
Fig. 2 is the method flow diagram of a kind of embodiment of the flow control methods of switch of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under the prerequisite of not making creative work, all belongs to the scope of protection of the invention.
It should be noted that, when not conflicting, the embodiment in the present invention and the feature in embodiment can combine mutually.
Below in conjunction with the drawings and specific embodiments, the invention will be further described, but not as limiting to the invention.
As shown in Figure 1, a kind of flow control system of switch, comprising:
Multiple inbound port 4, in order to receive the message that opposite equip. 5 sends;
Multiple outbound port 1, in order to be sent to corresponding destination address by message;
Also comprise:
Whether one monitoring means 2, connects multiple outbound port 1 respectively, congested in order to monitor multiple outbound port 1;
One processing unit 3, connect multiple inbound port 4, multiple outbound port 1 and monitoring means 2 respectively, in order to obtain physical address (MediaAccessControl or MediumAccessControl of congested outbound port 1 correspondence, MAC), generate and stop sending the control frame carrying the message of physical address, and control frame is sent to opposite equip. 5.
In the present embodiment, the corresponding physical address of each outbound port 1, each outbound port 1 is in order to export corresponding message, and every bar message comprises the physical address of outbound port 1 correspondence.Monitor outbound port 1 by monitoring means 2 and whether be stored in congestion situation, generate the control frame (pause) carrying the message of physical address by processing unit 3 when occurring congested, stop sending message to congested outbound port 1, to alleviate the congested of outbound port 1 to control opposite equip. 5.
In a preferred embodiment, the corresponding pair of end equipment 5 of each inbound port 4, the message that each inbound port 4 sends in order to receive corresponding opposite equip. 5.
In the present embodiment, inbound port 4 can receive the message that corresponding opposite equip. 5 sends, and also the control frame that processing unit 3 generates can be sent to corresponding opposite equip. 5.
In a preferred embodiment, processing unit 3 comprises:
One control module 32, controls in order to generate the control frame that opposite equip. 5 stopping transmission carrying the message of physical address, and control frame is sent to corresponding opposite equip. 5 by inbound port 4.
In the present embodiment, when monitoring means 2 monitor there is congested outbound port 1 time, generated by control module 32 and control the control frame that opposite equip. 5 stopping transmission carrying the message of physical address, corresponding opposite equip. 5 is sent to by inbound port 4, stop sending the message carrying congested outbound port 1 physical address to control opposite equip. 5, achieve and alleviate the congested object of outbound port 1 while the performance not affecting switch.
In a preferred embodiment, processing unit 3 comprises:
One memory module 31, in order to store the list of a physical address corresponding with outbound port 1;
When monitoring means 2 monitors congested outbound port 1, processing unit 3 obtains the physical address of congested outbound port 1 correspondence according to the list stored in memory module 31, generate and stop sending the control frame carrying the message of physical address, and control frame is sent to opposite equip. 5.
In the present embodiment, when outbound port 1 goes out existing not congested situation, processing unit 3 can obtain the physical address of congested outbound port 1 correspondence according to the list stored in memory module 31, to generate corresponding control frame, control opposite equip. 5 to stop sending the message carrying this physical address, to realize alleviating the congested of outbound port 1 while the performance not affecting switch.
In a preferred embodiment, list adopts two-layer retransmitting table.
In the present embodiment, two-layer retransmitting table is physical address table, for Layer 2 switch to data retransmission.Switch is for identifying the physical address in every bar message in the process of data retransmission, and the outbound port 1 controlling physical address that message comprises from message corresponding exports.
As shown in Figure 2, a kind of flow control methods of switch, provides multiple outbound port, comprises the steps:
S1. whether congestedly monitor multiple outbound port, if there is congested outbound port, perform step S2, if there is no congested outbound port, terminate;
S2. obtain the physical address that congested outbound port is corresponding, generate and stop sending the control frame carrying the message of physical address, and control frame is sent to opposite equip..
In the present embodiment, whether congestion situation is stored in by monitoring outbound port, when occurring congested by generating the control frame carrying the message of physical address, stop sending message to congested outbound port to control opposite equip., achieve the object not affecting the performance of switch while the outbound port alleviating switch is congested.
In a preferred embodiment, provide a memory module in order to store the list of a physical address corresponding with outbound port, the detailed process of step S2 is:
Obtain physical address corresponding to congested outbound port according to the list stored in memory module, generate and control the control frame that opposite equip. stopping transmission carrying the message of physical address, and control frame is sent to opposite equip..
In the present embodiment, when monitor there is congested outbound port time, the control frame that opposite equip. stopping transmission carrying the message of physical address is controlled by generating, corresponding opposite equip. is sent to by inbound port, stop sending the message carrying congested outbound port physical address to control opposite equip., achieve and alleviate the congested of outbound port while the performance not affecting switch.
In a preferred embodiment, list adopts two-layer retransmitting table.
In the present embodiment, two-layer retransmitting table is physical address table, for Layer 2 switch to data transaction.Switch is for identifying the physical address in every bar message in the process of data retransmission, and the outbound port 1 controlling physical address that message comprises from message corresponding exports.
In technical scheme of the present invention, also comprise a kind of switch, application is as above-mentioned flow control system.
In technical scheme of the present invention, also comprise a kind of switch, apply as above flow control methods.
The foregoing is only preferred embodiment of the present invention; not thereby embodiments of the present invention and protection range is limited; to those skilled in the art; should recognize and all should be included in the scheme that equivalent replacement done by all utilizations specification of the present invention and diagramatic content and apparent change obtain in protection scope of the present invention.

Claims (10)

1. a flow control system for switch, comprising:
Multiple inbound port, in order to receive the message that opposite equip. sends;
Multiple outbound port, in order to be sent to corresponding destination address by described message;
It is characterized in that, also comprise:
Whether one monitoring means, connects described multiple outbound port respectively, congested in order to monitor described multiple outbound port;
One processing unit, connect described multiple inbound port, described multiple outbound port and described monitoring means respectively, in order to obtain physical address corresponding to congested described outbound port, generate and stop sending the control frame carrying the message of described physical address, and described control frame is sent to described opposite equip..
2. flow control system as claimed in claim 1, is characterized in that, opposite equip. described in each described inbound port correspondence one, the described message that each described inbound port sends in order to receive corresponding described opposite equip..
3. flow control system as claimed in claim 2, it is characterized in that, described processing unit comprises:
One control module, controls in order to generate the control frame that described opposite equip. stopping transmission carrying the message of described physical address, and described control frame is sent to corresponding described opposite equip. by described inbound port.
4. flow control system as claimed in claim 1, it is characterized in that, described processing unit comprises:
One memory module, in order to store the list of a described physical address corresponding with described outbound port;
When described monitoring means monitors congested described outbound port, described processing unit obtains described physical address corresponding to congested described outbound port according to the described list stored in described memory module, generate and stop sending the control frame carrying the message of described physical address, and described control frame is sent to described opposite equip..
5. flow control system as claimed in claim 4, is characterized in that, described list adopts two-layer retransmitting table.
6. a flow control methods for switch, provides multiple outbound port, it is characterized in that, comprise the steps:
S1. whether congestedly monitor described multiple outbound port, if there is congested described outbound port, perform step S2, if there is no congested described outbound port, terminate;
S2. obtain the physical address that congested described outbound port is corresponding, generate and stop sending the control frame carrying the message of described physical address, and described control frame is sent to opposite equip..
7. flow control methods as claimed in claim 5, is characterized in that, provide a memory module in order to store the list of a described physical address corresponding with described outbound port, the detailed process of described step S2 is:
Described physical address corresponding to congested described outbound port is obtained according to the described list stored in described memory module, generate and control the control frame that described opposite equip. stopping transmission carrying the message of described physical address, and described control frame is sent to described opposite equip..
8. flow control methods as claimed in claim 7, is characterized in that, described list adopts two-layer retransmitting table.
9. a switch, is characterized in that, applies as the flow control system as described in arbitrary in claim 1-5.
10. a switch, is characterized in that, applies as the flow control methods as described in arbitrary in claim 6-8.
CN201510542335.0A 2015-08-28 2015-08-28 Flow control system and method of switch Pending CN105245465A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510542335.0A CN105245465A (en) 2015-08-28 2015-08-28 Flow control system and method of switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510542335.0A CN105245465A (en) 2015-08-28 2015-08-28 Flow control system and method of switch

Publications (1)

Publication Number Publication Date
CN105245465A true CN105245465A (en) 2016-01-13

Family

ID=55042970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510542335.0A Pending CN105245465A (en) 2015-08-28 2015-08-28 Flow control system and method of switch

Country Status (1)

Country Link
CN (1) CN105245465A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106533962A (en) * 2017-01-10 2017-03-22 盛科网络(苏州)有限公司 Internal flow control method of distributed switch system
CN107733812A (en) * 2017-11-02 2018-02-23 东软集团股份有限公司 A kind of data packet dispatching method, device and equipment
CN109327402A (en) * 2017-07-31 2019-02-12 杭州海康威视数字技术股份有限公司 Congestion management and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848168A (en) * 2010-06-11 2010-09-29 杭州华三通信技术有限公司 Target MAC (Media Access Control) address based flow control method, system and equipment
CN101997772A (en) * 2010-10-13 2011-03-30 福建星网锐捷网络有限公司 Flow control method, device, system and network equipment
CN102932267A (en) * 2012-11-22 2013-02-13 合肥华云通信技术有限公司 Distributed flow control method for Ethernet switch
US20140056141A1 (en) * 2012-08-24 2014-02-27 Advanced Micro Devices, Inc. Processing system using virtual network interface controller addressing as flow control metadata

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848168A (en) * 2010-06-11 2010-09-29 杭州华三通信技术有限公司 Target MAC (Media Access Control) address based flow control method, system and equipment
CN101997772A (en) * 2010-10-13 2011-03-30 福建星网锐捷网络有限公司 Flow control method, device, system and network equipment
US20140056141A1 (en) * 2012-08-24 2014-02-27 Advanced Micro Devices, Inc. Processing system using virtual network interface controller addressing as flow control metadata
CN102932267A (en) * 2012-11-22 2013-02-13 合肥华云通信技术有限公司 Distributed flow control method for Ethernet switch

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106533962A (en) * 2017-01-10 2017-03-22 盛科网络(苏州)有限公司 Internal flow control method of distributed switch system
CN106533962B (en) * 2017-01-10 2019-09-13 盛科网络(苏州)有限公司 Distribution switch internal system flow control methods
CN109327402A (en) * 2017-07-31 2019-02-12 杭州海康威视数字技术股份有限公司 Congestion management and device
CN109327402B (en) * 2017-07-31 2023-03-14 杭州海康威视数字技术股份有限公司 Congestion management method and device
CN107733812A (en) * 2017-11-02 2018-02-23 东软集团股份有限公司 A kind of data packet dispatching method, device and equipment
CN107733812B (en) * 2017-11-02 2020-08-07 东软集团股份有限公司 Data packet scheduling method, device and equipment

Similar Documents

Publication Publication Date Title
US10116465B2 (en) Method for operating a network
CN105260337B (en) A kind of automatic addressing method and system of single-chip microcomputer
CN105745883B (en) Forwarding table synchronous method, the network equipment and system
EP2882162A1 (en) Data stream security processing method and apparatus
MX2017002121A (en) A method and system for supporting distributed relay control protocol (drcp) operations upon misconfiguration.
CN104468397B (en) The method and apparatus that a kind of live migration of virtual machine forwards not packet loss
EP3073688A1 (en) Data transmission method, core forwarding device and end point forwarding device
US10129722B2 (en) Service processing method and network device
CN101860491B (en) Aggregation type link bidirectional forwarding detection method and device thereof
WO2008058254A3 (en) Network traffic controller (ntc)
CN103051534A (en) Message processing method and device
CN104202364B (en) A kind of automatic discovery of controller and configuration method and equipment
WO2019126320A3 (en) Systems for communicating with unassociated stations
CN105245465A (en) Flow control system and method of switch
US20160359734A1 (en) Data Flow Processing Method and Apparatus
CN103475657B (en) The treating method and apparatus of anti-SYN extensive aggression
CN104734952A (en) Data message forwarding method and device
WO2016192402A1 (en) Method and apparatus for adjusting maximum transmission unit of ipv6 tunnel
CN103023803B (en) Method and system for optimizing virtual links of fiber channel over Ethernet
EP2787699A1 (en) Data transmission method, device, and system
CN107995199A (en) The port speed constraint method and device of the network equipment
CN104394012B (en) Cluster routers, MPU and its failure determination method, sensing controller
CA2945849C (en) Optical transmission system and transmission method, optical switching apparatus, and control method
CN106921553B (en) Method and system for realizing high availability in virtual network
CN106878117A (en) A kind of data processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160113

RJ01 Rejection of invention patent application after publication