JP2000224225A - Packet receiver, packet reception method and recording medium - Google Patents

Packet receiver, packet reception method and recording medium

Info

Publication number
JP2000224225A
JP2000224225A JP2669499A JP2669499A JP2000224225A JP 2000224225 A JP2000224225 A JP 2000224225A JP 2669499 A JP2669499 A JP 2669499A JP 2669499 A JP2669499 A JP 2669499A JP 2000224225 A JP2000224225 A JP 2000224225A
Authority
JP
Japan
Prior art keywords
packet
receiving
jitter
address
received
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.)
Granted
Application number
JP2669499A
Other languages
Japanese (ja)
Other versions
JP3449276B2 (en
Inventor
Masako Hida
昌子 飛田
Masayoshi Hiraguchi
正義 平口
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP02669499A priority Critical patent/JP3449276B2/en
Publication of JP2000224225A publication Critical patent/JP2000224225A/en
Application granted granted Critical
Publication of JP3449276B2 publication Critical patent/JP3449276B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To enhance communication quality by suppressing aborted packets due to traffic fluctuation in a relay network. SOLUTION: A reception packet 7 received from a relay line 61 via a WAN 6 is fed to a reception buffer 41 via a CPU 2 and a CPU bus 21, and stored therein in a received sequence. A pointer pointing out the reception packet 7 stored in the reception buffer 41 is stacked to a jitter queue 303 in the order of transmission by packet processing 301 of a DSP 31 and rearranged. A jitter flow control 302 conducts recovery or scale revision processing and a decoder 304 reads voice data of a corresponding packet from the reception buffer 41 in the order of pointers of the jitter queue 303 in a read timing in response to the jitter amount, decodes the data and the recovered voice signal is sent to a reception signal line 305.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、パケット受信装置
およびパケット受信方法、並びに記録媒体に関し、特
に、音声信号をデジタル信号に変換し、一定長の音声パ
ケットに分割して伝送し、受信した音声パケットから元
の音声信号を再生するパケット受信装置およびパケット
受信方法、並びに記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a packet receiving apparatus, a packet receiving method, and a recording medium. The present invention relates to a packet receiving apparatus and a packet receiving method for reproducing an original audio signal from a packet, and a recording medium.

【0002】[0002]

【従来の技術】従来のジッタバッファ制御方式では、C
PUが、DSP毎にシーケンス入れ替え制御とジッタ制
御を行い、読出しタイミングに達したパケットのみを、
CPUのメモリから該当するDSPのジッタバッファへ
転送する方式をとっていた。従って、CPUは、受信バ
ッファ、受信キュー、及び、DSP数分のジッタキュー
を持ち、DSP数分のジッタ制御を行っていた。
2. Description of the Related Art In a conventional jitter buffer control method, C
The PU performs the sequence interchange control and the jitter control for each DSP, and only the packets that have reached the read timing are
In this method, the data is transferred from the memory of the CPU to the jitter buffer of the corresponding DSP. Therefore, the CPU has a reception buffer, a reception queue, and a jitter queue for the number of DSPs, and performs jitter control for the number of DSPs.

【0003】また、従来のジッタバッファ制御方式で
は、中継路が専用接続で揺らぎが少なく、遅延が一定で
あることを前提にして、最初に受信したパケットに固定
遅延を加えることにより、ジッタバッファ制御を実現し
ていた。
Further, in the conventional jitter buffer control method, a fixed delay is added to a first received packet on the assumption that a relay path is a dedicated connection, the fluctuation is small, and the delay is constant. Was realized.

【0004】例えば、音声呼が通るルートの中継段数が
増えると、遅延時間が長くなり、中継装置毎のトラヒッ
ク量に応じて待ち時間が変動するため、揺らぎも大きく
なる。これらの遅延や揺らぎが発生しても通話に支障が
ないように、受信パケットを意図的に遅らせて再生する
仕組みがジッタバッファ制御である。
For example, when the number of relay stages in a route through which a voice call passes increases, the delay time increases, and the waiting time varies depending on the traffic volume of each relay device, so that the fluctuation also increases. Jitter buffer control is a mechanism for intentionally delaying and reproducing a received packet so that even if these delays and fluctuations occur, there is no problem in communication.

【0005】[0005]

【発明が解決しようとする課題】このように、従来のジ
ッタバッファ制御方式では、装置設置時に予想される遅
延時間から割り出した値(遅延時間)を装置に設定し
て、固定遅延をかける方式をとっていた。この方式は、
装置の接続段数が一定であり、かつ、専用線接続の企業
網等では有効である。
As described above, in the conventional jitter buffer control method, a value (delay time) determined from the delay time expected at the time of installation of the device is set in the device, and a fixed delay is applied to the device. I was taking. This method is
This is effective in a company network or the like in which the number of connection stages of the device is constant and a dedicated line is connected.

【0006】しかしながら、IP(internet
protocol)テレフォニーという新技術分野に適
用しようとすると、中継路として公衆網を使用すること
と、コネクションレス(パケット毎に通るルートが一定
でない)で通信するため、接続段数を特定できず、加え
て、公衆網のトラヒック量が増大すると、網内の遅延時
間もジッタバッファ制御では吸収できず、アンダーフロ
ー/オーバーフローが発生し、これにより受信音声パケ
ットの廃棄が行われ、その結果、音が途切れる等の音声
品質の低下を招いていた。
However, IP (Internet)
When applying to a new technical field called protocol (telephony), the use of a public network as a relay path and communication without connection (the route through each packet is not constant) make it impossible to specify the number of connection stages. When the amount of traffic in the public network increases, the delay time in the network cannot be absorbed by the jitter buffer control, and an underflow / overflow occurs. As a result, received voice packets are discarded, and as a result, sound is interrupted. Voice quality was reduced.

【0007】そこで、ジッタバッファ制御の範囲を公衆
網にまで拡大し、公衆網を考慮した最大遅延時間を固定
遅延として装置に設定しておくようにすると、その設定
時間が本来の遅延時間に加算されるため、どの通話にも
大きな遅延がかかり、違和感を与えるという課題があっ
た。
Therefore, if the range of the jitter buffer control is extended to the public network and the maximum delay time considering the public network is set in the device as a fixed delay, the set time is added to the original delay time. Therefore, there is a problem that any call takes a long delay, giving a sense of incongruity.

【0008】また、上述したように、IPテレフォニー
は、従来の電話サービスとは異なり、コネクションレス
通信であるため、パケット毎に通るルートが異なり、送
信順と受信順の入れ替わりが発生する。このため、順番
の並べ替えを考慮しなければならないという課題があっ
た。
Further, as described above, since the IP telephony is connectionless communication unlike the conventional telephone service, a route that passes through each packet is different, and the order of transmission and the order of reception occur. For this reason, there is a problem that the rearrangement of the order must be considered.

【0009】これらの課題を解決するために、音質低下
要因の発生を予想して、通話している最中の瞬間の最適
値(最適な遅延時間)を用いてジッタバッファ制御を行
うことにより、遅延時間を最適値に設定すること、即
ち、通話路で固定的に発生する遅延時間は、取り除きよ
うがないが、ジッタバッファ制御で無駄に挿入している
遅延時間を必要最小限に設定することが要求されてい
る。
In order to solve these problems, a jitter buffer control is performed by using an optimum value (optimal delay time) at the moment of talking while anticipating the occurrence of a sound quality deterioration factor. Set the delay time to the optimum value, that is, set the delay time that is inserted unnecessarily by the jitter buffer control to the necessary minimum, although it is unavoidable to remove the fixed delay time generated in the communication path. Is required.

【0010】本発明はこのような状況に鑑みてなされた
ものであり、通話状況に応じた最適な遅延時間に基づい
てジッタバッファ制御を行うことにより、通話の音質を
向上させることができるようにするものである。
The present invention has been made in view of such a situation, and it is possible to improve the sound quality of a call by performing jitter buffer control based on an optimum delay time according to the call situation. Is what you do.

【0011】[0011]

【課題を解決するための手段】請求項1に記載のパケッ
ト受信装置は、送信側から中継網を介して送信されてき
たパケットを、受信側において受信し、復号化するパケ
ット受信装置であって、パケットを受信する受信手段
と、受信手段によって受信されたパケットを、受信手段
がパケットを受信した順に記憶する記憶手段と、パケッ
トを送信側が送信した順番に並べ替える並べ替え手段
と、少なくとも、受信手段によりパケットが受信された
時刻から、中継網内で発生したジッタ量を算出する算出
手段と、算出手段によって算出されたジッタ量に応じ
て、並べ替え手段によって並べ替えられたパケットを復
号化するタイミングを制御するタイミング制御手段と、
タイミング制御手段によって制御されたタイミングでパ
ケットを復号化する復号化手段とを備えることを特徴と
する。また、受信手段によって受信されたパケットに、
パケットの次のパケットが記憶される記憶手段のアドレ
ス情報を付加する付加手段をさらに設け、パケットは、
アドレス情報に従って、記憶手段に記憶されるようにす
ることができる。また、パケットが記憶されている記憶
手段のアドレスを記憶するアドレス記憶手段をさらに設
け、並べ替え手段は、パケットが記憶されている記憶手
段のアドレスを、送信側が送信した順番に、アドレス記
憶手段に記憶させることにより、パケットの並べ替えを
行うようにすることができる。また、パケットが記憶さ
れている記憶手段のアドレスを記憶するアドレス記憶手
段をさらに設け、並べ替え手段は、パケットが記憶され
ている記憶手段のアドレスを、送信側が送信した順番
に、アドレス記憶手段に記憶させることにより、パケッ
トの並べ替えを行い、復号化手段は、算出手段によって
算出されたジッタ量に応じて、アドレス記憶手段に記憶
されているアドレスを読み出し、記憶手段のアドレスに
記憶されているパケットを読み出し、復号化するように
することができる。また、パケットは、少なくとも、次
のパケットが記憶されているアドレス情報を記述するた
めのフィールドと、パケット長を記述するためのフィー
ルドと、受信タイムスタンプを記述するためのフィール
ドと、送信シーケンス番号を記述するためのフィールド
と、送信タイムスタンプを記述するためのフィールド
と、データを記述するためのフィールドとからなり、少
なくとも、次のパケットが記憶されているアドレス情報
と、受信タイムスタンプは、受信側で設定され、少なく
とも送信シーケンス番号は送信側で設定されるようにす
ることができる。また、受信手段によりパケットが受信
された時刻に基づいて、送信側がパケットを送信した時
刻を推定する推定手段をさらに設けるようにすることが
できる。請求項7に記載のパケット受信方法は、送信側
から中継網を介して送信されてきたパケットを、受信側
において受信し、復号化するパケット受信方法であっ
て、パケットを受信する受信ステップと、受信ステップ
において受信されたパケットを、パケットを受信した順
に記憶する記憶ステップと、パケットを送信側が送信し
た順番に並べ替える並べ替えステップと、少なくとも、
受信ステップにおいてパケットが受信された時刻から、
中継網内で発生したジッタ量を算出する算出ステップ
と、算出ステップにおいて算出されたジッタ量に応じ
て、並べ替えステップにおいて並べ替えられたパケット
を復号化するタイミングを制御するタイミング制御ステ
ップと、タイミング制御ステップにおいて制御されたタ
イミングでパケットを復号化する復号化ステップとを備
えることを特徴とする。請求項8に記載の記録媒体は、
請求項7に記載のパケット受信方法を実行可能なプログ
ラムが記録されていることを特徴とする。本発明に係る
パケット受信装置およびパケット受信方法、並びに記録
媒体においては、パケットを受信し、受信されたパケッ
トを、パケットを受信した順に記憶し、パケットを送信
側が送信した順番に並べ替え、少なくとも、パケットが
受信された時刻から、中継網内で発生したジッタ量を算
出し、算出されたジッタ量に応じて、並べ替えられたパ
ケットを復号化するタイミングを制御し、制御されたタ
イミングでパケットを復号化する。
According to a first aspect of the present invention, there is provided a packet receiving apparatus for receiving and decoding a packet transmitted from a transmitting side via a relay network on a receiving side. Receiving means for receiving packets, storage means for storing the packets received by the receiving means in the order in which the receiving means received the packets, and rearranging means for rearranging the packets in the order transmitted by the transmitting side; Calculating means for calculating the amount of jitter generated in the relay network from the time when the packet is received by the means; and decoding the packets rearranged by the rearranging means in accordance with the amount of jitter calculated by the calculating means. Timing control means for controlling timing;
Decoding means for decoding the packet at the timing controlled by the timing control means. Also, in the packet received by the receiving means,
An additional unit for adding address information of a storage unit in which a packet next to the packet is stored is further provided.
According to the address information, it can be stored in the storage means. Further, an address storage means for storing the address of the storage means in which the packet is stored is further provided, and the rearranging means stores the address of the storage means in which the packet is stored in the address storage means in the order in which the transmission side transmitted the address. By storing the information, the packets can be rearranged. Further, an address storage means for storing the address of the storage means in which the packet is stored is further provided, and the rearranging means stores the address of the storage means in which the packet is stored in the address storage means in the order in which the transmission side transmitted the address. By storing the packet, the packets are rearranged, and the decoding unit reads the address stored in the address storage unit according to the jitter amount calculated by the calculation unit, and stores the read address in the address of the storage unit. Packets can be read and decrypted. The packet includes at least a field for describing address information in which the next packet is stored, a field for describing a packet length, a field for describing a reception time stamp, and a transmission sequence number. It consists of a field for describing, a field for describing a transmission time stamp, and a field for describing data. At least the address information in which the next packet is stored and the reception time stamp are , And at least the transmission sequence number can be set on the transmission side. Further, an estimating means for estimating the time at which the transmitting side transmitted the packet based on the time at which the packet was received by the receiving means may be further provided. The packet receiving method according to claim 7, wherein the receiving side receives and decodes a packet transmitted from the transmitting side via the relay network, and receives the packet. A storing step of storing the packets received in the receiving step in the order in which the packets were received, and a rearranging step of rearranging the packets in the order transmitted by the transmitting side, at least,
From the time when the packet was received in the receiving step,
A calculating step of calculating the amount of jitter generated in the relay network; a timing controlling step of controlling a timing of decoding the packets rearranged in the rearranging step in accordance with the amount of jitter calculated in the calculating step; A decoding step of decoding the packet at a timing controlled in the control step. The recording medium according to claim 8,
A program capable of executing the packet receiving method according to claim 7 is recorded. In the packet receiving device and the packet receiving method according to the present invention, and in the recording medium, the packet is received, the received packet is stored in the order in which the packet was received, the packets are rearranged in the order transmitted by the transmitting side, at least, From the time at which the packet was received, the amount of jitter generated in the relay network is calculated, and the timing of decoding the rearranged packets is controlled according to the calculated amount of jitter. Decrypt.

【0012】[0012]

【発明の実施の形態】図1は、本発明のパケット受信装
置を応用した音声パケット受信装置の一実施の形態の構
成例を示すブロック図である。同図に示すように、音声
パケットを受信する音声パケット受信装置1は、各部の
制御を行うCPU(中央制御部(central pr
ocessing unit))2、CPUバス21、
受信した音声パケットを復号し、音声データに変換する
DSP(音声信号処理部(digital signa
l processor))31乃至3n(nは、DS
P数を表している)、及び受信した音声パケットを一時
的に記憶する受信バッファ(DSP毎の受信バッファ兼
ジッタバッファ)41乃至4nを備えている。
FIG. 1 is a block diagram showing a configuration example of an embodiment of a voice packet receiving apparatus to which the packet receiving apparatus of the present invention is applied. As shown in the figure, an audio packet receiving device 1 that receives an audio packet includes a CPU (central control unit (central pr) that controls each unit.
processing unit)) 2, CPU bus 21,
A DSP (digital signal processing unit (digital signal processor) that decodes a received voice packet and converts it into voice data.
l processor)) 31 to 3n (n is DS
P), and receiving buffers (receiving buffer and jitter buffer for each DSP) 41 to 4n for temporarily storing received voice packets.

【0013】CPU2には、受信バッファ41乃至4n
の各々の書込みアドレスを示す書込ポインタ201乃至
20nが記憶されるようになされている。また、DSP
31乃至31nは、それぞれ、パケット処理301、ジ
ッタ量制御302、ジッタキュー303、復号器(音声
復号器)304から構成され、PBX(私設電話網交換
機(private branch exchang
e))、又は電話機につながる受信信号線305と接続
されている。そして、受信バッファの先頭(ヘッダ読出
しアドレス)を示す読出しポインタ306と、空きバッ
ファの補充先を示す補充ポインタ307が記憶されてい
る。
The CPU 2 has reception buffers 41 to 4n.
Are stored. The write pointers 201 to 20n indicating the respective write addresses are stored. Also, DSP
31 to 31n each include a packet processing 301, a jitter amount control 302, a jitter queue 303, and a decoder (speech decoder) 304, and a PBX (private branch exchange).
e)) or connected to the reception signal line 305 connected to the telephone. Then, a read pointer 306 indicating the head (header read address) of the reception buffer and a replenishment pointer 307 indicating the replenishment destination of the empty buffer are stored.

【0014】受信バッファ41乃至4nは、DSP31
乃至3n毎に設けられたバッファであり、メモリバス5
1乃至5nは、各DSP31乃至3nと各バッファ41
乃至4nとをつなぎ、データのやり取りを行うようにな
されている。
The receiving buffers 41 to 4n are provided in the DSP 31
To 3n, and a memory bus 5
1 to 5n correspond to the DSPs 31 to 3n and the buffers 41, respectively.
To 4n to exchange data.

【0015】また、本実施の形態は、WAN(中継回線
制御部)6を備え、中継回線61を介して外部と接続さ
れている。WAN6は、中継回線61を介して受信した
受信パケット(音声パケット)7をCPU2に供給する
ようになされている。時計8は、計時動作を行い、計時
結果を適宜、CPUバス21を介して各部に供給するよ
うになされている。
Further, this embodiment includes a WAN (relay line control unit) 6 and is connected to the outside via a trunk line 61. The WAN 6 supplies a received packet (voice packet) 7 received via the relay line 61 to the CPU 2. The timepiece 8 performs a timekeeping operation, and supplies a result of the timekeeping to each unit via the CPU bus 21 as appropriate.

【0016】図2は、本発明のジッタキュー303の構
成例を表している。図3は、ジッタキュー303の積込
手順(シーケンス訂正手順)を表している。ジッタキュ
ー303は、送信シーケンス訂正キュー兼用のジッタキ
ューであり、#xはキュー番号兼送信シーケンス番号の
最下位バイトの値を示している。
FIG. 2 shows a configuration example of the jitter queue 303 of the present invention. FIG. 3 shows a loading procedure (sequence correcting procedure) of the jitter queue 303. The jitter queue 303 is a jitter queue that is also used as a transmission sequence correction queue, and #x indicates the value of the least significant byte of the queue number and the transmission sequence number.

【0017】図2のポインタ(HP)2002は、ジッ
タキュー303の先頭を示すポインタであり、キュー番
号で表される。仮想定規2003は、ジッタ量と音声パ
ケット読出し点を示している。ポインタ2004は、受
信バッファ41乃至4nのポインタを表している(図3
の100,200、...、900)。
A pointer (HP) 2002 in FIG. 2 is a pointer indicating the head of the jitter queue 303 and is represented by a queue number. The virtual ruler 2003 indicates the jitter amount and the voice packet reading point. The pointer 2004 indicates a pointer of the reception buffers 41 to 4n (FIG. 3).
100, 200,. . . , 900).

【0018】音声パケット2005は、中継回線61を
介して中継網から受信した音声パケットであり、#xは
送信シーケンス番号を示している。また、上記ポインタ
2004で示される受信バッファ41乃至4nの所定の
場所に格納されている。音声データ2006は、受信信
号線305に送出される再生された音声データを表して
いる。
The voice packet 2005 is a voice packet received from the relay network via the relay line 61, and #x indicates a transmission sequence number. In addition, it is stored in a predetermined location of the reception buffers 41 to 4n indicated by the pointer 2004. The audio data 2006 represents reproduced audio data transmitted to the reception signal line 305.

【0019】ジッタキュー303は、例えば、パケット
周期C(=10ミリ秒(ms))で最大±600msの
揺らぎ吸収を実現できるよう、例として、キュー長12
8としている。ジッタキュー303は、送信シーケンス
番号iの下位7ビットに対応したリング形式を採用した
構成とされ、ジッタキュー303の先頭の送信シーケン
ス番号iを示すポインタ(HP)2002が設定されて
いる。送信シーケンス番号#128は、ジッタキュー3
03を1周した後に#0に積込まれる。
The jitter queue 303 has, for example, a queue length of 12 so that a fluctuation of up to ± 600 ms can be realized in a packet cycle C (= 10 milliseconds (ms)).
It is set to 8. The jitter queue 303 has a configuration adopting a ring format corresponding to the lower 7 bits of the transmission sequence number i, and a pointer (HP) 2002 indicating the head transmission sequence number i of the jitter queue 303 is set. The transmission sequence number # 128 is the jitter queue 3
After one round of 03, it is loaded into # 0.

【0020】例えば、HP2002が送信シーケンス番
号#0を指すとき、送信シーケンス番号#128の音声
パケットを受信した場合は、送信シーケンス番号#0の
音声パケットがまだジッタキュー303に残っているの
で、送信シーケンス番号が#128の音声パケットの到
着が早すぎたと解釈し、この音声パケットは廃棄し、再
生しない。逆に、HP2002が送信シーケンス番号#
128を指すとき、送信シーケンス番号#0の音声パケ
ットを受信した場合は、送信シーケンス番号が#0の音
声パケットの到着が遅すぎたと解釈し、このパケットは
廃棄し、再生しない。
For example, when the HP 2002 points to the transmission sequence number # 0, if an audio packet with the transmission sequence number # 128 is received, since the audio packet with the transmission sequence number # 0 still remains in the jitter queue 303, the transmission is performed. It is interpreted that the voice packet with the sequence number # 128 arrives too early, and this voice packet is discarded and not reproduced. Conversely, HP 2002 transmits the transmission sequence number #
When the voice packet with the transmission sequence number # 0 is received when pointing to 128, the voice packet with the transmission sequence number # 0 is interpreted as having arrived too late, and this packet is discarded and not reproduced.

【0021】ジッタキュー303には、HP2002に
同期して、ジッタ量を示す仮想定規2003が存在す
る。ジッタキュー303の深さは128であるが、適応
制御されているジッタ量は、仮想定規2003の示す範
囲であり、ジッタバッファ制御の結果、ジッタキュー3
03に積込まれている音声パケット数は、常に中点の前
後にあることになる。
The jitter queue 303 has a virtual ruler 2003 indicating the amount of jitter in synchronization with the HP 2002. Although the depth of the jitter queue 303 is 128, the amount of jitter that is adaptively controlled is within the range indicated by the virtual ruler 2003. As a result of the jitter buffer control, the jitter queue 3
The number of voice packets loaded in 03 is always before and after the midpoint.

【0022】図4は、実際のパケットの流れを示してい
る。図5は、図4の受信装置3004で時計のずれを修
正した後のパケットの流れと、ジッタ量算出のアルゴリ
ズムを表している。
FIG. 4 shows an actual packet flow. FIG. 5 illustrates a packet flow after correcting the clock skew in the receiving apparatus 3004 in FIG. 4 and an algorithm for calculating the amount of jitter.

【0023】図4に示すように、電話機3001で話し
た音声(送信音)は、送信装置(音声パケット送信装
置)3002でデジタル化/符号化され、一定周期(本
実施の形態では10msとする)に分割されて、送信パ
ケットとして中継網3003に送り出される。中継網3
003を介して送信されてきたパケットは、受信装置
(音声パケット受信装置)3004で受信され、ジッタ
バッファ制御を経て、復号化及びアナログ化がなされ、
電話機3005へ届けられる。この例の場合、送信パケ
ットは、#0、#1、#3、#4、#2の順で受信さ
れ、受信パケットとされる。また、受信装置3004
は、図1に示した音声パケット受信装置1と同様の構成
である。
As shown in FIG. 4, voice (transmitted sound) spoken by telephone 3001 is digitized / encoded by transmitting apparatus (voice packet transmitting apparatus) 3002 and has a constant period (10 ms in the present embodiment). ) And sent to the relay network 3003 as a transmission packet. Relay network 3
The packet transmitted via 003 is received by a receiving apparatus (voice packet receiving apparatus) 3004, and is decoded and converted to analog through jitter buffer control.
It is delivered to telephone 3005. In the case of this example, the transmission packets are received in the order of # 0, # 1, # 3, # 4, # 2 and are regarded as reception packets. Also, the receiving device 3004
Has the same configuration as the voice packet receiving device 1 shown in FIG.

【0024】図6は、受信バッファ4x(xは1乃至
n)上の音声パケットフォーマットを表している。次バ
ッファポインタ4001のフィールドには、次のバッフ
ァの先頭アドレスを示すポインタがセットされる。コマ
ンド(音声パケット受信)4002のフィールドには、
音声パケット受信を示すコマンド番号がセットされる。
音声パケット長4003のフィールドには、音声パケッ
トの長さがセットされる。受信タイムスタンプ(Ri)
4004のフィールドには、受信時刻を示すタイムスタ
ンプがセットされる。コマンド4002、音声パケット
長4003、受信タイムスタンプ4004は、CPU2
によって設定されるようになされている。
FIG. 6 shows an audio packet format on the reception buffer 4x (x is 1 to n). In the field of the next buffer pointer 4001, a pointer indicating the start address of the next buffer is set. In the field of the command (voice packet reception) 4002,
A command number indicating voice packet reception is set.
In the field of the voice packet length 4003, the length of the voice packet is set. Reception time stamp (Ri)
In the field 4004, a time stamp indicating the reception time is set. The command 4002, the voice packet length 4003, and the reception time stamp 4004
Has been made to be set by.

【0025】音声ヘッダの各フィールドのうち、その他
の情報(1)4005のフィールドと、その他の情報
(2)4008のフィールドは、ジッタバッファ制御処
理に関連しないヘッダ情報がセットされる。送信シーケ
ンス番号4006のフィールドには、送信の順番を示す
送信シーケンス番号iがセットされる。送信タイムスタ
ンプ(Si)4007のフィールドには、送信時刻を示
す送信タイムスタンプ(Si)がセットされるが、必須
要素ではない。音声データ4009のフィールドには、
デジタル化された音声データがセットされる。
In the fields of the other information (1) 4005 and the fields of the other information (2) 4008 among the fields of the audio header, header information not related to the jitter buffer control processing is set. In the field of the transmission sequence number 4006, a transmission sequence number i indicating the order of transmission is set. The transmission time stamp (Si) indicating the transmission time is set in the field of the transmission time stamp (Si) 4007, but is not an essential element. In the field of the audio data 4009,
The digitized audio data is set.

【0026】受信バッファ4xは、次バッファの先頭ア
ドレスを示すポインタチェーン方式に基づいて構成され
ており、この受信バッファ4xにアクセスするCPU2
は、書込ポインタ201を有し、書込みが完了したら、
完了したバッファの次のバッファポインタ4001を、
書込ポインタ201に設定するようになされている。
The receiving buffer 4x is configured based on a pointer chain system indicating the head address of the next buffer.
Has a write pointer 201, and when writing is completed,
The next buffer pointer 4001 of the completed buffer is
The write pointer 201 is set.

【0027】また、DSP31は、読出しポインタ30
6を持ち、読出しが完了したら、完了したバッファの次
バッファポインタ4001を、読出しポインタ306に
設定するようになされている。このようにすることによ
り、受信順序を保つようにしている。CPU2の書込ポ
インタ202乃至20n、DSP32乃至3nの読出し
ポインタ306の場合も、上述した場合と同様であるの
で、それらの説明はここでは省略する。
The DSP 31 has a read pointer 30
6, when reading is completed, the next buffer pointer 4001 of the completed buffer is set to the reading pointer 306. By doing so, the receiving order is maintained. The case of the write pointers 202 to 20n of the CPU 2 and the case of the read pointer 306 of the DSPs 32 to 3n are also the same as those described above, and thus description thereof is omitted here.

【0028】DSP31にて音声パケットの再生が完了
し、空いたバッファは、次バッファポインタ4001を
0(次のポインタなしを示すコード)に設定して、補充
ポインタ307の後ろにつなぐ。即ち、補充ポインタ3
07が指しているバッファの次バッファポインタ400
1と補充ポインタ307の両方に、補充するバッファの
アドレスを設定する。
When the DSP 31 completes the reproduction of the audio packet, the empty buffer sets the next buffer pointer 4001 to 0 (a code indicating that there is no next pointer) and connects it to the position after the supplementary pointer 307. That is, the refill pointer 3
Next buffer pointer 400 of the buffer pointed to by 07
The address of the buffer to be refilled is set in both 1 and the refill pointer 307.

【0029】次に、図1、図6、及び図7乃至10のフ
ローチャートを参照して、音声パケットの受信動作につ
いて、インターネット網経由で受信されたパケットを例
に説明する。図7乃至図10は、DSP3x(xは、1
乃至n)における音声パケット受信処理を説明するため
のフローチャートである。最初、受信バッファ4x(x
は1乃至n)、ジッタキュー303は、0クリアされて
いるものとする。
Next, the operation of receiving a voice packet will be described with reference to the flowcharts of FIGS. 1, 6, and 7 to 10 by taking a packet received via the Internet network as an example. 7 to 10 show the DSP 3x (x is 1
It is a flowchart for demonstrating the audio | voice packet receiving process in a through n. First, the reception buffer 4x (x
Are 1 to n) and the jitter queue 303 is cleared to 0.

【0030】書込ポインタ201、読出しポインタ30
6、補充ポインタ307は、受信バッファ41の開始
(最若番)アドレスを示している。DSP31は、通信
に先立ち、補充ポインタ307を使用して、各受信バッ
ファ41乃至4n(受信バッファ41乃至4nをそれぞ
れ受信バッファの1ブロックという)の次バッファポイ
ンタ4001に、チェーン先のバッファアドレスを書込
み、ポインタチェーンを生成しておく。ポインタチェー
ン生成後は、補充ポインタ307は、受信バッファ41
乃至4nの最後尾を指し、最後尾の受信バッファ4nの
次バッファポインタ4001は、チェーン先がないこと
を示す「0」が設定される。
Write pointer 201, read pointer 30
6. The replenishment pointer 307 indicates the start (least significant) address of the reception buffer 41. Prior to communication, the DSP 31 writes the chain destination buffer address to the next buffer pointer 4001 of each of the reception buffers 41 to 4n (each of the reception buffers 41 to 4n is referred to as one block of the reception buffer) using the supplementary pointer 307. , A pointer chain is generated in advance. After the pointer chain is generated, the supplementary pointer 307 is stored in the reception buffer 41.
4n, the next buffer pointer 4001 of the last receive buffer 4n is set to “0” indicating that there is no chain destination.

【0031】音声パケット受信装置1は、中継回線61
より音声パケット7を受信すると、WAN6でレイヤ2
の処理を行った後に、受信した音声パケット(以下、受
信した音声パケットを適宜、受信パケットという)7
を、CPU2へ引き渡す。
The voice packet receiving apparatus 1 includes a trunk line 61
When the voice packet 7 is received, the WAN 6
After performing the above processing, the received voice packet (hereinafter, the received voice packet is appropriately referred to as a received packet) 7
Is transferred to the CPU 2.

【0032】CPU2は、受信パケット7のヘッダ処理
を行い、受信パケット7に含まれるIP(intern
et protocol)ヘッダに基づいて、受信パケ
ット7が自装置(音声パケット受信装置)1宛であるこ
とを確認したら、UDP(User Datagram
Protocol)ヘッダが示すTSAP識別子よ
り、受信DSPを決定する。ここでは、DSP31が受
信DSPと決定されたものとする。そして、決定された
DSP31に対する受信バッファ41の、書込ポインタ
201が示すバッファアドレスに、受信タイムスタンプ
(Ri)を付与した音声パケット(図6参照)を転送
し、書込ポインタ201を、いま書込んだバッファの先
頭に示されている次バッファポインタ4001に書き換
える。
The CPU 2 performs a header process on the received packet 7 and outputs an IP (intern) included in the received packet 7.
After confirming that the received packet 7 is addressed to the own device (speech packet receiving device) 1 based on the “E.protocol” header, the UDP (User Datagram)
Protocol), the receiving DSP is determined from the TSAP identifier indicated by the header. Here, it is assumed that the DSP 31 is determined to be the receiving DSP. Then, the voice packet (see FIG. 6) with the reception time stamp (Ri) added to the buffer address indicated by the write pointer 201 of the reception buffer 41 for the determined DSP 31 is transferred, and the write pointer 201 is The next buffer pointer 4001 indicated at the head of the buffer is rewritten.

【0033】CPU2では、音声ヘッダの送信シーケン
ス番号のチェックを行わないので、受信バッファ41に
は、受信した順番に音声パケットが格納されている。
Since the CPU 2 does not check the transmission sequence number of the audio header, the reception buffer 41 stores the audio packets in the order of reception.

【0034】DSP31は、受信バッファ41の先頭ポ
インタ(読出しポインタ)306が示すバッファを定期
的に参照しており、図7のフローチャートに示すよう
に、新たなパケット受信を確認すると、その音声ヘッダ
を読み込んで(ステップS1)、パケット処理301で
音声ヘッダのチェック等の処理(ステップS2)を行
い、ステップS3において、シーケンス検査が行われ、
ジッタありと判定された場合、送信シーケンス訂正キュ
ー兼用のジッタキュー303へ読出しポインタ306の
値の積込み処理(図2、図3参照)を行い(ステップS
4)、先頭ポインタ(読出しポインタ)306の値を、
音声パケットを読出した受信バッファ41乃至4nの所
定のブロックの先頭に示されている次バッファポインタ
4001の値に更新する(ステップS6)。
The DSP 31 periodically refers to the buffer indicated by the head pointer (read pointer) 306 of the reception buffer 41, and when confirming the reception of a new packet, as shown in the flowchart of FIG. The packet is read (step S1), and a process such as a check of a voice header is performed in a packet process 301 (step S2).
If it is determined that there is a jitter, a process of loading the value of the read pointer 306 into the jitter queue 303 also serving as the transmission sequence correction queue (see FIGS. 2 and 3) is performed (step S).
4) The value of the head pointer (read pointer) 306 is
The voice packet is updated to the value of the next buffer pointer 4001 indicated at the head of a predetermined block of the reception buffers 41 to 4n from which the voice packet has been read (step S6).

【0035】次に、ジッタ量制御302を起動して、受
信パケット7の受信タイムスタンプ(Ri)4004の
値、送信タイムスタンプ(Si)4007の値より、ジ
ッタ量nと読出しタイミングRの算出処理を行う(ステ
ップS7)(図4、図5参照)。
Next, the jitter amount control 302 is activated to calculate the jitter amount n and the read timing R from the value of the reception time stamp (Ri) 4004 and the value of the transmission time stamp (Si) 4007 of the received packet 7. (Step S7) (see FIGS. 4 and 5).

【0036】一方、ステップS3において、ジッタなし
と判定された場合、パケットを廃棄し(ステップS
5)、ステップS6に進み、ステップS6以降の処理が
実行される。
On the other hand, if it is determined in step S3 that there is no jitter, the packet is discarded (step S3).
5) Then, the process proceeds to step S6, and the processes after step S6 are executed.

【0037】ジッタ量制御302から再生指示を受け取
ると、図9のフローチャートに示すように、ジッタキュ
ー303のHP2002が示す位置からポインタを読出
し(ステップ21)、読出したポインタが指す受信バッ
ファ41乃至4nの所定のブロックに格納されている音
声データ(Voiceデータ)を読出して(ステップS
22)、復号化し(ステップS23)、受信信号線30
5に出力(再生)して(ステップS24)、HP200
2の示す位置に0(空きコード)を設定し、受信バッフ
ァを解放する(ステップS25)。次に、補充ポインタ
を更新し(ステップS26)、ジッタバッファを解放し
(ステップS27)、HP2002の値を1だけインク
リメントする(ステップS28)。
When a reproduction instruction is received from the jitter amount control 302, as shown in the flowchart of FIG. 9, a pointer is read from the position indicated by the HP 2002 in the jitter queue 303 (step 21), and the reception buffers 41 to 4n pointed to by the read pointer. Is read out from the audio data (Voice data) stored in the predetermined block (step S).
22), decode (step S23), and
5 (step S24) and output to the HP 200
0 (empty code) is set at the position indicated by 2, and the reception buffer is released (step S25). Next, the supplement pointer is updated (step S26), the jitter buffer is released (step S27), and the value of the HP 2002 is incremented by 1 (step S28).

【0038】次に、図2、図3を参照して、音声パケッ
トのシーケンス訂正処理と、ジッタキュー積込み/再生
処理について説明する。図2は、ジッタキュー303の
初期状態である。図3は、受信パケット7のシーケンス
訂正を兼ねてジッタキュー303に積込んだ状態であ
る。
Next, with reference to FIGS. 2 and 3, a description will be given of the audio packet sequence correction processing and the jitter queue loading / reproduction processing. FIG. 2 shows an initial state of the jitter queue 303. FIG. 3 shows a state in which the received packet 7 is loaded in the jitter queue 303 also for sequence correction.

【0039】最初に、受信バッファポインタ”100”
に送信シーケンス番号#0の音声パケットを受信したの
で、ジッタキュー303の#0に”100”を書込む。
次に、受信バッファポインタ”200”に送信シーケン
ス番号#1を受信したのでジッタキュー303の#1
に”200”を書込む。次に、受信バッファポインタ”
300”に送信シーケンス番号#3を受信したので、ジ
ッタキュー303の#3に”300”を書込む。以降も
同様にして、受信した順番に、受信バッファポインタを
ジッタキュー303の送信シーケンス番号に対応する位
置に書込む。
First, the reception buffer pointer "100"
Since the voice packet with the transmission sequence number # 0 has been received, "100" is written in the jitter queue 303 at # 0.
Next, since the transmission sequence number # 1 has been received by the reception buffer pointer “200”,
Write "200" to Next, the reception buffer pointer "
Since the transmission sequence number # 3 is received at "300", "300" is written into # 3 of the jitter queue 303. Similarly, the reception buffer pointer is set to the transmission sequence number of the jitter queue 303 in the order of reception. Write in the corresponding position.

【0040】次に、再生処理について説明する。まず、
後述するように、図3のアルゴリズムに基づいて、ジッ
タキュー303の読出しタイミングを算出する。読出し
タイミング決定直後に受信したパケットは、ジッタキュ
ー303へポインタを積込むと同時に、ジッタ量制御3
02にて、この読出しタイミングでタイマを起動し、タ
イムアウトしたら再生指示を発生させる。以降は、パケ
ット周期C毎に再生指示を発生させる。
Next, the reproduction process will be described. First,
As will be described later, the read timing of the jitter queue 303 is calculated based on the algorithm of FIG. The packet received immediately after the read timing is determined is loaded with a pointer in the jitter queue 303 and simultaneously with the jitter amount control 3.
At 02, a timer is started at this read timing, and when a timeout occurs, a reproduction instruction is generated. Thereafter, a reproduction instruction is generated for each packet cycle C.

【0041】再生指示を受けたら、HP2002が示す
ジッタキュー303からポインタを取出して、受信バッ
ファ41から音声データを読出す。読出した音声データ
は、復号器304で復号化され、復号化された音声デー
タは、受信信号線305を介して、PBX、電話網、又
は、電話機へ送出される。
When a reproduction instruction is received, a pointer is taken out from the jitter queue 303 indicated by the HP 2002, and audio data is read out from the reception buffer 41. The read audio data is decoded by the decoder 304, and the decoded audio data is transmitted to the PBX, the telephone network, or the telephone via the reception signal line 305.

【0042】ジッタキュー303からポインタを取出し
て再生処理した後、HP2002を1つ進める。適応ジ
ッタ量の変更がなければ、その後は、一定のパケット周
期Cに合わせて、ジッタキュー303からポインタを取
出して音声パケットを再生する。
After taking out the pointer from the jitter queue 303 and performing reproduction processing, the HP 2002 is advanced by one. If there is no change in the adaptive jitter amount, thereafter, the voice packet is reproduced by taking out the pointer from the jitter queue 303 in accordance with the fixed packet period C.

【0043】図3に示した例の場合、送信シーケンス番
号#2の音声パケットを再生するとき、送信シーケンス
番号#2は受信していないので、補間フレーム、又は、
無音フレームを生成して送出する。即ち、HP2002
が示すジッタキューの内容が「0」であったら、そのシ
ーケンス番号の音声パケットはまだ受信されていないこ
とを示している。また、図3では、送信シーケンス番号
#6の音声パケットを再生(補間又は無音で送出)した
後に、送信シーケンス番号#6の音声パケットを受信し
ているので、この送信シーケンス番号#6の音声パケッ
トは到着が遅れたものと解釈し、この音声パケットを廃
棄する。
In the case of the example shown in FIG. 3, when reproducing the voice packet of the transmission sequence number # 2, since the transmission sequence number # 2 has not been received, the interpolation frame or
Generate and send silence frames. That is, HP2002
If the content of the jitter queue indicated by is "0", it indicates that the voice packet of the sequence number has not been received yet. Also, in FIG. 3, since the audio packet of the transmission sequence number # 6 is received after the audio packet of the transmission sequence number # 6 is reproduced (interpolated or transmitted without sound), the audio packet of the transmission sequence number # 6 is received. Interprets the arrival to be late and discards this voice packet.

【0044】適応ジッタ量の変更があった場合には、ジ
ッタ量制御302から定規変更指示があるので、図10
のフローチャートを参照して後述するように、ジッタ量
を変更する。
When there is a change in the adaptive jitter amount, there is a ruler change instruction from the jitter amount control 302.
The jitter amount is changed as described later with reference to the flowchart of FIG.

【0045】次に、図4、図5、及び、図11を参照し
て、ジッタ量制御302のアルゴリズムについて説明す
る。
Next, the algorithm of the jitter amount control 302 will be described with reference to FIG. 4, FIG. 5, and FIG.

【0046】音声パケットが送信装置3002から送信
されてから、受信装置3004で再生されるまでにかか
る時間は、中継網3003内の遅延・揺らぎ時間と、受
信装置3004の処理時間(パケット処理、揺らぎ吸収
に要する時間)の和である。受信装置3004のパケッ
ト処理時間と音声符号化時間は、装置が特定できれば定
数として与えられるので、この値をβと定義する。
The time from when the voice packet is transmitted from the transmitting apparatus 3002 to when it is reproduced by the receiving apparatus 3004 is determined by the delay / fluctuation time in the relay network 3003 and the processing time of the receiving apparatus 3004 (packet processing, fluctuation (Time required for absorption). Since the packet processing time and the voice encoding time of the receiving device 3004 are given as constants if the device can be specified, this value is defined as β.

【0047】受信装置の揺らぎ吸収時間は、中継網30
03内の遅延・揺らぎ時間から適応値を算出してダイナ
ミックに設定することが望ましい。
The fluctuation absorption time of the receiving apparatus is determined by the
It is desirable to calculate an adaptive value from the delay / fluctuation time in 03 and set dynamically.

【0048】図6に示す通り、受信パケットには、受信
時刻を通知する受信タイムスタンプを定義しておく。送
信装置3002で付与される送信タイムスタンプは、パ
ケット周期に依存した一定間隔で付与されるので、受信
側で算出することもできる。送信シーケンス番号iの受
信タイムスタンプをRi、送信タイムスタンプをSiと
定義する。受信タイムスタンプRiは、受信装置300
4のCPU2で付与される(受信装置3004は、図1
の音声パケット受信装置1と同様の構成である)。
As shown in FIG. 6, a reception time stamp for notifying the reception time is defined in the reception packet. Since the transmission time stamp given by the transmission device 3002 is given at a constant interval depending on the packet cycle, it can be calculated on the receiving side. The reception time stamp of the transmission sequence number i is defined as Ri, and the transmission time stamp is defined as Si. The reception time stamp Ri is the reception time stamp Ri
The receiving device 3004 is provided by the CPU 2 of FIG.
Has the same configuration as that of the voice packet receiving device 1).

【0049】DSP31は、音声通信開始時に最初に受
信したパケットのタイムスタンプで、送信装置3002
と受信装置3004でずれているであろう時計の同期を
とっておく。受信装置3004の時計8に合わせた送信
タイムスタンプをRSi、時計のずれをXと定義する。
送信装置3002と受信装置3004との時計のずれの
正確な値はわからないので、音声通信開始後、最初に受
信したパケット(i=0)の遅延時間が0であったと仮
定して、時計のずれX=R0−S0と定義する。R0
は、最初に受信したパケットの受信タイムスタンプ、S
0は最初に受信したパケットの送信タイムスタンプであ
る。これにより、受信装置3004で生成する送信タイ
ムスタンプRSiは、以下の式で表すことができる。
The DSP 31 uses the time stamp of the packet first received at the start of voice communication as the transmission device 3002
And a clock that may be out of sync with the receiving device 3004. A transmission time stamp corresponding to the clock 8 of the receiving device 3004 is defined as RSi, and a clock offset is defined as X.
Since the exact value of the clock lag between the transmitting device 3002 and the receiving device 3004 is not known, it is assumed that the delay time of the first packet (i = 0) received after the start of the voice communication is 0, and Define X = R0-S0. R0
Is the reception timestamp of the first packet received, S
0 is the transmission time stamp of the first received packet. Accordingly, the transmission time stamp RSi generated by the receiving device 3004 can be represented by the following equation.

【0050】RSi=Si+XRSi = Si + X

【0051】ここで、送信タイムスタンプSiが定義さ
れていないシステムでは、Si=i×Cに、X=R0に
置き換える。C=10msであれば、i=0はSi=
0、i=1はSi=10、i=2はSi=20と、シー
ケンス番号iに対してSiは等間隔に上がっていくが、
シーケンス番号iの順番通りに受信する保障はないの
で、受信の度に、Si=シーケンス番号i×パケット周
期Cで算出しなければならない。従って、RSiは、以
下の式を用いてもよい。
Here, in a system in which the transmission time stamp Si is not defined, Si = i × C and X = R0. If C = 10 ms, i = 0 is Si =
0, i = 1 is Si = 10, i = 2 is Si = 20, and Si goes up at equal intervals with respect to the sequence number i.
Since there is no guarantee that the reception will be performed in the order of the sequence number i, it must be calculated by Si = sequence number i × packet cycle C every time reception is performed. Therefore, RSi may use the following equation.

【0052】RSi=i×C+R0RSi = i × C + R0

【0053】2番目以降に受信したパケットは、送信タ
イムスタンプにRSiを使用することにより、受信装置
3004の時計に変換できるので、RiとRSiの差分
から受信遅延時間、即ち、揺らぎがないパケット受信時
間に対して実際に受信した時間の差を求め、これを16
パケット単位の移動平均値として算出すると、平均受信
遅延Bは、以下の式で表すことができる。
The second and subsequent received packets can be converted to the clock of the receiving device 3004 by using RSi for the transmission time stamp. Therefore, the reception delay time based on the difference between Ri and RSi, that is, the packet reception without fluctuation, The difference between the time actually received and the time is calculated, and this is calculated as 16
When calculated as a moving average value in packet units, the average reception delay B can be expressed by the following equation.

【0054】 平均受信遅延B=B+((Ri−RSi)−B)÷16Average reception delay B = B + ((Ri−RSi) −B) ÷ 16

【0055】ここで算出した平均受信遅延Bを用いる
と、平均受信タイミングRTiが求まる。
Using the average reception delay B calculated here, an average reception timing RTi is obtained.

【0056】平均受信タイミングRTi=RSi+BAverage reception timing RTi = RSi + B

【0057】パケットが等間隔で送信され、等間隔で受
信されれば、揺らぎがなく、平均受信遅延Bの値は0と
なる。しかし、実際には、中継網3003のトラヒック
量やルートによって揺らぎが生じる。これをインタアラ
イバルジッタと呼び、以下の式で表すことができる(イ
ンタアライバルジッタは、国際標準ITU−T H.2
25.0に規定されている内容を使用。インタアライバ
ルジッタは、受信順(送信シーケンス番号は意識しな
い)に算出することが勧告されている)。
If packets are transmitted at equal intervals and received at equal intervals, there is no fluctuation and the value of the average reception delay B is zero. However, in practice, fluctuations occur depending on the traffic volume and route of the relay network 3003. This is called inter-arrival jitter and can be expressed by the following equation (inter-arrival jitter is defined by the international standard ITU-T H.2).
Use the contents specified in 25.0. It is recommended that the interarrival jitter be calculated in the order of reception (without considering the transmission sequence number)).

【0058】 揺らぎD(i−1,i)=(R−Ri−1)−(S−Si−1) =(R−Ri−1)−(RS−RSi−1Fluctuation D (i−1, i) = (R i −R i−1 ) − (S i −S i−1 ) = (R i −R i−1 ) − (RS i −RS i−) 1 )

【0059】インタアライバルジッタJ=J+(|D
(i−1,i)|−J)÷16
Interarrival jitter J = J + (| D
(I-1, i) | -J) ÷ 16

【0060】受信パケットは、平均受信遅延Bで受信さ
れ、受信処理時間βの後に、インタアライバルジッタJ
×αの揺らぎ吸収処理を行うので、このパケットを再生
する最適時間は、受信装置3004の時計8で平均読出
しタイミングRAiを示した時である。平均読出しタイ
ミングRAiは、以下の式で表すことができる。
The received packet is received with the average reception delay B, and after the reception processing time β, the interarrival jitter J
Since the fluctuation absorption processing of × α is performed, the optimal time for reproducing the packet is when the clock 8 of the receiving device 3004 indicates the average read timing RAi. The average read timing RAi can be represented by the following equation.

【0061】 平均読出しタイミングRAi=RSi+B+J×α+βAverage read timing RAi = RSi + B + J × α + β

【0062】ここで、揺らぎのゆとり係数としてαを与
えておくことにより、プロバイダ等、使用する中継網3
003の特性に応じて係数αの値を設定することがで
き、さらに適応性を向上させることができる。例えば、
揺らぎの少ない専用線接続であれば、係数αの値を小さ
く設定し、トラヒック変動の激しいプロバイダを使用す
る場合は、係数αの値を大きく設定する。
Here, by providing α as a fluctuation coefficient, the relay network 3 used by a provider or the like can be used.
The value of the coefficient α can be set according to the characteristic of 003, and the adaptability can be further improved. For example,
The value of the coefficient α is set to a small value in the case of a dedicated line connection with little fluctuation, and the value of the coefficient α is set to a large value in the case of using a provider whose traffic varies greatly.

【0063】しかし、音声パケットは、固定長パケット
で処理されているので、一旦、読出しタイミングの初期
値RA0を決定した後は、等間隔でジッタキュー303
からパケットを取出して再生する。これをジッタ読出し
タイミングRBiと定義する。この値はジッタ量nに増
減があった場合に、この時間分を差し引く処理が必要で
ある。ジッタ量の増減をジッタ量変更数nDと定義する
と、ジッタ読出しタイミングRBiは、以下の式で表す
ことができる。
However, since voice packets are processed as fixed-length packets, once the initial value RA0 of the read timing is once determined, the jitter queue 303 is set at equal intervals.
And play it out. This is defined as jitter read timing RBi. When this value increases or decreases in the jitter amount n, a process of subtracting this time is necessary. When the increase / decrease of the jitter amount is defined as the jitter amount change number nD, the jitter read timing RBi can be expressed by the following equation.

【0064】ジッタ読出しタイミングRBi=RA0+
i×C+nD×C
Jitter read timing RBi = RA0 +
i × C + nD × C

【0065】パケット周期C毎、又は、タイミング見直
し周期毎に、平均読出しタイミングRAiとジッタ読出
しタイミングRBiとの差分を求め、この差がパケット
周期C以上であったら、ジッタ量変更数nDは、(RA
i−RBi)/Cで算出された値を四捨五入した整数値
を使用する。タイミング見直し周期以外では、nD=0
に設定しておく。
The difference between the average read timing RAi and the jitter read timing RBi is determined for each packet cycle C or for each timing review cycle. If the difference is equal to or longer than the packet cycle C, the jitter amount change number nD is expressed by ( RA
An integer value obtained by rounding the value calculated by i-RBi) / C is used. ND = 0 other than the timing review cycle
Set to.

【0066】また、言い換えれば、シーケンス番号iの
パケットは、受信装置3004の時計8が、平均受信タ
イミングRTiで受信して、平均読出しタイミングRA
iで再生されるのが理想的であるので、揺らぎ吸収に必
要なジッタ量nAは、以下の式でも表すことができる。
In other words, the packet of sequence number i is received by the clock 8 of the receiving device 3004 at the average reception timing RTi, and the average read timing RA
Since it is ideal to be reproduced at i, the jitter amount nA required for fluctuation absorption can be expressed by the following equation.

【0067】 [0067]

【0068】揺らぎがなくても、パケット処理上、1つ
はバッファが必要なので、演算結果に1を加えて算出し
ている。必要ジッタ量nAは整数で処理するため、演算
結果を四捨五入する。
Even if there is no fluctuation, one is required for the packet processing, so one is added to the calculation result to calculate. Since the required jitter amount nA is processed by an integer, the calculation result is rounded off.

【0069】これに対して、現在、適応制御されている
ジッタバッファ長をジッタ量nと定義する。ジッタ量n
は、中点を挟んでプラスとマイナスの2方向に作用す
る。これが仮想定規2003である。これを用いると、
ジッタ量変更数nD=nA−nとなる。
On the other hand, the currently adaptively controlled jitter buffer length is defined as a jitter amount n. Jitter amount n
Acts in two directions, plus and minus, across the midpoint. This is the virtual ruler 2003. With this,
The jitter amount change number nD = nA-n.

【0070】読出しタイミングの初期値RA0は、コン
フィグレーションで設定してもよいが、本実施の形態の
場合、音声通信を開始するときに最初に流れるリングバ
ックトーンや無音パケットで算出した値を使用した方
が、通話の最初から、適応的なジッタバッファ量で制御
できる。
The initial value RA0 of the read timing may be set in the configuration, but in the case of the present embodiment, a value calculated from a ringback tone or a silent packet which flows first when voice communication is started is used. Then, from the beginning of the call, control can be performed with an adaptive amount of jitter buffer.

【0071】初期値として、本アルゴリズムで算出した
値を用いる場合は、読出しタイミングRA0決定時の受
信パケット7をジッタキュー303に積込み、HP20
02を該パケットの送信シーケンス番号iに設定する。
受信装置3004の時計8が読出しタイミングRA0を
示したときに再生指示を出力し、以降はパケット周期C
毎に、再生指示、又は定規変更指示を出力する。
When the value calculated by the present algorithm is used as the initial value, the received packet 7 at the time of determining the read timing RA0 is loaded into the jitter queue 303, and the HP20
02 is set as the transmission sequence number i of the packet.
When the clock 8 of the receiving apparatus 3004 indicates the read timing RA0, the reproduction instruction is output, and thereafter, the packet cycle C
Each time, a reproduction instruction or a ruler change instruction is output.

【0072】パケットの再生を開始しても、平均読出し
タイミングRAiとジッタ量変更数nDの算出は継続し
て行う。そして、図8のフローチャートに示すように、
ステップS11において、算出したジッタ量変更数nD
の値が0であるか否かが判定され、算出したジッタ量変
更数nD≠0の場合(0でない場合)は、再生指示の代
わりに定規変更指示を出力する(ステップS13)。一
方、算出したジッタ量変更数nD=0の場合(0の場
合)は、再生指示を出力する(ステップS12)。
Even when the reproduction of the packet is started, the calculation of the average read timing RAi and the jitter amount change number nD is continuously performed. Then, as shown in the flowchart of FIG.
In step S11, the calculated jitter amount change number nD
Is determined to be 0 or not. If the calculated jitter amount change number nD ≠ 0 (if not 0), a ruler change instruction is output instead of the reproduction instruction (step S13). On the other hand, when the calculated jitter amount change number nD = 0 (in the case of 0), a reproduction instruction is output (step S12).

【0073】定規の変更は、図10のフローチャートに
示すように、ステップS31においてジッタ量をどのよ
うに変更するかが判定され、ジッタ量を大きくするとき
は、ステップS32に進み、ジッタ量n=n+1とした
(1だけ大きくした)後、ステップS33において、1
パケットCms分の補間、又は無音データを再生する。
For changing the ruler, as shown in the flowchart of FIG. 10, it is determined in step S31 how to change the amount of jitter. If the amount of jitter is to be increased, the process proceeds to step S32, where the amount of jitter n = After n + 1 (increased by 1), in step S33, 1
Interpolation for the packet Cms or silent data is reproduced.

【0074】一方、ジッタ量を小さくするときは、ステ
ップS34に進み、ジッタ量n=n−1とした(1だけ
小さくした)後、ステップS35において、ジッタキュ
ー303の先頭のパケットを廃棄して再生が完了したよ
うに見せかける。この処理を行った場合は、ジッタ読出
しタイミングRBiも更新される。その後、ステップS
36において、HP2002が1だけインクリメントさ
れ、リターンする。
On the other hand, when the amount of jitter is to be reduced, the process proceeds to step S34, where the amount of jitter is set to n = n-1 (reduced by 1). In step S35, the leading packet of the jitter queue 303 is discarded. Pretend that playback is complete. When this process is performed, the jitter read timing RBi is also updated. Then, step S
At 36, HP 2002 is incremented by one and returns.

【0075】ジッタ量nの変動がパケット受信毎に発生
すると、パケット廃棄や無音送出の繰り返しとなり、却
って音声品質が劣化するため、ジッタ量の変動チェック
を数パケット毎に行ったり、ジッタ量を小さくする場合
は、ヒステリシス制御を加えて徐々に戻していく論理を
組み合わせると効果も向上する。
If the fluctuation of the jitter amount n occurs every time a packet is received, packet discarding and silent transmission are repeated, and the voice quality is rather deteriorated. Therefore, the fluctuation check of the jitter amount is performed every few packets or the jitter amount is reduced. In this case, the effect can be improved by combining the logic of returning gradually with the addition of hysteresis control.

【0076】具体的には、図11(2)に示すように、
ジッタ量nを増やす場合は、ジッタ量変更数nDの演算
結果に従って増やし、減らす場合は演算結果が2つ減っ
たら1つ減らすなどの制御を行う。図11は、ジッタ量
算出例を表しており、前提条件として、揺らぎ係数αを
1.5、装置の処理時間βを30ms、パケット周期を
10msとしている。図11(1)は、揺らぎがない場
合のジッタ量算出例を表し、図11(2)は、揺らぎが
ある場合のジッタ量算出例を表している。図11(1)
に示すように、揺らぎがない場合、ジッタ量の増減が0
であり、ジッタ量nの変更はない。
Specifically, as shown in FIG.
When the amount of jitter n is increased, it is increased according to the calculation result of the number of changes in jitter amount nD. FIG. 11 shows an example of calculating the jitter amount. As preconditions, the fluctuation coefficient α is 1.5, the processing time β of the device is 30 ms, and the packet period is 10 ms. FIG. 11A shows an example of calculating the amount of jitter when there is no fluctuation, and FIG. 11B shows an example of calculating the amount of jitter when there is fluctuation. FIG. 11 (1)
As shown in the figure, when there is no fluctuation, the increase / decrease of the jitter amount is zero.
And the jitter amount n does not change.

【0077】以上、説明したアルゴリズムに基づいて、
通話の瞬間の最適な揺らぎ時間を算出してジッタキュー
303を制御することにより、適応ジッタバッファ制御
が可能になる。
Based on the algorithm described above,
By calculating the optimum fluctuation time at the moment of a call and controlling the jitter queue 303, adaptive jitter buffer control becomes possible.

【0078】以上説明したように、本発明により、音声
パケット送受信装置は、音声呼の遅延時間と揺らぎ時間
から、最適なジッタバッファ制御を行うので、以下のよ
うな効果を得ることができる。
As described above, according to the present invention, the voice packet transmitting / receiving apparatus performs the optimum jitter buffer control based on the delay time and the fluctuation time of the voice call, so that the following effects can be obtained.

【0079】第1の効果は、急激なトラヒック変動によ
るジッタバッファのアンダーフロー/オーバーフローの
発生を抑制することができることである。従って、装置
内でのパケット廃棄による音途切れ等の音声品質の低下
を抑制することができる。
The first effect is that the occurrence of underflow / overflow of the jitter buffer due to sudden traffic fluctuation can be suppressed. Therefore, it is possible to suppress a decrease in voice quality such as a break in sound due to packet discarding in the apparatus.

【0080】第2の効果は、通話サービス利用者が、接
続先やトラヒック量に拘わらず、その瞬間の最良な遅延
時間で通話サービスを受けることが可能となることであ
る。
The second effect is that the call service user can receive the call service with the best delay time at that moment regardless of the connection destination and the traffic volume.

【0081】第3の効果は、通話サービス提供者(運用
者)が、トラヒックの少ない昼間はジッタバッファを小
さく設定変更し、トラヒックの多い夜間はジッタバッフ
ァを大きく設定変更する手間を省くことができることで
ある。
A third effect is that the call service provider (operator) can save the trouble of changing the setting of the jitter buffer to a small value during the daytime when traffic is small, and to change the setting of the jitter buffer to a large value at nighttime when traffic is heavy. It is.

【0082】第4の効果は、ジッタバッファ制御をCP
UからDSPに移して、受信バッファとジッタバッファ
を兼用にしたことにより、CPUの負荷が分散され、処
理能力が上がり、また、バッファ制御用のリソースが減
るため、装置当たりの収容数を増やしたり、各種付加サ
ービスへの対応が可能となることである。
The fourth effect is that the jitter buffer control is controlled by CP
By moving from U to DSP and using both the receive buffer and the jitter buffer, the load on the CPU is distributed, the processing capacity is increased, and the resources for buffer control are reduced, so that the number of devices to be accommodated can be increased. In addition, it is possible to cope with various additional services.

【0083】なお、上記実施の形態においては、音声デ
ータを含むパケットを送受信する場合について説明した
が、その他のデータを含むパケットを送受信する場合に
も本発明を適用することができる。
In the above embodiment, the case where packets including voice data are transmitted / received has been described. However, the present invention can be applied to the case where packets including other data are transmitted / received.

【0084】また、上記実施の形態において用いた具体
的な数値は例であってこれに限定されるものではない。
The specific numerical values used in the above embodiment are examples, and the present invention is not limited thereto.

【0085】[0085]

【発明の効果】以上の如く、本発明に係るパケット受信
装置およびパケット受信方法、並びに記録媒体によれ
ば、パケットを受信し、受信されたパケットを、パケッ
トを受信した順に記憶し、パケットを送信側が送信した
順番に並べ替え、少なくとも、パケットが受信された時
刻から、中継網内で発生したジッタ量を算出し、算出さ
れたジッタ量に応じて、並べ替えられたパケットを復号
化するタイミングを制御し、制御されたタイミングでパ
ケットを復号化するようにしたので、通信状況に応じた
最適な遅延時間に基づいて、自動でジッタ量の変更を行
うことができ、パケットの廃棄を抑制し、通信の品質を
向上させることができる。
As described above, according to the packet receiving apparatus, the packet receiving method, and the recording medium according to the present invention, a packet is received, the received packet is stored in the order in which the packet was received, and the packet is transmitted. Rearranged in the order in which the packets were transmitted, and at least, based on the time at which the packet was received, calculate the amount of jitter generated in the relay network, and according to the calculated amount of jitter, determine the timing of decoding the rearranged packets. Control, and decodes the packet at a controlled timing, so that the amount of jitter can be automatically changed based on the optimum delay time according to the communication condition, suppressing packet discarding, Communication quality can be improved.

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

【図1】本発明を応用した音声パケット受信装置の一実
施の形態の構成例を示すブロック図である。
FIG. 1 is a block diagram showing a configuration example of an embodiment of a voice packet receiving apparatus to which the present invention is applied.

【図2】図1のジッタキュー303の構成例を示す図で
ある。
FIG. 2 is a diagram illustrating a configuration example of a jitter queue 303 in FIG. 1;

【図3】ジッタキュー積込手順を説明するための図であ
る。
FIG. 3 is a diagram for explaining a jitter queue loading procedure.

【図4】ジッタバッファ量算出のためのアルゴリズムを
説明するための図である。
FIG. 4 is a diagram for explaining an algorithm for calculating a jitter buffer amount.

【図5】ジッタバッファ量算出のためのアルゴリズムを
説明するための図である。
FIG. 5 is a diagram for explaining an algorithm for calculating a jitter buffer amount.

【図6】音声パケットのフォーマットを示す図である。FIG. 6 is a diagram showing a format of an audio packet.

【図7】パケットを受信する手順を説明するためのフロ
ーチャートである。
FIG. 7 is a flowchart illustrating a procedure for receiving a packet.

【図8】ジッタ量変更数に応じて再生指示又は定規変更
指示を出す手順を説明するためのフローチャートであ
る。
FIG. 8 is a flowchart illustrating a procedure for issuing a reproduction instruction or a ruler change instruction in accordance with the number of changes in the amount of jitter.

【図9】再生指示の手順を説明するためのフローチャー
トである。
FIG. 9 is a flowchart illustrating a procedure of a reproduction instruction.

【図10】定規変更指示の手順を説明するためのフロー
チャートである。
FIG. 10 is a flowchart illustrating a procedure of a ruler change instruction.

【図11】ジッタ量算出例を示す図である。FIG. 11 is a diagram illustrating an example of calculating a jitter amount.

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

1 音声パケット受信装置 2 CPU 6 WAN 7 受信パケット 8 時計 21 CPUバス 31乃至3n,32乃至3n DSP 41乃至4n 受信バッファ 51乃至5n メモリバス 61 中継回線 201乃至20n,202 書込ポインタ 301 パケット処理 302 ジッタ量制御 303 ジッタキュー 304 復号器 305 受信信号線 306 読出しポインタ 307 補充ポインタ 2002 ポインタ(HP) 2003 仮想定規 2004 ポインタ 2005 音声パケット 2006 音声データ 3001,3005 電話機 3002 送信装置 3003 中継網 3004 受信装置 4001 次バッファポインタ 4002 コマンド 4003 音声パケット長 4004 受信タイムスタンプ 4005 その他の情報(1) 4006 送信シーケンス番号 4007 送信タイムスタンプ 4008 その他の情報(2) 4009 音声データ Reference Signs List 1 voice packet receiving device 2 CPU 6 WAN 7 received packet 8 clock 21 CPU bus 31 to 3n, 32 to 3n DSP 41 to 4n receive buffer 51 to 5n memory bus 61 relay line 201 to 20n, 202 write pointer 301 packet processing 302 Jitter amount control 303 Jitter queue 304 Decoder 305 Receive signal line 306 Read pointer 307 Supplement pointer 2002 Pointer (HP) 2003 Virtual ruler 2004 Pointer 2005 Voice packet 2006 Voice data 3001, 3005 Telephone 3002 Transmitter 3003 Relay network 3004 Receiver 4001 Next Buffer pointer 4002 command 4003 voice packet length 4004 reception time stamp 4005 other information (1) 4006 transmission sequence number 4007 transmission time stamp 4008 other information (2) 4009 voice data

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 送信側から中継網を介して送信されてき
たパケットを、受信側において受信し、復号化するパケ
ット受信装置であって、 前記パケットを受信する受信手段と、 前記受信手段によって受信された前記パケットを、前記
受信手段が前記パケットを受信した順に記憶する記憶手
段と、 前記パケットを送信側が送信した順番に並べ替える並べ
替え手段と、 少なくとも、前記受信手段により前記パケットが受信さ
れた時刻から、前記中継網内で発生したジッタ量を算出
する算出手段と、 前記算出手段によって算出された前記ジッタ量に応じ
て、前記並べ替え手段によって並べ替えられた前記パケ
ットを復号化するタイミングを制御するタイミング制御
手段と、 前記タイミング制御手段によって制御されたタイミング
で前記パケットを復号化する復号化手段とを備えること
を特徴とするパケット受信装置。
1. A packet receiving apparatus for receiving and decoding a packet transmitted from a transmitting side via a relay network on a receiving side, comprising: receiving means for receiving the packet; and receiving by the receiving means. Storage means for storing the received packets in the order in which the receiving means has received the packets; reordering means for rearranging the packets in the order transmitted by the transmitting side; and at least the packet is received by the receiving means. A calculating unit that calculates a jitter amount generated in the relay network from a time, and a timing for decoding the packets rearranged by the rearranging unit according to the jitter amount calculated by the calculating unit. Timing control means for controlling; and recovering the packet at a timing controlled by the timing control means. And a decoding means for decoding.
【請求項2】 前記受信手段によって受信された前記パ
ケットに、前記パケットの次のパケットが記憶される前
記記憶手段のアドレス情報を付加する付加手段をさらに
備え、 前記パケットは、前記アドレス情報に従って、前記記憶
手段に記憶されることを特徴とする請求項1に記載のパ
ケット受信装置。
2. The apparatus according to claim 1, further comprising an adding unit that adds address information of the storage unit that stores a packet next to the packet to the packet received by the receiving unit. The packet receiving device according to claim 1, wherein the packet is stored in the storage unit.
【請求項3】 前記パケットが記憶されている前記記憶
手段のアドレスを記憶するアドレス記憶手段をさらに備
え、 前記並べ替え手段は、前記パケットが記憶されている前
記記憶手段のアドレスを、送信側が送信した順番に、前
記アドレス記憶手段に記憶させることにより、前記パケ
ットの並べ替えを行うことを特徴とする請求項1に記載
のパケット受信装置。
3. An address storage unit for storing an address of the storage unit in which the packet is stored, wherein the rearranging unit transmits an address of the storage unit in which the packet is stored, and a transmission side transmits the address of the storage unit. 2. The packet receiving apparatus according to claim 1, wherein the packets are rearranged by storing them in the address storage unit in the order in which the packets are stored.
【請求項4】 前記パケットが記憶されている前記記憶
手段のアドレスを記憶するアドレス記憶手段をさらに備
え、 前記並べ替え手段は、前記パケットが記憶されている前
記記憶手段のアドレスを、送信側が送信した順番に、前
記アドレス記憶手段に記憶させることにより、前記パケ
ットの並べ替えを行い、 前記復号化手段は、前記算出手段によって算出された前
記ジッタ量に応じて、前記アドレス記憶手段に記憶され
ている前記アドレスを読み出し、前記記憶手段の前記ア
ドレスに記憶されている前記パケットを読み出し、復号
化することを特徴とする請求項1に記載のパケット受信
装置。
4. An address storage unit for storing an address of the storage unit in which the packet is stored, wherein the rearranging unit transmits an address of the storage unit in which the packet is stored, and a transmission side transmits the address of the storage unit in which the packet is stored. The packet is rearranged by storing the packet in the address storage unit in the order given, and the decoding unit is stored in the address storage unit according to the jitter amount calculated by the calculation unit. 2. The packet receiving apparatus according to claim 1, wherein the address is read, and the packet stored in the address of the storage unit is read and decoded.
【請求項5】 前記パケットは、少なくとも、次のパケ
ットが記憶されているアドレス情報を記述するためのフ
ィールドと、パケット長を記述するためのフィールド
と、受信タイムスタンプを記述するためのフィールド
と、送信シーケンス番号を記述するためのフィールド
と、送信タイムスタンプを記述するためのフィールド
と、データを記述するためのフィールドとからなり、 少なくとも、次のパケットが記憶されているアドレス情
報と、受信タイムスタンプは、受信側で設定され、少な
くとも送信シーケンス番号は送信側で設定されることを
特徴とする請求項1に記載のパケット受信装置。
5. The packet includes at least a field for describing address information in which the next packet is stored, a field for describing a packet length, a field for describing a reception time stamp, It consists of a field for describing a transmission sequence number, a field for describing a transmission time stamp, and a field for describing data. At least address information in which the next packet is stored, and a reception time stamp The packet receiving apparatus according to claim 1, wherein is set on the receiving side, and at least the transmission sequence number is set on the transmitting side.
【請求項6】 前記受信手段により前記パケットが受信
された時刻に基づいて、送信側が前記パケットを送信し
た時刻を推定する推定手段をさらに備えることを特徴と
する請求項1に記載のパケット受信装置。
6. The packet receiving apparatus according to claim 1, further comprising estimating means for estimating a time at which a transmitting side transmitted the packet based on a time at which the packet was received by the receiving means. .
【請求項7】 送信側から中継網を介して送信されてき
たパケットを、受信側において受信し、復号化するパケ
ット受信方法であって、 前記パケットを受信する受信ステップと、 前記受信ステップにおいて受信された前記パケットを、
前記パケットを受信した順に記憶する記憶ステップと、 前記パケットを送信側が送信した順番に並べ替える並べ
替えステップと、 少なくとも、前記受信ステップにおいて前記パケットが
受信された時刻から、前記中継網内で発生したジッタ量
を算出する算出ステップと、 前記算出ステップにおいて算出された前記ジッタ量に応
じて、前記並べ替えステップにおいて並べ替えられた前
記パケットを復号化するタイミングを制御するタイミン
グ制御ステップと、 前記タイミング制御ステップにおいて制御されたタイミ
ングで前記パケットを復号化する復号化ステップとを備
えることを特徴とするパケット受信方法。
7. A packet receiving method for receiving and decoding a packet transmitted from a transmitting side via a relay network at a receiving side, comprising: a receiving step of receiving the packet; The packet is
A storing step of storing the packets in the order in which they are received; a rearranging step of rearranging the packets in the order transmitted by the transmitting side; and A calculating step of calculating a jitter amount, a timing control step of controlling a timing of decoding the packets rearranged in the rearranging step in accordance with the jitter amount calculated in the calculating step, and the timing control A decoding step of decoding the packet at a timing controlled in the step.
【請求項8】 請求項7に記載のパケット受信方法を実
行可能なプログラムが記録されている記録媒体。
8. A recording medium on which a program capable of executing the packet receiving method according to claim 7 is recorded.
JP02669499A 1999-02-03 1999-02-03 Packet receiving apparatus, packet receiving method, and recording medium Expired - Fee Related JP3449276B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02669499A JP3449276B2 (en) 1999-02-03 1999-02-03 Packet receiving apparatus, packet receiving method, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02669499A JP3449276B2 (en) 1999-02-03 1999-02-03 Packet receiving apparatus, packet receiving method, and recording medium

Publications (2)

Publication Number Publication Date
JP2000224225A true JP2000224225A (en) 2000-08-11
JP3449276B2 JP3449276B2 (en) 2003-09-22

Family

ID=12200509

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02669499A Expired - Fee Related JP3449276B2 (en) 1999-02-03 1999-02-03 Packet receiving apparatus, packet receiving method, and recording medium

Country Status (1)

Country Link
JP (1) JP3449276B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007004611A1 (en) * 2005-07-06 2007-01-11 Sharp Kabushiki Kaisha Output circuit, control program product and control method
JP2007174188A (en) * 2005-12-21 2007-07-05 Hitachi Ltd Speech recording apparatus
JP2008048140A (en) * 2006-08-15 2008-02-28 Oki Electric Ind Co Ltd Packet signal receiving device
JP2016158062A (en) * 2015-02-24 2016-09-01 三菱電機株式会社 Communication apparatus and communication system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007004611A1 (en) * 2005-07-06 2007-01-11 Sharp Kabushiki Kaisha Output circuit, control program product and control method
JP2007174188A (en) * 2005-12-21 2007-07-05 Hitachi Ltd Speech recording apparatus
JP2008048140A (en) * 2006-08-15 2008-02-28 Oki Electric Ind Co Ltd Packet signal receiving device
JP4706593B2 (en) * 2006-08-15 2011-06-22 沖電気工業株式会社 Packet signal receiver
JP2016158062A (en) * 2015-02-24 2016-09-01 三菱電機株式会社 Communication apparatus and communication system

Also Published As

Publication number Publication date
JP3449276B2 (en) 2003-09-22

Similar Documents

Publication Publication Date Title
ES2287133T3 (en) CONFIGURATION AND METHOD RELATING TO SPEAK COMMUNICATION.
US7830862B2 (en) System and method for modifying speech playout to compensate for transmission delay jitter in a voice over internet protocol (VoIP) network
US8937963B1 (en) Integrated adaptive jitter buffer
FI108692B (en) Method and apparatus for scheduling processing of data packets
EP1143671B1 (en) Device and method for reducing delay jitter in data transmission
US7319703B2 (en) Method and apparatus for reducing synchronization delay in packet-based voice terminals by resynchronizing during talk spurts
KR101877699B1 (en) De-jitter buffer update
KR20070065876A (en) Adaptive de-jitter buffer for voice over ip
CA2254706A1 (en) Speech reception via a packet transmission facility
JPH09191296A (en) Method and equipment for synchronizing clock for digital decoder and digital coder
EP1449378B1 (en) System and method for compensating packet delay variations
US7240013B2 (en) Method and apparatus for controlling buffering of audio stream
US7110416B2 (en) Method and apparatus for reducing synchronization delay in packet-based voice terminals
JP2000224225A (en) Packet receiver, packet reception method and recording medium
JP3917767B2 (en) Voice fluctuation correction control method, voice playback apparatus, and voice relay apparatus
JP2004264497A (en) Voice decoding device
JP2003050598A (en) Voice decoding device
US7313149B2 (en) Method of processing data packets received on asynchronous networks, and device for implementing the method
JP4174017B2 (en) Jitter buffer control method and IP telephone
JP3522137B2 (en) Variable rate encoding / decoding device
JP5330183B2 (en) Packet insertion / deletion method and call system
JPH10200580A (en) Method for reproducing voice packet
IL147263A (en) Method for decoding and retrieving a sound signal in an asynchronous transmission system
JPH07121040B2 (en) Voice packet communication method
JP2002077241A (en) Asynchronous voice data processing system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070711

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080711

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090711

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100711

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110711

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees