JP6150626B2 - Portable terminal device, abnormality detection method, and abnormality detection program - Google Patents

Portable terminal device, abnormality detection method, and abnormality detection program Download PDF

Info

Publication number
JP6150626B2
JP6150626B2 JP2013124793A JP2013124793A JP6150626B2 JP 6150626 B2 JP6150626 B2 JP 6150626B2 JP 2013124793 A JP2013124793 A JP 2013124793A JP 2013124793 A JP2013124793 A JP 2013124793A JP 6150626 B2 JP6150626 B2 JP 6150626B2
Authority
JP
Japan
Prior art keywords
detection unit
terminal device
object detection
proximity sensor
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2013124793A
Other languages
Japanese (ja)
Other versions
JP2014200057A (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.)
KDDI Corp
Original Assignee
KDDI Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by KDDI Corp filed Critical KDDI Corp
Priority to JP2013124793A priority Critical patent/JP6150626B2/en
Publication of JP2014200057A publication Critical patent/JP2014200057A/en
Application granted granted Critical
Publication of JP6150626B2 publication Critical patent/JP6150626B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Description

本発明は、携帯端末装置、異常検出方法及び異常検出プログラムに関する。   The present invention relates to a mobile terminal device, an abnormality detection method, and an abnormality detection program.

赤外線型の近接センサとタッチスクリーン(画面)を備えるスマートフォンが普及している。スマートフォンにおける通話のアプリケーション(通話アプリ)は、通話中に近接センサがふさがれると、「会話中」と判定(判別)して、画面をオフする(例えば、暗転にする)などのように、省電力制御等を行う。   Smartphones equipped with an infrared proximity sensor and a touch screen (screen) have become widespread. When a proximity application is blocked during a call, a call application on a smartphone (call application) is determined (determined) as “conversation” and the screen is turned off (for example, darkened). Perform power control.

ところが、スマートフォンでは、近接センサの場所は外見上大変わかりづらく、ユーザが液晶保護フィルム(画面保護シートなどとも言う)や画面をふさぐシール等を誤って近接センサ上に貼り付けてしまうことがある。この場合、スマートフォンにおける通話アプリは頻繁に「会話中」と誤って判定(誤判定)してしまい、ユーザが一時的に画面から顔を離してブラウザの情報やメールの情報などを確認しようとしても、画面がオフであり(例えば、暗転しており)確認することができない。
この結果、ユーザは、スマートフォンが故障したと勘違いして、サービスセンターに申告する。携帯電話キャリアの事業者やスマートフォンベンダにとっては、このような故障対応の費用がかさむために問題となっている。
However, in a smartphone, the location of the proximity sensor is very difficult to see in appearance, and the user may accidentally attach a liquid crystal protective film (also referred to as a screen protective sheet) or a seal that covers the screen to the proximity sensor. In this case, the call application on the smartphone frequently mistakenly determines that the conversation is in progress (incorrect determination), and even if the user temporarily removes his / her face from the screen to check browser information or email information, etc. , The screen is off (for example, it is dark) and cannot be confirmed.
As a result, the user misunderstands that the smartphone has failed and reports it to the service center. This is a problem for mobile phone carrier operators and smartphone vendors because of the high cost of handling such failures.

なお、従来技術の一例として、遊技機の近接センサから一定距離内の異常物体を、センサの検出結果から除外する技術が検討されていた(特許文献1参照。)。   As an example of the prior art, a technique for excluding abnormal objects within a certain distance from a proximity sensor of a gaming machine from the detection result of the sensor has been studied (see Patent Document 1).

特開2010−172587号公報JP 2010-172587 A

上述のように、スマートフォンでは、液晶保護フィルム等が誤って近接センサ上に貼り付けられてしまうと、誤動作する可能性があるという問題があった。   As described above, in a smartphone, there is a problem in that a malfunction may occur if a liquid crystal protective film or the like is erroneously attached to the proximity sensor.

本発明は、このような事情を考慮してなされたもので、液晶保護フィルムなどが近接センサなどの上に存在する状態を検出することができる携帯端末装置、異常検出方法及び異常検出プログラムを提供することを課題とする。   The present invention has been made in view of such circumstances, and provides a portable terminal device, an abnormality detection method, and an abnormality detection program capable of detecting a state in which a liquid crystal protective film or the like is present on a proximity sensor or the like. The task is to do.

(1)上記の課題を解決するために、本発明に係る携帯端末装置は、物体との間の距離に応じた値を検出する物体検出部と、前記物体検出部により検出された複数の値に基づいて、前記物体検出部により検出可能な位置に異常な物体が存在するか否かを判定する制御部と、を備える。   (1) In order to solve the above-described problem, a mobile terminal device according to the present invention includes an object detection unit that detects a value according to a distance from an object, and a plurality of values detected by the object detection unit. And a control unit that determines whether or not there is an abnormal object at a position that can be detected by the object detection unit.

(2)本発明は、上記した(1)に記載の装置において、前記物体検出部は、予め定められた時間間隔で、前記検出を行う。
(3)本発明は、上記した(1)に記載の装置において、前記物体検出部は、予め定められた時間帯、或いは、画面がオンであるときのうちの一方又は両方が満たされるときに、前記検出を行う。
(2) In the apparatus according to (1), the object detection unit performs the detection at a predetermined time interval.
(3) According to the present invention, in the apparatus described in (1) above, the object detection unit is configured to satisfy a predetermined time zone or one or both of when the screen is on. The detection is performed.

(4)本発明は、上記した(1)から上記した(3)のいずれか1つに記載の携帯端末装置において、前記制御部は、前記物体検出部により検出された複数の値に基づいて、物体との間の距離が所定の閾値より近いことを示す値が、所定の度合い以上である場合に、前記物体検出部により検出可能な位置に異常な物体が存在すると判定する。
(5)本発明は、上記した(1)から上記した(3)のいずれか1つに記載の携帯端末装置において、前記制御部は、前記物体検出部により検出された複数の値に基づいて、通話時に、物体との間の距離が所定の閾値より遠いことを示す値であり、その後、物体との間の距離が所定の閾値より近いことを示す値であり、その後、再び、物体との間の距離が所定の閾値より遠いことを示す値である、ことが満たされない場合に、前記物体検出部により検出可能な位置に異常な物体が存在すると判定する。
(4) The present invention provides the mobile terminal device according to any one of (1) to (3) described above, wherein the control unit is based on a plurality of values detected by the object detection unit. When the value indicating that the distance to the object is closer than a predetermined threshold is a predetermined degree or more, it is determined that an abnormal object exists at a position detectable by the object detection unit.
(5) The present invention provides the mobile terminal device according to any one of (1) to (3) described above, wherein the control unit is based on a plurality of values detected by the object detection unit. , A value indicating that the distance to the object is greater than a predetermined threshold at the time of a call, and then a value indicating that the distance to the object is closer than the predetermined threshold, and then again to the object and When it is not satisfied that the distance between is a value indicating that the distance between the two is greater than a predetermined threshold, it is determined that an abnormal object exists at a position detectable by the object detection unit.

(6)本発明は、上記した(1)に記載の携帯端末装置において、前記制御部は、所定回分の通話に関して、前記物体検出部により検出された値に基づいて、前記物体との間の距離に応じた値に変化がなかったと判定した場合に、前記物体検出部により検出可能な位置に異常な物体が存在すると判定する。
(7)本発明は、上記した(6)に記載の携帯端末装置において、前記所定回分の通話は、直近の、且つ、診断対象として有効な、且つ、着信時に受話した通話である。
(6) According to the present invention, in the mobile terminal device according to (1) described above, the control unit is connected to the object based on a value detected by the object detection unit with respect to a predetermined number of calls. When it is determined that there is no change in the value corresponding to the distance, it is determined that an abnormal object exists at a position that can be detected by the object detection unit.
(7) According to the present invention, in the mobile terminal device according to (6) described above, the predetermined number of calls is a call that has been received most recently and is effective as a diagnosis target, and received when an incoming call is received.

(8)本発明は、上記した(1)から上記した(7)のいずれか1つに記載の携帯端末装置において、前記制御部は、前記物体検出部により検出可能な位置に異常な物体が存在すると判定した場合に、その旨を示す情報を画面に表示する。   (8) In the mobile terminal device according to any one of (1) to (7), the control unit may detect an abnormal object at a position that can be detected by the object detection unit. When it is determined that it exists, information indicating that fact is displayed on the screen.

(9)上記の課題を解決するために、本発明に係る異常検出方法は、携帯端末装置に備えられた物体検出部が、物体との間の距離に応じた値を検出し、前記携帯端末装置に備えられた制御部が、前記物体検出部により検出された複数の値に基づいて、前記物体検出部により検出可能な位置に異常な物体が存在するか否かの情報を提供する。
(10)上記の課題を解決するために、本発明に係る異常検出プログラムは、携帯端末装置に備えられた物体検出部が、物体との間の距離に応じた値を検出するステップと、前記携帯端末装置に備えられた制御部が、前記物体検出部により検出された複数の値に基づいて、前記物体検出部により検出可能な位置に異常な物体が存在するか否かを判定するステップと、をコンピュータに実行させるためのプログラムである。
(9) In order to solve the above-described problem, in the abnormality detection method according to the present invention, the object detection unit provided in the mobile terminal device detects a value corresponding to the distance to the object, and the mobile terminal A control unit provided in the apparatus provides information on whether or not an abnormal object exists at a position detectable by the object detection unit based on a plurality of values detected by the object detection unit.
(10) In order to solve the above-described problem, an abnormality detection program according to the present invention includes a step in which an object detection unit provided in a mobile terminal device detects a value according to a distance from an object; A step of determining whether or not an abnormal object exists at a position detectable by the object detection unit based on a plurality of values detected by the object detection unit; , Is a program for causing a computer to execute.

本発明によれば、スマートフォンなどの携帯端末装置において、液晶保護フィルムなどが近接センサなどの上に存在する状態を検出することができる。   ADVANTAGE OF THE INVENTION According to this invention, in portable terminal devices, such as a smart phone, the state in which a liquid-crystal protective film etc. exist on a proximity sensor etc. is detectable.

本発明の一実施形態に係る携帯端末装置の概略的な構成を示すブロック図である。It is a block diagram which shows the schematic structure of the portable terminal device which concerns on one Embodiment of this invention. 第1実施形態に係る携帯端末装置において行われる、物体検出部の近接センサに関する異常診断処理の手順の一例を示すフローチャート図である。It is a flowchart figure which shows an example of the procedure of the abnormality diagnosis process regarding the proximity sensor of an object detection part performed in the portable terminal device which concerns on 1st Embodiment. 本発明の一実施形態に係る携帯端末装置の画面(診断開始時)の表示の例を示す図である。It is a figure which shows the example of a display of the screen (at the time of a diagnosis start) of the portable terminal device which concerns on one Embodiment of this invention. 本発明の一実施形態に係る携帯端末装置の画面(診断中)の表示の例を示す図である。It is a figure which shows the example of a display of the screen (during diagnosis) of the portable terminal device which concerns on one Embodiment of this invention. 本発明の一実施形態に係る携帯端末装置の画面(診断完了:異常あり)の表示の例を示す図である。It is a figure which shows the example of a display of the screen (diagnosis completion: abnormality exists) of the portable terminal device which concerns on one Embodiment of this invention. 本発明の一実施形態に係る携帯端末装置の画面(診断完了:異常無し)の表示の例を示す図である。It is a figure which shows the example of a display of the screen (diagnosis completion: no abnormality) of the portable terminal device which concerns on one Embodiment of this invention. 第3実施形態に係る携帯端末装置における、近接センサによる監視の開始から終了までのタイミングの一例を示すタイミングチャート図である。It is a timing chart figure which shows an example of the timing from the start of the monitoring by a proximity sensor to an end in the portable terminal device concerning a 3rd embodiment. 第3実施形態に係る携帯端末装置において行われる、物体検出部の近接センサに関する異常診断処理の手順の一例を示すフローチャート図である。It is a flowchart figure which shows an example of the procedure of the abnormality diagnosis process regarding the proximity sensor of an object detection part performed in the portable terminal device which concerns on 3rd Embodiment.

以下、図面を参照し、本発明の実施形態について説明する。
[第1実施形態〜第2実施形態の説明]
以下で、[第1実施形態]〜[第2実施形態]について説明する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[Description of First Embodiment to Second Embodiment]
Hereinafter, [First Embodiment] to [Second Embodiment] will be described.

[本実施形態に係る携帯端末装置の概要]
<本実施形態に係る携帯端末装置の構成>
図1は、本発明の一実施形態に係る携帯端末装置1の概略的な構成を示すブロック図である。
本実施形態に係る携帯端末装置1は、一例として、スマートフォンである。なお、携帯端末装置1として、他の様々なものが用いられてもよく、例えば、タブレット型の端末装置などを用いることもできる。
本実施形態に係る携帯端末装置1は、通信部11と、物体検出部12と、操作部13と、表示部14と、記憶部15と、制御部16を備える。
[Outline of portable terminal device according to the present embodiment]
<Configuration of portable terminal device according to this embodiment>
FIG. 1 is a block diagram showing a schematic configuration of a mobile terminal device 1 according to an embodiment of the present invention.
The mobile terminal device 1 according to the present embodiment is a smartphone as an example. Various other devices may be used as the mobile terminal device 1, and for example, a tablet-type terminal device may be used.
The mobile terminal device 1 according to the present embodiment includes a communication unit 11, an object detection unit 12, an operation unit 13, a display unit 14, a storage unit 15, and a control unit 16.

通信部11は、外部の装置と無線で通信する機能や、外部の装置と有線で通信する機能を有する。通信部11は、例えば、外部の基地局装置などとの間で無線で通信し、また、外部の記憶媒体やコンピュータなどとの間で有線で通信する。
物体検出部12は、本実施形態では、赤外線型の近接センサを用いて構成されている。本実施形態に係る近接センサは、携帯端末装置1の上部に設けられており、携帯端末装置1の前面の垂直方向に赤外線を放射し、その赤外線が物体に当たって反射されて戻ってきた反射波を検出することで、当該物体との間の距離を検出する。なお、物体検出部12としては、他の様々なものが用いられてもよい。
The communication unit 11 has a function of communicating with an external device wirelessly and a function of communicating with an external device by wire. For example, the communication unit 11 communicates wirelessly with an external base station device or the like, and communicates with an external storage medium or a computer by wire.
In this embodiment, the object detection unit 12 is configured using an infrared proximity sensor. The proximity sensor according to the present embodiment is provided in the upper part of the mobile terminal device 1 and radiates infrared rays in the vertical direction of the front surface of the mobile terminal device 1, and reflects the reflected waves that are reflected back when they hit the object. By detecting, the distance between the object is detected. Various other types of object detection unit 12 may be used.

操作部13は、本実施形態では、タッチスクリーン(画面)を用いて構成されており、ユーザにより行われる操作の内容を受け付ける。なお、操作部13としては、他の様々なものが用いられてもよく、例えば、キーやマウスなどを用いることもできる。
表示部14は、本実施形態では、タッチスクリーン(画面)を用いて構成されており、各種の情報を画面に表示する。なお、表示部14としては、他の様々なものが用いられてもよく、例えば、操作部13とは別体の画面を用いることもできる。
In the present embodiment, the operation unit 13 is configured using a touch screen (screen), and receives the content of an operation performed by the user. Various other units may be used as the operation unit 13, and for example, a key, a mouse, or the like may be used.
In the present embodiment, the display unit 14 is configured using a touch screen (screen), and displays various types of information on the screen. Various other display units 14 may be used. For example, a screen separate from the operation unit 13 may be used.

記憶部15は、各種の情報(データ)を記憶する。記憶部15は、例えば、制御部16により使用されるプログラムの情報を記憶する。また、記憶部15は、例えば、物体検出部12により行われた検出の結果の情報を記憶する。ここで、記憶部15としては、例えば、携帯端末装置1の内部のメモリが用いられてもよく、或いは、携帯端末装置1の外部のメモリが用いられてもよい。また、メモリとしては、例えば、不揮発性メモリが用いられ、一例として、SDカード(二次記憶装置)を用いることができる。
制御部16は、携帯端末装置1における各種の処理や制御を実行する。制御部16は、例えば、CPU(Central Processing Unit)などを用いて構成されており、記憶部15に記憶されたプログラムの情報を読み込んで各種の処理や制御を実行する。
The storage unit 15 stores various information (data). The storage unit 15 stores, for example, program information used by the control unit 16. Further, the storage unit 15 stores information on the result of detection performed by the object detection unit 12, for example. Here, as the storage unit 15, for example, a memory inside the mobile terminal device 1 may be used, or a memory outside the mobile terminal device 1 may be used. As the memory, for example, a non-volatile memory is used. As an example, an SD card (secondary storage device) can be used.
The control unit 16 executes various processes and controls in the mobile terminal device 1. The control unit 16 is configured using, for example, a CPU (Central Processing Unit) or the like, and reads information on a program stored in the storage unit 15 and executes various processes and controls.

<物体検出部に関して正常時における概略的な動作>
物体検出部12は、近接センサからの赤外線の放射方向に存在する物体との間の距離に応じた値(例えば、物体との間の距離が近いか或いは遠いかを示す値であり、更に、距離を示す値であってもよい)を制御部16へ出力する。本実施形態では、物体検出部12は、物体との間の距離が小さいほど大きい値を出力し、近接センサの検出結果に応じて0から255の値(本実施形態では、整数値)を出力する。一例として、物体検出部12は、物体との間の距離が0cmであるときに255の値を出力し、物体との間の距離が5cm以上であるときに0の値を出力し、物体との間の距離が0cmから5cmの間であるときにその距離に応じて255と0との間の値を出力する。また、物体検出部12は、例えば、予め定められた一定の時間毎に、物体との間の距離に応じた値を出力する。このような物体検出部12は、近接センサの前にユーザの顔がある場合(例えば、通話状態である場合)には255又はそれに近い値を連続して出力し、一方、携帯端末装置1が上方に向けられて机の上に放置されているような場合にはほぼ0を連続して出力する。
なお、物体検出部12から出力する値(近接センサの検出値に応じた値)の範囲は、例えば、携帯端末装置1の機種などによって異なり得る。
<Schematic operation of the object detection unit during normal operation>
The object detection unit 12 is a value according to the distance to the object existing in the infrared radiation direction from the proximity sensor (for example, a value indicating whether the distance to the object is near or far, (Which may be a value indicating a distance) is output to the control unit 16. In the present embodiment, the object detection unit 12 outputs a larger value as the distance to the object is smaller, and outputs a value from 0 to 255 (an integer value in the present embodiment) according to the detection result of the proximity sensor. To do. As an example, the object detection unit 12 outputs a value of 255 when the distance to the object is 0 cm, and outputs a value of 0 when the distance to the object is 5 cm or more. When the distance between is between 0 cm and 5 cm, a value between 255 and 0 is output according to the distance. Moreover, the object detection part 12 outputs the value according to the distance between objects, for example for every predetermined fixed time. Such an object detection unit 12 continuously outputs 255 or a value close thereto when the user's face is in front of the proximity sensor (for example, in a call state), while the mobile terminal device 1 When it is directed upward and left on the desk, it outputs almost zero continuously.
In addition, the range of the value output from the object detection unit 12 (value corresponding to the detection value of the proximity sensor) may be different depending on, for example, the model of the mobile terminal device 1.

通常利用時(正常時)における物体検出部12からの出力値(近接センサの検出値に応じた値)について説明する。
ユーザ(ここでは、電話の利用者)が携帯端末装置1を使用して電話で会話する場合における動作の過程の例として、(正常時の動作過程1)〜(正常時の動作過程4)を示す。
An output value from the object detection unit 12 during normal use (normal time) (a value corresponding to the detection value of the proximity sensor) will be described.
As an example of an operation process when a user (here, a user of a telephone) talks on the telephone using the mobile terminal device 1, (normal operation process 1) to (normal operation process 4). Show.

(正常時の動作過程1:放置時の状態)
まず、ユーザが電話を使用する前において、携帯端末装置1は、その近接センサの前面の近くに物体が存在せず、放置された状態であるとする。このとき、物体検出部12は、定常的に0又はそれに近い値を出力し、例えば、近接センサの前方の近くを人などの物体(障害物)が通過すると、それを検知してスパイク的に(急に)200以上の値を出力する。
(Normal operation process 1: State when left unattended)
First, before the user uses the telephone, the portable terminal device 1 is assumed to be left without an object near the front surface of the proximity sensor. At this time, the object detection unit 12 constantly outputs 0 or a value close thereto. For example, when an object (obstacle) such as a person passes near the front of the proximity sensor, it is detected and spiked. A value of 200 or more is output (suddenly).

(正常時の動作過程2:通話開始時の状態)
ユーザが、電話を使用するために、携帯端末装置1を手に持って、操作部13を操作して通話アプリを起動させて電話番号を指定し、携帯端末装置1の画面に顔を接する。携帯端末装置1では、通話アプリが起動されて、通話が開始される。このとき、ユーザの顔により近接センサの前面がふさがれ、物体検出部12は、ほぼ連続して200以上の値を出力する。
(Normal operation process 2: State at the start of a call)
In order to use the phone, the user holds the mobile terminal device 1 in his / her hand, operates the operation unit 13 to activate the call application, designates the phone number, and touches the screen of the mobile terminal device 1. In the mobile terminal device 1, the call application is activated and the call is started. At this time, the front face of the proximity sensor is blocked by the user's face, and the object detection unit 12 outputs a value of 200 or more almost continuously.

(正常時の動作過程3:一時的な通話中断時の状態)
ユーザが、電話で通話中に一時的に、携帯端末装置1の画面から顔を離して、ブラウザの情報やメールの情報を閲覧して確認などするとする。このとき、ユーザの顔は近接センサの前面から離れ、物体検出部12は、定常的に0の値を出力する。
(Normal operation process 3: Temporary call interruption state)
It is assumed that the user temporarily removes his / her face from the screen of the mobile terminal device 1 and browses and confirms browser information and mail information during a telephone call. At this time, the user's face is separated from the front surface of the proximity sensor, and the object detection unit 12 constantly outputs a value of 0.

(正常時の動作過程4:通話再開時の状態)
ユーザが、電話の通話を再開するために、再び携帯端末装置1の画面に顔を接する。このとき、再びユーザの顔により近接センサの前面がふさがれ、物体検出部12は、ほぼ連続して200以上の値を出力する。
(Normal operation process 4: State when the call resumes)
The user again touches the screen of the mobile terminal device 1 to resume the telephone call. At this time, the front face of the proximity sensor is again blocked by the user's face, and the object detection unit 12 outputs a value of 200 or more almost continuously.

ここで、本実施形態に係る携帯端末装置1では、制御部16は、物体検出部12から出力される値が所定の閾値(例えば、一定の閾値)Thを超える状態が所定の時間(例えば、数秒など)又は所定の回数連続した場合には、近接センサに対する反応がある(ここでは、通話のためにユーザの顔が携帯端末装置1の画面に接している)と判定して、画面をオフへ切り替えること、或いは、キーの操作(キーイベントの受け付け)を無効にすること、のうちの一方又は両方を実行する。
その後、制御部16は、物体検出部12から出力される値が所定の閾値(例えば、一定の閾値)Th以下となる状態が所定の時間(例えば、数100ミリ秒など)又は所定の回数連続した場合には、近接センサに対する反応が途絶えた(ここでは、ユーザの顔が携帯端末装置1の画面から離れた)と判定して、オフへ切り替えられた画面を再びオンへ切り替えること、或いは、無効にされたキーの操作(キーイベントの受け付け)を再び有効にすること、のうちの一方又は両方を実行する。これにより、省電力処理を行うことができる。
Here, in the mobile terminal device 1 according to the present embodiment, the control unit 16 determines that the value output from the object detection unit 12 exceeds a predetermined threshold (for example, a constant threshold) Th for a predetermined time (for example, For several seconds) or when it has continued for a predetermined number of times, it is determined that there is a response to the proximity sensor (here, the user's face is in contact with the screen of the mobile terminal device 1 for a call) and the screen is turned off. One or both of switching to, or disabling key operations (accepting key events).
Thereafter, the control unit 16 continues for a predetermined time (for example, several hundred milliseconds) or a predetermined number of times that the value output from the object detection unit 12 is equal to or less than a predetermined threshold (for example, a certain threshold) Th. In such a case, it is determined that the response to the proximity sensor has ceased (here, the user's face has moved away from the screen of the mobile terminal device 1), and the screen that has been switched off is switched on again, or Perform one or both of re-enabling disabled key operations (accepting key events). Thereby, a power saving process can be performed.

一例として、前記した所定の閾値Thを200に設定することで、ユーザの顔が携帯端末装置1の画面に接するタイミングや、ユーザの顔が携帯端末装置1の画面から離れるタイミングを判定することができ、これにより、画面のオン/オフの制御や、キー操作の有効/無効の制御などを実行することができる。
なお、物体検出部12から出力する値に関する前記した所定の閾値Thは、例えば、携帯端末装置1の機種などによって適切な値(レベル)が異なり得る。
As an example, by setting the above-described predetermined threshold Th to 200, it is possible to determine when the user's face comes into contact with the screen of the mobile terminal device 1 and when the user's face leaves the screen of the mobile terminal device 1. Thus, on / off control of the screen, valid / invalid control of the key operation, and the like can be executed.
Note that the above-described predetermined threshold Th related to the value output from the object detection unit 12 may have an appropriate value (level) that varies depending on, for example, the model of the mobile terminal device 1.

[第1実施形態]
本実施形態に係る携帯端末装置1において行われる、物体検出部12の近接センサに関する異常診断処理について説明する。
図2は、本実施形態に係る携帯端末装置1において行われる、物体検出部12の近接センサに関する異常診断処理の手順の一例を示すフローチャート図である。
まず、携帯端末装置1がオフの状態からオンの状態へ起動されると、近接センサに関する異常診断処理のプログラム(異常診断プログラム)が、例えばバックグラウンドサービスとして、起動される。
そして、異常診断プログラムでは、制御部16は、予め定められた時間間隔で(例えば、60分などの一定の時間T毎に)、物体検出部12からの出力値(近接センサの検出値に応じた値)が所定の閾値Thを超えるか否かを監視して判定し、その判定の結果の情報を記憶部15に記憶(記録)する。
[First Embodiment]
An abnormality diagnosis process related to the proximity sensor of the object detection unit 12 performed in the mobile terminal device 1 according to the present embodiment will be described.
FIG. 2 is a flowchart illustrating an example of a procedure of abnormality diagnosis processing relating to the proximity sensor of the object detection unit 12 performed in the mobile terminal device 1 according to the present embodiment.
First, when the mobile terminal device 1 is activated from an off state to an on state, an abnormality diagnosis processing program (abnormality diagnosis program) related to the proximity sensor is activated, for example, as a background service.
In the abnormality diagnosis program, the control unit 16 outputs the output value from the object detection unit 12 (according to the detection value of the proximity sensor) at a predetermined time interval (for example, every fixed time T such as 60 minutes). Is determined by monitoring whether or not the value exceeds a predetermined threshold Th, and information on the result of the determination is stored (recorded) in the storage unit 15.

このように異常診断プログラムが起動させられている状態で、ユーザは、携帯端末装置1を(通常に)使用する。そして、ユーザは、任意のタイミング(又は、予め定められたタイミング)で、異常診断プログラムのGUI(Graphical User Interface)を起動して、近接センサの異常診断を開始するための操作を行う。
すると、異常診断プログラムでは、制御部16は、記憶部15に記憶された前記した判定の結果の情報を参照して、近接センサの検出状態が「直近の過去のM(Mは、1以上の整数)回の判定結果のうちで、N(Nは、0以上M以下の整数)回以上、物体検出部12からの出力値が所定の閾値Thを超えた」状態であるか否かを判定する(ステップS1)。
In this state where the abnormality diagnosis program is activated, the user uses the mobile terminal device 1 (usually). Then, the user activates a GUI (Graphical User Interface) of the abnormality diagnosis program at an arbitrary timing (or a predetermined timing) and performs an operation for starting the abnormality diagnosis of the proximity sensor.
Then, in the abnormality diagnosis program, the control unit 16 refers to the information on the result of the determination stored in the storage unit 15 and the detection state of the proximity sensor is “the most recent past M (M is 1 or more). Among the determination results of (integer) times, it is determined whether or not the output value from the object detection unit 12 exceeds the predetermined threshold value Th (N is an integer of 0 or more and M or less) times or more. (Step S1).

異常診断プログラムでは、制御部16は、近接センサの検出状態が前記した状態であると判定した場合には、例えば対処方法である「液晶保護フィルムをはがしてお使い下さい。」などのメッセージ(結果メッセージ)を表示部14の画面に表示する(ステップS2)。そして、本処理(近接センサの異常診断の処理)を終了する。
一方、異常診断プログラムでは、制御部16は、近接センサの検出状態が前記した状態ではないと判定した場合には、例えば「異常無し」などのメッセージ(結果メッセージ)を表示部14の画面に表示する(ステップS3)。そして、本処理(近接センサの異常診断の処理)を終了する。
In the abnormality diagnosis program, when the control unit 16 determines that the detection state of the proximity sensor is the above-described state, for example, a message such as “Please remove and use the LCD protective film” as a countermeasure (result) Message) is displayed on the screen of the display unit 14 (step S2). Then, this process (proximity sensor abnormality diagnosis process) is terminated.
On the other hand, in the abnormality diagnosis program, when the control unit 16 determines that the detection state of the proximity sensor is not the above-described state, for example, a message (result message) such as “no abnormality” is displayed on the screen of the display unit 14. (Step S3). Then, this process (proximity sensor abnormality diagnosis process) is terminated.

ここで、前記したM回としては、様々な回数が用いられてもよく、例えば、一定の時間T(=60分)毎に判定結果を得る場合に、M=24回(つまり、一日分)や、M=12回(つまり、半日分)などを用いることができる。このM回は、パラメータとして、調整することが可能である。
また、前記したN回としては、様々な回数が用いられてもよく、例えば、M=24回に対して、N=20回などを用いることができ、また、M=12回に対して、N=10回などを用いることができる。このN回は、パラメータとして、調整することが可能である。
Here, various times may be used as the M times described above. For example, when a determination result is obtained every certain time T (= 60 minutes), M = 24 times (that is, one day's worth). ), M = 12 times (that is, half a day), or the like. This M times can be adjusted as a parameter.
Further, various times may be used as the N times, for example, N = 20 times may be used for M = 24 times, and for M = 12 times, N = 10 times or the like can be used. This N times can be adjusted as a parameter.

ここで、本実施形態では、近接センサの検出状態が「直近の過去のM(Mは、1以上の整数)回の判定結果のうちで、N(Nは、0以上M以下の整数)回以上、物体検出部12からの出力値が所定の閾値Thを超えた」状態である場合に異常と判定する構成を示したが、他の構成例として、M回の代わりにm(mは、0より大きい値)時間を用いることや、N回の代わりにn(nは、0以上m以下の値)時間を用いることもできる。なお、このm時間やn時間は、それぞれ、パラメータとして、調整することが可能である。また、例えば、一定の時間間隔で判定を行う場合には、(回数×一定の時間間隔)などの値を時間として用いることができる。
また、本実施形態では、ユーザにより行われる所定の操作に応じて、近接センサの異常診断の処理が実行される構成を示したが、他の構成例として、携帯端末装置1において、異常診断プログラムなどに予め設定された条件が満たされたと判定したことに応じて、装置により自動的に、近接センサの異常診断の処理が実行される構成を用いることもできる。
Here, in the present embodiment, the detection state of the proximity sensor is “N (N is an integer greater than or equal to 0 and less than or equal to M)” among the most recent determination results of M (M is an integer greater than or equal to 1) times. As described above, the configuration in which an abnormality is determined when the output value from the object detection unit 12 exceeds the predetermined threshold Th has been described. However, as another configuration example, m (m is Time (value greater than 0), or n (n is a value greater than or equal to 0 and less than or equal to m) can be used instead of N times. The m time and n time can be adjusted as parameters. Further, for example, when the determination is performed at a constant time interval, a value such as (number of times × constant time interval) can be used as the time.
Moreover, in this embodiment, although the structure which performs the process of the abnormality diagnosis of a proximity sensor according to the predetermined operation performed by the user was shown, in the portable terminal device 1, in the portable terminal device 1, an abnormality diagnosis program is shown. For example, a configuration in which an abnormality diagnosis process of the proximity sensor is automatically executed by the apparatus when it is determined that a preset condition is satisfied.

このように、携帯端末装置1において、近接センサの検出値に応じた値の情報を記憶しておき、ユーザにより指示されたタイミング或いは一定の期間毎のタイミングなどで、記憶された情報に基づいて、異常の有無を検査することができる。
具体的には、近接センサの面上に液晶保護フィルムが付着している場合には、物体検出部12からの出力値が、常時、所定の閾値Thを超えるような反応を示し、通話中に一時的に画面からユーザが顔を離しても、画面がオフのまま、或いは、キー操作が無効なまま、となってしまう。そこで、本実施形態では、このような近接センサに関する反応の違いを利用して、異常を検出する構成とした。
本実施形態では、通常利用の通話中のように「物体検出部12からの出力値が、一時的に、所定の閾値Thを超えることが何度かあっても、残りは所定の閾値Th以下であり0に近い」状態と、液晶保護フィルムが不適切に貼り付けられて近接センサがふさがれているときのように「物体検出部12からの出力値が、常時、所定の閾値Thを超えることが継続する」状態とを判定することができ、後者の場合にユーザに液晶保護フィルムの除去を促すことができる。
As described above, in the mobile terminal device 1, information of a value corresponding to the detection value of the proximity sensor is stored, and based on the stored information at a timing instructed by the user or at a certain time interval. Can check for abnormalities.
Specifically, when a liquid crystal protective film is attached to the surface of the proximity sensor, the output value from the object detection unit 12 always shows a reaction that exceeds a predetermined threshold Th, and during a call Even if the user temporarily removes his / her face from the screen, the screen remains off or the key operation remains invalid. Therefore, in the present embodiment, a configuration is used in which an abnormality is detected by utilizing such a difference in response regarding the proximity sensor.
In the present embodiment, “when the output value from the object detection unit 12 temporarily exceeds a predetermined threshold Th several times, the remaining is equal to or lower than the predetermined threshold Th as during a normal call. "The output value from the object detection unit 12 always exceeds a predetermined threshold Th, as in the case where the liquid crystal protective film is improperly applied and the proximity sensor is blocked." In the latter case, the user can be prompted to remove the liquid crystal protective film.

図3〜図6を参照して、本発明の一実施形態に係る携帯端末装置1の画面の表示の例を示す。この例では、携帯端末装置1がスマートフォンであるとする。また、この例では、異常診断プログラムでは、近接センサの異常診断以外についても、幾つかの項目(本実施形態では、特に関係ないため、省略する)について異常診断を実行する機能を有するとする。   With reference to FIGS. 3-6, the example of the display of the screen of the portable terminal device 1 which concerns on one Embodiment of this invention is shown. In this example, it is assumed that the mobile terminal device 1 is a smartphone. In this example, it is assumed that the abnormality diagnosis program has a function of executing abnormality diagnosis for some items (in this embodiment, omitted because it is not particularly relevant) other than the proximity sensor abnormality diagnosis.

図3は、診断開始時における画面101の表示の例を示す図である。
この画面101では、携帯端末装置1の制御部16が、ユーザの操作により又は自動的に、「スマートフォン異常診断プログラム」というタイトルの画面情報を表示部14の画面に表示する。この画面情報には、「センサ付近の異物」という項目が含まれており、この項目が近接センサの異常診断に相当する。
ユーザが「センサ付近の異物」という項目を指定(選択)する操作を行うと、携帯端末装置1の制御部16が、近接センサの異常診断の処理を開始する。
図4は、診断中における画面102の表示の例を示す図である。
この画面102では、図3に示される画面情報に加えて、携帯端末装置1の制御部16が、近接センサの異常診断の処理を実行していることを示す「<診断中>」という情報を表示部14の画面に表示する。
FIG. 3 is a diagram illustrating an example of display on the screen 101 at the start of diagnosis.
On this screen 101, the control unit 16 of the mobile terminal device 1 displays screen information titled “smartphone abnormality diagnosis program” on the screen of the display unit 14 by a user operation or automatically. This screen information includes an item “foreign matter near the sensor”, and this item corresponds to an abnormality diagnosis of the proximity sensor.
When the user performs an operation of designating (selecting) the item “foreign matter in the vicinity of the sensor”, the control unit 16 of the mobile terminal device 1 starts an abnormality diagnosis process for the proximity sensor.
FIG. 4 is a diagram illustrating an example of display of the screen 102 during diagnosis.
In this screen 102, in addition to the screen information shown in FIG. 3, information “<Diagnosis>” indicating that the control unit 16 of the mobile terminal device 1 is executing the abnormality diagnosis process of the proximity sensor is displayed. It is displayed on the screen of the display unit 14.

図5は、異常ありの診断完了時における画面103の表示の例を示す図である。
この画面103では、携帯端末装置1の制御部16が、異常があること及び対処方法を示す「<センサ付近の異物>ディスプレイ(タッチパネル)が誤動作する可能性があります。液晶保護フィルムをはがしてお使い下さい。」という情報を表示部14の画面に表示する。
図6は、異常無しの診断完了時における画面104の表示の例を示す図である。
この画面104では、携帯端末装置1の制御部16が、異常が無いことを示す「<センサ付近の異物>異常なし」という情報を表示部14の画面に表示する。
FIG. 5 is a diagram illustrating an example of display on the screen 103 when the diagnosis with abnormality is completed.
On this screen 103, the control unit 16 of the mobile terminal device 1 indicates that there is an abnormality and “<foreign matter near the sensor> display (touch panel) may malfunction. Remove the LCD protective film. "Use it." Is displayed on the screen of the display unit 14.
FIG. 6 is a diagram illustrating an example of display on the screen 104 at the completion of diagnosis without abnormality.
On this screen 104, the control unit 16 of the mobile terminal device 1 displays information “<foreign matter near the sensor> no abnormality” indicating that there is no abnormality on the screen of the display unit 14.

以上のように、本実施形態に係る携帯端末装置1では、赤外線型の近接センサの反応値を用いて、近接センサの面に対する液晶保護フィルムの有無を判定(検出)することができる。例えば、スマートフォンでは、赤外線型の近接センサが一般に用いられており、この近接センサの反応値を利用して、近接センサをふさいでスマートフォン利用に障害をきたす液晶保護フィルムの存在を検出することができる。
これにより、例えば、ユーザがサービスセンターに申告してくる前、またはサービスセンターの誘導により、ユーザ自身で故障診断を行うことができ、誤って近接センサの面上に貼り付けられた液晶保護フィルムを検出させて、ユーザにその除去を促すことができる。
ここで、本実施形態では、近接センサの面をふさぐ物として、液晶保護フィルムを例としたが、他の様々な付着物が検出されてもよい。
このように、本実施形態に係る携帯端末装置1では、液晶保護フィルムなどが近接センサなどの上に存在する状態を検出することができる。
As described above, in the mobile terminal device 1 according to the present embodiment, the presence or absence of the liquid crystal protective film with respect to the surface of the proximity sensor can be determined (detected) using the reaction value of the infrared proximity sensor. For example, an infrared proximity sensor is generally used in smartphones, and the presence of a liquid crystal protective film that obstructs smartphone use can be detected by blocking the proximity sensor using the response value of the proximity sensor. .
Thereby, for example, before the user reports to the service center, or by the guidance of the service center, the user can make a fault diagnosis by himself, and the liquid crystal protective film that is erroneously pasted on the surface of the proximity sensor is attached. It can be detected and the user can be prompted to remove it.
Here, in the present embodiment, the liquid crystal protective film is taken as an example of the object that covers the surface of the proximity sensor, but various other attached substances may be detected.
Thus, in the portable terminal device 1 according to the present embodiment, it is possible to detect a state in which a liquid crystal protective film or the like is present on a proximity sensor or the like.

[第2実施形態]
本実施形態に係る携帯端末装置1において行われる、物体検出部12の近接センサに関する異常診断処理について説明する。なお、本実施形態では、主に、第1実施形態とは異なる構成について詳しく説明し、同様な構成については詳しい説明を省略する。
本実施形態に係る携帯端末装置1では、制御部16は、近接センサの異常診断の処理として、<近接センサの異常診断における時間制御処理>と<近接センサの異常診断における通話制御処理>という2つの処理を実行する。
[Second Embodiment]
An abnormality diagnosis process related to the proximity sensor of the object detection unit 12 performed in the mobile terminal device 1 according to the present embodiment will be described. In the present embodiment, the configuration different from the first embodiment will be mainly described in detail, and detailed description of the same configuration will be omitted.
In the mobile terminal device 1 according to the present embodiment, the control unit 16 performs two processes, <time control processing in proximity sensor abnormality diagnosis> and <call control processing in proximity sensor abnormality diagnosis> as proximity sensor abnormality diagnosis processing. Perform one process.

本実施形態に係る携帯端末装置1では、近接センサの異常診断の処理時において、制御部16は、まず、<近接センサの異常診断における時間制御処理>を開始して実行して、異常(ここでは、異常の疑わしさ)の有無を判定する。そして、制御部16は、これにより異常(ここでは、異常の疑わしさ)を検出した場合にのみ、より確度が高いと考えられる<近接センサの異常診断における通話制御処理>を開始して実行して、異常(ここでは、確定的な異常)の有無を判定する。   In the mobile terminal device 1 according to the present embodiment, during the proximity sensor abnormality diagnosis process, the control unit 16 first starts and executes <time control process in proximity sensor abnormality diagnosis> Then, it is determined whether or not there is a suspicion of abnormality. Then, the control unit 16 starts and executes <call control processing in the proximity sensor abnormality diagnosis>, which is considered to be more accurate only when an abnormality (here, suspected abnormality) is detected. Then, the presence or absence of an abnormality (here, a definite abnormality) is determined.

<近接センサの異常診断における時間制御処理>
近接センサの異常診断における時間制御処理では、携帯端末装置1の制御部16は、表示部14の画面をオンにするイベントが発生したときに、所定の時刻の範囲であるか否かを判定し、所定の時刻の範囲であると判定した場合には、物体検出部12からの出力値(近接センサの検出値に応じた値)が所定の閾値Thを超えるか否かを判定することを開始して実行する(近接センサを用いた判定をオンにする)。そして、制御部16は、表示部14の画面をオフにするイベントが発生するまで、判定結果の情報を記憶部15に記憶する。
一方、携帯端末装置1の制御部16は、表示部14の画面をオンにするイベントが発生したときに、所定の時刻の範囲であるか否かを判定し、所定の時刻の範囲ではないと判定した場合には、物体検出部12からの出力値(近接センサの検出値に応じた値)が所定の閾値Thを超えるか否かを判定することを実行しない(近接センサを用いた判定をオフにする)。
ここで、前記した所定の時刻の範囲としては、様々な時刻の範囲が用いられてもよく、例えば、06時から24時までの範囲(人の活動時間の範囲の一例)などを用いることができる。この所定の時刻の範囲は、パラメータとして、調整することが可能である。
<Time control processing for abnormality diagnosis of proximity sensor>
In the time control process in the abnormality diagnosis of the proximity sensor, the control unit 16 of the mobile terminal device 1 determines whether or not it is within a predetermined time range when an event for turning on the screen of the display unit 14 occurs. When it is determined that the time is within a predetermined time range, it is started to determine whether or not the output value from the object detection unit 12 (a value corresponding to the detection value of the proximity sensor) exceeds a predetermined threshold Th. And execute (turn on determination using a proximity sensor). And the control part 16 memorize | stores the information of a determination result in the memory | storage part 15 until the event which turns off the screen of the display part 14 generate | occur | produces.
On the other hand, when an event for turning on the screen of the display unit 14 occurs, the control unit 16 of the mobile terminal device 1 determines whether or not it is within a predetermined time range, and is not within the predetermined time range. When the determination is made, it is not performed whether or not the output value from the object detection unit 12 (a value corresponding to the detection value of the proximity sensor) exceeds a predetermined threshold Th (determination using the proximity sensor is performed). Turn off).
Here, as the predetermined time range, various time ranges may be used. For example, a range from 06 o'clock to 24 o'clock (an example of a range of human activity time) may be used. it can. This predetermined time range can be adjusted as a parameter.

また、近接センサの異常診断における時間制御処理では、携帯端末装置1の制御部16は、表示部14の画面をオフにするイベントが発生したときには、物体検出部12からの出力値(近接センサの検出値に応じた値)が所定の閾値Thを超えるか否かを判定することを停止する(近接センサを用いた判定をオフにする)。
なお、例えば、近接センサの異常診断における時間制御処理では、携帯端末装置1の制御部16は、所定の時刻の範囲ではなくなったときには、物体検出部12からの出力値(近接センサの検出値に応じた値)が所定の閾値Thを超えるか否かを判定することを停止する(近接センサを用いた判定をオフにする)構成を用いることもできる。
In the time control process in the abnormality diagnosis of the proximity sensor, the control unit 16 of the mobile terminal device 1 outputs the output value (the proximity sensor of the proximity sensor) from the object detection unit 12 when an event for turning off the screen of the display unit 14 occurs. Stops determining whether or not (a value corresponding to the detected value) exceeds a predetermined threshold Th (turns off determination using a proximity sensor).
For example, in the time control process in the abnormality diagnosis of the proximity sensor, when the control unit 16 of the mobile terminal device 1 is out of the predetermined time range, the output value from the object detection unit 12 (the detection value of the proximity sensor) It is also possible to use a configuration in which it is stopped to determine whether or not (a value corresponding to the value) exceeds a predetermined threshold Th (turning off determination using the proximity sensor).

ユーザの操作に応じて又は自動的に、近接センサの異常診断が開始されると、異常診断プログラムでは、制御部16は、記憶部15に記憶された前記した判定の結果の情報を参照して、近接センサの検出状態が「過去の24時間内におけるM(Mは、1以上の整数)回の判定結果のうちで、N(Nは、0以上M以下の整数)回以上、物体検出部12からの出力値が所定の閾値Thを超えた」状態であるか否かを判定する。そして、制御部16は、近接センサの検出状態が前記した状態であると判定した場合には、異常(ここでは、異常の疑わしさがある)と判定する。一方、制御部16は、近接センサの検出状態が前記した状態ではないと判定した場合には、正常(異常無し)と判定する。なお、このM回やN回は、それぞれ、パラメータとして、調整することが可能である。   When the abnormality diagnosis of the proximity sensor is started in response to a user operation or automatically, in the abnormality diagnosis program, the control unit 16 refers to the information of the determination result stored in the storage unit 15. , The detection state of the proximity sensor is “M (M is an integer of 1 or more) times of determination results in the past 24 hours, N (N is an integer of 0 or more and M or less) times or more, object detection unit” Whether or not the output value from 12 exceeds a predetermined threshold Th is determined. Then, when it is determined that the detection state of the proximity sensor is the above-described state, the control unit 16 determines that there is an abnormality (here, there is a suspicion of abnormality). On the other hand, when the control unit 16 determines that the detection state of the proximity sensor is not the above-described state, the control unit 16 determines normal (no abnormality). The M times and N times can be adjusted as parameters, respectively.

他の構成例として、ユーザの操作に応じて又は自動的に、近接センサの異常診断が開始されると、異常診断プログラムでは、制御部16は、記憶部15に記憶された前記した判定の結果の情報を参照して、近接センサの検出状態が「画面がオンであった過去の24時間内におけるm時間の判定結果のうちで、n時間以上、物体検出部12からの出力値が所定の閾値Thを超えた」状態であるか否かを判定する。そして、制御部16は、近接センサの検出状態が前記した状態であると判定した場合には、異常(ここでは、異常の疑わしさがある)と判定する。一方、制御部16は、近接センサの検出状態が前記した状態ではないと判定した場合には、正常(異常無し)と判定する。なお、このm時間やn時間は、それぞれ、パラメータとして、調整することが可能である。また、例えば、一定の時間間隔で判定を行う場合には、(回数×一定の時間間隔)などの値を時間として用いることができる。一例として、n=0.7m(つまり、mの70パーセント)などを用いることができる。   As another configuration example, when the abnormality diagnosis of the proximity sensor is started in response to a user operation or automatically, in the abnormality diagnosis program, the control unit 16 results of the above-described determination stored in the storage unit 15 Referring to the information, the detection state of the proximity sensor is “of the determination result of m hours in the past 24 hours when the screen was on, the output value from the object detection unit 12 is a predetermined value for n hours or more. It is determined whether or not the state is “over threshold Th”. Then, when it is determined that the detection state of the proximity sensor is the above-described state, the control unit 16 determines that there is an abnormality (here, there is a suspicion of abnormality). On the other hand, when the control unit 16 determines that the detection state of the proximity sensor is not the above-described state, the control unit 16 determines normal (no abnormality). The m time and n time can be adjusted as parameters. Further, for example, when the determination is performed at a constant time interval, a value such as (number of times × constant time interval) can be used as the time. As an example, n = 0.7 m (that is, 70% of m) can be used.

<近接センサの異常診断における通話制御処理>
近接センサの異常診断における通話制御処理では、携帯端末装置1の制御部16は、通話アプリが起動されたときに、物体検出部12からの出力値(近接センサの検出値に応じた値)が所定の閾値Thを超えるか否かを判定することを開始して実行する(近接センサを用いた判定をオンにする)。そして、制御部16は、起動された通話アプリが終了させられるまで、判定結果の情報を記憶部15に記憶する。制御部16は、起動された通話アプリが終了させられると、物体検出部12からの出力値(近接センサの検出値に応じた値)が所定の閾値Thを超えるか否かを判定することを停止する(近接センサを用いた判定をオフにする)。
<Call control process in proximity sensor abnormality diagnosis>
In the call control process in the abnormality diagnosis of the proximity sensor, the control unit 16 of the mobile terminal device 1 receives the output value from the object detection unit 12 (a value corresponding to the detection value of the proximity sensor) when the call application is activated. It starts to determine whether or not a predetermined threshold value Th is exceeded (turns on determination using a proximity sensor). Then, the control unit 16 stores the determination result information in the storage unit 15 until the activated call application is terminated. When the activated call application is terminated, the control unit 16 determines whether the output value from the object detection unit 12 (a value corresponding to the detection value of the proximity sensor) exceeds a predetermined threshold Th. Stop (turn off determination using proximity sensor).

ユーザの操作に応じて又は自動的に(ここでは、自動的に)、近接センサの異常診断が開始されると、異常診断プログラムでは、制御部16は、記憶部15に記憶された前記した判定の結果の情報を参照して、近接センサの検出状態が「直近の(最後の)通話時において、物体検出部12からの出力値が所定の閾値Th以下であり、その後、所定の時間以上連続して物体検出部12からの出力値が所定の閾値Thを超えており、その後、物体検出部12からの出力値が所定の閾値Th以下であった」状態であるか否かを判定する。そして、制御部16は、近接センサの検出状態が前記した状態ではないと判定した場合には、異常(ここでは、確定的な異常)と判定する。一方、制御部16は、近接センサの検出状態が前記した状態であると判定した場合には、正常(異常無し)と判定する。なお、この所定の時間は、パラメータとして、調整することが可能である。一例として、この所定の時間として、10秒を用いることができる。   When the abnormality diagnosis of the proximity sensor is started in response to a user operation or automatically (here, automatically), in the abnormality diagnosis program, the control unit 16 determines the above-described determination stored in the storage unit 15. Referring to the information of the result, the detection state of the proximity sensor is “at the time of the most recent (last) call, the output value from the object detection unit 12 is equal to or less than a predetermined threshold value Th, and then continuously for a predetermined time or longer. Then, it is determined whether or not the output value from the object detection unit 12 exceeds the predetermined threshold Th, and then the output value from the object detection unit 12 is equal to or less than the predetermined threshold Th. And the control part 16 determines with abnormality (here definite abnormality), when it determines with the detection state of a proximity sensor not being in the above-mentioned state. On the other hand, when it is determined that the detection state of the proximity sensor is the above-described state, the control unit 16 determines normal (no abnormality). The predetermined time can be adjusted as a parameter. As an example, 10 seconds can be used as the predetermined time.

ここで、「直近の(最後の)通話時において、物体検出部12からの出力値が所定の閾値Th以下であり、その後、所定の時間以上連続して物体検出部12からの出力値が所定の閾値Thを超えており、その後、物体検出部12からの出力値が所定の閾値Th以下であった」状態は、例えば、「直近の(最後の)通話時において、ユーザの顔が携帯端末装置1の画面から離れており、その後、所定の時間以上連続してユーザの顔が携帯端末装置1の画面に近付き(例えば、接し)、その後、ユーザの顔が携帯端末装置1の画面から離れた」状態に相当する。このような状態は、ユーザが携帯端末装置1を使用して通話を行った状態であるとみなすことができる。   Here, “at the time of the most recent (last) call, the output value from the object detection unit 12 is less than or equal to a predetermined threshold Th, and then the output value from the object detection unit 12 is predetermined for a predetermined time or longer. For example, the state in which the output value from the object detection unit 12 is equal to or less than the predetermined threshold value Th is, for example, that the user's face is a portable terminal during the most recent (last) call. The user's face is away from the screen of the mobile terminal device 1 after that, and then the user's face approaches (for example, touches) the screen of the mobile terminal device 1 continuously for a predetermined time or longer. Corresponds to the state. Such a state can be regarded as a state in which the user has made a call using the mobile terminal device 1.

以上のように、本実施形態に係る携帯端末装置1では、例えば、常時(例えば、毎日24時間)、近接センサを用いた判定をオンにすると、電力消費量が増大する可能性があることに対して、省電力化を図ることができる。   As described above, in the mobile terminal device 1 according to the present embodiment, for example, when the determination using the proximity sensor is always on (for example, 24 hours every day), the power consumption may increase. On the other hand, power saving can be achieved.

ここで、本実施形態では、<近接センサの異常診断における時間制御処理>と<近接センサの異常診断における通話制御処理>という2つの処理を組み合わせて異常の有無を判定する構成を示したが、他の構成例として、これらのうちのいずれか一方のみを用いる構成が用いられてもよい。
また、<近接センサの異常診断における通話制御処理>は確度が高いと考えられるが、例えば、ハンズフリー通話などのように、近接センサに関する反応が無い場合もあるため、<近接センサの異常診断における時間制御処理>と組み合わされた方が、より誤判定を低減することができる。
Here, in the present embodiment, a configuration is shown in which the presence / absence of an abnormality is determined by combining two processes of <time control processing in abnormality diagnosis of proximity sensor> and <call control processing in abnormality diagnosis of proximity sensor>. As another configuration example, a configuration using only one of these may be used.
In addition, although <communication control processing in proximity sensor abnormality diagnosis> is considered to have high accuracy, there may be no response regarding the proximity sensor, such as a hands-free call. The erroneous determination can be further reduced by combining with the time control process>.

また、本実施形態では、例えば、一日のうちで、予め定められた時間帯だけ、近接センサを用いた判定をオンにすることや、或いは、画面がオンになったことに応じて近接センサを用いた判定をオンにすることや、或いは、画面がオフになったことに応じて近接センサを用いた判定をオフにすることができ、他の例として、近接センサを用いた判定を実行した前回のタイミングから所定の時間が経過した後に、初めて画面がオンになったときに、近接センサを用いた判定をオンにすることができる。また、本実施形態では、例えば、「通話アプリが起動させられて、近接センサを用いた判定をオンにした場合に、携帯端末装置1の画面から顔が離れており、その後、携帯端末装置1の画面に顔が近付き、その後、携帯端末装置1の画面から顔が離れて、通話アプリが終了した」状態を正常な状態とみなすことができる。   In this embodiment, for example, the proximity sensor is turned on only during a predetermined time period in a day, or the proximity sensor is turned on in response to the screen being turned on. Can be turned on, or the judgment using the proximity sensor can be turned off when the screen is turned off. As another example, the judgment using the proximity sensor is executed. The determination using the proximity sensor can be turned on when the screen is turned on for the first time after a predetermined time has elapsed since the previous timing. In the present embodiment, for example, “when the call application is activated and the determination using the proximity sensor is turned on, the face is away from the screen of the mobile terminal device 1, and then the mobile terminal device 1. It can be considered that the face is close to the screen of the mobile terminal device 1 and then the face is moved away from the screen of the mobile terminal device 1 so that the call application is terminated.

[以上の実施形態(第1実施形態〜第2実施形態)に係る構成例]
(第1実施形態〜第2実施形態に係る構成例)
一構成例として、物体との間の距離に応じた値を検出する物体検出部12と、前記物体検出部12により検出された複数の値に基づいて、前記物体検出部12により検出可能な位置に異常な物体が存在するか否かを判定する制御部16と、を備える携帯端末装置1である。
(第1実施形態に係る構成例)
一構成例として、前記物体検出部12は、予め定められた時間間隔で、前記検出を行う。
(第2実施形態に係る構成例)
一構成例として、前記物体検出部12は、予め定められた時間帯、或いは、画面がオンであるときのうちの一方又は両方が満たされるときに、前記検出を行う。
[Configuration example according to the above embodiment (first embodiment to second embodiment)]
(Configuration example according to the first to second embodiments)
As one configuration example, an object detection unit 12 that detects a value corresponding to a distance to an object, and a position that can be detected by the object detection unit 12 based on a plurality of values detected by the object detection unit 12 And a control unit 16 that determines whether or not there is an abnormal object.
(Configuration example according to the first embodiment)
As an example of the configuration, the object detection unit 12 performs the detection at a predetermined time interval.
(Configuration example according to the second embodiment)
As an example of the configuration, the object detection unit 12 performs the detection when one or both of a predetermined time zone and when the screen is on is satisfied.

(第1実施形態〜第2実施形態に係る構成例)
一構成例として、前記制御部16は、前記物体検出部12により検出された複数の値に基づいて、物体との間の距離が所定の閾値より近いことを示す値が、所定の度合い(例えば、閾値或いはパーセントなど)以上である場合に、前記物体検出部12により検出可能な位置に異常な物体が存在すると判定する。
(第2実施形態に係る構成例)
一構成例として、前記制御部16は、前記物体検出部12により検出された複数の値に基づいて、通話時に、物体との間の距離が所定の閾値より遠いことを示す値であり、その後、物体との間の距離が所定の閾値より近いことを示す値であり、その後、再び、物体との間の距離が所定の閾値より遠いことを示す値である、ことが満たされない場合に、前記物体検出部12により検出可能な位置に異常な物体が存在すると判定する。
(第1実施形態〜第2実施形態に係る構成例)
一構成例として、前記制御部16は、前記物体検出部12により検出可能な位置に異常な物体が存在すると判定した場合に、その旨を示す情報(例えば、図5に示される情報)を画面に表示する。
(Configuration example according to the first to second embodiments)
As an example of the configuration, the control unit 16 determines that a value indicating that the distance to the object is closer than a predetermined threshold based on a plurality of values detected by the object detection unit 12 is a predetermined degree (for example, , A threshold value or a percentage) or more), it is determined that an abnormal object is present at a position detectable by the object detection unit 12.
(Configuration example according to the second embodiment)
As an example of the configuration, the control unit 16 is a value indicating that the distance to the object is farther than a predetermined threshold during a call based on a plurality of values detected by the object detection unit 12, and thereafter , A value indicating that the distance to the object is closer than a predetermined threshold, and then again a value indicating that the distance to the object is further than the predetermined threshold, It is determined that an abnormal object exists at a position that can be detected by the object detection unit 12.
(Configuration example according to the first to second embodiments)
As one configuration example, when the control unit 16 determines that an abnormal object exists at a position detectable by the object detection unit 12, information indicating that fact (for example, information shown in FIG. 5) is displayed on the screen. To display.

(第1実施形態〜第2実施形態に係る構成例)
一構成例として、携帯端末装置1に備えられた物体検出部12が、物体との間の距離に応じた値を検出し、前記携帯端末装置1に備えられた制御部16が、前記物体検出部12により検出された複数の値に基づいて、前記物体検出部12により検出可能な位置に異常な物体が存在するか否かの情報を提供する、方法(異常検出方法)である。
(第1実施形態〜第2実施形態に係る構成例)
一構成例として、携帯端末装置1に備えられた物体検出部12が、物体との間の距離に応じた値を検出するステップと、前記携帯端末装置1に備えられた制御部16が、前記物体検出部12により検出された複数の値に基づいて、前記物体検出部12により検出可能な位置に異常な物体が存在するか否かを判定するステップと、をコンピュータに実行させるためのプログラム(異常検出プログラム)である。
(Configuration example according to the first to second embodiments)
As an example of the configuration, the object detection unit 12 included in the mobile terminal device 1 detects a value corresponding to the distance to the object, and the control unit 16 included in the mobile terminal device 1 detects the object detection. This is a method (abnormality detection method) that provides information on whether or not an abnormal object exists at a position that can be detected by the object detection unit 12 based on a plurality of values detected by the unit 12.
(Configuration example according to the first to second embodiments)
As one configuration example, the object detection unit 12 included in the mobile terminal device 1 detects a value according to the distance to the object, and the control unit 16 included in the mobile terminal device 1 includes the A program for causing a computer to execute a step of determining whether or not an abnormal object exists at a position detectable by the object detection unit 12 based on a plurality of values detected by the object detection unit 12 ( Anomaly detection program).

[第3実施形態の説明]
以下で、[第3実施形態]について説明する。
なお、以下に示す[第3実施形態]では、以上に示した[第1実施形態〜第2実施形態の説明]で説明したものとは異なる点について詳しく説明し、同様な点については説明を省略又は簡略化する。
[Description of Third Embodiment]
The [Third Embodiment] will be described below.
In the following [Third Embodiment], points different from those described above in [Description of First to Second Embodiments] will be described in detail, and similar points will be described. Omitted or simplified.

[第3実施形態]
<近接センサについて>
本実施形態では、物体検出部12の近接センサは、検出結果が変化したときにだけ出力値(例えば、検出結果の値、又は、所定の他の値)を出力する仕組みになっている。例えば、近接センサによる検出動作がオンである状態で、近接センサの周囲(検出範囲)の状況が変化しなければ近接センサからの出力は無(無信号)であり、物体が近接センサの検出範囲を遮ることなどにより近接センサの周囲(検出範囲)の状況が変化したときに近接センサからの出力(信号)が発生する。
物体検出部12は、近接センサによる検出結果に応じて、対応する値(本実施形態では、0から255の値)を出力する。
[Third Embodiment]
<Proximity sensor>
In the present embodiment, the proximity sensor of the object detection unit 12 is configured to output an output value (for example, a detection result value or another predetermined value) only when the detection result changes. For example, when the detection operation by the proximity sensor is on and the situation around the proximity sensor (detection range) does not change, there is no output from the proximity sensor (no signal), and the object is in the detection range of the proximity sensor. An output (signal) from the proximity sensor is generated when the surroundings (detection range) of the proximity sensor changes due to blocking the signal.
The object detection unit 12 outputs a corresponding value (a value from 0 to 255 in the present embodiment) according to the detection result by the proximity sensor.

<本実施形態の背景>
例えば、物体検出部12の近接センサによる検出動作を常時オンにして稼働させておけば、過去の一定期間(例えば、一日など)の間に物体検出部12からの出力値(近接センサによる検出結果)に延々と変化が無いことをもって「異常(例えば、付着物)あり」と判断することが可能であり、一方、過去の一定期間(例えば、一日など)の間に物体検出部12からの出力値(近接センサによる検出結果)に一度でも変化があったことをもって「異常(例えば、付着物)無し」と判断することが可能である。
このように、常時(例えば、一日中)近接センサによる検出動作をオンにしておけば、付着物が存在したとしてユーザがいつその付着物を剥がしたとしても、ほぼ確実に近接センサの反応(検出結果)の変化をとらえることができ、異常(例えば、付着物)の有無の判断を誤る可能性は低い。
<Background of the present embodiment>
For example, if the detection operation by the proximity sensor of the object detection unit 12 is always turned on and operated, the output value (detection by the proximity sensor) from the object detection unit 12 during a past fixed period (for example, one day). It is possible to determine that “abnormality (for example, attached matter) is present” when there is no endless change in the result), while the object detection unit 12 determines that there is a certain period in the past (for example, one day). It is possible to determine that “abnormality (for example, attached matter) is absent” when the output value (detection result by the proximity sensor) has changed even once.
In this way, if the detection operation by the proximity sensor is always turned on (for example, all day), even if the user peels off the attached matter when the attached matter is present, the reaction (detection result) of the proximity sensor is almost sure. ) Can be captured, and the possibility of misjudgment of the presence / absence of an abnormality (for example, a deposit) is low.

しかしながら、近接センサによる検出動作を常時オンにしておく構成では、近接センサの稼働によって電流消費量が増大し、携帯端末装置1の稼働時間が短縮される可能性があるため、近接センサによる検出動作を常時オンにしない構成が望まれる。
なお、本実施形態では、近接センサによる検出動作を常時オンにしない構成例を示すが、他の構成例として、近接センサによる検出動作を常時オンにしておく構成が実施されてもよい。
However, in the configuration in which the detection operation by the proximity sensor is always on, the current consumption increases due to the operation of the proximity sensor, and the operation time of the mobile terminal device 1 may be shortened. A configuration in which is not always turned on is desired.
In the present embodiment, a configuration example in which the detection operation by the proximity sensor is not always turned on is shown. However, as another configuration example, a configuration in which the detection operation by the proximity sensor is always turned on may be implemented.

<本実施形態における近接センサによる検出動作の概要>
本実施形態では、次の(処理内容3−1)〜(処理内容3−6)に従って、携帯端末装置1の通話中(本実施形態では、受信(着信)中のときだけであり、送信(発信)中のときは除く)に限って近接センサによる検出動作をオンにして稼働させる方式によって、異常の有無を判定する。
<Outline of detection operation by proximity sensor in this embodiment>
In the present embodiment, according to the following (Processing content 3-1) to (Processing content 3-6), only when the mobile terminal device 1 is in a call (in this embodiment, receiving (incoming)), transmission ( Whether or not there is an abnormality is determined by a method in which the detection operation by the proximity sensor is turned on and operated only in the case of transmission).

(処理内容3−1)
携帯端末装置1がオフの状態からオンの状態へ起動されると、近接センサに関する異常診断処理のプログラム(異常診断プログラム)が、例えばバックグラウンドサービスとして、起動される。
(Processing content 3-1)
When the mobile terminal device 1 is activated from an off state to an on state, an abnormality diagnosis processing program (abnormality diagnosis program) related to the proximity sensor is activated as, for example, a background service.

(処理内容3−2)
異常診断プログラムは、通話の発生(本実施形態では、着信且つ受話が発生したときのみであり、発信を除く)を監視する。
(Processing content 3-2)
The abnormality diagnosis program monitors the occurrence of a call (in this embodiment, only when an incoming call and an incoming call occur, excluding outgoing calls).

(処理内容3−3)
着信があり且つ受話がある(例えば、操作部13の受話ボタンが押下される)と、近接センサによる監視(本実施形態では、近接センサによる検出結果に応じた物体検出部12からの出力値に関する情報の記憶)を開始する。この通話の終了(例えば、着信側で通話を切ったとき、又は、発信側(通話の相手側)で通話を切ったとき)から、所定の時間Tが経過した後に、近接センサによる監視を終了する。
なお、携帯端末装置1では、着信側(当該携帯端末装置1の側)で通話を切ったときと、発信側(通話の相手側)で通話を切ったときとで、いずれも、同じ信号(通話の終了を示す信号)が内部で発生し、これを検出する。
また、ユーザによる受話の操作(例えば、受話ボタンの押下)ばかりでなく、携帯端末装置1により着信時に自動的に受話する場合(例えば、自動応答の場合)についても、受話があったとみなす構成が用いられてもよい。
(Processing content 3-3)
When there is an incoming call and there is an incoming call (for example, when the incoming call button of the operation unit 13 is pressed), monitoring by a proximity sensor (in this embodiment, an output value from the object detection unit 12 according to a detection result by the proximity sensor) Information storage). The monitoring by the proximity sensor is terminated after a predetermined time T has elapsed from the end of this call (for example, when the call is terminated on the receiving side or when the call is terminated on the calling side (the other side of the call)) To do.
In the mobile terminal device 1, the same signal (when the call is disconnected on the incoming side (the mobile terminal device 1 side) and when the call is disconnected on the outgoing side (the other side of the call) are the same ( A signal indicating the end of the call) is generated internally and is detected.
In addition to a user's operation of receiving a call (for example, pressing a reception button), a case where the mobile terminal device 1 automatically receives a call when receiving a call (for example, an automatic response) is considered to have received a call. May be used.

また、前記した所定の時間Tとしては、様々な値が用いられてもよく、一例として、30秒程度に設定する構成を用いることができる。前記した所定の時間Tが長い方が、より確実に、「ユーザの顔が携帯端末装置1の画面から離れた」状態を検出することができると考えられるが、長過ぎないように適度な値が設定されるのが好ましい。また、前記した所定の時間Tが0に設定されてもよく、つまり、通話の終了時に近接センサによる監視を終了する構成が用いられてもよい。   Various values may be used as the predetermined time T. For example, a configuration in which the predetermined time T is set to about 30 seconds can be used. It is considered that the longer the predetermined time T can detect the “user's face is away from the screen of the mobile terminal device 1” more reliably, but an appropriate value so as not to be too long. Is preferably set. Further, the predetermined time T described above may be set to 0, that is, a configuration in which monitoring by the proximity sensor is ended at the end of the call may be used.

ここで、本実施形態では、近接センサによる監視を開始して稼働させるタイミングとしては、着信時(又は、発信時)ではなく、着信して且つ受話(例えば、受話ボタンの押下)があったときのタイミングを用いている。この理由は、例えば、着信後にすぐに近接センサによる監視を開始して稼働させると、ユーザが着信後に相手の電話番号を見て受話せずにその着信(通話)を切った場合や、ユーザが運転中などであり受話が不能でその着信に受話しなかった場合においても、物体検出部12からの出力値(近接センサによる検出結果)が変化しないデータ(無反応のデータ)が記憶されてしまい、誤診断の可能性が生じるためである。なお、発信時についても、例えば、発信時に近接センサによる監視を開始して稼働させると、ユーザが発信後に通話せずにその発信を切った場合や、その発信に対して相手側が無応答であった場合において、物体検出部12からの出力値(近接センサによる検出結果)が変化しないデータ(無反応のデータ)が記憶されてしまい、誤診断の可能性が生じる。   Here, in this embodiment, when the monitoring by the proximity sensor is started and activated, when the incoming call is received (or when the incoming call button is pressed, for example) instead of the incoming call (or outgoing call) The timing is used. This is because, for example, when the proximity sensor starts monitoring immediately after an incoming call and is operated, the user hangs up the incoming call (call) without seeing the other party's telephone number and receiving the call. Even when driving is not possible and the incoming call cannot be received and the incoming call is not received, data (non-reactive data) in which the output value from the object detection unit 12 (detection result by the proximity sensor) does not change is stored. This is because there is a possibility of misdiagnosis. For example, if the proximity sensor is started and operated at the time of outgoing, for example, when the user disconnects the outgoing call without making a call, or the other party does not respond to the outgoing call. In this case, data in which the output value from the object detection unit 12 (detection result by the proximity sensor) does not change (non-reactive data) is stored, and a possibility of erroneous diagnosis occurs.

なお、通常は、携帯端末装置1に着信があると、ユーザは、携帯端末装置1の画面に当該ユーザの顔を近付ける前に、当該ユーザの指で受話ボタンを押下する操作(或いは、他の操作でもよい)により受話し、その後、携帯端末装置1の画面に当該ユーザの顔を近付けて相手側(発信側)と通話する。そして、ユーザは、当該ユーザ自身が通話を終了する場合には、携帯端末装置1の画面から当該ユーザの顔を離した後に、当該ユーザの指で通話終了のためのボタンを押下する操作(或いは、他の操作でもよい)により通話を終了させ、また、相手側の操作により通話が終了させられた場合には、通話の終了後に、(通常は、それほど長い時間をおかずに)携帯端末装置1の画面から当該ユーザの顔を離す。
このため、一例として、通話の開始時における近接センサによる検出結果(ユーザの顔が離れていた状態から近付く状態へ変化すること)、又は、通話の終了時における近接センサによる検出結果(ユーザの顔が近付いていた状態から離れた状態へ変化すること)のうちの一方又は両方を判定することができるような構成とする。
Normally, when there is an incoming call to the mobile terminal device 1, the user performs an operation of pressing the reception button with the user's finger (or other operation) before bringing the user's face close to the screen of the mobile terminal device 1. The user's face is brought close to the screen of the mobile terminal device 1 and a call is made with the other party (sender). Then, when the user himself / herself ends the call, an operation of pressing the button for ending the call with the user's finger after the user's face is removed from the screen of the mobile terminal device 1 (or , Other operations may be performed), and when the call is terminated by the other party's operation, the portable terminal device 1 (usually without taking a long time) after the call is terminated. Remove the user's face from the screen.
For this reason, as an example, the detection result by the proximity sensor at the start of the call (change from the state where the user's face is away to the approaching state) or the detection result by the proximity sensor at the end of the call (the user's face) In which the state changes from a state in which is approaching to a state in which it is far away).

(処理内容3−4)
1回分の通話について、近接センサによる監視の開始から終了までの間、近接センサによる検出結果に応じた物体検出部12からの出力値に関する情報(データ)を記憶部15に記憶する。
ここで、近接センサによる検出結果に応じた物体検出部12からの出力値に関する情報としては、例えば、物体検出部12からの出力値自体の情報が用いられてもよく、或いは、物体検出部12からの出力値が所定の閾値を超えるか否かを判定した結果の情報が用いられてもよく、或いは、物体検出部12からの出力値に対して他の演算等を行った結果の情報が用いられてもよい。
(Processing content 3-4)
Information (data) related to an output value from the object detection unit 12 corresponding to the detection result by the proximity sensor is stored in the storage unit 15 for one call from the start to the end of monitoring by the proximity sensor.
Here, as the information regarding the output value from the object detection unit 12 according to the detection result by the proximity sensor, for example, the information of the output value itself from the object detection unit 12 may be used, or the object detection unit 12 may be used. Information obtained as a result of determining whether or not the output value from the output exceeds a predetermined threshold value, or information obtained as a result of performing other calculations on the output value from the object detection unit 12 May be used.

(処理内容3−5)
ユーザは、任意のタイミング(又は、予め定められたタイミング)で、異常診断プログラムのGUIを起動して、近接センサの異常診断を開始するための操作を行う。すると、異常診断プログラムが近接センサによる検出結果に基づく異常診断を開始する。
(Processing content 3-5)
The user activates the GUI of the abnormality diagnosis program at an arbitrary timing (or a predetermined timing) and performs an operation for starting the abnormality diagnosis of the proximity sensor. Then, the abnormality diagnosis program starts abnormality diagnosis based on the detection result by the proximity sensor.

(処理内容3−6)
具体的には、異常診断プログラムは、直近の、診断対象として有効な、1回分の通話(本実施形態では、着信のみ)について、その通話中(本実施形態では、近接センサによる監視の開始から終了までの間)における物体検出部12からの出力値のデータ(本実施形態では、記憶部15に記憶されたデータ)を参照して、物体検出部12からの出力値(近接センサによる検出結果)に一度も変化がなかったことを判定した場合には、例えば、液晶保護フィルムが不適切に貼り付けられて近接センサがふさがれているとみなして、対処方法のメッセージを表示部14の画面に表示する。
(Processing content 3-6)
Specifically, the abnormality diagnosis program is effective for the most recent diagnosis target and is in the middle of a call (in this embodiment, only incoming calls) (in this embodiment, from the start of monitoring by the proximity sensor). Output value from the object detection unit 12 (in this embodiment, data stored in the storage unit 15) with reference to the output value from the object detection unit 12 (detection result by the proximity sensor) ) For example, it is determined that the liquid crystal protective film is improperly adhered and the proximity sensor is blocked, and a message on the countermeasure is displayed on the screen of the display unit 14. To display.

ここで、直近の、診断対象として有効な、1回分の通話としては、診断対象として無効である通話の条件が設定されている場合には、診断対象として無効である通話(このような通話中における物体検出部12からの出力値のデータ)を排除して、最も最後(最近)に行われた有効な通話(無効でない通話)が用いられる。なお、他の構成例として、診断対象として無効である通話の条件が設定されずに、全ての通話が有効であるとする構成が用いられてもよい。   Here, as the most recent one-time call that is effective as a diagnosis target, if a call condition that is invalid as a diagnosis target is set, a call that is invalid as a diagnosis target (such a call during such a call) (The output value data from the object detection unit 12) is excluded, and the last (most recent) valid call (non-invalid call) is used. In addition, as another configuration example, a configuration may be used in which all calls are valid without setting the invalid call condition as a diagnosis target.

診断対象として無効である通話の条件としては、例えば、Bluetooth(登録商標)等のヘッドセット、イヤホンマイク、或いはスピーカーフォンなどの、離隔通話用部品(携帯端末装置1から顔を離隔させて通話することを可能とする部品)が携帯端末装置1で使用された通話を無効な通話とする条件を用いることができる。この理由は、このような離隔通話用部品をユーザが使用する場合には、ユーザが普通に通話していても、ユーザの顔は携帯端末装置1の画面に全く近付かず、物体検出部12からの出力値(近接センサによる検出結果)が変化しないデータ(無反応のデータ)が記憶されてしまい、誤診断の可能性が生じるためであり、このようなデータは無効として除外する必要があるためである。   As a condition for a call that is invalid as a diagnosis target, for example, a headset such as Bluetooth (registered trademark), an earphone microphone, or a speakerphone is used. It is possible to use a condition in which a call used in the mobile terminal device 1 is an invalid call. The reason for this is that when the user uses such a remote call part, the user's face does not come close to the screen of the mobile terminal device 1 even when the user is talking normally. This is because data (non-reactive data) whose output value (detection result by the proximity sensor) does not change is stored, and there is a possibility of erroneous diagnosis. Such data must be excluded as invalid. It is.

また、本実施形態のように、着信と発信のうちで着信のみを診断対象とする場合には、診断対象として無効である通話の条件として、発信により発生した通話を無効な通話とする条件を用いることができる。   In addition, as in the present embodiment, when only an incoming call is an object to be diagnosed among incoming and outgoing calls, a condition for making an invalid call a call generated by an outgoing call is a condition for a call that is invalid as a diagnostic target. Can be used.

なお、他の構成例として、近接センサによる監視を開始して稼働させるタイミングとして、着信して且つ受話(例えば、受話ボタンの押下)があったときのタイミングが用いられる場合に、このタイミングから所定の時間(例えば、1分間など)に相当するガードタイムが経過するまでに着信側又は発信側が通話を切ったときに、その通話を無効な通話とする条件を用いることができる。この条件は、例えば、ユーザが着信に対して受話したが前記ガードタイム(前記所定の時間)内に着信側又は相手側(発信側)がその着信に係る通話を切る場合を考慮しており、具体例として、着信時に相手側に対して運転中であることなどを伝える応答保留が自動的に再生して、前記ガードタイム(前記所定の時間)内に携帯端末装置1が自動的にその着信に係る通話を切る場合又は相手側がその着信に係る通話を切る場合などを考慮しており、このような場合における誤診断をなくすことができる。   As another configuration example, when the timing when an incoming call is received and when there is an incoming call (for example, pressing of the incoming call button) is used as the timing to start and operate the proximity sensor, the predetermined timing is used from this timing. When the incoming side or the outgoing side hangs up before the guard time corresponding to the time (for example, 1 minute) elapses, a condition that makes the call invalid can be used. This condition takes into account, for example, a case where the user has received a call but the callee or the other party (caller) hangs up the call related to the call within the guard time (the predetermined time), As a specific example, a response hold that informs the other party that the user is driving when the call is received is automatically reproduced, and the mobile terminal device 1 automatically receives the call within the guard time (the predetermined time). The case where the call related to the call is disconnected or the case where the other party disconnects the call related to the incoming call is taken into consideration, and erroneous diagnosis in such a case can be eliminated.

また、物体検出部12からの出力値(近接センサによる検出結果)が変化したか否か(変化があったか否か)を判定する手法としては、例えば、値が同一ではなくなった場合(つまり、僅かでも値が異なる値になった場合)に変化したと判定する手法が用いられてもよく、或いは、値が予め定められた閾値以上に異なる値になった場合に変化したと判定する手法(つまり、誤差範囲の変化については変化していないとみなす手法)が用いられてもよい。   Further, as a method for determining whether or not the output value from the object detection unit 12 (detection result by the proximity sensor) has changed (whether or not there has been a change), for example, when the values are not the same (that is, slightly However, a method for determining that the value has changed to a different value may be used, or a method for determining that the value has changed when the value has become a value different from a predetermined threshold value (that is, , A method of regarding that the error range is not changed may be used.

<近接センサによる監視の開始から終了までのタイミングの例>
図7は、本実施形態に係る携帯端末装置1における、近接センサによる監視の開始から終了までのタイミングの一例を示すタイミングチャート図である。
図7の例では、携帯端末装置1における通話状況に関する状態T1〜T4、携帯端末装置1における自動診断アプリケーション(本実施形態では、異常診断プログラムのアプリケーション)に関する状態T11〜T13、携帯端末装置1における通話アプリケーション(通話アプリ)に関する状態T21〜T24、携帯端末装置1における制御部16(本実施形態では、オペレーティング・システム(OS))に関する状態T31〜T34、携帯端末装置1における物体検出部12の近接センサに関する状態T41〜T42を示してある。
<Example of timing from start to end of monitoring by proximity sensor>
FIG. 7 is a timing chart illustrating an example of timing from the start to the end of monitoring by the proximity sensor in the mobile terminal device 1 according to the present embodiment.
In the example of FIG. 7, states T <b> 1 to T <b> 4 related to a call status in the mobile terminal device 1, states T <b> 11 to T <b> 13 related to an automatic diagnosis application (an application of an abnormality diagnosis program in the present embodiment) in the mobile terminal device 1, States T21 to T24 related to the calling application (calling application), states T31 to T34 related to the control unit 16 (in this embodiment, operating system (OS)) in the mobile terminal device 1, proximity of the object detection unit 12 in the mobile terminal device 1 States T41 to T42 relating to the sensor are shown.

図7の例に係る一連の処理を説明する。
自動診断アプリケーションは、携帯端末装置1の電源がオンであるときには常時、オンであり、稼働している(状態T11)。
携帯端末装置1では、他の携帯端末装置などから電話の着信があると(状態T1)、通話アプリを起動させる(状態T21)。
通話アプリは、起動すると、近接センサによる検出動作をオンにさせる要求を、OSに対して発して通知する(状態T22)。
OSは、この要求を通話アプリから受けると、この要求を実行し、すなわち、近接センサによる検出動作をオンにさせる(状態T31)。これにより、近接センサによる検出動作がオフからオンになる(状態T41)。なお、この時点では、まだ、近接センサによる監視(本実施形態では、近接センサによる検出結果に応じた物体検出部12からの出力値に関する情報の記憶)は開始されていない。
A series of processes according to the example of FIG. 7 will be described.
The automatic diagnosis application is always on and operating when the mobile terminal device 1 is powered on (state T11).
When there is an incoming call from another mobile terminal device or the like (state T1), the mobile terminal device 1 activates the call application (state T21).
When the call application is activated, it issues a request to turn on the detection operation by the proximity sensor to the OS and notifies it (state T22).
When the OS receives this request from the call application, the OS executes this request, that is, turns on the detection operation by the proximity sensor (state T31). Thereby, the detection operation by the proximity sensor is turned on from off (state T41). At this point, monitoring by the proximity sensor (in this embodiment, storage of information regarding the output value from the object detection unit 12 according to the detection result by the proximity sensor) has not yet started.

携帯端末装置1では、前記した着信に対して、電話を受けるために、ユーザが受話ボタンを押下する(状態T2)。これにより、この着信に係る電話の通話が開始され、携帯端末装置1のユーザと発信側の他の携帯端末装置などのユーザとの間で電話の会話が行われる。
自動診断アプリケーションは、着信の電話が受けられたこと(本実施形態では、受話ボタンが押下されたこと)を検出すると、近接センサによる監視(本実施形態では、近接センサによる検出結果に応じた物体検出部12からの出力値に関する情報の記憶)を開始させる要求を、OSに対して発して通知する(状態T12)。
OSは、この要求を自動診断アプリケーションから受けると、この要求を実行し、すなわち、近接センサによる監視を開始させる(状態T32)。これにより、近接センサによる監視が開始され、近接センサによる検出結果に応じた物体検出部12からの出力値に関する情報が記憶部15に記憶されていく。
In the mobile terminal device 1, the user presses the reception button to receive a call in response to the incoming call (state T <b> 2). Thereby, a telephone call related to the incoming call is started, and a telephone conversation is performed between the user of the mobile terminal device 1 and a user such as another mobile terminal device on the transmission side.
When the automatic diagnosis application detects that an incoming call has been received (in this embodiment, the reception button has been pressed), monitoring by a proximity sensor (in this embodiment, an object corresponding to the detection result by the proximity sensor) A request for starting storage of information relating to an output value from the detection unit 12 is issued to the OS and notified (state T12).
When the OS receives this request from the automatic diagnosis application, the OS executes this request, that is, starts monitoring by the proximity sensor (state T32). Thereby, monitoring by the proximity sensor is started, and information regarding the output value from the object detection unit 12 according to the detection result by the proximity sensor is stored in the storage unit 15.

携帯端末装置1では、当該携帯端末装置1のユーザが電話の通話を終了させるための操作(例えば、通話終了のためのボタンの押下)を行うことにより又は電話の相手側が電話の通話を終了させるための操作を行うことにより、前記した着信に係る電話の通話が終了する(状態T3)。
通話アプリは、前記した着信に係る電話の通話が終了すると、近接センサによる検出動作をオフにさせる要求を、OSに対して発して通知する(状態T23)。そして、通話アプリは、終了する(状態T24)。
OSは、この要求を通話アプリから受ける(状態T33)。なお、通話アプリのみを考えると、OSは、この要求を通話アプリから受けると、この要求を実行し、すなわち、近接センサによる検出動作をオフにさせるが、図7の例では、自動診断アプリケーションからの要求に応じて近接センサによる監視が行われているため、OSは、このことに基づいて、近接センサによる検出動作をオンのままとして、近接センサによる監視を続行させたままとする。
In the mobile terminal device 1, the user of the mobile terminal device 1 performs an operation for ending the telephone call (for example, pressing a button for ending the telephone call) or the other party of the telephone ends the telephone call. Thus, the telephone call related to the incoming call ends (state T3).
When the telephone call related to the incoming call ends, the call application issues a request to turn off the detection operation by the proximity sensor to the OS (state T23). Then, the call application ends (state T24).
The OS receives this request from the call application (state T33). Considering only the calling application, when the OS receives this request from the calling application, the OS executes this request, that is, turns off the detection operation by the proximity sensor. In the example of FIG. Based on this, the OS keeps the detection operation by the proximity sensor on and keeps the monitoring by the proximity sensor continued based on this.

自動診断アプリケーションは、前記した電話の通話が終了した後に所定の時間(例えば、30秒程度)が経過したことを検出すると(状態T4)、近接センサによる監視を終了させる要求を、OSに対して発して通知する(状態T13)。
OSは、この要求を自動診断アプリケーションから受けると、この要求を実行し、すなわち、近接センサによる監視を終了させ、且つ、近接センサによる検出動作をオンにしておく要求がなくなったため、近接センサによる検出動作をオフにさせる(状態T34)。これにより、近接センサによる監視が終了され、且つ、近接センサによる検出動作がオンからオフになる(状態T42)。
このような一連の処理によって、前記した着信に係る1回分の通話について、近接センサによる検出結果に応じた物体検出部12からの出力値に関する情報が記憶部15に記憶されて、履歴の情報(データ)として残る。
When the automatic diagnosis application detects that a predetermined time (for example, about 30 seconds) has elapsed after the end of the telephone call (state T4), it sends a request to the OS to end monitoring by the proximity sensor. It issues and notifies (state T13).
When the OS receives this request from the automatic diagnosis application, the OS executes the request, that is, the monitoring by the proximity sensor is terminated and the detection operation by the proximity sensor is no longer required. The operation is turned off (state T34). Thereby, the monitoring by the proximity sensor is ended, and the detection operation by the proximity sensor is turned off from on (state T42).
Through such a series of processes, information related to the output value from the object detection unit 12 corresponding to the detection result by the proximity sensor is stored in the storage unit 15 for one call related to the incoming call, and history information ( Data).

<近接センサの異常診断の処理の説明>
本実施形態に係る携帯端末装置1において行われる、物体検出部12の近接センサに関する異常診断処理について説明する。なお、全体的な処理の制御は、制御部16により行う。
図8は、本実施形態に係る携帯端末装置1において行われる、物体検出部12の近接センサに関する異常診断処理の手順の一例を示すフローチャート図である。
まず、携帯端末装置1がオフの状態からオンの状態へ起動されると、近接センサに関する異常診断処理のプログラム(異常診断プログラム)が、例えばバックグラウンドサービスとして、起動される。
そして、異常診断プログラムでは、制御部16は、図7に示される処理内容(或いは、他の処理内容でもよい)により、通話(本実施形態では、着信して受話したもの)毎について、近接センサによる監視を行って、近接センサによる検出結果に応じた物体検出部12からの出力値に関する情報を記憶部15に記憶する。
<Description of proximity sensor abnormality diagnosis processing>
An abnormality diagnosis process related to the proximity sensor of the object detection unit 12 performed in the mobile terminal device 1 according to the present embodiment will be described. The overall processing is controlled by the control unit 16.
FIG. 8 is a flowchart illustrating an example of a procedure of abnormality diagnosis processing relating to the proximity sensor of the object detection unit 12 performed in the mobile terminal device 1 according to the present embodiment.
First, when the mobile terminal device 1 is activated from an off state to an on state, an abnormality diagnosis processing program (abnormality diagnosis program) related to the proximity sensor is activated, for example, as a background service.
In the abnormality diagnosis program, the control unit 16 uses the proximity sensor for each call (in this embodiment, an incoming call received) according to the processing content shown in FIG. 7 (or other processing content). The information regarding the output value from the object detection part 12 according to the detection result by the proximity sensor is stored in the storage part 15.

このように異常診断プログラムが起動させられている状態で、ユーザは、携帯端末装置1を(通常に)使用する。そして、ユーザは、任意のタイミング(又は、予め定められたタイミング)で、異常診断プログラムのGUIを起動して、近接センサの異常診断を開始するための操作を行う。   In this state where the abnormality diagnosis program is activated, the user uses the mobile terminal device 1 (usually). Then, the user activates the GUI of the abnormality diagnosis program at an arbitrary timing (or a predetermined timing), and performs an operation for starting the abnormality diagnosis of the proximity sensor.

すると、異常診断プログラムでは、制御部16は、直近の、診断対象として有効な、通話中の物体検出部12(近接センサ)の出力値のデータに関して、一度でも変化があったか否かを判定する(ステップS11)。具体的には、制御部16は、直近の、診断対象として有効な、1回分の通話(本実施形態では、着信のみ)について、その通話中(本実施形態では、近接センサによる監視の開始から終了までの間)における物体検出部12からの出力値のデータ(本実施形態では、記憶部15に記憶されたデータ)を参照して、物体検出部12からの出力値(近接センサによる検出結果)に一度以上の変化があったか否かを判定する。   Then, in the abnormality diagnosis program, the control unit 16 determines whether or not there has been any change in the data of the output value of the object detection unit 12 (proximity sensor) that is effective as the latest diagnosis target during a call ( Step S11). Specifically, the control unit 16 is in the middle of a call (in the present embodiment, only an incoming call) that is effective as a diagnosis target, and from the start of monitoring by the proximity sensor in the present embodiment. Output value from the object detection unit 12 (in this embodiment, data stored in the storage unit 15) with reference to the output value from the object detection unit 12 (detection result by the proximity sensor) ) To determine whether there has been at least one change.

ステップS11の処理における判定の結果、異常診断プログラムでは、制御部16は、診断対象のデータに関して一度も変化がなかったと判定した場合には、例えば対処方法である「液晶保護フィルムをはがしてお使い下さい。」などのメッセージ(結果メッセージ)を表示部14の画面に表示する(ステップS12)。そして、本処理(近接センサの異常診断の処理)を終了する。
一方、ステップS11の処理における判定の結果、異常診断プログラムでは、制御部16は、診断対象のデータに関して一度でも変化があったと判定した場合には、例えば「異常無し」などのメッセージ(結果メッセージ)を表示部14の画面に表示する(ステップS13)。そして、本処理(近接センサの異常診断の処理)を終了する。
As a result of the determination in the process of step S11, in the abnormality diagnosis program, when the control unit 16 determines that there has never been any change in the data to be diagnosed, for example, a countermeasure is “Remove the LCD protective film and use it”. A message (result message) such as “Please” is displayed on the screen of the display unit 14 (step S12). Then, this process (proximity sensor abnormality diagnosis process) is terminated.
On the other hand, as a result of the determination in the process of step S11, in the abnormality diagnosis program, when the control unit 16 determines that there has been any change in the data to be diagnosed, for example, a message (result message) such as “no abnormality” Is displayed on the screen of the display unit 14 (step S13). Then, this process (proximity sensor abnormality diagnosis process) is terminated.

ここで、本実施形態では、ユーザにより行われる所定の操作に応じて、近接センサの異常診断の処理が実行される構成を示したが、他の構成例として、携帯端末装置1において、異常診断プログラムなどに予め設定された条件が満たされたと判定したことに応じて、装置により自動的に、近接センサの異常診断の処理が実行される構成を用いることもできる。
このように、携帯端末装置1において、近接センサの検出値に応じた値の情報を記憶しておき、ユーザにより指示されたタイミング或いは一定の期間毎のタイミングなどで、記憶された情報に基づいて、異常の有無を検査することができる。
Here, in this embodiment, the configuration in which the abnormality diagnosis process of the proximity sensor is executed in accordance with a predetermined operation performed by the user is shown. However, as another configuration example, in the mobile terminal device 1, the abnormality diagnosis is performed. A configuration in which an abnormality diagnosis process of the proximity sensor is automatically executed by the apparatus when it is determined that a condition set in advance in a program or the like is satisfied may be used.
As described above, in the mobile terminal device 1, information of a value corresponding to the detection value of the proximity sensor is stored, and based on the stored information at a timing instructed by the user or at a certain time interval. Can check for abnormalities.

本実施形態では、通常利用の通話中のように「物体検出部12からの出力値が、一時的に、所定の閾値Thを超えることが何度かあっても、残りは所定の閾値Th以下であり0に近い」状態(本実施形態では、一度でも変化がある状態)と、液晶保護フィルムが不適切に貼り付けられて近接センサがふさがれているときのように「物体検出部12からの出力値が、常時、所定の閾値Thを超えることが継続する」状態(本実施形態では、一度も変化がない状態)とを判定することができ、後者の場合にユーザに液晶保護フィルムの除去を促すことができる。   In the present embodiment, “when the output value from the object detection unit 12 temporarily exceeds a predetermined threshold Th several times, the remaining is equal to or lower than the predetermined threshold Th as during a normal call. ”And close to 0” (in this embodiment, there is a change even once) and “from the object detection unit 12 such as when the liquid crystal protective film is improperly stuck and the proximity sensor is blocked” Can be determined to be in a state where the output value always exceeds a predetermined threshold value Th (in this embodiment, there is no change). Can prompt removal.

また、本実施形態では、異常診断プログラムによる自動診断アプリケーションの有無に関わらず、通話中はほぼ必ず、顔面近接検知のために、近接センサによる検出動作がオンにされて稼働する構成であるため、異常診断を行うために近接センサによる監視を行っても、電流消費量が(例えば、それほどには)増大しない。
このように、本実施形態では、携帯端末装置1において、近接センサ(例えば、一般的な赤外線型の近接センサ)の反応値を用いて、過剰に電流消費量を増やすことなく、当該携帯端末装置1の利用に障害をきたす可能性がある付着物の存在を検出することができる。
なお、本実施形態においても、携帯端末装置1の画面の表示の例として、図3〜図6に示されるようなものを用いることができる。
Further, in the present embodiment, regardless of the presence or absence of an automatic diagnosis application by the abnormality diagnosis program, the configuration is such that the detection operation by the proximity sensor is turned on and operates for the face proximity detection almost always during a call. Even if the proximity sensor is used for abnormality diagnosis, the current consumption does not increase (for example, so much).
As described above, in the present embodiment, in the mobile terminal device 1, the response value of the proximity sensor (for example, a general infrared proximity sensor) is used to increase the current consumption without excessively increasing the current consumption amount. It is possible to detect the presence of deposits that may impede the use of 1.
Also in this embodiment, as an example of the screen display of the mobile terminal device 1, the ones shown in FIGS. 3 to 6 can be used.

以上のように、本実施形態に係る携帯端末装置1では、当該携帯端末装置1における操作の状況(本実施形態では、着信に対する受話ボタンの押下の操作の状況)に基づいて、所定の期間だけ近接センサによる監視を稼働させ、その期間における近接センサによる検出結果に関する情報(データ)を記憶し、直近の有効な記憶データを分析すること(本実施形態では、一度でも変化があったか否かを判定すること)により、付着物の有無を判定することができる。また、本実施形態に係る携帯端末装置1では、着信に対して受話ボタンが押下されて通話が行われている間(例えば、初めや終わりの一部の時間をずらすように調整されてもよい)に、近接センサによる監視を稼働させる。
このように、本実施形態に係る携帯端末装置1では、液晶保護フィルムなどが近接センサなどの上に存在する状態を検出することができる。
As described above, in the mobile terminal device 1 according to the present embodiment, based on the operation status of the mobile terminal device 1 (in this embodiment, the status of the operation of pressing the reception button for an incoming call), only for a predetermined period. Operate monitoring by proximity sensor, store information (data) related to detection result by proximity sensor during that period, and analyze the latest valid stored data (in this embodiment, determine whether there has been any change even once) By doing so, it is possible to determine the presence or absence of the deposit. Further, in the mobile terminal device 1 according to the present embodiment, the incoming call button is pressed with respect to the incoming call while the call is being performed (for example, adjustment may be performed so as to shift a part of the time at the beginning and the end). ), Monitoring by proximity sensor is activated.
Thus, in the portable terminal device 1 according to the present embodiment, it is possible to detect a state in which a liquid crystal protective film or the like is present on a proximity sensor or the like.

ここで、本実施形態では、発信及び着信による通話のうちで、着信による通話のみについて、近接センサによる検出結果に関する情報を記憶して異常診断に使用する構成を示したが、他の構成例として、発信による通話と着信による通話の両方について、近接センサによる検出結果に関する情報を記憶して異常診断に使用する構成や、或いは、発信による通話のみについて、近接センサによる検出結果に関する情報を記憶して異常診断に使用する構成を用いることも可能である。
また、本実施形態では、着信時に受話があったときのタイミングで近接センサによる監視を開始する構成を示したが、他の構成例として、着信があったときのタイミングで近接センサによる監視を開始する構成を用いることも可能である。
また、本実施形態では、1回分の通話に関する情報に基づいて異常診断を行う構成を示したが、他の構成例として、複数回分の通話に関する情報に基づいて異常診断を行う構成を用いることも可能である。このような回数(1回又は2回以上である所定回数)は、例えば、あらかじめ携帯端末装置1に設定され、また、ユーザなどにより変更することが可能な構成が用いられてもよい。
Here, in the present embodiment, the configuration in which information related to the detection result by the proximity sensor is stored and used for abnormality diagnosis for only incoming calls among outgoing calls and incoming calls is shown, but as another configuration example Storing information related to detection results from proximity sensors for both outgoing calls and incoming calls, and using it for abnormality diagnosis, or storing information related to detection results from proximity sensors for outgoing calls only It is also possible to use a configuration used for abnormality diagnosis.
In the present embodiment, the configuration in which monitoring by the proximity sensor is started at the timing when the incoming call is received is shown. However, as another configuration example, monitoring by the proximity sensor is started at the timing when the incoming call is received. It is also possible to use a configuration that does this.
In addition, in the present embodiment, a configuration in which abnormality diagnosis is performed based on information related to one call is shown. However, as another configuration example, a configuration in which abnormality diagnosis is performed based on information related to a plurality of calls may be used. Is possible. Such a number of times (a predetermined number of times that is one or more times) may be set in advance in the mobile terminal device 1 and may be configured to be changed by a user or the like.

[以上の実施形態(第3実施形態)に係る構成例]
一構成例として、物体との間の距離に応じた値を検出する物体検出部12と、前記物体検出部12により検出された複数の値に基づいて、前記物体検出部12により検出可能な位置に異常な物体が存在するか否かを判定する制御部16と、を備える携帯端末装置1である。
ここで、例えば、物体検出部12又は物体検出部12を構成する近接センサとして、検出結果が変化したときにだけ出力値(例えば、検出結果の値、又は、所定の他の値)を出力するようなものが用いられる場合についても、物体との間の距離に応じた値に関しては、複数の値(例えば、時間的に前後にある2つの値)の差異に基づいて検出結果が変化したか否かが把握されるため、本発明に含まれる。
[Configuration Example According to the Embodiment (Third Embodiment)]
As one configuration example, an object detection unit 12 that detects a value corresponding to a distance to an object, and a position that can be detected by the object detection unit 12 based on a plurality of values detected by the object detection unit 12 And a control unit 16 that determines whether or not there is an abnormal object.
Here, for example, as the proximity sensor constituting the object detection unit 12 or the object detection unit 12, an output value (for example, a value of the detection result or a predetermined other value) is output only when the detection result changes. Whether the detection result has changed based on the difference between multiple values (for example, two values before and after in time) for the value depending on the distance to the object Since it is grasped | ascertained, it is included in this invention.

一構成例として、前記制御部16は、所定回分の通話に関して、前記物体検出部12により検出された値に基づいて、前記物体との間の距離に応じた値に変化がなかったと判定した場合に、前記物体検出部12により検出可能な位置に異常な物体が存在すると判定する。
ここで、前記した所定回(所定の回数)としては、好ましい一構成例として、1回を用いることができ、他の構成例として、2回以上の任意の回数を用いることができる。
一構成例として、前記所定回分の通話は、直近の、且つ、診断対象として有効な(例えば、診断対象として無効であるとする1つ以上の条件を満たさない)、且つ、着信時に受話した通話である。
一構成例として、前記制御部16は、前記物体検出部12により検出可能な位置に異常な物体が存在すると判定した場合に、その旨を示す情報(例えば、図5に示される情報)を画面に表示する。
As an example of the configuration, when the control unit 16 determines that there is no change in the value according to the distance to the object based on the value detected by the object detection unit 12 for a predetermined number of calls. In addition, it is determined that there is an abnormal object at a position detectable by the object detection unit 12.
Here, as the above-mentioned predetermined number of times (predetermined number of times), it is possible to use one time as a preferable configuration example, and it is possible to use any number of times equal to or more than twice as another configuration example.
As an example of the configuration, the predetermined number of calls is the most recent call that is valid as a diagnosis target (for example, does not satisfy one or more conditions that are invalid as a diagnosis target) and is received at the time of an incoming call It is.
As one configuration example, when the control unit 16 determines that an abnormal object exists at a position detectable by the object detection unit 12, information indicating that fact (for example, information shown in FIG. 5) is displayed on the screen. To display.

一構成例として、携帯端末装置1に備えられた物体検出部12が、物体との間の距離に応じた値を検出し、前記携帯端末装置1に備えられた制御部16が、前記物体検出部12により検出された複数の値に基づいて、前記物体検出部12により検出可能な位置に異常な物体が存在するか否かの情報を提供する、方法(異常検出方法)である。
一構成例として、携帯端末装置1に備えられた物体検出部12が、物体との間の距離に応じた値を検出するステップと、前記携帯端末装置1に備えられた制御部16が、前記物体検出部12により検出された複数の値に基づいて、前記物体検出部12により検出可能な位置に異常な物体が存在するか否かを判定するステップと、をコンピュータに実行させるためのプログラム(異常検出プログラム)である。
As an example of the configuration, the object detection unit 12 included in the mobile terminal device 1 detects a value corresponding to the distance to the object, and the control unit 16 included in the mobile terminal device 1 detects the object detection. This is a method (abnormality detection method) that provides information on whether or not an abnormal object exists at a position that can be detected by the object detection unit 12 based on a plurality of values detected by the unit 12.
As one configuration example, the object detection unit 12 included in the mobile terminal device 1 detects a value according to the distance to the object, and the control unit 16 included in the mobile terminal device 1 includes the A program for causing a computer to execute a step of determining whether or not an abnormal object exists at a position detectable by the object detection unit 12 based on a plurality of values detected by the object detection unit 12 ( Anomaly detection program).

[以上の実施形態のまとめ]
以上、本発明の実施形態について図面を参照して詳述したが、具体的な構成はこの実施形態に限られるものではなく、本発明の要旨を逸脱しない範囲の設計変更等も含まれる。
[Summary of the above embodiments]
As mentioned above, although embodiment of this invention was explained in full detail with reference to drawings, the concrete structure is not restricted to this embodiment, The design change etc. of the range which does not deviate from the summary of this invention are included.

また、以上に示した実施形態に係る装置(例えば、携帯端末装置1)の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより、処理を行ってもよい。   Further, a program for realizing the functions of the device according to the above-described embodiment (for example, the mobile terminal device 1) is recorded on a computer-readable recording medium, and the program recorded on the recording medium is stored in a computer system. It is also possible to perform processing by reading and executing.

なお、ここで言う「コンピュータシステム」とは、オペレーティング・システム(OS:Operating System)や周辺機器等のハードウェアを含むものであってもよい。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM(Read Only Memory)、フラッシュメモリ等の書き込み可能な不揮発性メモリ、DVD(Digital Versatile Disk)等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことを言う。
The “computer system” referred to here may include an operating system (OS) and hardware such as peripheral devices.
The “computer-readable recording medium” means a flexible disk, a magneto-optical disk, a ROM (Read Only Memory), a writable nonvolatile memory such as a flash memory, a portable medium such as a DVD (Digital Versatile Disk), A storage device such as a hard disk built in a computer system.

更に、「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(例えばDRAM(Dynamic Random Access Memory))のように、一定時間プログラムを保持しているものも含むものとする。
また、上記のプログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、或いは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことを言う。
また、上記のプログラムは、前述した機能の一部を実現するためのものであっても良い。更に、前述した機能をコンピュータシステムに既に記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。
Further, the “computer-readable recording medium” refers to a volatile memory (for example, DRAM (DRAM)) in a computer system that becomes a server or a client when a program is transmitted via a network such as the Internet or a communication line such as a telephone line. Dynamic Random Access Memory)) that holds a program for a certain period of time is also included.
The program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the “transmission medium” for transmitting a program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line.
Further, the above program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient.

1…携帯端末装置、11…通信部、12…物体検出部、13…操作部、14…表示部、15…記憶部、16…制御部、101〜104…画面 DESCRIPTION OF SYMBOLS 1 ... Portable terminal device, 11 ... Communication part, 12 ... Object detection part, 13 ... Operation part, 14 ... Display part, 15 ... Memory | storage part, 16 ... Control part, 101-104 ... Screen

Claims (10)

物体との間の距離に応じた値を検出する物体検出部と、
前記物体検出部により検出された複数の値に基づいて、前記物体検出部により検出可能な位置に異常な物体が存在するか否かを判定する制御部と、
を備え
前記制御部は、前記物体検出部により検出された複数の値に基づいて、通話時に、物体との間の距離が所定の閾値より遠いことを示す値であり、その後、物体との間の距離が所定の閾値より近いことを示す値であり、その後、再び、物体との間の距離が所定の閾値より遠いことを示す値である、ことが満たされない場合に、前記物体検出部により検出可能な位置に異常な物体が存在すると判定する、
携帯端末装置。
An object detection unit for detecting a value according to the distance between the object,
A control unit for determining whether or not an abnormal object exists at a position detectable by the object detection unit based on a plurality of values detected by the object detection unit;
Equipped with a,
The control unit is a value indicating that the distance to the object is farther than a predetermined threshold during a call based on a plurality of values detected by the object detection unit, and then the distance to the object Can be detected by the object detection unit when it is not satisfied that the distance to the object is a value indicating that the distance to the object is further than the predetermined threshold. To determine that there is an abnormal object
Mobile terminal device.
前記物体検出部は、予め定められた時間間隔で、前記検出を行う、
請求項1に記載の携帯端末装置。
The object detection unit performs the detection at a predetermined time interval.
The mobile terminal device according to claim 1.
前記物体検出部は、予め定められた時間帯、或いは、画面がオンであるときのうちの一方又は両方が満たされるときに、前記検出を行う、
請求項1に記載の携帯端末装置。
The object detection unit performs the detection when a predetermined time zone or one or both of when the screen is on is satisfied,
The mobile terminal device according to claim 1.
物体との間の距離に応じた値を検出する物体検出部と、
前記物体検出部により検出された複数の値に基づいて、前記物体検出部により検出可能な位置に異常な物体が存在するか否かを判定する制御部と、
を備え
前記制御部は、所定回分の通話に関して、前記物体検出部により検出された値に基づいて、前記物体との間の距離に応じた値に変化がなかったと判定した場合に、前記物体検出部により検出可能な位置に異常な物体が存在すると判定する、
携帯端末装置。
An object detection unit for detecting a value according to the distance between the object,
A control unit for determining whether or not an abnormal object exists at a position detectable by the object detection unit based on a plurality of values detected by the object detection unit;
Equipped with a,
When the control unit determines that there is no change in the value according to the distance to the object based on the value detected by the object detection unit for a predetermined number of calls, the object detection unit It is determined that an abnormal object exists at a detectable position.
Mobile terminal device.
前記所定回分の通話は、直近の、且つ、診断対象として有効な、且つ、着信時に受話した通話である、
請求項に記載の携帯端末装置。
The predetermined number of calls is a call that has been received at the time of an incoming call, which is the latest and effective for diagnosis.
The mobile terminal device according to claim 4 .
前記制御部は、前記物体検出部により検出可能な位置に異常な物体が存在すると判定した場合に、その旨を示す情報を画面に表示する、
請求項1から請求項のいずれか1項に記載の携帯端末装置。
When the control unit determines that there is an abnormal object at a position detectable by the object detection unit, the control unit displays information indicating that on the screen.
The portable terminal device according to any one of claims 1 to 5 .
携帯端末装置に備えられた物体検出部が、物体との間の距離に応じた値を検出し、
前記携帯端末装置に備えられた制御部が、前記物体検出部により検出された複数の値に基づいて、前記物体検出部により検出可能な位置に異常な物体が存在するか否かの情報を提供し、このとき、前記制御部は、前記物体検出部により検出された複数の値に基づいて、通話時に、物体との間の距離が所定の閾値より遠いことを示す値であり、その後、物体との間の距離が所定の閾値より近いことを示す値であり、その後、再び、物体との間の距離が所定の閾値より遠いことを示す値である、ことが満たされない場合に、前記物体検出部により検出可能な位置に異常な物体が存在すると判定する
異常検出方法。
The object detection unit provided in the mobile terminal device detects a value according to the distance to the object,
Based on a plurality of values detected by the object detection unit, a control unit provided in the portable terminal device provides information on whether or not an abnormal object exists at a position detectable by the object detection unit At this time, the control unit is a value indicating that the distance to the object is farther than a predetermined threshold during a call based on the plurality of values detected by the object detection unit, and then the object The object is a value indicating that the distance between the object and the object is closer than a predetermined threshold, and then the value indicating that the distance between the object and the object is further than the predetermined threshold is not satisfied. It is determined that an abnormal object exists at a position that can be detected by the detection unit .
Anomaly detection method.
携帯端末装置に備えられた物体検出部が、物体との間の距離に応じた値を検出し、
前記携帯端末装置に備えられた制御部が、前記物体検出部により検出された複数の値に基づいて、前記物体検出部により検出可能な位置に異常な物体が存在するか否かの情報を提供し、このとき、前記制御部は、所定回分の通話に関して、前記物体検出部により検出された値に基づいて、前記物体との間の距離に応じた値に変化がなかったと判定した場合に、前記物体検出部により検出可能な位置に異常な物体が存在すると判定する、
異常検出方法。
The object detection unit provided in the mobile terminal device detects a value according to the distance to the object,
Based on a plurality of values detected by the object detection unit, a control unit provided in the portable terminal device provides information on whether or not an abnormal object exists at a position detectable by the object detection unit At this time, when the control unit determines that there is no change in the value according to the distance to the object based on the value detected by the object detection unit for a predetermined number of calls, It is determined that an abnormal object exists at a position that can be detected by the object detection unit.
Anomaly detection method.
携帯端末装置に備えられた物体検出部が、物体との間の距離に応じた値を検出するステップと、
前記携帯端末装置に備えられた制御部が、前記物体検出部により検出された複数の値に基づいて、前記物体検出部により検出可能な位置に異常な物体が存在するか否かを判定し、このとき、前記物体検出部により検出された複数の値に基づいて、通話時に、物体との間の距離が所定の閾値より遠いことを示す値であり、その後、物体との間の距離が所定の閾値より近いことを示す値であり、その後、再び、物体との間の距離が所定の閾値より遠いことを示す値である、ことが満たされない場合に、前記物体検出部により検出可能な位置に異常な物体が存在すると判定するステップと、
をコンピュータに実行させるための異常検出プログラム。
A step of detecting a value according to a distance between the object detection unit provided in the mobile terminal device;
The control unit provided in the portable terminal device determines whether or not an abnormal object exists at a position detectable by the object detection unit based on a plurality of values detected by the object detection unit , At this time, based on a plurality of values detected by the object detection unit, it is a value indicating that the distance to the object is far from a predetermined threshold during a call, and then the distance to the object is predetermined. The position that can be detected by the object detection unit when it is not satisfied that the distance between the object and the object is a value that indicates that the distance to the object is more than the predetermined threshold. a step of determining an abnormal object is present in,
An abnormality detection program to make a computer execute.
携帯端末装置に備えられた物体検出部が、物体との間の距離に応じた値を検出するステップと、
前記携帯端末装置に備えられた制御部が、前記物体検出部により検出された複数の値に基づいて、前記物体検出部により検出可能な位置に異常な物体が存在するか否かを判定し、このとき、所定回分の通話に関して、前記物体検出部により検出された値に基づいて、前記物体との間の距離に応じた値に変化がなかったと判定した場合に、前記物体検出部により検出可能な位置に異常な物体が存在すると判定するステップと、
をコンピュータに実行させるための異常検出プログラム。
A step of detecting a value according to a distance between the object detection unit provided in the mobile terminal device;
The control unit provided in the portable terminal device determines whether or not an abnormal object exists at a position detectable by the object detection unit based on a plurality of values detected by the object detection unit , At this time, when it is determined that the value corresponding to the distance to the object has not changed based on the value detected by the object detection unit for a predetermined number of calls, the object detection unit can detect a step of determining an abnormal object is present in the Do position,
An abnormality detection program to make a computer execute.
JP2013124793A 2013-03-12 2013-06-13 Portable terminal device, abnormality detection method, and abnormality detection program Expired - Fee Related JP6150626B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013124793A JP6150626B2 (en) 2013-03-12 2013-06-13 Portable terminal device, abnormality detection method, and abnormality detection program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2013049372 2013-03-12
JP2013049372 2013-03-12
JP2013124793A JP6150626B2 (en) 2013-03-12 2013-06-13 Portable terminal device, abnormality detection method, and abnormality detection program

Publications (2)

Publication Number Publication Date
JP2014200057A JP2014200057A (en) 2014-10-23
JP6150626B2 true JP6150626B2 (en) 2017-06-21

Family

ID=52356713

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013124793A Expired - Fee Related JP6150626B2 (en) 2013-03-12 2013-06-13 Portable terminal device, abnormality detection method, and abnormality detection program

Country Status (1)

Country Link
JP (1) JP6150626B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254611A (en) * 2016-07-07 2016-12-21 乐视控股(北京)有限公司 The method of testing of terminal unit and test system
JP6561959B2 (en) * 2016-10-12 2019-08-21 オンキヨー株式会社 Electronics
CN106791120B (en) * 2016-12-27 2020-05-12 Oppo广东移动通信有限公司 Control method and device for screen-off of mobile terminal
CN109115261B (en) * 2017-06-26 2021-09-17 深圳回收宝科技有限公司 Terminal detection device and terminal recovery equipment
CN113422860B (en) * 2021-06-22 2024-01-09 广州绿怡信息科技有限公司 Method and device for detecting abnormal call

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000307934A (en) * 1999-04-15 2000-11-02 Casio Comput Co Ltd Method and device for picking up image
JP2002144260A (en) * 2000-11-13 2002-05-21 Sony Corp Leg type moving robot and its control method
JP2002198894A (en) * 2000-12-27 2002-07-12 Toshiba Corp Radio communication terminal
JPWO2013018342A1 (en) * 2011-08-04 2015-03-05 パナソニック株式会社 Information terminal device and object discrimination device
JP2013243450A (en) * 2012-05-18 2013-12-05 Sharp Corp Portable terminal

Also Published As

Publication number Publication date
JP2014200057A (en) 2014-10-23

Similar Documents

Publication Publication Date Title
US11886695B2 (en) Notification processing method and electronic device
JP6150626B2 (en) Portable terminal device, abnormality detection method, and abnormality detection program
RU2550540C2 (en) Visual compensation method and device
US20180268783A1 (en) Automated user device damage remidiation
US10558334B2 (en) Electronic device and method for messaging
EP3065385A1 (en) Mobile terminal talk mode switching method, device and storage medium
EP3119065B1 (en) Mobile terminal and method for preventing inadvertent dialing
CN102054339A (en) Method for preventing myopia and electronic display equipment
WO2017189549A1 (en) Method and system for verifying transmission of multimedia messages
CN103095915B (en) A kind of method that prevents maloperation and mobile phone based on touch-screen mobile phone
CN107147779A (en) Information cuing method and device
CN106603801B (en) Call recording method and device
CN106385488A (en) Method and device for recovering normal work mode
US20140194159A1 (en) Hand activated mode setting
CN105204713A (en) Incoming call responding method and device
EP2927788B1 (en) Electronic device of messaging and method thereof
CN104536640B (en) Background picture inspection method and device
CN106371941A (en) Running state adjustment method and apparatus
CN107273173B (en) Fingerprint sensor control method and device and storage medium
CN109521923A (en) Suspension window control method, device and storage medium
CN111432073A (en) Mobile terminal control method and device, storage medium and mobile terminal
CN112445405B (en) Method and device for detecting type of trigger operation, electronic equipment and storage medium
NL2013730B1 (en) Method.
CN106547422A (en) Realize returning method, device and the mobile terminal of operation
CN106878532B (en) Information display method, information display device and terminal

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160127

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20160128

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161011

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161018

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161213

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20161214

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170523

R150 Certificate of patent or registration of utility model

Ref document number: 6150626

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees