[go: up one dir, main page]

JP2004222150A - IP telephone terminal and data conversion method thereof - Google Patents

IP telephone terminal and data conversion method thereof Download PDF

Info

Publication number
JP2004222150A
JP2004222150A JP2003009670A JP2003009670A JP2004222150A JP 2004222150 A JP2004222150 A JP 2004222150A JP 2003009670 A JP2003009670 A JP 2003009670A JP 2003009670 A JP2003009670 A JP 2003009670A JP 2004222150 A JP2004222150 A JP 2004222150A
Authority
JP
Japan
Prior art keywords
packet data
packet
conversion
interval
reception
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003009670A
Other languages
Japanese (ja)
Inventor
Yasuhiko Numagami
泰彦 沼上
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.)
Kyocera Corp
Original Assignee
Kyocera 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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP2003009670A priority Critical patent/JP2004222150A/en
Publication of JP2004222150A publication Critical patent/JP2004222150A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

【課題】IP電話端末において、パケットの受信間隔を計算し、その受信間隔に合わせた変換速度でD/A変換部を駆動し音切れを防止する。
【解決手段】IP電話端末において、パケット受信部100は、パケットが到着すると、到着間隔計算部700にパケット到着トリガを送信する。到着間隔計算部700は、トリガ受信時にクロック600から現在時刻を読み取る。そして到着間隔計算部700は、前回のパケット受信時に記録しておいた時刻と現在時刻の差を求めることにより、パケットの到着間隔を計算する。計算した到着間隔とプロトコル上規定の到着間隔の比Rを求め、プロトコル上規定の再生周波数FをR分だけ遅くした周波数F’を求める。到着間隔計算部700は、このF’を変換速度としてD/A変換部400に設定する。
【選択図】 図1
In an IP telephone terminal, a packet reception interval is calculated, and a D / A conversion unit is driven at a conversion speed in accordance with the reception interval to prevent sound interruption.
In an IP telephone terminal, when a packet arrives, a packet receiving unit transmits a packet arrival trigger to an arrival interval calculating unit. The arrival interval calculation unit 700 reads the current time from the clock 600 at the time of receiving the trigger. Then, the arrival interval calculation unit 700 calculates the arrival interval of the packets by obtaining the difference between the time recorded when the previous packet was received and the current time. A ratio R between the calculated arrival interval and the arrival interval specified in the protocol is obtained, and a frequency F ′ obtained by delaying the reproduction frequency F specified in the protocol by R is obtained. The arrival interval calculation section 700 sets this F 'as the conversion speed in the D / A conversion section 400.
[Selection diagram] Fig. 1

Description

【0001】
【発明の属する技術分野】
本発明は、インターネットを用いたIP電話端末およびそのデータ変換方法に関する。
【0002】
【従来の技術】
IP電話機では、パケット到着間隔のばらつき(ジッタ)を音声の再生に影響させないために、ジッタ吸収バッファを用いるのが一般的である。
音声は、A/D変換部でディジタル符号列に変換され、符号化部において圧縮等の処理が行われた後、パケットに分割されて、パケット送信部から送信される。一般にパケット分割はほぼ等間隔に行われ、パケットはほぼ等間隔に送信される。
送信されたパケットはネットワーク内で待ち合わせ等がランダムに発生し、受信側に到着する際には、その到着間隔がばらつく。
パケット受信部で受信したパケットは復号部で復号され、D/A変換部で音声に変換される。ジッタバッファがないIP電話機の場合、パケット間の到着間隔が長いと、この間に音切れが発生する。
【0003】
ジッタバッファを設けた場合、最初のパケットを受信し復号した後、すぐにデータ変換をはじめず、ジッタ吸収バッファに音声データを一時蓄える。これにより、パケットが送出間隔と同じ間隔で到着している場合、バッファに蓄えられている量は一定となり、パケットが送出間隔よりも短い間隔で到着している場合、バッファに蓄えられる量は一時増加する。また、パケットが送出間隔よりも長い間隔で到着している場合は、バッファに蓄えられている量は減少するが、バッファ内にデータがある限り音切れは発生しない。
【0004】
従来の技術では、ジッタバッファの蓄積量を動的に変化させるものもある。また、符号化ストリームに含まれる時刻情報と受信バイト数を利用して、符号化クロックと再生クロックを同期させる方法、MPEG−2ストリームに含まれる時刻情報を同期に使用しているもの(例えば、特許文献1参照)、クロック同期用パケットを交換することにより送受双方のクロックを同期させるもの(例えば、特許文献2参照)がある。
【0005】
【特許文献1】
特開平8−307863号公報
【特許文献2】
特開平6−30043号公報
【0006】
【発明が解決しようとする課題】
上記のジッタバッファによる音切れの防止方法では、受信したパケットの到着間隔は一時的にはばらつくものの、平均到着間隔と再生速度がほぼ等しいことを前提としている。
パケットの到着間隔が長い周期でパケットの内容に含まれる音声データの長さよりも長くなっている状態が継続した場合、ジッタ吸収バッファにより蓄えられるデータ量は漸減してゆき、バッファ蓄積量が0になった時点で音切れが発生する。
上記現象は、例えば、通信の帯域が長期間にわたって音声の伝送に必要な帯域よりも小さい状態になった場合や、送信側の処理負荷が大きくなり、符号化に要する時間が符号の表す音声データの長さよりも長くなった場合等に発生する。上記現象はまた、送信側の動作周波数が誤差により受信側よりも遅い場合に発生する。
また、送信側の動作周波数が誤差により受信側よりも早い場合は、ジッタ吸収バッファのデータ量は漸増していき、バッファに用意された領域を使い切ってしまった場合、バッファあふれによるデータ廃棄が発生し、結果的に音とびが発生する。
また、RTP(Real time Transport Protocol)(IETF RFC1889)ではRTCP(Real time Transport Control Protocol)により、送受信側の動作周波数の差を検出するための情報をやりとりする方法を提供しているが、この情報を用いて送信側の動作周波数と受信側の動作周波数との差を演算するとともに、伝送の遅延の揺らぎの影響を除去する演算も必要であるため処理が複雑である。
この発明はこのような点を鑑みてなされたもので、パケットの受信間隔を計算し、その受信間隔に合わせた変換速度でD/A変換部を駆動することにより、音切れを防止するIP電話端末を提供することを目的としている。
【0007】
【課題を解決するための手段】
上記した目的を達成するために、請求項1記載のIP電話端末は、受信した音声パケットデータを一時蓄積するジッタ吸収バッファから前記音声パケットデータを読み出して、アナログ音声信号に変換するD/A変換部を備えたIP電話端末において、前記音声パケットデータの受信時刻を取得するとともに、最新の音声パケットデータの受信時刻と、前回の音声パケットデータの受信時刻とから、音声パケットデータの受信間隔を計算する計算手段と、前記受信間隔に基づいて前記D/A変換部の変換速度を算出し、該変換速度で前記最新の音声パケットデータを変換するように前記D/A変換部を制御する制御手段とを有することを特徴とする。
【0008】
請求項2記載の発明は、受信した音声パケットデータを一時蓄積するジッタ吸収バッファから前記音声パケットデータを読み出して、アナログ音声信号に変換するD/A変換部を備えたIP電話端末のデータ変換方法において、前記音声パケットデータの受信時刻を取得するとともに、最新の音声パケットデータの受信時刻と、前回の音声パケットデータの受信時刻とから、音声パケットデータの受信間隔を計算する第1の過程と、前記受信間隔に基づいて前記D/A変換部の変換速度を算出し、該変換速度で前記最新の音声パケットデータを変換するように前記D/A変換部を制御する第2の過程とを有することを特徴とする。
【0009】
【発明の実施の形態】
以下、図面を参照して本発明の実施の形態を説明する。
図1は、本発明の一実施形態に係るIP電話機1の受話ブロック10の概略構成を示すブロック図であり、図2はこの受話ブロック10を備えた、ITU−T勧告G.729を符号化方式とするIP電話機1の概略構成を示すブロック図である。
図1において、受話ブロック10は、受信した音声信号パケットを再生し、音波として再生する。受話ブロック10はパケット受信部100、復号部200、ジッタ吸収バッファ300、D/A変換部400、スピーカ500で構成される。パケット受信部で受信したパケットは復号部200で復号され、ジッタ吸収バッファ300にデータを一時蓄えた後、D/A変換部400で音声に変換されスピーカ500から出力される。
600はパケットの受信時刻を測定するクロック、700はパケットの受信間隔を計測する到着間隔計算部(計算手段、制御手段)である。
パケット受信部100は、パケットが到着すると、到着間隔計算部700にパケット受信トリガを送信するとともに、復号部200にデータを渡す。
【0010】
到着間隔計算部700の構成を図3に示す。到着間隔計算部700のクロック読み取り部710は、パケットを受信したトリガにより、クロック600から現在時刻を読み取る。そして、前回時刻記憶部720(記憶手段)にあらかじめ記録された前回のパケット受信時刻と、現在時刻の差を求め、前回到着したパケットと今回到着したパケットの到着間隔を計算する。
計算した到着間隔とプロトコル上規定の到着間隔の比
R=(測定した到着間隔)/(既定の到着間隔) ・・・(1)
を求め、プロトコル上規定の再生周波数FをR分だけ遅くした周波数F’
F’=F/R ・・・(2)
を求める。
到着間隔計算部700は、このF’をD/A変換部400に設定し、D/A変換部400は指定された周波数F’でジッタ吸収バッファ300から音声データを読み出し、音声として再生する。
D/A変換部は上記従来技術で説明した構成では、プロトコル上規定の一定の周波数で動作するのみであるが、本発明のD/A変換部は到着間隔計算部で設定された再生周波数で動作する。
【0011】
図2において、制御ブロック11は、電話機の全体の動作を制御するとともに、呼制御プロトコルITU−T H.323勧告に準拠したメッセージを、通話先の電話機またはゲートキーパとやりとりして、通話の接続・切断等を実現する。
送話ブロック12は、送話器121、A/D変換部122、バッファ123、符号化部124、パケット送信部125を有し、送話器121で入力された音声をパケット化し送信する。
物理レイヤー送受信部13は、受話ブロック10、制御ブロック11、送話ブロック12全ての機能で共通に使用し、インターネットとの接続、パケットの送受信を行う。
【0012】
次に、本発明の動作について説明する。
送話器121でアナログ電気信号に変換された音波は、A/D変換部122により8kHzの標本化周波数で、ディジタル信号に変換される。変換されたディジタル信号は一時バッファ123に蓄えられる。
符号化部124はバッファ123から入力された音声信号を、ITU−T勧告G.729に従い符号化する。ITU−T勧告G.729では10ミリ秒分の音声80サンプルを1フレームとし、1フレーム単位に符号化が行われる。符号化部124は、バッファ123から1フレーム分の符号列10オクテットをパケット送信部125に出力する。パケット送信部125では、IPパケットで符号化後の符号列を送信するために、IPヘッダ、UDPヘッダ、RTPヘッダを付与し、物理レイヤー送受信部13に送信する。パケットは、10ミリ秒単位に処理されて出力されるため、符号化処理の処理時間はほぼ一定であり、パケットは10ミリ秒間隔に送信される。
【0013】
物理レイヤー送受信部13が受信した音声パケットは、IPパケットのあて先アドレスおよびポート番号に基づいて受話ブロック10のパケット受信部100に受信される。パケット受信部100は、RTPヘッダ、UDPヘッダ、IPヘッダのデコード処理を行った後、パケットのペイロード(ITU−T勧告G.729の符号列)を復号部200に出力する。復号部200は、ITU−T勧告G.729符号列をもとの音声サンプル列に復号し、ジッタ吸収バッファ300に蓄積する。D/A変換部400は後に述べる方法で計算された標本化周波数で音声をアナログ信号に変換し、音声サンプル列は受話器500で音波として出力される。
以上の動作は、受信ブロック10のD/A変換部400が一定の標本化周波数で動作した場合、従来のIP電話機と同様である。
【0014】
パケット受信部100は、パケットを受信し、そのパケットが受信対象のパケットであると判断したときに、到着間隔計算部700にパケット到着トリガを送信する。到着間隔計算部700は、受信したパケット到着トリガによりクロック600から現在時刻を読み出し、先に記録しておいた前回のパケット到着トリガの受信時刻との差を計算する。この差が、パケットの到着間隔となる。
パケットが送信側から伝達するまでにジッタの発生しないような構成であれば、全てのパケットは10ミリ秒の間隔で到着するはずである。計算した到着間隔をdミリ秒とすると、理想の到着間隔10ミリとの比Rは(1)式より、
R=d/10
で求められる。
通常の再生周波数は8kHzであるから、D/A変換の周波数をR分だけ遅くした再生周波数F’[kHz]は、(2)式より次のように求められる。
F’=8/R
ただしパケット間隔は1パケット毎で観測すると、変動が大きくD/A変換部400の動作が不安定になることから、再生周波数の計算に用いる到着間隔は、観測された到着間隔の移動平均値d’を用いる。d’は過去n個の到着間隔の平均値である。
F’が下限周波数Fminを下回るときは、Fminで再生を行う。この場合、音切れが発生するかもしれないが、これ以下で再生することは音切れよりも悪い印象の再生となる。
もし、パケットの平均到着間隔が10ミリ秒のままで、ジッタだけが大きい場合、d’はほぼ10ミリ秒となり、再生はほぼ8kHzで行われる。
もし、帯域の減少、送話側処理時間の増大、送話側の動作周波数のずれなどにより、到着するパケットの平均到着間隔が10ミリからずれていた場合、それに対応した周波数での再生が行われ、音切れおよび音とびは発生しにくい。
【0015】
以上説明したように、本実施形態によれば、音声パケットデータの受信間隔を計算し、受信間隔に基づいて音声データの再生速度を制御するので、ジッタ吸収バッファにデータが蓄積されていないことによる音切れや、データがバッファの領域を使い切ることによる音飛びを防止することができる。
【0016】
以上、本発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、本発明の要旨を逸脱しない範囲の設計変更等も含まれる。
【0017】
【発明の効果】
以上の説明で明らかなように、送信側と受信側との動作周波数と伝送の遅延の揺らぎを考慮して受信側の動作周波数を制御するために、本発明によれば、音声パケットデータをジッタ吸収バッファから読み出してアナログ信号に変換するD/A変換部を備えたIP電話端末において、受信した音声パケットデータの受信時刻から受信間隔を計算し、該受信間隔からD/A変換部の変換速度を算出し、該変換速度で最新の音声パケットデータを変換するようにD/A変換部を制御するので、ジッタ吸収バッファにデータが蓄積されていないことによって起こる音切れや、データがジッタ吸収バッファの領域からあふれることによって起こる音飛びを容易に発生防止することができる。
また、送信側と受信側のクロック同期のためにRTCPを利用する機構を必要とせず、簡便である。
【図面の簡単な説明】
【図1】本発明の一実施形態に係るIP電話機1の受話ブロック10の概略構成を示すブロック図である。
【図2】同実施形態におけるIP電話機1の概略構成を示すブロック図である。
【図3】同実施形態における到着間隔計算部700の概略構成を示すブロック図である。
【符号の説明】
10…受話ブロック、100…パケット受信部、200…復号部、300…ジッタ吸収バッファ、400…D/A変換部、500…受話器、600…クロック、700…到着間隔計算部、1…IP電話機、11…制御ブロック、12…送話ブロック、13…物理レイヤー送受信部、121…送話器、122…A/D変換部、123…バッファ、124…符号化部、125…パケット送信部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an IP telephone terminal using the Internet and a data conversion method thereof.
[0002]
[Prior art]
In an IP telephone, a jitter absorption buffer is generally used in order to prevent variations in packet arrival intervals (jitter) from affecting voice reproduction.
The audio is converted into a digital code string by an A / D conversion unit, subjected to a process such as compression in an encoding unit, divided into packets, and transmitted from a packet transmission unit. Generally, packet division is performed at substantially equal intervals, and packets are transmitted at substantially equal intervals.
Queues and the like of the transmitted packets occur randomly in the network, and when arriving at the receiving side, the arrival intervals vary.
The packet received by the packet receiving unit is decoded by the decoding unit, and is converted into voice by the D / A conversion unit. In the case of an IP telephone without a jitter buffer, if the arrival interval between packets is long, a sound break occurs during the interval.
[0003]
When a jitter buffer is provided, audio data is temporarily stored in the jitter absorption buffer without immediately starting data conversion after receiving and decoding the first packet. Thus, when packets arrive at the same interval as the transmission interval, the amount stored in the buffer is constant, and when packets arrive at an interval shorter than the transmission interval, the amount stored in the buffer is temporary. To increase. When packets arrive at intervals longer than the transmission interval, the amount stored in the buffer decreases, but no sound interruption occurs as long as there is data in the buffer.
[0004]
In some conventional techniques, the amount of accumulation in the jitter buffer is dynamically changed. In addition, a method of synchronizing the encoding clock and the reproduction clock using the time information and the number of received bytes included in the encoded stream, and a method using the time information included in the MPEG-2 stream for synchronization (for example, There is a technique that synchronizes both transmission and reception clocks by exchanging clock synchronization packets (see, for example, Patent Document 2).
[0005]
[Patent Document 1]
JP-A-8-307863 [Patent Document 2]
JP-A-6-30043
[Problems to be solved by the invention]
The above-described method of preventing sound interruption using the jitter buffer presupposes that the average arrival interval and the reproduction speed are almost equal, although the arrival intervals of the received packets vary temporarily.
If the packet arrival interval continues to be longer than the length of the audio data included in the packet content in a long cycle, the amount of data stored by the jitter absorbing buffer gradually decreases, and the buffer storage amount becomes zero. The sound break occurs at the point when it becomes.
The above phenomenon is caused, for example, when the communication band becomes smaller than the band required for voice transmission for a long period of time, or the processing load on the transmission side increases, and the time required for encoding the audio data represented by the code Occurs when the length becomes longer than the length. The above phenomenon also occurs when the operating frequency of the transmitting side is lower than that of the receiving side due to an error.
Also, when the operating frequency of the transmitting side is faster than that of the receiving side due to an error, the data amount of the jitter absorption buffer gradually increases, and if the area prepared in the buffer is used up, data overflow due to buffer overflow occurs. As a result, sound skips occur.
In addition, RTP (Real Time Transport Protocol) (IETF RFC1889) provides a method for exchanging information for detecting a difference in operating frequency between a transmitting side and a transmitting side using RTCP (Real Time Transport Control Protocol). Is used to calculate the difference between the operating frequency on the transmitting side and the operating frequency on the receiving side, and also requires an operation to remove the effect of fluctuations in transmission delay, so that the processing is complicated.
The present invention has been made in view of such a point, and an IP telephone which calculates a packet reception interval and drives a D / A conversion unit at a conversion speed in accordance with the reception interval to thereby prevent sound cutoff. It aims to provide terminals.
[0007]
[Means for Solving the Problems]
In order to achieve the above object, the IP telephone terminal according to claim 1, reads out the voice packet data from a jitter absorption buffer for temporarily storing received voice packet data, and converts the voice packet data into an analog voice signal. In the IP telephone terminal provided with the unit, the reception time of the voice packet data is obtained, and the reception interval of the voice packet data is calculated from the reception time of the latest voice packet data and the reception time of the previous voice packet data. Calculating means for calculating the conversion rate of the D / A conversion section based on the reception interval, and controlling the D / A conversion section to convert the latest voice packet data at the conversion rate. And characterized in that:
[0008]
According to a second aspect of the present invention, there is provided a data conversion method for an IP telephone terminal comprising a D / A converter for reading out the voice packet data from a jitter absorption buffer for temporarily storing received voice packet data and converting the voice packet data into an analog voice signal. A first step of obtaining a reception time of the audio packet data, calculating a reception interval of the audio packet data from a reception time of the latest audio packet data and a reception time of the previous audio packet data; Calculating a conversion speed of the D / A conversion unit based on the reception interval, and controlling the D / A conversion unit to convert the latest voice packet data at the conversion speed. It is characterized by the following.
[0009]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a schematic configuration of a receiving block 10 of an IP telephone 1 according to an embodiment of the present invention, and FIG. FIG. 1 is a block diagram illustrating a schematic configuration of an IP telephone 1 that uses 729 as an encoding method.
In FIG. 1, a receiving block 10 reproduces a received audio signal packet and reproduces it as a sound wave. The receiving block 10 includes a packet receiving unit 100, a decoding unit 200, a jitter absorption buffer 300, a D / A conversion unit 400, and a speaker 500. The packet received by the packet receiving unit is decoded by the decoding unit 200, and the data is temporarily stored in the jitter absorption buffer 300, then converted into audio by the D / A conversion unit 400, and output from the speaker 500.
Reference numeral 600 denotes a clock for measuring a packet reception time, and 700 denotes an arrival interval calculation unit (calculation means, control means) for measuring a packet reception interval.
When the packet arrives, the packet receiving unit 100 transmits a packet reception trigger to the arrival interval calculating unit 700 and passes data to the decoding unit 200.
[0010]
FIG. 3 shows the configuration of the arrival interval calculation unit 700. The clock reading unit 710 of the arrival interval calculation unit 700 reads the current time from the clock 600 by a trigger that has received a packet. Then, the difference between the previous packet reception time previously recorded in the previous time storage unit 720 (storage means) and the current time is obtained, and the arrival interval between the previously arrived packet and the currently arrived packet is calculated.
Ratio of calculated arrival interval to arrival interval specified in protocol R = (measured arrival interval) / (predetermined arrival interval) (1)
And a frequency F ′ obtained by delaying the reproduction frequency F specified in the protocol by R.
F '= F / R (2)
Ask for.
The arrival interval calculation section 700 sets this F 'in the D / A conversion section 400, and the D / A conversion section 400 reads out the audio data from the jitter absorption buffer 300 at the designated frequency F' and reproduces it as audio.
In the configuration described in the above-mentioned prior art, the D / A converter only operates at a constant frequency specified in the protocol, but the D / A converter of the present invention operates at the reproduction frequency set by the arrival interval calculator. Operate.
[0011]
In FIG. 2, a control block 11 controls the entire operation of the telephone, and furthermore, controls a call control protocol ITU-TH. A message conforming to the H.323 recommendation is exchanged with a telephone or a gatekeeper of a called party to realize connection / disconnection of a call.
The transmission block 12 includes a transmission device 121, an A / D conversion unit 122, a buffer 123, an encoding unit 124, and a packet transmission unit 125, and packetizes the voice input by the transmission device 121 and transmits the packet.
The physical layer transmission / reception unit 13 is used in common by all functions of the reception block 10, the control block 11, and the transmission block 12, and performs connection to the Internet and transmission / reception of packets.
[0012]
Next, the operation of the present invention will be described.
The sound wave converted to an analog electric signal by the transmitter 121 is converted to a digital signal by the A / D converter 122 at a sampling frequency of 8 kHz. The converted digital signal is stored in the temporary buffer 123.
Encoding section 124 converts the audio signal input from buffer 123 into ITU-T Recommendation G. 729. ITU-T Recommendation G. In 729, encoding is performed in units of one frame with 80 frames of audio for 10 milliseconds as one frame. The encoding unit 124 outputs the code string 10 octets for one frame from the buffer 123 to the packet transmitting unit 125. The packet transmission unit 125 adds an IP header, a UDP header, and an RTP header in order to transmit the encoded code sequence in the IP packet, and transmits the IP packet to the physical layer transmission / reception unit 13. Since the packet is processed and output in units of 10 milliseconds, the processing time of the encoding process is substantially constant, and the packet is transmitted at intervals of 10 milliseconds.
[0013]
The voice packet received by the physical layer transmission / reception unit 13 is received by the packet reception unit 100 of the reception block 10 based on the destination address and the port number of the IP packet. After decoding the RTP header, the UDP header, and the IP header, the packet receiving unit 100 outputs the payload of the packet (a code string according to ITU-T Recommendation G.729) to the decoding unit 200. Decoding section 200 is based on ITU-T Recommendation G. The 729 code string is decoded into the original audio sample string and stored in the jitter absorption buffer 300. The D / A converter 400 converts the voice into an analog signal at the sampling frequency calculated by a method described later, and the voice sample sequence is output as a sound wave by the receiver 500.
The above operation is the same as that of a conventional IP telephone when D / A conversion section 400 of receiving block 10 operates at a fixed sampling frequency.
[0014]
The packet receiving unit 100 receives a packet, and transmits a packet arrival trigger to the arrival interval calculation unit 700 when determining that the packet is a packet to be received. The arrival interval calculation unit 700 reads the current time from the clock 600 by the received packet arrival trigger, and calculates the difference from the previously recorded reception time of the previous packet arrival trigger. This difference is the packet arrival interval.
If the configuration is such that no jitter occurs before the packet is transmitted from the transmitting side, all packets should arrive at an interval of 10 milliseconds. Assuming that the calculated arrival interval is d milliseconds, the ratio R to the ideal arrival interval of 10 millimeters is given by the following equation (1).
R = d / 10
Is required.
Since the normal reproduction frequency is 8 kHz, the reproduction frequency F ′ [kHz] obtained by delaying the frequency of the D / A conversion by R is obtained as follows from equation (2).
F '= 8 / R
However, when the packet interval is observed for each packet, the operation of the D / A converter 400 becomes unstable when the packet interval is changed, and the operation of the D / A converter 400 becomes unstable. Use '. d 'is the average value of the past n arrival intervals.
When F ′ falls below the lower limit frequency Fmin, reproduction is performed at Fmin. In this case, the sound may be interrupted, but the reproduction below this will give a worse impression than the reproduction of the sound.
If the average arrival interval of the packets remains at 10 ms and only the jitter is large, d 'is about 10 ms, and the reproduction is performed at about 8 kHz.
If the average arrival interval of arriving packets deviates from 10 mm due to a decrease in the bandwidth, an increase in the processing time of the transmitting side, or a shift in the operating frequency of the transmitting side, reproduction at the corresponding frequency is performed. Breaks and skips are less likely to occur.
[0015]
As described above, according to the present embodiment, the reception interval of the audio packet data is calculated, and the reproduction speed of the audio data is controlled based on the reception interval, so that the data is not accumulated in the jitter absorption buffer. It is possible to prevent skipping of a sound or skipping of a sound due to the data using up the buffer area.
[0016]
As described above, the embodiments of the present invention have been described in detail with reference to the drawings. However, the specific configuration is not limited to the embodiments, and may include a design change or the like without departing from the gist of the present invention.
[0017]
【The invention's effect】
As is apparent from the above description, according to the present invention, in order to control the operating frequency of the receiving side in consideration of the fluctuation of the operating frequency of the transmitting side and the receiving side and the fluctuation of the transmission delay, the voice packet data is jittered according to the present invention. In an IP telephone terminal provided with a D / A conversion unit that reads out from an absorption buffer and converts it into an analog signal, a reception interval is calculated from the reception time of the received voice packet data, and the conversion speed of the D / A conversion unit is calculated from the reception interval. Is calculated, and the D / A conversion unit is controlled so as to convert the latest voice packet data at the conversion speed. Sound skipping caused by overflowing from the area can be easily prevented.
In addition, there is no need for a mechanism using RTCP for clock synchronization between the transmitting side and the receiving side, which is simple.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a schematic configuration of a receiving block 10 of an IP telephone 1 according to an embodiment of the present invention.
FIG. 2 is a block diagram showing a schematic configuration of an IP telephone 1 according to the embodiment.
FIG. 3 is a block diagram showing a schematic configuration of an arrival interval calculation unit 700 in the embodiment.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 10 ... Receiving block, 100 ... Packet receiving part, 200 ... Decoding part, 300 ... Jitter absorption buffer, 400 ... D / A conversion part, 500 ... Handset, 600 ... Clock, 700 ... Arrival interval calculation part, 1 ... IP telephone, 11 control block, 12 transmission block, 13 physical layer transmission / reception section, 121 transmission section, 122 A / D conversion section, 123 buffer, 124 encoding section, 125 packet transmission section

Claims (2)

受信した音声パケットデータを一時蓄積するジッタ吸収バッファから前記音声パケットデータを読み出して、アナログ音声信号に変換するD/A変換部を備えたIP電話端末において、
前記音声パケットデータの受信時刻を取得するとともに、最新の音声パケットデータの受信時刻と、前回の音声パケットデータの受信時刻とから、音声パケットデータの受信間隔を計算する計算手段と、
前記受信間隔に基づいて前記D/A変換部の変換速度を算出し、該変換速度で前記最新の音声パケットデータを変換するように前記D/A変換部を制御する制御手段と
を有することを特徴とするIP電話端末。
An IP telephone terminal including a D / A conversion unit that reads out the audio packet data from a jitter absorption buffer that temporarily stores received audio packet data and converts the audio packet data into an analog audio signal.
Calculating means for acquiring the reception time of the voice packet data, calculating the reception time of the voice packet data from the reception time of the latest voice packet data and the reception time of the previous voice packet data,
Control means for calculating a conversion speed of the D / A conversion unit based on the reception interval, and controlling the D / A conversion unit to convert the latest voice packet data at the conversion speed. Characteristic IP telephone terminal.
受信した音声パケットデータを一時蓄積するジッタ吸収バッファから前記音声パケットデータを読み出して、アナログ音声信号に変換するD/A変換部を備えたIP電話端末のデータ変換方法において、
前記音声パケットデータの受信時刻を取得するとともに、最新の音声パケットデータの受信時刻と、前回の音声パケットデータの受信時刻とから、音声パケットデータの受信間隔を計算する第1の過程と、
前記受信間隔に基づいて前記D/A変換部の変換速度を算出し、該変換速度で前記最新の音声パケットデータを変換するように前記D/A変換部を制御する第2の過程と
を有することを特徴とするIP電話端末のデータ変換方法。
A data conversion method for an IP telephone terminal comprising a D / A converter for reading the voice packet data from a jitter absorption buffer for temporarily storing received voice packet data and converting the voice packet data into an analog voice signal.
A first step of obtaining a reception time of the audio packet data, calculating a reception interval of the audio packet data from a reception time of the latest audio packet data and a reception time of the previous audio packet data;
Calculating a conversion speed of the D / A conversion unit based on the reception interval, and controlling the D / A conversion unit to convert the latest voice packet data at the conversion speed. A data conversion method for an IP telephone terminal.
JP2003009670A 2003-01-17 2003-01-17 IP telephone terminal and data conversion method thereof Pending JP2004222150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003009670A JP2004222150A (en) 2003-01-17 2003-01-17 IP telephone terminal and data conversion method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003009670A JP2004222150A (en) 2003-01-17 2003-01-17 IP telephone terminal and data conversion method thereof

Publications (1)

Publication Number Publication Date
JP2004222150A true JP2004222150A (en) 2004-08-05

Family

ID=32899099

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003009670A Pending JP2004222150A (en) 2003-01-17 2003-01-17 IP telephone terminal and data conversion method thereof

Country Status (1)

Country Link
JP (1) JP2004222150A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009212877A (en) * 2008-03-05 2009-09-17 Nec Corp Ts receiving device and timing regenerating method for use therein
JP2010035003A (en) * 2008-07-30 2010-02-12 Nec Corp Jitter buffer control method and communication apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009212877A (en) * 2008-03-05 2009-09-17 Nec Corp Ts receiving device and timing regenerating method for use therein
JP2010035003A (en) * 2008-07-30 2010-02-12 Nec Corp Jitter buffer control method and communication apparatus

Similar Documents

Publication Publication Date Title
FI108692B (en) Method and apparatus for scheduling processing of data packets
US8081614B2 (en) Voice transmission apparatus
CN102668466B (en) Method for scheduling transmission in communication network and corresponding communication node
JP4367657B2 (en) Voice communication method and apparatus
WO2006054442A1 (en) Transmitting apparatus, receiving apparatus and communication system
CN100525281C (en) Method of realizing dynamic adjusting dithered buffer in procedure of voice transmission
US7346005B1 (en) Adaptive playout of digital packet audio with packet format independent jitter removal
KR20100094537A (en) Radio communication device
US7729391B2 (en) Transmitting device with discard control of specific media data
JP3838511B2 (en) Video compression encoding transmission / reception device
US20080247413A1 (en) Communication apparatus and communication method
US6937603B1 (en) Optimizing buffer latency in a streamed packet delivery session
US7769054B2 (en) Method of conducting a communications session using incorrect timestamps
JP2004222150A (en) IP telephone terminal and data conversion method thereof
US20130142192A1 (en) Voice communication apparatus for intermittently discarding packets
JP4050961B2 (en) Packet-type voice communication terminal
JP4667811B2 (en) Voice communication apparatus and voice communication method
KR100939128B1 (en) Terminal and method for video call
JPH10190735A (en) Call system
JP4637757B2 (en) Mobile communication system, base station apparatus, and control method for base station apparatus
JP4655870B2 (en) Packet transmission / reception system and elapsed time measurement method
JP4457841B2 (en) Transmission apparatus, transmission program, and transmission method for controlling coding rate
JP2002354537A (en) Communication system
JP4684247B2 (en) Voice communication method and voice communication apparatus
JP3669660B2 (en) Call system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050712

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081010

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081021

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081222

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090707