CN104917694A - Flow control method based on priority - Google Patents
Flow control method based on priority Download PDFInfo
- Publication number
- CN104917694A CN104917694A CN201510330711.XA CN201510330711A CN104917694A CN 104917694 A CN104917694 A CN 104917694A CN 201510330711 A CN201510330711 A CN 201510330711A CN 104917694 A CN104917694 A CN 104917694A
- Authority
- CN
- China
- Prior art keywords
- priority
- flow control
- terminal equipment
- tunnel
- link
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/18—End to end
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/26—Flow control; Congestion control using explicit feedback to the source, e.g. choke packets
- H04L47/266—Stopping or restarting the source, e.g. X-on or X-off
Abstract
The invention provides a flow control method based on priority. The method comprises the steps as follows: creating a virtual channel for entrance link of home terminal equipment when an exit of the home terminal equipment is congested and indicating priority for the virtual channel; enabling the flow control based each priority, and judging the priority of a received opposite terminal message. The home terminal equipment transmits pause frame to opposite terminal equipment and suspends the transmission of the message with the priority. After using the technical solution of the invention, the flow control method could be used for creating a certain number of virtual channels on an Ethernet link where an entrance port of the exchanger is located when an exit port of the exchanger of the home terminal equipment is congested and indicating one priority for each virtual channel, and allowing to individually suspend a plurality of virtual channels therein and simultaneously allowing the flow of the other virtual channels to pass without interruption. The method of the invention can be used for enabling a network to create services without packet loss category for signal virtual link so that the network can be shared with other flow type on same interface to avoid the network to block all flows on the link.
Description
Technical field
The present invention relates to Ethernet Exchanger Technology field, particularly relate to a kind of flow control methods based on priority.
Background technology
Gather in switch technology field, flow control mechanism is extremely important, and hereinafter referred to as Flow Control, when certain link occurs congested, switch Flow Control can stop all flows on this link.And along with the development of network, increasing application requires that Ethernet can meet without packet loss requirement, need to formulate a kind of method provides lossless service by Ethernet for this reason.
Traditional flow-control mechanism cannot meet the growth requirement of network, when certain link occurs congested, just can stop all flows on this link, cannot meet a lot of application without packet loss requirement.
Summary of the invention
The technical problem that the present invention need solve overcomes above-mentioned deficiency, provides a kind of flow control methods based on priority, comprising:
Local device outlet occurs congested;
For local device linking inlet ports creates tunnel, and indicate the priority level of described tunnel;
Based on the enable flow control of each priority;
Judge the priority receiving opposite end message;
Local terminal sends pause frame to opposite equip., and the message suspending this priority sends.
Further, described being specially based on the enable flow control of each priority suspends the low some tunnels of priority according to priority.
Further, described being specially based on the enable flow control of each priority suspends some tunnels.
Further, the quantity of described establishment tunnel is 8.
Further, described method also comprises, and when local device relieve congestion, opposite equip. recovers corresponding message and sends.
After adopting technical scheme of the present invention, when this end switch outbound port produces congested, to the tunnel of the some that switch inbound port place ethernet link creates, and specify a priority level for every bar tunnel, allow to suspend wherein some tunnels separately, allow the flow of other tunnel to pass through without interruption simultaneously.This method enables network for single virtual link establishment is without the service of packet loss classification, can coexist with other discharge pattern on same interface, avoids it to stop all flows on this link.
Accompanying drawing explanation
Fig. 1 is the flow control methods schematic diagram based on priority provided by the invention.
Embodiment
Technical scheme of the present invention is understood better in order to make relevant technical staff in the field, below in conjunction with the accompanying drawing of embodiment of the present invention, technical scheme in embodiment of the present invention is clearly and completely described, obviously, described execution mode is only the present invention's part execution mode, instead of whole execution modes.
Below in conjunction with drawings and embodiments, the invention will be further described.
Consult Fig. 1, a kind of flow control methods based on priority provided by the invention, comprises the following steps:
Step S100, local device outlet occurs congested;
Step S200, for local device linking inlet ports creates tunnel, and indicates the priority level of described tunnel.
In the present embodiment, the quantity of described tunnel is 8, and for these 8 tunnels indicate priority level, suppose the priority level position 0-7 from low to high of tunnel, then priority level 7 is TP top priority.
Step S300, based on the enable flow control of each priority;
This step is that the tunnel of enable which priority concrete suspends message transmission.Embodiment one, suspends some tunnels that priority is low.Embodiment two, suspends some tunnels, namely suspend any tunnel can, sometimes, the tunnel that priority is low also can not suspend, and it is required for current service.
This step function is that configuration virtual passage suspends register, and meaning is to tell which the tunnel that opposite equip. is about to suspend is.
Step S400, judges the priority receiving opposite end message;
The corresponding tunnel created, the priority of the corresponding tunnel of priority of the transmission message of opposite equip..The message priority that the tunnel that opposite equip. is 0 to priority sends is 0, the like.
Step S500, local terminal sends pause frame to opposite equip., and the message suspending this priority sends.
Tunnel according to step S300 configuration suspends register, and the message suspending this priority sends.
In a preferred embodiment, the described flow control methods based on priority also comprises:
When local device relieve congestion, opposite equip. recovers corresponding message and sends.
Such as, opposite equip. priority is that the message of 0-3 suspends transmission, and when after local device relieve congestion, opposite equip. priority is that the recovery herein of 0-3 sends.
After adopting technical scheme of the present invention, when this end switch outbound port produces congested, to the tunnel of the some that switch inbound port place ethernet link creates, and specify a priority level for every bar tunnel, allow to suspend wherein some tunnels separately, allow the flow of other tunnel to pass through without interruption simultaneously.This method enables network for single virtual link establishment is without the service of packet loss classification, can coexist with other discharge pattern on same interface, avoids it to stop all flows on this link.
Below only have expressed several execution mode of the present invention, it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.
Claims (5)
1. based on a flow control methods for priority, it is characterized in that, comprising:
Local device outlet occurs congested;
For local device linking inlet ports creates tunnel, and indicate the priority level of described tunnel;
Based on the enable flow control of each priority;
Judge the priority receiving opposite end message;
Local terminal sends pause frame to opposite equip., and the message suspending this priority sends.
2. the flow control methods based on priority according to claim 1, is characterized in that, described being specially based on the enable flow control of each priority suspends the low some tunnels of priority according to priority.
3. the flow control methods based on priority according to claim 1, described being specially based on the enable flow control of each priority suspends some tunnels.
4. the flow control methods based on priority according to claim 1, is characterized in that, the quantity of described establishment tunnel is 8.
5. the flow control methods based on priority according to claim 1, is characterized in that, described method also comprises, and when local device relieve congestion, opposite equip. recovers corresponding message and sends.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510330711.XA CN104917694A (en) | 2015-06-15 | 2015-06-15 | Flow control method based on priority |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510330711.XA CN104917694A (en) | 2015-06-15 | 2015-06-15 | Flow control method based on priority |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104917694A true CN104917694A (en) | 2015-09-16 |
Family
ID=54086412
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510330711.XA Pending CN104917694A (en) | 2015-06-15 | 2015-06-15 | Flow control method based on priority |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104917694A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106453126A (en) * | 2016-11-29 | 2017-02-22 | 郑州云海信息技术有限公司 | Virtual machine traffic control method and device |
CN109347761A (en) * | 2018-11-29 | 2019-02-15 | 新华三技术有限公司 | A kind of flow transmission control method and device |
CN111428973A (en) * | 2020-03-11 | 2020-07-17 | 慧镕电子系统工程股份有限公司 | Virtual resource allocation method capable of effectively improving resource utilization rate |
CN111835652A (en) * | 2019-04-17 | 2020-10-27 | 华为技术有限公司 | Method and device for setting virtual channel of data stream |
CN113300974A (en) * | 2020-07-10 | 2021-08-24 | 阿里巴巴集团控股有限公司 | Congestion control method, equipment and computer readable medium |
CN113709056A (en) * | 2021-08-26 | 2021-11-26 | 无锡沐创集成电路设计有限公司 | Memory flow control method and device, storage medium and electronic equipment |
CN113872885A (en) * | 2021-09-30 | 2021-12-31 | 新华三信息安全技术有限公司 | Method and equipment for controlling message forwarding |
CN113300974B (en) * | 2020-07-10 | 2024-04-26 | 阿里巴巴集团控股有限公司 | Congestion control method, device and computer readable medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102035722A (en) * | 2009-09-28 | 2011-04-27 | 中兴通讯股份有限公司 | Flow control method and device |
US20110216669A1 (en) * | 2010-03-02 | 2011-09-08 | Dell Products, Lp | System and Method to Enable Large MTUs in Data Center Ethernet Networks |
CN104022961A (en) * | 2014-05-29 | 2014-09-03 | 华为技术有限公司 | Data transmission method, apparatus and system |
-
2015
- 2015-06-15 CN CN201510330711.XA patent/CN104917694A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102035722A (en) * | 2009-09-28 | 2011-04-27 | 中兴通讯股份有限公司 | Flow control method and device |
US20110216669A1 (en) * | 2010-03-02 | 2011-09-08 | Dell Products, Lp | System and Method to Enable Large MTUs in Data Center Ethernet Networks |
CN104022961A (en) * | 2014-05-29 | 2014-09-03 | 华为技术有限公司 | Data transmission method, apparatus and system |
Non-Patent Citations (2)
Title |
---|
HYLIN2009: "《PFC—基于优先级的流量控制》", 《CSDN博客,HTTP://M.BLOG.CSDN.NET/HYLIN2009/ARTICLE/DETAILS/8834365》 * |
罗鉴等: "《无损以太网关键技术研究》", 《中兴通讯技术》 * |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106453126A (en) * | 2016-11-29 | 2017-02-22 | 郑州云海信息技术有限公司 | Virtual machine traffic control method and device |
CN109347761A (en) * | 2018-11-29 | 2019-02-15 | 新华三技术有限公司 | A kind of flow transmission control method and device |
CN111835652A (en) * | 2019-04-17 | 2020-10-27 | 华为技术有限公司 | Method and device for setting virtual channel of data stream |
CN111835652B (en) * | 2019-04-17 | 2024-04-16 | 华为技术有限公司 | Method and device for setting virtual channel of data stream |
CN111428973A (en) * | 2020-03-11 | 2020-07-17 | 慧镕电子系统工程股份有限公司 | Virtual resource allocation method capable of effectively improving resource utilization rate |
CN111428973B (en) * | 2020-03-11 | 2024-04-12 | 慧镕电子系统工程股份有限公司 | Virtual resource allocation method capable of effectively improving resource utilization rate |
CN113300974A (en) * | 2020-07-10 | 2021-08-24 | 阿里巴巴集团控股有限公司 | Congestion control method, equipment and computer readable medium |
CN113300974B (en) * | 2020-07-10 | 2024-04-26 | 阿里巴巴集团控股有限公司 | Congestion control method, device and computer readable medium |
CN113709056A (en) * | 2021-08-26 | 2021-11-26 | 无锡沐创集成电路设计有限公司 | Memory flow control method and device, storage medium and electronic equipment |
CN113872885A (en) * | 2021-09-30 | 2021-12-31 | 新华三信息安全技术有限公司 | Method and equipment for controlling message forwarding |
CN113872885B (en) * | 2021-09-30 | 2024-02-09 | 新华三信息安全技术有限公司 | Method and equipment for controlling message forwarding |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104917694A (en) | Flow control method based on priority | |
CN103428802B (en) | Method and apparatus for virtual soft switch | |
CN103095568B (en) | Rack switching equipment realizes stacking system and method | |
AR041490A1 (en) | A MOBILE TELECOMMUNICATIONS SYSTEM, A NODE OF A MOBILE TELECOMMUNICATION SYSTEM AND A METHOD OF OPERATION OF A MOBILE TECHNOLOGY SYSTEM | |
CN104980372A (en) | Relay System And Switching Device | |
CN101488835A (en) | Link detection method, apparatus and communication system | |
CN105141447B (en) | CAN bus load factor monitoring method and system | |
JP2010050857A (en) | Route control apparatus and packet discarding method | |
CN108989237B (en) | Method and device for data transmission | |
CN102447711A (en) | Method and device for sending protocol messages | |
CN107196816A (en) | Anomalous traffic detection method, system and Network analyzing equipment | |
US20130033985A1 (en) | Transmission device, transmission method and computer program | |
CN107465611A (en) | The pretection switch method and device of SDN controllers and Switch control link | |
JPWO2013065477A1 (en) | Communications system | |
CN107342947A (en) | Flow shaping method, controller, the network equipment and traffic shaping system | |
CN103368861A (en) | System and method for processing network congestion | |
CN104954165A (en) | Link analysis method, device and system | |
CN107453956A (en) | The method of communications network system, diverter device and its fast access into network | |
CN102710027A (en) | Real-time evaluating and state monitoring system for automatic communication network of transformer substation | |
CN102594696B (en) | A kind of method and device managing network device link aggregation group | |
CN105101312B (en) | A kind of method and device of upstream data processing | |
CN105391630A (en) | Relay system and relay device | |
CN102916883A (en) | LINK detection method and routing forwarding equipment | |
JP2017046108A (en) | Network system, discrimination method for communication quality, and analysis device | |
CN201355861Y (en) | Continuous real-time mobile video monitoring system of bus based on WIFI metropolitan area network |
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: 20150916 |
|
RJ01 | Rejection of invention patent application after publication |