JP5727329B2 - Mobile communication terminal, approach notification program, and approach notification method - Google Patents

Mobile communication terminal, approach notification program, and approach notification method Download PDF

Info

Publication number
JP5727329B2
JP5727329B2 JP2011176484A JP2011176484A JP5727329B2 JP 5727329 B2 JP5727329 B2 JP 5727329B2 JP 2011176484 A JP2011176484 A JP 2011176484A JP 2011176484 A JP2011176484 A JP 2011176484A JP 5727329 B2 JP5727329 B2 JP 5727329B2
Authority
JP
Japan
Prior art keywords
sound
communication device
audio
main
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2011176484A
Other languages
Japanese (ja)
Other versions
JP2013042249A (en
Inventor
文明 松本
文明 松本
道明 小泉
道明 小泉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kyocera Corp
Original Assignee
Kyocera Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyocera Corp filed Critical Kyocera Corp
Priority to JP2011176484A priority Critical patent/JP5727329B2/en
Publication of JP2013042249A publication Critical patent/JP2013042249A/en
Application granted granted Critical
Publication of JP5727329B2 publication Critical patent/JP5727329B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この発明は、携帯通信端末、接近通知プログラムおよび接近通知方法に関し、特に近距離無線通信を行う、携帯通信端末、接近通知プログラムおよび接近通知方法に関する。   The present invention relates to a mobile communication terminal, an approach notification program, and an approach notification method, and more particularly to a mobile communication terminal, an approach notification program, and an approach notification method that perform short-range wireless communication.

近距離無線通信を行う、携帯通信端末の一例が特許文献1に開示されている。特許文献1の携帯端末では、音声センサによって音声を認識し、音声周波数をサンプリングする。そして、音声周波数が増加している場合は、ドップラー効果の原理により物体が接近していると判断する。このとき、ユーザが携帯端末にイヤホンを接続して音楽を視聴しながら画面を操作している場合、音楽の鳴動が中止され、アラーム音声がイヤホンから出力される。
特開2010−128789号公報[G08B 25/04, H04M 1/00, H04M 11/04]
An example of a portable communication terminal that performs short-range wireless communication is disclosed in Patent Document 1. In the portable terminal of Patent Document 1, the voice is recognized by the voice sensor, and the voice frequency is sampled. If the audio frequency increases, it is determined that the object is approaching based on the principle of the Doppler effect. At this time, when the user operates the screen while connecting the earphone to the mobile terminal and viewing the music, the ringing of the music is stopped and the alarm sound is output from the earphone.
JP 2010-128789 A [G08B 25/04, H04M 1/00, H04M 11/04]

ところが、特許文献1の携帯端末では、使用者が、周囲が騒がしい場所に近づくと、物体が接近していると誤って判断されてしまう。そのため、物体が接近していないにも関わらず、イヤホンからアラーム音声が出力されてしまい、使用者はアラーム通知を煩わしく感じてしまう。   However, in the portable terminal of Patent Document 1, when the user approaches a noisy place, it is erroneously determined that the object is approaching. Therefore, although the object is not approaching, the alarm sound is output from the earphone, and the user feels troublesome about the alarm notification.

それゆえに、この発明の主たる目的は、新規な、携帯通信端末、接近通知プログラムおよび接近通知方法を提供することである。   Therefore, a main object of the present invention is to provide a novel portable communication terminal, approach notification program, and approach notification method.

この発明の他の目的は、適切に接近を通知することができる、携帯通信端末、接近通知プログラムおよび接近通知方法を提供することである。   Another object of the present invention is to provide a mobile communication terminal, an approach notification program, and an approach notification method that can appropriately notify an approach.

この発明は、上記の課題を解決するために、以下の構成を採用した。なお、括弧内の参照符号および補足説明等は、この発明の理解を助けるために記述する実施形態との対応関係を示したものであって、この発明を何ら限定するものではない。   The present invention employs the following configuration in order to solve the above problems. The reference numerals in parentheses, supplementary explanations, and the like indicate the corresponding relationship with the embodiments described in order to help understanding of the present invention, and do not limit the present invention.

第1の発明は、イヤホンが接続されたとき、主音声と主音声の出力中に出力可能でありかつ主音声より小さい音量の副音声とを利用して他の通信機器との接近を通知する、携帯通信端末であって、主音声または副音声として出力される第1音声を出力する音声出力機能、主音声または副音声として出力される第2音声として周囲音を入力するマイクロホン、通信機器との無線通信における電波レベルを取得する取得部、および電波レベルの時変化に基づいて、主音声として第1音声および第2音声の一方を設定し、副音声として第1音声および第2音声の他方を設定することによって、接近を通知する通知部を備える、携帯通信端末である。 In the first aspect of the invention, when an earphone is connected, an approach to another communication device is notified using a main sound and a sub sound that can be output during the output of the main sound and is smaller in volume than the main sound. An audio output function for outputting a first sound output as a main sound or a sub sound, a microphone for inputting an ambient sound as a second sound output as a main sound or a sub sound, and a communication device. the acquisition unit for acquiring a radio wave level in a wireless communication, and based on the way when the change of the radio wave level, the first set one of audio and second audio as the main audio, the first audio and second audio as the secondary audio By setting the other, it is a portable communication terminal provided with the notification part which notifies an approach.

第1の発明では、携帯通信端末(10:実施例において対応する部分を例示する参照符号。以下、同じ。)は、たとえば、Wi‐Fi方式の近距離無線通信を行い、イヤホンが接続されたとき、主音声と主音声の出力中に出力可能でありかつ主音声より小さい音量の副音声とを利用して他の通信機器との接近を通知するたとえば、イヤホンジャック(24)にイヤホンプラグが挿入された状態で音声出力機能が実行されると、イヤホンから主音声として第1音声が出力される。マイクロホン(18)は、通話用のマイクロホンと兼用され、使用者の周りの音、つまり周囲音を副音声として第2音声として集音する。取得部(26,S31,S71)は、通信機器との無線通信における受信電波レベル受信電波レベルを取得する。通知部(26,S41,S43)は、電波レベルの時変化に基づいて、主音声として第1音声および第2音声の一方を設定し、副音声として第1音声および第2音声の他方を設定することによって、接近を通知する。 In the first invention, a mobile communication terminal (10:.. Reference numerals illustrate corresponding parts in the examples below, the same), for example, have lines of short-range wireless communication Wi-Fi scheme, the earphone is connected When the main audio and the main audio are being output, the approach to the other communication device is notified by using the sub audio that can be output while the main audio is lower than the main audio , for example, the earphone to the earphone jack (24). When the sound output function is executed with the plug inserted, the first sound is output as the main sound from the earphone. The microphone (18) is also used as a microphone for telephone conversation, and collects sound around the user, that is, ambient sound as sub-sound as second sound. Acquisition unit (26, S31, S71) obtains the received radio level received radio wave levels in a wireless communication with the communication device. Notification unit (26, S41, S43), based on the way when the change of the radio wave level and setting one of the first audio and second audio as the main audio and the other of the first audio and second audio as the secondary audio Notification of approach by setting .

第1の発明によれば、通信機器を持つ人間や、通信機器が搭載された車両などの接近を、精度よく検出することができる。そのため、通信機器を所持する人間や通信機器が搭載された車両の接近を適切に通知することができる。
間や通信機器が搭載された車両の接近を適切に通知することができる。
また、周囲音が聞こえやすい状態にすることで、使用者が周囲の状態に気づきやすくすることができる。
According to the first invention, it is possible to accurately detect the approach of a person having a communication device or a vehicle equipped with the communication device. Therefore, it is possible to appropriately notify the person who has the communication device or the approach of the vehicle on which the communication device is mounted.
It is possible to appropriately notify the distance between vehicles and vehicles equipped with communication devices.
Further, by making the ambient sound easy to hear, the user can easily notice the surrounding state.

第2の発明は、第1の発明に従属し、取得部によって取得された受信電波レベルの時変化に基づいて、第1音声を主音声として設定し、第2音声に対する設定を解除することによって、通知部による通知を停止する停止部をさらに備える。 A second invention is according to the first invention, based on the way when the change of the received radio wave level obtained by the obtained unit preparative sets a first sound as the main audio, cancels the setting for the second audio Accordingly, a stop unit that stops the notification by the notification unit is further provided.

第2の発明では、停止部(26,S79)は、取得部によって取得された受信電波レベルの経時変化に基づいて、第1音声を主音声として設定し、第2音声に対する設定を解除することによって、通知を停止する。 In the second aspect of the invention, stop unit (26, S79), based on the temporal change of the received radio wave level obtained by the obtaining unit sets the first sound as the main audio, cancels the setting for the second audio by, to stop the notification.

第2の発明によれば、使用者に接近する人間や車などが周囲に存在しなくなれば、不要な通知がされないようにできる。   According to the second aspect of the present invention, it is possible to prevent unnecessary notifications when there are no humans or cars approaching the user.

第3の発明は、第1の発明または第2の発明に従属し、所定時間毎に近距離無線通信を確立可能な通信機器を探索する探索部をさらに備えるThe third invention further comprises a search unit according to the first invention or the second invention, searching for a communication device capable of establishing a short-range wireless communication to each Jo Tokoro time.

第3の発明では、探索部(26,S21,S61)は、探索可能範囲において、5秒毎に他の通信機器を探索する。 In the third invention, the search unit (26, S21, S61) searches for another communication device every 5 seconds in the searchable range .

第4の発明は、第3の発明に従属し、携帯通信端末の移動を検知する加速度センサ、および加速度センサによって携帯通信端末の移動が検知されたとき、所定時間を短く設定する時間設定部をさらに備える。   A fourth invention is dependent on the third invention, and includes an acceleration sensor that detects the movement of the mobile communication terminal, and a time setting unit that sets a predetermined time short when the movement of the mobile communication terminal is detected by the acceleration sensor. Further prepare.

第4の発明では、加速度センサ(38)は、携帯通信機器を所持する使用者の移動を検知する。時間設定部(26,S107)は、使用者が移動していると検知されると、通信機器の受信電波レベルが取得される周期が短くなるように、探索を繰り返す所定時間を短く設定する。   In the fourth invention, the acceleration sensor (38) detects the movement of the user carrying the mobile communication device. When the time setting unit (26, S107) detects that the user is moving, the time setting unit (26, S107) sets a predetermined time for repeating the search to be short so that the period for acquiring the reception radio wave level of the communication device is shortened.

第3の発明および第4の発明によれば、使用者が移動している場合は、通信機器を所持する人間などの接近がより早く判断できるようになる。   According to the third and fourth aspects of the invention, when the user is moving, the approach of a person or the like who has the communication device can be determined earlier.

第5の発明は、第の発明または第4の発明に従属し、探索部は、携帯通信端末にイヤホンが接続されたとき、近距離無線通信を確立可能な通信機器を探索する。 A fifth invention is dependent on the third invention or the fourth invention, and the search unit searches for a communication device capable of establishing short-range wireless communication when an earphone is connected to the mobile communication terminal.

第5の発明では、たとえば、イヤホンジャックにイヤホンプラグが挿入されると、探索部は、通信機器の探索を開始する。 In the fifth aspect of the invention, for example, when the earphone plug to Lee ya phone jack is inserted, the search unit starts searching for a communication device.

第5の発明によれば、使用者がイヤホンを利用することで周囲の状態に気づきにくいときに、通信機器を所持する人間などの接近を通知することができる。   According to the fifth aspect, when the user is difficult to notice the surrounding state by using the earphone, it is possible to notify the approach of a person carrying the communication device.

第6の発明は、第3の発明ないし第5の発明のいずれかに従属し、探索部は、携帯通信端末とイヤホンとの接続が解除されたとき、近距離無線通信を確立可能な通信機器の探索を止める。 A sixth invention is dependent on any one of the third to fifth inventions , and the search unit is a communication device capable of establishing short-range wireless communication when the connection between the mobile communication terminal and the earphone is released Stop searching.

第6の発明によれば、たとえば、イヤホンプラグが引き抜かれた場合は、余計な電力を消費しないようにするために、通信機器の探索が行われないようにできる。   According to the sixth aspect of the invention, for example, when the earphone plug is pulled out, the communication device can be prevented from being searched in order not to consume extra power.

第7の発明は、第の発明ないし第6の発明のいずれかに従属し、探索部は、携帯通信端末にイヤホンが接続された状態で、第1音声が出力されるとき、近距離無線通信を確立可能な通信機器を探索する。 A seventh aspect of the invention, to no third invention dependent on any one of the sixth, probe search unit, in a state in which the earphone is connected to the mobile communication terminal, when the first sound is output, the short-range Search for communication devices that can establish wireless communication.

第7の発明では、たとえば、イヤホンジャックにイヤホンプラグが挿入された状態で音声出力機能が実行されイヤホンから第1音声が出力されると、探索部は通信機器の探索を始める。 In the seventh invention, for example, the audio output function in a state in which the earphone plug is inserted into the earphone jack first sound from the execution of zero Yahon is Ru is output, the search unit starts to search for the communication device.

第7の発明によれば、イヤホンによって第1音声を聞いていなければ、通信機器を探索しないようにすることで、消費電力を抑えることができる。   According to the seventh invention, power consumption can be suppressed by not searching for a communication device if the first sound is not heard by the earphone.

の発明は、第1の発明ないしの発明のいずれかに従属し、音楽データを記憶する記憶部をさらに備え、音声出力機能は、音楽データを再生する音楽プレーヤ機能を含み、第1音声は、音楽プレーヤ機能によって再生された音楽データの音声を含む。 Eighth aspect of the present invention is to not first invention dependent on any one of the seventh invention, further comprising a storage unit for storing the music data, the audio output function includes a music player function for reproducing music data, the One sound includes the sound of music data reproduced by the music player function.

の発明では、記憶部(34,36)は、たとえばフラッシュメモリを含み、音楽データを記憶する。そして、音楽プレーヤ機能が実行されると、フラッシュメモリから音楽データが読み出され、再生された音楽が第1音声として出力される。 In the eighth invention, the storage units (34, 36) include, for example, a flash memory and store music data. When the music player function is executed, music data is read from the flash memory, and the reproduced music is output as the first sound.

の発明は、第の発明に従属し、携帯通信端末は、ネットワークとの通信を確立する通信機能を有し、音楽データは、通信機能によってネットワーク介して配信された配信音楽データを含む。 A ninth invention is according to the eighth invention, wherein the mobile communication terminal has a communication function for establishing communication with the network, and the music data includes distributed music data distributed through the network by the communication function. .

の発明では、配信音楽データは記憶部に記憶される。そして、音楽プレーヤ機能が実行されると、配信音楽データが再生され、第1音声として出力される。 In the ninth invention, the distribution music data is stored in the storage unit. When the music player function is executed, the distribution music data is reproduced and output as the first sound.

の発明または第の発明によれば、利用頻度が高い音楽プレーヤ機能によって、使用者が音楽を聴いている場合、上述した効果は強く発揮される。
第10の発明は、第1の発明に従属し、電波レベルの経時変化に基づいて、第1警戒状態および第1警戒状態よりも危険度が高い第2警戒状態を判断する判断部をさらに備え、通知部は、判断部によって第1警戒状態と判断されたとき、主音声として第1音声を設定し、副音声として第2音声を設定し、判断部によって第2警戒状態と判断されたとき、主音声として第2音声を設定し、副音声として第1音声を設定することによって、接近を通知する。
According to the eighth invention or the ninth invention, when the user is listening to music by the music player function that is frequently used, the above-described effects are exerted strongly.
A tenth aspect of the invention is dependent on the first aspect of the invention, and further includes a determination unit that determines a first warning state and a second warning state having a higher degree of danger than the first warning state based on a change in radio wave level over time. The notifying unit sets the first sound as the main sound and the second sound as the sub-voice when the determining unit determines that the first warning state is detected. When the determining unit determines that the second warning state is determined The approach is notified by setting the second sound as the main sound and the first sound as the sub sound.

11の発明は、イヤホンが接続されたとき、主音声と主音声の出力中に出力可能でありかつ主音声より小さい音量の副音声とを利用して他の通信機器との接近を通知し主音声または副音声として出力される第1音声を出力する音声出力機能、主音声または副音声として出力される第2音声として周囲音を入力するマイクロホン、および通信機器との無線通信における電波レベルを取得する取得(S31,S71)有する、携帯通信端末(10)のプロセッサ(26)を、電波レベルの経時変化に基づいて、主音声として第1音声および第2音声の一方を設定し、副音声として第1音声および第2音声の他方を設定することによって、接近を通知する通知部(S41,S43)として機能させる、接近通知プログラムである。 In an eleventh aspect of the invention, when an earphone is connected, an approach to another communication device is notified by using a main sound and a sub sound that can be output during the output of the main sound and has a volume smaller than the main sound. A sound output function for outputting a first sound output as a main sound or a sub sound, a microphone for inputting an ambient sound as a second sound output as a main sound or a sub sound, and a radio wave level in wireless communication with a communication device The processor (26) of the mobile communication terminal (10) having the acquisition unit (S31, S71) for acquiring the first voice and the second voice as the main voice based on the change over time of the radio wave level. This is an approach notification program that functions as a notification unit (S41, S43) that notifies approach by setting the other of the first sound and the second sound as the sub sound .

11の発明でも、第1の発明と同様、通信機器を持つ人間や、通信機器が搭載された車両などの接近を、精度よく検出することができる。そのため、通信機器を所持する人間や通信機器が搭載された車両の接近を適切に通知することができる。
また、周囲音が聞こえやすい状態にすることで、使用者が周囲の状態に気づきやすくすることができる。
In the eleventh invention, as in the first invention, it is possible to accurately detect the approach of a person having a communication device or a vehicle equipped with the communication device. Therefore, it is possible to appropriately notify the person who has the communication device or the approach of the vehicle on which the communication device is mounted.
Further, by making the ambient sound easy to hear, the user can easily notice the surrounding state.

12の発明は、イヤホンが接続されたとき、主音声と主音声の出力中に出力可能でありかつ主音声より小さい音量の副音声とを利用して他の通信機器との接近を通知し主音声または副音声として出力される第1音声を出力する音声出力機能、主音声または副音声として出力される第2音声として周囲音を入力するマイクロホン、および通信機器との無線通信における電波レベルを取得する取得(S31,S71)有する、携帯通信端末(10)における接近通知方法であって、携帯通信端末のプロセッサが、電波レベルの経時変化に基づいて、主音声として第1音声および第2音声の一方を設定し、副音声として第1音声および第2音声の他方を設定することによって、接近を通知する通知ステップを実行する、接近通知方法である。 In a twelfth aspect of the invention, when an earphone is connected, an approach to another communication device is notified by using a main sound and a sub sound that can be output during the output of the main sound and has a volume smaller than the main sound. A sound output function for outputting a first sound output as a main sound or a sub sound, a microphone for inputting an ambient sound as a second sound output as a main sound or a sub sound, and a radio wave level in wireless communication with a communication device An approach notification method in the mobile communication terminal (10) having an acquisition unit (S31, S71) for acquiring the first voice and the main voice as the main voice based on the change over time of the radio wave level. set one of the second audio, by setting the other of the first audio and second audio as the secondary audio, performing a notification step of notifying the approach is the approach notification method

12の発明でも、第1の発明と同様、通信機器を持つ人間や、通信機器が搭載された車両などの接近を、精度よく検出することができる。そのため、通信機器を所持する人間や通信機器が搭載された車両の接近を適切に通知することができる。
また、周囲音が聞こえやすい状態にすることで、使用者が周囲の状態に気づきやすくすることができる。
In the twelfth invention, similar to the first invention, it is possible to accurately detect the approach of a person having a communication device or a vehicle equipped with the communication device. Therefore, it is possible to appropriately notify the person who has the communication device or the approach of the vehicle on which the communication device is mounted.
Further, by making the ambient sound easy to hear, the user can easily notice the surrounding state.

この発明によれば、通信機器を持つ人間や、通信機器が搭載された車両などの接近を精度よく検出できるため、通信機器を所持する人間や通信機器が搭載された車両の接近を適切に通知することができる。   According to the present invention, it is possible to accurately detect the approach of a person having a communication device or a vehicle equipped with a communication device, so that the approach of a person carrying the communication device or a vehicle equipped with the communication device is appropriately notified. can do.

この発明の上述の目的、その他の目的、特徴および利点は、図面を参照して行う以下の実施例の詳細な説明から一層明らかとなろう。   The above object, other objects, features, and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.

図1はこの発明の一実施例の携帯電話機の電気的な構成を示す図解図である。FIG. 1 is an illustrative view showing an electrical configuration of a mobile phone according to an embodiment of the present invention. 図2は図1に近距離無線通信回路による通信機器の探索可能範囲および検知領域の一例を示す図解図である。FIG. 2 is an illustrative view showing an example of a searchable range and a detection area of a communication device by the short-range wireless communication circuit in FIG. 図3は図1に示すRAMに記憶されている通信テーブルデータの一例を示す図解図である。FIG. 3 is an illustrative view showing one example of communication table data stored in the RAM shown in FIG. 図4は図2に示す検知領域における通信機器の移動の一例を示す図解図である。FIG. 4 is an illustrative view showing one example of movement of a communication device in the detection area shown in FIG. 図5は図2に示す検知領域における通信機器の移動の他の一例を示す図解図である。FIG. 5 is an illustrative view showing another example of movement of a communication device in the detection area shown in FIG. 図6は図1に示すRAMのメモリマップの一例を示す図解図である。FIG. 6 is an illustrative view showing one example of a memory map of the RAM shown in FIG. 図7は図1に示すプロセッサの第1実施例の接近通知処理の一部の一例を示すフロー図である。FIG. 7 is a flowchart showing an example of part of the approach notification process of the first embodiment of the processor shown in FIG. 図8は図1に示すプロセッサの第1実施例の接近通知処理の他の一部の一例であって、図7に後続するフロー図である。FIG. 8 is an example of another part of the approach notification process of the first embodiment of the processor shown in FIG. 1, and is a flowchart subsequent to FIG. 図9は図1に示すプロセッサの第1実施例の接近通知処理のその他の一部の一例であって、図8に後続するフロー図である。FIG. 9 is an example of another part of the approach notification process of the first embodiment of the processor shown in FIG. 1, and is a flowchart subsequent to FIG. 図10は図1に示すプロセッサの待機処理の一例を示すフロー図である。FIG. 10 is a flowchart showing an example of standby processing of the processor shown in FIG. 図11は図1に示すプロセッサの第2実施例の接近通知処理の一部の一例を示すフロー図である。FIG. 11 is a flowchart showing an example of part of the approach notification process of the second embodiment of the processor shown in FIG. 図12は図1に示すプロセッサの第1実施例の接近通知処理の他の一部の一例であって、図11に後続するフロー図である。FIG. 12 is an example of another part of the approach notification process of the first embodiment of the processor shown in FIG. 1, and is a flowchart subsequent to FIG. 図13は図1に示すプロセッサの第1実施例の接近通知処理のその他の一部の一例であって、図12に後続するフロー図である。FIG. 13 is an example of another part of the approach notification process of the first embodiment of the processor shown in FIG. 1, and is a flowchart subsequent to FIG. 図14は図2に示す検知領域における通信機器の移動のその他の一例を示す図解図である。FIG. 14 is an illustrative view showing another example of movement of the communication device in the detection area shown in FIG.

<第1実施例>
図1を参照して、携帯電話機10は、携帯端末の一種であり、コンピュータまたはCPUと呼ばれるプロセッサ26を含む。また、プロセッサ26には、無線通信回路14、A/D変換器16、第1D/A変換器20a、第2D/A変換機20b、キー入力装置28、表示ドライバ30、フラッシュメモリ34、RAM36、加速度センサ38、GPS回路40および近距離無線通信回路44などが接続される。
<First embodiment>
Referring to FIG. 1, a mobile phone 10 is a kind of mobile terminal, and includes a processor 26 called a computer or a CPU. The processor 26 includes a wireless communication circuit 14, an A / D converter 16, a first D / A converter 20a, a second D / A converter 20b, a key input device 28, a display driver 30, a flash memory 34, a RAM 36, The acceleration sensor 38, the GPS circuit 40, the short-range wireless communication circuit 44, and the like are connected.

無線通信回路14にはアンテナ12が接続される。A/D変換器16にはマイクロホン18が接続され、第1D/A変換器20aにはスピーカ22が接続され、第2D/A変換器20bにはイヤホンジャック24が接続される。表示ドライバ30にはディスプレイ32が接続される。また、GPS回路40にはGPSアンテナ42が接続され、近距離無線通信回路44には近距離無線通信アンテナ46が接続される。なお、イヤホンジャック24はプロセッサ26とも接続される。   An antenna 12 is connected to the wireless communication circuit 14. A microphone 18 is connected to the A / D converter 16, a speaker 22 is connected to the first D / A converter 20a, and an earphone jack 24 is connected to the second D / A converter 20b. A display 32 is connected to the display driver 30. A GPS antenna 42 is connected to the GPS circuit 40, and a short-range wireless communication antenna 46 is connected to the short-range wireless communication circuit 44. The earphone jack 24 is also connected to the processor 26.

プロセッサ26は携帯電話機10の全体制御を司る。RAM36は、プロセッサ26の作業領域(描画領域を含む)ないしバッファ領域として用いられる。フラッシュメモリ34には、携帯電話機10の文字、画像、音声、音および映像のようなコンテンツのデータが記録される。   The processor 26 controls the entire mobile phone 10. The RAM 36 is used as a work area (including a drawing area) or a buffer area of the processor 26. Content data such as characters, images, sounds, sounds, and videos of the mobile phone 10 is recorded in the flash memory 34.

A/D変換器16は、マイクロホン18を通して入力される音声ないし音についてのアナログ音声信号を、デジタル音声信号に変換する。第1D/A変換器20aは、デジタル音声信号をアナログ音声信号に変換(復号)して、図示しないアンプを介してスピーカ22に与える。したがって、アナログ音声信号に対応する音声ないし音がスピーカ22から出力される。   The A / D converter 16 converts an analog audio signal for audio or sound input through the microphone 18 into a digital audio signal. The first D / A converter 20a converts (decodes) the digital audio signal into an analog audio signal and supplies the analog audio signal to the speaker 22 via an amplifier (not shown). Therefore, sound or sound corresponding to the analog sound signal is output from the speaker 22.

同様に、第2D/A変換器20bも、デジタル音声信号をアナログ音声信号に変換(復号)して、図示しないアンプを介してイヤホンジャック24に与える。このイヤホンジャック24はメス端子であり、オス端子であるイヤホンプラグが挿入されることがある。また、イヤホンプラグがイヤホンジャック24に挿入されると、挿入されたことを示す信号をプロセッサ26に出力する。そして、イヤホンプラグが挿入されているとプロセッサ26によって判断されると、アナログ音声信号に対応する音声ないし音がイヤホンから出力されるようになる。たとえば、携帯電話機10によって音楽プレーヤ機能が実行されると、フラッシュメモリ34から読み出された音楽データが再生され、イヤホンから音楽が流れる。   Similarly, the second D / A converter 20b converts (decodes) the digital audio signal into an analog audio signal, and supplies the analog audio signal to the earphone jack 24 through an amplifier (not shown). The earphone jack 24 is a female terminal, and an earphone plug that is a male terminal may be inserted. When the earphone plug is inserted into the earphone jack 24, a signal indicating the insertion is output to the processor 26. When the processor 26 determines that the earphone plug is inserted, the sound or sound corresponding to the analog audio signal is output from the earphone. For example, when the music player function is executed by the mobile phone 10, the music data read from the flash memory 34 is played and music flows from the earphone.

なお、プロセッサ26は、第1D/A変換器20aと接続されるアンプの増幅率を制御することでスピーカ22から出力される音声の音量し、第2D/A変換器20bと接続されるアンプの増幅率を制御することで、イヤホンから出力される音声の音量を調整する。   The processor 26 controls the amplification factor of the amplifier connected to the first D / A converter 20a so as to adjust the volume of the sound output from the speaker 22, and the amplifier connected to the second D / A converter 20b. The volume of the sound output from the earphone is adjusted by controlling the amplification factor.

また、本実施例の音楽プレーヤ機能は、副音声の出力に対応しており、音楽を主音声として出力すると共に、後述する着信音などを副音声として出力することができる。そして、副音声は、主音声よりも小さな音量で出力される。   In addition, the music player function of the present embodiment is compatible with sub sound output, and can output music as main sound and output a ring tone, which will be described later, as sub sound. The sub audio is output at a volume smaller than that of the main audio.

キー入力装置28は操作部と呼ばれ、通話キー、機能キーおよび終話キーなどを含む。また、使用者が操作したキーの情報(キーデータ)はプロセッサ26に入力される。さらに、キー入力装置28に含まれる各キーが操作されると、クリック音が鳴る。したがって、使用者は、クリック音を聞くことで、キー操作に対する操作感を得ることができる。   The key input device 28 is called an operation unit, and includes a call key, a function key, an end call key, and the like. In addition, information (key data) on keys operated by the user is input to the processor 26. Further, when each key included in the key input device 28 is operated, a click sound is generated. Therefore, the user can obtain an operational feeling for the key operation by listening to the click sound.

表示ドライバ30は、プロセッサ26の指示の下、当該表示ドライバ30に接続されたディスプレイ32の表示を制御する。また、表示ドライバ30は表示する画像データを一時的に記憶するビデオメモリ(図示せず)を含む。   The display driver 30 controls display on the display 32 connected to the display driver 30 under the instruction of the processor 26. The display driver 30 includes a video memory (not shown) that temporarily stores image data to be displayed.

また、ディスプレイ32には、LEDを光源とするバックライトが設けられている。また、バックライトは、ディスプレイ32に含まれる表示パネルに対してエッジライト方式に基づいて設けられる。なお、バックライトの光源としては、LEDが採用されるが、他の実施例では冷陰極管などが採用されてもよい。   The display 32 is provided with a backlight using LEDs as light sources. The backlight is provided on the display panel included in the display 32 based on the edge light method. In addition, although LED is employ | adopted as a light source of a backlight, in another Example, a cold cathode tube etc. may be employ | adopted.

無線通信回路14は、CDMA方式での無線通信を行うための回路である。たとえば、使用者がキー入力装置28を用いて電話発信(発呼)を指示すると、無線通信回路14は、プロセッサ26の指示の下、電話発信処理を実行し、アンテナ12を介して電話発信信号を出力する。電話発信信号は、基地局および通信網(図示せず)を経て相手の電話機に送信される。そして、相手の電話機において着信処理が行われると、通信可能状態が確立され、プロセッサ26は通話処理を実行する。そして、通話処理が実行されると、相手の電話機から相手の音声を受信したり、こちらの音声を送信したりすることができる。   The wireless communication circuit 14 is a circuit for performing wireless communication by the CDMA method. For example, when the user instructs a telephone call (calling) using the key input device 28, the wireless communication circuit 14 executes a telephone call process under the instruction of the processor 26, and sends a telephone call signal via the antenna 12. Is output. The telephone call signal is transmitted to the other party's telephone through a base station and a communication network (not shown). When an incoming call process is performed at the other party's telephone, a communicable state is established, and the processor 26 executes a call process. Then, when the call process is executed, the other party's voice can be received from the other party's telephone, or this voice can be transmitted.

また、着信が有ると、ディスプレイ32には、発信元情報(電話番号など)が表示され、図示しないスピーカから着信音(着信メロディ、着信音声と言うこともある。)が出力される。この状態で、応答操作が行われると、通信可能状態が確立され、プロセッサ26は上述した通常の通話処理を実行する。さらに、終話キーによって通話終了操作が行われると、プロセッサ26は通話終了信号を送信した後に、通話処理を終了する。ただし、通話相手によらず、移動通信網から通話終了信号を受信した場合も、プロセッサ26は通話処理を終了する。   When there is an incoming call, the caller information (telephone number or the like) is displayed on the display 32, and a ring tone (sometimes called a ringing melody or an incoming call voice) is output from a speaker (not shown). If a response operation is performed in this state, a communicable state is established, and the processor 26 executes the above-described normal call processing. Furthermore, when a call end operation is performed by the call end key, the processor 26 ends the call process after transmitting a call end signal. However, the processor 26 also ends the call process when a call end signal is received from the mobile communication network regardless of the other party.

加速度センサ38は、半導体式の3軸の加速度センサであり、携帯電話機10に対する3軸(X,Y,Z)の加速度データをプロセッサ26に出力する。また、プロセッサ26は、3軸の加速度データの変化を検出することで、持ち主(使用者)が移動しているか否かを判断する。なお、プロセッサ26は、3軸の加速度データが示す値に対して逆三角関数を用いて、携帯電話機10の傾きの角度を計算することもできる。   The acceleration sensor 38 is a semiconductor triaxial acceleration sensor, and outputs triaxial (X, Y, Z) acceleration data for the mobile phone 10 to the processor 26. Further, the processor 26 determines whether or not the owner (user) is moving by detecting a change in the triaxial acceleration data. Note that the processor 26 can also calculate the tilt angle of the mobile phone 10 using an inverse trigonometric function with respect to the values indicated by the triaxial acceleration data.

GPS回路40は、現在の位置を測位(取得)する操作が行われると起動される。また、GPSアンテナ42は、GPS衛星100から送信されるGPS信号を受信し、GPS回路46に出力する。そして、プロセッサ26は、受信したGPS信号に基づいて測位処理を実行することで、現在位置データとして緯度および経度を算出する。このように、携帯電話機10では、GPS回路40およびGPSアンテナ42が測位部として機能するため、現在位置を測位することができる。   The GPS circuit 40 is activated when an operation for positioning (acquiring) the current position is performed. The GPS antenna 42 receives a GPS signal transmitted from the GPS satellite 100 and outputs it to the GPS circuit 46. Then, the processor 26 calculates a latitude and a longitude as current position data by executing a positioning process based on the received GPS signal. Thus, in the mobile phone 10, the GPS circuit 40 and the GPS antenna 42 function as a positioning unit, so that the current position can be measured.

なお、図1には、簡単のために、1つのGPS衛星100しか描画していないが、現在位置を測位するためには、少なくとも3つ以上のGPS衛星100からGPS信号を受信しなければならない。ただし、通常の測位処理では、二次元測位のため、緯度および経度しか算出できないが、4つのGPS衛星100からGPS信号を受信できる場合、三次元測位によって、高度も算出することができる。   In FIG. 1, only one GPS satellite 100 is drawn for simplicity, but in order to measure the current position, GPS signals must be received from at least three GPS satellites 100. . However, in normal positioning processing, only the latitude and longitude can be calculated because of two-dimensional positioning. However, when GPS signals can be received from the four GPS satellites 100, the altitude can also be calculated by three-dimensional positioning.

近距離無線通信回路44は、Wi‐Fi方式の近距離無線通信を実行する。Wi‐Fi(Wireless Fidelity)は、IEEE 802.11シリーズ(IEEE 802.11a/b/g/nなど)という通信規格を利用した無線機器間の相互接続性等について、所定の認証機関によって認証されたことを示す名称である。つまり、Wi−Fiは近距離無線通信の一方式であり、この実施例の携帯通信端末10では、Wi‐Fi方式の近距離無線通信回路44を用いる。   The short-range wireless communication circuit 44 performs Wi-Fi short-range wireless communication. Wi-Fi (Wireless Fidelity) is certified by a predetermined certification authority for the interoperability between wireless devices using the IEEE 802.11 series (IEEE 802.11a / b / g / n, etc.) communication standard. It is a name indicating that That is, Wi-Fi is a method of short-range wireless communication, and the mobile communication terminal 10 of this embodiment uses a Wi-Fi short-range wireless communication circuit 44.

Wi‐Fi方式の近距離無線通信では、アクセスポイント(AP:Access Point)と呼ばれる電波中継器48を経由して有線LANにアクセスするので、接近無線通信回路44は、このような電波中継器48を自動的に探索(サーチ)する。そして、探索によって電波中継器48を発見したら、近距離無線通信回路44は、その電波中継器48との接続処理を自動的に実行する。   In Wi-Fi short-range wireless communication, a wired LAN is accessed via a radio wave repeater 48 called an access point (AP), and therefore the close proximity wireless communication circuit 44 has such a radio wave repeater 48. Is automatically searched. When the radio repeater 48 is found by the search, the short-range wireless communication circuit 44 automatically executes a connection process with the radio repeater 48.

また、接近無線通信回路44は、電波中継器48だけでなく、Wi‐Fi方式の近距離無線通信に対応する他の通信機器も、探索によって発見することができる。   Further, the proximity wireless communication circuit 44 can find not only the radio wave repeater 48 but also other communication devices compatible with Wi-Fi short-range wireless communication by searching.

図2は探索によって他の通信機器を発見することができる探索可能範囲などを示す図解図である。図2を参照して、携帯電話機10を所持する人間H(使用者)を中心として、所定距離(たとえば、50m)の半径で示される外周円OSまでが、探索可能範囲となる。また、検出可能領域に、機器名が「AAA」の第1通信機器、機器名が「BBB」の第2通信機器および機器名が「CCC」の第3通信機器を所持している人間が存在していれば、探索結果が図3に示す通信テーブルに記録される。   FIG. 2 is an illustrative view showing a searchable range where other communication devices can be found by searching. Referring to FIG. 2, the searchable range is from a person H (user) holding mobile phone 10 to an outer circumference circle OS indicated by a radius of a predetermined distance (for example, 50 m). In the detectable area, there is a person who possesses the first communication device with the device name “AAA”, the second communication device with the device name “BBB”, and the third communication device with the device name “CCC”. If so, the search result is recorded in the communication table shown in FIG.

図3を参照して、通信テーブルは、機器名、MAC(Media Access Control)アドレスおよび受信電波レベルの列を含む。機器名の列では、「AAA」、「BBB」および「CCC」の機器名が記録される。また、MACアドレスの列には機器名「AAA」に対応して「00:□:00:00:00:AA」のMACアドレスが記録される。さらに、受信電波レベルの列には携帯電話機10と通信機器との通信状態を示す「−90dBm」が記録される。   Referring to FIG. 3, the communication table includes columns of device name, MAC (Media Access Control) address, and received radio wave level. In the device name column, device names of “AAA”, “BBB”, and “CCC” are recorded. The MAC address column records the MAC address “00: 0 □: 00: 00: AA” corresponding to the device name “AAA”. Further, “−90 dBm” indicating the communication state between the mobile phone 10 and the communication device is recorded in the column of the received radio wave level.

同様に、機器名「BBB」に対応して、「00:□:00:00:00:BB」のMACアドレスと、通信状態を示す「−80dBm」が記録される。さらに、機器名「CCC」に対応して、「00:□:00:00:00:CC」のMACアドレスと、通信状態を示す「−95dBm」が記録される。   Similarly, in correspondence with the device name “BBB”, the MAC address “00: 0 □: 00: 00: BB” and “−80 dBm” indicating the communication state are recorded. Furthermore, in correspondence with the device name “CCC”, the MAC address “00: 0 □: 00: 00: CC” and “−95 dBm” indicating the communication state are recorded.

また、近距離無線通信では、探索が所定時間毎に行われるため、通信テーブルは所定時間毎に更新される。そして、通信テーブルを更新する場合、通信機器のMACアドレスに基づいて、既に発見されているか否かが判断される。   In short-distance wireless communication, a search is performed every predetermined time, so the communication table is updated every predetermined time. And when updating a communication table, it is judged whether it has already been discovered based on the MAC address of a communication apparatus.

ここで、受信電波レベルは、携帯電話機10の距離と対応しており、距離が近ければ受信電波レベルも大きく(強く)なり、距離が遠ければ受信電波レベルも小さく(弱く)なる。そのため、携帯電話機10と各通信機器との位置関係が図2に示す状態であれば、携帯電話機10と最も近い第2通信機器の受信電波レベル(−80dBm)が最も大きくなる。また、次に近い第1通信機器の受信電波レベル(−90dBm)がその次に大きく、最も遠い第3通信機器の受信電波レベル(−95dBm)が最も小さくなる。   Here, the received radio wave level corresponds to the distance of the mobile phone 10, and the received radio wave level increases (strong) when the distance is short, and the received radio wave level decreases (weak) when the distance is long. Therefore, if the positional relationship between the mobile phone 10 and each communication device is in the state shown in FIG. 2, the received radio wave level (−80 dBm) of the second communication device closest to the mobile phone 10 is the highest. In addition, the reception radio wave level (-90 dBm) of the next first communication device is the next highest, and the reception radio wave level (-95 dBm) of the third communication device farthest is the lowest.

そこで、本実施例では、近距離無線通信における受信電波レベルを利用して、通信機器を所持する人間や、通信機器が搭載された車などの接近を検知し、接近していた通信機器が離れていくまで使用者に通知し続ける。そして、プロセッサ26は、近距離無線追伸回路44によって取得された受信電波レベルの計時変化に基づいて、通信機器が接近したり、離れたりすることを判定することができる。そのため、プロセッサ26および近距離無線通信回路44は、まとめて判定部と呼ばれることもある。   Therefore, in this embodiment, the approach of a person carrying a communication device or a vehicle equipped with a communication device is detected using the received radio wave level in short-range wireless communication, and the communication device that was approaching is separated. Continue to notify the user until it continues. Then, the processor 26 can determine whether the communication device approaches or leaves based on the time change of the received radio wave level acquired by the short-range radio additional circuit 44. Therefore, the processor 26 and the short-range wireless communication circuit 44 are sometimes collectively referred to as a determination unit.

まず、本実施例では、イヤホンジャック24にイヤホンプラグが接続されている場合、使用者(人間H)に接近する人間や車などの接近を通知するために、接近通知処理が実行される。そして、接近通知処理が実行されると、所定時間(たとえば、5秒または2秒)毎に通信機器が探索される。そして、発見された通信機器の受信電波レベルに基づいて、周囲の通信機器の移動を判断する。なお、本実施例では、外周円OSと内周円ISとの間の領域を検知領域DAとし、その検知領域DA内で通信機器の移動を判断する。   First, in the present embodiment, when an earphone plug is connected to the earphone jack 24, an approach notification process is executed in order to notify the approach of a person or a vehicle approaching the user (human H). When the approach notification process is executed, a communication device is searched every predetermined time (for example, 5 seconds or 2 seconds). Then, based on the received radio wave level of the discovered communication device, the movement of surrounding communication devices is determined. In this embodiment, the area between the outer circle OS and the inner circle IS is set as a detection area DA, and the movement of the communication device is determined within the detection area DA.

図4(A)−(D)を参照して、或る時刻において受信電波レベルが「−100dBm」の通信機器が発見され、所定時間毎に受信電波レベルが「3dBm」ずつ大きくなっている場合、通信機器が接近していると判断される。そして、このように受信電波レベルが変化している場合は、第1警戒状態と判定し、音楽プレーヤ機能によって再生された音声(第1音声)の音量を下げると共に、マイクロホン18によって集音された周囲音(第2音声)を音声よりも小さい音量でイヤホンから出力する。   4A to 4D, when a communication device having a received radio wave level of “−100 dBm” is found at a certain time, and the received radio wave level increases by “3 dBm” every predetermined time. It is determined that the communication device is approaching. If the received radio wave level changes as described above, it is determined that the first alert state has occurred, the volume of the sound (first sound) reproduced by the music player function is lowered, and the sound is collected by the microphone 18. Ambient sound (second sound) is output from the earphone at a volume lower than the sound.

次に、図5(A)−(D)を参照して、発見された通信機器の受信電波レベルは、所定時間毎に「5dBm」ずつ大きくなっている。この場合、所定時間毎の受信電波レベルの変化量が第1警戒状態と判定されたときよりも大きいため、通信機器を所持する人間などが第1警戒状態のときよりも早く接近していると考えられる。そこで、この実施例では、第2警戒状態と判定し、音楽プレーヤ機能によって再生された音声の音量を下げたうえで、周囲音を音声よりも大きい音量でイヤホンから出力する。   Next, referring to FIGS. 5A to 5D, the received radio wave level of the discovered communication device increases by “5 dBm” every predetermined time. In this case, since the amount of change in the received radio wave level per predetermined time is larger than when it is determined to be the first alert state, a person or the like who possesses the communication device is approaching earlier than in the first alert state. Conceivable. Therefore, in this embodiment, the second alert state is determined, the volume of the sound reproduced by the music player function is lowered, and the ambient sound is output from the earphone at a volume higher than the sound.

このように、第2警戒状態では通信機器を持った人間は第1警戒状態よりも早く使用者に接近しているため、第2警戒状態は第1警戒状態よりも危険度が高いと考えられる。そのため、使用者が周囲の状態に気づきやすくするために、使用者の周りの音(周囲音)を、副音声よりも音量が大きい主音声として出力する。つまり、第1警戒状態および第2警戒状態では、音声の音量を下げ、周囲音を出力することで、使用者が周囲の状態に気づきやすくすることができる。   Thus, since the person with the communication device approaches the user earlier than the first alert state in the second alert state, the second alert state is considered to be more dangerous than the first alert state. . Therefore, in order to make it easier for the user to notice the surrounding state, the sound around the user (ambient sound) is output as the main sound whose volume is larger than that of the sub sound. That is, in the first alert state and the second alert state, the user can easily notice the surrounding state by lowering the sound volume and outputting the surrounding sound.

また、この実施例では、受信電波レベルの変化量が「1dBm」以上であり、「5dBm」未満のときに、第1警戒状態と判定する。さらに、受信電波レベルの変化量が「5dBm」以上のときに、第2警戒状態と判定する。   Further, in this embodiment, when the amount of change in the received radio wave level is “1 dBm” or more and less than “5 dBm”, the first alert state is determined. Furthermore, when the amount of change in the received radio wave level is “5 dBm” or more, the second alert state is determined.

そして、第1警戒状態および第2警戒状態の通知は、通信機器が使用者から離れていけば、つまり受信電波レベルが弱くなれば停止する。つまり、使用者に接近する人間や車などが周囲に存在しなくなれば、不要な通知がされないようにできる。   Then, the notification of the first alert state and the second alert state is stopped when the communication device moves away from the user, that is, when the received radio wave level becomes weak. In other words, if there are no humans or cars approaching the user, unnecessary notifications can be prevented.

以上の説明から分かるように、通信機器を持つ人間や、通信機器が搭載された車両などの接近が精度よく検出されるため、通信機器を所持する人間や通信機器が搭載された車両の接近を適切に通知することができる。   As can be seen from the above explanation, since the approach of a person with a communication device or a vehicle equipped with a communication device is detected with high accuracy, the approach of a person carrying a communication device or a vehicle equipped with a communication device is prevented. Appropriate notifications can be made.

また、第1実施例では、イヤホンプラグが挿入されると接近通知処理が実行されるため、使用者がイヤホンを利用することで周囲の状態に気づきにくいときに、通信機器を所持する人間などの接近を通知することができる。特に、利用頻度が高い音楽プレーヤ機能によって、使用者が音楽を聴いている場合、上述した効果は強く発揮される。   Further, in the first embodiment, since an approach notification process is executed when an earphone plug is inserted, when a user is difficult to notice the surrounding state by using the earphone, a person who possesses a communication device or the like An approach can be notified. In particular, when the user is listening to music by the music player function that is frequently used, the above-described effects are exerted strongly.

さらに、イヤホンジャック24からイヤホンプラグが引き抜かれた場合は、接近通知処理を終了する。つまり、使用者がイヤホンを利用していなければ、使用者は自身の耳で周囲の状態を確認できる。そのため、イヤホンプラグが引き抜かれた場合は、余計な電力を消費しないようにするために、通信機器の探索が行われないようにできる。   Furthermore, when the earphone plug is pulled out from the earphone jack 24, the approach notification process is terminated. That is, if the user does not use the earphone, the user can confirm the surrounding state with his / her ear. Therefore, when the earphone plug is pulled out, it is possible to prevent searching for communication devices so as not to consume extra power.

また、加速度センサ38によって使用者(携帯電話機10)の移動が検知される場合は、通信機器を探索する頻度を上げるために、上述した所定時間が短く設定される。つまり、使用者が移動している場合は、通信機器を所持する人間などの接近がより早く判断できるようになる。   When the movement of the user (mobile phone 10) is detected by the acceleration sensor 38, the above-described predetermined time is set short in order to increase the frequency of searching for communication devices. That is, when the user is moving, the approach of a person or the like who possesses the communication device can be determined earlier.

さらに、使用者が移動することで電波中継器48に近づくと、電波中継器48との近距離無線通信における受信電波レベルが強くなり、警戒状態が誤って通知されてしまう。そこで、本実施例では、電波中継器48の設置位置や、MACアドレスを含む電波中継器データを予めRAM36に記憶しておく。そして、使用者が移動しているときに通信機器が発見されると、MACアドレスに基づいて電波中継器48であるかが判断される。このとき、電波中継器48と判断されると、通信テーブルからその電波中継器48の情報を削除することで、警戒状態が誤って通知されることを防ぐ。ただし、他の実施例では、電波中継器データに設置位置が含まれていてもよい。この場合、プロセッサ26は、移動中に通信機器を発見した場合、GPS回路40を利用して現在位置を測位することで、発見した通信機器が電波中継器であるかが判断される。   Further, when the user moves and approaches the radio wave repeater 48, the received radio wave level in the short-range wireless communication with the radio wave repeater 48 becomes strong, and a warning state is erroneously notified. Therefore, in the present embodiment, the installation position of the radio wave repeater 48 and the radio wave repeater data including the MAC address are stored in the RAM 36 in advance. If a communication device is found when the user is moving, it is determined whether the communication device is the radio wave repeater 48 based on the MAC address. At this time, if it is determined that the radio wave repeater 48, the information of the radio wave repeater 48 is deleted from the communication table, thereby preventing a warning state from being erroneously notified. However, in another embodiment, the installation position may be included in the radio wave repeater data. In this case, when the processor 26 finds a communication device during movement, the processor 26 determines whether the found communication device is a radio wave repeater by using the GPS circuit 40 to determine the current position.

なお、他の実施例では、イヤホンジャック24にステレオイヤホンのイヤホンプラグが接続されていると判断できる場合、第1警戒状態では一方(たとえば、右側)のイヤホンから周囲音を出力し、第2警戒状態では左右のイヤホンから周囲音が出力されるようにしてもよい。また、マイクロホン18によって周囲音を集音できない場合は、周囲音に代えてアラーム音が出力されてもよい。   In another embodiment, when it can be determined that the earphone plug of the stereo earphone is connected to the earphone jack 24, the ambient sound is output from one earphone (for example, the right side) in the first alert state, and the second alert In the state, ambient sounds may be output from the left and right earphones. If ambient sound cannot be collected by the microphone 18, an alarm sound may be output instead of the ambient sound.

また、その他の実施例では、音楽プレーヤ機能によって再生された音声と周囲音とは主音声または副音声として出力されてもよい。たとえば、第1警戒状態では、音声が主音声、周囲音が副音声として設定される。また、第2警戒状態では、音声が副音声、周囲音が主音声として設定される。   In another embodiment, the sound reproduced by the music player function and the ambient sound may be output as main sound or sub sound. For example, in the first alert state, the sound is set as the main sound and the ambient sound is set as the sub sound. Further, in the second alert state, the voice is set as the secondary voice and the ambient sound is set as the main voice.

また、周囲音は、マイクロホン18によって集音され、A/D変換機16によってデジタル信号に変換された後に、プロセッサ26に入力される。プロセッサ26は、そのデジタル信号をRAM36に保存することなく、第2D/A変換機20bに出力する。そして、第2D/A変換機20bによってアナログ信号に変換されたのちに、イヤホンジャック24を介してイヤホンに出力される。   The ambient sound is collected by the microphone 18, converted to a digital signal by the A / D converter 16, and then input to the processor 26. The processor 26 outputs the digital signal to the second D / A converter 20b without storing it in the RAM 36. Then, after being converted into an analog signal by the second D / A converter 20b, it is output to the earphone via the earphone jack 24.

そして、イヤホンから音楽プレーヤによって再生された音声と周囲音とを同時に出力する場合、プロセッサ26は、音声と周囲音との合成音を生成した後に、その合成音が第2D/A変換機20bに出力する。また、プロセッサ26は、音声と周囲音とを合成する比率を調整することで、音声と周囲音とに音量差がある合成音を生成することができる。たとえば、音声の音量が周囲音の音量よりも大きい合成音を生成する場合、周囲音よりも音声の方が多く合成されるように、合成の比率が調整される。   When the sound reproduced by the music player and the ambient sound are output simultaneously from the earphone, the processor 26 generates a synthesized sound of the sound and the ambient sound, and then the synthesized sound is sent to the second D / A converter 20b. Output. Further, the processor 26 can generate a synthesized sound having a volume difference between the sound and the ambient sound by adjusting a ratio of synthesizing the sound and the ambient sound. For example, when generating a synthesized sound in which the volume of the sound is larger than the volume of the ambient sound, the synthesis ratio is adjusted so that more speech is synthesized than the ambient sound.

図6は、RAM36のメモリマップを示す図である。RAM36には、プログラム記憶領域302およびデータ記憶領域304が含まれる。また、プログラムおよびデータの一部は、フラッシュメモリ32から一度に全部または必要に応じて部分的かつ順次的に読み出され、RAM36に記憶される。   FIG. 6 is a diagram showing a memory map of the RAM 36. The RAM 36 includes a program storage area 302 and a data storage area 304. Further, a part of the program and data is read from the flash memory 32 all at once or partially and sequentially as necessary and stored in the RAM 36.

プログラム記憶領域302には、携帯電話機10を動作させるためのプログラムが記憶されている。たとえば、携帯電話機10を動作させるためのプログラムには、接近通知プログラム310および待機プログラム312が含まれる。接近通知プログラム310は、近距離無線通信の受信電波レベルに基づいて、通信機器を所持する人などの接近を通知するためのプログラムである。待機プログラム312は、接近通知プログラム310のサブルーチンであり、通信機器を探索する周期(所定時間)を設定するためのプログラムである。   The program storage area 302 stores a program for operating the mobile phone 10. For example, programs for operating the mobile phone 10 include an approach notification program 310 and a standby program 312. The approach notification program 310 is a program for notifying the approach of a person or the like who has a communication device based on the received radio wave level of short-range wireless communication. The standby program 312 is a subroutine of the approach notification program 310, and is a program for setting a cycle (predetermined time) for searching for communication devices.

なお、図示は省略するが、携帯電話機10を動作させるためのプログラムには、音楽プレーヤ機能を実行するためのプログラムなどが含まれる。   Although illustration is omitted, the program for operating the mobile phone 10 includes a program for executing a music player function.

続いて、データ記憶領域304には、加速度バッファ330、位置バッファ332、前回バッファ334および音量バッファ336が設けられると共に、電波中継器データ338および通信テーブルデータ340が記憶される。また、データ記憶領域304には、イヤホンフラグ342、音声出力フラグ344、第1探索カウンタ346および第2探索カウンタ348が設けられる。   Subsequently, in the data storage area 304, an acceleration buffer 330, a position buffer 332, a previous buffer 334, and a volume buffer 336 are provided, and radio wave repeater data 338 and communication table data 340 are stored. Further, the data storage area 304 is provided with an earphone flag 342, an audio output flag 344, a first search counter 346 and a second search counter 348.

加速度バッファ330には、加速度センサ38から出力された加速度データが一時的に記憶される。位置バッファ332には、GPS回路40などを利用して測位された現在位置データが一時的に記憶される。前回バッファ334には、通信テーブルデータ340が一時的に記憶される。なお、通信機器の移動は、前回バッファ334に記憶された通信テーブルの受信電波レベルと、探索により更新された通信テーブルの受信電波レベルとに基づいて判断される。音量バッファ336には、イヤホンから出力される音声の音量値を示すデータが記憶される。そして、プロセッサ26は、警戒状態の通知が停止されると、音量バッファ336に記憶されたデータに基づいて、下げられた音量を元に戻す。   The acceleration buffer 330 temporarily stores acceleration data output from the acceleration sensor 38. The position buffer 332 temporarily stores current position data measured using the GPS circuit 40 or the like. In the previous buffer 334, communication table data 340 is temporarily stored. The movement of the communication device is determined based on the received radio wave level of the communication table stored in the previous buffer 334 and the received radio wave level of the communication table updated by the search. The volume buffer 336 stores data indicating the volume value of the sound output from the earphone. Then, when the warning state notification is stopped, the processor 26 restores the lowered sound volume based on the data stored in the sound volume buffer 336.

電波中継器データ338は、公共の場所に設置されている電波中継器46の設置位置や、MACアドレスなど含むデータである。通信テーブルデータ340は、たとえば図3に示す構成のテーブルデータである。   The radio repeater data 338 is data including an installation position of the radio repeater 46 installed in a public place, a MAC address, and the like. The communication table data 340 is table data having a configuration shown in FIG. 3, for example.

イヤホンフラグ342は、イヤホンジャック24に対してイヤホンプラグが挿入されているか否かを判断するためのフラグである。たとえば、イヤホンフラグ342は、1ビットのレジスタで構成される。イヤホンフラグ342がオン(成立)されると、レジスタにはデータ値「1」が設定される。一方、イヤホンフラグ342がオフ(不成立)されると、レジスタにはデータ値「0」が設定される。そして、本実施例では、イヤホンフラグ342がオンになると接近通知処理が実行され、オフになると接近通知処理が終了する。   The earphone flag 342 is a flag for determining whether or not an earphone plug is inserted into the earphone jack 24. For example, the earphone flag 342 includes a 1-bit register. When the earphone flag 342 is turned on (established), a data value “1” is set in the register. On the other hand, when the earphone flag 342 is turned off (not established), a data value “0” is set in the register. In this embodiment, the approach notification process is executed when the earphone flag 342 is turned on, and the approach notification process is ended when the earphone flag 342 is turned off.

また、音声出力フラグ344は、音楽プレーヤ機能などによって音声が出力されているか否かを判断するためフラグである。第1探索カウンタ346は、第1所定時間(たとえば、5秒)を計測するためのカウンタであり、リセット(初期化)されるとカウント(計測)を開始する。そのため、第1探索カウンタ346は、第1探索タイマと呼ばれる。また、第2探索カウンタ348は、第2所定時間(たとえば、2秒)を計測するためのカウンタである。また、第1探索カウンタと同様、第2探索タイマと呼ばれる。   The sound output flag 344 is a flag for determining whether sound is output by a music player function or the like. The first search counter 346 is a counter for measuring a first predetermined time (for example, 5 seconds), and starts counting (measurement) when reset (initialized). Therefore, the first search counter 346 is called a first search timer. The second search counter 348 is a counter for measuring a second predetermined time (for example, 2 seconds). Also, like the first search counter, it is called a second search timer.

なお、図示は省略するが、データ記憶領域304には、待機状態でディスプレイ32表示される画像データや、文字列のデータなどが記憶されると共に、携帯電話機10の動作に必要なカウンタや、フラグも設けられる。   Although illustration is omitted, the data storage area 304 stores image data displayed on the display 32 in a standby state, character string data, and the like, as well as counters and flags necessary for the operation of the mobile phone 10. Is also provided.

プロセッサ26は、Android(登録商標)およびREXなどのLinux(登録商標)ベースのOSや、その他のOSの制御下で、図7、図8および図9に示す接近通知処理および図10に示す待機処理などを含む、複数のタスクを並列的に処理する。   The processor 26 is under the control of a Linux (registered trademark) -based OS such as Android (registered trademark) and REX, and other OSs, and the waiting notification process shown in FIG. 10 and the approach notification process shown in FIGS. Process multiple tasks in parallel, including processing.

図7は第1実施例の接近通知処理の一部のフロー図である。たとえば、イヤホンジャック24にイヤホンプラグが挿入され、イヤホンフラグ342がオンになると、プロセッサ26はステップS1で近距離無線通信回路44を起動する。つまり、近距離無線通信を確立したり、通信機器を探索したりできるようにする。なお、既に近距離無線通信回路44が起動している場合は、ステップS1の処理は省略されてもよい。   FIG. 7 is a flowchart illustrating a part of the approach notification process according to the first embodiment. For example, when an earphone plug is inserted into the earphone jack 24 and the earphone flag 342 is turned on, the processor 26 activates the short-range wireless communication circuit 44 in step S1. That is, it is possible to establish near field communication or search for a communication device. Note that if the short-range wireless communication circuit 44 has already been activated, the process of step S1 may be omitted.

続いて、図8のステップS21では、通信機器を探索する。つまり、図2に示す検知領域DAに存在する通信機器を探索する。続いて、ステップS23では発見したか否かを判断する。つまり、検知領域DAに通信機器が存在しているかが判断される。ステップS23で“NO”であれば、つまり検知領域DAに通信機器が存在していなければ、ステップS45で待機処理を実行し、ステップS21に戻る。なお、この待機処理については、図10のフロー図を用いて詳細に説明するため、ここでの説明は省略する。   Subsequently, in step S21 of FIG. 8, a communication device is searched. That is, the communication device existing in the detection area DA shown in FIG. 2 is searched. Subsequently, in step S23, it is determined whether or not it has been found. That is, it is determined whether a communication device exists in the detection area DA. If “NO” in the step S23, that is, if there is no communication device in the detection area DA, a standby process is executed in a step S45, and the process returns to the step S21. Since this standby process will be described in detail with reference to the flowchart of FIG. 10, the description thereof is omitted here.

一方、ステップS23で“YES”であれば、つまり、たとえば、図2に示すように、検知領域DAで3台の通信機器を発見できれば、ステップS25で発見した通信機器の情報を記録する。たとえば、図3に示すように3台の通信機器の機器名、MACアドレスを通信テーブルデータに記録する。   On the other hand, if “YES” in the step S23, that is, for example, if three communication devices can be found in the detection area DA as shown in FIG. 2, the information on the communication device found in the step S25 is recorded. For example, as shown in FIG. 3, the device names and MAC addresses of three communication devices are recorded in the communication table data.

続いて、ステップS27では、電波中継器48の情報が記録されているか否かを判断する。たとえば、通信テーブルデータ340に記録された通信機器のMACアドレスが、電波中継器データ338に登録されているかが判断される。ステップS27で“NO”であれば、たとえば電波中継器48のMACアドレスが通信テーブルに記録されていなければ、ステップS31に進む。一方、ステップS27で“YES”であれば、たとえば電波中継器のMACアドレスが通信テーブルに記録されていれば、ステップS29で電波中継器48の情報を削除し、ステップS31に進む。   Subsequently, in step S27, it is determined whether or not the information of the radio wave repeater 48 is recorded. For example, it is determined whether the MAC address of the communication device recorded in the communication table data 340 is registered in the radio wave repeater data 338. If “NO” in the step S27, for example, if the MAC address of the radio wave repeater 48 is not recorded in the communication table, the process proceeds to a step S31. On the other hand, if “YES” in the step S27, for example, if the MAC address of the radio repeater is recorded in the communication table, the information of the radio repeater 48 is deleted in a step S29, and the process proceeds to the step S31.

続いて、ステップS31では、受信電波レベルを取得する。つまり、通信テーブルに記録される各通信機器の受信電波レベルを取得し、通信テーブルデータ340に記録する。また、具体的な処理としては、近距離無線通信回路44は各通信機器が発信する信号の強さを検知することができる。そして、プロセッサ26は近距離無線通信回路44によって検知された各通信機器の信号の強さを、「dBm」として取得する。なお、前回バッファ334に前回の状態通信テーブルデータ340が記録されていない場合は、ステップS31の処理が終了した後に、通信テーブルデータ340が前回バッファ334にコピーされる。   Subsequently, in step S31, the received radio wave level is acquired. That is, the received radio wave level of each communication device recorded in the communication table is acquired and recorded in the communication table data 340. As a specific process, the short-range wireless communication circuit 44 can detect the strength of a signal transmitted from each communication device. Then, the processor 26 acquires the signal strength of each communication device detected by the short-range wireless communication circuit 44 as “dBm”. If the previous state communication table data 340 is not recorded in the previous buffer 334, the communication table data 340 is copied to the previous buffer 334 after the process of step S31 ends.

続いて、ステップS33では、受信電波レベルが変化しているか否かを判断する。つまり、移動によって受信電波レベルが変化している通信機器が存在するかが判断される。また、具体的には、前回バッファ344に記録されている通信テーブルデータの受信電波レベルと、通信テーブルデータ340の受信電波レベルとが、MACアドレスに基づいて比較される。なお、ステップS33における“YES”または“NO”の判断結果にかかわらず、ステップS33の判断が終わると、通信テーブルデータ340が前回バッファ344にコピーされる。   Subsequently, in step S33, it is determined whether the received radio wave level has changed. That is, it is determined whether there is a communication device whose received radio wave level has changed due to movement. Specifically, the reception radio wave level of the communication table data recorded in the previous buffer 344 and the reception radio wave level of the communication table data 340 are compared based on the MAC address. Regardless of the determination result of “YES” or “NO” in step S33, when the determination in step S33 ends, the communication table data 340 is copied to the previous buffer 344.

ステップS33で“NO”であれば、つまり受信電波レベルが変化している通信機器が無ければ、ステップS45に進む。また、ステップS33で“YES”であれば、つまり受信電波レベルが変化している通信機器が存在していれば、ステップS35で変化量が閾値以下か否かが判断される。つまり、受信電波レベルは周囲の環境の変化でも変動するため、通信機器が移動しているかを正確に判断するために変化量が閾値(たとえば、0.9dBm)以下であるかが判断される。ステップS35で“YES”であれば、たとえば変化量が「0.5dBm」であれば、ステップS45に進む。一方、ステップS35で“NO”であれば、たとえば変化量が「3dBm」であれば、ステップS37で受信電波レベルが強くなっているか否かが判断される。つまり、通信機器が接近しているかが判断される。また、具体的には、前回バッファ344に記録されている通信テーブルデータの受信電波レベルよりも、通信テーブルデータ340の受信電波レベルが大きいかが判断される。   If “NO” in the step S33, that is, if there is no communication device whose received radio wave level has changed, the process proceeds to a step S45. If “YES” in the step S33, that is, if there is a communication device whose received radio wave level has changed, it is determined whether or not the change amount is equal to or less than a threshold value in a step S35. In other words, since the received radio wave level also fluctuates due to changes in the surrounding environment, it is determined whether the amount of change is equal to or less than a threshold value (for example, 0.9 dBm) in order to accurately determine whether the communication device is moving. If “YES” in the step S35, for example, if the change amount is “0.5 dBm”, the process proceeds to a step S45. On the other hand, if “NO” in the step S35, for example, if the change amount is “3 dBm”, it is determined whether or not the received radio wave level is increased in a step S37. That is, it is determined whether the communication device is approaching. Specifically, it is determined whether the received radio wave level of communication table data 340 is higher than the received radio wave level of communication table data recorded in buffer 344 last time.

ステップS37で“NO”であれば、たとえば受信電波レベルが弱くなっていれば、ステップS45に進む。一方、ステップS37で“YES”であれば、つまり受信電波レベルが強くなっていれば、ステップS39で第1警戒状態か否かが判断される。つまり、受信電波レベルの変化量が、「1dBm」以上かつ「5dBm」未満であるかが判断される。ステップS39で“YES”であれば、たとえば、受信電波レベルが「−100dBm」から「−97dBm」に変化しており、変化量が「3dBm」であれば、ステップS41で第1警戒状態を通知して、ステップS61に進む。たとえば、ステップS41では、音楽プレーヤ機能によって再生された音声の音量を下げてイヤホンから出力し、周囲音を音声よりも小さい音量にしてイヤホンから出力する。また、ステップS39で“NO”であれば、たとえば図5に示すように、受信電波レベルの変化量が「5dBm」以上であれば、ステップS43で第2警戒状態を通知し、ステップS61に進む。たとえば、ステップS43では、音声の音量を下げてイヤホンから出力し、周囲音を音声よりも大きな音量にしてイヤホンから出力する。   If “NO” in the step S37, for example, if the received radio wave level is weak, the process proceeds to a step S45. On the other hand, if “YES” in the step S37, that is, if the received radio wave level is strong, it is determined whether or not the first alert state is in a step S39. That is, it is determined whether the amount of change in the received radio wave level is “1 dBm” or more and less than “5 dBm”. If “YES” in the step S39, for example, the received radio wave level is changed from “−100 dBm” to “−97 dBm”, and if the change amount is “3 dBm”, the first warning state is notified in a step S41. Then, the process proceeds to step S61. For example, in step S41, the volume of the sound reproduced by the music player function is lowered and outputted from the earphone, and the surrounding sound is made smaller than the sound and outputted from the earphone. If “NO” in the step S39, as shown in FIG. 5, for example, if the amount of change in the received radio wave level is “5 dBm” or more, the second warning state is notified in a step S43, and the process proceeds to the step S61. . For example, in step S43, the sound volume is lowered and outputted from the earphone, and the surrounding sound is made louder than the sound and outputted from the earphone.

なお、ステップS39の処理を実行するプロセッサ26は接近判断部として機能する。また、ステップS41,S43の処理を実行するプロセッサ26は通知部として機能する。   The processor 26 that executes the process of step S39 functions as an approach determination unit. Further, the processor 26 that executes the processes of steps S41 and S43 functions as a notification unit.

図9を参照して、ステップS61では、通信機器を探索する。つまり、接近している通信機器や、新たに接近してくる他の通信機器を探索する。ステップS63では、発見したか否かを判断する。つまり接近してくる通信機器や、新たに接近してくる他の通信機器が発見されたかが判断される。ステップS63で“NO”であれば、たとえば接近中の通信機器を見失ったら、ステップS79に進む。   Referring to FIG. 9, in step S61, a communication device is searched. That is, the communication device that is approaching or another communication device that is approaching newly is searched. In step S63, it is determined whether or not it has been found. That is, it is determined whether a communication device approaching or another communication device approaching newly has been found. If “NO” in the step S63, for example, if the approaching communication device is lost, the process proceeds to a step S79.

また、ステップS63で“YES”であれば、つまり通信機器を再び発見できれば、ステップS65で、ステップS25と同様、発見した通信機器の情報を記録する。続いて、ステップ67では電波中継器48の情報が通信テーブルに記録されているかが判断される。ステップS67で“NO”であれば、つまり電波中継器48の情報が通信テーブルに記録されていなければ、ステップS71に進む。一方、ステップS67で“YES”であれば、つまり電波中継器48の情報が通信テーブルに記録されていれば、ステップS69で電波中継器48の情報を通信テーブルから削除して、ステップS71に進む。   If “YES” in the step S63, that is, if the communication device can be discovered again, the information on the discovered communication device is recorded in a step S65 as in the step S25. Subsequently, at step 67, it is determined whether the information of the radio wave repeater 48 is recorded in the communication table. If “NO” in the step S67, that is, if the information of the radio wave repeater 48 is not recorded in the communication table, the process proceeds to a step S71. On the other hand, if “YES” in the step S67, that is, if the information of the radio repeater 48 is recorded in the communication table, the information of the radio repeater 48 is deleted from the communication table in a step S69, and the process proceeds to the step S71. .

続いて、ステップS71では、ステップS31と同様、受信電波レベルを取得する。続いて、ステップS73では、受信電波レベルが変化しているかが判断される。ステップS73で“NO”であれば、ステップS81で、ステップS45と同様に待機処理を実行する。ステップS73で“YES”であれば、つまり受信電波レベルが変化していれば、ステップS75で変化量が閾値以下か否かが判断される。ステップS75で“YES”であれば、つまり変化量が閾値以下であれば、ステップS81に進む。   Subsequently, in step S71, the received radio wave level is acquired as in step S31. Subsequently, in step S73, it is determined whether the received radio wave level has changed. If “NO” in the step S73, the standby process is executed in a step S81 similarly to the step S45. If “YES” in the step S73, that is, if the received radio wave level has changed, it is determined whether or not the change amount is equal to or less than a threshold value in a step S75. If “YES” in the step S75, that is, if the change amount is equal to or less than the threshold value, the process proceeds to a step S81.

また、ステップS75で“NO”であれば、つまり変化量が閾値よりも大きければ、ステップS77で受信電波レベルが弱くなっているか否かが判断される。つまり、接近していた通信機器が、携帯電話機10から離れていくかが判断される。ステップS77で“NO”であれば、たとえば接近中の通信機器がさらに接近している場合は、ステップS81に進む。一方、ステップS77で“YES”であれば、つまり接近していた通信機器が携帯電話機10から離れていけば、ステップS79で警戒状態の通知を停止する。たとえば、周囲音がイヤホンから出力されないようにし、音量バッファ336に記憶されている音量値に基づいて、イヤホンから出力される音量を通知される前の状態に戻す。   If “NO” in the step S75, that is, if the change amount is larger than the threshold value, it is determined whether or not the received radio wave level is weak in a step S77. That is, it is determined whether the communication device that has been approaching moves away from the mobile phone 10. If “NO” in the step S77, for example, if the approaching communication device is further approaching, the process proceeds to the step S81. On the other hand, if “YES” in the step S77, that is, if the approaching communication device moves away from the mobile phone 10, the alerting state notification is stopped in a step S79. For example, the ambient sound is prevented from being output from the earphone, and the sound volume output from the earphone is returned to the state before being notified based on the sound volume value stored in the sound volume buffer 336.

そして、ステップS79の処理が終わると、ステップS21に戻る。つまり、通信機器を所持した人間などの接近が再び監視される。   Then, when the process of step S79 ends, the process returns to step S21. That is, the approach of a person or the like who has a communication device is monitored again.

なお、ステップS21,S61の処理を実行するプロセッサ26は探索部として機能する。また、ステップS31,S71の処理を実行するプロセッサ26は取得部として機能する。さらに、ステップS77の処理を実行するプロセッサ26は離れ判断部として機能する。そして、ステップS79の処理を実行するプロセッサ26は停止部として機能する。   The processor 26 that executes the processes of steps S21 and S61 functions as a search unit. Further, the processor 26 that executes the processes of steps S31 and S71 functions as an acquisition unit. Furthermore, the processor 26 that executes the process of step S77 functions as a separation determination unit. And the processor 26 which performs the process of step S79 functions as a stop part.

図10は待機処理のフロー図である。たとえば、接近通知処理のステップS45またはステップS81が実行されると、プロセッサ26はステップS101で加速度センサの出力が変化したか否かを判断する。つまり、携帯電話機10が動いている状態または停止状態から変化したか否かが判断される。また、具体的には、加速度バッファ330に記憶されている仮想度データが変化したかが判断される。ステップS101で“NO”であれば、つまり携帯電話機10の状態が変化していなければ、ステップS109に進む。   FIG. 10 is a flowchart of standby processing. For example, when step S45 or step S81 of the approach notification process is executed, the processor 26 determines whether or not the output of the acceleration sensor has changed in step S101. That is, it is determined whether the mobile phone 10 has changed from a moving state or a stopped state. Specifically, it is determined whether or not the virtuality data stored in the acceleration buffer 330 has changed. If “NO” in the step S101, that is, if the state of the mobile phone 10 has not changed, the process proceeds to a step S109.

また、ステップS101で“YES”であれば、つまり携帯電話機10の状態が変化すれば、ステップS103で停止状態か否かが判断される。つまり携帯電話機10の状態が停止状態に変化したかが判断される。ステップS103で“YES”であれば、つまり携帯電話機10が停止状態に変化すれば、ステップS105で第1探索タイマが設定される。つまり、通信機器を探索する周期が第1所定時間(たとえば、5秒)となるように、第1探索タイマが設定される。一方、ステップS103で“NO”であれば、つまり携帯電話機10が停止状態から移動している状態に変化すれば、ステップS107で第2探索タイマが設定される。つまり、通信機器を探索する周期が第1所定時間よりも短い、第2所定時間(たとえば、2秒)となるように、第2探索タイマが設定される。なお、ステップS107の処理を実行するプロセッサ26は時間設定部として機能する。   If “YES” in the step S101, that is, if the state of the mobile phone 10 changes, it is determined whether or not it is in a stopped state in a step S103. That is, it is determined whether the state of the mobile phone 10 has changed to the stopped state. If “YES” in the step S103, that is, if the mobile phone 10 is changed to a stopped state, the first search timer is set in a step S105. That is, the first search timer is set so that the period for searching for communication devices is a first predetermined time (for example, 5 seconds). On the other hand, if “NO” in the step S103, that is, if the mobile phone 10 changes from the stopped state to the moving state, the second search timer is set in a step S107. That is, the second search timer is set so that the period for searching for communication devices is a second predetermined time (for example, 2 seconds) that is shorter than the first predetermined time. The processor 26 that executes the process of step S107 functions as a time setting unit.

続いて、ステップS109では、設定されているタイマをリセットする。たとえば、第1探索タイマが設定されていれば、第1探索カウンタ346がリセットされる。続いて、ステップS111では、タイマが満了したか否かが判断される。たとえば、第1探索タイマが設定されている場合、第1所定時間の計測が終了したかが判断される。ステップS111で“NO”であれば、たとえば第1探索タイマが満了していなければ、ステップS111の判断が繰り返される。ステップS111で“YES”であれば、たとえば第1探索タイマが満了すれば、待機処理を終了して、接近通知処理に戻る。   Subsequently, in step S109, the set timer is reset. For example, if the first search timer is set, the first search counter 346 is reset. Subsequently, in step S111, it is determined whether or not the timer has expired. For example, when the first search timer is set, it is determined whether the measurement of the first predetermined time has ended. If “NO” in the step S111, for example, if the first search timer has not expired, the determination in the step S111 is repeated. If “YES” in the step S111, for example, if the first search timer expires, the standby process is ended and the process returns to the approach notification process.

<第2実施例>
第2実施例では、音楽プレーヤ機能などによって音声が出力されているときに、通信機器が探索されるようにする。つまり、イヤホンによって音声を聞いていなければ、通信機器を探索しないようにすることで、消費電力を抑えることができる。なお、第2実施例の携帯電話機10は、第1実施例と略同じであるため、携帯電話機10の電気的な構成およびRAM36のメモリマップなどの説明は省略する。
<Second embodiment>
In the second embodiment, a communication device is searched when sound is output by a music player function or the like. In other words, power consumption can be suppressed by not searching for a communication device if the earphone is not listening to voice. Since the mobile phone 10 of the second embodiment is substantially the same as the first embodiment, description of the electrical configuration of the mobile phone 10 and the memory map of the RAM 36 is omitted.

第2実施例のプロセッサ26は、AndroidおよびREXなどのLinuxベースのOSや、その他のOSの制御下で、図11、図12および図13に示す第2実施例の接近通知処理を含む複数のタスクを並列的に処理する。   The processor 26 of the second embodiment includes a plurality of access notification processes of the second embodiment shown in FIGS. 11, 12, and 13 under the control of a Linux-based OS such as Android and REX, and other OSs. Process tasks in parallel.

図11は、第2実施例の接近通知処理の一部のフロー図である。なお、このフロー図では、図7−図9に示す接近通知処理と同じステップには同一のステップ番号を付与し、詳細な説明は省略する。   FIG. 11 is a partial flowchart of the approach notification process according to the second embodiment. In this flowchart, the same step number is assigned to the same step as the approach notification process shown in FIGS. 7 to 9, and the detailed description is omitted.

たとえば、イヤホンジャック24にイヤホンプラグが挿入されると、プロセッサ26はステップS131で、音声が出力されているか否かを判断する。たとえば、音楽プレーヤ機能によって音楽データが再生され、音声出力フラグ344がオンになっているか否かが判断される。ステップS131で“NO”であれば、たとえば音楽データが再生されていなければ、ステップS131の処理が繰り返して実行される。また、ステップS131で“YES”であれば、たとえば音楽データが再生されると、ステップS1で近距離無線通信回路44を起動する。   For example, when an earphone plug is inserted into the earphone jack 24, the processor 26 determines whether or not sound is output in step S131. For example, it is determined whether or not music data is reproduced by the music player function and the audio output flag 344 is turned on. If “NO” in the step S131, for example, if music data is not reproduced, the process of the step S131 is repeatedly executed. If “YES” in the step S131, for example, when music data is reproduced, the short-range wireless communication circuit 44 is activated in a step S1.

続いて、図12のステップS21−S45の処理が実行される。また、ステップS45の処理が終了すると、ステップS133に進む。そして、ステップS133では、音声出力が停止したか否かが判断される。たとえば、音楽プレーヤ機能によって音楽データの再生が停止され、音声出力フラグ344がオフにされたかが判断される。ステップS133で“NO”であれば、たとえば音楽データの再生が続いていれば、ステップS21に戻る。一方、ステップS133で“YES”であれば、たとえば音楽データの再生が停止すれば、ステップS131に戻る。   Subsequently, the processing of steps S21 to S45 in FIG. 12 is executed. When the process of step S45 is completed, the process proceeds to step S133. In step S133, it is determined whether or not the audio output is stopped. For example, it is determined whether reproduction of music data is stopped by the music player function and the audio output flag 344 is turned off. If “NO” in the step S133, for example, if reproduction of music data is continued, the process returns to the step S21. On the other hand, if “YES” in the step S133, for example, if the reproduction of the music data is stopped, the process returns to the step S131.

次に、ステップS61−S81の処理が実行される。また、ステップS81の処理が終了すると、ステップS135に進む。そして、ステップS135では、ステップS133と同様、音声出力が停止したか否が判断される。ステップS135で“NO”であれば、たとえば音声が出力された状態であれば、ステップS61に戻る。一方、ステップS135で“YES”であれば、つまり音声出力が停止すれば、ステップS137で警戒状態の通知を停止して、ステップS131に戻る。   Next, the process of step S61-S81 is performed. When the process of step S81 ends, the process proceeds to step S135. In step S135, as in step S133, it is determined whether the audio output has been stopped. If “NO” in the step S135, for example, if a sound is output, the process returns to the step S61. On the other hand, if “YES” in the step S135, that is, if the sound output is stopped, the warning state notification is stopped in a step S137, and the process returns to the step S131.

<第3実施例>
第3実施例では、相手の通信機器との距離に基づいて、第1警戒状態または第2警戒状態と判定される。具体的には、使用者と相手とが近くなるほど、使用者に強く通知される。なお、第3実施例の携帯電話機10は、第1実施例と略同じであるため、携帯電話機10の電気的な構成およびRAM36のメモリマップなどの説明は省略する。
<Third embodiment>
In the third embodiment, the first alert state or the second alert state is determined based on the distance from the other communication device. Specifically, the closer the user is to the user, the stronger the user is notified. Since the mobile phone 10 of the third embodiment is substantially the same as the first embodiment, description of the electrical configuration of the mobile phone 10 and the memory map of the RAM 36 is omitted.

図14(A)を参照して、或る時刻において受信電波レベルが「−100dBm」の通信機器が発見された場合、使用者と相手の通信機器とが離れているため、非警戒状態と判定される。この場合、危険度は低いため使用者には通知されない。   Referring to FIG. 14A, when a communication device with a received radio wave level of “−100 dBm” is found at a certain time, it is determined that the user is away from the other communication device, so that the non-warning state is determined. Is done. In this case, the risk is low and the user is not notified.

次に、図14(B),(C)を参照して、相手の通信機器が使用者に近づき、受信電波レベルが「−95dmb」または「−90dmb」となれば、使用者と相手の通信機器が近づいたため、第1警戒状態と判定される。   Next, referring to FIGS. 14B and 14C, when the communication device of the other party approaches the user and the received radio wave level becomes “−95 dmb” or “−90 dmb”, the communication between the user and the other party is performed. Since the device is approaching, it is determined as the first alert state.

そして、図14(D)を参照して、相手の通信機器が使用者にさらに近づき、受信電波レベルが「−85dBm」となれば、使用者と相手の通信機器とがかなり近づいているため、第2警戒状態と判定される。   Then, referring to FIG. 14D, if the partner communication device is closer to the user and the received radio wave level is “−85 dBm”, the user and the partner communication device are quite close to each other. The second alert state is determined.

このように、第3実施例では、相手の通信機器の受信電波レベルから近づいていると判断できる場合、相手との距離に基づいて通知する内容を変化させることができる。また、第3実施例では、受信電波レベル、つまり通信機器と携帯電話機10との距離によって音量の下げ幅を変化させてもよい。つまり、距離が遠ければ音量の下げ幅を小さくし、距離が近ければ音量の下げ幅を大きくする。   As described above, in the third embodiment, when it can be determined that the reception radio wave level of the partner communication device is approaching, the content to be notified can be changed based on the distance to the partner. In the third embodiment, the volume reduction range may be changed according to the received radio wave level, that is, the distance between the communication device and the mobile phone 10. That is, if the distance is long, the volume decrease is reduced, and if the distance is close, the volume decrease is increased.

そして、第3実施例でも、相手の通信機器が離れていく場合に、警戒状態の通知を停止することができる。   Also in the third embodiment, the alert state notification can be stopped when the other communication device is separated.

また、第3実施例では、受信電波レベルが「−100dBm」以下のときに、非警戒状態と判定する。また、受信電波レベルが「−100dBm」より大きく、「−90dBm」以下のときに、第1警戒状態と判定する。また、受信電波レベルが「−90dBm」より大きいときに、第2警戒状態と判定する。   Further, in the third example, when the received radio wave level is “−100 dBm” or less, it is determined as the non-warning state. Further, when the received radio wave level is greater than “−100 dBm” and equal to or less than “−90 dBm”, the first alert state is determined. Further, when the received radio wave level is higher than “−90 dBm”, it is determined as the second alert state.

なお、第1実施例から第3実施例は、任意に組み合わせることが可能であり、具体的な組み合わせについては容易に想像できるので、詳細な説明は省略する。   It should be noted that the first to third embodiments can be arbitrarily combined, and a specific combination can be easily imagined, and thus detailed description thereof is omitted.

また、2つ以上の通信機器が同時に接近していると判断される場合は、距離が最も近い通信機器に対応する警戒状態が使用者に通知される。   Further, when it is determined that two or more communication devices are approaching at the same time, a warning state corresponding to the communication device having the shortest distance is notified to the user.

また、本実施例の通信機器には、携帯電話機、いわゆるスマートフォン、無線通信機能を有するノート型PC、無線通信を利用したヘッドセット、モバイルルータ、無線通信機能を有するナビゲーションシステムおよびETC車載器などが含まれる。   The communication device of this embodiment includes a mobile phone, a so-called smart phone, a notebook PC having a wireless communication function, a headset using wireless communication, a mobile router, a navigation system having a wireless communication function, an ETC on-vehicle device, and the like. included.

また、他の実施例では、携帯電話機10の電源がオンにされた時点で、接近通知処理が実行されるようにしてもよい。この場合、音ではなく、バイブレータの振動の強さや、LEDの光の明るさなどによって第1警戒状態または第2警戒状態が通知されてもよい。   In another embodiment, the approach notification process may be executed when the power of the mobile phone 10 is turned on. In this case, the first alert state or the second alert state may be notified not by sound but by the vibration intensity of the vibrator, the brightness of the LED light, or the like.

また、その他の実施例では、近距離無線通信の方式は、IEEE802.15.1に基づくBluetooth(登録商標)方式であってもよいし、IEEE802.16に基づく「WiMAX(登録商標)」または「Mobile WiMAX」方式であってもよい。さらに、近距離無線通信の方式は、ETC方式であってもよい。   In another embodiment, the short-range wireless communication scheme may be a Bluetooth (registered trademark) scheme based on IEEE 802.15.1, or a “WiMAX (registered trademark)” or “ "Mobile WiMAX" system may be used. Further, the short-range wireless communication method may be an ETC method.

また、さらにその他の実施例では、警戒状態は2つの状態だけに限らず、さらに多くの警戒状態が設定されていてもよい。たとえば、受信電波レベルの計時変化が所定値以上である場合は、車などに搭載された通信機器が接近していると考えられるため、通信機器の急な接近が使用者に通知する第3警戒状態が設定されてもよい。そして、第3警戒状態が設定された場合には、再生中の音声がミュートされる。そして、音声がミュートされた場合、使用者は、通信機器の急な接近に気づくことができると共に、周囲の状況がより認識しやすくなる。よって、使用者は、急な接近に素早く対応できるようになる。   In still other embodiments, the alert state is not limited to two states, and more alert states may be set. For example, if the time variation of the received radio wave level is greater than or equal to a predetermined value, it is considered that a communication device mounted in a car or the like is approaching, so the third alert that notifies the user of a sudden approach of the communication device. A state may be set. When the third alert state is set, the sound being played is muted. When the sound is muted, the user can notice a sudden approach of the communication device and can easily recognize the surrounding situation. Thus, the user can quickly cope with a sudden approach.

また、ETC方式の通信や、ナビゲーションシステムとの通信であることを識別できる場合、接近する対象が急に接近してくる可能性がある車であること判断できるため、第3警戒状態が設定されてもよい。   In addition, when it is possible to identify the communication with the ETC system or the navigation system, it is possible to determine that the approaching object is a vehicle that may approach suddenly, so the third alert state is set. May be.

また、音楽プレーヤ機能以外に、TV視聴機能でイヤホンを利用したり、音声通話中にイヤホンマイク(ヘッドセット)を利用したりしている場合でも、接近通知処理が実行されてもよい。   In addition to the music player function, the approach notification process may be executed even when an earphone is used for the TV viewing function or an earphone microphone (headset) is used during a voice call.

また、本実施例の携帯電話機10は、ネットワークとの通信を確立する通信機能も有している。そして、携帯電話機10は、データサーバから配信される配信音楽データを取得して、音楽プレーヤ機能によって再生することもできる。   Further, the mobile phone 10 of this embodiment also has a communication function for establishing communication with the network. Then, the mobile phone 10 can acquire the distribution music data distributed from the data server and reproduce it by the music player function.

また、他の実施例では、イヤホンは、Bluetooth方式の近距離無線通信によって、携帯電話機10に接続されてもよい。   In another embodiment, the earphone may be connected to the mobile phone 10 by Bluetooth short-range wireless communication.

また、携帯電話機10の通信方式はCDMA方式であるが、LTE(Long Term Evolution)方式、W−CDMA方式、GSM方式、TDMA方式、FDMA方式およびPHS方式などが採用されてもよい。   The communication system of the mobile phone 10 is a CDMA system, but an LTE (Long Term Evolution) system, a W-CDMA system, a GSM system, a TDMA system, an FDMA system, a PHS system, and the like may be employed.

また、本実施例で用いられた複数のプログラムは、データ配信用のサーバのHDDに記憶され、ネットワークを介して携帯電話機10に配信されてもよい。また、CD,DVD,BD(Blu−ray Disc)などの光学ディスク、USBメモリおよびメモリカードなどの記憶媒体に複数のプログラムを記憶させた状態で、その記憶媒体が販売または配布されてもよい。そして、上記したサーバや記憶媒体などを通じてダウンロードされた、複数のプログラムが本実施例と同等の構成の携帯電話機にインストールされた場合、本実施例と同等の効果が得られる。   Further, the plurality of programs used in this embodiment may be stored in the HDD of the data distribution server and distributed to the mobile phone 10 via the network. Further, the storage medium may be sold or distributed in a state where a plurality of programs are stored in a storage medium such as an optical disk such as a CD, DVD, or BD (Blu-ray Disc), a USB memory, or a memory card. When a plurality of programs downloaded through the above-described server or storage medium are installed in a mobile phone having the same configuration as that of this embodiment, the same effect as that of this embodiment can be obtained.

さらに、本実施例は、携帯電話機10のみに限らず、いわゆるスマートフォンや、タブレット型PCおよびPDA(Personal Digital Assistant)などに適用されてもよい。   Further, the present embodiment is not limited to the mobile phone 10 but may be applied to so-called smartphones, tablet PCs, and PDAs (Personal Digital Assistants).

そして、本明細書中で挙げた、所定距離、受信電波レベル、閾値、第1所定時間および第2所定時間などの具体的な数値は、いずれも単なる一例であり、製品の仕様変更などに応じて適宜変更可能である。   The specific values such as the predetermined distance, received radio wave level, threshold value, first predetermined time, and second predetermined time given in this specification are merely examples, and are subject to changes in product specifications, etc. Can be changed as appropriate.

10 … 携帯電話機
12 … アンテナ
14 … 無線通信回路
24 … イヤホンジャック
26 … プロセッサ
28 … キー入力装置
32 … ディスプレイ
36 … RAM
38 … 加速度センサ
40 … GPS回路
42 … GPSアンテナ
44 … 近距離無線通信回路
46 … 近距離無線通信アンテナ
48 … 無線中継器
100 … GPS衛星
DESCRIPTION OF SYMBOLS 10 ... Mobile phone 12 ... Antenna 14 ... Wireless communication circuit 24 ... Earphone jack 26 ... Processor 28 ... Key input device 32 ... Display 36 ... RAM
DESCRIPTION OF SYMBOLS 38 ... Acceleration sensor 40 ... GPS circuit 42 ... GPS antenna 44 ... Short-range wireless communication circuit 46 ... Short-range wireless communication antenna 48 ... Wireless repeater 100 ... GPS satellite

Claims (12)

イヤホンが接続されたとき、主音声と前記主音声の出力中に出力可能でありかつ前記主音声より小さい音量の副音声とを利用して他の通信機器との接近を通知する、携帯通信端末であって、
前記主音声または前記副音声として出力される第1音声を出力する音声出力機能、
前記主音声または前記副音声として出力される第2音声として周囲音を入力するマイクロホン、
前記通信機器との無線通信における電波レベルを取得する取得部、および
前記電波レベルの時変化に基づいて、前記主音声として前記第1音声および前記第2音声の一方を設定し、前記副音声として前記第1音声および前記第2音声の他方を設定することによって、接近を通知する通知部を備える、携帯通信端末。
A portable communication terminal that, when an earphone is connected, uses a sub voice that can be output during the output of the main voice and the main voice and that is smaller in volume than the main voice to notify approach to another communication device. Because
A sound output function for outputting the first sound output as the main sound or the sub sound;
A microphone for inputting ambient sound as the second sound output as the main sound or the sub sound;
Acquisition unit for acquiring a radio wave level in a wireless communication with the communication device, and
Based on the way when the change of the radio wave level, by setting one of the first audio and the second audio as the main voice, sets the other of the first audio and the second audio as the secondary audio A portable communication terminal comprising a notification unit for notifying of approach.
記取得部によって取得された受信電波レベルの時変化に基づいて、前記第1音声を前記主音声として設定し、前記第2音声に対する設定を解除することによって、前記通知部による通知を停止する停止部をさらに備える、請求項1記載の携帯通信端末。 Based on the way when the change of the received radio wave level obtained by the pre-Symbol acquiring unit sets the first voice as the main voice, by releasing the setting for the second audio, stop the notification by the notification unit The mobile communication terminal according to claim 1, further comprising a stop unit that performs the operation. 定時間毎に近距離無線通信を確立可能な通信機器を探索する探索部をさらに備える、請求項1または2記載の携帯通信端末。 Further comprising a search unit for searching for a communication device capable of establishing a short-range wireless communication to each Jo Tokoro time, according to claim 1 or 2 mobile communication terminal according. 前記携帯通信端末の移動を検知する加速度センサ、および
前記加速度センサによって前記携帯通信端末の移動が検知されたとき、前記所定時間を短く設定する時間設定部をさらに備える、請求項3記載の携帯通信端末。
An acceleration sensor for detecting the movement of the mobile communication terminal, and when said movement of the mobile communication terminal by the acceleration sensor is detected, further comprising a time setting unit for setting shorter the predetermined time, the mobile communication according to claim 3, wherein Terminal.
前記探索部は、前記携帯通信端末にイヤホンが接続されたとき、近距離無線通信を確立可能な通信機器を探索する、請求項3または4記載の携帯通信端末。 The search unit, when the earphone to the mobile communication terminal is connected, searching for a communication device capable of establishing a short-range wireless communications, according to claim 3 or 4 SL placing the mobile communication terminal. 前記探索部は、前記携帯通信端末と前記イヤホンとの接続が解除されたとき、近距離無線通信を確立可能な通信機器の探索を止める、請求項3ないしのいずれかに記載の携帯通信端末。 The search unit, when the connection of the mobile communication terminal and the earphone is released, stop can establish search communication device near field communication, mobile communication terminal according to any one of claims 3 to 5 . 記探索部は、前記携帯通信端末に前記イヤホンが接続された状態で、前記第1音声が出力されるとき、近距離無線通信を確立可能な通信機器を探索する、請求項3ないしのいずれかに記載の携帯通信端末。 Before SL searching unit, the state where the portable communication terminal earphone is connected, when said first sound is output, searching for a communication device capable of establishing a short-range wireless communication, the claims 3 to 6 The mobile communication terminal according to any one of the above. 音楽データを記憶する記憶部をさらに備え、
前記音声出力機能は、音楽データを再生する音楽プレーヤ機能を含み、
前記第1音声は、前記音楽プレーヤ機能によって再生された前記音楽データの音声を含む、請求項1ないし7のいずれかに記載の携帯通信端末。
A storage unit for storing music data;
The audio output function includes a music player function for reproducing music data,
The mobile communication terminal according to claim 1, wherein the first sound includes a sound of the music data reproduced by the music player function.
前記携帯通信端末は、ネットワークとの通信を確立する通信機能を有し、
前記音楽データは、前記通信機能によってネットワーク介して配信された配信音楽データを含む、請求項記載の携帯通信端末。
The mobile communication terminal has a communication function for establishing communication with a network,
The portable music terminal according to claim 8 , wherein the music data includes distributed music data distributed via a network by the communication function.
前記電波レベルの経時変化に基づいて、第1警戒状態および前記第1警戒状態よりも危険度が高い第2警戒状態を判断する判断部をさらに備え、A determination unit for determining a first warning state and a second warning state having a higher degree of danger than the first warning state based on a change in the radio wave level over time;
前記通知部は、前記判断部によって前記第1警戒状態と判断されたとき、前記主音声として前記第1音声を設定し、前記副音声として前記第2音声を設定し、前記判断部によって前記第2警戒状態と判断されたとき、前記主音声として前記第2音声を設定し、前記副音声として前記第1音声を設定することによって、接近を通知する、請求項1記載の携帯通信端末。The notification unit sets the first voice as the main voice and sets the second voice as the sub-voice when the judgment unit judges that the first warning state is detected, and the judgment unit sets the second voice. 2. The mobile communication terminal according to claim 1, wherein, when it is determined that two alert states are set, the second voice is set as the main voice, and the first voice is set as the sub voice, thereby notifying an approach.
イヤホンが接続されたとき、主音声と前記主音声の出力中に出力可能でありかつ前記主音声より小さい音量の副音声とを利用して他の通信機器との接近を通知し前記主音声または前記副音声として出力される第1音声を出力する音声出力機能、前記主音声または前記副音声として出力される第2音声として周囲音を入力するマイクロホン、および前記通信機器との無線通信における電波レベルを取得する取得部を有する、携帯通信端末のプロセッサを、
前記電波レベルの経時変化に基づいて、前記主音声として前記第1音声および前記第2音声の一方を設定し、前記副音声として前記第1音声および前記第2音声の他方を設定することによって、接近を通知する通知部として機能させる、接近通知プログラム。
When the earphone is connected, the main audio and the sub audio that can be output during the output of the main audio and that has a lower volume than the main audio are used to notify the approach to another communication device, and the main audio Alternatively, a sound output function for outputting the first sound output as the sub sound, a microphone for inputting an ambient sound as the second sound output as the main sound or the sub sound, and radio waves in wireless communication with the communication device A processor of a mobile communication terminal having an acquisition unit for acquiring a level;
By setting one of the first sound and the second sound as the main sound and setting the other of the first sound and the second sound as the sub sound based on the change over time of the radio wave level, An approach notification program that functions as a notification unit that notifies approach.
イヤホンが接続されたとき、主音声と前記主音声の出力中に出力可能でありかつ前記主音声より小さい音量の副音声とを利用して他の通信機器との接近を通知し前記主音声または前記副音声として出力される第1音声を出力する音声出力機能、前記主音声または前記副音声として出力される第2音声として周囲音を入力するマイクロホン、および前記通信機器との無線通信における電波レベルを取得する取得部を有する、携帯通信端末における接近通知方法であって、前記携帯通信端末のプロセッサが、
前記電波レベルの経時変化に基づいて、前記主音声として前記第1音声および前記第2音声の一方を設定し、前記副音声として前記第1音声および前記第2音声の他方を設定することによって、接近を通知する通知ステップを実行する、接近通知方法。
When the earphone is connected, the main audio and the sub audio that can be output during the output of the main audio and that has a lower volume than the main audio are used to notify the approach to another communication device, and the main audio Alternatively, a sound output function for outputting the first sound output as the sub sound, a microphone for inputting an ambient sound as the second sound output as the main sound or the sub sound, and radio waves in wireless communication with the communication device An approach notification method in a mobile communication terminal having an acquisition unit for acquiring a level, wherein the processor of the mobile communication terminal
By setting one of the first sound and the second sound as the main sound and setting the other of the first sound and the second sound as the sub sound based on the change over time of the radio wave level, An approach notification method for executing a notification step for notifying of approach.
JP2011176484A 2011-08-12 2011-08-12 Mobile communication terminal, approach notification program, and approach notification method Active JP5727329B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011176484A JP5727329B2 (en) 2011-08-12 2011-08-12 Mobile communication terminal, approach notification program, and approach notification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011176484A JP5727329B2 (en) 2011-08-12 2011-08-12 Mobile communication terminal, approach notification program, and approach notification method

Publications (2)

Publication Number Publication Date
JP2013042249A JP2013042249A (en) 2013-02-28
JP5727329B2 true JP5727329B2 (en) 2015-06-03

Family

ID=47890273

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011176484A Active JP5727329B2 (en) 2011-08-12 2011-08-12 Mobile communication terminal, approach notification program, and approach notification method

Country Status (1)

Country Link
JP (1) JP5727329B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101628265B1 (en) * 2014-11-26 2016-06-08 주식회사 지에스포유 Call Service System Using Bluetooth Beacon
JP2018139384A (en) * 2017-02-24 2018-09-06 レノボ・シンガポール・プライベート・リミテッド Method for outputting voice, wireless device, wireless speaker, and computer executable program

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001245026A (en) * 2000-02-29 2001-09-07 Sony Corp Portable telephone set
JP3737033B2 (en) * 2001-01-24 2006-01-18 シャープ株式会社 Information exchange system
JP4577637B2 (en) * 2001-05-29 2010-11-10 マツダ株式会社 Approach warning method, approach warning system, navigation device and computer program thereof
JP2007233684A (en) * 2006-03-01 2007-09-13 Toyota Motor Corp Road pedestrian detection system and portable terminal
JP2007267196A (en) * 2006-03-29 2007-10-11 Casio Hitachi Mobile Communications Co Ltd Guidance system, mobile terminal device and processing program for the device
JP4810321B2 (en) * 2006-06-14 2011-11-09 キヤノン株式会社 Electronic equipment and computer program
JP2008035400A (en) * 2006-07-31 2008-02-14 Sony Corp Audio apparatus, wireless audio output control method, and wireless audio output control program

Also Published As

Publication number Publication date
JP2013042249A (en) 2013-02-28

Similar Documents

Publication Publication Date Title
US11629971B2 (en) Audio processing apparatus
US11051105B2 (en) Locating wireless devices
CN109041024B (en) Code rate optimization method and device, electronic equipment and storage medium
AU2013211541B2 (en) Mobile apparatus and control method thereof
CN107371102B (en) Audio playing volume control method and device, storage medium and mobile terminal
JP2015186072A (en) audio signal output device
CN107613113A (en) A kind of headset mode control method, device and computer-readable recording medium
CN105072242B (en) A kind of method and mobile terminal of voice prompting
US11272304B2 (en) Method and terminal for playing audio data, and storage medium thereof
US20170102914A1 (en) Electronic device and audio ouputting method thereof
CN107203310B (en) Sleep reminding method, device and terminal
JP5727329B2 (en) Mobile communication terminal, approach notification program, and approach notification method
JP5557932B2 (en) Method and apparatus for position search in electronic device
CN108827338B (en) Voice navigation method and related product
CN113726940A (en) Recording method and device
CN111988472A (en) Method, system, medium and intelligent terminal for improving attention of user wearing earphone
WO2018035868A1 (en) Method for outputting audio, electronic device, and storage medium
JP2012134930A (en) Portable communication terminal, mode control program and mode control method
JP2014092796A (en) Speech information notification device, speech information notification method and program
CN106210325B (en) Method, device and terminal for setting incoming call ringtone of social application
CN106708464B (en) Alarm clock ringtone playing method based on loudspeaker box and loudspeaker box
WO2015098196A1 (en) Electronic device, sound output control method, and program
KR20090048853A (en) Apparatus and method for notifying external noise while playing audio or video contents in cellular phone
KR20070012097A (en) Speaker path self-test method in stereo speaker system phone and the system thereof
WO2023284403A1 (en) Audio processing method and device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140210

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140904

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140917

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141114

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150331

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150402

R150 Certificate of patent or registration of utility model

Ref document number: 5727329

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150