[go: up one dir, main page]

TWI385981B - Network package transmission apparatus and sequence method thereof - Google Patents

Network package transmission apparatus and sequence method thereof Download PDF

Info

Publication number
TWI385981B
TWI385981B TW98116021A TW98116021A TWI385981B TW I385981 B TWI385981 B TW I385981B TW 98116021 A TW98116021 A TW 98116021A TW 98116021 A TW98116021 A TW 98116021A TW I385981 B TWI385981 B TW I385981B
Authority
TW
Taiwan
Prior art keywords
packet
buffer
strict
packets
delivery
Prior art date
Application number
TW98116021A
Other languages
Chinese (zh)
Other versions
TW201041342A (en
Inventor
Kuang Yu Shih
Original Assignee
Ic Plus Corp
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 Ic Plus Corp filed Critical Ic Plus Corp
Priority to TW98116021A priority Critical patent/TWI385981B/en
Publication of TW201041342A publication Critical patent/TW201041342A/en
Application granted granted Critical
Publication of TWI385981B publication Critical patent/TWI385981B/en

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

網路封包的傳遞裝置及其排程方法Network packet transmission device and scheduling method thereof

本發明是有關於一種網路封包的傳遞裝置及其排程方法。The invention relates to a network packet transmission device and a scheduling method thereof.

隨著資訊時代的來臨,網際網路成為人們生活中不可獲缺的工具。而在複雜的網路系統中,為了可以有效的傳送由四面八方相互傳遞的封包,則須要建構所謂的網路伺服器或網路交換器來管控網路間的封包流向。With the advent of the information age, the Internet has become an indispensable tool in people's lives. In a complex network system, in order to effectively transmit packets transmitted from all sides, a so-called network server or network switch needs to be constructed to control the flow of packets between networks.

在習知的網路伺服器或網路交換器中,用來作進行封包傳遞的排程的方法包括有加權循環(Weighted Round Robin,WRR)、加權平衡佇列(Weighted Fair Queue,WFQ)、嚴格優先次序(Strict Priority,SP)及調度加權循環(Deficit Weighted Round Robin,DWRR)等方法。其中,使用嚴格優先次序的嚴格佇列緩衝區中若有封包等待被傳遞時,則使用其他排程方法的非嚴格佇列緩衝區中的封包就無法傳送。此時網路伺服器或網路交換器將會把嚴格佇列緩衝區中的所有封包傳遞出去,並直至嚴格佇列緩衝區中的所有封包都被傳遞結束後。In a conventional network server or network switch, a method for scheduling a packet transfer includes a Weighted Round Robin (WRR), a Weighted Fair Queue (WFQ), Strict Priority (SP) and Deficit Weighted Round Robin (DWRR). In the strict queue buffer using strict priority, if there are packets waiting to be delivered, the packets in the non-strict queue buffer using other scheduling methods cannot be transmitted. At this point, the network server or network switch will pass all the packets in the strict queue buffer until all the packets in the strict buffer are delivered.

由上述的說明可以得知,在習知的網路伺服器或網路交換器中,一旦嚴格佇列緩衝區中一直被傳遞進來,這樣網路伺服器或網路交換器就會處於一直在傳遞嚴格佇列緩衝區中的封包的狀態。而此時暫存在非嚴格佇列緩衝區中的封包將長時間的被擱置在非嚴格佇列緩衝區中,而不會被傳遞出去。如此將會使整個網路的封包傳送出現問題。It can be known from the above description that in a conventional network server or network switch, once the strict buffer is always transmitted, the network server or the network switch is always in the Pass the state of the packets in the strict queue buffer. At this time, the packet temporarily stored in the non-strict queue buffer will be put in the non-strict queue buffer for a long time and will not be delivered. This will cause problems with packet transmission throughout the network.

本發明提供一種封包傳遞的排程方法,有效避免非嚴格佇列緩衝區的封包的傳遞被嚴重的延遲。The invention provides a scheduling method for packet delivery, which effectively avoids the serious delay of the transmission of packets of non-strict queue buffers.

本發明提供一種網路封包的傳遞裝置,有效避免非嚴格佇列緩衝區的封包的傳遞被嚴重的延遲。The present invention provides a network packet delivery device that effectively avoids the transmission of packets that are not strictly queued buffers from being severely delayed.

本發明提出一種封包傳遞的排程方法,適用於網路裝置的傳輸埠,其中,傳輸埠配置至少一嚴格佇列緩衝區及多數個非嚴格佇列緩衝區,包括:首先,計數傳遞至嚴格佇列緩衝區的封包位元組數目,並藉以獲得封包位元組累計數。比較封包位元組累計數及封包位元組數臨界值並獲得比較結果。最後依據比較結果來決定傳送嚴格佇列緩衝區封包或非嚴格佇列緩衝區中的封包。The invention provides a scheduling method for packet transmission, which is suitable for transmission of a network device, wherein the transmission port is configured with at least one strict buffer and a plurality of non-strict buffer buffers, including: first, the count is transmitted to the strict The number of packet bytes in the buffer is buffered to obtain the cumulative number of packet bytes. Compare the accumulated number of packet bytes and the threshold value of the number of packet bytes and obtain the comparison result. Finally, based on the comparison result, it is decided to transmit the packets in the strict buffer buffer or the non-strict buffer buffer.

在本發明之一實施例中,當比較結果為封包位元組累計數小於封包位元組數臨界值時,傳遞非嚴格佇列緩衝區中的封包。In an embodiment of the present invention, when the comparison result is that the accumulated number of packet bytes is less than the threshold value of the number of packet bytes, the packet in the non-strict queue buffer is delivered.

在本發明之一實施例中,其中傳遞非嚴格佇列緩衝區中的封包的方法包括加權循環法(weighted round robin)、加權平衡佇列法(weighted fair queue)或調度加權循環法(deficit weighted round robin)。In an embodiment of the present invention, the method of transmitting a packet in a non-strict queue buffer includes a weighted round robin, a weighted fair queue, or a deductive weighted method. Round robin).

在本發明之一實施例中,上述之封包傳遞的排程方法,其中當比較結果為封包位元組累計數大於等於封包位元組數臨界值時,傳遞嚴格佇列緩衝區中的所有封包。In an embodiment of the present invention, the foregoing packet delivery scheduling method, wherein when the comparison result is that the accumulated number of packet bytes is greater than or equal to the threshold value of the number of packet bytes, all packets in the strict buffer are transmitted. .

在本發明之一實施例中,上述之封包傳遞的排程方法,其中傳遞嚴格佇列緩衝區中的封包的方法為嚴格優先次序法(strict priority)。In an embodiment of the present invention, the above-described packet delivery method, wherein the method of transmitting the packets in the strict buffer is a strict priority.

在本發明之一實施例中,上述之封包傳遞的排程方法,其中嚴格佇列緩衝區中的所有封包必須在傳遞臨界時間內全部傳出,傳遞臨界時間等於封包位元組數臨界值乘上封包位元組的單位傳遞時間。In an embodiment of the present invention, the foregoing scheduling method for packet delivery, wherein all packets in the strict buffer must be all transmitted within a critical time of transmission, and the critical time of transmission is equal to the threshold value of the number of packets. The unit delivery time of the upper packet byte.

本發明提出一種網路封包的傳遞裝置,包括至少一傳輸埠、至少一嚴格佇列緩衝區、至少一延遲計數器、多數個非嚴格佇列緩衝區以及排程器。其中,傳輸埠耦接嚴格佇列緩衝區。延遲計數器耦接嚴格佇列緩衝區,用以計數傳遞至嚴格佇列緩衝區的封包位元組數並藉以獲得封包位元組累計數。非嚴格佇列緩衝區耦接傳輸埠,排程器則耦接傳輸埠、嚴格佇列緩衝區、延遲計數器及非嚴格佇列緩衝區。排程器依據比較封包位元組累計數及封包位元組數臨界值的比較結果來決定傳送嚴格佇列緩衝區封包或非嚴格佇列緩衝區中的封包。The invention provides a network packet transmission device, comprising at least one transmission port, at least one strict queue buffer, at least one delay counter, a plurality of non-strict queue buffers and a scheduler. The transmission port is coupled to a strict buffer. The delay counter is coupled to the strict buffer buffer to count the number of packet bytes passed to the strict buffer and obtain the accumulated number of packet bytes. The non-strict queue buffer is coupled to the transport, and the scheduler is coupled to the transport port, the strict buffer, the delay counter, and the non-strict queue buffer. The scheduler decides to transmit the packets in the strict buffer buffer packet or the non-strict queue buffer according to the comparison result of the comparison packet byte accumulation number and the packet byte group threshold value.

基於上述,本發明利用設置延遲計數器來計數封包位元組累計數,並藉由設定好的封包位元組數臨界值與封包位元組累計數進行比較來判別傳遞非嚴格佇列緩衝區或嚴格佇列緩衝區中的封包。使得所有的封包都可以有效率的被傳送出去,並不會發生只有嚴格佇列緩衝區中的封包能被傳送的問題。此外,封包位元組數臨界值可以動態的被程式化,達到動態調整傳遞臨界時間的功能。Based on the above, the present invention uses a set delay counter to count the accumulated number of packet bytes, and compares the threshold value of the set number of packet bytes with the accumulated number of packet bytes to discriminate the transmission of the non-strict queue buffer or Strictly queue the packets in the buffer. This allows all packets to be efficiently transmitted without the problem that only packets in the strict buffer can be transmitted. In addition, the threshold value of the packet byte number can be dynamically programmed to dynamically adjust the transfer critical time.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the present invention will be more apparent from the following description.

圖1繪示本發明的一實施例的封包傳遞的排程方法的流程圖。其中的步驟包括:首先,設定傳遞臨界時間(步驟S110),這個設定傳遞臨界時間可以利用程式化的方式來完成。並且,傳遞臨界時間也可以動態的透過程式化的方式來做變更,並非必須永遠固定。FIG. 1 is a flow chart of a scheduling method for packet delivery according to an embodiment of the present invention. The steps include: first, setting a delivery critical time (step S110), which can be accomplished in a stylized manner. Moreover, the delivery critical time can also be dynamically changed through a stylized way, and does not have to be fixed forever.

接著,則接收傳送過來的封包,並檢查這個封包是否是要傳遞至嚴格佇列緩衝區的(步驟S120)。若是,則將此封包傳遞至嚴格佇列緩衝區中,並接著執行步驟S140。相反的,若封包並非要傳遞至嚴格佇列緩衝區中,則將比封包傳送至非嚴格佇列緩衝區,並依據非嚴格佇列緩衝區傳遞封包的排程方式將所儲存的封包依序傳遞出去(步驟S130)。在此,非嚴格佇列緩衝區傳遞封包的排程方式包括有加權循環法、加權平衡佇列法或調度加權循環法等。Next, the transmitted packet is received, and it is checked whether the packet is to be delivered to the strict queue buffer (step S120). If so, the packet is passed to the strict queue buffer, and then step S140 is performed. Conversely, if the packet is not to be passed to the strict queue buffer, the packet will be transferred to the non-strict queue buffer, and the stored packets will be ordered according to the schedule of the non-strict queue buffer delivery packet. Passed out (step S130). Here, the scheduling manner of the non-strict buffer buffer delivery packet includes a weighted round robin method, a weighted balanced queue method, or a scheduling weighted round robin method.

延續上述的步驟S120,若是這個封包是要傳遞至嚴格佇列緩衝區的,則累加封包 位元組累計數(步驟S140)。這個封包位元組累計數是用來計數嚴格佇列緩衝區中的封包位元組數,換句話說,當嚴格佇列緩衝區中的封包被全部傳遞出去時,這個封包位元組累計數可以被重置為“0”。Continuing the above step S120, if the packet is to be delivered to the strict buffer, the accumulated number of packets is accumulated (step S140). The packet byte accumulation number is used to count the number of packet bytes in the strict buffer. In other words, when the packets in the strict buffer are all passed out, the total number of packets is accumulated. Can be reset to "0".

當封包位元組累計數發生變動時,則執行判斷封包位元組累計數與封包位元組臨界值的大小。當判斷出封包位元組累計數大於等於封包位元組臨界值時,表示嚴格佇列緩衝區中已經存滿足夠的封包而必須傳送,因此,執行步驟S160以傳送嚴格佇列緩衝區中的所有封包。相反的,若是當判斷出封包位元組累計數小於封包位元組臨界值時,表示嚴格佇列緩衝區中的封包尚不需要立刻被傳出。當然,由於此時的嚴格佇列緩衝區中的封包並未被傳出,因此在此空檔期間,非嚴格佇列緩衝區中的封包則可以進行傳輸的動作。When the accumulated number of packet bytes changes, the size of the accumulated number of packet bytes and the critical value of the packet byte are determined. When it is determined that the accumulated number of packet bytes is greater than or equal to the threshold value of the packet byte, it indicates that a sufficient buffer is already filled in the strict buffer and must be transmitted. Therefore, step S160 is performed to transmit the buffer in the strict buffer. All packets. Conversely, if it is determined that the accumulated number of packet bytes is less than the threshold value of the packet byte, it means that the packet in the strict buffer is not required to be transmitted immediately. Of course, since the packets in the strict queue buffer are not transmitted at this time, the packets in the non-strict queue buffer can be transmitted during this gap.

在此,所謂的封包位元組臨界值是預先設定好的,而這個封包位元組臨界值可以藉由步驟S110中程式化的封包位元組數臨界值乘上一個的封包位元組進行傳遞所需要消耗的單位傳遞時間來獲得。舉個例子來說,在兆赫(Giga Hz)的封包傳遞速度下,一個位元組封包需要8奈秒(nano second,ns)的單位傳遞時間。若是使用者需要設定8000ns的傳遞臨界時間,則封包位元組數臨界值必需被程式化為8000/8=1000。Here, the so-called packet byte threshold is preset, and the packet byte threshold can be multiplied by the previous packet byte by the threshold value of the programmed packet byte in step S110. The unit delivery time required to pass is obtained. For example, at a Giga Hz packet transfer speed, a byte packet requires a unit transfer time of nanoseconds (ns). If the user needs to set a delivery critical time of 8000 ns, the threshold value of the number of packet bytes must be programmed to be 8000/8=1000.

以下請參照圖2A,圖2A繪示本發明的一實施例的網路封包的傳遞裝置200的示意圖。其中的網路封包的傳遞裝置200可以是網路伺服器或是網路交換器。網路封包的傳遞裝置200包括傳輸埠210、嚴格佇列緩衝區220~230、非嚴格佇列緩衝區240~260、排程器270以及延遲計數器281~282。其中,當有封包要藉由傳輸埠210傳送出去時,會先判斷各個封包所要暫存的緩衝區是為嚴格佇列緩衝區220~230或是為非嚴格佇列緩衝區240~260。若是該封包需被存至嚴格佇列緩衝區220,則嚴格佇列緩衝區220所對應耦接的延遲計數器281則會累加封包位元組累計數與封包位元組數,若是該封包需被存至嚴格佇列緩衝區230,則嚴格佇列緩衝區230所對應耦接的延遲計數器282則會累加封包位元組累計數與封包位元組數。Please refer to FIG. 2A. FIG. 2A is a schematic diagram of a network packet transmission apparatus 200 according to an embodiment of the present invention. The network packet delivery device 200 can be a network server or a network switch. The network packet delivery device 200 includes a transport port 210, a strict queue buffer 220-230, a non-strict queue buffer 240-260, a scheduler 270, and delay counters 281-282. When a packet is to be transmitted through the transport port 210, it is first determined whether the buffer to be temporarily stored in each packet is a strict buffer 220-230 or a non-strict buffer 240-260. If the packet needs to be stored in the strict buffer 220, the delay counter 281 correspondingly coupled to the buffer 220 will accumulate the accumulated number of packets and the number of packets, if the packet needs to be After being stored in the strict queue buffer 230, the delay counter 282 coupled to the strict buffer buffer 230 accumulates the accumulated number of packet bytes and the number of packet bytes.

而當嚴格佇列緩衝區220、230都未被存滿前,傳輸埠210所傳輸的封包順序290為暫存在非嚴格佇列緩衝區240~260中的封包(在圖2A的繪示中,分別以“0”、“1”、“2”來表示非嚴格佇列緩衝區240~260中的封包)。而此時,傳輸埠210所傳輸的封包順序290可以利用加權循環法、加權平衡佇列法或調度加權循環法來決定。When the strict buffer buffers 220, 230 are not full, the packet sequence 290 transmitted by the transport port 210 is a packet temporarily stored in the non-strict queue buffers 240-260 (in the drawing of FIG. 2A, The packets in the non-strict queue buffers 240 to 260 are represented by "0", "1", and "2", respectively. At this time, the packet sequence 290 transmitted by the transmission port 210 can be determined by a weighted round robin method, a weighted balanced queue method, or a scheduling weighted round robin method.

另外,上述的嚴格佇列緩衝區220、230是否已經被存滿前的判斷,可以藉由比較延遲計數器281、282所計數得的封包位元組累計數與封包位元組數臨界值來相比對,並利用比對的結果來決定傳輸埠210該傳送嚴格佇列緩衝區封包220~230或非嚴格佇列緩衝區中240~260的封包。值得一提的是,在本實施例中,上述的封包位元組數臨界值與其所對應的嚴格佇列緩衝區220、230的記憶容量是相等的。In addition, the foregoing determination of whether the strict queue buffers 220 and 230 have been filled may be compared by comparing the accumulated number of packet bytes counted by the delay counters 281 and 282 with the threshold value of the number of packet bytes. The comparison, and the result of the comparison is used to determine the transmission 埠210 that transmits the strict buffer buffer 220~230 or the non-strict buffer buffer 240~260. It is worth mentioning that, in this embodiment, the threshold value of the packet byte number is equal to the memory capacity of the strict buffer buffer 220, 230 corresponding thereto.

而在嚴格佇列緩衝區220、230都被存滿的情況,則請參照圖2B,圖2B繪示本發明的一實施例的網路封包的傳遞裝置200的另一實施方式的示意圖。在圖2B的繪示中,嚴格佇列緩衝區220、230都已經存滿封包。排程器270接收到延遲計數器281、282所產生的封包位元組累計數,並將所接收到的封包位元組累計數與封包位元組數臨界值來相比對,得知嚴格佇列緩衝區220、230都已經存滿封包的狀況,並開始傳送嚴格佇列緩衝區220、230中的封包。也因此,此時的傳輸埠210所傳輸的封包順序290為“4”“4”“4”“3”,代表為儲存在嚴格佇列緩衝區220、230中的封包。For example, when the strict buffer buffers 220 and 230 are full, please refer to FIG. 2B. FIG. 2B is a schematic diagram of another embodiment of the network packet transmission apparatus 200 according to an embodiment of the present invention. In the illustration of FIG. 2B, the strict queue buffers 220, 230 are already full of packets. The scheduler 270 receives the accumulated number of packet bytes generated by the delay counters 281, 282, and compares the received number of accumulated packet bytes with the threshold value of the number of packet bytes, and learns strict 伫The column buffers 220, 230 are all full of packets and begin to transmit packets in the strict queue buffers 220, 230. Therefore, the packet sequence 290 transmitted by the transmission port 210 at this time is "4", "4", "4", "3", and represents a packet stored in the strict queue buffer 220, 230.

請特別注意,上述圖2A、2B繪示中,嚴格佇列緩衝區與非嚴格佇列緩衝區的數量(分別為2個及3個)僅只是一個範例,並非用來限制本發明的網路封包的傳遞裝置的實施例的嚴格佇列緩衝區與非嚴格佇列緩衝區的數量。Please note that the number of strict buffers and non-strict buffers (two and three, respectively) in the above-mentioned Figures 2A and 2B is only an example, and is not intended to limit the network of the present invention. The strict array buffer of the embodiment of the packet transfer device and the number of non-strict queue buffers.

綜上所述,本發明利用延遲計數器來針對嚴格佇列緩衝區中的封包位元組數進行計數,並依據計數所獲得的封包位元組累計數與預先設定的封包位元組數臨界值來比較,使得嚴格佇列緩衝區在填滿之前,傳輸埠可以先行傳送非嚴格佇列緩衝區中的封包,進而提升網路的順暢度。In summary, the present invention utilizes a delay counter to count the number of packet bytes in a strict queue buffer, and based on the count of the accumulated number of packet bytes obtained by counting and a preset threshold value of the number of packet bytes. To compare, the strict queue buffer can be transported before the packet is filled in the non-strict buffer buffer, thereby improving the smoothness of the network.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,故本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art can make some modifications and refinements without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims.

S110~S160...排程方法的步驟S110~S160. . . Steps in the scheduling method

200...網路封包的傳遞裝置200. . . Network packet delivery device

210...傳輸埠210. . . Transmission

220~230...嚴格佇列緩衝區220~230. . . Strict array buffer

240~260...非嚴格佇列緩衝區240~260. . . Non-strict queue buffer

270...排程器270. . . Scheduler

281~282...延遲計數器281~282. . . Delay counter

圖1繪示本發明的一實施例的封包傳遞的排程方法的流程圖。FIG. 1 is a flow chart of a scheduling method for packet delivery according to an embodiment of the present invention.

圖2A繪示本發明的一實施例的網路封包的傳遞裝置200的示意圖。2A is a schematic diagram of a network packet delivery device 200 in accordance with an embodiment of the present invention.

圖2B繪示本發明的一實施例的網路封包的傳遞裝置200的另一實施方式的示意圖。FIG. 2B is a schematic diagram of another embodiment of a network packet delivery device 200 according to an embodiment of the invention.

S110~S160...排程方法的步驟S110~S160. . . Steps in the scheduling method

Claims (10)

一種封包傳遞的排程方法,適用於網路裝置的一傳輸埠,其中該傳輸埠配置至少一嚴格佇列緩衝區及多數個非嚴格佇列緩衝區,包括:計數傳遞至該嚴格佇列緩衝區的封包位元組數目,並藉以獲得一封包位元組累計數;比較該封包位元組累計數及一封包位元組數臨界值並獲得一比較結果;以及依據該比較結果來決定傳送該嚴格佇列緩衝區封包或該些非嚴格佇列緩衝區中的封包,其中當該比較結果為該封包位元組累計數小於該封包位元組數臨界值時,傳遞該些非嚴格佇列緩衝區中的封包。 A packet delivery scheduling method is applicable to a transmission port of a network device, wherein the transmission port is configured with at least one strict queue buffer and a plurality of non-strict queue buffers, including: counting is passed to the strict queue buffer The number of packet bytes in the zone, and obtain a cumulative number of packet tuples; compare the accumulated number of packet bytes and a threshold value of a packet tuple and obtain a comparison result; and determine the transmission according to the comparison result The strict queue buffer packet or the packet in the non-strict queue buffer, wherein when the comparison result is that the cumulative number of the packet byte is less than the threshold value of the packet byte, the non-strict 伫 is transmitted The packet in the column buffer. 如申請專利範圍第1項所述之封包傳遞的排程方法,其中傳遞該些非嚴格佇列緩衝區中的封包的方法包括加權循環法(weighted round robin)、加權平衡佇列法(weighted fair queue)或調度加權循環法(deficit weighted round robin)。 The scheduling method for packet delivery as described in claim 1, wherein the method of transmitting the packets in the non-strict queue buffer includes a weighted round robin and a weighted fair method Queue) or deficient weighted round robin. 如申請專利範圍第1項所述之封包傳遞的排程方法,其中當該比較結果為該封包位元組累計數大於等於該封包位元組數臨界值時,傳遞該嚴格佇列緩衝區中的所有封包。 The scheduling method for packet delivery as described in claim 1, wherein when the comparison result is that the cumulative number of the packet bytes is greater than or equal to a threshold value of the number of packet bytes, the strict queue buffer is transmitted. All the packets. 如申請專利範圍第3項所述之封包傳遞的排程方法,其中傳遞該嚴格佇列緩衝區中的封包的方法為嚴格優 先次序法(strict priority)。 The scheduling method for packet delivery as described in claim 3, wherein the method of transmitting the packet in the strict queue buffer is strict Strict priority. 如申請專利範圍第3項所述之封包傳遞的排程方法,其中該嚴格佇列緩衝區中的所有封包必須在一傳遞臨界時間內全部傳出,該傳遞臨界時間等於該封包位元組數臨界值乘上封包的一單位傳遞時間。 The scheduling method for packet delivery as described in claim 3, wherein all packets in the strict queue buffer must be completely transmitted within a delivery critical time, and the delivery critical time is equal to the number of packet bytes. The threshold is multiplied by the unit delivery time of the packet. 一種網路封包的傳遞裝置,包括:至少一傳輸埠;至少一嚴格佇列緩衝區,耦接該傳輸埠;至少一延遲計數器,耦接該嚴格佇列緩衝區,用以計數傳遞至該嚴格佇列緩衝區的封包數以獲得一封包位元組累計數;多數個非嚴格佇列緩衝區,耦接該傳輸埠;以及一排程器,耦接該傳輸埠、該嚴格佇列緩衝區、該延遲計數器及該些非嚴格佇列緩衝區,依據比較該封包位元組累計數及一封包位元組數臨界值的一比較結果來決定傳送該嚴格佇列緩衝區封包或該些非嚴格佇列緩衝區中的封包,其中當該排程器獲得的該比較結果為該封包位元組累計數小於該封包位元組數臨界值時,該排程器傳遞該些非嚴格佇列緩衝區中的封包。 A network packet transmission device includes: at least one transmission buffer; at least one strict buffer buffer coupled to the transmission buffer; at least one delay counter coupled to the strict buffer buffer for counting transmission to the strict The number of packets in the buffer buffer is obtained to obtain a cumulative number of packet bytes; a plurality of non-strict buffer buffers are coupled to the transmission buffer; and a scheduler coupled to the transmission buffer, the strict buffer buffer The delay counter and the non-strict queue buffers are configured to determine the transmission of the strict queue buffer packet or the non-comparison based on a comparison result of comparing the packet byte accumulation number and a packet byte number threshold value. Strictly arranging the packets in the buffer, wherein when the comparison result obtained by the scheduler is that the cumulative number of the packet bytes is less than the critical value of the number of packets, the scheduler passes the non-strict queues The packet in the buffer. 如申請專利範圍第6項所述之網路封包的傳遞裝置,其中傳遞該些非嚴格佇列緩衝區中的封包的方法包括加權循環法(weighted round robin)、加權平衡佇列法(weighted fair queue)或調度加權循環法(deficit weighted round robin)。 The method for transmitting a network packet according to claim 6, wherein the method for transmitting the packets in the non-strict queue buffer comprises a weighted round robin and a weighted fair method (weighted fair) Queue or deferred weighted Round robin). 如申請專利範圍第6項所述之網路封包的傳遞裝置,其中當該排程器獲得的該比較結果為該封包位元組累計數大於等於該封包位元組數臨界值時,該排程器傳遞該嚴格佇列緩衝區中的所有封包。 The device for transmitting a network packet according to claim 6, wherein when the comparison result obtained by the scheduler is that the cumulative number of the packet bytes is greater than or equal to a threshold value of the number of packet bytes, the row The program passes all the packets in the strict queue buffer. 如申請專利範圍第8項所述之網路封包的傳遞裝置,其中傳遞該嚴格佇列緩衝區中的封包的方法為嚴格優先次序法(strict priority)。 The method of transmitting a network packet as described in claim 8 wherein the method of transmitting the packet in the strict queue buffer is a strict priority. 如申請專利範圍第8項所述之網路封包的傳遞裝置,其中該嚴格佇列緩衝區中的所有封包必須在一傳遞臨界時間內全部傳出,該傳遞臨界時間等於該封包位元組數臨界值乘上封包的一單位傳遞時間。 The device for transmitting a network packet according to claim 8, wherein all the packets in the strict queue buffer must be all transmitted within a delivery critical time, and the delivery critical time is equal to the number of the packet bytes. The threshold is multiplied by the unit delivery time of the packet.
TW98116021A 2009-05-14 2009-05-14 Network package transmission apparatus and sequence method thereof TWI385981B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98116021A TWI385981B (en) 2009-05-14 2009-05-14 Network package transmission apparatus and sequence method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98116021A TWI385981B (en) 2009-05-14 2009-05-14 Network package transmission apparatus and sequence method thereof

Publications (2)

Publication Number Publication Date
TW201041342A TW201041342A (en) 2010-11-16
TWI385981B true TWI385981B (en) 2013-02-11

Family

ID=44996274

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98116021A TWI385981B (en) 2009-05-14 2009-05-14 Network package transmission apparatus and sequence method thereof

Country Status (1)

Country Link
TW (1) TWI385981B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW591490B (en) * 2001-10-15 2004-06-11 Advanced Micro Devices Inc Tagging and arbitration mechanism in an input/output node of a computer system
US6952401B1 (en) * 1999-03-17 2005-10-04 Broadcom Corporation Method for load balancing in a network switch
TWI241807B (en) * 2004-03-02 2005-10-11 Hon Hai Prec Ind Co Ltd System and method for network quality of service
US6990115B2 (en) * 2001-02-26 2006-01-24 Seabridge Ltd. Queue control method and system
TWI266515B (en) * 2004-03-12 2006-11-11 Yun-Sung Liau Instant speech messaging platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6952401B1 (en) * 1999-03-17 2005-10-04 Broadcom Corporation Method for load balancing in a network switch
US6990115B2 (en) * 2001-02-26 2006-01-24 Seabridge Ltd. Queue control method and system
TW591490B (en) * 2001-10-15 2004-06-11 Advanced Micro Devices Inc Tagging and arbitration mechanism in an input/output node of a computer system
TWI241807B (en) * 2004-03-02 2005-10-11 Hon Hai Prec Ind Co Ltd System and method for network quality of service
TWI266515B (en) * 2004-03-12 2006-11-11 Yun-Sung Liau Instant speech messaging platform

Also Published As

Publication number Publication date
TW201041342A (en) 2010-11-16

Similar Documents

Publication Publication Date Title
US20220231962A1 (en) System and method for facilitating data request management in a network interface controller (nic)
US8259738B2 (en) Channel service manager with priority queuing
US20190158432A1 (en) Programmable Broadband Gateway Hierarchical Output Queueing
US10567307B2 (en) Traffic management for high-bandwidth switching
CN102763385B (en) Method and apparatus for the congestion control in computer network
US8259576B2 (en) Method and apparatus for performing interrupt coalescing
US9794141B2 (en) System and method for determining a cause of network congestion
US9800485B2 (en) System and method for determining an effect of network congestion
West et al. Dynamic window-constrained scheduling of real-time streams in media servers
US20080159145A1 (en) Weighted bandwidth switching device
US20190334828A1 (en) Traffic management for high-bandwidth switching
CN104753818B (en) A queue scheduling method and device
KR101344014B1 (en) Zero Delay Queuing Method and System
US8588242B1 (en) Deficit round robin scheduling using multiplication factors
CN107196874B (en) Queue scheduling algorithm and system
CN114338523A (en) Message forwarding method and device
CN111355673A (en) Data processing method, device, equipment and storage medium
JP7211765B2 (en) PACKET TRANSFER DEVICE, METHOD AND PROGRAM
US20130343398A1 (en) Packet-based communication system with traffic prioritization
WO2012109880A1 (en) Queue scheduling method and device
CN109962859A (en) A message scheduling method and device
CN104869077B (en) Token transfer control method and system
CN105577563B (en) flow management method
US20130301408A1 (en) Hybrid dataflow processor
US20160173395A1 (en) Timing transport method in a communication network