network delay upon reception of the ith packet. This estimate is constructed from
the timestamps as follows:
d
i
= (1 – u)d
i–1
+u(r
i
–t
i
)
whereuis a fixed constant (for example, u= 0.01). Thus d
i
is a smoothed average
of the observed network delays r
1
–t
1
, . . . , r
i
–t
i
. The estimate places more weight
on the recently observed network delays than on the observed network delays of the
distant past. This form of estimate should not be completely unfamiliar; a similar
idea is used to estimate round-trip times in TCP, as discussed in Chapter 3. Let v
i
denote an estimate of the average deviation of the delay from the estimated average
delay. This estimate is also constructed from the timestamps:
v
i
= (1 – u)v
i–1
+u| r
i
–t
i
–d
i
|
The estimates d
i
andv
i
are calculated for every packet received, although they are
used only to determine the playout point for the first packet in any talk spurt.
Once having calculated these estimates, the receiver employs the following
algorithm for the playout of packets. If packet iis the first packet of a talk spurt, its
playout time, p
i
, is computed as:
p
i
=t
i
+d
i
+Kvi
whereKis a positive constant (for example, K= 4). The purpose of the Kvi
term is to
set the playout time far enough into the future so that only a small fraction of the arriving packets in the talk spurt will be lost due to late arrivals. The playout point for any
subsequent packet in a talk spurt is computed as an offset from the point in time when
the first packet in the talk spurt was played out. In particular, let
q
i
=p
i
–t
i
be the length of time from when the first packet in the talk spurt is generated until it
is played out. If packet jalso belongs to this talk spurt, it is played out at time
p
j
=t
j
+q
i
The algorithm just described makes perfect sense assuming that the receiver can
tell whether a packet is the first packet in the talk spurt. This can be done by examining the signal energy in each received packet.
mạng chậm trễ khi nhận gói thứ i. Ước tính này được xây dựng từdấu thời gian như sau:dtôi= d (1-u)i-1+ u (rtôi-ttôi)whereuis một hằng số cố định (ví dụ: u = 0.01). Do đó dtôilà một trung bình smoothedquan sát thấy mạng chậm trễ r1-t1, . . . , rtôi-ttôi. Ước lượng đặt trọng lượng hơnngày mới quan sát thấy mạng chậm trễ hơn về sự chậm trễ quan sát mạng của cácquá khứ xa xôi. Đây là hình thức ước lượng không phải là hoàn toàn không quen thuộc; một tương tựý tưởng được sử dụng để ước tính trọn vòng lần trong giao thức TCP, như được thảo luận trong chương 3. Cho vtôibiểu thị một ước tính của các độ lệch trung bình của sự chậm trễ từ trung bình ước tínhsự chậm trễ. Ước tính này cũng được xây dựng từ các nhãn thời gian:vtôi= (1-u) vi-1+ u | rtôi-ttôi-dtôi|Ước tính dtôiandvtôiđược tính toán cho mỗi gói tin nhận được, mặc dù họ làchỉ sử dụng để xác định điểm playout cho gói đầu tiên trong bất kỳ nói chuyện thoát đi trước.Sau khi đã tính toán thiệt hại ước tính những người nhận sử dụng sau đâythuật toán playout của gói tin. Nếu thoát đi trước gói dữ liệu iis gói đầu tiên của buổi nói chuyện, của nóthời gian Playout, ptôi, được tính như:ptôi= ttôi+ dtôi+ KviwhereKis một hằng số tích cực (ví dụ, K = 4). Mục đích của Kvithuật ngữ là đểthiết lập thời gian playout đủ xa vào tương lai vì vậy mà chỉ một phần nhỏ của các gói dữ liệu đến các thoát đi trước chuyện sẽ bị mất do khách đến muộn. Điểm playout cho bất kỳsubsequent packet in a talk spurt is computed as an offset from the point in time whenthe first packet in the talk spurt was played out. In particular, letqi=pi–tibe the length of time from when the first packet in the talk spurt is generated until itis played out. If packet jalso belongs to this talk spurt, it is played out at timepj=tj+qiThe algorithm just described makes perfect sense assuming that the receiver cantell whether a packet is the first packet in the talk spurt. This can be done by examining the signal energy in each received packet.
đang được dịch, vui lòng đợi..
