The present invention relates generally to packetized data communication systems.
When transmitting data from a server to a computer system, or from a computer system to another computer system, it is not guaranteed that 100% of the data requested by the user will arrive. Often times some of the data is lost in the transmission or is never sent at all.
Accordingly, methods have been provided for verifying proper receipt of data and when, for instance, a packet in a packetized data stream is not received, for requesting retransmission. In these methods, a data verification layer in a communication protocol stack tracks the received packets and requests retransmission if a packet does not arrive as expected.
As recognized herein, current standards for tracking data often contain overhead and latency which is too high for certain data streaming environments, such as telephony. Nonetheless, a receiver must buffer data before sending it on to higher levels in the protocol stack while waiting for a retransmitted packet. The length of the buffer in current systems is predefined in an attempt to balance the need to wait long enough for a dropped packet to be retransmitted and received, so as to avoid missing the retransmitted packet when the rest of the data is passed on up the protocol stack, but to also avoid waiting longer than necessary. A buffer length that is too long makes the system seem sluggish (i.e. non-responsive) to the user, while a buffer length that is too short allows stuttering of data (such as video frames) that is presented to the user if the retransmission of certain packets is required. The inaccuracies of estimated buffer length and the visible consequences to the user can be frustrating. The present system is presented in response to the above critical observations.
A method for establishing a packet buffer length in a packetized data delivery system includes, upon initially receiving a packetized data stream, requesting retransmission of a received packet. The method also includes receiving a retransmitted copy of the packet. Based at least in part on the requesting and receiving acts, the buffer length is established.
If desired, an ID of the packet for which retransmission is requested and a time of retransmission request are recorded. Also, a time of receipt of the retransmitted copy is recorded, with the method then using the difference between the time of receipt of the retransmitted copy and the time of retransmission request to establish the buffer length. Preferably, the requesting, receiving, and establishing acts are executed substantially at the beginning of each new packetized data stream being transmitted. The buffer length may be used to delay sending packets to higher communication protocol levels in the event of a missed packet.
In another aspect, a packetized data receiver includes a receiver system that establishes a lower level in a packetized data communication protocol stack. The receiver system requests a retransmission of a received packet at or near the beginning of a packetized data stream being received by the receiver. The logic of the receiver system determines a time period measured from the time of requesting a retransmission until receipt of a retransmitted packet that correlates to the received packet. A buffer delay period is then established based on the time period. The buffer delay period is used in the event of a missing packet to buffer data before sending it to higher levels in the protocol stack.
In yet another aspect, a packetized data receiver establishes, for each packetized data stream received and substantially at the beginning of receiving each respective stream, a time delay to be used in the event that a packet is missed for sending packets to higher levels of a protocol stack.
The details of the present invention, both as to its structure and operation, can best be understood in reference to the accompanying drawings, in which like reference numerals refer to like parts, and in which:
Referring initially to
With the above in mind, the exemplary receiver 12 includes a processor 16 that can access a program storage device 18 to execute the logic shown below in
Now referring to
Proceeding to decision diamond 66, it is determined whether the retransmit action has failed as indicated by an excessive period elapsing without receiving the retransmitted packet from the transmitter. If it has, the logic reverts back to block 62 and starts over again. If the action has not failed, a packet has been received and the logic proceeds to block 68.
Still referring to
Should it be determined at decision diamond 70 that the packet received at block 68 is not the next one in sequence, the logic flows from decision diamond 70 to decision diamond 74, wherein it is determined, by means of comparing the ID of the packet received at block 68 with the packet ID recorded at block 64, whether the packet received was the test packet. If the logic determines that it was the test packet, the logic proceeds to block 76 wherein the time period between the time recorded at block 64 and the time the test packet was received at block 68 is determined. Because this period can be correlated to a buffer length by, e.g., multiplying the data rate by the measured retransmission delay period to find a total number of data elements that must be buffered during the retransmission delay period determined at block 76, the length of the buffer 20 shown in
Returning to decision diamond 74, if the packet received at block 68 is not the test packet, the logic proceeds to decision diamond 80, wherein it is determined whether the packet is a retransmitted packet from a slot in the packet stream at which a packet was missed. If it was, the logic then flows to block 82 where the packet is inserted into its correct slot in the queue for subsequent passing on to the upper levels of the protocol stack.
In contrast, if, at decision diamond 80, the logic determines that the packet received is not a retransmitted packet but rather some other packet out of sequence, indicating that some packet or packets have been missed, the logic moves to block 84 where a request for the retransmission is made of the missed packet(s) (i.e., those preceding the packet received at block 68 that should have followed the latest packet before that in the buffer). After the request has been made, a space in the data stream for the missed packet is reserved at block 86, and then the logic moves to block 72 to function as set forth above.
While the particular SYSTEM AND METHOD FOR DYNAMICALLY DETERMINING RETRANSMIT BUFFER TIME as herein shown and described in detail is fully capable of attaining the above-described objects of the invention, it is to be understood that it is the presently preferred embodiment of the present invention and is thus representative of the subject matter which is broadly contemplated by the present invention, that the scope of the present invention fully encompasses other embodiments which may become obvious to those skilled in the art, and that the scope of the present invention is accordingly to be limited by nothing other than the appended claims, in which reference to an element in the singular is not intended to mean “one and only one” unless explicitly so stated, but rather “one or more”. It is not necessary for a device or method to address each and every problem sought to be solved by the present invention, for it to be encompassed by the present claims. Furthermore, no element, component, or method step in the present disclosure is intended to be dedicated to the public regardless of whether the element, component, or method step is explicitly recited in the claims. Absent express definitions herein, claim terms are to be given all ordinary and accustomed meanings that are not irreconcilable with the present specification and file history.
Number | Name | Date | Kind |
---|---|---|---|
5179557 | Kudo | Jan 1993 | A |
5278830 | Kudo | Jan 1994 | A |
5442637 | Nguyen | Aug 1995 | A |
5592483 | Hieda et al. | Jan 1997 | A |
5751335 | Shintani | May 1998 | A |
5802041 | Waclawsky et al. | Sep 1998 | A |
5903724 | Takamoto et al. | May 1999 | A |
6021124 | Haartsen | Feb 2000 | A |
6076114 | Wesley | Jun 2000 | A |
6266480 | Ezaki et al. | Jul 2001 | B1 |
6275471 | Bushmitch et al. | Aug 2001 | B1 |
6701372 | Yano et al. | Mar 2004 | B2 |
6757255 | Aoki et al. | Jun 2004 | B1 |
6831908 | Kikuchi | Dec 2004 | B2 |
7146417 | Coile et al. | Dec 2006 | B1 |
7164680 | Loguinov | Jan 2007 | B2 |
7233573 | Walls et al. | Jun 2007 | B2 |
20010034788 | McTeman et al. | Oct 2001 | A1 |
20020114302 | McDonald et al. | Aug 2002 | A1 |
20020114304 | Hur et al. | Aug 2002 | A1 |
20020141370 | Abrol et al. | Oct 2002 | A1 |
20020154600 | Ido et al. | Oct 2002 | A1 |
20020165973 | Ben-Yehezkel et al. | Nov 2002 | A1 |
20020181506 | Loguinov | Dec 2002 | A1 |
20020191594 | Itoh et al. | Dec 2002 | A1 |
20030007454 | Shorey | Jan 2003 | A1 |
20030037158 | Yano et al. | Feb 2003 | A1 |
20030046032 | Puthiyedath | Mar 2003 | A1 |
20030067872 | Harrell et al. | Apr 2003 | A1 |
20030086427 | Lee et al. | May 2003 | A1 |
20030120802 | Kohno | Jun 2003 | A1 |
20030145100 | Marchetto et al. | Jul 2003 | A1 |
20030191844 | Meyer et al. | Oct 2003 | A1 |
20040003107 | Barham et al. | Jan 2004 | A1 |
20040038645 | Rcunamaki et al. | Feb 2004 | A1 |
20040057459 | Sharony et al. | Mar 2004 | A1 |
20040078624 | Maxemchuk et al. | Apr 2004 | A1 |
20040114565 | Sipola | Jun 2004 | A1 |
20040019376 | Leon et al. | Sep 2004 | A1 |
20040174893 | Saito | Sep 2004 | A1 |
20040213287 | Komori et al. | Oct 2004 | A1 |
20050180323 | Beightol et al. | Aug 2005 | A1 |
20060023710 | Read | Feb 2006 | A1 |
20060203760 | Fukui et al. | Sep 2006 | A1 |
Number | Date | Country |
---|---|---|
001263160 | Dec 2002 | EP |
2000115233 | Apr 2000 | JP |
2000261496 | Sep 2000 | JP |
Number | Date | Country | |
---|---|---|---|
20060023673 A1 | Feb 2006 | US |