JP4628798B2 - Communication terminal device - Google Patents
Communication terminal device Download PDFInfo
- Publication number
- JP4628798B2 JP4628798B2 JP2005006208A JP2005006208A JP4628798B2 JP 4628798 B2 JP4628798 B2 JP 4628798B2 JP 2005006208 A JP2005006208 A JP 2005006208A JP 2005006208 A JP2005006208 A JP 2005006208A JP 4628798 B2 JP4628798 B2 JP 4628798B2
- Authority
- JP
- Japan
- Prior art keywords
- codec
- communication terminal
- terminal
- state
- received
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本発明は、通信中におけるコーデック(符号化および復号化の処理方式)の変更タイミングの改善を図った通信端末装置に関する。 The present invention relates to a communication terminal device that improves the change timing of a codec (encoding and decoding processing method) during communication.
デジタル通信において、データの送信時に、符号化処理によってデータを圧縮し、データの受信時に、復号化処理によってデータを伸張することが行われている。非特許文献1には、アップリンクおよびダウンリンクにおいて、異なるコーデックモードを使用する可能性があることが記載されている。特許文献1には、コーデックを切り替える際に、一定期間、データのミュートを行い、その後、時間の経過と共にレベルが上昇するように制御することにより、コーデックの切り替え時の異音の発生を防止することが記載されている。また、特許文献2には、コーデックを切り替え始めてから切り替えが完了するまでの間、切り替え前のコーデックと切り替え後のコーデックの両方で符号化した(2つの)データを送信することにより、コーデックの切り替え時の異音の発生や音声の途切れを防止することが記載されている。
通信中にコーデックを切り替える際に、データの送信側と受信側が同時にコーデックを切り替えないと、異音の発生が生じるという問題があった。また、特許文献1に記載された技術においては、データのミュート中に音声の途切れが発生するという問題点があった。一方、特許文献2に記載された技術においては、コーデックの切り替え時に、2つのコーデックで符号化した(2つの)データを送信するために、一時的に約2倍の帯域を必要とするという問題点があった。これは、移動体通信環境などでは貴重な無線リソースの浪費に繋がり、さらに、あるコーデックでのデータ程度しか通信できない狭帯域の無線システムも存在し、一時的であっても約2倍の帯域を使うことができない場合が考えられる。 When switching the codec during communication, if the data transmission side and the reception side do not switch the codec at the same time, there is a problem that abnormal noise occurs. Further, the technique described in Patent Document 1 has a problem in that sound is interrupted during data muting. On the other hand, in the technique described in Patent Document 2, there is a problem that about twice the bandwidth is temporarily required to transmit (two) data encoded by two codecs when the codec is switched. There was a point. This leads to wasted valuable radio resources in mobile communication environments, and there are also narrowband radio systems that can only communicate data with a certain codec. There are cases where it cannot be used.
本発明は、上述した問題点に鑑みてなされたものであって、無線リソースを浪費することなく、コーデックの切り替え時の音声の途切れや異音の発生を防止することができる通信端末装置を提供することを目的とする。 The present invention has been made in view of the above-described problems, and provides a communication terminal device capable of preventing the interruption of sound and the occurrence of abnormal noise during codec switching without wasting radio resources. The purpose is to do.
本発明は上記の課題を解決するためになされたもので、請求項1に記載の発明は、他の通信端末装置との間で音声データの送受信を行い、通信状態に応じて前記音声データの符号化および復号化に用いるコーデックを切り替える通信端末装置において、前記他の通信端末装置との間で送信および受信される前記音声データの有音状態および無音状態を検出する検出手段と、使用するコーデックを判定し、該判定したコーデックに切り替える制御手段とを具備し、前記制御手段は、前記判定したコーデックに切り替える際に、前記他の通信端末装置へ送信される前記音声データが有音状態であり、かつ前記他の通信端末装置から受信された前記音声データが無音状態であったときに、復号化に用いられる前記コーデックを切り替えることを特徴とする通信端末装置である。 The present invention has been made to solve the above problems, and the invention according to claim 1 transmits / receives audio data to / from another communication terminal device, and the audio data is transmitted according to a communication state. In a communication terminal device for switching a codec used for encoding and decoding, a detecting means for detecting a voiced state and a silent state of the voice data transmitted and received with the other communication terminal device, and a codec used Control means for switching to the determined codec, and the control means, when switching to the determined codec , the voice data transmitted to the other communication terminal device is in a voiced state And switching the codec used for decoding when the audio data received from the other communication terminal apparatus is silent. A communication terminal device.
本発明の通信端末装置の作用は以下のようになる。例えば、第1の通信形態として、2つの通信端末装置(端末Aおよび端末Bとする)の間で通信を行っている間に、端末Aにおいて通信状態が変化し、コーデックを切り替える必要性が生じたとする。端末Aの制御手段は、検出手段によって検出された、端末Bとの間で送信および受信される音声データの有音状態および無音状態に基づいて、コーデックの切り替えタイミングを決定する。端末Aの制御手段は、端末Bへ送信される音声データが有音状態であり、かつ端末Bから受信された音声データが無音状態であったときに、復号化に用いられるコーデックを切り替える。 The operation of the communication terminal device of the present invention is as follows. For example, as a first communication form, while communication is performed between two communication terminal apparatuses (terminal A and terminal B), the communication state changes in terminal A, and the need to switch codecs arises. Suppose. The control means of the terminal A determines the codec switching timing based on the voiced state and silent state of the voice data transmitted and received with the terminal B detected by the detecting means. The control means of the terminal A switches the codec used for decoding when the voice data transmitted to the terminal B is in a voiced state and the voice data received from the terminal B is in a silent state.
また、第2の通信形態として、端末Aと他の複数の端末(例えば端末Bおよび端末Cとする)が通信を行っている間に、端末Aにおいて通信状態が変化し、コーデックを切り替える必要性が生じたとする。この場合にも、上記と同様にして、端末Aは、復号化に用いられるコーデックを切り替える。 In addition, as a second communication mode, it is necessary to switch the codec because the communication state changes in the terminal A while the terminal A communicates with a plurality of other terminals (for example, the terminal B and the terminal C). Suppose that occurs. Also in this case, the terminal A switches the codec used for decoding in the same manner as described above.
請求項2に記載の発明は、請求項1に記載の通信端末装置において、前記制御手段によって、復号化に用いられる前記コーデックが切り替えられた場合には、該コーデックの切り替えを通知する第1の通知情報を生成し、前記他の通信端末装置へ送信し、前記他の通信端末装置によって前記第1の通知情報が送信された場合には、該第1の通知情報を受信し、該第1の通知情報によって示される前記コーデックの切り替えの情報を前記制御手段に通知する第1の通知情報処理手段をさらに具備し、前記制御手段はさらに、通知された前記コーデックの切り替えの情報に基づいて、符号化に用いられる前記コーデックを切り替えることを特徴とする。 According to a second aspect of the present invention, in the communication terminal device according to the first aspect, when the codec used for decoding is switched by the control means, a first codec switching is notified. Notification information is generated and transmitted to the other communication terminal device. When the first notification information is transmitted by the other communication terminal device, the first notification information is received, and the first notification information is received. Further comprising first notification information processing means for notifying the control means of the codec switching information indicated by the notification information, wherein the control means is further based on the notified codec switching information, The codec used for encoding is switched.
本発明の通信端末装置の作用は以下のようになる。上記の第1の通信形態の場合、端末Aの第1の通知情報処理手段は、第1の通知情報を生成して端末Bへ送信する。端末Bの第1の通知情報処理手段は、この第1の通知情報を受信し、第1の通知情報によって示されるコーデックの切り替えの情報を端末Bの制御手段に通知する。端末Bの制御手段は、通知されたコーデックの切り替えの情報に基づいて、符号化に用いられるコーデックを切り替える。 The operation of the communication terminal device of the present invention is as follows. In the case of the first communication mode described above, the first notification information processing means of the terminal A generates first notification information and transmits it to the terminal B. The first notification information processing unit of the terminal B receives the first notification information and notifies the control unit of the terminal B of the codec switching information indicated by the first notification information. The control means of terminal B switches the codec used for encoding based on the notified codec switching information.
また、上記の第2の通信形態の場合、端末Aおよび端末Bの作用は上記と同様である。端末Cにおいても、第1の通知情報処理手段は、第1の通知情報を受信し、第1の通知情報によって示されるコーデックの切り替えの情報を端末Cの制御手段に通知する。端末Cの制御手段は、通知されたコーデックの切り替えの情報に基づいて、符号化に用いられるコーデックを切り替える。 In the case of the second communication mode, the operation of the terminal A and the terminal B is the same as described above. Also in the terminal C, the first notification information processing means receives the first notification information and notifies the control means of the terminal C of the codec switching information indicated by the first notification information. The control means of terminal C switches the codec used for encoding based on the notified codec switching information.
請求項3に記載の発明は、請求項2に記載の通信端末装置において、前記制御手段はさらに、通知された前記コーデックの切り替えの情報に基づいて、前記他の通信端末装置へ送信される前記音声データが無音状態であり、かつ前記他の通信端末装置から受信された前記音声データが有音状態であったときに、符号化に用いられる前記コーデックを切り替えることを特徴とする。 According to a third aspect of the present invention, in the communication terminal device according to the second aspect, the control unit is further transmitted to the other communication terminal device based on the notified codec switching information. When the voice data is in a silent state and the voice data received from the other communication terminal apparatus is in a voiced state, the codec used for encoding is switched.
請求項4に記載の発明は、請求項2に記載の通信端末装置において、前記制御手段はさらに、符号化に用いられる前記コーデックを切り替えた後、前記他の通信端末装置へ送信される前記音声データが有音状態であり、かつ前記他の通信端末装置から受信された前記音声データが無音状態であったときに、復号化に用いられる前記コーデックを切り替えることを特徴とする。 According to a fourth aspect of the present invention, in the communication terminal device according to the second aspect, the control unit further switches the codec used for encoding and then transmits the voice to the other communication terminal device. When the data is in a voiced state and the voice data received from the other communication terminal apparatus is in a silent state, the codec used for decoding is switched.
請求項5に記載の発明は、請求項1〜請求項4のいずれかの項に記載の通信端末装置において、前記制御手段は、前記復号化に用いられる前記コーデックを切り替える際に、前記他の通信端末装置へ送信される前記音声データが第1の所定時間の間、有音状態であり、かつ前記他の通信端末装置から受信された前記音声データが第2の所定時間の間、無音状態であった場合に、復号化に用いられる前記コーデックを切り替えることを特徴とする。 According to a fifth aspect of the present invention, in the communication terminal device according to any one of the first to fourth aspects, the control means switches the other codec when switching the codec used for the decoding. The voice data transmitted to the communication terminal device is in a voiced state for a first predetermined time, and the voice data received from the other communication terminal device is in a silent state for a second predetermined time. If it is, the codec used for decoding is switched.
請求項6に記載の発明は、請求項1に記載の通信端末装置において、復号化に用いられる前記コーデックが切り替えられる際には、該コーデックの切り替えの情報を通知する第2の通知情報を生成して、前記コーデックが切り替えられる前に前記他の通信端末装置へ送信し、前記他の通信端末装置によって前記第2の通知情報が送信された場合には、該第2の通知情報を受信し、該第2の通知情報によって示される前記コーデックの切り替えの情報を前記制御手段に通知する第2の通知情報処理手段をさらに具備し、前記制御手段はさらに、前記第2の通知情報が受信された場合に、前記他の通信端末装置へ送信される前記音声データが無音状態であり、かつ前記他の通信端末装置から受信された前記音声データが有音状態であったときに、通知された前記コーデックの切り替えの情報に基づいて、符号化に用いられる前記コーデックを切り替えることを特徴とする。 According to a sixth aspect of the present invention, in the communication terminal device according to the first aspect, when the codec used for decoding is switched, second notification information for notifying information on switching of the codec is generated. If the second notification information is transmitted by the other communication terminal device before the codec is switched and the second notification information is transmitted by the other communication terminal device, the second notification information is received. , Further comprising second notification information processing means for notifying the control means of the codec switching information indicated by the second notification information, wherein the control means further receives the second notification information. When the voice data transmitted to the other communication terminal device is in a silent state, and the voice data received from the other communication terminal device is in a voiced state, Based on the switching information of the knowledge it has been the codec, and switches the codec used for encoding.
本発明の通信端末装置の作用は以下のようになる。上記の第1の通信形態の場合、端末Aにおいて通信状態が変化し、コーデックを切り替える必要性が生じたとする。端末Aの第2の通知情報処理手段は、第2の通知情報を生成して端末Bへ送信する。続いて、端末Aの制御手段は、端末Bへ送信される音声データが有音状態であり、かつ端末Bから受信された音声データが無音状態であったときに、復号化に用いられるコーデックを切り替える。また、端末Bの第2の通知情報処理手段は、第2の通知情報を受信し、第2の通知情報によって示されるコーデックの切り替えの情報を端末Bの制御手段に通知する。端末Bの制御手段は、端末Aへ送信される音声データが無音状態であり、かつ端末Aから受信された音声データが有音状態であったときに、通知されたコーデックの切り替えの情報に基づいて、符号化に用いられるコーデックを切り替える。 The operation of the communication terminal device of the present invention is as follows. In the case of the first communication mode described above, it is assumed that the communication state has changed in terminal A, and the need to switch codecs has arisen. The second notification information processing means of terminal A generates second notification information and transmits it to terminal B. Subsequently, the control means of the terminal A determines the codec used for decoding when the voice data transmitted to the terminal B is in a voiced state and the voice data received from the terminal B is in a silent state. Switch. Further, the second notification information processing unit of the terminal B receives the second notification information and notifies the control unit of the terminal B of the codec switching information indicated by the second notification information. The control means of the terminal B is based on the notified codec switching information when the voice data transmitted to the terminal A is silent and the voice data received from the terminal A is voiced. Thus, the codec used for encoding is switched.
また、上記の第2の通信形態の場合、端末Aおよび端末Bの作用は上記と同様である。端末Cにおいても、第2の通知情報処理手段は、第2の通知情報を受信し、第2の通知情報によって示されるコーデックの切り替えの情報を端末Cの制御手段に通知する。端末Cの制御手段は、他の端末へ送信される音声データが無音状態であり、かつ他の端末から受信された音声データが有音状態であったときに、通知されたコーデックの切り替えの情報に基づいて、符号化に用いられるコーデックを切り替える。 In the case of the second communication mode, the operation of the terminal A and the terminal B is the same as described above. Also in the terminal C, the second notification information processing means receives the second notification information and notifies the control means of the terminal C of the codec switching information indicated by the second notification information. The control means of the terminal C is the information on the codec switching notified when the voice data transmitted to the other terminal is in a silent state and the voice data received from the other terminal is in a voiced state. Based on the above, the codec used for encoding is switched.
請求項7に記載の発明は、他の通信端末装置との間で音声データの送受信を行い、通信状態に応じて前記音声データの符号化および復号化に用いるコーデックを切り替える通信端末装置において、前記他の通信端末装置との間で送信および受信される前記音声データの有音状態および無音状態を検出する検出手段と、前記コーデックを切り替える制御手段とを具備し、前記制御手段は、前記コーデックを切り替える際に、前記他の通信端末装置へ送信される前記音声データが無音状態であり、かつ前記他の通信端末装置から受信された前記音声データが有音状態であったときに、符号化に用いられる前記コーデックを切り替えることを特徴とする通信端末装置である。
本発明の通信端末装置の作用は請求項1に記載の通信端末装置の作用と同様である。
The invention according to claim 7 is a communication terminal device that transmits and receives audio data to and from another communication terminal device, and switches a codec used for encoding and decoding the audio data according to a communication state. Detecting means for detecting a voiced state and a silent state of the voice data transmitted and received with another communication terminal device; and a control means for switching the codec, wherein the control means When switching, when the voice data transmitted to the other communication terminal apparatus is in a silent state and the voice data received from the other communication terminal apparatus is in a voiced state, encoding is performed. The communication terminal apparatus is characterized in that the codec used is switched.
The operation of the communication terminal device of the present invention is the same as the operation of the communication terminal device according to claim 1.
請求項8に記載の発明は、請求項7に記載の通信端末装置において、前記制御手段によって、符号化に用いられる前記コーデックが切り替えられた場合には、該コーデックの切り替えを通知する第1の通知情報を生成し、前記他の通信端末装置へ送信し、前記他の通信端末装置によって前記第1の通知情報が送信された場合には、該第1の通知情報を受信し、該第1の通知情報によって示される前記コーデックの切り替えの情報を前記制御手段に通知する第1の通知情報処理手段をさらに具備し、前記制御手段はさらに、通知された前記コーデックの切り替えの情報に基づいて、復号化に用いられる前記コーデックを切り替えることを特徴とする。
本発明の通信端末装置の作用は請求項2に記載の通信端末装置の作用と同様である。
According to an eighth aspect of the present invention, in the communication terminal device according to the seventh aspect, when the codec used for encoding is switched by the control means, a first codec switching is notified. Notification information is generated and transmitted to the other communication terminal device. When the first notification information is transmitted by the other communication terminal device, the first notification information is received, and the first notification information is received. Further comprising first notification information processing means for notifying the control means of the codec switching information indicated by the notification information, wherein the control means is further based on the notified codec switching information. The codec used for decoding is switched.
The operation of the communication terminal device of the present invention is the same as the operation of the communication terminal device according to claim 2.
請求項9に記載の発明は、請求項8に記載の通信端末装置において、前記制御手段はさらに、通知された前記コーデックの切り替えの情報に基づいて、前記他の通信端末装置へ送信される前記音声データが有音状態であり、かつ前記他の通信端末装置から受信された前記音声データが無音状態であったときに、復号化に用いられる前記コーデックを切り替えることを特徴とする。
本発明の通信端末装置の作用は請求項3に記載の通信端末装置の作用と同様である。
According to a ninth aspect of the present invention, in the communication terminal device according to the eighth aspect, the control means is further transmitted to the other communication terminal device based on the notified codec switching information. When the voice data is in a voiced state and the voice data received from the other communication terminal apparatus is in a silent state, the codec used for decoding is switched.
The operation of the communication terminal device of the present invention is the same as the operation of the communication terminal device according to
請求項10に記載の発明は、請求項1に記載の通信端末装置において、前記制御手段はさらに、復号化に用いられる前記コーデックを切り替えた後、前記他の通信端末装置へ送信される前記音声データが無音状態であり、かつ前記他の通信端末装置から受信された前記音声データが有音状態であったときに、符号化に用いられる前記コーデックを切り替えることを特徴とする。
本発明の通信端末装置の作用は請求項4に記載の通信端末装置の作用と同様である。
According to a tenth aspect of the present invention, in the communication terminal device according to the first aspect, the control means further switches the codec used for decoding, and then transmits the voice to the other communication terminal device. The codec used for encoding is switched when the data is in a silent state and the voice data received from the other communication terminal apparatus is in a voiced state.
The operation of the communication terminal device of the present invention is the same as the operation of the communication terminal device according to
請求項11に記載の発明は、請求項7〜請求項10のいずれかの項に記載の通信端末装置において、前記制御手段は、前記符号化に用いられる前記コーデックを切り替える際に、前記他の通信端末装置へ送信される前記音声データが第1の所定時間の間、無音状態であり、かつ前記他の通信端末装置から受信された前記音声データが第2の所定時間の間、有音状態であった場合に、符号化に用いられる前記コーデックを切り替えることを特徴とする。 According to an eleventh aspect of the present invention, in the communication terminal device according to any one of the seventh to tenth aspects, the control means switches the other codec when switching the codec used for the encoding. The voice data transmitted to the communication terminal device is silent for a first predetermined time, and the voice data received from the other communication terminal device is voiced for a second predetermined time. If it is, the codec used for encoding is switched.
請求項12に記載の発明は、請求項7に記載の通信端末装置において、符号化に用いられる前記コーデックが切り替えられる際には、該コーデックの切り替えの情報を通知する第2の通知情報を生成して、前記コーデックが切り替えられる前に前記他の通信端末装置へ送信し、前記他の通信端末装置によって前記第2の通知情報が送信された場合には、該第2の通知情報を受信し、該第2の通知情報によって示される前記コーデックの切り替えの情報を前記制御手段に通知する第2の通知情報処理手段をさらに具備し、前記制御手段はさらに、前記第2の通知情報が受信された場合に、前記他の通信端末装置へ送信される前記音声データが有音状態であり、かつ前記他の通信端末装置から受信された前記音声データが無音状態であったときに、通知された前記コーデックの切り替えの情報に基づいて、復号化に用いられる前記コーデックを切り替えることを特徴とする。 According to a twelfth aspect of the present invention, in the communication terminal device according to the seventh aspect, when the codec used for encoding is switched, the second notification information for notifying the codec switching information is generated. If the second notification information is transmitted by the other communication terminal device before the codec is switched and the second notification information is transmitted by the other communication terminal device, the second notification information is received. , Further comprising second notification information processing means for notifying the control means of the codec switching information indicated by the second notification information, wherein the control means further receives the second notification information. The voice data transmitted to the other communication terminal device is in a voiced state, and the voice data received from the other communication terminal device is in a silent state. Based on the notified information of the switching of the codec, and switches the codec used for decoding.
本発明の通信端末装置の作用は以下のようになる。前述した第1の通信形態の場合に、端末Aにおいて通信状態が変化し、コーデックを切り替える必要性が生じたとする。端末Aの第2の通知情報処理手段は、第2の通知情報を生成して端末Bへ送信する。続いて、端末Aの制御手段は、端末Bへ送信される音声データが有音状態であり、かつ端末Bから受信された音声データが無音状態であったときに、復号化に用いられるコーデックを切り替える。また、端末Bの第2の通知情報処理手段は、第2の通知情報を受信し、第2の通知情報によって示されるコーデックの切り替えの情報を端末Bの制御手段に通知する。端末Bの制御手段は、端末Aへ送信される音声データが有音状態であり、かつ端末Aから受信された音声データが無音状態であったときに、通知されたコーデックの切り替えの情報に基づいて、復号化に用いられるコーデックを切り替える。 The operation of the communication terminal device of the present invention is as follows. In the case of the first communication mode described above, it is assumed that the communication state changes in the terminal A, and it becomes necessary to switch the codec. The second notification information processing means of terminal A generates second notification information and transmits it to terminal B. Subsequently, the control means of the terminal A determines the codec used for decoding when the voice data transmitted to the terminal B is in a voiced state and the voice data received from the terminal B is in a silent state. Switch. Further, the second notification information processing unit of the terminal B receives the second notification information and notifies the control unit of the terminal B of the codec switching information indicated by the second notification information. The control means of the terminal B is based on the notified codec switching information when the voice data transmitted to the terminal A is in a voiced state and the voice data received from the terminal A is in a silent state. Thus, the codec used for decoding is switched.
請求項13に記載の発明は、請求項7に記載の通信端末装置において、符号化に用いられる前記コーデックが切り替えられる際には、該コーデックの切り替えの情報を通知する第2の通知情報を生成して、前記コーデックが切り替えられる前に前記他の通信端末装置へ送信し、前記他の通信端末装置によって前記第2の通知情報が送信された場合には、該第2の通知情報を受信し、該第2の通知情報によって示される前記コーデックの切り替えの情報を前記制御手段に通知する第2の通知情報処理手段をさらに具備し、前記制御手段はさらに、前記第2の通知情報が受信された場合に、前記他の通信端末装置へ送信される前記音声データが有音状態であり、かつ前記他の通信端末装置から受信された前記音声データが無音状態であったときには、通知された前記コーデックの切り替えの情報に基づいて、復号化に用いられる前記コーデックを切り替え、前記他の通信端末装置へ送信される前記音声データが無音状態であり、かつ前記他の通信端末装置から受信された前記音声データが有音状態であったときには、通知された前記コーデックの切り替えの情報に基づいて、符号化に用いられる前記コーデックを切り替えることを特徴とする。 According to a thirteenth aspect of the present invention, in the communication terminal device according to the seventh aspect, when the codec used for encoding is switched, second notification information for notifying information on switching of the codec is generated. If the second notification information is transmitted by the other communication terminal device before the codec is switched and the second notification information is transmitted by the other communication terminal device, the second notification information is received. , Further comprising second notification information processing means for notifying the control means of the codec switching information indicated by the second notification information, wherein the control means further receives the second notification information. The voice data transmitted to the other communication terminal device is in a voiced state, and the voice data received from the other communication terminal device is in a silent state. The codec used for decoding is switched based on the notified codec switching information, the audio data transmitted to the other communication terminal apparatus is in a silent state, and the other communication terminal apparatus When the audio data received from the voice data is in a voiced state, the codec used for encoding is switched based on the notified codec switching information.
本発明の通信端末装置の作用は以下のようになる。前述した第2の通信形態の場合に、例えば端末Aおよび端末Cにおいて、他の端末へ送信される音声データが無音状態であり、他の端末から受信された音声データが有音状態であったとする。また、端末Bにおいて、他の端末へ送信される音声データが有音状態であり、他の端末から受信された音声データが無音状態であったとする。端末Aは、第2の通知情報を生成して端末Bおよび端末Cへ送信する。続いて、端末Aの制御手段は、他の端末へ送信される音声データが無音状態であり、かつ他の端末から受信された音声データが有音状態であることを認識し、符号化に用いられるコーデックを切り替える。 The operation of the communication terminal device of the present invention is as follows. In the case of the second communication mode described above, for example, in terminal A and terminal C, the voice data transmitted to the other terminal is silent, and the voice data received from the other terminal is in a voiced state. To do. Further, in terminal B, it is assumed that voice data transmitted to another terminal is in a voiced state and voice data received from another terminal is in a silent state. Terminal A generates second notification information and transmits it to terminal B and terminal C. Subsequently, the control means of the terminal A recognizes that the voice data transmitted to the other terminal is in a silent state and the voice data received from the other terminal is in a voiced state, and uses it for encoding. Switch the codec to be used.
また、端末Bおよび端末Cの第2の通知情報処理手段は、第2の通知情報を受信し、第2の通知情報によって示されるコーデックの切り替えの情報を各端末の制御手段に通知する。端末Bの制御手段は、他の端末へ送信される音声データが有音状態であり、他の端末から受信された音声データが無音状態であることを認識し、通知されたコーデックの切り替えの情報に基づいて、復号化に用いられるコーデックを切り替える。また、端末Cの制御手段は、他の端末へ送信される音声データが無音状態であり、他の端末から受信された音声データが有音状態であることを認識し、通知されたコーデックの切り替えの情報に基づいて、符号化に用いられるコーデックを切り替える。 Further, the second notification information processing means of the terminal B and the terminal C receives the second notification information, and notifies the control means of each terminal of the codec switching information indicated by the second notification information. The control means of the terminal B recognizes that the voice data transmitted to the other terminal is in a voiced state and the voice data received from the other terminal is in a silent state, and is notified of the codec switching information notified. Based on, the codec used for decoding is switched. Further, the control means of the terminal C recognizes that the voice data transmitted to the other terminal is in a silent state and the voice data received from the other terminal is in a voiced state, and switches the notified codec. Based on the information, the codec used for encoding is switched.
請求項14に記載の発明は、請求項2、請求項3、請求項6、請求項8、請求項9、請求項12、請求項13のいずれかの項に記載の通信端末装置において、前記制御手段はさらに、符号化および復号化のうち一方に用いられる前記コーデックを切り替えた後、前記他の通信端末装置へ送信される前記音声データが無音状態であり、かつ前記他の通信端末装置から受信された前記音声データが無音状態であったときに、他方に用いられる前記コーデックを切り替えることを特徴とする。 According to a fourteenth aspect of the present invention, there is provided the communication terminal device according to any one of the second, third, sixth, eighth, ninth, twelfth, and thirteenth aspects. The control unit further switches the codec used for one of encoding and decoding, and then the audio data transmitted to the other communication terminal apparatus is in a silent state, and from the other communication terminal apparatus When the received audio data is silent, the codec used for the other is switched.
請求項15に記載の発明は、請求項6、請求項12、請求項13のいずれかの項に記載の通信端末装置において、前記制御手段は、復号化に用いられる前記コーデックを切り替える際には、前記他の通信端末装置へ送信される前記音声データが第1の所定時間の間、有音状態であり、かつ前記他の通信端末装置から受信された前記音声データが第2の所定時間の間、無音状態であった場合に、復号化に用いられる前記コーデックを切り替え、符号化に用いられる前記コーデックを切り替える際には、前記他の通信端末装置へ送信される前記音声データが第3の所定時間の間、無音状態であり、かつ前記他の通信端末装置から受信された前記音声データが第4の所定時間の間、有音状態であった場合に、符号化に用いられる前記コーデックを切り替えることを特徴とする。 According to a fifteenth aspect of the present invention, in the communication terminal device according to any one of the sixth, twelfth, and thirteenth aspects, the control means switches the codec used for decoding. The voice data transmitted to the other communication terminal apparatus is in a sound state for a first predetermined time, and the voice data received from the other communication terminal apparatus is a second predetermined time. When the codec used for decoding is switched and the codec used for encoding is switched when there is a silent state, the audio data transmitted to the other communication terminal device is a third The codec used for encoding when the audio data is silent for a predetermined time and the audio data received from the other communication terminal device is in a sound state for a fourth predetermined time. Cut off And wherein the frog.
本発明によれば、無線リソースを浪費することなく、コーデックの切り替え時の音声の途切れや異音の発生を防止することができるという効果が得られる。 According to the present invention, there is an effect that it is possible to prevent the interruption of sound and the generation of abnormal noise when switching codecs without wasting radio resources.
以下、図面を参照し、本発明を実施するための最良の形態について説明する。図1は、本発明の第1の実施形態による通信システムの構成を示すブロック図である。端末1Aおよび1Bは共に、携帯電話端末や、PDA(Personal Digital Assistance)装置のような携帯情報端末等の、無線通信機能を備えた端末装置である。AP21および22は共に、無線LANにおける中継局である。AP21および22は、バックボーンネットワーク30を介して互いに接続されている。バックボーンネットワーク30は、有線あるいは無線のLAN(Local Area Network)等の小ネットワークの接続点どうしを結ぶ基幹ネットワークである。
The best mode for carrying out the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a communication system according to the first embodiment of the present invention. Each of the
端末1Aは、AP21と無線通信が可能なエリア210内に位置し、端末1Bは、AP22と無線通信が可能なエリア220内に位置している。図1において、端末1AはAP21に接続しており、端末1BはAP22に接続しているものとする。また、端末1Aおよび1Bは、AP21、22、およびバックボーンネットワーク30を介して、VoIP(Voice over IP)を用いて音声通信を行っているものとする。端末1Aおよび1Bは共に、コーデックa,b,c,dという4種類のコーデックに対応した符号化および復号化の処理手段を有しており、コーデックa,b,c,dの順に品質が良く、所要通信帯域が広いものとする。本実施形態におけるコーデックa〜dは、例えばG.711(通信速度64Kbps)やG.726(同32Kbps)、G.729(同8Kbps)、G.723.1(同6.3K/5.3Kbps)等である。
The
端末1Aおよび1Bは同一の構成を有している。図2は、端末1Aおよび1Bの構成を示すブロック図である。図2においては、本実施形態において特徴的な構成のみが図示されており、他の構成については図示が省略されている。以下、図中の各構成について説明する。アンテナ101は、AP21または22と、音声データに基づいた電波の送受信を行う。ネットワークインタフェース部102は、例えば無線LANやセルラーに対応したインタフェースであり、送信信号の変調処理および受信信号の復調処理等を行う。パケット処理部103は、送信および受信される音声データのパケットに付加される宛先ヘッダの処理等、パケットに係る処理を行う。
マイク104は、音声入力装置としての機能を有し、入力されたユーザの音声をアナログ信号に変換してADC(Analog−Digital Converter)105へ出力する。ADC105は、マイク104から出力されたアナログ信号をデジタルデータに変換してエンコーダ106へ出力する。エンコーダ106は、ADC105から出力されたデータに対して符号化処理を施し、送信データとしてパケット処理部103へ出力する。デコーダ107は、パケット処理部103から出力された受信データに対して復号化処理を施し、DAC(Digital−Analog Converter)108へ出力する。
The
DAC108は、デコーダ107から出力されたデジタル信号をアナログ信号に変換し、スピーカー109へ出力する。スピーカー109は、DAC108から出力されたアナログ信号に基づいて、通話相手の音声を発生する。エンコーダ変更通知処理部110は、エンコーダ106のコーデックを変更したことを通信相手の端末に通知するためのメッセージであるエンコーダ変更通知を生成すると共に、通信相手の端末から受信されたエンコーダ変更通知を処理する。デコーダ変更通知処理部111は、デコーダ107のコーデックを変更したことを通信相手の端末に通知するためのメッセージであるデコーダ変更通知を生成すると共に、通信相手の端末から受信されたデコーダ変更通知を処理する。通信状態計測部112は、電波状況(電波の受信強度等)や通信伝送速度等によって示される通信状態を測定する。
The
制御部113は端末内部の各構成を制御する。制御部113は、特に、コーデックの変更に係る処理を行う電圧レベル計測部113a、コーデック選択部113b、およびコーデック変更決定部113cを有している。電圧レベル計測部113aは、ADC105の入力および出力、エンコーダ106の入力および出力、DAC108の入力および出力、デコーダ107の入力および出力等の信号の電圧レベルを計測することにより、送信信号および受信信号中の無音部と有音部の検出を行う。コーデック選択部113bは、エンコーダ106およびデコーダ107におけるコーデックを変更する。コーデック変更決定部113cは、電波状況が悪くなったり、通信伝送速度が悪くなったりしたことが通信状態計測部112から通知された場合に、電圧レベル計測部113aによって計測された無音部と有音部の状態に基づいて、コーデックを変更するか否かを決定する。
The
図3は、エンコーダ106の構成を示すブロック図である。エンコーダ106は、コーデックa〜dの各コーデックに対応して符号化処理を行うコーデック部106a〜106dを備えている。エンコーダ106は、コーデック部106a〜106dの中から、制御部113のコーデック選択部113bによって選択されたコーデック部により、符号化処理を行う。図4は、デコーダ107の構成を示すブロック図である。デコーダ107は、コーデックa〜dの各コーデックに対応して復号化処理を行うコーデック部107a〜107dを備えている。デコーダ107は、コーデック部107a〜107dの中から、制御部113のコーデック選択部113bによって選択されたコーデック部により、復号化処理を行う。
FIG. 3 is a block diagram showing the configuration of the
次に、本実施形態による通信システムの動作について説明する。通話中に、使用しているコーデックを変更する必要が生じるのには様々な場合が想定されるが、本実施形態においては、端末の移動によって電波状況が悪くなり、通信伝送速度が落ちる場合を想定する。図1において、端末1Aは初めLの位置にあり、端末1BとVoIPにより音声通信を行っているものとする。また、端末1AがLの位置にある場合、端末1Aと端末1Bは、共にコーデックaを用いて通話をしているものとする。
Next, the operation of the communication system according to the present embodiment will be described. There are various cases in which it is necessary to change the codec being used during a call, but in this embodiment, the radio wave condition deteriorates due to movement of the terminal, and the communication transmission speed decreases. Suppose. In FIG. 1, it is assumed that the
ここで、端末1AがLの位置からL’の位置へ移動したため、端末1Aの電波受信状況が悪くなり、通信伝送速度が減少したとする。通信状態計測部112は、ネットワークインタフェース部102を介して送信または受信されるデータの通信伝送速度を測定し、その測定値(通信伝送速度の瞬時値または移動平均値)をコーデック変更決定部113cに通知する。コーデック変更決定部113cは、現時点でのコーデックで必要な通信帯域を考慮して予め設定した所定の通信速度を測定値が下回るか否かを判定することにより、コーデックを変更するか否かを決定する。
Here, it is assumed that since the terminal 1A has moved from the position L to the position L ', the radio wave reception status of the
通信状態計測部112によって測定された通信伝送速度が所定の通信速度を下回った場合には、コーデックaによる通信が困難になることが予想される。この場合、コーデック変更決定部113cは、電圧レベル計測部113aに対して、入力信号(バックボーンネットワーク30から到達する信号)および出力信号(マイク104からバックボーンネットワーク30へ向けて出力される信号)の有音および無音の検知の開始を指示する。指示を受けた電圧レベル計測部113aは、入力信号および出力信号の有音/無音の検知を開始し、検知結果をコーデック変更決定部113cに通知する。
When the communication transmission speed measured by the communication
例えば、端末1Aを使用しているユーザ(ユーザAとする)が話していて、端末1Bを使用しているユーザ(ユーザBとする)がユーザAの話を聞いている場合、端末1Aにおいて、入力信号は無音を示し、出力信号は有音を示している。この場合、ユーザAが、予め設定されたしきい値であるt時間連続で話をし(t時間連続で端末1Aにおける出力信号が有音状態となる)、かつ、予め設定されたしきい値であるt’時間連続でユーザBが話をしなかった(t’時間連続で端末1Aにおける入力信号が無音状態となる)時点で、端末1Aは、デコーダ107で用いられているコーデックを、現在の通信伝送速度に適したコーデックbに変更する。また、これと共に端末1Aは、端末1Bに対して、コーデックbへの変更を通知するためのデコーダ変更通知を送信する。なお、継続時間の単位を説明の便宜上、「時間」としているが、「分」「秒」「ms」等としても、本実施形態には何ら影響はない。
For example, when a user (referred to as user A) using
以下、端末1Aが、デコーダ107で用いられているコーデックを変更する際の具体的な動作について説明する。コーデック変更決定部113cは、電圧レベル計測部113aによって通知された入力/出力信号の有音/無音の検知結果に基づいて、出力信号がt時間連続で有音状態であったか否か、および入力信号がt’時間連続で無音状態であったか否かを判定する。出力信号がt時間連続で有音状態であり、かつ入力信号がt’時間連続で無音状態であった場合、コーデック変更決定部113cは、コーデックを変更することを決定し、コーデック選択部113bに対してコーデックの変更を指示する。
Hereinafter, a specific operation when the terminal 1A changes the codec used in the
指示を受けたコーデック選択部113bは、変更後のコーデックとしてコーデックbを選択し、デコーダ107のコーデック部をコーデック部107bに切り替える。以後、デコーダ107は、コーデック部107bにより受信データを復号化する。デコーダ107のコーデック部が切り替えられた後、制御部113は、デコーダ変更通知処理部111に対して、コーデックbへの切り替えを通知すると共に、デコーダ変更通知の生成を指示する。指示を受けたデコーダ変更通知処理部111は、コーデックbの情報を含むデコーダ変更通知を生成し、パケット処理部103へ出力する。パケット処理部103は、デコーダ変更通知に対して所定の処理を行い、ネットワークインタフェース部102へ出力する。ネットワークインタフェース部102は、デコーダ変更通知を変調し、アンテナ101を介してAP21へ送信する。
Upon receiving the instruction, the
図5は、デコーダ変更通知に含まれるメッセージ部の一例を示している。メッセージ部には、種別がデコーダ変更通知であることを示す情報と、変更後のコーデックを示す情報とが含まれている。 FIG. 5 shows an example of a message part included in the decoder change notification. The message part includes information indicating that the type is a decoder change notification and information indicating the codec after the change.
端末1Aによって送信されたデコーダ変更通知は、AP21、バックボーンネットワーク30、およびAP22を介して端末1Bによって受信される。端末1Bは、受信したデコーダ変更通知に基づいて、自身のエンコーダ106で用いられているコーデックをコーデックbに変更する。以下、端末1Bがコーデックを変更する際の具体的な動作について説明する。
The decoder change notification transmitted by the
端末1Bにおいて、ネットワークインタフェース部102は、アンテナ101を介してデコーダ変更通知を受信し、復調処理を行って、パケット処理部103へ出力する。パケット処理部103は、受信されたデコーダ変更通知に対して所定の処理を行い、デコーダ変更通知処理部111へ出力する。デコーダ変更通知処理部111は、デコーダ変更通知の内容をコーデック変更決定部113cに通知する。コーデック変更決定部113cは、デコーダ変更通知の内容に基づいて、コーデック選択部113bに対して、エンコーダ106のコーデックをコーデックbへ変更することを指示する。指示を受けたコーデック選択部113bは、エンコーダ106のコーデック部をコーデック部106bに切り替える。ここで、端末1Bは、デコーダ変更通知に対する確認応答を端末1Aへ送信してもよい。
In the terminal 1B, the
一方、ユーザBが話していて、ユーザAがユーザBの話を聞いている場合には、端末1Aにおいて、入力信号は有音を示し、出力信号は無音を示している。この場合、ユーザBが、予め設定されたしきい値であるt時間連続で話をし(t時間連続で端末1Aにおける入力信号が有音状態となる)、かつ、予め設定されたしきい値であるt’時間連続でユーザAが話をしなかった(t’時間連続で端末1Aにおける出力信号が無音状態となる)時点で、端末1Aは、エンコーダ106で用いられているコーデックを、現在の通信伝送速度に適したコーデックbに変更する。また、これと共に端末1Aは、端末1Bに対して、コーデックbへの変更を通知するためのエンコーダ変更通知を送信する。
On the other hand, when the user B is talking and the user A is listening to the user B, the input signal indicates sound and the output signal indicates silence in the
エンコーダ106で用いられているコーデックを変更する際の端末1Aの動作は、前述した動作と同様である。コーデック変更決定部113cは、電圧レベル計測部113aによって通知された入力/出力信号の有音/無音の検知結果に基づいて、入力信号がt時間連続で有音状態であり、かつ出力信号がt’時間連続で無音状態であることを検出した場合、コーデックを変更することを決定し、コーデック選択部113bに対してコーデックの変更を指示する。
The operation of the terminal 1A when changing the codec used in the
指示を受けたコーデック選択部113bは、変更後のコーデックとしてコーデックbを選択し、エンコーダ106のコーデック部をコーデック部106bに切り替える。以後、エンコーダ106は、コーデック部106bにより送信データを符号化する。エンコーダ106のコーデック部が切り替えられた後、制御部113は、エンコーダ変更通知処理部110に対して、コーデックbへの切り替えを通知すると共に、エンコーダ変更通知の生成を指示する。指示を受けたエンコーダ変更通知処理部110は、コーデックbの情報を含むエンコーダ変更通知を生成し、パケット処理部103へ出力する。パケット処理部103は、エンコーダ変更通知に対して所定の処理を行い、ネットワークインタフェース部102へ出力する。ネットワークインタフェース部102は、エンコーダ変更通知を変調し、アンテナ101を介してAP21へ送信する。
Upon receiving the instruction, the
図6は、エンコーダ変更通知に含まれるメッセージ部の一例を示している。メッセージ部には、種別がエンコーダ変更通知であることを示す情報と、変更後のコーデックを示す情報とが含まれている。 FIG. 6 shows an example of a message part included in the encoder change notification. The message part includes information indicating that the type is an encoder change notification and information indicating the codec after the change.
端末1Aによって送信されたエンコーダ変更通知は、AP21、バックボーンネットワーク30、およびAP22を介して端末1Bによって受信される。端末1Bにおいて、ネットワークインタフェース部102は、アンテナ101を介してエンコーダ変更通知を受信し、復調処理を行って、パケット処理部103へ出力する。パケット処理部103は、受信されたエンコーダ変更通知に対して所定の処理を行い、エンコーダ変更通知処理部110へ出力する。
The encoder change notification transmitted by the
エンコーダ変更通知処理部110は、エンコーダ変更通知の内容をコーデック変更決定部113cに通知する。コーデック変更決定部113cは、エンコーダ変更通知の内容に基づいて、コーデック選択部113bに対して、デコーダ107のコーデックをコーデックbへ変更することを指示する。指示を受けたコーデック選択部113bは、デコーダ107のコーデック部をコーデック部107bに切り替える。ここで、端末1Bは、エンコーダ変更通知に対する確認応答を端末1Aへ送信してもよい。
The encoder change
図7は、上述した動作に基づいて行われるコーデックの変更シーケンスを示している。図7においては、t=t’としている。端末1Aは、自身の電波受信状況が悪くなり、通信伝送速度が減少した時点以後、出力信号がt時間連続で有音状態であり、かつ入力信号がt時間連続で無音状態であった場合に、デコーダ107のコーデックをコーデックaからコーデックbに変更し(ステップS701)、端末1Bへデコーダ変更通知を送信する(ステップS702)。端末1Bはデコーダ変更通知を受信し、デコーダ変更通知の内容に基づいて、エンコーダ106のコーデックをコーデックaからコーデックbに変更する(ステップS703)。
FIG. 7 shows a codec change sequence performed based on the above-described operation. In FIG. 7, t = t ′. When the terminal 1A receives its radio wave reception condition and the communication transmission speed is reduced, the output signal is in a sound state for t time continuous and the input signal is in a silent state for t time continuous. The codec of the
続いて、端末1Aは、入力信号がt時間連続で有音状態であり、かつ出力信号がt時間連続で無音状態であった場合に、エンコーダ106のコーデックをコーデックaからコーデックbに変更し(ステップS704)、端末1Bへエンコーダ変更通知を送信する(ステップS705)。端末1Bはエンコーダ変更通知を受信し、エンコーダ変更通知の内容に基づいて、デコーダ107のコーデックをコーデックaからコーデックbに変更する(ステップS706)。
Subsequently, the terminal 1A changes the codec of the
図8は、上述した端末1Aの動作を示すフローチャートである。以下、図8を用いて、端末1Aの動作を説明する。通信状態計測部112によって測定された通信伝送速度が所定の通信速度を下回った場合に、コーデック変更決定部113cは、有音/無音の継続時間判定用の内部タイマーをリセットし、以後、図8で示される処理を実行する。コーデック変更決定部113cは、コーデック変更が未完了であるか否かを判定する(ステップS801)。コーデック変更が完了している場合、処理を終了する。一方、コーデック変更が完了していない場合には、コーデック変更決定部113cは、電圧レベル計測部113aに対して入力/出力信号の有音/無音の検出を指示し、電圧レベル計測部113aによる有音/無音の検知の結果を解析する。コーデック変更決定部113cは、この電圧レベル計測部113aによる有音/無音の検知の結果に基づいて、入力信号または出力信号が無音状態であるか否かを判定する(ステップS802)。
FIG. 8 is a flowchart showing the operation of the terminal 1A described above. Hereinafter, the operation of the terminal 1A will be described with reference to FIG. When the communication transmission rate measured by the communication
入力信号および出力信号が共に有音状態であった場合には、ステップS801に戻る。入力信号が無音状態であった場合、コーデック変更決定部113cは、デコーダ107のコーデックが未変更であるか否かを判定する(ステップS803)。デコーダ107のコーデックが変更済みであった場合には、ステップS801に戻る。一方、デコーダ107のコーデックが未変更であった場合には、コーデック変更決定部113cは、内部タイマーによるカウントに基づいて、現時点において、出力信号がt時間連続で有音状態であり、かつ入力信号がt’時間連続で無音状態であるか否かを判定する(ステップS804)。
If both the input signal and the output signal are in a sound state, the process returns to step S801. If the input signal is silent, the codec
出力信号がt時間連続で有音状態でなかった場合、または入力信号がt’時間連続で無音状態でなかった場合には、ステップS801に戻る。一方、出力信号がt時間連続で有音状態であり、かつ入力信号がt’時間連続で無音状態であった場合には、コーデック変更決定部113cは、コーデック選択部113bに対してコーデックの変更を指示する。指示を受けたコーデック選択部113bは、前述したように、デコーダ107のコーデック部を切り替える(ステップS805)。
If the output signal has not been in a sound state for a period of t time, or if the input signal has not been in a silent state for a period of t ′ time, the process returns to step S801. On the other hand, when the output signal is in a sound state for t time continuous and the input signal is in a silent state for t 'continuous time, the codec
続いて、コーデック変更決定部113cは、デコーダ変更通知処理部111に対して、コーデックの切り替えを通知すると共に、デコーダ変更通知の生成を指示する。指示を受けたデコーダ変更通知処理部111は、前述したように、デコーダ変更通知を生成する。このデコーダ変更通知は端末1Bへ送信される(ステップS806)。続いて、内部タイマーをリセットし、処理はステップS801に戻る。
Subsequently, the codec
また、ステップS802において、出力信号が無音状態であった場合、コーデック変更決定部113cは、エンコーダ106のコーデックが未変更であるか否かを判定する(ステップS807)。エンコーダ106のコーデックが変更済みであった場合には、ステップS801に戻る。一方、エンコーダ106のコーデックが未変更であった場合には、コーデック変更決定部113cは、内部タイマーによるカウントに基づいて、現時点において、入力信号がt時間連続で有音状態であり、かつ出力信号がt’時間連続で無音状態であるか否かを判定する(ステップS808)。
In step S802, if the output signal is silent, the codec
入力信号がt時間連続で有音状態でなかった場合、または出力信号がt’時間連続で無音状態でなかった場合には、ステップS801に戻る。一方、入力信号がt時間連続で有音状態であり、かつ出力信号がt’時間連続で無音状態であった場合には、コーデック変更決定部113cは、コーデック選択部113bに対してコーデックの変更を指示する。指示を受けたコーデック選択部113bは、前述したように、エンコーダ106のコーデック部を切り替える(ステップS809)。
If the input signal has not been in a sound state for a period of t time, or if the output signal has not been in a silent state for a period of t ′ time, the process returns to step S801. On the other hand, when the input signal is in a sound state for t consecutive times and the output signal is in a silent state for t ′ consecutive times, the codec
続いて、コーデック変更決定部113cは、エンコーダ変更通知処理部110に対して、コーデックの切り替えを通知すると共に、エンコーダ変更通知の生成を指示する。指示を受けたエンコーダ変更通知処理部110は、前述したように、エンコーダ変更通知を生成する。このエンコーダ変更通知は端末1Bへ送信される(ステップS810)。続いて、内部タイマーをリセットし、処理はステップS801に戻る。
Subsequently, the codec
なお、ステップS802において、入力信号および出力信号が共に無音状態であった場合には、ステップS803とS807のうちのいずれか一方に進むように予め設定しておけばよい。 In step S802, if both the input signal and the output signal are silent, it may be set in advance to proceed to one of steps S803 and S807.
図2においては、1つのネットワークインタフェース部しか図示されていないが、複数のネットワークインタフェース部を設けてもよい。また、コーデック変更決定部113cが、コーデックを変更するか否かを決定するための指標として、通信状態計測部112によって計測された電波状況や通信伝送速度が挙げられているが、例えばパケットロス率やビットエラー率等、他の指標を用いてもよい。また、電圧レベル計測部113aは、コーデック変更決定部113cから指示を受けた場合だけでなく、入力信号および出力信号の有音および無音の検出を常時行ってもよい。
Although only one network interface unit is shown in FIG. 2, a plurality of network interface units may be provided. In addition, as an index for the codec
また、端末1Bが端末1Aからデコーダ変更通知を受信してエンコーダ106のコーデックを変更する際に、出力信号が無音状態であることを確認してからコーデックを変更してもよい。同様に、端末1Bが端末1Aからエンコーダ変更通知を受信してデコーダ107のコーデックを変更する際に、入力信号が無音状態であることを確認してからコーデックを変更してもよい。また、各端末は、エンコーダ106およびデコーダ107のうちの一方のコーデックを変更した後、もう一方のコーデックを変更する場合に、入力信号および出力信号が所定時間連続で無音状態であった場合に、コーデックを変更するようにしてもよい。
Further, when the terminal 1B receives the decoder change notification from the
上述したように、本実施形態による通信端末は、自端末が送信する音声データが有音状態であり、かつ通信相手の端末から受信した音声データが無音状態であるときに、復号化で用いるコーデックを切り替え、また、自端末が送信する音声データが無音状態であり、かつ通信相手の端末から受信した音声データが有音状態であるときに、符号化で用いるコーデックを切り替える。これにより、コーデックの切り替え時の音声の途切れや異音の発生を防止することができる。また、コーデックを切り替える際には、余分な帯域が必要とならない。さらに、コーデックを変更した端末がデコーダ変更通知およびエンコーダ変更通知を通信相手の端末へ送信し、それを受信した通信相手の端末がコーデックを変更することにより、通信を行う端末どうしが確実にコーデックを変更することができる。 As described above, the communication terminal according to the present embodiment uses the codec used for decoding when the voice data transmitted by the terminal is in a voiced state and the voice data received from the communication partner terminal is in a silent state. And the codec used for encoding is switched when the voice data transmitted by the terminal itself is in a silent state and the voice data received from the communication partner terminal is in a voiced state. As a result, it is possible to prevent the sound from being interrupted or the occurrence of abnormal noise when the codec is switched. Also, no extra bandwidth is required when switching codecs. Furthermore, the terminal that has changed the codec sends a decoder change notification and an encoder change notification to the communication partner terminal, and the communication partner terminal that has received the notification changes the codec, so that the terminals that communicate with each other can reliably change the codec. Can be changed.
また、コーデックを切り替える際に、出力信号が所定時間連続で有音状態かつ入力信号が所定時間連続で無音状態であった場合、または入力信号が所定時間連続で有音状態かつ出力信号が所定時間連続で無音状態であった場合には、その後もそれらの状態が続く可能性が高いので、それらの状態を検出した時点でコーデックを切り替えることにより、コーデックの切り替え時の音声の途切れや異音の発生をより確実に防止することができる。 Also, when switching the codec, if the output signal is sounded for a predetermined time and the input signal is soundless for a predetermined time, or the input signal is sounded for a predetermined time and the output signal is sound for a predetermined time. If there is a continuous and silent state, there is a high possibility that those states will continue, so by switching the codec at the time when those states are detected, audio interruptions or abnormal sounds during codec switching are detected. Occurrence can be prevented more reliably.
次に、本発明の第2の実施形態について説明する。本実施形態においては、エンコーダ106またはデコーダ107のコーデックを最初に変更した端末から送信されたエンコーダ変更通知またはデコーダ変更通知を受信した端末が主体となって、コーデック変換を継続する。以下、図9を用いて各端末の動作を説明する。
Next, a second embodiment of the present invention will be described. In the present embodiment, codec conversion is continued mainly by a terminal that has received an encoder change notification or a decoder change notification transmitted from a terminal that first changed the codec of the
端末1Aは、自身の電波受信状況が悪くなり、通信伝送速度が減少した時点以後、出力信号がt時間連続で有音状態であり、かつ入力信号がt’時間連続で無音状態であった場合に(図9においてはt=t’としている)、デコーダ107のコーデックをコーデックaからコーデックbに変更し(ステップS901)、端末1Bへデコーダ変更通知を送信する(ステップS902)。端末1Bはデコーダ変更通知を受信し、デコーダ変更通知の内容に基づいて、エンコーダ106のコーデックをコーデックaからコーデックbに変更する(ステップS903)。
When the terminal 1A is in a state where the output signal is in a continuous state for t time and the input signal is in a silent state for a continuous period of t 'after the time when the radio wave reception situation of the terminal 1A deteriorates and the communication transmission speed decreases. (T = t ′ in FIG. 9), the codec of the
続いて、端末1Bは、出力信号がt時間連続で有音状態であり、かつ入力信号がt’時間連続で無音状態であった場合に、デコーダ107のコーデックをコーデックaからコーデックbに変更し(ステップS904)、端末1Aへデコーダ変更通知を送信する(ステップS905)。端末1Aはデコーダ変更通知を受信し、デコーダ変更通知の内容に基づいて、エンコーダ106のコーデックをコーデックaからコーデックbに変更する(ステップS906)。
Subsequently, the terminal 1B changes the codec of the
図10は、上述した端末1Bの動作を示すフローチャートである。以下、図10を用いて、端末1Bの動作を説明する。端末1Bにおいて、端末1Aから送信されたデコーダ変更通知が受信されると、受信されたデコーダ変更通知はデコーダ変更通知処理部111へ出力される。デコーダ変更通知処理部111は、デコーダ変更通知の内容をコーデック変更決定部113cに通知する(ステップS1001)。
FIG. 10 is a flowchart showing the operation of the terminal 1B described above. Hereinafter, the operation of the terminal 1B will be described with reference to FIG. When terminal 1B receives the decoder change notification transmitted from terminal 1A, the received decoder change notification is output to decoder change
コーデック変更決定部113cは、コーデック選択部113bに対して、デコーダ変更通知の内容を通知すると共に、コーデックの変更を指示する。指示を受けたコーデック選択部113bは、エンコーダ106のコーデック部をコーデック部106bに切り替える(ステップS1002)。続いて、コーデック変更決定部113cは、有音/無音の継続時間判定用の内部タイマーをリセットすると共に、デコーダ107のコーデックが未変更であるか否かを判定する(ステップS1003)。デコーダ107のコーデックが変更済みであった場合には、処理を終了する。一方、デコーダ107のコーデックが未変更であった場合には、コーデック変更決定部113cは、電圧レベル計測部113aによる有音/無音の検知の結果に基づいて、入力信号が無音状態であるか否かを判定する(ステップS1004)。
The codec
入力信号が有音状態であった場合には、ステップS1004に戻る。一方、入力信号が無音状態であった場合、コーデック変更決定部113cは、内部タイマーによるカウントに基づいて、現時点において、出力信号がt時間連続で有音状態であり、かつ入力信号がt’時間連続で無音状態であるか否かを判定する(ステップS1005)。出力信号がt時間連続で有音状態でなかった場合、または入力信号がt’時間連続で無音状態でなかった場合には、ステップS1004に戻る。一方、出力信号がt時間連続で有音状態であり、かつ入力信号がt’時間連続で無音状態であった場合には、コーデック変更決定部113cは、コーデック選択部113bに対してコーデックの変更を指示する。指示を受けたコーデック選択部113bは、エンコーダ106と同じコーデックになるように、デコーダ107のコーデック部を切り替える(ステップS1006)。
If the input signal is in a sound state, the process returns to step S1004. On the other hand, when the input signal is in a silent state, the codec
続いて、コーデック変更決定部113cは、デコーダ変更通知処理部111に対して、コーデックの切り替えを通知すると共に、デコーダ変更通知の生成を指示する。指示を受けたデコーダ変更通知処理部111は、デコーダ変更通知を生成する。このデコーダ変更通知は端末1Aへ送信される(ステップS1007)。続いて、処理が終了する。上述した本実施形態によれば、第1の実施形態と同様に、コーデックを切り替える際に余分な帯域を必要とせずに、コーデックの切り替え時の音声の途切れや異音の発生を防止することができる等の効果が得られる。
Subsequently, the codec
次に、本発明の第3の実施形態について説明する。図11は、本実施形態による端末1Aおよび1Bの構成を示すブロック図である。図2と同一の構成には同一の符号を付与し、説明を省略する。本実施形態においては、コーデックの切り替えを通信相手の端末に通知するためのメッセージであるコーデック変更通知を処理するコーデック変更通知処理部114が設けられている。図12は、コーデック変更通知に含まれるメッセージ部の一例を示している。メッセージ部には、変更後のコーデックを示す情報が含まれている。
Next, a third embodiment of the present invention will be described. FIG. 11 is a block diagram showing the configuration of the
次に、本実施形態による通信システムの動作について説明する。第1および第2の実施形態と同様に、端末1AがLの位置にある場合、端末1Aと端末1Bは、共にコーデックaを用いて通話をしているものとする。また、端末1AがLの位置からL’の位置へ移動したため、端末1Aの電波受信状況が悪くなり、通信伝送速度が減少したとする。以後の端末1Aおよび端末1Bの動作は以下のようになる(図13参照)。通信伝送速度が所定の通信速度を下回った場合には、コーデックaによる通信が困難になることが予想される。通信伝送速度が所定の通信速度を下回ったことを検出した時点において、端末1Aは、現在の通信伝送速度に適したコーデックbを選択し、デコーダ107のコーデックをコーデックbに変更することを通知するためのコーデック変更通知を端末1Bへ送信する(ステップS1301)。
Next, the operation of the communication system according to the present embodiment will be described. Similarly to the first and second embodiments, when the
例えば、端末1Aを使用しているユーザAが話していて、端末1Bを使用しているユーザBがユーザAの話を聞いている場合、端末1Aにおいて、入力信号は無音を示し、出力信号は有音を示している。この場合、ユーザAが、予め設定されたしきい値であるt時間連続で話をし(t時間連続で端末1Aにおける出力信号が有音状態となる)、かつ、予め設定されたしきい値であるt’時間連続でユーザBが話をしなかった(t’時間連続で端末1Aにおける入力信号が無音状態となる)時点で、端末1Aは、デコーダ107で用いられているコーデックをコーデックbに変更する(ステップS1302)。
For example, when the user A who is using the
端末1Bは、端末1Aから送信されたコーデック変更通知を受信し、入力/出力信号の有音/無音の検出を開始する。ユーザAが、予め設定されたしきい値であるt時間連続で話をし(t時間連続で端末1Bにおける入力信号が有音状態となる)、かつ、予め設定されたしきい値であるt’時間連続でユーザBが話をしなかった(t’時間連続で端末1Bにおける出力信号が無音状態となる)時点で、端末1Bは、エンコーダ106で用いられているコーデックを、コーデック変更通知が示すコーデックbに変更する(ステップS1303)。
The terminal 1B receives the codec change notification transmitted from the
続いて、ユーザBが話していて、ユーザAがユーザBの話を聞いている場合には、端末1Aにおいて、入力信号は有音を示し、出力信号は無音を示している。この場合、ユーザBが、予め設定されたしきい値であるt時間連続で話をし(t時間連続で端末1Aにおける入力信号が有音状態となる)、かつ、予め設定されたしきい値であるt’時間連続でユーザAが話をしなかった(t’時間連続で端末1Aにおける出力信号が無音状態となる)時点で、端末1Aは、エンコーダ106で用いられているコーデックを、現在の通信伝送速度に適したコーデックbに変更する(ステップS1304)。
Subsequently, when the user B is speaking and the user A is listening to the user B, the input signal indicates sound and the output signal indicates silence in the
また、端末1Bにおいては、出力信号は有音を示し、入力信号は無音を示している。この場合、ユーザBが、予め設定されたしきい値であるt時間連続で話をし(t時間連続で端末1Bにおける出力信号が有音状態となる)、かつ、予め設定されたしきい値であるt’時間連続でユーザAが話をしなかった(t’時間連続で端末1Bにおける入力信号が無音状態となる)時点で、端末1Bは、デコーダ107で用いられているコーデックをコーデックbに変更する(ステップS1305)。
Further, in the
なお、上記においては、最初にユーザAが話していて、ユーザBがユーザAの話を聞いている場合について説明したが、最初にユーザBが話していて、ユーザAがユーザBの話を聞いている場合についても同様である。 In the above description, the case where the user A is talking first and the user B is listening to the user A has been described. However, the user B is talking first and the user A hears the user B. The same applies to the case where the
図14は、上述した端末1Aの動作を示すフローチャートである。以下、図14を用いて、端末1Aの動作を説明する。通信状態計測部112によって測定された通信伝送速度が所定の通信速度を下回った場合に、コーデック変更決定部113cは有音/無音の継続時間判定用の内部タイマーをリセットし、以後、図14で示される処理を実行する。コーデック変更決定部113cは、コーデック選択部113bに対してコーデックの選択を指示する。指示を受けたコーデック選択部113bは、現在の通信伝送速度に適したコーデックを選択し、コーデック変更決定部113cに通知する。コーデック変更決定部113cは、コーデック変更通知処理部114に対して、コーデックの切り替えを通知すると共に、コーデック変更通知の生成を指示する。指示を受けたコーデック変更通知処理部114はコーデック変更通知を生成し、パケット処理部103へ出力する。このデコーダ変更通知は端末1Bへ送信される(ステップS1401)。
FIG. 14 is a flowchart showing the operation of the terminal 1A described above. Hereinafter, the operation of the terminal 1A will be described with reference to FIG. When the communication transmission rate measured by the communication
続いて、コーデック変更決定部113cは、コーデック変更が未完了であるか否かを判定する(ステップS1402)。コーデック変更が完了している場合、処理を終了する。一方、コーデック変更が完了していない場合には、コーデック変更決定部113cは、電圧レベル計測部113aに対して入力/出力信号の有音/無音の検出を指示し、電圧レベル計測部113aによる有音/無音の検知の結果を解析する。コーデック変更決定部113cは、この電圧レベル計測部113aによる有音/無音の検知の結果に基づいて、入力信号または出力信号が無音状態であるか否かを判定する(ステップS1403)。
Subsequently, the codec
入力信号および出力信号が共に有音状態であった場合には、ステップS1402に戻る。入力信号が無音状態であった場合、コーデック変更決定部113cは、デコーダ107のコーデックが未変更であるか否かを判定する(ステップS1404)。デコーダ107のコーデックが変更済みであった場合には、ステップS1402に戻る。一方、デコーダ107のコーデックが未変更であった場合には、コーデック変更決定部113cは、内部タイマーによるカウントに基づいて、現時点において、出力信号がt時間連続で有音状態であり、かつ入力信号がt’時間連続で無音状態であるか否かを判定する(ステップS1405)。
If both the input signal and the output signal are in a sound state, the process returns to step S1402. If the input signal is silent, the codec
出力信号がt時間連続で有音状態でなかった場合、または入力信号がt’時間連続で無音状態でなかった場合には、ステップS1402に戻る。一方、出力信号がt時間連続で有音状態であり、かつ入力信号がt’時間連続で無音状態であった場合には、コーデック変更決定部113cは、コーデック選択部113bに対してコーデックの変更を指示する。指示を受けたコーデック選択部113bは、前述したように、デコーダ107のコーデック部を切り替える(ステップS1406)。続いて、内部タイマーをリセットし、処理はステップS1402に戻る。
If the output signal has not been in a sound state for t consecutive times, or if the input signal has not been in a silent state for t ′ consecutive times, the process returns to step S1402. On the other hand, when the output signal is in a sound state for t time continuous and the input signal is in a silent state for t 'continuous time, the codec
また、ステップS1403において、出力信号が無音状態であった場合、コーデック変更決定部113cは、有音/無音の継続時間判定用の内部タイマーを起動し、エンコーダ106のコーデックが未変更であるか否かを判定する(ステップS1407)。エンコーダ106のコーデックが変更済みであった場合には、ステップS1402に戻る。一方、エンコーダ106のコーデックが未変更であった場合には、コーデック変更決定部113cは、内部タイマーによるカウントに基づいて、現時点において、入力信号がt時間連続で有音状態であり、かつ出力信号がt’時間連続で無音状態であるか否かを判定する(ステップS1408)。
If the output signal is silent in step S1403, the codec
入力信号がt時間連続で有音状態でなかった場合、または出力信号がt’時間連続で無音状態でなかった場合には、ステップS1402に戻る。一方、入力信号がt時間連続で有音状態であり、かつ出力信号がt’時間連続で無音状態であった場合には、コーデック変更決定部113cは、コーデック選択部113bに対してコーデックの変更を指示する。指示を受けたコーデック選択部113bは、前述したように、エンコーダ106のコーデック部を切り替える(ステップS1409)。続いて、内部タイマーをリセットし、処理はステップS1402に戻る。
If the input signal has not been in a sound state for t consecutive times, or if the output signal has not been in a silent state for t ′ consecutive times, the process returns to step S1402. On the other hand, when the input signal is in a sound state for t consecutive times and the output signal is in a silent state for t ′ consecutive times, the codec
なお、ステップS1403において、入力信号および出力信号が共に無音状態であった場合には、ステップS1404とS1407のうちのいずれか一方に進むように予め設定しておけばよい。 In step S1403, when both the input signal and the output signal are silent, it may be set in advance to proceed to either one of steps S1404 and S1407.
図15は、端末1Bの動作を示すフローチャートである。以下、図15を用いて、端末1Bの動作を説明する。図15は、端末1Aからのコーデック変更通知を受信した場合に行う動作を示している。端末1Bにおいて、ネットワークインタフェース部102は、アンテナ101を介してコーデック変更通知を受信し、復調処理を行って、パケット処理部103へ出力する。パケット処理部103は、受信されたコーデック変更通知に対して所定の処理を行い、コーデック変更通知処理部114へ出力する。コーデック変更通知処理部114は、コーデック変更通知の内容をコーデック変更決定部113cに通知する。コーデック変更決定部113cは、有音/無音の継続時間判定用の内部タイマーをリセットする。
FIG. 15 is a flowchart showing the operation of the terminal 1B. Hereinafter, the operation of the terminal 1B will be described with reference to FIG. FIG. 15 illustrates an operation performed when a codec change notification is received from the
以後、端末1Bは、図15で示される動作を行う。コーデック変更決定部113cは、コーデック変更が未完了であるか否かを判定する(ステップS1501)。コーデック変更が完了している場合、処理を終了する。一方、コーデック変更が完了していない場合には、コーデック変更決定部113cは、電圧レベル計測部113aに対して入力/出力信号の有音/無音の検出を指示し、電圧レベル計測部113aによる有音/無音の検知の結果を解析する。コーデック変更決定部113cは、この電圧レベル計測部113aによる有音/無音の検知の結果に基づいて、入力信号または出力信号が無音状態であるか否かを判定する(ステップS1502)。
Thereafter, the
入力信号および出力信号が共に有音状態であった場合には、ステップS1501に戻る。入力信号が無音状態であった場合、コーデック変更決定部113cは、デコーダ107のコーデックが未変更であるか否かを判定する(ステップS1503)。デコーダ107のコーデックが変更済みであった場合には、ステップS1501に戻る。一方、デコーダ107のコーデックが未変更であった場合には、コーデック変更決定部113cは、内部タイマーによるカウントに基づいて、現時点において、出力信号がt時間連続で有音状態であり、かつ入力信号がt’時間連続で無音状態であるか否かを判定する(ステップS1504)。
If both the input signal and the output signal are in a sound state, the process returns to step S1501. If the input signal is silent, the codec
出力信号がt時間連続で有音状態でなかった場合、または入力信号がt’時間連続で無音状態でなかった場合には、ステップS1501に戻る。一方、出力信号がt時間連続で有音状態であり、かつ入力信号がt’時間連続で無音状態であった場合には、コーデック変更決定部113cは、コーデック選択部113bに対して、コーデック変更通知の内容を通知すると共に、コーデックの変更を指示する。指示を受けたコーデック選択部113bは、コーデック変更通知の内容に基づいてコーデックを選択し、デコーダ107のコーデック部を切り替える(ステップS1505)。続いて、内部タイマーをリセットし、処理はステップS1501に戻る。
If the output signal has not been in a sound state for t consecutive times, or if the input signal has not been in a silent state for t ′ consecutive times, the process returns to step S1501. On the other hand, when the output signal is in a sound state for t time continuous and the input signal is in a silent state for t ′ continuous time, the codec
また、ステップS1502において、出力信号が無音状態であった場合、コーデック変更決定部113cは、有音/無音の継続時間判定用の内部タイマーを起動し、エンコーダ106のコーデックが未変更であるか否かを判定する(ステップS1506)。エンコーダ106のコーデックが変更済みであった場合には、ステップS1501に戻る。一方、エンコーダ106のコーデックが未変更であった場合には、コーデック変更決定部113cは、内部タイマーによるカウントに基づいて、現時点において、入力信号がt時間連続で有音状態であり、かつ出力信号がt’時間連続で無音状態であるか否かを判定する(ステップS1507)。
In step S1502, if the output signal is silent, the codec
入力信号がt時間連続で有音状態でなかった場合、または出力信号がt’時間連続で無音状態でなかった場合には、ステップS1501に戻る。一方、入力信号がt時間連続で有音状態であり、かつ出力信号がt’時間連続で無音状態であった場合には、コーデック変更決定部113cは、コーデック選択部113bに対して、コーデック変更通知の内容を通知すると共に、コーデックの変更を指示する。指示を受けたコーデック選択部113bは、コーデック変更通知の内容に基づいてコーデックを選択し、エンコーダ106のコーデック部を切り替える(ステップS1508)。続いて、内部タイマーをリセットし、処理はステップS1501に戻る。
If the input signal has not been in a voiced state for a period of t time, or if the output signal has not been in a silent state for a period of t ′ time, the process returns to step S1501. On the other hand, when the input signal is in a sound state for t time continuous and the output signal is in a silent state for t 'continuous time, the codec
なお、端末1Bは、コーデック変更通知に対する確認応答を端末1Aへ送信してもよい。上述した本実施形態によれば、第1および第2の実施形態と同様に、コーデックを切り替える際に余分な帯域を必要とせずに、コーデックの切り替え時の音声の途切れや異音の発生を防止することができる等の効果が得られる。また、コーデックの変更動作に入ろうとする端末がコーデック変更通知を通信相手の端末へ送信し、それを受信した通信相手の端末も同様にコーデックの変更動作に入るので、各端末が同一タイミングでコーデックを変更することになり、送信側の端末のエンコーダ106で用いられているコーデックと、受信側の端末のデコーダ107で用いられているコーデックが異なるという状態が発生せず、確実に通信を継続することができる。
Terminal 1B may transmit a confirmation response to the codec change notification to terminal 1A. According to the present embodiment described above, as in the first and second embodiments, there is no need for an extra band when switching the codec, and it is possible to prevent the sound from being interrupted and the generation of abnormal noise when switching the codec. The effect that it can do is acquired. In addition, a terminal trying to enter the codec change operation transmits a codec change notification to the communication partner terminal, and the communication partner terminal that receives the codec change operation also enters the codec change operation in the same manner. Therefore, the codec used in the
次に、本発明の第4の実施形態について説明する。図16は、本実施形態による通信システムの構成を示すブロック図である。第1〜第3の実施形態においては、端末1Aおよび端末1Bが1対1の通信を行うものとしていたが、本実施形態においては、端末1A,1B,1Cが、AP21,22,23および各APを結ぶバックボーンネットワーク30を介して、VoIPを用いてグループコールをしているものとする。その他の条件は、第1の実施形態と同様であるものとする。
Next, a fourth embodiment of the present invention will be described. FIG. 16 is a block diagram showing a configuration of a communication system according to the present embodiment. In the first to third embodiments, the
図17は、本実施形態による端末1A〜1Cの構成を示すブロック図である。図2と同一の構成には同一の符号を付与し、説明を省略する。本実施形態においては、制御部113に利用モード判断部113dが設けられている。利用モード判断部113dは、アプリケーション115から定期的に通知される通信の種類の情報に基づいて、現在の通信の利用モード、すなわち1対1で通信を行っているのか、それとも3以上の端末でグループコールを行っているのかを判断し、判断結果を図示せぬレジスタ等に格納する。
FIG. 17 is a block diagram illustrating the configuration of the
次に、本実施形態による通信システムの動作について説明する。端末1AがLの位置にある場合、端末1A〜1Cは、共にコーデックaを用いて通話をしているものとする。ここで、端末1AがLの位置からL’の位置へ移動したため、端末1Aの電波受信状況が悪くなり、通信伝送速度が減少したとする。通信伝送速度が所定の通信速度を下回った場合には、コーデックaによる通信が困難になることが予想される。以後の端末1Aおよび端末1Bの動作は以下のようになる(図18参照)。
Next, the operation of the communication system according to the present embodiment will be described. When the terminal 1A is in the L position, it is assumed that the
例えば、端末1Aを使用しているユーザAが話していて、端末1Bを使用しているユーザB、および端末1Cを使用しているユーザCがユーザAの話を聞いている場合、端末1Aにおいて、入力信号は無音を示し、出力信号は有音を示している。この場合、第1の実施形態と同様に、ユーザAが、予め設定されたしきい値であるt時間連続で話をし(t時間連続で端末1Aにおける出力信号が有音状態となる)、かつ、予め設定されたしきい値であるt’時間連続でユーザBおよびユーザCが話をしなかった(t’時間連続で端末1Aにおける端末1Bおよび1Cからの入力信号が無音状態となる)時点で、端末1Aは、デコーダ107で用いられているコーデックを、現在の通信伝送速度に適したコーデックbに変更する(ステップS1801)。
For example, when the user A using the
続いて、端末1Aは、端末1Bおよび1Cに対して、コーデックbへの変更を通知するためのデコーダ変更通知を送信する(ステップS1802)。端末1Bおよび1Cはデコーダ変更通知を受信し、デコーダ変更通知の内容に基づいて、エンコーダ106で用いられているコーデックをコーデックbへ変更する(ステップS1803,S1804)(以上、図18(a)参照)。なお、デコーダ変更通知を受信した端末1Bおよび1Cが、デコーダ変更通知に対する確認応答を端末1Aへ送信してもよい。
Subsequently, the terminal 1A transmits a decoder change notification for notifying the change to the codec b to the
また、端末1A以外、すなわち端末1Bまたは1Cを使用しているユーザBまたはユーザCが話していて、端末1Aを使用しているユーザAがユーザBまたはユーザCの話を聞いている場合、端末1Aにおいて、端末1Bまたは1Cからの入力信号は有音を示し、出力信号は無音を示している。この場合、ユーザBまたはユーザCが、予め設定されたしきい値であるt時間連続で話をし(t時間連続で端末1Aにおける端末1Bまたは端末1Cからの入力信号が有音状態となる)、かつ、予め設定されたしきい値であるt’時間連続でユーザAが話をしなかった(t’時間連続で端末1Aにおける出力信号が無音状態となる)時点で、端末1Aは、エンコーダ106で用いられているコーデックを、現在の通信伝送速度に適したコーデックbに変更する(ステップS1805)。
In addition, when the user B or the user C who is using the
続いて、端末1Aは、端末1Bおよび1Cに対して、コーデックbへの変更を通知するためのエンコーダ変更通知を送信する(ステップS1806)。端末1Bおよび1Cはエンコーダ変更通知を受信し、以下の動作を行う。端末1Bおよび端末1Cは、自端末における入力信号および出力信号の有音/無音を検知する。端末1Bは、出力信号が有音状態であり、かつ入力信号が無音状態であることを検出し、デコーダ107で用いられているコーデックをコーデックbに変更する(ステップS1807)。また、端末1Cは、入力信号が有音状態であり、かつ出力信号が無音状態であることを検出し、エンコーダ106で用いられているコーデックをコーデックbに変更する(ステップS1808)(以上、図18(b)参照)。
Subsequently, the terminal 1A transmits an encoder change notification for notifying the change to the codec b to the
図18(a)の場合に、端末1Bおよび1Cは、入力信号および出力信号の有音/無音を検知することなく、コーデックの変更を行っている。端末1Aがデコーダ107のコーデックを変更したということは、ユーザAのみが話していて、他のユーザがユーザAの話を聞いているということであり、端末1Aからのデコーダ変更通知を受信することによって、端末1Bおよび1Cは、自端末のエンコーダ106のコーデックを変更すればよいことを認識することができるからである。ただし、図18(b)の場合の動作と統一した動作を行うため、図18(a)の場合にも、端末1Bおよび1Cが入力信号および出力信号の有音/無音を検知し、入力信号が有音状態であり、かつ出力信号が無音状態であった場合に、エンコーダ106で用いられているコーデックを変更するようにしてもよい。
In the case of FIG. 18A, the
また、本実施形態においては、図18(a)(b)いずれの場合においても、各端末は、コーデックを変更してから、予め設定されたt’’時間だけ入力信号および出力信号が共に無音状態となった場合に、まだ切り替えを完了していないエンコーダ106またはデコーダ107のコーデックを、送信/受信したエンコーダ/デコーダ変更通知に記載されたコーデックに変更する。上述した動作によって、各端末は、エンコーダ106およびデコーダ107のコーデックの変更を完了する。なお、t’’はtやt’に比べて十分小さい方が望ましい。
Further, in this embodiment, in either case of FIGS. 18 (a) and 18 (b), since each terminal changes the codec, both the input signal and the output signal are silent for a preset time t ″. In this state, the codec of the
なお、グループモードにおけるコーデックの変更シーケンスは、1対1の通信の場合のコーデックの変更シーケンスと同一としてもよいし、異なっていてもよい。第1〜第3の実施形態および本実施形態において説明した手法を適宜組み合わせることにより、グループモードにおけるコーデックの変更シーケンスと1対1の通信の場合のコーデックの変更シーケンスを同一とすることも異ならしめることもできる。本実施形態においては、両者が異なる場合を想定して、通信の利用モードを判断する利用モード判断部113dが設けられている。
The codec change sequence in the group mode may be the same as or different from the codec change sequence in the case of one-to-one communication. By appropriately combining the methods described in the first to third embodiments and the present embodiment, the codec change sequence in the group mode and the codec change sequence in the case of one-to-one communication are also made different. You can also In the present embodiment, a usage
コーデックの変更が必要なことを検知した時点(電波受信状況の変化が検出された時点や、エンコーダ/デコーダ変更通知が受信された時点等)で、コーデック変更決定部113cは、利用モード判断部113dに対して、利用モードの通知を指示する。指示を受けた利用モード判断部113dは、図示せぬレジスタ等から利用モードの判断結果を読み出し、コーデック変更決定部113cに通知する。コーデック変更決定部113cは、利用モード判断部113dによって通知された利用モードに応じて、以後の動作を決定し、上述したようなコーデックの変更動作を行う。
When it is detected that a codec change is necessary (when a change in radio wave reception status is detected, when an encoder / decoder change notification is received, etc.), the codec
図19および図20は、上述した動作に基づいて行われるコーデックの変更シーケンスを示している。図19および図20においては、t=t’としている。以下、各端末の具体的な動作について説明する。ただし、上述したように、利用モードの判断に係る動作を行うか否かは任意であるので、以下では説明を省略する。まず、図19の場合(ユーザAが話していて、ユーザBおよびユーザCがユーザAの話を聞いている場合)について説明する。通信状態計測部112は、ネットワークインタフェース部102を介して送信または受信されるデータの通信伝送速度を測定し、その測定値をコーデック変更決定部113cに通知する。コーデック変更決定部113cは、測定値が所定の通信速度を下回るか否かを判定することにより、コーデックを変更するか否かを決定する。
19 and 20 show a codec change sequence performed based on the above-described operation. In FIG. 19 and FIG. 20, t = t ′. Hereinafter, a specific operation of each terminal will be described. However, as described above, whether or not to perform the operation related to the determination of the use mode is arbitrary, and thus the description thereof is omitted below. First, the case of FIG. 19 (when user A is speaking and user B and user C are listening to user A) will be described. The communication
通信状態計測部112によって測定された通信伝送速度が所定の通信速度を下回った場合、コーデック変更決定部113cは、電圧レベル計測部113aに対して、入力信号および出力信号の有音および無音の検知の開始を指示する。指示を受けた電圧レベル計測部113aは、入力信号および出力信号の有音/無音の検知を開始し、検知結果をコーデック変更決定部113cに通知する。コーデック変更決定部113cは、この電圧レベル計測部113aによる有音/無音の検知の結果に基づいて、入力信号および出力信号の状態を監視する。出力信号がt時間連続で有音状態であり、かつ入力信号がt時間連続で無音状態であった場合、コーデック変更決定部113cは、コーデックを変更することを決定し、コーデック選択部113bに対してコーデックの変更を指示する。
When the communication transmission rate measured by the communication
指示を受けたコーデック選択部113bは、変更後のコーデックとしてコーデックbを選択し、デコーダ107のコーデック部をコーデック部107bに切り替える(ステップS1901)。以後、デコーダ107は、コーデック部107bにより受信データを復号化する。デコーダ107のコーデック部が切り替えられた後、制御部113は、デコーダ変更通知処理部111に対して、コーデックbへの切り替えを通知すると共に、デコーダ変更通知の生成を指示する。指示を受けたデコーダ変更通知処理部111は、コーデックbの情報を含むデコーダ変更通知を生成し、パケット処理部103へ出力する。デコーダ変更通知は、端末1Bおよび1Cへ送信される(ステップS1902)。
The
端末1Bおよび1Cにおいて、受信されたデコーダ変更通知はデコーダ変更通知処理部111へ出力される。デコーダ変更通知処理部111は、デコーダ変更通知の内容をコーデック変更決定部113cに通知する。コーデック変更決定部113cは、コーデック選択部113bに対して、デコーダ変更通知の内容を通知すると共に、コーデックの変更を指示する。指示を受けたコーデック選択部113bは、エンコーダ106のコーデック部をコーデック部106bに切り替える(ステップS1903,1904)。なお、前述したように、出力信号が無音状態であり、かつ入力信号が有音状態であることを検出してから、エンコーダ106のコーデック部をコーデック部106bに切り替えるようにしてもよい。
In
続いて、各端末において、コーデック変更決定部113cは、予め設定されたt’’時間だけ入力信号および出力信号が共に無音状態と判断した場合に、まだ切り替えを完了していないエンコーダ106またはデコーダ107のコーデックの変更をコーデック選択部113bに指示する。指示を受けたコーデック選択部113bは、まだ切り替えを完了していないエンコーダ106またはデコーダ107のコーデック部を、送信または受信したデコーダ変更通知に記載された、コーデックbに対応したコーデック部に切り替える(ステップS1905〜1907)。
Subsequently, in each terminal, the codec
次に、図20の場合(ユーザBが話していて、ユーザAおよびユーザCがユーザBの話を聞いている場合)について説明する。前述した動作と同様にして、コーデック変更決定部113cは、電圧レベル計測部113aによる有音/無音の検知の結果に基づいて、入力信号および出力信号の状態を監視する。出力信号がt時間連続で無音状態であり、かつ入力信号がt時間連続で有音状態であった場合、コーデック変更決定部113cは、コーデックを変更することを決定し、コーデック選択部113bに対してコーデックの変更を指示する。
Next, the case of FIG. 20 (when user B is speaking and user A and user C are listening to user B) will be described. Similar to the above-described operation, the codec
指示を受けたコーデック選択部113bは、変更後のコーデックとしてコーデックbを選択し、エンコーダ106のコーデック部をコーデック部106bに切り替える(ステップS2001)。以後、エンコーダ106は、コーデック部106bにより送信データを符号化する。エンコーダ106のコーデック部が切り替えられた後、制御部113は、エンコーダ変更通知処理部110に対して、コーデックbへの切り替えを通知すると共に、エンコーダ変更通知の生成を指示する。指示を受けたエンコーダ変更通知処理部110は、コーデックbの情報を含むエンコーダ変更通知を生成し、パケット処理部103へ出力する。エンコーダ変更通知は、端末1Bおよび1Cへ送信される(ステップS2002)。
Upon receiving the instruction, the
端末1Bおよび1Cにおいて、受信されたエンコーダ変更通知はエンコーダ変更通知処理部110へ出力される。エンコーダ変更通知処理部110は、エンコーダ変更通知の内容をコーデック変更決定部113cに通知する。コーデック変更決定部113cは、電圧レベル計測部113aによる有音/無音の検知の結果に基づいて、入力信号および出力信号の状態を監視する。
In
端末1Bにおいて、コーデック変更決定部113cは、出力信号が有音状態であり、かつ入力信号が無音状態であると判断し、デコーダ107で用いられているコーデックを変更するため、コーデック選択部113bに対して、エンコーダ変更通知の内容を通知すると共に、デコーダ107のコーデックの変更を指示する。指示を受けたコーデック選択部113bは、エンコーダ変更通知の内容に基づいてコーデックbを選択し、デコーダ107のコーデック部をコーデック部107bに切り替える(ステップS2003)。
In the terminal 1B, the codec
また、端末1Cにおいて、コーデック変更決定部113cは、出力信号が無音状態であり、かつ入力信号が有音状態であると判断し、エンコーダ106で用いられているコーデックを変更するため、コーデック選択部113bに対して、エンコーダ変更通知の内容を通知すると共に、エンコーダ106のコーデックの変更を指示する。指示を受けたコーデック選択部113bは、エンコーダ変更通知の内容に基づいてコーデックbを選択し、エンコーダ106のコーデック部をコーデック部106bに切り替える(ステップS2004)。
In the terminal 1C, the codec
続いて、図19の場合と同様に、各端末は、まだ切り替えを完了していないエンコーダ106またはデコーダ107のコーデック部を、送信または受信したエンコーダ変更通知に記載されたコーデックbに対応したコーデック部に切り替える(ステップS2005〜S2007)。上述した本実施形態によれば、第1〜第3の実施形態と同様に、コーデックを切り替える際に余分な帯域を必要とせずに、コーデックの切り替え時の音声の途切れや異音の発生を防止することができる等の効果が得られる。
Subsequently, as in the case of FIG. 19, each terminal replaces the codec unit of the
次に、本発明の第5の実施形態について説明する。本実施形態による通信システムは図16と同一であるとする。図21は、本実施形態による端末1A〜1Cの構成を示すブロック図である。図17と同一の構成には同一の符号を付与し、説明を省略する。本実施形態においては、エンコーダ変更通知処理部110およびデコーダ変更通知処理部111に代えて、コーデック変更通知処理部114が設けられている。本実施形態においても、第4の実施形態と同様に、利用モード判断部113dを設けるか否かは任意である。
Next, a fifth embodiment of the present invention will be described. The communication system according to this embodiment is the same as that shown in FIG. FIG. 21 is a block diagram illustrating the configuration of the
端末1AがLの位置にある場合、端末1A〜1Cは、共にVoIPを用いてコーデックaによりグループコールをしているものとする。ここで、端末1AがLの位置からL’の位置へ移動したため、端末1Aの電波受信状況が悪くなり、通信伝送速度が減少したとする。通信伝送速度が所定の通信速度を下回った場合には、コーデックaによる通信が困難になることが予想される。以後の各端末の動作は以下のようになる(図22参照)。通信伝送速度が所定の通信速度を下回ったことを検出した時点において、第3の実施形態と同様に、端末1Aはコーデック変更通知を端末1Bおよび1Cへ送信する(ステップS2201)。
When the terminal 1A is in the L position, it is assumed that the
端末1Aを使用しているユーザAが話していて、端末1Bを使用しているユーザBおよびユーザCがユーザAの話を聞いている場合、端末1Aにおいて、入力信号は無音を示し、出力信号は有音を示している。この場合、ユーザAが、予め設定されたしきい値であるt時間連続で話をし(t時間連続で端末1Aにおける出力信号が有音状態となる)、かつ、予め設定されたしきい値であるt’時間連続でユーザBおよびユーザCが話をしなかった(t’時間連続で端末1Aにおける端末1Bおよび1Cからの入力信号が無音状態となる)時点で、端末1Aは、デコーダ107で用いられているコーデックを、現在の通信伝送速度に適したコーデックbに変更する(ステップS2202)。
When the user A using the
また、端末1Bは、端末1Aから送信されたコーデック変更通知を受信し、入力/出力信号の有音/無音の検出を開始する。第3の実施形態と同様にして、ユーザAが、予め設定されたしきい値であるt時間連続で話をし(t時間連続で端末1Bにおける入力信号が有音状態となる)、かつ、予め設定されたしきい値であるt’時間連続でユーザBが話をしなかった(t’時間連続で端末1Bにおける出力信号が無音状態となる)時点で、端末1Bは、エンコーダ106で用いられているコーデックを、コーデック変更通知が示すコーデックbに変更する(ステップS2203)。端末1Cも端末1Bと同様にして、エンコーダ106で用いられているコーデックを、コーデック変更通知が示すコーデックbに変更する(ステップS2204)。
Further, the
続いて、第4の実施形態と同様に、各端末は、コーデックを変更してから、予め設定されたt’’時間だけ入力信号および出力信号が共に無音状態となった場合に、まだ切り替えを完了していないエンコーダ106またはデコーダ107のコーデックを、送信/受信したエンコーダ/デコーダ変更通知に記載されたコーデックに変更する(ステップS2205〜2207)。
Subsequently, as in the fourth embodiment, each terminal still switches when the input signal and the output signal are both silent for a preset time t ″ after changing the codec. The codec of the
また、図示していないが、ユーザBが話していて、ユーザAおよびユーザCがユーザBの話を聞いている場合には、各端末の動作は以下のようになる。通信伝送速度が所定の通信速度を下回ったことを検出した時点において、第3の実施形態と同様に、端末1Aは、現在の通信伝送速度に適したコーデックbを選択し、デコーダ107のコーデックをコーデックbに変更することを通知するためのコーデック変更通知を端末1Bおよび1Cへ送信する。
Although not shown, when user B is speaking and user A and user C are listening to user B, the operation of each terminal is as follows. When it is detected that the communication transmission rate has fallen below the predetermined communication rate, the
コーデック変更通知の送信後、端末1Aは、入力/出力信号の有音/無音の検出を開始する。この場合、ユーザBが、予め設定されたしきい値であるt時間連続で話をし(t時間連続で端末1Aにおける端末1Bからの入力信号が有音状態となる)、かつ、予め設定されたしきい値であるt’時間連続でユーザAが話をしなかった(t’時間連続で端末1Aにおける出力信号が無音状態となる)時点で、端末1Aは、エンコーダ106で用いられているコーデックを、現在の通信伝送速度に適したコーデックbに変更する。
After transmitting the codec change notification, the
端末1Bは、端末1Aから送信されたコーデック変更通知を受信し、入力/出力信号の有音/無音の検出を開始する。この場合、ユーザBが、予め設定されたしきい値であるt時間連続で話をし(t時間連続で端末1Bにおける出力信号が有音状態となる)、かつ、予め設定されたしきい値であるt’時間連続でユーザAおよびユーザCが話をしなかった(t’時間連続で端末1Bにおける入力信号が無音状態となる)時点で、端末1Bは、デコーダ107で用いられているコーデックを、現在の通信伝送速度に適したコーデックbに変更する。
The terminal 1B receives the codec change notification transmitted from the
また、端末1Cは、端末1Aから送信されたコーデック変更通知を受信し、入力/出力信号の有音/無音の検出を開始する。この場合、ユーザBが、予め設定されたしきい値であるt時間連続で話をし(t時間連続で端末1Cにおける入力信号が有音状態となる)、かつ、予め設定されたしきい値であるt’時間連続でユーザCが話をしなかった(t’時間連続で端末1Cにおける出力信号が無音状態となる)時点で、端末1Cは、エンコーダ106で用いられているコーデックを、現在の通信伝送速度に適したコーデックbに変更する。
Further, the terminal 1C receives the codec change notification transmitted from the
上述した本実施形態によれば、第1〜第4の実施形態と同様に、コーデックを切り替える際に余分な帯域を必要とせずに、コーデックの切り替え時の音声の途切れや異音の発生を防止することができる等の効果が得られる。 According to the present embodiment described above, similar to the first to fourth embodiments, it is possible to prevent the interruption of sound and the generation of abnormal noise when switching the codec without requiring an extra band when switching the codec. The effect that it can do is acquired.
なお、上述した全ての実施形態において、端末1Aにおいて電波受信状況が悪くなった場合を例として説明したが、電波受信状況が良くなった場合も同様である。また、コーデックaからコーデックbへ変更する場合を例として説明したが、コーデックの変更はこれに限られない。
Note that, in all the embodiments described above, the case where the radio wave reception status is deteriorated in the
以上、図面を参照して本発明の実施形態について詳述してきたが、具体的な構成はこれらの実施の形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計変更等も含まれる。 As described above, the embodiments of the present invention have been described in detail with reference to the drawings, but the specific configuration is not limited to these embodiments, and includes design changes and the like within a scope not departing from the gist of the present invention. It is.
1A,1B・・・端末、21,22,23・・・AP、30・・・バックボーンネットワーク、101・・・アンテナ、102・・・ネットワークインタフェース部、103・・・パケット処理部、104・・・マイク、105・・・ADC、106・・・エンコーダ、107・・・デコーダ、108・・・DAC、109・・・スピーカー、110・・・エンコーダ変更通知処理部、111・・・デコーダ変更通知処理部、112・・・通信状態計測部、113・・・制御部、113a・・・電圧レベル計測部、113b・・・コーデック選択部、113c・・・コーデック変更決定部、113d・・・利用モード判断部、114・・・コーデック変更通知処理部、115・・・アプリケーション、210,220,230・・・エリア。
1A, 1B ... terminal, 21, 22,23 ... AP, 30 ... backbone network, 101 ... antenna, 102 ... network interface unit, 103 ... packet processing unit, 104 ... -Microphone, 105 ... ADC, 106 ... Encoder, 107 ... Decoder, 108 ... DAC, 109 ... Speaker, 110 ... Encoder change notification processing unit, 111 ... Decoder change
Claims (15)
前記他の通信端末装置との間で送信および受信される前記音声データの有音状態および無音状態を検出する検出手段と、
使用するコーデックを判定し、該判定したコーデックに切り替える制御手段と、
を具備し、
前記制御手段は、前記判定したコーデックに切り替える際に、前記他の通信端末装置へ送信される前記音声データが有音状態であり、かつ前記他の通信端末装置から受信された前記音声データが無音状態であったときに、復号化に用いられる前記コーデックを切り替える
ことを特徴とする通信端末装置。 In a communication terminal device that performs transmission / reception of audio data with another communication terminal device and switches a codec used for encoding and decoding of the audio data according to a communication state,
Detecting means for detecting a voiced state and a silent state of the voice data transmitted and received with the other communication terminal device;
Control means for determining a codec to be used and switching to the determined codec;
Comprising
When the control means switches to the determined codec , the voice data transmitted to the other communication terminal apparatus is in a voiced state, and the voice data received from the other communication terminal apparatus is silent. A communication terminal device that switches the codec used for decoding when the state is in a state.
前記制御手段はさらに、通知された前記コーデックの切り替えの情報に基づいて、符号化に用いられる前記コーデックを切り替える
ことを特徴とする請求項1に記載の通信端末装置。 When the codec used for decoding is switched by the control means, first notification information for notifying the switching of the codec is generated, transmitted to the other communication terminal apparatus, and the other communication When the first notification information is transmitted by the terminal device, the first notification information is received, and the codec switching information indicated by the first notification information is notified to the control means. 1 notification information processing means,
The communication terminal apparatus according to claim 1, wherein the control unit further switches the codec used for encoding based on the notified codec switching information.
前記制御手段はさらに、前記第2の通知情報が受信された場合に、前記他の通信端末装置へ送信される前記音声データが無音状態であり、かつ前記他の通信端末装置から受信された前記音声データが有音状態であったときに、通知された前記コーデックの切り替えの情報に基づいて、符号化に用いられる前記コーデックを切り替える
ことを特徴とする請求項1に記載の通信端末装置。 When the codec used for decoding is switched, the second notification information for notifying the codec switching information is generated and transmitted to the other communication terminal device before the codec is switched, When the second notification information is transmitted by the other communication terminal device, the second notification information is received, and the codec switching information indicated by the second notification information is received by the control means. Further comprising second notification information processing means for notifying
The control means is further configured such that, when the second notification information is received, the voice data transmitted to the other communication terminal apparatus is in a silent state and received from the other communication terminal apparatus. The communication terminal apparatus according to claim 1, wherein when the audio data is in a voiced state, the codec used for encoding is switched based on the notified codec switching information.
前記他の通信端末装置との間で送信および受信される前記音声データの有音状態および無音状態を検出する検出手段と、
前記コーデックを切り替える制御手段と、
を具備し、
前記制御手段は、前記コーデックを切り替える際に、前記他の通信端末装置へ送信される前記音声データが無音状態であり、かつ前記他の通信端末装置から受信された前記音声データが有音状態であったときに、符号化に用いられる前記コーデックを切り替える
ことを特徴とする通信端末装置。 In a communication terminal device that performs transmission / reception of audio data with another communication terminal device and switches a codec used for encoding and decoding of the audio data according to a communication state,
Detecting means for detecting a voiced state and a silent state of the voice data transmitted and received with the other communication terminal device;
Control means for switching the codec;
Comprising
When the control means switches the codec, the voice data transmitted to the other communication terminal apparatus is in a silent state, and the voice data received from the other communication terminal apparatus is in a voiced state. When there is a communication terminal device, the codec used for encoding is switched.
前記制御手段はさらに、通知された前記コーデックの切り替えの情報に基づいて、復号化に用いられる前記コーデックを切り替える
ことを特徴とする請求項7に記載の通信端末装置。 When the codec used for encoding is switched by the control means, first notification information for notifying the switching of the codec is generated, transmitted to the other communication terminal apparatus, and the other communication When the first notification information is transmitted by the terminal device, the first notification information is received, and the codec switching information indicated by the first notification information is notified to the control means. 1 notification information processing means,
The communication terminal apparatus according to claim 7, wherein the control means further switches the codec used for decoding based on the notified codec switching information.
前記制御手段はさらに、前記第2の通知情報が受信された場合に、前記他の通信端末装置へ送信される前記音声データが有音状態であり、かつ前記他の通信端末装置から受信された前記音声データが無音状態であったときに、通知された前記コーデックの切り替えの情報に基づいて、復号化に用いられる前記コーデックを切り替える
ことを特徴とする請求項7に記載の通信端末装置。 When the codec used for encoding is switched, the second notification information for notifying the codec switching information is generated and transmitted to the other communication terminal apparatus before the codec is switched, When the second notification information is transmitted by the other communication terminal device, the second notification information is received, and the codec switching information indicated by the second notification information is received by the control means. Further comprising second notification information processing means for notifying
The control means is further configured such that when the second notification information is received, the voice data transmitted to the other communication terminal apparatus is in a voiced state and received from the other communication terminal apparatus. The communication terminal apparatus according to claim 7, wherein when the audio data is in a silent state, the codec used for decoding is switched based on the notified codec switching information.
前記制御手段はさらに、前記第2の通知情報が受信された場合に、前記他の通信端末装置へ送信される前記音声データが有音状態であり、かつ前記他の通信端末装置から受信された前記音声データが無音状態であったときには、通知された前記コーデックの切り替えの情報に基づいて、復号化に用いられる前記コーデックを切り替え、前記他の通信端末装置へ送信される前記音声データが無音状態であり、かつ前記他の通信端末装置から受信された前記音声データが有音状態であったときには、通知された前記コーデックの切り替えの情報に基づいて、符号化に用いられる前記コーデックを切り替える
ことを特徴とする請求項7に記載の通信端末装置。 When the codec used for encoding is switched, the second notification information for notifying the codec switching information is generated and transmitted to the other communication terminal apparatus before the codec is switched, When the second notification information is transmitted by the other communication terminal device, the second notification information is received, and the codec switching information indicated by the second notification information is received by the control means. Further comprising second notification information processing means for notifying
The control means is further configured such that when the second notification information is received, the voice data transmitted to the other communication terminal apparatus is in a voiced state and received from the other communication terminal apparatus. When the audio data is silent, the codec used for decoding is switched based on the notified codec switching information, and the audio data transmitted to the other communication terminal apparatus is silent. And when the audio data received from the other communication terminal device is in a voiced state, the codec used for encoding is switched based on the notified codec switching information. The communication terminal device according to claim 7, wherein
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005006208A JP4628798B2 (en) | 2005-01-13 | 2005-01-13 | Communication terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005006208A JP4628798B2 (en) | 2005-01-13 | 2005-01-13 | Communication terminal device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006195144A JP2006195144A (en) | 2006-07-27 |
JP4628798B2 true JP4628798B2 (en) | 2011-02-09 |
Family
ID=36801282
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005006208A Expired - Fee Related JP4628798B2 (en) | 2005-01-13 | 2005-01-13 | Communication terminal device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4628798B2 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100080328A1 (en) * | 2006-12-08 | 2010-04-01 | Ingemar Johansson | Receiver actions and implementations for efficient media handling |
JP5044380B2 (en) * | 2007-12-04 | 2012-10-10 | 株式会社日立国際電気 | Distribution device, codec conversion device, and communication system |
JP5439910B2 (en) * | 2009-04-01 | 2014-03-12 | 日本電気株式会社 | Voice communication apparatus, voice communication system, voice communication method and program |
JP5653050B2 (en) * | 2010-03-03 | 2015-01-14 | レノボ・イノベーションズ・リミテッド(香港) | Speech decoding switching device, speech decoding switching system, and speech decoding switching method used therefor |
JP5749462B2 (en) * | 2010-08-13 | 2015-07-15 | 株式会社Nttドコモ | Audio decoding apparatus, audio decoding method, audio decoding program, audio encoding apparatus, audio encoding method, and audio encoding program |
JP2013138277A (en) * | 2011-12-28 | 2013-07-11 | Nippon Telegraph & Telephone East Corp | Relay device, output system, output method, and computer program |
US20230103916A1 (en) * | 2020-02-10 | 2023-04-06 | Lg Electronics Inc. | Audio data reception method using short-range wireless communication in wireless communication system, and apparatus therefor |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0367792A (en) * | 1989-08-07 | 1991-03-22 | Bridgestone Cycle Co | Bicycle power generation device |
JPH05327935A (en) * | 1992-05-25 | 1993-12-10 | Canon Inc | Multi-media communication device |
JPH07254878A (en) * | 1994-03-15 | 1995-10-03 | Matsushita Electric Ind Co Ltd | Digital mobile radio equipment |
JP2001318693A (en) * | 2000-05-08 | 2001-11-16 | Mitsubishi Electric Corp | Device and method for transmission |
JP2002135322A (en) * | 2000-10-30 | 2002-05-10 | Nec Corp | Voice coding automatic selector |
JP2004301907A (en) * | 2003-03-28 | 2004-10-28 | Matsushita Electric Ind Co Ltd | Speech encoding device |
-
2005
- 2005-01-13 JP JP2005006208A patent/JP4628798B2/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0367792A (en) * | 1989-08-07 | 1991-03-22 | Bridgestone Cycle Co | Bicycle power generation device |
JPH05327935A (en) * | 1992-05-25 | 1993-12-10 | Canon Inc | Multi-media communication device |
JPH07254878A (en) * | 1994-03-15 | 1995-10-03 | Matsushita Electric Ind Co Ltd | Digital mobile radio equipment |
JP2001318693A (en) * | 2000-05-08 | 2001-11-16 | Mitsubishi Electric Corp | Device and method for transmission |
JP2002135322A (en) * | 2000-10-30 | 2002-05-10 | Nec Corp | Voice coding automatic selector |
JP2004301907A (en) * | 2003-03-28 | 2004-10-28 | Matsushita Electric Ind Co Ltd | Speech encoding device |
Also Published As
Publication number | Publication date |
---|---|
JP2006195144A (en) | 2006-07-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4628798B2 (en) | Communication terminal device | |
US10362514B2 (en) | Network node and communication method | |
US8787166B2 (en) | Communication network control system, radio communication apparatus, and communication network control method | |
KR100927941B1 (en) | User plane traffic providing method, computer readable storage medium, transmission device, communication providing system, terminal device and network controller device | |
KR20100114091A (en) | Apparatus, and associated method, for selecting speech coder operational rates | |
JP2007503761A (en) | Communication control unit and method for maintaining communication connection during cell reselection | |
US20100067488A1 (en) | Wireless terminal and handover method of wireless terminal | |
KR20100133470A (en) | Discontinuous reception of bursts for voice calls | |
JP5250255B2 (en) | Wireless communication device | |
JPWO2009131222A1 (en) | Wireless communication apparatus and communication apparatus | |
JP2007512788A (en) | Pushtalk indicator for wireless devices | |
JPWO2015174018A1 (en) | Network node and signaling processing method | |
JP2011244395A (en) | Radio communication device and control method of the same | |
JP5143414B2 (en) | Wireless communication terminal | |
EP1961245B1 (en) | Systems and methods for tandem free operation signal transmission | |
JP2007282090A (en) | Portable information terminal and sound reproducing method | |
JP2006261845A (en) | Mobile communication terminal, method of solving handover and program | |
JP4947350B2 (en) | Radio telephone apparatus, hand-off method in radio telephone apparatus, radio communication apparatus, and hand-off method of radio communication apparatus | |
JP6378987B2 (en) | Wireless communication system | |
JP2007259056A (en) | Wireless communication apparatus | |
JP2009302881A (en) | Communication method when line is busy in mobile radio communication system, and mobile station | |
JP2008022308A (en) | Method for reducing break of reproduction medium in packet communication, hand-over method of mobile communication terminal, and mobile communication terminal | |
JP4937238B2 (en) | Wireless communication terminal device | |
JPH1146163A (en) | Digital portable telephone system | |
JP5902921B2 (en) | Wireless communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070905 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20071012 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20071012 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100513 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100518 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100716 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20100720 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20101102 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20101110 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131119 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4628798 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |