JP2003218932A - Error concealment apparatus and method - Google Patents

Error concealment apparatus and method

Info

Publication number
JP2003218932A
JP2003218932A JP2002330986A JP2002330986A JP2003218932A JP 2003218932 A JP2003218932 A JP 2003218932A JP 2002330986 A JP2002330986 A JP 2002330986A JP 2002330986 A JP2002330986 A JP 2002330986A JP 2003218932 A JP2003218932 A JP 2003218932A
Authority
JP
Japan
Prior art keywords
packet
error concealment
signal
error
algorithm
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
JP2002330986A
Other languages
Japanese (ja)
Inventor
Pei Yen Chia
エン・チイ ペイ
Yu Tan Peku
ユー・タン ペク
Masaki Sato
正樹 佐藤
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2002330986A priority Critical patent/JP2003218932A/en
Publication of JP2003218932A publication Critical patent/JP2003218932A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a most appropriate error concealment method capable of being dynamically selected during run time at a reception side. <P>SOLUTION: This invention provides the method and the apparatus for enabling dynamic selection and application of various error concealment techniques. A plurality of algorithms for concealing an error are prepared and one of the algorithms is used for concealing the error. A selection signal determines which of the algorithms is to be selected. The selection signal is created according to various parameters indicating computer processing capability and audio signal characteristics. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、損失パケットが受
信側の障害の主要な原因であるパケット網でのリアルタ
イムストリーミングの分野に適用される受信信号のエラ
ー隠蔽方法、及びエラー隠蔽方法を選択する装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention selects a received signal error concealment method and an error concealment method applied to the field of real-time streaming in a packet network in which lost packets are a major cause of failure on the receiving side. Regarding the device.

【0002】[0002]

【従来の技術】従来、オーディオデータに対するエラー
隠蔽技術について、多くの研究が広範囲に行われた。こ
れらの方法のほとんどは、受信側で欠落したパケットを
再構成する方式、送信側で欠落したパケットを再構成す
る方式、または送受信側で欠落したパケットを再構成す
る方式に分類することができる。それらは、例えば、非
特許文献1,2,3,4に示されている。
2. Description of the Related Art Heretofore, much research has been extensively conducted on error concealment technology for audio data. Most of these methods can be classified into a method of reconstructing a packet lost on the receiving side, a method of reconstructing a packet lost on the transmitting side, or a method of reconstructing a packet lost on the transmitting / receiving side. They are shown in Non-Patent Documents 1, 2, 3, and 4, for example.

【非特許文献1】1986年3月に発行された「IEE
E Transaction on Acoustic
s,Speech and Signal Proces
sing」の第36巻、第3号(Vol.36、No
3)に開示されているO.J.Wasem、D.J.G
oodman、C.A.Dvorak、及びH.G.P
ageによる「The Effect of Wavef
orm Substitution on the Qua
lity of PCM Packet Communic
ations(PCMパケット通信の品質に対する波形
代替の効果)」
[Non-Patent Document 1] "IEEE" issued in March 1986.
E Transaction on Acoustic
s, Speech and Signal Proces
36 ", No. 3, Vol. 36, No.
O. disclosed in 3). J. Wasem, D.M. J. G
oodman, C.I. A. Dvorak, and H.M. G. P
"The Effect of Wavef"
orm Substitution on the Qua
light of PCM Packet Communic
applications (effect of waveform substitution on quality of PCM packet communication) ”

【非特許文献2】1998年9/10月のIEEE N
etworkに開示されているColin Perki
ns、Orion Hodson、及びVicky Ha
rdmanによる「A Survey of Packe
t Loss Recovery Techniques
for Streaming Audio(ストリーミン
グオーディオに対するパケット損失回復技術の調査)」
[Non-Patent Document 2] IEEE N, September / October 1998
Colin Perki disclosed in the network
ns, Orion Hodson, and Vicky Ha
"A Survey of Packe" by rdman
t Loss Recovery Technologies
for Streaming Audio (Survey of packet loss recovery technology for streaming audio) "

【非特許文献3】R.A ValenzuelaとC.
N.Animaluによる「A newVoice Pa
cket Reconstruction Techni
que(新しい音声パケット再構成技術)」
[Non-Patent Document 3] R. A Valenzuela and C.I.
N. "A new Voice Pa by Animalu
ccket Reconstruction Techni
que (new voice packet reconstruction technology) "

【非特許文献4】1995年のINET会報に開示され
ているV.Hardman、A.Sasse、M.Ha
ndley、及びA.Watsonによる「Relia
bleAudio for Use over Inter
net(インターネットを介して使用される信頼性のあ
るオーディオ)」
[Non-Patent Document 4] V. Hardman, A .; Sasse, M .; Ha
ndley, and A. "Relia by Watson
bleAudio for Use over Inter
net (reliable audio used over the Internet) "

【非特許文献5】3GPP TS 26094 V4.
0.0 (2001‐3)
[Non-Patent Document 5] 3GPP TS 26094 V4.
0.0 (2001-3)

【非特許文献6】Petre Pollak、Pave
l Sovka、及びJam UhlirによるCeps
tral Speech/Pause Detector
[Non-Patent Document 6] Petre Pollak, Pave
l Sovka, and Ceps by Jam Uhril
tral Speech / Pause Detector
s

【非特許文献7】1993年のIEEEにおいて開示さ
れた、Werner VerhelstとMarch R
oelandsによる「An Overlap Tech
nique based on Waveform Sim
ilarity (WSOLA) for High Qu
ality Time‐Scale Modificat
ion of Speech(音声の高品質タイムスケー
ル修正のための波形類似性に基づくオーバーラップ技
術)」
[Non-Patent Document 7] Werner Verhelst and March R disclosed in IEEE of 1993.
"An Overlap Tech" by olands
nice based on Waveform Sim
ilarity (WSOLA) for High Qu
Ability Time-Scale Modicat
ion of Speech (overlap technology based on waveform similarity for high quality timescale correction of speech) "

【0003】[0003]

【発明が解決しようとする課題】受信側で、欠落したパ
ケットを再構成することは、送信側で、欠落したパケッ
トを再構成するよりも簡単であるが、パケットが欠落す
る頻度が少なく、かつパケットサイズが小さい場合にの
み有効である。他方の送信側で欠落したパケットを再構
成する方式は、送信パケットに冗長性、すなわちそのデ
ータパケットに付加情報を追加するものであり、余分な
帯域幅が必要となるか、または、終端間遅延がより長く
なる(非特許文献1、2参照)。
Reconstructing a missing packet on the receiving side is easier than reconstructing the missing packet on the transmitting side, but the frequency of packet loss is low, and Effective only when the packet size is small. The method of reconstructing the packet lost at the other transmission side is redundancy, that is, additional information is added to the data packet, which requires extra bandwidth or end-to-end delay. Becomes longer (see Non-Patent Documents 1 and 2).

【0004】送信側で、欠落したパケットを再構成する
方法の場合、多くの付加情報の追加が要求される。非特
許文献4,7に示されるように、その付加情報の追加
は、各々のパケットへのシーケンス番号の追加、パケッ
トが欠落になったときの再伝送要求の追加、または、再
伝送されるパケットについては低いビットレートで符号
化要求の追加が含まれ、煩雑である。
In the case of the method of reconstructing a lost packet on the transmitting side, it is required to add a lot of additional information. As shown in Non-Patent Documents 4 and 7, the additional information is added by adding a sequence number to each packet, adding a retransmission request when a packet is lost, or a packet to be retransmitted. Is complicated because it involves the addition of a coding request at a low bit rate.

【0005】送受信側で、欠落したパケットを再構成す
る方式は、受信側ベースの再構成、及び送信側ベースの
再構成の両方の長所を併せ持つことがねらいであるが、
エラー隠蔽技術が静的で、ランタイムに変化させること
ができない。
The method of reconstructing a lost packet on the transmitting and receiving side has the advantage of both the reconstructing of the receiving side base and the reconstructing of the transmitting side base.
The error concealment technique is static and cannot be changed at runtime.

【0006】本発明の目的は、受信側で、最も適当なエ
ラー隠蔽方法をランタイムに動的に選択できるようにす
ることである。
It is an object of the invention to allow the receiving side to dynamically select the most suitable error concealment method at runtime.

【0007】[0007]

【課題を解決するための手段】欠落となっている間隔
は、できるだけ適当な代替で満たされなければならな
い。音声パケット網において、満たすべきデータは、無
音(silence)、または、推定、および環境要因
に基づいて再構成されるデータの形をとってもよい。異
なる損失パターン対しては異なるエラー隠蔽技術が有効
であるため、エラー隠蔽の実行に先立ち、「ダイナミッ
クセレクタ」を追加することによって、その損失パター
ン、および他の環境条件を評価することは、より良い結
末をもたらす。
The gaps that are missing must be filled with the most appropriate alternatives. In a voice packet network, the data to be filled may be in the form of silence or reconstructed data based on estimation and environmental factors. Since different error concealment techniques are effective for different loss patterns, it is better to evaluate that loss pattern and other environmental conditions by adding a "dynamic selector" prior to performing error concealment. Bring an ending.

【0008】本発明は、損失エラーパターンや、ネット
ワーク及び資源レベルの現在の条件に基づき、受信側
で、最も適当な方法を選択することによって、既知のエ
ラー隠蔽方法の利用度を最大限にする。
The present invention maximizes the utility of known error concealment methods by selecting the most appropriate method at the receiver, based on the loss error pattern and the current conditions of network and resource levels. .

【0009】また、本発明は、使用するエラー隠蔽技術
を決定する選択基準を提供する。インターネットにおけ
る既存のIPプロトコルは、サービス保証の品質を全く
提供しない、コネクションレス、かつ最善努力のプロト
コルである。リアルタイムストリーミング用途の場合
に、バースト損失に対応するために、最も良いエラー隠
蔽方法が使用できるが、輻輳が起こるとき、または受信
装置の資源が急に欠乏するとき、本発明を用いれば、よ
り低級の計算方法への切替をランタイムの間に達成する
ことができる。
The present invention also provides selection criteria that determine which error concealment technique to use. The existing IP protocol on the Internet is a connectionless and best effort protocol that offers no quality of service guarantee. For real-time streaming applications, the best error concealment method can be used to deal with burst loss, but when congestion occurs, or when the receiver resources are suddenly depleted, the present invention provides lower A switch to the calculation method of can be achieved during runtime.

【0010】本発明は、パケット分解時に種々の方法を
用いてエラーを隠蔽する装置を提供する。バースト損失
の場合には、連続する損失セグメントに渡って種々の技
術が使用されてもよい。
The present invention provides an apparatus for concealing errors using various methods during packet decomposition. In the case of burst loss, various techniques may be used over consecutive loss segments.

【0011】また、本発明は、損失パターンの特性を利
用して、どの技術が使用されるべきかを決定する方法を
提供する。IPアプリケーション上の音声において、そ
の損失の前に音声信号が検出されるとき、隣接信号の情
報に基づいて再構成される信号が使用される。もし、損
失の前に非音声信号が検出されるなら、低電力ノイズセ
グメントまたは無音が使用される。
The present invention also provides a method of utilizing the characteristics of loss patterns to determine which technique should be used. In voice over IP applications, when a voice signal is detected before its loss, a signal reconstructed based on the information of the neighboring signals is used. If a non-voice signal is detected before the loss, a low power noise segment or silence is used.

【0012】上記の課題を解決するために、発明された
装置は、現在の資源レベル情報、及び損失パケット情報
を用いる。本発明の装置は、音声信号、または非音声信
号のいずれかである良好な信号のセグメントを検出する
音声検出器を備える。そのような音声検出器は、例え
ば、非特許文献5,6に記載されているものである。
To solve the above problems, the invented device uses the current resource level information and lost packet information. The device of the invention comprises a speech detector which detects segments of the good signal which are either speech signals or non-speech signals. Such a voice detector is, for example, one described in Non-Patent Documents 5 and 6.

【0013】音声信号に対するエラー隠蔽は、利用可能
なエラー隠蔽アルゴリズムの集合から選択される。選択
基準は、受信側における現在の活動状態、及び現在の利
用可能な資源レベルを得る。もし、利用可能な資源が低
いなら、CPU資源をほとんど使用しないエラー隠蔽が
使用される。種々のアルゴリズムに対し、それらの複雑
さに応じて、種々のレベルの閾値が設定される。
Error concealment for speech signals is selected from the set of available error concealment algorithms. The selection criteria obtains the current activity status at the receiver and the current available resource level. If the resources available are low, error concealment, which uses very little CPU resources, is used. Different levels of thresholds are set for different algorithms, depending on their complexity.

【0014】非音声信号は、各々のアルゴリズムに関連
した閾値レベルをもつ別々のアルゴリズムの集合を有す
る。
The non-speech signal has a separate set of algorithms with threshold levels associated with each algorithm.

【0015】本発明は、パケット網においてエラーを隠
蔽する最も適当な技術を選択するセレクタモジュールを
含む。そのセレクタは、「音声検出」モジュール等の他
のモジュールの結果を利用する。音声検出モジュール
は、テンプレートデータの音声セグメント、及び非音声
セグメントを調べる。そのテンプレートデータは、前の
パケットからのデータパケットである。エラー隠蔽方法
の種々の集合が、音声セグメント、及び非音声セグメン
トを処理するために使用される。また、セレクタは、既
存の環境条件を考慮し、資源が不足している時、より簡
単なアルゴリズムを使用するかどうかを判断する。エラ
ー隠蔽方法が効率良く働くために、2つの方法で解析が
行われる。それは、短期間解析と長期間解析である。短
期間解析は、セレクタモジュールにおいてバッファされ
るオーディオパケットに基づくエラー損失に基づいてな
される。長期間解析は、受信機に送信するパケット損失
の知識と共に、受信機または信頼性のあるネットワーク
ノードによって収集される統計に基づいてなされる。
The present invention includes a selector module that selects the most appropriate technique for concealing errors in a packet network. The selector utilizes the results of other modules such as the "voice detection" module. The voice detection module looks at the voice segment and the non-voice segment of the template data. The template data is the data packet from the previous packet. Different sets of error concealment methods are used to handle speech and non-speech segments. Also, the selector considers the existing environmental conditions and decides whether to use a simpler algorithm when resources are scarce. In order for the error concealment method to work efficiently, analysis is performed in two ways. It is a short-term analysis and a long-term analysis. The short term analysis is based on the error loss based on the audio packets buffered in the selector module. Long-term analysis is done based on statistics collected by the receiver or a trusted network node, along with knowledge of packet loss to send to the receiver.

【0016】本発明に係る第1の選択装置は、受信側に
おいて、デジタルオーディオをリアルタイムで復号でき
るように、パケット交換網を介して配信されるデジタル
化されたオーディオ信号の損失を隠蔽する最も適当なエ
ラー隠蔽方法を選択する装置である。この装置は、パケ
ットバッファリングの実行に使用されるパケットオーデ
ィオバッファと、特定の時間フレームの間に受信される
損失パケットのパターンの決定に使用される損失パター
ン検出器と、デジタル化されたオーディオ信号の時間的
特性を抽出するオーディオ信号解析器と、前記のパケッ
トオーディオバッファ、損失パターン検出器、及びオー
ディオ信号解析器から生じる結果に基づいて、最終的な
エラー隠蔽アルゴリズムを選択するエラー隠蔽セレクタ
とから成る。
The first selection device according to the present invention is most suitable for concealing the loss of the digitized audio signal distributed via the packet switching network so that the digital audio can be decoded in real time at the receiving side. A device for selecting a proper error concealment method. This equipment includes a packet audio buffer used to perform packet buffering, a loss pattern detector used to determine the pattern of lost packets received during a particular time frame, and a digitized audio signal. And an error concealment selector that selects a final error concealment algorithm based on the results produced by the packet audio buffer, the loss pattern detector, and the audio signal analyzer. Become.

【0017】好ましくは、前記の選択装置において、前
記の損失パターン検出器は、データパケットがカプセル
化するデジタル信号の長さ(バイト数、ビット数等)を
表わすパケットサイズと、固定長、または可変長のデジ
タル信号を単位時間にカプセル化するために使用される
連続したパケット損失の数と、2つのパケット損失間の
時間において測定されるデジタル信号を象徴化するパケ
ット間隔、または実質的にこれに対応する信号(ビット
数等)とを測定する。さらに、前記の損失パターン検出
器は、前記のパケットサイズ、連続するパケット損失の
数、及びパケット間隔または実質的にこれに対応する信
号から成るフォーマットを用いて、オーディオまたは音
声のストリームのエラーパケットの発生を報告する。
Preferably, in the selection device, the loss pattern detector has a packet size representing a length (number of bytes, number of bits, etc.) of a digital signal encapsulated by a data packet, a fixed length, or a variable size. The number of consecutive packet losses used to encapsulate a long digital signal in a unit of time and the packet spacing symbolizing the digital signal measured in the time between two packet losses, or substantially this Measure the corresponding signal (number of bits, etc.). Further, the loss pattern detector uses the packet size, the number of consecutive packet losses, and the packet interval or a format corresponding to the signal corresponding to the packet size to detect error packets in an audio or voice stream. Report an outbreak.

【0018】本発明に係る第1の方法は、前記のパケッ
トオーディオバッファ、及び損失パターン検出器におい
て使用される、損失パケットの特性を決定する方法であ
る。この方法は、固定長、または可変長のデジタル化さ
れた信号を単位時間でカプセル化された、前の良好パケ
ットをバッファするステップと、固定長、または可変長
のデジタル化された信号を単位時間でカプセル化され
た、次の良好パケットをバッファするステップと、固定
長、または可変長のデジタル化された信号を単位時間で
カプセル化された連続した損失パケットの数を決定する
ステップと、固定長、または可変長のデジタル化された
信号を単位時間でカプセル化された、前の良好パケット
のパターンを決定するステップと、固定長、または可変
長のデジタル化された信号を単位時間でカプセル化され
た、後続の良好パケットのパターンを決定するステップ
とから成る。
A first method according to the present invention is a method for determining characteristics of a lost packet used in the packet audio buffer and the loss pattern detector. This method consists of buffering the previous good packet, which encapsulates a fixed-length or variable-length digitized signal in unit time, and a fixed-length or variable-length digitized signal in unit time. Buffering the next good packet, encapsulated in, and determining the number of consecutive lost packets encapsulating a fixed-length or variable-length digitized signal per unit time; Encapsulating a variable-length digitized signal in a unit of time, determining the pattern of the previous good packet, and encapsulating a fixed-length or variable-length digitized signal in a unit of time. And determining the pattern of subsequent good packets.

【0019】本発明に係る第2の方法は、単位時間また
は他の特定時間(可変時間等)における統計を生成する
ことにより、任意の期間中に計算、または測定されるデ
ジタル信号損失に数値を与えることによって、エラー損
失パターンの記述を提供するパターン記述方法である。
前記の統計は、損失間の間隔が、2つのデジタル信号損
失間の時間、または、パケットの単位で表現した距離値
であり、バースト損失が、単位時間または他の特定時間
(可変時間等)におけるデジタル信号の連続した損失と
して定義される場合に、エラーのあるデジタル信号、ま
たは損失デジタル信号(以下、「エラーまたは損失デジ
タル信号」という。)の間の最大間隔と、エラーまたは
損失デジタル信号の間の平均間隔と、エラーのないデジ
タル信号の連続したユニットから成る最後のバッチの第
1例から、エラーパターン記述のための特定期間の最後
まで測定される、エラーまたは損失デジタル信号の間の
最後の間隔と、エラーパターン記述のための特定期間の
最初から、エラーのあるデジタル信号の第1例の最初ま
で測定される、エラーまたは損失デジタル信号の間の第
1の間隔と、最大バーストエラーまたは損失デジタル信
号と、平均バーストエラーまたは損失デジタル信号と、
エラーのあるデジタル信号の連続するユニットから成る
最後のバッチから、エラーパターン記述のための特定期
間の最後まで測定される、エラーまたは損失デジタル信
号の最後のバースト期間と、エラーパターン記述のため
の特定期間の最初から、エラーのないデジタル信号の第
1例の最初まで測定される、エラーまたは損失デジタル
信号の第1のバースト期間とから成る。
The second method according to the present invention is to generate a statistic in a unit time or other specific time (variable time, etc.) to quantify the digital signal loss calculated or measured during any period. It is a pattern description method that provides a description of an error loss pattern by giving it.
The above statistics show that the interval between losses is the time between two digital signal losses, or the distance value expressed in units of packets, and the burst loss is at a unit time or other specific time (variable time, etc.). Between the erroneous digital signal or the maximum distance between the lost digital signals (hereinafter referred to as the "error or lost digital signal") and the error or lost digital signal when defined as the continuous loss of the digital signal From the first example of the last batch consisting of consecutive units of error-free digital signals, to the end of a specific period for error pattern description, to the last of the error or loss digital signals. The interval and the time from the beginning of a particular period for error pattern description to the beginning of the first example of an erroneous digital signal, A first spacing between the over or loss digital signals, and a maximum burst error or loss digital signals, and the average burst error or loss digital signal,
The last burst period of an error or loss digital signal, measured from the last batch of consecutive units of erroneous digital signals to the end of the specified period for error pattern description, and the specified for error pattern description And a first burst period of the error or lost digital signal measured from the beginning of the period to the beginning of the first example of the error-free digital signal.

【0020】本発明に係る第3の方法は、エラー隠蔽ア
ルゴリズムを選択する方法である。この方法は、エラー
隠蔽を実行する現在利用可能な残りの計算用資源を決定
するステップと、エラー隠蔽計算時間と資源消費とに基
づいて、現在の資源を、種々のエラー隠蔽アルゴリズム
と比較するステップと、前の良好パケットにカプセル化
されたデジタル信号の特性を決定するステップと、あら
かじめ決められた時間フレームの間に受信されるデジタ
ル信号のエラーパターンを決定するステップと、前記の
最大間隔、平均間隔、最後の間隔、第1の間隔、最大バ
ーストエラーまたは損失デジタル信号、平均バーストエ
ラーまたは損失デジタル信号、最後のバースト期間、及
び第1のバースト期間から収集される入力に基づいて、
エラー隠蔽アルゴリズムを選択するステップとから成
る。
A third method according to the present invention is a method of selecting an error concealment algorithm. The method comprises the steps of determining the remaining currently available computational resources for performing error concealment, and comparing the current resource with various error concealment algorithms based on error concealment computation time and resource consumption. And determining the characteristics of the digital signal encapsulated in the previous good packet, determining the error pattern of the digital signal received during a predetermined time frame, and said maximum interval, average. Interval, last interval, first interval, maximum burst error or loss digital signal, average burst error or loss digital signal, last burst period, and input collected from the first burst period,
Selecting an error concealment algorithm.

【0021】本発明に係る第4の方法は、デジタル化さ
れたオーディオ信号をカプセル化するデータパケットを
受信する前に、受信機が、エラー隠蔽アルゴリズムをあ
らかじめ決定する方法である。この方法は、デジタル化
された信号をカプセル化するデータパケットのアクティ
ブな受信機から、パケット損失率についてのフィードバ
ック報告を受信するステップと、前記のパターン記述方
法に基づいて、エラーパケットの発生を報告し、測定す
る方法に基づいて、パケット損失統計を生成するステッ
プと、連続するデータパケットにおいて配信されるデジ
タル信号ストリームを受信した、または受信しようとす
る受信機にその統計を伝送するステップとから成る。
A fourth method according to the present invention is for the receiver to predetermine an error concealment algorithm before receiving a data packet encapsulating a digitized audio signal. The method includes receiving a feedback report about a packet loss rate from an active receiver of a data packet encapsulating a digitized signal, and reporting the occurrence of an error packet based on the pattern description method described above. And, based on the method of measuring, generating packet loss statistics and transmitting the statistics to a receiver that has received or is about to receive a digital signal stream delivered in consecutive data packets. .

【0022】本発明に係る第5の方法は、セレクタが、
バースト損失に対して、異なるエラー隠蔽方法を動的に
選択することを可能にする方法である。この方法は、平
均サンプル振幅が閾値Tより小さい時、エラー隠蔽方法
を、第1の方法から第2の方法に切り換える切り換えス
テップと、連続する各々のエラー隠蔽されるエラーパケ
ットの振幅を減ずることで、オーディオ、または音声に
対して、再生されるパケットの振幅を徐々に減少させ、
最終的にミュート効果をもたらすミューティング切り換
えステップと、良好パケットと隠蔽パケットとの間、及
びその逆のよりスムーズな遷移のために、バースト損失
の開始、及び終了の両方で、境界にある複数のセグメン
トにおけるパケットマージングを実行するマージングス
テップとから成る。
In a fifth method according to the present invention, the selector is
It is a method that makes it possible to dynamically select a different error concealment method for burst loss. This method comprises switching the error concealment method from the first method to the second method when the average sample amplitude is smaller than the threshold T, and reducing the amplitude of each successive error concealed error packet. , Audio, or voice, gradually reduce the amplitude of the packet being played,
Due to the muting switching step, which eventually results in a mute effect, and a smoother transition between good and concealed packets, and vice versa, there are multiple boundaries at both the beginning and end of burst loss. A merging step for performing packet merging in the segment.

【0023】好ましくは、前記の切り換えステップは、
閾値のリストを含む表を初期化するステップと、各々の
閾値を1つのエラー隠蔽アルゴリズムにマップするステ
ップと、エラー損失パターン、及び環境条件に基づい
て、閾値Tを計算するステップと、前記の計算された閾
値Tを、前記の初期化された閾値のリストの値と比較す
るステップと、前記の計算されたT値に最も近いアルゴ
リズムを選択するステップとから成る。
Preferably, said switching step comprises
Initializing a table containing a list of thresholds, mapping each threshold to an error concealment algorithm, calculating a threshold T based on the error loss pattern and environmental conditions; Comparing the established threshold value T with the values in the list of initialized threshold values, and selecting the algorithm closest to the calculated T value.

【0024】好ましくは、前記のミューティング切り換
えステップは、無音閾値STを設定するステップと、パ
ケット内の各々のサンプル信号を、1より小さい値を持
つ定数Cと掛け合わせるステップと、前記のサンプル信
号に対して、平均電力Pを計算するステップと、平均電
力Pと無音閾値STとを比較するステップと、平均電力
Pが前記の閾値STより小さい場合に、ミューティング
モードに切り替えるステップとから成る。
Preferably, the muting switching step comprises setting a silence threshold ST, multiplying each sampled signal in a packet by a constant C having a value less than 1, and said sampled signal. On the other hand, it comprises a step of calculating the average power P, a step of comparing the average power P with the silence threshold ST, and a step of switching to the muting mode when the average power P is smaller than the threshold ST.

【0025】好ましくは、前記のマージングステップ
は、n個のサンプル信号から成るテンプレートウィンド
ウW1を決定するステップと、バーストの境界における
エラー隠蔽された信号のn個のサンプルを、前記のテン
プレートウィンドウW1におけるサンプルと掛け合わせ
るステップと、その掛け合わせの結果として得られる信
号を正規化するステップと、境界におけるエラー隠蔽さ
れたパケットのセグメントの代わりに、前記の正規化さ
れた信号を使用するステップとから成る。
Preferably, said merging step comprises determining a template window W1 consisting of n sample signals, and n samples of the error concealed signal at the boundary of the burst in said template window W1. It consists of multiplying with a sample, normalizing the resulting signal of the multiplication, and using said normalized signal instead of a segment of the error concealed packet at the boundary. .

【0026】本発明に係る第6の方法は、境界における
エラー隠蔽された信号のn個のサンプルが無音である
時、バースト損失の開始、及び終了において、境界をマ
ージングする方法である。この方法は、n個のサンプル
信号から成るテンプレートウィンドウW2を決定するス
テップと、テンプレートウィンドウW2におけるn個の
信号を、良好パケットの境界セグメントにおけるn個の
信号に正規化するステップと、境界におけるエラー隠蔽
されたパケットのセグメントの代わりに、前記の正規化
されたサンプルを使用するステップとから成る。
A sixth method according to the present invention is a method of merging a boundary at the start and end of burst loss when n samples of the error concealed signal at the boundary are silent. The method comprises the steps of determining a template window W2 consisting of n sample signals, normalizing the n signals in the template window W2 to n signals in a boundary segment of a good packet, and an error at the boundary. Substituting the normalized sample for the segment of the concealed packet.

【0027】本発明に係るパケット受信機は、ネットワ
ークからデータパケットを受信し、かつ、その受信され
たデータパケットの損失を検出して、その検出結果を出
力するパケット受信手段と、前記のパケット受信手段か
ら出力される検出結果に基づき、損失データパケットに
対して最も適当なエラー隠蔽方法を選択してエラー隠蔽
処理を行う前記の選択装置と、前記の選択装置から出力
されるエラー隠蔽されたデジタル信号をアナログ信号に
変換して出力する変換手段とから成る。
A packet receiver according to the present invention receives a data packet from a network, detects a loss of the received data packet, and outputs the detection result, and the packet receiving means. Based on the detection result output from the means, the selection device for performing the error concealment process by selecting the most appropriate error concealment method for the lost data packet, and the error concealed digital output from the selection device. And a conversion means for converting the signal into an analog signal and outputting the analog signal.

【0028】好ましくは、前記のパケット受信機におい
て、前記のパケット受信手段は、エラー情報を表示する
エラーインジケータフィールドと、受信される各々のパ
ケットの連続したシーケンス番号を示すシーケンス番号
フィールドとから成るパケットヘッダを、受信されたデ
ータパケットに追加して出力する。
[0028] Preferably, in the above packet receiver, the packet receiving means comprises an error indicator field for displaying error information and a sequence number field for indicating a consecutive sequence number of each packet received. Add a header to the received data packet and output.

【0029】好ましくは、前記選択手段は、前記のパケ
ットヘッダと、前記のパケットヘッダに続く1つのパケ
ットサイズデータから成るペイロードとを備えるパケッ
トであって、前記のエラーインジケータフィールドが、
「損失なし」の情報を示し、かつシーケンス番号フィー
ルドが正しい順序であるパケットを、良好パケットであ
ると判断する。
Preferably, the selecting means is a packet comprising the packet header and a payload consisting of one packet size data following the packet header, wherein the error indicator field is
A packet that indicates “no loss” and has the correct sequence number field is determined to be a good packet.

【0030】好ましくは、前記選択手段は、前記のパケ
ットヘッダを備え、かつ前記のパケットヘッドの後にペ
イロードデータが続かないパケットであって、前記のエ
ラーインジケータフィールドが、「損失」の情報を示
し、かつシーケンス番号フィールドが正しい順序である
パケットを、損失パケットであると判断する。
Preferably, the selecting means is a packet comprising the packet header, and the packet head is not followed by payload data, and the error indicator field indicates "loss" information, A packet whose sequence number field is in the correct order is determined to be a lost packet.

【0031】本発明に係る第7の方法は、連続するバー
スト損失の数を決定する方法である。この方法は、各々
のパケットのヘッダを獲得し、エラーインジケータフィ
ールドを検査するステップと、バースト損失の開始に出
くわしたとき、シーケンス番号xを記録するステップ
と、バースト損失の終了に出くわしたとき、シーケンス
番号yを記録するステップと、連続したパケットバース
ト損失の数を、(y−x)+1パケットとして計算する
ステップとから成る。
A seventh method according to the present invention is a method of determining the number of consecutive burst losses. The method comprises the steps of obtaining the header of each packet and examining the error indicator field, recording the sequence number x when the start of burst loss is encountered, and recording the sequence number when the end of burst loss is encountered. It consists of recording the number y and calculating the number of consecutive packet burst losses as (y−x) +1 packets.

【0032】好ましくは、前記のバースト損失の開始を
検出する方法は、現在のパケットが損失パケットである
ことを検出するステップと、前のパケットが良好パケッ
トであることを検出するステップとから成る。
Preferably, the method of detecting the onset of burst loss comprises the steps of detecting that the current packet is a lost packet and detecting that the previous packet is a good packet.

【0033】好ましくは、前記のバースト損失の終了を
検出する方法は、現在のパケットが損失パケットである
ことを検出するステップと、続くパケットが良好パケッ
トであることを検出するステップとから成る。
Preferably, the method for detecting the end of burst loss comprises the steps of detecting that the current packet is a lost packet and detecting that the following packet is a good packet.

【0034】本発明に係る第8の方法は、本発明に係る
第2の方法に基づいて、ネットワーク統計を収集し、エ
ラーパターンフォーマットを生成することができるオー
ディオパケット受信機またはその他の信頼性あるネット
ワークノードにおいて生成されるエラー統計を用いて、
解析のために長期間のオーディオデータを記憶すること
なく、オーディオエラー隠蔽アルゴリズムを選択する。
An eighth method according to the present invention is based on the second method according to the present invention, which is an audio packet receiver or other reliable device capable of collecting network statistics and generating an error pattern format. Using error statistics generated in network nodes,
Select an audio error concealment algorithm without storing long-term audio data for analysis.

【0035】[0035]

【発明の実施の形態】以下に、添付の図面を参照して、
本発明の実施の形態について説明する。図1に示すエラ
ー隠蔽装置は、欠落パケット検出器1、パケットオーデ
ィオバッファ2、損失パターン検出器3、マルチプレク
サ4、を有する。マルチプレクサ4は、デジタルオーデ
ィオペイロードマージャとしての機能も有する。さらに
音声検出器5及びエネルギー計算器6を含む信号解析器
7を有する。そしてエラー隠蔽セレクタ8、アルゴリズ
ムホルダ9を有する。これら要素1〜9はコンピュータ
ー10によって制御される。
BEST MODE FOR CARRYING OUT THE INVENTION Referring to the accompanying drawings,
An embodiment of the present invention will be described. The error concealment device shown in FIG. 1 includes a missing packet detector 1, a packet audio buffer 2, a loss pattern detector 3, and a multiplexer 4. The multiplexer 4 also has a function as a digital audio payload merger. Further, it has a signal analyzer 7 including a voice detector 5 and an energy calculator 6. It has an error concealment selector 8 and an algorithm holder 9. These elements 1 to 9 are controlled by the computer 10.

【0036】次にエラー隠蔽装置の動作について説明す
る。パケット1には図3(a)に示す音声信号(ペイロ
ード)がキャリーされる。音声信号は、たとえば電話通
信などの音声信号である。音声信号は、パルスコード変
調(PCM)で信号処理され、複数のパケットに分けて
送信される。図3(a)に示す例においては14個のパ
ケットに分けられて伝送された例を示す。なおこの例に
おいては14個のパケットの内003番目のパケットか
ら010番目のパケットまでが欠落した例を示す。この
ように部分的にパケットが欠落した音声信号が欠落パケ
ット検出器1に入力された場合を考察する。
Next, the operation of the error concealment device will be described. The audio signal (payload) shown in FIG. 3A is carried in the packet 1. The voice signal is a voice signal for telephone communication, for example. The voice signal is signal-processed by pulse code modulation (PCM) and divided into a plurality of packets for transmission. In the example shown in FIG. 3A, an example in which the packet is divided into 14 packets for transmission is shown. In addition, in this example, an example in which packets 003 to 010 of 14 packets are lost is shown. Consider a case where a voice signal in which packets are partially lost is input to the lost packet detector 1 in this way.

【0037】欠落パケット検出器1では、パケットのシ
ーケンス番号を検出し、シーケンス番号が連番かどうか
を判断することにより、欠落しているパケットがあるか
ないかの判断を行う。欠落していない有効パケットにつ
いてはそのパケットの先頭に0のフラグを付与し出力す
る。またパケットの欠落が見つかった場合は、補填パケ
ットを作り、その補填パケットにシーケンス番号を与え
ると共にその先頭に補填パケットであることを示すフラ
グ1を立てて出力する。
The missing packet detector 1 detects the sequence number of a packet and determines whether or not the sequence number is a serial number, thereby determining whether or not there is a missing packet. For a valid packet that is not missing, a flag of 0 is added to the head of the packet and output. If a packet loss is found, a compensation packet is created, a sequence number is given to the compensation packet, and a flag 1 indicating that it is a compensation packet is set at the beginning and output.

【0038】欠落パケット検出器1から出力されるパケ
ットのヘッダは、図2(a)、(b)に示されるよう
に、「エラーインジケータ」フィールド、及び「シーケ
ンス番号」フィールドから成る。有効パケット、欠落し
なかったパケットは、ヘッダ、及びペイロードから成
る。そのペイロードは、図2(a)に示されるように、
PCM信号23から成る。図2(b)は、ペイロードが
ないヘッダのみから成る補填パケットを示す。エラーイ
ンジケータフラグは、エラーがないなら0を示し、欠落
したパケットであるなら1を示す。シーケンス番号フィ
ールドは、欠落したパケットを含め、通しのシーケンス
番号を示す。図3(b)は、欠落パケット検出器1から
の出力信号、すなわち補填パケットが加えられた信号を
示す。
The header of the packet output from the missing packet detector 1 is composed of an "error indicator" field and a "sequence number" field, as shown in FIGS. 2 (a) and 2 (b). A valid packet and a packet that has not been lost are composed of a header and a payload. Its payload is, as shown in FIG.
It consists of a PCM signal 23. FIG. 2 (b) shows a supplementary packet consisting of only a header without payload. The error indicator flag shows 0 if there is no error and 1 if it is a missing packet. The sequence number field indicates a serial sequence number including a missing packet. FIG. 3B shows an output signal from the missing packet detector 1, that is, a signal to which a compensation packet is added.

【0039】パケットオーディオバッファ2は、欠落パ
ケット検出器1から図3(b)の信号を受け、一時的に
信号を保持し、遅延させると共にフラグに基づいてパケ
ットを振り分ける。この遅延は、例えば、受信機に到着
するパケットのPCM信号のサイズに相当する。0のフ
ラグが付された有効パケットはそのままパケットオーデ
ィオバッファ2から出力されマルチプレクサ4へ出力さ
れると共に、アリゴルズムホルダ9にも出力される。な
おパケットオーディオバッファ2の出力においてはフラ
グを省くようにしてもよい。
The packet audio buffer 2 receives the signal of FIG. 3B from the missing packet detector 1, temporarily holds the signal, delays it, and distributes the packet based on the flag. This delay corresponds, for example, to the size of the PCM signal of the packet arriving at the receiver. The valid packet to which the flag of 0 is added is directly output from the packet audio buffer 2 and output to the multiplexer 4, and also to the algorithm holder 9. The flag may be omitted in the output of the packet audio buffer 2.

【0040】パケットオーディオバッファ2から損失パ
ターン検出器3への出力は各パケットのヘッダ部(少な
くともフラグとシーケンス番号を含む)のみが出力され
る。したがって損失パターン検出器3ではフラグとそれ
に対応するシーケンス番号を受けることになる。図3
(b)の信号の場合、損失パターン検出器3はフラグの
パターンである00111111110000のフラグ
パターン信号を受けると共に、その各フラグに対するシ
ーケンス番号(図示の場合は001番から014番)を
受ける。またパケットオーディオバッファ2から信号解
析器7にヘッダが除かれたパケットのPCMデータ部だ
けが送り込まれる。なお、ヘッダは付けたままであって
もよい。
As for the output from the packet audio buffer 2 to the loss pattern detector 3, only the header portion (including at least a flag and a sequence number) of each packet is output. Therefore, the loss pattern detector 3 receives the flag and the sequence number corresponding thereto. Figure 3
In the case of the signal of (b), the loss pattern detector 3 receives the flag pattern signal of 00111111110000, which is the flag pattern, and also receives the sequence number (001 to 014 in the case shown) for each flag. Further, only the PCM data part of the packet with the header removed is sent from the packet audio buffer 2 to the signal analyzer 7. The header may remain attached.

【0041】信号解析器7は、損失パターン検出器3か
らのフラグパターン信号を受け、フラグパターンにおい
てフラグが0から1に代わった時のフラグ0が属する有
効パケットに含まれるPCMデータを取り込む。図3
(b)の例にあっては、信号PCM2が取り込まれるこ
とになる。信号解析器7に取り込まれたPCM信号はテ
ンプレート信号としてその信号が解析される。テンプレ
ート信号はひとつの有効パケットのPCM信号で作られ
る短いものであってもよいし、複数の有効パケットのP
CM信号で作られる長いものであってもよい。音声検出
器5では、取り込まれたテンプレート信号(信号PCM
2)が、ボイス信号か非ボイス信号かの判断を行う。す
なわち音声信号が電話における会話の信号かそれともそ
れ以外の信号かの判断を行う。この判断は、たとえば非
特許文献6に示された方法で行うことも可能である。し
たがって、音声検出器5からはボイス信号か非ボイス信
号かを示す信号が出力される。エネルギー計算器6は、
PCM信号のエネルギー、すなわちPCM信号を復調し
た信号の振幅が生成されその平均振幅Wを示す値の信号
がエネルギー情報として出力される。
The signal analyzer 7 receives the flag pattern signal from the loss pattern detector 3 and takes in the PCM data contained in the valid packet to which the flag 0 belongs when the flag changes from 0 to 1 in the flag pattern. Figure 3
In the example of (b), the signal PCM2 is captured. The PCM signal taken into the signal analyzer 7 is analyzed as a template signal. The template signal may be a short signal generated by the PCM signal of one valid packet, or the P signal of a plurality of valid packets.
It may be a long one made of a CM signal. In the voice detector 5, the received template signal (signal PCM
2) determines whether it is a voice signal or a non-voice signal. That is, it is determined whether the voice signal is a telephone conversation signal or another signal. This determination can also be performed by the method shown in Non-Patent Document 6, for example. Therefore, the voice detector 5 outputs a signal indicating a voice signal or a non-voice signal. The energy calculator 6
The energy of the PCM signal, that is, the amplitude of the signal obtained by demodulating the PCM signal is generated, and a signal having a value indicating the average amplitude W thereof is output as energy information.

【0042】アルゴリズムホルダ9は、補填パケットに
用いられる代用のPCM信号を作り出すための種々のア
ルゴリズムのプログラムが保持されている。図4に、4
つのアルゴリズムが例示的に示されている。図4(a)
に示すアルゴリズム1は、欠落したパケットの直前の有
効パケットのPCM信号を用いて、その欠落したパケッ
トのPCM信号を作り出すアルゴリズムである。すなわ
ち、有効パケットのPCM信号から復調した音声信号の
全部またはその終点から一部をウインドウW0として特
定し、特定したウインドウを、ウインドウW0の部分と
次の欠落したパケットの音声信号の部分をカバーするよ
うに伸張させ、伸張した音声信号は再びPCM信号に変
調され、補填パケットが作られる。このアルゴリズムを
ピッチ波形代替と呼ぶ。
The algorithm holder 9 holds programs of various algorithms for producing a substitute PCM signal used for the compensation packet. 4 in FIG.
Two algorithms are shown by way of example. Figure 4 (a)
The algorithm 1 shown in 1 is an algorithm that uses the PCM signal of the valid packet immediately before the dropped packet and creates the PCM signal of the dropped packet. That is, all or part of the audio signal demodulated from the PCM signal of the valid packet is specified as the window W0, and the specified window covers the part of the window W0 and the audio signal part of the next missing packet. In this way, the expanded audio signal is modulated again into the PCM signal, and a supplement packet is created. This algorithm is called pitch waveform substitution.

【0043】図4(b)に示すアルゴリズム2は欠落し
たパケットの直前の有効パケットのPCM信号をそのま
まコピーして、補填パケットを作るアルゴリズムであ
る。このアルゴリズムを、パケット繰返しと呼ぶ。図4
(c)に示すアルゴリズム3は欠落したパケットのPC
M信号をホワイトノイズ信号に相当するPCM信号で代
用して補填パケットを作るアルゴリズムである。このア
ルゴリズムをノイズ代替と呼ぶ。図4(d)に示すアル
ゴリズム4は、欠落したパケットのPCM信号を無音信
号に相当するPCM信号で代用して、補填パケットを作
るアルゴリズムである。このアルゴリズムを無音代替と
呼ぶ。
Algorithm 2 shown in FIG. 4B is an algorithm for making a supplementary packet by directly copying the PCM signal of the valid packet immediately before the missing packet. This algorithm is called packet repetition. Figure 4
Algorithm 3 shown in (c) is the PC of the missing packet.
This is an algorithm for substituting the M signal with a PCM signal corresponding to a white noise signal to form a compensation packet. This algorithm is called noise substitution. Algorithm 4 shown in FIG. 4 (d) is an algorithm that substitutes the PCM signal of the missing packet with a PCM signal corresponding to a silent signal to create a compensation packet. This algorithm is called silence substitution.

【0044】このようにアルゴリズムホルダ9には複数
のアルゴリズムが準備されており、各アルゴリズムは、
欠落したパケットのPCM信号を作り、補填パケットを
作り出すためのアルゴリズムが準備されている。このよ
うに準備された複数のアルゴリズムの内いずれのアルゴ
リズムを選択するかはエラー隠蔽セレクタ8からの選択
信号によって特定される。次にエラー隠蔽セレクタ8の
説明を行う。
As described above, a plurality of algorithms are prepared in the algorithm holder 9, and each algorithm is
An algorithm for preparing a PCM signal of a missing packet and a complementary packet is prepared. Which of the plurality of algorithms prepared in this way is selected is specified by the selection signal from the error concealment selector 8. Next, the error concealment selector 8 will be described.

【0045】エラー隠蔽セレクタ8は、損失パターン検
出器3からのフラグパターン信号、信号解析器7からの
ボイス/非ボイス信号及びエネルギー情報を受けると共
に、コンピューター10からのコンピューターの使用程
度を示す情報である環境情報を受ける。表3に示すよう
にコンピューターのCPUの使用率をパラメータt1で
示す。CPUの使用率が70%以上の場合はパラメータ
を0に、使用率が50%〜70%である場合はパラメー
タを0.15に、使用率が30%〜50%の場合はパラ
メータを0.3に、使用率が30%以下の場合はパラメ
ータを0.5に設定する。また表4に示すようにコンピ
ューターのメモリの使用率が70%以上である場合はパ
ラメータt2を0に設定し、使用率が50%〜70%で
ある場合は0.15に設定し、使用率が30%〜50%
である場合は0.3に設定し、使用率が30%以下であ
る場合は0.4に設定する。このように設定されたパラ
メータt1とt2は加算され、余裕値Tが設定される。
The error concealment selector 8 receives the flag pattern signal from the loss pattern detector 3, the voice / non-voice signal and the energy information from the signal analyzer 7, and the information from the computer 10 indicating the degree of use of the computer. Receive some environmental information. As shown in Table 3, the CPU usage rate of the computer is indicated by the parameter t1. When the CPU usage rate is 70% or more, the parameter is set to 0, when the usage rate is 50% to 70%, the parameter is set to 0.15, and when the usage rate is 30% to 50%, the parameter is set to 0. 3. If the usage rate is 30% or less, the parameter is set to 0.5. Further, as shown in Table 4, the parameter t2 is set to 0 when the usage rate of the computer memory is 70% or more, and is set to 0.15 when the usage rate is 50% to 70%. Is 30% to 50%
Is set to 0.3, and when the usage rate is 30% or less, it is set to 0.4. The parameters t1 and t2 set in this way are added to set a margin value T.

【0046】エラー隠蔽セレクタ8はこれから作ろうと
する補填パケットのPCM信号をボイス信号とすべきか
非ボイス信号とすべきかの判断を、音声検出器5からの
信号で判断する。すなわち欠落したパケットの直前の有
効パケットがボイス信号であればボイス信号としてのP
CM信号を作りだし、非ボイス信号である場合は非ボイ
ス信号としてのPCM信号を作り出す。
The error concealment selector 8 judges from the signal from the voice detector 5 whether the PCM signal of the compensation packet to be created from now should be a voice signal or a non-voice signal. That is, if the valid packet immediately before the dropped packet is a voice signal, P as a voice signal is used.
A CM signal is created, and if it is a non-voice signal, a PCM signal as a non-voice signal is created.

【0047】表1はボイス信号であると判断された場
合、更にピッチ波形代替とすべきか、それともパケット
繰返しとすべきかの判断を行なうための選択を示す。す
なわち余裕値Tが0.4以上であればアルゴリズム1で
あるピッチ波形代替が選択される信号が出力される。ま
た余裕値Tが0〜0.4である場合はパケット繰返し、
すなわちアルゴリズム2が選択される信号が出力され
る。
Table 1 shows a selection for determining whether the pitch waveform should be replaced or the packet should be repeated when the voice signal is determined. That is, if the margin value T is 0.4 or more, a signal for selecting the pitch waveform substitution which is the algorithm 1 is output. When the margin value T is 0 to 0.4, the packet is repeated,
That is, a signal for selecting Algorithm 2 is output.

【0048】表2は非ボイス信号であると判断された場
合、更にノイズ代替とすべきか、それとも無音代替とす
べきかの判断を行なうための選択を示す。平均電力Wが
0.3以上である場合はノズイ代替であるアルゴリズム
3を選択する選択信号が出力され、平均電力Wが0〜
0.3であればアルゴリズム4である無音代替を選択す
る選択信号が出力される。
Table 2 shows the selection for determining whether to substitute the noise or the silence when the non-voice signal is determined. When the average power W is 0.3 or more, a selection signal for selecting Algorithm 3 which is a substitute for noise is output, and the average power W is 0 to 0.
If it is 0.3, a selection signal for selecting silence substitution, which is Algorithm 4, is output.

【0049】以上のようにして選択されたアルゴリズム
選択信号はアルゴリズムホルダ9に出力されアルゴリズ
ムが選択される。選択されたアルゴリズムに基づき補填
パケットのPCM信号が作り出され、更にシーケンス番
号を含むヘッダが付加され、マルチプレクサ4に出力さ
れる。従って、アルゴリズムホルダ9からは、図3
(d)の作り出された補填パケットが、またパケットオ
ーディオバッファ2からは、図3(c)の有効パケット
が、マルチプレクサ4に送られる。マルチプレクサ4は
エラーのない有効パケットと、作り出された補填パケッ
トがシーケンス番号の順番で並べられ、デジタルアナグ
ロ変換器へと出力される。なお、選択されるアルゴリズ
ムの数が少ない場合、例えば2つの場合、音声検出器5
からの信号だけで選択を行なってもよいし、またはエネ
ルギー計算器6からの信号だけで選択を行なってもよい
し、または余裕値Tだけで選択を行なってもよい。
The algorithm selection signal selected as described above is output to the algorithm holder 9 to select an algorithm. A PCM signal of the supplement packet is created based on the selected algorithm, a header including a sequence number is further added, and the PCM signal is output to the multiplexer 4. Therefore, from the algorithm holder 9, FIG.
The created supplement packet of (d) and the valid packet of FIG. 3 (c) are sent from the packet audio buffer 2 to the multiplexer 4. The multiplexer 4 arranges the valid packet having no error and the generated supplementary packet in the order of the sequence number, and outputs them to the digital analog conversion unit. Note that when the number of selected algorithms is small, for example, when there are two, the voice detector 5
The selection may be performed only with the signal from, or the selection may be performed only with the signal from the energy calculator 6, or the selection may be performed only with the margin value T.

【0050】図5は、エラー隠蔽方法の選択処理を説明
するフローチャートである。まず、パケットオーディオ
バッファ2におけるパケットからヘッダを得る(ステッ
プS1)。そして、パケットオーディオバッファ2に新
しいパケットが存在するか否かを検査する(ステップS
2)。もし、バッファ2において、新しいパケットがな
いなら、選択処理を終了する。そうでなければ、エラー
インジケータフィールドのフラグを検査する(ステップ
S3)。もし、エラーインジケータフィールドのフラグ
が1に等しいなら、現在のパケットは、補填パケット
(図2(b))として認識される。もし、その値が0な
ら、有効パケット(図2(a))として認識される。
FIG. 5 is a flow chart for explaining an error concealment method selection process. First, the header is obtained from the packet in the packet audio buffer 2 (step S1). Then, it is checked whether or not a new packet exists in the packet audio buffer 2 (step S
2). If there is no new packet in the buffer 2, the selection process ends. If not, the flag of the error indicator field is checked (step S3). If the flag of the error indicator field is equal to 1, the current packet is recognized as a compensation packet (Fig. 2 (b)). If the value is 0, it is recognized as a valid packet (FIG. 2 (a)).

【0051】(ケース1:補填パケットを受けた場合)
エラー隠蔽が実行される。現在の資源利用についての第
1の情報が検査される。現在のCPU使用、及びメモリ
使用の程度が計算される(ステップS5)。その後、連
続した補填パケットの数をカウントする(ステップS
6)。これは、損失パターン検出器3において実行され
る。この補填パケットの数を得る方法は、図6のフロー
チャートにおいて説明される。まず、補填パケットの開
始を検出する(ステップS21)。これは、パケットの
エラーインジケータフィールドを検査することにより、
前のパケットが有効パケットであることを検出し、さら
に現在のパケットが補填パケットであることを検出する
ことにより実現される。補填パケットの開始を検出する
と、その補填パケットのシーケンス番号xを記録する
(ステップS22)。その後、補填パケットの終了を検
出する(ステップS23)。これは、エラーインジケー
タフィールドを検査することにより、現在のパケットが
補填パケットであることを検出し、さらに次のパケット
が有効パケットであることを検出することにより実現さ
れる。補填パケットの終了を検出すると、その補填パケ
ットのシーケンス番号yを記録する(ステップS2
4)。そして、連続した補填パケットの数を、(y−
x)+1個のとして計算する(ステップS25)。図5
を再び参照する。ステップS6で連続する補填パケット
が処理される。連続した補填パケットの各々は、別々に
処理される。すなわち、使用されるエラー隠蔽技術は、
パケット間で異なってもよい。ステップS7において
は、全ての補填パケットが処理されたかどうかが検査さ
れる。ステップS8においては、「n」個の全てのパケ
ットが処理されたかどうかが検査される。まず、連続し
た補填パケットにおいて、最初のn個の補填パケットが
処理される(ステップS9)。「n」は、連続した補填
パケットの数に基づいて計算される。最初の「n」個の
パケットの処理についての詳細は、図7のフローチャー
トにおいて説明される。また、「n」個のパケットが処
理された後、続く残りの(ここでは、p個の)パケット
が処理される(ステップS10)。このp個のパケット
の処理についての詳細は、図8のフローチャートにおい
て説明される。
(Case 1: When receiving a compensation packet)
Error concealment is performed. The first information about the current resource usage is checked. The current CPU usage and memory usage are calculated (step S5). Then, the number of consecutive supplementary packets is counted (step S
6). This is done in the loss pattern detector 3. The method for obtaining this number of supplementary packets is described in the flowchart of FIG. First, the start of the compensation packet is detected (step S21). This is done by inspecting the error indicator field of the packet
This is realized by detecting that the previous packet is a valid packet and that the current packet is a supplementary packet. When the start of the supplement packet is detected, the sequence number x of the supplement packet is recorded (step S22). Then, the end of the compensation packet is detected (step S23). This is accomplished by inspecting the error indicator field to detect that the current packet is a supplemental packet and then the next packet to be a valid packet. When the end of the compensation packet is detected, the sequence number y of the compensation packet is recorded (step S2).
4). Then, the number of consecutive compensation packets is (y−
x) +1 pieces are calculated (step S25). Figure 5
See again. In step S6, consecutive compensation packets are processed. Each successive fill packet is processed separately. That is, the error concealment technique used is
It may be different between packets. In step S7, it is checked whether all the compensation packets have been processed. In step S8 it is checked whether all "n" packets have been processed. First, in the consecutive supplementary packets, the first n supplementary packets are processed (step S9). “N” is calculated based on the number of consecutive supplementary packets. Details of processing the first "n" packets are described in the flowchart of FIG. Further, after "n" packets have been processed, the remaining (here, p) packets are processed (step S10). Details of the processing of the p packets will be described in the flowchart of FIG.

【0052】(ケース2:有効パケットを受けた場合)
有効パケットを受けた場合、図2(a)に示されるデー
タセグメント23がバッファされ、マルチプレクサ4に
送られる(ステップS4)。また、この有効パケット
は、次に補填パケットが検出された場合には、テンプレ
ート信号として信号解析器7で利用される。
(Case 2: When a valid packet is received)
When a valid packet is received, the data segment 23 shown in FIG. 2A is buffered and sent to the multiplexer 4 (step S4). In addition, this valid packet is used by the signal analyzer 7 as a template signal when a supplementary packet is detected next.

【0053】最初のn個の補填パケットの処理は、図7
において説明される。まず、n個の補填パケットの直前
の有効パケットを、音声検出器5に送られ、テンプレー
ト信号として記憶される(ステップS31)。また、音
声検出器5によって、その有効パケットのPCM信号が
音声信号か非音声信号かを検出する(ステップS3
2)。もし、その有効パケットが音声信号なら、CPU
使用やメモリ利用可能性等の現在の環境条件により余裕
値Tが計算される。この余裕値Tは、音声信号を処理す
る所定のエラー隠蔽技術のリスト(表1)の閾値T1と
比較される(ステップS35)。その計算された余裕値
Tが、表1のどの範囲に属するかが判断され、エラー隠
蔽方法が選択され(ステップS36)、エラー隠蔽が、
選択されたアルゴリズムに基づいて実行される。ステッ
プS32において、もし、有効パケットが非音声信号な
ら、全部の信号に対して平均電力Wが計算される(ステ
ップS33)。エラー隠蔽方法が、その平均電力の値に
基づいて、非音声リスト(表2)から選択される(ステ
ップS34)。すなわち、平均電力Wが閾値T2と比較
される。もし、その平均電力Wが小さく(表2では0〜
0.3の値であれば)、無視してよいと考えられるな
ら、無音代替が使用される。もし、平均電力Wが閾値T
2(表2では0.3)を越えているなら、ホワイトノイ
ズに類似した平均電力を備えるノイズ代替が生成され、
それが補填パケットの代替となる。
The processing of the first n supplementary packets is shown in FIG.
Are described in. First, the valid packets immediately before the n supplementary packets are sent to the voice detector 5 and stored as a template signal (step S31). Further, the voice detector 5 detects whether the PCM signal of the valid packet is a voice signal or a non-voice signal (step S3).
2). If the valid packet is a voice signal, the CPU
The margin value T is calculated according to the current environmental conditions such as use and memory availability. This margin value T is compared with a threshold value T1 of a list of predetermined error concealment techniques (Table 1) for processing a voice signal (step S35). It is determined to which range in Table 1 the calculated margin value T belongs, and an error concealment method is selected (step S36).
It is executed based on the selected algorithm. In step S32, if the valid packet is a non-voice signal, the average power W is calculated for all signals (step S33). The error concealment method is selected from the non-voice list (Table 2) based on the average power value (step S34). That is, the average power W is compared with the threshold value T2. If the average power W is small (0 in Table 2)
If it is considered negligible (if the value is 0.3), silence substitution is used. If the average power W is the threshold T
If it exceeds 2 (0.3 in Table 2), a noise substitute with an average power similar to white noise is generated,
That is an alternative to the compensation packet.

【0054】補填パケットが長く続く場合は、最初のn
個のパケット代替後に置き換えられるp個のパケット
(複数)は、振幅が徐々に減少し、最終的には、ミュー
ト(消音)効果に向かう。
If the supplement packet lasts for a long time, the first n
The p packets (pluralities) that are replaced after the replacement of p packets gradually decrease in amplitude and eventually go to the mute effect.

【0055】動的セレクタにより選択できるエラー隠蔽
方法が4つある場合を説明する。その4つのエラー隠蔽
方法は、音声リストから2つ、及び非音声リストから2
つ選択される。音声リストは、以下の代替から構成され
る。
The case where there are four error concealment methods that can be selected by the dynamic selector will be described. The four error concealment methods are two from the voice list and two from the non-voice list.
One is selected. The audio list consists of the following alternatives:

【表1】 非音声リストは、以下の代替から構成される。[Table 1] The non-speech list consists of the following alternatives:

【表2】 [Table 2]

【0056】連続して補填パケットを受けた場合、(図
5のステップS6において検査される)、例えば、図9
に示されるように、8個の連続する補填パケットを受け
た場合、nは、
When the compensation packets are continuously received (inspected in step S6 of FIG. 5), for example, as shown in FIG.
As shown in, when eight consecutive compensation packets are received, n is

【数1】 に設定される。[Equation 1] Is set to.

【0057】最初のn個のパケット、つまり3個の補填
パケットは、図7に示される方法で処理される。3個の
補填パケットの前の有効パケットは、テンプレート信号
として信号解析器7に保持されている。このテンプレー
ト信号は、まず、音声信号/非音声信号のいずれかであ
るかを検査するために、音声検出器5に送られる(S3
1)。この例において、テンプレート信号は、音声信号
であり、音声検出器5は、音声フラグを返す(S3
2)。その後、現在の資源利用が検査される。余裕値T
は、2つの基準値に基づいて計算される。それらは、C
PU使用率CPCとメモリの使用率MECである。も
し、CPU利用が70%を越えるなら、余裕値の値t1
は0である。もし、メモリ使用が割り当てられた全メモ
リの70%を越えるなら、余裕値t2は0である。余裕
値は以下のように計算される。
The first n packets, ie the three supplementary packets, are processed in the manner shown in FIG. The valid packet before the three supplementary packets is held in the signal analyzer 7 as a template signal. This template signal is first sent to the voice detector 5 in order to check whether it is a voice signal or a non-voice signal (S3).
1). In this example, the template signal is a voice signal, and the voice detector 5 returns a voice flag (S3).
2). Then, the current resource usage is checked. Margin value T
Is calculated based on two reference values. They are C
The PU usage rate CPC and the memory usage rate MEC. If the CPU usage exceeds 70%, the margin value t1
Is 0. If the memory usage exceeds 70% of the total memory allocated, the margin value t2 is zero. The margin value is calculated as follows.

【表3】 [Table 3]

【表4】 [Table 4]

【0058】余裕値Tの計算は、以下の式(2)で表わ
される。
The calculation of the margin value T is expressed by the following equation (2).

【数2】 [Equation 2]

【0059】現在のCPU利用が40%であり、メモリ
利用が50%であるなら、余裕値Tは0.45に等し
い。前の有効パケットは、音声信号であるため、余裕値
TはT1と比較される(S35)。もし、それが非音声
信号であれば、平均電力Wが、T2と比較される。この
場合、平均電力Wの代わりに、余裕値TがT2と比較さ
れる様にしてもよい。選択基準は、TがT1またはT2
のどちらかにおいて値を超え、その最も近い値をもつエ
ラー隠蔽方法が選択されることである。この場合、余裕
値Tは0.45であるので、ピッチ波形代替が選択され
る(S36)。従って最初の3つの補填パケットの波形
は、ピッチ波形代替法を用いて隠蔽される。
If the current CPU utilization is 40% and the memory utilization is 50%, the margin value T is equal to 0.45. Since the previous valid packet is a voice signal, the allowance value T is compared with T1 (S35). If it is a non-voice signal, the average power W is compared with T2. In this case, the margin value T may be compared with T2 instead of the average power W. The selection criterion is that T is T1 or T2
, The error concealment method with the closest value is selected. In this case, since the margin value T is 0.45, the pitch waveform alternative is selected (S36). Therefore, the waveforms of the first three compensation packets are hidden using the pitch waveform substitution method.

【0060】続く代替は、図8に示されるアルゴリズム
に基づいて行なわれる。ステップS41において示され
る「X−n」の値は、この例では(8−3)=5であ
る。すなわち、Xは、連続する補填パケットの数を表
し、nは先頭に位置し、まとめて同等の処理が繰り返さ
れる補填パケットの数を表す。表5は、前に選択された
エラー隠蔽方法と、次に選択されるべきエラー隠蔽方法
との関係を示す表である。前補填パケットのエラー隠蔽
方法が、ピッチ波形代替であれば、次の補填パケットの
エラー隠蔽方法は、C倍(C<1)されたパケット繰返
しである。前補填パケットのエラー隠蔽方法が、パケッ
ト繰返しであれば、次の補填パケットのエラー隠蔽方法
は、C倍(C<1)されたパケット繰返しである。前補
填パケットのエラー隠蔽方法が、ノイズ代替であれば、
次の補填パケットのエラー隠蔽方法も、ノイズ代替であ
る。前補填パケットのエラー隠蔽方法が、無音代替であ
れば、次の補填パケットのエラー隠蔽方法も、無音代替
である。上の例では、前の補填パケットはピッチ波形代
替であったので、次はパケット繰返しが行なわれ、その
次もパケット繰返しが行なわれる。その振幅が徐々に減
ぜられて、パケット繰返しが連続して使用される。そし
て、5回のエラー隠蔽の反復が実行される(ステップS
43)。パケットの置き換えは、残りの5つの全てのパ
ケットが隠蔽されるまで、パケット毎に実行される(ス
テップS44)。5番目のパケットが隠蔽された後、そ
のパケット処理は終了する。
Subsequent alternatives are based on the algorithm shown in FIG. The value of "X-n" shown in step S41 is (8-3) = 5 in this example. That is, X represents the number of consecutive supplementary packets, and n represents the number of supplementary packets that are positioned at the head and that repeat the same processing collectively. Table 5 is a table showing the relationship between the error concealment method selected previously and the error concealment method to be selected next. If the error concealment method of the previous compensation packet is the pitch waveform substitution, the error concealment method of the next compensation packet is C times (C <1) packet repetition. If the error concealment method for the previous compensation packet is packet repetition, the error concealment method for the next compensation packet is C times (C <1) packet repetition. If the error concealment method of the pre-compensation packet is noise substitution,
The error concealment method for the next compensation packet is also noise substitution. If the error concealment method of the previous compensation packet is silent substitution, the error concealment method of the next compensation packet is also silent substitution. In the above example, since the previous compensation packet was a pitch waveform substitute, packet repetition is performed next, and packet repetition is performed next. Its amplitude is gradually reduced and packet repetition is used continuously. Then, error concealment is repeated 5 times (step S
43). The packet replacement is executed for each packet until all the remaining five packets are hidden (step S44). After the fifth packet is concealed, the packet processing ends.

【表5】 [Table 5]

【0061】上述のように代替が連続する場合、代替の
電力が徐々に減ぜられ、平均電力が無音閾値STより小
さくなるとき、すべての続く代替が無音代替によって置
き換えられる。図10は、そのミューティング切り換え
処理のフローチャートを示す図である。ミューティング
切り換え処理は、例えば、無音閾値STを設定するステ
ップと、パケット内の各々のサンプル信号を、1より小
さい値を持つ定数Cと掛け合わせるステップ(S51)
と、ステップS51で得られるサンプル信号に対して、
パケットのまたはパケットの一部の平均電力Pを計算す
るステップ(S52)と、平均電力Pと無音閾値STと
を比較するステップ(S53)と、平均電力Pが前記の
閾値STより小さい場合に、ミューティングモードに切
り替えるステップ(S54)とから成る。
In the case of successive substitutions as described above, the power of the substitutions is gradually reduced and when the average power falls below the silence threshold ST, all subsequent substitutions are replaced by the silence substitutions. FIG. 10 is a flowchart showing the muting switching process. In the muting switching process, for example, a step of setting a silence threshold ST and a step of multiplying each sample signal in the packet by a constant C having a value smaller than 1 (S51).
Then, for the sample signal obtained in step S51,
When the average power P of the packet or a part of the packet is calculated (S52), the average power P is compared with the silence threshold ST (S53), and when the average power P is smaller than the threshold ST, And a step (S54) of switching to the muting mode.

【0062】有効パケットと補填パケットとの間の境界
において、スムーズな遷移を保証するために、マージン
グ(merging)が実行されてもよい。境界での平
均電力の差が所定の値Yより小さいなら、マージングは
全く必要とされない。そうでない場合にマージングは必
要とされる。これは、マルチプレクサ4において実行さ
れる。
Merging may be performed at the boundary between the valid packet and the supplement packet to ensure a smooth transition. If the average power difference at the boundary is less than the predetermined value Y, no merging is required. If not, merging is needed. This is done in the multiplexer 4.

【0063】以下に、そのマージング処理について、図
11、及び図12を用いて説明する。図11は、エラー
隠蔽されたパケットが無音代替でない場合のマージング
マージング処理を説明するフローチャートである。あら
かじめ決められたテンプレートウィンドウWは、信号の
n個のサンプルから成る。連続する有効パケットの終端
をウインドウWeで捉える。これに続く連続する補填パ
ケットの先端をウインドウWsで捉える(ステップS6
1)。従って、ウインドウWe,Wsは有効パケットと
補填パケットの境界部を特定する。ウインドウWeにお
ける平均電力が求められる。この平均電力で、ウインド
ウWsにおける電力が正規化される(ステップS6
2)。ウインドウWe,Wsにおける電力変化がスムー
スに変化するようにウインドウWsのサンプル信号を置
き換える(ステップS63)。
The merging process will be described below with reference to FIGS. 11 and 12. FIG. 11 is a flowchart illustrating a merging / merging process in the case where the error-concealed packet is not the silent substitute. The predetermined template window W consists of n samples of the signal. The end of consecutive valid packets is captured by the window We. The leading end of consecutive supplementary packets following this is captured in the window Ws (step S6).
1). Therefore, the windows We and Ws specify the boundary between the valid packet and the supplement packet. The average power in the window We is calculated. The power in the window Ws is normalized by this average power (step S6).
2). The sample signal of the window Ws is replaced so that the power change in the windows We and Ws changes smoothly (step S63).

【0064】図12は、エラー隠蔽されたパケットが無
音代替である場合のマージングマージング処理を説明す
るフローチャートである。テンプレートウィンドウW2
は、無音代替の利用のみに対して定義される。テンプレ
ートウィンドウW2は、良好パケットの境界セグメント
の平均電力の値に正規化される(ステップS71)。そ
の正規化されたサンプルは、その後、エラー隠蔽された
パケットの境界セグメントに対して直接置き換えられる
(ステップS72)。
FIG. 12 is a flow chart for explaining the merging / merging processing when the error concealed packet is a substitute for silence. Template window W2
Is defined only for the use of silence substitution. The template window W2 is normalized to the value of the average power of the boundary segment of the good packet (step S71). The normalized sample is then directly replaced for the boundary segment of the error concealed packet (step S72).

【0065】また、選択処理は、ネットワーク性能統計
から生成される情報に基づいて実行できる。その統計
は、そのような情報を生成することができるネットワー
クノードによって、Pattern_Loss構造に類
似した形式で、ネットワークを介して配信される。また
は、その情報は、長期間に渡ってパケットオーディオバ
ッファによって受信されるパケットオーディオ損失パタ
ーンに基づいて生成される。この選択処理は、パケット
オーディオバッファにバッファされるオーディオの時間
間隔を越えるエラー損失パターンの時間間隔として定義
されることもある長期間解析に基づいている。長期間に
渡るエラー隠蔽に関して、図1のパケットオーディオバ
ッファ2において受信されるオーディオデータに対し
て、エラー隠蔽を実行するために、Pattern_L
oss構造におけるデータ要素を使用することができ
る。すなわち、以上においては、短期間解析(パケット
オーディオバッファ2に入ってくる連続的なパケットだ
けを見て、隠蔽方法を選択する解析)について説明し
た。以下、長期間解析(パケットオーディオバッファ2
に入ってくるパケットを所定の長い期間(図13に示す
バッファフレーム期間)チェックし続けた結果を利用し
て隠蔽手法を選択する解析)について説明する。長期間
解析ではバッファフレーム期間が過ぎる毎に、後で説明
するからの情報の値が更新される。パターン損失検
出器3により、短期間解析または長期間解析がなされ
る。
The selection process can be executed based on the information generated from the network performance statistics. The statistics are distributed over the network in a format similar to the Pattern_Loss structure by network nodes capable of generating such information. Alternatively, the information is generated based on packet audio loss patterns received by the packet audio buffer over time. This selection process is based on a long-term analysis, which is sometimes defined as the time interval of an error loss pattern that exceeds the time interval of the audio buffered in the packet audio buffer. Regarding error concealment over a long period of time, in order to perform error concealment on audio data received in the packet audio buffer 2 of FIG. 1, Pattern_L
Data elements in the oss structure can be used. That is, in the above, the short-term analysis (analysis that selects only the concealment method by looking at only the continuous packets that enter the packet audio buffer 2) has been described. Below, long-term analysis (packet audio buffer 2
The analysis of selecting the concealment method using the result of continuing checking the incoming packet for a predetermined long period (buffer frame period shown in FIG. 13) will be described. In the long-term analysis, the value of information, which will be described later, is updated every time the buffer frame period passes. The pattern loss detector 3 performs short-term analysis or long-term analysis.

【0066】オーディオ放送環境において、エラー隠蔽
が同じ方法で実行されるために、これらのPatter
n_Loss構造形式の統計は、エラー隠蔽が統合され
た方法で実行されることを可能にする。受信機が同じオ
ーディオ放送の受信を開始する時間は同時でないことが
あるが、選択して実行されるアルゴリズムを同一のもの
とすることが出来る。受信機の計算能力に余裕がない場
合には、パターン損失検出器3は、スイッチオフされて
もよい。長期間解析によるエラー隠蔽の選択は、パケッ
トオーディオバッファで観測される限定的な損失パター
ン(すなわち、上述したフラグパターン)、および、図
1のパターン損失検出器3によって生成される損失パタ
ーンの統計平均(後で説明するからの情報)に依存
しうる。なお、長期解析の結果と短期解析の結果の両方
を用いてアルゴリズムを選択する様にしてもよいし、長
期解析の結果と短期解析の結果のいずれか一方を用いて
アルゴリズムを選択する様にしてもよい。
In an audio broadcasting environment, these Patterns are used because error concealment is performed in the same way.
Statistics in the n_Loss structure type allow error concealment to be performed in an integrated manner. Although the receivers may start receiving the same audio broadcast at different times, the algorithms selected and executed may be the same. The pattern loss detector 3 may be switched off if the receiver has no computing power. The choice of error concealment by long-term analysis is limited to the limited loss pattern observed in the packet audio buffer (ie the flag pattern described above) and the statistical average of the loss patterns generated by the pattern loss detector 3 of FIG. (Information from a later description). The algorithm may be selected using both the long-term analysis result and the short-term analysis result, or the algorithm may be selected using either the long-term analysis result or the short-term analysis result. Good.

【0067】パターン損失検出器3から生成されるエラ
ー統計は、バッファフレーム期間中に測定される以下の
構造に示されるようなフォーマットである。一時的な損
失パターン、及びその期間を決定する際に使用されるバ
ッファフレーム期間は、単位時間として、または多くの
デジタル化されたオーディオデータパケットから構成さ
れるデジタルオーディオ信号のブロックとして定義され
る。なお、バッファフレーム期間は、パケットオーディ
オバッファに保持されるパケット期間よりも長く取るほ
うが効果的である。
The error statistics generated by the pattern loss detector 3 are in the format as shown in the following structure measured during the buffer frame period. The temporal loss pattern, and the buffer frame period used in determining its duration, is defined as a unit of time or a block of digital audio signal composed of many digitized audio data packets. Note that it is more effective to set the buffer frame period longer than the packet period held in the packet audio buffer.

【0068】Pattern_Loss{ Dalay;/秒またはパケットペイロードサイ
ズ(バイト/ビット)の単位/(ひとつのパケットの
PCM信号のサイズを時間軸上で表した遅延52) Mean Loss Interval; /2つ
のパケット損失の間の平均時間間隔/(L_Iの平
均) Max Loss Interval;/ 2つの
パケット損失の間の最大時間間隔/(L_I(max)5
4) First Loss Interval; /
ッファフレームの最初から最初のパケット損失が測定さ
れるまでの時間間隔/(L_I(p)53) Last Loss Interval;/エラー
のないパケットの最後のグループの第1番目のパケット
からバッファフレームの最後まで測定される時間間隔
/(TLLI) Mean Burst Interval;/2つ
のエラー/損失のないパケットの間の平均時間間隔
(B_Lの平均) Max Burst Interval; /2つ
のエラー/損失のないパケットの間の最大時間間隔
(B_L(max)) First Burst Interval; /
ッファフレームの最初からエラーのあるパケットのグル
ープの最後のパケットの最後まで測定される連続したエ
ラー/損失のあるパケットの第1のグループ/(FB
L) Last Burst Interval;/エラ
ーのあるパケットの最後のグループの第1番目のパケッ
トからバッファフレームの最後まで測定される時間間隔
/(LBI) }
Pattern_Loss {Delay; / * unit of seconds or packet payload size (byte / bit) * / (delay 52 representing the size of the PCM signal of one packet on the time axis) Mean Loss Interval; / * Average time interval between packet losses * / (average of L_I) Max Loss Interval; / * Maximum time interval between two packet losses * / (L_I (max) 5
4) First Loss Interval; / * Time interval from the beginning of the buffer frame until the first packet loss is measured * / (L_I (p) 53) Last Loss Interval; / * The first group of the last group of error-free packets Time interval measured from the first packet to the end of the buffer frame *
/ (TLLI) Mean Burst Interval; / * Average time interval between two error / lossless packets * /
(Average of B_L) Max Burst Interval; / * Maximum time interval between two error / lossless packets * /
(B_L (max)) First Burst Interval; / * first group of consecutive errored / lost packets measured from the beginning of the buffer frame to the end of the last packet of the group of erroneous packets * / (FB
L) Last Burst Interval; / * The time interval measured from the first packet of the last group of erroneous packets to the end of the buffer frame.
* / (LBI)}

【0069】図13は、上述のPattern_Los
s構造において示されるように、統計を生成することに
よって、エラーパターンを決定、及び記述する場合に使
用される方法を説明する。エラーパターンが決定される
任意の長さのオーディオデータパケットからなるバッフ
ァフレームの例51が与えられる。この実施例のパケッ
ト長は、固定サイズであり、パラメータ遅延52によっ
て決定される。平均損失間隔(Mean Loss In
terval)は、バッファフレーム内で測定される全
ての損失間隔の平均である。この例において、 Mean Loss Interval = {L_I(m
ax)+L_I+L_I(p)}/エラーのないパケッ
トの総間隔; で示される。
FIG. 13 shows the above-mentioned Pattern_Los.
The method used to determine and describe the error pattern is described by generating statistics, as shown in the s structure. An example 51 of a buffer frame consisting of audio data packets of arbitrary length for which an error pattern is determined is given. The packet length in this embodiment has a fixed size and is determined by the parameter delay 52. Mean Loss In
tval) is the average of all loss intervals measured in the buffer frame. In this example, Mean Loss Interval = {L_I (m
ax) + L_I + L_I (p)} / total interval of error-free packets;

【0070】平均バースト間隔(Mean Burst
Interval)は、バッファフレーム内で測定され
る全てのバースト間隔の平均である。この例において、 Mean Burst Interval = {B_L
(max)+B_L+B_L(n)}/エラーのあるパ
ケットの総間隔; で示される。
Average Burst Interval (Mean Burst)
Interval) is the average of all burst intervals measured in the buffer frame. In this example, Mean Burst Interval = {B_L
(Max) + B_L + B_L (n)} / total interval of erroneous packets;

【0071】変数L_I(p)53は、Pattern
_Loss構造のFirst Loss Interva
l要素の値を与える。変数L_I(max)54は、P
attern_Loss構造のMax Loss Int
erval要素の値を与える。変数L_I55は、バッ
ファフレーム内の損失間隔を測定するために使用される
データ値の1つである。Pattern_Loss構造
のLast Burst Interval要素は、変数
B_L(n)56に等しい。変数B_L57は、そのバ
ッファフレーム内で測定されるバーストエラー値の1つ
である。変数B_L(max)58は、図13に例とし
て示されるバッファフレームのPattern_Los
s構造のMax Burst Interval要素と同
等である。
The variable L_I (p) 53 is a Pattern
_ Loss structure First Loss Interval
Gives the value of the l element. The variable L_I (max) 54 is P
Max Loss Int of altern_Loss structure
Gives the value of the interval element. The variable L_I55 is one of the data values used to measure the loss interval within the buffer frame. The Last Burst Interval element of the Pattern_Loss structure is equal to the variable B_L (n) 56. The variable B_L57 is one of the burst error values measured in that buffer frame. The variable B_L (max) 58 is the Pattern_Los of the buffer frame shown as an example in FIG.
It is equivalent to the Max Burst Interval element of the s structure.

【0072】以下の表6は、Pattern_Loss
構造において得られるエラー損失統計が、最適なエラー
隠蔽されたエラーのないオーディオストリームを生成す
るエラー隠蔽アルゴリズムの選択についてより良い決定
を行うために、どのようにエラー隠蔽セレクタによって
使用されうるかについての多くの例示を示す。エラー隠
蔽は、図1のバッファ2において記憶されるオーディオ
パケットに適用される。バッファ2は、ある場合におい
て、短期間のオーディオ信号しか記憶できない。オーデ
ィオ信号の特定の時間間隔、および、ここで示された損
失時間間隔は、数値を有していないが、その代わりに、
相対的比較のための高低表示を使用する。詳細な実施に
ついて、オーディオ信号のパケットサイズおよびサンプ
リング率、および、利用できるエラー隠蔽アルゴリズム
の種類を知る必要がある。
Table 6 below shows Pattern_Loss.
Much about how the error loss statistics obtained in the structure can be used by the error concealment selector to make a better decision on the choice of the error concealment algorithm that produces an optimal error concealed error-free audio stream. The following is an example. Error concealment is applied to audio packets stored in buffer 2 of FIG. The buffer 2 can in some cases only store audio signals of short duration. The specific time intervals of the audio signal and the lost time intervals shown here do not have a numerical value, but instead,
Use high and low display for relative comparison. For a detailed implementation, it is necessary to know the packet size and sampling rate of the audio signal and the type of error concealment algorithm available.

【表6】 [Table 6]

【0073】なお、上述のPattern_Loss構
造は、エラー損失パターンを記述する場合に使用される
統計の一例であり、これに制限されない。また、バッフ
ァフレーム期間、パケット損失間の間隔等は、時間で表
現するのではなく、ビット数で表現することも可能であ
る。
The above-mentioned Pattern_Loss structure is an example of statistics used when describing an error loss pattern, and is not limited to this. Further, the buffer frame period, the interval between packet losses, and the like can be expressed not in time but in the number of bits.

【0074】図14は、本発明によるエラー隠蔽セレク
タモジュールを備えた音声パケット受信機のブロック図
である。図14における受信機70は、音声パケット受
信部71、音声パケット復号部72、エラー隠蔽セレク
タモジュール部73、及び音声出力部74から成る。音
声パケット受信部71は、ネットワークから音声パケッ
トを受信し、受信された音声パケットが欠落しているか
否かの検出を行う。音声パケットの欠落を検出した場合
には、検出した情報を音声パケット復号部72に出力す
る。音声パケット復号部72は、音声パケット受信部7
1から出力された音声パケットが符号化された音声であ
る場合は、復号を行い、PCM音声を生成する。また、
エラー隠蔽セレクタモジュール部73が必要とするPC
Mパケットを生成する。なお、エラー隠蔽セレクタモジ
ュール部73は、図1に示したブロック図に相当するも
のである。さらに、音声パケット復号部72は、音声パ
ケット受信部71によって検出されたパケット損失情報
を受け取り、その情報をエラー隠蔽セレクタモジュール
部73に出力する。エラー隠蔽セレクタモジュール部7
3は、音声パケット復号部72から入力されたパケット
が良好パケットか損失パケットかを判断して、その結果
に応じた処理を行う。エラー隠蔽セレクタモジュール部
73は、音声パケット受信部71によって追加されたパ
ケットヘッダとパケットヘッダに続くペイロードとから
構成され、かつ、エラーインジケータフィールドが「損
失なし」の情報を示し、シーケンス番号フィールドのシ
ーケンス番号の順序が正しいパケットを良好パケットと
判断する。また、エラー隠蔽セレクタモジュール部73
は、音声パケット受信部71によって追加されたパケッ
トヘッダにおいて、エラーインジケータフィールドが
「損失」の情報を示し、かつ、シーケンス番号フィール
ドのシーケンス番号の順序が正しいパケットを損失パケ
ットと判断する。音声出力部74は、エラー隠蔽セレク
タモジュール部73によって処理され、出力されたディ
ジタル音声をアナログ音声に変換し、スピーカ等に出力
する。なお、音声パケット復号部72は、音声パケット
受信部71から出力された音声パケットが符号化されて
いないPCM音声である場合には、省略可能である。
FIG. 14 is a block diagram of a voice packet receiver having an error concealment selector module according to the present invention. The receiver 70 in FIG. 14 includes a voice packet reception unit 71, a voice packet decoding unit 72, an error concealment selector module unit 73, and a voice output unit 74. The voice packet receiver 71 receives a voice packet from the network and detects whether or not the received voice packet is missing. When the loss of the voice packet is detected, the detected information is output to the voice packet decoding unit 72. The voice packet decoding unit 72 includes the voice packet receiving unit 7
When the voice packet output from 1 is encoded voice, decoding is performed and PCM voice is generated. Also,
PC required by the error concealment selector module unit 73
Generate M packets. The error concealment selector module unit 73 corresponds to the block diagram shown in FIG. Further, the voice packet decoding unit 72 receives the packet loss information detected by the voice packet receiving unit 71 and outputs the information to the error concealment selector module unit 73. Error concealment selector module unit 7
3 determines whether the packet input from the voice packet decoding unit 72 is a good packet or a lost packet, and performs processing according to the result. The error concealment selector module unit 73 includes a packet header added by the voice packet receiving unit 71 and a payload following the packet header, and an error indicator field indicates "no loss" information, and a sequence of a sequence number field. A packet with the correct number sequence is determined as a good packet. Also, the error concealment selector module unit 73
In the packet header added by the voice packet receiving unit 71, a packet is determined as a lost packet if the error indicator field indicates “loss” information and the sequence number in the sequence number field is correct. The voice output unit 74 is processed by the error concealment selector module unit 73, converts the output digital voice into analog voice, and outputs the analog voice to a speaker or the like. The voice packet decoding unit 72 can be omitted when the voice packet output from the voice packet receiving unit 71 is unencoded PCM voice.

【0075】[0075]

【発明の効果】本発明は、場合によって異なるエラー隠
蔽方法の組み合せが使用されることを可能にする。最も
適当な選択肢が、ランタイムに動的に選択されることが
可能である。資源が低いとき、複雑さの少ないエラー隠
蔽アルゴリズムを使用でき、もし十分な資源が検出され
るなら、より効果的だがより複雑なアルゴリズムを選択
することができる。選択は、異なる特性を備えたあらか
じめ決められるアルゴリズムの集合からのものである。
音声セグメントのエラー隠蔽は、方法のリストから選択
でき、非音声セグメントの場合には、もう1つの方法の
リストから選択できる。多くの連続するパケットが欠落
になるバースト損失の場合には、このセレクタは、エラ
ーを隠蔽する種々の方法が、そのバースト損失を処理す
ることを可能にする。また、本発明は、オーディオバッ
ファサイズが小さく、待ち時間(latency)の短
いオーディオ受信機が、パケット分割されたオーディオ
ストリームのエラーパターンを測定するエラー統計を用
いることによって、複雑なエラー隠蔽を実行することを
可能にする。収集されるエラー統計に基づき、エラー隠
蔽セレクタは、特定のオーディオ損失フレームに対して
使用されるエラー隠蔽の種類についてより良い決定を行
い、エラー隠蔽されたより良好なオーディオ出力を得る
ことができる。
The present invention allows different combinations of error concealment methods to be used in some cases. The most suitable option can be selected dynamically at runtime. When resources are low, a low complexity error concealment algorithm can be used, and if sufficient resources are detected, a more effective but more complex algorithm can be selected. The choice is from a set of predetermined algorithms with different properties.
Error concealment for a voice segment can be selected from a list of methods and, for non-voice segments, another method list. In the case of burst loss, where many consecutive packets are dropped, this selector allows various methods of concealing the error to handle the burst loss. The present invention also provides a complex audio concealment by an audio receiver with a small audio buffer size and low latency by using error statistics that measure the error pattern of packetized audio streams. To enable that. Based on the collected error statistics, the error concealment selector can make a better decision on the type of error concealment used for a particular audio lost frame, resulting in better error concealed audio output.

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

【図1】 動的エラー隠蔽セレクタのブロック図。FIG. 1 is a block diagram of a dynamic error concealment selector.

【図2】 (a)は、有効なパケットにおけるフィール
ド(ヘッドとデータ)を示す図で、(b)は、損失パケ
ットにおけるフィールド(データがなく、ヘッダのみ)
を示す図。
FIG. 2 (a) is a diagram showing fields (head and data) in a valid packet, and (b) is a field in a lost packet (no data, only header).
FIG.

【図3】 図1の装置の主要点での信号を示す図。FIG. 3 is a diagram showing signals at main points of the apparatus shown in FIG.

【図4】 種々のアルゴリズムを示す説明図。FIG. 4 is an explanatory diagram showing various algorithms.

【図5】 エラー隠蔽選択処理のフローチャートの図。FIG. 5 is a flowchart of error concealment selection processing.

【図6】 バースト損失の数を得る方法を示すフローチ
ャートの図。
FIG. 6 is a flow chart illustrating a method of obtaining the number of burst losses.

【図7】 最初のn個の連続パケットを処理する選択処
理のフローチャートの図。
FIG. 7 is a flowchart of a selection process for processing the first n consecutive packets.

【図8】 続くp個の連続パケットを処理する選択処理
のフローチャートの図。
FIG. 8 is a flowchart of a selection process for processing the subsequent p consecutive packets.

【図9】 8個の連続する欠落パケットを備えるストリ
ームの一部を示す図。
FIG. 9 shows a part of a stream with 8 consecutive dropped packets.

【図10】 ミューティング切り換え処理のフローチャ
ートを示す図。
FIG. 10 is a diagram showing a flowchart of a muting switching process.

【図11】 エラー隠蔽されたパケットが無音代替でな
い場合のマージング処理を説明するフローチャートの
図。
FIG. 11 is a flowchart illustrating a merging process in the case where an error-concealed packet is not a silent substitute.

【図12】 エラー隠蔽されたパケットが無音代替であ
る場合のマージング処理を説明するフローチャートの
図。
FIG. 12 is a flowchart illustrating a merging process in the case where an error-concealed packet is a substitute for silence.

【図13】 オーディオパケットバッファにおいて検出
されたエラーパターンが、エラー隠蔽に使用される数学
的統計に変換されることを示す図。
FIG. 13 shows that the error pattern detected in the audio packet buffer is transformed into mathematical statistics used for error concealment.

【図14】 本発明によるエラー隠蔽セレクタモジュー
ルを備えた音声パケット受信機のブロック図。
FIG. 14 is a block diagram of a voice packet receiver including an error concealment selector module according to the present invention.

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

2 パケットオーディオバッファ 3 損失パターン検出器 4 マルチプレクサ 5 音声検出器 6 エネルギー計算器 7 信号解析器 8 エラー隠蔽セレクタ 9 アルゴリズムホルダ 2 packet audio buffer 3 Loss pattern detector 4 multiplexer 5 Voice detector 6 energy calculator 7 Signal analyzer 8 Error concealment selector 9 Algorithm holder

───────────────────────────────────────────────────── フロントページの続き (72)発明者 ペク ユー・タン シンガポール534415シンガポール、タイ・ セン・アベニュー、ブロック1022、04− 3530番、タイ・セン・インダストリアル・ エステイト、パナソニック・シンガポール 研究所株式会社内 (72)発明者 佐藤 正樹 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 Fターム(参考) 5K030 GA12 HA08 HB01 HB16 JT01 LA06 LC02 MB13    ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Baek Tan             Singapore 534415 Singapore, Thailand             Sen Avenue, Block 1022, 04-             No. 3530, Thai Sen Industrial             Estate, Panasonic Singapore             Research Institute Co., Ltd. (72) Inventor Masaki Sato             1006 Kadoma, Kadoma-shi, Osaka Matsushita Electric             Sangyo Co., Ltd. F-term (reference) 5K030 GA12 HA08 HB01 HB16 JT01                       LA06 LC02 MB13

Claims (16)

【特許請求の範囲】[Claims] 【請求項1】 複数のパケットからなる音声信号の、パ
ケットの欠落を検出し、欠落したパケットを隠蔽するた
め、補填パケットを生成するエラー隠蔽装置であって、 受信した有効パケット列において、欠落しているパケッ
トを検出する、欠落パケット検出手段(1)と、 欠落したパケットの前に存在する有効パケットを抽出す
る、バッファを有する抽出手段(2,3)と、 抽出された有効パケットに保持されている音声信号を解
析する解析手段(7)と、 複数のアルゴリズムを保持し、複数のアルゴリズムの内
のいずれかひとつを用いて補填パケットを生成する、ア
ルゴリズム保持手段(9)と、 上記解析手段の解析結果を用いて、複数のアルゴリズム
のいずれを選択するかを決定する、選択手段(8)と、 有効パケット列において、欠落したパケットの位置に補
填パケットを挿入するマルチプレクサ(4)とを有する
ことを特徴とするエラー隠蔽装置。
1. An error concealment device for detecting a packet loss of an audio signal composed of a plurality of packets and for concealing the lost packet, wherein the error concealment device generates a compensation packet, which is lost in a received valid packet sequence. Missing packet detection means (1) for detecting existing packets, extraction means (2, 3) having a buffer for extracting valid packets existing before the lost packets, and retained in the extracted valid packets Analyzing means (7) for analyzing a voice signal being generated, an algorithm holding means (9) for holding a plurality of algorithms and generating a compensation packet using any one of the plurality of algorithms, and the analyzing means. The selection means (8) for determining which of a plurality of algorithms is to be selected using the analysis result of the An error concealment device comprising: a multiplexer (4) for inserting a compensation packet at the position of the dropped packet.
【請求項2】 さらに動作制御を行なうCPU(10)
と、CPUと協働するメモリ(10)と、CPU及びメ
モリの余裕程度を示す余裕値を計測する余裕値計測手段
(10)とを有し、 上記選択手段は、余裕値も用いて、複数のアルゴリズム
のいずれを選択するかを決定することを特徴とする請求
項1記載のエラー隠蔽装置。
2. A CPU (10) for further controlling operation.
And a memory (10) cooperating with the CPU, and a margin value measuring means (10) for measuring a margin value indicating a margin degree of the CPU and the memory. 2. The error concealment device according to claim 1, wherein which of the algorithms is selected is determined.
【請求項3】 上記解析手段(7)は、音声信号に音声
が含まれているか、無音状態であるかを判断する音声検
出器(5)を有することを特徴とする請求項1記載のエ
ラー隠蔽装置。
3. The error according to claim 1, wherein the analysis means (7) has a voice detector (5) for determining whether the voice signal contains voice or is in a silent state. Concealment device.
【請求項4】 上記解析手段(7)は、音声信号のエネ
ルギーを計算するエネルギー計算器(6)を有すること
を特徴とする請求項1記載のエラー隠蔽装置。
4. The error concealment device according to claim 1, characterized in that said analysis means (7) comprises an energy calculator (6) for calculating the energy of the speech signal.
【請求項5】 上記欠落パケット検出手段(1)は、受
信すべき全てのパケットに対し、有効パケットか、欠落
しているパケットかを識別するフラグを付与することを
特徴とする請求項1記載のエラー隠蔽装置。
5. The missing packet detecting means (1) adds a flag for identifying a valid packet or a missing packet to all the packets to be received. Error concealment device.
【請求項6】 上記抽出手段は、フラグを抽出し、フラ
グを並べたフラグパターンを生成することを特徴とする
請求項5記載のエラー隠蔽装置。
6. The error concealment device according to claim 5, wherein the extraction means extracts a flag and generates a flag pattern in which the flags are arranged.
【請求項7】 上記選択手段は、フラグパターンを解析
し、フラグパターンの解析結果に基づいて、複数のアル
ゴリズムのいずれを選択するかを決定することを特徴と
する請求項6記載のエラー隠蔽装置。
7. The error concealment apparatus according to claim 6, wherein the selection means analyzes a flag pattern and determines which of a plurality of algorithms to select based on the analysis result of the flag pattern. .
【請求項8】 上記複数のアルゴリズムは、 欠落したパケットの直前の有効パケットの音声信号を修
正して、その欠落したパケットの音声信号を作り出す第
1のアルゴリズムと、 欠落したパケットの直前の有効パケットの音声信号をそ
のままコピーして、その欠落したパケットの音声信号を
作り出す第2のアルゴリズムと、 ホワイトノイズを用いて欠落したパケットの音声信号を
作り出す第3のアルゴリズムと、 無音信号を用いて欠落したパケットの音声信号を作り出
す第4のアルゴリズムとを有することを特徴とする請求
項1記載のエラー隠蔽装置。
8. The first algorithm, wherein the plurality of algorithms modify a voice signal of a valid packet immediately before a lost packet to produce a voice signal of the lost packet, and a valid packet immediately before the lost packet. The second algorithm that copies the voice signal of the above as it is and produces the voice signal of the missing packet, the third algorithm that produces the voice signal of the lost packet using white noise, and the third algorithm that uses the silent signal The error concealment device according to claim 1, further comprising a fourth algorithm for generating a voice signal of a packet.
【請求項9】 複数のパケットからなる音声信号の、パ
ケットの欠落を検出し、欠落したパケットを隠蔽するた
め、補填パケットを生成するエラー隠蔽装置であって、 受信した有効パケット列において、欠落しているパケッ
トを検出するステップと、 欠落したパケットの前に存在する有効パケットを抽出す
るステップと、 抽出された有効パケットに保持されている音声信号を解
析するステップと、 複数のアルゴリズムを保持し、複数のアルゴリズムの内
のいずれかひとつを用いて補填パケットを生成するステ
ップと、 解析結果を用いて、複数のアルゴリズムのいずれを選択
するかを決定するステップと、 有効パケット列において、欠落したパケットの位置に補
填パケットを挿入するステップとを有することを特徴と
するエラー隠蔽方法。
9. An error concealment device for generating a compensation packet for detecting a packet loss of an audio signal composed of a plurality of packets and concealing the dropped packet, wherein the error concealment device receives a missing packet in a valid packet sequence. A valid packet existing before the missing packet, a step of analyzing a voice signal held in the extracted valid packet, a plurality of algorithms are held, A step of generating a supplementary packet using any one of a plurality of algorithms, a step of determining which of a plurality of algorithms is selected using the analysis result, And a step of inserting a compensation packet at a position.
【請求項10】 さらに動作制御を行なうCPU(1
0)と、CPUと協働するメモリ(10)の余裕程度を
示す余裕値を計測するステップを有し、 上記余裕値も用いて、複数のアルゴリズムのいずれを選
択するかを決定することを特徴とする請求項9記載のエ
ラー隠蔽方法。
10. A CPU (1) for further controlling operation.
0) and a margin value indicating a margin degree of the memory (10) that cooperates with the CPU, and which of the plurality of algorithms is selected is also determined by using the margin value. The error concealment method according to claim 9.
【請求項11】 上記解析するステップは、音声信号に
音声が含まれているか、無音状態であるかを判断するス
テップを有することを特徴とする請求項9記載のエラー
隠蔽方法。
11. The error concealing method according to claim 9, wherein the analyzing step includes a step of determining whether the audio signal contains a voice or is in a silent state.
【請求項12】 上記解析するステップは、音声信号の
エネルギーを計算するステップを有することを特徴とす
る請求項9記載のエラー隠蔽方法。
12. The error concealment method according to claim 9, wherein the analyzing step includes a step of calculating energy of a voice signal.
【請求項13】 受信すべき全てのパケットに対し、有
効パケットか、欠落しているパケットかを識別するフラ
グを付与するステップを有することを特徴とする請求項
9記載のエラー隠蔽方法。
13. The error concealment method according to claim 9, further comprising the step of adding a flag for identifying whether each packet is a valid packet or a missing packet to all packets to be received.
【請求項14】 フラグを抽出し、フラグを並べたフラ
グパターンを生成するステップを有することを特徴とす
る請求項13記載のエラー隠蔽方法。
14. The error concealment method according to claim 13, further comprising the step of extracting a flag and generating a flag pattern in which the flags are arranged.
【請求項15】 フラグパターンを解析し、フラグパタ
ーンの解析結果に基づいて、複数のアルゴリズムのいず
れを選択するかを決定するステップを有することを特徴
とする請求項14記載のエラー隠蔽方法。
15. The error concealment method according to claim 14, further comprising the step of analyzing a flag pattern and determining which of a plurality of algorithms is to be selected based on the analysis result of the flag pattern.
【請求項16】 上記複数のアルゴリズムは、 欠落したパケットの直前の有効パケットの音声信号を修
正して、その欠落したパケットの音声信号を作り出す第
1のアルゴリズムと、 欠落したパケットの直前の有効パケットの音声信号をそ
のままコピーして、その欠落したパケットの音声信号を
作り出す第2のアルゴリズムと、 ホワイトノイズを用いて欠落したパケットの音声信号を
作り出す第3のアルゴリズムと、 無音信号を用いて欠落したパケットの音声信号を作り出
す第4のアルゴリズムとを有することを特徴とする請求
項9記載のエラー隠蔽方法。
16. The first algorithm corrects a voice signal of a valid packet immediately before a lost packet to generate a voice signal of the lost packet, and a valid packet immediately before the lost packet. The second algorithm that copies the voice signal of the above as it is and produces the voice signal of the missing packet, the third algorithm that produces the voice signal of the lost packet using white noise, and the third algorithm that uses the silent signal 10. The error concealment method according to claim 9, further comprising a fourth algorithm for generating a voice signal of a packet.
JP2002330986A 2001-11-15 2002-11-14 Error concealment apparatus and method Pending JP2003218932A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002330986A JP2003218932A (en) 2001-11-15 2002-11-14 Error concealment apparatus and method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2001-349967 2001-11-15
JP2001349967 2001-11-15
JP2002330986A JP2003218932A (en) 2001-11-15 2002-11-14 Error concealment apparatus and method

Publications (1)

Publication Number Publication Date
JP2003218932A true JP2003218932A (en) 2003-07-31

Family

ID=27667233

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002330986A Pending JP2003218932A (en) 2001-11-15 2002-11-14 Error concealment apparatus and method

Country Status (1)

Country Link
JP (1) JP2003218932A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005086138A1 (en) * 2004-03-05 2005-09-15 Matsushita Electric Industrial Co., Ltd. Error conceal device and error conceal method
US20060122823A1 (en) * 2004-11-24 2006-06-08 Samsung Electronics Co., Ltd. Method and apparatus for processing asynchronous audio stream
WO2008149415A1 (en) * 2007-06-04 2008-12-11 Fujitsu Limited Packet switch device
JP2009290567A (en) * 2008-05-29 2009-12-10 Canon Inc Data transmission device and data reception device
JP2010521911A (en) * 2007-03-20 2010-06-24 フラウンホファー・ゲゼルシャフト・ツール・フォルデルング・デル・アンゲバンテン・フォルシュング・アインゲトラーゲネル・フェライン Apparatus and method for transmitting a sequence of data packets and decoder and apparatus for decoding a sequence of data packets
JPWO2009008220A1 (en) * 2007-07-09 2010-09-02 日本電気株式会社 Voice packet receiving apparatus, voice packet receiving method, and program
US8065141B2 (en) 2006-08-31 2011-11-22 Sony Corporation Apparatus and method for processing signal, recording medium, and program
JP2013031191A (en) * 2005-08-19 2013-02-07 Qualcomm Inc Picture-in-picture processing for video telephony

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4744438B2 (en) * 2004-03-05 2011-08-10 パナソニック株式会社 Error concealment device and error concealment method
EP1722359A1 (en) * 2004-03-05 2006-11-15 Matsushita Electric Industrial Co., Ltd. Error conceal device and error conceal method
JPWO2005086138A1 (en) * 2004-03-05 2008-01-24 松下電器産業株式会社 Error concealment device and error concealment method
EP1722359A4 (en) * 2004-03-05 2009-09-02 Panasonic Corp Error conceal device and error conceal method
WO2005086138A1 (en) * 2004-03-05 2005-09-15 Matsushita Electric Industrial Co., Ltd. Error conceal device and error conceal method
US7809556B2 (en) 2004-03-05 2010-10-05 Panasonic Corporation Error conceal device and error conceal method
US20060122823A1 (en) * 2004-11-24 2006-06-08 Samsung Electronics Co., Ltd. Method and apparatus for processing asynchronous audio stream
US8605599B2 (en) * 2004-11-24 2013-12-10 Samsung Electronics Co., Ltd Method and apparatus for processing asynchronous audio stream
JP2013031191A (en) * 2005-08-19 2013-02-07 Qualcomm Inc Picture-in-picture processing for video telephony
US8065141B2 (en) 2006-08-31 2011-11-22 Sony Corporation Apparatus and method for processing signal, recording medium, and program
US8385366B2 (en) 2007-03-20 2013-02-26 Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. Apparatus and method for transmitting a sequence of data packets and decoder and apparatus for decoding a sequence of data packets
JP2010521911A (en) * 2007-03-20 2010-06-24 フラウンホファー・ゲゼルシャフト・ツール・フォルデルング・デル・アンゲバンテン・フォルシュング・アインゲトラーゲネル・フェライン Apparatus and method for transmitting a sequence of data packets and decoder and apparatus for decoding a sequence of data packets
JP4890613B2 (en) * 2007-06-04 2012-03-07 富士通株式会社 Packet switch device
GB2462237B (en) * 2007-06-04 2011-11-23 Fujitsu Ltd Packet switching system
JPWO2008149415A1 (en) * 2007-06-04 2010-08-19 富士通株式会社 Packet switch device
GB2462237A (en) * 2007-06-04 2010-02-03 Fujitsu Ltd Packet switch device
WO2008149415A1 (en) * 2007-06-04 2008-12-11 Fujitsu Limited Packet switch device
US8621325B2 (en) 2007-06-04 2013-12-31 Fujitsu Limited Packet switching system
JPWO2009008220A1 (en) * 2007-07-09 2010-09-02 日本電気株式会社 Voice packet receiving apparatus, voice packet receiving method, and program
JP5012897B2 (en) * 2007-07-09 2012-08-29 日本電気株式会社 Voice packet receiving apparatus, voice packet receiving method, and program
JP2009290567A (en) * 2008-05-29 2009-12-10 Canon Inc Data transmission device and data reception device

Similar Documents

Publication Publication Date Title
EP1458145A1 (en) Error concealment apparatus and method
US8320391B2 (en) Acoustic signal packet communication method, transmission method, reception method, and device and program thereof
US6597961B1 (en) System and method for concealing errors in an audio transmission
US7650280B2 (en) Voice packet loss concealment device, voice packet loss concealment method, receiving terminal, and voice communication system
CN110838894B (en) Speech processing method, device, computer readable storage medium and computer equipment
EP1746581B1 (en) Sound packet transmitting method, sound packet transmitting apparatus, sound packet transmitting program, and recording medium in which that program has been recorded
CN111314335B (en) Data transmission method, device, terminal, storage medium and system
US20050055201A1 (en) System and method for real-time detection and preservation of speech onset in a signal
US8631295B2 (en) Error concealment
US20100324914A1 (en) Adaptive Encoding of a Digital Signal with One or More Missing Values
US20020065648A1 (en) Voice encoding apparatus and method therefor
Wah et al. LSP-based multiple-description coding for real-time low bit-rate voice over IP
JP2003218932A (en) Error concealment apparatus and method
KR100792209B1 (en) Method and apparatus for restoring digital audio packet loss
US20100135185A1 (en) Voice communication quality assessing system
KR100911771B1 (en) A apparatus of packet loss concealment with realtime voice communication on internet and method thereof
CN101976567B (en) Voice signal error concealing method
KR100594599B1 (en) Apparatus and method for restoring packet loss based on receiving part
KR100900438B1 (en) Apparatus and method for voice packet recovery
JP2006279809A (en) Apparatus and method for voice reproducing
Yousefi'zadeh Optimal rate adaptation for voip over wireless tandem links
CN116996622B (en) Voice data transmission method, device, equipment, medium and program product
CN117640015B (en) Speech coding and decoding method and device, electronic equipment and storage medium
KR20050066477A (en) Method and apparatus for frame loss concealment for voip systems
Lindblom et al. Error protection and packet loss concealment based on a signal matched sinusoidal vocoder