JP5910534B2 - Portable terminal device, program for portable terminal device, and control method for portable terminal device - Google Patents

Portable terminal device, program for portable terminal device, and control method for portable terminal device Download PDF

Info

Publication number
JP5910534B2
JP5910534B2 JP2013031389A JP2013031389A JP5910534B2 JP 5910534 B2 JP5910534 B2 JP 5910534B2 JP 2013031389 A JP2013031389 A JP 2013031389A JP 2013031389 A JP2013031389 A JP 2013031389A JP 5910534 B2 JP5910534 B2 JP 5910534B2
Authority
JP
Japan
Prior art keywords
communication
unit
state
distance
determination
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
JP2013031389A
Other languages
Japanese (ja)
Other versions
JP2014160984A (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.)
Aisin AW Co Ltd
Original Assignee
Aisin AW Co Ltd
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 Aisin AW Co Ltd filed Critical Aisin AW Co Ltd
Priority to JP2013031389A priority Critical patent/JP5910534B2/en
Publication of JP2014160984A publication Critical patent/JP2014160984A/en
Application granted granted Critical
Publication of JP5910534B2 publication Critical patent/JP5910534B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、移動体が備える無線通信装置との間で、近距離無線通信を実行可能な通信部を備える携帯端末装置、携帯端末装置のプログラム、及び携帯端末装置の制御方法に関する。   The present invention relates to a portable terminal device including a communication unit capable of performing short-range wireless communication with a wireless communication device included in a mobile body, a program for the portable terminal device, and a method for controlling the portable terminal device.

車両に搭載したナビゲーション装置と、運転者や同乗者が所有する通信機能付き携帯電話機との間でデータのやり取りを行う技術がこれまでに実現されている。例えば、下記の特許文献1には、Bluetooth(登録商標)通信機能を有する車両用ナビゲーション装置をBluetooth通信機能付き携帯電話機に無線接続することで、車両用ナビゲーション装置が備えるマイクロフォンやスピーカを用いてハンズフリー通話を行う構成が開示されている。また、下記の特許文献2には、このようなハンズフリー通話が可能な構成において、携帯端末側から出力したい音声があるときには、音声データを送信する前に車両用ナビゲーション側に通知をし、既に出力されている車両用ナビゲーション側の音声の音量を低減させてから、音声データを送信することにより、携帯端末からの音声と車両用ナビゲーション装置からの音声とが重なってドライバが聴き取りづらくなる可能性を低減させることができる構成が開示されている。また、下記の特許文献3には、ナビゲーション装置が、携帯電話等の携帯端末から、少なくとも電話番号を構成要素に持つ電話番号情報を受信し、その時点で記憶されている電話番号とその電話番号に対応する位置情報とを含む検索情報のうち、受信した電話番号と一致する電話番号を検索し、該検索された電話番号に対応する位置情報を読み出し、当該位置情報の記憶されている電話番号情報を目的地や経由地などの地点選択項目としてディスプレイに一覧表示し、ユーザーが選択した電話番号情報に対応する位置情報を、目的地や経由地などの地点位置として設定する構成が記載されている。このように、上記特許文献1から3に記載の技術は、使用者の運転操作中における利便性や、ナビゲーション装置の操作中における利便性の向上を考慮したものであり、いずれも、携帯電話機を所持する使用者が車両内におり、ナビゲーション装置と携帯電話機とが近距離通信可能な距離内に存在する場面を想定したものである。   A technology for exchanging data between a navigation device mounted on a vehicle and a mobile phone with a communication function owned by a driver or a passenger has been realized. For example, in the following Patent Document 1, a vehicle navigation device having a Bluetooth (registered trademark) communication function is wirelessly connected to a mobile phone with a Bluetooth communication function, thereby using a microphone or a speaker included in the vehicle navigation device. A configuration for making a free call is disclosed. Further, in the following Patent Document 2, in the configuration in which such hands-free communication is possible, when there is a voice to be output from the mobile terminal side, the vehicle navigation side is notified before the voice data is transmitted. By reducing the volume of the output sound on the vehicle navigation side and then transmitting the sound data, the sound from the mobile terminal and the sound from the vehicle navigation device may overlap, making it difficult for the driver to hear The structure which can reduce the property is disclosed. Further, in Patent Document 3 below, the navigation device receives telephone number information having at least a telephone number as a component from a portable terminal such as a cellular phone, and stores the telephone number and the telephone number stored at that time. Among the search information including the location information corresponding to the phone number, the phone number matching the received phone number is searched, the location information corresponding to the searched phone number is read, and the phone number in which the location information is stored A configuration is described in which information is listed on the display as point selection items such as destinations and waypoints, and location information corresponding to the telephone number information selected by the user is set as point locations such as destinations and waypoints. Yes. As described above, the technologies described in Patent Documents 1 to 3 consider the convenience during the driving operation of the user and the improvement of the convenience during the operation of the navigation device. It is assumed that the possessed user is in the vehicle and the navigation device and the mobile phone are within a short distance communication range.

特開2008−278172号公報JP 2008-278172 A 特開2012−027070号公報JP 2012-027070 A 特開2000−298033号公報JP 2000-298033 A

しかし、携帯電話機は一般的に使用者が常に所持するものであることから、駐車場に車両を停めた場合等には、携帯電話機を所持する使用者が、停止した車両から近距離通信可能な距離範囲外まで離れ、その後に用事等を終えて車両に戻ってくる場面が想定される。このような場面において、当該携帯電話機を所持する使用者は、車両から近距離通信可能な距離範囲外まで離れると、消費電力の低減等を目的として、携帯電話機の近距離通信の通信部をオフ状態とする場合が多い。そして、このように、車両から離れた時に通信部をオフ状態とすると、使用者は、車両に戻って当該近距離通信を再開する際には、自ら手動で当該携帯電話機の通信部をオン状態とするための操作を行う必要がある。   However, since a mobile phone is generally carried by the user at all times, when the vehicle is parked in a parking lot, the user who owns the mobile phone can perform near field communication from the stopped vehicle. It is assumed that the vehicle will leave the distance range and then return to the vehicle after completing the business. In such a situation, if the user who owns the mobile phone leaves the vehicle outside the range where short-range communication is possible, the short-range communication unit of the mobile phone is turned off for the purpose of reducing power consumption. In many cases, the state. Then, when the communication unit is turned off when leaving the vehicle in this way, when the user returns to the vehicle and resumes the short-range communication, the user manually turns on the communication unit of the mobile phone. It is necessary to perform an operation to

上記特許文献1から3の技術では、このような場面における使用者の利便性の向上については全く考慮されておらず、改善の余地がある。そこで、上記課題を鑑みて、通信部の状態が使用者にとって好適な状態となるように、当該通信部を自動的に制御可能な携帯端末装置の実現が望まれる。   In the techniques disclosed in Patent Documents 1 to 3, there is no room for improvement because improvement in user convenience in such a situation is not considered at all. Therefore, in view of the above problems, it is desired to realize a mobile terminal device that can automatically control the communication unit so that the state of the communication unit is suitable for the user.

動体が備える無線通信装置との間で、近距離無線通信を実行可能な通信部を備える携帯端末装置であって、自位置の情報である自位置情報を取得する自位置情報取得部と、前記通信部と前記無線通信装置との間の通信リンクの接続状態を監視する接続監視部と、前記通信部が通信可能状態であって、前記接続監視部によって前記通信リンクの切断が検出された場合に、当該通信リンクの切断が検出された際の前記自位置情報に示された位置を切断位置情報として記憶する記憶部と、前記通信部の状態を通信可能状態と通信遮断状態とのいずれかに制御する通信状態制御部と、前記接続監視部によって前記通信リンクの切断が検出された後、前記自位置情報に示される自位置が、前記切断位置情報に示される位置から予め定められた第一判定距離以上離れた後、前記第一判定距離以下に設定された第二判定距離未満に近づいた場合に、復帰したと判定する復帰判定部と、を備え、前記通信状態制御部は、前記復帰判定部により復帰したと判定された際に前記通信部が通信遮断状態であった場合には、前記通信部を通信可能状態とする携帯端末装置、並びにそれに対応する携帯端末装置用プログラム及び携帯端末装置の制御方法が開示される
本発明に係る、移動体が備える無線通信装置との間で、近距離無線通信を実行可能な通信部を備える携帯端末装置の特徴構成は、自位置の情報である自位置情報を取得する自位置情報取得部と、前記通信部と前記無線通信装置との間の通信リンクの接続状態を監視する接続監視部と、前記通信部が通信可能状態であって、前記接続監視部によって前記通信リンクの切断が検出された場合に、当該通信リンクの切断が検出された際の前記自位置情報に示された位置を切断位置情報として記憶する記憶部と、前記通信部の状態を通信可能状態と通信遮断状態とのいずれかに制御する通信状態制御部と、前記接続監視部によって前記通信リンクの切断が検出された後、前記自位置情報に示される自位置が、前記切断位置情報に示される位置から予め定められた第一判定距離以上離れた後、前記第一判定距離以下に設定された第二判定距離未満に近づいた場合、及び、前記自位置情報に示される自位置が、前記切断位置情報に示される位置から前記第二判定距離以上離れた状態で、予め定められた時間が経過し、その後に前記第二判定距離未満に近づいた場合、の両方の場合に、復帰したと判定する復帰判定部と、を備え、前記通信状態制御部は、前記復帰判定部により復帰したと判定された際に前記通信部が通信遮断状態であった場合には、前記通信部を通信可能状態とする点にある。
Between the wireless communication device included in moving body, a portable terminal device comprising a communication unit capable of executing a short-range wireless communication, and the own position information acquisition unit that acquires current position information which is information of the position, A connection monitoring unit that monitors a connection state of a communication link between the communication unit and the wireless communication device, and the communication unit is in a communicable state, and the disconnection of the communication link is detected by the connection monitoring unit In this case, a storage unit that stores the position indicated in the self-location information when disconnection of the communication link is detected as disconnection position information, and a state of the communication unit that is either a communicable state or a communication cut-off state After the disconnection of the communication link is detected by the communication status control unit for controlling the connection and the connection monitoring unit, the own position indicated by the own position information is predetermined from the position indicated by the disconnection position information. First judgment A return determination unit that determines that the vehicle has returned when the vehicle approaches a distance less than the second determination distance that is set to be equal to or less than the first determination distance after being separated by more than a distance, and the communication state control unit includes the return determination If the communication unit is in a communication cut-off state when it is determined that the communication unit has returned, a portable terminal device that sets the communication unit in a communicable state, and a corresponding program for portable terminal device and portable terminal device A control method is disclosed .
According to the present invention, a characteristic configuration of a mobile terminal device including a communication unit capable of performing short-range wireless communication with a wireless communication device included in a mobile object is the self-location information that is information on the own location. A position information acquisition unit; a connection monitoring unit that monitors a connection state of a communication link between the communication unit and the wireless communication device; and the communication unit is in a communicable state, and the communication link is provided by the connection monitoring unit. When the disconnection of the communication link is detected, a storage unit that stores the position indicated in the self-location information when the disconnection of the communication link is detected as the disconnection position information, and the communicable state of the communication unit A communication state control unit that controls to one of the communication cut-off states, and after the disconnection of the communication link is detected by the connection monitoring unit, the own position indicated in the own position information is indicated in the cut position information. Pre-position When the distance closer than the first determination distance is less than the second determination distance set below the first determination distance, and the own position indicated in the own position information is the cut position information. A return determination that determines that the vehicle has returned in both cases when a predetermined time has passed and is less than the second determination distance after being separated from the indicated position by at least the second determination distance. And the communication state control unit sets the communication unit to a communicable state when the communication unit is in a communication cut-off state when it is determined by the return determination unit to return. It is in.

上記の特徴構成によれば、移動体が備える無線通信装置と携帯端末装置が備える通信部との間の通信リンクが切断された場合に、当該切断された際の自位置情報である切断位置を記憶し、当該切断位置から携帯端末装置の現在の自位置までの距離と、予め定められた第一判定距離及び第二判定距離とを用いて、携帯端末装置が前記切断位置から離れた位置まで移動した後に、当該切断位置付近まで戻った(復帰)ことを適切に判定することができる。そして、携帯端末装置が、前記切断位置付近まで戻ってきたと判定した際には、通信部の状態を自動的に通信可能状態とすることができる。これにより、携帯端末装置の使用者が、前記通信リンクが切断された後に、通信部の状態を通信遮断状態とした場合でも、前記切断位置付近に戻ってくると自動的に通信部の状態を通信可能状態とすることができる。その為、使用者が手動で通信部の状態を通信可能状態に切り替えるための操作を行う必要がなくなる。よって、使用者の利便性を高めることができる。
また、第二判定距離を第一判定距離よりも小さく設定した場合には、切断位置から離れたと判定する閾値よりも、切断位置の近くに復帰したと判定する閾値の方が小さく設定されることになるので、携帯端末装置が第二判定距離未満に近づいた場合に通信部の状態を通信可能状態にするという制御を行う際に、ハンチング現象が起こるのを抑制することができる。なお、本発明の構成には、第一判定距離が、第二判定距離と等しい場合も含んでいる。
以上のように、上記の特徴構成によれば、通信部の状態が使用者にとって好適な状態となるように、当該通信部を自動的に制御可能な携帯端末装置を提供することができる。
According to said characteristic structure, when the communication link between the radio | wireless communication apparatus with which a mobile body is equipped, and the communication part with which a portable terminal device is equipped is cut | disconnected, the cutting position which is the own position information at the time of the said cutting | disconnection Storing, using the distance from the cutting position to the current position of the mobile terminal device and the predetermined first determination distance and the second determination distance, to the position where the mobile terminal device is away from the cutting position After moving, it can be appropriately determined that it has returned (returned) to the vicinity of the cutting position. And when it determines with the portable terminal device having returned to the said cutting | disconnection position vicinity, the state of a communication part can be automatically made into a communicable state. As a result, even if the user of the mobile terminal device sets the state of the communication unit to the communication cut-off state after the communication link is disconnected, the state of the communication unit is automatically changed when returning to the vicinity of the disconnection position. It can be in a communicable state. Therefore, it is not necessary for the user to manually perform an operation for switching the state of the communication unit to the communicable state. Therefore, convenience for the user can be improved.
In addition, when the second determination distance is set to be smaller than the first determination distance, the threshold value for determining return to the vicinity of the cutting position is set to be smaller than the threshold value for determining that the second determination distance is away from the cutting position. Therefore, it is possible to suppress the occurrence of the hunting phenomenon when performing control for setting the state of the communication unit to the communicable state when the mobile terminal device approaches less than the second determination distance. Note that the configuration of the present invention includes the case where the first determination distance is equal to the second determination distance.
As described above, according to the above characteristic configuration, it is possible to provide a portable terminal device that can automatically control the communication unit so that the state of the communication unit is suitable for the user.

また、上記の特徴構成によれば、復帰判定部は、携帯端末装置の自位置情報に示される自位置が、第一判定距離以上離れたか否かに関係なく、前記切断位置から第二判定距離以上離れた状態で所定時間が経過していれば、その後に、携帯端末装置の自位置が第二判定距離未満に近づいた場合に復帰したと判定することができる。すなわち、上記構成では、第一判定距離及び第二判定距離に加えて、時間の閾値を設定することができる。これにより、携帯端末装置が第二判定距離付近に近づいた場合における通信部の制御の際に起こり得るハンチング現象を抑制しつつ、自位置が第一判定距離以上とならないような使用条件の場合等でも、適切に携帯端末装置の復帰を判定することができる。 Moreover, according to said characteristic structure, a return determination part is 2nd determination distance from the said cutting position irrespective of whether the own position shown by the own position information of a portable terminal device left | separated more than 1st determination distance. If the predetermined time has passed in the state of being separated as described above, it can be determined that the mobile terminal device has returned when the mobile terminal device's own position approaches less than the second determination distance. That is, in the above configuration, a time threshold can be set in addition to the first determination distance and the second determination distance. As a result, when the mobile terminal device is close to the second determination distance, the hunting phenomenon that can occur during the control of the communication unit is suppressed, and the use conditions such that the own position does not exceed the first determination distance, etc. However, the return of the mobile terminal device can be appropriately determined.

また、前記復帰判定部により復帰したと判定された後、前記通信リンクが接続された場合には、前記記憶部に記憶された前記切断位置情報を削除する削除処理部を更に備える構成とすると好適である。   In addition, it is preferable to further include a deletion processing unit that deletes the cutting position information stored in the storage unit when the communication link is connected after it is determined that the return determination unit has returned. It is.

この構成によれば、既に使用し不要となった切断位置情報を記憶部から削除することができる。従って、不要な情報が記憶装置に蓄積されることを抑制し、記憶部の空き容量を確保することができる。   According to this configuration, it is possible to delete cutting position information that has already been used and becomes unnecessary from the storage unit. Therefore, it is possible to suppress unnecessary information from being stored in the storage device and to secure a free space in the storage unit.

また、前記通信状態制御部が、前記接続監視部が前記通信リンクの切断を検出した際に前記通信部が通信可能状態であった場合には、前記通信部を通信遮断状態とする構成とすると好適である。   The communication state control unit is configured to place the communication unit in a communication cut-off state when the communication unit is in a communicable state when the connection monitoring unit detects disconnection of the communication link. Is preferred.

この構成によれば、通信リンクが切断された際に、携帯端末装置側の通信部が通信可能状態であれば、当該通信部を自動的に通信遮断状態とすることができる。これにより、当該通信部を手動で通信遮断状態に切り替えるための操作を行う必要がなくなる。よって、使用者の利便性を更に高めることができる。   According to this configuration, when the communication link is disconnected, if the communication unit on the mobile terminal device side is in a communicable state, the communication unit can be automatically set in a communication cut-off state. Thereby, it is not necessary to perform an operation for manually switching the communication unit to the communication cut-off state. Therefore, user convenience can be further enhanced.

また、本発明は、前記復帰判定部により復帰したと判定された際に、前記通信部が通信遮断状態である場合に有効な技術である。従って、本発明は、前記通信部の状態を通信可能状態と通信遮断状態とで切り替えるための操作入力を受け付ける入力受付部を更に備え、前記通信状態制御部が、前記入力受付部で受け付けた操作入力に応じて前記通信部の状態を制御する構成の携帯端末装置に特に適している。   In addition, the present invention is a technique effective when the communication unit is in a communication cut-off state when it is determined that the return determination unit has returned. Therefore, the present invention further includes an input receiving unit that receives an operation input for switching the state of the communication unit between a communicable state and a communication cut-off state, and the communication state control unit receives an operation received by the input receiving unit. It is particularly suitable for a portable terminal device configured to control the state of the communication unit in accordance with an input.

この構成によれば、使用者の意思によって、携帯端末装置の通信部の状態を通信可能状態と通信遮断状態とのいずれかに自由に切り替えることができる。よって、使用者にとってより利便性の高い携帯端末装置を提供することができる。   According to this configuration, the state of the communication unit of the mobile terminal device can be freely switched between the communicable state and the communication cut-off state according to the intention of the user. Therefore, it is possible to provide a mobile terminal device that is more convenient for the user.

また、前記無線通信装置が、前記移動体の移動が停止している状態で、前記通信リンクを切断する機能を有する構成とすると好適である。   In addition, it is preferable that the wireless communication device has a function of disconnecting the communication link in a state where the movement of the moving body is stopped.

この構成によれば、移動体の移動が停止している状態で、通信リンクが切断されるので、移動体の停止位置と通信リンクの切断位置とがほぼ等しい位置となる。よって、携帯端末装置が、移動体の停止位置から離れて通信部の通信状態を通信遮断状態としても、当該移動体の停止位置付近に戻ってくるだけで、自動的に通信部の通信状態を通信可能状態とすることができる。   According to this configuration, since the communication link is disconnected while the movement of the mobile body is stopped, the stop position of the mobile body is substantially equal to the disconnection position of the communication link. Therefore, even if the mobile terminal device moves away from the stop position of the mobile unit and sets the communication state of the communication unit to the communication cut-off state, the communication state of the communication unit is automatically changed only by returning to the vicinity of the stop position of the mobile unit. It can be in a communicable state.

また、前記無線通信装置が、前記移動体としての車両に搭載され、当該車両の主電源がオフ状態となったことに連動して前記通信リンクを切断する機能を有する構成とすると好適である。   Further, it is preferable that the wireless communication device is mounted on a vehicle as the moving body and has a function of disconnecting the communication link in conjunction with the main power supply of the vehicle being turned off.

この構成によれば、車両の主電源がオフ状態となったことに連動して前記通信リンクが切断されるので、車両の停止位置(主電源オフ位置)と切断位置とがほぼ等しい位置となる。よって、使用者が車両の停止位置から離れて通信部の通信状態を通信遮断状態としても、当該車両の停止位置付近に戻ってくるだけで、自動的に通信部の通信状態を通信可能状態とすることができる。   According to this configuration, since the communication link is disconnected in conjunction with the main power supply of the vehicle being turned off, the stop position (main power off position) of the vehicle and the disconnection position are substantially equal. . Therefore, even if the user leaves the stop position of the vehicle and sets the communication state of the communication unit to the communication cut-off state, the communication state of the communication unit is automatically changed to the communicable state only by returning to the vicinity of the stop position of the vehicle. can do.

以上の各構成を備えた本発明に係る携帯端末装置の技術的特徴は、携帯端末装置用のプログラムや方法にも適用可能であり、そのため、本発明は、プログラムやシステムも権利の対象とすることができる。   The technical features of the mobile terminal device according to the present invention having the above-described configurations can also be applied to a program and a method for the mobile terminal device. Therefore, the present invention also covers the program and the system. be able to.

その場合における、移動体が備える無線通信装置との間で、近距離無線通信を実行可能な通信部を備える携帯端末装置のプログラムの特徴構成は、自位置の情報である自位置情報を取得する自位置情報取得機能と、前記通信部と前記無線通信装置との間の通信リンクの接続状態を監視する接続監視機能と、前記通信部が通信可能状態であって、前記接続監視機能によって前記通信リンクの切断が検出された場合に、当該通信リンクの切断が検出された際の前記自位置情報に示された位置を切断位置情報として記憶部に記憶させる機能と、前記通信部の状態を通信可能状態と通信遮断状態とのいずれかに制御する通信状態制御機能と、前記接続監視機能によって前記通信リンクの切断が検出された後、前記自位置情報に示される自位置が、前記切断位置情報に示される位置から予め定められた第一判定距離以上離れた後、前記第一判定距離以下に設定された第二判定距離未満に近づいた場合、及び、前記自位置情報に示される自位置が、前記切断位置情報に示される位置から前記第二判定距離以上離れた状態で、予め定められた時間が経過し、その後に前記第二判定距離未満に近づいた場合、の両方の場合に、復帰したと判定する復帰判定機能と、を備え、前記通信状態制御機能が、前記復帰判定機能により復帰したと判定された際に前記通信部が通信遮断状態であった場合には、前記通信部を通信可能状態とする処理をコンピュータに実現させる点にある。 In this case, the characteristic configuration of the program of the portable terminal device including the communication unit capable of performing short-range wireless communication with the wireless communication device included in the mobile body acquires the local position information that is the local position information. A local position information acquisition function; a connection monitoring function that monitors a connection state of a communication link between the communication unit and the wireless communication device; and the communication unit is in a communicable state, and the communication is performed by the connection monitoring function. When a link disconnection is detected, a function for storing the position indicated in the self-position information when the communication link disconnection is detected in the storage unit as a disconnection position information and the state of the communication unit are communicated A communication state control function that controls either a possible state or a communication cut-off state, and after the disconnection of the communication link is detected by the connection monitoring function, the own position indicated in the own position information is After leaving the first determination distance than the predetermined from the position shown in the cross-sectional position information, when approaching less than the second determination distance set below the first determination distance, and, as shown in the self position information In both cases, when a predetermined time elapses after the own position is at least the second determination distance away from the position indicated by the cutting position information, and then approaches less than the second determination distance A return determination function for determining that the communication has been returned, and when the communication state control function is determined to have returned by the return determination function, the communication unit is in a communication cut-off state, The point is that the computer realizes the process of setting the communication unit in a communicable state.

また、その場合における、移動体が備える無線通信装置との間で、近距離無線通信を実行可能な通信部を備える携帯端末装置の制御方法の特徴構成は、自位置の情報である自位置情報を取得する自位置情報取得ステップと、前記通信部と前記無線通信装置との間の通信リンクの接続状態を監視する接続監視ステップと、前記通信部が通信可能状態であって、前記接続監視ステップによって前記通信リンクの切断が検出された場合に、当該通信リンクの切断が検出された際の前記自位置情報に示された位置を切断位置情報として記憶部に記憶させる記憶ステップと、前記通信部の状態を通信可能状態と通信遮断状態とのいずれかに制御する通信状態制御ステップと、前記接続監視ステップによって前記通信リンクの切断が検出された後、前記自位置情報に示される自位置が、前記切断位置情報に示される位置から予め定められた第一判定距離以上離れた後、前記第一判定距離以下に設定された第二判定距離未満に近づいた場合、及び、前記自位置情報に示される自位置が、前記切断位置情報に示される位置から前記第二判定距離以上離れた状態で、予め定められた時間が経過し、その後に前記第二判定距離未満に近づいた場合、の両方の場合に、復帰したと判定する復帰判定ステップと、を備え、前記通信状態制御ステップは、前記復帰判定ステップにより復帰したと判定された際に前記通信部が通信遮断状態であった場合には、前記通信部を通信可能状態とする点にある。 In this case, the characteristic configuration of the control method of the mobile terminal device including the communication unit capable of performing short-range wireless communication with the wireless communication device included in the mobile body is self-location information which is information on the self-location. Own position information obtaining step for obtaining a communication link, a connection monitoring step for monitoring a connection state of a communication link between the communication unit and the wireless communication device, and the communication unit being in a communicable state, wherein the connection monitoring step A storage step of storing, in the storage unit, the position indicated in the self-position information when the communication link disconnection is detected when the communication link disconnection is detected by the storage unit; and the communication unit After the communication link disconnection is detected by the communication state control step for controlling the communication state to either the communication enable state or the communication cut-off state, and the connection monitoring step, If the current position indicated in location information after leaving the first determination distance than the predetermined from the position shown in the cutting position information, approaching below the second determination distance set below the first determination distance And a predetermined time elapses after the self-position indicated by the self-position information is separated from the position indicated by the cutting position information by the second determination distance or longer, and then the second determination distance. A recovery determination step that determines that the recovery has occurred in both cases , and the communication state control step communicates with the communication unit when it is determined that the recovery determination step returns. If the communication unit is in the blocked state, the communication unit is in a communicable state.

当然ながら、この携帯端末装置のプログラム及び方法も上述した携帯端末装置に係る作用効果を得ることができ、更に、その好適な構成の例として挙げたいくつかの付加的技術を組み込むことが可能である。   Naturally, the program and method of this portable terminal device can also obtain the effects of the portable terminal device described above, and can incorporate some additional techniques listed as examples of suitable configurations thereof. is there.

本発明の第一の実施形態に係る通信システムの概略構成を示すブロック図である。1 is a block diagram showing a schematic configuration of a communication system according to a first embodiment of the present invention. 本発明の第一の実施形態に係る携帯端末装置の通信処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the communication process of the portable terminal device which concerns on 1st embodiment of this invention. 本発明の実施形態に係る第一判定距離及び第二判定距離と携帯電話機1と車両との位置関係を示した概要図である。It is the schematic which showed the positional relationship of the 1st determination distance and 2nd determination distance which concern on embodiment of this invention, and the mobile telephone 1 and a vehicle. 本発明の第二の実施形態に係る通信システムの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the communication system which concerns on 2nd embodiment of this invention. 本発明の第二の実施形態に係る携帯端末装置の通信処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the communication process of the portable terminal device which concerns on 2nd embodiment of this invention.

1.第一の実施形態
本発明の第一の実施形態について、図面に基づいて説明する。ここでは、図1に示すように、移動体が車両であり、車両に搭載されたナビゲーション装置100と、使用者(例えば、運転者)が所持する携帯電話機1との間で、近距離無線通信を介して音声データ等のデータの送受信を行うことが可能な通信システムを構築する場合を例として説明する。本実施形態では、ナビゲーション装置100が備える無線通信装置101と、携帯電話機1が備える通信部4との間で近距離無線通信による通信リンクが確立されてデータの送受信が行われる。そして、本実施形態に係る携帯電話機1は、自位置情報取得部5、接続監視部6、通信状態制御部7、及び復帰判定部8を備え、当該通信リンクが切断された位置を記憶し、携帯電話機1が当該切断された位置から離れた場所に移動した後、再度当該切断された位置に戻ってきた際に、通信部4が通信遮断状態であれば通信可能状態とする点に特徴を有している。なお、本実施形態では、携帯端末装置として携帯電話機1を用いて説明しているが、本発明はこれに限定されるものではなく、使用者が持ち運び可能な各種の携帯端末装置に適用できる。
1. First Embodiment A first embodiment of the present invention will be described with reference to the drawings. Here, as shown in FIG. 1, the mobile body is a vehicle, and short-range wireless communication is performed between a navigation device 100 mounted on the vehicle and a mobile phone 1 possessed by a user (for example, a driver). An example will be described in which a communication system capable of transmitting and receiving data such as audio data is constructed via the network. In the present embodiment, a communication link by short-range wireless communication is established between the wireless communication device 101 included in the navigation device 100 and the communication unit 4 included in the mobile phone 1, and data is transmitted and received. And the mobile telephone 1 which concerns on this embodiment is provided with the own position information acquisition part 5, the connection monitoring part 6, the communication state control part 7, and the return determination part 8, and memorize | stores the position where the said communication link was cut | disconnected, After the mobile phone 1 moves to a place away from the disconnected position and then returns to the disconnected position again, the communication unit 4 is in a communicable state if the communication unit 4 is in a communication cut-off state. Have. In the present embodiment, the mobile phone 1 is used as the mobile terminal device. However, the present invention is not limited to this and can be applied to various mobile terminal devices that can be carried by the user.

1−1.通信システムの全体構成
図1に示すように、本実施形態に係る通信システムは、車両に搭載されたナビゲーション装置100と携帯電話機1とにより構成される。ナビゲーション装置100及び携帯電話機1の双方は、同一規格の近距離無線通信を実行可能に構成されており、当該近距離無線通信によって互いに無線接続される。これにより、使用者は、携帯電話機1に登録されている電話番号情報を用いてナビゲーション装置100で経路探索を実行することができたり、携帯電話機1を直接操作することなく当該携帯電話機1を介した音声通話(ハンズフリー通話)を行ったりすることができる。ここで、近距離無線通信としては、Bluetooth(登録商標)通信や赤外線通信が一例として挙げられる。なお、当然ながら、近距離無線通信の規格はこれらの通信規格に限定されるものではなく、その他の各種の通信規格を採用することができる。
1-1. Overall Configuration of Communication System As shown in FIG. 1, the communication system according to this embodiment includes a navigation device 100 and a mobile phone 1 mounted on a vehicle. Both the navigation device 100 and the mobile phone 1 are configured to be able to perform short-range wireless communication of the same standard, and are wirelessly connected to each other by the short-range wireless communication. As a result, the user can execute a route search with the navigation device 100 using the telephone number information registered in the mobile phone 1, or through the mobile phone 1 without directly operating the mobile phone 1. You can make voice calls (hands-free calls). Here, examples of short-range wireless communication include Bluetooth (registered trademark) communication and infrared communication. Of course, short-range wireless communication standards are not limited to these communication standards, and various other communication standards can be adopted.

1−2.ナビゲーション装置
ナビゲーション装置100は、本実施形態では車両に搭載された車両用ナビゲーション装置であり、自車位置表示、出発地から目的地までの経路計算、目的地までの経路案内、目的地検索等のナビゲーション機能を実行するための構成は公知であるため、ここでは詳細な説明は省略し、本発明に関する部分のみを説明する。
1-2. Navigation Device The navigation device 100 is a vehicle navigation device mounted on a vehicle in this embodiment, and is used for displaying the position of the vehicle, calculating the route from the departure point to the destination, guiding the route to the destination, searching for the destination, etc. Since the configuration for executing the navigation function is well-known, detailed description thereof is omitted here, and only the portion related to the present invention will be described.

ナビゲーション装置100は、図1に示すように、携帯電話機1の通信部4との間で、近距離無線通信を実行可能な無線通信装置101を備える。無線通信装置101は、自動若しくは使用者による手動によって、近距離無線通信による無線接続が可能な通信可能状態と当該無線接続が不可能な通信遮断状態との間で切り替えられる。本実施形態では、無線通信装置101は、車両の主電源がオン状態となって、ナビゲーション装置100が起動したことに連動して、通信可能状態となる。そして、通信可能状態となった無線通信装置101は、予めナビゲーション装置100に登録された携帯電話機1が近距離無線通信を実行可能な距離内に存在し、かつ、当該携帯電話機1の通信部4が通信可能状態にあれば、当該通信部4と自動的に無線接続するように構成されている。これにより、ナビゲーション装置100と当該携帯電話機1との間で通信リンクが確立する。なお、以下では、単に通信リンクと示す場合もあれば、通信部4と無線通信装置101との間の通信リンクと示す場合もある。また、ナビゲーション装置100が備える表示・入力装置(図示せず)を使用者が操作して、手動で無線通信装置101を通信可能状態とすることにより、通信リンクが確立される場合もある。なお、詳細は省略するが、このような表示・入力装置は、例えば、入力装置と表示装置との組み合わせ(タッチパネル等)、及びその他の操作スイッチ等を有して構成される。また、無線通信装置101は、車両の移動が停止している状態で、前記通信リンクを切断する機能を有する。具体的には、無線通信装置101は、車両が停止し、当該車両の主電源がオフ状態となったことに連動して、通信遮断状態となり、前記通信リンクを切断する。なお、表示・入力装置を使用者が操作して、無線通信装置101を手動で通信遮断状態とすることにより、前記通信リンクを切断する場合もある。   As shown in FIG. 1, the navigation device 100 includes a wireless communication device 101 that can perform short-range wireless communication with the communication unit 4 of the mobile phone 1. The wireless communication device 101 is switched automatically or manually by a user between a communicable state where wireless connection by short-range wireless communication is possible and a communication cut-off state where wireless connection is not possible. In the present embodiment, the wireless communication device 101 enters a communicable state in conjunction with the navigation device 100 being activated when the main power supply of the vehicle is turned on. Then, the wireless communication device 101 in a communicable state exists within a distance where the mobile phone 1 registered in advance in the navigation device 100 can perform short-range wireless communication, and the communication unit 4 of the mobile phone 1 Is in a communicable state, it is configured to automatically establish a wireless connection with the communication unit 4. Thereby, a communication link is established between the navigation device 100 and the mobile phone 1. In the following description, the communication link may be simply indicated, or the communication link between the communication unit 4 and the wireless communication apparatus 101 may be indicated. In some cases, a user operates a display / input device (not shown) included in the navigation device 100 to manually place the wireless communication device 101 in a communicable state, thereby establishing a communication link. Although not described in detail, for example, such a display / input device includes a combination of an input device and a display device (such as a touch panel) and other operation switches. Further, the wireless communication device 101 has a function of disconnecting the communication link in a state where the movement of the vehicle is stopped. Specifically, the wireless communication apparatus 101 enters a communication cut-off state in conjunction with the vehicle stopping and the main power supply of the vehicle being turned off, and disconnects the communication link. In some cases, the user operates the display / input device to manually disconnect the communication link from the wireless communication device 101 to disconnect the communication link.

1−3.携帯電話機
携帯電話機1は、車両(移動体)が備える無線通信装置101との間で、近距離無線通信を実行可能な通信部4を備える携帯端末装置である。本実施形態では、携帯電話機1は、当該近距離無線通信以外に、通信網(図示せず)を介した音声通話、インターネット回線(図示せず)を介したウェブの閲覧やメールの送受信、マルチメディアプレーヤーとして音楽ファイル等の再生、カメラとして動画等の撮影を実行することが可能な多機能携帯電話機(スマートフォン)である。このような携帯電話機1の構成は公知であるため、ここでは詳細な説明は省略する。また、図1においては、携帯電話機1の構成のうち、本発明に関係する部分のみを示してある。
1-3. Mobile Phone The mobile phone 1 is a mobile terminal device including a communication unit 4 that can perform short-range wireless communication with the wireless communication device 101 included in the vehicle (moving body). In the present embodiment, the mobile phone 1 is not limited to the short-range wireless communication, but is capable of performing voice calls via a communication network (not shown), browsing the web via an Internet line (not shown), sending / receiving mail, This is a multi-function mobile phone (smart phone) capable of playing music files and the like as a media player and shooting movies and the like as a camera. Since the configuration of such a mobile phone 1 is known, detailed description thereof is omitted here. In FIG. 1, only the portion related to the present invention is shown in the configuration of the mobile phone 1.

図1に示すように、携帯電話機1は、ナビゲーション装置100との近距離無線通信を制御する通信制御部2と、記憶部3とを備える。通信制御部2は、通信部4と、自位置情報取得部5と、接続監視部6と、通信状態制御部7と、復帰判定部8と、削除処理部9と、入力受付部10と、GPS受信部11とを機能部として備えている。記憶部3は、書き込みと読み込みの両方が可能な書き換え型の記憶装置であり、例えば、フラッシュメモリやハードディスクドライブ等が用いられる。また、通信制御部2の各機能部は、互いに共通の或いはそれぞれ独立のCPU等の演算処理装置を中核部材として、入力されたデータに対して種々の処理を行うための機能部がハードウェア又はソフトウェア(プログラム)或いは、その両方により実装されて構成されている。また、これらの各機能部は、デジタル転送バス等の通信線を介して互いに情報の受け渡しを行うことができるように構成されている。ここで、各機能部がソフトウェア(プログラム)により構成される場合には、当該ソフトウェアは、演算処理装置が参照可能な記憶部3や別途備えられたRAMやROM等の記憶手段に記憶される。以下、本実施形態に係る通信制御部2の各機能部の構成について詳細に説明する。   As shown in FIG. 1, the mobile phone 1 includes a communication control unit 2 that controls short-range wireless communication with the navigation device 100, and a storage unit 3. The communication control unit 2 includes a communication unit 4, a local position information acquisition unit 5, a connection monitoring unit 6, a communication state control unit 7, a return determination unit 8, a deletion processing unit 9, an input reception unit 10, The GPS receiving unit 11 is provided as a functional unit. The storage unit 3 is a rewritable storage device capable of both writing and reading. For example, a flash memory or a hard disk drive is used. In addition, each function unit of the communication control unit 2 has a hardware or a function unit for performing various processes on input data with a common processing unit such as a CPU as a core member. It is implemented by software (program) or both. Each of these functional units is configured to exchange information with each other via a communication line such as a digital transfer bus. Here, when each functional unit is configured by software (program), the software is stored in the storage unit 3 that can be referred to by the arithmetic processing unit or in a storage unit such as a RAM or a ROM provided separately. Hereinafter, the configuration of each functional unit of the communication control unit 2 according to the present embodiment will be described in detail.

通信部4は、ナビゲーション装置100が実行可能な近距離無線通信と同規格の近距離無線通信を行う機能部である。通信部4は、近距離無線通信による無線接続が可能な通信可能状態と当該無線接続が不可能な通信遮断状態との間で切り替えられる。そして、通信部4は、当該通信部4が通信可能状態で、かつ、無線通信装置101が通信可能状態で、ナビゲーション装置100との距離が近距離無線通信を実行可能な距離内であれば、無線通信装置101と自動的に無線接続する。これにより、ナビゲーション装置100と携帯電話機1との間で通信リンクが確立する。また、通信部4が通信遮断状態となったり、無線通信装置101が通信遮断状態となったり、携帯電話機1とナビゲーション装置100(車両)とが近距離通信を実行可能な距離よりも離れた場合には、当該通信リンクは切断される。本実施形態では、通信部4の通信可能状態及び通信遮断状態の切り替えは、自動的に、若しくは、使用者の操作に基づいて手動で行われる。具体的には、通信部4は、後で詳しく説明する復帰判定部8により復帰したと判定されると、通信状態制御部7を介して通信可能状態となるように自動的に制御される。更に、本実施形態では、通信部4は、接続監視部6によって通信リンクの切断が検出された際に通信可能状態であれば、通信状態制御部7を介して、通信遮断状態となるように自動的に制御される。また、通信部4が通信可能状態である場合に、使用者が入力受付部10に対して、通信部4の通信状態を通信遮断状態とするための操作入力を行った場合には、通信部4は、通信状態制御部7を介して通信遮断状態となるように制御される。また、通信部4が通信遮断状態である場合に、使用者が入力受付部10に対して、通信部4の通信状態を通信可能状態とするための操作入力を行った場合には、通信部4は、通信状態制御部7を介して通信可能状態となるように制御される。すなわち、通信部4は、入力受付部10を介して手動で制御される。   The communication unit 4 is a functional unit that performs short-range wireless communication of the same standard as short-range wireless communication that the navigation device 100 can execute. The communication unit 4 is switched between a communicable state in which wireless connection by short-range wireless communication is possible and a communication cut-off state in which wireless connection is not possible. If the communication unit 4 is in a communicable state, the wireless communication device 101 is in a communicable state, and the distance from the navigation device 100 is within a distance where short-range wireless communication can be performed, A wireless connection is automatically established with the wireless communication apparatus 101. As a result, a communication link is established between the navigation device 100 and the mobile phone 1. In addition, when the communication unit 4 is in a communication cut-off state, the wireless communication device 101 is in a communication cut-off state, or the mobile phone 1 and the navigation device 100 (vehicle) are separated from a distance where short-range communication can be performed. In this case, the communication link is disconnected. In the present embodiment, switching between the communicable state and the communication cut-off state of the communication unit 4 is performed automatically or manually based on a user operation. Specifically, the communication unit 4 is automatically controlled to be in a communicable state via the communication state control unit 7 when it is determined that the return determination unit 8 described later in detail returns. Furthermore, in this embodiment, if the communication unit 4 is in a communicable state when the connection monitoring unit 6 detects a disconnection of the communication link, the communication unit 4 enters a communication cut-off state via the communication state control unit 7. Controlled automatically. In addition, when the communication unit 4 is in a communicable state, when the user performs an operation input for setting the communication state of the communication unit 4 to the communication cut-off state with respect to the input receiving unit 10, the communication unit 4 is controlled to be in a communication cut-off state via the communication state control unit 7. In addition, when the communication unit 4 is in the communication cut-off state, when the user performs an operation input for setting the communication state of the communication unit 4 to the communicable state to the input receiving unit 10, the communication unit 4 is controlled to be in a communicable state via the communication state control unit 7. That is, the communication unit 4 is manually controlled via the input receiving unit 10.

自位置情報取得部5は、携帯電話機1の自位置の情報である自位置情報を取得する機能部である。具体的には、自位置情報取得部5は、予め定められた間隔で定期的に自位置情報を取得するととともに、他の機能部からの指令に基づき自位置情報を取得する構成である。本実施形態では、自位置情報取得部5は、GPS(Global Positioning System)衛星からのGPS信号を受信する機能部であるGPS受信部11を介して、数秒毎に、座標(緯度及び経度)で表された現在の自位置情報を取得する。また、自位置情報取得部5は、接続監視部6からの指令に基づいても自位置情報を取得する。具体的には、接続監視部6から指令を受けると、当該指令を受けたタイミングで、GPS受信部11を介して携帯電話機1の自位置情報を取得し、当該取得した位置情報を切断位置情報21として記憶部3に格納する。そして、自位置情報取得部5は、接続監視部6から指令を受けた後に定期的に取得する自位置情報を、逐次復帰判定部8に出力する。なお、自位置情報取得部5は、上記切断位置情報21だけでなく、定期的に取得する自位置情報を移動履歴として記憶部3に逐次格納してもよい。なお、本実施形態では、携帯電話機1の自位置情報をGPS信号によって認識する構成であるが、本発明はこれに限定されるものではない。例えば、無線LANのアクセスポイントなどから発信される地点位置情報を含む電波を、携帯電話機1で受信して、当該携帯電話機1の現在の位置を判定するように構成されてもよい。   The self-location information acquisition unit 5 is a functional unit that acquires self-location information that is information about the self-location of the mobile phone 1. Specifically, the self-location information acquisition unit 5 is configured to periodically acquire the self-location information at predetermined intervals and acquire the self-location information based on commands from other functional units. In the present embodiment, the local position information acquisition unit 5 uses coordinates (latitude and longitude) every few seconds via the GPS receiving unit 11 that is a functional unit that receives GPS signals from GPS (Global Positioning System) satellites. Get the current location information represented. The own position information acquisition unit 5 also acquires the own position information based on a command from the connection monitoring unit 6. Specifically, when a command is received from the connection monitoring unit 6, the own position information of the mobile phone 1 is acquired via the GPS receiving unit 11 at the timing when the command is received, and the acquired position information is converted into the cut position information. 21 is stored in the storage unit 3. Then, the own position information acquisition unit 5 outputs the own position information that is periodically acquired after receiving a command from the connection monitoring unit 6 to the sequential return determination unit 8. In addition, the own position information acquisition unit 5 may sequentially store not only the cutting position information 21 but also the own position information periodically acquired in the storage unit 3 as a movement history. In addition, in this embodiment, although it is the structure which recognizes the own position information of the mobile telephone 1 by a GPS signal, this invention is not limited to this. For example, the mobile phone 1 may be configured to receive a radio wave including point location information transmitted from a wireless LAN access point or the like and determine the current location of the mobile phone 1.

接続監視部6は、通信部4と無線通信装置101との間の通信リンクの接続状態を監視する機能部である。具体的には、接続監視部6は、接続されていた通信リンクが切断されたこと、及び、当該切断されていた通信リンクが接続されたことを検出する。本実施形態では、接続監視部6は、通信リンクが切断されたことを検出すると、その旨の情報を通信状態制御部7へ伝達し、通信状態制御部7から当該通信リンクが切断された際の通信部4の状態に関する情報を取得する。そして、当該通信リンクの切断が検出された際の通信部4の状態が通信可能状態であれば、接続監視部6は、自位置情報取得部5に対して、当該通信リンクの切断が検出された際の自位置情報を取得するよう指令する。言い換えると、通信部4が通信可能状態であって、接続監視部6によって前記通信リンクの切断が検出された場合には、接続監視部6は、自位置情報取得部5に対して、当該通信リンクの切断が検出された際の自位置情報に示された位置を切断位置情報21として取得し、記憶部3に記憶させるよう指令する。一方、当該通信リンクの切断が検出された際の通信部4の状態が通信遮断状態であれば、接続監視部6は、自位置情報取得部5に対して何ら指令を行わない。さらに、接続監視部6は、通信部4と無線通信装置101との間の通信リンクが切断された後に、当該通信リンクが再接続されたことを検出すると、その旨の情報を削除処理部9へ伝達する。   The connection monitoring unit 6 is a functional unit that monitors the connection state of the communication link between the communication unit 4 and the wireless communication device 101. Specifically, the connection monitoring unit 6 detects that the connected communication link is disconnected and that the disconnected communication link is connected. In this embodiment, when the connection monitoring unit 6 detects that the communication link is disconnected, it transmits information to that effect to the communication state control unit 7, and when the communication link is disconnected from the communication state control unit 7. The information regarding the state of the communication unit 4 is acquired. If the state of the communication unit 4 when the disconnection of the communication link is detected is a communicable state, the connection monitoring unit 6 detects the disconnection of the communication link with respect to the own position information acquisition unit 5. Command to acquire the current position information. In other words, when the communication unit 4 is in a communicable state and the disconnection of the communication link is detected by the connection monitoring unit 6, the connection monitoring unit 6 transmits the communication to the own position information acquisition unit 5. The position indicated in the own position information when the link break is detected is acquired as the cut position information 21 and is instructed to be stored in the storage unit 3. On the other hand, if the state of the communication unit 4 when the disconnection of the communication link is detected is the communication cut-off state, the connection monitoring unit 6 does not give any command to the own position information acquisition unit 5. Further, when the connection monitoring unit 6 detects that the communication link is reconnected after the communication link between the communication unit 4 and the wireless communication device 101 is disconnected, the connection monitoring unit 6 deletes information indicating that fact. To communicate.

通信状態制御部7は、通信部4の状態を通信可能状態と通信遮断状態とのいずれかに制御する機能部である。また、通信状態制御部7は、通信部4の状態を監視する機能も有する。通信状態制御部7は、他の機能部から指令等を受けると、当該指令等の内容及び当該指令等を受けた際の通信部4の状態に基づいて、通信部4の状態を通信可能状態と通信遮断状態とのいずれかに制御する。本実施形態では、通信状態制御部7は、接続監視部6、入力受付部10、及び復帰判定部8からの指令及び伝達と、当該指令及び伝達を受けた際の通信部4の状態とに基づいて、通信部4の状態を制御する。具体的には、通信状態制御部7は、通信部4と無線通信装置101との間の通信リンクの切断が検出された旨の伝達を接続監視部6から受けると、当該伝達を受けた時点の通信部4の状態の情報を接続監視部6に出力するとともに、通信部4の状態が通信可能状態であれば、通信部4を通信遮断状態となるように制御する。言い換えると、通信状態制御部7は、接続監視部6が前記通信リンクの切断を検出した際に通信部4が通信可能状態であった場合には、通信部4を通信遮断状態とする。また、通信状態制御部7は、前記通信リンクの切断が検出された旨の伝達を接続監視部6から受けた際の通信部4の状態が通信遮断状態であれば、入力受付部10からの指令がない限り、通信部4の状態を通信遮断状態に維持する。   The communication state control unit 7 is a functional unit that controls the state of the communication unit 4 to either a communicable state or a communication cut-off state. The communication status control unit 7 also has a function of monitoring the status of the communication unit 4. When receiving a command or the like from another functional unit, the communication state control unit 7 can communicate the state of the communication unit 4 based on the content of the command and the state of the communication unit 4 when the command or the like is received. And the communication cut-off state. In the present embodiment, the communication state control unit 7 determines the command and transmission from the connection monitoring unit 6, the input reception unit 10, and the return determination unit 8, and the state of the communication unit 4 when the command and transmission are received. Based on this, the state of the communication unit 4 is controlled. Specifically, when the communication state control unit 7 receives a notification from the connection monitoring unit 6 that the communication link between the communication unit 4 and the wireless communication apparatus 101 is detected to be disconnected, Information of the communication unit 4 is output to the connection monitoring unit 6, and if the communication unit 4 is in a communicable state, the communication unit 4 is controlled to be in a communication cut-off state. In other words, if the communication unit 4 is in a communicable state when the connection monitoring unit 6 detects the disconnection of the communication link, the communication state control unit 7 sets the communication unit 4 in a communication cut-off state. In addition, if the communication state control unit 7 receives from the connection monitoring unit 6 the notification that the communication link disconnection has been detected, the communication state control unit 7 receives a notification from the input reception unit 10. Unless there is a command, the state of the communication unit 4 is maintained in the communication cut-off state.

また、通信状態制御部7は、入力受付部10で受け付けた操作入力に応じて通信部4の状態を制御する。具体的には、使用者が、入力受付部10を介して通信部4の状態を通信遮断状態にする旨の操作入力を行うと、通信状態制御部7は、通信部4を通信遮断状態にする旨の指令を入力受付部10から受け、その際の通信部4の状態が通信可能状態であれば通信遮断状態へ制御し、当該指令を受けた際の通信部4の状態が通信遮断状態であればその状態を維持するように制御する。一方、使用者が、入力受付部10を介して通信部4の状態を通信可能状態にする旨の操作入力を行うと、通信状態制御部7は、通信部4を通信可能状態にする旨の指令を入力受付部10から受け、その際の通信部4の状態が通信遮断状態であれば通信可能状態とし、当該指令を受けた際の通信部4の状態が通信遮断状態であればその状態を維持するように制御する。   The communication state control unit 7 controls the state of the communication unit 4 according to the operation input received by the input receiving unit 10. Specifically, when the user performs an operation input for setting the state of the communication unit 4 to the communication cut-off state via the input receiving unit 10, the communication state control unit 7 sets the communication unit 4 to the communication cut-off state. If the communication unit 4 is in a communicable state, the communication unit 4 is controlled to be in a communication cut-off state, and the communication unit 4 is in a communication cut-off state when the command is received. If so, control is performed to maintain the state. On the other hand, when the user performs an operation input for setting the state of the communication unit 4 to the communicable state via the input receiving unit 10, the communication state control unit 7 sets the communication unit 4 to the communicable state. If a command is received from the input receiving unit 10 and the state of the communication unit 4 at that time is a communication cut-off state, the communication is possible, and if the state of the communication unit 4 when the command is received is a communication cut-off state, that state Control to maintain.

さらに、通信状態制御部7は、復帰判定部8により復帰したと判定された際に通信部4が通信遮断状態であった場合には、通信部4を通信可能状態とする。具体的には、通信状態制御部7は、復帰判定部8より復帰した旨の判定結果が伝達されると、当該判定結果を取得した際の通信部4の状態が通信遮断状態であれば、通信可能状態となるように通信部4を制御する。また、通信状態制御部7は、復帰判定部8より復帰した旨の判定結果を取得した際の通信部4の状態が通信可能状態であれば、当該通信可能状態が維持されるように通信部4を制御する。   Furthermore, when the communication unit 4 is in the communication cut-off state when it is determined that the return determination unit 8 has returned, the communication state control unit 7 sets the communication unit 4 in a communicable state. Specifically, when the determination result indicating that the communication state control unit 7 has returned from the return determination unit 8 is transmitted, if the state of the communication unit 4 when the determination result is acquired is the communication cut-off state, The communication unit 4 is controlled so as to be in a communicable state. In addition, if the communication unit 4 is in a communicable state when the determination result indicating that it has returned from the return determination unit 8 is acquired, the communication state control unit 7 is configured to maintain the communicable state. 4 is controlled.

復帰判定部8は、携帯電話機1とナビゲーション装置100との間の通信リンクが切断された際の携帯電話機1の自位置である切断位置M1及び携帯電話機1の現在の自位置M2に基づいて、携帯電話機1が当該切断位置M1から一定距離離れた後に、当該切断位置M1付近に戻ってきたことを判定する機能部である。具体的には、復帰判定部8は、接続監視部6によって、通信部4と無線通信装置101との通信リンクの切断が検出された後、図3に示すように、携帯電話機1の自位置情報に示される自位置M2が、切断位置情報21に示される位置(切断位置M1)から予め定められた第一判定距離L1以上離れた後、前記第一判定距離L1以下に設定された第二判定距離L2未満に近づいた場合に、復帰したと判定する機能部である。そして、復帰判定部8は、当該判定処理を実行する為に、携帯電話機1の自位置M2が前記切断位置M1から第一判定距離L1以上離れたことを判定する第一距離判定部12と、携帯電話機1の自位置M2が前記切断位置M1から第二判定距離L2未満に近づいたことを判定する第二距離判定部13とを備える。ここで、第一判定距離L1及び第二判定距離L2の大きさは、予め出荷時に設定され、或いは、使用者等により設定される。本実施形態では、第二判定距離L2(例えば、3m)は、第一判定距離L1(例えば、6m)よりも小さく設定されているが、本発明はこれに限定されるものではない。本発明に係る第二判定距離L2は、第一判定距離L1以下の距離であればよいため、第二判定距離L2と第一判定距離L1とが同じであってもよい。なお、予め設定された第一判定距離L1及び第二判定距離L2は、記憶部3等の記憶媒体に保存されている。そして、第一距離判定部12及び第二距離判定部13は、下記の比較判定処理を行う際に、第一判定距離L1及び第二判定距離L2の始点を切断位置情報に合わせて行う。   The return determination unit 8 is based on the cut position M1 that is the own position of the mobile phone 1 when the communication link between the mobile phone 1 and the navigation device 100 is cut off, and the current own position M2 of the mobile phone 1. This is a functional unit that determines that the mobile phone 1 has returned to the vicinity of the cutting position M1 after a certain distance from the cutting position M1. Specifically, after the disconnection of the communication link between the communication unit 4 and the wireless communication device 101 is detected by the connection monitoring unit 6, the return determination unit 8, as shown in FIG. The second position set to be equal to or less than the first determination distance L1 after the own position M2 indicated in the information is separated from the position (cutting position M1) indicated in the cutting position information 21 by a predetermined first determination distance L1 or more. This is a functional unit that determines that it has returned when it approaches less than the determination distance L2. Then, the return determination unit 8 performs the determination process, the first distance determination unit 12 that determines that the own position M2 of the mobile phone 1 is more than the first determination distance L1 from the cutting position M1, A second distance determination unit that determines that the own position M2 of the mobile phone 1 is closer than the second determination distance L2 from the cutting position M1; Here, the magnitudes of the first determination distance L1 and the second determination distance L2 are set in advance at the time of shipment, or set by a user or the like. In the present embodiment, the second determination distance L2 (for example, 3 m) is set to be smaller than the first determination distance L1 (for example, 6 m), but the present invention is not limited to this. Since 2nd determination distance L2 which concerns on this invention should just be the distance below 1st determination distance L1, 2nd determination distance L2 and 1st determination distance L1 may be the same. The first determination distance L1 and the second determination distance L2 that are set in advance are stored in a storage medium such as the storage unit 3. And the 1st distance determination part 12 and the 2nd distance determination part 13 match | combine the starting point of the 1st determination distance L1 and the 2nd determination distance L2 with the cutting position information, when performing the following comparison determination process.

本実施形態では、第一距離判定部12は、通信リンクが切断された際の携帯電話機1の自位置である切断位置M1から携帯電話機1の現在の自位置M2までの距離L(以下、単に、自位置M2までの距離L)と、第一判定距離L1とを比較して判定処理を行う。第一距離判定部12は、この判定処理に際して、当該切断位置M1の座標位置(緯度及び経度)と携帯電話機1の自位置M2を示す座標位置(緯度及び経度)とを結ぶ直線距離を計算し、当該計算した直線距離Lと第一判定距離L1とを比較する。第二距離判定部13でも同様に判定処理を行う。また、本実施形態では、復帰判定部8には、自位置情報取得部5によって定期的に取得される自位置情報(具体的には、接続監視部6からの指令以降に取得される自位置情報)が逐次入力される。第一距離判定部12は、自位置情報取得部5から自位置情報が入力され始めると、切断位置情報21を記憶部3から取得する。そして、第一距離判定部12は、記憶部3から取得した切断位置情報21と、定期的に入力される自位置情報とに基づいて、図3に示すように、携帯電話機1の現在の自位置M2が、切断位置M1から予め定められた第一判定距離L1(例えば、6m)以上離れているか否かを判定する。すなわち、第一距離判定部12は、自位置M2までの距離Lが、予め定められた第一判定距離L1(例えば、6m)以上であるか否かを判定する。第一距離判定部12は、切断位置M1から自位置M2までの距離Lが、第一判定距離L1以上であると判定した場合には、その旨の情報を第二距離判定部13に伝達する。そして、それ以降は、第二距離判定部13による判定処理が行われる。一方、第一距離判定部12は、切断位置M1から自位置M2までの距離Lが、予め定められた第一判定距離L1よりも小さい場合には、当該携帯電話機1の自位置M2が切断位置M1から第一判定距離L1以上離れるまで上記処理を繰り返す。   In the present embodiment, the first distance determination unit 12 is a distance L (hereinafter simply referred to as a current position M2 of the mobile phone 1 from the cut position M1 that is the own position of the mobile phone 1 when the communication link is disconnected). The distance L) to the own position M2 is compared with the first determination distance L1, and the determination process is performed. In this determination process, the first distance determination unit 12 calculates a linear distance connecting the coordinate position (latitude and longitude) of the cutting position M1 and the coordinate position (latitude and longitude) indicating the own position M2 of the mobile phone 1. The calculated linear distance L is compared with the first determination distance L1. The second distance determination unit 13 performs the determination process similarly. Further, in the present embodiment, the return determination unit 8 includes the own position information periodically acquired by the own position information acquisition unit 5 (specifically, the own position acquired after the instruction from the connection monitoring unit 6). Information) is sequentially input. The first distance determination unit 12 acquires the cutting position information 21 from the storage unit 3 when the own position information starts to be input from the own position information acquisition unit 5. Then, the first distance determination unit 12, based on the cutting position information 21 acquired from the storage unit 3 and the own position information that is periodically input, as shown in FIG. It is determined whether or not the position M2 is more than a predetermined first determination distance L1 (for example, 6 m) from the cutting position M1. That is, the first distance determination unit 12 determines whether or not the distance L to the own position M2 is equal to or greater than a predetermined first determination distance L1 (for example, 6 m). If the first distance determination unit 12 determines that the distance L from the cutting position M1 to the own position M2 is equal to or greater than the first determination distance L1, the first distance determination unit 12 transmits information to that effect to the second distance determination unit 13. . Thereafter, determination processing by the second distance determination unit 13 is performed. On the other hand, when the distance L from the cutting position M1 to the own position M2 is smaller than the predetermined first determination distance L1, the first distance determining unit 12 determines that the own position M2 of the mobile phone 1 is the cutting position. The above process is repeated until the first determination distance L1 is separated from M1.

第二距離判定部13は、第一距離判定部12から、携帯電話機1の自位置M2が切断位置M1から第一判定距離L1以上離れた旨の伝達を受けると、記憶部3から切断位置情報21を取得する。そして、第二距離判定部13は、当該切断位置情報21と、定期的に自位置情報取得部5から入力される自位置情報とに基づいて、自位置M2までの距離Lが、予め定められた第二判定距離L2(例えば、3m)未満であるか否かを判定する。第二距離判定部13は、自位置M2までの距離Lが、予め定められた第二判定距離L2未満であると判定した場合には、すなわち、携帯電話機1の自位置M2が切断位置M1から第二判定距離L2未満に近づいたと判定した場合には、当該判定結果を通信状態制御部7へ伝達する。一方、第二距離判定部13は、自位置M2までの距離Lが、第二判定距離L2以上である場合、すなわち、携帯電話機1の自位置M2が、切断位置M1から予め定められた第二判定距離L2以上離れていると判定した場合には、当該携帯電話機1の自位置M2が第二判定距離L2未満に近づくまで上記処理を繰り返す。なお、本実施形態では、車両が停止し、車両の主電源がオフ状態となることに連動して、無線通信装置101が通信遮断状態となり、通信部4と無線通信装置101との通信リンクが切断されるので、当該切断位置M1が、車両の停止位置に相当する。よって、本実施形態における復帰判定部8は、携帯電話機1を所持する使用者が、停止している車両から一定距離離れた後に、当該停止している車両付近に戻ってきたことを実質的に判定している。   When the second distance determination unit 13 receives a notification from the first distance determination unit 12 that the own position M2 of the mobile phone 1 is more than the first determination distance L1 from the cutting position M1, the cutting position information is stored from the storage unit 3. 21 is acquired. The second distance determination unit 13 determines a distance L to the own position M2 in advance based on the cutting position information 21 and the own position information periodically input from the own position information acquisition unit 5. It is determined whether it is less than the second determination distance L2 (for example, 3 m). When the second distance determination unit 13 determines that the distance L to the own position M2 is less than the predetermined second determination distance L2, that is, the own position M2 of the mobile phone 1 is changed from the cutting position M1. When it is determined that the distance is less than the second determination distance L2, the determination result is transmitted to the communication state control unit 7. On the other hand, when the distance L to the own position M2 is equal to or greater than the second determination distance L2, the second distance determining unit 13 determines that the own position M2 of the mobile phone 1 is the second predetermined from the cutting position M1. If it is determined that the distance is greater than or equal to the determination distance L2, the above process is repeated until the position M2 of the mobile phone 1 approaches less than the second determination distance L2. In the present embodiment, the wireless communication device 101 enters a communication cutoff state in conjunction with the vehicle stopping and the main power supply of the vehicle being turned off, and the communication link between the communication unit 4 and the wireless communication device 101 is established. Since it is cut, the cutting position M1 corresponds to the stop position of the vehicle. Therefore, the return determination unit 8 in the present embodiment substantially confirms that the user holding the mobile phone 1 has returned to the vicinity of the stopped vehicle after leaving a certain distance from the stopped vehicle. Judgment.

削除処理部9は、記憶部3に記憶されたデータの削除処理を実行する機能部である。本実施形態では、削除処理部9は、通信部4と無線通信装置101との間の通信リンクが切断された後に、再接続されたことを検出した旨の伝達を接続監視部6から受けると、記憶部3に格納されている切断位置情報21を削除する。言い換えると、復帰判定部8により復帰したと判定された後、通信部4と無線通信装置101との間の通信リンクが接続された場合には、記憶部3に記憶された切断位置情報21を削除する。なお、自位置情報取得部5が、定期的に取得する自位置情報を移動履歴として記憶部3に格納している場合には、削除処理部9は、当該切断位置情報以降の自位置情報であって、接続監視部6から通信リンクが再接続された旨の伝達を受けるまでの間に定期的に取得され格納された自位置情報の移動履歴を削除してもよい。   The deletion processing unit 9 is a functional unit that executes a deletion process of data stored in the storage unit 3. In the present embodiment, when the deletion processing unit 9 receives a notification from the connection monitoring unit 6 that the reconnection is detected after the communication link between the communication unit 4 and the wireless communication apparatus 101 is disconnected. The cutting position information 21 stored in the storage unit 3 is deleted. In other words, if the communication link between the communication unit 4 and the wireless communication apparatus 101 is connected after it is determined that the return determination unit 8 has returned, the cutting position information 21 stored in the storage unit 3 is stored. delete. In addition, when the own position information acquisition unit 5 stores the own position information acquired periodically as a movement history in the storage unit 3, the deletion processing unit 9 uses the own position information after the cutting position information. Thus, the movement history of the self-location information that is periodically acquired and stored until the communication that the communication link is reconnected from the connection monitoring unit 6 may be deleted.

入力受付部10は、通信部4の状態を通信可能状態と通信遮断状態とで切り替えるための操作入力を受け付ける機能部である。具体的には、使用者から、通信部4の状態を通信可能状態と通信遮断状態とで切り替えるための操作入力を受け付けると、入力受付部10は、当該操作入力の内容に基づいた指令を通信状態制御部7へ行う。例えば、使用者から通信部4の状態を通信遮断状態にする旨の操作入力を受け付けると、通信部4の状態を通信遮断状態にする旨の指令を通信状態制御部7へ出力する。なお、本実施形態における入力受付部10は、液晶表示装置等の表示装置と、タッチパネル等の入力装置と、入力受付操作部を表示装置に表示すると共にタッチパネルの入力受付領域を設定するプログラムとにより構成されている。そして、使用者は、表示装置に表示されたBluetooth機能や赤外線機能等の通信機能の設定画面において、各機能をON/OFFのいずれにするかを、タッチしたり、指をスライドさせたりして選択することにより、操作入力を行うことができる。   The input receiving unit 10 is a functional unit that receives an operation input for switching the state of the communication unit 4 between a communicable state and a communication cut-off state. Specifically, when receiving an operation input for switching the state of the communication unit 4 between a communicable state and a communication cut-off state from the user, the input reception unit 10 communicates a command based on the content of the operation input. This is performed to the state control unit 7. For example, when an operation input for changing the state of the communication unit 4 from the user to the communication cut-off state is received, a command for changing the state of the communication unit 4 to the communication cut-off state is output to the communication state control unit 7. The input receiving unit 10 in the present embodiment is based on a display device such as a liquid crystal display device, an input device such as a touch panel, and a program that displays an input receiving operation unit on the display device and sets an input receiving area of the touch panel. It is configured. Then, the user touches or slides his / her finger on whether to turn each function ON or OFF on the setting screen of the communication function such as the Bluetooth function or the infrared function displayed on the display device. By selecting, an operation input can be performed.

1−4.動作処理の手順
次に、図2を参照して、本実施形態に係る携帯電話機1において実行される、ナビゲーション装置100と携帯電話機1との間の通信リンクが切断されてから再接続されるまでの処理手順について説明する。以下に説明する処理手順は、上記の携帯電話機1の各機能部を構成するハードウェア又はソフトウェア(プログラム)或いはその両方により実行される。上記の各機能部がプログラムにより構成される場合には、携帯電話機1が有する演算処理装置が、上記の各機能部を構成するプログラムを実行するコンピュータとして動作する。
1-4. Procedure of Operation Processing Next, referring to FIG. 2, until the communication link between the navigation device 100 and the mobile phone 1 executed in the mobile phone 1 according to the present embodiment is disconnected and reconnected. The processing procedure will be described. The processing procedure described below is executed by hardware and / or software (program) or both constituting each functional unit of the mobile phone 1 described above. When each of the above function units is configured by a program, the arithmetic processing device included in the mobile phone 1 operates as a computer that executes the program that configures each of the above function units.

接続監視部6が、ナビゲーション装置100と携帯電話機1との間の通信リンクが切断されたことを検出すると(ステップ#01)、自位置情報取得部5は、当該通信リンクが切断された際の携帯電話機1の自位置情報を取得し、当該自位置情報を切断位置情報21として記憶部3に格納する(ステップ#02)とともに、GPS受信部11から定期的に取得する携帯電話機1の自位置情報の復帰判定部8への出力を開始する。第一距離判定部12は、自位置情報取得部5から携帯電話機1の現在の自位置情報を取得すると(ステップ#03)、記憶部3から切断位置情報21を取得し、これらを用いて、当該切断位置M1から携帯電話機1の現在の自位置M2までの距離Lを算出する。そして、第一距離判定部12は、当該算出した自位置M2までの距離Lが、予め定められた第一判定距離L1以上であるか否かを判定する(ステップ#04)。第一距離判定部12が、当該自位置M2までの距離Lが、第一判定距離L1以上であると判定すると(ステップ#04:Yes)、第二距離判定部13が、自位置情報取得部5から逐次復帰判定部8に入力される携帯電話機1の自位置情報のうち最新の自位置情報を現在の自位置情報として取得する(ステップ#05)。そして、第二距離判定部13は、記憶部3から切断位置情報21を取得し、ステップ#05で取得した携帯電話機1の現在の自位置情報と当該切断位置情報21とを用いて、当該切断位置M1から携帯電話機1の現在の自位置M2までの距離Lを算出する。次に、第二距離判定部13は、当該算出した切断位置M1から当該自位置M2までの距離Lが、予め定められた第二判定距離L2未満であるか否かを判定する(ステップ#06)。第二距離判定部13が、当該自位置M2までの距離Lが、第二判定距離L2未満であると判定すると(ステップ#06:Yes)、通信状態制御部7が通信部4を通信可能状態に制御する(ステップ#07)。そして、接続監視部6が、通信部4と無線通信装置101との間の通信リンクが再接続されたことを検出すると、すなわち、ナビゲーション装置100と携帯電話機1との間の通信リンクが再接続されたことを検出すると(ステップ#08:Yes)、削除処理部9は記憶部3に格納されている切断位置情報21を削除する(ステップ#09)。また、第一距離判定部12が、自位置M2までの距離Lが、第一判定距離L1未満であると判定した場合には(ステップ#04:No)、ステップ#03に戻り、携帯電話機1の現在の自位置情報を取得し直す。また、第二距離判定部13が、自位置M2までの距離Lが、第二判定距離L2以上であると判定した場合には(ステップ#06:No)、ステップ#05に戻り、携帯電話機1の現在の自位置情報を取得し直す。また、通信状態制御部7が通信部4を通信可能状態に制御した後(ステップ#07)に、接続監視部6が、通信部4と無線通信装置101との間の通信リンクが再接続されたことを検出しない場合には(ステップ#08:No)、再接続が検出されるまでステップ#08の処理を繰り返す。   When the connection monitoring unit 6 detects that the communication link between the navigation device 100 and the mobile phone 1 has been disconnected (step # 01), the local position information acquisition unit 5 detects when the communication link has been disconnected. The self-location information of the mobile phone 1 is acquired, the self-location information is stored in the storage unit 3 as the cutting position information 21 (step # 02), and the self-location of the mobile phone 1 periodically acquired from the GPS receiving unit 11 Output of information to the return determination unit 8 is started. When the first distance determination unit 12 acquires the current own position information of the mobile phone 1 from the own position information acquisition unit 5 (step # 03), the first distance determination unit 12 acquires the cutting position information 21 from the storage unit 3, and uses these, A distance L from the cutting position M1 to the current position M2 of the mobile phone 1 is calculated. Then, the first distance determination unit 12 determines whether or not the calculated distance L to the own position M2 is equal to or greater than a predetermined first determination distance L1 (step # 04). When the first distance determination unit 12 determines that the distance L to the self position M2 is equal to or greater than the first determination distance L1 (step # 04: Yes), the second distance determination unit 13 performs the self position information acquisition unit. 5, the latest location information of the location information of the mobile phone 1 input to the sequential return determination unit 8 is acquired as the current location information (step # 05). Then, the second distance determination unit 13 acquires the cutting position information 21 from the storage unit 3, and uses the current own position information of the mobile phone 1 acquired in step # 05 and the cutting position information 21 to perform the cutting. A distance L from the position M1 to the current position M2 of the mobile phone 1 is calculated. Next, the second distance determination unit 13 determines whether or not the calculated distance L from the cutting position M1 to the own position M2 is less than a predetermined second determination distance L2 (step # 06). ). When the second distance determination unit 13 determines that the distance L to the own position M2 is less than the second determination distance L2 (step # 06: Yes), the communication state control unit 7 can communicate with the communication unit 4. (Step # 07). Then, when the connection monitoring unit 6 detects that the communication link between the communication unit 4 and the wireless communication device 101 has been reconnected, that is, the communication link between the navigation device 100 and the mobile phone 1 is reconnected. When it is detected (step # 08: Yes), the deletion processing unit 9 deletes the cutting position information 21 stored in the storage unit 3 (step # 09). When the first distance determination unit 12 determines that the distance L to the own position M2 is less than the first determination distance L1 (step # 04: No), the process returns to step # 03, and the mobile phone 1 Re-acquire current location information. If the second distance determination unit 13 determines that the distance L to the own position M2 is equal to or greater than the second determination distance L2 (step # 06: No), the process returns to step # 05, and the mobile phone 1 Re-acquire current location information. Further, after the communication state control unit 7 controls the communication unit 4 to be in a communicable state (step # 07), the connection monitoring unit 6 reconnects the communication link between the communication unit 4 and the wireless communication device 101. If this is not detected (step # 08: No), the process of step # 08 is repeated until reconnection is detected.

2.第二の実施形態
次に、本発明の第二の実施形態について、図4及び図5を参照して説明する。本実施形態に係る携帯電話機41は、基本的に上記第一の実施形態と同様の構成をしているが、タイマー47備えることと、復帰判定部43が時間判定部46をさらに備える点で、上記第一の実施形態とは異なっている。以下では、本実施形態に係る携帯電話機1の構成について、上記第一の実施形態との相違点を中心に説明する。なお、特に説明しない点については、上記第一の実施形態と同様とする。
2. Second Embodiment Next, a second embodiment of the present invention will be described with reference to FIGS. The mobile phone 41 according to the present embodiment basically has the same configuration as that of the first embodiment, except that it includes a timer 47 and the return determination unit 43 further includes a time determination unit 46. This is different from the first embodiment. Hereinafter, the configuration of the mobile phone 1 according to the present embodiment will be described focusing on differences from the first embodiment. Note that points not particularly described are the same as those in the first embodiment.

本実施形態における携帯電話機41は、図4に示すように、上記第一の実施形態の携帯電話機1の構成以外に、タイマー47を備える。タイマー47は、時間を計測する機能部であり、復帰判定部43における時間判定部46によって参照される。本実施形態では、ナビゲーション装置100と携帯電話機41との間の通信リンクが切断された際の携帯電話機41の自位置である切断位置M1から、携帯電話機41の現在の自位置M2までの距離Lが、第一距離判定部44により、第一判定距離L1未満であると判定された後に、第二距離判定部45により第二判定距離L2以上であると判定された時点から、時間の計測を開始する。また、タイマー47は、第二距離判定部45により、自位置M2までの距離Lが第二判定距離L2未満であると判定された時点、若しくは、第一距離判定部44により、自位置M2までの距離Lが第一判定距離以上であると判定された時点で、時間の計測を終了する。すなわち、タイマー47は、携帯電話機41が、切断位置M1から第二距離以上でかつ第一距離未満のエリアに滞在する時間を計測する。   As shown in FIG. 4, the mobile phone 41 in the present embodiment includes a timer 47 in addition to the configuration of the mobile phone 1 of the first embodiment. The timer 47 is a functional unit that measures time, and is referred to by the time determination unit 46 in the return determination unit 43. In the present embodiment, the distance L from the cut position M1 that is the mobile phone 41's own position when the communication link between the navigation device 100 and the mobile phone 41 is cut to the current own position M2 of the mobile phone 41. However, after the first distance determination unit 44 determines that the distance is less than the first determination distance L1, the second distance determination unit 45 measures time from the time when the second distance determination unit 45 determines that the distance is greater than or equal to the second determination distance L2. Start. In addition, the timer 47 determines when the second distance determination unit 45 determines that the distance L to the own position M2 is less than the second determination distance L2, or the first distance determination unit 44 to the own position M2. When the distance L is determined to be greater than or equal to the first determination distance, the time measurement is terminated. That is, the timer 47 measures the time during which the mobile phone 41 stays in an area that is greater than or equal to the second distance and less than the first distance from the cutting position M1.

復帰判定部43は、上記第一の実施形態と同様に、接続監視部6によって、通信部4と無線通信装置101との通信リンクの切断が検出された後、携帯電話機41の自位置情報に示される自位置M2が、切断位置情報21に示される位置(切断位置M1)から予め定められた第一判定距離L1以上離れた後、前記第一判定距離L1以下に設定された第二判定距離L2未満に近づいた場合に、復帰したと判定する機能部であるとともに、更に以下の機能を有する。復帰判定部43は、携帯電話機41の現在の自位置M2が、切断位置情報21に示される切断位置M1から第二判定距離L2以上離れた状態で、所定の時間(所定時間T)が経過し、その後に前記第二判定距離L2未満に近づいた場合にも復帰したと判定する。すなわち、本実施形態では、復帰判定部43は、携帯電話機41の現在の自位置M2が、切断位置M1から第二判定距離L2以上でかつ第一判定距離L1未満離れた状態で、所定時間T(例えば、15分)が経過し、その後に第二判定距離L2未満に近づいた場合に復帰したと判定する。そして、復帰判定部43は、当該判定処理を実行する為に、携帯電話機41の自位置M2が前記切断位置M1から第一判定距離L1以上離れたか否かを判定する第一距離判定部44と、携帯電話機41の自位置M2が前記切断位置M1から第二判定距離L2未満に近づいたか否かを判定する第二距離判定部45と、時間判定部46(後述)とを備える。なお、第一判定距離L1、第二判定距離L2及び所定時間Tは、出荷時に設定され、或いは、予め使用者等により設定され、記憶部3等の記憶媒体に保存されている。   Similarly to the first embodiment, the return determination unit 43 detects the disconnection of the communication link between the communication unit 4 and the wireless communication device 101 by the connection monitoring unit 6, and then uses the self-location information of the mobile phone 41. The second determination distance that is set to be equal to or less than the first determination distance L1 after the indicated position M2 is separated from the position (cutting position M1) indicated by the cutting position information 21 by a predetermined first determination distance L1 or more. In addition to being a function unit that determines that it has returned when it is less than L2, it has the following functions. The return determination unit 43 passes the predetermined time (predetermined time T) in a state where the current position M2 of the mobile phone 41 is more than the second determination distance L2 from the cutting position M1 indicated in the cutting position information 21. Thereafter, it is determined that the vehicle has returned even when approaching less than the second determination distance L2. In other words, in the present embodiment, the return determination unit 43 determines that the current position M2 of the mobile phone 41 is not less than the second determination distance L2 and less than the first determination distance L1 from the cutting position M1 for a predetermined time T. When (for example, 15 minutes) elapses and then approaches less than the second determination distance L2, it is determined that the vehicle has returned. Then, the return determination unit 43 includes a first distance determination unit 44 that determines whether or not the own position M2 of the mobile phone 41 is more than the first determination distance L1 from the cutting position M1 in order to execute the determination process. The mobile phone 41 includes a second distance determination unit 45 that determines whether or not the own position M2 of the mobile phone 41 is closer than the second determination distance L2 from the cutting position M1, and a time determination unit 46 (described later). The first determination distance L1, the second determination distance L2, and the predetermined time T are set at the time of shipment, or set in advance by a user or the like and stored in a storage medium such as the storage unit 3.

本実施形態における第一距離判定部44は、上記第一の実施形態における第一距離判定部12とほぼ同じ構成である。しかし、上記第一の実施形態の第一距離判定部12では、自位置M2までの距離Lが、第一判定距離L1以上であると判定した場合には、その旨の情報を第二距離判定部13に伝達するが、第一判定距離L1よりも小さいと判定した場合には、第二距離判定部13へ伝達することなく、当該携帯電話機1の自位置M2が切断位置M1から第一判定距離L1以上離れるまで当該判定処理を繰り返す構成であった(図2のステップ#05:No)。すなわち、第一判定距離L1よりも小さいと判定した場合には、第二距離判定部13へ伝達しない構成であった。しかし、本実施形態における第一距離判定部44は、自位置M2までの距離Lが、第一判定距離L1以上であるか第一判定距離L1未満であるかに関わらず、第一距離判定部44での判定結果を第二距離判定部45へ伝達する。   The first distance determination unit 44 in the present embodiment has substantially the same configuration as the first distance determination unit 12 in the first embodiment. However, when the first distance determination unit 12 of the first embodiment determines that the distance L to the own position M2 is equal to or greater than the first determination distance L1, information indicating that is the second distance determination. However, if it is determined that the distance is smaller than the first determination distance L1, the mobile phone 1 is not transmitted to the second distance determination unit 13, and the mobile phone 1 determines that its own position M2 is the first determination from the cutting position M1. It was the structure which repeats the said determination process until it leaves | separates more than the distance L1 (step # 05: No of FIG. 2). In other words, when it is determined that the distance is smaller than the first determination distance L1, the second distance determination unit 13 is not transmitted. However, the first distance determination unit 44 in the present embodiment, regardless of whether the distance L to the own position M2 is equal to or greater than the first determination distance L1 or less than the first determination distance L1. The determination result at 44 is transmitted to the second distance determination unit 45.

第二距離判定部45は、第一距離判定部44から判定結果を受けると、第一距離判定部44の判定結果に応じて、実行する処理を異ならせる。上記第一の実施形態では、第二距離判定部13は、第一距離判定部12において自位置M2までの距離Lが第一判定距離L1以上となった場合にしか、第一距離判定部12から伝達されない構成であった為、実行する処理も一つであった。よって、第二距離判定部13が実行する処理はすべて同じであった。この点において、本実施形態の第二距離判定部45と第二距離判定部13とは異なる構成である。具体的には、第二距離判定部45は、第一距離判定部44から、自位置M2までの距離Lが第一判定距離L1以上であったとの判定結果が伝達された場合には、上記第一の実施形態と同じ処理を行う為に、携帯電話機41の現在の自位置情報を新たに取得する。なお、それ以降の処理については、上記第一の実施形態と同じである為、ここでは説明を省略する。一方、第二距離判定部45は、第一距離判定部44から自位置M2までの距離Lが第一判定距離L1未満であったとの判定結果が伝達された場合には、上記第一の実施形態とは異なる処理を行う。   When the second distance determination unit 45 receives the determination result from the first distance determination unit 44, the second distance determination unit 45 changes the process to be executed according to the determination result of the first distance determination unit 44. In the first embodiment, the second distance determination unit 13 is used only when the distance L to the own position M2 in the first distance determination unit 12 is equal to or greater than the first determination distance L1. Because the configuration is not transmitted from the server, there is only one process to be executed. Therefore, all the processes performed by the second distance determination unit 13 are the same. In this regard, the second distance determination unit 45 and the second distance determination unit 13 of the present embodiment are different configurations. Specifically, when the determination result that the distance L to the own position M2 is equal to or greater than the first determination distance L1 is transmitted from the first distance determination unit 44, the second distance determination unit 45 In order to perform the same processing as in the first embodiment, the current location information of the mobile phone 41 is newly acquired. Since the subsequent processing is the same as that in the first embodiment, description thereof is omitted here. On the other hand, when the determination result that the distance L from the first distance determination unit 44 to the own position M2 is less than the first determination distance L1 is transmitted, the second distance determination unit 45 transmits the first implementation described above. Processing different from the form is performed.

以下、当該異なる処理について説明する。第一距離判定部44から自位置M2までの距離Lが第一判定距離L1未満であったとの判定結果が伝達されると、第二距離判定部45は、第一距離判定部44での判定処理の際に用いた携帯電話機41の自位置情報と切断位置情報21とを用いて、自位置M2までの距離Lが、予め定められた第二判定距離L2(例えば、3m)未満であるか否かを判定する。第二距離判定部45は、当該自位置M2までの距離Lが第二判定距離L2以上であると判定した場合、すなわち、携帯電話機41の自位置M2が、切断位置M1から第一判定距離L1未満でかつ第二判定距離L2以上離れている場合には、後述の時間判定部46に、第一判定距離L1未満でかつ第二判定距離L2以上離れている時間が所定時間Tを超えたか否かの判定処理を行わせる。そして、第二距離判定部45は、時間判定部46から、第一判定距離L1未満でかつ第二判定距離L2以上離れている時間が所定時間Tを超えた旨の情報の伝達があった場合には、以降は、上記第一の実施形態における第二距離判定部13の処理(図2におけるステップ#05及びステップ#06)と同じ処理(図5におけるステップ#15及びステップ#16)を実行する。一方、第二距離判定部45は、携帯電話機41の自位置M2が、切断位置M1から第二判定距離L2未満であると判定した場合は、携帯電話機41の自位置M2が切断位置M1から一度も第二判定距離以上離れていない場合である可能性が高い為、第一距離判定部44に処理を戻す。   Hereinafter, the different processing will be described. When the determination result that the distance L from the first distance determination unit 44 to the own position M2 is less than the first determination distance L1 is transmitted, the second distance determination unit 45 determines in the first distance determination unit 44 Whether the distance L to the own position M2 is less than a predetermined second determination distance L2 (for example, 3 m) using the own position information and the cutting position information 21 of the mobile phone 41 used in the process. Determine whether or not. When the second distance determination unit 45 determines that the distance L to the own position M2 is equal to or greater than the second determination distance L2, that is, the own position M2 of the mobile phone 41 is changed from the cutting position M1 to the first determination distance L1. If the distance is less than the second determination distance L2, the time determination unit 46, which will be described later, determines whether or not the time that is less than the first determination distance L1 and more than the second determination distance L2 exceeds the predetermined time T. To perform the determination process. Then, the second distance determination unit 45 receives information from the time determination unit 46 that the time that is less than the first determination distance L1 and more than the second determination distance L2 exceeds the predetermined time T. Thereafter, the same processing (step # 15 and step # 16 in FIG. 5) as the processing (step # 05 and step # 06 in FIG. 2) of the second distance determination unit 13 in the first embodiment is executed. To do. On the other hand, if the second distance determination unit 45 determines that the own position M2 of the mobile phone 41 is less than the second determination distance L2 from the cut position M1, the own position M2 of the mobile phone 41 is once from the cut position M1. Since there is a high possibility that the distance is not more than the second determination distance, the process is returned to the first distance determination unit 44.

時間判定部46は、切断位置M1から携帯電話機41の現在の自位置M2までの距離Lが、第一判定距離L1未満でかつ第二判定距離L2以上である時間、すなわち、携帯電話機41が、切断位置M1から第一判定距離L1未満かつ第二判定距離L2以上離れた位置に滞在する時間が、予め定められた所定時間Tよりも大きいか否かを判定する機能部である。本実施形態では、時間判定部46は、第二距離判定部45から時間判定処理を実行するよう指令を受けると、タイマー47に、時間の計測を開始させるとともに、当該タイマー47を参照しながら、当該タイマー47で計測される時間と所定時間Tとを比較する。そして、時間判定部46が、タイマー47で計測される時間が所定時間Tを超えたと判定した場合には、第二距離判定部45にその旨の情報を伝達する。そして、第二距離判定部45によって、上記第一実施形態の第二距離判定部13と同様の処理が行われる。すなわち、自位置M2までの距離Lが、第一判定距離L1未満で第二判定距離L2以上の状態で、所定時間Tを経過した場合には、自位置M2までの距離Lが、第一判定距離L1以上まで離れていなくても、以降の処理は、第一判定距離L1以上離れた場合と同じ処理が実行される。また、時間判定部46が、タイマー47で計測される時間が所定時間Tを超えていないと判定した場合には、第一距離判定部44に処理を戻す。これは、携帯電話機41の自位置M2が、切断位置M1から第一判定距離L1以上離れた位置に向かって移動している途中の段階である可能性がある為である。   The time determination unit 46 determines the time during which the distance L from the cutting position M1 to the current position M2 of the mobile phone 41 is less than the first determination distance L1 and greater than or equal to the second determination distance L2, that is, the mobile phone 41 It is a functional unit that determines whether or not the time for staying at a position that is less than the first determination distance L1 and greater than or equal to the second determination distance L2 from the cutting position M1 is greater than a predetermined time T. In this embodiment, when the time determination unit 46 receives a command to execute the time determination process from the second distance determination unit 45, the time determination unit 46 causes the timer 47 to start measuring time and refers to the timer 47, The time measured by the timer 47 is compared with the predetermined time T. When the time determination unit 46 determines that the time measured by the timer 47 has exceeded the predetermined time T, information to that effect is transmitted to the second distance determination unit 45. Then, the second distance determination unit 45 performs the same processing as the second distance determination unit 13 of the first embodiment. That is, when the predetermined time T has elapsed in a state where the distance L to the own position M2 is less than the first determination distance L1 and equal to or greater than the second determination distance L2, the distance L to the own position M2 is determined to be the first determination. Even if the distance is not more than the distance L1, the subsequent processing is the same as the case where the distance is equal to or more than the first determination distance L1. When the time determination unit 46 determines that the time measured by the timer 47 does not exceed the predetermined time T, the process returns to the first distance determination unit 44. This is because the own position M2 of the mobile phone 41 may be in the middle of moving toward a position that is more than the first determination distance L1 from the cutting position M1.

このように、本実施形態では、切断位置M1から携帯電話機41の自位置M2までの距離が、第一判定距離L1以上にならなくても、第二判定距離L2以上でかつ第一判定距離L1未満であり、所定時間Tが経過していれば、上記第一判定距離L1以上となった場合と同様に扱い、第二距離判定部45が、自位置M2までの距離Lが第二判定距離L2未満であるか否かを判定する。これにより、切断位置M1から第一判定距離以上で第二判定距離未満の位置に、携帯電話機を所持する使用者が長時間滞在し、その後、第二判定距離未満の位置に戻った場合、例えば、車両を家の車庫に停め、携帯電話機を所持する使用者が、当該車庫との距離が近い家(例えば車庫からの距離が第一判定距離未満の家)に滞在した場合等であっても、車両に乗用する際には、適切に通信部4を通信可能状態とすることできる。すなわち、第二判定距離L2と第一判定距離L1との間のエリアに使用者がとどまっている場合に、通信部の状態を時間によって制御することができるため、第一判定距離L1と第二判定距離L2との差を大きく設定することが可能となる。   Thus, in this embodiment, even if the distance from the cutting position M1 to the own position M2 of the mobile phone 41 is not equal to or greater than the first determination distance L1, it is equal to or greater than the second determination distance L2 and the first determination distance L1. If the predetermined time T has elapsed, the second distance determination unit 45 treats the distance L to the own position M2 as the second determination distance. It is determined whether it is less than L2. Thereby, when the user who has the mobile phone stays at a position that is greater than or equal to the first determination distance and less than the second determination distance from the cutting position M1, and then returns to a position that is less than the second determination distance, for example, Even if the vehicle is parked in the garage of the house and the user holding the mobile phone stays in a house close to the garage (for example, a house whose distance from the garage is less than the first determination distance) When riding in a vehicle, the communication unit 4 can be appropriately brought into a communicable state. That is, when the user stays in the area between the second determination distance L2 and the first determination distance L1, the state of the communication unit can be controlled by time, so the first determination distance L1 and the second determination distance L1 It is possible to set a large difference from the determination distance L2.

2−2.動作処理の手順
次に、図5を参照して、本実施形態に係る携帯電話機41において実行される、ナビゲーション装置100と携帯電話機41との間の通信リンクが切断されてから再接続されるまでの処理手順について説明する。なお、ステップ#11からステップ#19までの動作は、上記第一の実施形態のステップ#01からステップ#09に相当する為、ここでは簡易的にしか説明しない。すなわち、本実施形態で追加された部分であるステップ#20及びステップ21をメインに説明する。
2-2. Procedure of Operation Process Next, referring to FIG. 5, until the communication link between the navigation device 100 and the mobile phone 41 executed in the mobile phone 41 according to the present embodiment is disconnected and reconnected. The processing procedure will be described. The operation from step # 11 to step # 19 corresponds to step # 01 to step # 09 in the first embodiment, and will be described only briefly here. That is, Step # 20 and Step 21, which are parts added in the present embodiment, will be mainly described.

接続監視部6が、ナビゲーション装置100と携帯電話機41との間の通信リンクが切断されたことを検出すると(ステップ#11)、自位置情報取得部5は、当該通信リンクが切断された際の携帯電話機41の自位置情報を取得する(ステップ#12)。第一距離判定部44は、自位置情報取得部5から携帯電話機41の現在の自位置情報を取得すると(ステップ#13)、自位置M2までの距離Lが、予め定められた第一判定距離L1以上であるか否かを判定する(ステップ#14)。第一距離判定部44が、当該自位置M2までの距離Lが、第一判定距離L1以上であると判定すると(ステップ#14:Yes)、第二距離判定部45が、現在の携帯電話機41の自位置情報を新たに取得する(ステップ#15)。そして、第二距離判定部45は、自位置M2までの距離Lが、予め定められた第二判定距離L2未満であるか否かを判定する(ステップ#16)。第二距離判定部45が、当該自位置M2までの距離Lが、第二判定距離L2未満であると判定すると(ステップ#16:Yes)、通信状態制御部7が通信部4を通信可能状態に制御する(ステップ#17)。そして、接続監視部6が、通信部4と無線通信装置101との間の通信リンクが再接続されたことを検出すると、すなわち、ナビゲーション装置100と携帯電話機41との間の通信リンクが再接続されたことを検出すると(ステップ#18:Yes)、削除処理部9は記憶部3に格納されている切断位置情報21を削除する(ステップ#19)。また、通信状態制御部7が通信部4を通信可能状態に制御した後(ステップ#17)に、接続監視部6が、通信部4と無線通信装置101との間の通信リンクが再接続されたことを検出しない場合には(ステップ18:No)、再接続が検出されるまでステップ#18の処理を繰り返す。ここまでの動作処理は、第一の実施形態と同じ処理である。以下、本実施形態の特徴である動作処理について説明する。   When the connection monitoring unit 6 detects that the communication link between the navigation device 100 and the mobile phone 41 has been disconnected (step # 11), the local position information acquisition unit 5 detects when the communication link is disconnected. The own position information of the mobile phone 41 is acquired (step # 12). When the first distance determination unit 44 acquires the current own position information of the mobile phone 41 from the own position information acquisition unit 5 (step # 13), the distance L to the own position M2 is a predetermined first determination distance. It is determined whether or not L1 or more (step # 14). When the first distance determination unit 44 determines that the distance L to the own position M2 is equal to or greater than the first determination distance L1 (step # 14: Yes), the second distance determination unit 45 determines that the current mobile phone 41 is present. Own position information is newly acquired (step # 15). And the 2nd distance determination part 45 determines whether the distance L to the own position M2 is less than the predetermined 2nd determination distance L2 (step # 16). When the second distance determination unit 45 determines that the distance L to the own position M2 is less than the second determination distance L2 (step # 16: Yes), the communication state control unit 7 can communicate with the communication unit 4. (Step # 17). When the connection monitoring unit 6 detects that the communication link between the communication unit 4 and the wireless communication device 101 has been reconnected, that is, the communication link between the navigation device 100 and the mobile phone 41 is reconnected. When it is detected (step # 18: Yes), the deletion processing unit 9 deletes the cutting position information 21 stored in the storage unit 3 (step # 19). After the communication state control unit 7 controls the communication unit 4 to be in a communicable state (step # 17), the connection monitoring unit 6 reconnects the communication link between the communication unit 4 and the wireless communication apparatus 101. If it is not detected (step 18: No), the process of step # 18 is repeated until reconnection is detected. The operation processing so far is the same processing as in the first embodiment. Hereinafter, the operation processing that is a feature of the present embodiment will be described.

第一距離判定部44が、自位置M2までの距離Lが第一判定距離L1未満であると判定した場合には(ステップ#14:No)、第二距離判定部45が、当該自位置M2までの距離Lが第二判定距離L2未満(第二判定距離L2以上)であるかを判定する(ステップ#20)。第二距離判定部45が、当該自位置M2までの距離Lが第二判定距離L2以上であると判定すると(ステップ#20:No)、タイマー47が時間を計測し始める。そして、時間判定部46が、タイマー47で計測された時間と予め定められた所定時間Tとを比較し、当該タイマー47で計測された時間が当該所定時間Tを超えたか否かを判定する(ステップ#21)。そして、時間判定部46が、タイマー47で計測された時間が、所定時間Tを超えると判定した場合には(ステップ#21:Yes)、時間判定部46はその旨の情報を第二距離判定部45へ伝達する。そして、自位置M2までの距離Lが、第一判定距離未満で第二判定距離以上の状態で、所定時間Tを経過した場合には、自位置M2までの距離Lが、第一判定距離以上まで離れた場合と同様の扱いとなる為、ステップ#15に戻り、第二距離判定部45が、最新の自位置情報が取得する(ステップ#15)。以降は、上記で説明したようにステップ#16以降の処理が行われる。また、ステップ#20で、第二距離判定部45が、第二判定距離L2未満であると判定すると(ステップ#20:Yes)、携帯電話機41の自位置M2が、切断位置M1からまだ一度も第二判定距離L2以上離れていない可能性がある為、その場合は、第一距離判定部44へ処理を戻す。すなわち、ステップ#13に戻って、第一距離判定部44が現在の新たな自位置情報を取得する(ステップ#13)。また、ステップ#21で、時間判定部46が、タイマー47で計測された時間が所定時間Tを超えていないと判定する場合には(ステップ#21:No)、携帯電話機41の自位置M2が、切断位置M1から第二判定距離L2以上は離れているが第一判定距離L1には到達していない、すなわち第一判定距離L1以上離れた位置に向かって移動している途中である可能性がある為、第一距離判定部44へ処理を戻す。すなわち、ステップ#13に戻って、第一距離判定部44が現在の新たな自位置情報を取得する(ステップ#13)。   When the first distance determination unit 44 determines that the distance L to the own position M2 is less than the first determination distance L1 (step # 14: No), the second distance determination unit 45 performs the own position M2. Is determined to be less than the second determination distance L2 (second determination distance L2 or more) (step # 20). When the second distance determination unit 45 determines that the distance L to the own position M2 is equal to or greater than the second determination distance L2 (step # 20: No), the timer 47 starts measuring time. Then, the time determination unit 46 compares the time measured by the timer 47 with a predetermined time T, and determines whether or not the time measured by the timer 47 exceeds the predetermined time T ( Step # 21). Then, when the time determination unit 46 determines that the time measured by the timer 47 exceeds the predetermined time T (step # 21: Yes), the time determination unit 46 determines the second distance determination information to that effect. Transmitted to the unit 45. Then, when the predetermined time T has passed in a state where the distance L to the own position M2 is less than the first determination distance and greater than or equal to the second determination distance, the distance L to the own position M2 is equal to or more than the first determination distance. Therefore, the process returns to step # 15, and the second distance determination unit 45 acquires the latest own position information (step # 15). Thereafter, as described above, the processing after step # 16 is performed. If the second distance determination unit 45 determines in step # 20 that the distance is less than the second determination distance L2 (step # 20: Yes), the own position M2 of the mobile phone 41 is still once from the cutting position M1. Since there is a possibility that the distance is not more than the second determination distance L2, in this case, the process is returned to the first distance determination unit 44. That is, returning to step # 13, the first distance determination unit 44 acquires the current new self-location information (step # 13). In step # 21, if the time determination unit 46 determines that the time measured by the timer 47 does not exceed the predetermined time T (step # 21: No), the own position M2 of the mobile phone 41 is The distance from the cutting position M1 is more than the second determination distance L2, but it has not reached the first determination distance L1, that is, it is in the middle of moving toward the position more than the first determination distance L1. Therefore, the process returns to the first distance determination unit 44. That is, returning to step # 13, the first distance determination unit 44 acquires the current new self-location information (step # 13).

3.その他の実施形態
最後に、本発明に係る携帯端末装置の、その他の実施形態について説明する。なお、以下のそれぞれの実施形態で開示される構成は、矛盾が生じない限り、他の実施形態で開示される構成と組み合わせて適用することが可能である。
3. Other Embodiments Finally, other embodiments of the mobile terminal device according to the present invention will be described. Note that the configurations disclosed in the following embodiments can be applied in combination with the configurations disclosed in other embodiments as long as no contradiction arises.

(1)上記の実施形態では、通信部4が通信可能状態であり、かつ、車両の主電源がオフ状態になったことに連動して無線通信装置101が通信遮断状態となったことにより、携帯電話機1とナビゲーション装置100との間での近距離通信による通信リンクが切断される例を用いて説明した。すなわち、ナビゲーション装置100側から通信リンクが切断される例を用いて説明した。しかし、本発明の実施形態はこれに限定されるものではない。例えば、ナビゲーション装置100と携帯電話機1とが近距離無線通信を行うことが不可能な位置まで離れることにより通信相手が見つからないとして通信リンクが切断される場合も本発明の実施形態に含まれる。例えば、停止した車両の主電源やナビゲーション装置100がオン状態であることにより無線通信装置101が通信可能状態であり、かつ、通信部4が通信可能状態である場合に、携帯電話機1を所持する使用者が、当該車両との間で近距離無線通信の電波等が届かなくなるまで離れて通信リンクが切断される場合がある。このような場合でも、接続監視部6によって当該通信リンクの切断が検出された際の自位置(切断位置)と、車両が停止している位置とはほぼ同じ位置とみなせることが多いと考えられる。よって、復帰判定部8により、切断位置付近に使用者(携帯電話機1)が復帰したとの判定は、停止している車両付近に使用者が戻ってきたとの判定に相当する。よって、使用者が車両に近づいた際には、自動的に通信部4が通信可能状態となり、使用者が手動で通信部4の状態を通信可能状態に切り替える必要がなく、使用者の手間を省くことができる。 (1) In the above embodiment, the communication unit 4 is in a communicable state and the wireless communication device 101 is in a communication cut-off state in conjunction with the main power supply of the vehicle being turned off. The description has been given using the example in which the communication link by the short-range communication between the mobile phone 1 and the navigation device 100 is disconnected. That is, the description has been given using the example in which the communication link is disconnected from the navigation device 100 side. However, the embodiment of the present invention is not limited to this. For example, a case where the communication link is disconnected because the navigation apparatus 100 and the mobile phone 1 are separated to a position where short-range wireless communication cannot be performed and a communication partner is not found is also included in the embodiment of the present invention. For example, the mobile phone 1 is held when the wireless communication device 101 is in a communicable state due to the main power supply of the stopped vehicle or the navigation device 100 being in an on state, and the communication unit 4 is in a communicable state. In some cases, the communication link is disconnected when the user is away until the radio wave of the short-range wireless communication does not reach the vehicle. Even in such a case, it is often considered that the own position (disconnection position) when the disconnection of the communication link is detected by the connection monitoring unit 6 and the position where the vehicle is stopped can be regarded as substantially the same position. . Therefore, the determination that the user (mobile phone 1) has returned to the vicinity of the cutting position by the return determination unit 8 corresponds to the determination that the user has returned to the vicinity of the stopped vehicle. Therefore, when the user approaches the vehicle, the communication unit 4 is automatically in a communicable state, and the user does not need to manually switch the state of the communication unit 4 to the communicable state. It can be omitted.

(2)上記の実施形態では、復帰判定部8は、切断位置M1と携帯電話機1との距離として、GPS受信部11を介して取得し記憶部3に格納されている切断位置M1(緯度・経度)と、GPS受信部11を介して取得した携帯電話機1の自位置M2(緯度・経度)とを結ぶ直線距離を算出し、当該直線距離と、予め設定された第一判定距離L1及び第二判定距離L2とを比較する構成であった。しかし、本発明はこれに限定されるものではない。例えば、図3に示すように、切断位置M1を中心とした第一判定距離L1及び第二判定距離L2を半径とする同心円のエリアを設定し、復帰判定部8が当該エリアとGPS受信部11を介して取得する携帯電話機1の自位置M2とを比較して、携帯電話機1が切断位置M1付近に復帰したか否かを判定する構成とすることも可能である。具体的には、半径が第二判定距離内のエリアを第2エリアとし(図3における内円部)、半径が第一判定距離の円内でかつ第2エリアを除いたエリアを第1エリアとし(図3における第二エリアを覆う外円部)、切断位置M1から第1エリアよりも外側(切断位置M1と離れる側)のエリアを第3エリアとし、携帯電話機1の自位置M2がどのエリアに含まれるかに基づいて、復帰したか否かを判定する構成とすることも可能である。例えば、携帯電話機1の自位置M2が、第3エリアまで移動し、その後に第2エリア内に進入した場合には、復帰判定部8は、携帯電話機1が復帰したと判定する。 (2) In the above embodiment, the return determination unit 8 obtains the distance between the cutting position M1 and the mobile phone 1 through the GPS receiving unit 11 and stores the cutting position M1 (latitude Longitude) and a straight line distance connecting the mobile phone 1's own position M2 (latitude / longitude) acquired via the GPS receiver 11 is calculated, and the straight line distance and the first determination distance L1 and the first The second determination distance L2 is compared. However, the present invention is not limited to this. For example, as shown in FIG. 3, a concentric area having a radius of the first determination distance L1 and the second determination distance L2 centered on the cutting position M1 is set, and the return determination unit 8 and the GPS reception unit 11 It is also possible to make a configuration in which it is determined whether or not the mobile phone 1 has returned to the vicinity of the cutting position M1 by comparing with the own position M2 of the mobile phone 1 obtained through the above. Specifically, an area having a radius within the second determination distance is set as the second area (inner circle portion in FIG. 3), and an area within the circle having the radius of the first determination distance and excluding the second area is the first area. (The outer circle part covering the second area in FIG. 3), the area outside the first area from the cutting position M1 (the side away from the cutting position M1) is the third area, and the position M2 of the mobile phone 1 is It is also possible to adopt a configuration for determining whether or not the vehicle has returned based on whether it is included in the area. For example, when the own position M2 of the mobile phone 1 moves to the third area and then enters the second area, the return determination unit 8 determines that the mobile phone 1 has returned.

(3)上記の実施形態では、通信部4は、接続監視部6によって通信リンクの切断が検出された際に通信可能状態であれば、通信状態制御部7を介して、自動的に通信遮断状態となるように制御される構成であった。しかし、本発明の実施形態はこれに限定されるものではない。例えば、通信部4は、接続監視部6によって通信リンクの切断が検出された際に通信可能状態であっても、自動的に通信遮断状態とはならずに、使用者からの入力受付部10を介した操作入力により通信遮断状態とする構成であってもよい。   (3) In the above embodiment, the communication unit 4 automatically shuts down communication via the communication state control unit 7 if it is in a communicable state when the connection monitoring unit 6 detects the disconnection of the communication link. It was the structure controlled so that it might be in a state. However, the embodiment of the present invention is not limited to this. For example, even if the communication unit 4 is in a communicable state when the connection monitoring unit 6 detects the disconnection of the communication link, the communication unit 4 does not automatically enter the communication cut-off state, but the input receiving unit 10 from the user. A configuration may be adopted in which the communication is cut off by an operation input via.

本発明は、移動体が備える無線通信装置との間で、近距離無線通信を実行可能な通信部を備える携帯端末装置に好適に利用することができる。   INDUSTRIAL APPLICABILITY The present invention can be suitably used for a mobile terminal device including a communication unit that can perform short-range wireless communication with a wireless communication device included in a mobile body.

1 携帯電話機(携帯端末装置)
3 記憶部
4 通信部
5 自位置情報取得部
6 接続監視部
7 通信状態制御部
8 復帰判定部
9 位置情報削除部
10 入力受付部
41 携帯電話機(携帯端末装置)
51 携帯電話機(携帯端末装置)
101 無線通信装置
1 Mobile phone (mobile terminal device)
Reference Signs List 3 Storage unit 4 Communication unit 5 Self-location information acquisition unit 6 Connection monitoring unit 7 Communication state control unit 8 Return determination unit 9 Position information deletion unit 10 Input reception unit 41 Mobile phone (mobile terminal device)
51 Mobile phone (mobile terminal device)
101 wireless communication apparatus

Claims (8)

移動体が備える無線通信装置との間で、近距離無線通信を実行可能な通信部を備える携帯端末装置であって、
自位置の情報である自位置情報を取得する自位置情報取得部と、
前記通信部と前記無線通信装置との間の通信リンクの接続状態を監視する接続監視部と、
前記通信部が通信可能状態であって、前記接続監視部によって前記通信リンクの切断が検出された場合に、当該通信リンクの切断が検出された際の前記自位置情報に示された位置を切断位置情報として記憶する記憶部と、
前記通信部の状態を通信可能状態と通信遮断状態とのいずれかに制御する通信状態制御部と、
前記接続監視部によって前記通信リンクの切断が検出された後、前記自位置情報に示される自位置が、前記切断位置情報に示される位置から予め定められた第一判定距離以上離れた後、前記第一判定距離以下に設定された第二判定距離未満に近づいた場合、及び、前記自位置情報に示される自位置が、前記切断位置情報に示される位置から前記第二判定距離以上離れた状態で、予め定められた時間が経過し、その後に前記第二判定距離未満に近づいた場合、の両方の場合に、復帰したと判定する復帰判定部と、を備え、
前記通信状態制御部は、前記復帰判定部により復帰したと判定された際に前記通信部が通信遮断状態であった場合には、前記通信部を通信可能状態とする携帯端末装置。
A mobile terminal device including a communication unit capable of performing short-range wireless communication with a wireless communication device included in a mobile body,
A self-location information acquisition unit that acquires self-location information that is information of the self-location;
A connection monitoring unit that monitors a connection state of a communication link between the communication unit and the wireless communication device;
When the communication unit is in a communicable state, and the disconnection of the communication link is detected by the connection monitoring unit, the position indicated in the own position information when the disconnection of the communication link is detected is disconnected. A storage unit for storing position information;
A communication state control unit for controlling the state of the communication unit to either a communicable state or a communication cut-off state;
After the disconnection of the communication link is detected by the connection monitoring unit, the own position indicated in the own position information is separated from the position indicated in the disconnect position information by a predetermined first determination distance or more. When approaching less than the second determination distance set to be equal to or less than the first determination distance , and the own position indicated in the own position information is more than the second determination distance from the position indicated in the cutting position information A predetermined time elapses, and when it approaches less than the second determination distance after that, in both cases, a return determination unit that determines that it has returned,
The communication state control unit is a mobile terminal device that sets the communication unit to a communicable state when the communication unit is in a communication cut-off state when it is determined that the return determination unit returns.
前記復帰判定部により復帰したと判定された後、前記通信リンクが接続された場合には、前記記憶部に記憶された前記切断位置情報を削除する削除処理部を更に備える請求項1に記載の携帯端末装置。 2. The deletion processing unit according to claim 1, further comprising: a deletion processing unit that deletes the cutting position information stored in the storage unit when the communication link is connected after the return determination unit determines that the return has been performed. Mobile terminal device. 前記通信状態制御部は、前記接続監視部が前記通信リンクの切断を検出した際に前記通信部が通信可能状態であった場合には、前記通信部を通信遮断状態とする請求項1又は2に記載の携帯端末装置。 Said communication state control unit, when said connection monitoring unit the communication unit upon detection of the disconnection of the communication link is a communicable state, according to claim 1 or 2, the communication unit and the communication cut-off state The mobile terminal device according to 1. 前記通信部の状態を通信可能状態と通信遮断状態とで切り替えるための操作入力を受け付ける入力受付部を更に備え、
前記通信状態制御部は、前記入力受付部で受け付けた操作入力に応じて前記通信部の状態を制御する請求項1からのいずれか一項に記載の携帯端末装置。
An input receiving unit that receives an operation input for switching the state of the communication unit between a communicable state and a communication cut-off state;
The portable terminal device according to any one of claims 1 to 3 , wherein the communication state control unit controls a state of the communication unit according to an operation input received by the input receiving unit.
前記無線通信装置は、前記移動体の移動が停止している状態で、前記通信リンクを切断する機能を有する請求項1からのいずれか一項に記載の携帯端末装置。 The wireless communications apparatus, in a state in which the movement of the moving body is stopped, the portable terminal device according to any one of 4 claims 1 having a function of cutting the communication link. 前記無線通信装置は、前記移動体としての車両に搭載され、当該車両の主電源がオフ状態となったことに連動して前記通信リンクを切断する機能を有する請求項1からのいずれか一項に記載の携帯端末装置。 The wireless communication device is mounted on a vehicle as the moving body, either main power source of the vehicle from claim 1 having a function of cutting the communications link in conjunction with the turned off state of the 5 one The portable terminal device according to item. 移動体が備える無線通信装置との間で、近距離無線通信を実行可能な通信部を備える携帯端末装置のプログラムであって、
自位置の情報である自位置情報を取得する自位置情報取得機能と、
前記通信部と前記無線通信装置との間の通信リンクの接続状態を監視する接続監視機能と、
前記通信部が通信可能状態であって、前記接続監視機能によって前記通信リンクの切断が検出された場合に、当該通信リンクの切断が検出された際の前記自位置情報に示された位置を切断位置情報として記憶部に記憶させる機能と、
前記通信部の状態を通信可能状態と通信遮断状態とのいずれかに制御する通信状態制御機能と、
前記接続監視機能によって前記通信リンクの切断が検出された後、前記自位置情報に示される自位置が、前記切断位置情報に示される位置から予め定められた第一判定距離以上離れた後、前記第一判定距離以下に設定された第二判定距離未満に近づいた場合、及び、前記自位置情報に示される自位置が、前記切断位置情報に示される位置から前記第二判定距離以上離れた状態で、予め定められた時間が経過し、その後に前記第二判定距離未満に近づいた場合、の両方の場合に、復帰したと判定する復帰判定機能と、を備え、
前記通信状態制御機能は、前記復帰判定機能により復帰したと判定された際に前記通信部が通信遮断状態であった場合には、前記通信部を通信可能状態とする処理をコンピュータに実現させる携帯端末装置用のプログラム。
A mobile terminal device program including a communication unit capable of performing short-range wireless communication with a wireless communication device provided in a mobile body,
Self-location information acquisition function for acquiring self-location information that is information on the self-location,
A connection monitoring function for monitoring a connection state of a communication link between the communication unit and the wireless communication device;
When the communication unit is in a communicable state, and the disconnection of the communication link is detected by the connection monitoring function, the position indicated in the self-location information when the disconnection of the communication link is detected is disconnected. A function to be stored in the storage unit as position information;
A communication state control function for controlling the state of the communication unit to either a communicable state or a communication cutoff state;
After the disconnection of the communication link is detected by the connection monitoring function, after the own position indicated by the own position information is separated from the position indicated by the disconnect position information by a predetermined first determination distance or more, When approaching less than the second determination distance set to be equal to or less than the first determination distance , and the own position indicated in the own position information is more than the second determination distance from the position indicated in the cutting position information In a case where a predetermined time elapses and then the distance approaches less than the second determination distance , a recovery determination function that determines that recovery has occurred in both cases , and
If the communication unit is in a communication cut-off state when the communication state control function is determined to have returned by the return determination function, the communication state control function causes the computer to implement processing for setting the communication unit in a communicable state A program for terminal equipment.
移動体が備える無線通信装置との間で、近距離無線通信を実行可能な通信部を備える携帯端末装置の制御方法であって、
自位置の情報である自位置情報を取得する自位置情報取得ステップと、
前記通信部と前記無線通信装置との間の通信リンクの接続状態を監視する接続監視ステップと、
前記通信部が通信可能状態であって、前記接続監視ステップによって前記通信リンクの切断が検出された場合に、当該通信リンクの切断が検出された際の前記自位置情報に示された位置を切断位置情報として記憶部に記憶させる記憶ステップと、
前記通信部の状態を通信可能状態と通信遮断状態とのいずれかに制御する通信状態制御ステップと、
前記接続監視ステップによって前記通信リンクの切断が検出された後、前記自位置情報に示される自位置が、前記切断位置情報に示される位置から予め定められた第一判定距離以上離れた後、前記第一判定距離以下に設定された第二判定距離未満に近づいた場合、及び、前記自位置情報に示される自位置が、前記切断位置情報に示される位置から前記第二判定距離以上離れた状態で、予め定められた時間が経過し、その後に前記第二判定距離未満に近づいた場合、の両方の場合に、復帰したと判定する復帰判定ステップと、を備え、
前記通信状態制御ステップは、前記復帰判定ステップにより復帰したと判定された際に前記通信部が通信遮断状態であった場合には、前記通信部を通信可能状態とする携帯端末装置の制御方法。
A method for controlling a portable terminal device including a communication unit capable of performing short-range wireless communication with a wireless communication device included in a mobile body,
Own position information acquisition step for acquiring own position information which is information of the own position;
A connection monitoring step of monitoring a connection state of a communication link between the communication unit and the wireless communication device;
When the communication unit is in a communicable state and disconnection of the communication link is detected by the connection monitoring step, the position indicated in the own position information when the disconnection of the communication link is detected is disconnected. A storage step for storing the position information in the storage unit;
A communication state control step for controlling the state of the communication unit to either a communicable state or a communication cut-off state;
After the disconnection of the communication link is detected by the connection monitoring step, the own position indicated by the own position information is separated from the position indicated by the disconnect position information by a predetermined first determination distance, When approaching less than the second determination distance set to be equal to or less than the first determination distance , and the own position indicated in the own position information is more than the second determination distance from the position indicated in the cutting position information In a case where a predetermined time elapses and then approaches the second determination distance, the return determination step for determining that the recovery has been performed in both cases , and
The communication state control step is a method for controlling a portable terminal device, wherein when the communication unit is in a communication cut-off state when it is determined by the return determination step, the communication unit is in a communicable state.
JP2013031389A 2013-02-20 2013-02-20 Portable terminal device, program for portable terminal device, and control method for portable terminal device Active JP5910534B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013031389A JP5910534B2 (en) 2013-02-20 2013-02-20 Portable terminal device, program for portable terminal device, and control method for portable terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013031389A JP5910534B2 (en) 2013-02-20 2013-02-20 Portable terminal device, program for portable terminal device, and control method for portable terminal device

Publications (2)

Publication Number Publication Date
JP2014160984A JP2014160984A (en) 2014-09-04
JP5910534B2 true JP5910534B2 (en) 2016-04-27

Family

ID=51612384

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013031389A Active JP5910534B2 (en) 2013-02-20 2013-02-20 Portable terminal device, program for portable terminal device, and control method for portable terminal device

Country Status (1)

Country Link
JP (1) JP5910534B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006287644A (en) * 2005-03-31 2006-10-19 Toshiba Corp Portable terminal
JP2007336311A (en) * 2006-06-16 2007-12-27 Hitachi Ltd Communication apparatus
JP5097786B2 (en) * 2010-02-05 2012-12-12 本田技研工業株式会社 Wireless communication system
JP2011193296A (en) * 2010-03-15 2011-09-29 Jvc Kenwood Holdings Inc Terminal, program, and power supply control method

Also Published As

Publication number Publication date
JP2014160984A (en) 2014-09-04

Similar Documents

Publication Publication Date Title
JP4331233B2 (en) Wireless communication device
JP4656445B2 (en) Communication terminal device and program
US10827296B2 (en) Switching rendering mode based on location data
US20140162701A1 (en) Mobile device location finder
US20120244814A1 (en) Handsfree apparatus
US20150109983A1 (en) Control Method and Apparatus for Wireless Fidelity Device in Terminal, and Terminal
JP6433641B2 (en) Information display device and information display method
JP6024366B2 (en) Information processing apparatus and processing method
US20170108346A1 (en) Method and navigation device for providing geo-fence services, and computer-readable medium storing program for executing the same
JP5966718B2 (en) Near field communication system and near field communication terminal
US20130268139A1 (en) Vehicular remote start system
CN105120430A (en) Terminal positioning method, device and terminal
CN104618854A (en) Method, terminal and server for sharing location information
US20160124882A1 (en) Electronic Device, System, and Operation-Mode Selection Program
CN106993264B (en) Navigation device and method
KR101554139B1 (en) pickup service providing system, terminal unit and information providing apparatus for providing pickup service, and pickup service providing method
CN107270927B (en) Information display method and device, computer readable storage medium and mobile terminal
KR20140088484A (en) Method for controlling wireless communication and an electronic device thereof
JP2009088611A (en) In-vehicle device
WO2018034265A1 (en) Navigation system and computer program
JP2002290308A (en) Mobile telephone
JP5910534B2 (en) Portable terminal device, program for portable terminal device, and control method for portable terminal device
JP5637918B2 (en) Portable information terminal and hands-free system using the same
JP2019022013A (en) Route search device and route search method
JP2017199992A (en) Portable terminal, control method and program of portable terminal

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150320

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151215

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160208

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: 20160301

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160314

R150 Certificate of patent or registration of utility model

Ref document number: 5910534

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150