JP4667811B2 - Voice communication apparatus and voice communication method - Google Patents
Voice communication apparatus and voice communication method Download PDFInfo
- Publication number
- JP4667811B2 JP4667811B2 JP2004281472A JP2004281472A JP4667811B2 JP 4667811 B2 JP4667811 B2 JP 4667811B2 JP 2004281472 A JP2004281472 A JP 2004281472A JP 2004281472 A JP2004281472 A JP 2004281472A JP 4667811 B2 JP4667811 B2 JP 4667811B2
- Authority
- JP
- Japan
- Prior art keywords
- packet
- voice
- audio
- reproduction
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Description
本発明は、VoIP(Voice over Internet Protocol)技術を用いたインターネット電話等に用いて好適な音声通信装置、音声通信方法に関する。 The present invention relates to a voice communication apparatus and a voice communication method suitable for use in an Internet telephone using VoIP (Voice over Internet Protocol) technology.
近年、VoIP技術を用いたインターネット電話(以下、IP電話と称する)が、通話料金の安さなどの理由から普及してきている。このIP電話は、音声をパケット化してインターネット等のインターネットプロトコル(IP;Internet Protocol)網を介して転送することにより実現される。そして、その音声パケット化機能を有する音声通信装置が実用化されている。音声通信装置は、アナログ入力された音声をディジタル化した後に符号化し、音声符号化信号を周期的にパケットに分割して送信する。音声符号化方式として、例えばITU−T(国際電気通信連合)勧告G.711に準拠した方式を使用した場合、符号化後の信号は1秒あたり64キロビットのデータ量となる。このような音声符号化信号をパケット伝送する場合、パケット化時の分割等によるオーバーヘッドが生じるために、1秒あたり100キロビット程度の伝送帯域を要することになる。
また、VoIP技術については例えば特許文献1にも記載されている。
The VoIP technology is also described in
上述したような音声パケットを伝送する伝送路上の輻輳等により、十分な伝送帯域が確保できなかったときは、受信されるパケットは送信時の周期よりも長い周期で到着したり、一部のパケットが伝送途中で廃棄されて到着しなかったり、あるいはその両方の現象が発生する。これらの現象が軽微である場合、再生された音声は、若干の品質劣化が生じるものの聞き取ることは可能である。 When a sufficient transmission bandwidth cannot be secured due to congestion on the transmission path for transmitting voice packets as described above, the received packet arrives at a cycle longer than the cycle at the time of transmission, or some packets Are discarded during transmission and do not arrive, or both. If these phenomena are minor, the reproduced audio can be heard although some quality degradation occurs.
しかし、図8に示される例のように、パケットが送信周期(図8では10ms)よりも著しく長い周期(図8では100ms)で到着した場合、そのままのタイミングで再生しても聞き取れる音声とはならない。このような場合、到着間隔が間延びしているだけであり、パケットは廃棄されていないので、聞き取り可能な音声として再生するために必要な量の音声信号が揃えば、聞き取り可能な音声として再生することができる。図8の概念図の例では、入力音声「こんにちは」に対応する9個のパケットが送信周期よりも著しく長い周期で到着しているが、廃棄はされていない。したがって、少なくとも「こんにちは」に対応する9個のパケットに係る音声信号が揃えば、「こんにちは」の部分については聞き取り可能な音声として再生することができる。 However, as in the example shown in FIG. 8, when a packet arrives at a period (100 ms in FIG. 8) that is significantly longer than the transmission period (10 ms in FIG. 8), Don't be. In such a case, the arrival interval is just extended, and the packet is not discarded, so if there are enough audio signals to play as audible audio, it will be played back as audible audio. be able to. In the example conceptual diagram of FIG. 8, although nine packets corresponding to the input speech "Hello" has arrived at a significantly longer period than the transmission period, not disposal. Accordingly, aligning the audio signal according to the nine packets corresponding to at least "Hello" is able to reproduce as the sound of audible to the portion of the "Hello".
このために受信バッファを備えてパケットを蓄積し、一定の遅延時間を与えてから、パケットを受信バッファから読み出して音声再生することが考えられる。しかしながら、従来の伝送遅延ゆらぎ吸収用の受信バッファでは、固定的に遅延時間を与えることになるので、長期間に渡って到着周期が間延びするような場合に対処するためには、非常に長い遅延時間を固定的に与えることになり通話品質上からその実現には問題がある。 For this purpose, it is conceivable that a packet is stored with a reception buffer, a certain delay time is given, and then the packet is read from the reception buffer and reproduced. However, in the conventional reception buffer for absorbing the transmission delay fluctuation, a fixed delay time is given. Therefore, in order to cope with the case where the arrival period is extended over a long period of time, a very long delay is required. There is a problem in the realization of the call quality because the time is given fixedly.
本発明は、このような事情を考慮してなされたもので、その目的は、パケットが送信周期よりも著しく長い周期で到着する場合に、無用な音声遅延を生じさせることなく、有用な音声信号の蓄積を実行し、該蓄積された音声信号を使用して音声再生を行うことにより、通話品質の向上を図ることができる音声通信装置、音声通信方法を提供することにある。 The present invention has been made in view of such circumstances, and its purpose is to provide a useful audio signal without causing unnecessary audio delay when a packet arrives at a period significantly longer than the transmission period. The voice communication apparatus and the voice communication method are capable of improving the call quality by executing the voice reproduction using the stored voice signal.
上記の課題を解決するために、本発明に係る音声通信装置は、音声信号が格納されたパケットを受信し、該受信信号を使用して音声再生を行う音声通信装置において、受信信号を蓄積するための記憶手段と、パケットの到着周期を検出する到着周期検出手段と、前記検出された到着周期が所定の周期よりも長い場合に、前記記憶手段による蓄積動作を開始するとともに受信信号による音声再生動作を停止する制御手段と、パケットの連続廃棄数を検出する連続廃棄数検出手段と、を備え、前記制御手段は、前記記憶手段による蓄積動作中において、前記検出された連続廃棄数が所定値よりも大きいことを判定すると、前記記憶手段による蓄積動作を停止するとともに受信信号による音声再生動作を再開することを特徴とする。 In order to solve the above problems, an audio communication apparatus according to the present invention stores a received signal in an audio communication apparatus that receives a packet in which an audio signal is stored and performs audio reproduction using the received signal. Storage means, an arrival period detection means for detecting the arrival period of a packet, and when the detected arrival period is longer than a predetermined period, an accumulation operation by the storage means is started and voice reproduction by a received signal is performed Control means for stopping the operation, and continuous discard number detection means for detecting the number of consecutive discards of packets, wherein the control means is configured such that the detected number of consecutive discards is a predetermined value during the accumulation operation by the storage means. If it is determined that it is greater than the threshold value, the storage operation by the storage means is stopped and the sound reproduction operation by the received signal is restarted.
本発明に係る音声通信方法は、音声信号が格納されたパケットを受信し、該受信信号を使用して音声再生を行う音声通信装置の音声通信方法において、パケットの到着周期が所定の周期よりも長い場合に、受信信号の蓄積を開始するとともに受信信号による音声再生を停止し、前記受信信号の蓄積中に、パケットの連続廃棄数が所定値よりも大きくなった場合、前記受信信号の蓄積を停止するとともに受信信号による音声再生を再開することを特徴とする。 The voice communication method according to the present invention is a voice communication method of a voice communication apparatus that receives a packet in which a voice signal is stored and performs voice reproduction using the received signal, wherein the packet arrival period is longer than a predetermined period. When it is long, accumulation of the received signal is started and sound reproduction by the received signal is stopped, and when the number of consecutive packets discarded during the accumulation of the received signal becomes larger than a predetermined value, the accumulation of the received signal is stopped. It is characterized in that the audio reproduction by the received signal is resumed while stopping.
本発明によれば、パケットの到着周期が所定の周期よりも長周期であることを音声信号の蓄積動作開始条件に含めているので、パケットが送信周期よりも著しく長い周期で到着する場合以外には音声信号の蓄積を実行せず、無用な音声遅延を防止するとともに有用な音声信号の蓄積を実行することができる。これにより、該蓄積された有用な音声信号を使用して音声再生を行うことが可能となり、通話品質の向上を図ることができる。 According to the present invention, since the voice signal accumulation operation start condition includes that the arrival period of the packet is longer than a predetermined period, the packet arrives at a period significantly longer than the transmission period. Does not perform the accumulation of audio signals, can prevent unnecessary audio delays and can accumulate useful audio signals. As a result, it is possible to perform voice reproduction using the accumulated useful voice signal, and to improve the call quality.
以下、図面を参照し、本発明の一実施形態について説明する。
図1は、本発明の一実施形態に係る音声通信装置を備えたIP電話端末1a(1b)によりIP電話を実現するIP電話システムの構成例を示すブロック図である。図2は、図1に示すIP電話端末1a(1b)の構成を示すブロック図である。
図1において、IP電話端末1a(1b)は、IP電話用の通信端末であり、ローカルエリアネットワーク(LAN)3a(3b)に接続されている。ルータ2a(2b)は、通信回線を介してインターネット4と接続し、LAN3a(3b)とインターネット4との間で相互にパケットの転送を行う。これにより、IP電話端末1aと1bは、インターネット4を介してパケット通信を行い、音声信号を相互に送受してIP電話を実現する。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram illustrating a configuration example of an IP telephone system that realizes an IP telephone by using an
In FIG. 1, an
図2において、IP電話端末1a(1b)は、本実施形態に係る音声通信装置10を備える。音声通信装置10には、話者が通話に使用するマイク31とスピーカ32とが接続される。
In FIG. 2, an
図2の音声通信装置10において、A−D変換部11はマイク31から入力されたアナログ音声信号をディジタル音声信号に変換して出力する。音声符号化部12はA−D変換部11から入力されたディジタル音声信号を符号化して出力する。RTP(Real-time Transport Protocol)パケット送信処理部13は、音声符号化部12から入力された音声符号化信号を1フレーム分ごとにパケット化して出力する。パケット化はRTPに従う。又、1フレームは例えば10msの長さであり、この場合、パケット送信間隔は10msである。
In the
UDP(User Datagram Protocol)/IP処理部14は、UDP及びIPに従ってパケットの送信及び受信の処理を行う。ネットワークインタフェース15は、LAN3a(3b)に接続するためのインタフェースであり、LAN3a(3b)と接続してパケットを入出力する。RTPパケット送信処理部13から出力されたRTPパケットは、UDP/IP処理部14によりIPパケットとしてネットワークインタフェース15に出力され、ネットワークインタフェース15からLAN3a(3b)へ出力される。
A UDP (User Datagram Protocol) /
LAN3a(3b)から入力されたIPパケットは、ネットワークインタフェース15を介してUDP/IP処理部14に入力される。UDP/IP処理部14は、入力されたIPパケットからRTPパケットを取得してRTPパケット受信処理部16へ出力する。
RTPパケット受信処理部16は、入力されたRTPパケットをRTPに従って分解することで音声符号化信号を取得し、音声復号部17へ出力する。また、RTPパケット受信処理部16は、パケットの受信情報を再生制御部21へ通知する。この受信情報は、連続して受信したパケットの到着間隔を示す情報およびパケットの損失数を示す情報などを含んでいる。
An IP packet input from the
The RTP packet
音声復号部17は、入力された音声符号化信号を復号してディジタル音声信号を音声蓄積部19を介してD−A変換部18へ出力する。D−A変換部18は、入力されたディジタル音声信号をアナログ信号に変換して出力する。この出力されたアナログ音声信号はスピーカ32に入力され、音声として再生される。なお、音声符号化部12および音声復号部17は、例えばITU−T勧告G.729で規定されている音声符号化方式を使用する。
The
音声蓄積部19は、音声復号部17からのディジタル音声信号を蓄積するためのメモリを備えている。音声蓄積部19は、再生制御部21からの指示に従って、音声復号部17からのディジタル音声信号をメモリに蓄積する動作およびメモリからディジタル音声信号を読み出してD−A変換部18へ出力する動作を行う。音声蓄積部19においてメモリに蓄積する動作が行われていないときは、音声復号部17からのディジタル音声信号は、音声蓄積部19を介してただちにD−A変換部18へ出力され、音声として再生される。一方、音声復号部17からのディジタル音声信号をメモリに蓄積する動作を行っており、且つ、メモリからディジタル音声信号を読み出していない状態では、D−A変換部18への入力信号がないために、音声再生動作は停止する。
また、音声蓄積部19は、メモリの蓄積量を検出する。この蓄積量は、再生制御部21から読み出すことができる。
The
The
再生制御部21は、RTPパケット受信処理部16から通知される受信情報及び音声蓄積部19から通知される蓄積量に基づいて、音声蓄積部19の動作を制御する。また、再生制御部21は、その動作制御内容に応じて、信号発生部20に対する信号発生指示を行う。
信号発生部20は、再生制御部21からの指示に従って所定のディジタル音声信号を発生し、D−A変換部18へ出力する。このディジタル音声信号は、D−A変換部18によってアナログ化された後にスピーカ32から再生出力される。
The
The
次に、図3を参照して、上記した音声通信装置10の音声再生に係る動作を説明する。図3は、本実施形態に係る音声再生制御フローを示すフローチャートである。
RTPパケット受信処理部16は、連続して受信したパケットの到着間隔を算出する。さらに、受信パケットのRTPヘッダ中のシーケンス番号に基づいて、連続して受信した2つのパケット間で損失しているパケットの個数(損失パケット数)を算出する。RTPパケット受信処理部16は、それら算出した到着間隔と損失パケット数を再生制御部21へ通知する。再生制御部21は、RTPパケット受信処理部16から通知された到着間隔及び損失パケット数を使用して音声再生制御処理を行う。
Next, with reference to FIG. 3, an operation related to the audio reproduction of the
The RTP packet
図3において、再生制御部21は、音声蓄積部19における蓄積動作および音声再生動作の状態を判断する(ステップS1)。この判断の結果、音声蓄積部19において蓄積動作が停止中であり、且つ音声再生動作中である場合は(ステップS1がYES)、ステップS2へ進む。
In FIG. 3, the
次いで、ステップS2では、再生制御部21は、RTPパケット受信処理部16から通知された到着間隔に基づいた到着周期がパケットの送信周期と比べて所定値α以上長くなっているか否かを判定する。この判定には、微小な変動の影響を排除するために、パケット到着周期についての1秒間の移動平均値を用いる。所定値αとしては、パケットは10ms周期で送信されているので、例えば10ms程度の値に設定する。ステップS2の判定の結果、到着周期が「送信周期+所定値α」以上である場合(ステップS2がYES)はステップS3へ進み、「送信周期+所定値α」未満である場合(ステップS2がNO)は処理を終了する。
Next, in step S2, the
次いで、ステップS3では、再生制御部21は、パケットがバースト的に廃棄されているか否かを判定する。この判定ではバースト廃棄度を用いる。バースト廃棄度とは、単位時間当たり、例えば1秒の期間において、廃棄されたパケットの前後に連続して受信した2つのパケットの時間間隔の最小値Tminと、パケット送信間隔との比として定義する。
Next, in step S3, the
図4は、バースト廃棄度について説明するための概念図である。図4(1)では、パケットの送信間隔が示されており、10ms周期でパケットP1〜P11が送信されている。図4(2)では、パケットP1〜P11のうち、パケットP2,P4,P6,P8,P9が廃棄された場合が示されている。この図4(2)の場合、最小値Tminは20ms、パケット送信間隔は10msであるので、バースト廃棄度は「20ms/10ms=2」となる。また、図4(3)では、パケットP1〜P11のうち、パケットP4〜P8が連続して廃棄された場合が示されている。この図4(3)の場合、最小値Tminは60ms、パケット送信間隔は10msであるので、バースト廃棄度は「60ms/10ms=6」となる。再生制御部21は、RTPパケット受信処理部16から通知された到着間隔と損失パケット数とに基づいて、最小値Tminを算出する。
FIG. 4 is a conceptual diagram for explaining the burst discard degree. In FIG. 4A, the packet transmission interval is shown, and packets P1 to P11 are transmitted in a cycle of 10 ms. FIG. 4 (2) shows a case where packets P2, P4, P6, P8, and P9 are discarded among the packets P1 to P11. In the case of FIG. 4B, since the minimum value Tmin is 20 ms and the packet transmission interval is 10 ms, the burst discard degree is “20 ms / 10 ms = 2”. FIG. 4 (3) shows a case where packets P4 to P8 are successively discarded among the packets P1 to P11. In the case of FIG. 4 (3), the minimum value Tmin is 60 ms and the packet transmission interval is 10 ms, so the burst discard rate is “60 ms / 10 ms = 6”. The
ステップS3の判定の結果、バースト廃棄度つまり、単位時間当たりのパケットの連続廃棄が所定値β以上である場合(ステップS3がYES)は、バースト的に廃棄されていると判定し、ステップS4へ進む。一方、所定値β未満である場合(ステップS2がYES)は処理を終了する。 As a result of the determination in step S3, when the burst discard degree, that is, when the continuous discard of packets per unit time is equal to or greater than the predetermined value β (step S3 is YES), it is determined that the burst is discarded, and the process proceeds to step S4 move on. On the other hand, if it is less than the predetermined value β (step S2 is YES), the process is terminated.
次いで、ステップS4では、再生制御部21は、音声蓄積部19に対して、蓄積動作の開始及び読み出しの停止を指示する。これにより音声再生動作が停止する。次いで、再生制御部21は、信号発生部20に対して音声再生の停止を報知する旨を指示する。この指示により信号発生部20は該当する所定のディジタル信号を発生してD−A変換部18へ出力する。これにより、音声再生の停止を報知する例えばブザー音V2がスピーカ32から再生出力される(ステップS5)。
Next, in step S4, the
一方、ステップS1の判断の結果、音声蓄積部19において蓄積動作中であり、且つ読み出しが停止中であるために音声再生動作が停止中である場合は(ステップS1がNO)、ステップS6へ進む。
On the other hand, if the result of the determination in step S1 is that the storage operation is being performed in the
ステップS6では、再生制御部21は、パケットの連続廃棄数が所定値δより大きいか否かを判定する。パケットの連続廃棄数には、RTPパケット受信処理部16から通知された損失パケット数を使用する。この判定の結果、連続廃棄数が所定値δよりも大きい場合は(ステップS6がYES)、通信の一時断と判断し、ステップS9へ進む。なお、所定値δとしては、パケット送信間隔が10msの場合、例えば100パケットに設定する。この場合、1秒間の通話断によって音声再生が再開される。
ステップS9では、再生制御部21は、音声蓄積部19に対して、蓄積動作の停止及び読み出しの開始を指示する。これにより音声再生動作が再開される。
In step S6, the
In step S9, the
一方、ステップS6の判定の結果、連続廃棄数が所定値δ以下である場合には(ステップS6がNO)、ステップS7へ進む。 On the other hand, if the result of determination in step S6 is that the number of consecutive discards is equal to or less than the predetermined value δ (step S6 is NO), the process proceeds to step S7.
ステップS7では、再生制御部21は、音声蓄積部19から蓄積量を読み出し、所定量に到達しているか否かを判断する。この判断の結果、所定量に到達している場合は(ステップS7がYES)、ステップS9に進み、上記した音声蓄積部19に対する指示を行って音声再生動作を再開する。なお、上記ステップS7で用いる蓄積量の閾値には、蓄積動作によって音声蓄積部19内のメモリの容量をオーバーする前に蓄積動作を停止可能な値を設定する。
In step S7, the
一方、ステップS7の判断の結果、所定量に未到達である場合には(ステップS7がNO)、ステップS8へ進む。 On the other hand, if the predetermined amount has not been reached as a result of the determination in step S7 (NO in step S7), the process proceeds to step S8.
ステップS8では、再生制御部21は、上記ステップS2及びS3の判定処理を行い、双方の判定条件を共に満足しているか否かを判断する。この判断の結果、満足していれば(ステップS8がYES)、処理を終了し、蓄積動作及び再生停止をそのまま継続する。
In step S8, the
一方、ステップS8の判断の結果、ステップS2及びS3の判定条件のいずれか1つでも満足していなければ(ステップS8がNO)、ステップS9に進み、上記した音声蓄積部19に対する指示を行って音声再生動作を再開する。
On the other hand, as a result of the determination in step S8, if any one of the determination conditions in steps S2 and S3 is not satisfied (NO in step S8), the process proceeds to step S9, and an instruction is given to the
次いで、ステップ10では、再生制御部21は、信号発生部20に対して音声再生停止の報知を停止する旨を指示する。この指示により信号発生部20はディジタル信号の発生を停止する。これにより、音声再生停止の報知音(例えばブザー音)の再生出力が停止する。
Next, in
図5は、本実施形態による音声再生動作を説明するための概念図である。図5において、送話者が発した音声V1a「こんにちはおげんきですか」は、パケット送信間隔10msごとの音声信号に分割されて各々パケットP1a〜P21aに格納される。パケットP1a〜P21aは、送話者のIP電話端末1aから送信され、インターネット4を介して受話者のIP電話端末1bへ伝送される。
FIG. 5 is a conceptual diagram for explaining an audio reproduction operation according to the present embodiment. 5, the talker speech V1a "Hello How are you" emitted is stored in each packet P1a~P21a is divided into the audio signal for each
ここで、1パケット当たりのデータ量が300bitであるとすると、1秒間に100パケットが送信されるので、各パケットが送信間隔10msを維持して伝送されるためには、少なくとも30kbit/sec以上の伝送速度を常に保証することが必要となる。しかし、インターネット4上のトラヒック状況等により一時的に所望の伝送速度が得られない場合、それぞれのパケットは遅延が増大しながら到着する。図5の例では、3kbit/secの伝送速度でパケットP1a〜P9aが伝送されている。これらパケットP1a〜P9aは、経路の途中で廃棄されることなく、平均100ms間隔で到着する。一方、パケットP10a〜P21aは、インターネット4の経路途中での輻輳等により廃棄されている。このパケットP10a〜P21aのように、パケットが連続的に廃棄されることを上記バースト廃棄と称する。 Here, if the data amount per packet is 300 bits, 100 packets are transmitted per second. Therefore, in order to transmit each packet with a transmission interval of 10 ms, at least 30 kbit / sec or more is required. It is necessary to always guarantee the transmission speed. However, if a desired transmission rate cannot be obtained temporarily due to traffic conditions on the Internet 4, each packet arrives with an increased delay. In the example of FIG. 5, packets P1a to P9a are transmitted at a transmission rate of 3 kbit / sec. These packets P1a to P9a arrive at an average interval of 100 ms without being discarded in the middle of the route. On the other hand, the packets P <b> 10 a to P <b> 21 a are discarded due to congestion in the middle of the route of the Internet 4. Like the packets P10a to P21a, continuous discard of packets is referred to as burst discard.
図5の時刻t1の時点では、パケットの到着間隔は100msであり、平均到着間隔は100msと算出される。各パケットにはシーケンス番号が格納されており、受信したパケットとその1つ前に受信したパケットの双方のシーケンス番号を比較し、その差が1であるか否かを判定することにより、パケットの廃棄を検出することができる。パケットの廃棄が検出された場合、シーケンス番号の差を損失パケット数(連続廃棄数)として得る。
図5では、時刻t1から、受信パケットP1a〜P9aに格納された音声「こんにちは」の音声信号が蓄積開始されると共に音声再生が停止され、音声再生停止を報知するブザー音が受話者に対して出力され始める。
At time t1 in FIG. 5, the arrival interval of packets is 100 ms, and the average arrival interval is calculated as 100 ms. A sequence number is stored in each packet. By comparing the sequence numbers of both the received packet and the packet received immediately before it, whether or not the difference is 1 is determined. Discard can be detected. When packet discard is detected, the difference in sequence number is obtained as the number of lost packets (number of consecutive discards).
In Figure 5, from time t1, the audio reproduction is stopped together with the audio signal of the audio "Hello" stored in the received packet P1a~P9a starts accumulating, with respect to the buzzer sound listener to notify the audio reproduction stopping Output begins.
図5の時刻t2の時点では、パケットP10a〜P21aの連続廃棄が検出されて、音声信号の蓄積が停止されると共に音声再生が再開される。これにより、蓄積された音声V1b「こんにちは」が再生出力され、受話者に聞き取られる。 At time t2 in FIG. 5, the continuous discard of the packets P10a to P21a is detected, the accumulation of the audio signal is stopped, and the audio reproduction is resumed. As a result, the stored voice V1b "Hello" is reproduced output, is heard in the listener.
ここで、ネットワーク上でパケットが廃棄される過程について考察する。
一般に、インターネット上においてパケットは、ルータと呼ばれるパケット転送装置を経由して転送される。ルータは、入り回線から入力されたパケットを、その振り分け先を判断して所定の出回線へ出力する。出回線にてパケットを送信中の場合は、待ち行列バッファに出力パケットを蓄積し、送信中パケットの送信終了後、順次、待ち行列バッファから出力パケットを読み出して出回線に出力する。しかし、待ち行列バッファに蓄積される速度の方が出回線の伝送速度よりも大きい状態が続くと、待ち行列バッファがあふれるので、ルータは振り分けるパケットを廃棄する。
Here, consider the process of discarding packets on the network.
Generally, on the Internet, a packet is transferred via a packet transfer device called a router. The router determines the distribution destination of the packet input from the incoming line and outputs it to a predetermined outgoing line. When a packet is being transmitted on the outgoing line, the output packet is stored in the queue buffer, and after the transmission of the packet being transmitted is completed, the output packet is sequentially read from the queue buffer and output to the outgoing line. However, if the rate accumulated in the queue buffer continues to be higher than the transmission rate of the outgoing line, the queue buffer overflows, and the router discards the distributed packet.
そのルータにおける廃棄の方法には様々な方法が考えられているが、(1)待ち行列バッファ内のパケット全てを廃棄する方法、(2)バッファが満杯のときに振り分けようとしたパケットを廃棄する方法、などが一般的である。 There are various methods of discarding in the router. (1) A method of discarding all packets in the queue buffer, (2) A packet to be distributed when the buffer is full is discarded. The method is common.
(1)の廃棄方法によりパケットが廃棄される場合、上記図5に示されるように、バッファに蓄積可能な状態では出回線の伝送速度不足による遅延が発生するものの廃棄されずにパケットが転送されるが(パケットP1a〜P9aに対応)、バッファ全体がクリアされたときにバッファ内に在ったパケットは全て廃棄される(パケットP10a〜P21aに対応)。このバッファ全体のクリアによって大きなバースト廃棄が発生する。 When the packet is discarded by the discard method (1), as shown in FIG. 5, the packet is transferred without being discarded although a delay due to insufficient transmission speed of the outgoing line occurs in a state where it can be stored in the buffer. However (corresponding to the packets P1a to P9a), all the packets existing in the buffer when the entire buffer is cleared are discarded (corresponding to the packets P10a to P21a). This clearing of the entire buffer causes a large burst discard.
(2)の廃棄方法によりパケットが廃棄される場合、図6に示されるように、歯抜け状にパケットが廃棄される。この図6のような場合、受話者のIP電話端末1bで受信されたパケットの音声信号を蓄積して再生したとしても、音声信号が歯抜け状態となっているので、受話者が聞き取ることは難しい。
When a packet is discarded by the discard method (2), the packet is discarded in a tooth-missing manner as shown in FIG. In the case as shown in FIG. 6, even if the voice signal of the packet received by the receiver's
上述した実施形態では、パケットの到着周期が所定の周期(送信周期+所定値)よりも長周期であった場合において、パケットがバースト的に廃棄されていることを蓄積動作開始条件とし、この蓄積動作開始条件が満足されているときは受信された音声信号を蓄積すると共に音声再生を停止している。つまり、上記(1)の廃棄方法によりパケットが廃棄される場合には、廃棄されずに到着したパケットは比較的に損失することなく連続して到着するので、受信した音声信号を蓄積してから再生する。これにより、受話者が聞き取り可能な音声として再生することができ、通話品質の向上を図ることができる。 In the above-described embodiment, when the arrival period of a packet is longer than a predetermined period (transmission period + predetermined value), the accumulation operation start condition is that the packet is discarded in bursts. When the operation start condition is satisfied, the received audio signal is accumulated and the audio reproduction is stopped. That is, when a packet is discarded by the discard method of (1) above, packets that arrive without being discarded arrive continuously without relatively loss. Reproduce. Thereby, it can reproduce | regenerate as an audio | voice which a listener can hear, and can aim at the improvement of call quality.
そして、パケットがバースト的に廃棄されておらず、上記蓄積動作開始条件が満足されないときには、受信された音声信号を蓄積せずにその受信のタイミングで再生する。つまり、上記(2)の廃棄方法によりパケットが廃棄される場合には、歯抜け状にパケットが廃棄されるために音声信号が歯抜け状態となっているので、蓄積してから再生したとしても聞き取り可能な音声として再生できる可能性が低い。このことから、受信した音声信号を蓄積せずに、受信したタイミングで再生する。なお、上記したバースト廃棄度の閾値βは、パケット送信間隔が10msの場合、例えば50に設定する。 When the packet is not discarded in bursts and the accumulation operation start condition is not satisfied, the received audio signal is reproduced without being accumulated. In other words, when a packet is discarded by the discard method (2) above, since the packet is discarded in the form of a missing tooth, the audio signal is in a missing state. It is unlikely that it can be played as audible audio. For this reason, the received audio signal is reproduced at the received timing without being accumulated. Note that the above-described burst discard threshold β is set to 50, for example, when the packet transmission interval is 10 ms.
上述したように本実施形態によれば、パケットの到着周期が所定の周期よりも長周期であることを音声信号の蓄積動作開始条件に含めているので、パケットが送信周期よりも著しく長い周期で到着する場合以外には音声信号の蓄積を実行せず、無用な音声遅延を防止するとともに有用な音声信号の蓄積を実行することができる。これにより、該蓄積された有用な音声信号を使用して音声再生を行うことが可能となり、通話品質の向上を図ることができる。 As described above, according to the present embodiment, since the voice signal storage operation start condition includes that the arrival period of the packet is longer than a predetermined period, the packet has a period significantly longer than the transmission period. Audio signals are not accumulated except when they arrive, and unnecessary audio delays can be prevented and useful audio signals can be accumulated. As a result, it is possible to perform voice reproduction using the accumulated useful voice signal, and to improve the call quality.
以上、本発明の実施形態を図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、本発明の要旨を逸脱しない範囲の設計変更等も含まれる。
例えば、パケットの到着周期が所定の周期よりも長周期であることのみを音声信号の蓄積動作開始条件としてもよい。
The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes design changes and the like within a scope not departing from the gist of the present invention.
For example, the voice signal accumulation operation start condition may be only that the arrival period of the packet is longer than a predetermined period.
また、所定のタイマー時間を計時するタイマを備え、このタイムアウトにより蓄積動作を停止するようにしてもよい。 Further, a timer for measuring a predetermined timer time may be provided, and the accumulation operation may be stopped by this timeout.
また、音声再生停止中において音声再生を再開することを判断した場合、図7に示されるように、まず音声再生の再開を報知し、次いで音声再生を再開するようにしてもよい。この場合、再生制御部21は、音声再生の再開を判断すると、信号発生部20に対して音声再生の再開を報知する旨を指示する。この指示により信号発生部20は該当する所定のディジタル信号を発生してD−A変換部18へ出力する。これにより、音声再生の再開を予告する例えばメッセージV3がスピーカ32から再生出力される。また、メッセージV3のように、これから再生する音声が何秒前に受信しはじめた音声かを報知するようにしてもよい。
Further, when it is determined that the sound reproduction is to be resumed while the sound reproduction is stopped, as shown in FIG. 7, the resumption of the sound reproduction may be notified first, and then the sound reproduction may be resumed. In this case, when the
なお、受話者に対する報知は、上記した音声によるものに限定されない。例えば、ランプ点灯や画面表示などの視覚的に報知するようにしてもよい。
また、本発明は、無線環境を含むネットワークシステムにも対応可能である。例えば、携帯電話ネットワークに接続可能な端末を音声通信装置として利用可能である。
Note that the notification to the listener is not limited to the above-described voice. For example, visual notification such as lamp lighting or screen display may be made.
The present invention can also be applied to a network system including a wireless environment. For example, a terminal that can be connected to a mobile phone network can be used as a voice communication device.
1a,1b…IP電話端末、4…インターネット、10…音声通信装置、11…A−D変換部、12…音声符号化部、13…RTPパケット送信処理部、14…UDP/IP処理部、15…ネットワークインタフェース、16…RTPパケット受信処理部、17…音声復号部、18…D−A変換部、19…音声蓄積部、20…信号発生部、21…再生制御部、31…マイク、32…スピーカ。
DESCRIPTION OF
Claims (2)
受信信号を蓄積するための記憶手段と、
パケットの到着周期を検出する到着周期検出手段と、
前記検出された到着周期が所定の周期よりも長い場合に、前記記憶手段による蓄積動作を開始するとともに受信信号による音声再生動作を停止する制御手段と、
パケットの連続廃棄数を検出する連続廃棄数検出手段と、
を備え、
前記制御手段は、
前記記憶手段による蓄積動作中において、前記検出された連続廃棄数が所定値よりも大きいことを判定すると、前記記憶手段による蓄積動作を停止するとともに受信信号による音声再生動作を再開することを特徴とする音声通信装置。 In a voice communication apparatus that receives a packet in which an audio signal is stored and performs audio reproduction using the received signal,
Storage means for accumulating received signals;
An arrival period detection means for detecting an arrival period of the packet;
When the detected arrival period is longer than a predetermined period, a control unit that starts an accumulation operation by the storage unit and stops an audio reproduction operation by a received signal;
A continuous discard number detecting means for detecting a continuous discard number of packets;
With
The control means includes
During the accumulation operation by the storage means, if it is determined that the detected number of consecutive discards is larger than a predetermined value, the accumulation operation by the storage means is stopped and the sound reproduction operation by the received signal is restarted. Voice communication device.
パケットの到着周期が所定の周期よりも長い場合に、受信信号の蓄積を開始するとともに受信信号による音声再生を停止し、When the arrival period of the packet is longer than the predetermined period, the accumulation of the received signal is started and the sound reproduction by the received signal is stopped.
前記受信信号の蓄積中に、パケットの連続廃棄数が所定値よりも大きくなった場合、前記受信信号の蓄積を停止するとともに受信信号による音声再生を再開することを特徴とする音声通信方法。When the number of consecutive packets discarded during storage of the received signal becomes larger than a predetermined value, the storage of the received signal is stopped and voice reproduction by the received signal is restarted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004281472A JP4667811B2 (en) | 2004-09-28 | 2004-09-28 | Voice communication apparatus and voice communication method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004281472A JP4667811B2 (en) | 2004-09-28 | 2004-09-28 | Voice communication apparatus and voice communication method |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007018094A Division JP4684247B2 (en) | 2007-01-29 | 2007-01-29 | Voice communication method and voice communication apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006100933A JP2006100933A (en) | 2006-04-13 |
JP4667811B2 true JP4667811B2 (en) | 2011-04-13 |
Family
ID=36240370
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004281472A Expired - Fee Related JP4667811B2 (en) | 2004-09-28 | 2004-09-28 | Voice communication apparatus and voice communication method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4667811B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8325608B2 (en) | 2008-08-07 | 2012-12-04 | Qualcomm Incorporated | Efficient packet handling for timer-based discard in a wireless communication system |
JP6498257B2 (en) * | 2017-11-02 | 2019-04-10 | 関西電力株式会社 | COMMUNICATION DEVICE, DATA TRANSMISSION METHOD, AND DATA TRANSMISSION PROGRAM |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0396143A (en) * | 1989-09-08 | 1991-04-22 | Nippon Telegr & Teleph Corp <Ntt> | Packet transmission method |
JPH03133233A (en) * | 1989-10-19 | 1991-06-06 | Mitsubishi Electric Corp | Voice packeting unit |
JP2003087317A (en) * | 2001-09-12 | 2003-03-20 | Nec Corp | Apparatus and method for absorbing voice packet delay fluctuation |
JP2004048680A (en) * | 2002-05-13 | 2004-02-12 | Taiko Electric Works Ltd | Method and apparatus for controlling fluctuation absorbing buffer |
-
2004
- 2004-09-28 JP JP2004281472A patent/JP4667811B2/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0396143A (en) * | 1989-09-08 | 1991-04-22 | Nippon Telegr & Teleph Corp <Ntt> | Packet transmission method |
JPH03133233A (en) * | 1989-10-19 | 1991-06-06 | Mitsubishi Electric Corp | Voice packeting unit |
JP2003087317A (en) * | 2001-09-12 | 2003-03-20 | Nec Corp | Apparatus and method for absorbing voice packet delay fluctuation |
JP2004048680A (en) * | 2002-05-13 | 2004-02-12 | Taiko Electric Works Ltd | Method and apparatus for controlling fluctuation absorbing buffer |
Also Published As
Publication number | Publication date |
---|---|
JP2006100933A (en) | 2006-04-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6928289B1 (en) | Device and method for communicating packet voice data in mobile communication system | |
JP4842075B2 (en) | Audio transmission device | |
FI108692B (en) | Method and apparatus for scheduling processing of data packets | |
US6658027B1 (en) | Jitter buffer management | |
JP4367657B2 (en) | Voice communication method and apparatus | |
US6901069B2 (en) | Sub-packet insertion for packet loss compensation in voice over IP networks | |
KR100603575B1 (en) | RTP media packet processing apparatus and method thereof | |
JP2003101662A (en) | Communication method, communication device, and communication terminal | |
JP4028453B2 (en) | Communication terminal device | |
JP4667811B2 (en) | Voice communication apparatus and voice communication method | |
JP2005157045A (en) | Voice transmission method | |
JP4684247B2 (en) | Voice communication method and voice communication apparatus | |
US11943153B2 (en) | Using buffered audio to overcome lapses in telephony signal | |
US6546009B1 (en) | Method of reducing delays in packet data transmission | |
JP2006121176A (en) | Gateway and facsimile communication quality improving method | |
JP5562765B2 (en) | Voice RTP communication transmission / reception method and transmission / reception apparatus | |
JP2000349824A (en) | Transmission and reception system for voice data | |
JP4127149B2 (en) | Voice communication system and voice communication method | |
KR100939128B1 (en) | Terminal and method for video call | |
JP3669660B2 (en) | Call system | |
JP2004222150A (en) | IP telephone terminal and data conversion method thereof | |
JP2004040200A (en) | Voice communication device and call support method therefor | |
JP2008028828A (en) | Radio communication terminal device | |
JP2007116283A (en) | Packet transmission/reception system, packet transmitter/receiver and method for measuring elapsed time | |
JP2005073057A (en) | Digital speech apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070820 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090724 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090804 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091005 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100302 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100531 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20100609 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A132 Effective date: 20100907 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101108 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110104 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110112 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140121 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4667811 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |