JP2757242B2 - Packet delay fluctuation control circuit - Google Patents

Packet delay fluctuation control circuit

Info

Publication number
JP2757242B2
JP2757242B2 JP18398792A JP18398792A JP2757242B2 JP 2757242 B2 JP2757242 B2 JP 2757242B2 JP 18398792 A JP18398792 A JP 18398792A JP 18398792 A JP18398792 A JP 18398792A JP 2757242 B2 JP2757242 B2 JP 2757242B2
Authority
JP
Japan
Prior art keywords
packet
time
reproduction
waiting time
data
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.)
Expired - Fee Related
Application number
JP18398792A
Other languages
Japanese (ja)
Other versions
JPH0630047A (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.)
KDDI Corp
Panasonic Holdings Corp
Original Assignee
Kokusai Denshin Denwa KK
Matsushita Electric Industrial 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 Kokusai Denshin Denwa KK, Matsushita Electric Industrial Co Ltd filed Critical Kokusai Denshin Denwa KK
Priority to JP18398792A priority Critical patent/JP2757242B2/en
Publication of JPH0630047A publication Critical patent/JPH0630047A/en
Application granted granted Critical
Publication of JP2757242B2 publication Critical patent/JP2757242B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、送信側ではバースト的
に発生する転送データを少なくとも1つ以上に分割し、
分割された転送データをパケットの情報部に格納して送
信し、受信側では受信したパケットに格納された転送デ
ータを結合することで転送データの再生を行なうパケッ
ト通信装置におけるパケット遅延変動制御回路に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention divides transmission data generated in a burst on a transmission side into at least one or more data,
The present invention relates to a packet delay variation control circuit in a packet communication device that stores divided transmission data in an information portion of a packet and transmits the packet, and combines the transmission data stored in the received packet to reproduce the transmission data. .

【0002】[0002]

【従来の技術】図6は従来のパケット遅延変動制御回路
の構成を示している。図6において、1はパケットPK
Tを受信する入力端子、2は受信したパケットPKTの
情報部を一時的に格納し、読み出し制御手段9からの指
示により再生データDATAとして出力端子3に送るフ
ァーストインファーストアウトメモリからなる情報バッ
ファ、3は再生データDATAを送信する出力端子、4
は現在時刻TMを出力する時計、5はパケットを受信す
ると、先頭パケットであるか否かを示すパケット種類S
Tを出力するパケット種類判定手段、6はパケットPK
Tを受信すると、パケットPKTを受信したときの現在
時刻TMの値をパケット受信時刻RXTMとして出力す
るパケット受信時刻測定手段、7はパケット受信時刻R
XTMと固定値とを加算した値を情報バッファ2からの
データ再生開始時刻RDTMとして制御情報バッファ8
に送る加算器、8はデータ再生開始時刻RDTMおよび
パケット種類STを一時的に格納し、読み出し制御手段
9からの指示によりデータ再生開始時刻RDTMおよび
パケット種類STを読み出し制御手段9に送るファース
トインファーストアウトメモリからなる制御情報バッフ
ァ、9は制御情報バッファ8から読み出したパケット種
類STが先頭パケットであることを示している場合に
は、制御情報バッファ8から読み出したデータ再生開始
時刻RDTMと現在時刻TMを比較し、一致しているか
または現在時刻TMがデータ再生開始時刻RDTMを過
ぎていれば情報バッファ読み出し信号SARRDを出力
し、制御情報バッファ8から読み出したパケット種類S
Tが先頭パケットでないことを示している場合には、前
回の情報バッファ読み出しの終了を待って情報バッファ
読み出し信号SARRDを出力する読み出し制御手段で
ある。
2. Description of the Related Art FIG. 6 shows a configuration of a conventional packet delay variation control circuit. In FIG. 6, 1 is a packet PK
An input terminal 2 for receiving T, an information buffer comprising a first-in-first-out memory for temporarily storing an information portion of the received packet PKT and sending it to the output terminal 3 as reproduction data DATA in accordance with an instruction from the read control means 9; 3 is an output terminal for transmitting reproduction data DATA, 4
Is a clock that outputs the current time TM, and 5 is a packet type S that indicates whether or not it is the first packet when a packet is received.
Packet type determining means for outputting T;
When receiving the packet PKT, the packet receiving time measuring means for outputting the value of the current time TM at the time of receiving the packet PKT as the packet receiving time RXTM.
The value obtained by adding the XTM and the fixed value is used as the data reproduction start time RDTM from the information buffer 2 as the control information buffer 8.
The adder 8 temporarily stores the data reproduction start time RDTM and the packet type ST, and sends the data reproduction start time RDTM and the packet type ST to the read control means 9 according to an instruction from the read control means 9. When the packet type ST read from the control information buffer 8 indicates that the packet type ST is the first packet, the data reproduction start time RDTM read from the control information buffer 8 and the current time TM And if the current time TM is later than the data reproduction start time RDTM, an information buffer read signal SARRD is output, and the packet type S read from the control information buffer 8 is compared.
If T indicates that the packet is not the first packet, the read control unit outputs the information buffer read signal SARRD after waiting for the end of the previous information buffer read.

【0003】図7は上記従来の装置に使用されるパケッ
トの構成を示している。図7において、11はパケッ
ト、12はパケットヘッダ、13は分割された転送デー
タを格納する情報部、14は転送データが複数のパケッ
トに分割されて転送される際に転送データの先頭を含む
先頭パケットであるか否かを示す情報である。
FIG. 7 shows the structure of a packet used in the above-mentioned conventional device. In FIG. 7, 11 is a packet, 12 is a packet header, 13 is an information section for storing divided transfer data, and 14 is a head including the head of the transfer data when the transfer data is divided into a plurality of packets and transferred. This is information indicating whether the packet is a packet.

【0004】次に、上記従来例の動作について説明す
る。まず、パケットPKTを受信し、受信パケットの情
報部13を情報バッファ2に格納する動作について説明
する。入力端子1がパケットPKTを受信すると、受信
したパケットPKTの情報部13を情報バッファ2に格
納する。一方、パケット種類判定手段5は、パケットP
KTが入力されると、パケット種類を判定して制御情報
バッファ8に送る。さらに、パケット受信時刻測定手段
6は、パケットPKTが入力されると、そのときの現在
時刻TMの値をパケット受信時刻RXTMとして加算器
7に送る。加算器7は、パケット受信時刻RXTMが入
力されると、パケット受信時刻RXTMと予め設定して
ある固定値とを加算した値をデータ再生開始時刻RDT
Mとし、パケット種類STとともに制御情報バッファ8
に書き込む。
Next, the operation of the above conventional example will be described. First, an operation of receiving the packet PKT and storing the information section 13 of the received packet in the information buffer 2 will be described. When the input terminal 1 receives the packet PKT, the information part 13 of the received packet PKT is stored in the information buffer 2. On the other hand, the packet type determination means 5
When KT is input, the packet type is determined and sent to the control information buffer 8. Further, when the packet PKT is input, the packet reception time measuring means 6 sends the value of the current time TM at that time to the adder 7 as the packet reception time RXTM. When the packet reception time RXTM is input, the adder 7 adds a value obtained by adding the packet reception time RXTM and a preset fixed value to a data reproduction start time RDT.
M and the control information buffer 8 together with the packet type ST.
Write to.

【0005】次に、上記回路において、情報バッファ2
からパケットPKTの情報部13を読み出して、転送デ
ータの再構成(以下、データの再生と言う。)を行なう
動作について説明する。読み出し制御手段9は、制御情
報バッファ8からパケット種類STおよびデータ再生開
始時刻RDTMを読み出し、制御情報バッファ8から読
み出したパケット種類STが先頭パケットであることを
示している場合には、制御情報バッファ8から読み出し
たデータ再生開始時刻RDTMと現在時刻TMとを比較
し、一致しているかまたは現在時刻TMがデータ再生開
始時刻RDTMを過ぎていれば情報バッファ読み出し信
号SARRDを情報バッファ2に送り、また制御情報バ
ッファ8から読み出したパケット種類STが先頭パケッ
トでないことを示している場合には、前回の情報バッフ
ァ読み出しの終了を待って情報バッファ読み出し信号S
ARRDを情報バッファ2に送る。情報バッファ2は、
情報バッファ読み出し信号SARRDが入力されると、
再生データDATAを出力端子3に送る。
Next, in the above circuit, the information buffer 2
The operation of reading out the information section 13 of the packet PKT from, and reconstructing the transfer data (hereinafter referred to as data reproduction) will be described. The read control means 9 reads the packet type ST and the data reproduction start time RDTM from the control information buffer 8, and if the packet type ST read from the control information buffer 8 indicates that it is the first packet, 8 is compared with the current time TM, and if they match or the current time TM has passed the data reproduction start time RDTM, the information buffer read signal SARRD is sent to the information buffer 2; If the packet type ST read from the control information buffer 8 indicates that it is not the first packet, the information buffer read signal S is waited until the previous information buffer read is completed.
Send ARRD to information buffer 2. The information buffer 2
When the information buffer read signal SARRD is input,
The reproduction data DATA is sent to the output terminal 3.

【0006】このように、上記従来のパケット遅延変動
制御回路では、先頭パケットを受信すると、先頭パケッ
トの情報部13を情報バッファ2に格納しておき、現在
時刻がパケット受信時刻に固定値を加えた時刻になった
ときに情報バッファ2の読み出しを開始し、先頭パケッ
トの情報部13を基にしたデータの再生が開始される。
次のパケットPKTが遅延変動により遅れて到着して
も、先頭パケットのデータ再生終了以前であれば、先頭
パケットのデータ再生に続いてデータ再生が行なわれ、
さらに次のパケットPKTについても同様である。この
ようにして、上記従来のパケット遅延変動制御回路で
も、パケットの転送遅延変動を吸収することができる。
As described above, in the conventional packet delay variation control circuit, when the head packet is received, the information part 13 of the head packet is stored in the information buffer 2, and the current time is added to the packet reception time by a fixed value. At this time, reading of the information buffer 2 is started, and reproduction of data based on the information section 13 of the first packet is started.
Even if the next packet PKT arrives late due to delay fluctuations, if it is before the end of data reproduction of the first packet, data reproduction is performed following data reproduction of the first packet,
The same applies to the next packet PKT. In this way, the conventional packet delay variation control circuit can absorb the packet transfer delay variation.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上記従
来のパケット遅延変動制御回路では、パケットに付加す
る固定遅延量がパケット転送遅延変動量の最大値よりも
小さな値であれば、パケット転送遅延変動を吸収しきれ
ないので、パケットに付加する固定遅延量を充分な値と
するためには、予めパケット転送遅延変動量の最大値を
知っておかなければならないという問題があった。
However, in the conventional packet delay variation control circuit, if the fixed delay added to the packet is smaller than the maximum value of the packet transfer delay variation, the packet transfer delay variation is reduced. Since it cannot be absorbed, there is a problem that the maximum value of the packet transfer delay fluctuation amount must be known in advance in order to set the fixed delay amount added to the packet to a sufficient value.

【0008】また、パケットに付加する固定遅延量がパ
ケット転送遅延変動量の最大値よりも大きな値であれ
ば、パケット転送遅延変動は吸収できるが、実際のパケ
ット転送遅延変動量が小さいときには、パケットに無駄
な遅延を付加してしまうという問題があった。
If the fixed delay added to the packet is larger than the maximum value of the packet transfer delay variation, the packet transfer delay variation can be absorbed, but if the actual packet transfer delay variation is small, the packet However, there is a problem that a useless delay is added.

【0009】本発明は、このような従来の問題を解決す
るものであり、パケット転送遅延変動量の最大値を予め
知っておく必要がなく、常に適正な遅延をパケットに付
加することのできる優れたパケット遅延変動制御回路を
提供することを目的とする。
The present invention solves such a conventional problem, and it is not necessary to know in advance the maximum value of the packet transfer delay fluctuation amount, and it is possible to always add an appropriate delay to a packet. It is an object of the present invention to provide a packet delay variation control circuit.

【0010】[0010]

【課題を解決するための手段】本発明は、上記目的を達
成するために、現在時刻を発生する時計手段と、受信し
たパケットが転送データの先頭を含むか否かの判定結果
であるパケット種類を出力するパケット種類判定手段
と、受信パケットの到着間隔である受信間隔を求めるパ
ケット受信間隔測定手段と、受信間隔とパケットの送信
間隔との差であるパケット転送遅延変動量を検出する変
動量検出手段と、変動量に基づいて受信パケットに対す
るデータ再生までの再生待ち合わせ時間を求め、変動量
と再生待ち合わせ時間との差を変数とする単調増加関数
に基づき再生待ち合わせ時間を増減する再生待ち合わせ
時間算出手段と、再生待ち合わせ時間と現在時刻とを加
えた値を再生開始時刻として出力する加算手段と、受信
パケットの情報部とパケット種類と前回の受信パケット
から得られた再生開始時刻とを取り込むファーストイン
ファーストアウト型の記憶手段と、記憶手段に記憶され
たパケット種類と現在時刻と再生開始時刻とに基づい
て、パケット種類が転送データの先頭を含むことを示
し、かつ記憶手段に記憶された再生開始時刻が現在時刻
に達している場合およびパケット種類が転送データの先
頭を含まないことを示している場合には、記憶手段から
直前のパケットの情報部の出力が終了するのを待ってパ
ケット種類に対応するパケットの情報部を記憶手段から
出力させる読み出し制御手段とを備えたものである。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides a clock means for generating a current time and a packet type which is a result of determining whether or not a received packet includes the head of transfer data. , A packet reception interval measurement unit for obtaining a reception interval that is an arrival interval of a received packet, and a fluctuation amount detection for detecting a packet transfer delay fluctuation amount that is a difference between the reception interval and the packet transmission interval. Means for calculating a reproduction waiting time until data reproduction for a received packet based on the amount of fluctuation, and a reproduction waiting time calculating means for increasing or decreasing the reproduction waiting time based on a monotonically increasing function using a difference between the amount of fluctuation and the reproduction waiting time as a variable Adding means for outputting a value obtained by adding the reproduction waiting time and the current time as the reproduction start time; and an information section of the received packet. A first-in first-out type storage unit that captures the packet type and the reproduction start time obtained from the previous received packet; and a packet type based on the packet type, the current time, and the reproduction start time stored in the storage unit. If the playback start time stored in the storage means has reached the current time, and if the packet type indicates that it does not include the start of the transfer data, the storage means And read control means for outputting the information part of the packet corresponding to the packet type from the storage means after the output of the information part of the immediately preceding packet is completed.

【0011】また本発明は、読み出し制御手段が、パケ
ット種類が転送データの先頭を含むことを示し、かつ記
憶手段に記憶された再生開始時刻が現在時刻に達してい
る場合、記憶手段にデータが記憶されていない状態とな
ってから初めて受信したパケットとともに記憶手段に記
憶された再生開始時刻が現在時刻に達している場合およ
びパケット種類が転送データの先頭を含まないことを示
している場合には、記憶手段から直前のパケットの情報
部の出力が終了するのを待ってパケット種類に対応する
パケットの情報部を記憶手段から出力させるようにした
ものである。
Further, according to the present invention, when the read control means indicates that the packet type includes the head of the transfer data and the reproduction start time stored in the storage means has reached the current time, the data is stored in the storage means. If the playback start time stored in the storage means together with the packet received for the first time after the state has not been stored has reached the current time and if the packet type does not include the beginning of the transfer data, After the output of the information section of the immediately preceding packet from the storage means is completed, the information section of the packet corresponding to the packet type is output from the storage means.

【0012】さらに本発明は、再生待ち合わせ時間算出
手段が、変動量から現在の再生待ち合わせ時間を減じた
値が第1の一定値以下であり、かつ第2の一定値以上の
場合には再生待ち合わせ時間の増減を行なわないように
したものである。
Further, according to the present invention, the reproduction waiting time calculating means determines whether or not the value obtained by subtracting the current reproduction waiting time from the fluctuation amount is equal to or less than the first constant value and equal to or greater than the second constant value. The time is not increased or decreased.

【0013】さらに本発明は、再生待ち合わせ時間算出
手段が、変動量から現在の再生待ち合わせ時間を減じた
値が複数回連続して正、もしくは複数回連続して負とな
った場合には再生待ち合わせ時間の更新を行なうように
したものである。
Further, according to the present invention, the reproduction waiting time calculating means may include a reproduction waiting time when a value obtained by subtracting the current reproduction waiting time from the fluctuation amount becomes positive continuously for a plurality of times or negative continuously for a plurality of times. The time is updated.

【0014】さらに本発明は、パケットの送信間隔が既
知でない場合、送信時刻を記録するタイムスタンプ領域
をパケットに設け、変動量検出手段が、受信間隔と、連
続する2つのパケットのタイムスタンプ領域にそれぞれ
に記録されている送信時刻との差を変動量とするように
したものである。
Further, according to the present invention, when the packet transmission interval is not known, a time stamp area for recording the transmission time is provided in the packet, and the fluctuation detecting means sets the reception interval and the time stamp area of two consecutive packets in the packet. The difference from the transmission time recorded for each is set as a variation.

【0015】さらに本発明は、パケットの送信間隔が既
知の固定値である場合、変動量検出手段が、受信間隔と
既知の固定値である送信間隔との差を変動量とするよう
にしたものである。
Further, according to the present invention, when the packet transmission interval is a known fixed value, the variation detection means sets the difference between the reception interval and the known fixed value transmission interval as the variation. It is.

【0016】[0016]

【作用】したがって、本発明によれば、受信パケットの
到着間隔すなわち受信間隔とパケット送信間隔との差を
パケット転送遅延変動量(以下、変動量と言う。)とし
て求め、この変動量を基に受信パケットに対するデータ
の再生までの再生待ち合わせ時間を求め、転送データの
先頭を含むパケットに対して再生待ち合わせを行なうの
で、パケット転送遅延変動量の最大値を予め知っておく
必要がなく、パケットに対して常に適正な再生待ち合わ
せを行なうことができる。
Therefore, according to the present invention, the arrival interval of a received packet, that is, the difference between the reception interval and the packet transmission interval, is determined as a packet transfer delay variation (hereinafter, referred to as variation), and based on this variation. The playback wait time until the data of the received packet is played back is calculated, and the playback wait is performed for the packet including the head of the transfer data. Therefore, it is not necessary to know the maximum value of the packet transfer delay variation beforehand. Thus, a proper reproduction wait can always be performed.

【0017】また本発明によれば、転送データの先頭を
含むパケットおよび記憶手段に再生すべきデータがなく
なった後に初めて受信したパケットに対して再生待ち合
わせを行なうので、パケット転送遅延が大きくなって遅
延を吸収しきれなくなった場合、すなわちパケットの到
着が遅れてデータ再生が中断した場合においても、中断
後に初めて到着したパケットに対して再生待ち合わせを
行なうことにより、以降の遅延変動を吸収することがで
きる。
Further, according to the present invention, since the reproduction queuing is performed for the packet including the head of the transfer data and the packet received for the first time after the data to be reproduced in the storage means is exhausted, the packet transfer delay increases and the delay is increased. Even if data cannot be completely absorbed, that is, even if data reproduction is interrupted due to delayed packet arrival, the subsequent delay fluctuations can be absorbed by performing reproduction queuing for the packet arriving for the first time after the interruption. .

【0018】さらに本発明によれば、変動量から再生待
ち合わせ時間を減じた値を変数とする単調増加関数を用
いて再生待ち合わせ時間を求め、変動量から現在の再生
待ち合わせ時間を減じた値が第1の一定値以下で、かつ
第2の一定値以上であれば再生待ち合わせ時間を増減し
ないようにしたので、特定の範囲内での変動量に対し、
不必要な再生待ち合わせ時間の増減を防止することがで
きる。
Further, according to the present invention, the reproduction waiting time is obtained by using a monotonically increasing function having a variable obtained by subtracting the reproduction waiting time from the fluctuation amount, and the value obtained by subtracting the current reproduction waiting time from the fluctuation amount is obtained by the following equation. If the value is equal to or less than 1 and equal to or more than the second fixed value, the reproduction waiting time is not increased or decreased.
Unnecessary increase or decrease of the reproduction waiting time can be prevented.

【0019】さらに本発明によれば、変動量が再生待ち
合わせ時間の現在の値よりも大となることが連続して複
数回生じた場合と、変動量が再生待ち合わせ時間よりも
小となることが連続して複数回生じた場合の少なくとも
どちらか一方が発生した場合には再生待ち合わせ時間を
更新するようにしたので、短時間での変動に対し、不必
要な再生待ち合わせ時間の増減を防止することができ
る。
Further, according to the present invention, the case where the fluctuation amount becomes larger than the current value of the reproduction waiting time continuously occurs plural times, and the case where the fluctuation amount becomes smaller than the reproduction waiting time. When at least one of the consecutive occurrences occurs, the playback wait time is updated. This prevents unnecessary increase or decrease in the playback wait time for short-term fluctuations. Can be.

【0020】さらに本発明によれば、パケット内部にタ
イムスタンプ領域を設け、送信側はパケットのタイムス
タンプ領域に送信時刻を記録し、連続する2つのパケッ
トのタイムスタンプ領域に記録されている送信時刻の差
すなわち送信間隔を求め、さらに受信間隔と送信間隔と
の差を求めることにより、受信パケットの送信間隔が既
知でなくても変動量を計測することができる。
Further, according to the present invention, a time stamp area is provided inside the packet, the transmitting side records the transmission time in the time stamp area of the packet, and the transmission time recorded in the time stamp area of two consecutive packets. By calculating the difference between the transmission intervals, that is, the transmission interval, and the difference between the reception interval and the transmission interval, the amount of variation can be measured even if the transmission interval of the received packet is not known.

【0021】さらに本発明によれば、パケットの送信間
隔が既知である場合に、受信間隔と既知である送信間隔
との差を変動量とするので、パケットの内部にタイムス
タンプ領域を設ける必要がない。
Further, according to the present invention, when the transmission interval of the packet is known, the difference between the reception interval and the known transmission interval is used as the variation, so that it is necessary to provide a time stamp area inside the packet. Absent.

【0022】[0022]

【実施例】以下、パケットの送信間隔が既知である場合
における本発明の第1の実施例について説明する。図1
は本発明の第1の実施例の構成を示すものである。図2
は本発明の第1の実施例におけるパケットの構成図であ
り、図7に示した従来例と同じなので、同じ符号が付し
てある。すなわち、11はパケット、12はパケットヘ
ッダ、13は分割されたデータを格納する情報部、14
は転送データが複数のパケットに分割されて転送される
際にデータの先頭を含む先頭パケットであるか否かを示
すパケット種類を示す情報である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A first embodiment of the present invention in the case where a packet transmission interval is known will be described below. FIG.
Shows the configuration of the first embodiment of the present invention. FIG.
FIG. 9 is a diagram showing the configuration of a packet according to the first embodiment of the present invention, which is the same as the conventional example shown in FIG. That is, 11 is a packet, 12 is a packet header, 13 is an information section for storing divided data, 14
Is information indicating a packet type indicating whether or not the transfer data is a head packet including the head of data when the transfer data is divided into a plurality of packets and transferred.

【0023】図1において、21はパケットPKTを受
信する入力端子、22は受信したパケットPKTの情報
部13を一時的に格納し、読み出し制御手段31からの
指示により再生データDATAとして出力端子23に送
るファーストインファーストアウトメモリからなる情報
バッファ、23は再生データDATAを送信する出力端
子、24は現在時刻TMを出力する時計、25はパケッ
トPKTを受信すると、パケット種類情報14により先
頭パケットであるか否かを示すパケット種類STを出力
するパケット種類判定手段、26はパケットPKTを受
信すると、パケットPKTを受信したときの現在時刻T
Mの値と前回パケットを受信したときの時刻の値との差
をパケット受信間隔RXINTとし、これを変動量検出
手段27に送るパケット受信間隔測定手段、27は受信
間隔RXINTと送信間隔(固定値)との差をパケット
転送遅延変動量dとし、この変動量dを再生待ち合わせ
時間算出手段28に送る変動量検出手段、28は変動量
dを基にしてパケットPKTに対する再生待ち合わせ時
間DTIMEを算出し、加算器29に送る再生待ち合わ
せ時間算出手段、29は再生待ち合わせ時間DTIME
と現在時刻TMとを加算して情報バッファ22からのデ
ータ再生開始時刻RDTMとして制御情報バッファ30
に送る加算器、30はデータ再生開始時刻RDTMおよ
びパケット種類STを一時的に格納し、読み出し制御手
段31からの指示によりデータ再生開始時刻RDTMお
よびパケット種類STを読み出し制御手段31に送るフ
ァーストインファーストアウトメモリからなる制御情報
バッファ、31は制御情報バッファ30から読み出した
パケット種類STが先頭パケットであることを示してい
る場合、または情報バッファ22が空になった後に初め
て制御情報バッファ30からパケット種類STおよびデ
ータ再生開始時刻RDTMを読み出した場合には、制御
情報バッファ30から読み出したデータ再生開始時刻R
DTMと現在時刻TMとを比較し、データ再生開始時刻
RDTMと現在時刻TMが一致しているかまたは現在時
刻TMがデータ再生開始時刻RDTMを過ぎていれば情
報バッファ読み出し信号SARRDを出力し、また制御
情報バッファ30から読み出したパケット種類STが先
頭パケットでないことを示している場合には、前回の情
報バッファ読み出しの終了を待って情報バッファ読み出
し信号SARRDを出力する読み出し制御手段である。
In FIG. 1, reference numeral 21 denotes an input terminal for receiving a packet PKT, 22 denotes an information terminal 13 for temporarily storing the received packet PKT, and to an output terminal 23 as reproduction data DATA in accordance with an instruction from a read control means 31. An information buffer composed of a first-in first-out memory to be transmitted, 23 is an output terminal for transmitting reproduction data DATA, 24 is a clock for outputting the current time TM, 25 is a packet PKT when receiving a packet PKT, it is determined whether the packet is the first packet by the packet type information 14. The packet type determination means 26 outputs a packet type ST indicating whether or not the packet PKT has been received.
The difference between the value of M and the value of the time when the previous packet was received is defined as a packet reception interval RXINT, which is transmitted to the variation detecting unit 27. The packet reception interval measuring unit 27 receives the reception interval RXINT and the transmission interval (fixed value). ) Is taken as the packet transfer delay variation d, and the variation d is sent to the playback waiting time calculator 28. The variation detector 28 calculates the playback waiting time DTIME for the packet PKT based on the variation d. , A playback wait time calculating means for sending to the adder 29, 29 is a playback wait time DTIME
And the current time TM, and adds the data reproduction start time RDTM from the information buffer 22 to the control information buffer 30.
The adder 30 temporarily stores the data reproduction start time RDTM and the packet type ST, and sends the data reproduction start time RDTM and the packet type ST to the read control means 31 according to an instruction from the read control means 31. A control information buffer consisting of an out-memory, 31 indicates that the packet type ST read from the control information buffer 30 indicates that it is the first packet, or that the packet type is not transmitted from the control information buffer 30 until the information buffer 22 becomes empty. When the ST and the data reproduction start time RDTM are read, the data reproduction start time R read from the control information buffer 30 is read.
The DTM is compared with the current time TM, and if the data reproduction start time RDTM and the current time TM match or the current time TM is past the data reproduction start time RDTM, an information buffer read signal SARRD is output. When the packet type ST read from the information buffer 30 indicates that it is not the first packet, the read control unit outputs the information buffer read signal SARRD after the end of the previous information buffer read.

【0024】図3は本発明の第1の実施例および後述す
る第2の実施例における変動量dと現在の再生待ち合わ
せ時間との差、すなわち再生待ち合わせ時間不足量Td
と再生待ち合わせ時間増減量f(Td)の関係を示す図
である。図3において、Td 1 は第1の一定値、Td2
は第2の一定値である。
FIG. 3 shows a first embodiment of the present invention and will be described later.
And the current reproduction waiting time in the second embodiment.
Delay time, that is, the shortage of reproduction waiting time Td
Diagram showing the relationship between the reproduction waiting time increase / decrease amount f (Td)
It is. In FIG. 3, Td 1Is the first constant value, TdTwo
Is a second constant value.

【0025】次に上記第1の実施例の動作について説明
する。まず、上記第1の実施例におけるパケット遅延変
動制御回路がパケットPKTを受信し、情報バッファ2
2に格納するまでの動作について説明する。まず、入力
端子21がパケットPKTを受信すると、受信したパケ
ットの情報部13を情報バッファ22に格納する。パケ
ット種類判定手段25は、パケットPKTが入力される
と、パケットPKTに示されているパケット種類情報1
4を基にしてパケット種類STを判定し、パケット種類
STを変動量検出手段27および制御情報バッファ30
に送り、そのとき加算器29が出力しているデータ再生
開始時刻RDTMとともにパケット種類STを制御情報
バッファ30に格納する。一方、パケット受信間隔測定
手段26は、パケットPKTが入力されると、パケット
PKTを受信した現在時刻TMと前回にパケットPKT
を受信した現在時刻TMとの差をパケット受信間隔RX
INTとして変動量検出手段27に送る。変動量検出手
段27は、パケット種類STおよびパケット受信間隔R
XINTが入力されると、パケット種類STが先頭パケ
ットであることを示している場合には変動量dを求め
ず、パケット種類STがデータの先頭を含まないパケッ
トであることを示している場合にはパケット受信間隔R
XINTとパケット送信間隔(固定値)との差を変動量
dとして再生待ち合わせ時間算出手段28に送る。再生
待ち合わせ時間算出手段28は、変動量dが入力される
と、変動量dと現在の再生待ち合わせ時間DTIMEと
の差を再生待ち合わせ時間不足量Tdとし、この再生待
ち合わせ時間不足量Tdの値が直前のTdと同符号であ
れば図3から再生待ち合わせ時間増減量f(Td)を求
め、再生待ち合わせ時間不足量Tdの値が0であるかま
たは直前のTdと異符号である場合には再生待ち合わせ
時間の更新を行なわず、上記再生待ち合わせ時間増減量
f(Td)に現在の再生待ち合わせ時間DTIMEを加
え、次回の再生待ち合わせ時間DTIMEとして加算器
29に送る。再生待ち合わせ時間算出手段28は、変動
量dが入力されないと、再生待ち合わせ時間不足量Td
を求めず、再生待ち合わせ時間DTIMEの変更を行な
わず、加算器29には以前求めた待ち合わせ時間DTI
MEを送る。加算器29は、再生待ち合わせ時間DTI
MEと現在時刻TMが入力されると、再生待ち合わせ時
間DTIMEと現在時刻TMを加算した値をデータ再生
開始時刻RDTMとして制御情報バッファ30に送る。
Next, the operation of the first embodiment will be described. First, the packet delay fluctuation control circuit in the first embodiment receives the packet PKT and
2 will be described. First, when the input terminal 21 receives the packet PKT, the information section 13 of the received packet is stored in the information buffer 22. When the packet PKT is input, the packet type determining unit 25 receives the packet type information 1 shown in the packet PKT.
4, the packet type ST is determined, and the packet type ST is determined by the fluctuation amount detecting means 27 and the control information buffer 30.
The packet type ST is stored in the control information buffer 30 together with the data reproduction start time RDTM output from the adder 29 at that time. On the other hand, when the packet PKT is input, the packet reception interval measuring means 26 sets the current time TM when the packet PKT was received and the packet PKT
The difference from the current time TM at which the packet was received
It is sent to the fluctuation amount detecting means 27 as INT. The variation detecting means 27 calculates the packet type ST and the packet reception interval R
When XINT is input, if the packet type ST indicates that the packet is the first packet, the variation d is not obtained. If the packet type ST indicates that the packet does not include the first packet, Is the packet reception interval R
The difference between XINT and the packet transmission interval (fixed value) is sent to the reproduction waiting time calculation means 28 as the fluctuation amount d. When the fluctuation amount d is input, the reproduction waiting time calculation means 28 sets the difference between the fluctuation amount d and the current reproduction waiting time DTIME as the reproduction waiting time shortage amount Td, and determines the value of the reproduction waiting time shortage amount Td immediately before. 3, the reproduction waiting time increase / decrease amount f (Td) is obtained from FIG. 3. If the value of the reproduction waiting time shortage amount Td is 0 or has a different sign from the immediately preceding Td, the reproduction waiting time is calculated. Without updating the time, the current reproduction waiting time DTIME is added to the reproduction waiting time increase / decrease amount f (Td) and sent to the adder 29 as the next reproduction waiting time DTIME. When the fluctuation amount d is not input, the reproduction waiting time calculation unit 28 outputs the reproduction waiting time shortage amount Td.
, The reproduction wait time DTIME is not changed, and the previously obtained wait time DTI is added to the adder 29.
Send ME. The adder 29 calculates the reproduction wait time DTI
When the ME and the current time TM are input, a value obtained by adding the reproduction waiting time DTIME and the current time TM is sent to the control information buffer 30 as the data reproduction start time RDTM.

【0026】次に、上記第1の実施例におけるパケット
遅延変動制御回路が情報バッファ22からパケットPK
Tを読み出す動作について説明する。読み出し制御手段
31は、制御情報バッファ30からパケット種類STお
よびデータ再生開始時刻RDTMを読み出し、制御情報
バッファ30から読み出したパケット種類STが先頭パ
ケットであることを示している場合、または情報バッフ
ァ22が空になった後に初めて制御情報バッファ30か
らパケット種類STおよびデータ再生開始時刻RDTM
を読み出した場合には、制御情報バッファ30から読み
出したデータ再生開始時刻RDTMと現在時刻TMを比
較し、データ再生開始時刻RDTMと現在時刻TMが一
致しているかまたは現在時刻TMがデータ再生開始時刻
RDTMを過ぎていれば、前回の情報バッファ読み出し
の終了を待って情報バッファ読み出し信号SARRDを
出力し、また制御情報バッファ30から読み出したパケ
ット種類STが先頭パケットでないことを示している場
合には、前回の情報バッファ読み出しの終了を待って情
報バッファ読み出し信号SARRDを出力する。情報バ
ッファ22は、情報バッファ読み出し信号SARRDが
入力されると、再生データDATAを出力端子23に出
力する。
Next, the packet delay variation control circuit in the first embodiment
The operation of reading T will be described. The read control unit 31 reads the packet type ST and the data reproduction start time RDTM from the control information buffer 30. If the packet type ST read from the control information buffer 30 indicates that it is the first packet, or if the information buffer 22 Only after it becomes empty, the packet type ST and the data reproduction start time RDTM are read from the control information buffer 30.
Is read, the data reproduction start time RDTM read from the control information buffer 30 is compared with the current time TM, and whether the data reproduction start time RDTM matches the current time TM or the current time TM is the data reproduction start time If RDTM has been passed, the information buffer read signal SARRD is output after the end of the previous information buffer read, and if the packet type ST read from the control information buffer 30 indicates that it is not the first packet, The information buffer read signal SARRD is output after the end of the previous information buffer read. When the information buffer read signal SARRD is input, the information buffer 22 outputs the reproduction data DATA to the output terminal 23.

【0027】このように、上記第1の実施例によれば、
パケット受信間隔とパケット送信間隔との差をパケット
転送遅延変動量dとして求め、この変動量dを基に受信
パケットに対するデータの再生までの再生待ち合わせ時
間を求めて、転送データの先頭を含むパケットに対して
再生待ち合わせを行なうので、パケット転送遅延変動量
dの最大値を予め知っておく必要がないという効果を有
し、また、パケットに対して常に適正な再生待ち合わせ
を行なうことができるという効果を有する。
As described above, according to the first embodiment,
The difference between the packet reception interval and the packet transmission interval is determined as a packet transfer delay variation d. Based on the variation d, a playback waiting time until data playback for the received packet is determined. On the other hand, since the reproduction wait is performed, it is not necessary to know in advance the maximum value of the packet transfer delay fluctuation amount d. Have.

【0028】さらに、上記第1の実施例によれば、転送
データの先頭を含むパケットおよび記憶手段である情報
バッファ22に再生すべきデータがなくなった後に初め
て受信したパケットに対して再生待ち合わせを行なうの
で、パケット転送遅延が大きくなって遅延を吸収しきれ
なくなった場合、すなわちパケットの到着が遅れてデー
タ再生が中断した場合においても、中断後に初めて到着
したパケットに対して再生待ち合わせを行なうことによ
り、以降の遅延変動を吸収することができるという効果
を有する。
Further, according to the first embodiment, reproduction queuing is performed for the packet including the head of the transfer data and the packet received for the first time after the information buffer 22 serving as the storage means has no more data to be reproduced. Therefore, if the packet transfer delay becomes too large to absorb the delay, that is, even if the data arrival is delayed and the data reproduction is interrupted, the reproduction queuing is performed for the packet that arrives for the first time after the interruption, This has the effect that subsequent delay fluctuations can be absorbed.

【0029】さらに、上記第1の実施例によれば、変動
量dから再生待ち合わせ時間DTIMEを減じた値を変
数とする単調増加関数を用いて再生待ち合わせ時間DT
IMEを求めるものの、変動量から現在の再生待ち合わ
せ時間DTIMEを減じた値が第1の一定値Td1 以下
で、かつ第2の一定値Td2 以上であれば再生待ち合わ
せ時間DTIMEを増減しないようにしたので、特定の
範囲内での変動量dに対し、不必要な再生待ち合わせ時
間DTIMEの増減を防止するという効果を有する。
Further, according to the first embodiment, the reproduction waiting time DT is determined by using a monotonically increasing function having a variable obtained by subtracting the reproduction waiting time DTIME from the fluctuation amount d.
Although obtaining the IME, the amount varies as a value obtained by subtracting the current playback waiting time DTIME the first predetermined value Td 1 below, and does not increase or decrease the reproduction waiting time DTIME if the second predetermined value Td 2 or more Therefore, an effect of preventing an unnecessary increase or decrease of the reproduction wait time DTIME for the fluctuation amount d within a specific range is obtained.

【0030】さらに、上記第1の実施例によれば、変動
量dが再生待ち合わせ時間DTIMEの現在の値よりも
大となることが連続して複数回生じた場合と、変動量d
が再生待ち合わせ時間DTIMEよりも小となることが
連続して複数回生じた場合の少なくともどちらか一方が
発生した場合には再生待ち合わせ時間DTIMEを更新
するようにしたので、短時間での変動に対し、不必要な
再生待ち合わせ時間DTIMEの増減を防止するという
効果を有する。
Further, according to the first embodiment, the case where the fluctuation amount d becomes larger than the current value of the reproduction waiting time DTIME plural times continuously, and the case where the fluctuation amount d
Is smaller than the playback waiting time DTIME, the playback waiting time DTIME is updated when at least one of the successive occurrences occurs a plurality of times. This has the effect of preventing an unnecessary increase or decrease in the reproduction wait time DTIME.

【0031】さらに、上記第1の実施例によれば、受信
パケットの送信間隔が既知である場合に、受信間隔と既
知である送信間隔との差を変動量dとするので、パケッ
トの内部にタイムスタンプ領域を設ける必要がないとい
う効果を有する。
Further, according to the first embodiment, when the transmission interval of the received packet is known, the difference between the reception interval and the known transmission interval is set as the fluctuation amount d. This has the effect that there is no need to provide a time stamp area.

【0032】次に、パケットの送信間隔が既知でない場
合における本発明の第2の実施例について説明する。図
4は本発明の第2の実施例におけるパケットの構成図で
ある。11〜14の構成要素については上記第1の実施
例と同様であるのでその説明を省略する。図4におい
て、15はパケット11が送信された時の送信時刻を示
すタイムスタンプである。
Next, a description will be given of a second embodiment of the present invention when the packet transmission interval is not known. FIG. 4 is a configuration diagram of a packet according to the second embodiment of the present invention. The components 11 to 14 are the same as those in the first embodiment, and a description thereof will be omitted. In FIG. 4, reference numeral 15 denotes a time stamp indicating the transmission time when the packet 11 was transmitted.

【0033】図5は本発明の第2の実施例の構成を示す
ものであり、32以外の構成要素については上記第1の
実施例と同様であるのでその説明を省略する。図5にお
いて、32はパケットPKTを受信すると、受信パケッ
トのタイムスタンプ15と前回の受信パケットのタイム
スタンプ15との差をパケット送信間隔TXINTとし
て変動量検出手段27に送るパケット送信間隔測定手段
である。
FIG. 5 shows the configuration of the second embodiment of the present invention. The components other than 32 are the same as those of the first embodiment, and therefore, the description thereof will be omitted. In FIG. 5, reference numeral 32 denotes a packet transmission interval measuring unit which, upon receiving a packet PKT, sends a difference between the time stamp 15 of the received packet and the time stamp 15 of the previous received packet to the variation detecting unit 27 as a packet transmission interval TXINT. .

【0034】次に上記第2の実施例の動作について説明
する。まず、上記第2の実施例におけるパケット遅延変
動制御回路がパケットPKTを受信し、情報バッファ2
2に格納するまでの動作について説明する。まず、入力
端子21がパケットPKTを受信すると、受信したパケ
ットの情報部13を情報バッファ22に格納する。パケ
ット種類判定手段25は、パケットPKTが入力される
と、パケットPKTに示されているパケット種類情報1
4を基にしてパケットSTを判定し、パケット種類ST
を制御情報バッファ30に送り、そのとき加算器29が
出力しているデータ再生開始時刻RDTMとともにパケ
ット種類STを制御情報バッファ30に格納する。一
方、パケット送信間隔判定手段32は、パケットPKT
が入力されると、現在受信しているパケットPKTのタ
イムスタンプ15と前回受信したパケットPKTのタイ
ムスタンプ15との差をパケット送信間隔TXINTと
して変動量検出手段27に送る。さらに、パケット受信
間隔判定手段26は、パケットPKTが入力されると、
パケットPKTを受信した現在時刻TMと前回にパケッ
トPKTを受信した現在時刻TMとの差をパケット受信
間隔RXINTとして変動量検出手段27に送る。変動
量検出手段27は、パケット送信間隔TXINTとパケ
ット受信間隔RXINTが入力されると、パケット受信
間隔RXINTとパケット送信間隔TXINTとの差を
変動量dとして再生待ち合わせ時間算出手段28に送
る。再生待ち合わせ時間算出手段28に変動量dが入力
されると、変動量dと現在の再生待ち合わせ時間DTI
MEとの差を再生待ち合わせ時間不足量Tdとし、この
再生待ち合わせ時間不足量Tdの値が直前のTdと同符
号であれば図3から再生待ち合わせ時間増減量fTdを
求め、再生待ち合わせ時間不足量Tdの値が0であるか
または直前のTdと異符号であれば再生待ち合わせ時間
の更新を行なわず、上記再生待ち合わせ時間増減量f
(Td)に現在の再生待ち合わせ時間DTIMEを加え
て、次回の再生待ち合わせ時間DTIMEとして加算器
29に送る。加算器29は、再生待ち合わせ時間DTI
MEと現在時刻TMが入力されると、再生待ち合わせ時
間DTIMEと現在時刻TMを加算した値をデータ再生
開始時刻RDTMとして制御情報バッファ30に送る。
Next, the operation of the second embodiment will be described. First, the packet delay variation control circuit in the second embodiment receives the packet PKT and
2 will be described. First, when the input terminal 21 receives the packet PKT, the information section 13 of the received packet is stored in the information buffer 22. When the packet PKT is input, the packet type determining unit 25 receives the packet type information 1 shown in the packet PKT.
The packet ST is determined based on the packet type ST.
Is sent to the control information buffer 30, and the packet type ST is stored in the control information buffer 30 together with the data reproduction start time RDTM output by the adder 29 at that time. On the other hand, the packet transmission interval determination means 32
Is input, the difference between the time stamp 15 of the currently received packet PKT and the time stamp 15 of the previously received packet PKT is sent to the variation detecting means 27 as the packet transmission interval TXINT. Further, when the packet PKT is input, the packet reception interval determination means 26
The difference between the current time TM at which the packet PKT was received and the current time TM at which the previous packet PKT was received is sent to the fluctuation detecting means 27 as a packet reception interval RXINT. When the packet transmission interval TXINT and the packet reception interval RXINT are input, the variation detection unit 27 sends the difference between the packet reception interval RXINT and the packet transmission interval TXINT to the reproduction waiting time calculation unit 28 as the variation d. When the fluctuation amount d is input to the reproduction waiting time calculation means 28, the fluctuation amount d and the current reproduction waiting time DTI
The difference from the ME is defined as the shortage of the reproduction waiting time Td. If the value of the shortage of the reproduction waiting time Td is the same sign as the immediately preceding Td, the reproduction waiting time increase / decrease fTd is obtained from FIG. Is 0 or a different sign from the immediately preceding Td, the reproduction waiting time is not updated, and the reproduction waiting time increase / decrease f
The current reproduction waiting time DTIME is added to (Td), and the result is sent to the adder 29 as the next reproduction waiting time DTIME. The adder 29 calculates the reproduction wait time DTI
When the ME and the current time TM are input, a value obtained by adding the reproduction waiting time DTIME and the current time TM is sent to the control information buffer 30 as the data reproduction start time RDTM.

【0035】次に、上記第2の実施例におけるパケット
遅延変動制御回路が情報バッファ22からパケットPK
Tを読み出す動作について説明する。読み出し制御手段
31は、制御情報バッファ30からパケット種類STお
よびデータ再生開始時刻RDTMを読み出し、制御情報
バッファ30から読み出したパケット種類STが先頭パ
ケットであることを示している場合、または情報バッフ
ァ22が空になった後に初めて制御情報バッファ30か
らパケット種類STおよびデータ再生開始時刻RDTM
を読み出した場合には、制御情報バッファ30から読み
出したデータ再生開始時刻RDTMと現在時刻TMを比
較し、データ再生開始時刻RDTMと現在時刻TMが一
致しているかまたは現在時刻TMがデータ再生開始時刻
RDTMを過ぎていれば、前回の情報バッファ読み出し
の終了を待って情報バッファ読み出し信号SARRDを
出力し、また制御情報バッファ30から読み出したパケ
ット種類STが先頭パケットでないことを示している場
合には、前回の情報バッファ読み出しの終了を待って情
報バッファ読み出し信号SARRDを出力する。情報バ
ッファ22は、情報バッファ読み出し信号SARRDが
入力されると、再生データDATAを出力端子23に出
力する。
Next, the packet delay variation control circuit in the second embodiment
The operation of reading T will be described. The read control unit 31 reads the packet type ST and the data reproduction start time RDTM from the control information buffer 30. If the packet type ST read from the control information buffer 30 indicates that it is the first packet, or if the information buffer 22 Only after it becomes empty, the packet type ST and the data reproduction start time RDTM are read from the control information buffer 30.
Is read, the data reproduction start time RDTM read from the control information buffer 30 is compared with the current time TM, and whether the data reproduction start time RDTM matches the current time TM or the current time TM is the data reproduction start time If RDTM has been passed, the information buffer read signal SARRD is output after the end of the previous information buffer read, and if the packet type ST read from the control information buffer 30 indicates that it is not the first packet, The information buffer read signal SARRD is output after the end of the previous information buffer read. When the information buffer read signal SARRD is input, the information buffer 22 outputs the reproduction data DATA to the output terminal 23.

【0036】このように、上記第2の実施例によれば、
上記第1の実施例による効果に加えて、パケットの内部
にタイムスタンプ15を設け、送信側はパケットのタイ
ムスタンプ15に送信時刻を記録し、受信側ではパケッ
ト送信間隔測定手段32が、連続する2つのパケットの
タイムスタンプ15に記録されている送信時刻の差であ
る送信間隔を求め、受信間隔と送信間隔との差を求める
ことにより、受信パケットの送信間隔が既知でなくても
変動量を計測できるという効果を有する。
As described above, according to the second embodiment,
In addition to the effects of the first embodiment, the time stamp 15 is provided inside the packet, the transmission side records the transmission time in the packet time stamp 15, and the packet transmission interval measuring means 32 is continuously arranged on the reception side. The transmission interval, which is the difference between the transmission times recorded in the time stamps 15 of the two packets, is obtained, and the difference between the reception interval and the transmission interval is obtained. It has the effect of being able to measure.

【0037】[0037]

【発明の効果】本発明は、上記実施例から明らかなよう
に、パケット受信間隔とパケット送信間隔との差をパケ
ット転送遅延変動量として求め、この変動量を基に受信
パケットに対するデータの再生までの再生待ち合わせ時
間を求めて、転送データの先頭を含むパケットに対して
待ち合わせを行なうので、パケット転送遅延変動量の最
大値を予め知っておく必要がないという第1の利点およ
びパケットに対して常に適正な再生待ち合わせを行なう
ことができるという第2の利点を有する。
According to the present invention, as is apparent from the above embodiment, the difference between the packet reception interval and the packet transmission interval is determined as a packet transfer delay variation, and based on this variation, data reproduction for a received packet is performed. The first advantage is that there is no need to know in advance the maximum value of the packet transfer delay variation, and the packet is always queried for the packet including the beginning of the transfer data. There is a second advantage that proper reproduction waiting can be performed.

【0038】さらに、転送データの先頭を含むパケット
および記憶手段に再生すべきデータがなくなった後に初
めて受信したパケットに対して再生待ち合わせを行なう
ので、パケット転送遅延が大きくなって遅延を吸収しき
れなくなった場合、すなわちパケットの到着が遅れてデ
ータ再生が中断した場合においても、中断後に初めて到
着したパケットに対して再生待ち合わせを行なうことに
より、以降の遅延変動を吸収することができるという第
3の利点を有する。
Further, since the reproduction queuing is performed for the packet including the head of the transfer data and the packet received for the first time after the data to be reproduced is exhausted in the storage means, the packet transfer delay becomes large and the delay cannot be absorbed. In the case where the data reproduction is interrupted due to the delay of the arrival of the packet, the third advantage is that the subsequent delay fluctuation can be absorbed by performing the reproduction wait for the packet arriving for the first time after the interruption. Having.

【0039】さらに、変動量から再生待ち合わせ時間を
減じた値を変数とする単調増加関数を用いて再生待ち合
わせ時間を求め、変動量から現在の再生待ち合わせ時間
を減じた値が第1の一定値以下で、かつ第2の一定値以
上であれば再生待ち合わせ時間を増減しないようにした
ので、特定の範囲内での変動量に対し、不必要な再生待
ち合わせ時間の増減を防止することができるという第4
の利点を有する。
Further, the reproduction waiting time is obtained by using a monotonically increasing function having a variable obtained by subtracting the reproduction waiting time from the fluctuation amount, and the value obtained by subtracting the current reproduction waiting time from the fluctuation amount is equal to or less than a first constant value. The reproduction waiting time is not increased or decreased if it is equal to or more than the second constant value. Therefore, it is possible to prevent an unnecessary increase or decrease in the reproduction waiting time with respect to a fluctuation amount within a specific range. 4
Has the advantage of

【0040】さらに、変動量が再生待ち合わせ時間の現
在の値より大となることが連続して複数回生じた場合
と、変動量が再生待ち合わせ時間よりも小となることが
連続して複数回生じた場合の少なくともどちらか一方が
発生した場合には再生待ち合わせ時間を更新するように
したので、短時間での変動に対し、不必要な再生待ち合
わせ時間の増減を防止することができるという第5の利
点を有する。
Further, the case where the fluctuation amount becomes larger than the current value of the reproduction waiting time occurs continuously plural times, and the case where the fluctuation amount becomes smaller than the reproduction waiting time occurs continuously plural times. In the case where at least one of the above cases occurs, the reproduction wait time is updated. Therefore, it is possible to prevent an unnecessary increase or decrease in the reproduction wait time against a short-time fluctuation. Has advantages.

【0041】さらに、パケットの送信間隔が既知でない
場合、パケットの内部にタイムスタンプ領域を設け、送
信側はパケットのタイムスタンプ領域に送信時刻を記録
し、受信側では連続する2つのパケットのタイムスタン
プ領域に記録されている送信時刻の差を求め、受信間隔
と送信間隔との差を変動量とするので、受信パケットの
送信間隔が既知でなくても変動量を計測できるという第
6の利点を有する。
Further, if the packet transmission interval is not known, a time stamp area is provided inside the packet, the transmitting side records the transmission time in the packet time stamp area, and the receiving side records the time stamp of two consecutive packets. Since the difference between the transmission times recorded in the area is obtained and the difference between the reception interval and the transmission interval is used as the variation, the sixth advantage that the variation can be measured even if the transmission interval of the received packet is not known. Have.

【0042】さらに、受信パケットの送信間隔が既知の
固定値である場合、受信間隔と既知の固定値である送信
間隔との差を変動量とするので、パケットの内部にタイ
ムスタンプ領域を設ける必要がないという第7の利点を
有する。
Further, when the transmission interval of a received packet is a known fixed value, the difference between the reception interval and the transmission interval which is a known fixed value is used as the amount of variation, so that a time stamp area must be provided inside the packet. There is a seventh advantage that there is no

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施例におけるパケット遅延変
動制御回路の構成を示すブロック図
FIG. 1 is a block diagram showing a configuration of a packet delay variation control circuit according to a first embodiment of the present invention;

【図2】本発明の第1の実施例におけるパケットの構成
FIG. 2 is a configuration diagram of a packet according to the first embodiment of the present invention;

【図3】本発明の第1の実施例および第2の実施例にお
ける再生待ち合わせ時間不足量Tdと再生待ち合わせ時
間増減量f(Td)の関係を示すグラフ
FIG. 3 is a graph showing a relationship between a reproduction waiting time shortage amount Td and a reproduction waiting time increase / decrease amount f (Td) in the first embodiment and the second embodiment of the present invention.

【図4】本発明の第2の実施例におけるパケットの構成
FIG. 4 is a configuration diagram of a packet according to a second embodiment of the present invention;

【図5】本発明の第2の実施例におけるパケット遅延変
動制御回路の構成を示すブロック図
FIG. 5 is a block diagram showing a configuration of a packet delay variation control circuit according to a second embodiment of the present invention.

【図6】従来のパケット遅延変動制御回路の構成を示す
ブロック図
FIG. 6 is a block diagram showing a configuration of a conventional packet delay variation control circuit.

【図7】従来のパケットの構成図FIG. 7 is a configuration diagram of a conventional packet.

【符号の説明】[Explanation of symbols]

11 パケット 12 パケットヘッダ 13 情報部 14 パケット種類情報 15 タイムスタンプ 21 パケットを受信する入力端子 22 情報バッファ 23 再生データを送信する出力端子 24 時計 25 パケット種類判定手段 26 パケット受信間隔測定手段 27 変動量検出手段 28 再生待ち合わせ時間算出手段 29 加算器 30 制御情報バッファ 31 読み出し制御手段 32 パケット送信間隔測定手段 Reference Signs List 11 packet 12 packet header 13 information section 14 packet type information 15 time stamp 21 input terminal for receiving packet 22 information buffer 23 output terminal for transmitting reproduction data 24 clock 25 packet type determination means 26 packet reception interval measurement means 27 fluctuation amount detection Means 28 Reproduction wait time calculation means 29 Adder 30 Control information buffer 31 Read control means 32 Packet transmission interval measurement means

フロントページの続き (56)参考文献 特開 平3−104342(JP,A) 特開 平5−37559(JP,A) 特開 平2−288441(JP,A) 特開 昭63−42538(JP,A) 特開 昭56−28548(JP,A) 電子情報通信学会技術研究報告,IN 91−2 (58)調査した分野(Int.Cl.6,DB名) H04L 12/28 H04L 12/56Continuation of the front page (56) References JP-A-3-104342 (JP, A) JP-A-5-37559 (JP, A) JP-A-2-288441 (JP, A) JP-A-63-42538 (JP) , A) JP-A-56-28548 (JP, A) Technical report of IEICE, IN 91-2 (58) Fields investigated (Int. Cl. 6 , DB name) H04L 12/28 H04L 12/56

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 現在時刻を発生する時計手段と、受信し
たパケットが転送データの先頭を含むか否かの判定結果
であるパケット種類を出力するパケット種類判定手段
と、前記受信パケットの到着間隔である受信間隔を求め
るパケット受信間隔測定手段と、前記受信間隔とパケッ
トの送信間隔との差であるパケット転送遅延変動量を検
出する変動量検出手段と、前記変動量に基づいて前記受
信パケットに対するデータ再生までの再生待ち合わせ時
間を求め、前記変動量と再生待ち合わせ時間との差を変
数とする単調増加関数に基づき前記再生待ち合わせ時間
を増減する再生待ち合わせ時間算出手段と、前記再生待
ち合わせ時間と現在時刻とを加えた値を再生開始時刻と
して出力する加算手段と、受信パケットの情報部とパケ
ット種類と前回の受信パケットから得られた再生開始時
刻とを取り込むファーストインファーストアウト型の記
憶手段と、前記記憶手段に記憶されたパケット種類と現
在時刻と前記再生開始時刻とに基づいて、前記パケット
種類が転送データの先頭を含むことを示し、かつ前記記
憶手段に記憶された再生開始時刻が現在時刻に達してい
る場合および前記パケット種類が転送データの先頭を含
まないことを示している場合には、前記記憶手段から直
前のパケットの情報部の出力が終了するのを待って前記
パケット種類に対応するパケットの情報部を前記記憶手
段から出力させる読み出し制御手段とを備えたパケット
遅延変動制御回路。
A clock generating means for generating a current time; a packet type determining means for outputting a packet type as a result of determining whether or not a received packet includes the head of transfer data; Packet reception interval measurement means for obtaining a certain reception interval; fluctuation amount detection means for detecting a packet transfer delay fluctuation amount which is a difference between the reception interval and the packet transmission interval; and data for the received packet based on the fluctuation amount. A playback waiting time until playback is obtained, a playback waiting time calculating means for increasing or decreasing the playback waiting time based on a monotonically increasing function using a difference between the fluctuation amount and the playback waiting time as a variable, and a playback waiting time and a current time. Adding means for outputting the value obtained by adding the value as the reproduction start time, the information part of the received packet, the packet type and the previous reception A first-in first-out type storage unit that captures the reproduction start time obtained from the packet; and, based on the packet type, the current time, and the reproduction start time stored in the storage unit, the packet type is the transfer data If the playback start time stored in the storage means has reached the current time and if the packet type does not include the head of the transfer data, the storage means And a read control unit for outputting from the storage unit the information section of the packet corresponding to the packet type after the output of the information section of the immediately preceding packet is completed.
【請求項2】 読み出し制御手段は、パケット種類が転
送データの先頭を含むことを示し、かつ記憶手段に記憶
された再生開始時刻が現在時刻に達している場合、前記
記憶手段にデータが記憶されていない状態となってから
初めて受信したパケットとともに前記記憶手段に記憶さ
れた再生開始時刻が現在時刻に達している場合および前
記パケット種類が転送データの先頭を含まないことを示
している場合には、前記記憶手段から直前のパケットの
情報部の出力が終了するのを待って前記パケット種類に
対応するパケットの情報部を前記記憶手段から出力させ
ることを特徴とする請求項1記載のパケット遅延変動制
御回路。
2. The read control unit, when indicating that the packet type includes the head of the transfer data, and when the reproduction start time stored in the storage unit has reached the current time, the data is stored in the storage unit. When the playback start time stored in the storage means together with the packet received for the first time since the state has not reached the current time and when the packet type indicates that the packet type does not include the head of the transfer data, 2. The packet delay variation according to claim 1, wherein the output of the information section of the immediately preceding packet from the storage section is completed, and the information section of the packet corresponding to the packet type is output from the storage section. Control circuit.
【請求項3】 再生待ち合わせ時間算出手段は、変動量
から現在の再生待ち合わせ時間を減じた値が第1の一定
値以下であり、かつ第2の一定値以上の場合には再生待
ち合わせ時間の増減を行なわないことを特徴とする請求
項1または2記載のパケット遅延変動制御回路。
3. The reproduction waiting time calculating means increases or decreases the reproduction waiting time when a value obtained by subtracting the current reproduction waiting time from the fluctuation amount is equal to or less than a first constant value and equal to or greater than a second constant value. 3. The packet delay variation control circuit according to claim 1, wherein the packet delay variation control circuit does not perform the process.
【請求項4】 再生待ち合わせ時間算出手段は、変動量
から現在の再生待ち合わせ時間を減じた値が複数回連続
して正、もしくは複数回連続して負となった場合には再
生待ち合わせ時間の更新を行なうことを特徴とする請求
項1から3のいずれかに記載のパケット遅延変動制御回
路。
4. The reproduction waiting time calculating means updates the reproduction waiting time when a value obtained by subtracting the current reproduction waiting time from the fluctuation amount becomes positive continuously plural times or negative continuously plural times. 4. The packet delay variation control circuit according to claim 1, wherein
【請求項5】 パケットの送信間隔が既知でない場合、
送信時刻を記録するタイムスタンプ領域をパケットに設
け、変動量検出手段は、受信間隔と、連続する2つのパ
ケットのタイムスタンプ領域にそれぞれに記録されてい
る送信時刻との差を変動量とすることを特徴とする請求
項1から4のいずれかに記載のパケット遅延変動制御回
路。
5. When the packet transmission interval is not known,
A packet is provided with a time stamp area for recording the transmission time, and the variation detecting means uses the difference between the reception interval and the transmission time recorded in the time stamp area of two consecutive packets as the variation. The packet delay variation control circuit according to any one of claims 1 to 4, wherein:
【請求項6】 パケットの送信間隔が既知の固定値であ
る場合、変動量検出手段は、受信間隔と前記固定値であ
る送信間隔との差を変動量とすることを特徴とする請求
項1から4のいずれかに記載のパケット遅延変動制御回
路。
6. The method according to claim 1, wherein when the transmission interval of the packet is a known fixed value, the variation detecting means sets the difference between the reception interval and the transmission interval as the fixed value as the variation. 5. The packet delay variation control circuit according to any one of claims 1 to 4.
JP18398792A 1992-07-10 1992-07-10 Packet delay fluctuation control circuit Expired - Fee Related JP2757242B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18398792A JP2757242B2 (en) 1992-07-10 1992-07-10 Packet delay fluctuation control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18398792A JP2757242B2 (en) 1992-07-10 1992-07-10 Packet delay fluctuation control circuit

Publications (2)

Publication Number Publication Date
JPH0630047A JPH0630047A (en) 1994-02-04
JP2757242B2 true JP2757242B2 (en) 1998-05-25

Family

ID=16145337

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18398792A Expired - Fee Related JP2757242B2 (en) 1992-07-10 1992-07-10 Packet delay fluctuation control circuit

Country Status (1)

Country Link
JP (1) JP2757242B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5568403A (en) * 1994-08-19 1996-10-22 Thomson Consumer Electronics, Inc. Audio/video/data component system bus
EP0895378B1 (en) 1996-05-07 2006-03-08 Yamaha Corporation Method and system for transmitting audio data with time stamp
WO2006006230A1 (en) * 2004-07-12 2006-01-19 Mitsubishi Denki Kabushiki Kaisha Packet transfer method, wireless access station, base station control apparatus, and wireless base station
WO2016151852A1 (en) * 2015-03-26 2016-09-29 Necディスプレイソリューションズ株式会社 Audio reproduction device, image display device and audio reproduction method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
電子情報通信学会技術研究報告,IN91−2

Also Published As

Publication number Publication date
JPH0630047A (en) 1994-02-04

Similar Documents

Publication Publication Date Title
JP3679808B2 (en) Signal processing system
EP1072166B1 (en) Method of and apparatus for isochronous data communication
US5301193A (en) Delay distortion suppressing system for ATM communication system
KR870008453A (en) Digital Sample Reformatting Device
JP3417392B2 (en) Synchronous control device
JP3052824B2 (en) Audio playback time adjustment circuit
JPH02272925A (en) Method and circuit for synchronizing frame phase by pointer conversion
JP2757242B2 (en) Packet delay fluctuation control circuit
US20020076196A1 (en) Digital broadcast recording/reproducing apparatus
JP3499818B2 (en) Time stamp offset adjusting method and packet transmission device using the same
JP3505787B2 (en) Electronics
JP3459252B2 (en) Multi-increment recorder synchronization and automatic resynchronization
JP4187920B2 (en) Data communication method
JP2636329B2 (en) Magnetic recording device
JPH0358543A (en) Packet composing device
JP2765985B2 (en) ATM network burst information transfer method
JP2001244969A (en) Method and device for receiving data
JP2768384B2 (en) Burst adaptation method in ATM network
JP3075273B2 (en) Cell buffer control circuit
JP2512136B2 (en) Voice packet reproducing device
JP2765986B2 (en) ATM network burst information transfer method
JP3166061B2 (en) Cell assembly equipment
JPH0750703A (en) Packet receiver
JPH05136806A (en) Time management system
JPH0799539A (en) Automatic answering telephone set

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees