TW515191B - Voice code switching method, voice code switching device and voice communication terminal - Google Patents

Voice code switching method, voice code switching device and voice communication terminal Download PDF

Info

Publication number
TW515191B
TW515191B TW090116447A TW90116447A TW515191B TW 515191 B TW515191 B TW 515191B TW 090116447 A TW090116447 A TW 090116447A TW 90116447 A TW90116447 A TW 90116447A TW 515191 B TW515191 B TW 515191B
Authority
TW
Taiwan
Prior art keywords
code
sound
voice
output
input
Prior art date
Application number
TW090116447A
Other languages
Chinese (zh)
Inventor
Tadashi Yamaura
Hirohisa Tasaki
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Application granted granted Critical
Publication of TW515191B publication Critical patent/TW515191B/en

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Telephone Function (AREA)

Abstract

Because the encoding and decoding of the high efficiency voice encoding method are performed by using information in the frame and the bygone encoding and bygone decoding results of the frame, an output voice becomes discontinuous when a voice sign is received at a terminal and switched in the middle of sign series to be decoded, and the continuous interrupts of bygone encoding. In a voice sign switching method which receives a voice sign A in which a voice inputted by a speaker A is encoded and a voice sign B in which at voice inputted by a speaker B is encoded, and selects and outputs either the voice signs A and B for every frame for a prescribed time, the selection control of an output frame is performed on the basis of a bygone selection result.

Description

515191 五、發明說明(1) 發明所屬技術領域 本發明係有關於輸入聲音和輸入聲音碼後,輸出 將該輸入聲音編碼後之輸出聲音碼和將該輸入聲音碼解碼 後之輸出聲音之聲音通訊終端機。又,係有關於應用了該 聲音通訊終端機之聲音通訊系統。尤其係有關於藉著用多 台聲音通訊終端機在一條低速線路向各聲音通訊終端機配 送所輸入之輸入聲音,使得可在各聲音通訊終端機收聽一 對一之通話内容或會議内容之聲音通訊系統和適合該聲音 通訊系統之聲音通訊終端機。 習知技術 在業務通訊等,利用相關之別的人員可監聽兩說話者 間之業務連絡通話之聲音通訊系統。在這種以往之聲音通 訊終端機及聲音通訊系統上,有在類比聲音信號上重疊2 種聲音後,在一方之線路傳送該重疊之信號之構造的。例 如有,在說話者A和說話者B之間通話時,在說話者A側之 聲音通訊終端機A處將所接收之說話者B之聲音信號和說話 者A之聲音信號重疊後,向說話者B側之聲音通訊終端機B 和別的終端機傳送重疊後之聲音信號之方法。 圖2 2係表示以往之聲音通訊系統之整體構造的。 在圖2 2,1係說話者A使用之終端機A,2係說話者B使 用之終端機B,3係相關之別的人員在監聽之情況等使用之 終端機C。 在終端機A設置將來自終端機B之調變信號B解調後設515191 V. Description of the invention (1) Technical field of the invention The present invention relates to voice communication regarding input sound and input sound code, outputting the output sound code after encoding the input sound and decoding the output sound after decoding the input sound code. Terminal. The present invention also relates to an audio communication system using the audio communication terminal. In particular, it is related to the distribution of the input sound input to each voice communication terminal by using multiple voice communication terminals on a low-speed line, so that the voice of one-to-one call content or conference content can be heard at each voice communication terminal. Communication system and voice communication terminal suitable for the voice communication system. Known technology In business communications, etc., an audio communication system that uses related personnel to monitor business contact calls between two speakers. Such conventional audio communication terminals and audio communication systems have a structure in which two types of audio are superimposed on an analog audio signal, and the superimposed signal is transmitted on one line. For example, when talking between speaker A and speaker B, the voice communication terminal A on the side of speaker A overlaps the received voice signal of speaker B and the voice signal of speaker A, and then speaks to the speaker. Method B for the voice communication terminal B on the side and another terminal to transmit the superimposed voice signal. Fig. 22 shows the overall structure of a conventional audio communication system. In Fig. 22, 1 is the terminal A used by speaker A, 2 is the terminal B used by speaker B, and 3 is the terminal C used by other related personnel when monitoring. Set the terminal A to demodulate the modulation signal B from the terminal B

2103-4159-P.ptd 第4頁 515191 五、發明說明(2) 為輸出聲音A之類比解調裝置4、將說話者A所說之輸入聲 音A和該輸出聲音A重疊而產生重疊聲音之聲音重疊裝置以 及將重疊聲音調變之類比調變裝置6。 在終端機B設置將說話者B所說之輸入聲音B調變之類 比調變裝置7及將來自終端機A之調變信號A解調之類比解 調裝置8。 還在終端機C設置將來自終端機A之調變信號A解調之 類比解調裝置9。 此外,1 0係傳送來自終端機A之調變信號A之線路A, 1 1係傳送來自終端機B之調變信號B之線路B。 以下,依照圖面說明本以往之聲音通訊系統之動作。 在終端機A以輸入聲音A輸入說話者A所說之聲音。 又,自後述之終端機B經由線路B輸入調變信號B。類比解 調裝置4將該調變信號B解調後,將所得到之聲音信號作為 輸出聲音A輸出。在聲音重疊裝置5,產生將該輸入聲音A 和輸出聲音A重疊之重疊聲音後,輸入類比調變裝置6。類 比調變裝置6將所輸入之重疊聲音調變後,將所得到之調 變信號設為調變信號A後,向線路A輸出。 在終端機B,輸入說話者B所說之聲音作為輸入聲音B 輸入類比調變裝置7。又,調變信號A自終端機A經由線路A 輸入類比解調裝置8。類比調變裝置7將該輸入聲音B調變 後,將所得到之調變信號作為調變信號B,向線路B輸出。 類比解調裝置8將該調變信號A解調後,將所得到之聲音信 號作為輸出聲音B輸出。2103-4159-P.ptd Page 4 515191 V. Description of the invention (2) Analogue demodulation device for outputting sound A 4. The input sound A spoken by speaker A and the output sound A are overlapped to produce overlapping sounds. Sound overlapping device and analog modulation device 6 for modulating overlapping sound. The terminal B is provided with an analog modulation device 7 for modulating the input sound B said by the speaker B and an analog demodulation device 8 for demodulating the modulation signal A from the terminal A. An analog demodulation device 9 for demodulating the modulation signal A from the terminal A is also provided in the terminal C. In addition, 10 is a line A that transmits a modulation signal A from the terminal A, and 11 is a line B that transmits a modulation signal B from the terminal B. The operation of the conventional audio communication system will be described below with reference to the drawings. Input the voice spoken by the speaker A at the terminal A as the input voice A. A modulation signal B is input from a terminal B to be described later via a line B. The analog demodulation device 4 demodulates the modulation signal B, and outputs the obtained sound signal as an output sound A. After the sound superimposing device 5 generates the superimposed sound which overlaps the input sound A and the output sound A, it inputs the analog modulation device 6. The analog modulation device 6 modulates the input superimposed sound, sets the obtained modulation signal to a modulation signal A, and outputs the modulation signal A to the line A. In the terminal B, the voice spoken by the speaker B is input as the input voice B and the analog modulation device 7 is input. The modulation signal A is input from the terminal A to the analog demodulation device 8 via the line A. The analog modulation device 7 modulates the input sound B, and uses the obtained modulation signal as a modulation signal B and outputs it to the line B. The analog demodulation device 8 demodulates the modulated signal A, and outputs the obtained audio signal as an output audio B.

2103-4159-P.ptd 第5頁 515191 五、發明說明(3) 在終端機C自終端機A經由線路A輸入調變信號A。類比 解調裝置9將該調變信號A解調後,將所得到之聲音信號作 為輸出聲音C輸出。 藉著如上述所示構成,在說話者A和說話者B各自使用 終端機A和終端機B通話時,在終端機C可監聽說話者A和說 話者B之通話。 圖2 3係在上述之以往之聲音通訊系統為了改善資料通 訊之引入等之線路利用效率、利用和錯誤訂正碼之組合改 善在無線電通訊之電波之弱地域之品質、利用和密碼之組 合確保秘密性等而設法將系統數位化之別的構造之圖。 在圖23,1係說話者A使用之終端機A,2係說話者B使 用之終端機B,3係相關之別的人員在監聽之情況等使用之 終端機C。 在終端機A包括將來自終端機B之調變信號B解調之解 調裝置1 2、將在解調裝置1 2所得到之聲音碼B解碼之聲音 解碼裝置1 3、對聲音解碼裝置1 3之輸出進行數位類比轉換 (D/A轉換)後輸出係類比信號之輸出聲音A之D/A轉換裝置 14、將說話者A所說之輸入聲音A和該D/A轉換裝置14之輸 出聲音A重疊之聲音重疊裝置15、對重疊聲音進行類比數 位轉換(A/D轉換)之A/D轉換裝置16、將A/D轉換裝置16之 輸出編碼之聲音編碼裝置1 7以及將聲音編碼裝置1 7之輸出 數位調變後後向線路A 1 0輸出之調變裝置1 8。 在終端機B包括將來自線路A之調變信號A解調之解調 裝置2 0、將解調裝置2 0之輸出解碼之聲音解碼裝置2 1以及2103-4159-P.ptd Page 5 515191 V. Description of the invention (3) The terminal C inputs the modulation signal A from the terminal A via the line A. The analog demodulation device 9 demodulates the modulated signal A, and outputs the obtained sound signal as an output sound C. With the configuration described above, when the speaker A and the speaker B each use the terminal A and the terminal B to talk, the terminal C can monitor the conversation between the speaker A and the speaker B. Figure 2 3 In the above-mentioned conventional voice communication system, in order to improve the introduction of data communication, the line utilization efficiency, the combination of the use and the error correction code improve the quality, the use of the password and the combination of passwords in the weak areas of radio communication to ensure the secret. Other structural diagrams that try to digitize the system. In FIG. 23, 1 is the terminal A used by the speaker A, 2 is the terminal B used by the speaker B, and 3 is the terminal C used by other related persons when monitoring. The terminal A includes a demodulation device 1 for demodulating the modulation signal B from the terminal B 2. A sound decoding device 1 for decoding the sound code B obtained at the demodulation device 1 2 3. A sound decoding device 1 The output of 3 is subjected to digital analog conversion (D / A conversion). The output is analog signal output sound D / A conversion device 14 of the sound A, the input sound A said by speaker A and the output of the D / A conversion device 14 Sound overlapping device 15 for sound A overlapping, A / D conversion device 16 for performing analog digital conversion (A / D conversion) on the overlapping sound, sound encoding device 17 for encoding the output of the A / D conversion device 16 and encoding the sound After the digital output of device 17 is digitally modulated, the modulation device 18 is output to line A 10. Terminal B includes demodulation device 20 for demodulating modulation signal A from line A, sound decoding device 21 for decoding the output of demodulation device 20, and

2103-4159-P.ptd 第6頁 五、發明說明(4)2103-4159-P.ptd Page 6 V. Description of the Invention (4)

對聲音解碼裝置2 1之於φ、仓一 办牛s L 輸出係類比_ f卢之ί ΐ ΐ進仃數位類比轉換(D/A轉換)後 ^頌比就之輪出聲音B之D/A轉換裝詈?9。 〜端機B還包括對說話者B所說之輸 數位轉換(A/D轉換)之A/D艟施^署巧叛^聲曰B進仃類比 之輸出總满夕馨立2A/D轉換裝置23、將八/1}轉換裝置23 出翁你:" 9編碼裝置2 4以及將聲音編碼裝置2 4之輸 位調變後後向線路B1 1輸出之調變裝置2 5。 $終端機C包括將來自線路人之調變信號A解調之解調 ^簦立:將解調裝置26之輸出解碼之聲音解碼裝置27以及 钤二解碼裝置27之輸出進行數位類比轉換(D/A轉換)後 刖出係類比信號之輸出聲音B之D/a轉換裝置2 8。 ^级其次’說明本以往之別的聲音通訊系統之動作。 二端機A以輸入聲音a輸入說話者A所說之聲音。又,自 1 ^,終端機B經由線路B輸入調變信號B。解調裝置1 2將 二调變“號B解調後,向聲音解碼裝置丨3輸出所得到之聲 二碼β。聲音解碼裝置13將該聲音碼B解碼後,向D/A轉換 ^置1 4輸出所得到之數位輸出聲音a。d / Α轉換裝置1 4對該 數位輪出聲音A進行數位類比轉換(D/A轉換)後,輸出係類 比信號之輸出聲音A。 士立又’在終端機A内,在聲音重疊裝置15產生將該輸入 聲音A和輸出聲音A重疊之重疊聲音後,輸入A/D轉換裝置 1 6。A/D轉換裝置1 6對所得到之重疊聲音進行類比數位轉 換(A/D轉換)後,得到係數位信號之數位輸入聲音a。聲音 編碼裝置1 7將該數位輸入聲音A編碼後,向調變裝置1 8輸 出所得到之聲音碼A。調變裝置1 8將所輸入之聲音碼a數位For the sound decoding device 21, the analog output to the φ, Kuraichi office, s L output is analogous to 卢 f 之 之 ί ΐ ΐ 仃 仃 仃 仃 仃 Digital analog conversion (D / A conversion) ^ Song ratio on the output of the sound B D / A conversion equipment? 9. ~ Terminal B also includes A / D implementation of the digital conversion (A / D conversion) that speaker B said Device 23, 8/1 conversion device 23 will release you: " 9 encoding device 2 4 and modulation device 25 after modulating the input of voice encoding device 2 4 and outputting it to line B1 1. $ Terminal C includes demodulation to demodulate the modulation signal A from the informant ^ stand: digital analog conversion of the sound decoding device 27 which decodes the output of the demodulation device 26 and the output of the second decoding device 27 (D / A conversion) D / a conversion device 28 which outputs the analog sound signal B is output. ^ Level Second 'will describe the operation of this conventional sound communication system. The two-terminal set A inputs the voice spoken by the voice a. In addition, since 1 ^, the terminal B inputs the modulation signal B via the line B. The demodulation device 12 demodulates the second modulation “No. B, and then outputs the obtained sound second code β to the sound decoding device 丨 3. The sound decoding device 13 decodes the sound code B and converts it to D / A. 1 4 outputs the obtained digital output sound a. D / Α conversion device 1 4 After performing digital analog conversion (D / A conversion) on the digital wheel-out sound A, the output sound A is an analog signal output sound. In the terminal A, after the sound overlapping device 15 generates the overlapping sound that overlaps the input sound A and the output sound A, it is input to the A / D conversion device 16. The A / D conversion device 16 performs the obtained overlapped sound. After the analog digital conversion (A / D conversion), the digital input sound a of the coefficient signal is obtained. The audio encoding device 17 encodes the digital input sound A and outputs the obtained audio code A to the modulation device 18. Transformer device 18 digitizes the entered sound code a

第7頁 515191 五、發明說明(5) 調變後,將所得到之調變信號作為調變信號A,向線路A輸 出。 在終端機B以輸入聲音B輸入說話者B所說之聲音。 又,自終端機A經由線路A輸入調變信號A。A/D轉換裝置23 對該輸入聲音B進行類比數位轉換(A/ D轉換)後,得到係數 位信號之數位輸入聲音B。聲音編碼裝置2 4將該數位輸入 聲音B編碼後,向調變裝置25輸出所得到之聲音碼B。調變 裝置2 5將所輸入之聲音碼B數位調變後,將所得到之調變 信號作為調變信號B,向線路B輸出。 終端機B内之解調裝置2 0將該調變信號A解調後,向聲 音解碼裝置2 1輸出所得到之聲音碼A。聲音解碼裝置2 1將 該聲音碼A解碼後,向D/A轉換裝置22輸出所得到之數位輸 出聲音B °D/A轉換裝置22對該數位輸出聲音B進行數位類 比轉換(D / A轉換)後,輸出係類比信號之輸出聲音B。 在聲音通訊終端機C,自終端機A經由線路A輸入調變 信號A。解調裝置26將該調變信號A解調後,向聲音解碼裝 置2 7輸出所得到之聲音碼。聲音解碼裝置2 7將該聲音碼A 解碼後,向D / A轉換裝置2 8輸出所得到之數位輸出聲音C。 D/A轉換裝置28對該數位輸出聲音C進行數位類比轉換(D/A 轉換)後,輸出係類比信號之輸出聲音C。 藉著如上述所示構成,在數位通訊系統也和以往之類 比通訊系統完全一樣,在說話者A和說話者B各自使用終端 機A和終端機B通話時,在終端機C可監聽說話者A和說話者 B之通話。Page 7 515191 V. Description of the invention (5) After modulation, the obtained modulation signal is used as the modulation signal A and output to the line A. Input the voice spoken by the speaker B at the terminal B as the input voice B. A modulation signal A is input from the terminal A via a line A. The A / D conversion device 23 performs analog-to-digital conversion (A / D conversion) on the input sound B to obtain the digital input sound B of the coefficient bit signal. The voice encoding device 24 encodes the digital input voice B, and outputs the obtained voice code B to the modulation device 25. The modulation device 25 digitally modulates the input voice code B, and uses the obtained modulation signal as a modulation signal B to output to the line B. The demodulation device 20 in the terminal B demodulates the modulation signal A, and then outputs the obtained audio code A to the audio decoding device 21. The sound decoding device 21 decodes the sound code A and outputs the digital output sound B to the D / A conversion device 22 ° The D / A conversion device 22 performs digital analog conversion (D / A conversion) on the digital output sound B ), The output is the output sound B of the analog signal. In the voice communication terminal C, a modulation signal A is input from the terminal A via the line A. The demodulation device 26 demodulates the modulated signal A, and outputs the obtained audio code to the audio decoding device 27. The audio decoding device 27 decodes the audio code A and outputs the digital output sound C to the D / A conversion device 28. The D / A conversion device 28 performs digital analog conversion (D / A conversion) on the digital output sound C, and outputs the output sound C which is an analog signal. With the structure shown above, the digital communication system is also exactly the same as the conventional analog communication system. When speaker A and speaker B each use terminal A and terminal B to talk, the terminal C can monitor the speaker. A talks with speaker B.

2103-4159-P.ptd 第8頁2103-4159-P.ptd Page 8

五、發明說明S 在特開昭5 7 - 4 1 0 6 4,公開使得三者可相互同時通話之 士位台幹線。數位台幹線係對於各說話者,比較其他兩說 f者之聲音PCM碼後,對各取樣選擇輸出位準比較高之聲V. Description of the Invention In JP 5 7-4 1 0 64, S discloses a mainstay mainline that enables the three to communicate with each other simultaneously. The digital main line is for each speaker, after comparing the voice PCM codes of the other two speakers f, select the higher output sound for each sample.

曰P C Μ碼的。藉著照這樣構成,將其他兩說話者之聲音p c M 媽一度解碼後相加,不必再恢復pCM碼,可使硬體規模變 /J、 〇 發明要解決之課題 在由近年來廣為利用之CELP方式所代表之高效率聲音 編碼方式,因將輸入聲音一度解碼後所得到之輸出聲音再 編碼或將同時說話之多位說話者之聲音編碼時,具有編碼 品質大為惡化之特徵,使用該高效率聲音編碼方式實現圖 2 3所示之數位通訊系統時,具有在聲音編碼裝置1 7之編碼 品質惡化、經由線路A向終端機b、終端機C送出之通話聲 音之品質惡化之課題。 在避免此問題之方法上,參考特開昭5 7 - 4 1 0 6 4,為了 在終端機A選擇聲音碼A和聲音碼b之某一方後送出,想到 切換聲音碼後輸出之構造。藉著照這樣構成,可避免多次 之編碼及多位說話者之聲音之編碼,但是具有如下所述之 各種課題,無法簡單的實現。 此外,特開昭5 7 - 4 1 〇 6 4實現了自多種聲音碼選擇一種 後輸出’但是限定為對各取樣可切換之聲音pCM碼,未發 生如下所述之課題。 在高效率聲音編碼方式,以約丨〇〜5 〇為1個訊框Said the PC code. By constructing in this way, the voices of the other two speakers, pc M, are decoded and added at one time without having to restore the pCM code, which can change the hardware scale / J. The problem to be solved by the invention has been widely used in recent years. The high-efficiency sound encoding method represented by the CELP method, because the output sound obtained by once decoding the input sound is re-encoded or the sound of multiple speakers who speak at the same time has the feature of greatly degrading the encoding quality. When this high-efficiency voice coding method is used to implement the digital communication system shown in FIG. 23, the coding quality of the voice coding device 17 is deteriorated, and the quality of the call sound sent to the terminal b and the terminal C via the line A is deteriorated. . To avoid this problem, please refer to JP 5 7-4 1 0 64, in order to select one of the sound code A and the sound code b to send out on the terminal A, and think of the structure of outputting after switching the sound code. By constructing in this way, it is possible to avoid multiple encodings and audio encoding of multiple speakers, but it has various problems as described below and cannot be easily achieved. In addition, JP-A-Sho 5 7-4 1 0 64 realizes outputting after selecting one of a plurality of sound codes, but it is limited to a sound pCM code that can be switched for each sample, and the following problems have not occurred. In the high-efficiency voice coding method, a frame of about 丨 〇 ~ 50 is used as a frame.

2103-4159-P.ptd 第9頁 515191 五、發明說明(7) (f r a m e ),因將構成該訊框之多個取樣一起編碼,在藉著 聲音碼切換在終端機B、終端機C接收後解碼之碼系列,聲 音碼A和聲音碼B在說話者A或說話者B之說話中頻繁的切 換,在說話内容之重要部分因碼切換而遺漏之情況,因其 遺漏長度達到數十ms,有礙於通話内容之掌握。 在只依據在該訊框之聲音位準之大小切換碼之情況, 因頻繁的切換碼,將其解碼後所得到之輸出聲音每隔數十 m s就切換為說話者A或說話者B之說話,具有任一方之說話 内容都無法正確的理解之課題。 又,只依據在該訊框之聲音位準時,因無法正確的選 擇主導通話之重要度高之說話者之聲音碼,具有說話内容 之重要部分遺漏而有礙於通話内容之掌握之課題。 又,因未選擇側之碼被丟棄,具有被丟棄側之說話者 之說話内容遺漏之課題。 又,高效率聲音編碼方式因不是只使用該訊框内之資 訊編碼、解碼5也使用過去之訊框之編碼、解碼結果編 碼、解碼,在藉著聲音碼切換在終端機B、終端機C接收後 解碼之碼系列,在中途聲音碼A和聲音碼B切換了之情況, 因和過去之解碼結果之連續性中斷,解碼後所得到之輸出 聲音變成不連續。 在藉著聲音切換輸出了只由聲音碼A和聲音碼B構成之 碼系列之情況,因在將該碼系列解碼時無法特定碼切換之 發生時刻,無法判定解碼後所得到之輸出聲音是否變成不 連續,具有無法採取消除不連續之對策之課題。2103-4159-P.ptd Page 9 515191 V. Description of the invention (7) (frame), because the multiple samples constituting the frame are encoded together, they are received at terminal B and terminal C by switching by voice code. Post-decoded code series. Voice code A and voice code B are frequently switched in the speech of speaker A or speaker B. The important part of the content of the speech is omitted due to code switching. The length of the omission is tens of ms. , Hinder the grasp of the content of the call. In the case of only switching codes based on the size of the sound level in the frame, the output sound obtained after decoding the code is switched to the speech of speaker A or speaker B every tens of milliseconds due to frequent switching codes. , There is a problem that neither party's speech can be correctly understood. In addition, only based on the sound level of the frame, the voice code of the speaker with the highest importance to lead the call cannot be correctly selected, and important parts of the speech content are omitted, which hinders the grasp of the call content. In addition, because the code on the unselected side is discarded, there is a problem that the speech content of the speaker on the discarded side is omitted. In addition, since the high-efficiency sound encoding method uses not only the information encoding and decoding in the frame, but also the encoding, decoding result encoding and decoding of the previous frame, the terminal B and the terminal C are switched by the sound code. After receiving the decoded code series, when the sound code A and the sound code B are switched halfway, the output sound obtained after decoding becomes discontinuous because the continuity with the past decoding result is interrupted. In the case where a code series consisting of only a voice code A and a voice code B is output through voice switching, it is impossible to determine when the code sequence occurs when decoding the code series, and it is impossible to determine whether the output sound obtained after decoding becomes Discontinuities have the problem that countermeasures to eliminate discontinuities cannot be taken.

2103-4159-P.ptd 第10頁 515191 五、發明說明(8) 又,在業務通訊之聲音通訊系統等,在兩說話者間之 業務連絡通話時,有向監聽之別的人員傳達某一方之說話 者之指示或連絡優先等之情況。 在只依據聲音位準之大小切換了聲音碼A和聲音碼B之 情況,發生未選擇需要優先送出之說話者之情況,具有指 示或連絡等說話内容遺漏之課題。 又,因多次傳送輸入聲音B之碼,具有傳送錯誤累積 而解碼聲音之品質惡化之課題。 本發明為解決上述之課題,其目的在於提供一種聲音 碼切換方法,可一方面活用使用高效率聲音編碼方式之優 點,一方面實現高品質之通話、監聽或會議通話等。 解決課題之方式 本發明之聲音碼切換方法,輸入由說話者A之輸入聲 音編碼後之聲音碼A和由說話者B之輸入聲音編碼後之聲音 碼B,每隔固定時間之訊框選擇聲音碼A和聲音碼B之一方 後輸出。 其中,依照過去之選擇結果選擇輸出之訊框。 又,本發明之聲音碼切換方法,輸入由說話者A之輸 入聲音編碼後之聲音碼A和由說話者B之輸入聲音編碼後之 聲音碼B,每隔固定時間之訊框選擇聲音碼A和聲音碼B之 一方後輸出。 其中,使得儲存N個訊框之聲音碼A和聲音碼B後,依 照已儲存之N個訊框之聲音碼A和聲音碼B,選擇N個訊框前2103-4159-P.ptd Page 10 515191 V. Description of the invention (8) In the voice communication system of business communication, etc., when a business connection between two speakers is in a conversation, one party is communicated to the other person who is listening. The speaker's instructions or contact priority. When the voice code A and the voice code B are switched only according to the size of the voice level, there are cases where the speaker who has not been selected for priority transmission has been selected, and there is a problem of missing instructions such as instructions or contact. In addition, since the code of the input audio B is transmitted a plurality of times, there is a problem that the quality of the decoded audio deteriorates due to accumulation of transmission errors. In order to solve the above-mentioned problem, the present invention aims to provide a voice code switching method, which can utilize the advantages of a high-efficiency voice coding method on the one hand, and realize high-quality calling, monitoring, or conference calling on the other. Means for Solving the Problem The voice code switching method of the present invention is to input a voice code A encoded by an input voice of a speaker A and a voice code B encoded by an input voice of a speaker B, and select a voice at a fixed time frame. One of the code A and the sound code B is output. Among them, the output frame is selected according to the past selection result. In the voice code switching method of the present invention, the voice code A encoded by the input voice of the speaker A and the voice code B encoded by the input sound of the speaker B are input, and the voice code A is selected at a fixed time frame. And one of the sound codes B is output. Among them, after the sound codes A and B of the N frames are stored, according to the stored sound codes A and B of the N frames, before the N frames are selected,

2103-4159-P.ptd 第11頁 515191 五、發明說明(9) 之聲音碼A或聲音碼B之一方後輸出。 又,本發明之聲音碼切換方法,輸入由說話者A之輸 入聲音編碼後之聲音碼A和由說話者B之輸入聲音編碼後之 聲音碼B,每隔固定時間之訊框選擇聲音碼A和聲音碼B之 一方後輸出。 其中,在選擇判定聲音碼A和聲音碼B之一方時判定為 需要雙方之輸出時,使得依次儲存在前訊框之非選擇聲音 碼,在變成不需要輸出在前訊框所選擇之聲音碼之輸出之 訊框以後,按照時間順序依次輸出至變成不必輸出之時刻 為止所儲存之聲音碼系列。 又,本發明之聲音碼切換方法,在按照時間順序依次 輸出該預先儲存之聲音碼系列時,使得將現在之訊框之聲 音碼配置於其聲音碼系列之末尾下去,而在判定已儲存之 聲音碼系列之全部或一部分係非聲音區間時,中止或廢棄 對該區間之聲音碼之末尾之配置。 又,本發明之聲音碼切換方法,輸入由說話者A之輸 入聲音編碼後之聲音碼A和由說話者B之輸入聲音編碼後之 聲音碼B,每隔固定時間之訊框選擇聲音碼A和聲音碼B之 一方後輸出。 其中,在自外部受理選擇指示某一方之聲音碼之既定 輸入時,使得按照該既定輸入優先選擇一方之聲音碼。 又,本發明之聲音碼切換方法,輸入由說話者A之輸 入聲音編碼後之聲音碼A和由說話者B之輸入聲音編碼後之 聲音碼B,每隔固定時間之訊框選擇聲音碼A和聲音碼B之2103-4159-P.ptd Page 11 515191 V. Description of Invention (9) One of sound code A or sound code B is output. In the voice code switching method of the present invention, the voice code A encoded by the input voice of the speaker A and the voice code B encoded by the input sound of the speaker B are input, and the voice code A is selected at a fixed time frame. And one of the sound codes B is output. Among them, when it is determined that the output of both parties is required when one of the sound code A and the sound code B is selected, the non-selected sound codes stored in the front frame in order are not required to output the sound code selected in the front frame. After the output frame is output, the sound code series stored until the time when it becomes unnecessary to output is sequentially output in chronological order. In addition, when the sound code switching method of the present invention sequentially outputs the pre-stored sound code series in chronological order, the sound code of the current frame is arranged at the end of the sound code series, and the stored code is determined. When all or part of the voice code series is a non-voice interval, the configuration at the end of the voice code of the interval is suspended or discarded. In the voice code switching method of the present invention, the voice code A encoded by the input voice of the speaker A and the voice code B encoded by the input sound of the speaker B are input, and the voice code A is selected at a fixed time frame. And one of the sound codes B is output. Among them, when a predetermined input for selecting a voice code of a certain party is selected from the outside, the voice code of one party is preferentially selected according to the predetermined input. In the voice code switching method of the present invention, the voice code A encoded by the input voice of the speaker A and the voice code B encoded by the input sound of the speaker B are input, and the voice code A is selected at a fixed time frame. And sound code B

2103-4159-P.ptd 第12頁 515191 五、發明說明(ίο) 一方後輸出。 其中,聲音碼A滿足既定條件時,使得優先選擇聲音 碼A 〇 又,本發明之聲音碼切換方法,輸入由說話者A之輸 入聲音編碼後之聲音碼A和由說話者B之輸入聲音編碼後之 聲音碼B,每隔固定時間之訊框選擇聲音碼A和聲音碼B之 一方後輸出。 其中,該各聲音碼利用表示聲音資料之資料碼和其錯 誤訂正碼構成,對於聲音碼B進行錯誤訂正解碼及錯誤訂 正編碼後選擇判定、輸出。 又,本發明之聲音碼切換方法,輸入由說話者A之輸 入聲音編碼後之聲音碼A和由說話者B之輸入聲音編碼後之 聲音碼B,每隔固定時間之訊框選擇聲音碼A和聲音碼B之 一方後輸出。 其中,該聲音碼A和聲音碼B係只使用其一部分也可將 聲音解碼之定標碼構造,將由係聲音碼A之一部分之聲音 碼A’和係聲音碼B之一部分之聲音碼B’組合而成之碼作為 選擇輸出之候選之一。 又,本發明之之聲音碼切換方法,使得在選擇輸出之 聲音碼切換之時刻之訊框在該訊框之輸出之前輸出可識別 選擇聲音碼之資訊,在該資訊之輸出後依次輸出所選擇之 聲音碼。 又,本發明之聲音碼切換裝置,包括控制裝置,輸入 由說話者A之輸入聲音編碼後之聲音碼A和由說話者B之輸2103-4159-P.ptd Page 12 515191 V. Description of invention (ίο) Output after one party. Wherein, when the sound code A satisfies a predetermined condition, the sound code A is preferentially selected. Furthermore, the sound code switching method of the present invention inputs the sound code A encoded by the input voice of the speaker A and the sound code input by the speaker B. The next sound code B is selected by outputting one of the sound code A and the sound code B at a fixed time frame. Each of the sound codes is constituted by a data code representing the sound data and an error correction code thereof. The error code B is subjected to error correction decoding and error correction coding, and then selected and output. In the voice code switching method of the present invention, the voice code A encoded by the input voice of the speaker A and the voice code B encoded by the input sound of the speaker B are input, and the voice code A is selected at a fixed time frame. And one of the sound codes B is output. Among them, the sound code A and the sound code B are constructed using only a part of the calibration code that can also decode the sound. The sound code A 'is a part of the sound code A and the sound code B' is a part of the sound code B. The combined code is one of the candidates for selection output. In addition, the voice code switching method of the present invention enables the frame at the time of switching of the selected voice code to output information that can identify the selected voice code before the output of the frame, and sequentially outputs the selected information after the information is output. Voice code. In addition, the voice code switching device of the present invention includes a control device that inputs a voice code A encoded by the input voice of the speaker A and an input of the voice code A by the speaker B.

2103-4159-P.ptd 第13頁 515191 五、發明說明(11) 入聲音編碼後之聲音碼B,每隔固定時間之訊框選擇聲音 碼A和聲音碼B之一方後輸出。 其中,控制裝置依照過去之選擇結果選擇輸出之訊 框。 本發明之聲音通訊終端機,由說話者A之輸入聲音編 碼後之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼B 係只使用其一部分也可將聲音解碼之定標碼構造;包括: 解調裝置,輸入由係聲音碼A之一部分之聲音碼A ’和係聲 音碼B之一部分之聲音碼B ’組合而成之碼後解調;分離裝 置,將解調後之聲音碼A’和聲音碼B’分離;聲音解碼裝 置,各自將分離後之聲音碼A ’和聲音碼B ’解碼後,各自輸 出輸出聲音A和輸出聲音B ;加法裝置,將解碼後之輸出聲 音A和輸出聲音B相加;以及D/A轉換裝置,對加法裝置之 輸出進行D/A轉換。 發明之實施例 以下邊參照圖面邊說明本發明之實施例。 實施例1 圖1表示使用本發明之實施例1之聲音碼切換方法之終 端機A之構造。此外,將本終端機A用作圖2 3之終端機A的 變成應用了本發明之實施例1之聲音碼切換方法之聲音通 訊系統之構造。在圖1,1 6係A/ D轉換裝置,1 7係聲音編碼 裝置,3 0係切換裝置,1 8係調變裝置,1 2係解調裝置,1 3 係聲音解碼裝置,1 4係D/ A轉換裝置。2103-4159-P.ptd Page 13 515191 V. Description of the invention (11) After entering the sound code B, the sound code A and the sound code B are selected at a fixed time frame and output. The control device selects the output frame according to the past selection result. In the voice communication terminal of the present invention, the voice code A encoded by the input voice of the speaker A and the voice code B encoded by the input voice of the speaker B are constructed by using only a part of the calibration code that can decode the voice. ; Including: Demodulation device, input the code composed of the sound code A 'which is a part of the sound code A and the sound code B' which is a part of the sound code B, and demodulate it; a separation device, which demodulates the sound after demodulation; The code A 'and the sound code B' are separated; the sound decoding device decodes the separated sound code A 'and the sound code B', respectively, and outputs the output sound A and the output sound B; the addition device separates the decoded output sound A and output sound B are added; and a D / A conversion device performs D / A conversion on the output of the addition device. Embodiments of the Invention Embodiments of the present invention will be described below with reference to the drawings. Embodiment 1 FIG. 1 shows a configuration of a terminal A using a voice code switching method according to Embodiment 1 of the present invention. In addition, the use of this terminal A as the terminal A of FIG. 23 becomes a structure of a voice communication system to which the voice code switching method of Embodiment 1 of the present invention is applied. In Figure 1, 16 series A / D conversion devices, 17 series voice encoding devices, 30 series switching devices, 18 series modulation devices, 12 series demodulation devices, 13 series sound decoding devices, and 1 series 4 D / A conversion device.

2103-4159-P.ptd 第14頁 515191 五、發明說明(12) 3 1係構成切換裝置3 0之控制裝置,3 2係一樣構成切換 裝置30之選擇裝置。 以下,依照圖說明動作。 在終端機A以輸入聲音A輸入說話者A所說之聲音。 又,自後述之終端機B經由線路B輸入調變信號B。解調裝 置1 2每隔固定時間之訊框將該調變信號B解調後,向聲音 解碼裝置1 3和切換裝置3 0内之控制裝置3 1以及選擇裝置3 2 輸出所得到之聲音碼B。聲音解碼裝置1 3將該聲音碼B解碼 後,向D/A轉換裝置14輸出所得到之數位輸出聲音A。D/A 轉換裝置14對該數位輸出聲音A進行數位類比轉換(D/A轉 換)後,輸出係類比信號之輸出聲音A。 A/D轉換裝置16對該輸入聲音A進行類比數位轉換(A/D 轉換)後,得到係數位信號之數位輸入聲音A。聲音編碼裝 置1 7每隔固定時間之訊框將該數位輸入聲音A編碼後,向 切換裝置30内之控制裝置31及選擇裝置32輸出所得到之聲 音碼A。 切換裝置3 0内之控制裝置3 1按照既定之選擇基準自所 輸入之聲音碼A和聲音碼B以及過去在控制裝置3 1所決定之 聲音碼之選擇結果選擇聲音碼A和聲音碼B之中之一方後, 向選擇裝置32輸出關於選擇了哪一方之資訊。 在選擇基準例上,有依照將聲音碼A和聲音碼B實際解 碼後所得到之2個解碼聲音之振幅A和振幅B以及係在過去 (m — 1時刻)之選擇結果之選擇m _ 1按照圖2所示之流程選 擇之方法。2103-4159-P.ptd Page 14 515191 V. Description of the invention (12) 31 is a control device constituting the switching device 30, and 3 2 is the same selection device constituting the switching device 30. The operation will be described below with reference to the drawings. Input the voice spoken by the speaker A at the terminal A as the input voice A. A modulation signal B is input from a terminal B to be described later via a line B. The demodulation device 12 demodulates the modulation signal B at a fixed time frame, and outputs the obtained audio code to the sound decoding device 13 and the control device 3 1 and the selection device 3 2 in the switching device 30. B. The audio decoding device 13 decodes the audio code B and outputs the digital output audio A to the D / A conversion device 14. The D / A conversion device 14 performs digital analog conversion (D / A conversion) on the digital output sound A, and outputs the output sound A which is an analog signal. The A / D conversion device 16 performs analog-to-digital conversion (A / D conversion) on the input sound A to obtain the digital input sound A of the coefficient-bit signal. The voice coding device 17 encodes the digital input voice A at a frame of a fixed time, and outputs the obtained voice code A to the control device 31 and the selection device 32 in the switching device 30. The control device 3 1 in the switching device 30 selects the sound code A and the sound code B from the input result of the selected sound code A and sound code B and the sound code determined by the control device 3 1 in accordance with a predetermined selection criterion. After one of them is selected, information on which one is selected is output to the selection device 32. In the selection criteria example, there are the selection m _ 1 according to the amplitude A and amplitude B of the two decoded sounds obtained by actually decoding the sound code A and the sound code B, and the selection result in the past (time of m-1). Select the method according to the flow shown in Figure 2.

2103-4159-P.ptd 第15頁 515191 五、發明說明(13) 圖2係在2個解碼聲音之振幅差比臨限值t h大之情況選 擇振幅大的,而在比臨限值th小之情況選擇和過去之選擇 結果in — 1相同的’然後’決定係現在(in時刻)之選擇結果 之選擇m。 藉著照這樣構成,在監聽說話者A和說話者B之通話之 終端機C,因在說話者A和說話者B同時說話之情況也可在 輸出聲音C上得到被認為在那時刻主導會話之聲音比較大 之說話者之聲音,不會有礙於通話内容之掌握。 又,因在說話者A和說話者B之聲音大小之差未充分大 之情況使得保持選擇結果之連續性,可避免在終端機C有 礙於通話内容之掌握之短時間内頻繁的切換說話者A和說 話者B之說話。 此外,在圖2,振幅差之臨限值t h係固定值也可,或 者係按照聲音碼或解碼聲音之振幅、過去之選擇結果或振 幅之臨限值之值等適應性可變之值也可。 選擇裝置3 2按照自該控制裝置3 1所輸入之資訊切換開 關,將所選擇之聲音碼設為聲音碼A,向調變裝置1 8輸 出。然後,調變裝置1 8將自切換裝置3 0輸入之聲音碼A’數 位調變後,將所得到之調變信號作為調變信號A,向線路 A10輸出。 此外,在上述實施例,在切換裝置3 0内之控制裝置3 1 之聲音碼之選擇基準上使用圖2所示之方法,但是例如按 照圖3或圖4所示之流程等使用別的選擇基準之構造當然也 可能。此外,適應性的或依據來自外部之指示切換這些多2103-4159-P.ptd Page 15 515191 V. Description of the invention (13) Figure 2 shows the case where the amplitude difference between two decoded sounds is larger than the threshold th, and the amplitude is larger than the threshold th. The choice of the situation and the past choice result in — 1 is the same as the 'then' decision, which is the choice m of the current (in time) choice result. By constituting in this way, the terminal C, which is monitoring the conversation between the speaker A and the speaker B, can also be obtained on the output sound C because the speaker A and the speaker B are talking at the same time. The voice of the louder speaker will not hinder the grasp of the call content. In addition, because the difference between the sound levels of speaker A and speaker B is not sufficiently large, the continuity of the selection result is maintained, which can avoid frequent switching of speech in a short time that terminal C hinders the grasp of the content of the call Speaker A and Speaker B speak. In addition, in FIG. 2, the threshold th of the amplitude difference may be a fixed value, or may be an adaptively variable value according to the amplitude of the voice code or decoded sound, the past selection result, or the threshold value of the amplitude. can. The selection device 3 2 switches the switch according to the information input from the control device 31, sets the selected sound code to the sound code A, and outputs it to the modulation device 18. Then, the modulation device 18 modulates the voice code A 'input from the switching device 30 digitally, and uses the obtained modulation signal as the modulation signal A to output to the line A10. In addition, in the above embodiment, the method shown in FIG. 2 is used on the basis of the sound code selection of the control device 31 in the switching device 30, but other options are used, for example, according to the flow shown in FIG. 3 or FIG. 4 The construction of the benchmark is of course possible. In addition, these can be switched adaptively or according to external instructions

2103-4159-P.ptd 第16頁 515191 五、發明說明(14) 種選擇基準後使用之構造當然也可能。 圖3係在依照係過去(m — 1時刻)之選擇結果之選擇m — 1所選擇之說話者之解碼聲音之振幅比臨限值t h小,而且 比依照選擇m — 1未選擇之另一方之說話者之振幅小之情 況,選擇依照選擇m — 1未選擇之說話者,在其他之情況選 擇和過去之選擇結果m — 1 —樣的,然後,決定係現在(m時 刻)之選擇結果。 又,圖4係在依照係過去(m — 1時刻)之選擇結果之選 擇m — 1未選擇之說話者之解碼聲音之振幅比臨限值t h大, 依照選擇m — 1未選擇之說話者,在其他之情況選擇和過去 之選擇結果m — 1 一樣的,然後,決定係現在(m時刻)之選 擇結果。 又,在上述之實施例,在選擇在現在之訊框之聲音碼 時,在過去之選擇結果上只使用正前之訊框的,但是使用 在其之前之訊框之選擇結果之構造當然也可能。 又,在系統之構造不同之情況,保持該切換裝置3 0之構造 而改變終端機内之其他裝置之構造後使用當然也可。 若依據本實施例1 ’在輸入由說話者A之輸入聲音編碼 後之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼B, 每隔固定時間之訊框選擇聲音碼A和聲音碼B之一方後輸出 之聲音碼切換方法上,因使得依照過去之選擇結果控制現 在之訊框之選擇,具有可保持選擇結果之連續性之效果。 在將本實施例1之聲音碼切換方法應用於在多台終端 機間共用2條線路,並在別的終端機也可監聽2台終端機間2103-4159-P.ptd Page 16 515191 V. Description of the invention (14) Of course, the structure used after selecting the standard is also possible. Fig. 3 shows that the amplitude of the decoded sound of the selected speaker m-1 is smaller than the threshold th in the selection result of the past (m-1 moment), and it is smaller than the other one which is not selected according to the selection m-1. When the amplitude of the speaker is small, choose the speaker that has not been selected according to the selection m-1, otherwise choose the same result as the previous selection m-1, and then decide the result of the current (time m) selection. . In addition, in FIG. 4, the amplitude of the decoded sound of a non-selected speaker according to the selection result of the past (m-1 moment) is greater than the threshold th, and according to the selected m-1 non-selected speaker In other cases, the selection is the same as the past selection result m — 1, and then, the decision is the current (time m) selection result. Also, in the above-mentioned embodiment, when the sound code of the current frame is selected, only the previous frame is used in the past selection result, but the structure of the selection result of the previous frame is of course also used. may. In addition, when the structure of the system is different, it is of course possible to use the structure of the switching device 30 while changing the structure of other devices in the terminal. According to the embodiment 1 ', after inputting the voice code A encoded by the input voice of the speaker A and the voice code B encoded by the input voice of the speaker B, the voice code A and the voice are selected at a fixed time frame. In the method of switching the sound code output after one of the codes B, the current frame selection is controlled according to the past selection result, which has the effect of maintaining the continuity of the selection result. The voice code switching method of the first embodiment is applied to share two lines between multiple terminals, and can also monitor between two terminals at other terminals.

2103-4159-P.ptd 第17頁 515191 五、發明說明(15) 之通話之數位化之I 、 礙於通話或監聽般頻^通讯系統之情況,具有在# 及雙說話聲音之發生碼切換下,可避ΐ抑,如有 雨馬所引起之品質惡化之效果尤一次編碼 實施例2 圖5表示使用本發明 端機Α之構造。此外,收& = β例Ζ心耷音碼切換方、1 變成應用了本發明之實將/二端:Α立用作圖2 3之终:機〜之終 訊系統之構造。之實施例2之聲音碼切換方法,聲機音 1 在圖5,3 0係切換裝置,3 3、3 遲裝^继31係控制裝置,32係選擇儲存裝置,34、36 因除了切換虞置3 0和圖1所示之實施例丨^ 。本實施例2 都一樣,賦與相同之㈣,省略說明例1的不同以外,其他 以下,依照圖說明動作。 在終端機A以輪入聲音A輸入說 又,自後述之終端機β經由線路6 斤說之聲音。 置12每隔固定時間之訊框將該^ =變信號Β。解調裝 解碼裝置13和切換裝置3〇内之儲^ #唬Β解調後,向聲音 輸出所得到之聲音碼Β。聲音解子裝置3 5以及延遲裝置3 6 後,向D / Α轉換裝置1 4輸出所得到敦置1 3將該聲音碼Β解碼 轉換裝置14對該數位輸出聲音A進]之數位輸出聲音A。D/A 換)後,輸出係類比信號之輸曰出彳^數位類比轉換(D/A轉 而,A/D轉換裝置16對該輪人二 (A/D轉換)後,得到係數位作 ,曰A進行類比數位轉換 。現之數位輸入聲音A,向聲音 515191 五、發明說明(16) 編碼裝置1 7輸出該數位輸入聲音A。聲音編碼裝置1 7每隔 固定時間之訊框將該數位輸入聲音A編碼後,向切換裝置 30内之儲存裝置33及延遲裝置34輸出所得到之聲音碼A。 切換裝置30内之儲存裝置33儲存過去N個訊框之所輸 入之聲音碼A後,向控制裝置3 1輸出該N個訊框之聲音碼。 又,儲存裝置35儲存過去N個訊框之所輸入之聲音碼B後, 向控制裝置3 1輸出該N個訊框之聲音碼。控制裝置3 1依照 所輸入之N個訊框之聲音碼A和N個訊框之聲音碼B,按照既 定之選擇基準選擇N個訊框前之聲音碼A和N個訊框前之聲 音碼B之中之一方後,向選擇裝置32輸出關於選擇了哪一 方之資訊。 在選擇基準例上,有將聲音碼A和聲音碼B實際解碼 後,分析所得到之解碼聲音後,對各訊框判定是聲音或非 聲音,依照其判定結果,按照圖6所示之流程選擇之方 法。在圖6,首先將N個訊框前之聲音碼A之解碼聲音之聲 音/非聲音判定結果設為狀態A,將N個訊框前之聲音碼B之 聲音/非聲音判定結果設為狀態B。 又,將在來自N個訊框前之聲音碼A之解碼聲音之聲音 區間或非聲音區間連續之訊框數設為連續長度A,將在來 自N個訊框前之聲音碼B之解碼聲音之聲音區間或非聲音區 間連續之訊框數設為連續長度B。而,在狀態A和狀態B之 某一方係聲音而另一方係非聲音之情況,選擇係聲音之一 方之聲音碼;又,在狀態A和狀態B雙方都是聲音之情況, 比較連續長度A和連續長度B後,選擇其聲音區間之連續長2103-4159-P.ptd Page 17 515191 V. Description of the invention (15) Digitization of the call I. In the case of a call or monitoring-like frequency communication system, it has code switching between # and dual-talking voice In the following, it is possible to avoid frustration. If there is an effect of quality deterioration caused by rain horses, it is particularly encoded once. Embodiment 2 FIG. 5 shows a structure using the terminal A of the present invention. In addition, receiving & = β example Z heart sound tone code switching party, 1 becomes the structure of the application of the present invention / two-terminal: A stand for the end of: Figure 2 3: machine ~ terminal system. The sound code switching method of the second embodiment, sound machine tone 1 is shown in Figures 5 and 30 as the switching device, 3 and 3 are installed late. 31 is the control device for the 31 series and 32 is the storage device for selection. Set 30 and the embodiment shown in FIG. 1 ^. The second embodiment is the same, and the same description is given. The difference from the first embodiment is omitted, and the other operations are described below with reference to the drawings. The terminal A is input with a turn-in sound A, and a voice from a terminal β to be described later via a line 6 is used. Set the frame at 12 every fixed time to change ^ = transformed signal B. The demodulation device 13 stores the data stored in the decoding device 13 and the switching device 30. After the demodulation, the obtained sound code B is output to the sound. After the sound decoupling device 3 5 and the delaying device 3 6, it outputs the obtained set 1 to the D / A conversion device 14 and the 3 decodes the sound code B and converts the device 14 into the digital output sound A]. . After D / A conversion), the output is analog signal output. 曰 Digital analog conversion (D / A instead, A / D conversion device 16 after the second person (A / D conversion), the coefficient bit is obtained. , Said A to perform analog digital conversion. Now the digital input sound A, to the sound 515191 V. Description of the invention (16) The encoding device 17 outputs the digital input sound A. The sound encoding device 17 sends this digital frame at a fixed time frame. After digitally inputting the sound A code, the obtained sound code A is output to the storage device 33 and the delay device 34 in the switching device 30. The storage device 33 in the switching device 30 stores the input sound code A of the past N frames. And output the sound codes of the N frames to the control device 31. In addition, the storage device 35 stores the input sound codes B of the N frames in the past, and then outputs the sound codes of the N frames to the control device 31. 。Control device 3 1 According to the inputted sound code A of the N frames and the sound code B of the N frames, the sound code A before the N frames and the sound before the N frames are selected according to the predetermined selection criterion. One of the codes B then outputs to the selection device 32 information on which party is selected In the selection benchmark example, after actually decoding the sound code A and the sound code B, after analyzing the decoded sounds obtained, it is determined whether each frame is sound or non-sound. According to the determination result, as shown in FIG. 6 The method of process selection. In FIG. 6, first, the sound / non-sound judgment result of the decoded sound of the sound code A before N frames is set to state A, and the sound / non sound of the sound code B before N frames is set. The sound determination result is set to state B. Also, the number of consecutive frames in the sound section or non-sound section of the decoded sound of the sound code A in front of the N frames is set to the continuous length A, and the number of frames in the N frames is used. The number of consecutive frames in the sound interval or non-sound interval of the decoded sound of the previous sound code B is set to the continuous length B. However, in the case where one of the states A and B is a sound and the other is a non-sound, select the system The voice code of one of the voices; and in the case where both the state A and the state B are voices, after comparing the continuous length A and the continuous length B, the continuous length of the sound interval is selected.

2103-4159-P.ptd 第19頁 515191 五、發明說明(17) 度長之一方之聲音碼;此外,在雙方都是非聲音之情況, 比較連續長度A和連續長度b後,選擇非聲音區間之連續長 度短之一方之聲音碼。 藉著照這樣構成,在監聽說話者A和說話者B之通話之 終端機C,因在說話者A和說話者B同時說話之情況也可在 輸出聲音C上得到被認為在那時刻主導會話之說話時間比 較長之說話者之聲音,不會有礙於通話内容之掌握。 又’因選擇說話者A和說話者B之說話時間比較長之古兒 話者之聲音使得保持選擇結果之連續性,可避免在終端機 C有礙於通話内容之掌握之短時間内頻繁的切換、 說話者B之說話。 & ^ #A和 、延遲裝置34令自該聲音編碼裝置17所輸入之 延遲後,向選擇裝置32輸出N個訊框前之二碼、 A。延遲裝置34令自該解調裝置12 =2103-4159-P.ptd Page 19 515191 V. Description of the invention (17) One-degree-long sound code; In addition, in the case where both sides are non-sound, after comparing the continuous length A and continuous length b, select the non-sound interval The short one-way voice code. By constituting in this way, the terminal C, which is monitoring the conversation between the speaker A and the speaker B, can also be obtained on the output sound C because the speaker A and the speaker B are talking at the same time. The voice of the speaker who speaks for a long time will not hinder the grasp of the content of the call. Also, because the voice of the ancient speaker who chose to speak for a long time between speaker A and speaker B keeps the continuity of the selection result, which can avoid frequent calls in a short time that terminal C hinders the grasp of the call content. Switch, speaker B speaks. & ^ #A and, the delay device 34 causes the delay code input from the voice encoding device 17 to output to the selection device 32 the two codes before the N frames, A. The delay means 34 gives the demodulation means 12 =

個訊框後,向選擇裝仏山<卓曰碼B延遲N 裝置32按照自以Ϊ = Ν:訊框前之聲音碼B。選擇 所選擇之聲音竭設為J:3丄所輸二f資訊切換開關後,將 調變裝置18將自切換裝;’〇 向凋變裝置18輸出。而, 後,將所得到之調變彳: j f入之聲音碼A,數位調變 此外,在上述:為调變信號A,向線路A輸出。 3 1,分析解碼聲音後,:θ ^切換裝置3 0内之控制裝置 碼所含之參數直接決定聲音^或非聲音,但是自聲音 又,在上述之實施例,I "曰之構造當然也可能。 非聲音判定結i,但是選^ ?擇基準只使用聲音/ 疋在選擇基準使用解碼聲音之振幅、After each frame, the device 32 is selected to delay the delay and the code B is delayed by the device 32 according to the voice code B before the frame = Ν: frame. After the selected sound is set to J: 3, the second f information switch is input, and the modulation device 18 is automatically switched; ′ 〇 is output to the decay device 18. Then, the obtained modulation 彳: j f is entered into the audio code A, and the digital modulation is performed. In addition, in the above, the modulation signal A is output to the line A. 3 1. After analyzing the decoded sound, the parameters included in the control device code in θ ^ switching device 30 directly determine the sound ^ or non-sound, but from the sound, in the above embodiment, I " said the structure of course also possible. Non-sound judgment results, but select ^? Select the reference using only sound / 疋 select the reference using the amplitude of the decoded sound,

515191 五、發明說明(18) 過去之選擇結果等別的資訊之構造當然也可能。 又,使得刪除選擇裝置3 2、延遲裝置3 4、3 6,而控制 裝置3 1選擇N個訊框前之一方之聲音碼後,輸出該聲音 碼,省略延遲所需之記憶體之構造也可能。 若依據本實施例2,在輸入由說話者A之輸入聲音編碼 後之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼B, 每隔固定時間之訊框選擇聲音碼A和聲音碼B之一方後輸出 之聲音碼切換方法上,因使得預先儲存N個訊框之聲音碼A 和聲音碼B,依照所儲存之N個訊框之聲音碼A和聲音碼B, 選擇N個訊框前之聲音碼A和聲音碼B之一方後輸出,具有 可正確的選擇主導通話之說話者之碼,並可保持選擇結果 之連續性之效果。 在將本實施例2之聲音碼切換方法應用於在多台終端 機間共用2條線路,並在別的終端機也可監聽2台終端機間 之通話之數位化之聲音通訊系統之情況,具有不會遺漏主 導通話之說話者之說話内容,並在抑制碼切換頻繁的發生 下,可避免二次編碼及雙說話聲音之編碼所引起之品質惡 化之效果。 實施例3 圖7表示使用本發明之實施例3之聲音碼切換方法之終 端機A之構造。此外,將本終端機A用作圖2 3之終端機A的 變成應用了本發明之聲音碼切換方法之聲音通訊系統之構 造0515191 V. Description of the invention (18) Of course, the structure of other information such as the result of the past selection is also possible. In addition, the selection device 3 2 and the delay devices 3 4 and 36 are deleted, and the control device 31 selects the sound code of the first one of the N frames and outputs the sound code, omitting the structure of the memory required for the delay. may. If according to the second embodiment, the voice code A encoded by the input voice of the speaker A and the voice code B encoded by the input voice of the speaker B are input, and the voice code A and the voice are selected at a fixed time frame. In the method of switching the sound codes output after one of the codes B, because the sound codes A and B of the N frames are stored in advance, the N codes are selected according to the stored sound codes A and B of the N frames. One of the sound code A and the sound code B in front of the frame is output after it, which has the effect of correctly selecting the speaker who leads the call and maintaining the continuity of the selection result. In the case where the voice code switching method of the second embodiment is applied to a case where a digital voice communication system is used in which two lines are shared between multiple terminals and another terminal can also monitor the calls between the two terminals, It has the effect of not missing the speech content of the speaker who leads the call, and can avoid the quality deterioration caused by the secondary encoding and the encoding of the two-speaking voice under the frequent occurrence of the suppression code switching. Embodiment 3 Fig. 7 shows a configuration of a terminal A using a voice code switching method according to Embodiment 3 of the present invention. In addition, the use of the terminal A as the terminal A of FIG. 23 becomes a structure of a voice communication system to which the voice code switching method of the present invention is applied.

2103-4159-P.ptd 第21頁 515191 五、發明說明(19) 在圖7,3 0係切換裝置,3 1係控制裝置,3 2係選擇裝 置,4 0係儲存裝置,4 1係第二選擇裝置。本實施例3因除 了切換裝置3 0和圖1所示之實施例1的不同以外,其他都一 樣,賦與相同之符號,省略說明。 以下,依照圖說明動作。 在終端機A以輸入聲音A輸入說話者A所說之聲音。 又,自後述之終端機B經由線路B輸入調變信號B。解調裝 置1 2每隔固定時間之訊框將該調變信號B解調後,向聲音 解碼裝置13、切換裝置30内之控制裝置31、第二選擇裝置 4 1以及選擇裝置3 2輸出所得到之聲音碼B。聲音解碼裝置 1 3將該聲音碼B解碼後,向D/ A轉換裝置1 4輸出所得到之數 位輸出聲音A cD/A轉換裝置14對該數位輸出聲音A進行數 位類比轉換(D / A轉換)後,輸出係類比信號之輸出聲音A。 而,A/D轉換裝置16對該說話者A之輸入聲音A進行類 比數位轉換(A / D轉換)後,得到係數位信號之數位輸入聲 音A,向聲音編碼裝置1 7輸出該數位輸入聲音A。聲音編碼 裝置1 7每隔固定時間之訊框將該數位輸入聲音A編碼後, 向切換裝置30内之控制裝置31、選擇裝置32以及第二選擇 裝置41輸出所得到之聲音碼A。 切換裝置3 0内之控制裝置3 1按照既定之選擇基準從自 例如所輸入之聲音碼A、聲音碼B以及過去所決定之給第二 選擇裝置41之選擇結果可掌握之儲存裝置40之儲存狀況, 向第二選擇裝置41輸出關於儲存於儲存裝置40之碼之選擇 資訊及向選擇裝置32輸出關於向調變裝置18輸出之碼之選2103-4159-P.ptd Page 21 515191 V. Description of the invention (19) In Figure 7, 30 series switching device, 31 series control device, 3 series selection device, 40 series storage device, 41 series storage device Two selection devices. The third embodiment is the same except that the switching device 30 is different from the first embodiment shown in FIG. 1, and the same reference numerals are assigned, and descriptions thereof are omitted. The operation will be described below with reference to the drawings. Input the voice spoken by the speaker A at the terminal A as the input voice A. A modulation signal B is input from a terminal B to be described later via a line B. The demodulation device 12 demodulates the modulation signal B at a fixed time frame, and outputs the modulation signal B to the sound decoding device 13, the control device 31 in the switching device 30, the second selection device 41, and the selection device 32. The voice code B is obtained. The sound decoding device 13 decodes the sound code B and outputs the digital output sound A to the D / A conversion device 14. The cD / A conversion device 14 performs digital analog conversion (D / A conversion) on the digital output sound A. ), The output is analog output signal A. In addition, the A / D conversion device 16 performs analog digital conversion (A / D conversion) on the input sound A of the speaker A to obtain the digital input sound A of the coefficient signal, and outputs the digital input sound to the sound encoding device 17 A. The voice coding device 17 encodes the digital input voice A at a frame of a fixed time, and outputs the obtained voice code A to the control device 31, the selection device 32, and the second selection device 41 in the switching device 30. The control device 31 in the switching device 30 is stored in the storage device 40 that can be grasped from, for example, the inputted sound code A, sound code B, and the selection result for the second selection device 41 determined in the past according to a predetermined selection criterion. Status, output selection information about the code stored in the storage device 40 to the second selection device 41 and output selection information about the code output to the modulation device 18 to the selection device 32

2103-4159-P.ptd 第22頁 515191 五、發明說明(20) 擇資訊。 在選擇基準例上,有將聲音碼A和聲音碼B實際解碼 後,分析所得到之解碼聲音後,對各訊框判定是聲音或非 聲音,依照其判定結果、在儲存裝置4 0之聲音碼之儲存狀 況以及過去之選擇結果,按照圖8之表選擇之方法。 在圖8,首先將聲音碼A之解碼聲音之聲音/非聲音判 定結果設為狀態A,將聲音碼B之聲音/非聲音判定結果設 為狀態B。又,將在儲存裝置4 0之聲音碼之儲存狀況設為 狀況Μ。將選擇裝置3 2在過去(m — 1時刻)之選擇結果設為 選擇3 2m — 1,將在現在(m時刻)選擇裝置32之選擇結果設 為選擇32m,將在第二選擇裝置41之選擇結果設為選擇 4 1 m 〇 而,在狀態A、狀態B以及狀況Μ之中某一個有聲音或 碼之情況,選擇該聲音碼後輸出。又,在二個以上有聲音 或碼之情況,優先選擇現在輸出中之聲音碼後輸出,將聲 音碼A、聲音碼Β之中不輸出之一方之聲音碼儲存於儲存裝 置40。 藉著照這樣構成,因在說話者A和說話者B同時說話之 情況也可至一方之說話者說完為止先儲存另一方之說話者 之聲音,等到一方之說話者說完後可輸出預先儲存之另一 方之說話者之聲音,在監聽說話者A和說話者B之通話之終 端機C,不會遺漏兩者之通話内容,不會有礙於通話内容 之掌握。 第二選擇裝置4 1按照自控制裝置3 1所輸入之資訊切換2103-4159-P.ptd Page 22 515191 V. Description of the invention (20) Selection information. In the selection criterion example, after actually decoding the sound code A and the sound code B, after analyzing the decoded sounds obtained, it is determined whether each frame is sound or non-sound. According to the determination result, the sound in the storage device 40 is determined. The storage status of the code and the past selection results are selected according to the table in Figure 8. In FIG. 8, first, the voice / non-sound judgment result of the decoded voice of the voice code A is set to state A, and the voice / non-sound judgment result of the voice code B is set to state B. The storage state of the audio code in the storage device 40 is set to the condition M. The selection result of the selection device 3 2 in the past (time of m — 1) is set to selection 3 2m — 1, the selection result of the selection device 32 at now (time of m) is set to selection 32 m, and will be selected in the second selection device 41 The selection result is set to be 4 1 m 0, and if there is a sound or code in any of the state A, state B, and state M, the sound code is selected and output. In addition, in the case where there are two or more sounds or codes, the sound codes currently being output are preferentially selected and output, and one of the sound codes A and B which is not output is stored in the storage device 40. By constituting in this way, since the speaker A and the speaker B speak at the same time, the voice of the speaker of the other party can be stored before the speaker of the other party finishes speaking, and the voice of the other party can be output beforehand. The stored voice of the speaker of the other party is not lost on the terminal C that monitors the conversation between the speaker A and the speaker B, and does not hinder the grasp of the call content. The second selection device 41 switches in accordance with the information input from the control device 31

2103-4159-P.ptd 第23頁 515191 五、發明說明(21) 開關後,向儲存裝置4 0輸出所選擇之聲音碼。儲存裝置4 0 例如係F I F 0型之記憶緩衝器,儲存自該第二選擇裝置4 1所 輸入之聲音碼系列後,按照時間順序依次向選擇裝置3 2輸 出該聲音碼系列。 又,選擇裝置3 2按照自控制裝置3 1所輸入之資訊切換 開關後,將所選擇之聲音碼設為聲音碼A ’ ,向調變裝置1 8 輸出。而,調變裝置18將自切換裝置30所輸入之聲音碼A’ 數位調變後,將所得到之調變信號設為調變信號A,向線 路A輸出。 此外,在上述之實施例,在切換裝置3 0内之控制裝置 3 1,分析解碼聲音後,判定是聲音或非聲音,但是自聲音 碼所含之參數直接決定聲音/非聲音之構造當然也可能。 又,在上述之實施例,在碼切換之選擇基準使用聲音 /非聲音判定結果,但是在選擇基準使用解碼聲音之振幅 等別的資訊之構造當然也可能。 又,在上述之實施例,在切換裝置3 0内之控制裝置3 1 之碼之選擇基準上使用圖8之表所示之方法,但是使用別 的選擇基準之構造當然也可能。此外,適應性的或依據來 自外部之指示切換多個選擇基準之構造當然也可能。 若依據本實施例3,在輸入由說話者A之輸入聲音編碼 後之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼B, 每隔固定時間之訊框選擇聲音碼A和聲音碼B之一方後輸出 之聲音碼切換方法上,在判定需要聲音碼A和聲音碼B雙方 之選擇輸出時,因使得先依次儲存在前訊框未選擇之一方2103-4159-P.ptd Page 23 515191 V. Description of the invention (21) After the switch is turned on, the selected audio code is output to the storage device 40. The storage device 40 is, for example, a F I F 0 type memory buffer. After storing the sound code series inputted by the second selection device 41, the sound device outputs the sound code series to the selection device 3 2 in order. In addition, the selection device 32 switches the switch according to the information input from the control device 31, and sets the selected sound code to the sound code A ', and outputs it to the modulation device 18. Further, the modulation device 18 digitally modulates the voice code A 'input from the switching device 30, sets the obtained modulation signal as the modulation signal A, and outputs it to the line A. In addition, in the above embodiment, the control device 31 in the switching device 30 analyzes the decoded sound and determines whether it is sound or non-sound. However, the parameters of the sound code directly determine the structure of the sound / non-sound. may. Also, in the above-mentioned embodiment, the audio / non-sound determination result is used as the selection criterion for code switching, but it is of course possible to use other information structures such as the amplitude of the decoded speech as the selection criterion. In the above-mentioned embodiment, the method shown in the table of FIG. 8 is used for the selection criterion of the control device 31 in the switching device 30, but a structure using another selection criterion is of course possible. In addition, it is a matter of course that a configuration that switches a plurality of selection bases adaptively or in accordance with an external instruction is also possible. According to the third embodiment, the voice code A and the voice code B encoded by the input voice of the speaker A and the voice code B after the voice input of the speaker B are input, and the voice code A and the voice are selected at a fixed time frame. In the method of switching the sound code output after one of the codes B, when it is determined that the selection output of both the sound code A and the sound code B is required, it is stored in order in the one that is not selected in the previous message box.

2103-4159-P.ptd 第24頁 515191 五、發明說明(22) 之聲音碼,在前訊框所選擇之聲音碼之選擇輸出變成不需 要之訊框以後,按照時間順序依次輸出至那時為止所儲存 之聲音碼系列,具有不會遺漏所需之聲音碼之效果。 在將本實施例3之聲音碼切換方法應用於在多台終端 機間共用2條線路,並在別的終端機也可監聽2台終端機間 之通話之數位化之聲音通訊系統之情況,具有不會遺漏通 話内容,並可避免二次編碼及雙說話聲音之編碼所引起之 品質惡化之效果。 此外,在按照時間順序依次輸出預先所儲存之聲音碼 系列時,將現在之訊框之聲音碼儲存於該聲音碼系列之末 尾下去,在判定所儲存之聲音碼系列係非聲音區間時,因 使得中止儲存該區間之聲音碼,不必記憶和通話内容無關 之非聲音區間,因可使碼之儲存所需之記憶容量變小,具 有可使裝置化規模變小之效果。 實施例4 圖9表示使用本發明之實施例4之聲音碼切換方法之終 端機A之構造。此外,將本終端機A用作圖2 3之終端機A的 變成應用了本發明之聲音碼切換方法之聲音通訊系統之構 造 ° 在圖9,3 0係切換裝置,3 1係控制裝置,3 2係選擇裝 置,4 0係儲存裝置,4 2係第二儲存裝置。本實施例4因除 了切換裝置3 0和圖1所示之實施例1的不同以外,其他都一 樣,賦與相同之符號,省略說明。2103-4159-P.ptd Page 24 515191 V. Description of the invention (22) The sound code is output after the selection of the sound code selected in the previous frame becomes the unnecessary frame, and then is output in that order in that order. The sound code series stored so far has the effect of not missing the required sound code. In the case where the voice code switching method of the third embodiment is applied to a case where a digital voice communication system is used in which two lines are shared between multiple terminals, and the other terminals can also monitor calls between the two terminals, It has the effect of not missing the content of the call, and can avoid the quality deterioration caused by the secondary encoding and the encoding of the two-talk voice. In addition, when the pre-stored sound code series is sequentially output in chronological order, the sound code of the current frame is stored at the end of the sound code series. When it is determined that the stored sound code series is a non-sound interval, This makes it possible to suspend the storage of the audio code in the section, and it is not necessary to memorize the non-sound section that is not related to the content of the call, because the memory capacity required for the storage of the code can be reduced, which has the effect of reducing the device scale. Embodiment 4 Fig. 9 shows a configuration of a terminal A using a voice code switching method according to Embodiment 4 of the present invention. In addition, the use of the terminal A as the terminal A of FIG. 23 becomes the structure of a voice communication system to which the voice code switching method of the present invention is applied. In FIG. 9, 30 is a switching device, and 31 is a control device. 3 2 series selection device, 40 series storage device, 4 2 series second storage device. The fourth embodiment is the same except that the switching device 30 is different from the first embodiment shown in FIG.

2103-4159-P.ptd 第25頁 515191 五、發明說明(23) 以下,依照圖說明動作。 在終端機A以輸入聲音A輸入說話者A所說之聲音。 又,自後述之終端機B經由線路B輸入調變信號B。解調裝 置1 2每隔固定時間之訊框將該調變信號B解調後,向聲音 解碼裝置13、切換裝置30内之控制裝置31、儲存裝置42以 及選擇裝置3 2輸出所得到之聲音碼B。聲音解碼裝置1 3將 該聲音碼B解碼後,向D/A轉換裝置14輸出所得到之數位輸 出聲音A °D/A轉換裝置14對該數位輸出聲音A進行數位類 比轉換(D / A轉換)後,輸出係類比信號之輸出聲音A。 A/D轉換裝置16對該說話者A之輸入聲音A進行類比數 位轉換(A / D轉換)後,得到係數位信號之數位輸入聲音A, 向聲音編碼裝置1 7輸出該數位輸入聲音A。聲音編碼裝置 1 7每隔固定時間之訊框將該數位輸入聲音A編碼後,向切 換裝置30内之控制裝置31、儲存裝置40以及選擇裝置32輸 出所得到之聲音碼A。 切換裝置3 0内之控制裝置3 1按照既定之選擇基準從自 例如所輸入之聲音碼A、聲音碼B及在儲存裝置4 0和儲存裝 置42之過去所決定之聲音碼之儲存狀況,向儲存裝置40輸 出關於是否儲存聲音碼A之資訊、向儲存裝置4 2輸出關於 是否儲存聲音碼B之資訊以及向選擇裝置3 2輸出關於向調 變裝置1 8輸出之碼之選擇資訊。 在選擇基準例上,有將聲音碼A和聲音碼B實際解碼 後,分析所得到之解碼聲音後,對各訊框判定是聲音或非 聲音,依照其判定結果、在儲存裝置4 0和儲存裝置4 2之聲2103-4159-P.ptd Page 25 515191 V. Description of the Invention (23) The following describes the operation according to the figure. Input the voice spoken by the speaker A at the terminal A as the input voice A. A modulation signal B is input from a terminal B to be described later via a line B. The demodulation device 12 demodulates the modulation signal B at a fixed time frame, and outputs the obtained sound to the sound decoding device 13, the control device 31 in the switching device 30, the storage device 42, and the selection device 32. Code B. The sound decoding device 13 decodes the sound code B, and outputs the digital output sound A to the D / A conversion device 14. The D / A conversion device 14 performs digital analog conversion (D / A conversion) on the digital output sound A. ), The output is analog output signal A. The A / D conversion device 16 performs analog digital conversion (A / D conversion) on the input sound A of the speaker A to obtain the digital input sound A of the coefficient signal, and outputs the digital input sound A to the voice encoding device 17. The voice encoding device 17 encodes the digital input sound A at a fixed time frame, and outputs the obtained voice code A to the control device 31, the storage device 40, and the selection device 32 in the switching device 30. The control device 31 in the switching device 30 is stored in accordance with a predetermined selection criterion from the storage status of the inputted audio code A, audio code B, and audio codes determined in the past of the storage devices 40 and 42. The storage device 40 outputs information about whether or not the voice code A is stored, outputs information about whether the voice code B is stored to the storage device 42, and outputs selection information about the code output to the modulation device 18 to the selection device 32. In the selection criterion example, after actually decoding the sound code A and the sound code B, after analyzing the decoded sounds obtained, it is determined whether each frame is sound or non-sound. According to the determination result, it is stored in the storage device 40 and stored Device 4 2 Voices

2103-4159-P.ptd 第26頁 515191 五、發明說明(24) 音=儲f狀況以及過去之選擇 -部分之表選擇之方法。在圖1〇,首先:j”0表,其 聲音之聲音/非聲音判定百$將,音碼A之解碼 音"…判定結果設為二'為又狀,在】之聲 存狀況設為狀況MA,將在儲u存裝置42之存裝置40之儲 MB。還將選擇裝置32在過去二41時刻)= = =況設為狀況 擇m—Ι,將選擇裝置32在刻)k摆擇^果设為選 擇m。 你V丨丨丨吋% J之選擇結果設為選 =:在狀態A、狀態B、狀況MA以及狀況 ί JC況’選擇該聲音碼後輸出。又:::: 上有丰曰或碼之情況,優先選擇現在輸出 一個以 J儲、聲音碼b之中不輸出之一方之·; 於儲存裝置40或儲存裝置42。洚曰螞儲存 者A和說話者3同時說 =者…绝樣構成,因在說話 止先儲存另一Ξ:ΐΐί情=也可至一方之說話者說完為 後可輸出預先聲音’等到-方之說話者說完 又,不η= 另一方之說話者之聲音。 存,藉著“ί;二儲Λ裝立置切換聲音碼“°聲音碼Β後儲 預先儲存之說㈣存裝置,在輸出 話之情況,也因Ϊ Ϊ Βΐ二,中且說話者Α和說話者Β同時說 監聽說話者A和戈:子並§己憶兩說話者之聲音碼,在 之通話内容,不舌右者^之通話之終端機C ’不會遺漏兩者 ΜΛ有礙於通話内容之掌握。 儲存4置4 0例如係F丨F 〇型 存自該控制裝置3 1所^ ,之记隐綾衝器,按照是否儲 戒置31所輸入之聲音碼a之資訊,儲存自聲音2103-4159-P.ptd Page 26 515191 V. Description of the Invention (24) Tone = storage f status and past choices-part of the table selection method. In FIG. 10, firstly: j "0 table, the sound voice / non-sound judgment is 100 dollars, the decoded tone of code code A " ... the determination result is set to two, and the sound state is set For the condition MA, the storage MB of the storage device 40 will be stored in the storage device 42. The selection device 32 will also be selected in the past two 41 moments) = = = The condition is set to the condition selection m-1, and the selection device 32 will be selected at the moment) k The selection result is set to selection m. You V 丨 丨 丨 %% J's selection result is set to selected =: In state A, state B, state MA, and state J JC state 'select this sound code and output. And :: :: There is a case of Feng or OR, it is preferred to output one that is not stored in J storage and sound code b. It is stored in storage device 40 or storage device 42. 洚 Saiter A and speaker 3 Simultaneous speaking = person ... a perfect composition, because the other one is stored before speaking: ΐΐί 情 = You can also output a pre-voice after the speaker of one side finishes speaking, 'Wait until the speaker of the side finishes speaking, no η = the voice of the speaker of the other party. Save, by "ί; Er Chu Λ installs the switch voice code" ° Voice code B and then store the pre-stored saying ㈣ The device, in the case of outputting the words, is also due to Ϊ Ϊ ΒΐII, and the speaker A and the speaker B simultaneously listen to the speaker A and the Go: son and § have recalled the voice codes of the two speakers, The terminal C 'of the call that does not speak the right ^ will not miss the two ΜΛ, which hinders the grasp of the content of the call. The storage 4 and 4 0 are, for example, F 丨 F 〇 stored in the control device 31, ^, The hidden punch is stored from the sound according to whether the sound code a entered in 31 is stored or not.

515191 五、發明說明(25) 編碼裝置1 7所輸入之聲音碼系列後,按照時間順序依次向 選擇裝置32輸出該聲音碼系列。儲存裝置42例如係FIFO型 之記憶緩衝器,按照是否儲存自該控制裝置3 1所輸入之聲 音碼B之資訊,儲存自解調裝置1 2所輸入之聲音碼系列 後,按照時間順序依次向選擇裝置3 2輸出該聲音碼系列。 選擇裝置3 2按照自控制裝置3 1所輸入之資訊切換開關 後,將所選擇之聲音碼A或B設為聲音碼A ’,向調變裝置1 8 輸出。而,調變裝置1 8將自切換裝置3 0所輸入之聲音碼A ’ 數位調變後,將所得到之調變信號設為調變信號A,向線 路A輸出。 此外,在上述之實施例,在切換裝置3 0内之控制裝置 3 1 ,分析解碼聲音後,判定是聲音或非聲音,但是自聲音 碼所含之參數直接決定聲音/非聲音之構造當然也可能。 又,在上述之實施例,在碼切換之選擇基準使用聲音 /非聲音判定結果,但是在選擇基準使用解碼聲音之振幅 等別的資訊之構造當然也可能。 又,在上述之實施例,在切換裝置3 0内之控制裝置3 1 之碼之選擇基準上使用按照在圖1 0表示其一部分之表之方 法,但是使用別的選擇基準之構造當然也可能。此外,適 應性的或依據來自外部之指示切換多個選擇基準之構造當 然也可能。 若依據本實施例4,在輸入由說話者A之輸入聲音編碼 後之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼B, 每隔固定時間之訊框選擇聲音碼A和聲音碼B之一方後輸出515191 V. Description of the invention (25) After the sound code series input by the encoding device 17 is output, the sound code series is sequentially output to the selection device 32 in chronological order. The storage device 42 is, for example, a FIFO-type memory buffer. According to whether or not the information of the sound code B input from the control device 31 is stored, and the sound code series input from the demodulation device 12 is stored, it is sequentially sent to the chronological order. The selection device 3 2 outputs the sound code series. The selection device 3 2 switches the switch according to the information input from the self-control device 31, and sets the selected sound code A or B as the sound code A ', and outputs it to the modulation device 18. Further, the modulation device 18 digitally modulates the voice code A 'input from the switching device 30, and sets the obtained modulation signal as the modulation signal A and outputs it to the line A. In addition, in the above-mentioned embodiment, the control device 3 1 in the switching device 30 analyzes and decodes the sound and determines whether it is sound or non-sound. However, the parameters of the sound code directly determine the structure of the sound / non-sound. may. Also, in the above-mentioned embodiment, the audio / non-sound determination result is used as the selection criterion for code switching, but it is of course possible to use other information structures such as the amplitude of the decoded speech as the selection criterion. Further, in the above-mentioned embodiment, the method of selecting the code of the control device 31 in the switching device 30 according to the table showing a part of it in FIG. 10 is used, but a structure using another selection standard is of course possible. . In addition, it is of course possible to adapt a configuration that switches multiple selection criteria according to external instructions. If according to the fourth embodiment, the voice code A encoded by the input voice of the speaker A and the voice code B encoded by the input voice of the speaker B are input, and the voice code A and the voice are selected at a fixed time frame. Output after one of the codes B

2103-4159-P.ptd 第28頁 515191 五、發明說明(26) 之聲音碼切換方法上,在判定需要聲音碼A和聲音碼B雙方 之選擇輸出時,因使得先依次儲存在前訊框未選擇之一方 之聲音碼,在前訊框所選擇之聲音碼之選擇輸出變成不需 要之訊框以後,按照時間順序依次輸出至那時為止所儲存 之聲音碼系列,具有不會遺漏所需之聲音碼之效果。 此外,因包括各自個別的儲存聲音碼A和聲音碼B之裝 置,在將本實施例4之聲音碼切換方法應用於在多台終端 機間共用2條線路,並在別的終端機也可監聽2台終端機間 之通話之數位化之聲音通訊系統之情況,具有在輸出預先 儲存之聲音碼系列中說話者A、說話者B同時說話也不會遺 漏通話内容,並可避免二次編碼及雙說話聲音之編碼所引 起之品質惡化之效果。 此外,在按照時間順序依次輸出預先所儲存之聲音碼 系列時,將現在之訊框之聲音碼儲存於該聲音碼系列之末 尾下去,在判定所儲存之聲音碼系列係非聲音區間時,因 使得中止儲存該區間之聲音碼,不必記憶和通話内容無關 之非聲音區間,因可使碼之儲存所需之記憶容量變小,具 有可使裝置化規模變小之效果。 實施例5 圖1 1表示使用本發明之實施例5之聲音碼切換方法之 終端機A之構造。此外,將本終端機A用作圖23之終端機A 的變成應用了本發明之聲音碼切換方法之聲音通訊系統之 構造。2103-4159-P.ptd Page 28 515191 5. In the voice code switching method of invention description (26), when it is determined that the choice of both voice code A and voice code B is required, it is stored in the front frame in order. If the voice code of one party is not selected, after the selected output of the voice code selected in the previous frame becomes the unnecessary frame, the sound code series stored up to that time will be output in order in chronological order. The effect of voice code. In addition, since the voice code A and voice code B devices are separately included, the voice code switching method of the fourth embodiment is applied to share two lines between multiple terminals, and can also be used in other terminals. Monitor the situation of digital audio communication system for calls between 2 terminals, with speaker A and speaker B outputting the pre-stored voice code series, and will not miss the call content, and avoid secondary coding And the quality deterioration caused by the encoding of the two-speaking voice. In addition, when the pre-stored sound code series is sequentially output in chronological order, the sound code of the current frame is stored at the end of the sound code series. When it is determined that the stored sound code series is a non-sound interval, This makes it possible to suspend the storage of the audio code in the section, and it is not necessary to memorize the non-sound section that is not related to the content of the call, because the memory capacity required for the storage of the code can be reduced, which has the effect of reducing the scale of the device. Embodiment 5 Fig. 11 shows the structure of a terminal A using a voice code switching method according to Embodiment 5 of the present invention. In addition, the use of the terminal A as the terminal A of Fig. 23 has a structure of a voice communication system to which the voice code switching method of the present invention is applied.

2103-4159-P.ptd 第29頁 515191 五 發明說明(27) 在圖1 1,3 0係切換裝置,3 1係控制裝置,3 2係選擇裝 置,4 0係儲存裝置,4 2係第二儲存裝置,4 3係變更碼產生 襞置。本實施例5因除了切換裝置3 0和圖1所示之實施例1 的不同以外,其他都一樣,賦與相同之符號,省略說明。 以下,依照圖說明動作。 在終端機A以輸入聲音A輸入說話者a所說之聲音。 又’自後述之終端機B經由線路B輸入調變信號b。解調裝 置1 2每隔固定時間之訊框將該調變信號b解調後,向聲音 解碼裝置13、切換裝置30内之控制裝置31、儲存裝置42以 及選擇裝置32輸出所得到之聲音碼B。聲音解碼裝、置13 解碼後,向D/A轉換裝置14輸出所得到之數位輪 出聲音A。D/A轉換裝置14對該數位輸出聲音 位輸 比轉換(D/A轉換)後,輸出係類比信號之輪 ^數位類 A/D轉換裝置16對該說話者a之輸入聲立 位轉換(A / D轉換)後,得到係數位信號 曰進仃類比數 向^音編碼裝置17輸出該數位輸入聲音a。1輪入聲音A, 1 7每隔固定時間之訊框將該數位輸 ^ 聲音編碼裴置 ;裝,内之控制裝置31、儲存以編碼後,向㊁ 出所知到之聲音碼A。 及選擇裝置3 2於 切換裝置3 〇内之控制裝置3 1按昭既〜 别 :,所輸入之聲音碼A、聲音碼b及在、二選擇基 置42之過去所決定之聲音碼之 存裝置4〇 足自 出關於是否儲存聲音碼A ^,向儲存署存裝 是否儲存聲音之資訊以及:選 於向調2103-4159-P.ptd Page 29 515191 Five descriptions of the invention (27) In Figure 1, 1, 3 0 series switching device, 31 1 control device, 3 2 selection device, 40 storage device, 4 2 series Two storage devices, 4 3 series change code generation settings. The fifth embodiment is the same except that the switching device 30 and the first embodiment shown in FIG. 1 are the same, and the same reference numerals are assigned, and the description is omitted. The operation will be described below with reference to the drawings. On the terminal A, the voice of the speaker a is input as the voice A. Also, a modulation signal b is input from a terminal B to be described later via a line B. The demodulation device 12 demodulates the modulation signal b at a fixed time frame, and outputs the obtained audio code to the sound decoding device 13, the control device 31 in the switching device 30, the storage device 42, and the selection device 32. B. After the sound decoding device 13 has decoded it, it outputs to the D / A conversion device 14 the digitally turned sound A. After the D / A conversion device 14 converts the digital output sound bit-to-ratio (D / A conversion), the output is a wheel of an analog signal ^ The digital A / D conversion device 16 performs vertical conversion on the input sound of the speaker a ( After A / D conversion), the coefficient-bit signal is obtained, and the analog digital is output to the audio encoding device 17 to output the digital input sound a. The sound A is input in 1 round, and the digital input signal is set at a fixed time frame. The sound control code 31 is installed in the control device 31. After storing the code, the known sound code A is output to the receiver. And the selection device 3 2 the control device 3 in the switching device 3 〇 Press the key to indicate the other: the input of the sound code A, the sound code b, and the sound code determined in the past by the selection base 42 The device 40 comes out with information about whether to store the sound code A ^, stores information on whether to store sound in the storage department and:

515191 五、發明說明(28) 變裝置1 8輪出之碼之選擇資訊。 f 擇基準例上,有將聲音碼A和聲音碼β實魅 j丄分:所得到之解碼聲音後,對各訊框 : 之2〒定:果、在儲存裝置40和健存裝kii 曰馬之儲存狀況以及過去之選之聲 一部分之表選擇之方法。 杈”、、社圆1 2表示其 —在圖1 2,首先將聲音碼A之解碼聲音之聲音/ iit設為狀態^將聲音碼β之聲音/非聲音判定^果音列 又,將在館存裝置4〇之錯存狀況設為狀心 妒7¾子扃置42之儲存狀況設為狀況Μβ。還將選摆裝, 2時刻)之選擇結果設為選擇m -2,i 置32 32在過去(m—1時刻)之選擇結果設將選擇襄置 置32J現在(m時,)之選擇結果設為選擇,將選擇裝 ,在作為聲音碼A ’輪出之應 存裝置40之碼變更為聲音碼β或儲·、'聲音碼A或儲存於儲 情況,或者相反的自聲音碼6 ^ 儲存裝置42之碼之 ί ΐ ί Π“或儲存於儲存裝置40 ^ : ί袭置42之碼變 更碼產生裝置43輪出之表 之馬之情況’選擇自變 藉著照這樣構成,在監竭後輪出。 ίΐ:ν因可識別碼切換時刻'°預先1,料之通話之 J有^生之可能性之輸出聲察見在該碼切換時 和等特殊之處S,可提高品之質不連續性後,可進行緩 儲存裝置40例如係FIF〇型, 存自該控制裝置31所輸入之聲音碼衝器,#照是否儲 〈貝矾,儲存自聲音 2103-4159-P.ptd 第31頁 515191 五、發明說明(29) 編碼裝置1 7所輸入之聲音碼系列後,按照時間順序依次向 選擇裝置3 2輸出該聲音碼系列。 儲存裝置4 2例如係F I F 0型之記憶緩衝器,按照是否儲 存自該控制裝置3 1所輸入之聲音碼B之資訊,儲存自解調 裝置1 2所輸入之聲音碼系列後,按照時間順序依次向選擇 裝置3 2輸出該聲音碼系列。 又,變更碼產生裝置4 3產生表示聲音碼之切換之特殊 之碼C後,向選擇裝置3 2輸出。選擇裝置3 2按照自控制裝 置3 1所輸入之資訊切換開關後,將所選擇之聲音碼設為聲 音碼A ’,向調變裝置1 8輸出。而,調變裝置1 8將自切換裝 置3 0所輸入之聲音碼A ’數位調變後,將所得到之調變信號 設為調變信號A,向線路A輸出。 此外,在上述之實施例,在切換裝置3 0内之控制裝置 3 1,分析解碼聲音後,判定是聲音或非聲音,但是自聲音 碼所含之參數直接決定聲音/非聲音之構造當然也可能。 又,在上述之實施例,在碼切換之選擇基準使用聲音 /非聲音判定結果,但是在選擇基準使用解碼聲音之振幅 等別的資訊之構造當然也可能。 又,在上述之實施例,在切換裝置3 0内之控制裝置3 1 之碼之選擇基準上使用按照在圖1 2表示其一部分之表之方 法,但是使用別的選擇基準之構造當然也可能。此外,適 應性的或依據來自外部之指示切換多個選擇基準之構造當 然也可能。 又,在上述之實施例,自變更碼產生裝置43輸出之碼515191 V. Description of the invention (28) The selection information of the code for the eighteen rounds of the changing device. f In the selected reference example, there are the sound code A and the sound code β, which are divided into two parts: after the decoded sound is obtained, for each frame: 2 is determined: the result is stored in the storage device 40 and the health storage device. The state of horse storage and the method of table selection as part of the voice of the past. "", "Sheyuan 12" shows it-in Figure 12, first the sound / iit of the decoded sound of sound code A is set to the state ^ the sound / non-sound of sound code β is determined ^ the fruit sound column will be in The storage status of the storage device 40 is set to the state of jealousy 7¾ and the storage status of the device 42 is set to the status Mβ. The selection result is also selected, 2 time) is set to select m -2, i is set to 32 32 In the past (m-1 time), the selection result is set to set the selection result to 32J. Now (m time,), the selection result is set to selection, and the selection is installed, and the code of the stored device 40 changed as the sound code A 'turns out. It is a sound code β or storage, "Voice code A may be stored in storage, or vice versa, from the sound code 6 ^ code of storage device 42 ί ΐ ί Π" or stored in storage device 40 ^: ί 袭 置 42 的In the case of a horse that is rotated out by the code change code generating device 43, the self-variation is chosen to be constituted in this way, and it is rotated out after exhaustion. ίΐ: ν Because the identifiable code switching time is' ° in advance 1, it is possible that the J of the call has a possibility to produce an output sound. See when the code is switched and the special place S, it can improve the quality discontinuity of the product. Later, a slow storage device 40 such as a FIF0 type can be stored in the voice code punch inputted by the control device 31. # Photo is stored as <Beer, stored from the sound 2103-4159-P.ptd page 31 515191 V. Description of the invention (29) After the sound code series input by the encoding device 17 is output, the sound code series is sequentially output to the selection device 3 2 in order of time. The storage device 4 2 is, for example, a memory buffer of type FIF 0, according to whether the information of the sound code B input from the control device 31 is stored, and the sound code series input from the demodulation device 12 is stored in chronological order. The sound code series is sequentially output to the selection device 3 2. In addition, the change code generating device 43 generates a special code C indicating the switching of the audio code, and outputs it to the selecting device 32. The selecting device 3 2 switches the switch according to the information inputted from the self-controlling device 31, and sets the selected voice code to the voice code A 'to output to the modulation device 18. In addition, the modulation device 18 digitally modulates the voice code A 'input from the switching device 30, and sets the obtained modulation signal as the modulation signal A, and outputs it to the line A. In addition, in the above embodiment, the control device 31 in the switching device 30 analyzes the decoded sound and determines whether it is sound or non-sound. However, the parameters of the sound code directly determine the structure of the sound / non-sound. may. Also, in the above-mentioned embodiment, the audio / non-sound determination result is used as the selection criterion for code switching, but it is of course possible to use other information structures such as the amplitude of the decoded speech as the selection criterion. In the above-mentioned embodiment, the method of selecting the code of the control device 31 in the switching device 30 according to the table shown in FIG. 12 is used, but a structure using another selection standard is of course possible. . In addition, it is of course possible to adapt a configuration that switches multiple selection criteria according to external instructions. Moreover, in the above-mentioned embodiment, the code output from the change code generating device 43

2103-4159-P.ptd 第32頁 515191 五、發明說明(30) 係單一也可,係使得表示自聲音碼A往聲音碼B之變更之碼 與表示自聲音碼B往聲音碼A之變更之碼不同的等使用多種 碼之構造當然也可能。 若依據本實施例5,在輸入由說話者A之輸入聲音編碼 後之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼B, 每隔固定時間之訊框選擇聲音碼A和聲音碼B之一方後輸出 之聲音碼切換方法上,在聲音碼A和聲音碼B之選擇變了之 訊框,因使得以該訊框之聲音碼輸出表示選擇變了之資 訊,在輸出表示該選擇變了之資訊後,依次輸出預先儲存 之聲音碼系列,具有自所輸出之聲音碼系列可正確的識別 聲音碼A和聲音碼B之切換時刻之效果。 在將本實施例5之聲音碼切換方法應用於在多台終端 機間共用2條線路,並在別的終端機也可監聽2台終端機間 之通話之數位化之聲音通訊系統之情況,因可識別具有發 生輸出聲音之不連續性之可能性之碼切換時刻,可採用進 行消除該不連續之特殊處理等對策,具有可提高通話品質 之效果。 實施例6 圖1 3表示使用本發明之聲音碼切換方法之終端機A之 構造。此外,將本終端機A用作圖2 3之終端機A的變成應用 了本發明之聲音碼切換方法之聲音通訊系統之構造。 在圖1 3,3 0係切換裝置,3 1係控制裝置,3 2係選擇裝 置。本實施例6因除了切換裝置3 0内之控制裝置3 1之構2103-4159-P.ptd Page 32 515191 V. Description of the invention (30) It may be a single code, which means that the code representing the change from voice code A to voice code B and the code representing the change from voice code B to voice code A Of course, it is also possible to use a structure with multiple codes. According to the fifth embodiment, the voice code A and the voice code B encoded by the input voice of the speaker A and the voice code B of the input voice encoded by the speaker B are input, and the voice code A and the voice are selected at a fixed time frame. In the method for switching the sound code output after one of the codes B, the selection of the sound code A and the sound code B is changed, so that the sound code of the frame is used to output the information indicating that the selection has changed. After the changed information is selected, the pre-stored voice code series is output in sequence, which has the effect of correctly identifying the switching time of the voice code A and the voice code B from the output voice code series. In the case where the voice code switching method of the fifth embodiment is applied to a case where a digital voice communication system is used in which two lines are shared between multiple terminals, and another terminal can also monitor calls between the two terminals, Since the code switching time that has the possibility of discontinuity of the output sound can be identified, countermeasures such as special processing to eliminate the discontinuity can be adopted, which has the effect of improving call quality. Embodiment 6 Fig. 13 shows a structure of a terminal A using the voice code switching method of the present invention. In addition, the use of the terminal A as the terminal A of Fig. 23 becomes a structure of a voice communication system to which the voice code switching method of the present invention is applied. In Figure 1, 3, 30 series switching devices, 31 series control devices, and 32 series selection devices. In the sixth embodiment, the structure of the control device 31 in addition to the switching device 30

2103-4159-P.ptd 第33頁 515191 、發明說明(31) 造’即在控制裝置3 1輸入係關於簦立派♦ i ^ J 1 i &quot; 樣,鹎與相同之符號,省略說明。 卜/、他都一 以下,依照圖說明動作。 ,終端機A以輸入聲音A輸入說話者A =[自後述之終端機B經由線路B輸入調變信♦曰 上述所示,輸入係關於聲音碼之優弁: _卜, 輸入E。解調裝置12每隔固定時間 ^擇之/a不之外部 調後,向聲音解碼裝置13和切換f置^將//變信號B解 及選擇裝置32輸出所得到之聲:ί;Β置3〇簦内上控制裝置31以 該聲音碼β解碼後,向D/Α轉換裝置丨4浐出曰碼裝置1 3將 出聲音…轉換装置“對該= 比轉換(D/A轉換)後,輸出係類比信號之輸出聲立a。 A/D轉換裝置16對該輸入聲音a進行類比數位 :巧)严’得到係數位信號之數位輸入聲音A。聲音編( 置17母隔固定時間之訊框將該數位輸入聲音A編碼後,衣 切換裝置30内之控制裝置31及選擇裝置32輸出所得 ° 音碼A。控制裝置3 1按照該外部輸入E及既定之選擇美 擇所輸入之聲音碼A和聲音碼B之中之一方後,向選^梦= 32輸出關於選擇了哪一方之資訊。 、 、 在選擇基準例上’有依照將聲音碼A和聲音碼B實於 碼後所得到之2個解碼聲音之振幅A和振幅b以及係在過 (m — 1時刻)之選擇結果之選擇m — 1,按照圖丨4所示之^ 選擇之方法。圖1 4係在自外部輸入E有指示之情況,選;1擇*^2103-4159-P.ptd Page 33 515191 、 Instruction of the invention (31) Manufactured, that is, the input of the control device 3 1 is about the Li Pi ♦ i ^ J 1 i &quot; Bu /, he is all the following, according to the figure to explain the action. , Terminal A inputs speaker A with input voice A = [from terminal B, which will be described later, enters a modulation letter via line B. ♦ As mentioned above, the input is about the sound code: _bu, enter E. The demodulation device 12 selects / a at a fixed time, and then sends it to the sound decoding device 13 and the switch f ^ to decode the variable signal B and output the obtained sound to the selection device 32: Β; 30. The internal control device 31 decodes the sound code β, and then outputs the code to the D / A conversion device. 4 The code device 1 outputs the sound ... After the conversion device converts to the ratio conversion (D / A conversion), The output is the output sound of the analog signal A. The A / D conversion device 16 performs an analog digit on the input sound a: Qiao) to obtain the digital input sound A of the coefficient signal. After the frame encodes the digital input sound A, the control device 31 and the selection device 32 in the clothing switching device 30 output the resulting ° code A. The control device 3 1 selects the input sound according to the external input E and the predetermined selection. One of the code A and the voice code B, and outputs information about which one is selected to the dream ^ 32. On the selection reference example, there is a case where the voice code A and the voice code B are implemented after the code. Get the amplitude A and amplitude b of the two decoded sounds and the choice of the time (m — 1 time) If the selection of m - 1 ^ according to the method of FIG Shu select lines of FIG. 14 in the case where there is input from the outside indicating the E 4, selected from; select * ^ 1.

515191 五、發明說明(32) 所指示之聲音碼,而在無來自外部輸入E之指示之情況, 在2個解碼聲音之振幅差比臨限值t h大之情況選擇振幅大 的,而在比臨限值t h小之情況選擇和過去之選擇結果m — 1 相同的,然後,決定係現在(m時刻)之選擇結果之選擇m。 藉著照這樣構成,在監聽說話者A和說話者B之通話之 終端機C,因在說話者A和說話者B同時說話之情況也可送 出想優先通知之内容,可確實的進行指示或連絡等。 選擇裝置3 2按照自該控制裝置3 1所輸入之資訊切換開 關,將所選擇之聲音碼設為聲音碼A,向調變裝置1 8輸 出。然後,調變裝置1 8將自切換裝置3 0輸入之聲音碼A ’數 位調變後,將所得到之調變信號作為調變信號A,向線路A 輸出。 此外,在上述實施例,在切換裝置3 0内之控制裝置3 1 之聲音碼之選擇基準上使用圖1 4所示之方法,但是使用別 的選擇基準之構造當然也可能。此外,適應性的或依據來 自外部之指示切換這些多種選擇基準後使用之構造當然也 可能。 又,在上述之實施例,使得依據實施例1自外部受理 既定之輸入後,按照該既定之輸入優先選擇一方之聲音 碼,但是依據別的實施例之構造當然也可能。 若依據本實施例6 ’在輸入由說話者A之輸入聲音編碼 後之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼B, 每隔固定時間之訊框選擇聲音碼A和聲音碼B之一方後輸出 之聲音碼切換方法上,因受理了來自外部之既定之輸入515191 V. The sound code indicated in the description of the invention (32). In the case where there is no instruction from external input E, when the amplitude difference between the two decoded sounds is greater than the threshold th, the larger one is selected. In the case where the threshold th is small, the selection is the same as the previous selection result m — 1, and then, it is determined that the selection m is the current (time m) selection result. By constituting in this way, the terminal C that monitors the conversation between the speaker A and the speaker B can send the content to be notified in priority when the speaker A and the speaker B are talking at the same time, and can give instructions or Contact, etc. The selection device 3 2 switches the switch according to the information input from the control device 31, sets the selected sound code to the sound code A, and outputs it to the modulation device 18. Then, the modulation device 18 modulates the voice code A 'input from the switching device 30 digitally, and uses the obtained modulation signal as the modulation signal A to output to the line A. In addition, in the above-mentioned embodiment, the method shown in FIG. 14 is used as the selection standard of the voice code of the control device 31 in the switching device 30, but a structure using another selection standard is of course possible. In addition, it is of course possible to use a configuration that is adapted after switching between these multiple selection criteria based on external instructions. Moreover, in the above-mentioned embodiment, after a predetermined input is accepted from the outside according to the first embodiment, a voice code of one party is preferentially selected according to the predetermined input, but a structure according to another embodiment is of course possible. If according to this embodiment 6 ', the voice code A coded by the input voice of the speaker A and the voice code B coded by the input voice of the speaker B are selected, and the voice code A and the voice are selected at a fixed time frame. In the method of switching the voice code output after one of the codes B, because the predetermined input from the outside is accepted

2103-4159-P.ptd 第35頁 515191 五、發明說明(33) 時,使得按照該既定之輸入優先選擇一方之聲音碼,具有 可確實的送出所要之聲音碼之效果。 在將本實施例6之聲音碼切換方法應用於在多台終端 機間共用2條線路,並在別的終端機也可監聽2台終端機間 之通話之數位化之聲音通訊系統之情況,具有可送出想優 先通知之内容、可確實的進行指示或連絡等之效果。 實施例7 使用本實施例7之聲音碼切換方法之終端機A之構造和 圖1所示實施例1的一樣。圖1 5表示在本發明之實施例7之 聲音碼切換方法之終端機A之切換裝置3 0内之控制裝置3 1 使用之碼之選擇基準。 在圖1 5,依照將聲音碼A和聲音碼B解碼後所得到之解 碼聲音之振幅及過去之選擇結果,在聲音碼A之解碼聲音 之振幅比某臨限值t h大之情況優先選擇聲音碼A。在除此 以外之情況,依照和上述實施例1 一樣之基準選擇。藉著 照這樣構成,對於和說話者A通話之說話者B及在別的終端 機監聽的人,因可優先送出說話者A之說話内容,可確實 的進行指示或連絡等。 此外,在上述實施例,使用和圖1 5所示的不同之選擇 基準之構造當然也可能。此外,適應性的或依據來自外部 之指示切換這些多種選擇基準後使用之構造當然也可能。 又,在上述之實施例,使得依據實施例1,不管聲音 碼B,令具有當聲音碼A滿足既定條件時優先選擇之例外條2103-4159-P.ptd Page 35 515191 5. In the description of the invention (33), the voice code of one party is preferentially selected according to the predetermined input, which has the effect of reliably sending the desired voice code. In the case where the voice code switching method of the sixth embodiment is applied to a case where a digital voice communication system is used in which two lines are shared between multiple terminals, and the other terminals can also monitor calls between the two terminals, It has the effects of giving priority to the content you want to send, and giving reliable instructions and contact. Embodiment 7 The structure of the terminal A using the voice code switching method of the embodiment 7 is the same as that of the embodiment 1 shown in FIG. FIG. 15 shows a selection criterion of a code used by the control device 31 in the switching device 30 of the terminal A in the voice code switching method of the seventh embodiment of the present invention. In FIG. 15, according to the amplitude of the decoded sound obtained by decoding the sound code A and the sound code B and the past selection results, the sound is preferentially selected when the amplitude of the decoded sound of the sound code A is greater than a certain threshold th Code A. Otherwise, the selection is made on the same basis as in the first embodiment. With this structure, speaker B who talks to speaker A and a person monitoring at another terminal can give priority to the contents of speaker A's speech, and can reliably give instructions or contact information. In addition, in the above embodiment, a structure using a selection criterion different from that shown in Fig. 15 is of course possible. In addition, it is of course possible to use a structure that is adapted or switched after switching among these multiple selection bases according to external instructions. Moreover, in the above-mentioned embodiment, according to Embodiment 1, regardless of the voice code B, an exception condition is given to preferentially select when the voice code A meets a predetermined condition.

2103-4159-P.ptd 第36頁 515191 五、發明說明(34) 件,但是依據別的實施例之構造當然也可能。 若依據本實施例7 5在輸入由說話者A之輸入聲音編碼 後之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼B, 每隔固定時間之訊框選擇聲音碼A和聲音碼B之一方後輸出 之聲音碼切換方法上,因不管聲音碼B,令具有當聲音碼A 滿足既定條件時優先選擇之例外條件,具有可確實的送出 聲音碼A之效果。 在將本實施例7之聲音碼切換方法應用於在多台終端 機間共用2條線路,並在別的終端機也可監聽2台終端機間 之通話之數位化之聲音通訊系統之情況,具有在通話者間 通話内容不會遺漏、可確實的進行指示或連絡等之效果。 實施例8 圖1 6表示使用本發明之實施例8之聲音碼切換方法之 終端機A之構造。本實施例8係在上述之實施例1附加了錯 誤訂正處理的。此外,將本終端機A用作圖2 3之終端機A的 變成應用了本發明之聲音碼切換方法之聲音通訊系統之構 造。 在圖1 6,4 5係對來自聲音編碼裝置1 7之資料碼A附加 了錯誤訂正碼A後作為聲音碼A輸出之錯誤訂正編碼裝置, 4 6係將來自解調裝置1 2之聲音碼B之錯誤訂正碼B解碼之錯 誤訂正解碼裝置,3 0係切換裝置,3 1係控制裝置,3 2係選 擇裝置。4 7係該切換裝置3 0内之錯誤訂正解碼裝置,48係 一樣該切換裝置3 0内之錯誤訂正編碼裝置。2103-4159-P.ptd Page 36 515191 V. Description of the Invention (34), but of course the structure according to other embodiments is also possible. If the voice code A encoded by the input voice of the speaker A and the voice code B encoded by the input voice of the speaker B are input according to the present embodiment, the voice code A and the voice are selected at a fixed time frame. In the method of switching the sound code output after one of the codes B, because the sound code B is ignored, the exception condition is preferred when the sound code A meets the predetermined conditions, and the effect of sending the sound code A can be guaranteed. In the case where the voice code switching method of the seventh embodiment is applied to a case where a digital voice communication system is used in which two lines are shared between multiple terminals, and another terminal can also monitor calls between the two terminals, It has the effect that the call content will not be missed among the callers, and the instructions or contacts can be reliably performed. Embodiment 8 Fig. 16 shows the structure of a terminal A using a voice code switching method according to Embodiment 8 of the present invention. In the eighth embodiment, an error correction process is added to the first embodiment described above. In addition, the use of the terminal A as the terminal A of Fig. 23 becomes a structure of a voice communication system to which the voice code switching method of the present invention is applied. In Figs. 16, 4, 5 are error correction coding devices that add error correction code A to data code A from sound encoding device 17, and output them as sound code A. 4 6 are sound codes from demodulation device 12. Error correction code for B. Error correction decoding device for B decoding. 30 is a switching device, 31 is a control device, and 32 is a selection device. 4 7 is the error correction decoding device in the switching device 30, and 48 is the same error correction encoding device in the switching device 30.

2103-4159-P.ptd 第37頁 515191 五、發明說明(35) 省略H,因和圖1相同之符號表示相同或相當之部分, 以下,依照圖說明動作。 又,=”1以輸入聲音,入說話者A所說之聲音。 又自後述之終端機B經由線路B輸入調變彳古。 置12,固定時間之訊框將該調變“d, 口 ::ϊγ音6:切換裝置3 碼Β構該点聲音:Β利用表示聲音資料之資料碼8和其錯誤訂正 舞構立成。錯誤訂正解碼裝置46向聲音解碼裝置13輸出 〇耳=碼Β進打錯誤訂正後所得到之資料碼β。 “輸2103-4159-P.ptd Page 37 515191 V. Description of the invention (35) H is omitted, because the same symbols as in Fig. 1 indicate the same or equivalent parts. Hereinafter, the operation will be explained in accordance with the drawings. Also, = "1 to input the voice, the voice spoken by A. Also input the modulation from the terminal B described below via line B. Set 12, the fixed time frame to the modulation" d, mouth :: ϊγ 音 6: Switching device 3 code B constructs this point of sound: Β is constructed using data code 8 representing the sound data and its error correction dance. The error correction decoding device 46 outputs 〇 ear = code B to the audio decoding device 13 to enter the data code β obtained after the error correction. "lose

Κ以VI數位類比轉換(D/A轉換)後,輸出係“信 餹旅轉換裝置16對該輸入聲音A進行類比數位轉換(A/D 錯誤訂正編碼J ί ΐ將該數位輸入聲音A編碼後,向 碼裝置45對該^料碼/附力所得到之資料碼A。錯誤訂正編 音碼A。 w裝置31及選擇裝置32輪出該聲 切換裝置3 0内之錯^ 裝置48輸出對所輸人之^ f 土解碼裝置47向錯誤訂正編碼 卓曰碼B進行錯誤訂正後所得到之Κ After VI digital analog conversion (D / A conversion), the output is "the digital signal conversion device 16 performs analog digital conversion on the input sound A (A / D error correction code J ί ΐ) after encoding the digital input sound A , To the code device 45, the data code A obtained by the ^ material code / attached force. Wrong correction coded code A. w device 31 and selection device 32 round out the error in the sound switching device 30 ^ device 48 outputs a right The input ^ f of the decoding device 47 is obtained by performing error correction on the error correction code Zhuo code B.

2103-4159-P.ptd 第38頁 515191 五、發明說明(36) 資料碼B。錯誤訂正編碼裝置48對該資料碼B附加了錯誤訂 正碼B’後作為聲音碼B’ ,向控制裝置31及選擇裝置32輸出 該聲音碼B’ 。藉著照這樣構成,因聲音碼B’消除在線路B 之傳送錯誤之影響,在向線路A輸出之情況,只受到在線 路A之傳送錯誤影響,可避免在線路B和線路A之兩線路之 傳送錯誤之影響累積。 控制裝置3 1按照例如實施例1所示之基準之既定之選 擇基準選擇所輸入之聲音碼A和聲音碼B’之中之一方後, 向選擇裝置32輸出關於選擇了哪一方之資訊。選擇裝置32 按照自該控制裝置3 1所輸入之資訊切換開關,將所選擇之 聲音碼設為聲音碼A ’後,向調變裝置1 8輸出。調變裝置1 8 將自切換裝置3 0輸入之聲音碼A ’數位調變後,將所得到之 調變信號作為調變信號A,向線路A輸出。 此外,在上述實施例,使得依據實施例1對於聲音碼B 進行錯誤訂正解碼及錯誤訂正編碼,但是依據別的實施例 之構造當然也可能。 又,因在上述實施例錯誤訂正編碼裝置4 5和錯誤訂正 編碼裝置4 8之動作相同,藉著如圖1 7所示將錯誤訂正編碼 裝置45之位置移至切換裝置30和調變裝置18之間後删除錯 誤訂正編碼裝置4 8之構造當然也可能。 又,因在上述實施例錯誤訂正解碼裝置4 6和錯誤訂正 解碼裝置4 7之動作相同,藉著如圖1 8所示將錯誤訂正解碼 裝置46之位置移至切換裝置30和解調裝置12之間後刪除錯 誤訂正解碼裝置4 7之構造當然也可能。2103-4159-P.ptd Page 38 515191 V. Description of the invention (36) Data code B. The error correction coding device 48 adds the error correction code B 'to the data code B as a sound code B', and outputs the sound code B 'to the control device 31 and the selection device 32. By structuring in this way, the sound code B 'eliminates the influence of transmission errors on line B. When outputting to line A, it is only affected by transmission errors on line A, which can avoid the two lines of line B and line A. The effects of transmission errors accumulate. The control device 31 selects one of the inputted voice code A and voice code B 'according to a predetermined selection criterion of the reference shown in the first embodiment, and outputs information to the selection device 32 about which one is selected. The selection device 32 sets the selected sound code to the sound code A 'according to the information switching switch input from the control device 31, and outputs the selected sound code to the modulation device 18. The modulation device 18 digitally modulates the voice code A 'input from the switching device 30, and then uses the obtained modulation signal as a modulation signal A and outputs it to the line A. In addition, in the above-mentioned embodiment, the error correction decoding and the error correction encoding are performed on the sound code B according to Embodiment 1, but the structure according to other embodiments is of course possible. In addition, since the operations of the error correction coding device 45 and the error correction coding device 48 are the same in the above embodiment, the position of the error correction coding device 45 is moved to the switching device 30 and the modulation device 18 as shown in FIG. 17. Of course, the structure of the error correction encoding device 48 after the deletion is also possible. In addition, since the operations of the error correction decoding device 46 and the error correction decoding device 47 are the same in the above embodiment, the position of the error correction decoding device 46 is moved to the switching device 30 and the demodulation device 12 as shown in FIG. 18. It is of course possible to construct the error correction decoding device 47 after a while.

2103-4159-P.ptd 第39頁 515191 五、發明說明(37) 若依據本實施例1,在輸入由說話者A之輸入聲音編碼 後之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼B, 每隔固定時間之訊框選擇聲音碼A和聲音碼B之一方後輸出 之聲音碼切換方法上,各聲音碼利用表示聲音資料之資料 碼和其錯誤訂正碼構成,因使得對聲音碼B進行錯誤訂正 解碼及錯誤訂正編碼,具有可輸出無傳送錯誤之影響之聲 音碼。 在將本實施例1之聲音碼切換方法應用於在多台終端 機間共用2條線路,並在別的終端機也可監聽2台終端機間 之通話之數位化之聲音通訊系統之情況,具有對於通過多 條線路之聲音碼B可避免各線路之傳送錯誤累積並可實現 高品質之通話之效果。 實施例9 圖1 9表示使用本發明之實施例9之聲音碼切換方法之 終端機A之構造。圖2 0表示使用本終端機A之聲音通訊系統 之構造。在圖1 9,3 0係切換裝置,3 1係控制裝置,5 0、5 1 係碼抽出裝置,5 2係碼組合裝置,3 2係選擇裝置。本實施 例9之終端機A因除了切換裝置3 0和圖1所示之實施例1的不 同以外,其他都一樣,賦與相同之符號,省略說明。 又在圖2 0,5 3、5 4係分離裝置,5 5係聲音解碼裝置, 5 6係加法裝置。此外,和圖2 3相同之符號表示相同或相當 之部分,省略說明。 以下,依照圖說明動作。2103-4159-P.ptd Page 39 515191 V. Description of the Invention (37) According to the first embodiment, after inputting the voice code A encoded by the input voice of the speaker A and the voice input A encoded by the speaker B, The sound code B is a sound code switching method in which one of the sound code A and the sound code B is selected at a fixed time frame. Each sound code is composed of a data code representing the sound data and its error correction code. The error correction decoding and error correction encoding of the sound code B can output the sound code without the influence of transmission errors. In the case where the voice code switching method of the first embodiment is applied to a case where a digital voice communication system is used in which two lines are shared between multiple terminals and another terminal can also monitor calls between the two terminals, It has the effect of avoiding the accumulation of transmission errors of each line and achieving a high-quality call for the sound code B passing through multiple lines. Embodiment 9 Fig. 19 shows a structure of a terminal A using a voice code switching method according to Embodiment 9 of the present invention. Fig. 20 shows the structure of a voice communication system using this terminal A. In Figure 19, 30 series switching devices, 31 series control devices, 50, 51 series code extraction devices, 52 series code combination devices, and 32 series selection devices. The terminal A of the ninth embodiment is the same except that the switching device 30 is different from the first embodiment shown in FIG. 1, and the same reference numerals are assigned, and the description is omitted. Also in Fig. 20, 5, 3, and 5 are 4 separate devices, 5 5 are audio decoding devices, and 5 6 are addition devices. In addition, the same reference numerals as those in FIG. 23 indicate the same or corresponding parts, and the description is omitted. The operation will be described below with reference to the drawings.

2103-4159-P.ptd 第40頁2103-4159-P.ptd Page 40

五、發明說明(38) 在終端機A以輸入聲奋Α 抓 又,自後述之終端機B經由綠别八說話者人所説之聲音二 置1 2將該調變信號B解調後、、,略β輸入調變信號B。解调裝 置30内之控制裝置31、碼缸’向聲音解碼裝置13、切換裝 所得到之聲音碼β。在此,Α出坡置5 1以及選擇裝置3 2輸出 碼Β 1之二部分構成之2階段,^螞Β採用由聲音碼Β 0和聲音 Β 0雖然品質稍差,也取得3定檫碼構造,只使用聲音碼 造。 』將可了解之聲音解碼之碼構 聲音解碼裝置13將該聲&lt; 1 4輸出所得到之數位輸出聲二螞Β解碼後,向D / Α轉換裝置 輸出聲音A進行數位類比轉榼θ f。0/八轉換裝置14對該數位 號之輸出聲音A。 、CD/A轉換)後’輸出係類比信 A/D轉換裝置16對該輸V. Description of the invention (38) Grasp the input sound A on the terminal A, and from the terminal B described later, set the modulated signal B through the voice of the speaker Lübei 8 and then demodulate the modulated signal B. , Slightly β input modulation signal B. The control device 31 in the demodulation device 30, the code cylinder &apos; to the sound decoding device 13, and the sound code β obtained by the switching device. Here, Α is placed in 2 and the selection device 3 2 outputs the code B 1 as the second part of the two parts. ^ Ma B uses a sound code B 0 and a sound B 0. Although the quality is slightly worse, 3 fixed codes are also obtained. Constructed using only sound codes. After decoding the intelligible sound, the coded sound decoding device 13 decodes the digital output sound obtained by outputting the sound &lt; 1 4 and then outputs the sound A to the D / Α conversion device for digital analog conversion 榼 f . The 0 / eight conversion means 14 outputs sound A to the digital number. , CD / A conversion) after the ’output is analog signal A / D conversion device 16

轉換)後,得到係數位信^音A進气類比數位轉換(A/D 編碼後,向切換裝置30内之控制 J置31、碼抽出裝置50以及選擇裝置32輸出所,到之聲音 H Ϊ ,聲音碼A採用由聲音碼A〇和聲音碼Μ之二部分 構成之2階段之定標碼構造,只使用聲音碼釗雖缺品質稍 差,也取得可將可了解之聲音解碼之碼構造。 切換裝置30内之碼抽出裝置5〇自所輸入之聲音碼A抽 出聲音碼A0後,向碼組合裝置52輸出。又,切換裝置3〇内 之碼抽出裝置51自所輸入之聲音碼b抽出聲音碼β〇後,向 碼組^裝置52輸出。碼組合裝置52產生由所輸入之聲音碼 A0和聲音碼B0組合而成之碼後,向選擇裝置μ輸出。選擇After conversion), the coefficient-bit signal ^ tone A intake analog digital conversion (after A / D encoding) is output to the control device 31, code extraction device 50, and selection device 32 in the switching device 30, and the sound H Ϊ The sound code A uses a two-stage calibration code structure composed of a sound code A0 and a sound code M. The sound code A is only a poor quality, but also has a code structure that can decode the understandable sound. The code extraction device 50 in the switching device 30 extracts the audio code A0 from the inputted audio code A and outputs it to the code combination device 52. The code extraction device 51 in the switching device 30 extracts the inputted audio code b. After the sound code β0 is extracted, it is output to the code group ^ device 52. The code combination device 52 generates a code composed of the inputted sound code A0 and sound code B0, and outputs it to the selection device μ. Selection

2103-4159-P.ptd 第41頁 515191 五、發明說明(39) 裝置32按照既定之選擇基準選擇所輸入之聲音碼A和聲音 碼B以及聲音碼A0和聲音碼B0之組合之中之一個後,向選 擇裝置3 2輸出關於選擇了哪一方之資訊。 選擇裝置3 2按照自該控制裝置3 1所輸入之資訊切換開 關,將所選擇之聲音碼設為聲音碼A’後,向調變裝置1 8輸 出。而,調變裝置18將自切換裝置30輸入之聲音碼A’數位 調變後,將所得到之調變信號作為調變信號A,向線路A輸 出。 其次,按照圖2 0說明使用了本終端機A之聲音通訊系 統之動作。 在終端機B以輸入聲音B輸入說話者B所說之聲音。 又,自終端機A經由線路A輸入調變信號A。A/D轉換裝置23 對該輸入聲音B進行類比數位轉換(A / D轉換)後,得到係數 位信號之數位輸入聲音B。聲音編碼裝置2 4將該數位輸入 聲音B編碼後,向調變裝置25輸出所得到之聲音碼B。調變 裝置2 5將所輸入之聲音碼B數位調變後,將所得到之調變 信號作為調變信號B,向線路B輸出。 終端機B内之解調裝置2 0將來自該終端機A之調變信號 A解調後,向分離裝置53輸出所得到之聲音碼A’ 。分離裝 置53自該聲音碼A’只分離對於輸入聲音A之聲音碼後,向 聲音解碼裝置2 1輸出。即,在聲音碼A ’係聲音碼A之情 況,聲音碼A成為對聲音解碼裝置2 1之輸入;而在聲音碼 A’係聲音碼A0和聲音碼B0之組合之情況,聲音碼A0成為對 聲音解碼裝置21之輸入。2103-4159-P.ptd Page 41 515191 V. Description of the invention (39) The device 32 selects one of the inputted sound code A and sound code B, and the sound code A0 and sound code B0 according to a predetermined selection criterion. Then, information on which one is selected is output to the selection device 32. The selection device 32 switches the switch according to the information input from the control device 31, sets the selected sound code to the sound code A ', and outputs it to the modulation device 18. Further, the modulation device 18 digitally modulates the voice code A 'input from the switching device 30, and uses the obtained modulation signal as the modulation signal A to output to the line A. Next, the operation of the voice communication system using this terminal A will be described with reference to FIG. Input the voice spoken by the speaker B at the terminal B as the input voice B. A modulation signal A is input from the terminal A via a line A. The A / D conversion device 23 performs analog-to-digital conversion (A / D conversion) on the input sound B to obtain the digital input sound B of the coefficient bit signal. The voice encoding device 24 encodes the digital input voice B, and outputs the obtained voice code B to the modulation device 25. The modulation device 25 digitally modulates the input voice code B, and uses the obtained modulation signal as a modulation signal B to output to the line B. The demodulation device 20 in the terminal B demodulates the modulation signal A from the terminal A, and outputs the obtained audio code A 'to the separation device 53. The separating means 53 separates only the sound code for the input sound A from the sound code A 'and outputs it to the sound decoding device 21. That is, in the case where the sound code A ′ is the sound code A, the sound code A becomes an input to the sound decoding device 21, and in the case where the sound code A ′ is a combination of the sound code A0 and the sound code B0, the sound code A0 becomes Input to the audio decoding device 21.

2103-4159-P.ptd 第42頁 515191 五 發明說明(40)2103-4159-P.ptd Page 42 515191 Five Description of the invention (40)

聲音解碼裝置2 1 A 碼後,向D/A轉換裝置自//離裝置53所輪入之聲音%解 D/A ,22,412: 1111:^^ 轉換)後/輸出係類比信號之輸出聲音B。頰比轉換(D/a 在聲音通訊終端機C,自綠端機a經由綠狄a〜 。解調裝置26將該調變信號調m入調變 ,於輸入聲音A之聲音碼和對於輸入聲音B之聲音碼二離成 耷音解碼裝置27輸出對於輸入聲音Α之聲音碼,向,向 碼裝置55輸出對於輸入聲音b之聲音碼。 曰解 即’在聲音碼A ’係聲音碼A之情況,聲音碼a成為士 音解碼裝置27之輸入;而在聲音碼A,係聲音碼釗和^ ^^聲 B0之組合之情況,聲音碼4〇成為對聲音解碼裝置27之&amp;竭 入’聲音碼B0成為對聲音解碼裝置55之輸入;在聲音竭八, 係聲音碼B之情況,聲音碼B成為對聲音解碼裝置5 5之輸 入0 聲音解碼裝置27將自該分離裝置54所輸入之對於輸入 聲音A之聲音碼解碼後,輸出所得到之數位輸出聲音c A。 又,聲音解碼裝置55將自該分離裝置54所輸入之對於輸入 聲音B之聲音碼解碼後,輸出所得到之數位輸出聲音c B。 D / A轉換裝置2 8對用加法裝置5 6將該數位輸出聲音C A和數 位輸出聲音CB相加所得到之數位輸出聲音c進行數位類比 轉換(D/ A轉換)後,輸出係類比信號之輸出聲音C。 此外,在上述實施例,當在切換裝置依據實施例1判After the 2 A code of the sound decoding device, the D / A conversion device converts the sound of the turn from the device 53 to the D / A conversion device (22,412: 1111: ^^ conversion), and then outputs the analog sound output B . Cheek ratio conversion (D / a in the voice communication terminal C, from the green terminal a through the green di a ~.) The demodulation device 26 tunes the modulation signal into the modulation, and applies the sound code of the input sound A and the input The sound code of the sound B is divided into a sound sound decoding device 27, and the sound code for the input sound A is output to the code device 55, and the sound code for the input sound b is output to the code device 55. The interpretation is that "the sound code A" is the sound code A In the case, the sound code a becomes the input of the Shiyin decoding device 27. In the case where the sound code A is a combination of the sound code and ^ ^^ sound B0, the sound code 40 becomes the &amp; exhaustion of the sound decoding device 27. The input sound code B0 becomes the input to the sound decoding device 55. In the case where the sound is exhausted, it is the sound code B. The sound code B becomes the input to the sound decoding device 55. The sound decoding device 27 will be input from the separation device 54. The input voice code for the input voice A is decoded, and the resulting digital output voice c A is output. In addition, the voice decoding device 55 decodes the voice code for the input voice B input from the separation device 54 and outputs the obtained code. Digital output sound c B. D / A The switching device 2 8 performs digital analog conversion (D / A conversion) on the digital output sound c obtained by adding the digital output sound CA and the digital output sound CB with the addition device 5 6 and outputs the output sound C of the analog signal. In addition, in the above embodiment, when the switching device is judged according to the first embodiment

2103-4159-P.ptd 第43頁 515191 五、發明說明(41) 定需要定標碼聲音碼A和聲音碼B雙方之選擇輸出時,使得 輸出將兩聲音碼之一部分組合之碼,但是依據別的實施例 之構造當然也可能。 又,在上述實施例,聲音碼採用2階段之定標碼構 造,但是採用2階段之定標碼構造之構造當然也可能。此 外,自這些多階段之定標碼抽出之碼部分,或將其組合方 法預先設定多種後將這些方法切換後輸出之構造當然也可 能。 又,在上述實施例,在終端機C將2種數位輸出聲音相 加後進行D/A轉換,但是對2種數位輸出聲音進行D/A轉換 所得到之2種類比信號相加後設為輸出聲音之構造當然也 可能。此外,不是將2種類比信號相加後設為一種信號, 而個別輸出各信號之構造當然也可能。 若依據本實施例9,在輸入由說話者A之輸入聲音編碼 後之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼B, 每隔固定時間之訊框選擇聲音碼A和聲音碼B之一方後輸出 之聲音碼切換方法上,各聲音碼係只使用其一部分也可聲 音解碼之定標碼構造,因使得將由各聲音碼各一部分組合 而成之碼作為選擇輸出之候選之一,具有在說話者A和說 話者B同時說話之情況也可輸出可將兩說話者之聲音解碼 之聲音碼之效果。 在將本實施例9之聲音碼切換方法應用於在多台終端 機間共用2條線路,並在別的終端機也可監聽2台終端機間 之通話之數位化之聲音通訊系統之情況,因在說話者A和2103-4159-P.ptd Page 43 515191 V. Description of the invention (41) When the selection of both the calibration code sound code A and the sound code B is required, the code that combines one part of the two sound codes is output, but the basis The construction of other embodiments is of course possible. Also, in the above-mentioned embodiment, the sound code is constructed using a two-stage calibration code, but a structure using a two-stage calibration code structure is of course possible. In addition, the code part extracted from these multi-stage calibration codes, or a combination method of which is set in advance, and a structure in which these methods are switched and output are also possible. In the above embodiment, D / A conversion is performed after the two types of digital output sounds are added by the terminal C, but the two types of ratio signals obtained by performing D / A conversion on the two types of digital output sounds are added and set as The structure of the output sound is of course possible. In addition, instead of adding two types of ratio signals into one type of signal, a structure in which each signal is output individually is of course possible. According to the ninth embodiment, the voice code A and the voice code B encoded by the input voice of the speaker A and the voice code B of the input voice encoded by the speaker B are input, and the voice code A and the voice are selected at a fixed time frame. In the method of switching the sound code output after one of the codes B, each sound code is constructed using only a part of the calibration code that can also be decoded, because the code formed by combining the parts of each sound code is selected as a candidate for output. First, it has the effect of outputting a voice code that can decode the voices of two speakers even when speaker A and speaker B speak at the same time. In the case where the voice code switching method of the ninth embodiment is applied to the case where a digital voice communication system is used in which two lines are shared between multiple terminals and the other terminals can also monitor calls between the two terminals, Because speaker A and

2103-4159-P.ptd 第44頁 515191 五、發明說明(42) 說話者B同時說話之情況也可不會增加資料量的輸出可將 兩說話者之聲音解碼之聲音碼,具有通話不會遺漏並可避 免二次編碼及雙聲音之編碼所引起之大的品質惡化之效 果。 實施例1 0 圖2 1表示使用本發明之聲音碼切換方法之終端機A之 構造。此外,將本終端機A用作圖2 3之終端機A的變成應用 了本發明之聲音碼切換方法之聲音通訊系統之構造。 本實施例1 0和圖1所示之實施例1之相異處在於,不僅 向選擇裝置32,而且也向調變裝置18輸出控制裝置31之輸 出。 因其他和圖1的一樣,省略說明。 以下,依照圖說明動作。 在終端機A以輸入聲音A輸入說話者A所說之聲音。 又,自後述之終端機B經由線路B輸入調變信號B。解調裝 置1 2每隔固定時間之訊框將該調變信號B解調後,向聲音 解碼裝置1 3和切換裝置3 0内之控制裝置3 1以及選擇裝置3 2 輸出所得到之聲音碼B。聲音解碼裝置1 3將該聲音碼B解碼 後,向D/A轉換裝置14輸出所得到之數位輸出聲音A。D/A 轉換裝置14對該數位輸出聲音A進行數位類比轉換(D/A轉 換)後,輸出係類比信號之輸出聲音A。 A/D轉換裝置16對該輸入聲音A進行類比數位轉換(A/D 轉換)後,得到係數位信號之數位輸入聲音A。聲音編碼裝2103-4159-P.ptd Page 44 515191 V. Description of the invention (42) The situation where speaker B speaks at the same time does not increase the amount of data. The audio code that can decode the voice of the two speakers is not missing during the call. It can avoid the effect of great quality deterioration caused by secondary encoding and dual-sound encoding. Embodiment 10 Fig. 21 shows a structure of a terminal A using the voice code switching method of the present invention. In addition, the use of the terminal A as the terminal A of Fig. 23 becomes a structure of a voice communication system to which the voice code switching method of the present invention is applied. The difference between Embodiment 10 and Embodiment 1 shown in FIG. 1 is that the output of the control device 31 is output to not only the selection device 32 but also the modulation device 18. Since it is the same as that of FIG. 1, description is omitted. The operation will be described below with reference to the drawings. Input the voice spoken by the speaker A at the terminal A as the input voice A. A modulation signal B is input from a terminal B to be described later via a line B. The demodulation device 12 demodulates the modulation signal B at a fixed time frame, and outputs the obtained audio code to the sound decoding device 13 and the control device 3 1 and the selection device 3 2 in the switching device 30. B. The audio decoding device 13 decodes the audio code B and outputs the digital output audio A to the D / A conversion device 14. The D / A conversion device 14 performs digital analog conversion (D / A conversion) on the digital output sound A, and outputs the output sound A which is an analog signal. The A / D conversion device 16 performs analog-to-digital conversion (A / D conversion) on the input sound A to obtain the digital input sound A of the coefficient-bit signal. Voice coding equipment

2103-4159-P.ptd 第45頁 515191 五、發明說明(43) 置1 7每隔固定時間之訊框將該數位輸入聲音A編碼後,向 切換裝置30内之控制裝置31及選擇裝置32輸出所得到之聲 音碼A。控制裝置3 1按照既定之選擇基準選擇所輸入之聲 音碼A和聲音碼B之中之一方後,向選擇裝置32及調變裝置 1 8輸出關於選擇了哪一方之資訊。 此外,控制裝置3 1之選擇基準和上述實施例1的一 樣。 選擇裝置3 2按照自該控制裝置3 1所輸入之資訊切換開 關,將所選擇之聲音碼設為聲音碼A,向調變裝置1 8輸 出。然後,調變裝置1 8將在該控制裝置3 1所選擇之碼之識 別資訊之後附加自切換裝置3 0輸入之聲音碼A ’之信號數位 調變後,將所得到之調變信號作為調變信號A,向線路A輸 出。 藉著照這樣構成,在監聽說話者A和說話者B之通話之 終端機C,因可識別所接收之聲音碼係哪一個說話者的, 進行適合各說話者之處理,或識別碼切換時刻後可進行預 先察覺、緩和輸出聲音C之不連續性等特殊之處理,可提 局品質。 此外,在上述實施例,使得依據實施例1輸出可識別 選擇了哪一種碼之資訊,但是依據別的實施例之構造當然 也可能。 若依據本實施例1 0,在輸入由說話者A之輸入聲音編 碼後之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼 B,每隔固定時間之訊框選擇聲音碼A和聲音碼B之一方後2103-4159-P.ptd Page 45 515191 V. Description of the invention (43) Set 1 7 Encode the digital input sound A at a fixed time frame, and send it to the control device 31 and selection device 32 in the switching device 30 The resulting voice code A is output. The control device 31 selects one of the input voice code A and voice code B according to a predetermined selection criterion, and outputs information about which one is selected to the selection device 32 and the modulation device 18. The selection criterion of the control device 31 is the same as that of the first embodiment. The selection device 3 2 switches the switch according to the information input from the control device 31, sets the selected sound code to the sound code A, and outputs it to the modulation device 18. Then, the modulation device 18 modulates the signal of the sound code A 'input from the switching device 30 after the identification information of the code selected by the control device 31, and then uses the obtained modulation signal as the modulation. Change signal A and output to line A. By constituting in this way, the terminal C that monitors the conversation between the speaker A and the speaker B can identify which speaker the received voice code belongs to, and perform processing suitable for each speaker, or the timing of the identification code switching. After that, special treatments such as pre-detection and relaxation of the discontinuity of the output sound C can be performed, which can improve the quality of the bureau. In addition, in the above embodiment, it is possible to output information that can identify which code is selected according to the first embodiment, but a structure according to other embodiments is of course possible. If according to this embodiment 10, after inputting the voice code A encoded by the input voice of the speaker A and the voice code B encoded by the input voice of the speaker B, the voice code A and After one of the sound codes B

2103-4159-P.ptd 第46頁 515191 五、發明說明(44) 輸出之聲音碼切換方法上,因使得輸出可識別選擇了哪一 種碼之資訊,具有可正確的識別所輸出之聲音碼系列係聲 音碼A或聲音碼B之效果。 在將本實施例1 0之聲音碼切換方法應用於在多台終端 機間共用2條線路,並在別的終端機也可監聽2台終端機間 之通話之數位化之聲音通訊系統之情況,因可識別所接收 之聲音碼係哪一個說話者的,進行適合各說話者之處理, 或識別碼切換時刻後可進行預先察覺、緩和輸出聲音C之 不連續性等特殊之處理,具有可提高品質之效果。 發明之效果 若依據本發明,在輸入由說話者A之輸入聲音編碼後 之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼B,每 隔固定時間之訊框選擇聲音碼A和聲音碼B之一方後輸出之 聲音碼切換方法或裝置,因使得依照過去之選擇結果選擇 輸出之訊框,可保持選擇結果之連續性之效果。 又,若依據本發明,在輸入由說話者A之輸入聲音編 碼後之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼 B,每隔固定時間之訊框選擇聲音碼A和聲音碼B之一方後 輸出之聲音碼切換方法,因使得儲存N個訊框之聲音碼A和 聲音碼B後,依照已儲存之N個訊框之聲音碼A和聲音碼B, 選擇N個訊框前之聲音碼A或聲音碼B之一方後輸出,具有 可正確的選擇主導通話之說話者之碼且可保持選擇結果之 連續性之效果。2103-4159-P.ptd Page 46 515191 V. Description of the Invention (44) The output voice code switching method, because the output can identify which code is selected, has the correct output voice code series. It is the effect of sound code A or sound code B. The method of switching the voice code of this embodiment 10 is applied to the case of a digital voice communication system in which two lines are shared between multiple terminals and other terminals can also monitor calls between the two terminals. , Because it can identify which speaker the received sound code belongs to, perform processing suitable for each speaker, or perform special processing such as pre-detection and mitigation of the discontinuity of the output sound C after the identification code switching time, which has The effect of improving quality. Effects of the Invention According to the present invention, after inputting the voice code A encoded by the input voice of the speaker A and the voice code B encoded by the input sound of the speaker B, the voice code A and The method or device for switching the sound code output after one of the sound codes B, because the output frame is selected according to the past selection result, the effect of continuity of the selection result can be maintained. In addition, according to the present invention, after inputting the voice code A encoded by the input voice of the speaker A and the voice code B encoded by the input voice of the speaker B, the voice code A and the voice are selected at a frame every fixed time The method of switching the sound codes output after one of the codes B, because after storing the sound codes A and B of the N frames, the N codes are selected according to the stored sound codes A and B of the N frames. The voice code A or voice code B in front of the frame is output after one of them, which has the effect that the code of the speaker who leads the call can be correctly selected and the continuity of the selection result can be maintained.

2103-4159-P.ptd 第47頁 515191 五、發明說明(45) 又,若依據本發明,在每隔固定時間之訊框選擇聲音 碼A和聲音碼B之一方後輸出之聲音碼切換方法,因在選擇 判定聲音碼A和聲音碼B之一方時判定為需要雙方之輸出 時,使得依次儲存在前訊框之非選擇聲音碼,在變成不需 要輸出在前訊框所選擇之聲音碼之輸出之訊框以後,按照 時間順序依次輸出至變成不必輸出之時刻為止所儲存之聲 音碼系列,具有所需之聲音碼不會遺漏之效果。 又,若依據本發明^在輸入由說話者A之輸入聲音編 碼後之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼 B,每隔固定時間之訊框選擇聲音碼A和聲音碼B之一方後 輸出之聲音碼切換方法,因在自外部受理選擇指示某一方 之聲音碼之既定輸入時,使得按照該既定輸入優先選擇一 方之聲音碼,具有可確實的送出所要之聲音碼之效果。 又,若依據本發明,在輸入由說話者A之輸入聲音編 碼後之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼 B,每隔固定時間之訊框選擇聲音碼A和聲音碼B之一方後 輸出之聲音碼切換方法,因不管聲音碼B,當聲音碼A滿足 既定條件時,使得令具有優先選擇之例外條件,具有可確 實的送出聲音碼A之效果。 又,若依據本發明,在輸入由說話者A之輸入聲音編 碼後之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼 B,每隔固定時間之訊框選擇聲音碼A和聲音碼B之一方後 輸出之聲音碼切換方法,因該各聲音碼利用表示聲音資料 之資料碼和其錯誤訂正碼構成,使得對於聲音碼B進行錯2103-4159-P.ptd Page 47 515191 V. Description of the invention (45) In addition, according to the present invention, a sound code switching method is output after selecting one of sound code A and sound code B at a fixed time frame. When it is determined that the output of both parties is required when one of the sound code A and the sound code B is selected, the non-selected sound codes stored in the front frame in order are not required to output the sound code selected in the front frame. After the output frame is output, the sound code series stored until the time when it becomes unnecessary to output in order of chronological order has the effect that the required sound code will not be missed. In addition, according to the present invention, after the sound code A encoded by the input sound of the speaker A and the sound code B encoded by the input sound of the speaker B are input, the sound code A and the sound are selected at a fixed time frame. The method for switching the sound code output after one of the codes B, because when a predetermined input for selecting and instructing the sound code of a certain party is accepted from the outside, the sound code of one party is preferentially selected according to the predetermined input, and the sound code can be sent reliably. The effect. In addition, according to the present invention, after inputting the voice code A encoded by the input voice of the speaker A and the voice code B encoded by the input voice of the speaker B, the voice code A and the voice are selected at a frame every fixed time. The method for switching the voice code output after one of the codes B, because regardless of the voice code B, when the voice code A satisfies a predetermined condition, it has an exceptional condition of preferential selection, and has the effect of reliably sending the voice code A. In addition, according to the present invention, after inputting the voice code A encoded by the input voice of the speaker A and the voice code B encoded by the input voice of the speaker B, the voice code A and the voice are selected at a frame every fixed time. A method for switching the sound code output after one of the codes B is used, because each sound code is constituted by a data code representing the sound data and its error correction code, so that the sound code B is wrong.

2103-4159-P.ptd 第48頁 515191 五、發明說明(46) 誤訂正解碼及錯誤訂正編碼,具有可輸出無傳送錯誤之影 響之聲音碼。 又,若依據本發明,在輸入由說話者A之輸入聲音編 碼後之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼 B,每隔固定時間之訊框選擇聲音碼A和聲音碼B之一方後 輸出之聲音碼切換方法,因各聲音碼係只使用其一部分也 可將聲音解碼之定標碼構造,使得將由各聲音碼之各一部 分組合而成之碼作為選擇輸出之候選之一,具有在說話者 A和說話者B同時說話之情況也可輸出可將兩說話者之聲音 解碼之聲音碼之效果。 又,若依據本發明,在輸入由說話者A之輸入聲音編 碼後之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼 B,每隔固定時間之訊框選擇聲音碼A和聲音碼B之一方後 輸出之聲音碼切換方法,因使得輸出可識別選擇了那一種 碼之資訊,具有可正確的識別所輸出之聲音碼系列係聲音 碼A或聲音碼B之效果。 圖式簡單說明 圖1係表示在使用本發明之實施例1之聲音碼切換方法 之聲音通訊系統之終端機之構造之方塊圖。 圖2係表示在本發明之實施例1之聲音碼切換方法之碼 選擇步驟之說明圖。 圖3係表示在本發明之實施例1之聲音碼切換方法之別 的碼選擇步驟之說明圖。2103-4159-P.ptd Page 48 515191 V. Description of the invention (46) Error correction decoding and error correction coding, with sound code that can output without the influence of transmission errors. In addition, according to the present invention, after inputting the voice code A encoded by the input voice of the speaker A and the voice code B encoded by the input voice of the speaker B, the voice code A and the voice are selected at a frame every fixed time. The method for switching the sound code output after one of the codes B, because each sound code is a calibration code structure that can decode the sound using only a part of it, so that a code formed by combining parts of each sound code is selected as a candidate for output One is the effect of outputting a voice code that can decode the voices of two speakers even when speaker A and speaker B speak at the same time. In addition, according to the present invention, after inputting the voice code A encoded by the input voice of the speaker A and the voice code B encoded by the input voice of the speaker B, the voice code A and the voice are selected at a frame every fixed time. The method of switching the sound code output after one of the codes B, because the output can identify which code is selected, has the effect of correctly identifying the output sound code series being the sound code A or the sound code B. Brief Description of the Drawings Fig. 1 is a block diagram showing the structure of a terminal in a voice communication system using the voice code switching method of the first embodiment of the present invention. Fig. 2 is an explanatory diagram showing a code selection step in a voice code switching method according to the first embodiment of the present invention. Fig. 3 is an explanatory diagram showing another code selection procedure in the voice code switching method according to the first embodiment of the present invention.

2103-4159-P.ptd 第49頁 515191 五、發明說明(47) 圖4係表示在本發明之實施例1之聲音碼切換方法之別 的碼選擇步驟之說明圖。 圖5係表示在使用本發明之實施例2之聲音碼切換方法 之聲音通訊系統之終端機之構造之方塊圖。 圖6係表示在本發明之實施例2之聲音碼切換方法之碼 選擇步驟之說明圖。 圖7係表示在使用本發明之實施例3之聲音碼切換方法 之聲音通訊系統之終端機之構造之方塊圖。 圖8係表示在本發明之實施例3之聲音碼切換方法之碼 選擇基準之說明圖。 圖9係表示在使用本發明之實施例4之聲音碼切換方法 之聲音通訊系統之終端機之構造之方塊圖。 圖1 0係表示在本發明之實施例4之聲音碼切換方法之 碼選擇基準之說明圖。 圖1 1係表示在使用本發明之實施例5之聲音碼切換方 法之聲音通訊系統之終端機之構造之方塊圖。 圖1 2係表示在本發明之實施例5之聲音碼切換方法之 碼選擇基準之說明圖。 圖1 3係表示在使用本發明之實施例6之聲音碼切換方 法之聲音通訊系統之終端機之構造之方塊圖。 圖1 4係表示在本發明之實施例6之聲音碼切換方法之 碼選擇步驟之說明圖。 圖1 5係表示在本發明之實施例7之聲音碼切換方法之 碼選擇步驟之說明圖。2103-4159-P.ptd Page 49 515191 V. Description of the invention (47) Fig. 4 is an explanatory diagram showing another code selection procedure in the voice code switching method according to the first embodiment of the present invention. Fig. 5 is a block diagram showing the structure of a terminal of a voice communication system using the voice code switching method according to the second embodiment of the present invention. Fig. 6 is an explanatory diagram showing a code selection procedure in a voice code switching method according to the second embodiment of the present invention. Fig. 7 is a block diagram showing the structure of a terminal of a voice communication system using the voice code switching method according to the third embodiment of the present invention. Fig. 8 is an explanatory diagram showing a code selection criterion in a voice code switching method according to the third embodiment of the present invention. Fig. 9 is a block diagram showing the structure of a terminal of a voice communication system using the voice code switching method according to the fourth embodiment of the present invention. Fig. 10 is an explanatory diagram showing a code selection criterion in the voice code switching method according to the fourth embodiment of the present invention. Fig. 11 is a block diagram showing a structure of a terminal in a voice communication system using a voice code switching method according to Embodiment 5 of the present invention. Fig. 12 is an explanatory diagram showing a code selection criterion in the voice code switching method according to the fifth embodiment of the present invention. Fig. 13 is a block diagram showing a structure of a terminal in a voice communication system using a voice code switching method according to Embodiment 6 of the present invention. Fig. 14 is an explanatory diagram showing a code selection procedure in a voice code switching method according to a sixth embodiment of the present invention. Fig. 15 is an explanatory diagram showing a code selection procedure in a voice code switching method according to a seventh embodiment of the present invention.

2103-4159-P.ptd 第50頁 515191 五、發明說明(48) 圖1 6係表示在使用本發明之實施例8之聲音碼切換方 法之聲音通訊系統之終端機之構造之方塊圖。 圖1 7係表示在使用本發明之實施例8之聲音碼切換方 法之聲音通訊系統之終端機之構造之方塊圖。 圖1 8係表示在使用本發明之實施例8之聲音碼切換方 法之聲音通訊系統之終端機之構造之方塊圖。 圖1 9係表示在使用本發明之實施例9之聲音碼切換方 法之聲音通訊系統之終端機之構造之方塊圖。 圖2 0係表示在使用本發明之實施例9之聲音通訊系統 之整體構造之方塊圖。 圖2 1係表示在使用本發明之實施例1 0之聲音碼切換方 法之聲音通訊系統之終端機之構造之方塊圖。 圖2 2係表示以往之聲音通訊系統之整體構造之方塊 圖。 圖2 3係表示以往之設法數位化之聲音通訊系統之整體 構造之方塊圖。 符號說明 2 終端機B、 1 2 解調裝置、 1 4 D/A轉換裝置、 1 6 A/D轉換裝置、 1 8 調變裝置、 2 1 聲音解碼裝置、 1 終端機A、 3 終端機C、 1 3 聲音解碼裝置、 15 聲音重疊裝置、 1 7 聲音編碼裝置、 2 0 解調裝置、2103-4159-P.ptd Page 50 515191 V. Description of the invention (48) Fig. 16 is a block diagram showing the structure of a terminal in a voice communication system using the voice code switching method of the eighth embodiment of the present invention. Fig. 17 is a block diagram showing the structure of a terminal in a voice communication system using the voice code switching method according to the eighth embodiment of the present invention. Fig. 18 is a block diagram showing the structure of a terminal in a voice communication system using the voice code switching method according to the eighth embodiment of the present invention. Fig. 19 is a block diagram showing a configuration of a terminal in a voice communication system using a voice code switching method according to Embodiment 9 of the present invention. Fig. 20 is a block diagram showing the overall structure of a voice communication system using Embodiment 9 of the present invention. Fig. 21 is a block diagram showing the structure of a terminal in a voice communication system using the voice code switching method of Embodiment 10 of the present invention. Fig. 22 is a block diagram showing the overall structure of a conventional audio communication system. Fig. 23 is a block diagram showing the overall structure of a conventional voice communication system which has been digitized. Explanation of symbols 2 Terminal B, 1 2 Demodulation device, 1 4 D / A conversion device, 1 6 A / D conversion device, 1 8 Modulation device, 2 1 Audio decoding device, 1 Terminal A, 3 Terminal C , 1 3 sound decoding device, 15 sound overlapping device, 1 7 sound encoding device, 2 0 demodulation device,

2103-4159-P.ptd 第51頁 515191 五、發明說明(49) 2 2 D / A轉換裝置、 2 4 聲音編碼裝置、 2 6 解調裝置、 2 8 D / A轉換裝置、 3 1控制裝置、 3 3、3 5 儲存裝置、 4 0 儲存裝置、 4 2第二儲存裝置、 45 錯誤訂正編碼裝置 4 7 錯誤訂正解碼裝置 5 0、5 1 碼抽出裝置、 5 3、5 4 分離裝置、 5 6 加法裝置 23 A/D轉換裝置、 2 5 調變裝置、 2 7 聲音解碼裝置、 3 0 切換裝置、 3 2 選選裝置、 34、36 延遲裝置、 4 1 第二選擇裝置、 4 3 變更碼產生裝置、 4 6 錯誤訂正解碼裝置 4 8 錯誤訂正編碼裝置 5 2 碼組合裝置、 5 5 聲音解碼裝置、2103-4159-P.ptd Page 51 515191 V. Description of the invention (49) 2 2 D / A conversion device, 2 4 voice encoding device, 2 6 demodulation device, 2 8 D / A conversion device, 3 1 control device , 3 3, 3 5 storage device, 4 0 storage device, 4 2 second storage device, 45 error correction coding device 4 7 error correction decoding device 5 0, 5 1 code extraction device, 5 3, 5 4 separation device, 5 6 Adding device 23 A / D conversion device, 2 5 modulation device, 2 7 sound decoding device, 3 0 switching device, 3 2 selection device, 34, 36 delay device, 4 1 second selection device, 4 3 change code Generating device, 4 6 error correction decoding device 4 8 error correction encoding device 5 2 code combination device, 5 5 sound decoding device,

2103-4159-P.ptd 第52頁2103-4159-P.ptd Page 52

Claims (1)

515191 六、申請專利範圍 1. 一種聲音碼切換方法,輸入由說話者A之輸入聲音 編碼後之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼 B,每隔固定時間之訊框選擇聲音碼A和聲音碼B之一方後 輸出, 其特徵在於: 依照過去之選擇結果選擇輸出之訊框。 2. —種聲音碼切換方法,輸入由說話者A之輸入聲音 編碼後之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼 B,每隔固定時間之訊框選擇聲音碼A和聲音碼B之一方後 輸出, 其特徵在於: 使得儲存N個訊框之聲音碼A和聲音碼B後,依照已儲 存之N個訊框之聲音碼A和聲音碼B,選擇N個訊框前之聲音 碼A或聲音碼B之一方後輸出。 3. —種聲音碼切換方法,輸入由說話者A之輸入聲音 編碼後之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼 B,每隔固定時間之訊框選擇聲音碼A和聲音碼B之一方後 輸出, 其特徵在於: 在選擇判定聲音碼A和聲音碼B之一方時判定為需要雙 方之輸出時,使得依次儲存在前訊框之非選擇聲音碼,在 變成不需要輸出在前訊框所選擇之聲音碼之輸出之訊框以 後,按照時間順序依次輸出至變成不必輸出之時刻為止所 儲存之聲音碼系列。515191 6. Application patent scope 1. A voice code switching method, inputting the voice code A encoded by the input voice of the speaker A and the voice code B encoded by the input voice of the speaker B, at a fixed time frame One of the sound code A and the sound code B is selected and output, which is characterized in that: the output frame is selected according to the past selection result. 2. — A voice code switching method, input the voice code A encoded by the input voice of speaker A and the voice code B encoded by the input voice of speaker B, and select voice code A and The sound code B is output after one of the characters, and is characterized in that after storing the sound codes A and B of the N frames, the N frames are selected in accordance with the stored sound codes A and B of the N frames. One of the previous sound code A or sound code B is output after. 3. — A voice code switching method, input the voice code A encoded by the input voice of speaker A and the voice code B encoded by the input voice of speaker B, and select voice code A and The sound code B is output after one of the characters, and is characterized in that when one of the sound code A and the sound code B is selected and it is determined that the output of both parties is required, the non-selected sound code stored in the previous message frame in order becomes unnecessary. After the output frame of the audio code selected in the previous frame is output, the audio code series stored until the time when it becomes unnecessary to output is output in order in chronological order. 2103-4159-P.ptd 第53頁 515191 六、申請專利範圍 4 ·如申請專利範圍第3項之聲音碼切換方法,其中, 在按照時間順序依次輸出該預先儲存之聲音碼系列時,使 得將現在之訊框之聲音碼配置於其聲音碼系列之末尾下 去,而在判定已儲存之聲音碼系列之全部或一部分係非聲 音區間時,中止或廢棄對該區間之聲音碼之末尾之配置。 5. —種聲音碼切換方法,輸入由說話者A之輸入聲音 編碼後之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼 B,每隔固定時間之訊框選擇聲音碼A和聲音碼B之一方後 輸出, 其特徵在於: 在自外部受理選擇指示某一方之聲音碼之既定輸入 時,使得按照該既定輸入優先選擇一方之聲音碼。 6. —種聲音碼切換方法,輸入由說話者A之輸入聲音 編碼後之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼 B,每隔固定時間之訊框選擇聲音碼A和聲音碼B之一方後 輸出, 其特徵在於: 聲音碼A滿足既定條件時,使得優先選擇聲音碼A。 7. —種聲音碼切換方法,輸入由說話者A之輸入聲音 編碼後之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼 B,每隔固定時間之訊框選擇聲音碼A和聲音碼B之一方後 輸出, 其特徵在於: 該各聲音碼利用表示聲音資料之資料碼和其錯誤訂正2103-4159-P.ptd Page 53 515191 6. Application for Patent Scope 4 · For the voice code switching method of the third scope of the patent application, when the pre-stored voice code series is output in chronological order, the The sound code of the current frame is arranged at the end of the sound code series, and when it is determined that all or a part of the stored sound code series is a non-voice section, the configuration of the end of the sound code of the section is suspended or discarded. 5. —Voice code switching method, input the voice code A encoded by the input voice of speaker A and the voice code B encoded by the input voice of speaker B, and select voice code A and The voice code B is output after one of the parties, and is characterized in that, when a predetermined input for selecting and instructing a certain party's voice code is accepted from outside, the voice code of one party is preferentially selected according to the predetermined input. 6. —A method of switching voice code, input voice code A encoded by the input voice of speaker A and voice code B encoded by the input voice of speaker B, and select voice code A and The sound code B is output after one of the characters, and is characterized in that when the sound code A meets a predetermined condition, the sound code A is preferentially selected. 7. — A voice code switching method, input the voice code A encoded by the input voice of speaker A and the voice code B encoded by the input voice of speaker B, and select voice code A and The sound code B is output after one of the characters, and is characterized in that each sound code uses a data code representing sound data and its error correction. 2103-4159-P.ptd 第54頁 515191 六、申請專利範圍 碼構成,對於聲音碼B進行錯誤訂正解碼及錯誤訂正編碼 後選擇判定、輸出。 8. —種聲音碼切換方法,輸入由說話者A之輸入聲音 編碼後之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼 B,每隔固定時間之訊框選擇聲音碼A和聲音碼B之一方後 輸出, 其特徵在於: 該聲音碼A和聲音碼B係只使用其一部分也可將聲音解 碼之定標碼構造,將由係聲音碼A之一部分之聲音碼A ’和 係聲音碼B之一部分之聲音碼B ’組合而成之碼作為選擇輸 出之候選之一。 9. 如申請專利範圍第1、2、3、4、5、6、7或8項之聲 音碼切換方法,其中,使得在選擇輸出之聲音碼切換之時 刻之訊框在該訊框之輸出之前輸出可識別選擇聲音碼之資 訊,在該資訊之輸出後依次輸出所選擇之聲音碼。 1 0. —種聲音碼切換裝置,包括控制裝置,輸入由說 話者A之輸入聲音編碼後之聲音碼A和由說話者B之輸入聲 音編碼後之聲音碼B,每隔固定時間之訊框選擇聲音碼A和 聲音碼B之一方後輸出, 其特徵在於: 控制裝置依照過去之選擇結果選擇輸出之訊框。 1 1. 一種聲音通訊終端機,由說話者A之輸入聲音編碼 後之聲音碼A和由說話者B之輸入聲音編碼後之聲音碼B係 只使用其一部分也可將聲音解碼之定標碼構造,包括:2103-4159-P.ptd Page 54 515191 6. Scope of patent application Code composition, error correction decoding and error correction encoding for sound code B, and then select judgment and output. 8. — A voice code switching method, input the voice code A encoded by the input voice of speaker A and the voice code B encoded by the input voice of speaker B, and select voice code A and The sound code B is output after one of the characters, and is characterized in that: the sound code A and the sound code B are constructed by using only a part of the calibration code that can also decode the sound. The sound code A 'and the sound code A are part of the sound code A. A combination of the sound codes B ', which are part of the sound codes B, is used as one of the candidates for selection and output. 9. For example, the method for switching the sound code of item 1, 2, 3, 4, 5, 6, 7, or 8 of the scope of patent application, wherein the frame at the time of selecting the output sound code is switched in the frame. The information that previously recognized the selected sound code is output, and the selected sound code is sequentially output after the information is output. 1 0. A voice code switching device, including a control device, inputting a voice code A encoded by the input voice of the speaker A and a voice code B encoded by the input voice of the speaker B, and a frame at a fixed time interval One of the sound code A and the sound code B is selected and output, which is characterized in that the control device selects the output frame according to the past selection result. 1 1. A voice communication terminal, the voice code A encoded by the input voice of the speaker A and the voice code B encoded by the input voice of the speaker B are calibration codes that can decode the voice using only a part thereof Construction, including: 2103-4159-P.ptd 第55頁 515191 六、申請專利範圍 解調裝置,輸入由係聲音碼A之一部分之聲音碼A’和 係聲音碼B之一部分之聲音碼B’組合而成之碼後解調; 分離裝置,將解調後之聲音碼A’和聲音碼B’分離; 聲音解碼裝置,各自將分離後之聲音碼A’和聲音碼B’ 解碼後,各自輸出輸出聲音A和輸出聲音B ; 加法裝置,將解碼後之輸出聲音A和輸出聲音B相加; 以及 D/A轉換裝置,對加法裝置之輸出進行D/A轉換。2103-4159-P.ptd Page 55 515191 VI. Patent application demodulation device, input code composed of sound code A 'which is part of sound code A and sound code B' which is part of sound code B Post demodulation; a separation device that separates the demodulated sound code A 'and a sound code B'; a sound decoding device that decodes the separated sound code A 'and the sound code B', respectively, and outputs output sounds A and An output sound B; an addition device that adds the decoded output sound A and the output sound B; and a D / A conversion device that performs D / A conversion on the output of the addition device. 2103-4159-P.ptd 第56頁2103-4159-P.ptd Page 56
TW090116447A 2001-01-18 2001-07-05 Voice code switching method, voice code switching device and voice communication terminal TW515191B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001010250A JP2002215193A (en) 2001-01-18 2001-01-18 Voice sign switching method, voice sign switching means, and voice communication terminal

Publications (1)

Publication Number Publication Date
TW515191B true TW515191B (en) 2002-12-21

Family

ID=18877595

Family Applications (1)

Application Number Title Priority Date Filing Date
TW090116447A TW515191B (en) 2001-01-18 2001-07-05 Voice code switching method, voice code switching device and voice communication terminal

Country Status (3)

Country Link
JP (1) JP2002215193A (en)
CN (1) CN1331340C (en)
TW (1) TW515191B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8411880B2 (en) * 2008-01-29 2013-04-02 Qualcomm Incorporated Sound quality by intelligently selecting between signals from a plurality of microphones
US8831932B2 (en) 2010-07-01 2014-09-09 Polycom, Inc. Scalable audio in a multi-point environment
JP6820475B2 (en) * 2017-02-08 2021-01-27 アイコム株式会社 Voice communication systems, terminal equipment, and programs
JP7240220B2 (en) * 2019-03-25 2023-03-15 株式会社日立国際電気 Radio communication system and central unit
CN111212452B (en) * 2020-01-13 2022-05-17 海能达通信股份有限公司 Handover method for voice communication, communication system, terminal and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2618967B1 (en) * 1987-07-31 1989-12-15 Js Telecommunications AUDIO CONFERENCE MANAGEMENT METHOD AND CIRCUIT
US5559876A (en) * 1995-09-01 1996-09-24 Telefonaktiebolaget L M Ericsson (Publ) Conferencing circuit, and associated method, for automatically conferencing subscriber units together in a telephonic conference
JPH09270859A (en) * 1996-03-29 1997-10-14 Mitsubishi Electric Corp Conference speech method and device therefor
CN1120610C (en) * 1999-04-26 2003-09-03 华为技术有限公司 Control circuit and method for telephones of telephone meeting

Also Published As

Publication number Publication date
JP2002215193A (en) 2002-07-31
CN1331340C (en) 2007-08-08
CN1366412A (en) 2002-08-28

Similar Documents

Publication Publication Date Title
US7822050B2 (en) Buffering, pausing and condensing a live phone call
US7599834B2 (en) Method and apparatus of voice mixing for conferencing amongst diverse networks
EP2207335B1 (en) Method and apparatus for storing and forwarding voice signals
US9491299B2 (en) Teleconferencing using monophonic audio mixed with positional metadata
JPH06350722A (en) Method for conference telephone call participation pursuit
CN112104836A (en) Audio mixing method, system, storage medium and equipment for audio server
US20100151915A1 (en) Headset or Hands-free Set for Mobile Telephones Monitoring Voice Mail Messages in Real-Time and Offering the Option to Take Over Conversation with the Caller
JP2006295931A (en) Apparatus and method for switching voice codec of mobile terminal
US20010053132A1 (en) Management method and a conference unit for use in a communication system including user terminals communicating by means of the internet protocol
CN104253696B (en) Police handheld speech talkback method and system Internet-based
TW515191B (en) Voice code switching method, voice code switching device and voice communication terminal
US11856149B2 (en) Method for establishing call connection, first terminal, server, and storage medium
US8515039B2 (en) Method for carrying out a voice conference and voice conference system
US6859779B2 (en) Communication apparatus
US7113514B2 (en) Apparatus and method for implementing a packet based teleconference bridge
US20070129037A1 (en) Mute processing apparatus and method
US7170886B1 (en) Devices, methods and software for generating indexing metatags in real time for a stream of digitally stored voice data
JP2732842B2 (en) Conference circuit for digital communication system
CN113035226A (en) Voice call method, communication terminal, and computer-readable medium
JP6289178B2 (en) Call conferencing system
JP3764339B2 (en) Voice communication system
JPH06311233A (en) Voice mail system
JP3549611B2 (en) Multipoint communication device
CN112543202B (en) Method, system and readable storage medium for transmitting shared sound in network conference
CN108347518A (en) Telephone receiving method, apparatus and terminal

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent
MM4A Annulment or lapse of patent due to non-payment of fees