JPH0564492B2 - - Google Patents

Info

Publication number
JPH0564492B2
JPH0564492B2 JP11427484A JP11427484A JPH0564492B2 JP H0564492 B2 JPH0564492 B2 JP H0564492B2 JP 11427484 A JP11427484 A JP 11427484A JP 11427484 A JP11427484 A JP 11427484A JP H0564492 B2 JPH0564492 B2 JP H0564492B2
Authority
JP
Japan
Prior art keywords
encoding
bit
code
encoded
correlation value
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.)
Expired - Fee Related
Application number
JP11427484A
Other languages
Japanese (ja)
Other versions
JPS60257633A (en
Inventor
Ikuo Tokizawa
Junji Suzuki
Hiromi Nagabuchi
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP11427484A priority Critical patent/JPS60257633A/en
Publication of JPS60257633A publication Critical patent/JPS60257633A/en
Publication of JPH0564492B2 publication Critical patent/JPH0564492B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B14/00Transmission systems not characterised by the medium used for transmission
    • H04B14/02Transmission systems not characterised by the medium used for transmission characterised by the use of pulse modulation
    • H04B14/04Transmission systems not characterised by the medium used for transmission characterised by the use of pulse modulation using pulse code modulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Description

【発明の詳細な説明】 「産業上の利用分野」 この発明は音声信号をデイジタル符号化して伝
送する場合に、通信網内に存在する相異なる符号
化方式を互に識別する符号化則識別法に関するも
のである。
Detailed Description of the Invention: "Industrial Application Field" This invention is an encoding rule identification method for mutually identifying different encoding systems existing in a communication network when audio signals are digitally encoded and transmitted. It is related to.

「従来技術」 今後、通信網のデイジタル化が進展するに従つ
て網にはPCM CODEC(符・復号器)以外の音声
CODECが接続されることが予想され、時に従来
の電話帯域の2倍以上の周波数帯域の音声を、
PCM方式と同じ64Kb/Sのビツトレートで符号
化する広帯域音声CODECは、より良い通話品質
の実現の要求に応えるものとして広範に用いられ
ることが期待されている。
``Prior art'' In the future, as the digitalization of communication networks progresses, networks will be equipped with audio signals other than PCM CODEC (code/decoder).
It is expected that CODEC will be connected, sometimes transmitting audio in a frequency band more than twice the conventional telephone band.
Wideband voice CODECs, which encode at the same 64Kb/S bit rate as the PCM system, are expected to be widely used to meet the demand for better call quality.

しかるに広帯域音声通信サービスにおいては既
存の電話サービスとの相互接続が不可欠であり、
広帯域CODECにPCM符号化機能を併せ持たせ、
対抗するCODECの種別、つまり符号則に応じて
その符・復号機能を切換えることが必要となる。
この時符号化則の切換制御法としては、 (1) デイジタル網でサポートされるDチヤネル
(制御チヤネル)を介して網が端末種別を識別
して切換える方法、 (2) 広帯域CODEC相互間で例えば低レベルのト
ーン信号を送・受信し、このような帯域内トー
ン信号の有無により末端種別を識別して切換え
る方法、 などが考えられる。しかしこれらの方法は制御が
複雑で網の負担が増大するという欠点がある。
However, for broadband voice communication services, interconnection with existing telephone services is essential.
Combining wideband CODEC with PCM encoding function,
It is necessary to switch the encoding/decoding functions depending on the type of CODEC to be used, that is, the coding rule.
At this time, the coding rule switching control methods include: (1) a method in which the network identifies and switches the terminal type via the D channel (control channel) supported by the digital network; (2) a method in which the network identifies and switches the terminal type via the D channel (control channel) supported by the digital network; Possible methods include transmitting and receiving low-level tone signals, identifying and switching terminal types based on the presence or absence of such in-band tone signals. However, these methods have the disadvantage that control is complicated and the burden on the network increases.

この発明の目的は網の負担の少ない符号化則の
切換制御を実現するための符号化則識別法を提供
することにある。
An object of the present invention is to provide an encoding rule identification method for realizing encoding rule switching control with less burden on the network.

「発明の構成」 この発明によれば、音声信号を二種類の符号化
方式で符号化し、その二種類の符号化方式の符号
化語長は同一または一方に対し他方が整数倍であ
り、前記二種類の符号化方式で符号化された音声
信号のどちらか一方を選択して伝送する方式にお
いて、送信側では前記二つの符号化方式により符
号化されたそれぞれの符号について、あらかじめ
定めた時間内の隣接符号化語間の相関性が互いに
異なる特定の1ビツトをその符号化語中にそれぞ
れ定め、例えば一方の符号化則に対しその符号化
語の最上位ビツト(MSB)、他方の符号化則に対
しその符号化語の最下位ビツト(LSB)をそれ
ぞれ特定ビツトと定め、この特定ビツトを、伝送
路上での伝送フレーム中のあらかじめ定めた所定
のビツト位置に配置して伝送し、受信側では1フ
レーム内の受信符号の中の前記所定のビツト位置
のビツトについて一定時間内での隣接フレーム間
の相関値を検出し、この相関値が所定値以上か以
下により受信符号の符号化則を識別する。
"Structure of the Invention" According to the present invention, an audio signal is encoded using two types of encoding methods, and the encoded word lengths of the two types of encoding methods are the same or an integral multiple of one of the other, and In a method that selects and transmits one of the audio signals encoded using two types of encoding methods, the transmitting side transmits each code encoded using the two encoding methods within a predetermined time. For example, for one encoding rule, the most significant bit (MSB) of the encoded word, the most significant bit (MSB) of the encoded word for one encoding rule, and the According to the rules, the least significant bit (LSB) of the coded word is defined as a specific bit, and this specific bit is placed at a predetermined bit position in the transmission frame on the transmission path and transmitted. Then, the correlation value between adjacent frames within a certain period of time is detected for the bit at the predetermined bit position in the received code within one frame, and the encoding rule of the received code is determined depending on whether this correlation value is greater than or equal to a predetermined value. identify

「実施例」 この発明による符号化則識別法の実施例を以下
に詳細に説明する。
"Embodiment" An embodiment of the encoding rule identification method according to the present invention will be described in detail below.

符号化語長をLビツトとする相異なる音声符号
化方式(以下方式A、方式Bと称す)において方
式Aで符号化されたn番目の符号化語の符号のビ
ツト列を a0,o,a1,o,a2,o……aL-1,oとする。
In different speech encoding methods (hereinafter referred to as method A and method B) in which the coded word length is L bits, the bit string of the code of the n-th coded word encoded with method A is a 0,o , Let a 1,o , a 2,o ...a L-1,o .

a0,o:MSB,aL-1,o:LSB,ai,o=0または1,
i=0,1,……L−1 方式Bで符号化されたn番目の符号化語の符号
のビツト列を b0,o,b1,o,b2,o……bL-1,oとする。
a 0,o : MSB, a L-1,o : LSB, a i,o = 0 or 1,
i=0,1,...L-1 The bit string of the code of the nth coded word encoded by method B is b 0,o , b 1,o , b 2,o ...b L-1 ,o .

b0,o:MSB,bL-1,o:LSB,bi,o=0または1 送信側ではa0,o,a1,o,a2,o,……aL-1,oおよび
b0,o,b1,o,b2,o……bL-1,oのそれぞれのビツトにつ
いて、ある時間内での隣接符号化語間でのビツト
の相関値が比較的大きい値を示す特定のビツト
を、a00,o,a1,o,……aL-1,oの中から一つ定めてこ
れをaMAXとし、隣接符号化語間のビツトの相関値
が比較的小さい値を示す特定のビツトを、b0
b1,……bL-1の中から一つ定めてこれをbMIN
し、伝送路上での伝送フレーム(この例では1フ
レームLビツト)の中のあらかじめ定めたK番目
(1≦K≦L)のビツト位置(所定のビツト位置)
に符号化方式Aを用いた場合にはaMAXを配置し、
また符号化方式Bを用いた場合にはbMINを配置し
て伝送する。
b 0,o : MSB, b L-1,o : LSB, b i,o = 0 or 1 On the sending side, a 0,o , a 1,o , a 2,o , ...a L-1,o and
For each bit of b 0,o , b 1,o , b 2,o ……b L-1,o, let the bit correlation value between adjacent coded words within a certain time be a relatively large value. One specific bit is determined from a 00,o , a 1,o , ...a L-1,o , and this is set as a MAX , and the bit correlation value between adjacent coded words is relatively A specific bit indicating a small value is set to b 0 ,
Determine one from b 1 , ...b L-1 , set it as b MIN , and set it as the predetermined K-th (1≦K≦ L) bit position (predetermined bit position)
When using encoding method A, place a MAX ,
Furthermore, when encoding method B is used, b MIN is arranged and transmitted.

受信側では1フレームの受信符号のK番目のビ
ツトについてある時間内での隣接フレーム間のビ
ツトの相関値を求め、この値をあらかじめ定めた
しきい値と比較することにより受信符号の符号化
則を判定する。つまり求めら相関値がしきい値よ
り大きければ方式Aと判定し、小さければ方式B
と判定する。
On the receiving side, the bit correlation value between adjacent frames within a certain time is calculated for the K-th bit of the received code of one frame, and this value is compared with a predetermined threshold to determine the encoding rule for the received code. Determine. In other words, if the calculated correlation value is larger than the threshold value, method A is determined, and if it is smaller, method B is determined.
It is determined that

aMAXおよびbMINの決定法としては、多数の音声
データを用いてa0,o,a1,o,……aL-1,oおよびb0,o
b1,o……bL-1,oのそれぞれについて隣接符号化語間
のビツト相関値を求め、その結果から統計的に決
定すればよい。特にaMAXとして符号のMSB、す
なわちa0またbMINとして符号のLBS、すなわち
bL-1を選ぶことが有効である。これは無声音信号
においては隣接符号化語間で極性が反転すること
は同極性に保たれる場合に比べて極めて少なく、
一方LSBは符号化語ごとにほゞランダムに変化
するので、MSBの隣接符号化語間ビツト相関値
は高く、LSBの隣接符号化語間ビツト相関値は
低くなることによる。
To determine a MAX and b MIN , a 0,o , a 1,o , ... a L-1,o and b 0,o ,
The bit correlation value between adjacent coded words may be determined for each of b 1,o . . . b L-1,o , and the result may be statistically determined. In particular, a MAX is the MSB of the sign, i.e. a 0 and b MIN is the LBS of the sign, i.e.
b It is effective to choose L-1 . This means that in unvoiced speech signals, polarity reversals between adjacent coded words are extremely rare compared to cases where the same polarity is maintained.
On the other hand, since the LSB changes almost randomly for each coded word, the MSB has a high bit correlation value between adjacent coded words, and the LSB has a low bit correlation value between adjacent coded words.

ビツトの相関値を求める方法としては例えばあ
る符号化語のビツトと隣りの符号化語のビツトと
の差の否定を求め、これを一定時間、例えば1秒
間累積することにより求めることができる。すな
わちn符号化語目の符号のi番目のビツトをai,o
とするとある整数Nに対しNn=1i,o+1i,o) を求めればよい。(はxの否定を表わす)。
The bit correlation value can be determined, for example, by negating the difference between a bit of a coded word and a bit of an adjacent coded word, and accumulating this for a certain period of time, for example, one second. That is, the i-th bit of the code of the n-th encoded word is a i,o
Then, for a certain integer N, it is sufficient to find Nn=1 ( i,o+1i,o ). (represents the negation of x).

第1図は電話帯域の音声信号をPCM方式で
64Kb/Sに符号化した時の、PCM符号のMSB
の隣接符号化語間のビツト相関値を示し、第2図
は7KHz帯域の音声信号をサブバンドADPCM方
式で64Kb/Sに符号化した時の、低周波数側の
サブ帯域におけるADPCM符号のLSBの相関値を
示す。第1図の相関値は第2図の相関値より大き
い。従つて送信側では1フレームの伝送符号の同
一ビツト位置に、PCM符号化の場合にはMSBを
配置し、サブバンドADPCM符号化の場合には低
域ADPCM符号のLSBを配置して伝送し、受信側
では受信符号の1フレームの上記同一ビツト位置
のビツトについて一定時間内の隣接フレーム間ビ
ツトの累積相関値にしきい値を設けることによ
り、PCM符号化則とサブバンドADPCM符号化
則とを識別できる。
Figure 1 shows a telephone band audio signal using the PCM method.
MSB of PCM code when encoded to 64Kb/S
Figure 2 shows the bit correlation value between adjacent coded words of Indicates the correlation value. The correlation value in FIG. 1 is greater than the correlation value in FIG. Therefore, on the transmitting side, in the case of PCM encoding, the MSB is placed at the same bit position of the transmission code of one frame, and in the case of subband ADPCM encoding, the LSB of the low-band ADPCM code is placed and transmitted. On the receiving side, the PCM encoding rule and the subband ADPCM encoding rule are distinguished by setting a threshold value for the cumulative correlation value of bits between adjacent frames within a certain period of time for bits at the same bit position in one frame of the received code. can.

この発明の符号化則識別法を適用した方式にお
ける受信側での符号化則識別回路の構成例を第3
図に示す。入力端子1から入力された符号長Lビ
ツトの符号ビツト列はスイツチ2に入力される。
スイツチ2は1フレームの符号中のK番目のビツ
トだけを通過させる機能を持つ。K番目のビツト
位置には例えば一方の符号化方式による符号の場
合は符号のMSBを、また他方の符号化方式によ
る符号の場合は符号のLSBを配置してある。ス
イツチ2により選択されたビツトは1フレーム遅
延器3および減算回路4へ供給される。減算回路
4は遅延器3の出力である1フレーム前の符号の
K番目のビツトとともに現フレームのK番目のビ
ツトとの差がとられる。この差出力を否定回路5
に通じて加算回路6へ供給され、遅延回路7の出
力と加算される。その加算出力は遅延回路7へ供
給され、1フレーム遅延される。回路6および7
は累積回路8を構成し、一定時間内の累積値を求
め、これを判定回路9でしきい値と比較し、その
大小を判定して出力端子10に出力する。
A third example of the configuration of a coding rule identification circuit on the receiving side in a system to which the coding rule identification method of the present invention is applied is shown below.
As shown in the figure. A code bit string of code length L bits input from input terminal 1 is input to switch 2.
Switch 2 has the function of passing only the K-th bit in the code of one frame. For example, the MSB of the code is placed at the K-th bit position in the case of a code based on one encoding system, and the LSB of the code is placed in the case of a code based on the other encoding system. The bit selected by switch 2 is supplied to one frame delayer 3 and subtraction circuit 4. The subtraction circuit 4 calculates the difference between the K-th bit of the code of the previous frame, which is the output of the delay device 3, and the K-th bit of the current frame. This difference output is output by the inverting circuit 5
The output signal is supplied to the adder circuit 6 through the circuit 1, and is added to the output of the delay circuit 7. The addition output is supplied to the delay circuit 7 and delayed by one frame. circuits 6 and 7
constitutes an accumulation circuit 8, which calculates the accumulated value within a certain period of time, compares it with a threshold value in a determination circuit 9, determines its magnitude, and outputs it to an output terminal 10.

この符号化則識別回路は加算器、減算器、メモ
リ等の個別部品を用いて実現することができ、ま
た信号処理プロセサを用いてプログラム制御によ
り実現することもできる。
This encoding rule identification circuit can be realized using individual components such as adders, subtracters, and memories, or can also be realized by program control using a signal processing processor.

なお上述の実施例においては二つの符号化方式
の符号化語の符号長が等しい例を示したが、この
発明の原理は符号化語の符号長が互に整数倍関係
にある符号化方式の識別法にも適用が可能であ
る。例えば電話帯域音声を64Kb/SPCM符号化
する方式(符号長8ビツト)と7KHz帯域の音声
をADPCM符号化する方式(符号長4ビツト)と
の識別を行う場合にはPCM符号のMSBと、1符
号化語おきのADPCM符号のLSBとを、伝送路の
PCM符号の1フレーム内の同一ビツト位置に配
置するよう伝送符号のビツト系列を構成すればよ
い。
Although the above-mentioned embodiment shows an example in which the code lengths of the coded words of the two encoding methods are equal, the principle of this invention is that the code lengths of the coded words of the two encoding methods are integer multiples of each other. It can also be applied to identification methods. For example, when distinguishing between the 64Kb/SPCM encoding method (code length 8 bits) for telephone band audio and the ADPCM encoding method (code length 4 bits) for 7KHz audio, the MSB of the PCM code and 1 The LSB of the ADPCM code for every encoded word is
The bit sequence of the transmission code may be configured so that the bits are placed at the same bit position within one frame of the PCM code.

「発明の効果」 以上説明したようにこの発明は特別の制御チヤ
ネルやインバンドの制御信号を用いることなく対
向するCODECの符号化則を識別できるので、符
号化則の切換制御に伴う網の負担を著しく軽減で
きるという大なる特長を有するものであり、広帯
域CODECの網への導入を促進するうえで極めて
有効である。
"Effects of the Invention" As explained above, the present invention can identify the encoding rules of opposing CODECs without using a special control channel or in-band control signals, so the network burden associated with encoding rule switching control is reduced. It has the great feature of being able to significantly reduce the amount of noise generated, and is extremely effective in promoting the introduction of broadband CODECs into networks.

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

第1図は電話帯域音声をPCM方式で64Kb/S
で符号化した場合のPCM符号のMSBの隣接符号
化語間相関値を示す図、第2図は7KHz帯域音声
をサブバンドADPCM方式で64Kb/Sで符号化
した場合の低減サブ帯域のADPCM符号のLSBの
隣接符号化語間相関値を示す図、第3図はこの発
明を適用した場合の受信側の符号化則識別回路の
一構成例を示すブロツク図である。 1:入力端子、2:スイツチ、3:遅延回路、
4:減算回路、5:否定回路、6:加算回路、
7:遅延回路、8:累積回路、9:判別回路、1
0:出力端子。
Figure 1 shows telephone band audio at 64Kb/s using the PCM method.
Figure 2 shows the correlation value between adjacent coded words of the MSB of the PCM code when it is encoded using the subband ADPCM method. FIG. 3 is a block diagram showing a configuration example of a coding rule identification circuit on the receiving side when the present invention is applied. 1: input terminal, 2: switch, 3: delay circuit,
4: subtraction circuit, 5: negation circuit, 6: addition circuit,
7: Delay circuit, 8: Accumulation circuit, 9: Discrimination circuit, 1
0: Output terminal.

Claims (1)

【特許請求の範囲】 1 音声信号を二種類の符号化方式で符号化し、 その二種類の符号化方式の符号化語長は同一ま
たは一方に対し他方が整数倍であり、 前記二種類の符号化方式で符号化された音声信
号のどちらか一方を選択して伝送する方式におい
て、 送信側では前記二つの符号化方式により符号化
されたそれぞれの符号について、あらかじめ定め
た時間内の隣接符号化語間の相関値が互いに異な
る特定の1ビツトをその1符号化語中にそれぞれ
定め、 その特定ビツトを、伝送路上での伝送フレーム
中のあらかじめ定めた所定のビツト位置に配置し
て伝送し、 受信側では1フレーム内の受信符号の中の前記
所定のビツト位置のビツトに関し、あらかじめ定
めた時間内の隣接フレーム間の相関値を求め、 この相関値をあらかじめ定めたしきい値と比較
することにより受信符号の符号化則を識別するこ
とを特徴とする符号化則識別法。
[Scope of Claims] 1. An audio signal is encoded using two types of encoding methods, the coded word lengths of the two types of encoding methods are the same or an integral multiple of one of the other, and the two types of codes In a method that selects and transmits one of the audio signals encoded using the above two encoding methods, the transmitting side performs adjacent encoding within a predetermined time for each code encoded using the two encoding methods. One specific bit having different inter-word correlation values is defined in each coded word, and the specific bit is placed at a predetermined bit position in a transmission frame on a transmission path and transmitted. On the receiving side, the correlation value between adjacent frames within a predetermined time period is determined for the bit at the predetermined bit position in the received code within one frame, and this correlation value is compared with a predetermined threshold value. An encoding rule identification method characterized by identifying an encoding rule of a received code.
JP11427484A 1984-06-04 1984-06-04 Identification method of coding rule Granted JPS60257633A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11427484A JPS60257633A (en) 1984-06-04 1984-06-04 Identification method of coding rule

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11427484A JPS60257633A (en) 1984-06-04 1984-06-04 Identification method of coding rule

Publications (2)

Publication Number Publication Date
JPS60257633A JPS60257633A (en) 1985-12-19
JPH0564492B2 true JPH0564492B2 (en) 1993-09-14

Family

ID=14633716

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11427484A Granted JPS60257633A (en) 1984-06-04 1984-06-04 Identification method of coding rule

Country Status (1)

Country Link
JP (1) JPS60257633A (en)

Also Published As

Publication number Publication date
JPS60257633A (en) 1985-12-19

Similar Documents

Publication Publication Date Title
Suzuki et al. Missing packet recovery techniques for low-bit-rate coded speech
US6366888B1 (en) Technique for multi-rate coding of a signal containing information
JPH11503275A (en) Method and apparatus for detecting and avoiding tandem boding
EP0736858A2 (en) Mobile communication equipment
US20020188442A1 (en) Method of detecting voice activity in a signal, and a voice signal coder including a device for implementing the method
JP2000165349A (en) Transmitter and method for transmitting digital signal to receiver
JPS6347372B2 (en)
JPH0564492B2 (en)
JP2982637B2 (en) Speech signal transmission system using spectrum parameters, and speech parameter encoding device and decoding device used therefor
JP2831661B2 (en) Transmission equipment
JPS632388B2 (en)
JPH0242258B2 (en)
JPH0836394A (en) Voice coding transmission system
Korhonen et al. Schemes for error resilient streaming of perceptually coded audio
JP2961154B2 (en) Signal transmission system
CA2110031C (en) Digital sound level control apparatus
JPH0580799A (en) Variable rate speech encoder
JPH0525207B2 (en)
JPS63289600A (en) Voice encoding system
JPH07115403A (en) Circuit for encoding and decoding silent section information
JPH04324727A (en) Stereo coding transmission system
JPS6162233A (en) Coding noise reducing system for delta modulation
Lara-Barron et al. Speech encoding and reconstruction for packet-based networks
JP2889282B2 (en) Audio coding device
JP2751172B2 (en) Voice / modem switching type adaptive differential PCM signal transmission method and decoding device therefor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees