JPH0918347A - Voice encoding system converter - Google Patents

Voice encoding system converter

Info

Publication number
JPH0918347A
JPH0918347A JP7161790A JP16179095A JPH0918347A JP H0918347 A JPH0918347 A JP H0918347A JP 7161790 A JP7161790 A JP 7161790A JP 16179095 A JP16179095 A JP 16179095A JP H0918347 A JPH0918347 A JP H0918347A
Authority
JP
Japan
Prior art keywords
data
input
coding
encoding
kbit
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
JP7161790A
Other languages
Japanese (ja)
Inventor
Keisuke Oda
啓介 小田
Kenji Horiguchi
健治 堀口
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 JP7161790A priority Critical patent/JPH0918347A/en
Publication of JPH0918347A publication Critical patent/JPH0918347A/en
Pending legal-status Critical Current

Links

Landscapes

  • Manipulation Of Pulses (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Dc Digital Transmission (AREA)

Abstract

PURPOSE: To provide a highly versatile voice encoding system converter applicable to conversion between optional voice encoding systems. CONSTITUTION: Encoding data after system conversion as an output candidate are formed by M pieces of voice encoding system conversion means 202 and 207, etc. Then, corresponding to the voice encoding system related to the inputted encoding data discriminated by detecting a unique pattern present in the inputted encoding data by input system discrimination means 203, 204 and 206 and/or output mode information from an outside, an output data switching means 209 selects and outputs the encoding data from one of the voice encoding system conversion means or the inputted encoding data.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、複数の音声符号化方式
を変換する音声符号化方式変換装置に関し、特に、複数
の32kbit/sのADPCM音声符号化方式間の変換に適
用して好適なものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a voice coding system conversion device for converting a plurality of voice coding systems, and is particularly suitable for conversion between a plurality of 32 kbit / s ADPCM voice coding systems. It is a thing.

【0002】[0002]

【従来の技術】電話に代表される音声波形伝送には、音
声波形をデジタル符号化したデジタル伝送が一般的にな
ってきた。昨今では有線回線のデジタル化のみならず、
無線を用いた移動体電話において、加入者の増加や隠匿
性の要求から急速なデジタル化の傾向にある。
2. Description of the Related Art For voice waveform transmission represented by a telephone, digital transmission in which a voice waveform is digitally encoded has become common. Nowadays not only the digitization of wired lines,
In mobile phones using wireless, there is a tendency toward rapid digitization due to an increase in the number of subscribers and a demand for concealment.

【0003】自動車電話に代表されるセルラ移動体通信
における音声波形のデジタル符号化にあたっては、限ら
れた周波数帯域という資源のなかで、いかに少ない伝送
帯域で音声波形をデジタル伝送するかという観点から、
VSELPやRPE−LTP等の低ビットレートの音声
符号化方式が採用されてきた。
In digital encoding of a voice waveform in cellular mobile communication represented by a car telephone, from the viewpoint of how to digitally transmit the voice waveform in a limited frequency band within a limited resource.
Low bit rate audio coding schemes such as VSELP and RPE-LTP have been adopted.

【0004】しかし、無線通信に関わるデバイス技術の
進歩によって、近年では1GHz以上の周波数を使った
マイクロ波での移動体通信が実用段階にはいり、以前よ
りも広い伝送帯域を確保できる。そのため、VSELP
やRPE−LTP等よりも伝送帯域が広くて音質が良
い、既存の有線回線との接続が容易な32kbit/sのAD
PCM符号化方式を採用するPHSシステムも出現して
きた。
However, due to the progress of device technology relating to wireless communication, in recent years, mobile communication using microwaves using a frequency of 1 GHz or more has come to a practical stage, and a wider transmission band than before can be secured. Therefore, VSELP
32kbit / s AD that has a wider transmission band and better sound quality than RPE-LTP, etc., and is easy to connect to existing wired lines
PHS systems employing the PCM coding scheme have also appeared.

【0005】現在においては、音声符号化方式だけでな
く無線伝送路での変調方式等もことごとく相違している
上述したデジタルセルラ電話システム及びPHSシステ
ムが混在しているが、さらに、使用環境に応じた他のデ
ジタル移動体通信システムも提供されると考えられる。
このような他のシステムは、伝送帯域が広くて音質が良
い、既存の有線回線との接続が容易な32kbit/sのAD
PCM符号化方式を採用すると考えられる。しかし、P
HSシステムとの混話を避けるために、PHSシステム
における32kbit/sのADPCM符号化方式とは異なる
32kbit/sのADPCM符号化方式を採用すると考えら
れる。
At present, there are a mixture of the above-mentioned digital cellular telephone system and PHS system, which are different not only in the voice coding system but also in the modulation system in the wireless transmission line. However, depending on the usage environment. Other digital mobile communication systems may also be provided.
Such other systems have a wide transmission band, good sound quality, and 32 kbit / s AD that is easy to connect to existing wired lines.
It is considered that the PCM coding system is adopted. But P
In order to avoid cross talk with the HS system, it is considered that a 32 kbit / s ADPCM coding system different from the 32 kbit / s ADPCM coding system in the PHS system is adopted.

【0006】[0006]

【発明が解決しようとする課題】このような環境下にお
いて基地局をシステム毎に設けるならば不経済であり、
音声符号化方式は異なっても無線伝送路での変調方式が
同じならば、基地局を共用することが好ましい。このよ
うな場合において、一方の32kbit/sのADPCM符号
化方式を他方の32kbit/sのADPCM符号化方式に変
換する音声符号化方式の変換装置を設けたならば、基地
局において統一した32kbit/sのADPCM符号化方式
に応じて処理できたり、交換局に統一した32kbit/sの
ADPCM符号化方式に従う符号化データを送出できた
りして好ましい。
It is uneconomical to provide a base station for each system in such an environment,
It is preferable to share the base station if the modulation schemes on the wireless transmission path are the same even though the voice coding schemes are different. In such a case, if a conversion device of a voice coding system for converting one 32 kbit / s ADPCM coding system into the other 32 kbit / s ADPCM coding system is provided, the base station unified 32 kbit / s. This is preferable because it can be processed in accordance with the ADPCM coding system of s of s, and the encoded data according to the unified ADPCM coding system of 32 kbit / s can be transmitted to the exchange.

【0007】このような音声符号化方式変換装置を実現
するには、入力された符号化データの方式を識別するこ
とが必要となる。64kbit/sのlogPCM符号化方式
に従う符号化データと、64kbit/sのSB−ADPCM
符号化方式に従う符号化データとを復号する音声復号装
置に、方式識別方法が提案されている(特開平2−26
426号公報)。しかし、この符号化方式の識別には、
64kbit/sのlogPCM符号化方式及び64kbit/sの
SB−ADPCM符号化方式とで、その符号における上
位2ビット目における1の出現回数が異なるというそれ
ら符号化方式間における特有な性質を利用しており、他
の音声符号化方式の識別には適用できず、その結果、他
の音声符号化方式間の変換に適用できない。
In order to realize such a voice coding system conversion device, it is necessary to identify the system of the input coded data. Coded data according to the log PCM coding method of 64 kbit / s and SB-ADPCM of 64 kbit / s
A method identification method has been proposed for a voice decoding device that decodes encoded data according to an encoding method (Japanese Patent Laid-Open No. 2-26)
No. 426 publication). However, to identify this encoding method,
By utilizing the peculiar property between the coding methods that the number of appearances of 1 in the upper 2nd bit in the code is different between the 64kbit / s logPCM coding method and the 64kbit / s SB-ADPCM coding method. However, it cannot be applied to the identification of other audio encoding methods, and as a result, cannot be applied to conversion between other audio encoding methods.

【0008】[0008]

【課題を解決するための手段】かかる課題を解決するた
め、第1の本発明の音声符号化方式変換装置は、以下の
各手段を備えることを特徴とする。
In order to solve such a problem, the speech coding system conversion apparatus of the first aspect of the present invention is characterized by including the following means.

【0009】すなわち、(1) N種類(Nは2以上)のい
ずれかの音声符号化方式に従う入力された符号化データ
を自己に割り当てられている所定の音声符号化方式に従
って復号すると共に、その復号データを他の音声符号化
方式に従って符号化するM個(Mは1〜 N2 )の音声
符号化方式変換手段と、(2) 入力された符号化データ
に、いずれの音声符号化方式に特有な特異パターンが存
在するかを検出して、入力された符号化データに関する
音声符号化方式を識別する入力方式識別手段と、(3) そ
の識別結果、及び又は、外部からの出力モード情報に応
じて、いずれかの上記音声符号化方式変換手段からの符
号化データ、又は、入力された符号化データを選択して
出力する出力データ切り替え手段とを備えることを特徴
とする。
That is, (1) the input coded data according to any one of N kinds (N is 2 or more) of the voice encoding system is decoded according to a predetermined voice encoding system assigned to itself, and M (M is 1 to N P 2 ) speech coding method conversion means for coding the decoded data according to another speech coding method, and ( 2 ) which speech coding method is used for the input coded data. An input method identification means for detecting the presence of a peculiar pattern peculiar to, and identifying the audio encoding method for the input encoded data, (3) the identification result, and / or the output mode information from the outside. According to the above, there is provided output data switching means for selecting and outputting the encoded data from any one of the audio encoding method conversion means or the input encoded data.

【0010】上記課題を解決するため、第2の本発明の
音声符号化方式変換装置は、以下の各手段を備えること
を特徴とする。
In order to solve the above-mentioned problems, a second aspect of the present invention is a speech coding system conversion apparatus characterized by comprising the following means.

【0011】すなわち、(1) N種類(Nは2以上)のい
ずれかの音声符号化方式に従う入力された符号化データ
を自己に割り当てられている所定の音声符号化方式に従
って復号すると共に、その復号データを他の音声符号化
方式に従って符号化するM個(Mは1〜 N2 )の音声
符号化方式変換手段と、(2) 入力された符号化データ
を、自己に割り当てられている所定の音声符号化方式に
従って復号すると共に、その復号データを同一の音声符
号化方式に従って符号化し、得られた再符号化データと
入力された符号化データとの相関を検出するN個の方式
判定用相関検出手段と、(3) 得られた相関が最も高い上
記方式判定用相関検出手段に割り当てられている音声符
号化方式を、入力された符号化データに関する音声符号
化方式と判定する入力方式判定手段と、(4) その判定結
果、及び又は、外部からの出力モード情報に応じて、い
ずれかの上記音声符号化方式変換手段からの符号化デー
タ、又は、入力された符号化データを選択して出力する
出力データ切り替え手段とを備えることを特徴とする。
That is, (1) the input coded data according to any one of N types (N is 2 or more) of the voice encoding system is decoded according to a predetermined voice encoding system assigned to itself, and M (M is 1 to N P 2 ) speech coding method conversion means for coding the decoded data according to another speech coding method, and (2) the inputted coded data is assigned to itself. N method determinations for decoding according to a predetermined voice encoding method, encoding the decoded data according to the same voice encoding method, and detecting the correlation between the re-encoded data obtained and the input encoded data Input method for deciding the speech coding method assigned to the correlation detecting means for use with (3) the above-mentioned correlation detecting means for method determination having the highest correlation as the speech coding method for the input coded data. Judgment means, and (4) the coded data from any of the above audio coding system conversion means or the input coded data is selected according to the judgment result and / or output mode information from the outside. And output data switching means for outputting.

【0012】[0012]

【作用】第1の本発明の音声符号化方式変換装置におい
ては、M個の音声符号化方式変換手段によって、出力候
補としての方式変換後の符号化データを形成する。そし
て、入力方式識別手段が、入力された符号化データに存
在する特異パターンを検出して識別した入力された符号
化データに関する音声符号化方式、及び又は、外部から
の出力モード情報に応じて、出力データ切り替え手段
が、いずれかの音声符号化方式変換手段からの符号化デ
ータ、又は、入力された符号化データを選択して出力す
る。
In the speech coding system conversion apparatus of the first aspect of the present invention, the M speech coding system converting means forms the coded data after the system conversion as the output candidate. Then, the input method identification means, the voice encoding method relating to the input encoded data that has been detected and identified a unique pattern existing in the input encoded data, and or, depending on the output mode information from the outside, The output data switching means selects and outputs the encoded data from any of the audio encoding method converting means or the input encoded data.

【0013】第2の本発明の音声符号化方式変換装置
は、入力された符号化データに関する音声符号化方式を
識別する構成が第1の本発明のものと異なっている。
The speech coding system converter of the second invention differs from that of the first invention in the structure for identifying the speech coding system for the inputted coded data.

【0014】各方式判定用相関検出手段は、入力された
符号化データを、自己に割り当てられている所定の音声
符号化方式に従って復号すると共に、その復号データを
同一の音声符号化方式に従って符号化し、得られた再符
号化データと入力された符号化データとの相関を検出
し、入力方式判定手段は、得られた相関が最も高い上記
方式判定用相関検出手段に割り当てられている音声符号
化方式を、入力された符号化データに関する音声符号化
方式と判定する。
Each system determination correlation detecting means decodes the input coded data according to a predetermined voice coding system assigned to itself, and codes the decoded data according to the same voice coding system. , The correlation between the obtained re-encoded data and the input encoded data is detected, and the input method determination means is a voice encoding assigned to the method determination correlation detection means having the highest obtained correlation. The method is determined to be the audio coding method for the input coded data.

【0015】[0015]

【実施例】【Example】

(A)第1実施例 以下、本発明による音声符号化方式変換装置の第1実施
例を図面を参照しながら説明する。
(A) First Embodiment Hereinafter, a first embodiment of the speech coding system conversion apparatus according to the present invention will be described with reference to the drawings.

【0016】まず、第1実施例の音声符号化方式変換装
置のような変換装置が適用される通信システムの例を2
例ほど説明する。
First, an example 2 of a communication system to which a conversion device such as the audio encoding system conversion device of the first embodiment is applied.
An example will be explained.

【0017】図2は、このようなシステムの第1例にお
ける通信イメージを示すブロック図であり、移動端末か
ら基地局への伝送方向で通信イメージを示している。
FIG. 2 is a block diagram showing a communication image in the first example of such a system, and shows a communication image in the transmission direction from the mobile terminal to the base station.

【0018】図2において、移動端末100Aは、音声
符号化方式として、歩行速度程度の低速移動に適した音
声符号化方式Aを採用しており、その符号化方式Aに従
って符号化したデータを所定の通信方式(変調方式等)
に従って処理してアンテナから送信するものである。一
方、移動端末100Bは、音声符号化方式として、自動
車や列車の移動速度程度の高速移動に適した音声符号化
方式Bを採用しており、その符号化方式Bに従って符号
化したデータを所定の通信方式(変調方式等)に従って
処理してアンテナから送信するものである。
In FIG. 2, the mobile terminal 100A employs, as a voice encoding system, a voice encoding system A suitable for low-speed movement at a walking speed, and the data encoded according to the encoding system A is predetermined. Communication method (modulation method, etc.)
It is processed according to the above and transmitted from the antenna. On the other hand, the mobile terminal 100B employs, as a voice encoding system, a voice encoding system B suitable for high-speed movement such as a moving speed of a car or a train, and data encoded according to the encoding system B is predetermined. It is processed according to a communication system (modulation system, etc.) and transmitted from an antenna.

【0019】ここで、通信方式は、2種類の移動端末1
00A及び100Bで共通になされており、また、音声
符号化方式は方式A及びBで異なっているがその伝送速
度(ビットレート)は同じに選定されている。そのた
め、基地局110は、2種類の移動端末100A及び1
00Bに共通な存在となされている。基地局110の受
信回路111は、2種類の移動端末100A又は100
Bからの信号を区別することなく受信処理(増幅や復
調)し、音声符号化方式A又はBに従う符号化データに
戻す。このような符号化データが音声符号化変換装置1
12に入力されて、例えば外部(交換局)からの指示に
応じて、適宜方式変換されて、他方又は所定の音声符号
化方式に従う符号化データが出力される。
Here, there are two types of communication methods for the mobile terminal 1
00A and 100B are commonly used, and the speech coding schemes are different between schemes A and B, but their transmission rates (bit rates) are selected to be the same. Therefore, the base station 110 has two types of mobile terminals 100A and 1A.
It is common to 00B. The receiving circuit 111 of the base station 110 has two types of mobile terminals 100A or 100A.
The signal from B is subjected to reception processing (amplification or demodulation) without distinction, and is returned to encoded data according to the audio encoding method A or B. Such coded data is used as the voice coding conversion device 1
The data is input to 12, the system is appropriately converted in accordance with, for example, an instruction from the outside (exchange station), and the encoded data according to the other or a predetermined voice encoding system is output.

【0020】図3は、音声符号化変換装置が適用される
通信システムの第2例における通信イメージを示すブロ
ック図であり、移動端末から基地局への伝送方向で通信
イメージを示している。
FIG. 3 is a block diagram showing a communication image in the second example of the communication system to which the voice coding conversion device is applied, and shows the communication image in the transmission direction from the mobile terminal to the base station.

【0021】第1例システムとの相違点は、移動端末1
00が、基地局110と直接通信できるときには音声符
号化方式Aを採用して基地局110と通信し、基地局1
10と直接通信できないときには音声符号化方式Bを採
用して通信衛星120を介して基地局110と通信する
点である。この場合においても、基地局110内におい
ては、受信回路110によって、音声符号化方式A又は
Bに従うように戻された符号化データが音声符号化変換
装置112に入力されて、外部からの指示に応じて、適
宜方式変換されて、他方又は所定の音声符号化方式に従
う符号化データが出力される。
The difference from the system of the first example is that the mobile terminal 1
00 is capable of directly communicating with the base station 110, the voice coding method A is adopted to communicate with the base station 110, and the base station 1
When the direct communication with the mobile station 10 is not possible, the voice coding method B is adopted to communicate with the base station 110 via the communication satellite 120. Also in this case, in the base station 110, the encoded data returned by the receiving circuit 110 so as to comply with the audio encoding system A or B is input to the audio encoding conversion device 112, and an external instruction is given. Accordingly, the system is appropriately converted, and the encoded data according to the other or a predetermined audio encoding system is output.

【0022】図1は、以上のような通信システム等で採
用される音声符号化方式変換装置の第1実施例を示すブ
ロック図である。
FIG. 1 is a block diagram showing a first embodiment of a speech coding system conversion apparatus adopted in the above communication system or the like.

【0023】この第1実施例の場合、一方の音声符号化
方式Aは、全世界の公衆回線で広く用いられている64
kbit/sのlogPCM方式の符号化則(以下、logP
CM方式符号化則と呼ぶ)に従うデータを、CCITT
勧告G.721による全世界の公衆回線で広く用いられ
ている32kbit/sのADPCM方式の符号化則(以下、
G721−ADPCM方式符号化則と呼ぶ)に従うデー
タに変換し(符号化し)、又は、その逆変換(復号)を
行なう符号化方式である。また、他方の音声符号化方式
Bは、logPCM方式符号化則に従うデータを、CC
ITTのCOMXVIII−WP/8専門家委員会の規
定COM101(CCITTの勧告ではない)による国
際間の通信回線で広く用いられている32kbit/sのAD
PCM方式の符号化則(以下、COM101−ADPC
M方式符号化則と呼ぶ)に従うデータに変換し(符号化
し)、又は、その逆変換(復号)を行なう符号化方式で
ある。なお、誤り時の再生精度からは、COM101−
ADPCM方式符号化則の方が、G721−ADPCM
方式符号化則より使用環境が劣悪な場合に適していると
いうことができる。
In the case of the first embodiment, one of the voice coding methods A is widely used in public lines around the world.
kbit / s logPCM coding rule (hereinafter logP
Data that conforms to the CM method coding rule) is CCITT
Recommendation G. The coding rule of the ADPCM system of 32 kbit / s widely used in the public line of the world by 721 (hereinafter,
This is a coding method for converting (encoding) data according to the G721-ADPCM coding rule) or inverse conversion (decoding) thereof. Also, the other audio encoding system B converts the data according to the logPCM encoding method into CC
32 kbit / s AD widely used in international communication lines according to the COMXVIII-WP / 8 expert committee's regulation COM101 (not recommended by CCITT) of ITT
Coding rule of PCM system (hereinafter, COM101-ADPC
It is an encoding method for converting (encoding) data according to the M method encoding rule) or performing the inverse conversion (decoding) thereof. In addition, from the reproduction accuracy at the time of error, COM101-
G721-ADPCM is better than the ADPCM coding rule.
It can be said that it is more suitable when the usage environment is worse than the system coding rule.

【0024】従って、第1実施例の音声符号化方式変換
装置は、G.721−ADPCM方式符号化則に従うデ
ータと、COM101−ADPCM方式符号則に従うデ
ータとの変換を行なうものである。
Therefore, the speech coding system conversion apparatus of the first embodiment is a G.264 standard. The data according to the 721-ADPCM system coding rule and the data according to the COM101-ADPCM system coding rule are converted.

【0025】なお、図4〜図6には、これら3種類の符
号化側を示している。図4はlogPCM方式符号化則
を示し、図5はG.721−ADPCM方式符号化則を
示し、図6はCOM101−ADPCM方式符号化則を
示している。図5及び図6におけるq(k)及びI
(k)はそれぞれ、量子化前後のデータ値を示している
(図7及び図8参照)。
It should be noted that FIGS. 4 to 6 show these three types of encoding sides. FIG. 4 shows a logPCM coding rule, and FIG. 721-ADPCM coding rules are shown, and FIG. 6 shows COM101-ADPCM coding rules. Q (k) and I in FIGS. 5 and 6
(K) shows data values before and after quantization (see FIGS. 7 and 8).

【0026】ここで、図5からは、このG.721−A
DPCM方式符号化側において、「0000」パターン
は特異パターンになっていることが分かる。「000
0」パターンは、データ伝送誤りの検出のために用いる
ことを前提としている。一方、図6の脚注に示したよう
に、COM101−ADPCM方式符号化則において
は、「1111」パターンの24組の連続が自動リセッ
トを指示する特異パターンとなっている。
Here, from FIG. 721-A
On the DPCM coding side, it can be seen that the “0000” pattern is a peculiar pattern. "000
The "0" pattern is assumed to be used for detecting a data transmission error. On the other hand, as shown in the footnote of FIG. 6, in the COM101-ADPCM system coding rule, 24 consecutive "1111" patterns are peculiar patterns instructing automatic reset.

【0027】図1において、第1実施例の音声符号化方
式変換装置200は、入力端子201、第1の復号手段
202、第1のパターン検出手段203、第2のパター
ン検出手段204、第2の復号手段205、方式判定手
段206、第1の符号化手段207、第2の符号化手段
208、切り替え手段209、出力端子210及び出力
モード入力端子211から構成されている。
In FIG. 1, the speech coding system converter 200 of the first embodiment has an input terminal 201, a first decoding means 202, a first pattern detecting means 203, a second pattern detecting means 204, and a second pattern detecting means. The decoding unit 205, the method determining unit 206, the first encoding unit 207, the second encoding unit 208, the switching unit 209, the output terminal 210, and the output mode input terminal 211.

【0028】入力端子201からは、音声符号化方式A
又はBに従っている32kbit/sのADPCMデータが入
力される。すなわち、G.721−ADPCM方式符号
化則、又は、COM101−ADPCM方式符号則のい
ずれかに従っている符号化データが入力される。この入
力されたADPCMデータは、第1の復号手段202、
第1のパターン検出手段203、第2のパターン検出手
段204、第2の復号手段205及び切り替え手段20
9に与えられる。
From the input terminal 201, the audio encoding method A
Alternatively, 32 kbit / s ADPCM data conforming to B is input. That is, G. Encoded data complying with either the 721-ADPCM coding rule or the COM101-ADPCM coding rule is input. The input ADPCM data is stored in the first decoding means 202,
First pattern detecting means 203, second pattern detecting means 204, second decoding means 205 and switching means 20.
9 given.

【0029】第1の復号手段202は、音声符号化方式
A、すなわちG.721−ADPCM方式符号化則に従
って、入力されたADPCMデータを復号し、得られた
64kbit/sのlogPCM方式符号化則に従うデータを
第1の符号化手段207に与える。一方、第2の復号手
段205は、音声符号化方式B、すなわちCOM101
−ADPCM方式符号則に従って、入力されたADPC
Mデータを復号し、得られた64kbit/sのlogPCM
方式符号化則に従うデータを第2の符号化手段208に
与える。
The first decoding means 202 is a speech coding system A, that is, G.264. The input ADPCM data is decoded according to the 721-ADPCM coding rule, and the obtained data according to the 64 kbit / s logPCM coding rule is given to the first coding means 207. On the other hand, the second decoding unit 205 uses the voice encoding method B, that is, the COM 101.
-Input ADPC according to ADPCM coding rules
64kbit / s logPCM obtained by decoding M data
Data according to the system coding rule is given to the second coding means 208.

【0030】従って、入力されたADPCMデータが音
声符号化方式Aに従うものであれば、第1の復号手段2
02からは正しいデータが出力されると共に、第2の復
号手段205からは誤っているデータが出力される。逆
に、入力されたADPCMデータが音声符号化方式Bに
従うものであれば、第2の復号手段205からは正しい
データが出力されると共に、第1の復号手段202から
は誤っているデータが出力される。なお、第1の復号手
段202及び第2の復号手段205の内部構成について
は、図8を用いて後述する。
Therefore, if the input ADPCM data complies with the voice encoding system A, the first decoding means 2
02 outputs correct data, and second decoding unit 205 outputs incorrect data. On the contrary, if the input ADPCM data complies with the voice encoding method B, the correct data is output from the second decoding unit 205 and the incorrect data is output from the first decoding unit 202. To be done. The internal configurations of the first decoding means 202 and the second decoding means 205 will be described later with reference to FIG.

【0031】第1の符号化手段207は、第1の復号手
段202からの64kbit/sのlogPCM方式符号化則
に従うデータを、それが正しいか誤っているかに関係な
く、音声符号化方式B、すなわちCOM101−ADP
CM方式符号則に従って、32kbit/sのADPCMデー
タに符号化して切り替え手段209に出力する。一方、
第2の符号化手段208は、第2の復号手段205から
の64kbit/sのlogPCM方式符号化則に従うデータ
を、それが正しいか誤っているかに関係なく、音声符号
化方式A、すなわちG.721−ADPCM方式符号化
則に従って、32kbit/sのADPCMデータに符号化し
て切り替え手段209に出力する。なお、第1の符号化
手段207及び第2の符号化手段208の内部構成につ
いては、図7を用いて後述する。
The first encoding means 207 receives the data from the first decoding means 202 according to the 64 kbit / s logPCM encoding rule regardless of whether it is correct or erroneous. That is, COM101-ADP
According to the CM system coding rule, it encodes into ADPCM data of 32 kbit / s and outputs it to the switching means 209. on the other hand,
The second encoding means 208 encodes the data from the second decoding means 205, which conforms to the 64 kbit / s logPCM encoding rule, to the audio encoding method A, that is, G.264, regardless of whether it is correct or incorrect. According to the 721-ADPCM encoding rule, 32 kbit / s ADPCM data is encoded and output to the switching means 209. The internal configurations of the first encoding unit 207 and the second encoding unit 208 will be described later with reference to FIG. 7.

【0032】切り替え手段209には、上述したよう
に、入力端子201からの32kbit/sのADPCMデー
タ、第1の符号化手段207からの32kbit/sのADP
CMデータ、及び、第2の符号化手段208からの32
kbit/sのADPCMデータが選択入力として入力され、
切り替え手段209は、後述する方式判定手段206か
らの切替制御信号に応じて、いずれかの32kbit/sのA
DPCMデータを選択して出力端子210に与える。
As described above, the switching means 209 supplies the 32 kbit / s ADPCM data from the input terminal 201 and the 32 kbit / s ADP data from the first encoding means 207.
CM data and 32 from the second encoding means 208
ADPCM data of kbit / s is input as a selection input,
The switching means 209 is responsive to a switching control signal from a method determining means 206, which will be described later, to select any 32 kbit / s A signal.
The DPCM data is selected and given to the output terminal 210.

【0033】第1のパターン検出手段203は、入力端
子201から与えられた通信初期のADPCMデータに
「0000」パターンが挿入されているか否かを判定
し、挿入されている場合に、その「0000」パターン
検出信号を方式判定手段206に与えるものである。こ
の第1実施例の場合、音声符号化方式Aを採用している
送信装置(例えば移動端末)側において、通信初期のデ
ータ位置に「0000」パターンを挿入するように予め
取り決められている。上述したように、「0000」パ
ターンは通常が伝送しない誤り検出用の定められている
特異パターンであるので、かかるパターンを、上述の取
り決めのように伝送することとしても問題となることは
ない。
The first pattern detecting means 203 determines whether or not the "0000" pattern is inserted in the ADPCM data at the initial stage of communication given from the input terminal 201, and when it is inserted, the "0000" pattern is inserted. The pattern detection signal is given to the system judging means 206. In the case of the first embodiment, it is preliminarily arranged on the side of the transmitting apparatus (for example, a mobile terminal) adopting the voice coding method A to insert the “0000” pattern at the data position at the initial stage of communication. As described above, since the "0000" pattern is a specific pattern for error detection that is not normally transmitted, there is no problem even if such a pattern is transmitted according to the above-mentioned arrangement.

【0034】従って、第1のパターン検出手段203の
検出信号は、入力端子201からの32kbit/sのADP
CMデータが音声符号化方式Aに従うものであるときに
有意なものとなる。
Therefore, the detection signal of the first pattern detecting means 203 is the ADP of 32 kbit / s from the input terminal 201.
It becomes significant when the CM data complies with the audio encoding method A.

【0035】第2のパターン検出手段204は、入力端
子201から与えられた通信初期のADPCMデータに
「1111」パターンがn(nは24以下のある程度の
整数)組以上連続して挿入されているか否かを判定し、
挿入されている場合に、その「1111」パターン検出
信号を方式判定手段206に与えるものである。図6に
示したように、音声符号化方式B(COM101−AD
PCM方式符号化則)は、「1111」パターンの24
組の連続が自動リセットを指示する特異パターンとして
おり、送信装置側は、通信初期においては自動リセット
させるべく、かかるパターンの送出する。第2のパター
ン検出手段204は、このような音声符号化方式Bにお
ける特異パターンを検出するものである。
Whether the second pattern detecting means 204 continuously inserts n (n is an integer of 24 or less) pairs of "1111" patterns in ADPCM data at the initial stage of communication given from the input terminal 201. Determine whether or not
When it is inserted, the "1111" pattern detection signal is given to the system determination means 206. As shown in FIG. 6, the voice encoding method B (COM101-AD
The PCM method coding rule) is 24 for the “1111” pattern.
A series of sets is a peculiar pattern instructing an automatic reset, and the transmitting device side sends out such a pattern so that the automatic reset is performed at the initial stage of communication. The second pattern detecting means 204 detects such a peculiar pattern in the speech coding method B.

【0036】従って、第2のパターン検出手段204の
検出信号は、入力端子201からの32kbit/sのADP
CMデータが音声符号化方式Bに従うものであるときに
有意なものとなる。
Therefore, the detection signal of the second pattern detecting means 204 is the ADP of 32 kbit / s from the input terminal 201.
It becomes significant when the CM data complies with the audio encoding method B.

【0037】方式判定手段206には、出力モード入力
端子211からの出力モード信号も入力されている。こ
の第1実施例の音声符号化方式変換装置においては、3
種類の出力モードが用意されている。
An output mode signal from the output mode input terminal 211 is also input to the system determining means 206. In the speech coding system converter of the first embodiment, 3
There are different output modes available.

【0038】第1の出力モードは、入力された32kbit
/sのADPCMデータの音声符号化方式が方式A及びB
のいずれであろうと、音声符号化方式Aに従う32kbit
/sのADPCMデータを出力端子210から出力させる
モードである。
The first output mode is the input 32 kbit
/ s ADPCM data voice encoding method is A or B
32kbit according to the audio encoding method A
In this mode, ADPCM data of / s is output from the output terminal 210.

【0039】第2の出力モードは、入力された32kbit
/sのADPCMデータの音声符号化方式が方式A及びB
のいずれであろうと、音声符号化方式Bに従う32kbit
/sのADPCMデータを出力端子210から出力させる
モードである。
The second output mode is the input 32 kbit
/ s ADPCM data voice encoding method is A or B
32kbit according to the voice coding method B
In this mode, ADPCM data of / s is output from the output terminal 210.

【0040】第3の出力モードは、入力された32kbit
/sのADPCMデータの音声符号化方式が方式A及びB
のいずれであろうと、逆の音声符号化方式に従う32kb
it/sのADPCMデータを出力端子210から出力させ
るモードである。
The third output mode is the input 32 kbit
/ s ADPCM data voice encoding method is A or B
32kb according to the reverse audio coding method
In this mode, it / s ADPCM data is output from the output terminal 210.

【0041】方式判定手段206は、出力モード信号
と、第1のパターン検出手段203からの検出信号と、
第2のパターン検出手段204からの検出信号とに応じ
て、切替制御信号を形成して切り替え手段209に与え
る。なお、切替制御信号の形成方法については、後述す
る動作説明で明らかにする。
The system judging means 206 outputs the output mode signal and the detection signal from the first pattern detecting means 203.
A switching control signal is formed in accordance with the detection signal from the second pattern detecting means 204 and given to the switching means 209. The method of forming the switching control signal will be clarified in the operation description given later.

【0042】図7は、第1の符号化手段207又は第2
の符号化手段208の内部構成を示す概略ブロック図で
ある。なお、量子化ステップ等の量子化特性の制御構成
は省略している。
FIG. 7 shows the first encoding means 207 or the second encoding means.
3 is a schematic block diagram showing an internal configuration of a coding unit 208 of FIG. The control structure of the quantization characteristic such as the quantization step is omitted.

【0043】図7において、入力端子301からの64
kbit/sのlogPCMデータSI(k)は減算器302
に入力され、この減算器302によって、予測器307
からのその予測値e(k)が減算され、得られた予測残
差信号q(k)が量子化器303に与えられる。量子化
器303は、当該符号化手段207又は208に係る符
号化則(図6又は図5参照)に従って、入力された予測
残差信号q(k)を量子化し、得られた32kbit/sのA
DPCMデータI(k)を出力端子304より外部に出
力すると共に、逆量子化器305に与える。逆量子化器
305は、量子化器303と同一の符号化則に従って、
32kbit/sのADPCMデータI(k)を逆量子化し、
局部再生の予測残差信号を得て加算器306に与える。
この加算器306には、予測器307からの予測値e
(k)も与えられており、局部再生の予測残差信号に予
測値e(k)が加算されて局部再生の64kbit/sのlo
gPCMデータが得られ、これが予測器307に入力さ
れる。予測器307は、局部再生の64kbit/sのlog
PCMデータ(や信号線は省略しているが局部再生の予
測残差信号等)に基づいて、次のタイミングk+1での
予測値を形成して出力する。
In FIG. 7, 64 from the input terminal 301
The kbit / s logPCM data SI (k) is subtracted by the subtractor 302.
Is input to the predictor 307 by the subtractor 302.
The predicted value e (k) from is subtracted, and the obtained prediction residual signal q (k) is given to the quantizer 303. The quantizer 303 quantizes the input prediction residual signal q (k) according to the coding rule (see FIG. 6 or 5) related to the coding means 207 or 208, and obtains the obtained 32 kbit / s. A
The DPCM data I (k) is output from the output terminal 304 to the outside and is also given to the inverse quantizer 305. The inverse quantizer 305 follows the same coding rule as the quantizer 303,
Dequantize 32 kbit / s ADPCM data I (k),
The locally reproduced predicted residual signal is obtained and given to the adder 306.
This adder 306 has a predicted value e from the predictor 307.
(K) is also given, and the prediction value e (k) is added to the prediction residual signal of local reproduction to obtain a lo of 64 kbit / s of local reproduction.
gPCM data is obtained and input to the predictor 307. The predictor 307 is a local reproduction log of 64 kbit / s.
A prediction value at the next timing k + 1 is formed and output based on the PCM data (or a prediction residual signal of local reproduction although the signal line is omitted).

【0044】図8は、第1の復号手段202又は第2の
復号手段205の内部構成を示す概略ブロック図であ
る。なお、量子化ステップ等の量子化特性の制御構成は
省略している。
FIG. 8 is a schematic block diagram showing the internal structure of the first decoding means 202 or the second decoding means 205. The control structure of the quantization characteristic such as the quantization step is omitted.

【0045】図8において、入力端子401からの32
kbit/sのADPCMデータI(k)は逆量子化器402
に与えられ、逆量子化器402は、当該復号手段202
又は205に係る符号化則(図5又は図6参照)に従っ
て、入力された32kbit/sのADPCMデータI(k)
を逆量子化し、予測残差信号を得て加算器403に与え
る。この加算器403には、予測器405からの予測値
も与えられており、再生した予測残差信号に予測値を加
算して64kbit/sのlogPCMデータSq(k)を
得、これを出力端子404から外部に出力すると共に、
予測器405に入力する。予測器405は、再生された
64kbit/sのlogPCMデータSq(k)(や信号線
は省略しているが再生した予測残差信号等)に基づい
て、次のタイミングk+1での予測値を形成して加算器
403に出力する。
In FIG. 8, 32 from the input terminal 401
The ADPCM data I (k) of kbit / s is the inverse quantizer 402.
And the inverse quantizer 402 is applied to the decoding means 202.
Or, according to the coding rule relating to 205 (see FIG. 5 or 6), the input 32 kbit / s ADPCM data I (k)
Is dequantized to obtain a prediction residual signal, which is given to the adder 403. The adder 403 is also provided with the predicted value from the predictor 405, and adds the predicted value to the reproduced prediction residual signal to obtain 64 kbit / s logPCM data Sq (k), which is output to the output terminal. Output from 404 to the outside,
Input to the predictor 405. The predictor 405 forms a prediction value at the next timing k + 1 based on the reproduced 64 kbit / s log PCM data Sq (k) (or a reproduced prediction residual signal although the signal line is omitted). And outputs it to the adder 403.

【0046】次に、図1に示した第1実施例の音声符号
化方式変換装置200の動作を説明する。
Next, the operation of the speech coding system conversion apparatus 200 of the first embodiment shown in FIG. 1 will be described.

【0047】まず、入力端子201からの32kbit/sの
ADPCMデータの音声符号化方式が方式A及びBのい
ずれであろうと、音声符号化方式Aに従う32kbit/sの
ADPCMデータを出力端子210から出力させる第1
の出力モードが設定されている場合の動作を説明する。
First, regardless of whether the audio encoding system of the 32 kbit / s ADPCM data from the input terminal 201 is the system A or B, the 32 kbit / s ADPCM data according to the audio encoding system A is output from the output terminal 210. First to let
The operation when the output mode is set will be described.

【0048】この場合において、音声符号化方式Aに従
う32kbit/sのADPCMデータが入力端子201から
入力されてくると、第1のパターン検出手段203から
有意な検出信号が出力され、この検出信号を受けた方式
判定手段206は、入力端子201からの32kbit/sの
ADPCMデータを選択させる切替制御信号を切り替え
手段209に与えて、入力端子201からの音声符号化
方式Aに従う32kbit/sのADPCMデータを出力端子
210から出力させる。
In this case, when 32 kbit / s ADPCM data conforming to the audio encoding method A is input from the input terminal 201, a significant detection signal is output from the first pattern detection means 203, and this detection signal is output. The received system determination means 206 gives a switching control signal for selecting the 32 kbit / s ADPCM data from the input terminal 201 to the switching means 209, and the 32 kbit / s ADPCM data according to the voice encoding system A from the input terminal 201. Is output from the output terminal 210.

【0049】第1の出力モードが設定されている場合に
おいて、音声符号化方式Bに従う32kbit/sのADPC
Mデータが入力端子201から入力されてくると、第2
のパターン検出手段204から有意な検出信号が出力さ
れ、この検出信号を受けた方式判定手段206は、第2
の符号化手段208からの32kbit/sのADPCMデー
タを選択させる切替制御信号を切り替え手段209に与
える。これにより、第2の復号手段205が音声符号化
方式Bに従って復号した正しい64kbit/sのlogPC
Mデータが第2の符号化手段208に入力され、第2の
符号化手段208が、この正しい64kbit/sのlogP
CMデータを、音声符号化方式Aに従って符号化した正
しい32kbit/sのADPCMデータが切り替え手段20
9を介して出力端子210に与えられて外部に出力され
る。すなわち、音声符号化方式Bから音声符号化方式A
に変換された符号化データが出力される。
When the first output mode is set, 32 kbit / s ADPC according to the audio encoding method B
When M data is input from the input terminal 201, the second
The pattern detection means 204 outputs a significant detection signal, and the method determination means 206 that has received this detection signal
A switching control signal for selecting the 32 kbit / s ADPCM data from the encoding means 208 is given to the switching means 209. As a result, the correct log PC of 64 kbit / s decoded by the second decoding unit 205 according to the voice coding method B is obtained.
The M data is input to the second encoding unit 208, and the second encoding unit 208 outputs the correct logP of 64 kbit / s.
The correct 32 kbit / s ADPCM data obtained by encoding the CM data in accordance with the voice encoding method A is the switching means 20.
It is given to the output terminal 210 via 9 and is output to the outside. That is, speech coding method B to speech coding method A
The encoded data converted to is output.

【0050】次に、入力端子201からの32kbit/sの
ADPCMデータの音声符号化方式が方式A及びBのい
ずれであろうと、音声符号化方式Bに従う32kbit/sの
ADPCMデータを出力端子210から出力させる第2
の出力モードが設定されている場合の動作を説明する。
Next, whether the audio coding system of the 32 kbit / s ADPCM data from the input terminal 201 is the system A or B, 32 kbit / s ADPCM data according to the audio coding system B is output from the output terminal 210. Second to output
The operation when the output mode is set will be described.

【0051】この場合において、入力端子201から、
音声符号化方式Bに従う32kbit/sのADPCMデータ
が入力されてくると、第2のパターン検出手段204か
ら有意な検出信号が出力され、この検出信号を受けた方
式判定手段206は、入力端子201からの32kbit/s
のADPCMデータを選択させる切替制御信号を切り替
え手段209に与えて、入力端子201からの音声符号
化方式Bに従う32kbit/sのADPCMデータを出力端
子210から出力させる。
In this case, from the input terminal 201,
When 32 kbit / s ADPCM data conforming to the voice coding system B is input, a significant detection signal is output from the second pattern detection unit 204, and the system determination unit 206 that receives this detection signal receives the input terminal 201. 32kbit / s from
The switching control signal for selecting the ADPCM data of No. 2 is given to the switching unit 209, and the ADPCM data of 32 kbit / s according to the audio encoding method B from the input terminal 201 is output from the output terminal 210.

【0052】第2の出力モードが設定されている場合に
おいて、音声符号化方式Aに従う32kbit/sのADPC
Mデータが入力端子201から入力されてくると、第1
のパターン検出手段203から有意な検出信号が出力さ
れ、この検出信号を受けた方式判定手段206は、第1
の符号化手段207からの32kbit/sのADPCMデー
タを選択させる切替制御信号を切り替え手段209に与
える。これにより、第1の復号手段202が音声符号化
方式Aに従って復号した正しい64kbit/sのlogPC
Mデータが第1の符号化手段207に入力され、第1の
符号化手段207が、この正しい64kbit/sのlogP
CMデータを、音声符号化方式Bに従って符号化した正
しい32kbit/sのADPCMデータが切り替え手段20
9を介して出力端子210に与えられて外部に出力され
る。すなわち、音声符号化方式Aから音声符号化方式B
に変換された符号化データが出力される。
32 kbit / s ADPC according to the audio encoding method A when the second output mode is set
When M data is input from the input terminal 201, the first
The pattern detection means 203 outputs a significant detection signal, and the system determination means 206 receiving this detection signal
A switching control signal for selecting the 32 kbit / s ADPCM data from the encoding means 207 is applied to the switching means 209. As a result, the correct log PC of 64 kbit / s decoded by the first decoding unit 202 according to the audio encoding method A is obtained.
The M data is input to the first encoding means 207, and the first encoding means 207 outputs the correct logP of 64 kbit / s.
The correct 32 kbit / s ADPCM data obtained by encoding the CM data according to the voice encoding method B is the switching means 20.
It is given to the output terminal 210 via 9 and is output to the outside. That is, the audio encoding system A to the audio encoding system B
The encoded data converted to is output.

【0053】次に、入力端子201からの32kbit/sの
ADPCMデータの音声符号化方式が方式A及びBのい
ずれであろうと、その逆の音声符号化方式に従う32kb
it/sのADPCMデータを出力端子210から出力させ
る第3の出力モードが設定されている場合の動作を簡単
に説明する。
Next, whether the audio encoding system of the 32 kbit / s ADPCM data from the input terminal 201 is the system A or B, 32 kb which follows the opposite audio encoding system.
The operation when the third output mode in which the it / s ADPCM data is output from the output terminal 210 is set will be briefly described.

【0054】この場合において、音声符号化方式Aに従
う32kbit/sのADPCMデータが入力端子201から
入力されてきたときには、第2の出力モードが設定され
ている場合において音声符号化方式Aに従う32kbit/s
のADPCMデータが入力されてきたときと同じ動作を
行なう。
In this case, when 32 kbit / s ADPCM data conforming to the voice encoding system A is input from the input terminal 201, 32 kbit / s conforming to the voice encoding system A when the second output mode is set. s
The same operation as when the ADPCM data of is input is performed.

【0055】逆に、かかる設定状態において、音声符号
化方式Bに従う32kbit/sのADPCMデータが入力端
子201から入力されてきたときには、第1の出力モー
ドが設定されている場合において音声符号化方式Bに従
う32kbit/sのADPCMデータが入力されてきたとき
と同じ動作を行なう。
On the other hand, in this setting state, when 32 kbit / s ADPCM data conforming to the voice encoding system B is input from the input terminal 201, the voice encoding system is set when the first output mode is set. The same operation is performed as when 32 kbit / s ADPCM data according to B is input.

【0056】従って、上記第1実施例によれば、各音声
符号化方式の符号化則の特異パターンを検出して入力さ
れた32kbit/sのADPCMデータの符号化方式を認識
し、認識した符号化方式に係る復号手段で復号したもの
を逆の符号化方式に従う符号化手段で符号化して得た3
2kbit/sのADPCMデータを出力するようにしたの
で、2種類の32kbit/sのADPCM音声符号化方式間
の変換を実行できる変換装置を実現することができる。
Therefore, according to the first embodiment, the coding scheme of the 32 kbit / s ADPCM data inputted by detecting the peculiar pattern of the coding law of each speech coding scheme is recognized, and the recognized code is recognized. 3 obtained by decoding the data decoded by the decoding means according to the coding method by the coding means according to the reverse coding method.
Since 2 kbit / s ADPCM data is output, it is possible to realize a conversion device that can perform conversion between two types of 32 kbit / s ADPCM audio coding systems.

【0057】また、第1実施例によれば、出力モードを
設定することにより、変換態様を切り替えられるように
したので、相互変換だけでなく、任意の音声符号化方式
への一方向の変換だけを実行させることもできる。
Further, according to the first embodiment, the conversion mode can be switched by setting the output mode, so that not only mutual conversion but also unidirectional conversion to an arbitrary speech coding method is performed. Can also be executed.

【0058】さらに、第1実施例によれば、復号手段及
び符号化手段を中心にして変換装置を構成しており、汎
用又は専用のDSPに対して、既存の符号化用や復号用
のプログラム又はマイクロコードで記述することによ
り、変換装置の多くを既存の構成で適用でき、変換装置
を容易かつ安価に実現できる。
Further, according to the first embodiment, the conversion device is mainly composed of the decoding means and the encoding means, and the existing encoding and decoding programs are supplied to the general-purpose or dedicated DSP. Alternatively, by describing in microcode, most of the conversion devices can be applied with existing configurations, and the conversion devices can be easily and inexpensively realized.

【0059】実際上、32kbit/sのADPCM方式とし
て、音声符号化方式Aと記述したG721−ADPCM
方式は一般公衆回線用に広く適用されており、音声符号
化方式Bと記述したCOM101−ADPCM方式は衛
星通信用や海底ケーブル用等に広く適用されており、こ
れらが混在する現状では、図2及び図3に示した通信シ
ステム以外のシステムにおける各種装置においても、第
1実施例の音声符号化方式変換装置が有効に機能するも
のと考えられる。
Practically, as a 32 kbit / s ADPCM system, G721-ADPCM described as voice coding system A is used.
The system is widely applied to general public lines, and the COM101-ADPCM system described as a voice coding system B is widely applied to satellite communication, submarine cable, and the like. Also, in the various devices in the system other than the communication system shown in FIG. 3, it is considered that the speech coding system conversion device of the first embodiment effectively functions.

【0060】(B)第2実施例 次に、本発明による音声符号化方式変換装置の第2実施
例を図面を参照しながら説明する。ここで、図9がこの
第2実施例の音声符号化方式変換装置の構成を示すブロ
ック図であり、図1との同一、対応部分には同一符号を
付して示している。
(B) Second Embodiment Next, a second embodiment of the speech coding system conversion apparatus according to the present invention will be described with reference to the drawings. Here, FIG. 9 is a block diagram showing the configuration of the speech coding system conversion apparatus according to the second embodiment, and the same or corresponding portions as in FIG. 1 are designated by the same reference numerals.

【0061】この第2実施例の音声符号化方式変換装置
は、第1実施例の音声符号化方式変換装置に比較して、
入力端子201から入力された32kbit/sのADPCM
データが、音声符号化方式Aに従うものか音声符号化方
式Bに従うものかが認識する構成が変更されており、他
の構成は第1実施例のものと同一である。
The speech coding system converter according to the second embodiment is different from the speech coding system converter according to the first embodiment in that
32kbit / s ADPCM input from the input terminal 201
The configuration for recognizing whether the data complies with the audio encoding system A or the audio encoding system B is changed, and the other configurations are the same as those in the first embodiment.

【0062】すなわち、第1実施例における第1のパタ
ーン検出手段203に代えて、第1の判定用符号化手段
203−1と第1の相関手段203−2とを設けると共
に、第1実施例における第2のパターン検出手段204
に代えて、第2の判定用符号化手段204−1と第2の
相関手段204−2とを設けたものである。
That is, in place of the first pattern detecting means 203 in the first embodiment, a first judging coding means 203-1 and a first correlating means 203-2 are provided, and the first embodiment is also provided. Second pattern detection means 204
Instead of the above, the second determination coding means 204-1 and the second correlation means 204-2 are provided.

【0063】第1の判定用符号化手段203−1は、第
2の符号化手段208と同じ内部構成を有するものであ
る。第1の判定用符号化手段203−1には、第1の復
号手段202が出力した64kbit/sのlogPCMデー
タが入力され、このデータに対して、音声符号化方式A
に従って符号化し、得られた32kbit/sのADPCMデ
ータを第1の相関手段203−2に与える。
The first judgment coding means 203-1 has the same internal structure as the second coding means 208. The 64 kbit / s logPCM data output from the first decoding unit 202 is input to the first determination encoding unit 203-1 and the audio encoding method A is applied to this data.
Then, the obtained 32 kbit / s ADPCM data is applied to the first correlation means 203-2.

【0064】この第1の相関手段203−2には、入力
端子201から入力された32kbit/sのADPCMデー
タも入力されている。第1の相関手段203−2は、入
力された2種類の32kbit/sのADPCMデータの相関
を求めて、第1の相関検出信号を方式判定手段206に
出力する。
The 32 kbit / s ADPCM data input from the input terminal 201 is also input to the first correlating means 203-2. The first correlation unit 203-2 obtains the correlation between the two types of 32 kbit / s ADPCM data that have been input, and outputs the first correlation detection signal to the system determination unit 206.

【0065】例えば、1秒間(従って32000ビッ
ト)の各ビットの一致数をカウントし、そのカウント値
を第1の相関検出信号として出力する。
For example, the number of coincidences of each bit for 1 second (thus 32000 bits) is counted, and the count value is output as the first correlation detection signal.

【0066】一方、第2の判定用符号化手段204−1
は、第1の符号化手段207と同じ内部構成を有するも
のである。第2の判定用符号化手段204−1には、第
2の復号手段205が出力した64kbit/sのlogPC
Mデータが入力され、このデータに対して、音声符号化
方式Bに従って符号化し、得られた32kbit/sのADP
CMデータを第2の相関手段204−2に与える。
On the other hand, the second judgment coding means 204-1
Has the same internal configuration as the first encoding means 207. The 64 kbit / s logPC output from the second decoding unit 205 is output to the second determination encoding unit 204-1.
32 kbit / s ADP obtained by inputting M data and encoding this data according to the voice encoding method B
The CM data is given to the second correlating means 204-2.

【0067】この第2の相関手段204−2には、入力
端子201から入力された32kbit/sのADPCMデー
タも入力されている。第2の相関手段204−2は、入
力された2種類の32kbit/sのADPCMデータの相関
を求めて、第2の相関検出信号を方式判定手段206に
出力する。
The 32 kbit / s ADPCM data input from the input terminal 201 is also input to the second correlating means 204-2. The second correlation means 204-2 obtains the correlation between the two types of 32 kbit / s ADPCM data that have been input, and outputs the second correlation detection signal to the system determination means 206.

【0068】方式判定手段206は、第1及び第2の相
関検出信号を比較し、第1の相関検出信号が示す相関が
大きいときに、第1実施例の「0000」パターン検出
信号が与えられた場合と同様に処理し、第2の相関検出
信号が示す相関が大きいときに、第1実施例の「111
1」パターン検出信号が与えられた場合と同様に処理す
る。
The system determining means 206 compares the first and second correlation detection signals, and when the correlation indicated by the first correlation detection signal is large, the "0000" pattern detection signal of the first embodiment is given. When the correlation indicated by the second correlation detection signal is large, "111" of the first embodiment is processed.
Processing is performed in the same manner as when the "1" pattern detection signal is given.

【0069】ここで、入力端子201から入力された3
2kbit/sのADPCMデータが、音声符号化方式Aに従
うものである場合を考えてみる。
Here, 3 input from the input terminal 201
Consider the case where 2 kbit / s ADPCM data is in accordance with the audio encoding method A.

【0070】この場合、第1の復号手段202からは正
しい64kbit/sのlogPCMデータが出力され、第1
の判定用符号化手段203−1がこれを符号化した場
合、その出力データは、入力端子201から入力された
32kbit/sのADPCMデータに等しくなる。その結
果、第1の相関手段203−2は、高い相関を示す第1
の相関検出信号を出力する。
In this case, the first decoding means 202 outputs correct 64 kbit / s logPCM data, and
When the determination encoding means 203-1 of 3) encodes this, the output data becomes equal to the 32 kbit / s ADPCM data input from the input terminal 201. As a result, the first correlating unit 203-2 has the first
The correlation detection signal of is output.

【0071】一方、この場合、第2の復号手段205か
らは誤った64kbit/sのlogPCMデータが出力さ
れ、第2の判定用符号化手段204−1がこれを符号化
しても、その出力データは、入力端子201から入力さ
れた32kbit/sのADPCMデータと一致する部分(ビ
ット数)が少ない。その結果、第2の相関手段204−
2は、低い相関を示す第2の相関検出信号を出力する。
On the other hand, in this case, erroneous 64 kbit / s logPCM data is output from the second decoding means 205, and even if the second judgment coding means 204-1 codes this, the output data Has a small portion (the number of bits) that matches the 32 kbit / s ADPCM data input from the input terminal 201. As a result, the second correlator 204-
2 outputs a second correlation detection signal indicating low correlation.

【0072】詳述は避けるが、入力端子201から入力
された32kbit/sのADPCMデータが、音声符号化方
式Bに従うものである場合には、逆に、第1の相関手段
203−2は低い相関を示す第1の相関検出信号を出力
し、第2の相関手段204−2は高い相関を示す第2の
相関検出信号を出力する。
Although detailed description is omitted, when the 32 kbit / s ADPCM data input from the input terminal 201 is in accordance with the voice coding method B, conversely, the first correlation means 203-2 is low. The first correlation detection signal indicating the correlation is output, and the second correlation unit 204-2 outputs the second correlation detection signal indicating the high correlation.

【0073】従って、方式判定手段206は、第1及び
第2の相関検出信号に基づいて、第1実施例の場合と同
様に動作できる。
Therefore, the system determining means 206 can operate in the same manner as in the first embodiment based on the first and second correlation detection signals.

【0074】従って、この第2実施例によっても、第1
実施例と同様な効果を得ることができる。さらに、送信
装置側との特異パターン(「0000」パターン)の送
出の取り決めが不要であり、当該音声符号化方式変換装
置側だけで符号化方式を判定することができる。
Therefore, according to the second embodiment as well, the first
An effect similar to that of the embodiment can be obtained. Further, it is not necessary to make an arrangement for transmitting a peculiar pattern (“0000” pattern) to the transmitting device side, and the encoding system can be determined only by the voice encoding system converting device side.

【0075】(C)他の実施例 なお、上記各実施例においては、入力された符号化デー
タの方式判定結果を出力データの選択にのみ利用するも
のを示したが、出力する符号化データの形成系以外の出
力候補符号化データの形成系に対する動作停止信号とし
て用いるようにしても良い。同様に、出力モード信号
を、出力する符号化データとなり得ない出力候補符号化
データの形成系に対する動作停止信号として用いるよう
にしても良い。
(C) Other Embodiments In each of the above embodiments, the method determination result of the input coded data is used only for selecting the output data. You may make it use as an operation stop signal with respect to the formation system of output candidate encoded data other than a formation system. Similarly, the output mode signal may be used as an operation stop signal for the formation system of the output candidate encoded data that cannot be the encoded data to be output.

【0076】本発明は、32kbit/sの音声符号化方式間
の変換だけでなく、他のビットレートの音声符号化方式
の変換にも適用でき、また、32kbit/sの音声符号化方
式間の変換も、上記の2種類間の変換に限定されるもの
ではない。なお、第1実施例に準じた構成とする場合に
は、特異パターンが規定又は開放されていることを要す
る。
The present invention can be applied not only to conversion between 32 kbit / s speech coding systems, but also to conversion of speech coding systems of other bit rates, and between 32 kbit / s speech coding systems. The conversion is not limited to the conversion between the above two types. In addition, in the case of the configuration according to the first embodiment, it is necessary that the peculiar pattern is defined or opened.

【0077】また、ビットレートが等しい3種類以上の
音声符号化方式間の変換に本発明を適用することができ
る。さらに、2種類の音声符号化方式間の変換の場合で
も、一方向への変換機能しか持たない変換装置として構
成しても良い。
Further, the present invention can be applied to conversion between three or more kinds of audio coding systems having the same bit rate. Further, even in the case of conversion between two types of audio encoding methods, it may be configured as a conversion device having only a conversion function in one direction.

【0078】[0078]

【発明の効果】以上のように、本発明によれば、入力さ
れた符号化データをその方式を意識することなく、所定
の音声符号化方式に従って復号すると共に、その復号デ
ータを他の音声符号化方式に従って符号化して出力デー
タの候補符号化データを形成すると共に、入力された符
号化データにおける特異パターン、又は、入力された符
号化データを各音声符号化方式で復号、再符号化したデ
ータと入力された符号化データとの相関に基づいて、入
力された符号化データの方式を識別して、いずれかの候
補符号化データ又は入力された符号化データを出力する
ようにしたので、任意の音声符号化方式間の変換に適用
し得る汎用性が高い音声符号化方式変換装置を実現でき
る。
As described above, according to the present invention, input coded data is decoded according to a predetermined voice coding system without paying attention to the system, and the decoded data is converted into another voice code. Data encoded by the encoding method to form candidate encoded data of the output data, and a unique pattern in the input encoded data, or the input encoded data decoded and re-encoded by each speech encoding method. Based on the correlation between the input coded data and the input coded data, the method of the input coded data is identified, and any of the candidate coded data or the input coded data is output. It is possible to realize a highly versatile speech coding system conversion device that can be applied to the conversion between the speech coding systems.

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

【図1】第1実施例を示すブロック図である。FIG. 1 is a block diagram showing a first embodiment.

【図2】音声符号化方式変換装置を適用可能な第1例の
通信システムのブロック図である。
FIG. 2 is a block diagram of a communication system of a first example to which a voice encoding conversion device can be applied.

【図3】音声符号化方式変換装置を適用可能な第2例の
通信システムのブロック図である。
[Fig. 3] Fig. 3 is a block diagram of a communication system of a second example to which a speech coding system conversion device can be applied.

【図4】64kbit/sのlogPCM方式の符号化則の説
明図である。
FIG. 4 is an explanatory diagram of an encoding rule of a 64 kbit / s logPCM system.

【図5】32kbit/sのG.721−ADPCM方式の符
号化則の説明図である。
FIG. 5: G. of 32 kbit / s FIG. 7 is an explanatory diagram of a coding rule of a 721-ADPCM system.

【図6】32kbit/sのCOM101−ADPCM方式の
符号化則の説明図である。
FIG. 6 is an explanatory diagram of a coding rule of a 32 kbit / s COM101-ADPCM system.

【図7】符号化手段の内部構成を示すブロック図であ
る。
FIG. 7 is a block diagram showing an internal configuration of encoding means.

【図8】復号手段の内部構成を示すブロック図である。FIG. 8 is a block diagram showing an internal configuration of a decoding means.

【図9】第2実施例を示すブロック図である。FIG. 9 is a block diagram showing a second embodiment.

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

202…方式Aに従う第1の復号手段、203…第1の
パターン検出手段、204…第2のパターン検出手段、
205…方式Bに従う第2の復号手段、206…方式判
定手段、207…方式Bに従う第1の符号化手段、20
8…方式Aに従う第2の符号化手段、203−1…方式
Aに従う第1の判定用符号化手段、203−2…第1の
相関手段、204−1…方式Bに従う第2の判定用符号
化手段、204−2…第2の相関手段。
202 ... First decoding means according to scheme A, 203 ... First pattern detecting means, 204 ... Second pattern detecting means,
205 ... second decoding means according to method B, 206 ... method determining means, 207 ... first encoding means according to method B, 20
8 ... Second coding means according to scheme A, 203-1 ... First judging coding means according to scheme A, 203-2 ... First correlation means, 204-1 ... Second judgment means according to scheme B Encoding means, 204-2 ... Second correlation means.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 N種類(Nは2以上)のいずれかの音声
符号化方式に従う入力された符号化データを自己に割り
当てられている所定の音声符号化方式に従って復号する
と共に、その復号データを他の音声符号化方式に従って
符号化するM個(Mは1〜 N2 )の音声符号化方式変
換手段と、 入力された符号化データに、いずれの音声符号化方式に
特有な特異パターンが存在するかを検出して、入力され
た符号化データに関する音声符号化方式を識別する入力
方式識別手段と、 その識別結果、及び又は、外部からの出力モード情報に
応じて、いずれかの上記音声符号化方式変換手段からの
符号化データ、又は、入力された符号化データを選択し
て出力する出力データ切り替え手段とを備えたことを特
徴とする音声符号化方式変換装置。
1. The input coded data according to any one of N types (N is 2 or more) of voice coding systems is decoded according to a predetermined voice coding system assigned to itself, and the decoded data is decoded. M (M is 1 to N P 2 ) speech coding method conversion means for coding according to another speech coding method, and the input coded data has a peculiar pattern peculiar to which speech coding method. Input method identification means for detecting the existence of the audio data and identifying the audio encoding method for the input encoded data, and any one of the above audio according to the identification result and / or output mode information from the outside. A speech coding method conversion device comprising: coded data from a coding method converting means or output data switching means for selecting and outputting input coded data.
【請求項2】 N種類(Nは2以上)のいずれかの音声
符号化方式に従う入力された符号化データを、自己に割
り当てられている所定の音声符号化方式に従って復号す
ると共に、その復号データを他の音声符号化方式に従っ
て符号化するM個(Mは1〜 N2 )の音声符号化方式
変換手段と、 入力された符号化データを、自己に割り当てられている
所定の音声符号化方式に従って復号すると共に、その復
号データを同一の音声符号化方式に従って符号化し、得
られた再符号化データと入力された符号化データとの相
関を検出するN個の方式判定用相関検出手段と、 得られた相関が最も高い上記方式判定用相関検出手段に
割り当てられている音声符号化方式を、入力された符号
化データに関する音声符号化方式と判定する入力方式判
定手段と、 その判定結果、及び又は、外部からの出力モード情報に
応じて、いずれかの上記音声符号化方式変換手段からの
符号化データ、又は、入力された符号化データを選択し
て出力する出力データ切り替え手段とを備えたことを特
徴とする音声符号化方式変換装置。
2. The input coded data according to any one of N kinds (N is 2 or more) of voice coding schemes is decoded according to a predetermined voice coding scheme assigned to itself, and the decoded data is obtained. M (M is 1 to N P 2 ) speech encoding method conversion means for encoding the data according to another speech encoding method, and the predetermined encoded audio data assigned to the input encoded data. N method-correlation detecting means for decoding according to the method, encoding the decoded data according to the same speech encoding method, and detecting the correlation between the obtained re-encoded data and the input encoded data. An input method determining means for determining the speech encoding method assigned to the above-mentioned method determining correlation detecting means having the highest correlation, as a speech encoding method related to input encoded data, Output data switching for selecting and outputting coded data from any of the above speech coding system conversion means or input coded data in accordance with the determination result and / or output mode information from the outside. A speech coding system conversion device comprising:
JP7161790A 1995-06-28 1995-06-28 Voice encoding system converter Pending JPH0918347A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7161790A JPH0918347A (en) 1995-06-28 1995-06-28 Voice encoding system converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7161790A JPH0918347A (en) 1995-06-28 1995-06-28 Voice encoding system converter

Publications (1)

Publication Number Publication Date
JPH0918347A true JPH0918347A (en) 1997-01-17

Family

ID=15741964

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7161790A Pending JPH0918347A (en) 1995-06-28 1995-06-28 Voice encoding system converter

Country Status (1)

Country Link
JP (1) JPH0918347A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004040552A1 (en) * 2002-10-31 2004-05-13 Nec Corporation Transcoder and coder conversion method
JP2007243650A (en) * 2006-03-09 2007-09-20 Nec Corp Decoding method and decoding apparatus
JP2007251585A (en) * 2006-03-16 2007-09-27 Nec Corp Demultiplexer, and demultiplexing method
US7486719B2 (en) 2002-10-31 2009-02-03 Nec Corporation Transcoder and code conversion method
JP2009267628A (en) * 2008-04-23 2009-11-12 Oki Electric Ind Co Ltd Codec converter, gateway device, and codec converting method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004040552A1 (en) * 2002-10-31 2004-05-13 Nec Corporation Transcoder and coder conversion method
US7486719B2 (en) 2002-10-31 2009-02-03 Nec Corporation Transcoder and code conversion method
JP2007243650A (en) * 2006-03-09 2007-09-20 Nec Corp Decoding method and decoding apparatus
JP2007251585A (en) * 2006-03-16 2007-09-27 Nec Corp Demultiplexer, and demultiplexing method
JP4736877B2 (en) * 2006-03-16 2011-07-27 日本電気株式会社 Demultiplexer and demultiplexer
JP2009267628A (en) * 2008-04-23 2009-11-12 Oki Electric Ind Co Ltd Codec converter, gateway device, and codec converting method
JP4600511B2 (en) * 2008-04-23 2010-12-15 沖電気工業株式会社 Codec conversion device, gateway device, and codec conversion method

Similar Documents

Publication Publication Date Title
US5978676A (en) Inband signal converter, and associated method, for a digital communication system
JP3509873B2 (en) Communication method and apparatus for transmitting a second signal in the absence of a first signal
SA90100320B1 (en) Transfer aid for a mobile radio
JP2006295931A (en) Apparatus and method for switching voice codec of mobile terminal
EP0680034B1 (en) Mobile radio communication system using a sound or voice activity detector and convolutional coding
KR100336513B1 (en) A device of transmitting tone signal by using vocoder in wll
JP2007074751A (en) Transmission method for transmitting signals between first and second communication networks, mobile station, and mobile communication system
US6714912B2 (en) Digital cordless phone system for improving distance of speech communication using error concealment and method thereof
CA2247427C (en) Method and apparatus for providing a multi-party speech connection for use in a wireless communication system
US6256298B1 (en) Mobile telecommunication system
JPH0918347A (en) Voice encoding system converter
EP0894409B1 (en) Detection of speech channel back-looping
US20030225574A1 (en) Encoding and transmission method and apparatus for enabling voiceband data signals to be transmitted transparently in high-efficiency encoded voice transmission system
JPH0918425A (en) Voice decoder
JP3058064B2 (en) Digital radio telephone equipment
JP3954288B2 (en) Speech coded signal converter
US5669064A (en) Mobile method and apparatus for standby control in a communication system
JP3120836B2 (en) CODEC1 link control method and CODEC1 link connection control base station
JP3130834B2 (en) Mobile phone
JP7172903B2 (en) Signal transmission system and signal transmission method
JPH05327666A (en) Digital data communication system
JP3173639B2 (en) Background noise update system and method
HU219699B (en) Arrangement and method of call set-up in communications system
KR19990005226A (en) Subscriber registration device and method with fax / modem communication in wireless subscriber network system
JPH06244933A (en) Communication control method