JPH06152648A - Data packet communication method - Google Patents

Data packet communication method

Info

Publication number
JPH06152648A
JPH06152648A JP29878892A JP29878892A JPH06152648A JP H06152648 A JPH06152648 A JP H06152648A JP 29878892 A JP29878892 A JP 29878892A JP 29878892 A JP29878892 A JP 29878892A JP H06152648 A JPH06152648 A JP H06152648A
Authority
JP
Japan
Prior art keywords
packets
delay time
fluctuation absorption
packet
fluctuation
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.)
Pending
Application number
JP29878892A
Other languages
Japanese (ja)
Inventor
Masatsugu Yano
雅嗣 矢野
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP29878892A priority Critical patent/JPH06152648A/en
Publication of JPH06152648A publication Critical patent/JPH06152648A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Use Of Switch Circuits For Exchanges And Methods Of Control Of Multiplex Exchanges (AREA)

Abstract

PURPOSE:To make the setting of a fluctuation absorption delay time proper by counting number of received packets stored in a buffer, number of overrun packets and number of underrun packets for each timing and calculating the count according to a prescribed arithmetic operation equation. CONSTITUTION:Number of packets stored in a fluctuation absorption buffer is measured at a reproduction timing of voice packets. Then an averaged storage packet number is calculated for each talk spurt by the following arithmetic equation; average value = sum of packet numbers/K at the reproduction timing from a head of talk spurt to the K-th talk spurt, where K=number of packets of talk spurt-(object packet number-1). Then the calculated average storage packet number is used to calculate a new fluctuation absorption delay time; new fluctuation absorption delay time = (object value - average value)X packet processing period time + current fluctuation absorption delay time. The delay time is set properly with a simple configuration by providing steps in this way to decide the new fluctuation absorption delay time.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、音声パケットの遅延ゆ
らぎ吸収方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for absorbing voice packet delay fluctuations.

【0002】[0002]

【従来の技術】図21、図22は例えば特開平2−20
3641に示された従来の音声パケットの遅延ゆらぎ吸
収方法を説明する図である。図において、301−0、
301−1はそれぞれ第1、第2の有音区間(以後、ト
ークスパートと呼ぶ)、トークスパート301を一定時
間分ごとに区切った符号化音声データである320、3
21、322、323は、それぞれ第1、第2、第3、
第4の符号化音声データである。一定時間分の符号化音
声データをパケット化した音声パケットである330〜
333は,それぞれ符号化音声データ320,321,
322,323をパケット化した第1、第2、第3、第
4の音声パケットである。304は符号化音声データ3
20〜323を音声パケット320〜333に組み立て
るパケット化周期である。音声パケット320〜333
が転送される際のパケット毎に異なる転送遅延時間の差
を吸収するために、トークスパートの先頭パケットの到
着から再生開始まで待ち合わせるゆらぎ吸収遅延時間が
あり、350は第1のゆらぎ吸収遅延時間、351は第
1のゆらぎ吸収遅延時間を変更した第2のゆらぎ吸収遅
延時間である。306はゆらぎ吸収遅延時間による転送
遅延時間の差を吸収できなかつたために発生したアンダ
ーラン状態(再生開始時にその再生タイミングで再生す
べきパケットが到着していない状態)において、再生開
始時点からその再生タイミングで再生すべきパケットの
到着までのアンダーラン時間である。
2. Description of the Related Art FIGS.
[Fig. 36] Fig. 36 is a diagram for describing a conventional method for absorbing delay fluctuation of a voice packet shown in 3641. In the figure, 301-0,
Reference numeral 301-1 designates first and second voiced sections (hereinafter referred to as talk spurts), and coded voice data in which the talk spurts 301 are sectioned at regular time intervals 320 and 3, respectively.
21, 322, 323 are the first, second, third, and
This is the fourth encoded voice data. 330 is a voice packet in which encoded voice data for a certain period of time is packetized
333 is encoded voice data 320, 321, respectively.
322 and 323 are first, second, third, and fourth voice packets packetized. 304 is encoded voice data 3
It is a packetization cycle for assembling 20 to 323 into voice packets 320 to 333. Voice packets 320-333
In order to absorb the difference in transfer delay time which differs for each packet when a packet is transferred, there is a fluctuation absorption delay time waiting from the arrival of the first packet of the talk spurt to the start of reproduction, and 350 is the first fluctuation absorption delay time, Reference numeral 351 is a second fluctuation absorption delay time in which the first fluctuation absorption delay time is changed. 306 is a reproduction from the reproduction start point in the underrun state (a packet to be reproduced has not arrived at the reproduction timing at the reproduction start time) generated because the difference in the transfer delay time due to the fluctuation absorption delay time cannot be absorbed. It is the underrun time until the arrival of the packet to be reproduced at the timing.

【0003】なお、図21はアンダーラン状態が発生し
た場合の通信シーケンスチャートであり、また、図22
は第1のゆらぎ吸収遅延時間350とアンダーラン時間
306から新たに算出した第2のゆらぎ吸収遅延時間3
51を付加した場合を示す通信シーケンスチャートであ
る。また、図23は従来例において、ゆらぎ吸収時間を
算出する際に必要となるパケットの平均伝送遅延時間の
求め方を示した図である。図において307は前回のト
ークスパートから計算したパケットの平均伝送遅延時間
である。図24は従来における遅延揺らぎ吸収時間の変
更方法を示すフローチャートである。
FIG. 21 is a communication sequence chart when an underrun state occurs, and FIG.
Is the second fluctuation absorption delay time 3 newly calculated from the first fluctuation absorption delay time 350 and the underrun time 306.
It is a communication sequence chart which shows the case where 51 is added. Further, FIG. 23 is a diagram showing a method of obtaining an average transmission delay time of packets, which is necessary when calculating the fluctuation absorption time in the conventional example. In the figure, 307 is the average transmission delay time of the packet calculated from the previous talk spurt. FIG. 24 is a flowchart showing a conventional method for changing the delay fluctuation absorption time.

【0004】次に動作について説明する。送信側では、
第1のトークスパート301−0をパケット化周期30
4毎に区切った符号化音声データ320〜323を、そ
れぞれ音声パケット330〜333に組み立て送信す
る。パケット交換網内を伝送される間に、受信側では、
網のトラフィック状態および伝送経路によりパケット毎
に異なる伝送遅延を受けた音声パケットから第1のトー
クスパート301−0を正しく再生する動作を行う。即
ち、第1のトークスパート301−0の第1の音声パケ
ット330受信後、第1のゆらぎ吸収遅延時間350=
T2時間経過してから、第1の音声パケット330に含
まれている第1の符号化音声データ320の再生を開始
する。第1の符号化音声データ320の再生が終了する
と、引き続いて第2の音声パケット331に含まれてい
た第2の符号化音声データ321を再生する。
Next, the operation will be described. On the sending side,
The first talk spurt 301-0 is packetized with a packetization period 30.
The encoded voice data 320 to 323 divided into 4 are assembled and transmitted into voice packets 330 to 333, respectively. While being transmitted in the packet switching network, the receiving side
An operation of correctly reproducing the first talk spurt 301-0 from a voice packet which has a different transmission delay for each packet depending on the traffic state and transmission route of the network is performed. That is, after the first voice packet 330 of the first talk spurt 301-0 is received, the first fluctuation absorption delay time 350 =
After the lapse of T2 time, the reproduction of the first encoded audio data 320 included in the first audio packet 330 is started. When the reproduction of the first encoded voice data 320 is completed, the second encoded voice data 321 included in the second voice packet 331 is subsequently reproduced.

【0005】一方図の例によると、第3の音声パケット
332は、転送中に大きな遅延を被り、音声パケット3
32に含まれる第3の符号化音声データ322の再生開
始時間からアンダーラン時間306=T3経過してから
受信側に到着したため、第3の符号化音声データ322
については再生せずに廃棄する。図21では、第1のゆ
らぎ吸収遅延時間350の値=T2が小さいため、音声
パケット332の遅延ゆらぎを吸収できずに、トークス
パート301−0内の符号化音声データの一部22が欠
落している。そこで、第2のトークスパート321−1
に対して、図24の遅延揺らぎ吸収時間の変更方法のフ
ローチャートに沿って、ゆらぎ吸収遅延時間を変更す
る。
On the other hand, according to the example of the figure, the third voice packet 332 suffers a large delay during the transfer, and the voice packet 3
The third encoded voice data 322 is included in the third encoded voice data 322 included in 32 since it arrived at the receiving side after the underrun time 306 = T3 has elapsed from the reproduction start time.
Is discarded without being recycled. In FIG. 21, since the value of the first fluctuation absorption delay time 350 = T2 is small, the delay fluctuation of the voice packet 332 cannot be absorbed, and a part 22 of the encoded voice data in the talk spurt 301-0 is lost. ing. Therefore, the second talk spurt 321-1
On the other hand, the fluctuation absorption delay time is changed according to the flowchart of the method for changing the delay fluctuation absorption time in FIG.

【0006】ステップS61で遅延揺らぎが吸収されて
いるかどうか、即ち、遅延ゆらぎ吸収時間の不足によ
り、音声パケット330等を廃棄していないかどうかを
判定する。遅延揺らぎが吸収されている場合には、ステ
ップS62に、遅延揺らぎが吸収されていない場合に
は、ステップS63にそれぞれ進む。ステップS63で
は、現在の網のパケット転送遅延ゆらぎに合わせるため
に、現在のゆらぎ吸収遅延時間にアンダーラン時間30
6を加えた値を新たなゆらぎ吸収遅延時間とし、遅延ゆ
らぎ吸収時間351を増加させる。例えば、図21の場
合には遅延ゆらぎが吸収されていないため、第2の揺ら
ぎ吸収遅延時間351として、第1のゆらぎ吸収遅延時
間350の値にアンダーラン時間306の値を加えた
値、T2+T3を設定する。図22に示すように、ステ
ップ3に示した第2の揺らぎ吸収遅延時間351を用い
ることにより、遅延揺らぎを吸収することができ、図2
1と網内の遅延ゆらぎが同一の場合に、トークスパート
(1−1)内の符号化音声データ320等を全て再生す
ることができる。
In step S61, it is determined whether or not the delay fluctuation is absorbed, that is, whether or not the voice packet 330 or the like is discarded due to a short delay fluctuation absorption time. When the delay fluctuation is absorbed, the process proceeds to step S62, and when the delay fluctuation is not absorbed, the process proceeds to step S63. In step S63, an underrun time 30 is added to the current fluctuation absorption delay time in order to match the current packet transfer delay fluctuation.
The value obtained by adding 6 is set as a new fluctuation absorption delay time, and the delay fluctuation absorption time 351 is increased. For example, in the case of FIG. 21, since the delay fluctuation is not absorbed, as the second fluctuation absorption delay time 351, a value obtained by adding the value of the underrun time 306 to the value of the first fluctuation absorption delay time 350, T2 + T3. To set. As shown in FIG. 22, the delay fluctuation can be absorbed by using the second fluctuation absorption delay time 351 shown in step 3,
1 and the delay fluctuation in the network are the same, it is possible to reproduce all the encoded voice data 320 and the like in the talk spurt (1-1).

【0007】また、図24においてステップS62に進
んだ場合、ゆらぎが吸収されているトークスパートの個
数を計数し(S62)、その値とあらかじめ定めた閾値
を比較する。(S64)上記計数値>閾値の場合には、
遅延ゆらぎが十分に吸収されていると判断し、今回のト
ークスパートから算出した平均伝送遅延時間に、現時点
から一定時間前までのトークスパートの中で最大のトー
クスパートのパケット数を乗じた値へと、新しいゆらぎ
吸収遅延時間(7)を変更する(S64)。計数値≦閾
値の場合には、遅延時間を変更せずに、処理を終了す
る。なお、平均伝送遅延時間(7)の算出方法は図23
に示す通りである。即ち、音声パケット20〜24の到
着間隔を測定し、パケット化周期時間(4)=T1から
の差分を全て加算し、さらに前回のトークスパート
(1)から算出した平均伝送遅延時間(7)であるT0
を加えて、トークスパート(1)転送時の伝送遅延時間
の総和を求める。その総和をトークスパート(1)を構
成するパケット数で除算することにより、新たな平均伝
送遅延時間(7)の値を求める。従って、ステップS6
4の処理により、遅延ゆらぎが吸収されている状態にお
いて、ゆらぎ吸収遅延時間を変更することができ、平均
伝送遅延時間(7)がぼぼ一定の場合には、過去一定時
間前までに受信したトークスパートの長さにより、ゆら
ぎ吸収遅延時間を減少もしくは増加でき、トークスパー
ト長がほぼ一定の場合には平均伝送遅延時間(7)に比
例してゆらぎ吸収遅延時間を減少もしくは増加できる。
Further, when the process proceeds to step S62 in FIG. 24, the number of talk spurts in which the fluctuation is absorbed is counted (S62), and the value is compared with a predetermined threshold value. (S64) If the count value> the threshold value,
It is determined that the delay fluctuation is sufficiently absorbed, and the average transmission delay time calculated from this talkspurt is multiplied by the maximum number of talkspurt packets among the talkspurt from the present time to a certain time ago. Then, the new fluctuation absorption delay time (7) is changed (S64). If the count value ≦ threshold value, the processing is ended without changing the delay time. The method of calculating the average transmission delay time (7) is shown in FIG.
As shown in. That is, the arrival intervals of the voice packets 20 to 24 are measured, all the differences from the packetization cycle time (4) = T1 are added, and the average transmission delay time (7) calculated from the previous talk spurt (1) is used. Some T0
In addition, the sum of transmission delay times at the time of talk spurt (1) transfer is obtained. A new value of the average transmission delay time (7) is obtained by dividing the sum by the number of packets forming the talk spurt (1). Therefore, step S6
By the processing of 4, the fluctuation absorption delay time can be changed in the state where the delay fluctuation is absorbed, and when the average transmission delay time (7) is almost constant, the talks received up to a certain time in the past The fluctuation absorption delay time can be decreased or increased depending on the length of the part, and when the talkspurt length is almost constant, the fluctuation absorption delay time can be decreased or increased in proportion to the average transmission delay time (7).

【0008】[0008]

【発明が解決しようとする課題】従来の音声パケット通
信方法では、平均伝送遅延時間およびアンダーラン時間
を測定する必要があり、その測定のために装置が複雑に
なるという課題があり、また、平均伝送遅延時間の初期
値をあらかじめ測定しておく必要があるという課題もあ
った。また、ネットワークの負荷の変動に対応して伝送
遅延が急激に増大または減少する場合には、その伝送遅
延の増大または減少に追従した、ゆらぎ吸収遅延時間の
迅速な変更が困難であるという問題点があった。
In the conventional voice packet communication method, it is necessary to measure the average transmission delay time and the underrun time, and there is a problem that the apparatus becomes complicated due to the measurement, and the average There was also a problem that the initial value of the transmission delay time had to be measured in advance. Also, when the transmission delay increases or decreases rapidly in response to changes in the network load, it is difficult to quickly change the fluctuation absorption delay time following the increase or decrease of the transmission delay. was there.

【0009】この発明は上記の課題を解決するためにな
されたもので、平均伝送遅延時間およびアンダーラン時
間の測定が不要で、簡単な構成でゆらぎ吸収遅延時間を
適応的に変更できる遅延ゆらぎ吸収方法を得ることを目
的とする。また、ネットワークの負荷の変動に対応して
ゆらぎ吸収遅延時間を変更可能な音声パケット通信装置
を得ることを目的とする。
The present invention has been made in order to solve the above-mentioned problems, and does not require measurement of the average transmission delay time and underrun time, and has a simple structure and can be adaptively changed in delay fluctuation absorption. Aim to get a way. Another object of the present invention is to obtain a voice packet communication device capable of changing the fluctuation absorption delay time in response to changes in the load on the network.

【0010】[0010]

【課題を解決するための手段】この発明に係るデータ・
パケット通信方法は、パケットの再生タイミング毎に、
受信データを蓄積中の蓄積パケット数を数えるステップ
と、バッファがフルで廃棄したオーバーランのパケット
の数を数えるステップと、直前の蓄積パケットを再生後
に到着し廃棄したアンダーランのパケットを数えるステ
ップと、上記各パケット数とパケット化周期時間から、
パケット受信から蓄積バッファに蓄積開始までのゆらぎ
吸収遅延時間を定めるステップとを備えた。
Data according to the present invention
The packet communication method is as follows:
A step of counting the number of accumulated packets that are accumulating received data, a step of counting the number of overrun packets that the buffer is full and discarded, and a step of counting the underrun packets that arrived after reproducing the immediately preceding accumulated packet and were discarded. , From the number of each packet and packetization cycle time,
And a step of determining a fluctuation absorption delay time from packet reception to the start of accumulation in the accumulation buffer.

【0011】請求項2の発明のデータ・パケット通信方
法は、符号化データを所定の重要度に応じてMSP(Mos
t Significant Part) ビットとLSP(Least Significa
nt Part)ビットに分けてデータブロックとし、上記デー
タブロックのパケットを有意の単位で受信時に、上記所
定の重要度に応じて廃棄されたパケットの数を重要度単
位で数えるステップと、上記各ステップから、パケット
受信から蓄積バッファに蓄積開始までのゆらぎ吸収遅延
時間を定めるステップとを備えた。
In the data packet communication method according to the second aspect of the present invention, the encoded data is MSP (Mos) according to a predetermined importance.
t Significant Part) bit and LSP (Least Significa)
nt Part) bit into a data block, and when the packet of the data block is received in a significant unit, counting the number of packets discarded according to the predetermined importance in units of importance, From the packet reception to the start of accumulation in the accumulation buffer.

【0012】[0012]

【作用】この発明におけるデータ・パケット通信方法
は、有意の単位で受信したパケットについて、バッファ
に蓄積中のパケットの数と、オーバーランのパケットの
数と、アンダーランのパケットの数とがタイミング毎に
数えられ、所定の演算式でゆらぎ吸収遅延時間が定めら
れる。請求項2の発明におけるデータ・パケット通信方
法は、受信したパケットのMSP、LSPの重要度毎に
廃棄したパケット数が数えられ、しきい値と比較されて
ゆらぎ吸収遅延時間が定められる。
In the data / packet communication method according to the present invention, the number of packets accumulated in the buffer, the number of overrun packets, and the number of underrun packets of the packets received in significant units are determined at each timing. The fluctuation absorption delay time is determined by a predetermined arithmetic expression. In the data packet communication method according to the second aspect of the present invention, the number of discarded packets is counted for each importance of MSP and LSP of the received packet, and the fluctuation absorption delay time is determined by comparing with the threshold value.

【0013】[0013]

【実施例】【Example】

実施例1.本発明の一実施例を図について説明する。図
1は、本発明を音声パケットの受信装置のゆらぎ吸収遅
延方法に適用した場合のフローチャートである。ここで
えゆらぎ吸収遅延時間とは、パケットを受信してから蓄
積バッファに蓄積開始するまでの時間である。図2は、
直前の蓄積パケットを再生後に次のパケットが到着する
アンダーラン状態が発生した場合の通信シーケンスチャ
ートである。図において、8は符号化音声データ20等
を、再生開始時に計数したゆらぎ吸収バッファ内の蓄積
パケット数である。図3は、第1のゆらぎ吸収遅延時間
50を図2の蓄積パケット数8から求めた第2のゆらぎ
吸収遅延時間51に変更した場合の通信シーケンスチャ
ートである。図4は、ゆらぎバッファに空きがないため
に音声パケット30等が廃棄されるオーバラン状態が発
生した場合の通信シーケンスチャートである。これは、
図4の元の第1のゆらぎ吸収遅延時間(50)を図4の
蓄積パケット数8を基に算出した第2のゆらぎ吸収遅延
時間(51)に変更し、場合の通信シーケンスチャート
である。
Example 1. An embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a flowchart when the present invention is applied to a fluctuation absorption delay method of a voice packet receiving device. Here, the fluctuation absorption delay time is the time from the reception of a packet to the start of storage in the storage buffer. Figure 2
7 is a communication sequence chart in the case where an underrun state occurs in which the next packet arrives after reproducing the immediately preceding stored packet. In the figure, 8 is the number of accumulated packets in the fluctuation absorption buffer, which is obtained by counting the encoded voice data 20 and the like at the start of reproduction. FIG. 3 is a communication sequence chart when the first fluctuation absorption delay time 50 is changed to the second fluctuation absorption delay time 51 calculated from the number of accumulated packets 8 in FIG. FIG. 4 is a communication sequence chart when an overrun state occurs in which the voice packet 30 and the like are discarded because the fluctuation buffer has no space. this is,
5 is a communication sequence chart in the case where the original first fluctuation absorption delay time (50) in FIG. 4 is changed to the second fluctuation absorption delay time (51) calculated based on the number of accumulated packets 8 in FIG. 4.

【0014】図6は、アンダーラン状態が発生した場合
の通信シーケンスチャートある。これは、ゆらぎ吸収バ
ッファ内の蓄積パケット数8の計数方法を、アンダーラ
ン検出時に−1と計数する場合のゆらぎ吸収遅延時間の
算出過程を示す図である。図7は図6での蓄積バッファ
数(8)の計数方法で求め、その結果から第2のゆらぎ
吸収遅延時間(51)を用いた通信シーケンスチャート
である。図8は、オーバラン状態が発生した場合の通信
シーケンスチャートである。この場合、バッファが無限
にあるとみなし、オーバランにより廃棄したパケットに
ついては、そのパケットの再生開始まで蓄積されている
として、ゆらぎ吸収バッファ内の蓄積パケット数8を計
数する。図9は、図8のチャートで算出した上記蓄積パ
ケット数を用いて、第2のゆらぎ吸収遅延時間(51)
を設定した通信シーケンスチャートを示す図である。図
10は、オーバラン状態が発生した場合に、計数した蓄
積パケット数8と目標とする蓄積バッファ数から算出し
た第2のゆらぎ吸収遅延時間が現状と同一になる場合を
示す通信シーケンスチャートである。図11は、図1の
フローチャートに従って算出した新たなゆらぎ吸収遅延
時間が、現状と同一の場合にオーバランパケット数が一
定個数以上(この場合は1個以上)になるように、ゆら
ぎ吸収遅延時間を変更した場合の通信シーケンスチャー
トである。
FIG. 6 is a communication sequence chart when an underrun state occurs. This is a diagram showing a process of calculating the fluctuation absorption delay time when the number of accumulated packets in the fluctuation absorption buffer is 8 is counted as -1 when an underrun is detected. FIG. 7 is a communication sequence chart using the second fluctuation absorption delay time (51) obtained from the method of counting the number of storage buffers (8) in FIG. FIG. 8 is a communication sequence chart when an overrun state occurs. In this case, assuming that the buffer is infinite, and regarding the packet discarded due to overrun, it is assumed that the packet is accumulated until the reproduction start of the packet, and the number of accumulated packets in the fluctuation absorption buffer is counted 8. FIG. 9 shows the second fluctuation absorption delay time (51) using the number of accumulated packets calculated in the chart of FIG.
It is a figure which shows the communication sequence chart which set. FIG. 10 is a communication sequence chart showing a case where the second fluctuation absorption delay time calculated from the counted number of accumulated packets 8 and the target number of accumulated buffers is the same as the current state when the overrun state occurs. FIG. 11 shows the fluctuation absorption delay time so that the new fluctuation absorption delay time calculated according to the flowchart of FIG. 1 is equal to or more than a certain number of overrun packets (in this case, 1 or more) when the same as the current state. It is a communication sequence chart when it is changed.

【0015】次に動作について図1を用いて説明する。
まず、音声パケット(3)の再生タイミング時に、ゆら
ぎ吸収用バッファに格納されているパケット数を計測す
る。そして1つのトークスパート(有声区間)毎に、そ
の平均蓄積パケット数を式(1)を用いて算出する(ス
テップS1)。 平均蓄積パケット数=N/k・・・・・・・・・・・・
・・・・・・(1) 但し、 N=トークスパートの先頭からk番目までの再生タイミ
ング時の蓄積パケット数の総和 k=トークスパートを構成するパケット数−(目標とす
る蓄積パケット数−1) 式(1)中、目標とする蓄積パケット数とは、オーバラ
ンおよびアンダーラン状態が発生しないゆらぎ吸収遅延
時間をゆらぎ吸収バッファに蓄積するパケット数に換算
したものである。式(1)のkは、目標とする蓄積パケ
ットの数分のパケットが蓄積される可能性のある再生タ
イミング数をも示している。
Next, the operation will be described with reference to FIG.
First, at the reproduction timing of the audio packet (3), the number of packets stored in the fluctuation absorbing buffer is measured. Then, for each one talk spurt (voiced section), the average number of accumulated packets is calculated using the equation (1) (step S1). Average number of stored packets = N / k ...
(1) However, N = sum of the number of stored packets at the reproduction timing from the head of the talk spurt to the k th k = the number of packets forming the talk spurt- (the target number of stored packets-1) In the equation (1), the target number of accumulated packets is the number of packets accumulated in the fluctuation absorption buffer, which is the fluctuation absorption delay time in which the overrun and underrun states do not occur. K in the equation (1) also indicates the number of reproduction timings at which the target number of accumulated packets may be accumulated.

【0016】なお、式(1)の意味は以下の通りであ
る。例えば目標とする蓄積パケット数を2個とした場合
を考えてみる。トークスパートの最終パケットの再生タ
イミング時には、最大でも1個のパケットしか蓄積され
ないため、このタイミングの蓄積パケット数を加えて平
均値を計算すると、平均値が実際より低くなる。そこ
で、正しい平均値を求めるために、目標とする蓄積パケ
ット数が蓄積される可能性のある再生タイミングのみを
対象に、即ち、トークスパートの先頭からk個について
蓄積パケット数の平均値を求める。次に、上記方法によ
り算出した平均蓄積パケット数を用いて第2のゆらぎ吸
収遅延時間(51)を式2を用いて算出する。(ステッ
プS2) 新しいゆらぎ吸収遅延時間(Tnew)=ΔN×T+Told
・・・・・・(2) 但し、 ΔN=(目標とする平均蓄積パケット数−平
均蓄積パケット数) T=パケット化周期時間4 Told=現在のゆらぎ吸収遅延時間 式(2)の意味は、目標とする平均蓄積パケット数と現
在の平均蓄積パケット数との差と、パケット化周期時間
4との積に、現在ゆらぎ吸収遅延時間に加えた値を、新
しいゆらぎ吸収遅延時間にする、ということである。
The meaning of the equation (1) is as follows. For example, consider the case where the target number of accumulated packets is two. At the reproduction timing of the last packet of the talk spurt, only one packet is stored at the maximum, so when the average value is calculated by adding the number of stored packets at this timing, the average value becomes lower than the actual value. Therefore, in order to obtain a correct average value, the average value of the number of accumulated packets is calculated only for the reproduction timing at which the target number of accumulated packets may be accumulated, that is, for the k kths from the head of the talk spurt. Next, the second fluctuation absorption delay time (51) is calculated using Equation 2 using the average number of accumulated packets calculated by the above method. (Step S2) New fluctuation absorption delay time (Tnew) = ΔN × T + Told
(2) However, ΔN = (target average number of accumulated packets−average number of accumulated packets) T = packeting cycle time 4 Told = current fluctuation absorption delay time The meaning of equation (2) is The difference between the target average accumulated packet count and the current average accumulated packet count and the packetization cycle time 4 is added to the current fluctuation absorption delay time to make a new fluctuation absorption delay time. Is.

【0017】図1のステップS1およびS2の処理につ
いて図2〜図5を用いて説明する。図2は、目標とする
平均蓄積パケット数=1、第1のゆらぎ吸収遅延時間5
0の値がTold の場合を示す。図において、再生開始タ
イミング時に、符号化音声データ20〜23がゆらぎ吸
収用バッファ内にある蓄積パケット数8を考えると、こ
の場合第3の符号化音声データ22を搭載した第3の音
声パケット32のみが再生開始タイミング以降に到着し
たため、それぞれ1、1、0、1個となる。この結果、
平均蓄積パケット数は式(1)により次のようになる。 平均蓄積パケット数=(1+1+0+1)/4−(1−
1)=3/4 となる。その結果、新しいゆらぎ吸収遅延時間は目標と
する平均蓄積パケット数=1であるから、式(2)より 新しいゆらぎ吸収遅延時間=(1−3/4)×T+Tol
d=1/4×T+Told となる。図3は、図2と音声パケット20〜23の遅延
ゆらぎ量が同じ場合で、ゆらぎ吸収遅延時間=1/4×
T+Told に変更した際に、アンダーラン状態が解消さ
れ、ゆらぎ吸収バッファに格納されているパケット数が
目標とする平均蓄積パケット数=1となることを示して
いる。
The processing of steps S1 and S2 in FIG. 1 will be described with reference to FIGS. FIG. 2 shows that the target average number of accumulated packets = 1 and the first fluctuation absorption delay time 5
The case where the value of 0 is Told is shown. In the figure, considering the number of accumulated packets in which the encoded voice data 20 to 23 are stored in the fluctuation absorbing buffer at the reproduction start timing, in this case, the third voice packet 32 including the third encoded voice data 22 is assumed. Since only one arrives after the reproduction start timing, the numbers are 1, 1, 0 and 1, respectively. As a result,
The average number of accumulated packets is as follows according to the equation (1). Average number of accumulated packets = (1 + 1 + 0 + 1) / 4- (1-
1) = 3/4. As a result, the new fluctuation absorption delay time is the target average number of accumulated packets = 1, so that the new fluctuation absorption delay time is (1−3 / 4) × T + Tol from equation (2).
d = 1/4 × T + Told. FIG. 3 shows the case where the delay fluctuation amount of the voice packets 20 to 23 is the same as that of FIG. 2, and fluctuation absorption delay time = 1/4 ×
It is shown that when changing to T + Told, the underrun state is eliminated and the number of packets stored in the fluctuation absorption buffer becomes the target average accumulated packet number = 1.

【0018】また、図4は、目標とする平均蓄積パケッ
ト数=1、第1のゆらぎ吸収遅延時間50の値がTold
、ゆらぎ吸収用バッファの最大蓄積パケット数=3の
場合を示す。このとき、再生開始タイミング時のゆらぎ
吸収用バッファ内の符号化音声データ20〜24につい
ての蓄積パケット数8は、3ケまでが許容される。第1
のゆらぎ吸収遅延時間50の値Told が網内の遅延ゆら
ぎ量に比べ大きすぎるため、この例では、第4の音声パ
ケット33が到着した時には、音声パケット30〜32
がゆらぎ吸収バッファに格納され、再生中もしくは再生
待ちの状態であり、バッファに格納しきれずに廃棄され
る(以降、この状態をオーバラン状態とよぶ)。この場
合には、ゆらぎ吸収バッファの各再生タイミングごとの
蓄積パケット数は、それぞれ3、2、2、1、1個とな
り、平均蓄積パケット数8は式(1)により、 平均蓄積パケット数=(3+2+2+1+1)/5−
(1−1)=9/5 となり、その結果、第2のゆらぎ吸収遅延時間51は目
標とする平均蓄積パケット数=1から式(2)より、 第2のゆらぎ吸収遅延時間=(1−9/5)×T+Tol
d=−4/5×T+Told となる。図5は、図4と音声パケット20〜24の遅延
ゆらぎ量が同じ場合で、ゆらぎ吸収遅延時間=−4/5
×T+Told に変更した際に、オーバーラン状態が解消
されることを示している。
Further, in FIG. 4, the target average number of accumulated packets = 1 and the value of the first fluctuation absorption delay time 50 is Told.
, The case where the maximum number of packets stored in the fluctuation absorbing buffer = 3 is shown. At this time, the number of accumulated packets 8 for the encoded audio data 20 to 24 in the fluctuation absorbing buffer at the reproduction start timing is allowed up to 3. First
In this example, when the fourth voice packet 33 arrives, the voice packets 30 to 32 are too large because the value Told of the fluctuation absorption delay time 50 is too large compared to the delay fluctuation amount in the network.
Is stored in the fluctuation absorption buffer and is in the state of being reproduced or in the state of waiting for reproduction, and is discarded because it cannot be completely stored in the buffer (hereinafter, this state is referred to as an overrun state). In this case, the number of accumulated packets at each reproduction timing of the fluctuation absorption buffer is 3, 2, 2, 1, and 1, respectively, and the average number of accumulated packets 8 is calculated by the equation (1) as follows: 3 + 2 + 2 + 1 + 1) / 5-
(1-1) = 9/5, and as a result, the second fluctuation absorption delay time 51 is the second average fluctuation absorption delay time = (1- 9/5) x T + Tol
d = −4 / 5 × T + Told. FIG. 5 shows the case where the amount of delay fluctuation of the voice packets 20 to 24 is the same as that of FIG. 4, and fluctuation absorption delay time = −4 / 5.
It indicates that the overrun state is resolved when the value is changed to × T + Told.

【0019】アンダーラン状態が発生した際に、ゆらぎ
吸収バッファの蓄積パケット数を0ではなく−1として
カウントすると、アンダーラン時間6が大きい場合には
ゆらぎ吸収遅延時間を図2のケースよりもより迅速に大
きくすることができる。図6は、アンダーラン状態が発
生した際に蓄積パケット数を−1としてカウントする場
合である。再生開始タイミング時の、ゆらぎ吸収用バッ
ファ内に蓄積されている符号化音声データ20〜23の
パケット数8は、以下のようになる。第3の符号化音声
データ22を搭載した第3の音声パケット32のみが再
生開始タイミング以降に到着して廃棄されるので、パケ
ット数はそれぞれ1、1、−1、1個となり、平均蓄積
パケット数8は式(1)により次式のとおりとなる。 平均蓄積パケット数=(1+1−1+1)/4−(1−
1)=2/4 その結果、第2のゆらぎ吸収遅延時間51は目標とする
平均蓄積パケット数=1から式(2)より、 第2のゆらぎ吸収遅延時間=(1−2/4)×T+Tol
d=1/2×T+Told となる。これは、アンダーラン時の蓄積パケット数を0
としてカウントした図3の場合に比べ、(1/2−1/
4)×T=1/4×Tだけ、ゆらぎ吸収遅延時間を大き
くすることができる。図7は、上記の計算結果に従っ
て、ゆらぎ吸収遅延時間をTold から1/2×T+Tol
d に変更した場合に、アンダーラン状態が解消され、ゆ
らぎ吸収バッファに格納されているパケット数が目標と
する平均蓄積パケット数=1となることを示している。
When the number of packets accumulated in the fluctuation absorbing buffer is counted as -1 instead of 0 when the underrun condition occurs, the fluctuation absorbing delay time is larger than that in the case of FIG. 2 when the underrun time 6 is large. It can grow quickly. FIG. 6 shows a case where the number of accumulated packets is counted as -1 when the underrun state occurs. The number of packets 8 of the encoded audio data 20 to 23 stored in the fluctuation absorbing buffer at the reproduction start timing is as follows. Since only the third voice packet 32 carrying the third encoded voice data 22 arrives after the reproduction start timing and is discarded, the number of packets becomes 1, 1, -1, 1 respectively, and the average accumulated packet Equation 8 is given by the following equation using equation (1). Average number of accumulated packets = (1 + 1-1 + 1) / 4- (1-
1) = 2/4 As a result, the second fluctuation absorption delay time 51 is the second fluctuation absorption delay time = (1-2 / 4) × from the target average accumulated packet number = 1 to the equation (2). T + Tol
d = 1/2 × T + Told. This sets the number of accumulated packets during underrun to 0
Compared with the case of FIG. 3 which is counted as (1 / 2-1 /
4) The fluctuation absorption delay time can be increased by (T) = 1/4 × T. FIG. 7 shows the fluctuation absorption delay time from Told to 1/2 × T + Tol according to the above calculation result.
When the value is changed to d, the underrun state is eliminated, and the number of packets stored in the fluctuation absorbing buffer becomes the target average accumulated packet number = 1.

【0020】また、オーバーラン状態が発生した後のゆ
らぎ吸収バッファの蓄積パケット数を、オーバーランに
より廃棄された音声パケット3に含まれる符号化音声デ
ータ2の再生開始まで、オーバーランにより廃棄された
音声パケット3が仮想的にゆらぎ吸収バッファに格納さ
れているものと考えてカウントすると、オーバーランに
より廃棄された音声パケットを考慮しない場合よりも、
ゆらぎ吸収遅延時間をより迅速に短縮することができ
る。図8においては、ゆらぎ吸収バッファの容量は3パ
ケット分としている。従って第4の音声パケット33が
到着した時点では、第1の音声パケット30は、そのパ
ケットに含まれる第1の音声符号化データ20の再生中
で、第2の音声パケット31および第3の音声パケット
32は再生を待ち合わせており、ゆらぎ吸収バッファに
空きはない。しかし、ゆらぎ吸収バッファに格納された
ものと考え、第2の音声符号化データ21の再生開始タ
イミング時には、実際にゆらぎ吸収バッファに格納され
ている音声パケット31、32に廃棄された第4の音声
パケット33を加え3個とカウントする。また、第3の
音声符号化データ22の再生開始タイミング時には、パ
ケット32、34と、廃棄された第4の音声パケット3
3を加え3個とカウントし、同様に第4の音声符号化デ
ータ23の再生開始タイミング時には、2個とカウント
する。
Further, the number of packets accumulated in the fluctuation absorbing buffer after the occurrence of the overrun state is discarded by the overrun until the reproduction of the encoded voice data 2 included in the voice packet 3 discarded by the overrun is started. When it is considered that the voice packet 3 is virtually stored in the fluctuation absorption buffer, counting is performed as compared with the case where the voice packet discarded due to overrun is not considered.
The fluctuation absorption delay time can be shortened more quickly. In FIG. 8, the capacity of the fluctuation absorption buffer is set to 3 packets. Therefore, when the fourth voice packet 33 arrives, the first voice packet 30 is reproducing the first voice coded data 20 included in the packet, and the second voice packet 31 and the third voice packet 30 are being reproduced. The packet 32 is waiting for reproduction and there is no free space in the fluctuation absorption buffer. However, it is considered that the voices are stored in the fluctuation absorbing buffer, and at the reproduction start timing of the second voice encoded data 21, the fourth voices actually discarded in the voice packets 31 and 32 stored in the fluctuation absorbing buffers. The packet 33 is added and counted as 3. Also, at the reproduction start timing of the third voice coded data 22, the packets 32 and 34 and the discarded fourth voice packet 3
3 is added to count 3 and similarly, at the reproduction start timing of the fourth voice coded data 23, it is counted as 2.

【0021】上記のように、ゆらぎ吸収バッファの大き
さを無限と考え、オーバーラン状態が発生しても蓄積さ
れたものとして、蓄積パケット数をカウントするものと
すると、平均蓄積パケット数8は式(1)により、 平均蓄積パケット数=(3+3+3+2+1)/5−
(1−1)=12/5、 となる。第2のゆらぎ吸収遅延時間は式(2)より、 第2のゆらぎ吸収遅延時間=(1−12/5)×T+T
old =−7/5×T+Told となり、オーバーランにより廃棄された音声パケットを
カウントしない場合(図5)に比べ、ゆらぎ吸収遅延時
間は大きく短縮できる。
As described above, assuming that the size of the fluctuation absorbing buffer is infinite, and the number of accumulated packets is counted even if an overrun state occurs, the average number of accumulated packets is calculated as 8 According to (1), the average number of accumulated packets = (3 + 3 + 3 + 2 + 1) / 5-
(1-1) = 12/5. From the equation (2), the second fluctuation absorption delay time is calculated as follows: Second fluctuation absorption delay time = (1-12 / 5) × T + T
old = −7 / 5 × T + Told, and the fluctuation absorption delay time can be greatly shortened compared to the case where the voice packets discarded due to overrun are not counted (FIG. 5).

【0022】ここで図1に戻り、ステップS3以降の処
理について説明する。ステップS1およびステップS2
の処理でゆらぎ吸収遅延時間が変更されたかどうかを調
べ(ステップS3)、変更されていなければステップS
4へ、変更されていれば処理を終了する。ステップS4
では、1つのトークスパート内のオーバランパケット数
が閾値以上かどうかを調べる。閾値以上の場合にはステ
ップS5に進み、ゆらぎ吸収遅延時間の値を式(3)に
従って削減する。 新しいゆらぎ吸収遅延時間=現在のゆらぎ吸収遅延時間
−パケット化周期時間(T)×α・・・・(3) 但し、αはあらかじめ決めておいた値 閾値未満の場合にはステップ6に進み、1つのトークス
パート内のアンダーランパケット数が閾値以上かどうか
を調べる。
Now, returning to FIG. 1, the processing after step S3 will be described. Step S1 and step S2
It is checked whether or not the fluctuation absorption delay time has been changed by the process (step S3), and if not, step S
If it is changed to 4, the processing is terminated. Step S4
Then, it is checked whether the number of overrun packets in one talk spurt is equal to or more than a threshold value. If it is equal to or more than the threshold value, the process proceeds to step S5, and the value of the fluctuation absorption delay time is reduced according to the equation (3). New fluctuation absorption delay time = current fluctuation absorption delay time−packeting cycle time (T) × α ... (3) where α is a predetermined value. Check if the number of underrun packets in one talk spurt is above a threshold.

【0023】ステップS6において、アンダーランパケ
ット数が閾値以上であることを検出した場合には、ゆら
ぎ吸収遅延時間の値を式(4)に従って増加し(S
7)、閾値未満であることを検出した場合には、処理を
終了する。 新しいゆらぎ吸収遅延時間=現在のゆらぎ吸収遅延時間
+パケット化周期時間(T)×β・・・・(4) 但し、βはあらかじめ決めておいた値 従って、オーバランが発生している場合には、式(3)
によりゆらぎ吸収時間を短縮することができ、また、ア
ンダーランが発生している場合には、式(4)によりゆ
らぎ吸収時間を増加することができる。そして、以降の
トークスパートについてそれぞれオーバランおよびアン
ダーランの発生確率を抑えられる。
If it is detected in step S6 that the number of underrun packets is equal to or greater than the threshold value, the value of the fluctuation absorption delay time is increased according to the equation (4) (S
7) If it is detected that it is less than the threshold value, the process ends. New fluctuation absorption delay time = current fluctuation absorption delay time + packeting cycle time (T) × β (4) However, β is a predetermined value. Therefore, when overrun occurs, , Formula (3)
Therefore, the fluctuation absorption time can be shortened, and when the underrun occurs, the fluctuation absorption time can be increased by the formula (4). Then, the probability of occurrence of overrun and underrun can be suppressed for the subsequent talk spurts.

【0024】図10と図11のチャートを例にとり、上
記のステップS3からステップS6の処理を説明する。
図10では第4の音声パケット33が廃棄されているた
め、各音声符号化データ2の再生開始タイミング時のゆ
らぎ吸収バッファ内の蓄積パケット数は、それぞれ、
3、2、2、1、1である。式(1)から 平均蓄積パケット数=(3+2+2+1)/(5−(2
−1))=8/4=2 となる。従って、式(2)から 第2のゆらぎ吸収遅延時間=2−2+Told=Told となり、ゆらぎ吸収遅延時間は変化しない。1つのトー
クスパート内のオーバランパケット数の閾値=1とする
と、ゆらぎ吸収遅延時間が変化しないため、ステップS
3、ステップS4、ステップS5の順に進む。式(3)
より、 第2のゆらぎ吸収遅延時間=Told−T×α=Told−T
×α となる。ここでα=1/2とすると 第2のゆらぎ吸収遅延時間=Told−T×1/2 となり、ゆらぎ吸収バッファの平均蓄積パケット数8を
基に算出した第2のゆらぎ吸収時間が第1のゆらぎ吸収
時間と同一の場合でも、オーバランパケット数が一定値
以上であれば、ゆらぎ吸収遅延時間を短縮することがで
きる。その結果、図10と図11で網内の遅延ゆらぎが
同一とすると、上記の処理により、ゆらぎ吸収遅延時間
が適正な値になり、図11に示すように遅延ゆらぎを吸
収できる。
The processes of steps S3 to S6 will be described with reference to the charts of FIGS. 10 and 11.
In FIG. 10, since the fourth voice packet 33 is discarded, the number of packets stored in the fluctuation absorption buffer at the reproduction start timing of each voice coded data 2 is
3, 2, 2, 1, 1. From equation (1), the average number of accumulated packets = (3 + 2 + 2 + 1) / (5- (2
-1)) = 8/4 = 2. Therefore, from the equation (2), the second fluctuation absorption delay time = 2-2 + Told = Told, and the fluctuation absorption delay time does not change. If the threshold value of the number of overrun packets in one talk spurt = 1, the fluctuation absorption delay time does not change.
The process proceeds in the order of 3, step S4, and step S5. Formula (3)
Therefore, the second fluctuation absorption delay time = Told−T × α = Told−T
× α. Here, if α = 1/2, the second fluctuation absorption delay time = Told−T × 1/2, and the second fluctuation absorption time calculated based on the average number of accumulated packets in the fluctuation absorption buffer is 8 Even if it is the same as the fluctuation absorption time, the fluctuation absorption delay time can be shortened if the number of overrun packets is a certain value or more. As a result, if the delay fluctuations in the network are the same in FIGS. 10 and 11, the fluctuation absorption delay time becomes an appropriate value by the above processing, and the delay fluctuations can be absorbed as shown in FIG.

【0025】実施例2.本発明の他の実施例を説明す
る。送信側で音声をエムベデッド符号化し、その符号化
音声データを所定サンプル数蓄積した後、その全サンプ
ルについて同一ビット位置のビットを集めて同一ビット
位置毎のデータブロックを作成し、MSPビットを集め
たデータブロックからLSPビットを集めたデータブロ
ックの順に並べて送信する方法がある。そして、中間交
換局等にて輻輳が発生した場合には、LSPビットを集
めたデータブロックを廃棄して輻輳を緩和する。受信側
においては、受信したデータブロックからサンプル毎の
符号化音声データを復元して再生する。このとき、受信
した音声パケットの中でLSP下位ビットを集めたデー
タブロックのパケットが廃棄された数およびLSP上位
ビットとLSP下位ビットを集めたデータブロックが廃
棄た数をトークスパート毎に計測する。本実施例では、
その個数に応じて以降のトークスパートの先頭パケット
に付加するゆらぎ吸収遅延時間を変更する。こうして網
内の負荷変動に伴う音声パケットの伝送遅延変動に対応
した適切なゆらぎ吸収遅延時間が得られる。
Example 2. Another embodiment of the present invention will be described. The transmitter side embeds the voice, accumulates the encoded voice data for a predetermined number of samples, collects the bits at the same bit positions for all the samples, creates a data block for each same bit position, and collects the MSP bits. There is a method of arranging and transmitting the LSP bits from the data blocks in the order of the data blocks. Then, when congestion occurs at the intermediate switching center or the like, the data block in which the LSP bits are collected is discarded to alleviate the congestion. On the receiving side, encoded voice data for each sample is restored from the received data block and reproduced. At this time, the number of discarded packets of the data block in which the LSP lower bits are collected and the number of discarded data blocks of the LSP upper bits and the LSP lower bits in the received voice packet are measured for each talk spurt. In this embodiment,
The fluctuation absorption delay time added to the first packet of the subsequent talk spurt is changed according to the number. In this way, an appropriate fluctuation absorption delay time corresponding to the change in the transmission delay of the voice packet due to the load change in the network can be obtained.

【0026】請求項2のデータ・パケット通信方法に用
いる音声パケットの構成方法を図12に示す。図におい
て、9はエムベデッド符号化された符号化音声データ、
10は符号化音声データ9の各ビットを示している。1
00はMSP(Most Significant Part)上位ビット、1
01はMSP下位ビットで、これらのビットが廃棄され
た場合に音声品質が大きく劣化するビットである。10
2はLSP(Least Significant Part )上位ビット、1
03はLSP下位ビットでこれらのビットが廃棄された
場合には音声品質の劣化が少ないビットである。11は
音声パケットの符号化音声データ9を格納するペイロー
ドである。110はMSP上位ビット100を集めて作
成したMSP上位データブロック、111はMSP下位
ビット101を集めて作成したMSP下位データブロッ
ク、112はLSP上位ビット102を集めて作成した
LSP上位データブロック、113はLSP下位ビット
103を集めて作成したLSP下位データブロックであ
る。12は音声パケットのヘッダ、120はヘッダ12
に含まれるデータブロックの廃棄の有無を表示する廃棄
表示ビットである。
FIG. 12 shows a method of constructing a voice packet used in the data packet communication method of claim 2. In the figure, 9 is the encoded voice data that has been embed-coded,
Reference numeral 10 indicates each bit of the encoded voice data 9. 1
00 is MSP (Most Significant Part) upper bit, 1
01 is an MSP lower bit, which is a bit whose voice quality is significantly deteriorated when these bits are discarded. 10
2 is the upper bit of LSP (Least Significant Part), 1
Reference numeral 03 is an LSP lower bit, which is a bit with little deterioration in voice quality when these bits are discarded. Reference numeral 11 is a payload for storing the encoded voice data 9 of the voice packet. 110 is an MSP upper data block created by collecting MSP upper bits 100, 111 is an MSP lower data block created by collecting MSP lower bits 101, 112 is an LSP upper data block created by collecting LSP upper bits 102, and 113 is It is an LSP lower data block created by collecting LSP lower bits 103. 12 is a voice packet header, 120 is a header 12
Is a discard indication bit indicating whether or not the data block included in is discarded.

【0027】図13は、請求項2のデータ・パケット通
信方法を用いた通信システムの構成ブロック図である。
図において、130は送信側音声パケット通信端末、1
31は受信側音声パケット通信端末、140、141は
それぞれ第1、第2の中間ノード装置である。また、1
50、151はそれぞれ第1、第2の端末回線、16は
中継回線である。図14は、第1の中間ノード装置14
0の処理フローを示す図である。図15は、第1の中間
ノード装置140における負荷と、音声パケット3のエ
ンドーエンド間の遅延量の関係を示す図であり、同時
に、LSP上位またはLSP下位データブロックの廃棄
と遅延量の関係を示す図である。
FIG. 13 is a configuration block diagram of a communication system using the data packet communication method according to the second aspect.
In the figure, 130 is a voice packet communication terminal on the transmitting side, 1
31 is a voice packet communication terminal on the receiving side, and 140 and 141 are first and second intermediate node devices, respectively. Also, 1
50 and 151 are first and second terminal lines, respectively, and 16 is a relay line. FIG. 14 shows the first intermediate node device 14
It is a figure which shows the processing flow of 0. FIG. 15 is a diagram showing the relationship between the load in the first intermediate node device 140 and the end-to-end delay amount of the voice packet 3, and at the same time, shows the relationship between the LSP upper or LSP lower data block discard and the delay amount. FIG.

【0028】図16、図17は、請求項2の発明の実施
例に用いる、受信例のゆらぎ吸収遅延時間の決定方法の
アルゴリズムを示す図である。即ち、1つのトークスパ
ートを構成する音声パケットの中で、LSP下位ビット
103を集めたデータブロックが廃棄されているパケッ
ト数およびLSP上位ビット102とLSP下位ビット
103を集めたデータブロックが廃棄されているパケッ
トの数を計測した結果に基づいて、新たなゆらぎ吸収遅
延時間を決定する際の処理フローを示す図である。図1
8は、図16と図17の処理フローによりゆらぎ吸収遅
延時間を決定した後に、次のトークスパートの先頭パケ
ットが到着した際の、ゆらぎ吸収遅延時間の付与アルゴ
リズムを示す図である。図19は、図16〜図18の処
理フローを用いてゆらぎ吸収遅延時間を変更した場合の
通信シーケンスを示す図である。図において、17は第
1のトークスパート1−0の最終パケットの到着からと
第2のトークスパート1−1の先頭パケットの到着まで
の経過時間である。
FIG. 16 and FIG. 17 are diagrams showing an algorithm of a method of determining a fluctuation absorption delay time in a reception example used in the embodiment of the invention of claim 2. That is, in a voice packet forming one talk spurt, the number of packets in which the data block in which the LSP lower bit 103 is collected and the data block in which the LSP upper bit 102 and the LSP lower bit 103 are collected are discarded. It is a figure which shows the processing flow at the time of determining a new fluctuation absorption delay time based on the result of having measured the number of the existing packets. Figure 1
FIG. 8 is a diagram showing an algorithm for providing the fluctuation absorption delay time when the first packet of the next talk spurt arrives after the fluctuation absorption delay time is determined by the processing flows of FIGS. 16 and 17. FIG. 19 is a diagram showing a communication sequence when the fluctuation absorption delay time is changed using the processing flows of FIGS. 16 to 18. In the figure, 17 is the elapsed time from the arrival of the last packet of the first talk spurt 1-0 to the arrival of the first packet of the second talk spurt 1-1.

【0029】次に動作について説明する。送信側音声パ
ケット通信端末130における音声パケット30等の生
成方法は図12に示す通りである。即ち、エムベデッド
符号化した符号化音声データ9のMSP上位ビット10
0、MSP下位ビット101、LSP上位ビット10
2、LSP下位ビット103を複数サンプルについて同
一ビット毎に集めて、それぞれMSP上位データブロッ
ク110、MSP下位データブロック111、LSP上
位データブロック112、LSP下位データブロック1
13を作成する。さらに音声パケット3のペイロード1
1部分に、110、111、112および113の順に
挿入し、廃棄表示ビット120を廃棄無しに設定したヘ
ッダ12を付加する。
Next, the operation will be described. The method of generating the voice packet 30 and the like in the transmitting side voice packet communication terminal 130 is as shown in FIG. That is, the MSP high-order bit 10 of the encoded voice data 9 that has been embedded-coded
0, MSP lower bit 101, LSP upper bit 10
2, the LSP lower bit 103 is collected for each same bit for a plurality of samples, and the MSP upper data block 110, the MSP lower data block 111, the LSP upper data block 112, and the LSP lower data block 1 are collected.
Create 13. Furthermore, payload 1 of voice packet 3
The header 12 in which 110, 111, 112 and 113 are inserted in that order and the discard indication bit 120 is set to no discard is added to one part.

【0030】上記の方法で作成した音声パケットは、図
13に示すように、送信側音声パケット通信端末130
から、受信側音声パケット通信端末131へ第1の端末
回線150、第1の中間ノード装置140、中継回線1
6、第2の中間ノード装置141、端末回線151を経
由して転送される。中間ノード装置130では、中継回
線16への送信を待ち合わせる音声パケットの個数を閾
値と比較する。そして、閾値以上の場合に輻輳と判定
し、品質劣化の度合いが少ないLSP下位データブロッ
ク113か、あるいはLSP下位データブロック113
およびLSP上位データブロック112を廃棄して、輻
輳を緩和する。第1の中間ノード装置140の処理フロ
ーチャートは図14に示す通りで、中継回線16への送
信待ちのパケット数(キュー長)が閾値1以上かどうか
を判定し(ステップS11)、閾値1以上の場合、ステ
ップ12へ、閾値1未満の場合、データブロックの廃棄
処理は行わない。ステップ12では送信待ちのパケット
数(キュー長)が閾値2(閾値2>閾値1とする)以上
かどうかを判定する。閾値2以上の場合には中継回線1
6への送信を待ち合わせている音声パケット30等につ
いて、そのペイロード11に含まれるLSP下位データ
ブロック113およびLSP上位データブロック112
を廃棄する。そして、廃棄表示ビット120にデータブ
ロック2個廃棄を示すコードを設定する(ステップS1
4)。閾値2未満の場合には中継回線16への送信を待
ち合わせている音声パケット30等について、LSP下
位データブロック113を廃棄し、廃棄表示ビット12
0にデータブロック1個廃棄を示すコードを設定する
(ステップS14)。
The voice packet created by the above method is transmitted to the voice packet communication terminal 130 on the transmitting side as shown in FIG.
To the receiving side voice packet communication terminal 131, the first terminal line 150, the first intermediate node device 140, the relay line 1
6, the second intermediate node device 141, and the terminal line 151. The intermediate node device 130 compares the number of voice packets waiting for transmission to the relay line 16 with a threshold value. Then, when it is equal to or more than the threshold value, it is determined that the congestion occurs, and the LSP lower data block 113 or the LSP lower data block 113 which has a lesser degree of quality deterioration.
Also, the LSP upper data block 112 is discarded to reduce congestion. The processing flowchart of the first intermediate node device 140 is as shown in FIG. 14, and it is determined whether the number of packets (queue length) waiting to be transmitted to the relay line 16 is equal to or greater than the threshold value 1 (step S11). In the case, if the threshold value is less than 1, the process of discarding the data block is not performed. In step 12, it is determined whether or not the number of packets waiting to be transmitted (queue length) is greater than or equal to a threshold 2 (threshold 2> threshold 1). When the threshold value is 2 or more, the trunk line 1
6, the LSP lower data block 113 and the LSP upper data block 112 included in the payload 11 of the voice packet 30 and the like waiting to be transmitted to
Discard. Then, a code indicating the discard of two data blocks is set in the discard display bit 120 (step S1).
4). When the threshold value is less than 2, the LSP lower data block 113 is discarded for the voice packet 30 and the like waiting for transmission to the relay line 16, and the discard indication bit 12
A code indicating the discarding of one data block is set to 0 (step S14).

【0031】一方、図15に示すように、音声パケット
のエンド−エンド遅延時間は、中継回線(16)の回線
容量に比べ多重化される音声チャネル数が大きい場合、
即ち、全ての音声チャネルがパケットを送出している場
合の所要回線速度が回線容量を上回る場合には、LSP
データブロックを廃棄をおこなっても、音声チャネル数
の増加するに従って増大していく。音声チャネル数が増
加する場合には、ポイントAでLSP下位データブロッ
ク113の廃棄が始まり、ポイントBでLSP下位デー
タブロック113およびLSP上位データブロック11
2の廃棄が始まり、逆に音声チャネル数が減少する場合
には、ポイントBでLSP下位データブロック113お
よびLSP上位データブロック112の廃棄を中止し、
ポイントAでLSP下位データブロック113の廃棄を
中止する。従って、受信側音声パケット通信端末131
では受信した音声パケット30等の中でLSP下位デー
タブロック113およびLSP上位データブロック11
2の廃棄されたパケット数を測定することにより、音声
パケット30等の伝送遅延時間および第1の中間ノード
装置140の負荷が変動した際の遅延変動を予想するこ
とができる。データブロックの廃棄が発生していないポ
イントA以下の範囲で負荷が変化した場合、遅延変動は
最も小さく、LSP下位データブロック113が廃棄さ
れているポイントAからポイントBの間で負荷が変化し
た場合、あるいはポイントAからポイントBの間からポ
イントA以下あるいはポイントB以上へ負荷が変化した
場合には、遅延変動はポイントA以下の範囲での変動に
比べ大きくなり、ポイントB以上からポイントA以下へ
負荷が変化した場合には遅延変動が最も大きい。
On the other hand, as shown in FIG. 15, the end-to-end delay time of the voice packet is larger when the number of voice channels to be multiplexed is larger than the line capacity of the relay line (16).
That is, if the required line speed exceeds the line capacity when all voice channels are sending packets, the LSP
Even if data blocks are discarded, the number will increase as the number of voice channels increases. When the number of voice channels increases, discarding of the LSP lower data block 113 starts at point A, and LSP lower data block 113 and LSP upper data block 11 at point B.
When the discard of 2 starts and the number of voice channels decreases on the contrary, the discard of the LSP lower data block 113 and the LSP upper data block 112 is stopped at the point B,
At point A, discarding of the LSP lower data block 113 is stopped. Therefore, the receiving side voice packet communication terminal 131
Then, in the received voice packet 30 etc., the LSP lower data block 113 and the LSP upper data block 11
By measuring the number of discarded packets of 2, it is possible to predict the delay variation when the transmission delay time of the voice packet 30 and the like and the load of the first intermediate node device 140 vary. When the load changes within the range of point A or less where the data block is not discarded, the delay variation is the smallest, and the load changes between point A and point B where the LSP lower data block 113 is discarded. Or, when the load changes from the point A to the point B to the point A or less or the point B or more, the delay variation becomes larger than the variation in the range of the point A or less, and from the point B or more to the point A or less. When the load changes, the delay variation is the largest.

【0032】よって、遅延変動の大きさに対応してゆら
ぎ吸収遅延時間を変更することにより、アンダーラン状
態およびオーバラン状態を防止することができる。LS
P下位データブロック113およびLSP上位データブ
ロック112の廃棄されたパケット数の測定結果を用い
て、受信端末においてゆらぎ吸収遅延時間変更を行う際
の処理フローを図16、図17を用いて説明する。な
お、図中、X0、X1、X2はゆらぎ吸収時間の値でX
0<X1<X2とし、閾値Aおよび閾値Bは1以上とす
る。まず、現時点におけるゆらぎ吸収時間の値を調べ
(ステップS21)、X0つまりX1未満の場合には、
1つのトークスパート内のLSP下位データブロック1
13のみまたはLSP下位データブロック113および
LSP上位データブロック112の両方が廃棄されてい
る音声パケット30等の数を計測する。その個数が閾値
A以上かどうかを判定し(ステップS22)、閾値A未
満場合、遅延変動が最も小さいと判断してゆらぎ吸収時
間をX0に設定する(ステップS23)。閾値A以上の
場合、LSP下位データブロック113およびLSP上
位データブロック112の両方が廃棄されている音声パ
ケットの数と閾値Bを比較する(S24)。閾値B以上
の場合に、ゆらぎ吸収時間をX2とし(S25)、閾値
B未満の場合、ゆらぎ吸収時間をX1とする(ステップ
S24)。
Therefore, the underrun state and the overrun state can be prevented by changing the fluctuation absorption delay time according to the magnitude of the delay fluctuation. LS
A processing flow when the fluctuation absorbing delay time is changed at the receiving terminal using the measurement results of the number of discarded packets of the P lower data block 113 and the LSP upper data block 112 will be described with reference to FIGS. 16 and 17. In the figure, X0, X1, and X2 are values of fluctuation absorption time.
0 <X1 <X2, and the threshold values A and B are 1 or more. First, the value of the fluctuation absorption time at the present time is checked (step S21), and if X0, that is, less than X1,
LSP lower data block 1 in one talk spurt
The number of voice packets 30 etc. in which only 13 or both LSP lower data block 113 and LSP upper data block 112 are discarded is measured. It is determined whether or not the number is equal to or more than the threshold value A (step S22). If the number is less than the threshold value A, it is determined that the delay variation is the smallest, and the fluctuation absorption time is set to X0 (step S23). If it is equal to or larger than the threshold A, the number of voice packets in which both the LSP lower data block 113 and the LSP upper data block 112 are discarded is compared with the threshold B (S24). When it is equal to or more than the threshold value B, the fluctuation absorption time is set to X2 (S25), and when it is less than the threshold value B, the fluctuation absorption time is set to X1 (step S24).

【0033】また、現在のゆらぎ吸収時間の値がX1
(つまりX0以上でX2未満)の場合には、ステップS
21からステップS27に進み、LSP下位データブロ
ック113およびLSP上位データブロック112の両
方が廃棄されている音声パケットの数を計測する。その
個数が閾値C以上かどうかを判定し(S27)、閾値C
未満の場合、ゆらぎ吸収時間をX1のままとし(S2
8)、閾値C以上の場合、ゆらぎ吸収時間をX2とする
(ステップS29)。一方、現在のゆらぎ吸収時間の値
がX2の場合には、ステップS21からステップS30
に進み、LSP下位データブロック113のみ廃棄され
ている音声パケット30等の数を計測し、その個数が閾
値D以上かどうかを判定する(S30)。閾値D未満の
場合、ゆらぎ吸収時間をX2のままとし(S31)、閾
値D以上の場合、ゆらぎ吸収時間をX1とする(ステッ
プS32)。しかし、トークスパートの発生間隔が大き
いと、上記の処理フローでゆらぎ吸収時間を決定したと
しても、決定した時点と次のトークスパートに属するパ
ケットの到着の間に中間ノード装置の負荷が変化し、最
適なゆらぎ吸収時間が変わってしまうことがある。従っ
て、図18のフローチャートに示すように、トークスパ
ートの先頭パケットが到着した時点で、その前のトーク
スパートの最終パケット到着からの経過時間17と閾値
Zを比較し(S41)、経過時間17が閾値Z以下の場
合、図16、図17のフローで決定したゆらぎ吸収時間
を設定する。もし、経過時間17が閾値Zを越える場合
は、ゆらぎ吸収時間を最も小さいX0に設定する(ステ
ップS43)。なお、X0、X1、X2の値は、図15
のグラフを参照して、パケット転送遅延のゆらぎが吸収
できる適正値を選択すればよい。
The value of the current fluctuation absorption time is X1.
In the case of (that is, X0 or more and less than X2), step S
In step S27, the number of voice packets in which both the LSP lower data block 113 and the LSP upper data block 112 are discarded is counted. It is determined whether the number is equal to or more than the threshold C (S27), and the threshold C
If less than, the fluctuation absorption time is left as X1 (S2
8) If it is equal to or more than the threshold value C, the fluctuation absorption time is set to X2 (step S29). On the other hand, when the current value of the fluctuation absorption time is X2, steps S21 to S30
In step S30, the number of voice packets 30 and the like in which only the LSP lower data block 113 is discarded is measured, and it is determined whether the number is equal to or more than the threshold value D (S30). When it is less than the threshold value D, the fluctuation absorption time is left as X2 (S31), and when it is more than the threshold value D, the fluctuation absorption time is set as X1 (step S32). However, if the occurrence interval of the talk spurt is large, even if the fluctuation absorption time is determined by the above processing flow, the load of the intermediate node device changes between the time of the decision and the arrival of the packet belonging to the next talk spurt, The optimal fluctuation absorption time may change. Therefore, as shown in the flowchart of FIG. 18, when the first packet of the talk spurt arrives, the elapsed time 17 from the arrival of the last packet of the previous talk spurt is compared with the threshold Z (S41). If it is less than or equal to the threshold value Z, the fluctuation absorption time determined by the flow of FIGS. 16 and 17 is set. If the elapsed time 17 exceeds the threshold value Z, the fluctuation absorption time is set to the smallest X0 (step S43). The values of X0, X1, and X2 are shown in FIG.
The appropriate value that can absorb the fluctuation of the packet transfer delay may be selected with reference to the graph of FIG.

【0034】図16〜図18の処理フローを用いた通信
シーケンスを、図19を用いて説明する。図19におい
ては、第1のトークスパート201−0の第2の音声パ
ケット231−0はLSP下位ブロック113が廃棄さ
れている。また、第2のトークスパート201−1の第
1の音声パケット230−1はLSP下位ブロック11
3が廃棄されており、第2の音声パケット231−1は
LSP下位ブロック113およびLSP上位ブロック1
12が廃棄され、更に、第2の音声パケット231−1
の転送遅延が第1の中間ノード装置140の輻輳により
大きくなっている。図16の処理フローの閾値A=B=
1とすると、現在のゆらぎ吸収時間がX0であるため、
第1のトークスパート201−0についてはステップS
21、S22、S24、S25と進む。第2のトークス
パート201−1に対するゆらぎ吸収時間がX0からX
1となる。さらに、第1のトークスパート201−0の
最終パケット231−0の到着から第2のトークスパー
ト201−1の先頭パケット230−1の到着までの経
過時間17がZ0<Zであるため、第2のトークスパー
ト201−1に対するゆらぎ吸収時間は最終的にX1に
確定する。従って、音声パケット230−1と231−
1の転送遅延差(ゆらぎ)が大きくなっても、ゆらぎ吸
収時間がX0からX1に長くなっため、そのゆらぎを吸
収できアンダーラン状態の発生を防ぐことができる。
A communication sequence using the processing flows of FIGS. 16 to 18 will be described with reference to FIG. In FIG. 19, the LSP lower block 113 of the second voice packet 231-0 of the first talk spurt 201-0 is discarded. Also, the first voice packet 230-1 of the second talk spurt 201-1 is the LSP lower block 11
3 has been discarded and the second voice packet 231-1 has LSP lower block 113 and LSP upper block 1
12 are discarded, and the second voice packet 231-1
Transfer delay due to congestion of the first intermediate node device 140. Threshold A = B = of the processing flow of FIG.
If it is 1, the current fluctuation absorption time is X0, so
Step S for the first talk spurt 201-0
The process proceeds to 21, S22, S24 and S25. Fluctuation absorption time for the second talk spurt 201-1 from X0 to X
It becomes 1. Furthermore, since the elapsed time 17 from the arrival of the final packet 231-0 of the first talkspurt 201-0 to the arrival of the head packet 230-1 of the second talkspurt 201-1 is Z0 <Z, the second The fluctuation absorption time for the talk spurt 201-1 is finally set to X1. Therefore, the voice packets 230-1 and 231-
Even if the transfer delay difference (fluctuation) of 1 becomes large, the fluctuation absorption time becomes longer from X0 to X1, so that the fluctuation can be absorbed and the occurrence of the underrun state can be prevented.

【0035】なお、上記の説明では1チャネルの場合の
処理について述べたが、ある1つのチャネルのトークス
パートにおけるLSP下位データブロック113および
LSP上位データブロック112の廃棄されているパケ
ットの数を計測して、図16、図17の処理フローチャ
ートに従ってゆらぎ吸収付加遅延時間の値を決定して、
この決定値を網内の同一経路を通過する一定時間内に到
着する別のチャネルのトークスパートに、適用してもよ
い。
In the above description, the processing in the case of one channel is described, but the number of discarded packets of the LSP lower data block 113 and the LSP upper data block 112 in the talk spurt of a certain channel is measured. Then, the value of the fluctuation absorption addition delay time is determined according to the processing flowcharts of FIGS.
This decision value may be applied to the talkspurt of another channel that arrives within a certain time passing through the same route in the network.

【0036】実施例3.上記では、LSP下位ビット1
03を集めたデータブロックが廃棄されているパケット
数およびLSP上位ビット102とLSP下位ビット1
03を集めたデータブロックが廃棄されているパケット
の数をトークスパート毎に計測して、その結果をもとに
ゆらぎ吸収遅延時間を変更した。このかわりに、トーク
スパート内のLSP下位ビット103を集めたデータブ
ロックが廃棄されているパケット数およびLSP上位ビ
ット102とLSP下位ビット103を集めたデータブ
ロックの両者が廃棄されているパケットが、エンド部分
にあるかどうかを監視してゆらぎ吸収遅延時間を変更し
てもよい。図20は、トークスパートの最終部分のパケ
ットについて、LSP下位ビット103を集めたデータ
ブロックが廃棄されているパケット数およびLSP上位
ビット102とLSP下位ビット103を集めたデータ
ブロックの両者が廃棄されているパケットの有無を監視
して、ゆらぎ吸収遅延時間を変更する処理フローを示す
図である。
Example 3. In the above, LSP lower bit 1
The number of packets in which the data blocks collecting 03 are discarded and the LSP upper bit 102 and the LSP lower bit 1
The number of packets in which the data blocks of 03 are discarded is measured for each talk spurt, and the fluctuation absorption delay time is changed based on the result. Instead, the number of packets in the talk spurt in which the data blocks in which the LSP lower bits 103 are collected and the packet in which both the LSP upper bits 102 and the data blocks in which the LSP lower bits 103 are collected are discarded. The fluctuation absorption delay time may be changed by monitoring whether or not there is a part. FIG. 20 shows that for the packet of the last part of the talk spurt, the number of packets in which the data block in which the LSP lower bit 103 is collected and the data block in which the LSP upper bit 102 and the LSP lower bit 103 are collected are both discarded. It is a figure which shows the processing flow which monitors the presence or absence of the packet which exists, and changes a fluctuation absorption delay time.

【0037】次に動作について説明する。トークスパー
ト毎に、そのトークスパートの最終もしくは最終から複
数個前までのパケットについてデータブロックの廃棄が
発生したかどうかを調べ(S51)、廃棄がない場合は
ゆらぎ吸収遅延時間をX0に設定する(S52)。LS
P下位データブロック113が廃棄されている場合には
ゆらぎ吸収遅延時間をX1に設定し(S53)、LSP
下位データブロック113およびLSP上位データブロ
ック112の両者が廃棄されている場合にはゆらぎ吸収
遅延時間をX2に設定する(S54)。なお、LSP下
位データブロック113廃棄と、LSP下位データブロ
ック113およびLSP上位データブロック112の両
者廃棄のパケットが混在している場合には、LSP下位
データブロック113およびLSP上位データブロック
112の両者廃棄のパケットのみがあるものと見なして
処理を行う。なお、次のトークスパートの先頭パケット
が到着した際のゆらぎ吸収遅延時間の付与アルゴリズム
は図18に示す処理フローを用いる。図19の通信シー
ケンスを例に動作を説明すると、第1のトークスパート
201−0の最終音声パケット231−0のLSP下位
ブロック113が廃棄されているため、図20のフロー
チャートのステップS53でゆらぎ吸収遅延時間がX0
からX1に変更される。経過時間17=Z0が閾値Z以
下であるため、ゆらぎ吸収遅延時間がX1に確定する。
従って、音声パケット230−1と231−1の転送遅
延差(ゆらぎ)が大きくなっても、ゆらぎ吸収時間がX
0からX1に長くなっため、そのゆらぎを吸収できアン
ダーラン状態の発生を防ぐことができる。
Next, the operation will be described. It is checked for each talk spurt whether or not the data block is discarded for the last packet of the talk spurt or the packets from the last to a plurality of packets before (S51). If there is no discard, the fluctuation absorption delay time is set to X0 ( S52). LS
If the P lower data block 113 is discarded, the fluctuation absorption delay time is set to X1 (S53), and the LSP
When both the lower data block 113 and the LSP upper data block 112 are discarded, the fluctuation absorption delay time is set to X2 (S54). Note that when packets for discarding the LSP lower data block 113 and discarding both the LSP lower data block 113 and the LSP upper data block 112 are mixed, the LSP lower data block 113 and the LSP upper data block 112 are both discarded. Processing is performed assuming that there are only packets. The processing flow shown in FIG. 18 is used as the algorithm for providing the fluctuation absorption delay time when the first packet of the next talk spurt arrives. The operation will be described by taking the communication sequence of FIG. 19 as an example. Since the LSP lower block 113 of the final voice packet 231-0 of the first talkspurt 201-0 is discarded, the fluctuation is absorbed in step S53 of the flowchart of FIG. Delay time is X0
Changed to X1. Since the elapsed time 17 = Z0 is equal to or less than the threshold value Z, the fluctuation absorption delay time is set to X1.
Therefore, even if the transfer delay difference (fluctuation) between the voice packets 230-1 and 231-1 becomes large, the fluctuation absorption time X
Since the length increases from 0 to X1, the fluctuation can be absorbed and the occurrence of the underrun state can be prevented.

【0038】なお、上記の説明では1チャネルの場合の
処理について述べたが、ある1つのチャネルのトークス
パートにおけるLSP下位データブロック113および
LSP上位データブロック112の廃棄されているパケ
ットの数を計測し、図16、図17の処理フローチャー
トに従ってゆらぎ吸収遅延時間5の値を決め、この決定
値を網内の同一経路を通過する一定時間内到着の別のチ
ャネルのトークスパートに適用してもよい。
In the above description, the processing in the case of one channel is described, but the number of discarded packets of the LSP lower data block 113 and the LSP upper data block 112 in the talk spurt of a certain channel is measured. The value of the fluctuation absorption delay time 5 may be determined according to the processing flowcharts of FIGS. 16 and 17, and this determined value may be applied to the talkspurt of another channel that arrives within a certain time and passes through the same route in the network.

【0039】実施例4.上記実施例では、音声パケット
について説明したが、動画像のパケット伝送についても
実施例1、実施例2共に適用が可能である。
Example 4. In the above embodiment, the voice packet is described, but the packet transmission of the moving image can be applied to both the first and second embodiments.

【0040】[0040]

【発明の効果】以上のようにこの発明によれば、蓄積パ
ケット、オーバーランパケット、アンダーランパケット
を数えるステップ、または重要度に応じてグループ化さ
れたパケットのうち重要度の低いパケットの廃棄数を数
えるステップと、これらからゆらぎ吸収遅延時間を定め
るステップを設けたので、比較的簡単な構成で適切にゆ
らぎ吸収遅延時間を定められる効果がある。
As described above, according to the present invention, the step of counting accumulated packets, overrun packets, and underrun packets, or the number of discarded packets of low importance among packets grouped according to importance. Since the step of counting and the step of determining the fluctuation absorption delay time from these are provided, there is an effect that the fluctuation absorption delay time can be appropriately determined with a relatively simple configuration.

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

【図1】本発明の実施例の音声パケットのゆらぎ吸収遅
延時間設定フローチャート図である。
FIG. 1 is a flow chart of a fluctuation absorption delay time setting of a voice packet according to an embodiment of the present invention.

【図2】アンダーラン状態が発生した場合の通信シーケ
ンス図である。
FIG. 2 is a communication sequence diagram when an underrun state occurs.

【図3】図2のアンダーラン状態を図1の処理フローを
用いてゆらぎ吸収遅延時間を変更した後の通信シーケン
ス図である。
3 is a communication sequence diagram after changing the fluctuation absorption delay time in the underrun state of FIG. 2 using the processing flow of FIG.

【図4】オーバラン状態が発生した場合の通信シーケン
ス図である。
FIG. 4 is a communication sequence diagram when an overrun state occurs.

【図5】図4のオーバラン状態を図1の処理フローを用
いてゆらぎ吸収遅延時間を変更した場合の通信シーケン
ス図である。
5 is a communication sequence diagram when the fluctuation absorption delay time is changed in the overrun state of FIG. 4 by using the processing flow of FIG.

【図6】アンダーラン状態が発生した場合の通信シーケ
ンス図である。
FIG. 6 is a communication sequence diagram when an underrun state occurs.

【図7】図6のゆらぎ吸収バッファ内の蓄積パケット数
の計数方法と図1の処理フローを用いてゆらぎ吸収遅延
時間を変更した後の通信シーケンス図である。
7 is a communication sequence diagram after the fluctuation absorption delay time is changed using the method for counting the number of accumulated packets in the fluctuation absorption buffer of FIG. 6 and the processing flow of FIG.

【図8】オーバラン状態が発生した場合の通信シーケン
ス図である。
FIG. 8 is a communication sequence diagram when an overrun state occurs.

【図9】図8のゆらぎ吸収バッファ内の蓄積パケット数
の計数方法を用いて、ゆらぎ吸収遅延時間を変更した後
の通信シーケンス図である。
9 is a communication sequence diagram after the fluctuation absorption delay time is changed using the method for counting the number of accumulated packets in the fluctuation absorption buffer in FIG.

【図10】オーバラン発生時、計数蓄積パケットと目標
蓄積バッファ数のゆらぎ吸収遅延時間が現状と同一にな
る場合の通信シーケンス図である。
FIG. 10 is a communication sequence diagram in the case where the fluctuation storage delay time of the count storage packet and the target storage buffer number becomes the same as the current state when an overrun occurs.

【図11】算出ゆらぎ吸収遅延時間が現状と同一時、オ
ーバランパケット数が一定数以上となるよう、ゆらぎ吸
収遅延時間を変更した後の通信シーケンス図である。
FIG. 11 is a communication sequence diagram after changing the fluctuation absorption delay time so that the number of overrun packets becomes a certain number or more when the calculated fluctuation absorption delay time is the same as the current state.

【図12】本発明の請求項2のデータ・パケット通信方
法に用いる音声パケットの構成を示す図である。
FIG. 12 is a diagram showing the structure of a voice packet used in the data packet communication method according to claim 2 of the present invention.

【図13】請求項2のデータ・パケット通信方法を実現
する通信しシステムの構成図である。
FIG. 13 is a block diagram of a communication system that realizes the data packet communication method of claim 2;

【図14】中間ノード装置の中継回線へのパケット送信
処理フローを示す図である。
FIG. 14 is a diagram showing a packet transmission processing flow to the relay line of the intermediate node device.

【図15】負荷と音声パケットのエンドーエンド間の遅
延量の関係と、LSP上位またはLSP下位データブロ
ックの廃棄と遅延量の関係を示す図である。
FIG. 15 is a diagram showing the relationship between the load and the end-to-end delay amount of voice packets, and the relationship between the discard of LSP upper or LSP lower data blocks and the delay amount.

【図16】LSP下位ビットのデータブロックの廃棄パ
ケット数およびLSP上位ビットとLSP下位ビットの
データブロックの廃棄パケット数基づく、ゆらぎ吸収遅
延時間決定処理フローを示す図である。
FIG. 16 is a diagram showing a fluctuation absorption delay time determination processing flow based on the number of discarded packets of a data block of LSP lower bits and the number of discarded packets of a data block of LSP upper bits and LSP lower bits.

【図17】LSP下位ビットのデータブロックの廃棄パ
ケット数およびLSP上位ビットとLSP下位ビットの
データブロックの廃棄パケット数基づく、ゆらぎ吸収遅
延時間決定処理フローを示す図である。
FIG. 17 is a diagram showing a fluctuation absorption delay time determination processing flow based on the number of discarded packets of a data block of LSP lower bits and the number of discarded packets of a data block of LSP upper bits and LSP lower bits.

【図18】図17による処理フローでのゆらぎ吸収遅延
時間を決定後の次の先頭パケットのゆらぎ吸収遅延時間
の付与アルゴリズムを示す図である。
18 is a diagram showing an algorithm for assigning the fluctuation absorption delay time of the next head packet after the fluctuation absorption delay time is determined in the processing flow of FIG. 17;

【図19】図16〜図18による処理フローでのゆらぎ
吸収遅延時間による通信シーケンス図である。
FIG. 19 is a communication sequence diagram according to the fluctuation absorption delay time in the processing flows of FIGS. 16 to 18;

【図20】実施例3のゆらぎ吸収遅延時間変更処理フロ
ーを示す図である。
FIG. 20 is a diagram illustrating a fluctuation absorption delay time change processing flow according to the third embodiment.

【図21】従来例でアンダーラン状態の音声パケットの
遅延ゆらぎ吸収方法を説明する通信シーケンス図であ
る。
FIG. 21 is a communication sequence diagram for explaining a method of absorbing delay fluctuation of a voice packet in an underrun state in a conventional example.

【図22】図21の新ゆらぎ吸収遅延時間設定後の通信
シーケンス図である。
22 is a communication sequence diagram after setting the new fluctuation absorption delay time of FIG. 21.

【図23】従来例のパケットの平均伝送遅延時間算出方
法の説明図である。
FIG. 23 is an explanatory diagram of a conventional packet average transmission delay time calculation method.

【図24】従来例におけるゆらぎ吸収遅延時間の変更方
法を示すフローチャート図である。
FIG. 24 is a flowchart showing a method of changing the fluctuation absorption delay time in the conventional example.

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

1−0,1−1 トークスパート 20,21,22,33,24 符号化音声データ 30,31,32,33,34 音声パケット 4 パケット化周期 50,51 ゆらぎ吸収遅延時間 6 アンダーラン時間 7 パケットの平均伝送遅延時間 8 蓄積パケット数 9 エムベデッド符号化された符号化音声データ S1 平均値算出ステップ S2 ゆらぎ吸収遅延時間設定ステップ S4 オーバーランパケット計測ステップ S5 ゆらぎ吸収遅延時間設定ステップ S6 アンダーランパケット計測ステップ S7 ゆらぎ吸収遅延時間設定ステップ S21 ゆらぎ吸収時間計測ステップ S22 LSP下位、LSP下位+LSP上位の廃棄パ
ケット数比較ステップ S23 ゆらぎ吸収時間設定ステップ S24 LSP下位+LSP上位の廃棄パケット数比較
ステップ S25 ゆらぎ吸収時間設定ステップ S26 ゆらぎ吸収時間設定ステップ S27 LSP下位+LSP上位の廃棄パケット数比較
ステップ S28 ゆらぎ吸収時間設定ステップ S29 ゆらぎ吸収時間設定ステップ S30 LSP下位の廃棄パケット数比較ステップ S31 ゆらぎ吸収時間設定ステップ S32 ゆらぎ吸収時間設定ステップ
1-0,1-1 Talk spurt 20, 21, 22, 33, 24 Coded voice data 30, 31, 32, 33, 34 Voice packet 4 Packetization period 50, 51 Fluctuation absorption delay time 6 Underrun time 7 packets Average transmission delay time 8 Number of accumulated packets 9 Embed-coded encoded voice data S1 Average value calculation step S2 Fluctuation absorption delay time setting step S4 Overrun packet measurement step S5 Fluctuation absorption delay time setting step S6 Underrun packet measurement step S7 Fluctuation absorption delay time setting step S21 Fluctuation absorption time measurement step S22 LSP lower, LSP lower + LSP upper drop packet number comparison step S23 Fluctuation absorption time setting step S24 LSP lower + LSP upper drop packet number comparison step Step S25 Fluctuation absorption time setting step S26 Fluctuation absorption time setting step S27 LSP lower + LSP higher discard packet number comparison step S28 Fluctuation absorption time setting step S29 Fluctuation absorption time setting step S30 LSP lower discard packet number comparison step S31 Fluctuation absorption time setting Step S32 Fluctuation absorption time setting step

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成5年3月24日[Submission date] March 24, 1993

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】請求項1[Name of item to be corrected] Claim 1

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】請求項2[Name of item to be corrected] Claim 2

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【手続補正3】[Procedure 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0002[Name of item to be corrected] 0002

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0002】[0002]

【従来の技術】図21、図22は例えば特開平2−20
3641に示された従来の音声パケットの遅延ゆらぎ吸
収方法を説明する図である。図において、301−0、
301−1はそれぞれ第1、第2の有音区間(以後、ト
ークスパートと呼ぶ)、トークスパート301を一定時
間分ごとに区切った符号化音声データである320、3
21、322、323は、それぞれ第1、第2、第3、
第4の符号化音声データである。一定時間分の符号化音
声データをパケット化した音声パケットである330〜
333は,それぞれ符号化音声データ320,321,
322,323をパケット化した第1、第2、第3、第
4の音声パケットである。304は符号化音声データ3
20〜323を音声パケット320〜333に組み立て
るパケット化周期である。音声パケット320〜333
が転送される際のパケット毎に異なる転送遅延時間の差
を吸収するために、トークスパートの先頭パケットの到
着から再生開始まで待ち合わせるゆらぎ吸収遅延時間が
必要となるが、350は第1のゆらぎ吸収遅延時間、3
51は第1のゆらぎ吸収遅延時間を変更した第2のゆら
ぎ吸収遅延時間である。306はゆらぎ吸収遅延時間に
よる転送遅延時間の差を吸収できなかつたために発生し
たアンダーラン状態(再生開始時にその再生タイミング
で再生すべきパケットが到着していない状態)におい
て、再生開始時点からその再生タイミングで再生すべき
パケットの到着までのアンダーラン時間である。
2. Description of the Related Art FIGS.
[Fig. 36] Fig. 36 is a diagram for describing a conventional method for absorbing delay fluctuation of a voice packet shown in 3641. In the figure, 301-0,
Reference numeral 301-1 designates first and second voiced sections (hereinafter referred to as talk spurts), and coded voice data in which the talk spurts 301 are sectioned at regular time intervals 320 and 3, respectively.
21, 322, 323 are the first, second, third, and
This is the fourth encoded voice data. 330 is a voice packet in which encoded voice data for a certain period of time is packetized
333 is encoded voice data 320, 321, respectively.
322 and 323 are first, second, third, and fourth voice packets packetized. 304 is encoded voice data 3
It is a packetization cycle for assembling 20 to 323 into voice packets 320 to 333. Voice packets 320-333
In order to absorb the difference in transfer delay time that differs for each packet when a packet is transferred, the fluctuation absorption delay time that waits from the arrival of the first packet of the talk spurt to the start of playback
It is necessary, 350 is the first fluctuation absorption delay time, 3
Reference numeral 51 is a second fluctuation absorption delay time in which the first fluctuation absorption delay time is changed. 306 is a reproduction from the reproduction start point in the underrun state (a packet to be reproduced has not arrived at the reproduction timing at the reproduction start time) generated because the difference in the transfer delay time due to the fluctuation absorption delay time cannot be absorbed. It is the underrun time until the arrival of the packet to be reproduced at the timing.

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0005[Name of item to be corrected] 0005

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0005】一方図の例によると、第3の音声パケット
332は、転送中に大きな遅延を被り、音声パケット3
32に含まれる第3の符号化音声データ322の再生開
始時間からアンダーラン時間306=T3経過してから
受信側に到着したため、第3の符号化音声データ322
については再生せずに廃棄する。図21では、第1のゆ
らぎ吸収遅延時間350の値=T2が小さいため、音声
パケット332の遅延ゆらぎを吸収できずに、トークス
パート301−0内の符号化音声データの一部322
欠落している。そこで、第2のトークスパート301−
に対して、図24の遅延揺らぎ吸収時間の変更方法の
フローチャートに沿って、ゆらぎ吸収遅延時間を変更す
る。
On the other hand, according to the example of the figure, the third voice packet 332 suffers a large delay during the transfer, and the voice packet 3
The third encoded voice data 322 is included in the third encoded voice data 322 included in 32 since it arrived at the receiving side after the underrun time 306 = T3 has elapsed from the reproduction start time.
Is discarded without being recycled. In FIG. 21, since the value of the first fluctuation absorption delay time 350 = T2 is small, the delay fluctuation of the voice packet 332 cannot be absorbed and a part 322 of the encoded voice data in the talk spurt 301-0 is lost. ing. Therefore, the second talk spurt 301-
For No. 1 , the fluctuation absorption delay time is changed according to the flowchart of the method for changing the delay fluctuation absorption time in FIG.

【手続補正5】[Procedure Amendment 5]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0006[Correction target item name] 0006

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0006】ステップS61で遅延揺らぎが吸収されて
いるかどうか、即ち、遅延ゆらぎ吸収時間の不足によ
り、音声パケット330等を廃棄していないかどうかを
判定する。遅延揺らぎが吸収されている場合には、ステ
ップS62に、遅延揺らぎが吸収されていない場合に
は、ステップS63にそれぞれ進む。ステップS63で
は、現在の網のパケット転送遅延ゆらぎに合わせるため
に、現在のゆらぎ吸収遅延時間にアンダーラン時間30
6を加えた値を新たなゆらぎ吸収遅延時間とし、遅延ゆ
らぎ吸収時間351を増加させる。例えば、図21の場
合には遅延ゆらぎが吸収されていないため、第2の揺ら
ぎ吸収遅延時間351として、第1のゆらぎ吸収遅延時
間350の値にアンダーラン時間306の値を加えた
値、T2+T3を設定する。図22に示すように、ステ
ップ3に示した第2の揺らぎ吸収遅延時間351を用い
ることにより、遅延揺らぎを吸収することができ、図2
1と網内の遅延ゆらぎが同一の場合に、トークスパート
301−1)内の符号化音声データ320等を全て再
生することができる。
In step S61, it is determined whether or not the delay fluctuation is absorbed, that is, whether or not the voice packet 330 or the like is discarded due to a short delay fluctuation absorption time. When the delay fluctuation is absorbed, the process proceeds to step S62, and when the delay fluctuation is not absorbed, the process proceeds to step S63. In step S63, an underrun time 30 is added to the current fluctuation absorption delay time in order to match the current packet transfer delay fluctuation.
The value obtained by adding 6 is set as a new fluctuation absorption delay time, and the delay fluctuation absorption time 351 is increased. For example, in the case of FIG. 21, since the delay fluctuation is not absorbed, as the second fluctuation absorption delay time 351, a value obtained by adding the value of the underrun time 306 to the value of the first fluctuation absorption delay time 350, T2 + T3. To set. As shown in FIG. 22, the delay fluctuation can be absorbed by using the second fluctuation absorption delay time 351 shown in step 3,
1 and the delay fluctuation in the network are the same, it is possible to reproduce all the encoded voice data 320 and the like in the talk spurt ( 301-1 ).

【手続補正6】[Procedure correction 6]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0009[Correction target item name] 0009

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0009】この発明は上記の課題を解決するためにな
されたもので、平均伝送遅延時間およびアンダーラン時
間の測定が不要で、簡単な構成でゆらぎ吸収遅延時間を
適応的に変更できる遅延ゆらぎ吸収方法を得ることを目
的とする。また、ネットワークの負荷の変動に対応して
ゆらぎ吸収遅延時間を変更可能なデータパケット通信方
を得ることを目的とする。
The present invention has been made in order to solve the above-mentioned problems, and does not require measurement of the average transmission delay time and underrun time, and has a simple structure and can be adaptively changed in delay fluctuation absorption. Aim to get a way. In addition, a data packet communication method that can change the fluctuation absorption delay time in response to changes in network load
The purpose is to get the law .

【手続補正7】[Procedure Amendment 7]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0010[Correction target item name] 0010

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0010】[0010]

【課題を解決するための手段】この発明に係るデータ・
パケット通信方法は、パケットの再生タイミング毎に、
受信データを蓄積中の蓄積パケット数を数えるステップ
と、バッファがフルで廃棄したオーバーランのパケット
の数を数えるステップと、直前の蓄積パケットを再生後
に到着し廃棄したアンダーランのパケットを数えるステ
ップと、上記各パケット数とパケット化周期時間から、
パケット受信から再生開始までのゆらぎ吸収遅延時間を
定めるステップとを備えた。
Data according to the present invention
The packet communication method is as follows:
A step of counting the number of accumulated packets that are accumulating received data, a step of counting the number of overrun packets that the buffer is full and discarded, and a step of counting the underrun packets that arrived after reproducing the immediately preceding accumulated packet and were discarded. , From the number of each packet and packetization cycle time,
And a step of determining a fluctuation absorption delay time from the packet reception to the start of reproduction .

【手続補正8】[Procedure Amendment 8]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0011[Correction target item name] 0011

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0011】請求項2の発明のデータ・パケット通信方
法は、符号化データを所定の重要度に応じてMSP(Mos
t Significant Part) ビットとLSP(Least Significa
nt Part)ビットに分けてデータブロックとし、上記デー
タブロックのパケットを有意の単位で受信時に、上記所
定の重要度に応じて廃棄されたパケットの数を重要度単
位で数えるステップと、上記各ステップから、パケット
受信から再生開始までのゆらぎ吸収遅延時間を定めるス
テップとを備えた。
In the data packet communication method according to the second aspect of the present invention, the encoded data is MSP (Mos) according to a predetermined importance.
t Significant Part) bit and LSP (Least Significa)
nt Part) bit into a data block, and when the packet of the data block is received in a significant unit, counting the number of packets discarded according to the predetermined importance in units of importance, To determine the fluctuation absorption delay time from the packet reception to the start of reproduction .

【手続補正9】[Procedure Amendment 9]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0013[Correction target item name] 0013

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0013】[0013]

【実施例】 実施例1.本発明の一実施例を図について説明する。図
1は、本発明を音声パケットの受信装置のゆらぎ吸収遅
延方法に適用した場合のフローチャートである。ここで
ゆらぎ吸収遅延時間とは、パケットを受信してから再生
を開始するまでの時間である。図2は、直前の蓄積パケ
ットを再生後に次のパケットが到着するアンダーラン状
態が発生した場合の通信シーケンスチャートである。図
において、8は符号化音声データ20等を、再生開始時
に計数したゆらぎ吸収バッファ内の蓄積パケット数であ
る。図3は、第1のゆらぎ吸収遅延時間50を図2の蓄
積パケット数8から求めた第2のゆらぎ吸収遅延時間5
1に変更した場合の通信シーケンスチャートである。図
4は、ゆらぎバッファに空きがないために音声パケット
30等が廃棄されるオーバラン状態が発生した場合の通
信シーケンスチャートである。図5は、図4の元の第1
のゆらぎ吸収遅延時間(50)を図4の蓄積パケット数
8を基に算出した第2のゆらぎ吸収遅延時間(51)に
変更した場合の通信シーケンスチャートである。
EXAMPLES Example 1. An embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a flowchart when the present invention is applied to a fluctuation absorption delay method of a voice packet receiving device. Here, the fluctuation absorption delay time is the playback after the packet is received.
It is time to start . FIG. 2 is a communication sequence chart when an underrun state occurs in which the next packet arrives after reproducing the immediately preceding stored packet. In the figure, 8 is the number of accumulated packets in the fluctuation absorption buffer, which is obtained by counting the encoded voice data 20 and the like at the start of reproduction. FIG. 3 shows a second fluctuation absorption delay time 5 obtained by calculating the first fluctuation absorption delay time 50 from the number of accumulated packets 8 in FIG.
It is a communication sequence chart when changing to 1. FIG. 4 is a communication sequence chart when an overrun state occurs in which the voice packet 30 and the like are discarded because the fluctuation buffer has no space. 5 is the original first of FIG.
The fluctuation absorption delay time (50) of the second fluctuation absorption delay time (51) calculated based on the number 8 of accumulated packets in FIG.
It is a communication sequence chart when it is changed.

【手続補正10】[Procedure Amendment 10]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0014[Correction target item name] 0014

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0014】図6は、アンダーラン状態が発生した場合
の通信シーケンスチャートある。これは、ゆらぎ吸収バ
ッファ内の蓄積パケット数8の計数方法を、アンダーラ
ン検出時に−1と計数する場合のゆらぎ吸収遅延時間の
算出過程を示す図である。図7は図6での蓄積バッファ
数(8)の計数方法で求め、その結果から第2のゆらぎ
吸収遅延時間(51)を用いた通信シーケンスチャート
である。図8は、オーバラン状態が発生した場合の通信
シーケンスチャートである。この場合、バッファが無限
にあるとみなし、オーバランにより廃棄したパケットに
ついては、そのパケットの再生開始まで蓄積されている
として、ゆらぎ吸収バッファ内の蓄積パケット数8を計
数する。図9は、図8のチャートで算出した上記蓄積パ
ケット数を用いて、第2のゆらぎ吸収遅延時間(51)
を設定した通信シーケンスチャートを示す図である。図
10は、オーバラン状態が発生した場合に、計数した蓄
積パケット数8と目標とする蓄積バッファ数から算出し
た第2のゆらぎ吸収遅延時間が現状と同一になる場合を
示す通信シーケンスチャートである。図11は、図1の
フローチャートに従って算出した新たなゆらぎ吸収遅延
時間が現状と同一の場合に、オーバランパケット数が一
定個数以上(この場合は1個以上)になるため、ゆらぎ
吸収遅延時間を変更した場合の通信シーケンスチャート
である。
FIG. 6 is a communication sequence chart when an underrun state occurs. This is a diagram showing a process of calculating the fluctuation absorption delay time when the number of accumulated packets in the fluctuation absorption buffer is 8 is counted as -1 when an underrun is detected. FIG. 7 is a communication sequence chart using the second fluctuation absorption delay time (51) obtained from the method of counting the number of storage buffers (8) in FIG. FIG. 8 is a communication sequence chart when an overrun state occurs. In this case, assuming that the buffer is infinite, and regarding the packet discarded due to overrun, it is assumed that the packet is accumulated until the reproduction start of the packet, and the number of accumulated packets in the fluctuation absorption buffer is counted 8. FIG. 9 shows the second fluctuation absorption delay time (51) using the number of accumulated packets calculated in the chart of FIG.
It is a figure which shows the communication sequence chart which set. FIG. 10 is a communication sequence chart showing a case where the second fluctuation absorption delay time calculated from the counted number of accumulated packets 8 and the target number of accumulated buffers is the same as the current state when the overrun state occurs. FIG. 11 shows a new fluctuation absorption delay calculated according to the flowchart of FIG.
This is a communication sequence chart when the fluctuation absorption delay time is changed because the number of overrun packets becomes a certain number or more (in this case, one or more) when the time is the same as the current state .

【手続補正11】[Procedure Amendment 11]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0015[Name of item to be corrected] 0015

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0015】次に動作について図1を用いて説明する。
まず、音声パケット(3)の再生タイミング時に、ゆら
ぎ吸収用バッファに格納されているパケット数を計測す
る。そして1つのトークスパート(有声区間)毎に、そ
の平均蓄積パケット数を式(1)を用いて算出する(ス
テップS1)。 平均蓄積パケット数=N/k・・・・・・・・・・・・
・・・・・・(1) 但し、 N=トークスパートの先頭からk番目までの再生タイミ
ング時の蓄積パケット数の総和 k=トークスパートを構成するパケット数−(目標とす
る蓄積パケット数−1) 式(1)中、目標とする蓄積パケット数とは、オーバラ
ンおよびアンダーラン状態が発生しないゆらぎ吸収遅延
時間をゆらぎ吸収バッファに蓄積するパケット数に換算
したものである。式(1)のkは、目標とする蓄積パケ
ットの数分のパケットが蓄積される可能性のある再生タ
イミング数を示している。
Next, the operation will be described with reference to FIG.
First, at the reproduction timing of the audio packet (3), the number of packets stored in the fluctuation absorbing buffer is measured. Then, for each one talk spurt (voiced section), the average number of accumulated packets is calculated using the equation (1) (step S1). Average number of stored packets = N / k ...
(1) However, N = sum of the number of stored packets at the reproduction timing from the head of the talk spurt to the k th k = the number of packets forming the talk spurt- (the target number of stored packets-1) In the equation (1), the target number of accumulated packets is the number of packets accumulated in the fluctuation absorption buffer, which is the fluctuation absorption delay time in which the overrun and underrun states do not occur. K in the equation (1) indicates the number of reproduction timings at which the target number of accumulated packets may be accumulated.

【手続補正12】[Procedure Amendment 12]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0019[Correction target item name] 0019

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0019】アンダーラン状態が発生した際に、ゆらぎ
吸収バッファの蓄積パケット数を0ではなく−1として
カウントすると、アンダーラン時間6が大きい場合には
ゆらぎ吸収遅延時間を図2のケースよりもより迅速に大
きくすることができる。図6は、アンダーラン状態が発
生した際に蓄積パケット数を−1としてカウントする場
合である。再生開始タイミング時の、ゆらぎ吸収用バッ
ファ内に蓄積されている符号化音声データ20〜23の
パケット数8は、以下のようになる。第3の符号化音声
データ22を搭載した第3の音声パケット32のみが再
生開始タイミング以降に到着して廃棄されるので、パケ
ット数はそれぞれ1、1、−1、1個となり、平均蓄積
パケット数8は式(1)により次式のとおりとなる。 平均蓄積パケット数=(1+1−1+1)/4−(1−
1)=2/4 その結果、第2のゆらぎ吸収遅延時間51は目標とする
平均蓄積パケット数=1から式(2)より、 第2のゆらぎ吸収遅延時間=(1−2/4)×T+Tol
d=1/2×T+Told となる。これにより、アンダーラン時の蓄積パケット数
を0としてカウントした図3の場合に比べ、(1/2−
1/4)×T=1/4×Tだけ、ゆらぎ吸収遅延時間を
大きくすることができる。図7は、上記の計算結果に従
って、ゆらぎ吸収遅延時間をTold から1/2×T+T
old に変更した場合に、アンダーラン状態が解消され、
ゆらぎ吸収バッファに格納されているパケット数が目標
とする平均蓄積パケット数=1となることを示してい
る。
When the number of packets accumulated in the fluctuation absorbing buffer is counted as -1 instead of 0 when the underrun condition occurs, the fluctuation absorbing delay time is larger than that in the case of FIG. 2 when the underrun time 6 is large. It can grow quickly. FIG. 6 shows a case where the number of accumulated packets is counted as -1 when the underrun state occurs. The number of packets 8 of the encoded audio data 20 to 23 stored in the fluctuation absorbing buffer at the reproduction start timing is as follows. Since only the third voice packet 32 carrying the third encoded voice data 22 arrives after the reproduction start timing and is discarded, the number of packets becomes 1, 1, -1, 1 respectively, and the average accumulated packet Equation 8 is given by the following equation using equation (1). Average number of accumulated packets = (1 + 1-1 + 1) / 4- (1-
1) = 2/4 As a result, the second fluctuation absorption delay time 51 is the second fluctuation absorption delay time = (1-2 / 4) × from the target average accumulated packet number = 1 to the equation (2). T + Tol
d = 1/2 × T + Told. As a result, compared with the case of FIG. 3 in which the number of accumulated packets during underrun is counted as 0, (1 / 2−
The fluctuation absorption delay time can be increased by 1/4) × T = 1/4 × T. FIG. 7 shows the fluctuation absorption delay time from Told to 1/2 × T + T according to the above calculation result.
When changing to old, the underrun condition is resolved,
It shows that the number of packets stored in the fluctuation absorption buffer is the target average accumulated packet number = 1.

【手続補正13】[Procedure Amendment 13]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0028[Correction target item name] 0028

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0028】図16、図17は、請求項2の発明の実施
例に用いる、受信側のゆらぎ吸収遅延時間の決定方法の
アルゴリズムを示す図である。即ち、1つのトークスパ
ートを構成する音声パケットの中で、LSP下位ビット
103を集めたデータブロックが廃棄されているパケッ
ト数およびLSP上位ビット102とLSP下位ビット
103を集めたデータブロックが廃棄されているパケッ
トの数を計測した結果に基づいて、新たなゆらぎ吸収遅
延時間を決定する際の処理フローを示す図である。図1
8は、図16と図17の処理フローによりゆらぎ吸収遅
延時間を決定した後に、次のトークスパートの先頭パケ
ットが到着した際の、ゆらぎ吸収遅延時間の付与アルゴ
リズムを示す図である。図19は、図16〜図18の処
理フローを用いてゆらぎ吸収遅延時間を変更した場合の
通信シーケンスを示す図である。図において、17は第
1のトークスパート1−0の最終パケットの到着からと
第2のトークスパート1−1の先頭パケットの到着まで
の経過時間である。
16 and 17 are diagrams showing an algorithm of a method of determining a fluctuation absorption delay time on the receiving side, which is used in the embodiment of the invention of claim 2. That is, in a voice packet forming one talk spurt, the number of packets in which the data block in which the LSP lower bit 103 is collected and the data block in which the LSP upper bit 102 and the LSP lower bit 103 are collected are discarded. It is a figure which shows the processing flow at the time of determining a new fluctuation absorption delay time based on the result of having measured the number of the existing packets. Figure 1
FIG. 8 is a diagram showing an algorithm for providing the fluctuation absorption delay time when the first packet of the next talk spurt arrives after the fluctuation absorption delay time is determined by the processing flows of FIGS. 16 and 17. FIG. 19 is a diagram showing a communication sequence when the fluctuation absorption delay time is changed using the processing flows of FIGS. 16 to 18. In the figure, 17 is the elapsed time from the arrival of the last packet of the first talk spurt 1-0 to the arrival of the first packet of the second talk spurt 1-1.

【手続補正14】[Procedure Amendment 14]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0032[Name of item to be corrected] 0032

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0032】よって、遅延変動の大きさに対応してゆら
ぎ吸収遅延時間を変更することにより、アンダーラン状
態およびオーバラン状態を防止することができる。LS
P下位データブロック113およびLSP上位データブ
ロック112の廃棄されたパケット数の測定結果を用い
て、受信端末においてゆらぎ吸収遅延時間変更を行う際
の処理フローを図16、図17を用いて説明する。な
お、図中、X0、X1、X2はゆらぎ吸収時間の値でX
0<X1<X2とし、閾値Aおよび閾値Bは1以上とす
る。まず、現時点におけるゆらぎ吸収時間の値を調べ
(ステップS21)、X0つまりX1未満の場合には、
1つのトークスパート内のLSP下位データブロック1
13のみまたはLSP下位データブロック113および
LSP上位データブロック112の両方が廃棄されてい
る音声パケット30等の数を計測する。その個数が閾値
A以上かどうかを判定し(ステップS22)、閾値A
満の場合、遅延変動が最も小さいと判断してゆらぎ吸収
時間をX0に設定する(ステップS23)。閾値A以上
の場合、LSP下位データブロック113およびLSP
上位データブロック112の両方が廃棄されている音声
パケットの数と閾値Bを比較する(S24)。閾値B以
上の場合に、ゆらぎ吸収時間をX2とし(S25)、閾
値B未満の場合、ゆらぎ吸収時間をX1とする(ステッ
プS24)。
Therefore, the underrun state and the overrun state can be prevented by changing the fluctuation absorption delay time according to the magnitude of the delay fluctuation. LS
A processing flow when the fluctuation absorbing delay time is changed at the receiving terminal using the measurement results of the number of discarded packets of the P lower data block 113 and the LSP upper data block 112 will be described with reference to FIGS. 16 and 17. In the figure, X0, X1, and X2 are values of fluctuation absorption time.
0 <X1 <X2, and the threshold values A and B are 1 or more. First, the value of the fluctuation absorption time at the present time is checked (step S21), and if X0, that is, less than X1,
LSP lower data block 1 in one talk spurt
The number of voice packets 30 etc. in which only 13 or both LSP lower data block 113 and LSP upper data block 112 are discarded is measured. It is determined whether the number is equal to or more than the threshold A (step S22), and the threshold A is not
If it is full, it is determined that the delay variation is the smallest, and the fluctuation absorption time is set to X0 (step S23). LSP lower data block 113 and LSP when the threshold value is A or more
The threshold B is compared with the number of voice packets in which both upper data blocks 112 are discarded (S24). When it is equal to or more than the threshold value B, the fluctuation absorption time is set to X2 (S25), and when it is less than the threshold value B, the fluctuation absorption time is set to X1 (step S24).

【手続補正15】[Procedure Amendment 15]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】図16[Correction target item name] Fig. 16

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図16】LSP下位ビットのデータブロックの廃棄パ
ケット数およびLSP上位ビットとLSP下位ビットの
データブロックの廃棄パケット数に基づく、ゆらぎ吸収
遅延時間決定処理フローを示す図である。
FIG. 16 is a diagram showing a fluctuation absorption delay time determination processing flow based on the number of discarded packets of a data block of LSP lower bits and the number of discarded packets of a data block of LSP upper bits and LSP lower bits.

【手続補正16】[Procedure Amendment 16]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】図17[Name of item to be corrected] Fig. 17

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図17】LSP下位ビットのデータブロックの廃棄パ
ケット数およびLSP上位ビットとLSP下位ビットの
データブロックの廃棄パケット数に基づく、ゆらぎ吸収
遅延時間決定処理フローを示す図である。
FIG. 17 is a diagram showing a fluctuation absorption delay time determination processing flow based on the number of discarded packets of data blocks of LSP lower bits and the number of discarded packets of data blocks of LSP upper bits and LSP lower bits.

【手続補正17】[Procedure Amendment 17]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】図19[Name of item to be corrected] Fig. 19

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図19】図16〜図18による処理フローで求めた
らぎ吸収遅延時間による通信シーケンス図である。
FIG. 19 is a communication sequence diagram according to the fluctuation absorption delay time obtained by the processing flows shown in FIGS.

【手続補正18】[Procedure 18]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図22[Correction target item name] Fig. 22

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図22】 FIG. 22

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 パケットの再生タイミング毎に受信デー
タを蓄積中の蓄積パケット数を数えるステップと、 バッファがフルで廃棄したオーバーランのパケットの数
を数えるステップと、直前の蓄積パケットを再生後に到
着し廃棄したアンダーランのパケットを数えるステップ
と、 上記各パケット数とパケット化周期時間から、パケット
受信から蓄積バッファに蓄積開始までのゆらぎ吸収遅延
時間を定めるステップとを備えたデータ・パケット通信
方法。
1. A step of counting the number of accumulated packets that are accumulating received data at each packet reproduction timing, a step of counting the number of overrun packets that are full in a buffer and discarded, and arrive after reproducing the immediately preceding accumulated packet. And a step of counting the number of discarded underrun packets, and a step of determining a fluctuation absorption delay time from the packet reception to the start of accumulation in the accumulation buffer based on the number of each packet and the packetization cycle time.
【請求項2】 符号化データを所定の重要度に応じてM
SP(Most Significant Part) ビットとLSP(Least S
ignificant Part)ビットに分けてデータブロックとし、 上記データブロックのパケットを有意の単位で受信時
に、上記所定の重要度に応じて廃棄されたパケットの数
を重要度単位で数えるステップと、 上記各ステップから、パケット受信から蓄積バッファに
蓄積開始までのゆらぎ吸収遅延時間を定めるステップと
を備えたデータ・パケット通信方法。
2. The encoded data is M according to a predetermined importance.
SP (Most Significant Part) bit and LSP (Least S)
ignificant Part) divided into data blocks into data blocks, and when receiving packets of the data blocks in a significant unit, counting the number of discarded packets according to the predetermined importance in units of importance; From the packet reception to the start of accumulation in the accumulation buffer, the step of determining a fluctuation absorption delay time.
JP29878892A 1992-11-09 1992-11-09 Data packet communication method Pending JPH06152648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29878892A JPH06152648A (en) 1992-11-09 1992-11-09 Data packet communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29878892A JPH06152648A (en) 1992-11-09 1992-11-09 Data packet communication method

Publications (1)

Publication Number Publication Date
JPH06152648A true JPH06152648A (en) 1994-05-31

Family

ID=17864230

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29878892A Pending JPH06152648A (en) 1992-11-09 1992-11-09 Data packet communication method

Country Status (1)

Country Link
JP (1) JPH06152648A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SG102571A1 (en) * 1999-03-31 2004-03-26 Nec Corp Delay fluctuation absorbing device and method
WO2005034447A1 (en) * 2003-09-30 2005-04-14 Nec Corporation Method for processing encoded data in interconnecting different types of communication networks, and gateway apparatus
US7552229B2 (en) 1998-12-30 2009-06-23 Intel Corporation Establishing optimal latency in streaming data applications that use data packets
JP2010226744A (en) * 2004-08-30 2010-10-07 Qualcomm Inc Methods and apparatus for adaptive de-jitter buffer
US8521872B2 (en) 2010-07-02 2013-08-27 Fujitsu Limited Computer product, verification support apparatus, and verification support method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7552229B2 (en) 1998-12-30 2009-06-23 Intel Corporation Establishing optimal latency in streaming data applications that use data packets
US8005976B2 (en) 1998-12-30 2011-08-23 Intel Corporation Establishing optimal latency in streaming data applications that use data packets
SG102571A1 (en) * 1999-03-31 2004-03-26 Nec Corp Delay fluctuation absorbing device and method
WO2005034447A1 (en) * 2003-09-30 2005-04-14 Nec Corporation Method for processing encoded data in interconnecting different types of communication networks, and gateway apparatus
US7796584B2 (en) 2003-09-30 2010-09-14 Nec Corporation Method for connection between communication networks of different types and gateway apparatus
JP2010226744A (en) * 2004-08-30 2010-10-07 Qualcomm Inc Methods and apparatus for adaptive de-jitter buffer
US8521872B2 (en) 2010-07-02 2013-08-27 Fujitsu Limited Computer product, verification support apparatus, and verification support method

Similar Documents

Publication Publication Date Title
Kanakia et al. An adaptive congestion control scheme for real time packet video transport
US6480902B1 (en) Intermedia synchronization system for communicating multimedia data in a computer network
EP1382219B1 (en) Method and device for robust real-time estimation of bottleneck bandwidth
CN1134947C (en) Adaptive jitter buffering
EP0446956B1 (en) An ATM transmission system with a variable transmission rate
US7110422B1 (en) Method and apparatus for managing voice call quality over packet networks
US6445679B1 (en) Stream communication system and stream transfer control method
CN101523822B (en) Voice transmission apparatus
US20090080334A1 (en) Method, system, and computer program product for adaptive congestion control on virtual lanes for data center ethernet architecture
EP1475985A2 (en) Traffic scheduling apparatus and method for a base station in a mobile communication system
US7787500B2 (en) Packet receiving method and device
CN101073227A (en) Empirical scheduling of networks packets using coarse and fine testing periods
US6744764B1 (en) System for and method of recovering temporal alignment of digitally encoded audio data transmitted over digital data networks
JP3891755B2 (en) Packet receiver
US20020105933A1 (en) Internode synchronizing device and internode synchronizing method
JP2002118598A (en) Congestion detecting method, congestion preventing method, and packet communication system
KR100454919B1 (en) Method and apparatus for classifying service classes of packet data in two way communication network
JPH06152648A (en) Data packet communication method
CA2308648C (en) Method to control data reception buffers for packetized voice channels
EP1919137A1 (en) Method for estimating jitter buffer management performance
JPS59190757A (en) Packet communication system
KR100630339B1 (en) A decision method for burst assembly parameters in optical burst switching network system
Narbutt et al. Adaptive playout buffering for audio/video transmission over the internet
US9106551B2 (en) Data packet frequency
CN113163233B (en) Bandwidth detection method based on real-time video streaming transmission