Movatterモバイル変換


[0]ホーム

URL:


CN101340393B - Multicast flow control method, system and field programmable gate array - Google Patents

Multicast flow control method, system and field programmable gate array
Download PDF

Info

Publication number
CN101340393B
CN101340393BCN2008101181954ACN200810118195ACN101340393BCN 101340393 BCN101340393 BCN 101340393BCN 2008101181954 ACN2008101181954 ACN 2008101181954ACN 200810118195 ACN200810118195 ACN 200810118195ACN 101340393 BCN101340393 BCN 101340393B
Authority
CN
China
Prior art keywords
multicast
queue
interface board
outgoing interface
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2008101181954A
Other languages
Chinese (zh)
Other versions
CN101340393A (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.)
Ziguang Communication Technology (Yueyang) Co.,Ltd.
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co LtdfiledCriticalHangzhou H3C Technologies Co Ltd
Priority to CN2008101181954ApriorityCriticalpatent/CN101340393B/en
Publication of CN101340393ApublicationCriticalpatent/CN101340393A/en
Application grantedgrantedCritical
Publication of CN101340393BpublicationCriticalpatent/CN101340393B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

Translated fromChinese

本发明公开了组播流控方法、系统及现场可编程门阵列。方法包括:入接口板为每个出接口板设置一个单播队列,且单独设置一个组播队列,入接口板将接收到的组播报文缓存到组播队列;入接口板对组播队列和所有出接口板的单播队列进行轮询,若轮询结果为组播报文,则在组播报文的出接口板中,选择具有可用带宽的出接口板,将组播报文发送给所选择的出接口板。本发明能够根据下行接口的带宽调整组播报文的出接口,提高了组播流控的性能。

Figure 200810118195

The invention discloses a multicast flow control method, system and field programmable gate array. The method includes: the inbound interface board sets a unicast queue for each outbound interface board, and sets up a multicast queue separately, and the inbound interface board buffers the received multicast message into the multicast queue; Polling with the unicast queues of all outgoing interface boards. If the polling result is a multicast message, select the outgoing interface board with available bandwidth among the outgoing interface boards of the multicast message, and send the multicast message to For the selected outgoing interface board. The invention can adjust the outgoing interface of the multicast message according to the bandwidth of the downlink interface, and improves the performance of the multicast flow control.

Figure 200810118195

Description

Multicast stream control method, system and field programmable gate array
Technical field
The present invention relates to technical field of multicast, be specifically related to multicast stream control method, system and field programmable gate array (FPGA, Field Programmable Gate Array).
Background technology
In the high-performance distributed equipment that adopts the switching network technology, need control the speed that incoming interface sends message by fluidics, guarantee that congestion packet loss does not take place switching network.
Fig. 1 is a repeater system model between the unicast message plate, and as shown in Figure 1, unicast message is sent from two incoming interface plate LPU_a and LPU_b, arrives outgoing interface plate LPU_c through switching network.Definition of data stream is the up stage from the incoming interface plate to switching network, and definition of data stream is the descending stage from switching network to the outgoing interface plate.Descending outgoing interface plate is given each up incoming interface plate with reference to the actual flow of each incoming interface plate with the outlet bandwidth fair allocat, and up incoming interface buttress sends to descending outgoing interface plate according to the bandwidth scheduling unicast message that is assigned to.This cover scheduling mechanism is realized by the FPGA in the interface board, what adopt is the up pattern of downlink drive, can avoid up transmitted traffic uncontrollably to give same descending outgoing interface plate, and it is congested to cause switching network to take place at this descending outgoing interface plate place, and then causes packet loss.
FPGA unicast schedule mode is as shown in Figure 2, and is specific as follows:
01: the FPGA of incoming interface plate divides a unicast queue for each outgoing interface plate in the packet buffer of this plate, each inner queue further is divided into a plurality of subqueues according to priority again.Simultaneously, FPGA is that each outgoing interface plate is safeguarded a token bucket, and the token number in the token bucket regularly increases progressively, and the token number that at every turn increases progressively is by the outlet bandwidth decision of outgoing interface plate.
When the outlet bandwidth of certain outgoing interface plate increased, this outgoing interface plate can notify each incoming interface plate to increase the token number that this outgoing interface plate corresponding token bucket regularly increases progressively; When the outlet bandwidth of certain outgoing interface plate reduced, this outgoing interface plate can notify each incoming interface plate to reduce the token number that this outgoing interface plate corresponding token bucket regularly increases progressively.
02: during uplink scheduling, the FPGA of incoming interface plate carries out poll according to outgoing interface plate sequence number between unicast queue, if in certain formation message is arranged, then further selects message based on priority between the subqueue of this formation.
The preferential message of selecting in the high priority subqueue if the high priority subqueue is empty, is then selected the message in the low priority subqueue.
03: before sending selecteed message, carry out the token assessment, when in the outgoing interface plate corresponding token bucket of message token being arranged, message is sent to switching network; Otherwise the message of discarded this selection continues the next formation of poll.
Switching network itself is supported multicast replication, and there is the Layer 2 Multicast table its inside, can message be copied to a plurality of outgoing interface plates based on multicast ID.Because multicast message will mail to a plurality of descending outgoing interface plates, therefore, can't determine bandwidth to multicast message by the bandwidth of an outgoing interface plate.At present, forwarding has three kinds of patterns between the multicast plate:
Pattern one:
During message, be responsible for multicast message is duplicated between up transmission multicast plate, many parts of messages after duplicating are distributed to different outgoing interface plates by switching network by CPU.
Pattern two:
Adopt the exchange chip of band Flow Control function, this class exchange chip integrates packet buffer, queue management, queue scheduling and switching network mostly.After multicast message is read, be duplicated into many parts from packet buffer, deliver to the different queue and the unicast message of queue management module according to the difference of outgoing interface plate and wait in line scheduling together, different outgoing interface plates is delivered to by switching network in the back that is scheduled.
Pattern three:
Adopt the switching network of supporting multicast replication.As shown in Figure 3, multicast message sends from incoming interface plate LPU_a, duplicates through switching network and sends to two outgoing interface plate LPU_b and LPU_c.Switching network under this pattern, its clean culture flow control algorithm is more complete, distribute by downlink bandwidth and to drive the scheduling of up unicast message, but because the corresponding a plurality of outgoing interface plates of multicast message, the pattern of downlink drive uplink scheduling can't be used, uplink assignment fixed-bandwidth and the auxiliary mode of considering descending remaining bandwidth can only be adopted.
Pattern one and pattern two are similar, all are to carry out multicast replication up, and switching network just plays the effect of message switching.Enter before the switching network because duplicate to occur in, a multicast message has become many parts when entering switching network, has increased the burden of switching network, and can't utilize the multicast replication function of switching network.The influence of internal storage access bottleneck when pattern one is subjected to the restriction of CPU disposal ability and copy packet in addition, performance is lower.
Three pairs of unicast messages of pattern have extraordinary fluid control effect, but because the downlink bandwidth operating position is a reference of multicasting schedule, the main uplink assignment fixed-bandwidth that leans on is given multicast message, the fluid control effect of multicast message is poor, may cause switching network because the internal buffer is overflowed packet loss, and cause having originally the unicast message of Flow Control also to be dropped.
Summary of the invention
The invention provides multicast stream control method, system and FPGA,, improve multicast Flow Control performance with in the distributed environment that adopts the switching network technology.
Technical scheme of the present invention is achieved in that
A kind of multicast stream control method is applied in the distributed environment that adopts the switching network technology, and the incoming interface plate is provided with a unicast queue for each outgoing interface plate, and the incoming interface plate is provided with a multicast queue separately, and this method comprises:
The incoming interface plate is cached to multicast queue with the multicast message that receives;
The incoming interface plate carries out poll to the unicast queue of multicast queue and all outgoing interface plates, if the poll result is a multicast message, then in the outgoing interface plate of multicast message, selects to have the outgoing interface plate of available bandwidth, and multicast message is sent to selected outgoing interface plate.
Described incoming interface plate is provided with a multicast queue separately and further comprises: for multicast queue and each unicast queue are provided with priority,
Described incoming interface plate is polled as the unicast queue of multicast queue and all outgoing interface plates: the incoming interface buttress is according to the priority of individual queue, and the unicast queue of multicast queue and all outgoing interface plates is carried out poll.
Describedly for multicast queue and each unicast queue are provided with priority be: the priority of multicast queue is set to the highest.
The incoming interface plate is provided with a token bucket for each outgoing interface plate in advance, and according to the token number in the outlet bandwidth adjustment token bucket of outgoing interface plate,
Described in the outgoing interface plate of multicast message, the outgoing interface plate of selecting to have available bandwidth is: judge respectively in the token bucket of each outgoing interface plate of multicast message whether token is arranged, if determine that this interface board has available bandwidth; Otherwise, determine that this interface board does not have available bandwidth.
Describedly multicast message sent to selected outgoing interface plate comprise:
The incoming interface plate is revised as selected outgoing interface plate information with the outgoing interface information in the multicast message, and multicast message is sent to switching network; Switching network is according to the outgoing interface plate information in the multicast message, and copy packet sends to each outgoing interface plate with message.
A kind of on-site programmable gate array FPGA is arranged in the distributed incoming interface plate that adopts the switching network technology, comprising:
Formation is provided with module, for each outgoing interface plate is provided with a unicast queue, simultaneously, a multicast queue is set separately;
Formation poll module, the unicast queue of poll multicast queue and each outgoing interface plate sends to the bandwidth evaluation module with the poll result;
The bandwidth evaluation module receives the poll result, if the poll result is a multicast message, in the outgoing interface plate of multicast message, selection has the outgoing interface plate of available bandwidth, and the outgoing interface information in the multicast message is revised as selected outgoing interface plate information, and multicast message is sent to switching network.
Described bandwidth evaluation module comprises:
Token bucket is provided with module, for each outgoing interface plate is provided with a token bucket;
The token adjusting module according to the outlet bandwidth of outgoing interface plate, adjusts the token number in the token bucket of interface board;
The token evaluation module, receive the poll result, if the poll result is a multicast message, each the outgoing interface plate to multicast message carries out the token assessment respectively, the outgoing interface information of multicast message is revised as the outgoing interface plate information that assessment is passed through, multicast message is sent to switching network.
Described FPGA further comprises: priority is provided with module, for multicast queue and each unicast queue are provided with priority,
And described formation poll module is according to the priority of individual queue, the unicast queue of poll multicast queue and each outgoing interface plate.
A kind of multicast flow control system comprises: at least one incoming interface plate, switching network and at least one outgoing interface plate, wherein,
The incoming interface plate is provided with a unicast queue for each outgoing interface plate in local cache, and a multicast queue is set separately, and the multicast message that receives is cached to multicast queue; Unicast queue to multicast queue and all outgoing interface plates carries out poll, if the poll result is a multicast message, then in the outgoing interface plate of multicast message, selection has the outgoing interface plate of available bandwidth, outgoing interface information in the multicast message is revised as selected outgoing interface plate information, and multicast message is sent to switching network;
Switching network, the receiving group message, the outgoing interface plate information reproduction message according in the multicast message sends to each outgoing interface plate with message.
Compared with prior art, among the present invention, the incoming interface plate is provided with a unicast queue for each outgoing interface plate, simultaneously, for multicast message is provided with a multicast queue separately, the multicast message that receives is cached to multicast queue; The incoming interface plate carries out poll to the unicast queue of multicast queue and all outgoing interface plates, if the poll result is a multicast message, then in the outgoing interface plate of multicast message, selects to have the outgoing interface plate of available bandwidth, and multicast message is sent to selected outgoing interface plate.The present invention makes the same scheduling of accepting the downlink bandwidth distribution with unicast message of multicast message, can be according to the outlet bandwidth of downstream interface, adjust the outgoing interface of multicast message, guaranteed that congestion packet loss does not take place for switching network and descending outgoing interface, has improved the performance of multicast Flow Control.
In addition, the present invention does not carry out multicast replication up, and carries out multicast replication at switching network, has utilized the Multicast Replication Capability of switching network, and has saved upstream bandwidth.
Description of drawings
Fig. 1 is a repeater system illustraton of model between existing unicast message plate;
Fig. 2 is existing FPGA unicast schedule schematic diagram;
Fig. 3 is a repeater system illustraton of model between existing multicast message plate;
The flow chart that in the distributed environment that adopts the switching network technology, carries out the multicast Flow Control that Fig. 4 provides for the embodiment of the invention;
Transmit schematic diagram between clean culture that Fig. 5 provides for the embodiment of the invention and multicast message plate;
Fig. 6 becomes schematic diagram for the multicast Flow Control set of systems that the embodiment of the invention provides;
The structural representation of the FPGA of the incoming interface plate that Fig. 7 provides for the embodiment of the invention.
Embodiment
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
The flow chart that in the distributed environment that adopts the switching network technology, carries out the multicast Flow Control that Fig. 4 provides for the embodiment of the invention, as shown in Figure 4, its concrete steps are as follows:
Step 401: the FPGA of each incoming interface plate for each outgoing interface plate is provided with a unicast queue, simultaneously, is provided with a multicast queue for multicast message separately in the packet buffer of this plate in the packet buffer of this plate.
Each unicast queue inside can further be divided into a plurality of subqueues according to priority.
Because the outgoing interface plate of multicast message can't pre-determine, and therefore, a multicast queue is set separately in the buffer memory of message.
Step 402: the FPGA of incoming interface plate is that each outgoing interface plate is safeguarded a token bucket, and the token number in the token bucket regularly increases progressively, and the number that at every turn increases progressively is by the outlet bandwidth decision of outgoing interface plate.
This step 402 safeguards that with the token bucket in the existing unicast schedule mode step is identical.
Step 403:FPGA is cached to multicast message in the multicast queue from CPU receiving group message.
Step 404: uplink scheduling begins, and FPGA carries out poll to the unicast queue of multicast queue and all outgoing interface plates.
Step 405: judge that the poll result is unicast message or multicast message, if unicast message, execution in step 406; If multicast message, execution in step 407.
Step 406:FPGA adopts existing unicast schedule mode to handle this unicast message, and this flow process finishes.
Step 407:FPGA extracts the multicast ID in the multicast message.
Step 408:FPGA carries out the token assessment one by one to each outgoing interface plate of multicast ID correspondence, judges in the token bucket of each outgoing interface plate whether token is arranged that is:, and FPGA records the outgoing interface plate sequence number of the token bucket correspondence of token.
Step 409:FPGA revises the multicast ID in the multicast message according to the outgoing interface plate sequence number of record, and multicast message is sent to switching network.
For example: suppose that a multicast message is ready for sending outgoing interface plate 0,2 and 5, then the multicast ID in the multicast message is b00100101, after process FPGA carries out the token bucket assessment, cause this outgoing interface plate assessment not passed through because do not have token in the outgoing interface plate 2 corresponding token buckets, the multicast ID that then revises in the multicast message is b00100001, thereby switching network only can duplicate multicast message and provide interface board 0 and 5.
Step 410: switching network receiving group message, the multicast ID in the analytic message obtains each outgoing interface plate sequence number, according to this outgoing interface plate sequence number copy packet, then each message is mail to each outgoing interface plate respectively.
The outgoing interface plate that the token assessment is not passed through can not receive this multicast message, because assessment is not depleted to the bandwidth of this outgoing interface plate by in fact representing the incoming interface plate, it also is acceptable that abandoning of multicast message taken place.
Transmit schematic diagram between clean culture that Fig. 5 provides for the embodiment of the invention and multicast message plate, as shown in Figure 5, multicast queue is independent of outside the unicast queue of all outgoing interface plates, the corresponding token bucket of each outgoing interface plate, poll carries out between multicast queue and all unicast queues, if the poll result is a multicast message, then can carry out the token assessment to the outgoing interface plate of multicast message one by one, so that only multicast message is sent to the outgoing interface plate that assessment is passed through.
In the application scenario that has, may wish the priority treatment multicast message, at this moment, polling mode can be revised as strict priority+polling mode, be multicast queue and each unicast queue priority is set, and be provided with the priority of multicast queue the highest, when poll, according to the priority of individual queue, but,, multicast message is admitted to switching network thereby just having more opportunity with regard to the priority scheduling multicast queue.
Fig. 6 becomes schematic diagram for the multicast Flow Control set of systems that the embodiment of the invention provides, and as shown in Figure 6, it mainly comprises: at least oneincoming interface plate 61, switchingnetwork 62 and at least oneoutgoing interface plate 63, m among the figure is the number of incoming interface plate, and n is the number of outgoing interface plate, and m 〉=1, n 〉=1, wherein:
Incoming interface plate 61: in the packet buffer of this plate,, simultaneously, in the packet buffer of this plate, for multicast message a multicast queue is set separately for each outgoing interface plate is provided with a unicast queue; Safeguard a token bucket for each outgoing interface plate, the token number in the token bucket regularly increases progressively according to the outlet bandwidth of outgoing interface plate, and the multicast message that receives is cached in the multicast queue; Uplink scheduling begins, unicast queue to multicast queue and all outgoing interface plates carries out poll, if the poll result is a multicast message, extract the multicast ID in the multicast message, each outgoing interface plate to multicast ID correspondence carries out the token assessment one by one, the outgoing interface plate sequence number of passing through according to assessment is revised the multicast ID in the multicast message, and multicast message is sent to switchingnetwork 62.
Switching network 62: the receiving group message, the multicast ID in the analytic message obtains each outgoing interface plate sequence number, according to this outgoing interface plate sequence number copy packet, then each message is mail to each outgoing interface plate respectively.
The structural representation of the FPGA of the incoming interface plate that Fig. 7 provides for the embodiment of the invention, as shown in Figure 7, it mainly comprises: formation is provided withmodule 71, token bucket is provided withmodule 72,token adjusting module 73,formation poll module 74 andtoken evaluation module 75, wherein:
Formation is provided with module 71: in the packet buffer of this plate, for each outgoing interface plate is provided with a unicast queue, simultaneously, in the packet buffer of this plate, for multicast message a multicast queue is set separately.
Token bucket is provided with module 72: for each outgoing interface plate is safeguarded a token bucket.
Token adjusting module 73:, regularly adjust the token number in the token bucket of interface board according to the outlet bandwidth of each outgoing interface plate.
Formation poll module 74: uplink scheduling begins, and the unicast queue of multicast queue and all outgoing interface plates is carried out poll, and the poll result is sent totoken evaluation module 75.
Token evaluation module 75: receive the poll result thatformation poll module 74 is sent, if the poll result is a multicast message, extract the multicast ID in the multicast message, each outgoing interface plate to multicast ID correspondence carries out the token assessment one by one, the outgoing interface plate sequence number of passing through according to assessment is revised the multicast ID in the multicast message, and multicast message is sent to switching network.
Token bucket is provided withmodule 72,token adjusting module 73,token evaluation module 75 is collectively referred to as the bandwidth evaluation module.
In actual applications, FPGA also can comprise: priority is provided with module, is used to multicast queue and each unicast queue that priority is set, as: the priority of multicast queue can be provided with the highest.
Simultaneously,formation poll module 74 according to the priority of individual queue, is carried out poll to the unicast queue of multicast queue and all outgoing interface plates when uplink scheduling begins.
The above only is process of the present invention and method embodiment, in order to restriction the present invention, all any modifications of being made within the spirit and principles in the present invention, is not equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (7)

Translated fromChinese
1.一种组播流控方法,应用在采用交换网技术的分布式环境中,入接口板为每个出接口板设置一个单播队列,其特征在于,入接口板单独设置一个组播队列,入接口板预先为每个出接口板设置一个令牌桶,且根据出接口板的出口带宽调整令牌桶中的令牌数,该方法包括:1. A multicast flow control method, applied in a distributed environment using switching network technology, the ingress interface board is provided with a unicast queue for each outbound interface board, and it is characterized in that the ingress interface board is independently provided with a multicast queue , the incoming interface board pre-sets a token bucket for each outgoing interface board, and adjusts the number of tokens in the token bucket according to the egress bandwidth of the outgoing interface board. The method includes:入接口板将接收到的组播报文缓存到组播队列;The incoming interface board buffers the received multicast packets into the multicast queue;入接口板对组播队列和所有出接口板的单播队列进行轮询,若轮询结果为组播报文,则在组播报文的出接口板中,选择具有可用带宽的出接口板,将组播报文发送给所选择的出接口板,The incoming interface board polls the multicast queue and the unicast queues of all outgoing interface boards. If the polling result is a multicast packet, it selects the outgoing interface board with available bandwidth among the outgoing interface boards of the multicast packet. , to send the multicast packet to the selected outgoing interface board,其中,所述在组播报文的出接口板中,选择具有可用带宽的出接口板为:分别判断组播报文的各出接口板的令牌桶中是否有令牌,若是,确定该接口板具有可用带宽;否则,确定该接口板不具有可用带宽。Wherein, in the outgoing interface boards of the multicast messages, selecting the outgoing interface boards with available bandwidth is: respectively judging whether there is a token in the token buckets of each outgoing interface boards of the multicast messages, and if so, determining the The interface board has available bandwidth; otherwise, it is determined that the interface board does not have available bandwidth.2.如权利要求1所述的方法,其特征在于,所述入接口板单独设置一个组播队列进一步包括:为组播队列和各单播队列设置优先级,2. The method according to claim 1, characterized in that, setting a multicast queue separately on the ingress interface board further comprises: setting priorities for the multicast queue and each unicast queue,所述入接口板对组播队列和所有出接口板的单播队列进行轮询为:入接口板根据各队列的优先级,对组播队列和所有出接口板的单播队列进行轮询。The inbound interface board polls the multicast queue and the unicast queues of all the outbound interface boards as follows: the inbound interface board polls the multicast queue and the unicast queues of all the outbound interface boards according to the priority of each queue.3.如权利要求2所述的方法,其特征在于,所述为组播队列和各单播队列设置优先级为:将组播队列的优先级设置为最高。3. The method according to claim 2, wherein said setting the priority for the multicast queue and each unicast queue is: setting the priority of the multicast queue to be the highest.4.如权利要求1至3任一所述的方法,其特征在于,所述将组播报文发送给所选择的出接口板包括:4. The method according to any one of claims 1 to 3, wherein the sending of the multicast message to the selected outgoing interface board comprises:入接口板将组播报文中的出接口信息修改为所选择的出接口板信息,并将组播报文发送给交换网;交换网根据组播报文中的出接口板信息,复制报文,将报文发送给各出接口板。The inbound interface board modifies the outbound interface information in the multicast message to the selected outbound interface board information, and sends the multicast message to the switching network; the switching network copies the message according to the outbound interface board information in the multicast message, and sends the message to Send the file to each outgoing interface board.5.一种现场可编程门阵列FPGA,位于采用交换网技术的分布式入接口板中,其特征在于,包括:队列设置模块、队列轮询模块和带宽评估模块,其中:5. A Field Programmable Gate Array FPGA, located in the distributed access interface board that adopts switching network technology, is characterized in that, comprising: a queue setting module, a queue polling module and a bandwidth evaluation module, wherein:队列设置模块,为每个出接口板设置一个单播队列,同时,单独设置一个组播队列;The queue setting module sets a unicast queue for each outgoing interface board, and simultaneously sets a multicast queue separately;队列轮询模块,轮询组播队列和各出接口板的单播队列,将轮询结果发送给带宽评估模块;The queue polling module polls the multicast queue and the unicast queue of each outgoing interface board, and sends the polling result to the bandwidth evaluation module;带宽评估模块包括:令牌桶设置模块、令牌调整模块和令牌评估模块,其中:The bandwidth evaluation module includes: a token bucket setting module, a token adjustment module and a token evaluation module, wherein:令牌桶设置模块,为每个出接口板设置一个令牌桶;The token bucket setting module sets a token bucket for each outgoing interface board;令牌调整模块,根据出接口板的出口带宽,调整出接口板的令牌桶中的令牌数;The token adjustment module adjusts the number of tokens in the token bucket of the outgoing interface board according to the outgoing bandwidth of the outgoing interface board;令牌评估模块,接收轮询结果,若轮询结果为组播报文,分别对组播报文的各出接口板进行令牌评估,将组播报文的出接口信息修改为评估通过的出接口板信息,将组播报文发送给交换网。The token evaluation module receives the polling result, and if the polling result is a multicast message, performs token evaluation on each outgoing interface board of the multicast message respectively, and modifies the outgoing interface information of the multicast message to pass the evaluation Outbound interface board information, and send multicast packets to the switching network.6.如权利要求5所述的FPGA,其特征在于,所述FPGA进一步包括:优先级设置模块,为组播队列和各单播队列设置优先级,6. FPGA as claimed in claim 5, is characterized in that, described FPGA further comprises: Priority setting module, for multicast queue and each unicast queue setting priority,且,所述队列轮询模块根据各队列的优先级,轮询组播队列和各出接口板的单播队列。Moreover, the queue polling module polls the multicast queue and the unicast queue of each outgoing interface board according to the priority of each queue.7.一种组播流控系统,其特征在于,包括:至少一个入接口板、交换网和至少一个出接口板,其中,7. A multicast flow control system, characterized in that it comprises: at least one incoming interface board, a switching network and at least one outgoing interface board, wherein,入接口板,在本地缓存中为每个出接口板设置一个单播队列,并单独设置一个组播队列,为每个出接口板设置一个令牌桶,且根据出接口板的出口带宽调整令牌桶中的令牌数,将接收到的组播报文缓存到组播队列;对组播队列和所有出接口板的单播队列进行轮询,若轮询结果为组播报文,则在组播报文的出接口板中,选择具有可用带宽的出接口板,将组播报文中的出接口信息修改为所选择的出接口板信息,并将组播报文发送给交换网,其中,所述在组播报文的出接口板中,选择具有可用带宽的出接口板为:分别判断组播报文的各出接口板的令牌桶中是否有令牌,若是,确定该接口板具有可用带宽;否则,确定该接口板不具有可用带宽;Incoming interface boards, set a unicast queue for each outgoing interface board in the local cache, and set up a multicast queue separately, set a token bucket for each outgoing interface board, and adjust the bandwidth according to the egress bandwidth of the outgoing interface board The number of tokens in the card barrel, cache the received multicast message to the multicast queue; poll the multicast queue and the unicast queue of all outgoing interface boards, if the polling result is a multicast message, then In the outgoing interface board of the multicast message, select the outgoing interface board with available bandwidth, modify the outgoing interface information in the multicast message to the information of the selected outgoing interface board, and send the multicast message to the switching network, where , among the outgoing interface boards of the multicast message, the selection of the outgoing interface board with available bandwidth is as follows: respectively judge whether there is a token in the token bucket of each outgoing interface board of the multicast message, and if so, determine the interface The board has available bandwidth; otherwise, it is determined that the interface board does not have available bandwidth;交换网,接收组播报文,根据组播报文中的出接口板信息复制报文,将报文发送给各出接口板。The switching network receives the multicast message, copies the message according to the outbound interface board information in the multicast message, and sends the message to each outbound interface board.
CN2008101181954A2008-08-142008-08-14 Multicast flow control method, system and field programmable gate arrayActiveCN101340393B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN2008101181954ACN101340393B (en)2008-08-142008-08-14 Multicast flow control method, system and field programmable gate array

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN2008101181954ACN101340393B (en)2008-08-142008-08-14 Multicast flow control method, system and field programmable gate array

Publications (2)

Publication NumberPublication Date
CN101340393A CN101340393A (en)2009-01-07
CN101340393Btrue CN101340393B (en)2010-12-08

Family

ID=40214347

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN2008101181954AActiveCN101340393B (en)2008-08-142008-08-14 Multicast flow control method, system and field programmable gate array

Country Status (1)

CountryLink
CN (1)CN101340393B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101938406B (en)*2009-07-022012-07-04华为技术有限公司Method and device for microwave multichannel message transmission and transmission system thereof
CN102164067B (en)2010-02-202013-11-06华为技术有限公司Switch fabric traffic control realization method, switch equipment and system
CN104660521B (en)*2013-11-202019-03-05华为技术有限公司A kind of method and apparatus of flux of multicast control
CN105024942B (en)*2015-05-292018-05-08桂林电子科技大学A kind of dynamic flow monitoring method
CN111131095B (en)*2019-12-242021-08-24杭州迪普科技股份有限公司Message forwarding method and device
CN111884942A (en)*2020-08-032020-11-03航天宏图信息技术股份有限公司Multicast data transmission method, device, receiving host and multicast system
CN113067778B (en)*2021-06-042021-09-17新华三半导体技术有限公司Flow management method and flow management chip
CN116137613A (en)*2021-11-172023-05-19中兴终端有限公司Data scheduling method, system, device and computer readable storage medium
CN115460152A (en)*2022-04-222022-12-09篆芯半导体(南京)有限公司 Method, system, storage medium and electronic device for controlling multicast message
CN115914108B (en)*2022-11-152025-01-24新华三半导体技术有限公司 A flow control method, device and forwarding chip

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP1052804A2 (en)*1999-05-142000-11-15Nortel Networks LimitedMulticast and unicast scheduling for a network device
CN1353903A (en)*1999-06-072002-06-12高通股份有限公司Establishing a packet network call between a mobile terminal device and an interworking function
CN1638361A (en)*2003-12-312005-07-13阿尔卡特公司Parallel data link layer controllers in a network switching device
CN1883158A (en)*2003-12-302006-12-20思科技术公司Apparatus and method for improved fibre channel oversubscription over transport

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP1052804A2 (en)*1999-05-142000-11-15Nortel Networks LimitedMulticast and unicast scheduling for a network device
CN1353903A (en)*1999-06-072002-06-12高通股份有限公司Establishing a packet network call between a mobile terminal device and an interworking function
CN1883158A (en)*2003-12-302006-12-20思科技术公司Apparatus and method for improved fibre channel oversubscription over transport
CN1638361A (en)*2003-12-312005-07-13阿尔卡特公司Parallel data link layer controllers in a network switching device

Also Published As

Publication numberPublication date
CN101340393A (en)2009-01-07

Similar Documents

PublicationPublication DateTitle
CN101340393B (en) Multicast flow control method, system and field programmable gate array
CN101873255B (en)Dynamic buffering and synchronization of related media streams in packet networks
US7027457B1 (en)Method and apparatus for providing differentiated Quality-of-Service guarantees in scalable packet switches
CN110493145A (en)A kind of caching method and device
CN104885420B (en)Method, system and medium for managing multiple packets
CN101272345B (en)Method, system and device for controlling data flux
EP2378721B1 (en)Bandwidth allocation method and routing apparatus
CN101127686A (en) A network data processing method and device
US8174987B2 (en)Method and apparatus for implementing output queue-based flow control
CN103379038B (en)A kind of device and method of flow scheduling
CN101471854A (en)Method and device for forwarding message
CN101621460A (en)Packet scheduling method and device
CN102111327B (en)Method and system for cell dispatching
WO2012116655A1 (en)Exchange unit chip, router and method for sending cell information
CN101515889B (en) Method and device for copying and processing multicast message
CN111917664A (en) A queue management method and system
WO2010115360A1 (en)Method and equipment for data exchange
EP1744557A1 (en)Method and device for shaping the service flow transmitted in network
WO2012116540A1 (en)Traffic management method and management device
CN101599905A (en) A method, device and system for implementing traffic shaping token addition
CN100571195C (en) Multi-port Ethernet switching device and data transmission method
JP2008136206A (en) Predictive scheduling method for data path control
CN101808037B (en)Method and device for traffic management in switch network
CN102333026A (en)Message forwarding method and device
CN108234350A (en)A kind of dispatching method and customer premises equipment

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
CP03Change of name, title or address
CP03Change of name, title or address

Address after:310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after:NEW H3C TECHNOLOGIES Co.,Ltd.

Address before:310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before:HANGZHOU H3C TECHNOLOGIES Co.,Ltd.

TR01Transfer of patent right
TR01Transfer of patent right

Effective date of registration:20230812

Address after:24th Floor, Block B, Zhizhen Building, No. 7 Zhichun Road, Haidian District, Beijing, 100088

Patentee after:Beijing Ziguang Communication Technology Group Co.,Ltd.

Address before:310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before:NEW H3C TECHNOLOGIES Co.,Ltd.

TR01Transfer of patent right
TR01Transfer of patent right

Effective date of registration:20241127

Address after:Room 867, Building B, Lingang High tech Industrial Park, Yongji Avenue, Hunan Chenglingji New Port Area, Yueyang City, Hunan Province 414000

Patentee after:Ziguang Communication Technology (Yueyang) Co.,Ltd.

Country or region after:China

Address before:24th Floor, Block B, Zhizhen Building, No. 7 Zhichun Road, Haidian District, Beijing, 100088

Patentee before:Beijing Ziguang Communication Technology Group Co.,Ltd.

Country or region before:China


[8]ページ先頭

©2009-2025 Movatter.jp