IP Library Granted Patent US 8,379,643
Granted Patent B2
US 8,379,643 · App. 12/964,510 · Granted Feb 19, 2013

Method for controlling transmission speed of multi-cast packets

Inventors: Lian Cheng Li (Tianjin, CN); Chih Feng Chen (Taipei, TW)
Assignee: Inventec Corporation
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,379,643
App. No.
12/964,510
Granted
Feb 19, 2013
Kind
B2
Abstract

A transmission speed controlling method for multi-cast packets includes the steps of calculating a standard time, and recording an accumulated error time; transmitting one of the multi-cast packets, and calculating a transmission time of the transmitted multi-cast packet; calculating a difference between the standard time and the transmission time, recording the difference as a current error time, adding the accumulated error time and the current error time, and recording the add result as a preset sleep time; and performing the following steps when the preset sleep time is greater than an error threshold value, wherein the following steps are sleeping for the preset sleep time; being awaked from sleep, and calculating a practical sleep time; calculating a new accumulated error time by subtracting the practical sleep time from the preset sleep time; and returning to the first step to transmit the next one of the multi-cast packets.

Claims (18)

1. A method for controlling transmission speed of multi-cast packets, used for enabling a network interface card (NIC) to transmit a plurality of multi-cast packets at a target speed, and the method for controlling the transmission speed of the multi-cast packets comprises:

calculating a standard time according to sizes of the multi-cast packets and the target speed, and recording an accumulated error time;

transmitting one of the multi-cast packets, and calculating a transmission time of the transmitted multi-cast packet;

calculating a difference between the standard time and the transmission time, recording the difference between the standard time and the transmission time as a current error time, adding the accumulated error time and the current error time, and recording the add result as a preset sleep time; and

when the preset sleep time is greater than an error threshold value, performing following steps:

sleeping for the preset sleep time;

being waked from sleep, and calculating a practical sleep time;

calculating a difference between the preset sleep time and the practical sleep time, and using the difference between the preset sleep time and the practical sleep time as the new accumulated error time; and

returning to the step of calculating the standard time according to the sizes of the multi-cast packets and the target speed, and recording the accumulated error time, so as to transmit the next one of the multi-cast packets.

2. The method for controlling the transmission speed of the multi-cast packets according to claim 1 , wherein the step of calculating a standard time according to the sizes of the multi-cast packets and the target speed, and recording the accumulated error time further comprises: establishing an accumulated transmission time; and before the step of transmitting one of the multi-cast packets, and calculating the transmission time of the transmitted multi-cast packet, the processing method of the multi-cast packets further comprises:

calculating the accumulated transmission time;

and resetting the accumulated error time and the accumulated transmission time to zero when the accumulated transmission time is greater than an accumulated time threshold value.

3. The method for controlling the transmission speed of the multi-cast packets according to claim 2 , wherein the accumulated time threshold value is 1 s.

4. The method for controlling the transmission speed of the multi-cast packets according to claim 1 , wherein the error threshold value is 1 ms.

5. The method for controlling the transmission speed of the multi-cast packets according to claim 1 , further comprising:

using the preset sleep time as the new accumulated error time when the preset sleep time is not greater than the error threshold value.

6. The method for controlling the transmission speed of the multi-cast packets according to claim 1 , wherein the transmission time is obtained by subtracting a system time before the multi-cast packet is transmitted from the system time after the multi-cast packet is transmitted.

7. The method for controlling the transmission speed of the multi-cast packets according to claim 1 , wherein the practical sleep time is greater than 10 ms.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 1, 2015
From: INVENTEC CORPORATION
To: ZHIGU HOLDINGS LIMITED
Reel/Frame 035959/0466 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 9, 2010
From: LI, LIAN-CHENG; CHEN, CHIH-FENG
To: INVENTEC CORPORATION
Reel/Frame 025481/0961 →
Continuity (1)
Related Publication 20120147781A1 · Jun 14, 2012