(実施例1)
  図1は、通信システム100の構成を示す。通信システム100は、ネットワーク10、管理装置12、基地局装置14と総称される第1基地局装置14a、第2基地局装置14b、第3基地局装置14c、端末装置16と総称される第1端末装置16a、・・・、第8端末装置16hを含む。ここで、通信システム100に含まれる基地局装置14の数は「3」に限定されず、端末装置16の数は「8」に限定されず、それらより多くてもよく、それらよりも少なくてもよい。Example 1
 1 shows the configuration of acommunication system 100. Thecommunication system 100 includes anetwork 10, amanagement device 12, a firstbase station device 14a, a secondbase station device 14b, and a thirdbase station device 14c, all of which are collectively referred to as base station devices 14, and afirst terminal device 16a, ..., and an eighthterminal device 16h, all of which are collectively referred to asterminal devices 16. Here, the number of base station devices 14 included in thecommunication system 100 is not limited to "3", and the number ofterminal devices 16 is not limited to "8", and may be more or less than these numbers.
  端末装置16は、IPトランシーバ、PoC(Push-to-Talk  over  Cellular)トランシーバとも呼ばれ、音声通信を実行する。音声通信はプッシュ・ツー・トーク方式であり、個別呼出、グループ呼出、一斉呼出も可能である。このような音声通信を実行するために、端末装置16は基地局装置14に接続される。ここで、基地局装置14と端末装置16との間における通信方式には、半二重または全二重通信が使用される。Theterminal device 16 is also called an IP transceiver or a PoC (Push-to-Talk over Cellular) transceiver, and performs voice communication. Voice communication is performed using the push-to-talk method, and individual calls, group calls, and mass calls are also possible. To perform such voice communication, theterminal device 16 is connected to the base station device 14. Here, half-duplex or full-duplex communication is used as the communication method between the base station device 14 and theterminal device 16.
  複数の基地局装置14は、ネットワーク10により互いに接続される。ネットワーク10は、例えばIP(Internet  Protocol)ネットワークである。ネットワーク10には管理装置12が接続される。管理装置12は、例えばSIP(Session  Initiation  Protocol)サーバ等により構成され、端末装置16間で通話する際のSIPシーケンス処理を実行する。The multiple base station devices 14 are connected to each other via anetwork 10. Thenetwork 10 is, for example, an IP (Internet Protocol) network. Amanagement device 12 is connected to thenetwork 10. Themanagement device 12 is, for example, configured with a SIP (Session Initiation Protocol) server, etc., and executes SIP sequence processing when a call is made between theterminal devices 16.
  このような構成において、端末装置16の使用者(ユーザ)は、端末装置16の通話ボタンを押下することによって、他の端末装置16を使用する他の使用者との音声通話を実行する。通信方式が半二重通信である場合、ある音声通話に係る複数の端末装置16において、いずれかの使用者が通話ボタンを押下し発話している間にわたって、他の使用者は通話ボタンを押しても発話できない。通話を開始する際に通話ボタンを押下した場合の動作には、通常発信、およびRing  Back  Tone(以下、「RBT」という)発信が含まれる。なお、「RBT発信」がなされる通信モード(RBT発信モード)を「第1通信モード」、「通常発信」がなされる通信モード(通常発信モード)を「第2通信モード」と呼ぶ場合もある。In such a configuration, a user of aterminal device 16 presses the talk button of theterminal device 16 to perform a voice call with another user using anotherterminal device 16. When the communication method is half-duplex communication, in multipleterminal devices 16 related to a certain voice call, while one user of theterminal devices 16 presses the talk button and is speaking, the other users cannot speak even if they press the talk button. The operation when the talk button is pressed to start a call includes a normal call and a Ring Back Tone (hereinafter referred to as "RBT") call. Note that the communication mode in which an "RBT call" is made (RBT call mode) is sometimes called the "first communication mode," and the communication mode in which a "normal call" is made (normal call mode) is sometimes called the "second communication mode."
  図2(a)-(b)は、通信システム100における通常発信の概要を示す。ここでは、第1端末装置16aと第2端末装置16bという2つの端末装置16間の通信を前提とするが、3つ以上の端末装置16間の通信であってもよく、1対多のグループ通信であってもよい。第1端末装置16aは第1使用者18aに使用され、第2端末装置16bは第2使用者18bに使用される。また、半二重通信を使用する場合を想定する。Figures 2(a)-(b) show an overview of normal calls in thecommunication system 100. Here, communication is assumed to be between twoterminal devices 16, a firstterminal device 16a and a secondterminal device 16b, but communication may be between three or moreterminal devices 16, or one-to-many group communication may also be used. The firstterminal device 16a is used by afirst user 18a, and the secondterminal device 16b is used by asecond user 18b. Also, the case of using half-duplex communication is assumed.
  図2(a)において、第1使用者18aが第1端末装置16aの通話ボタンを押し下げている間、第2使用者18bが第2端末装置16bを操作しなくても、第1使用者18aと第2使用者18bとの音声通話が開始される。具体的に説明すると、第1使用者18aが第1端末装置16aの通話ボタンを押し下げている間、第1使用者18aによって発話された音声が音声信号として、第1端末装置16aから第2端末装置16bに発信される。第2端末装置16bは、受信した音声信号を再生し、音声を出力する。図2(b)は、図2(a)に続く処理であり、第2使用者18bが第2端末装置16bの通話ボタンを押し下げている間、第2使用者18bによって発話された音声が音声信号として、第2端末装置16bから第1端末装置16aに発信される。第1端末装置16aは、受信した音声信号を再生し、音声を出力する。このように、第1使用者18aと第2使用者18bとの間で交互に通話ボタンが押し下げられ、通話がなされる。通常発信では、着信側(受信側)の端末装置16において、着信を報知(通知)する音、すなわち着信音は出力されない。このため、通常発信モードは、着信音を用いない通信モードであるといえる。また、着信音が出力されずに、いきなり通話音声が出力されるため、端末装置16のユーザは通話音声により通信(着信)の存在を認識する。このため通常発信では、通話音声を出力することが着信を報知する1つの形態であるともいえる。通常発信モードでは、着信側の端末装置16は着信音を出力せずに、すぐに通話音声を出力するため、通信情報を迅速に通信相手に伝えることが可能である。In FIG. 2(a), while thefirst user 18a is pressing the call button of the firstterminal device 16a, a voice call between thefirst user 18a and thesecond user 18b is started even if thesecond user 18b does not operate the secondterminal device 16b. To be more specific, while thefirst user 18a is pressing the call button of the firstterminal device 16a, the voice uttered by thefirst user 18a is transmitted as a voice signal from the firstterminal device 16a to the secondterminal device 16b. The secondterminal device 16b reproduces the received voice signal and outputs the voice. FIG. 2(b) is a process following FIG. 2(a), and while thesecond user 18b is pressing the call button of the secondterminal device 16b, the voice uttered by thesecond user 18b is transmitted as a voice signal from the secondterminal device 16b to the firstterminal device 16a. The firstterminal device 16a reproduces the received voice signal and outputs the voice. In this way, thefirst user 18a and thesecond user 18b alternately press the call button to make a call. In normal outgoing calls, theterminal device 16 on the receiving side (the receiver) does not output a sound to notify (notify) an incoming call, i.e., a ringtone. For this reason, the normal outgoing call mode can be said to be a communication mode that does not use a ringtone. Also, since the call voice is suddenly output without outputting a ringtone, the user of theterminal device 16 recognizes the existence of a communication (incoming call) by the call voice. For this reason, in normal outgoing calls, outputting the call voice can be said to be one form of notifying an incoming call. In normal outgoing mode, theterminal device 16 on the receiving side does not output a ringtone but immediately outputs the call voice, making it possible to quickly convey communication information to the other party.
  図3(a)-(d)は、通信システム100におけるRBT発信の概要を示す。図3(a)-(d)は図2(a)-(b)と同様に示される。第1使用者18aが第1端末装置16aの通話ボタンを押し下げている間、第1端末装置16aは呼び出し音を出力する。第2端末装置16bは、音声通話を開始せず、着信音を出力する。図3(b)は、図3(a)に続く処理であり、着信音を聞いた第2使用者18bが第2端末装置16bの通話ボタンを押下する等の所定の操作を行うと、図3(c)の通話開始への遷移がなされる。第1使用者18aが第1端末装置16aの通話ボタン押下を止める(通話ボタンを離す)と、図3(c)の通話が終了する。通話終了時点から所定時間以内に、第2使用者18bが第2端末装置16bの通話ボタンの押下を持続すると、第2端末装置16bから第1端末装置16aへの折り返し通話(コールバック)が開始される。この状態を図3(d)に示す。なお、RBT発信に対する折り返し通話において通常は、第2端末装置16bの呼び出し音や、第1端末装置16aの着信音は出力されず、すぐに通話状態となる。Figures 3(a)-(d) show an overview of RBT transmission in thecommunication system 100. Figures 3(a)-(d) are shown in the same way as Figures 2(a)-(b). While thefirst user 18a is holding down the talk button of the firstterminal device 16a, the firstterminal device 16a outputs a ring tone. The secondterminal device 16b does not start a voice call, but outputs a ring tone. Figure 3(b) shows the process following Figure 3(a), and when thesecond user 18b, having heard the ring tone, performs a predetermined operation such as pressing the talk button of the secondterminal device 16b, a transition to the start of a call in Figure 3(c) is made. When thefirst user 18a stops pressing the talk button of the firstterminal device 16a (releases the talk button), the call in Figure 3(c) ends. If thesecond user 18b continues to press the talk button on the secondterminal device 16b within a specified time from the end of the call, a callback from the secondterminal device 16b to the firstterminal device 16a is initiated. This state is shown in FIG. 3(d). Note that in a callback for an RBT transmission, the ringtone of the secondterminal device 16b and the incoming call tone of the firstterminal device 16a are not usually output, and the call is immediately established.
  図3(c)の通話が終了してから所定時間が経過した以降に、第2使用者18bが第2端末装置16bの通話ボタンを押下すると、折り返し通話ではなく、新規のRBT発信となる。この場合は、第2端末装置16bの呼び出し音と、第1端末装置16aの着信音が出力される。このようにRBT発信では、着信側(受信側)の端末装置16で着信音を出力し、音声通話を開始するために、着信側の端末装置16での所定の操作が必要となる。そのため、RBT発信は、発信相手に確実に情報を伝える必要がある場合に利用される。RBT発信モードは、着信音を用いる通信モードであるといえる。なお、上述の説明では、通話ボタンを押し下げ続ける操作により、RBT発信を実行するとしたが、他の操作によってRBT発信を実行してもよい。例えば、通話ボタンを1回(短時間)押下することにより、RBT発信を実行してもよい。When thesecond user 18b presses the call button of the secondterminal device 16b after a predetermined time has elapsed since the end of the call in FIG. 3(c), a new RBT call is made instead of a call back. In this case, the ring tone of the secondterminal device 16b and the incoming call tone of the firstterminal device 16a are output. In this way, in an RBT call, a predetermined operation is required on theterminal device 16 of the receiving side (receiving side) to output the incoming call tone and start a voice call. Therefore, an RBT call is used when it is necessary to reliably convey information to the other party. The RBT call mode can be said to be a communication mode that uses an incoming call tone. In the above explanation, an RBT call is made by continuously pressing the call button, but an RBT call may be made by other operations. For example, an RBT call may be made by pressing the call button once (for a short time).
  通常発信とRBT発信の切替は、一般的に、発信側の端末装置16における設定をもとになされる。端末装置16において、「通常発信」が設定された場合、あるいは「発信時に通常発信あるいはRBT発信」が設定され、発信時に「通常発信」が選択された場合、通常発信がなされる。図4(a)-(b)は、端末装置16の表示部36に表示される画面を示す。これは、端末装置16において通常発信、RBT発信に関する設定を行うための画面例である。図4(a)のRBT利用設定画面を用いて、発信時の動作が設定される。「利用しない」を設定した場合、通話ボタンを押下した後、通常発信がなされる。「常時利用」を設定した場合、通話ボタンを押下した後、RBT発信がなされる。「発信時選択」を設定した場合、通話ボタンを押下した後、図4(b)の発信選択画面が表示される。つまり、使用者18は通話を開始する毎に(発呼毎に)、通常発信またはRBT発信を選択する。図4(b)の発信時選択画面において、「RBT発信」を選択した場合、RBT発信がなされる。「通常発信」を選択した場合、通常発信がなされる。Switching between normal and RBT calls is generally done based on the settings in theterminal device 16 on the calling side. When "normal call" is set in theterminal device 16, or when "normal call or RBT call when calling" is set and "normal call" is selected when calling, normal call is made. Figures 4(a)-(b) show screens displayed on thedisplay unit 36 of theterminal device 16. This is an example of a screen for setting normal calls and RBT calls in theterminal device 16. The operation when calling is set using the RBT usage setting screen in Figure 4(a). When "not used" is set, normal call is made after pressing the talk button. When "always used" is set, RBT call is made after pressing the talk button. When "select when calling" is set, the call selection screen in Figure 4(b) is displayed after pressing the talk button. In other words, the user 18 selects normal call or RBT call every time he starts a call (every time a call is made). If you select "RBT call" on the call selection screen in FIG. 4(b), an RBT call will be made. If you select "Normal call," a normal call will be made.
  前述のごとく、主な音声通信の方式としては個別呼出、グループ呼出、一斉呼出が可能となっている。個別呼出は、ある端末装置16から特定の端末装置16に向けての呼出となる。グループ呼出は、複数の端末装置16がいくつかのグループに分けて設定されている場合において、ある端末装置16からグループ呼出を行った場合、当該端末装置16と同一グループに設定されている全ての端末装置16に向けての同報呼出となる。一斉呼出は、ある端末装置16から通信システム100に所属する全ての端末装置16に向けての同報呼出となる。グループ呼出、一斉呼出とも通常発信、RBT発信が可能であり、グループ呼出、一斉呼出にてRBT発信を行った場合、対象となる複数の端末装置16で着信音が出力される。その後、着信中のいずれかの端末装置16の通話ボタンが押下されることによりグループ通話、一斉通話が開始される。As mentioned above, the main voice communication methods available are individual calls, group calls, and mass calls. An individual call is a call from a certainterminal device 16 to a specificterminal device 16. When multipleterminal devices 16 are set up in several groups, if a group call is made from a certainterminal device 16, it becomes a broadcast call to allterminal devices 16 set up in the same group as theterminal device 16. A mass call is a broadcast call from a certainterminal device 16 to allterminal devices 16 belonging to thecommunication system 100. Both group calls and mass calls can be made in normal or RBT mode, and when an RBT call is made in a group call or mass call, a ringtone is output on the multipletarget terminal devices 16. After that, the group call or mass call is started by pressing the call button on any of theterminal devices 16 that is receiving a call.
  IP無線通信システムにおいては、IP無線通信用アプリケーションのインストールがなされたスマートフォン等の携帯電話端末を端末装置16として使用可能である。携帯電話端末は、IP無線通信用アプリケーションをインストールすることにより、他の端末装置16や他のIP無線通信用アプリケーションがインストールされた携帯電話端末とプッシュ・ツー・トーク方式での通話が可能となる。また、近年の電化機器、例えば部屋の照明、テレビ、ステレオ、エアコン、IT製品、パソコン、タブレット端末等は、ネットワーク接続されると、スマートフォン等の携帯電話端末により制御可能となっている。携帯電話端末に制御用のアプリケーションをインストールすることにより、端末装置16から端末装置16とは別の機器である外部機器の操作が可能である。なお、外部機器を外部装置と呼ぶ場合もある。外部機器の操作とは、具体的には部屋の照明の点灯・消灯の切替、テレビ、ステレオのオン・オフの切替およびチャンネル切替、ボリューム調整、エアコンのオン・オフの切替、PC電源のオン・オフ、タブレット端末のオン・オフ等の操作である。また、携帯電話端末は上記の機器の操作履歴を記憶可能である。以後、前述の携帯電話端末による上記の機器の操作履歴を外部機器操作履歴と表記することもある。In the IP wireless communication system, a mobile phone terminal such as a smartphone on which an IP wireless communication application is installed can be used as theterminal device 16. By installing an IP wireless communication application on the mobile phone terminal, it becomes possible to make a call by push-to-talk with anotherterminal device 16 or a mobile phone terminal on which another IP wireless communication application is installed. In addition, recent electrical appliances such as room lights, televisions, stereos, air conditioners, IT products, personal computers, tablet terminals, etc. can be controlled by a mobile phone terminal such as a smartphone when connected to a network. By installing a control application on the mobile phone terminal, it is possible to operate an external device, which is a device other than theterminal device 16, from theterminal device 16. Note that the external device may also be called an external device. The operation of the external device specifically includes switching the room lights on and off, switching the television and stereo on and off and switching channels, adjusting the volume, switching the air conditioner on and off, turning the PC power on and off, turning the tablet terminal on and off, etc. In addition, the mobile phone terminal can store the operation history of the above devices. Hereinafter, the operation history of the above devices by the above mobile phone terminal may also be referred to as the external device operation history.
  端末装置16がRBT利用設定にて「利用しない」、あるいは「発信時選択」に設定され、発信選択画面にて「通常発信」を選択した場合、通常発信が行われる。前述のように、通常発信では受信側の端末装置16にて通話ボタンを操作しなくでも通話が行われる。そのため、受信側において端末装置16を使用している使用者18が離席などにより端末装置16付近にいない場合、あるいは端末装置16をカバンやポケットの中に収納している状態では、受信側の使用者18が通話内容を聞き逃す可能性が高く、発信した情報が無駄になる可能性が高い。一方、RBT発信は前述のように、発信相手に確実に情報を伝える必要がある場合に利用される。しかしながら、RBT発信では受信側での端末装置16の操作が必要となるので、重要度の高い情報を早急に伝えたい発信においては、通話情報の即時性を損なうというデメリットも存在する。When theterminal device 16 is set to "not use" or "select when calling" in the RBT usage setting and "normal call" is selected on the call selection screen, a normal call is made. As described above, in a normal call, the call is made without operating the call button on the receivingterminal device 16. Therefore, if the user 18 using theterminal device 16 on the receiving side is not near theterminal device 16 because he/she has left his/her desk, or if theterminal device 16 is stored in a bag or pocket, there is a high possibility that the receiving user 18 will miss the contents of the call, and the transmitted information will be wasted. On the other hand, as described above, an RBT call is used when it is necessary to reliably convey information to the other party. However, since an RBT call requires the operation of theterminal device 16 on the receiving side, there is a disadvantage in that the immediacy of the call information is lost in calls where important information needs to be conveyed quickly.
  送信側の端末装置16の使用者18は、受信側の端末装置16の受信状態が不明である場合、発信相手に確実に情報を伝える必要があるときにRBT発信を選択する。その際、受信側の端末装置16が通話を直ちに受信できる状態であっても、送信側の使用者18がRBT発信を選択したので、受信側の使用者18にはRBT発信に対する応答のために使用者18を操作する手間が発生する。また、受信側で使用者18の操作が必要となるので、重要度の高い情報を早急に伝えたい場合に通話情報伝達の即時性を損なう問題があった。When the reception status of the receivingterminal device 16 is unknown, the user 18 of the sendingterminal device 16 selects RBT transmission when it is necessary to reliably convey information to the call recipient. In this case, even if the receivingterminal device 16 is in a state where it can immediately receive a call, the sending user 18 has selected RBT transmission, so the receiving user 18 has to take the trouble of operating the user 18 to respond to the RBT transmission. In addition, because the receiving user 18 is required to operate the user 18, there is a problem that the immediacy of the call information transmission is lost when it is necessary to convey important information as soon as possible.
  使用者18が、通信相手に対して、ある通信モードを用いて通信を開始しようとした場合、通信相手は必ずしも、その通信モードで呼び出す場合に適した状況にあるとは限らない。例えば、使用者18が「通常発信モード」で通信を開始しても、通信相手が端末装置16から離れているなどの場合には、発話した内容が通信相手に認識されないことが起こり得る。したがって、通信相手(着信対象)の状況に応じて複数種類の通信モードを適切に使用することが望まれる。When user 18 attempts to start communication with a communication partner using a certain communication mode, the communication partner is not necessarily in a situation suitable for calling in that communication mode. For example, even if user 18 starts communication in "normal calling mode," if the communication partner is far away fromterminal device 16, the contents of what is said may not be recognized by the communication partner. Therefore, it is desirable to use multiple types of communication modes appropriately according to the situation of the communication partner (recipient).
  図5は、端末装置16のハードウエア構成および機能ブロックを示す。端末装置16は、クロック発振器200、CPU(Central  Processing  Unit)210、ユーザIF(Interface)220、通信IF230、音声IF240、記憶部40を含む。クロック発振器200、CPU210、ユーザIF220、通信IF230、音声IF240、記憶部40は、バス250によって接続される。また、端末装置16の制御対象となる外部機器20が存在する。Figure 5 shows the hardware configuration and functional blocks of theterminal device 16. Theterminal device 16 includes aclock oscillator 200, a CPU (Central Processing Unit) 210, a user IF (Interface) 220, a communication IF 230, an audio IF 240, and astorage unit 40. Theclock oscillator 200, theCPU 210, the user IF 220, the communication IF 230, the audio IF 240, and thestorage unit 40 are connected by abus 250. In addition, there is anexternal device 20 that is the subject of control of theterminal device 16.
  クロック発振器200は、例えば、水晶発振器であり、一定の周波数の信号を生成する。CPU210は、端末装置16における処理を実行する。ユーザIF220は、ユーザである使用者18に対するインターフェースである。ユーザIF220は、使用者18からの情報を受けつけたり、使用者18に情報を提示したりする。通信IF230は、ネットワーク10と接続され、基地局装置14と通信する。さらに、基地局装置14経由で管理装置12と通信する。また、通信IF230は、家電機器等の外部機器20との間で無線通信あるいは有線通信を実行する。記憶部40は、情報を記憶する媒体であり、例えば、ハードディスク、SSD(Solid  State  Drive)である。Theclock oscillator 200 is, for example, a crystal oscillator, and generates a signal of a constant frequency. TheCPU 210 executes processing in theterminal device 16. The user IF 220 is an interface with the user 18. The user IF 220 accepts information from the user 18 and presents information to the user 18. The communication IF 230 is connected to thenetwork 10 and communicates with the base station device 14. It also communicates with themanagement device 12 via the base station device 14. The communication IF 230 also executes wireless or wired communication with anexternal device 20 such as a home appliance. Thestorage unit 40 is a medium for storing information, and is, for example, a hard disk or SSD (Solid State Drive).
  クロック発振器200は計時部32を含み、CPU210は制御部38を含み、ユーザIF220は入力部30、表示部36を含む。なお、図5では省略しているが、IF220はLED等の発光デバイス(発光部)を含んでいてもよい。通信IF230は通信部34、近距離通信部42を含む。記憶部40は、設定テーブル60を含む。音声IF240は通話音声を入出力するためのインターフェースであり、音声入力部44と音声出力部46を含む。音声入力部44は、例えばマイクロフォン(マイク)で構成されており、音声出力部46は、例えばスピーカで構成されている。Theclock oscillator 200 includes atimer unit 32, theCPU 210 includes acontrol unit 38, and the user IF 220 includes aninput unit 30 and adisplay unit 36. Although omitted in FIG. 5, theIF 220 may include a light-emitting device (light-emitting unit) such as an LED. The communication IF 230 includes acommunication unit 34 and a short-range communication unit 42. Thememory unit 40 includes a setting table 60. The audio IF 240 is an interface for inputting and outputting call audio, and includes anaudio input unit 44 and anaudio output unit 46. Theaudio input unit 44 is composed of, for example, a microphone, and theaudio output unit 46 is composed of, for example, a speaker.
  図6は、端末装置16の詳細な機能ブロックを示す。端末装置16は、入力部30、計時部32、通信部34、表示部36、制御部38、記憶部40、近距離通信部42、音声入力部44、音声出力部46を含む。記憶部40は、設定テーブル60を含む。入力部30は、端末装置16の使用者18が操作するための各種ボタン、タッチパネル等の入力デバイス、入力デバイスの状態を制御部38に通知するためのインターフェースを含む。また、入力部30は、発信する際に押下される通話ボタンも含む。さらに、入力部30は、外部機器20の操作を行う際に押下される操作ボタンも含む。通話ボタンの押下状態は、入力部30において検出され、制御部38に入力される。表示部36は、端末装置16の設定、通話状態を表示するインターフェースであり、例えばディスプレイである。Figure 6 shows detailed functional blocks of theterminal device 16. Theterminal device 16 includes aninput unit 30, atimer unit 32, acommunication unit 34, adisplay unit 36, acontrol unit 38, amemory unit 40, a short-range communication unit 42, anaudio input unit 44, and anaudio output unit 46. Thememory unit 40 includes a setting table 60. Theinput unit 30 includes various buttons for the user 18 of theterminal device 16 to operate, an input device such as a touch panel, and an interface for notifying thecontrol unit 38 of the state of the input device. Theinput unit 30 also includes a call button that is pressed when making a call. Theinput unit 30 also includes an operation button that is pressed when operating theexternal device 20. The pressed state of the call button is detected by theinput unit 30 and input to thecontrol unit 38. Thedisplay unit 36 is an interface that displays the settings and call state of theterminal device 16, and is, for example, a display.
  通信部34(第1通信部)は、携帯電話システム、業務用無線システム、インターネット接続された無線LAN(Local  Area  Network)などを利用して、他の端末装置16と通信可能である。近距離通信部42(第2通信部)は、無線LAN、Bluetooth(登録商標)、赤外線通信、NFC(Near  Field  Communication)等の近距離無線を利用して、外部機器20と通信可能である。外部機器20は、例えば、エアコン、照明、暖房機器、テレビ等の映像機器、オーディオ機器、IT機器、調理家電、生活家電、ドアの鍵、ホームセキュリティ機器などである。これらの外部機器20は、主に建物内に設置されていることを想定するが、屋外に設置されていてもよい。なお、通信部34および近距離通信部42で無線LANを使うことにより、これらは共通化されてもよい。また、近距離通信部42と外部機器20とを有線通信を用いて接続してもよい。1つの端末装置16は、1つ以上の任意の数の外部機器20を制御する。また、通信システム100に含まれる一部の端末装置16は、外部機器20を制御しなくてもよい。つまり、通信システム100において、1つ以上の端末装置16が1つ以上の外部機器20を制御すればよい。The communication unit 34 (first communication unit) can communicate with otherterminal devices 16 using a mobile phone system, a business wireless system, a wireless LAN (Local Area Network) connected to the Internet, or the like. The short-range communication unit 42 (second communication unit) can communicate with theexternal device 20 using short-range wireless such as wireless LAN, Bluetooth (registered trademark), infrared communication, and NFC (Near Field Communication). Theexternal device 20 is, for example, an air conditioner, lighting, heating equipment, video equipment such as a television, audio equipment, IT equipment, cooking appliances, household appliances, door locks, home security equipment, and the like. Theseexternal devices 20 are assumed to be mainly installed inside a building, but may also be installed outdoors. Note that thecommunication unit 34 and the short-range communication unit 42 may be shared by using a wireless LAN. The short-range communication unit 42 and theexternal device 20 may also be connected using wired communication. Oneterminal device 16 controls any number ofexternal devices 20, which may be one or more. In addition, some of theterminal devices 16 included in thecommunication system 100 may not control theexternal devices 20. In other words, in thecommunication system 100, it is sufficient that one or moreterminal devices 16 control one or moreexternal devices 20.
  音声入力部44は、音声通話を行うために端末装置16の使用者18の音声を収音する。また、音声入力部44は、端末装置16の周囲の環境の音を収音してもよい。音声出力部46は、通話音声を出力する。さらに音声出力部は、通信モードに応じて、着信音を出力する。Theaudio input unit 44 picks up the voice of the user 18 of theterminal device 16 to make a voice call. Theaudio input unit 44 may also pick up sounds from the environment around theterminal device 16. Theaudio output unit 46 outputs the voice of the call. Furthermore, the audio output unit outputs a ringtone depending on the communication mode.
  記憶部40内の設定テーブル60には、端末装置16についての各種設定情報が記録される。例えば、RBT利用設定に関する情報(RBT設定情報)が設定テーブル60に記録される。具体的には、RBT利用設定にて、「利用しない」、「常時利用」、「発信時選択」のどれが使用者18に選択されているかを示す情報、例えば、0、1、2の値が記録される。In the setting table 60 in thestorage unit 40, various setting information for theterminal device 16 is recorded. For example, information on RBT usage settings (RBT setting information) is recorded in the setting table 60. Specifically, information indicating which of the RBT usage settings, "Do not use," "Always use," or "Select when calling," has been selected by the user 18 is recorded, for example, a value of 0, 1, or 2.
  端末装置16により外部機器20の操作がなされた場合、制御部38は計時部32から現時刻(現在日時)を取得する。制御部38は、計時部32から取得した現時刻と外部機器20の操作履歴をパケット化し、通信部34を通じて管理装置12へ送信する。本実施例では上記パケットを操作履歴パケットと呼ぶ。When theexternal device 20 is operated by theterminal device 16, thecontrol unit 38 obtains the current time (current date and time) from theclock unit 32. Thecontrol unit 38 packetizes the current time obtained from theclock unit 32 and the operation history of theexternal device 20, and transmits the packet to themanagement device 12 via thecommunication unit 34. In this embodiment, the above packet is called an operation history packet.
  図7は、端末装置16から送信される操作履歴パケットのデータ構造を示す。端末IDには、端末装置16を識別する識別子(ID)が記載される。なお、操作履歴パケットに、端末装置16の名称や端末装置16を使用するユーザの情報を記載してもよい。操作日時は、外部機器20を操作した日付と時刻を含み、それぞれ計時部32から取得した日付(年月日)と現時刻が記載される。機器種別には操作を行った外部機器20の種別(エアコン、テレビ、照明等)が記載される。なお、本実施例では、機器種別に外部機器20を所定のカテゴリに分類した場合のカテゴリの名称を記録するものとするが、これに限らず、外部機器20の識別子(外部機器ID)を記録してもよい。例えば、建物内に複数のエアコンが存在する場合、個々のエアコンを識別する識別子を機種種別に記録してもよい。また、機器種別に外部機器20のメーカー名、型番、シリアル番号等を記録してもよい。操作種別(操作情報)には外部機器20に対して行った操作の種別、具体的には外部機器20の電源を入れた場合は「ON」、電源を切った場合は「OFF」が記載される。なお、操作日時の記載例である「2018/6/1  10:19:14」の表記は「2018年6月1日  10時19分14秒」であることを表す。なお、電源の「ON」、「OFF」に限らず、その他の操作内容を操作種別に記録してもよい。例えば、エアコンの温度設定、風量設定、タイマー設定などの情報を操作種別(操作情報)に記録してもよい。7 shows the data structure of the operation history packet transmitted from theterminal device 16. The terminal ID contains an identifier (ID) for identifying theterminal device 16. The operation history packet may contain the name of theterminal device 16 and information on the user who uses theterminal device 16. The operation date and time includes the date and time when theexternal device 20 was operated, and the date (year, month, day) and the current time obtained from theclock unit 32 are respectively described. The device type contains the type of theexternal device 20 that was operated (air conditioner, television, lighting, etc.). In this embodiment, the device type records the name of the category when theexternal device 20 is classified into a predetermined category, but this is not limited to this, and the identifier of the external device 20 (external device ID) may also be recorded. For example, if there are multiple air conditioners in a building, an identifier for identifying each air conditioner may be recorded in the model type. The manufacturer name, model number, serial number, etc. of theexternal device 20 may also be recorded in the device type. The operation type (operation information) describes the type of operation performed on theexternal device 20; specifically, if theexternal device 20 is turned on, it is described as "ON", and if theexternal device 20 is turned off, it is described as "OFF". Note that the description of the operation date and time, "2018/6/1 10:19:14", represents "June 1, 2018, 10:19:14". Note that other operation contents may be recorded in the operation type, not limited to "ON" and "OFF" of the power. For example, information such as the temperature setting, air volume setting, and timer setting of the air conditioner may be recorded in the operation type (operation information).
  図8は、管理装置12のハードウエア構成および機能ブロックを示す。管理装置12は、クロック発振器400、CPU410、通信IF430、記憶部340を含む。クロック発振器400、CPU410、通信IF430、記憶部340は、バス450によって接続される。Figure 8 shows the hardware configuration and functional blocks of themanagement device 12. Themanagement device 12 includes aclock oscillator 400, aCPU 410, a communication IF 430, and amemory unit 340. Theclock oscillator 400, theCPU 410, the communication IF 430, and thememory unit 340 are connected by abus 450.
  クロック発振器400は、例えば、水晶発振器であり、一定の周波数の信号を生成する。CPU410は、管理装置12における処理を実行する。通信IF430は、ネットワーク10と接続され、基地局装置14と通信する。さらに、通信IF430は、基地局装置14経由で端末装置16と通信する。記憶部340は、情報を記憶する媒体であり、例えば、ハードディスク、SSDである。クロック発振器400は計時部332を含み、CPU410は制御部338を含み、通信IF430は通信部334を含む。記憶部340は、履歴テーブル362を含む。Theclock oscillator 400 is, for example, a crystal oscillator, and generates a signal of a constant frequency. TheCPU 410 executes processing in themanagement device 12. The communication IF 430 is connected to thenetwork 10 and communicates with the base station device 14. The communication IF 430 further communicates with theterminal device 16 via the base station device 14. Thememory unit 340 is a medium for storing information, for example, a hard disk or SSD. Theclock oscillator 400 includes atimer unit 332, theCPU 410 includes acontrol unit 338, and the communication IF 430 includes acommunication unit 334. Thememory unit 340 includes a history table 362.
  図9は、管理装置12の詳細な機能ブロックを示す。管理装置12は、計時部332、通信部334、制御部338、記憶部340を含む。記憶部340は、履歴テーブル362を含む。通信部334は、各端末装置16から所定の周期で送信される操作履歴パケットを受信する。通信部334は、受信した操作履歴パケットを制御部338に出力する。Figure 9 shows detailed functional blocks of themanagement device 12. Themanagement device 12 includes atimer unit 332, acommunication unit 334, acontrol unit 338, and amemory unit 340. Thememory unit 340 includes a history table 362. Thecommunication unit 334 receives operation history packets transmitted from eachterminal device 16 at a predetermined interval. Thecommunication unit 334 outputs the received operation history packets to thecontrol unit 338.
  記憶部340には、履歴テーブル362が配置される。履歴テーブル362には、各端末装置16から送信される操作履歴パケットの内容が記録される。図10は、管理装置12の履歴テーブルのデータ構造を示す。履歴テーブル362の各パラメータは、図7の操作履歴パケットの構成例で説明した内容と同じである。各端末装置16のIDは、第1端末装置16aのIDがT1、第2端末装置16bのIDがT2、第3端末装置16cのIDがT3、第4端末装置16dのIDがT4、第5端末装置16eのIDがT5、第6端末装置16fのIDがT6である。A history table 362 is arranged in thememory unit 340. The contents of the operation history packet transmitted from eachterminal device 16 are recorded in the history table 362. FIG. 10 shows the data structure of the history table of themanagement device 12. Each parameter of the history table 362 is the same as the contents explained in the configuration example of the operation history packet in FIG. 7. The IDs of theterminal devices 16 are as follows: the ID of the firstterminal device 16a is T1, the ID of the secondterminal device 16b is T2, the ID of the thirdterminal device 16c is T3, the ID of the fourthterminal device 16d is T4, the ID of the fifthterminal device 16e is T5, and the ID of the sixthterminal device 16f is T6.
  制御部338は、各端末装置16から操作履歴パケットを受信した際、履歴テーブル362に新たなレコード(操作履歴)を追加し、操作履歴パケットの内容を記録(追記)する。つまり、履歴テーブル362には、各端末装置16が所定期間に外部機器20を制御した情報(起動および停止に関する情報)が全て記録される。この所定期間は、例えば3日間であるが、もちろんこれに限定されるわけではなく、これより長い期間であっても短い期間であってもよい。なお、本図では履歴テーブル362の一部の履歴を例示している。また、図7の操作履歴パケットにおいて、操作日時を省略し、履歴テーブル362の操作日時に、管理装置12が操作履歴パケットを受信した日時を記録してもよい。When thecontrol unit 338 receives an operation history packet from eachterminal device 16, it adds a new record (operation history) to the history table 362 and records (appends) the contents of the operation history packet. In other words, the history table 362 records all information (start-up and stop-down information) about the control of theexternal device 20 by eachterminal device 16 during a specified period. This specified period is, for example, three days, but is of course not limited to this and may be longer or shorter than this. Note that this figure illustrates an example of a portion of the history in the history table 362. Also, in the operation history packet in FIG. 7, the operation date and time may be omitted, and the date and time when themanagement device 12 received the operation history packet may be recorded as the operation date and time in the history table 362.
  次に、本実施例の端末装置16の処理の詳細を説明する。入力部30から通話ボタンの押下を検出した際、制御部38は発信方法を取得する。図11は、端末装置16による発信方法取得処理の詳細手順を示すフローチャートである。S100において、制御部38は設定テーブル60からRBT利用設定を取得する。設定テーブル60には、使用者18によって選択されたRBT利用に関するデータ(「利用しない」、「常時利用」、「発信時選択」のいずれかを示すデータ)が記録されているので、そのデータを取得する。その後S110に進む。S110において、RBT利用設定が「利用しない」となっていた場合(S110:Yes)は、S150に進む。RBT利用設定が「利用しない」以外の場合(S110:No)は、S120に進む。S120において、RBT利用設定が「常時利用」となっていた場合(S120:Yes)は、S140に進む。RBT利用設定が「常時利用」以外の場合(S120:No)は、S130に進む。S130に進む場合は、「発信時選択」が選択されている場合である。Next, the details of the processing of theterminal device 16 of this embodiment will be described. When the press of the talk button is detected from theinput unit 30, thecontrol unit 38 acquires the calling method. FIG. 11 is a flowchart showing the detailed procedure of the calling method acquisition processing by theterminal device 16. In S100, thecontrol unit 38 acquires the RBT usage setting from the setting table 60. The setting table 60 records data regarding the RBT usage selected by the user 18 (data indicating either "Do not use", "Always use", or "Select when calling"), so the data is acquired. Then, proceed to S110. In S110, if the RBT usage setting is "Do not use" (S110: Yes), proceed to S150. If the RBT usage setting is other than "Do not use" (S110: No), proceed to S120. In S120, if the RBT usage setting is "Always use" (S120: Yes), proceed to S140. If the RBT usage setting is other than "always on" (S120: No), proceed to S130. Proceeding to S130 means that "select when calling" has been selected.
  S130において、制御部38は図4(b)に示す発信選択画面を表示部36に表示させる。制御部38は、使用者18が選択した「RBT発信」または「通常発信」を示すデータを入力部30を介して取得する。そして制御部38は、発信選択画面で「RBT発信」が選択されたか否かを判定する。発信選択画面で「RBT発信」が選択された場合(S130:Yes)は、S140に進む。発信選択画面で「RBT発信」以外、すなわち本実施例では「通常発信」が選択された場合(S130:No)は、S150に進む。S140において、発信方法を「RBT発信」と判定して処理を終了する。S150において、発信方法を「通常発信」と判定して処理を終了する。発信方法が通常発信と判定された場合、制御部38は発信先端末装置16へ通常発信を行う。発信方法がRBT発信と判定された場合、制御部38は発信先端末装置16へRBT発信を行う。In S130, thecontrol unit 38 displays the call selection screen shown in FIG. 4B on thedisplay unit 36. Thecontrol unit 38 acquires data indicating the "RBT call" or "normal call" selected by the user 18 via theinput unit 30. Thecontrol unit 38 then determines whether or not "RBT call" has been selected on the call selection screen. If "RBT call" has been selected on the call selection screen (S130: Yes), the process proceeds to S140. If a method other than "RBT call", i.e., "normal call" in this embodiment, has been selected on the call selection screen (S130: No), the process proceeds to S150. In S140, the call method is determined to be "RBT call" and the process is terminated. In S150, the call method is determined to be "normal call" and the process is terminated. If the call method is determined to be normal call, thecontrol unit 38 makes a normal call to thedestination terminal device 16. If the call method is determined to be RBT call, thecontrol unit 38 makes an RBT call to thedestination terminal device 16.
  次に、本実施例で端末装置16と管理装置の間で行われる通信プロトコル(SIP通信)についての処理を説明する。図12(a)-(b)は、通信システム100における発信の概要を示すシーケンス図である。図12(a)は、SIP通信において、第1端末装置16aから第2端末装置16bへの通常発信がなされる場合の手順を示す。第1端末装置16aにおいて通常発信が選択された後(S10)、第1端末装置16aは第2端末装置16b宛てにINVITE(自動応答)を送信する(S12)。送信されたINVITE(自動応答)は管理装置12を経由し、第2端末装置16bに送信される(S14)。第2端末装置16bはINVITE(自動応答)を受信した後、第1端末装置16a宛てにステータスコード200  OKを送信する(S16)。送信されたステータスコード200  OKは管理装置12を経由し、第1端末装置16aに送信される(S18)。第1端末装置16aはステータスコード200  OKを受信した後、ACK(Acknowledge)を送信する(S20)。送信されたACKは管理装置12経由で、第2端末装置16bに送信される(S22)。第1端末装置16aはACKを送信した後、RTPを使って通話データの送信を開始する(S24、S26、S28)。なお、第1端末装置16aおよび第2端末装置16bと管理装置12との間の通信は、基地局装置14を経由して行われるが、説明を簡潔にするため、図12(a)においては基地局装置14を省略している。Next, the processing of the communication protocol (SIP communication) performed between theterminal device 16 and the management device in this embodiment will be described. Figures 12(a)-(b) are sequence diagrams showing an overview of outgoing calls in thecommunication system 100. Figure 12(a) shows the procedure when a normal outgoing call is made from the firstterminal device 16a to the secondterminal device 16b in SIP communication. After normal outgoing call is selected in the firstterminal device 16a (S10), the firstterminal device 16a sends an INVITE (automatic response) to the secondterminal device 16b (S12). The sent INVITE (automatic response) is sent to the secondterminal device 16b via the management device 12 (S14). After receiving the INVITE (automatic response), the secondterminal device 16b sends astatus code 200 OK to the firstterminal device 16a (S16). The transmittedstatus code 200 OK is sent to the firstterminal device 16a via the management device 12 (S18). After receiving thestatus code 200 OK, the firstterminal device 16a sends an ACK (Acknowledge) (S20). The transmitted ACK is sent to the secondterminal device 16b via the management device 12 (S22). After sending the ACK, the firstterminal device 16a starts sending call data using RTP (S24, S26, S28). Note that communication between the firstterminal device 16a and themanagement device 12 and the secondterminal device 16b is performed via the base station device 14, but for the sake of simplicity, the base station device 14 is omitted in FIG. 12(a).
  図12(b)は、SIP通信において、第1端末装置16aから第2端末装置16bへのRBT発信がなれる場合の手順を示す。第1端末装置16aでRBT発信が選択された後(S50)、第1端末装置16aは第2端末装置16b宛てにINVITE(手動応答)を送信する(S52)。送信されたINVITE(手動応答)は管理装置12を経由し、第2端末装置16bに送信される(S54)。第2端末装置16bはINVITE(手動応答)を受信した後、第1端末装置16a宛てにステータスコード100  Tryingを送信する(S56)。送信されたステータスコード100  Tryingは管理装置12を経由し、第1端末装置16aに送信される(S58)。第2端末装置16bはステータスコード100  Tryingを送信した後、第1端末装置16a宛てにステータスコード180  Ringingを送信する(S60)。送信されたステータスコード180  Ringingは管理装置12を経由し、第1端末装置16aに送信される(S62)。第1端末装置16aは、通話を開始せずに待機する。Figure 12 (b) shows the procedure when an RBT is sent from the firstterminal device 16a to the secondterminal device 16b in SIP communication. After the RBT is selected in the firstterminal device 16a (S50), the firstterminal device 16a sends an INVITE (manual response) to the secondterminal device 16b (S52). The sent INVITE (manual response) is sent to the secondterminal device 16b via the management device 12 (S54). After receiving the INVITE (manual response), the secondterminal device 16b sends astatus code 100 Trying to the firstterminal device 16a (S56). The sentstatus code 100 Trying is sent to the firstterminal device 16a via the management device 12 (S58). After sending thestatus code 100 Trying, the secondterminal device 16b sends thestatus code 180 Ringing to the firstterminal device 16a (S60). The sentstatus code 180 Ringing is sent to the firstterminal device 16a via the management device 12 (S62). The firstterminal device 16a waits without starting a call.
  その後、第2端末装置16bの通話ボタンが押下された場合(S64)、第2端末装置16bは第1端末装置16a宛てにステータスコード200  OKを送信する(S66)。送信されたステータスコード200  OKは管理装置12を経由し、第1端末装置16aに送信される(S68)。第1端末装置16aはステータスコード200  OKを受信した後、ACKを送信する(S70)。送信されたACKは管理装置12経由で、第2端末装置16bに送信される(S72)。第1端末装置16aはACKを送信した後、RTPを使って通話データの送信を開始する(S74、S76、S78)。つまり、第1端末装置16aは、ステータスコード200  OKを受信してACKを送信した後、通話を開始する。After that, when the talk button of the secondterminal device 16b is pressed (S64), the secondterminal device 16b transmits astatus code 200 OK to the firstterminal device 16a (S66). The transmittedstatus code 200 OK is transmitted to the firstterminal device 16a via the management device 12 (S68). After receiving thestatus code 200 OK, the firstterminal device 16a transmits an ACK (S70). The transmitted ACK is transmitted to the secondterminal device 16b via the management device 12 (S72). After transmitting the ACK, the firstterminal device 16a starts transmitting call data using RTP (S74, S76, S78). In other words, the firstterminal device 16a starts a call after receiving thestatus code 200 OK and transmitting an ACK.
  次に、本実施例の管理装置の処理の詳細を説明する。図12(a)に示すように、発信元の端末装置16で通常発信が選択された場合、管理装置12は通話開始要求として、INVITE(自動応答)を受信する。また図12(b)に示すように、発信元の端末装置16でRBT発信が選択された場合、管理装置12は通話開始要求として、INVITE(手動応答)を受信する。管理装置12の制御部338は、端末装置16から通話開始要求を受信した場合、記憶部340の履歴テーブル362を参照し、端末IDが発信先端末装置16であり、かつ操作日時と現時刻CTの差分Pが所定の期間(例えば2時間)より短い全てのレコードRを取得する。レコードRの操作種別で所定数以上「ON」が存在し、かつ発信元の端末装置16からRBT発信、すなわちINVITE(手動応答)が送信されていた場合は、発信先の端末装置16への送信方法を自動で通常発信、すなわちINVITE(自動応答)へ切り替えて送信する。これは、発信先の端末装置16で外部機器20の操作、すなわち部屋の照明やテレビ、エアコン等を所定の期間内で「ON」に設定した場合、発信先の使用者は現在屋内に存在し、かつ端末装置16とともにその場に留まっている可能性が極めて高く、直ちに通話を開始しても問題がないという知見に基づく処理である。すなわち、外部機器20を「ON」にしたことを示す操作履歴の数は、端末装置16のユーザが通信(着信)を認識する容易さを示す数値であるため、「通信容易性指標」であるともいえる。なお、上記の所定数(通信容易性指標を判定するしきい値)は、例えば「1」とすればよいが、もちろんこれに限定されるものではなく、「2」以上の値であってもよい。Next, the details of the processing of the management device of this embodiment will be described. As shown in FIG. 12(a), when normal calling is selected on theterminal device 16 of the originator, themanagement device 12 receives INVITE (automatic response) as a call start request. Also, as shown in FIG. 12(b), when RBT calling is selected on theterminal device 16 of the originator, themanagement device 12 receives INVITE (manual response) as a call start request. When thecontrol unit 338 of themanagement device 12 receives a call start request from theterminal device 16, it refers to the history table 362 of thestorage unit 340 and acquires all records R whose terminal ID is thedestination terminal device 16 and whose difference P between the operation date and time and the current time CT is shorter than a predetermined period (for example, 2 hours). If there are a predetermined number or more "ON" in the operation type of the record R and the RBT calling, i.e., INVITE (manual response), has been sent from theterminal device 16 of the originator, the transmission method to thedestination terminal device 16 is automatically switched to normal calling, i.e., INVITE (automatic response), and transmitted. This process is based on the knowledge that if thedestination terminal device 16 operates theexternal device 20, i.e., turns on the room lights, television, air conditioner, etc., within a specified period of time, the destination user is highly likely to be indoors and remain there with theterminal device 16, and there is no problem in starting a call immediately. In other words, the number of operation histories indicating that theexternal device 20 has been turned "ON" is a numerical value indicating the ease with which the user of theterminal device 16 will recognize a communication (incoming call), and therefore can be said to be a "communication ease index." The above-mentioned specified number (threshold value for determining the communication ease index) may be, for example, "1," but is of course not limited to this and may be a value of "2" or more.
  一方、端末装置16から通話開始要求を受信した際、レコードRの操作種別で所定数以上の「ON」が存在せず(レコードRが存在しない場合も含む)、かつ発信元の端末装置16から通常発信、すなわちINVITE(自動応答)が送信されていた場合は、発信先の端末装置16への送信方法を自動でRBT発信、すなわちINVITE(手動応答)へ切り替えて送信する。INVITE(手動応答)およびINVITE(自動応答)は、着信対象となる端末装置16において、着信音を出力するか否かを制御する(着信報知形態を制御する)制御情報(制御信号)であるといえる。また、管理装置12は、通信容易性指標(操作種別が「ON」である操作履歴の個数)に応じて、INVITE(手動応答)またはINVITE(自動応答)を選択し、端末装置16に送信する。このため管理装置12は、通信容易性指標に対応する着信音(着信報知形態)を示す制御情報(制御信号)を出力するといえる。On the other hand, when a call start request is received from theterminal device 16, if there are no more than a predetermined number of "ON" operation types in the record R (including the case where the record R does not exist) and the call originatingterminal device 16 has sent a normal call, i.e., an INVITE (automatic response), the method of sending to thedestination terminal device 16 is automatically switched to an RBT call, i.e., an INVITE (manual response) and sent. INVITE (manual response) and INVITE (automatic response) can be said to be control information (control signal) that controls whether or not to output a ringtone (controls the incoming call notification form) in theterminal device 16 that is the target of the call. In addition, themanagement device 12 selects INVITE (manual response) or INVITE (automatic response) according to the communication ease index (the number of operation histories with the operation type "ON") and sends it to theterminal device 16. Therefore, it can be said that themanagement device 12 outputs control information (control signal) that indicates the ringtone (incoming call notification form) that corresponds to the communication ease index.
  なお、本実施例の説明において特に断らない限り、上記の差分Pの所定の期間は例として2時間であるとするが、もちろんこの値に限定される訳ではない。これは、発信先の端末装置16で期間内に外部機器20を操作していない、または外部機器20を「ON」にする操作をしていない場合、発信先の使用者は現在屋内に存在しない可能性が高く、直ちに通話を開始すると発信相手が通話内容を聞き逃す可能性が高いという知見に基づく処理である。また、上記のINVITE(手動応答)からINVITE(自動応答)へ変更するか否か、およびINVITE(自動応答)からINVITE(手動応答)へ変更するか否かを判定する処理は、以後「応答変更判定処理」あるいは「通信モード変更判定処理」と呼称する。Unless otherwise specified in the description of this embodiment, the predetermined period of the difference P is, for example, two hours, but is of course not limited to this value. This is processing based on the knowledge that if theexternal device 20 is not operated or theexternal device 20 is not turned "ON" within the period on thedestination terminal device 16, the user of the destination is likely not currently indoors, and if a call is started immediately, the caller is likely to miss the contents of the call. In addition, the processing for determining whether to change from INVITE (manual response) to INVITE (automatic response) and whether to change from INVITE (automatic response) to INVITE (manual response) will be referred to hereinafter as the "response change determination processing" or the "communication mode change determination processing".
  図10の例では、発信先端末装置16が第1端末装置16a(T1)であり、現時刻CTが「10:30:00」の場合、操作日時と現時刻CTの差分Pが所定の期間(例えば2時間)より短いレコードRは、操作日時の時刻が「10:25:24」、「10:19:59」、「10:19:32」のレコードであり、そのうち「10:19:59」、「10:19:32」の2つのレコードの操作種別が「ON」となっている。ここで所定数を「1」とすると、「ON」のレコード数は所定数以上である。このため、第1端末装置16aへ発信する場合において、送信側の端末装置16からRBT発信が行われた場合、管理装置12でINVITE(手動応答)を受信した後に、応答変更判定処理によりINVITE(自動応答)へ自動で変更して送信する。INVITE(自動応答)へ自動的に切り替えることにより、INVITE(手動応答)と比べてより迅速に通話を開始することが可能となる。In the example of FIG. 10, when thedestination terminal device 16 is the firstterminal device 16a (T1) and the current time CT is "10:30:00", the records R in which the difference P between the operation date and time and the current time CT is shorter than a predetermined period (e.g., 2 hours) are the records with the operation date and time of "10:25:24", "10:19:59", and "10:19:32", of which the operation type of the two records "10:19:59" and "10:19:32" is "ON". If the predetermined number is "1", the number of "ON" records is equal to or greater than the predetermined number. Therefore, when making a call to the firstterminal device 16a, if an RBT call is made from the sendingterminal device 16, after themanagement device 12 receives an INVITE (manual response), it is automatically changed to an INVITE (automatic response) by the response change determination process and sent. By automatically switching to INVITE (auto-answer), you can start a call more quickly than if you used INVITE (manual answer).
  なお、以下の方法を用いてもよい。制御部338は記憶部340の履歴テーブル362を参照し、端末IDが発信先端末装置16であるレコードの中で操作日時が最新のレコードを抽出する。次に、そのレコードの操作種別が「ON」であり、かつ、操作日時と現在時刻との時間差が所定時間(例えば、1時間)未満であるか否かを判定する。この条件に合致する場合、発信先の使用者は現在屋内に存在し、かつ端末装置16とともにその場に留まっている可能性が高いとみなし、制御部338は発信先端末装置16へINVITE(自動応答)、すなわち通常発信を行う。一方、操作日時と現在時刻との時間差が所定時間以上である場合、制御部338は発信先端末装置16へINVITE(手動応答)、すなわちRBT発信を行う。The following method may also be used. Thecontrol unit 338 refers to the history table 362 in thestorage unit 340, and extracts the record with the most recent operation date and time from among the records whose terminal ID is thedestination terminal device 16. Next, it is determined whether the operation type of that record is "ON" and whether the time difference between the operation date and time and the current time is less than a predetermined time (e.g., one hour). If this condition is met, it is deemed that the user of the destination is currently indoors and is likely to be staying there with theterminal device 16, and thecontrol unit 338 issues an INVITE (automatic response) to thedestination terminal device 16, i.e., a normal call. On the other hand, if the time difference between the operation date and time and the current time is equal to or greater than the predetermined time, thecontrol unit 338 issues an INVITE (manual response) to thedestination terminal device 16, i.e., an RBT call.
  また、機器種別毎に最新(直近)の操作履歴を取得し、「ON」である操作種別の数をもとに、通信モードを選択してもよい。具体的には、制御部338は、直近の所定期間における操作種別が「ON」である外部機器20の数が所定数以上である場合に、通常発信を選択し、その数が所定数未満である場合に、RBT発信を選択する。例えば、「テレビ」、「照明」、「エアコン」の3つの外部機器20の操作履歴が記録されており、「テレビ」の最新の操作種別は「ON」、照明の最新の操作種別が「ON」、エアコンの最新の操作種別が「OFF」だとする。この場合、所定数を「2」とすると、「ON」の外部機器20の数が所定数以上であるという条件に合致するため、INVITE(自動応答)、すなわち通常発信が選択される。また例えば、3つの操作種別が全て「OFF」の場合には、「ON」の外部機器20の数が所定数未満となるため、INVITE(手動応答)、すなわちRBT発信が選択される。In addition, the latest (most recent) operation history may be acquired for each device type, and the communication mode may be selected based on the number of operation types that are "ON". Specifically, thecontrol unit 338 selects normal transmission when the number ofexternal devices 20 whose operation type is "ON" in the most recent predetermined period is equal to or greater than a predetermined number, and selects RBT transmission when the number is less than the predetermined number. For example, the operation history of threeexternal devices 20, "television", "lighting" and "air conditioner", is recorded, and the latest operation type of "television" is "ON", the latest operation type of lighting is "ON", and the latest operation type of air conditioner is "OFF". In this case, if the predetermined number is "2", the condition that the number ofexternal devices 20 that are "ON" is equal to or greater than the predetermined number is met, so INVITE (automatic response), i.e., normal transmission, is selected. Also, for example, if all three operation types are "OFF", the number ofexternal devices 20 that are "ON" is less than the predetermined number, so INVITE (manual response), i.e., RBT transmission, is selected.
  図13は、管理装置12による応答変更判定処理の手順を示すフローチャートである。S210において、制御部338は計時部332より現時刻CTを取得する。その後S220に進む。S220において、計時部332は記憶部340の履歴テーブル362から、端末IDが発信先端末装置16であり、かつ操作日時と現時刻CTの差分Pが所定の期間(例えば2時間)より短い全てのレコードRを取得する。レコードRが存在しない場合、その旨を示すNULLが取得される。その後S230に進む。S230において、制御部338はレコードRが存在するか否かを判定する。レコードRが存在する場合(S230:Yes)は、S240に進む。レコードRが存在しない場合(S230:No)は、S260に進む。Figure 13 is a flowchart showing the procedure of the response change determination process by themanagement device 12. In S210, thecontrol unit 338 obtains the current time CT from theclock unit 332. Then, the process proceeds to S220. In S220, theclock unit 332 obtains all records R from the history table 362 of thestorage unit 340, in which the terminal ID is thedestination terminal device 16 and the difference P between the operation date and time and the current time CT is shorter than a predetermined period (e.g., 2 hours). If the record R does not exist, NULL is obtained to indicate this. Then, the process proceeds to S230. In S230, thecontrol unit 338 determines whether or not the record R exists. If the record R exists (S230: Yes), the process proceeds to S240. If the record R does not exist (S230: No), the process proceeds to S260.
  S240において、制御部338はS220で取得した全てのレコードRの操作種別を取得し、レコードRの操作種別で「ON」が所定数以上存在するか否かを判定する。レコードRの操作種別の「ON」が所定数未満だった場合、(S240:No)は、S270に進む。レコードRの操作種別の「ON」が所定数以上存在した場合(S240:Yes)は、S250に進む。S250において、制御部338は端末装置16からの発信方法を判定する。発信方法が「INVITE(手動応答)」、すなわちRBT発信の場合(S250:Yes)は、S260に進む。発信方法が「INVITE(手動応答)」、すなわちRBT発信でない場合(S250:No)は、S290に進む。S260において、制御部338は発信方法をINVITE(自動応答)へ変更と判定し、判定結果を返す。その後処理を終了する。In S240, thecontrol unit 338 acquires the operation types of all records R acquired in S220, and determines whether or not there are a predetermined number or more of "ON" in the operation types of record R. If the number of "ON" in the operation type of record R is less than the predetermined number (S240: No), proceed to S270. If the number of "ON" in the operation type of record R is more than the predetermined number (S240: Yes), proceed to S250. In S250, thecontrol unit 338 determines the calling method from theterminal device 16. If the calling method is "INVITE (manual response)", i.e., RBT calling (S250: Yes), proceed to S260. If the calling method is "INVITE (manual response)", i.e., not RBT calling (S250: No), proceed to S290. In S260, thecontrol unit 338 determines that the calling method should be changed to INVITE (automatic response) and returns the determination result. Processing then ends.
  S270において、制御部338は端末装置16からの発信方法を判定する。発信方法が「INVITE(自動応答)」、すなわち通常発信の場合(S270:Yes)は、S280に進む。発信方法が「INVITE(自動応答)」、すなわち通常発信でない場合(S270:No)は、S290に進む。S280において、制御部338は発信方法をINVITE(手動応答)へ変更と判定し、判定結果を返す。その後処理を終了する。S290において、制御部338は変更なしと判定し、判定結果を返す。その後処理を終了する。In S270, thecontrol unit 338 determines the calling method from theterminal device 16. If the calling method is "INVITE (automatic response)", i.e., normal calling (S270: Yes), the process proceeds to S280. If the calling method is "INVITE (automatic response)", i.e., not normal calling (S270: No), the process proceeds to S290. In S280, thecontrol unit 338 determines that the calling method has been changed to INVITE (manual response) and returns the determination result. Then, the process ends. In S290, thecontrol unit 338 determines that there has been no change and returns the determination result. Then, the process ends.
  図14は、応答変更判定処理によりINVITE(自動応答)に変更される場合の手順を示すシーケンス図である。これは第1端末装置16aから第2端末装置16bへRBT発信を行った際に、応答変更判定処理によりINVITE(自動応答)へ変更と判定された場合のSIPシーケンス図の例となる。つまり、S260が実行された場合のSIPシーケンスの例である。第1端末装置16aはRBT発信、すなわちINVITE(手動応答)を送信する(S998、S1000)。管理装置12は、INVITE(手動応答)を受信した後、応答変更判定処理の実行結果からINVITE(自動応答)へ変更する(S1002)。管理装置12はINVITE(自動応答)を送信する(S1004)。Figure 14 is a sequence diagram showing the procedure when the response change determination process changes the response to INVITE (automatic response). This is an example of a SIP sequence diagram when the response change determination process determines that the response should be changed to INVITE (automatic response) when an RBT is sent from the firstterminal device 16a to the secondterminal device 16b. In other words, this is an example of a SIP sequence when S260 is executed. The firstterminal device 16a sends an RBT, i.e., an INVITE (manual response) (S998, S1000). After receiving the INVITE (manual response), themanagement device 12 changes the response to INVITE (automatic response) based on the result of the response change determination process (S1002). Themanagement device 12 sends an INVITE (automatic response) (S1004).
  第2端末装置16bはINVITE(自動応答)を受信した後、第1端末装置16a宛てにステータスコード200  OKを送信する(S1006)。送信されたステータスコード200  OKは管理装置12を経由し、第1端末装置16aに送信される(S1008)。第1端末装置16aはステータスコード200  OKを受信した後、ACK(Acknowledge)を送信する(S1010)。送信されたACKは管理装置12経由で、第2端末装置16bに送信される(S1012)。第1端末装置16aはACKを送信した後、RTPを使って通話データの送信を開始する(S1014、S1016、S1018)。After receiving the INVITE (automatic response), the secondterminal device 16b transmits astatus code 200 OK to the firstterminal device 16a (S1006). The transmittedstatus code 200 OK is sent to the firstterminal device 16a via the management device 12 (S1008). After receiving thestatus code 200 OK, the firstterminal device 16a transmits an ACK (Acknowledge) (S1010). The transmitted ACK is transmitted to the secondterminal device 16b via the management device 12 (S1012). After transmitting the ACK, the firstterminal device 16a starts transmitting call data using RTP (S1014, S1016, S1018).
  図15は、応答変更判定処理によりINVITE(手動応答)に変更される場合の手順を示すシーケンス図である。これは第1端末装置16aから第2端末装置16bへ通常発信を行った際に、応答変更判定処理によりINVITE(手動応答)へ変更と判定された場合のSIPシーケンス図の例となる。つまりS280が実行された場合のSIPシーケンスの例である。第1端末装置16aは自動発信、すなわちINVITE(自動応答)を送信する(S1050、S1052)。管理装置12は、INVITE(自動応答)を受信した後、応答変更判定処理の実行結果からINVITE(手動応答)へ変更する(S1054)。管理装置12は、INVITE(手動応答)を送信する(S1056)。Figure 15 is a sequence diagram showing the procedure when the response change determination process changes the response to an INVITE (manual response). This is an example of a SIP sequence diagram when a normal call is made from the firstterminal device 16a to the secondterminal device 16b, and the response change determination process determines that the call should be changed to an INVITE (manual response). In other words, this is an example of a SIP sequence when S280 is executed. The firstterminal device 16a makes an automatic call, i.e., sends an INVITE (automatic response) (S1050, S1052). After receiving the INVITE (automatic response), themanagement device 12 changes the response to an INVITE (manual response) based on the result of the response change determination process (S1054). Themanagement device 12 sends an INVITE (manual response) (S1056).
  第2端末装置16bはINVITE(手動応答)を受信した後、第1端末装置16a宛てにステータスコード100  Tryingを送信する(S1058)。送信されたステータスコード100  Tryingは管理装置12を経由し、第1端末装置16aに送信される(S1060)。第2端末装置16bはステータスコード100  Tryingを送信した後、第1端末装置16a宛てにステータスコード180  Ringingを送信する(S1062)。送信されたステータスコード180  Ringingは管理装置12を経由し、第1端末装置16aに送信される(S1064)。第1端末装置16aは、通話を開始せずに待機する。After receiving the INVITE (manual response), the secondterminal device 16b transmits astatus code 100 Trying to the firstterminal device 16a (S1058). The transmittedstatus code 100 Trying is sent to the firstterminal device 16a via the management device 12 (S1060). After transmitting thestatus code 100 Trying, the secondterminal device 16b transmits astatus code 180 Ringing to the firstterminal device 16a (S1062). The transmittedstatus code 180 Ringing is sent to the firstterminal device 16a via the management device 12 (S1064). The firstterminal device 16a waits without starting a call.
  その後、第2端末装置16bの通話ボタンが押下された場合(S1066)、第2端末装置16bは第1端末装置16a宛てにステータスコード200  OKを送信する(S1068)。送信されたステータスコード200  OKは管理装置12を経由し、第1端末装置16aに送信される(S1070)。第1端末装置16aはステータスコード200  OKを受信した後、ACKを送信する(S1072)。送信されたACKは管理装置12経由で、第2端末装置16bに送信される(S1074)。第1端末装置16aはACKを送信した後、RTPを使って通話データの送信を開始する(S1076、S1078、S1080)。After that, when the talk button of the secondterminal device 16b is pressed (S1066), the secondterminal device 16b transmits astatus code 200 OK to the firstterminal device 16a (S1068). The transmittedstatus code 200 OK is sent via themanagement device 12 to the firstterminal device 16a (S1070). After receiving thestatus code 200 OK, the firstterminal device 16a transmits an ACK (S1072). The transmitted ACK is sent via themanagement device 12 to the secondterminal device 16b (S1074). After transmitting the ACK, the firstterminal device 16a starts transmitting call data using RTP (S1076, S1078, S1080).
  なお、図13に示す応答変更判定処理の一部の処理を省略してもよい。例えば、S240:Noの場合、S270およびS280を実行せずに、S290に遷移してもよい。あるいは、S240:Yesの場合、S250およびS260を実行せずに、S290に遷移してもよい。すなわち管理装置12は、外部機器20に関する操作履歴をもとに、発信元の端末装置16が指定したRBT発信を通常発信に変更する処理、および発信元の端末装置16が指定した通常発信をRBT発信に変更する処理の少なくとも一方の処理を実行すればよい。Note that some of the processes in the response change determination process shown in FIG. 13 may be omitted. For example, if S240: No, the process may transition to S290 without executing S270 and S280. Alternatively, if S240: Yes, the process may transition to S290 without executing S250 and S260. In other words, themanagement device 12 may execute at least one of the following processes based on the operation history related to the external device 20: a process of changing the RBT call specified by theterminal device 16 that is the origin of the call to a normal call, and a process of changing the normal call specified by theterminal device 16 that is the origin of the call to an RBT call.
  本実施例によれば、発信先端末装置16における操作状況に応じて発信元の端末装置16の発信方式を切りかえるので、適切に通信モードを使用することができる。また、発信先端末装置16における操作状況に応じて発信方式を切りかえるので、複数種類の通信モードを適切に選択できる。また、適切に発信方式が切りかえられるので、発信側端末装置16の使用者が発話した情報が発信先端末装置16の使用者に認識されない事態の発生を低減しつつ、発信先端末装置16の使用者に対してより迅速に情報を伝えることができる。また、通信モードごとに、着信側の端末装置において出力される着信音、すなわち着信を報知する形態が異なるため、着信対象(着信側の端末装置やユーザ)の状況に応じて、着信を報知する形態を適切に選択(変更)できる。また、端末装置16の設定がRBT発信になっていても、発信先端末装置16における操作状況から発信方法を自動で通常発信に切りかえるので、発信先端末装置16の受信操作を省き、より迅速に通話を開始できる。また、端末装置16の設定が通常発信になっていても、発信先端末装置16における操作状況の履歴から発信方法を自動でRBT発信に切りかえるので、発信先端末装置16で通話を聞き逃す可能性を低減できる。つまり、発信先端末装置16における操作状況に応じて、発信元の端末装置16における通信モードを選択し、第1通信モード(RBT発信)のもつ確実性と、第2通信モード(通常発信)のもつ即時性とを両立させている。すなわち、複数種類の通信モードを適切に使用することができる。According to this embodiment, the calling method of theterminal device 16 of the calling party is switched according to the operation status of thedestination terminal device 16, so that the communication mode can be used appropriately. Also, since the calling method is switched according to the operation status of thedestination terminal device 16, a plurality of communication modes can be appropriately selected. Also, since the calling method can be appropriately switched, it is possible to more quickly convey information to the user of thedestination terminal device 16 while reducing the occurrence of a situation in which the information spoken by the user of the callingterminal device 16 is not recognized by the user of thedestination terminal device 16. Also, since the ringtone outputted by the receiving terminal device, that is, the form of notifying the incoming call, differs for each communication mode, the form of notifying the incoming call can be appropriately selected (changed) according to the status of the receiving party (the receiving terminal device or the user). Also, even if the setting of theterminal device 16 is RBT calling, the calling method is automatically switched to normal calling based on the operation status of thedestination terminal device 16, so that the receiving operation of thedestination terminal device 16 is omitted and the call can be started more quickly. Furthermore, even if theterminal device 16 is set to normal calling, the calling method is automatically switched to RBT calling based on the operation status history of thedestination terminal device 16, reducing the possibility of missing a call at thedestination terminal device 16. In other words, the communication mode of the originatingterminal device 16 is selected according to the operation status of thedestination terminal device 16, achieving both the reliability of the first communication mode (RBT calling) and the immediacy of the second communication mode (normal calling). In other words, multiple types of communication modes can be used appropriately.
  また、発信先端末装置16が外部機器20の起動および停止を制御したことを示す履歴情報をもとに通信モード変更判定処理を行うので、使用者の状態を高精度に推定することが可能となり、適切な通信モードを選択し、着信を報知する形態を適切に選択できる。また、発信先端末装置16が所定期間内において外部機器20を起動した履歴情報が存在する場合に通常発信を選択するので、発信側端末装置16の使用者が発話した情報が発信先端末装置16の使用者に認識されない事態の発生を低減できる。また、複数の外部機器20が起動された回数が所定数以上である場合に通常発信を選択するので、発信側端末装置16の使用者が発話した情報が発信先端末装置16の使用者に認識されない事態の発生を低減できる。In addition, since the communication mode change determination process is performed based on history information indicating that thedestination terminal device 16 has controlled the start and stop of theexternal device 20, it is possible to estimate the user's state with high accuracy, select an appropriate communication mode, and appropriately select the form of notifying the incoming call. Furthermore, since normal calling is selected when history information exists indicating that thedestination terminal device 16 has started up theexternal device 20 within a specified period, it is possible to reduce the occurrence of a situation in which the information spoken by the user of thedestination terminal device 16 is not recognized by the user of the originatingterminal device 16. Furthermore, since normal calling is selected when the number of times multipleexternal devices 20 have been started is equal to or greater than a specified number, it is possible to reduce the occurrence of a situation in which the information spoken by the user of the originatingterminal device 16 is not recognized by the user of thedestination terminal device 16.
(実施例2)
  次に、実施例2を説明する。実施例2では、発信先端末装置16が操作した機器種別による重み付けを行うことによって、発信方式の切替がなされる。なお、本実施例の端末装置16のブロック図、管理装置12のブロック図、および履歴テーブル362の構成は実施例1と同じである。Example 2
 Next, a second embodiment will be described. In the second embodiment, the calling method is switched by weighting according to the device type operated by thedestination terminal device 16. The block diagram of theterminal device 16, the block diagram of themanagement device 12, and the configuration of the history table 362 of the second embodiment are the same as those of the first embodiment.
  管理装置12は履歴テーブル362の機器種別、操作種別から発信先の使用者が室内に存在している可能性を示す値である、在室指標Zの計算を行う。在室指標Zは操作種別が「ON」の機器の在室係数により決定される。在室指標Zは、発信先端末装置16の使用者18が通信を認識する程度を示す通信容易性指標の1つである。つまり、在室指標Zが大きいほど、発信先端末装置16の使用者18が、通信の存在を認識したり、通信内容を把握したりすることが容易な状況であるため、通信容易性が高いといえる。Themanagement device 12 calculates the presence index Z, which is a value indicating the possibility that the destination user is present in the room, from the device type and operation type in the history table 362. The presence index Z is determined by the presence coefficient of the device whose operation type is "ON". The presence index Z is one of the communication ease indexes that indicates the degree to which the user 18 of thedestination terminal device 16 is aware of the communication. In other words, the larger the presence index Z, the easier it is for the user 18 of thedestination terminal device 16 to recognize the existence of the communication and understand the content of the communication, and therefore the higher the communication ease can be said to be.
  図16は、在室係数テーブルのデータ構造を示す。在室係数は機器種別毎に個別に設定され、その機器が使用されている場合は使用者が室内に存在している可能性が高いことが予想される機器ほど、在室係数が高く設定される。本テーブルは管理装置12の記憶部340に記憶される。また、管理装置12は、全ての端末装置16に対して同一の在室係数テーブルを使用してもよいし、端末装置16毎に個別に記憶された在室係数テーブルを使用してもよい。また、端末装置16は使用者18に在室係数を入力(指定)させるためのユーザインターフェースを用意し、各端末装置16から管理装置12に対して、各使用者18が入力した在室係数を送信してもよい。管理装置12は、各端末装置16から受信した在室係数を端末IDに対応付けて記憶部340に記憶すればよい。Figure 16 shows the data structure of the occupancy coefficient table. The occupancy coefficient is set individually for each type of equipment, and the occupancy coefficient is set higher for equipment that is expected to be more likely to have a user present in the room when the equipment is in use. This table is stored in thestorage unit 340 of themanagement device 12. Themanagement device 12 may use the same occupancy coefficient table for allterminal devices 16, or may use an occupancy coefficient table stored individually for eachterminal device 16. Theterminal device 16 may provide a user interface for allowing the user 18 to input (specify) the occupancy coefficient, and eachterminal device 16 may transmit the occupancy coefficient input by each user 18 to themanagement device 12. Themanagement device 12 may store the occupancy coefficient received from eachterminal device 16 in thestorage unit 340 in association with the terminal ID.
  図17は、管理装置12による応答変更判定処理の手順を示すフローチャートである。S210からS220までは、図13のフローチャートと同じである。S220に続く、S225において、管理装置12の制御部338は、操作種別が「ON」であるレコードを取得して、機器種別毎の在室係数の合計値を在室指標Zとして計算する。図10の例では、発信先端末装置16が第1端末装置16a(T1)であり、現時刻CTが「10:30:00」の場合、操作日時と現時刻CTの差分Pが所定の期間(例えば2時間)より短いレコードRは、操作日時の時刻が「10:25:24」、「10:19:59」、「10:19:32」のレコードであり、そのうち「10:19:59」、「10:19:32」の2つのレコードの操作種別が「ON」となっている。「10:19:59」の機器種別は「テレビ」であり、「10:19:32」の機種種別は「照明」となるため、図16のテーブルを参照すると、「テレビ」の重み係数「7」、照明の重み係数「10」が得られる。これらの情報をもとに以下のように在室指標Zを算出する。
  在室指標Z=7(テレビ)+ 10(照明)=17
  S235において、管理装置12の制御部338は、在室指標Zが所定の値(しきい値)より大きいか否かを判定する。しきい値より大きい場合(S235:Yes)は、S250に遷移する。在室指標Zがしきい値以下の場合(S235:No)は、S270に遷移する。例えば、しきい値を「15」とすると、上記の例で算出した在室指標Zの「17」はしきい値より大きいため、S250に遷移する。  FIG. 17 is a flowchart showing the procedure of the response change determination process by themanagement device 12. S210 to S220 are the same as the flowchart in FIG. 13. In S225 following S220, thecontrol unit 338 of themanagement device 12 acquires records in which the operation type is "ON" and calculates the total value of the occupancy coefficients for each device type as the occupancy index Z. In the example of FIG. 10, when thedestination terminal device 16 is the firstterminal device 16a (T1) and the current time CT is "10:30:00", the records R in which the difference P between the operation date and time and the current time CT is shorter than a predetermined period (for example, 2 hours) are the records in which the operation date and time is "10:25:24", "10:19:59", and "10:19:32", and the operation type of the two records "10:19:59" and "10:19:32" is "ON". Since the device type at "10:19:59" is "television" and the model type at "10:19:32" is "lighting", referring to the table in Fig. 16, the weighting factor for "television" is "7" and the weighting factor for lighting is "10". Based on this information, the occupancy index Z is calculated as follows.
 Occupancy index Z = 7 (TV) + 10 (lighting) = 17
 In S235, thecontrol unit 338 of themanagement device 12 determines whether the occupancy index Z is greater than a predetermined value (threshold value). If it is greater than the threshold value (S235: Yes), the process proceeds to S250. If the occupancy index Z is equal to or less than the threshold value (S235: No), the process proceeds to S270. For example, if the threshold value is "15," the occupancy index Z of "17" calculated in the above example is greater than the threshold value, and the process proceeds to S250.
  なお、S225において、最新の履歴(直近の履歴)の操作種別が「ON」である機種種別のデータを用いて、在室指標Zを算出してもよい。発信先端末装置16が第1端末装置16a(T1)である場合、図10の例では、「テレビ」の最新履歴の操作種別が「OFF」であるため、在室指標Zの算出において、「テレビ」の履歴を用いずに、「照明」の履歴のみを用いる。この結果、在室指標Zは、「照明」の重み係数「10」と同じになる。S235における在室指標Zのしきい値を「15」とすると、この場合の在室指標Zは、しきい値以下となるため、S270に遷移する。S250からS290までは、図13のフローチャートと同じである。In addition, in S225, the occupancy index Z may be calculated using data for the model type in which the operation type in the latest history (most recent history) is "ON". In the example of FIG. 10, when thedestination terminal device 16 is the firstterminal device 16a (T1), the operation type in the latest history of "TV" is "OFF", so in calculating the occupancy index Z, the history of "TV" is not used and only the history of "lighting" is used. As a result, the occupancy index Z becomes the same as the weighting coefficient of "lighting", which is "10". If the threshold value of the occupancy index Z in S235 is "15", the occupancy index Z in this case is less than the threshold value, and the process transitions to S270. S250 to S290 are the same as the flowchart in FIG. 13.
  なお、図17に示す答変更判定処理の一部の処理を省略してもよい。例えば、S235:Noの場合、S270およびS280を実行せずに、S290に遷移してもよい。あるいは、S235:Yesの場合、S250およびS260を実行せずに、S290に遷移してもよい。すなわち管理装置12は、外部機器20に関する操作履歴をもとに、発信元の端末装置16が指定したRBT発信を通常発信に変更する処理、および発信元の端末装置16が指定した通常発信をRBT発信に変更する処理の少なくとも一方の処理を実行すればよい。Note that some of the processes in the answer change determination process shown in FIG. 17 may be omitted. For example, if S235: No, the process may transition to S290 without executing S270 and S280. Alternatively, if S235: Yes, the process may transition to S290 without executing S250 and S260. In other words, themanagement device 12 may execute at least one of the following processes based on the operation history related to the external device 20: a process of changing the RBT call specified by theterminal device 16 that is the origin of the call to a normal call, and a process of changing the normal call specified by theterminal device 16 that is the origin of the call to an RBT call.
  本実施例によれば、外部機器20毎に異なる在室係数を設定し、在室係数の合計値である在室指標を計算するので、より高い精度で発信方式を切りかえることができる。すなわち、発信先端末装置16の使用者が通信を認識する程度を示す通信容易性指標として在室指標を算出し、在室指標をもとに通信モードを選択するため、通信モードを精度よく選択できる。また、着信対象(通信相手)の状況に応じて、着信を報知する形態を高い精度で選択できる。このため、発信側端末装置16の使用者が発話した情報が発信先端末装置16の使用者に認識されない事態の発生を低減しつつ、発信先端末装置16の使用者に対してより迅速に情報を伝えることができる。According to this embodiment, a different presence coefficient is set for eachexternal device 20, and the presence index, which is the total value of the presence coefficients, is calculated, so that the calling method can be switched with higher accuracy. In other words, the presence index is calculated as a communication ease index indicating the degree to which the user of thedestination terminal device 16 is aware of the communication, and the communication mode is selected based on the presence index, so that the communication mode can be selected with high accuracy. In addition, the form of notifying the incoming call can be selected with high accuracy according to the status of the recipient (communication partner). Therefore, information can be conveyed to the user of thedestination terminal device 16 more quickly while reducing the occurrence of a situation in which information spoken by the user of the callingterminal device 16 is not recognized by the user of thedestination terminal device 16.
(実施例3)
  次に、実施例3を説明する。実施例3では、実施例2と同様に、発信先端末装置16が操作した機器種別による重み付けを行うことによって、発信方式の切替がなされる。なお、本実施例の端末装置16のブロック図、管理装置12のブロック図、および履歴テーブル362の構成は実施例1と同じである。Example 3
 Next, a third embodiment will be described. In the third embodiment, as in the second embodiment, the calling method is switched by weighting according to the device type operated by thedestination terminal device 16. The block diagram of theterminal device 16, the block diagram of themanagement device 12, and the configuration of the history table 362 in this embodiment are the same as those in the first embodiment.
  管理装置12は、履歴テーブル362を用いて、発信先の端末装置16が制御した外部機器20による音の大きさ(騒音状態)を示す値である、騒音指標Yを計算する。騒音指標Yは操作種別が「ON」の機器の騒音係数により決定される。つまり、発信先の端末装置16が音の出る外部機器20を「ON」にしている場合、発信先の端末装置16の周囲の音量(騒音)がある程度大きいと予想され、その端末装置16の使用者18が、着信に気づき難い、あるいは、通話の内容を聞き取り難い状態であると推定される。つまり、騒音指標Yが大きいほど、発信先端末装置16の使用者18が、通信の存在を認識したり、通信内容を把握したりすることが困難な状況であるため、通信容易性が低いといえる。一方、騒音指標Yが小さいほど、発信先端末装置16の使用者18が、通信の存在を認識したり、通信内容を把握したりすることが容易な状況であるため、通信容易性(通信容易性指標)が高いといえる。つまり、騒音指標Yは通信容易性指標の1つである。なお、端末装置16の周囲の音量と、騒音指標Yの大きさ(高さ)との関係は任意に設定可能である。例えば、端末装置16の周囲の音量が小さいほど、騒音指標Yが大きくなるように算出してもよい。この場合は、騒音指標Yは、逆に静寂性指標ともいえ、騒音指標Y(静寂性指標)が大きい(高い)ほど、通信容易性(通信容易性指標)が高くなる。Themanagement device 12 uses the history table 362 to calculate the noise index Y, which is a value indicating the loudness (noise state) of the sound caused by theexternal device 20 controlled by thedestination terminal device 16. The noise index Y is determined by the noise coefficient of the device whose operation type is "ON". In other words, when thedestination terminal device 16 has the sound-emittingexternal device 20 "ON", it is expected that the volume (noise) around thedestination terminal device 16 is relatively loud, and it is estimated that the user 18 of theterminal device 16 has difficulty in noticing an incoming call or in hearing the contents of the call. In other words, the larger the noise index Y, the lower the communication ease, since it is difficult for the user 18 of thedestination terminal device 16 to recognize the existence of communication or to understand the communication contents. On the other hand, the smaller the noise index Y, the easier it is for the user 18 of thedestination terminal device 16 to recognize the existence of communication or to understand the communication contents, and therefore the communication ease (communication ease index) is high. In other words, the noise index Y is one of the communication ease indexes. The relationship between the volume of the sound around theterminal device 16 and the size (height) of the noise index Y can be set arbitrarily. For example, the noise index Y may be calculated so that the quieter the volume of the sound around theterminal device 16, the larger it becomes. In this case, the noise index Y can also be considered a quietness index, and the larger (higher) the noise index Y (quietness index), the higher the ease of communication (communication ease index).
  図18は、騒音係数テーブルのデータ構造を示す。騒音係数テーブルは、機器毎の騒音係数(重み係数)を表すテーブルである。騒音係数は、機器種別毎に個別に設定され、その機器が使用されている場合に使用者18の周辺に騒音(通話の邪魔になる音)が発生している可能性を示す値である。図16の在室係数テーブルとは異なって、「テレビ」、「ステレオ」、「ラジオ」の係数が大きくなっていることから分かるように、使用者18の周辺に騒音が発生している可能性が高いことが予想される機器ほど、騒音係数が高く設定される。なお、図18における「炬燵」のように、騒音係数が「0」のデータが存在してもよい。Figure 18 shows the data structure of the noise coefficient table. The noise coefficient table is a table that shows the noise coefficient (weighting coefficient) for each device. The noise coefficient is set individually for each type of device, and is a value that indicates the possibility that noise (sounds that may disturb a call) is occurring around the user 18 when the device is being used. Unlike the occupancy coefficient table in Figure 16, as can be seen from the large coefficients for "television", "stereo", and "radio", the noise coefficient is set higher for devices that are expected to be more likely to generate noise around the user 18. Note that data with a noise coefficient of "0" may exist, such as for "kotatsu" in Figure 18.
  本テーブルは管理装置12の記憶部340に記憶される。また、管理装置12は、全ての端末装置16に対して同一の騒音係数テーブルを配信してもよいし、端末装置16(端末ID)毎に個別に設定された騒音係数テーブルを配信してもよい。端末装置16は使用者18に騒音係数を入力(指定)させるためのユーザインターフェースを用意し、各端末装置16から管理装置12に対して、各使用者18が入力した騒音係数を送信してもよい。管理装置12は、各端末装置16から受信した騒音係数を端末IDに対応付けて記憶部340に記憶すればよい。This table is stored in thememory unit 340 of themanagement device 12. Themanagement device 12 may distribute the same noise coefficient table to allterminal devices 16, or may distribute a noise coefficient table that is individually set for each terminal device 16 (terminal ID). Theterminal device 16 may provide a user interface for allowing the user 18 to input (specify) the noise coefficient, and eachterminal device 16 may transmit the noise coefficient input by each user 18 to themanagement device 12. Themanagement device 12 may store the noise coefficient received from eachterminal device 16 in thememory unit 340 in association with the terminal ID.
  図19は、管理装置12による応答変更判定処理の手順を示すフローチャートである。S310において、制御部338は計時部332より現時刻CTを取得する。その後S320に進む。S320において、制御部338は記憶部340の履歴テーブル362から、端末IDが発信先端末装置16であり、かつ操作日時と現時刻CTの差分Pが所定の期間(例えば2時間)より短い全てのレコードRを取得する。その後S330に進む。S330において、制御部338はレコードRから、最新の操作履歴が「ON」である機器を特定し、特定した機器の騒音係数の合計値を騒音指標Yとして計算する。Figure 19 is a flowchart showing the procedure of the response change determination process by themanagement device 12. In S310, thecontrol unit 338 obtains the current time CT from theclock unit 332. Then, the process proceeds to S320. In S320, thecontrol unit 338 obtains all records R from the history table 362 in thestorage unit 340, in which the terminal ID is thedestination terminal device 16 and the difference P between the operation date and time and the current time CT is shorter than a predetermined period (e.g., 2 hours). Then, the process proceeds to S330. In S330, thecontrol unit 338 identifies devices whose latest operation history is "ON" from the records R, and calculates the sum of the noise coefficients of the identified devices as the noise index Y.
  図10の例では、送信先端末装置16が第1端末装置16a(T1)であり、現時刻CTが「10:30:00」の場合、操作日時と現時刻CTの差分Pが所定の期間(例えば2時間)より短いレコードRは、操作日時の時刻が「10:25:24」、「10:19:59」、「10:19:32」のレコードとなる。「10:25:24」、「10:19:59」のレコードRの機器種別は両方ともテレビだが、最新のレコードである「10:25:24」の操作種別は「OFF」のため、テレビの最新の操作履歴は「OFF」となる。In the example of FIG. 10, when thedestination terminal device 16 is the firstterminal device 16a (T1) and the current time CT is "10:30:00", records R in which the difference P between the operation date and time and the current time CT is shorter than a predetermined period (e.g., 2 hours) are records with operation dates and times of "10:25:24", "10:19:59", and "10:19:32". The device types of records R for "10:25:24" and "10:19:59" are both televisions, but the operation type of the latest record, "10:25:24", is "OFF", so the latest operation history of the television is "OFF".
  一方、「10:19:32」のレコードRの機器種別は照明だが、「10:19:32」が最新の操作履歴であるため、照明の最新の操作履歴は「ON」となる。図18のテーブルを参照すると、「テレビ」の重み係数「10」、照明の重み係数「1」が得られるが、テレビの最新状態は「OFF」であるため、テレビは処理の対象外となる。制御部338は、これらの情報をもとに以下のように騒音指標Yを算出する。
  騒音指標Y=1(照明ON)=1
  On the other hand, the device type of record R at "10:19:32" is lighting, but since "10:19:32" is the most recent operation history, the most recent operation history of lighting is "ON." Referring to the table in Fig. 18, a weighting factor of "10" for "television" and a weighting factor of "1" for lighting are obtained, but since the most recent status of television is "OFF," television is excluded from processing. Based on this information,control unit 338 calculates noise index Y as follows.
 Noise index Y=1 (lights ON)=1
  また、発信先端末装置16が第5端末装置16e(T5)であり、現時刻CTが「10:30:00」である場合、操作日時と現時刻CTの差分Pが所定の期間(例えば2時間)より短いレコードRは、操作日時の時刻が「10:18:04」、「10:17:53」、「10:00:00」、「09:30:20」の4つのレコードとなる。「09:30:20」において、ステレオが「ON」になり、「10:00:00」においてテレビが「ON」になり、「10:17:53」においてステレオが「OFF」になり、「10:18:04」においてラジオが「ON」になっている。このうち、ステレオの最新の操作履歴(最新の状態)は「OFF」であるため、処理の対象外となる。残りのテレビとラジオの最新状態が「ON」であるため、これらが処理の対象となり、以下のように騒音指標Yを算出する。
  騒音指標Y=10(テレビON)+9(ラジオON)=19
  その後S340に進む。  In addition, when thedestination terminal device 16 is the fifthterminal device 16e (T5) and the current time CT is "10:30:00", the records R in which the difference P between the operation date and time and the current time CT is shorter than a predetermined period (for example, 2 hours) are four records whose operation dates and times are "10:18:04", "10:17:53", "10:00:00", and "09:30:20". At "09:30:20", the stereo is "ON", at "10:00:00", the television is "ON", at "10:17:53", the stereo is "OFF", and at "10:18:04", the radio is "ON". Of these, the latest operation history (latest state) of the stereo is "OFF", so it is not subject to processing. The remaining latest states of the television and radio are "ON", so these are subject to processing, and the noise index Y is calculated as follows.
 Noise index Y = 10 (television on) + 9 (radio on) = 19
 Then proceed to S340.
  S340において、制御部338は、騒音指標Yが所定の値(しきい値)より大きいか否かを判定する。騒音指標Yがしきい値以下の場合(S340:No)は、S350に遷移する。騒音指標Yがしきい値より大きい場合(S340:Yes)は、S370に遷移する。例えば、しきい値を「15」とすると、上記の例で算出した第1端末装置16aの騒音指標Yの「1」はしきい値より小さいため、S350に遷移し、変更なしと判定される。また、発信先が第5端末装置16eの場合は、算出した騒音指標Yの「19」は、しきい値より大きいため、S370に遷移する。S350において、制御部338は端末装置16からの発信方法を判定する。発信方法が「INVITE(手動応答)」、すなわちRBT発信の場合(S350:Yes)は、S360に進む。発信方法が「INVITE(手動応答)」、すなわちRBT発信でない場合(S350:No)は、S390に進む。S360において、制御部338は発信方法をINVITE(自動応答)へ変更と判定し、判定結果を返す。その後処理を終了する。In S340, thecontrol unit 338 judges whether the noise index Y is greater than a predetermined value (threshold value). If the noise index Y is equal to or less than the threshold value (S340: No), the process proceeds to S350. If the noise index Y is greater than the threshold value (S340: Yes), the process proceeds to S370. For example, if the threshold value is "15", the noise index Y of the firstterminal device 16a calculated in the above example, "1", is smaller than the threshold value, so the process proceeds to S350 and it is judged that there is no change. In addition, when the destination is the fifthterminal device 16e, the calculated noise index Y of "19" is greater than the threshold value, so the process proceeds to S370. In S350, thecontrol unit 338 judges the method of calling from theterminal device 16. If the calling method is "INVITE (manual response)", that is, RBT calling (S350: Yes), the process proceeds to S360. If the calling method is "INVITE (manual response)", i.e., not RBT calling (S350: No), proceed to S390. In S360, thecontrol unit 338 determines that the calling method should be changed to INVITE (automatic response) and returns the determination result. Then, the process ends.
  S370において、制御部338は端末装置16からの発信方法を判定する。発信方法が「INVITE(自動応答)」、すなわち通常発信の場合(S370:Yes)は、S380に進む。発信方法が「INVITE(自動応答)」、すなわち通常発信でない場合(S370:No)は、S390に進む。S380において、制御部338は発信方法をINVITE(手動応答)へ変更と判定し、判定結果を返す。その後処理を終了する。S390において、制御部338は変更なしと判定し、判定結果を返す。その後処理を終了する。In S370, thecontrol unit 338 determines the calling method from theterminal device 16. If the calling method is "INVITE (automatic response)", i.e., normal calling (S370: Yes), the process proceeds to S380. If the calling method is "INVITE (automatic response)", i.e., not normal calling (S370: No), the process proceeds to S390. In S380, thecontrol unit 338 determines that the calling method has been changed to INVITE (manual response) and returns the determination result. The process then ends. In S390, thecontrol unit 338 determines that there has been no change and returns the determination result. The process then ends.
  なお、図19に示す答変更判定処理の一部の処理を省略してもよい。例えば、S340:Noの場合、S350およびS360を実行せずに、S390に遷移してもよい。あるいは、S340:Yesの場合、S370およびS380を実行せずに、S390に遷移してもよい。すなわち管理装置12は、外部機器20に関する操作履歴をもとに、発信元の端末装置16が指定したRBT発信を通常発信に変更する処理、および発信元の端末装置16が指定した通常発信をRBT発信に変更する処理の少なくとも一方の処理を実行すればよい。Note that some of the processes in the answer change determination process shown in FIG. 19 may be omitted. For example, if S340: No, the process may transition to S390 without executing S350 and S360. Alternatively, if S340: Yes, the process may transition to S390 without executing S370 and S380. In other words, themanagement device 12 may execute at least one of the following processes based on the operation history related to the external device 20: a process of changing the RBT call specified by theterminal device 16 that is the origin of the call to a normal call, and a process of changing the normal call specified by theterminal device 16 that is the origin of the call to an RBT call.
  なお、上述の説明では、外部機器20の「ON」と「OFF」の制御情報、すなわち、外部機器20を起動および停止する制御情報を用いて騒音指標Yを算出したが、さらに別の情報を用いてもよい。具体的には、まず端末装置16が、外部機器20の音量(ボリューム)を制御した情報を操作履歴パケットに含めて管理装置12に送信する。例えば、機器種別を「テレビ」とし、操作種別を「音量:10」とした操作履歴パケットを送信する。またさらに、音質調整(イコライザーなど)に関する情報を送信してもよい。例えば、機種種別を「ステレオ」とし、操作種別を「Bass:+3」あるいは「64Hz:+6dB」とした操作履歴パケットを送信してもよい。また、エアコン、空気清浄機、送風機、ドライヤー等の風量や運転モードに関する情報など、外部機器から発生される音(騒音)の大きさを推定可能な情報を操作履歴パケットに含めてもよい。このように、操作種別(操作情報)は、「ON」と「OFF」だけでなく、数値を含んだ情報であってもよい。In the above description, the noise index Y is calculated using the control information of "ON" and "OFF" of theexternal device 20, that is, the control information for starting and stopping theexternal device 20, but other information may be used. Specifically, theterminal device 16 first transmits to themanagement device 12 information on the control of the sound volume of theexternal device 20, including the information in the operation history packet. For example, an operation history packet with the device type set to "TV" and the operation type set to "Volume: 10" may be transmitted. Furthermore, information on sound quality adjustment (such as equalizer) may be transmitted. For example, an operation history packet with the model type set to "stereo" and the operation type set to "Bass: +3" or "64 Hz: +6 dB" may be transmitted. In addition, the operation history packet may include information that can estimate the volume of the sound (noise) generated by the external device, such as information on the air volume and operation mode of an air conditioner, air purifier, blower, dryer, etc. In this way, the operation type (operation information) may be information including not only "ON" and "OFF" but also numerical values.
  管理装置12は、発信先の端末装置16が制御した外部機器20の音量および音質に関する制御情報の少なくとも一方を用いて、騒音指標Yを算出する。例えば、テレビが「ON」である場合、テレビの音量を「10」にした場合に比べ、テレビの音量を「20」にした場合の騒音指標Yを、より大きな値(高い値)にする。また、音量が同じ場合であっても、所定の周波数帯域(例えば、低音)が強調されている場合は、騒音指標騒音指標Yを、より大きな値にする。例えば、「ステレオ」の音量が一定の値である場合、「Bass:-3」よりも「Bass:+3」のときの騒音指標Yを大きな値にする。Themanagement device 12 calculates the noise index Y using at least one of the control information related to the volume and sound quality of theexternal device 20 controlled by thedestination terminal device 16. For example, when the television is "ON", the noise index Y is set to a larger value (higher value) when the television volume is set to "20" compared to when the television volume is set to "10". Even when the volume is the same, the noise index Y is set to a larger value when a specific frequency band (e.g., bass) is emphasized. For example, when the volume of "stereo" is a constant value, the noise index Y is set to a larger value when "Bass: +3" is compared to "Bass: -3".
  また、端末装置16が外部機器20の音量・音質を変更しない場合であっても、端末装置16が近距離無線を介して外部機器20から現在設定されている音量・音質の情報を取得し、その情報を操作履歴パケットに含めて送信してもよい。つまり、使用者18が外部機器20本体の操作部や端末装置16とは異なるリモコン装置を操作して外部機器20の設定を変更した場合であっても、端末装置16が外部機器20の現在の設定情報を取得し、それを管理装置12に送信してもよい。例えば、端末装置16が外部機器20の電源を「ON」にした際に、現在の音量設定値(デフォルト値あるいは前回使用された設定値)の外部機器20から取得し、その情報を管理装置12に送信する。すなわち、端末装置16が制御していない音量・音質に関する情報を用いて、騒音指標Yを算出してもよい。In addition, even if theterminal device 16 does not change the volume and sound quality of theexternal device 20, theterminal device 16 may obtain information on the currently set volume and sound quality from theexternal device 20 via short-range wireless and transmit the information in an operation history packet. In other words, even if the user 18 changes the settings of theexternal device 20 by operating the operation unit of theexternal device 20 body or a remote control device other than theterminal device 16, theterminal device 16 may obtain the current setting information of theexternal device 20 and transmit it to themanagement device 12. For example, when theterminal device 16 turns on the power of theexternal device 20, it obtains the current volume setting value (default value or previously used setting value) from theexternal device 20 and transmits the information to themanagement device 12. In other words, the noise index Y may be calculated using information on the volume and sound quality that is not controlled by theterminal device 16.
  また、端末装置16は操作履歴パケットの中に、音声入力部44で収音した音の情報を含めてもよい。例えば端末装置16は、外部機器20の音量を変更した後の通話を行っていないタイミングで音声入力部44に入力された音響信号のレベル(周囲の騒音レベル)や周波数特性を計測し、それを操作履歴パケットの中に含めて管理装置12に含めてもよい。管理装置12は、操作履歴パケットに含まれる音の情報(音響信号情報)を騒音指標Yに反映してもよい。例えば、上述した騒音係数に基づく値の他に、音響信号に基づく値(例えば、音響信号情報を所定数倍した値)を算出し、両者を重み付け加算した値を騒音指標Yとしてもよい。あるいは、両者を乗算した値を騒音指標Yとしてもよい。すなわち、騒音係数に基づく値が大きいほど、かつ収音された音が大きいほど大きな値となるように騒音指標Yを算出してもよい。Theterminal device 16 may also include information on the sound picked up by theaudio input unit 44 in the operation history packet. For example, theterminal device 16 may measure the level (ambient noise level) and frequency characteristics of the sound signal input to theaudio input unit 44 at a timing when a call is not being made after the volume of theexternal device 20 is changed, and include the measured value in the operation history packet and include it in themanagement device 12. Themanagement device 12 may reflect the sound information (sound signal information) included in the operation history packet in the noise index Y. For example, in addition to the value based on the noise coefficient described above, a value based on the sound signal (for example, a value obtained by multiplying the sound signal information by a predetermined number) may be calculated, and the noise index Y may be a value obtained by weighting and adding the two values. Alternatively, the noise index Y may be a value obtained by multiplying the two values. In other words, the noise index Y may be calculated so that the larger the value based on the noise coefficient and the larger the picked-up sound, the larger the value.
  本実施例によれば、外部機器20毎に異なる騒音係数を設定し、騒音係数の合計値である騒音指標を計算するので、より高い精度で発信方式を切りかえることができる。すなわち、発信先端末装置16の使用者が通信を認識する程度を示す通信容易性指標として騒音指標を算出し、騒音指標をもとに通信モードを選択するため、通信モードを精度よく選択できる。すなわち、着信対象の状況に応じて、着信を報知する形態を高い精度で選択できる。このため、発信側端末装置16の使用者が発話した情報が発信先端末装置16の使用者に認識されない事態の発生を低減しつつ、発信先端末装置16の使用者に対してより迅速に情報を伝えることができる。According to this embodiment, a different noise coefficient is set for eachexternal device 20, and a noise index, which is the sum of the noise coefficients, is calculated, so that the calling method can be switched with higher accuracy. That is, the noise index is calculated as a communication ease index indicating the degree to which the user of thedestination terminal device 16 recognizes the communication, and the communication mode is selected based on the noise index, so that the communication mode can be selected with high accuracy. That is, the form of notifying the incoming call can be selected with high accuracy according to the situation of the recipient of the call. Therefore, information can be conveyed to the user of thedestination terminal device 16 more quickly while reducing the occurrence of a situation in which information spoken by the user of the callingterminal device 16 is not recognized by the user of thedestination terminal device 16.
(実施例4)
  次に、実施例4を説明する。実施例4は、実施例2と実施例3との組合せに相当する。なお、本実施例の端末装置16のブロック図、管理装置12のブロック図、および履歴テーブル362の構成は実施例1と同じである。Example 4
 Next, a fourth embodiment will be described. The fourth embodiment corresponds to a combination of the second and third embodiments. Note that the block diagram of theterminal device 16, the block diagram of themanagement device 12, and the configuration of the history table 362 of the fourth embodiment are the same as those of the first embodiment.
  管理装置12は、実施例2で説明した在室指標Zと、実施例3で説明した騒音指標Yをそれぞれ算出する。在室指標Zは、大きな値であるほど、発信先の端末装置16の使用者18は着信や通話音声を認識し易いといえる。一方、騒音指標Yは、大きな値であるほど、発信先の端末装置16の使用者18は着信や通話音声を認識し難いといえる。そこで、式(1)を用いて、制御部38は総合指標Xを算出する。
  X=α×Z-β×Y      式(1)
  ここで、α、βはそれぞれ0より大きな所定値(係数)である。α、βの値は同じであってもよいし、異なっていてもよい。式(1)によれば、在室指標Zが大きいほど、総合指標Xが大きな値になる。また、騒音指標Yが小さいほど、総合指標Xが大きな値になる。  Themanagement device 12 calculates the presence index Z described in the second embodiment and the noise index Y described in the third embodiment. The larger the presence index Z, the easier it is for the user 18 of thedestination terminal device 16 to recognize the incoming call or the voice of the call. On the other hand, the larger the noise index Y, the harder it is for the user 18 of thedestination terminal device 16 to recognize the incoming call or the voice of the call. Therefore, thecontrol unit 38 calculates the overall index X using formula (1).
 X=α×Z−β×Y Formula (1)
 Here, α and β are each a predetermined value (coefficient) greater than 0. The values of α and β may be the same or different. According to formula (1), the larger the occupancy index Z, the larger the overall index X. Also, the smaller the noise index Y, the larger the overall index X.
  つまり、総合指標Xが大きな値であるほど、発信先の端末装置16の使用者18は着信や通話音声を認識し易いといえる。したがって、総合指標Xは、端末装置16の使用者18が着信や通話音声を認識する容易さの程度(難易度)を示す通信容易性指標の1つである。また、在室指標Zも同様に通信容易性指標の1つであるといえる。また、騒音指標Yは、値の大小と使用者18が通信を認識する容易さとの関係は逆であるが、同様に通信容易性指標の1つであるといえる。そのため、総合指標Xは、複数種類の通信容易性指標をもとに算出された総合的な通信容易性指標であるといえる。In other words, the larger the value of the overall index X, the easier it is for the user 18 of thedestination terminal device 16 to recognize the incoming call or the voice of the call. Therefore, the overall index X is one of the communication ease indexes that indicates the degree of ease (difficulty) with which the user 18 of theterminal device 16 can recognize the incoming call or the voice of the call. Similarly, the presence index Z can be said to be one of the communication ease indexes. Similarly, the noise index Y can be said to be one of the communication ease indexes, although the relationship between the magnitude of the value and the ease with which the user 18 can recognize the communication is the opposite. Therefore, the overall index X can be said to be a comprehensive communication ease index calculated based on multiple types of communication ease indexes.
  管理装置12は、図17のフローチャートと同様な処理を行う。ただし、S225に相当するS225Aにおいて、式(1)に基づいて総合指標Xを算出する。また、S235に相当するS235Aにおいて、総合指標Xが所定の値(しきい値)よりも大きいか否かを判定する。Themanagement device 12 performs the same process as the flowchart in FIG. 17. However, in S225A, which corresponds to S225, themanagement device 12 calculates the overall index X based on formula (1). In addition, in S235A, which corresponds to S235, themanagement device 12 determines whether the overall index X is greater than a predetermined value (threshold value).
  本実施例によれば、在室指標Zと騒音指標Yとを用いて総合指標Xを算出し、総合指標Xに基づいて通信モードを選択するので、発信先端末装置16の使用者の状態の推定精度を向上できる。また、発信先端末装置16の使用者の状態の推定精度が向上するので、より適切に通信モードを選択することができる。また、着信対象の状況に応じて、着信を報知する形態を高い精度で選択できる。According to this embodiment, the overall index X is calculated using the occupancy index Z and the noise index Y, and a communication mode is selected based on the overall index X, so that the accuracy of estimating the state of the user of thedestination terminal device 16 can be improved. In addition, since the accuracy of estimating the state of the user of thedestination terminal device 16 is improved, a more appropriate communication mode can be selected. In addition, the form of notification of an incoming call can be selected with high accuracy depending on the situation of the call recipient.
(実施例5)
  次に、実施例5を説明する。実施例1では、図2(a)-(b)、図3(a)-(d)に示すように、通話処理が2つの端末装置16間でのみで行われること(個別通話)を前提として説明したが、本実施例では1つの端末装置16が2つ以上の端末装置16に対して同報配信を行うグループ呼出を想定する。なお、本実施例の端末装置16のブロック図、管理装置12のブロック図、および履歴テーブル362の構成は実施例1と同じである。Example 5
 Next, a fifth embodiment will be described. In the first embodiment, as shown in Figures 2(a)-(b) and 3(a)-(d), the explanation was given on the premise that the call processing is performed only between two terminal devices 16 (individual calls), but in this embodiment, a group call is assumed in which oneterminal device 16 performs broadcast distribution to two or moreterminal devices 16. Note that the block diagram of theterminal device 16, the block diagram of themanagement device 12, and the configuration of the history table 362 in this embodiment are the same as those in the first embodiment.
  本実施例における管理装置12の制御部338は記憶部340の履歴テーブル362から、送信対象グループに所属する全端末装置16のレコードRを取得し、操作種別において所定数(所定数M)以上の「ON」が存在している端末装置16の合計数Tを集計する。管理装置12は端末装置16よりINVITE(手動応答)を受信した場合においても、合計数Tが所定数N(例としてグループに所属する送信対象端末装置16の半数)より大きい場合、すなわちグループに所属している端末装置16の使用者の大半が現在屋内に存在し、かつ端末装置16とともにその場に留まっている可能性が高い場合、グループに所属する全ての端末装置16へINVITE(自動応答)を送信する。これによりグループ内において、INVITE(手動応答)を送信した場合と比較して、より迅速に通話を開始することが可能となり、より迅速に情報を伝えることが可能になる。In this embodiment, thecontrol unit 338 of themanagement device 12 obtains the records R of allterminal devices 16 belonging to the target group from the history table 362 of thestorage unit 340, and counts up the total number T ofterminal devices 16 that have a predetermined number (predetermined number M) or more of "ON" in the operation type. Even when themanagement device 12 receives an INVITE (manual response) from aterminal device 16, if the total number T is greater than the predetermined number N (for example, half of thetarget terminal devices 16 belonging to the group), that is, if the majority of the users of theterminal devices 16 belonging to the group are currently indoors and are likely to remain there with theterminal devices 16, themanagement device 12 sends an INVITE (automatic response) to allterminal devices 16 belonging to the group. This makes it possible to start a call more quickly within the group compared to when an INVITE (manual response) is sent, and makes it possible to convey information more quickly.
  なお上記では説明を簡潔にするため、「合計数Tがグループに所属する送信対象端末装置16の半数より大きい」としたが、この条件に限定されるものではない。例えば、「合計数Tが1以上」、「合計数Tがグループに所属する送信対象端末装置16の総数の80%以上」、「合計数Tがグループに所属する送信対象端末装置16の総数と同じ」といった条件を用いてもよい。また、グループ毎に個別の条件を設定してもよい。例えば、グループAでは、「送信対象端末装置16の総数の30%以上」という条件を用い、グループBでは「送信対象端末装置16の総数の80%以上」という条件を用いてもよい。また本実施例では説明のためグループ呼出時の動作としたが、一斉呼出時、すなわち通信システム100の全端末装置16に対してINVITE(手動応答)の送信を行う場合においても本実施例と同様な処理を行ってもよい。In the above, for the sake of simplicity, the total number T is set to be greater than half of the number of theterminal devices 16 to be transmitted that belong to the group, but the condition is not limited to this. For example, the total number T may be set to be 1 or more, the total number T may be set to be 80% or more of the total number of theterminal devices 16 to be transmitted that belong to the group, or the total number T may be set to be equal to the total number of theterminal devices 16 to be transmitted that belong to the group. In addition, individual conditions may be set for each group. For example, the condition "30% or more of the total number of theterminal devices 16 to be transmitted" may be used for group A, and the condition "80% or more of the total number of theterminal devices 16 to be transmitted" may be used for group B. In addition, in this embodiment, the operation at the time of group call is described for the sake of explanation, but the same processing as this embodiment may also be performed at the time of general call, i.e., when INVITE (manual response) is sent to all theterminal devices 16 in thecommunication system 100.
  図20は、管理装置12による応答変更判定処理の手順を示すフローチャートである。S410において、制御部338は計時部332より現時刻CTを取得する。その後S420に進む。S420において、制御部338は記憶部340の履歴テーブル362から、発信先グループに所属している全端末装置16について、操作日時と現時刻CTの差分Pが所定の期間(例えば2時間)より短いレコードRを取得する。このときリストLを「NULL(空)」に初期化後、各端末装置16のレコードRを記録する。また、合計数Tの値も「0」に初期化する。その後S430に進む。S430において、制御部338は所定数Nを設定する。所定数Nは本実施例で説明したようにグループに所属する全端末装置16数に対する割合を示す数値でもよく、また定数でもよい。その後S440に進む。Figure 20 is a flowchart showing the procedure of the response change determination process by themanagement device 12. In S410, thecontrol unit 338 acquires the current time CT from theclock unit 332. Then, proceed to S420. In S420, thecontrol unit 338 acquires records R for allterminal devices 16 belonging to the destination group, for which the difference P between the operation date and time and the current time CT is shorter than a predetermined period (for example, 2 hours), from the history table 362 of thestorage unit 340. At this time, after initializing the list L to "NULL (empty)", records R for eachterminal device 16. The value of the total number T is also initialized to "0". Then, proceed to S430. In S430, thecontrol unit 338 sets a predetermined number N. The predetermined number N may be a numerical value indicating a ratio to the number of allterminal devices 16 belonging to the group as described in this embodiment, or may be a constant. Then, proceed to S440.
  S440において、制御部338はリストLから任意の(未処理の)1つの端末装置16のレコードRを全て取得する。このとき、取得した端末装置16のレコードRの情報はリストLから削除される。その後S450に進む。S450において、制御部338はS440で取得した全てのレコードRの操作種別を取得し、「ON」が所定数M以上存在するか否かを判定する。所定数Mは、例えば「1」にすればよいが、もちろんこれに限定される訳ではなく、「2」以上の値であってもよい。レコードRの操作種別の「ON」が所定数M未満だった場合、(S450:No)は、S470に進む。レコードRの操作種別で「ON」が所定数M以上存在した場合(S450:Yes)は、S460に進む。S460において、制御部338は合計数Tを「1」インクリメントする。その後S470に進む。S470において、制御部338はリストL内に端末装置16のレコードRが存在するか否か、すなわち未処理の端末装置16が存在するか否かを判定する。リストL内に端末装置16のレコードRが存在する場合(S470:Yes)は、S440に戻って処理を繰り返す。リストL内に端末装置16のレコードRが存在しない場合(S470:No)は、S480に進む。In S440, thecontrol unit 338 acquires all records R of any one (unprocessed)terminal device 16 from the list L. At this time, the information of the record R of the acquiredterminal device 16 is deleted from the list L. Then, proceed to S450. In S450, thecontrol unit 338 acquires the operation types of all records R acquired in S440 and determines whether or not there are a predetermined number M or more of "ON". The predetermined number M may be, for example, "1", but is of course not limited to this, and may be a value of "2" or more. If the operation type of record R is less than the predetermined number M (S450: No), proceed to S470. If the operation type of record R is "ON" for the predetermined number M or more (S450: Yes), proceed to S460. In S460, thecontrol unit 338 increments the total number T by "1". Then, proceed to S470. In S470, thecontrol unit 338 determines whether or not a record R of theterminal device 16 exists in the list L, i.e., whether or not anunprocessed terminal device 16 exists. If a record R of theterminal device 16 exists in the list L (S470: Yes), the process returns to S440 and repeats. If a record R of theterminal device 16 does not exist in the list L (S470: No), the process proceeds to S480.
  S480において、制御部338は合計数Tと、S430にて設定した所定数Nを比較し、合計数Tが所定数Nより大きいか否かを判定する。合計数Tが所定数N以下である場合(S480:No)は、S510に進む。合計数Tが所定数Nより大きい場合(S480:Yes)は、S490に進む。S490において、制御部338は端末装置16からの発信方法を判定する。発信方法が「INVITE(手動応答)」、すなわちRBT発信の場合(S490:Yes)は、S500に進む。発信方法が「INVITE(手動応答)」、すなわちRBT発信でない場合(S490:No)は、S530に進む。S500において、制御部338は発信方法をINVITE(自動応答)へ変更と判定し、判定結果を返す。その後処理を終了する。In S480, thecontrol unit 338 compares the total number T with the predetermined number N set in S430, and determines whether the total number T is greater than the predetermined number N. If the total number T is equal to or less than the predetermined number N (S480: No), the process proceeds to S510. If the total number T is greater than the predetermined number N (S480: Yes), the process proceeds to S490. In S490, thecontrol unit 338 determines the calling method from theterminal device 16. If the calling method is "INVITE (manual response)", i.e., RBT calling (S490: Yes), the process proceeds to S500. If the calling method is "INVITE (manual response)", i.e., not RBT calling (S490: No), the process proceeds to S530. In S500, thecontrol unit 338 determines that the calling method should be changed to INVITE (automatic response) and returns the determination result. The process then ends.
  S510において、制御部338は端末装置16からの発信方法を判定する。発信方法が「INVITE(自動応答)」、すなわち通常発信の場合(S510:Yes)は、S520に進む。発信方法が「INVITE(自動応答)」、すなわち通常発信でない場合(S510:No)は、S530に進む。S520において、制御部338は発信方法をINVITE(手動応答)へ変更と判定し、判定結果を返す。その後処理を終了する。S530において、制御部338は変更なしと判定し、判定結果を返す。その後処理を終了する。In S510, thecontrol unit 338 determines the calling method from theterminal device 16. If the calling method is "INVITE (automatic response)", i.e., normal calling (S510: Yes), the process proceeds to S520. If the calling method is "INVITE (automatic response)", i.e., not normal calling (S510: No), the process proceeds to S530. In S520, thecontrol unit 338 determines that the calling method has been changed to INVITE (manual response) and returns the determination result. Then, the process ends. In S530, thecontrol unit 338 determines that there has been no change and returns the determination result. Then, the process ends.
  なお、図20に示す答変更判定処理の一部の処理を省略してもよい。例えば、S480:Noの場合、S510およびS520を実行せずに、S530に遷移してもよい。あるいは、S480:Yesの場合、S490およびS500を実行せずに、S530に遷移してもよい。すなわち管理装置12は、外部機器20に関する操作履歴をもとに、発信元の端末装置16が指定したRBT発信を通常発信に変更する処理、および発信元の端末装置16が指定した通常発信をRBT発信に変更する処理の少なくとも一方の処理を実行すればよい。Note that some of the processes in the answer change determination process shown in FIG. 20 may be omitted. For example, if S480: No, the process may transition to S530 without executing S510 and S520. Alternatively, if S480: Yes, the process may transition to S530 without executing S490 and S500. In other words, themanagement device 12 may execute at least one of the following processes based on the operation history of the external device 20: a process of changing the RBT call specified by theterminal device 16 that is the origin of the call to a normal call, and a process of changing the normal call specified by theterminal device 16 that is the origin of the call to an RBT call.
  本実施例によれば、複数の発信先端末装置16のうち、所定期間に所定の操作がなされた発信先端末装置16(通信容易性指標が所定の基準を満たす発信先端末装置16)の数がしきい値よりも多い場合、第2通信モード(通常発信)を選択し、それ以外の場合に第1通信モード(RBT発信)を選択するので、グループ通信においても通信モードを適切に選択できる。また、グループ通信においても、着信対象の状況に応じて、着信を報知する形態を適切に選択できる。According to this embodiment, if the number ofdestination terminal devices 16 on which a specified operation has been performed in a specified period (destination terminal devices 16 whose communication ease index meets a specified standard) among multipledestination terminal devices 16 is greater than a threshold value, the second communication mode (normal transmission) is selected, and otherwise the first communication mode (RBT transmission) is selected, so that the communication mode can be appropriately selected even in group communication. Also, in group communication, the form of notification of an incoming call can be appropriately selected depending on the situation of the recipient of the call.
(実施例6)
  本実施例では、これまでの実施例で説明した通信容易性指標をもとに、端末装置16への発信方式、および端末装置16で出力される着信音量を決定する。なお、本実施例の端末装置16のブロック図は実施例1と同じである。管理装置12は実施例1の構成に加えて、記憶部340に履歴テーブル362の他、着信音量テーブルを記録する。Example 6
 In this embodiment, the method of calling theterminal device 16 and the ring volume output by theterminal device 16 are determined based on the communication ease index described in the previous embodiments. The block diagram of theterminal device 16 in this embodiment is the same as that in the first embodiment. In addition to the configuration in the first embodiment, themanagement device 12 records a history table 362 and a ring volume table in thestorage unit 340.
  本実施例では、管理装置12の制御部は端末装置16から通話開始要求を受信した際、実施例4の式(1)を用いて発信先端末装置16の総合指標Xを計算する。本実施例では、通信容易性指標として、実施例4で述べた総合指標Xを用いるが、これに限定される訳ではない。次に管理装置12の制御部338は記憶部340の着信音量テーブルを参照する。図21は、着信音量テーブルのデータ構造を示す。本テーブルには総合指標X毎に、発信先端末装置16にて出力される着信音量(着信音の音量)が記録される。総合指標Xは式(1)で計算される数値であり、着信音量は端末装置16で出力する着信音量の数値である。なお、本図では例として総合指標Xの上限値を100、下限値を0とし、また着信音量の上限値を100、下限値を0としているが、他の上限値、下限値を用いてもよい。本図では総合指標Xが高い場合、すなわち使用者18が着信や通話音声を認識し易い場合、着信音量は小さい数値が設定され、総合指標Xが低い場合、すなわち使用者18が着信や通話音声を認識し難い場合、着信音量は大きい数値が設定される。つまり、通信容易性指標が高いほど、着信音量が小さくなるように設定されている。In this embodiment, when the control unit of themanagement device 12 receives a call start request from theterminal device 16, it calculates the overall index X of thedestination terminal device 16 using formula (1) ofembodiment 4. In this embodiment, the overall index X described inembodiment 4 is used as the communication ease index, but this is not limited to this. Next, thecontrol unit 338 of themanagement device 12 refers to the ringtone volume table in thememory unit 340. Figure 21 shows the data structure of the ringtone volume table. In this table, the ringtone volume (ringtone volume) output by thedestination terminal device 16 is recorded for each overall index X. The overall index X is a numerical value calculated by formula (1), and the ringtone volume is a numerical value of the ringtone volume output by theterminal device 16. Note that in this figure, as an example, the upper limit value of the overall index X is 100 and the lower limit value is 0, and the upper limit value of the ringtone volume is 100 and the lower limit value is 0, but other upper and lower limits may be used. In this diagram, when the overall index X is high, i.e. when the user 18 can easily recognize incoming calls and voices, the ringtone volume is set to a low value, and when the overall index X is low, i.e. when the user 18 can hardly recognize incoming calls and voices, the ringtone volume is set to a high value. In other words, the higher the communication ease index, the lower the ringtone volume is set.
  図22(a)-(b)は、第1端末装置16aから第2端末装置16bに発信を行う場合の手順を示すシーケンス図である。発信元である第1端末装置16aからの発信方法は通常発信、RBT発信のどちらでもよく、またそれ以外での発信方法でもよい。第1端末装置16aにおいて発信がなされると(図22(a)のS1100と図22(b)のS1150)、第1端末装置16aは、通話開始要求であるINVITEを送信する(図22(a)のS1102と図22(b)のS1152)。管理装置12の制御部338は第1端末装置16aからのINVITEを受信した場合、発信先第2端末装置16bの着信音量決定処理を行う(図22(a)のS1104と図22(b)のS1154)。着信音量決定処理は、具体的には発信先第2端末装置16bの総合指標Xを計算し、着信音量テーブルから第2端末装置16bの着信音量Vを設定する処理となる。Figures 22(a)-(b) are sequence diagrams showing the procedure for making a call from the firstterminal device 16a to the secondterminal device 16b. The calling method from the firstterminal device 16a, which is the call source, may be either normal calling or RBT calling, or may be another calling method. When a call is made from the firstterminal device 16a (S1100 in Figure 22(a) and S1150 in Figure 22(b)), the firstterminal device 16a sends an INVITE, which is a call start request (S1102 in Figure 22(a) and S1152 in Figure 22(b)). When thecontrol unit 338 of themanagement device 12 receives an INVITE from the firstterminal device 16a, it performs processing to determine the ringtone volume of the secondterminal device 16b, which is the call destination (S1104 in Figure 22(a) and S1154 in Figure 22(b)). Specifically, the ringtone volume determination process calculates the overall index X of the destinationsecond terminal device 16b and sets the ringtone volume V of the secondterminal device 16b from the ringtone volume table.
  図22(a)に示される通常発信は、管理装置12の制御部338にて発信先第2端末装置16bの発信方法決定処理が実行された際、総合指標Xが80以上、すなわち使用者18が着信や通話音声を認識し易いと判定された場合のシーケンス図となる。総合指標Xが80以上の場合、図21に示す着信音量テーブルから、着信音量決定処理により発信先第2端末装置16bの着信音量Vは「0」が設定される。管理装置12の制御部338は、着信音量Vが「0」の場合、送信先第2端末装置16bへの発信方法を「通常発信」に設定する。管理装置12の制御部338は発信方法が「通常発信」に設定された場合、第2端末装置16bへINVITE(自動応答)を送信する(S1106)。S1108からS1120のシーケンスは、図12(a)のS16からS28と同じである。The normal call shown in FIG. 22(a) is a sequence diagram when thecontrol unit 338 of themanagement device 12 executes the call method determination process for the destinationsecond terminal device 16b and the overall index X is 80 or more, that is, it is determined that the user 18 can easily recognize incoming calls and telephone conversation voices. When the overall index X is 80 or more, the ringtone volume V of the destinationsecond terminal device 16b is set to "0" by the ringtone volume determination process from the ringtone volume table shown in FIG. 21. When the ringtone volume V is "0", thecontrol unit 338 of themanagement device 12 sets the call method to the destinationsecond terminal device 16b to "normal call". When the call method is set to "normal call", thecontrol unit 338 of themanagement device 12 sends an INVITE (automatic response) to the secondterminal device 16b (S1106). The sequence from S1108 to S1120 is the same as S16 to S28 in FIG. 12(a).
  図22(b)に示されるRBT発信は、管理装置12の制御部338にて発信先第2端末装置16bの発信方法決定処理が実行された際、総合指標Xが80未満、すなわち使用者18が着信や通話音声を認識し易いとはいえない、あるいは着信や通話音声を認識し難いと判定された場合のシーケンス図となる。総合指標Xが80未満の場合、図21に示す着信音量テーブルから、着信音量決定処理により着信音量Vは総合指標Xに応じた値が設定される。具体的には総合指標Xが60以上80未満の場合は「25」、総合指標Xが40以上60未満の場合は「50」、総合指標Xが20以上40未満の場合は「75」、総合指標Xが0以上20未満の場合は「100」が設定される。管理装置12の制御部338は、着信音量Vが「0」以外の場合、送信先第2端末装置16bへの発信方法を「RBT発信」に設定する。管理装置12の制御部338は発信方法が「RBT発信」に設定された場合、第2端末装置16bへ着信音量変更指示を送信する(S1156)。着信音量変更指示は、具体的には第2端末装置16bの着信音量を、着信音量Vで設定された音量へ変更させる指示となる。着信音量変更指示は、通信容易性指標に対応した着信音(着信報知形態)を示す制御情報(制御信号)であるといえる。22(b) is a sequence diagram of the RBT transmission when thecontrol unit 338 of themanagement device 12 executes the transmission method determination process for the destinationsecond terminal device 16b and the overall index X is less than 80, that is, it is determined that the user 18 does not easily recognize the incoming call or the voice of the call, or has difficulty in recognizing the incoming call or the voice of the call. When the overall index X is less than 80, the ringtone volume V is set to a value according to the overall index X from the ringtone volume table shown in FIG. 21 by the ringtone volume determination process. Specifically, when the overall index X is 60 or more and less than 80, "25" is set, when the overall index X is 40 or more and less than 60, "50" is set, when the overall index X is 20 or more and less than 40, "75" is set, and when the overall index X is 0 or more and less than 20, "100" is set. When the ringtone volume V is other than "0", thecontrol unit 338 of themanagement device 12 sets the transmission method to the destinationsecond terminal device 16b to "RBT transmission". When the calling method is set to "RBT calling", thecontrol unit 338 of themanagement device 12 transmits a ringtone volume change instruction to the secondterminal device 16b (S1156). The ringtone volume change instruction is specifically an instruction to change the ringtone volume of the secondterminal device 16b to the volume set by the ringtone volume V. The ringtone volume change instruction can be considered to be control information (control signal) that indicates the ringtone (incoming call notification form) corresponding to the communication ease index.
  第2端末装置16bの制御部38は、管理装置12から着信音量変更指示を受信した場合、第2端末装置16bの着信音量を着信音量変更指示で指定された着信音量Vへ変更する(S1158)。第2端末装置16bの制御部38は着信音量の変更終了後、管理装置12へ着信音量変更応答を送信する(S1160)。管理装置12の制御部338は、第2端末装置16bから着信音量変更応答を受信した後、第2端末装置16bへINVITE(手動応答)を送信する(S1162)。S1164からS1186のシーケンスは、図12(b)のS56からS78と同じである。When thecontrol unit 38 of the secondterminal device 16b receives a ringtone volume change instruction from themanagement device 12, it changes the ringtone volume of the secondterminal device 16b to the ringtone volume V specified in the ringtone volume change instruction (S1158). After thecontrol unit 38 of the secondterminal device 16b has changed the ringtone volume, it transmits a ringtone volume change response to the management device 12 (S1160). After receiving the ringtone volume change response from the secondterminal device 16b, thecontrol unit 338 of themanagement device 12 transmits an INVITE (manual response) to the secondterminal device 16b (S1162). The sequence from S1164 to S1186 is the same as S56 to S78 in FIG. 12(b).
  図23は、端末装置16が着信音量変更指示を受信した場合の処理の手順を示すフローチャートである。S600において、制御部38は着信音量変更指示を受信したか否かを判定する。着信音量変更指示を受信した場合(S600:Yes)は、S610に進む。着信音量変更指示を受信していない場合(S600:No)は、S600に戻り処理を繰り返す。S610において、制御部38は端末装置16の着信音量を着信音量変更指示で指定された着信音量Vへ変更する。具体的には、制御部38は受信した音量変更指示の情報(着信音量Vに関する情報)を記憶部40に記憶する。その後S620に進む。S620において、制御部38は管理装置12へ着信音量変更応答を送信する。その後S600に戻り処理を繰り返す。Figure 23 is a flowchart showing the procedure of processing when theterminal device 16 receives a ring volume change instruction. In S600, thecontrol unit 38 determines whether or not a ring volume change instruction has been received. If a ring volume change instruction has been received (S600: Yes), the process proceeds to S610. If a ring volume change instruction has not been received (S600: No), the process returns to S600 and repeats the process. In S610, thecontrol unit 38 changes the ring volume of theterminal device 16 to the ring volume V specified in the ring volume change instruction. Specifically, thecontrol unit 38 stores information on the received volume change instruction (information on the ring volume V) in thestorage unit 40. Then, the process proceeds to S620. In S620, thecontrol unit 38 transmits a ring volume change response to themanagement device 12. Then, the process returns to S600 and repeats the process.
  図24は、管理装置12による処理の手順を示すフローチャートである。これは、管理装置12の着信音量決定処理から発信処理までの手順に相当する。S710において、制御部338は計時部332より現時刻CTを取得する。その後S720に進む。S720において、制御部338は記憶部340の履歴テーブル362から、端末IDが発信先端末装置16であり、かつ操作日時と現時刻CTの差分Pが所定の期間(例えば2時間)より短い全てのレコードRを取得する。その後S730に進む。S730において、制御部338は在室指標Z、騒音指標Yおよび式(1)から総合指標Xを計算する。その後S740に進む。Figure 24 is a flow chart showing the procedure of processing by themanagement device 12. This corresponds to the procedure from the ringtone volume determination process to the outgoing call process of themanagement device 12. In S710, thecontrol unit 338 acquires the current time CT from theclock unit 332. Then, the process proceeds to S720. In S720, thecontrol unit 338 acquires all records R from the history table 362 in thestorage unit 340, in which the terminal ID is thedestination terminal device 16 and the difference P between the operation date and time and the current time CT is shorter than a predetermined period (e.g., 2 hours). Then, the process proceeds to S730. In S730, thecontrol unit 338 calculates the overall index X from the occupancy index Z, the noise index Y, and equation (1). Then, the process proceeds to S740.
  S740において、制御部338は記憶部340の着信音量テーブルを参照し、総合指標Xに対応する着信音量Vを設定する。その後S750に進む。S750において、制御部338は着信音量Vが0であるか否かを判定する。着信音量Vが0である場合(S750:Yes)は、S790に進む。着信音量Vが0でない場合(S750:No)は、S760に進む。S760において、制御部338は発信先端末装置16へ着信音量変更指示を送信する。その後S770に進む。In S740, thecontrol unit 338 refers to the ringtone volume table in thestorage unit 340 and sets the ringtone volume V corresponding to the overall index X. Then, the process proceeds to S750. In S750, thecontrol unit 338 determines whether the ringtone volume V is 0 or not. If the ringtone volume V is 0 (S750: Yes), the process proceeds to S790. If the ringtone volume V is not 0 (S750: No), the process proceeds to S760. In S760, thecontrol unit 338 transmits a ringtone volume change instruction to thedestination terminal device 16. Then, the process proceeds to S770.
  S760において、制御部338は発信先端末装置16から着信音量変更応答を受信したか否かを判定する。着信音量変更応答を受信していない場合(S760:No)は、S770に戻って処理を繰り返す。着信音量変更応答を受信した場合(S760:Yes)は、S780に進む。S780において、管理装置12の制御部338は発信先端末装置16へINVITE(手動応答)を送信する。その後処理を終了する。S790において、管理装置12の制御部338は発信先端末装置16へINVITE(自動応答)を送信する。その後処理を終了する。In S760, thecontrol unit 338 determines whether or not a ringtone volume change response has been received from thedestination terminal device 16. If a ringtone volume change response has not been received (S760: No), the process returns to S770 and repeats. If a ringtone volume change response has been received (S760: Yes), the process proceeds to S780. In S780, thecontrol unit 338 of themanagement device 12 sends an INVITE (manual response) to thedestination terminal device 16. The process then ends. In S790, thecontrol unit 338 of themanagement device 12 sends an INVITE (automatic response) to thedestination terminal device 16. The process then ends.
  S780が実行された場合、発信先端末装置16は、INVITE(手動応答)を受信した際に、記憶部40から着信音量Vに関する情報を読み出し、それにしたがって、音声出力部から着信音を出力する。つまり、管理装置12から指定された着信音量Vで着信音を出力する。When S780 is executed, upon receiving an INVITE (manual response), thedestination terminal device 16 reads information about the ringtone volume V from thestorage unit 40 and outputs the ringtone from the audio output unit accordingly. In other words, the ringtone is output at the ringtone volume V specified by themanagement device 12.
  本実施例では管理装置12から端末装置16へ着信音量の変更を通知する際に着信音量変更通知を送信し、端末装置16から管理装置12へ着信音量変更応答を送信するシーケンスを説明したが、端末装置16の着信音量を変更する手順は他のシーケンスを用いてもよい。例えば、管理装置12の制御部338は着信音量Vが0でない場合、着信音量変更通知を送信せずに、INVITE(手動応答)内のパラメータに着信音量Vを設定して送信してもよい。端末装置16の制御部38は管理装置12からINVITE(手動応答)を受信した際に、INVITE(手動応答)内のパラメータに着信音量Vが設定されているか否かを判定し、着信音量Vが設定されていた場合は、それにしたがって端末装置16の着信音量を設定し、音声出力部46から着信音を出力すればよい。In this embodiment, a sequence has been described in which a ringtone volume change notification is sent when notifying theterminal device 16 of a change in ringtone volume from themanagement device 12, and a ringtone volume change response is sent from theterminal device 16 to themanagement device 12, but other sequences may be used to change the ringtone volume of theterminal device 16. For example, if the ringtone volume V is not 0, thecontrol unit 338 of themanagement device 12 may set the ringtone volume V as a parameter in the INVITE (manual response) and send it, without sending a ringtone volume change notification. When thecontrol unit 38 of theterminal device 16 receives an INVITE (manual response) from themanagement device 12, it determines whether the ringtone volume V is set as a parameter in the INVITE (manual response), and if the ringtone volume V is set, it sets the ringtone volume of theterminal device 16 accordingly and outputs the ringtone from theaudio output unit 46.
  上記の場合、管理装置12の制御部338は図24のフローチャートにおいて、(S750:No)の後にS780に相当するS780Aに遷移し、S780Aにて発信先端末装置16へ送信するINVITE(手動応答)のパラメータに着信音量Vを設定して処理を終了してもよい。また端末装置16の制御部38は図20のフローチャートの処理を省略してもよい。In the above case, thecontrol unit 338 of themanagement device 12 may transition to S780A, which corresponds to S780, after (S750: No) in the flowchart of FIG. 24, and may set the ring volume V as a parameter of the INVITE (manual response) to be sent to thedestination terminal device 16 in S780A, and end the process. Thecontrol unit 38 of theterminal device 16 may also omit the process in the flowchart of FIG. 20.
  また、本実施例では、実施例4で説明した通信容易性指標である総合指標Xにより着信音量Vを決定したが、実施例2で説明した在室指標Z、あるいは実施例3で説明した騒音指標Yにより着信音量Vを決定してもよい。在室指標Zにて着信音量Vを決定する場合、管理装置12の記憶部340に記録される着信音量テーブルは在室指標Zが高い程着信音量は小さい数値が設定され、在室指標Zが低い程着信音量は大きい数値が設定される。また、騒音指標Yにて着信音量Vを決定する場合、管理装置12の記憶部340に記録される着信音量テーブルは騒音指標Yが低い程着信音量は小さい数値が設定され、騒音指標Yが高い程着信音量は大きい数値が設定される。In this embodiment, the ringtone volume V is determined by the overall index X, which is the communication ease index described inembodiment 4, but the ringtone volume V may be determined by the presence index Z described inembodiment 2 or the noise index Y described inembodiment 3. When the ringtone volume V is determined by the presence index Z, the ringtone volume table recorded in thestorage unit 340 of themanagement device 12 is set so that the higher the presence index Z, the lower the ringtone volume is set, and the lower the presence index Z, the higher the ringtone volume is set. When the ringtone volume V is determined by the noise index Y, the ringtone volume table recorded in thestorage unit 340 of themanagement device 12 is set so that the lower the noise index Y, the lower the ringtone volume is set, and the higher the noise index Y, the higher the ringtone volume is set.
  また、本実施例では、通信容易性指標をもとに着信音量Vを決定したが、これに限定されるものではない。例えば、通信容易性指標をもとに、着信時に端末装置16から出力(発生)される振動(バイブレーション)の大きさ(程度)を決定してもよい。例えば、通信容易性指標が高いほど、振動の大きさ(振幅)を小さくし、通信容易性指標が低いほど、振動の大きさを大きくしてもよい。あるいは、通信容易性指標に応じて、振動の周波数、振動する時間、振動パターンなどを変えてもよい。特に端末装置16においてマナーモード等が設定されている場合、着信音が出力されず、振動が出力されるため、端末装置16のユーザは、振動を感知することにより、通信(着信)の存在を認識する。このため、着信時に端末装置16が発生する振動は、着信を報知する形態の1つである。In addition, in this embodiment, the ringtone volume V is determined based on the communication ease index, but this is not limited to this. For example, the magnitude (degree) of the vibration output (generated) from theterminal device 16 upon an incoming call may be determined based on the communication ease index. For example, the higher the communication ease index, the smaller the vibration magnitude (amplitude), and the lower the communication ease index, the larger the vibration magnitude. Alternatively, the frequency of the vibration, the vibration time, the vibration pattern, etc. may be changed according to the communication ease index. In particular, when a manner mode or the like is set in theterminal device 16, a ringtone is not output and vibration is output, so that the user of theterminal device 16 recognizes the presence of communication (incoming call) by sensing the vibration. For this reason, the vibration generated by theterminal device 16 upon an incoming call is one form of notifying an incoming call.
  また、通信容易性指標をもとに、着信側の端末装置16から出力される通話音量を決定してもよい。例えば、通信容易性指標が高いほど、通話音量を小さく設定し、通信容易性指標が低いほど、通話音量を大きく設定してもよい。通常発信においては、着信音が出力されず、通話音声の出力により、端末装置16のユーザは通信(着信)の存在を認識する。このため、通話音声の出力は、着信を報知する形態の1つである。The call volume output from theterminal device 16 on the receiving side may also be determined based on the communication ease index. For example, the higher the communication ease index, the lower the call volume may be set, and the lower the communication ease index, the higher the call volume may be set. In normal outgoing calls, no ringtone is output, and the user of theterminal device 16 becomes aware of the presence of communication (incoming call) by the output of the call voice. For this reason, the output of the call voice is one form of notifying an incoming call.
  また、着信した際に端末装置16は、表示部36に着信メッセージを表示したり、発光部(不図示)を発光させてもよい。つまり、聴覚的な着信通知に限らず、視覚的な着信通知を行ってもよい。そして、通信容易性指標に応じて、視覚的な着信通知を変化させてもよい。例えば、通信容易性指標が相対的に高い場合に、表示部に表示するメッセージのフォントを小さくし、通信容易性指標が相対的に低い場合に、表示部に表示するメッセージのフォントを大きくしてもよい。また、着信時に表示部36を点滅させるとともに、通信容易性指標が高いほど、点滅における明暗差(コントラスト)を小さくし、通信容易性指標が低いほど、点滅における明暗差を大きくしてもよい。また、着信時に発光部を発光あるいは点滅させるとともに、通信容易性指標が高いほど、発光量を小さくし、通信容易性指標が低いほど、発光量を大きくしてもよい。すなわち、表示の変化および発光の変化は、着信を報知する形態の1つである。また、視覚的な通知(報知)と聴覚的な通知(報知)を両方用いてもよい。また、通信容易性指標に応じて、報知に用いる手段(報知手段)の数を変えてもよい。例えば、通信容易性指標が高い場合には、振動のみを用いて報知し、通信容易性指標が中程度である場合には、振動と発光を組み合わせて報知し、通信容易性指標が低い場合には、振動と発光と呼出音を組み合わせて報知してもよい。管理装置12の制御部338は、端末装置16が着信報知で使用すべき手段(着信音、振動、発光、表示など)を示す情報を着信音量変更指示や他の制御情報に含めてもよい。すなわち、管理装置12の制御部338は、通信容易性指標が低いほど、報知手段の数が多くなるように制御してもよい。When an incoming call is received, theterminal device 16 may display an incoming call message on thedisplay unit 36 or may illuminate the light-emitting unit (not shown). That is, the incoming call may be not only audibly notified, but also visually notified. The visual incoming call may be changed according to the communication ease index. For example, when the communication ease index is relatively high, the font of the message displayed on the display unit may be made smaller, and when the communication ease index is relatively low, the font of the message displayed on the display unit may be made larger. When an incoming call is received, thedisplay unit 36 may be blinked, and the higher the communication ease index, the smaller the contrast of the blinking, and the lower the communication ease index, the larger the contrast of the blinking. When an incoming call is received, the light-emitting unit may be illuminated or blinked, and the higher the communication ease index, the smaller the amount of light emitted, and the lower the communication ease index, the larger the amount of light emitted. That is, the change in the display and the change in the light emitted are one form of notifying an incoming call. In addition, both visual and auditory notifications may be used. In addition, the number of means (notification means) used for notification may be changed depending on the communication ease index. For example, when the communication ease index is high, notification may be made using only vibration, when the communication ease index is medium, notification may be made using a combination of vibration and light emission, and when the communication ease index is low, notification may be made using a combination of vibration, light emission, and ringtone. Thecontrol unit 338 of themanagement device 12 may include information indicating the means (ringtone, vibration, light emission, display, etc.) that theterminal device 16 should use to notify an incoming call in the ringtone volume change instruction or other control information. In other words, thecontrol unit 338 of themanagement device 12 may control so that the number of notification means increases as the communication ease index decreases.
  本実施例によれば、総合指標Xの値により発信先端末装置16への発信方法および発信先端末装置16での着信音量を決定するので、自動で適切な通信モードを決定することが可能となり、使用者18へ迅速に情報を伝えることができる。また、端末装置16の着信音量や通話音量を適切な音量に変更することにより、通話情報が使用者18に認識されない事態の発生を低減できる。さらに、着信音量を必要以上に大きくすることを防止できるため、端末装置16の周囲に存在する人(第三者)に着信音による迷惑(不快感やストレス)を与えることを抑制できる。すなわち、着信対象の状況に応じて、着信を報知する適切な形態を高い精度で選択できる。また、管理装置12で通信モードを自動で決定することにより、発信元端末装置16において通信モードを設定、選択する手間を省くことができる。According to this embodiment, the method of calling thedestination terminal device 16 and the ringtone volume at thedestination terminal device 16 are determined based on the value of the overall index X, so that an appropriate communication mode can be automatically determined, and information can be quickly conveyed to the user 18. In addition, by changing the ringtone volume and call volume of theterminal device 16 to an appropriate volume, the occurrence of a situation in which the user 18 does not recognize the call information can be reduced. Furthermore, since it is possible to prevent the ringtone volume from being increased more than necessary, it is possible to suppress the nuisance (discomfort and stress) caused by the ringtone to people (third parties) around theterminal device 16. In other words, it is possible to select an appropriate form of notification of an incoming call with high accuracy depending on the situation of the recipient of the call. In addition, by automatically determining the communication mode in themanagement device 12, it is possible to eliminate the effort of setting and selecting the communication mode at the sourceterminal device 16.
(実施例7)
  実施例7では、これまでの実施例で説明した通信容易性指標をもとに、端末装置16の着信音量、および着信音を出力する時間(着信時間)を決定する。つまり、通信容易性指標をもとに、端末装置16において着信を報知する形態(着信報知形態)を決定する。以下の説明では、通信容易性指標として、実施例4で説明した総合指標Xを用いるが、これに限定される訳ではない。本実施例の端末装置16は、携帯電話端末であり、スマートフォンなどの移動型通話装置である。本実施例の端末装置16のブロック図は図6と同じである。また、管理装置12は実施例1の構成に加えて、記憶部340に履歴テーブル362の他、着信設定テーブルを記録する。(Example 7)
 In the seventh embodiment, the ring volume and the time (incoming call time) for outputting the ring tone of theterminal device 16 are determined based on the communication ease index described in the previous embodiments. In other words, the form in which theterminal device 16 notifies an incoming call (incoming call notification form) is determined based on the communication ease index. In the following description, the overall index X described in the fourth embodiment is used as the communication ease index, but is not limited to this. Theterminal device 16 in this embodiment is a mobile phone terminal, a mobile communication device such as a smartphone. The block diagram of theterminal device 16 in this embodiment is the same as that in FIG. 6. In addition to the configuration of the first embodiment, themanagement device 12 records an incoming call setting table in addition to the history table 362 in thememory unit 340.
  端末装置16は通話を受信した際、使用者(ユーザ)18へ通話の着信を知らせるために着信音を出力する。着信音出力中に端末装置16の通話ボタンを押すことにより、発信元の使用者18との通話が開始される。また、所定回数あるいは所定時間着信音を出力しても通話ボタンが押されない場合、タイムアウトにより着信音の出力を終了する、あるいは自動的に録音モード(留守番電話の録音)に移行する、あるいは留守番電話サービス等に切り替わる動作が一般的である。When theterminal device 16 receives a call, it outputs a ringtone to notify the user 18 of the incoming call. By pressing the talk button on theterminal device 16 while the ringtone is being output, a call with the calling user 18 is started. Also, if the talk button is not pressed after the ringtone has been output a specified number of times or for a specified period of time, it is common for the output of the ringtone to end due to a timeout, or to automatically switch to a recording mode (recording of answering machine), or to switch to an answering machine service, etc.
  図25(a)-(b)は、第1端末装置16aから第2端末装置16bに発信を行う場合の手順を示すシーケンス図である。図25(a)は、呼び出し(着信)が使用者18に認識されて通話が成立する場合のシーケンス図である。S1198からS1210は、図12(b)のS50からS62と同一である。第2端末装置16bでは着信音が2回出力された(S1212、S1214)後に、第2端末装置16bの使用者18が通話ボタンを押下して(S1216)、通話が開始される。S1218からS1230は、図12(b)のS66からS78と同一である。Figures 25(a)-(b) are sequence diagrams showing the procedure when a call is made from a firstterminal device 16a to a secondterminal device 16b. Figure 25(a) is a sequence diagram when a call (incoming call) is recognized by the user 18 and a call is established. S1198 to S1210 are the same as S50 to S62 in Figure 12(b). After the ringtone is output twice in the secondterminal device 16b (S1212, S1214), the user 18 of the secondterminal device 16b presses the call button (S1216) and the call is started. S1218 to S1230 are the same as S66 to S78 in Figure 12(b).
  図25(b)は、呼び出し(着信)がユーザに使用者18に認識されず、通話が成立しない場合のシーケンス図である。S1250からS1262は、図12(b)のS50からS62と同一である。第2端末装置16bでは着信音が複数回出力された(S1264からS1272)後、通話ボタンが押下されないため、呼び出しはタイムアウトと判定される(S1274)。第2端末装置16bはBYEを送信し(S1276)、管理装置12はBYEを転送する(S1278)。第1端末装置16aはACKを送信し(S1280)、管理装置12はACKを転送する(S1282)。Figure 25 (b) is a sequence diagram in the case where the call (incoming call) is not recognized by the user 18 and the call is not established. S1250 to S1262 are the same as S50 to S62 in Figure 12 (b). After the ringtone is output multiple times (S1264 to S1272) in the secondterminal device 16b, the call is determined to have timed out (S1274) because the talk button is not pressed. The secondterminal device 16b sends a BYE (S1276), and themanagement device 12 transfers the BYE (S1278). The firstterminal device 16a sends an ACK (S1280), and themanagement device 12 transfers the ACK (S1282).
  本実施例では、管理装置12の制御部338は、発信元の端末装置16から通話開始要求を受信した際、実施例4の式(1)を用いて発信先の端末装置16の総合指標Xを計算する。次に管理装置12の制御部338は記憶部の着信設定テーブルを参照する。図26は、着信設定テーブルのデータ構造を示す。本テーブルには総合指標X毎に、発信先の端末装置16にて出力される着信音量、および着信回数が記録される。総合指標Xは式(1)で計算される数値である。着信音量は端末装置16で出力する着信音の音量を示す数値が記録される。着信回数には端末装置16が着信音を出力する回数の上限値を示す数値が記録される。着信音の出力回数が、この上限値に達すると、タイムアウトと判定され、呼び出しが終了となる、あるいは留守番電話の録音が開始される。なお、本図では例として総合指標Xの上限値を100、下限値を0とし、また着信音量の上限値を100、下限値を20とし、着信回数の上限値を25、下限値を5としているが、他の上限値、下限値を用いてもよい。本図では総合指標Xが高い場合、すなわち使用者18が着信や通話音声を認識し易い場合、着信音量は小さく、また着信回数も小さい数値が記録される。総合指標Xが低い場合、すなわち使用者18が着信や通話音声を認識し難い場合、着信音量は大きく、また着信回数も大きい数値が記録される。つまり、通信容易性指標が高いほど、着信音量は小さく設定され、着信回数は少なく設定される。また、通信容易性指標が低いほど、着信音量は大きく設定され、着信回数は多く設定される。In this embodiment, when thecontrol unit 338 of themanagement device 12 receives a call start request from theterminal device 16 of the call originator, it calculates the overall index X of theterminal device 16 of the call destination using formula (1) ofembodiment 4. Next, thecontrol unit 338 of themanagement device 12 refers to the incoming call setting table in the storage unit. FIG. 26 shows the data structure of the incoming call setting table. In this table, the ringtone volume output by theterminal device 16 of the call originator and the number of incoming calls are recorded for each overall index X. The overall index X is a numerical value calculated using formula (1). The ringtone volume is a numerical value indicating the volume of the ringtone output by theterminal device 16. The number of incoming calls is a numerical value indicating the upper limit of the number of times theterminal device 16 outputs the ringtone. When the number of times the ringtone is output reaches this upper limit, it is determined to be a timeout, and the call is terminated or an answering machine starts recording. In the figure, as an example, the upper limit of the overall index X is 100 and the lower limit is 0, the upper limit of the ringtone volume is 100 and the lower limit is 20, and the upper limit of the number of incoming calls is 25 and the lower limit is 5, but other upper and lower limits may be used. In the figure, when the overall index X is high, that is, when the user 18 can easily recognize incoming calls and voices, the ringtone volume is low and the number of incoming calls is also recorded as a low value. When the overall index X is low, that is, when the user 18 cannot easily recognize incoming calls and voices, the ringtone volume is high and the number of incoming calls is also recorded as a high value. In other words, the higher the communication ease index, the lower the ringtone volume is set and the lower the number of incoming calls is set. Also, the lower the communication ease index, the higher the ringtone volume is set and the higher the number of incoming calls is set.
  図27は、第1端末装置16aから第2端末装置16bに発信を行い、管理装置12が着信設定決定処理を行う場合の手順を示すシーケンス図である。これは、第1端末装置16aから第2端末装置16bへ発信を行い、管理装置12が着信設定決定処理を行い、第2端末装置16bにて呼び出しタイムアウトになった場合のシーケンスの例となる。第1端末装置16aにおいて発信がなされると(S1298)、第1端末装置16aは、通話開始要求であるINVITEを送信する(S1300)。管理装置12の制御部338は第1端末装置16aからのINVITEを受信した場合、発信先の第2端末装置16bの着信設定決定処理を行う(S1302)。Figure 27 is a sequence diagram showing the procedure when a call is made from the firstterminal device 16a to the secondterminal device 16b and themanagement device 12 performs the incoming call setting determination process. This is an example of a sequence when a call is made from the firstterminal device 16a to the secondterminal device 16b, themanagement device 12 performs the incoming call setting determination process, and a call timeout occurs at the secondterminal device 16b. When a call is made from the firstterminal device 16a (S1298), the firstterminal device 16a sends an INVITE, which is a call start request (S1300). When thecontrol unit 338 of themanagement device 12 receives the INVITE from the firstterminal device 16a, it performs the incoming call setting determination process for the secondterminal device 16b, which is the destination of the call (S1302).
  着信設定決定処理は、具体的には発信先の第2端末装置16bの総合指標Xを計算し、着信設定テーブルから第2端末装置16bの着信音量V、および着信回数Cの組合せである着信設定VCを決定する処理である。例えば、着信設定VCは、総合指標Xが80以上の場合、着信音量Vは「20」、着信回数Cは「5」となり、総合指標Xが60以上80未満の場合、着信音量はV「40」、着信回数Cは「10」となり、総合指標Xが40以上60未満の場合、着信音量Vは「60」、着信回数Cは「15」となり、総合指標Xが20以上40未満の場合、着信音量Vは「80」、着信回数Cは「20」となり、総合指標Xが0以上20未満の場合、着信音量Vは「100」、着信回数Cは「25」となる。すなわち、着信設定決定処理は、第2端末装置16bにおける着信を報知する形態を決定する処理であり、「着信報知形態決定処理」とも呼ばれる。Specifically, the incoming call setting determination process is a process of calculating the overall index X of the secondterminal device 16b, which is the destination, and determining the incoming call setting VC, which is a combination of the incoming call volume V of the secondterminal device 16b and the number of incoming calls C, from the incoming call setting table. For example, when the overall index X is 80 or more, the incoming call setting VC is set to "20" for the incoming call volume V and "5" for the number of incoming calls C; when the overall index X is 60 or more and less than 80, the incoming call volume V is "40" and the number of incoming calls C is "10"; when the overall index X is 40 or more and less than 60, the incoming call volume V is "60" and the number of incoming calls C is "15"; when the overall index X is 20 or more and less than 40, the incoming call volume V is "80" and the number of incoming calls C is "20"; and when the overall index X is 0 or more and less than 20, the incoming call volume V is "100" and the number of incoming calls C is "25". In other words, the incoming call setting determination process is a process that determines the form in which an incoming call is notified in the secondterminal device 16b, and is also called the "incoming call notification form determination process."
  管理装置12の制御部338は着信設定決定処理を実行後、第2端末装置16bへ着信設定変更指示を送信する(S1304)。着信設定変更指示は、具体的には第2端末装置16bの着信音量および着信回数を、それぞれ着信音量V、着信回数Cで設定された数値へ変更させる指示となる。第2端末装置16bの制御部38は、管理装置12から着信設定変更指示を受信した場合、記憶部40に着信設定変更指示の内容を記録する(S1306)。第2端末装置16bの制御部38は着信設定変更指示の内容を記録した後、管理装置12へ着信設定変更応答を送信する(S1308)。管理装置12の制御部338は、第2端末装置16bから着信設定変更応答を受信した後、第2端末装置16bへINVITE(手動応答)を送信する(S1310)。第2端末装置16bの制御部38は、INVITE(手動応答)を受信後、記憶部40に記録された着信設定変更指示にしたがい、着信音量を着信音量Vに変更し(S1312)、着信回数を着信回数Cへ変更する(S1314)。着信設定変更指示は、通信容易性指標に対応した着信音(着信報知形態)を示す制御情報(制御信号)であるといえる。After executing the call setting determination process, thecontrol unit 338 of themanagement device 12 transmits an incoming call setting change instruction to the secondterminal device 16b (S1304). The incoming call setting change instruction is specifically an instruction to change the incoming call volume and the number of incoming calls of the secondterminal device 16b to the values set by the incoming call volume V and the number of incoming calls C, respectively. When thecontrol unit 38 of the secondterminal device 16b receives the incoming call setting change instruction from themanagement device 12, it records the contents of the incoming call setting change instruction in the storage unit 40 (S1306). After recording the contents of the incoming call setting change instruction, thecontrol unit 38 of the secondterminal device 16b transmits an incoming call setting change response to the management device 12 (S1308). After receiving the incoming call setting change response from the secondterminal device 16b, thecontrol unit 338 of themanagement device 12 transmits an INVITE (manual response) to the secondterminal device 16b (S1310). After receiving the INVITE (manual response), thecontrol unit 38 of the secondterminal device 16b changes the ring volume to ring volume V (S1312) and the number of incoming calls to number of incoming calls C (S1314) in accordance with the incoming call setting change instruction recorded in thestorage unit 40. The incoming call setting change instruction can be considered to be control information (control signal) that indicates the ring tone (incoming call notification form) corresponding to the communication ease index.
  第2端末装置16bは、第1端末装置16a宛てにステータスコード100  Tryingを送信する(S1316)。送信されたステータスコード100  Tryingは管理装置12を経由し、第1端末装置16aに送信される(S1318)。第2端末装置16bはステータスコード100  Tryingを送信した後、第1端末装置16a宛てにステータスコード180  Ringingを送信する(S1320)。送信されたステータスコード180  Ringingは管理装置12を経由し、第1端末装置16aに送信される(S1322)。The secondterminal device 16b transmits astatus code 100 Trying to the firstterminal device 16a (S1316). The transmittedstatus code 100 Trying is sent to the firstterminal device 16a via the management device 12 (S1318). After transmitting thestatus code 100 Trying, the secondterminal device 16b transmits astatus code 180 Ringing to the firstterminal device 16a (S1320). The transmittedstatus code 180 Ringing is sent to the firstterminal device 16a via the management device 12 (S1322).
  第2端末装置16bの制御部38は音声出力部46を制御して、着信回数Cで設定された回数を上限に着信音を出力させ(S1324~S1330)、その間に第2端末装置16bの使用者18が通話ボタンを押下する等の所定の操作を行わなければタイムアウトと判定し(S1332)、着信音の出力を停止する。第2端末装置16bはBYEを送信し(S1334)、管理装置12はBYEを転送する(S1336)。第1端末装置16aはACKを送信し(S1338)、管理装置12はACKを転送する(S1340)。Thecontrol unit 38 of the secondterminal device 16b controls theaudio output unit 46 to output the ringtone up to the number of times set in the incoming call count C (S1324-S1330), and if the user 18 of the secondterminal device 16b does not perform a specified operation such as pressing the talk button during that time, it determines that a timeout has occurred (S1332) and stops outputting the ringtone. The secondterminal device 16b sends a BYE (S1334), and themanagement device 12 forwards the BYE (S1336). The firstterminal device 16a sends an ACK (S1338), and themanagement device 12 forwards the ACK (S1340).
  図28は、端末装置16による処理の手順を示すフローチャートである。これは、端末装置16の制御部38が通信部34を介して、管理装置12から着信設定変更指示を受信し、着信を報知する処理(呼び出し処理)を行う際の手順に相当する。S900において、制御部38は着信設定変更指示を受信したか否かを判定する。着信設定変更指示を受信した場合(S900:Yes)は、S910に進む。着信設定変更指示を受信していない場合(S900:No)は、S900に戻り処理を繰り返す。S910において、制御部38は通信部34を経由して受信した着信設定変更指示を記憶部40に記録する。その後S920に進む。S920において、制御部38は通信部34を介して管理装置12へ着信設定変更応答を送信する。その後S930に進む。Figure 28 is a flowchart showing the procedure of processing by theterminal device 16. This corresponds to the procedure when thecontrol unit 38 of theterminal device 16 receives an incoming call setting change instruction from themanagement device 12 via thecommunication unit 34 and performs processing to notify of an incoming call (call processing). In S900, thecontrol unit 38 determines whether or not an incoming call setting change instruction has been received. If an incoming call setting change instruction has been received (S900: Yes), the process proceeds to S910. If an incoming call setting change instruction has not been received (S900: No), the process returns to S900 and repeats the process. In S910, thecontrol unit 38 records the incoming call setting change instruction received via thecommunication unit 34 in thestorage unit 40. Then, the process proceeds to S920. In S920, thecontrol unit 38 transmits an incoming call setting change response to themanagement device 12 via thecommunication unit 34. Then, the process proceeds to S930.
  S930にて、制御部38は管理装置12からINVITE(手動応答)を受信したか否かを判定する。INVITE(手動応答)を受信した場合(S930:Yes)は、S940に進む。INVITE(手動応答)を受信していない場合(S930:No)は、S930に戻り処理を繰り返す。S940にて、制御部38は記憶部40の着信設定変更指示を読み出して、着信音量を着信音量Vに変更し、着信回数を着信回数Cへ変更した後、音声出力部46に着信音を出力させる。制御部38は着信回数Cの期間に使用者18が所定の操作を行って通話が開始されれば着信音の出力を停止させる。一方、その期間に使用者18が所定の操作を行わなければタイムアウトと判定し、着信音の出力を停止させる。その後S900に戻り処理を繰り返す。At S930, thecontrol unit 38 determines whether or not an INVITE (manual response) has been received from themanagement device 12. If an INVITE (manual response) has been received (S930: Yes), the process proceeds to S940. If an INVITE (manual response) has not been received (S930: No), the process returns to S930 and repeats the process. At S940, thecontrol unit 38 reads the incoming call setting change instruction from thestorage unit 40, changes the incoming call volume to the incoming call volume V, changes the number of incoming calls to the number of incoming calls C, and then causes theaudio output unit 46 to output an incoming call tone. If the user 18 performs a predetermined operation during the period of the number of incoming calls C to start a call, thecontrol unit 38 stops the output of the incoming call tone. On the other hand, if the user 18 does not perform a predetermined operation during that period, thecontrol unit 38 determines that a timeout has occurred and stops the output of the incoming call tone. Then, the process returns to S900 and repeats the process.
  図29は、管理装置12による処理の手順を示すフローチャートである。これは、管理装置12の着信設定決定処理から発信処理までの手順に相当する。S810において、制御部338は計時部332より現時刻CTを取得する。その後S820に進む。S820において、制御部338は記憶部340の履歴テーブル362から、端末IDが発信先の端末装置16であり、かつ操作日時と現時刻CTの差分Pが所定の期間(例えば2時間)より短い全てのレコードRを取得する。その後S830に進む。S830において、制御部338は在室指標Z、騒音指標Yおよび式(1)から総合指標Xを計算する。その後S840に進む。S840において、制御部338は記憶部340の着信設定テーブルを参照し、総合指標Xに対応する着信設定VCを決定する。その後S850に進む。Figure 29 is a flowchart showing the procedure of processing by themanagement device 12. This corresponds to the procedure from the incoming call setting determination process to the outgoing call process of themanagement device 12. In S810, thecontrol unit 338 acquires the current time CT from theclock unit 332. Then, proceed to S820. In S820, thecontrol unit 338 acquires all records R from the history table 362 in thestorage unit 340, in which the terminal ID is thedestination terminal device 16 and the difference P between the operation date and time and the current time CT is shorter than a predetermined period (e.g., 2 hours). Then, proceed to S830. In S830, thecontrol unit 338 calculates the overall index X from the occupancy index Z, the noise index Y, and formula (1). Then, proceed to S840. In S840, thecontrol unit 338 refers to the incoming call setting table in thestorage unit 340 and determines the incoming call setting VC corresponding to the overall index X. Then, proceed to S850.
  S850において、制御部338は通信部334を介して発信先の端末装置16へ着信設定変更指示を送信する。その後S860に進む。S860において、制御部338は通信部334を介して発信先の端末装置16から着信設定変更応答を受信したか否かを判定する。着信音量変更応答を受信していない場合(S860:No)は、S860に戻って処理を繰り返す。着信音量変更応答を受信した場合(S860:Yes)は、S870に進む。S870において、管理装置12の制御部338は通信部334を介して発信先の端末装置16へINVITE(手動応答)を送信する。その後処理を終了する。In S850, thecontrol unit 338 transmits an instruction to change the incoming call settings to thedestination terminal device 16 via thecommunication unit 334. The process then proceeds to S860. In S860, thecontrol unit 338 determines whether or not an incoming call settings change response has been received from thedestination terminal device 16 via thecommunication unit 334. If an incoming call volume change response has not been received (S860: No), the process returns to S860 and repeats. If an incoming call volume change response has been received (S860: Yes), the process proceeds to S870. In S870, thecontrol unit 338 of themanagement device 12 transmits an INVITE (manual response) to thedestination terminal device 16 via thecommunication unit 334. The process then ends.
  なお、本実施例では管理装置12から端末装置16へ着信音量の変更を通知する際に着信設定変更通知を送信し、端末装置16から管理装置12へ着信設定変更応答を送信するシーケンスを説明したが、端末装置16の着信音量、および着信回数を変更する手順は他のシーケンスを用いてもよい。例えば、管理装置12の制御部338は、着信設定変更通知を送信せずに、INVITE(手動応答)内のパラメータに着信音量Vおよび着信回数Cを設定して送信してもよい。端末装置16の制御部38は管理装置12からINVITE(手動応答)を受信した際に、INVITE(手動応答)内のパラメータに着信音量Vおよび着信回数Cが設定されているか否かを判定し、着信音量Vおよび着信回数Cが設定されていた場合は端末装置16の着信音量を着信音量Vへ、また着信回数を着信回数Cに変更する。In this embodiment, a sequence has been described in which themanagement device 12 sends an incoming call setting change notification when notifying theterminal device 16 of a change in the ringtone volume, and theterminal device 16 sends an incoming call setting change response to themanagement device 12. However, other sequences may be used for changing the ringtone volume and number of incoming calls of theterminal device 16. For example, thecontrol unit 338 of themanagement device 12 may set the ringtone volume V and the number of incoming calls C as parameters in the INVITE (manual response) and send it without sending an incoming call setting change notification. When thecontrol unit 38 of theterminal device 16 receives the INVITE (manual response) from themanagement device 12, it determines whether the ringtone volume V and the number of incoming calls C are set as parameters in the INVITE (manual response), and if the ringtone volume V and the number of incoming calls C are set, it changes the ringtone volume of theterminal device 16 to the ringtone volume V and the number of incoming calls to the number of incoming calls C.
  上記の場合、管理装置12の制御部338は図29のフローチャートにおいて、S840を実行した後にS850に遷移せずに、S870に相当するS870Aに遷移し、S870AにおいてINVITE(手動応答)のパラメータの中に着信音量Vおよび着信回数Cを設定し、発信先の端末装置16へ送信してもよい。すなわち、通信開始要求の中に着信報知形態を示す制御情報を含めてもよい。また、端末装置16の制御部38は図23のフローチャートの処理を省略してもよい。In the above case, thecontrol unit 338 of themanagement device 12 may execute S840 in the flowchart of FIG. 29, and then transition to S870A, which corresponds to S870, without transitioning to S850, and may set the ringtone volume V and the number of incoming calls C in the parameters of the INVITE (manual response) in S870A, and transmit the set to thedestination terminal device 16. In other words, the communication start request may include control information indicating the incoming call notification format. Also, thecontrol unit 38 of theterminal device 16 may omit the processing in the flowchart of FIG. 23.
  また、本実施例では発信先の端末装置16で出力される着信音の回数を着信回数(着信音出力回数)Cにより設定したが、着信音を出力してからタイムアウトするまでの時間である着信時間(着信音出力時間)Tを設定してもよい。この場合、図26の着信設定テーブルには総合指標毎に着信時間が記録される。総合指標Xが高い場合、すなわち使用者18が着信や通話音声を認識し易い場合、着信時間も小さい数値が記録され、総合指標Xが低い場合、すなわち使用者18が着信や通話音声を認識し難い場合、着信時間も大きい(長い)数値が記録される。管理装置12の制御部338は着信設定テーブルから着信音量V、および着信時間Tを決定し、着信設定VTとして発信先の端末装置16へ着信音量変更指示を送信する。In this embodiment, the number of times the ringtone is output at thedestination terminal device 16 is set by the number of incoming calls (number of times the ringtone is output) C, but it is also possible to set the incoming call time (incoming call output time) T, which is the time from when the ringtone is output until a timeout occurs. In this case, the incoming call setting table in FIG. 26 records the incoming call time for each overall index. If the overall index X is high, i.e., if the user 18 can easily recognize incoming calls and voices, a small value is also recorded for the incoming call time, and if the overall index X is low, i.e., if the user 18 cannot easily recognize incoming calls and voices, a large (long) value is also recorded for the incoming call time. Thecontrol unit 338 of themanagement device 12 determines the ringtone volume V and the ringtone time T from the incoming call setting table, and transmits an instruction to change the ringtone volume to thedestination terminal device 16 as the incoming call setting VT.
  発信先の端末装置16は着信音量変更指示を受信した後、着信設定VTから着信時間Tを取得する。端末装置16の制御部38は、着信時間Tからタイムアウトまでに出力される着信音の回数を決定する。例えば、着信音を3秒間隔で出力する端末装置16においては、着信時間Tが15秒だった場合、着信音を5回出力してタイムアウトとなる。また、着信音を5秒間隔で出力する端末装置16においては、着信時間Tが15秒だった場合、着信音を3回出力してタイムアウトとなる。これにより、管理装置12の制御部338は端末装置16毎に着信音を出力する間隔が異なっている場合においても、タイムアウトになるまでの時間を統一して設定することができる。着信音を出力する回数である着信回数Cと、着信音を出力する時間である着信時間Tはともに、着信音の出力期間を規定する情報(パラメータ)である。After receiving the ringtone volume change instruction, thedestination terminal device 16 obtains the ringtone time T from the ringtone setting VT. Thecontrol unit 38 of theterminal device 16 determines the number of ringtones to be output from the ringtone time T until the timeout. For example, in aterminal device 16 that outputs ringtones at 3-second intervals, if the ringtone time T is 15 seconds, the ringtone is output five times before the timeout occurs. Also, in aterminal device 16 that outputs ringtones at 5-second intervals, if the ringtone time T is 15 seconds, the ringtone is output three times before the timeout occurs. This allows thecontrol unit 338 of themanagement device 12 to set a uniform time until the timeout occurs even if the interval at which the ringtone is output differs for eachterminal device 16. Both the number of ringtones C, which is the number of times the ringtone is output, and the ringtone time T, which is the time for which the ringtone is output, are information (parameters) that specify the output period of the ringtone.
  また、本実施例では発信先の端末装置16にて呼び出し処理がタイムアウトした場合、発信先の端末装置16が発信元の端末装置16へBYEを送信して呼び出し処理を終了したが、他のシーケンスにより呼び出し処理を終了してもよい。例えば、発信先の端末装置16は発信元の端末装置16へ180Ringingを送信する際、呼び出し処理がタイムアウトするまでの時間T2を設定する。発信元の端末装置16は180Ringingを受信後、時間T2を取得し、180Ringingを受信してから時間T2が経過しても発信先の端末装置16から200OKが送信されない場合、発信先の端末装置16へCancelを送信すればよい。In addition, in this embodiment, when the call process times out at thedestination terminal device 16, thedestination terminal device 16 sends a BYE to the originatingterminal device 16 to end the call process, but the call process may be ended by another sequence. For example, when thedestination terminal device 16 sends 180Ringing to the originatingterminal device 16, it sets the time T2 until the call process times out. After receiving 180Ringing, the originatingterminal device 16 acquires the time T2, and if 200OK is not sent from thedestination terminal device 16 even after time T2 has elapsed since receiving 180Ringing, it can send a Cancel to thedestination terminal device 16.
  また、本実施例では、実施例4で説明した通信容易性指標である総合指標Xにより着信音量Vおよび着信回数Cを決定したが、実施例2で説明した在室指標Z、あるいは実施例3で説明した騒音指標Yにより着信音量Vおよび着信回数Cを決定してもよい。在室指標Zを用いて着信音量Vおよび着信回数Cを決定する場合、管理装置12の記憶部340に記録される着信設定テーブルにおいて、在室指標Zが高い程、着信音量は小さな値に設定され、着信回数は小さな値に設定される。また在室指標Zが低い程、着信音量は大きな値に設定され、着信回数は大きな値に設定される。また、騒音指標Yを用いて着信音量Vを決定する場合、管理装置12の記憶部340に記録される着信音量テーブルにおいて、騒音指標Yが低い程、着信音量は小さな値に設定され、着信回数は小さな値に設定される。また、騒音指標Yが高い程、着信音量は大きな値に設定され、着信回数は大きな値に設定される。In this embodiment, the ringtone volume V and the number of incoming calls C are determined by the overall index X, which is the communication ease index described in the fourth embodiment, but the ringtone volume V and the number of incoming calls C may be determined by the presence index Z described in the second embodiment or the noise index Y described in the third embodiment. When the presence index Z is used to determine the ringtone volume V and the number of incoming calls C, in the incoming call setting table recorded in thestorage unit 340 of themanagement device 12, the higher the presence index Z, the lower the ringtone volume is set to a lower value and the number of incoming calls is set to a lower value. Also, the lower the presence index Z, the higher the ringtone volume is set to a higher value and the number of incoming calls is set to a higher value. Also, when the noise index Y is used to determine the ringtone volume V, in the ringtone volume table recorded in thestorage unit 340 of themanagement device 12, the lower the noise index Y, the lower the ringtone volume is set to a lower value and the number of incoming calls is set to a lower value. Also, the higher the noise index Y, the higher the ringtone volume is set to a higher value and the number of incoming calls is set to a higher value.
  本実施例によれば、総合指標Xの値により発信先の端末装置16の着信音量および着信回数を決定するので、通話情報が使用者18に認識されない事態の発生を低減できる。また、総合指標Xの値により発信先の端末装置16の着信音量および着信回数を決定するので、必要以上に大きな音量で着信音を出力したり、必要以上に長時間着信音を出力したりすることを防止できる。また、必要以上に大きな音量で着信音を出力したり、必要以上に長時間着信音を出力したりすることが防止されるので、発信先の端末装置16の周囲に存在する人(第三者)に与える影響(不快感やストレスなど)を低減できる。すなわち、着信対象の状況に応じて、着信を報知する形態を適切に選択できる。なお、本実施例では、通信容易性指標に応じて、着信音量と着信回数(着信音の出力回数)の両方を設定したが、いずれか一方のみを設定してもよい。また、通信容易性指標に応じて、着信時間(着信音の出力時間)のみを設定してもよい。すなわち、通信容易性指標に応じて、着音量、着信回数、着信時間のうちの少なくとも1つを設定すればよい。According to this embodiment, the ringtone volume and the number of incoming calls of thedestination terminal device 16 are determined by the value of the overall index X, so that the occurrence of a situation where the user 18 does not recognize the call information can be reduced. In addition, since the ringtone volume and the number of incoming calls of thedestination terminal device 16 are determined by the value of the overall index X, it is possible to prevent the ringtone from being output at a volume louder than necessary or for a longer period of time than necessary. In addition, since the ringtone is prevented from being output at a volume louder than necessary or for a longer period of time than necessary, it is possible to reduce the impact (discomfort, stress, etc.) on people (third parties) around thedestination terminal device 16. That is, the form of notifying the incoming call can be appropriately selected according to the situation of the recipient of the call. In this embodiment, both the ringtone volume and the number of incoming calls (the number of times the ringtone is output) are set according to the communication ease index, but only one of them may be set. Also, only the incoming call time (the time the ringtone is output) may be set according to the communication ease index. That is, at least one of the ringtone volume, the number of incoming calls, and the incoming call time may be set according to the communication ease index.
(実施例8)
  実施例8では、実施例7で説明した通信容易性指標を管理装置12の制御部338ではなく、端末装置16の制御部38で算出する。ここでは、これまでとの差異を中心に説明する。(Example 8)
 In the eighth embodiment, the communication ease index described in the seventh embodiment is calculated by thecontrol unit 38 of theterminal device 16, not by thecontrol unit 338 of themanagement device 12. Here, the differences from the previous embodiments will be mainly described.
  端末装置16により外部機器20の操作がなされた場合、制御部38は計時部32から現時刻(現在日時)を取得する。制御部38は、計時部32から取得した現時刻と外部機器20の操作履歴とを対応付ける。これは、自端末装置16による外部機器20の操作に関する操作履歴情報の生成に相当する。操作履歴は、外部機器20の起動および停止を制御する操作の履歴を示す。また、制御部38は、操作履歴情報を記憶部40の履歴テーブル(図示せず)に記憶させる。履歴テーブルは、これまでの履歴テーブル362と同様のデータ構造を有していてもよいが、端末IDが省略されてもよいし、自端末装置16の端末IDが記憶されてもよい。また、端末装置16の記憶部40には、図16に示す在室係数テーブルと図18に示す騒音係数テーブルが記録される。When theexternal device 20 is operated by theterminal device 16, thecontrol unit 38 obtains the current time (current date and time) from theclock unit 32. Thecontrol unit 38 associates the current time obtained from theclock unit 32 with the operation history of theexternal device 20. This corresponds to the generation of operation history information regarding the operation of theexternal device 20 by theterminal device 16 itself. The operation history indicates the history of operations that control the start and stop of theexternal device 20. Thecontrol unit 38 also stores the operation history information in a history table (not shown) in thestorage unit 40. The history table may have a data structure similar to that of the history table 362 so far, but the terminal ID may be omitted, or the terminal ID of theterminal device 16 itself may be stored. In addition, thestorage unit 40 of theterminal device 16 records the occupancy coefficient table shown in FIG. 16 and the noise coefficient table shown in FIG. 18.
  端末装置16の制御部38は記憶部40の履歴テーブル362、在室係数テーブル、騒音係数テーブルから所定の周期(例えば1分)で、自端末装置16の通信容易性指標を算出する。これは、生成した操作履歴情報をもとに、自端末装置16の使用者18が着信を認識する程度を示す通信容易性指標を算出することに相当する。例えば、制御部38は、実施例4と同様に式(1)にしたがって、総合指標Xを通信容易性指標として算出すればよい。通信容易性指標は、総合指標Xに限定される訳ではなく、これまでの実施例で説明した種々の通信容易性指標を用いてもよい。端末装置16は、所定の周期(時間間隔)で端末IDと通信容易性指標とを管理装置12へ送信する。Thecontrol unit 38 of theterminal device 16 calculates the communication ease index of theterminal device 16 from the history table 362, the occupancy coefficient table, and the noise coefficient table in thestorage unit 40 at a predetermined period (e.g., one minute). This corresponds to calculating a communication ease index indicating the degree to which the user 18 of theterminal device 16 recognizes an incoming call based on the generated operation history information. For example, thecontrol unit 38 may calculate the overall index X as the communication ease index according to formula (1) as in the fourth embodiment. The communication ease index is not limited to the overall index X, and various communication ease indexes described in the previous embodiments may be used. Theterminal device 16 transmits the terminal ID and the communication ease index to themanagement device 12 at a predetermined period (time interval).
  管理装置12の制御部338は端末装置16から受信した通信容易性指標を、端末IDと関連付けて記憶部340に記憶する。例えば、ある端末装置16から新たな通信容易性指標を受信した場合、その端末装置16の古い通信容易性指標を削除し、端末ID毎に最新の通信容易性指標を記憶してもよい。あるいは、受信日時と端末IDと通信容易性指標とを関連付けて記憶し、古い通信容易性指標を削除せずに所定の期間において受信した通信容易性指標を全て記憶してもよい。管理装置12の制御部338は、発信元端末装置16からの通話開始要求であるINVITEを受信した場合、記憶部340から発信先端末装置16の通信容易性指標を読み出す。制御部338は、図26に示す着信設定テーブルを参照して、通信容易性指標(ここでは総合指標X)をもとに着信設定VCを決定し、発信先端末装置16へ着信設定変更指示を送信する。Thecontrol unit 338 of themanagement device 12 stores the communication ease index received from theterminal device 16 in thestorage unit 340 in association with the terminal ID. For example, when a new communication ease index is received from a certainterminal device 16, the old communication ease index of theterminal device 16 may be deleted and the latest communication ease index may be stored for each terminal ID. Alternatively, the reception date and time, the terminal ID, and the communication ease index may be stored in association with each other, and all communication ease indexes received during a predetermined period may be stored without deleting old communication ease indexes. When thecontrol unit 338 of themanagement device 12 receives an INVITE, which is a call start request from the sourceterminal device 16, it reads out the communication ease index of thedestination terminal device 16 from thestorage unit 340. Thecontrol unit 338 refers to the incoming call setting table shown in FIG. 26, determines the incoming call setting VC based on the communication ease index (here, the overall index X), and transmits an incoming call setting change instruction to thedestination terminal device 16.
  端末装置16の通信部34は、着信設定変更指示を管理装置12から受信する。着信設定変更指示は、通信容易性指標に対応した着信音(着信報知形態)を示す制御情報(制御信号)に相当し、着信音の音量に関する第1情報と、着信音の出力期間に関する第2情報とを含む。制御部38は、実施例7と同様の処理を行う。つまり、制御部38は、通信容易性指標に含まれた第1情報にしたがって音量を設定するとともに、第2情報にしたがって出力期間を設定する。これに続いて、制御部38は、通信部34が他の端末装置16から通信開始要求を受信した場合に、管理装置12から受信した着信設定変更指示にしたがって着信音を音声出力部48(出力部)に出力させる。すなわち、端末装置16は、通信開始要求を受信する前に受信した着信設定変更指示(着信報知形態を示す制御情報)にしたがって着信音を出力する。なお、上述したように、着信の報知の形態は、着信音の出力に限らず、表示部36の表示の変化であっても、発光部(不図示)の発光でもよい。つまり、制御部38は、音声出力部48、表示部36、発光部等の出力部を制御して、着信報知形態を示す制御情報にしたがって出力部に着信を報知させる。また、実施例7で述べたように、端末装置16は、着信報知形態を示す制御情報が含まれた通信開始要求を受信してもよい。この場合は、通信開始要求と同時に制御情報を受信しているといえる。すなわち、端末装置16は、通信開始要求より前あるいは同時(所定期間)に管理装置12から受信した制御情報にしたがって、着信報知形態を変更する。なお、着信設定テーブルを記憶部40に記憶し、制御部38が着信設定テーブルを参照し、通信容易性指標をもとに着信設定VCを決定してもよい。この場合、管理装置12は着設定変更指示の送信を省略できる。Thecommunication unit 34 of theterminal device 16 receives an incoming call setting change instruction from themanagement device 12. The incoming call setting change instruction corresponds to control information (control signal) indicating an incoming call tone (incoming call notification form) corresponding to the communication ease index, and includes first information regarding the volume of the incoming call tone and second information regarding the output period of the incoming call tone. Thecontrol unit 38 performs the same process as in the seventh embodiment. That is, thecontrol unit 38 sets the volume according to the first information included in the communication ease index, and sets the output period according to the second information. Following this, when thecommunication unit 34 receives a communication start request from anotherterminal device 16, thecontrol unit 38 causes the audio output unit 48 (output unit) to output an incoming call tone according to the incoming call setting change instruction received from themanagement device 12. That is, theterminal device 16 outputs an incoming call tone according to the incoming call setting change instruction (control information indicating an incoming call notification form) received before receiving the communication start request. As described above, the form of notification of an incoming call is not limited to the output of an incoming call tone, but may be a change in the display of thedisplay unit 36 or light emission of the light-emitting unit (not shown). That is, thecontrol unit 38 controls the output units such as the audio output unit 48, thedisplay unit 36, and the light-emitting unit to notify the output unit of an incoming call according to the control information indicating the incoming call notification form. As described in the seventh embodiment, theterminal device 16 may receive a communication start request including control information indicating the incoming call notification form. In this case, it can be said that the control information is received simultaneously with the communication start request. That is, theterminal device 16 changes the incoming call notification form according to the control information received from themanagement device 12 before or simultaneously (a predetermined period) with the communication start request. Note that the incoming call setting table may be stored in thestorage unit 40, and thecontrol unit 38 may refer to the incoming call setting table and determine the incoming call setting VC based on the communication ease index. In this case, themanagement device 12 may omit sending an incoming call setting change instruction.
  本実施例によれば、外部機器の操作に関する操作履歴情報をもとに算出した通信容易性指標に応じて着信音を出力するので、着信対象の状況に応じて、着信を報知する形態を適切に選択できる。また、通信容易性指標を所定の時間間隔で管理装置に送信し、所定期間内に管理装置から受信した着信設定変更指示にしたがって着信音を出力するので、着信対象の状況の変化に柔軟に対応して、着信を報知する形態を適切に選択できる。また、外部機器の起動および停止を制御する操作の履歴を示す操作履歴情報を使用するので、着信に対応できる状況であるか否か、すなわち着信対象の状況を精度よく、かつユーザに余計な負担をかけずに推定できる。また、着信設定変更指示にしたがって着信音の音量と、着信音の出力期間とを変更するので、状況に応じて着信音の音量と着信音の出力期間とを変更できる。According to this embodiment, the ringtone is output according to the communication ease index calculated based on the operation history information related to the operation of the external device, so that the form of notifying the incoming call can be appropriately selected according to the situation of the recipient of the call. In addition, the communication ease index is transmitted to the management device at a predetermined time interval, and the ringtone is output according to the incoming call setting change instruction received from the management device within the predetermined period, so that the form of notifying the incoming call can be appropriately selected in response to the change in the situation of the recipient of the call flexibly. In addition, since the operation history information indicating the history of operations controlling the start and stop of the external device is used, it is possible to accurately estimate whether or not the situation is suitable for handling an incoming call, that is, the situation of the recipient of the call, without imposing an unnecessary burden on the user. In addition, since the volume of the ringtone and the output period of the ringtone are changed according to the incoming call setting change instruction, the volume of the ringtone and the output period of the ringtone can be changed according to the situation.
  以上、本発明を実施例をもとに説明した。この実施例は例示であり、それらの各構成要素あるいは各処理プロセスの組合せにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。The present invention has been described above based on examples. These examples are merely illustrative, and it will be understood by those skilled in the art that various modifications are possible in the combination of each component or each treatment process, and that such modifications are also within the scope of the present invention.
  実施例1から8では、端末装置16の使用者18が端末装置16の外部機器20に対して操作を行った情報をもとに、通信容易性指標を算出したが、これに限定されるものではない。例えば、端末装置16の使用者18が端末装置16本体(自端末装置)に対して行った操作情報をもとに、通信容易性指標を算出してもよい。例えば、端末装置16に格納されているアプリケーション(アプリ)を起動した情報、アプリケーションを終了した情報、文字を入力した情報、画面のスクロールした情報、ボタンを押した情報などを操作履歴に格納し、その操作履歴をもとに、通信容易性指標を算出してもよい。端末装置16は、自端末装置のアプリ等を操作対象にして行われた操作履歴を図7に示す操作履歴パケットと同様なデータ形式で、管理装置12に送信してもよい。例えば、機器種別の代わりにアプリの識別情報やアプリの種別を記録し、操作種別として「端末電源ON」、「端末電源OFF」、「アプリ起動」、「アプリ終了」、「文字入力」、「スクロール」等の種々の操作情報を記録すればよい。管理装置12は、このような操作履歴をもとに通信容易性指標を算出してもよい。また、端末装置16が、自端末装置に対して行われた操作履歴をもとに、通信容易性指標を算出し、それを管理装置12に送信してもよい。In the first to eighth embodiments, the communication ease index is calculated based on the information of the operation performed by the user 18 of theterminal device 16 on theexternal device 20 of theterminal device 16, but the present invention is not limited to this. For example, the communication ease index may be calculated based on the operation information performed by the user 18 of theterminal device 16 on the main body of the terminal device 16 (the terminal device itself). For example, information on starting an application (app) stored in theterminal device 16, information on closing an application, information on inputting characters, information on scrolling a screen, information on pressing a button, and the like may be stored in the operation history, and the communication ease index may be calculated based on the operation history. Theterminal device 16 may transmit the operation history performed on the app or the like of the terminal device itself to themanagement device 12 in a data format similar to the operation history packet shown in FIG. 7. For example, instead of the device type, the identification information of the app or the type of the app may be recorded, and various operation information such as "terminal power ON", "terminal power OFF", "app start", "app end", "character input", and "scroll" may be recorded as the operation type. Themanagement device 12 may calculate the communication ease index based on such an operation history. Additionally, theterminal device 16 may calculate a communication ease index based on the operation history performed on the terminal device itself and transmit the calculated index to themanagement device 12.
  端末装置16に対する操作が頻繁に行われている場合、つまり発信が行われた時点より前の所定時間以内に操作が行われている場合、端末装置16の使用者18は端末装置16の近くにいる可能性が高いため、相対的に高い値になるように通信容易性指標を算出する。一方、端末装置16に対する操作が長時間行われていない場合、つまり発信が行われた時点より前の所定時間以内に操作が行われていない場合、端末装置16の使用者18は端末装置16の近くにいない可能性が高いため、相対的に低い値となるように通信容易性指標を算出する。例えば、直近の所定期間における操作回数(文字入力数など)を算出し、操作回数が所定以上の場合には、通信容易性指標を相対的に高く算出し、操作回数が所定数未満の場合には、通信容易性指標を相対的に低く算出すればよい。また、操作回数が多いほど通信容易性指標を高く算出してもよい。また、端末装置16において直近で操作が行われていない時間(未操作時間)を算出し、未操作時間が短いほど通信容易性指標を高く算出し、未操作時間が長いほど通信容易性指標を低く算出してもよい。When theterminal device 16 is frequently operated, that is, when the operation is performed within a predetermined time before the call is made, the user 18 of theterminal device 16 is likely to be near theterminal device 16, so the communication ease index is calculated to be a relatively high value. On the other hand, when theterminal device 16 is not operated for a long time, that is, when the operation is not performed within a predetermined time before the call is made, the user 18 of theterminal device 16 is likely not near theterminal device 16, so the communication ease index is calculated to be a relatively low value. For example, the number of operations (number of characters entered, etc.) in the most recent predetermined period is calculated, and when the number of operations is equal to or greater than a predetermined number, the communication ease index is calculated to be relatively high, and when the number of operations is less than the predetermined number, the communication ease index is calculated to be relatively low. In addition, the communication ease index may be calculated to be higher as the number of operations increases. In addition, the time during which no operation has been performed recently on the terminal device 16 (non-operation time) may be calculated, and the communication ease index may be calculated to be higher as the non-operation time is shorter, and the communication ease index may be calculated to be lower as the non-operation time is longer.
  また、アプリの起動、アプリの終了、文字入力、スクロール、スクリーンロック設定、スクリーンロック解除、本体電源ON、本体電源OFF等の操作の種別に応じて異なる重みを付けて通信容易性指標を算出してもよい。また、スクリーンロック解除や本体電源ONを外部機器の電源ONと同様に扱い、スクリーンロック設定や本体電源OFFを外部機器の電源OFFと同様に扱ってもよい。また、音楽再生アプリやビデオ再生アプリ等の音を出力するアプリを使用中であるか否かに応じて通信容易性指標を算出してもよい。すなわち、操作対象の機器は外部機器であっても、端末装置(自端末装置)であってもよく、着信対象(通信相手)となる端末装置によって行われた操作の履歴をもとに、通信容易性指標を算出すればよい。The communication ease index may be calculated by weighting differently depending on the type of operation, such as launching an app, closing an app, inputting characters, scrolling, setting a screen lock, unlocking the screen, turning the device power on, or turning the device power off. Screen unlocking or turning the device power on may be treated the same as turning an external device power on, and screen lock setting or turning the device power off may be treated the same as turning an external device power off. The communication ease index may be calculated depending on whether an app that outputs sound, such as a music playback app or a video playback app, is in use. That is, the device to be operated may be an external device or a terminal device (the user's own terminal device), and the communication ease index may be calculated based on the history of operations performed by the terminal device that is the recipient of the call (the other party in communication).
  そして各実施例で説明したのと同様に、このように算出した通信容易性指標をもとに、着信報知形態(通常発信とRBT発信の切り替え、着信音量、着信回数、着信時間など)の制御を行ってもよい。本変形例によれば、外部機器を制御しない端末装置においても、着信対象の状況に応じて、着信を報知する形態を適切に選択できる。すなわち、幅広い通信システムに本発明を適用することができる。As explained in each embodiment, the incoming call notification format (switching between normal calls and RBT calls, ringtone volume, number of calls, call duration, etc.) may be controlled based on the communication ease index calculated in this manner. According to this modified example, even in a terminal device that does not control external devices, the incoming call notification format can be appropriately selected depending on the situation of the call recipient. In other words, the present invention can be applied to a wide range of communication systems.
  実施例1から実施例8の任意の組合せも有効である。本変形例によれば、実施例1から実施例8の任意の組合せによる効果を得ることができる。Any combination of Examples 1 to 8 is also effective. According to this modified example, the effects of any combination of Examples 1 to 8 can be obtained.