JP2001350496A - Device and method for voice coding - Google Patents

Device and method for voice coding

Info

Publication number
JP2001350496A
JP2001350496A JP2000169300A JP2000169300A JP2001350496A JP 2001350496 A JP2001350496 A JP 2001350496A JP 2000169300 A JP2000169300 A JP 2000169300A JP 2000169300 A JP2000169300 A JP 2000169300A JP 2001350496 A JP2001350496 A JP 2001350496A
Authority
JP
Japan
Prior art keywords
encoding
switching
coding
output
preliminary
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
JP2000169300A
Other languages
Japanese (ja)
Other versions
JP3606446B2 (en
Inventor
Kazumi Arakage
和美 荒蔭
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan 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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP2000169300A priority Critical patent/JP3606446B2/en
Publication of JP2001350496A publication Critical patent/JP2001350496A/en
Application granted granted Critical
Publication of JP3606446B2 publication Critical patent/JP3606446B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a digital voice transmitting device using a real time voice coding device. SOLUTION: A voice coding device has switching control means 21 and 22 which output signals by switching the outputs of a spare coding means 18 and a currently used coding means 15. The means 18 and 15 are supplied with same input voice data and synchronized and coupled. When the means 21 and 22 receive signals for the switching, controls are made for coding so that respective virtual buffer values of the means 18, that virtually thinks an input buffer of a decoding side, and the means 15 become a prescribed value. When the prescribed value is obtained, the output of the means 15 is switched to the output of the means 18, no stopping is performed for the coding and code compatibility at the switching point is maintained.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、音声符号化装置に
係り、特に実時間音声符号化装置を用いたデジタル音声
送出装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a voice coding apparatus, and more particularly, to a digital voice transmitting apparatus using a real-time voice coding apparatus.

【0002】[0002]

【従来の技術】従来、音声放送等においては、現用符号
化器のメンテナンス等を行うために、符号化を止めず
に、予備符号化器への切替えを行う必要があった。その
ため、図7に示されるように、コントローラ35からス
イッチャ34への制御で現用符号化器31から予備符号
化器32への切替えが行われていた。
2. Description of the Related Art Conventionally, in audio broadcasting and the like, in order to perform maintenance or the like of a working encoder, it has been necessary to switch to a spare encoder without stopping encoding. Therefore, as shown in FIG. 7, switching from the working encoder 31 to the spare encoder 32 is performed under the control of the controller 35 to the switcher 34.

【0003】また、音声符号化方式として、従来ビデオ
CD等で用いられる符号化方式であるMPEG1Lay
erIIの場合は、リニアPCM1152サンプル単位
(フレーム)で符号化が行われ、1152サンプル毎に
生成される符号量は一定である。このような場合は、図
6に示されるように、符号化レートが一定であれば、フ
レーム単位で生成される符号量(Nbits)が一定であっ
た。
As an audio encoding method, MPEG1Lay, which is an encoding method conventionally used in video CDs and the like, is used.
In the case of erII, encoding is performed in units of linear PCM 1152 samples (frames), and the code amount generated for each 1152 samples is constant. In such a case, as shown in FIG. 6, if the coding rate is constant, the code amount (Nbits) generated in frame units is constant.

【0004】[0004]

【発明が解決しようとする課題】しかし、MPEG2A
AC符号化の場合において、PCM1024単位(フレ
ーム)で符号化が行われ、符号化レートが一定であって
も、図4に示されるように、フレーム毎に生成される符
号量がA1bits、A2bits、A3bits、A4bits、…と異な
る。
However, MPEG2A
In the case of AC encoding, encoding is performed in units of PCM 1024 (frames), and even if the encoding rate is constant, as shown in FIG. 4, the amount of code generated for each frame is A1bits, A2bits, Different from A3bits, A4bits, ...

【0005】そのため、図5に示されるような、デコー
ダの入力バッファを仮定した仮想バッファを用いた符号
量の制御がフレーム毎に行われ、デコーダの入力バッフ
ァが破綻しないように、符号化が行われる。
Therefore, as shown in FIG. 5, the control of the code amount using a virtual buffer assuming the input buffer of the decoder is performed for each frame, and the encoding is performed so that the input buffer of the decoder does not fail. Will be

【0006】そのため、仮想バッファの状態は、符号化
レートや入力PCMが同一であっても、それまでの符号
化フレーム数等により符号化器毎に異なる値となり、単
純に符号化器の切替えを行うと、切替え点での符号量制
御の整合性が保持出来なくなり、デコーダの入力バッフ
ァがアンダーフロー等を起こすようなストリームを出力
する場合がある。
For this reason, even if the encoding rate and the input PCM are the same, the state of the virtual buffer becomes a different value for each encoder depending on the number of encoded frames up to that point, and the switching of the encoder is simply performed. Then, the consistency of the code amount control at the switching point cannot be maintained, and the input buffer of the decoder may output a stream that causes an underflow or the like.

【0007】そこで、図8に示されるように、現用符号
化器66の符号量制御部68の仮想バッファ値を予備符
号化器69の符号量制御部71に供給して、予備符号化
器69の仮想バッファ値を現用符号化器66と同じくす
る方法もあるが、装置の規模の増大、入出力装置の増設
や、接続処理に伴う遅延の発生等の問題点があった。
Therefore, as shown in FIG. 8, the virtual buffer value of the code amount control unit 68 of the working encoder 66 is supplied to the code amount control unit 71 of the spare encoder 69, and the spare encoder 69 However, there are problems such as an increase in the scale of the device, an increase in the number of input / output devices, and the occurrence of a delay in connection processing.

【0008】[0008]

【課題を解決するための手段】上記課題を解決するため
に、請求項1の発明は、同じ入力音声データが供給され
ると共に切替えの為の信号を受けた時点で同期運転され
て、予備符号化手段の出力と現用符号化手段の出力とを
切り替えて出力する切替え制御手段を有する音声符号化
装置において、前記切替え制御手段が切替えのための信
号を受け取ると、符号化のため、復号側の入力バッファ
を仮想した前記予備符号化手段及び前記現用符号化手段
のそれぞれの仮想バッファ値が所定の値になるように制
御し、前記所定の値になった時点で前記現用符号化手段
の出力から前記予備符号化手段の出力に切り替え、符号
化を止めることなく、前記符号化手段の切替え、切替え
点での符号の整合性の保持を可能としたことを特徴とす
る音声符号化装置を提供し、請求項2の発明は、複数の
現用符号化手段と予備符号化手段を有し、前記複数の現
用符号化手段の中から選択された現用符号化手段と前記
予備符号化手段とに同じ入力音声データが供給されると
共に切替えの為の信号を受けた時点で同期運転されて、
前記予備符号化手段の出力と前記選択された現用符号化
手段の出力とを切り替えて出力する切替え制御手段を有
する音声符号化装置において、前記切替え制御手段が切
替えのための信号を受け取ると、符号化のため、復号側
の入力バッファを仮想した前記予備符号化手段及び前記
選択された現用符号化手段のそれぞれの仮想バッファ値
が所定の値になるように制御し、前記所定の値になった
時点で前記選択された現用符号化手段の出力から前記予
備符号化手段の出力に切り替え、符号化を止めることな
く、前記符号化手段の切替え、切替え点での符号の整合
性の保持を可能としたことを特徴とする音声符号化装置
を提供し、請求項3の発明は、請求項1または請求項2
に記載された音声符号化装置において、前記切替え制御
手段は切替えのための信号を受け取ると、前記予備符号
化手段及び現用符号化手段のバッファ値がそれぞれ0と
なるように符号量を制御した上で、通常の符号化による
符号量制御から完全固定符号化のための符号量制御に移
行するようにしたことを特徴とする音声符号化装置を提
供し、請求項音声4の発明は、同じ入力音声データが供
給されると共に切替えの為の信号を受けた時点で同期運
転されて、予備符号化ステップの出力と現用符号化ステ
ップの出力とを切り替えて出力する切替え制御ステップ
を有する音声符号化方法において、前記切替え制御ステ
ップが切替えのための信号を受け取ると、符号化のた
め、復号側の入力バッファを仮想した前記予備符号化ス
テップの仮想バッファ値を前記現用符号化ステップの仮
想バッファの所定の値になるように制御し、前記所定の
値になった時点で前記予備符号化ステップの出力に切り
替え、符号化を止めることなく、前記符号化ステップの
切替え、切替え点での符号の整合性の保持を可能とした
ことを特徴とした音声符号化方法を提供し、請求項5の
発明は、複数の現用符号化ステップと予備符号化ステッ
プを有し、前記複数の現用符号化ステップの中から選択
された現用符号化ステップと前記予備符号化ステップと
に同じ入力音声データが供給されると共に切替えの為の
信号を受けた時点で同期運転されて、前記予備符号化ス
テップの出力と前記選択された現用符号化ステップの出
力とを切り替えて出力する切替え制御ステップを有する
音声符号化方法において、前記切替え制御ステップが切
替えのための信号を受け取ると、符号化のための前記予
備符号化ステップの仮想バッファ値を前記選択された現
用符号化ステップの仮想バッファの所定の値になるよう
に制御し、前記所定の値になった時点で前記予備符号化
ステップの出力に切り替え、符号化を止めることなく、
前記符号化ステップの切替え、切替え点での符号の整合
性の保持を可能としたことを特徴とする音声符号化方法
を提供し、請求項6の発明は、請求項4または請求項5
に記載された音声符号化方法において、前記切替え制御
ステップは切替えのための信号を受け取ると、前記予備
符号化ステップ及び現用符号化ステップのバッファ値が
それぞれ0となるように符号量を制御した上で、通常の
符号化による符号量制御から完全固定符号化のための符
号量制御に移行するようにしたことを特徴とする音声符
号化方法を提供しようとするものである。
In order to solve the above-mentioned problems, the invention according to claim 1 operates synchronously when the same input voice data is supplied and a signal for switching is received, and a spare code Encoding apparatus having a switching control means for switching and outputting between the output of the encoding means and the output of the working encoding means, when the switching control means receives a signal for switching, for encoding, the decoding side The virtual buffer value of each of the preliminary encoding unit and the working encoding unit which imagined an input buffer is controlled so as to be a predetermined value, and when the virtual buffer value reaches the predetermined value, the output of the working encoding unit is Speech coding apparatus characterized in that it is possible to switch to the output of the preliminary coding means and to switch the coding means and maintain code consistency at a switching point without stopping coding. The present invention according to claim 2, comprising a plurality of working coding means and a spare coding means, wherein the working coding means and the preliminary coding means selected from the plurality of working coding means are provided. When the same input voice data is supplied and a signal for switching is received, synchronous operation is performed.
In a speech encoding device having switching control means for switching and outputting the output of the preliminary encoding means and the output of the selected working encoding means, when the switching control means receives a signal for switching, the code For this purpose, the virtual buffer values of the preliminary encoding means and the selected active encoding means, which imagined an input buffer on the decoding side, are controlled to be a predetermined value, and have reached the predetermined value. At this time, the output of the selected working encoder is switched to the output of the spare encoder, and the encoding unit is switched without stopping the encoding, and the code consistency at the switching point can be maintained. And a speech encoding apparatus characterized in that:
In the audio coding apparatus described in the above, upon receiving a signal for switching, the switching control means controls the code amount such that the buffer values of the preliminary coding means and the working coding means are each 0. Thus, the present invention provides a speech encoding apparatus characterized by shifting from code quantity control by normal encoding to code quantity control for completely fixed encoding. Speech encoding method having a switching control step of synchronously operating when audio data is supplied and receiving a signal for switching to switch and output between an output of a preliminary encoding step and an output of a working encoding step In the above, when the switching control step receives a signal for switching, a virtual buffer of the preliminary encoding step, which is a virtual input buffer on the decoding side, for encoding. The value is controlled to be a predetermined value of the virtual buffer in the working encoding step, and when the value reaches the predetermined value, the output is switched to the output of the preliminary encoding step, and the encoding is performed without stopping encoding. The present invention provides a speech encoding method characterized in that it is possible to switch between steps and to maintain code consistency at a switching point, and the invention according to claim 5 includes a plurality of active encoding steps and a preliminary encoding step. The same input voice data is supplied to the working coding step selected from the plurality of working coding steps and the preliminary coding step, and the synchronous operation is performed at the time when a signal for switching is received. And a switching control step of switching and outputting between the output of the preliminary encoding step and the output of the selected working encoding step. When the control step receives a signal for switching, controlling the virtual buffer value of the preliminary encoding step for encoding to be a predetermined value of the virtual buffer of the selected working encoding step, Switch to the output of the preliminary encoding step at the time when it reaches a predetermined value, without stopping encoding,
A speech encoding method is provided, wherein the encoding step can be switched and the code consistency at the switching point can be maintained.
In the audio encoding method described in the above, upon receiving a signal for switching, the switching control step controls the code amount such that the buffer values of the preliminary encoding step and the current encoding step are each 0. Therefore, it is an object of the present invention to provide a speech coding method characterized by shifting from code amount control by normal coding to code amount control for completely fixed coding.

【0009】[0009]

【発明の実施の形態】つぎに本発明の音声符号化装置及
びその方法の一実施例について、図と共に以下に説明す
る。図1は本発明の音声符号化装置の一実施例のブロッ
ク構成図である。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of a speech encoding apparatus and method according to the present invention. FIG. 1 is a block diagram showing an embodiment of a speech encoding apparatus according to the present invention.

【0010】本発明の音声符号化装置の一実施例は、現
用符号化器15(符号化部16、符号量制御部17)、
予備符号化器18(符号化部19、符号量制御部2
0)、スイッチャ21、コントローラ22、及び同期信
号発生器23より構成されている。本発明の音声符号化
装置は、図8に示される従来例の装置とは、バッファ量
制御の為に現行符号化器の符号量制御部から予備符号化
器の符号量制御部に供給されている制御線が削除されて
いる点が大きく異なっている。
One embodiment of the speech encoding apparatus according to the present invention comprises a working encoder 15 (encoding unit 16 and code amount control unit 17),
Preliminary encoder 18 (encoding unit 19, code amount control unit 2
0), a switcher 21, a controller 22, and a synchronization signal generator 23. The speech coding apparatus of the present invention is different from the conventional apparatus shown in FIG. 8 in that the code amount control unit of the current encoder is supplied to the code amount control unit of the spare encoder for buffer amount control. The difference is that the control lines that have been deleted have been deleted.

【0011】図1に示されるように、入力PCMデータ
は、現用符号化器15及び予備符号化器18に同様な状
態で入力される。現用符号化器15及び予備符号化器1
8は、それぞれ符号化部16、19と符号量制御部1
7、20により構成され、同期信号発生器23より供給
されるオーディオフレーム信号に同期して同じ符号化レ
ートで入力PCMデータに対して符号化を行う。これら
の現用符号化器15及び予備符号化器18は、同期信号
発生器23の出力同期信号が共に供給されて、同期結合
されている。
As shown in FIG. 1, input PCM data is input to a working encoder 15 and a spare encoder 18 in a similar state. Working encoder 15 and spare encoder 1
Reference numeral 8 denotes an encoder 16 and an encoder 19, and a code amount controller 1 respectively.
7 and 20 and performs coding on input PCM data at the same coding rate in synchronization with the audio frame signal supplied from the synchronization signal generator 23. The working encoder 15 and the spare encoder 18 are supplied with the output synchronization signal of the synchronization signal generator 23 and are synchronously coupled.

【0012】切替えスイッチャ21は、コントローラ2
2により制御され、通常は現用符号化器15の符号化部
16よりの出力ビットストリームが出力されるようにな
っている。
The changeover switcher 21 is connected to the controller 2
2 and normally outputs an output bit stream from the encoding unit 16 of the working encoder 15.

【0013】ここで、予備符号化器18は、通常は動作
している必要はなく、現用符号化器15のメンテナンス
等、切替えが必要な時間帯にのみ動作していれば十分で
ある。
Here, the spare encoder 18 does not normally need to operate, but only needs to operate during a time period when switching is required, such as maintenance of the working encoder 15.

【0014】現用符号化器15のメンテナンス等を行う
とき、使用者はコントローラ22に対して、切替えの指
示を行う。この指示を予備符号化器18が受けると、ま
ず予備符号化器18は動作を開始し、予備符号化器18
に入力PCMデータ及び同期信号発生器23よりの出力
同期信号であるオーディオフレーム信号が供給される。
コントローラ22は、現用符号化器15及び予備符号化
器18の各符号量制御部17、20と切替えスイッチャ
21に対して、切替え信号を供給する。
When performing maintenance or the like of the working encoder 15, the user issues a switching instruction to the controller 22. When the pre-encoder 18 receives this instruction, the pre-encoder 18 starts operating, and the pre-encoder 18
, An input PCM data and an audio frame signal as an output synchronization signal from the synchronization signal generator 23 are supplied.
The controller 22 supplies a switching signal to the code amount control units 17 and 20 of the working encoder 15 and the spare encoder 18 and the switching switcher 21.

【0015】現用符号化器15及び予備符号化器18の
各符号量制御部17、20は、切替え信号が供給される
と、前記符号量制御部17、20は共に、復号側(デコ
ーダ)の入力バッファを仮想した仮想バッファ値が所定
の同一値となるように符号量をそれぞれ制御する。
When the code amount control units 17 and 20 of the working encoder 15 and the spare encoder 18 are supplied with the switching signal, both of the code amount control units 17 and 20 both operate on the decoding side (decoder). The code amount is controlled so that the virtual buffer value imagining the input buffer becomes a predetermined same value.

【0016】ここでは、現用符号化器15及び予備符号
化器18の両符号量制御部17、20が切替え信号を受
け取った直後のオーディオフレームから、Nオーディオ
フレームの間、現用符号化器15及び予備符号化器18
のそれぞれの仮想バッファ値がそれぞれ0となるように
符号量を制御した上で、通常の符号化による符号量制御
から完全固定符号化のための符号量制御に移行するよう
にした。
Here, from the audio frame immediately after the code amount control units 17 and 20 of the working encoder 15 and the spare encoder 18 have received the switching signal to N audio frames, the working encoder 15 and the working encoder 15 and 20 are used. Precoder 18
After controlling the code amount so that each of the virtual buffer values becomes 0, the control is shifted from the code amount control by the normal coding to the code amount control for the completely fixed coding.

【0017】この時の現用符号化器15及び予備符号化
器18の符号量制御部17、20の仮想バッファ値の推
移の一実施例を図3に示す。切替えスイッチャ21は、
コントローラ22より切替え信号を受け取った後、N’
オーディオフレーム後に、現用符号化器15から予備符
号化器18への切替えをシームレスに行うものとする。
ここで、N’< Nとする。
FIG. 3 shows an embodiment of the transition of the virtual buffer value of the code amount control units 17 and 20 of the working encoder 15 and the spare encoder 18 at this time. The changeover switcher 21
After receiving the switching signal from the controller 22, N '
After the audio frame, the switching from the working encoder 15 to the spare encoder 18 is performed seamlessly.
Here, it is assumed that N ′ <N.

【0018】この時、図3に示されるように、現用符号
化器15及び予備符号化器18の仮想バッファの値は同
一であり、現用符号化器16の出力を予備符号化器の出
力18に切り替えても、切替え点での符号量制御の整合
性を保持することが出来る。従って、フレーム毎に行わ
れる復号側(デコーダ)の入力バッファを仮想した仮想
バッファを用いた符号量の制御の整合性を保持すること
が出来るので、デコーダの入力バッファが破綻しないよ
うに、符号化が行われる。
At this time, as shown in FIG. 3, the values of the virtual buffers of the working encoder 15 and the spare encoder 18 are the same, and the output of the working encoder 16 is changed to the output 18 of the spare encoder. , The consistency of the code amount control at the switching point can be maintained. Therefore, it is possible to maintain the consistency of the control of the code amount using a virtual buffer that is a virtual input buffer of the decoding side (decoder) performed for each frame, so that encoding is performed so that the input buffer of the decoder does not fail. Is performed.

【0019】使用する符号化器を、予備符号化器18か
ら現用符号化器15へ戻すときも、同様の方法を行うこ
とで、符号化を止めることなく、切替え点での符号量制
御の整合性を保持しながら符号化器の切替えをシームレ
スに行うことが出来る。
When the used encoder is returned from the preliminary encoder 18 to the working encoder 15, the same method is used to stop the encoding and to adjust the code amount control at the switching point. Switching of encoders can be performed seamlessly while maintaining the performance.

【0020】つぎに、本発明の音声符号化装置及びその
方法の他の実施例で、複数M個の現用符号化器に対し
て、1台の予備符号化器を設定する構成のものについ
て、以下に図と共に説明する。図2に示される本発明の
音声符号化装置及びその方法の他の実施例は、複数M=
2とした、現用符号化器が15A、15Bを有する場合
である。
Next, another embodiment of the speech encoding apparatus and method according to the present invention, in which one spare encoder is set for a plurality of M working encoders, will be described. This will be described below with reference to the drawings. Another embodiment of the speech encoding apparatus and method of the present invention shown in FIG.
2 is a case where the working encoder has 15A and 15B.

【0021】本発明の音声符号化装置の実施例は、現用
符号化器15A(符号化部16A、符号量制御部17
A)、現用符号化器15B(符号化部16B、符号量制
御部17B)、予備符号化器18(符号化部19、符号
量制御部20)、スイッチャ21、コントローラ22、
同期信号発生器23、及び入力データ切替え部24より
構成されている。
An embodiment of the speech encoding apparatus according to the present invention is composed of a working encoder 15A (an encoder 16A, a code amount controller 17A).
A), working encoder 15B (encoding unit 16B, code amount control unit 17B), spare encoder 18 (encoding unit 19, code amount control unit 20), switcher 21, controller 22,
It comprises a synchronization signal generator 23 and an input data switching unit 24.

【0022】本発明の音声符号化装置は、図8に示され
る従来例の装置とは、バッファ量制御の為に現行符号化
器の符号量制御部から予備符号化器の符号量制御部に供
給されている制御線が削除されている点が大きく異なっ
ている。
The speech encoding apparatus of the present invention is different from the conventional apparatus shown in FIG. 8 in that the code amount control unit of the current encoder is changed from the code amount control unit of the spare encoder to the buffer amount control. The difference is that the supplied control line is deleted.

【0023】図2に示されるように、入力PCMデータ
は、現用符号化器15A,15B及び予備符号化器18
に同様な状態で入力される。現用符号化器15A,15
B及び予備符号化器18は、それぞれ符号化部16A,
16B、19と符号量制御部17A,17B、20によ
り構成され、同期信号発生器23より供給されるオーデ
ィオフレーム信号に同期して同じ符号化レートで入力P
CMデータに対して符号化を行う。これらの現用符号化
器15A,15B及び予備符号化器18は、同期信号発
生器23の出力同期信号が共に供給されて、同期結合さ
れている。
As shown in FIG. 2, input PCM data is supplied to the working encoders 15A and 15B and the spare encoder 18A.
Is input in a similar state. Working encoders 15A, 15
B and the pre-encoder 18 are encoding units 16A,
16B and 19 and code amount control sections 17A, 17B and 20. The input P at the same coding rate is synchronized with the audio frame signal supplied from the synchronization signal generator 23.
Encode the CM data. The working encoders 15A and 15B and the spare encoder 18 are supplied with the output synchronization signal of the synchronization signal generator 23 and are synchronously coupled.

【0024】切替えスイッチャ21は、コントローラ2
2により制御され、通常は現用符号化器15Aの符号化
部16Aよりの出力ビットストリーム、及び現用符号化
器15Bの符号化部16Bよりの出力ビットストリーム
がそれぞれ出力されるようになっている。
The changeover switcher 21 includes the controller 2
2, the output bit stream from the encoding unit 16A of the working encoder 15A and the output bit stream from the encoding unit 16B of the working encoder 15B are normally output.

【0025】ここで、予備符号化器18は、通常は動作
している必要はなく、現用符号化器15Aまたは現用符
号化器15Bのメンテナンス等、切替えが必要な時間帯
にのみ動作していれば十分である。
Here, the spare encoder 18 does not normally need to operate, but may operate only during a time period when switching is required, such as maintenance of the working encoder 15A or the working encoder 15B. Is enough.

【0026】まず最初に、現用符号化器15Aのメンテ
ナンス等を行うとき、使用者はコントローラ22に対し
て、切替えの指示を行う。この指示を予備符号化器18
が受けると、まず予備符号化器18は動作を開始し、入
力データ切替え部24も指示を受け、メンテナンスを行
う現用符号化器15Aに供給されている入力PCMデー
タを予備符号化器18の符号化部19にも供給し、この
現用符号化器15Aに供給されている同期信号発生器2
3の出力同期信号も符号化部19にも供給されるように
する。
First, when performing maintenance or the like of the working encoder 15A, the user instructs the controller 22 to perform switching. This instruction is sent to the preliminary encoder 18
, First, the preliminary encoder 18 starts operating, the input data switching unit 24 also receives an instruction, and converts the input PCM data supplied to the working encoder 15A for maintenance to the code of the preliminary encoder 18. The synchronization signal generator 2 which is also supplied to the encoding unit 19 and supplied to the working encoder 15A.
3 is also supplied to the encoding unit 19.

【0027】コントローラ22は、現用符号化器15A
及び予備符号化器18の符号量制御部17A、20と、
切替えスイッチャ21、入力データ切替え部24に対し
て、切替え信号を発生する。
The controller 22 includes a working encoder 15A.
And the code amount control units 17A and 20 of the preliminary encoder 18;
A switching signal is generated for the switching switcher 21 and the input data switching unit 24.

【0028】現用符号化器15A及び予備符号化器18
の符号量制御部17A、符号量制御部20は、切替え信
号を受け取ると、仮想バッファ値が所定の同一値となる
ように符号量をそれぞれ制御する。
Working encoder 15A and spare encoder 18
Upon receiving the switching signal, the code amount control unit 17A and the code amount control unit 20 respectively control the code amounts so that the virtual buffer value becomes a predetermined same value.

【0029】ここでは、切替え信号を受け取った直後の
オーディオフレームから、Nオーディオフレームの間、
仮想バッファ値が0となるように符号量を制御した後
に、通常の符号量制御に戻るものとする。
Here, from the audio frame immediately after receiving the switching signal to N audio frames,
After controlling the code amount so that the virtual buffer value becomes 0, the control is returned to the normal code amount control.

【0030】この時の現用符号化器15A及び予備符号
化器18の仮想バッファ値の推移の一実施例を図3に示
す。切替えスイッチャ21は、コントローラ22より切
替え信号を受け取った後、N’オーディオフレーム後
に、現用符号化器15Aから予備符号化器18への切替
えをシームレスに行う。ここで、N’< Nとする。
FIG. 3 shows an embodiment of the transition of the virtual buffer values of the working encoder 15A and the spare encoder 18 at this time. After receiving the switching signal from the controller 22, the switching switcher 21 performs seamless switching from the working encoder 15A to the spare encoder 18 after N ′ audio frames. Here, it is assumed that N ′ <N.

【0031】この時、図3に示されるように、現用符号
化器15A及び予備符号化器18の仮想バッファの値は
同一であり、符号化器16Aから符号化器18に切り替
えても、切替え点での符号量制御の整合性を保持するこ
とが出来る。
At this time, as shown in FIG. 3, the values of the virtual buffers of the working encoder 15A and the spare encoder 18 are the same, so that the switching from the encoder 16A to the encoder 18 It is possible to maintain the consistency of the code amount control at the point.

【0032】つぎに、現用符号化器15Bのメンテナン
ス等を行うときには、使用者はコントローラ22に対し
て、切替えの指示を行う。コントローラ22は、現用符
号化器15B及び予備符号化器18の符号量制御部17
B、20と、切替えスイッチャ21、入力データ切替え
部24に対して、切替え信号を発生する。その後の工程
は前記の現用符号化器15Aのメンテナンス等を行う場
合と同様になる。
Next, when performing maintenance or the like of the working encoder 15B, the user issues a switching instruction to the controller 22. The controller 22 includes a code amount control unit 17 of the working encoder 15B and the spare encoder 18.
A switching signal is generated for B, 20, the switching switcher 21, and the input data switching unit 24. Subsequent steps are the same as in the case where the maintenance of the working encoder 15A is performed.

【0033】複数の符号化器に対して一台の予備符号化
器を設置すればよいので、運転コストを大幅に軽減する
ことが出来る。
Since it is sufficient to provide one spare encoder for a plurality of encoders, the operating cost can be greatly reduced.

【0034】[0034]

【発明の効果】以上説明したように、本発明によると、
同じ入力音声データが供給されると共に切替えの為の信
号を受けた時点で同期運転されて、予備符号化手段の出
力と現用符号化手段の出力とを切り替えて出力する切替
え制御手段を有する音声符号化装置において、前記切替
え制御手段が切替えのための信号を受け取ると、符号化
のため、復号側の入力バッファを仮想した前記予備符号
化手段及び前記現用符号化手段のそれぞれの仮想バッフ
ァ値が所定の値になるように制御し、前記所定の値にな
った時点で前記現用符号化手段の出力から前記予備符号
化手段の出力に切り替えるようにしたことにより、符号
化を止めることなく、符号化手段の切替えを行うことが
出来、かつ、切替え点での符号量制御の整合性を保持す
ることが出来る。
As described above, according to the present invention,
An audio codec having switching control means for synchronously operating when the same input audio data is supplied and receiving a signal for switching, and for switching and outputting between the output of the preliminary encoding means and the output of the current encoding means. In the encoding device, when the switching control unit receives a signal for switching, a virtual buffer value of each of the preliminary encoding unit and the working encoding unit, which is a virtual input buffer on the decoding side, is encoded for encoding. By controlling the output from the working encoder to the output of the spare encoder when the predetermined value is reached. The means can be switched, and the consistency of the code amount control at the switching point can be maintained.

【0035】また、本発明によると、前記切替え制御手
段は切替えのための信号を受け取ると、前記予備符号化
手段及び現用符号化手段のバッファ値がそれぞれ0とな
るように符号量を制御した上で、通常の符号化による符
号量制御から完全固定符号化のための符号量制御に移行
するようにしたので、符号化を止めることなく、符号化
手段の切替えを行うことが出来、かつ、切替え点での符
号量制御の整合性を保持することが出来る。
According to the present invention, when the switching control means receives a signal for switching, the switching control means controls the code amount so that the buffer values of the spare encoding means and the working encoding means become 0 each. Therefore, since the code amount control by the normal encoding is shifted to the code amount control for the completely fixed encoding, the encoding means can be switched without stopping the encoding, and the switching can be performed. It is possible to maintain the consistency of the code amount control at the point.

【0036】また、本発明によると、複数の符号化手段
に対して一台の予備符号化手段を設置すれば、運転コス
トを大幅に軽減することが出来る。
According to the present invention, if one spare encoding means is provided for a plurality of encoding means, the operating cost can be greatly reduced.

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

【図1】本発明の音声符号化装置及びその方法の一実施
例のブロック構成を示した図である。
FIG. 1 is a diagram showing a block configuration of an embodiment of a speech encoding apparatus and a method thereof according to the present invention.

【図2】本発明の音声符号化装置及びその方法の他の実
施例のブロック構成を示した図である。
FIG. 2 is a diagram showing a block configuration of another embodiment of the speech encoding apparatus and method of the present invention.

【図3】本発明の音声符号化装置及びその方法の切替え
時の現用符号化手段及び予備符号化手段の各符号量制御
部の、復号側の入力バッファを仮想した仮想バッファの
推移の一実施例を示した図である。
FIG. 3 is a diagram illustrating an embodiment of a transition of a virtual buffer that virtually simulates an input buffer on the decoding side of each of the code amount control units of the active encoding unit and the spare encoding unit when switching between the audio encoding device and the method according to the present invention. It is a figure showing an example.

【図4】MPEG2AACでの発生符号量を示した図で
ある。
FIG. 4 is a diagram showing a generated code amount in MPEG2 AAC.

【図5】本発明の音声符号化装置及びその方法で使用す
るデコーダの入力バッファを仮定した仮想バッファの一
例を示した図である。
FIG. 5 is a diagram illustrating an example of a virtual buffer assuming an input buffer of a decoder used in the speech encoding apparatus and method according to the present invention.

【図6】MPEG1LayerIIでの発生符号量を示し
た図である。
FIG. 6 is a diagram showing a generated code amount in MPEG1 Layer II.

【図7】従来の音声符号化装置及びその方法の一例のブ
ロック構成を示した図である。
FIG. 7 is a diagram showing a block configuration of an example of a conventional speech encoding device and a method thereof.

【図8】従来の音声符号化装置及びその方法の他の例の
ブロック構成を示した図である。
FIG. 8 is a diagram showing a block configuration of another example of the conventional speech coding apparatus and method.

【符号の説明】 15、15A、15B 現用符号化部(現用符号化手
段) 16、16A、16B 符号化部 17、17A、17B 符号量制御部 18 予備符号化部(予備符号化手段) 19、19A、19B 符号化部 20、20A、20B 符号量制御部 21 スイッチャ(切替え制御手段) 22 コントローラ(切替え制御手段) 23 同期信号発生器 24 入力データ切替え部 M 現用符号化手段の数 N 切替え信号が供給されてから切替えまでのフレー
ム数 N’ 切替え信号が供給されてから実際の切替えまでの
フレーム数
[Description of Code] 15, 15A, 15B Working encoder (working encoder) 16, 16A, 16B Encoder 17, 17A, 17B Code amount controller 18 Preliminary encoder (preliminary encoder) 19, 19A, 19B Encoding unit 20, 20A, 20B Code amount control unit 21 Switcher (switching control unit) 22 Controller (switching control unit) 23 Synchronous signal generator 24 Input data switching unit M Number of current encoding units N Switching signal is Number of frames from supply to switching N 'Number of frames from switching signal supply to actual switching

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】同じ入力音声データが供給されると共に切
替えの為の信号を受けた時点で同期運転されて、予備符
号化手段の出力と現用符号化手段の出力とを切り替えて
出力する切替え制御手段を有する音声符号化装置におい
て、 前記切替え制御手段が切替えのための信号を受け取る
と、符号化のため、復号側の入力バッファを仮想した前
記予備符号化手段及び前記現用符号化手段のそれぞれの
仮想バッファ値が所定の値になるように制御し、前記所
定の値になった時点で前記現用符号化手段の出力から前
記予備符号化手段の出力に切り替え、符号化を止めるこ
となく、前記符号化手段の切替え、切替え点での符号の
整合性の保持を可能としたことを特徴とする音声符号化
装置。
1. Switching control in which the same input voice data is supplied and synchronously operated when a signal for switching is received to switch and output between the output of the spare encoding means and the output of the working encoding means. In the speech encoding apparatus having means, when the switching control means receives a signal for switching, for encoding, for the encoding, each of the preliminary encoding means and the working encoding means imagining a decoding-side input buffer. The virtual buffer value is controlled to be a predetermined value, and at the time when the virtual buffer value reaches the predetermined value, the output of the working encoding unit is switched to the output of the spare encoding unit, and the encoding is performed without stopping encoding. A speech encoding apparatus characterized in that it is possible to switch encoding means and maintain code consistency at a switching point.
【請求項2】複数の現用符号化手段と予備符号化手段を
有し、前記複数の現用符号化手段の中から選択された現
用符号化手段と前記予備符号化手段とに同じ入力音声デ
ータが供給されると共に切替えの為の信号を受けた時点
で同期運転されて、前記予備符号化手段の出力と前記選
択された現用符号化手段の出力とを切り替えて出力する
切替え制御手段を有する音声符号化装置において、 前記切替え制御手段が切替えのための信号を受け取る
と、符号化のため、復号側の入力バッファを仮想した前
記予備符号化手段及び前記選択された現用符号化手段の
それぞれの仮想バッファ値が所定の値になるように制御
し、前記所定の値になった時点で前記選択された現用符
号化手段の出力から前記予備符号化手段の出力に切り替
え、符号化を止めることなく、前記符号化手段の切替
え、切替え点での符号の整合性の保持を可能としたこと
を特徴とする音声符号化装置。
2. The apparatus according to claim 1, further comprising a plurality of active encoding units and a preliminary encoding unit, wherein the same input voice data is selected as the active encoding unit and the preliminary encoding unit selected from the plurality of the active encoding units. Speech code having switching control means for switching and outputting between the output of the preliminary coding means and the output of the selected working coding means to be synchronously operated at the time of being supplied and receiving a signal for switching. In the encoding device, when the switching control unit receives a signal for switching, for encoding, the virtual buffers of the preliminary encoding unit and the selected active encoding unit, which virtualize an input buffer on the decoding side, for encoding. Controlling the value to be a predetermined value, and when the predetermined value is reached, switching from the output of the selected working coding means to the output of the spare coding means, and stopping the coding. A speech encoding device characterized in that the encoding means can be switched and code consistency at the switching point can be maintained.
【請求項3】請求項1または請求項2に記載された音声
符号化装置において、 前記切替え制御手段は切替えのための信号を受け取る
と、前記予備符号化手段及び現用符号化手段のバッファ
値がそれぞれ0となるように符号量を制御した上で、通
常の符号化による符号量制御から完全固定符号化のため
の符号量制御に移行するようにしたことを特徴とする音
声符号化装置。
3. The audio encoding apparatus according to claim 1, wherein said switching control means receives a signal for switching, and changes the buffer values of said preliminary encoding means and working encoding means. A speech coding apparatus, characterized in that the code amount is controlled so that each of them becomes 0, and then the code amount is controlled from normal code amount control to code amount control for completely fixed coding.
【請求項4】同じ入力音声データが供給されると共に切
替えの為の信号を受けた時点で同期運転されて、予備符
号化ステップの出力と現用符号化ステップの出力とを切
り替えて出力する切替え制御ステップを有する音声符号
化方法において、 前記切替え制御ステップが切替えのための信号を受け取
ると、符号化のため、復号側の入力バッファを仮想した
前記予備符号化ステップ及び前記現用符号化ステップの
それぞれの仮想バッファ値が所定の値になるように制御
し、前記所定の値になった時点で前記現用符号化ステッ
プの出力から前記予備符号化ステップの出力に切り替
え、符号化を止めることなく、前記符号化ステップの切
替え、切替え点での符号の整合性の保持を可能としたこ
とを特徴とした音声符号化方法。
4. A switching control in which the same input voice data is supplied and synchronously operated upon receiving a signal for switching to switch and output between an output of a preliminary encoding step and an output of a current encoding step. In the speech encoding method having the steps, when the switching control step receives a signal for switching, for encoding, for each of the preliminary encoding step and the working encoding step, the input buffer on the decoding side is imagined. The virtual buffer value is controlled to be a predetermined value, and at the time when the virtual buffer value has reached the predetermined value, the output of the working coding step is switched to the output of the preliminary coding step, and the coding is performed without stopping coding. A speech coding method characterized in that it is possible to switch the coding step and to maintain the code consistency at the switching point.
【請求項5】複数の現用符号化ステップと予備符号化ス
テップを有し、前記複数の現用符号化ステップの中から
選択された現用符号化ステップと前記予備符号化ステッ
プとに同じ入力音声データが供給されると共に切替えの
為の信号を受けた時点で同期運転されて、前記予備符号
化ステップの出力と前記選択された現用符号化ステップ
の出力とを切り替えて出力する切替え制御ステップを有
する音声符号化方法において、 前記切替え制御ステップが切替えのための信号を受け取
ると、符号化のため、復号側の入力バッファを仮想した
前記予備符号化ステップ及び前記選択された現用符号化
ステップのそれぞれの仮想バッファ値が所定の値になる
ように制御し、前記所定の値になった時点で前記選択さ
れた現用符号化ステップの出力から前記予備符号化ステ
ップの出力に切り替え、符号化を止めることなく、前記
符号化ステップの切替え、切替え点での符号の整合性の
保持を可能としたことを特徴とする音声符号化方法。
5. A plurality of active encoding steps and a preliminary encoding step, wherein the same input voice data is selected in the active encoding step and the preliminary encoding step selected from the plurality of active encoding steps. A speech code having a switching control step of switching and outputting between the output of the preliminary coding step and the output of the selected working coding step, being synchronously operated at the time of being supplied and receiving a signal for switching. In the encoding method, when the switching control step receives a signal for switching, for encoding, a virtual buffer for each of the preliminary encoding step and a selected active encoding step, which is a virtual input buffer on the decoding side, is encoded. The value is controlled so as to be a predetermined value. A speech encoding method characterized in that it is possible to switch to the output of the pre-encoding step and to switch the encoding step and maintain code consistency at the switching point without stopping encoding.
【請求項6】請求項4または請求項5に記載された音声
符号化方法において、 前記切替え制御ステップは切替えのための信号を受け取
ると、前記予備符号化ステップ及び現用符号化ステップ
のバッファ値がそれぞれ0となるように符号量を制御し
た上で、通常の符号化による符号量制御から完全固定符
号化のための符号量制御に移行するようにしたことを特
徴とする音声符号化方法。
6. The speech encoding method according to claim 4, wherein said switching control step, upon receiving a signal for switching, sets buffer values of said preliminary encoding step and working encoding step. A speech coding method, characterized in that the code amount is controlled to be 0, and then the code amount is controlled from normal code amount to code amount control for completely fixed coding.
JP2000169300A 2000-06-06 2000-06-06 Speech coding apparatus and method Expired - Lifetime JP3606446B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000169300A JP3606446B2 (en) 2000-06-06 2000-06-06 Speech coding apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000169300A JP3606446B2 (en) 2000-06-06 2000-06-06 Speech coding apparatus and method

Publications (2)

Publication Number Publication Date
JP2001350496A true JP2001350496A (en) 2001-12-21
JP3606446B2 JP3606446B2 (en) 2005-01-05

Family

ID=18672181

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000169300A Expired - Lifetime JP3606446B2 (en) 2000-06-06 2000-06-06 Speech coding apparatus and method

Country Status (1)

Country Link
JP (1) JP3606446B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007156203A (en) * 2005-12-07 2007-06-21 Nec Corp Audio switching method and audio switching device
CN107111311A (en) * 2014-09-10 2017-08-29 西门子能源公司 Utilize the combustion gas turbine Transducer fault detection of sparse coding method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007156203A (en) * 2005-12-07 2007-06-21 Nec Corp Audio switching method and audio switching device
CN107111311A (en) * 2014-09-10 2017-08-29 西门子能源公司 Utilize the combustion gas turbine Transducer fault detection of sparse coding method
CN107111311B (en) * 2014-09-10 2020-01-14 西门子能源公司 Gas turbine sensor fault detection using sparse coding methods
US10557719B2 (en) 2014-09-10 2020-02-11 Siemens Energy, Inc. Gas turbine sensor failure detection utilizing a sparse coding methodology

Also Published As

Publication number Publication date
JP3606446B2 (en) 2005-01-05

Similar Documents

Publication Publication Date Title
US5602592A (en) Moving picture compressed signal changeover apparatus
US6208759B1 (en) Switching between bit-rate reduced signals
CA2446513A1 (en) Communication protocol for controlling transfer of temporal data over a bus between devices in synchronization with a periodic reference signal
JP2000511740A (en) How to seamlessly join a video encoder
US9031850B2 (en) Audio stream combining apparatus, method and program
WO2010075790A1 (en) Multi-channel audio signal processing method, device and system
JP2002320228A (en) Signal processor
JPH09331524A (en) Digital signal coding method, edit method and transmission method
JP2001350496A (en) Device and method for voice coding
CA2431063A1 (en) Method and apparatus for adaptive bit rate control in an asynchronized encoding system
JP2002502161A (en) Video signal compression processing method
US20070189384A1 (en) Method and apparatus for reproduction of image frame in image receiving system
JP2001359071A (en) Data distributor and method, and data distribution system
JP2001217753A (en) Active/standby switching device for digital broadcasting sending system
JP2001128164A (en) Method and system for processing video code
JP2008054159A (en) Video-audio multiplexing apparatus
JPH10190745A (en) Encoding signal transmitting method/device
JPH1175198A (en) Image signal compressor and method and storage medium
JP4216553B2 (en) Digital broadcast signal switching device and digital broadcast signal switching method
JP4309013B2 (en) Digital broadcast program transmission system
JP2001117593A (en) Device and method for audio synchronous encoding
KR101013421B1 (en) Encoding/transmission device and encoding/transmission method
JPH09284726A (en) Signal delay device and signal processing device
JP2000228759A (en) Hd/sd compatible decoder
JP2002118848A (en) Video switching device and video switching method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040618

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040625

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040824

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040917

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040930

R151 Written notification of patent or utility model registration

Ref document number: 3606446

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20071015

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20081015

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091015

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20101015

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101015

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20111015

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20121015

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121015

Year of fee payment: 8

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20121015

Year of fee payment: 8

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20131015

Year of fee payment: 9

EXPY Cancellation because of completion of term