JPH02268045A - Voice packet communication equipment - Google Patents

Voice packet communication equipment

Info

Publication number
JPH02268045A
JPH02268045A JP1088096A JP8809689A JPH02268045A JP H02268045 A JPH02268045 A JP H02268045A JP 1088096 A JP1088096 A JP 1088096A JP 8809689 A JP8809689 A JP 8809689A JP H02268045 A JPH02268045 A JP H02268045A
Authority
JP
Japan
Prior art keywords
packet
voice
frame
sound
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP1088096A
Other languages
Japanese (ja)
Other versions
JP2555443B2 (en
Inventor
Kazuhiro Watanabe
和浩 渡邉
Kiyoshi Yokota
潔 横田
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP1088096A priority Critical patent/JP2555443B2/en
Publication of JPH02268045A publication Critical patent/JPH02268045A/en
Application granted granted Critical
Publication of JP2555443B2 publication Critical patent/JP2555443B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To improve the S/N of a regenerative signal by sending a data while the serial number of voiced frame and non-voiced frame and end packet information, thereby allowing a receiver side to detect packet abort and executing an interpolation processing. CONSTITUTION:A transmitter 10 inputs a voice frame 100 subjected to band compression to a packet composition circuit 18 with a coder 14 via a voice frame forming circuit 12. The circuit 18 composes a count 115 obtained from a serial number provision circuit 20 and an end packet flag representing the end of the voice period obtained from a packet flag generating circuit 24 into a voice packet P, which is sent to an exchange network 60. A receiver 30 receives the packet P to detect the packet abort based on the continuity of the serial number, end packet information and an under run signal to apply interpolation processing. Thus, the S/N of the regenerative signal is improved.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は音声パケット通信装置、より具体的には、音声
パケットの廃棄を補間する音声パケット通信装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a voice packet communication device, and more specifically to a voice packet communication device that interpolates discarded voice packets.

(従来の技術) 音声パケット通信では、送信側は通常、伝送効率の向上
のため、人力した音声信号により音声フレームと無音フ
レームの音声パケットを構成し、無音フレームについて
はこれを音声パケットとして送出しない無音圧縮技術を
用い、また有音フレームについてはADPC:l、tな
どの予測符号化による帯域圧縮技術を用いて、送信を行
なっている。しかしADPCJ+等の予測符号化では、
符号器と復号器は、独立した内部情報を用いて次のサン
プルの予測を行ない、内部情報は同期状態を維持して更
新されるように構成されている。−旦、パケット廃棄が
発生すると、符号器と復号器との内部情報に非同期状態
が発生し、そのためパケット廃棄後受信した音声パケッ
トの再生出力のS/Nが大きく劣化する状態が継続する
(Prior art) In voice packet communication, in order to improve transmission efficiency, the transmitting side usually constructs voice packets of voice frames and silent frames using manually generated voice signals, and does not send silent frames as voice packets. Transmission is performed using a silent compression technique, and for voiced frames, a band compression technique based on predictive coding such as ADPC: l, t. However, in predictive coding such as ADPCJ+,
The encoder and decoder are configured to use independent internal information to predict the next sample, and the internal information is updated in a synchronized manner. - Once a packet is discarded, an asynchronous state occurs in the internal information between the encoder and the decoder, and as a result, the S/N of the reproduced output of the received audio packet continues to deteriorate significantly after the packet is discarded.

この対策として1g谷 宏他、r ADP(J符号化を
用いた音声パケット化の検討」昭和63年電子情報通信
学会春季全国大会論文集B−329に提案されたものが
ある。この文献に開示されている装置では、各有音区間
の始めに符号器と復号器に対して同時にリセットを行な
って強制的に符号器と復号器の内部情報を一致させ、パ
ケット廃棄によるS/Nの劣化を最大、l有音区間に制
限し、パケット廃棄の発生した付合区間の次の有音区間
ではS/Nの劣化を回復するようにしていた。
As a countermeasure for this, there is a proposal proposed by Hiroshi Tani et al., "Study of audio packetization using r ADP (J encoding"), Proceedings of the 1986 Institute of Electronics, Information and Communication Engineers Spring National Conference, B-329. Disclosed in this document. In such devices, the encoder and decoder are simultaneously reset at the beginning of each sound interval to force the internal information of the encoder and decoder to match, thereby reducing S/N degradation due to packet discards. This is limited to a maximum of l sound sections, and the deterioration of the S/N ratio is recovered in the next sound section of the combined section in which packet discard occurs.

(発明が解決しようとする課題) しかし、上述の従来の方法では、パケット廃棄の発生し
た有音区間では、依然として符号器と復号器の非同期状
態が発生し、したがって再生音声のS/N劣化が大きく
、満足する音声品質が得られないという問題があった。
(Problem to be Solved by the Invention) However, in the above-mentioned conventional method, an asynchronous state between the encoder and the decoder still occurs in the sound section where packet discard occurs, and therefore, S/N deterioration of the reproduced audio occurs. There was a major problem in that satisfactory audio quality could not be obtained.

本発明は、このようなパケット廃棄か発生した有音区間
に対してもS/Nの劣化を最小とする、音声品質の優れ
た音声パケット通信装設を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide voice packet communication equipment with excellent voice quality that minimizes deterioration of S/N even in voiced sections where such packet discard occurs.

(課題を解決するための手段) 本発明によれば、ディジタル音声信号を音声フレームに
形成する音声フレーム形成手段と、音声フレーム内の有
音フレームが続く有音区間および無音フレームが続く無
音区間を検出し、有音および無音区間を表わす有無音信
号、ならびに有音区間のハングオーバ信号を出力する音
声検出手段と、音声フレームを圧縮符号化し、この符号
化された音声フレームを出力する符号化手段と、音声フ
レームの有音フレームおよび無音フレームに一゛連の通
番を付与する通番付与手段と、符号化手段からの有音フ
レーム、および有音フレームの連番を含む音声パケット
を組み立てて送信するパケット組立て手段とを含む音声
パケット通信装置は、有無音信号により有音区間の先頭
で符号化手段をリセットするリセット手段と、有音区間
の後部を識別してこの後部を示すエンドパケット情報を
出力するエンドパケット情報生成手段とを有し、パケッ
ト組立て手段は、エンドパケット情報を含む音声パケッ
トを組み立てて送信する。
(Means for Solving the Problems) According to the present invention, there is provided a voice frame forming means for forming a digital voice signal into a voice frame, and a voice frame forming means for forming a digital voice signal into a voice frame, and a voice frame forming means for forming a voice frame into a voice frame, and a voice frame forming means for forming a voice frame into a voice frame, and a voice frame forming means that forms a voice frame in the voice frame. a voice detection means for detecting and outputting a sound presence/absence signal representing a voiced and silent interval and a hangover signal for a voiced interval; and an encoding means for compressing and encoding a voice frame and outputting the encoded voice frame. , a serial number assigning means for assigning a series of serial numbers to the voice frames and silent frames of the voice frames, and a packet for assembling and transmitting voice packets including the voice frames and the serial numbers of the voice frames from the encoding means. an assembling means, a reset means for resetting the encoding means at the head of the sound section by a sound presence/absence signal, and an end packet information for identifying the rear part of the sound interval and outputting end packet information indicating the rear part. and an end packet information generating means, and the packet assembling means assembles and transmits an audio packet including the end packet information.

本発明によればまた、音声パケット通信装置は、有音フ
レーム、この有音フレームおよび無音フレームに連続し
て付与される通番、ならびに有音フレームが続く有音区
間の終りを示すエンドパケットi青報を含む音声パケッ
トを受信し、この音声パケットを記憶してその受信順に
出力し、この記′億された音声パケットがすべて出力さ
れるとアンダーラン信号を生成する記憶手段と、記・m
手段から出力された音声パケットを、有音フレーム通番
およびエンドパケット情報に分解するパケット分解手段
と、通番の連続性、エンドパケット情報およびアンダー
ラン信号に基づいてパケット廃棄を検出し、このパケッ
ト廃棄を示す廃棄検出信号を出力するとともに、音声再
生の有音または無音を検出してその検出の結果を示す有
無音検出信号を出力する廃棄検出手段と、廃棄検出手段
から廃棄検出信号が出力されないときは、パケット分解
手段からの有音フレームを出力し、廃棄検出信号が出力
されると、有音フレームから補間データを作成して補間
データを出力する補間手段と、補間手段からの出力をデ
ィジタル信号に1夏号する復号手段と、廃棄検出手段か
らの有無音検出信号が有音に変化すると復号手段をリセ
ットするリセット手段とを有する。
According to the present invention, the voice packet communication device also includes a voice frame, a serial number consecutively assigned to the voice frame and the silent frame, and an end packet i blue indicating the end of the voice section following the voice frame. a storage means for receiving audio packets containing information, storing the audio packets and outputting them in the order of reception, and generating an underrun signal when all the stored audio packets have been output;
packet disassembly means for disassembling a voice packet output from the means into a voice frame serial number and end packet information; detecting packet discard based on the continuity of the serial number, end packet information and underrun signal; a discard detection means for outputting a discard detection signal indicating the presence or absence of sound in audio playback and outputting a sound/absence detection signal indicating the result of the detection; , an interpolation means that outputs a sound frame from the packet decomposition means, and when a discard detection signal is output, creates interpolated data from the sound frame and outputs the interpolation data, and converts the output from the interpolation means into a digital signal. The decoding means has a decoding means that performs one summer issue, and a reset means that resets the decoding means when the sound detection signal from the discard detection means changes to sound.

(作 用) 本発明によれば、音声パケット通信装置の送信(jjl
lでは、ディジタル音声信号を音声フレームに形成する
際、有音区間および無音区間を検出し、有無音信号およ
びハングオーバ信号を形成する。音声フレームは圧縮符
号化され、音声フレームの有音フレームおよび無音フレ
ームに一連の通番が付与される。有音フレームおよび有
音フレームの通番を含む音声パケットが組み立てられて
送信される。有無音信号により有音区間の先頭で符号化
手段かりセントされ、有音区間の後部を識別してエンド
パケット情報が生成される。パケット組立て手段は、有
音区間の終りを示すエンドパケット情報を付加して音声
パケットを組み立てて送信する。
(Function) According to the present invention, the transmission (jjl
1, when forming a digital audio signal into an audio frame, detects a sound section and a silent section, and forms a sound presence signal and a hangover signal. The audio frame is compressed and encoded, and a series of serial numbers are assigned to the voice frame and the silent frame. A voice packet including a voice frame and a serial number of the voice frame is assembled and transmitted. The encoding means detects the beginning of the sound section based on the sound presence/absence signal, identifies the end of the sound section, and generates end packet information. The packet assembling means adds end packet information indicating the end of the sound section, assembles a voice packet, and transmits the voice packet.

受信側では、このような音声パケットを受信して記・臆
し、その受信順にこれを出力する。この記・世された音
声パケットがすべて出力されるとアンダーラン信司が生
成される。記憶手段から出力された音声パケットは、有
音フレーム、通番およびエンドパケット情報に分解され
る。廃棄検出手段は、通番の連続性、エンドパケット情
報およびアンダーラン信号に基づいてパケット廃棄を検
出し、また音声再生の有音または無音を検出する。
On the receiving side, such voice packets are received, recorded, and outputted in the order in which they were received. When all recorded voice packets are output, an underrun signal is generated. The audio packet output from the storage means is decomposed into a sound frame, a serial number, and end packet information. The discard detection means detects packet discard based on the continuity of serial numbers, end packet information, and underrun signal, and also detects the presence or absence of sound in audio reproduction.

廃棄パケットが検出されないときは、パケット分解手段
からの有音フレームを出力し、検出されると、有音フレ
ームから補間データを作成して出力する。この出力はデ
ィジタル信号に復号される。
When a discarded packet is not detected, a sound frame from the packet decomposition means is output, and when a discarded packet is detected, interpolated data is created from the sound frame and output. This output is decoded into a digital signal.

廃棄検出手段からの有無音検出信号が有音に変化すると
復号手段がリセフトされる。こうして、通番およびエン
ドパケット情報によりパケット廃棄を検出し、有音およ
び無音に対応した補間が行なわれる。
When the sound detection signal from the discard detection means changes to sound, the decoding means is reset. In this way, packet discard is detected based on the serial number and end packet information, and interpolation corresponding to voice and silence is performed.

(実施例) 次に添付図面を参照して本発明による音声パケット通信
装置の実施例を詳mllに説明する。第1図は本発明に
よる音声パケット通信装置の実施例を示す。本実施例の
音声パケット送信装置1は交換網60を介して接続され
る送信装置lOと受信装置30を含む。送信装置30は
、入力される音声信号をパケットに組み立て、有音区間
の終りを示すパケットエンドフラグPEFをこれに付加
して交換網60へ送信する。受信装置30は、交換網6
0を介してこのパケットを受信し、通番の不連続または
バッファのアンダーランを検出すると、その直前のパケ
ッ)(7)パケットエンドフラグからその不連続または
アンダーランがパケット廃棄によるものか無音区間によ
るものかを識別し、その識別結果に応して有音または無
音の補間を行なう。
(Embodiment) Next, an embodiment of the voice packet communication device according to the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 shows an embodiment of a voice packet communication device according to the present invention. The voice packet transmitting device 1 of this embodiment includes a transmitting device IO and a receiving device 30 connected via a switching network 60. The transmitting device 30 assembles the input voice signals into packets, adds a packet end flag PEF indicating the end of the sound section to the packets, and transmits the packets to the switching network 60. The receiving device 30 is connected to the switching network 6
When this packet is received via 0 and a discontinuity in the serial number or an underrun in the buffer is detected, the packet end flag indicates that the discontinuity or underrun is due to packet discard or a silent section. Depending on the identification result, interpolation is performed to indicate whether there is a sound or no sound.

送信装置20は音声フレーム形成回路12を有し、同回
路12は、入力端子11より連続して入力されるティシ
タル音声信号を音声フレームとして形成してこれをその
出力100より音声検出回路22および符号器14に出
力する。音声検出回路22は、音声フレーム形成回路1
2より出力された音声フレーム100の有音、無音を判
定し、その判定結果を示す有・無音信号I11をパケッ
ト組立回路18および送信側リセント回路16に出力す
るとともに、ハングオーバ信号112をパケットフラグ
生成回路24に出力する。
The transmitting device 20 has an audio frame forming circuit 12, which forms audio signals that are continuously input from the input terminal 11 as audio frames, and outputs the audio frames from the output 100 to the audio detection circuit 22 and the encoder. output to the device 14. The audio detection circuit 22 is the audio frame forming circuit 1
2 determines whether there is a sound or no sound in the audio frame 100 output from 2, outputs a presence/no-speech signal I11 indicating the determination result to the packet assembling circuit 18 and the sending-side resent circuit 16, and generates a hangover signal 112 as a packet flag. Output to circuit 24.

通常、音声検出回路22では、入力された音声信号の平
均′電力を算出し、この算出された平均電力を無音状態
の電力に相当する閾値と比較し、この平均電力が閾値よ
り高い場合を有音と判定する。
Normally, the audio detection circuit 22 calculates the average power of the input audio signal, compares the calculated average power with a threshold corresponding to the power in a silent state, and there are cases where this average power is higher than the threshold. It is determined to be a sound.

これとともに本実施例では、閾値より低い、たとえば音
声の子音部に代表されるような電力の小さい音声を誤っ
て無音と判定しないように、ハングオー八と称する保護
期間を設けている。
In addition, in this embodiment, a protection period called hang-o-eight is provided in order to prevent a voice with low power, such as a consonant part of a voice, which is lower than a threshold value from being erroneously determined to be silent.

第3図に示すように、音声フレーム100の有音区間が
始まると、有・無音信号111がアクティブとなり、そ
の後、ハングオー八が起こると、ハングオーバ信号11
2がアクティブとなる。両者はともに、有音区間の終り
まで継続する。本実施例の特徴のひとつをなすバケツト
フラグ生成回路24はタイマ(図示せず)を有し、これ
は、音声検出回路22から出力されるハングオーバ信号
112がアクティブになると起動され、インアクティブ
になるとリセットされる。このタイマの計数値が、あら
かじめ設定された値を超えると、パケットフラグ生成回
路24は、時間長Tのエンドパケットフラグ信号113
をアクティブにし、これをパケット組立回路18に出力
する。この時間長Tは通常、「2」以上の値をとる。こ
れは、有音期間の後縁のN個の有音フレームについてエ
ンドパケットフラグEPFがアクティブとなる値rlJ
で、7網内のパケット廃棄によりエンドパケットフラグ
がすべて失われるのを防ぐためである。第3図の例では
Nを「2」としている。
As shown in FIG. 3, when the voice section of the audio frame 100 begins, the presence/silence signal 111 becomes active, and when a hangover occurs thereafter, the hangover signal 111 becomes active.
2 becomes active. Both continue until the end of the sound interval. The bucketed flag generation circuit 24, which is one of the features of this embodiment, has a timer (not shown), which is activated when the hangover signal 112 output from the voice detection circuit 22 becomes active, and reset when it becomes inactive. be done. When the count value of this timer exceeds a preset value, the packet flag generation circuit 24 generates an end packet flag signal 113 of time length T.
is activated and output to the packet assembly circuit 18. This time length T usually takes a value of "2" or more. This is the value rlJ at which the end packet flag EPF becomes active for N sound frames at the trailing edge of the sound period.
This is to prevent all end packet flags from being lost due to packet discard within the 7 networks. In the example of FIG. 3, N is set to "2".

送信装置10は通番付与回路20を有し、これは、パケ
ット組立回路18の音声フレーム100が入力されるご
とに+1歩進するカウンタであり、カウント値115を
パケット組立回路18に出力する。
The transmitting device 10 has a serial number assigning circuit 20, which is a counter that increments by +1 each time the audio frame 100 of the packet assembling circuit 18 is input, and outputs a count value of 115 to the packet assembling circuit 18.

送信側リセット回路16は、音声検出回路22が出力す
る有・素置信号I11を微分してリセットパルス116
を出力する。このリセットパルス116は符号器14に
入力される各有音フレーム100の先頭の音声サンプル
が入力される直前に符号器14をリセントするようなタ
イミングで生成される。符号器14は、このリセットパ
ルス118により内部情報を強制的に初期化し、音声フ
レーム形成回路12より入力される音声フレーム100
にADPCM符号などの予測符号化を施して、その有音
フレームの帯域を圧縮してパケット組立回路18へ出力
する。
The transmitting side reset circuit 16 differentiates the presence/displacement signal I11 output from the voice detection circuit 22 and generates a reset pulse 116.
Output. This reset pulse 116 is generated at a timing to re-center the encoder 14 immediately before the first audio sample of each sound frame 100 input to the encoder 14 is input. The encoder 14 forcibly initializes the internal information by this reset pulse 118 and uses the audio frame 100 inputted from the audio frame forming circuit 12.
is subjected to predictive coding such as ADPCM code, compresses the band of the sound frame, and outputs it to the packet assembling circuit 18.

パケット組立回路18は、符号器14により帯域圧縮さ
れた音声フレーム100を通番付与回路2oより得られ
るカウント値!15 とエンドフラグ生成回路24より
得られるエンドパケットフラグとを音声パケット) P
に組み立てる。この音声パケットPは、音声検出回路2
2から入力される有・無音信号111がアクティブの時
に交換網60へ送出される。
The packet assembling circuit 18 converts the audio frame 100 band-compressed by the encoder 14 into the count value obtained from the numbering circuit 2o! 15 and the end packet flag obtained from the end flag generation circuit 24 as an audio packet) P
Assemble. This voice packet P is transmitted to the voice detection circuit 2.
When the presence/silence signal 111 input from 2 is active, it is sent to the switching network 60.

受信側装器30は受信八ツファ32を有し、これは、交
換1網60より音声パケフトPを受信して蓄積する。こ
れによって、網60内での遅延時間のバケツトPごとの
変動を吸収して所定の遅延を確立する。蓄積されたパケ
ットPは、入力順にパケット分解回路32に出力される
。バッファ32はさらに、バケツ)Pの有無を示すアン
ダーラン信号311を生成し、これをパケット廃棄検出
回路38に出力する。
The receiving device 30 has a receiving eight buffer 32, which receives and stores voice packets P from the exchange 1 network 60. As a result, variations in the delay time within the network 60 for each bucket P are absorbed and a predetermined delay is established. The accumulated packets P are output to the packet disassembly circuit 32 in the order of input. The buffer 32 further generates an underrun signal 311 indicating the presence or absence of the bucket) P, and outputs this to the packet discard detection circuit 38.

パケット分解回路34では、第4図に示すように、入力
された音声パケットPを有音フレーム320、通番情報
およびエンドバヶ・ソトフラクEPFに分解し、有音フ
レーム320を補間回路38に、通番312とエンドパ
ケットフラグ信号313をパケット廃棄検出回路36に
出力する。
As shown in FIG. 4, the packet disassembly circuit 34 disassembles the input voice packet P into a voice frame 320, serial number information, and an end bar/sotofraction EPF, and sends the voice frame 320 to the interpolation circuit 38 with a serial number 312. An end packet flag signal 313 is output to the packet discard detection circuit 36.

パケット廃棄検出回路36は、パケット分解回路34よ
り出力された通番情報312およびエンドパケットフラ
グ信号313 と、受信へンファ32より出力されるア
ンダーラン信号311 とにより音声フレームであるか
無音フレームであるかの判定、およびバケフト廃棄の検
出を行なう。有無音フレムの検出結果を示す有音検出信
号314が選択回路46および受信側リセット回路42
に、また廃棄バケ、l・の検出を示す廃棄検出信号31
5が補間回路38にそれぞれ出力される。
The packet discard detection circuit 36 determines whether the frame is a voice frame or a silent frame based on the serial number information 312 and end packet flag signal 313 output from the packet disassembly circuit 34 and the underrun signal 311 output from the reception buffer 32. judgment, and detection of bucket lift discard. A sound detection signal 314 indicating the detection result of a sound frame is sent to the selection circuit 46 and the receiving side reset circuit 42.
In addition, a discard detection signal 31 indicating the detection of a discard bucket, l.
5 are output to the interpolation circuit 38, respectively.

補間回路38は、パケット廃棄検出回路36より出力さ
れる廃棄検出信号315がバケフト廃棄を示していない
ときは、パケット分解回路34より出力されるf¥声フ
レーム320を同等処理せずに復号器40へ出力すると
ともに、パケット廃棄が発生した場合に備え、この有音
フレームにより補間データ321 を作成する。パケッ
ト廃棄か検出されると補間データ321を符号器40に
出力し、補間データ321により有音フレームの補間を
行なう。
When the discard detection signal 315 output from the packet discard detection circuit 36 does not indicate packet discard, the interpolation circuit 38 sends the f\ voice frame 320 output from the packet decomposition circuit 34 to the decoder 40 without performing the same processing. At the same time, interpolated data 321 is created using this voice frame in case packet discard occurs. When a packet discard is detected, interpolation data 321 is output to the encoder 40, and a sound frame is interpolated using the interpolation data 321.

受信側リセント回路42は、パケット廃棄検出回路36
より出力される有音検出信号314を微分してリセット
パルス316を復号器40へ出力する。このリセットパ
ルス316は、復号器40に入力される補間データ32
1の各有音フレームの先頭の音声サンプルが入力される
直前に復号器40をリセットするようなタイミングで生
成される。
The receiving side recent circuit 42 includes a packet discard detection circuit 36
A reset pulse 316 is outputted to the decoder 40 by differentiating the voice presence detection signal 314 outputted from the decoder 40 . This reset pulse 316 is the interpolated data 32 input to the decoder 40.
The decoder 40 is generated at a timing such that the decoder 40 is reset immediately before the first audio sample of each sound frame of 1 is input.

復号器40は、補間回路38から出力されるADPCM
等で予測符号化された有音フレームを復号し、これをデ
ィジタル信号31Bの形で選択回路46に出力する。ま
た、受信側リセット回路42より供給されるリセットパ
ルス316に応動して内部情報を強制的に初期化する。
The decoder 40 receives the ADPCM output from the interpolation circuit 38.
etc., and outputs it to the selection circuit 46 in the form of a digital signal 31B. Further, in response to a reset pulse 316 supplied from the receiving side reset circuit 42, internal information is forcibly initialized.

受信装置30は無音再生回路44を有し、これは送信装
置10で無音圧縮され送出されなかった無音フレームを
疑似的に再生する回路である。無音再生回路44は通常
、送信装置10に入力端子11かも入力された無音フレ
ームの平均電力に実質的に等しい電力を有するHOTH
スペクトルノイズ317などの雑音を発生し、これを選
択回路4Bに出力する。選択回路46は、廃棄検出回路
36の出力する有音検出信号314が有音フレームの存
在を示している場合、復号器40の出力信号322を出
力端子31に出力させ、有音検出信号314が無音フレ
ームを示している場合は、無音再生回路44の出力31
7を出力端子31に出力させる。このようにして、廃棄
フレームが有・無音とも復元され、出力端子31より出
力される。
The receiving device 30 has a silence reproduction circuit 44, which is a circuit for pseudo-reproducing a silent frame that was silently compressed and not transmitted by the transmitting device 10. The silence reproduction circuit 44 typically has a HOTH signal having a power substantially equal to the average power of the silence frames input to the transmitter 10 at the input terminal 11.
Noise such as spectral noise 317 is generated and output to the selection circuit 4B. When the sound detection signal 314 output from the discard detection circuit 36 indicates the presence of a sound frame, the selection circuit 46 causes the output signal 322 of the decoder 40 to be output to the output terminal 31, so that the sound detection signal 314 is If a silent frame is indicated, the output 31 of the silent reproduction circuit 44
7 is output to the output terminal 31. In this way, the discarded frame is restored with or without sound and is output from the output terminal 31.

パケット廃棄検出回路36を第2図を参照してさらに詳
しく説明する。パケット廃棄検出回路36は通番連続性
検出回路50および制御回路52より構成されている。
The packet discard detection circuit 36 will be explained in more detail with reference to FIG. The packet discard detection circuit 36 is composed of a serial number continuity detection circuit 50 and a control circuit 52.

通番連続性検出回路50は、パケット分解回路34より
出力される通番情報312の欠番お有無を検出する。第
4図の例では、欠番「4」「7」〜r Il」r 13
Jを検出し、1個の欠番について1音声フレーム長に実
質的に等しい期間、欠番検出信号411をアクティブに
する。欠番検出信号411は制御回路52に入力される
The serial number continuity detection circuit 50 detects whether there is a missing number in the serial number information 312 output from the packet disassembly circuit 34. In the example in Figure 4, the missing numbers "4""7" ~r Il" r 13
J is detected, and the missing number detection signal 411 is activated for a period substantially equal to the length of one audio frame for one missing number. The missing number detection signal 411 is input to the control circuit 52.

制御回路52は、受信へ・ンファ32より出力されるア
ンダーラン信号311 と、通番連続性検出回路50が
出力する欠番検出信号411 と、パケット分解回路3
4より得られるエンドパケットフラグ信号313により
、有音フレームおよび無音フレームの別を示す有音検出
信号314 と、パケット廃棄の有無を示す廃棄検出信
号315を出力する。また、パケ・ント廃棄によりすべ
てのエンドパケットフラグ情報が失われた場合の保護と
して連続したM個以上のバケフトの廃棄が検出された場
合は、パケ・ント廃棄によりエンドフラグ情報が失われ
たものとし以後は無音を再生するように構成されている
。この値Mは、交換網200の最大パケット廃棄率に比
例して選ばれ、通常は3〜6程度の範囲に設定される。
The control circuit 52 receives an underrun signal 311 output from the reception buffer 32, a missing number detection signal 411 output from the serial number continuity detection circuit 50, and a packet disassembly circuit 3.
Based on the end packet flag signal 313 obtained from 4, a voice detection signal 314 indicating whether the frame is a voice frame or a silent frame, and a discard detection signal 315 indicating whether or not a packet is discarded are output. In addition, as a protection against the case where all end packet flag information is lost due to packet discard, if consecutive discards of M or more buckets are detected, end flag information is lost due to packet discard. After that, the system is configured to play silence. This value M is selected in proportion to the maximum packet discard rate of the switching network 200, and is usually set in a range of about 3 to 6.

制御回路36はたとえば、バケフトロスカウンタとエン
ドフラグとを有するソフトウェアにより実現でき、これ
は、第5図に示す動作フローに従って実行され、有音検
出信号314および廃棄検出信号315を作成する。こ
の動作フローでは、ます、アンダーラン信号311がア
クティブか否かを調べ(500) 、否の場合、欠番検
出信号411がアクティブか否かを調べる (502)
。欠番検出信号411がインアクティブの場合、パケッ
トロスカウンタを「0」としく504)、有音検出信号
314をアクティブにしく50B) 、かつ廃棄検出信
号315をインアクティブにする (508)。以−]
二は廃棄のない場合である。
The control circuit 36 can be realized, for example, by software having a bucket loss counter and an end flag, and is executed according to the operational flow shown in FIG. 5 to generate a voice detection signal 314 and a discard detection signal 315. In this operation flow, first, it is checked whether the underrun signal 311 is active or not (500), and if not, it is checked whether the missing number detection signal 411 is active or not (502).
. When the missing number detection signal 411 is inactive, the packet loss counter is set to "0" 504), the voice detection signal 314 is set to active 50B), and the discard detection signal 315 is set to inactive (508). From here on]
The second case is when there is no disposal.

次に、廃棄が発生した場合に備え、エンドパケットフラ
グ313がアクティブか否かを調べる(510)。そし
て、アクティブなら、制御回路36のエンドフラグを「
1」とする (512)。すなわちa合区間を記憶する
。否であればエンドフラグを「O」としく514)、す
なわち無音区間を記憶して有音、無音の補間に苅える。
Next, in preparation for the occurrence of discard, it is checked whether the end packet flag 313 is active (510). If active, the end flag of the control circuit 36 is set to "
1” (512). That is, the a-matching section is stored. If not, the end flag is set to "O" (514), that is, the silent section is memorized and interpolated between sound and silence.

欠番検出信号411かアクティブ(502)でアンダー
ラン信号311 もアクティブ(500)の場合、前回
のエンドフラグが「1」か否かを調へる(520)。否
であれば、パケットロスカウンタを+1歩皿させ(53
0) 、パケットロスカウンタの値がMに等しいか否か
を調へる (532)。値がMであるとエンドフラグを
rlJとする (534)。この場合と、パケットロス
カウンタの伯がMでない場合は、有音検出信号314を
アクティブにしく536) 、かつ廃棄検出信号315
をアクティブにする (538)。
If the missing number detection signal 411 is active (502) and the underrun signal 311 is also active (500), it is checked whether the previous end flag was "1" or not (520). If not, increase the packet loss counter by +1 step (53
0), it is checked whether the value of the packet loss counter is equal to M (532). If the value is M, the end flag is set to rlJ (534). In this case and when the count of the packet loss counter is not M, the voice detection signal 314 is activated (536) and the discard detection signal 315 is activated.
Activate (538).

ステップ520においてエンドフラグが「1」を示して
いるときは、パケットロスカウンタを「0」としく52
2)、有音検出信号314をインアクティブにして(5
24)廃棄検出信号315もインアクティブにする (
528)。
When the end flag indicates "1" in step 520, the packet loss counter is set to "0".
2), and make the sound detection signal 314 inactive (5).
24) Also make the discard detection signal 315 inactive (
528).

本実施例の音声パケット通信装置では、特殊な場合とし
て、有音区間の先頭のパケットか失われたときは、符号
器14と復号器40のリセットタイミングが異なるため
に、内部情報の非同期状態が発生することがある。しか
し、有音区間の前方では音声信号の電力が小さいため、
この非同期状態は内部情報の更新の際のリークにより急
速に回復する。したがって大きなS/N劣化が生ずるこ
とはない。本実施例ではまた、連続した音声フレームの
後縁はエンドパケットフラグにより検出する構成をとっ
ている。そのため、パケットフラグ生成回路24におい
て値Nを「2」以上とした場合、有音フレームの後縁に
統〈最大N−1個の音声バケッI・が補間できないこと
がある。しかし、この補間不可能な音声パケットはハン
グオーバ期間に存在し、しかも、音声検出におけるハン
グオーバ期間は本来、厳密なものでないので、この期間
のパケットの欠落によって再生音声の音質が損なわれる
可能性は少ない。
In the voice packet communication device of this embodiment, in a special case, when the first packet of a sound section is lost, the reset timings of the encoder 14 and the decoder 40 are different, so that the internal information is not synchronized. This may occur. However, since the power of the audio signal is small before the sound section,
This asynchronous state quickly recovers due to leakage when updating internal information. Therefore, no large S/N deterioration occurs. In this embodiment, the trailing edge of consecutive audio frames is also detected using an end packet flag. Therefore, when the value N is set to "2" or more in the packet flag generation circuit 24, it may not be possible to interpolate a maximum of N-1 voice buckets I at the trailing edge of a voice frame. However, since these voice packets that cannot be interpolated exist during the hangover period, and the hangover period in voice detection is inherently not strict, it is unlikely that the quality of the reproduced audio will be impaired due to the loss of packets during this period. .

(発明の効果) このように本発明によれば、受信装置で有音区間と無音
区間とを、また無音区間とパケット廃棄とを区別し、廃
棄パケットについての補間処理を行なうことができる。
(Effects of the Invention) As described above, according to the present invention, the receiving device can distinguish between a sound period and a silent period, and between a silent period and packet discard, and perform interpolation processing on discarded packets.

したがって再生音声のS/Nが向上する。また、−時的
に大きなパケット廃棄が発生して補間処理が不可能な状
態に陥っても、各有音区間ごとに符号器と復号器の同期
化が図られる。したがって再生音声の品質劣化は最小と
なる。
Therefore, the S/N of reproduced audio is improved. Furthermore, even if a temporally large packet discard occurs and the interpolation process becomes impossible, the encoder and decoder can be synchronized for each sound interval. Therefore, the quality deterioration of the reproduced audio is minimized.

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

第1図は本発明による音声パケット通信装置の実施例を
示す中継方式図、 第2図は、第1図に示す実施例における廃棄検出回路の
構成例を示す機能ブロック図、第3図は同実施例におけ
る送信装晋の動作例を示す動作図、 第4図は同実施例における受信装置の動作例を示す動作
図、 第5図は廃棄検出回路のアルゴリズムの例を示すフロー
図である。 主要部分の符号の説明 19.音声パケット通信装置 10、、、  送イ言だべE置 12、音声フレーム形成回路 14、、、符号器 113、、、送信側リセット回路 18、、、パケット組立回路 20、、、通番付与回路 22、、、音声検出回路 241.  パケットフラグ生成回路 30、、、受信装置 32、、、受信バッファ 34、、、パケット分解回路 廃棄検出回路 補間回路 iV号器 受イ菖(則すセン ト回路
FIG. 1 is a relay system diagram showing an embodiment of the voice packet communication device according to the present invention, FIG. 2 is a functional block diagram showing an example of the configuration of the discard detection circuit in the embodiment shown in FIG. 1, and FIG. 3 is the same. FIG. 4 is an operation diagram showing an example of the operation of the transmitting device in the embodiment, FIG. 4 is an operation diagram showing an example of the operation of the receiving device in the same embodiment, and FIG. 5 is a flow diagram showing an example of the algorithm of the discard detection circuit. Explanation of symbols of main parts 19. Voice packet communication device 10, . . ., Send-E word holder 12, Voice frame forming circuit 14, . . . Encoder 113, . . . Transmitting side reset circuit 18, . . . Packet assembling circuit 20, . , , voice detection circuit 241 . Packet flag generation circuit 30, receiving device 32, receiving buffer 34, packet decomposition circuit discard detection circuit interpolation circuit

Claims (1)

【特許請求の範囲】 1、ディジタル音声信号を音声フレームに形成する音声
フレーム形成手段と、 前記音声フレーム内の有音フレームが続く有音区間およ
び無音フレームが続く無音区間を検出し、該有音および
無音区間を表わす有無音信号、ならびに該有音区間のハ
ングオーバ信号を出力する音声検出手段と、 前記音声フレームを圧縮符号化し、該符号化された音声
フレームを出力する符号化手段と、前記音声フレームの
有音フレームおよび無音フレームに一連の通番を付与す
る通番付与手段と、 前記符号化手段からの有音フレーム、および該有音フレ
ームの通番を含む音声パケットを組み立てて送信するパ
ケット組立て手段とを含む音声パケット通信装置におい
て、該装置は、 前記有無音信号により前記有音区間の先頭で前記符号化
手段をリセットするリセット手段と、前記有音区間の後
部を識別して該後部を示すエンドパケット情報を出力す
るエンドパケット情報生成手段とを有し、 前記パケット組立て手段は、前記エンドパケット情報を
含む音声パケットを組み立てて送信することを特徴とす
る音声パケット通信装置。 2、請求項1に記載の装置において、前記エンドパケッ
ト情報生成手段は、前記ハングオーバ信号の出力後から
前記有音区間の終りまで、前記音声パケットが複数出力
される期間、前記エンドパケット情報を出力することを
特徴とする音声パケット通信装置。 3、有音フレーム、該有音フレームおよび無音フレーム
に連続して付与される通番、ならびに該有音フレームが
続く有音区間の終りを示すエンドパケット情報を含む音
声パケットを受信し、該音声パケットを記憶してその受
信順に出力し、該記憶された音声パケットがすべて出力
されるとアンダーラン信号を生成する記憶手段と、 該記憶手段から出力された音声パケットを、前記有音フ
レーム、通番およびエンドパケット情報に分解するパケ
ット分解手段と、 前記通番の連続性、前記エンドパケット情報およびアン
ダーラン信号に基づいてパケット廃棄を検出し、該パケ
ット廃棄を示す廃棄検出信号を出力するとともに、音声
再生の有音または無音を検出してその検出の結果を示す
有無音検出信号を出力する廃棄検出手段と、 該廃棄検出手段から前記廃棄検出信号が出力されないと
きは、前記パケット分解手段からの有音フレームを出力
し、該廃棄検出信号が出力されると、前記有音フレーム
から補間データを作成して該補間データを出力する補間
手段と、 該補間手段からの出力をディジタル信号に復号する復号
手段と、 前記廃棄検出手段からの前記有無音検出信号が有音に変
化すると前記復号手段をリセットするリセット手段とを
有することを特徴とする音声パケット通信装置。 4、請求項3に記載の装置において、前記廃棄検出手段
は、所定の数を超える個数の一連のパケットの廃棄を検
出すると、前記有無音検出信号の表示を無音とすること
を特徴とする音声パケット通信装置。
[Claims] 1. Audio frame forming means for forming a digital audio signal into an audio frame; detecting a sound section in the audio frame followed by a sound frame and a silent section followed by a silent frame; and a voice detecting means for outputting a sound/absence signal representing a silent section and a hangover signal for the voiced section; an encoding means for compressing and encoding the voice frame and outputting the encoded voice frame; a serial number assigning means for assigning a series of serial numbers to the voice frames and silent frames; and a packet assembling means for assembling and transmitting the voice packets including the voice frames from the encoding means and the serial numbers of the voice frames. A voice packet communication device comprising: a reset means for resetting the encoding means at the beginning of the sound section using the sound presence/absence signal; and an end for identifying the rear part of the sound section and indicating the rear part. an end packet information generating means for outputting packet information, wherein the packet assembling means assembles and transmits an audio packet including the end packet information. 2. The apparatus according to claim 1, wherein the end packet information generating means outputs the end packet information during a period during which the plurality of audio packets are output from after the output of the hangover signal until the end of the sound section. An audio packet communication device characterized by: 3. Receive a voice packet including a voice frame, a serial number given consecutively to the voice frame and the silent frame, and end packet information indicating the end of the voice section following the voice frame, and receive the voice packet; storage means for storing and outputting the voice packets in the order of reception and generating an underrun signal when all the stored voice packets are output; packet disassembly means for disassembling into end packet information; detecting packet discard based on the continuity of the serial number, the end packet information and the underrun signal; and outputting a discard detection signal indicating the packet discard; a discard detection means for detecting voice or silence and outputting a sound/absence detection signal indicating the result of the detection; and when the discard detection signal is not output from the discard detection means, a voice frame from the packet disassembly means; and when the discard detection signal is output, an interpolation means for creating interpolation data from the sound frame and outputting the interpolation data, and a decoding means for decoding the output from the interpolation means into a digital signal. and a reset means for resetting the decoding means when the sound presence/absence detection signal from the discard detection means changes to sound. 4. The apparatus according to claim 3, wherein when the discard detection means detects the discard of a series of packets exceeding a predetermined number, the display of the sound/absence detection signal becomes silent. Packet communication device.
JP1088096A 1989-04-10 1989-04-10 Voice packet communication device Expired - Fee Related JP2555443B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1088096A JP2555443B2 (en) 1989-04-10 1989-04-10 Voice packet communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1088096A JP2555443B2 (en) 1989-04-10 1989-04-10 Voice packet communication device

Publications (2)

Publication Number Publication Date
JPH02268045A true JPH02268045A (en) 1990-11-01
JP2555443B2 JP2555443B2 (en) 1996-11-20

Family

ID=13933342

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1088096A Expired - Fee Related JP2555443B2 (en) 1989-04-10 1989-04-10 Voice packet communication device

Country Status (1)

Country Link
JP (1) JP2555443B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5521610U (en) * 1978-07-26 1980-02-12
JPS57147697A (en) * 1981-03-09 1982-09-11 Oki Electric Ind Co Ltd Voice backet decoding system
JPS6121652A (en) * 1984-07-10 1986-01-30 Nec Corp Voice packet compressor
JPS6268350A (en) * 1985-09-20 1987-03-28 Nippon Telegr & Teleph Corp <Ntt> Voice packet communication system
JPS62112444A (en) * 1985-11-12 1987-05-23 Nippon Telegr & Teleph Corp <Ntt> Voice transmission system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SU740349A2 (en) * 1977-01-18 1980-06-15 Проектно-Конструкторское Бюро Электрогидравлики Ан Украинской Сср Plant for electrohydraulic expanding of heat exchanger tubes

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5521610U (en) * 1978-07-26 1980-02-12
JPS57147697A (en) * 1981-03-09 1982-09-11 Oki Electric Ind Co Ltd Voice backet decoding system
JPS6121652A (en) * 1984-07-10 1986-01-30 Nec Corp Voice packet compressor
JPS6268350A (en) * 1985-09-20 1987-03-28 Nippon Telegr & Teleph Corp <Ntt> Voice packet communication system
JPS62112444A (en) * 1985-11-12 1987-05-23 Nippon Telegr & Teleph Corp <Ntt> Voice transmission system

Also Published As

Publication number Publication date
JP2555443B2 (en) 1996-11-20

Similar Documents

Publication Publication Date Title
EP0214235B1 (en) Error detection and concealment using predicted signal values
US7650280B2 (en) Voice packet loss concealment device, voice packet loss concealment method, receiving terminal, and voice communication system
EP0417943B1 (en) Cell transfer apparatus and method using a variable rate codec
JP2760810B2 (en) Voice packet processing method
JPH02268045A (en) Voice packet communication equipment
JP2003218932A (en) Error concealment apparatus and method
JP2006279809A (en) Apparatus and method for voice reproducing
JPH04357735A (en) Voice packet communication equipment
US7693151B2 (en) Method and devices for providing protection in packet switched communications networks
JP3481087B2 (en) Voice communication fluctuation absorption method
JP3121094B2 (en) Speech coder
JP2002252644A (en) Apparatus and method for communicating voice packet
JPS6268350A (en) Voice packet communication system
JPH0429442A (en) Multimedia multiplex transmission equipment
JPH05347594A (en) Transmission code error compensating device
JP2522387B2 (en) Voice packet communication device
JPH03191638A (en) Packet reproducing system in packet communication
JPH0836394A (en) Voice coding transmission system
KR20050066477A (en) Method and apparatus for frame loss concealment for voip systems
EP1443724A1 (en) Gateway system
KR20050024651A (en) Method and apparatus for frame loss concealment for packet network
JPH0588697A (en) Absent speech interpolation system
JPS63306740A (en) Packet communication system
JP3172774B2 (en) Variable silence suppression controller for voice
JPH04324727A (en) Stereo coding transmission system

Legal Events

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

Free format text: PAYMENT UNTIL: 20070905

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20080905

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees