JP2018018549A - Electronic device - Google Patents

Electronic device Download PDF

Info

Publication number
JP2018018549A
JP2018018549A JP2017211787A JP2017211787A JP2018018549A JP 2018018549 A JP2018018549 A JP 2018018549A JP 2017211787 A JP2017211787 A JP 2017211787A JP 2017211787 A JP2017211787 A JP 2017211787A JP 2018018549 A JP2018018549 A JP 2018018549A
Authority
JP
Japan
Prior art keywords
electronic device
controller
proximity sensor
sensor
gesture
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.)
Pending
Application number
JP2017211787A
Other languages
Japanese (ja)
Inventor
茂輝 田辺
Shigeki Tanabe
茂輝 田辺
英樹 森田
Hideki Morita
英樹 森田
功 益池
Isao Masuike
功 益池
信弥 齋藤
Shinya Saito
信弥 齋藤
康 北村
Yasushi Kitamura
康 北村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kyocera Corp
Original Assignee
Kyocera Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyocera Corp filed Critical Kyocera Corp
Priority to JP2017211787A priority Critical patent/JP2018018549A/en
Publication of JP2018018549A publication Critical patent/JP2018018549A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To prevent false operation of a proximity sensor.SOLUTION: An electronic device comprises a controller which performs processing on the basis of a gesture. The controller starts the processing on the basis of the gesture according to a physical state of the electronic device.SELECTED DRAWING: Figure 1

Description

本発明は電子機器に関する。   The present invention relates to an electronic device.

従来、ユーザが端末から離れて行うジェスチャを赤外線センサにより認識し、ジェスチャと対応する入力操作を実行する携帯端末が知られている(例えば特許文献1)。   2. Description of the Related Art Conventionally, a portable terminal that recognizes a gesture performed by a user away from a terminal using an infrared sensor and performs an input operation corresponding to the gesture is known (for example, Patent Document 1).

特開2015−225493号公報Japanese Patent Laying-Open No. 2015-225493

ユーザが上記携帯端末を手に持って移動しているときにはジェスチャを認識する必要は必ずしもないが、上記特許文献1では、そのようなときにも赤外線センサが駆動状態にありジェスチャを認識する。したがって、ユーザが意図しないジェスチャが受け付けられ、端末が誤動作する可能性がある。赤外線センサの代わりに他の方式の近接センサが用いられるときも同様である。   Although it is not always necessary to recognize a gesture when the user is moving while holding the portable terminal, in Patent Document 1, the infrared sensor is in a driving state and recognizes the gesture even in such a case. Therefore, a gesture unintended by the user is accepted, and the terminal may malfunction. The same applies when another type of proximity sensor is used instead of the infrared sensor.

かかる事情に鑑みてなされた本発明の目的は、近接センサの誤動作を防止することができる電子機器を提供することにある。   An object of the present invention made in view of such circumstances is to provide an electronic device capable of preventing a malfunction of a proximity sensor.

一態様の電子機器は、
ジェスチャに基づいて処理を行うコントローラ、
を備え、
前記コントローラは、
電子機器の物理的な状態に応じて、ジェスチャに基づく処理を開始する。
One aspect of the electronic device is:
A controller that performs processing based on gestures,
With
The controller is
Processing based on the gesture is started according to the physical state of the electronic device.

一態様の電子機器は、
近接センサと、
コントローラと、
を備え、
前記コントローラは、
電子機器の物理的な状態に応じて、前記近接センサで検出されるジェスチャに基づく処理を開始する。
One aspect of the electronic device is:
A proximity sensor;
A controller,
With
The controller is
The processing based on the gesture detected by the proximity sensor is started according to the physical state of the electronic device.

一態様の電子機器は、
ジェスチャに基づいて処理を行うコントローラ、
を備え、
前記コントローラは、
所定のモードになると、前記ジェスチャに基づいた処理を開始し、
前記所定のモード中に、イベントが発生すると、前記所定のモードを維持したまま、前記ジェスチャに基づいた処理を停止する。
One aspect of the electronic device is:
A controller that performs processing based on gestures,
With
The controller is
When the predetermined mode is entered, processing based on the gesture is started,
If an event occurs during the predetermined mode, the processing based on the gesture is stopped while the predetermined mode is maintained.

一態様の電子機器は、
近接センサと、
コントローラと、
を備え、
前記コントローラは、
前記近接センサが駆動状態にある所定のモード中に、イベントが発生すると、前記所定のモードを維持したまま、前記近接センサの駆動を停止させる。
One aspect of the electronic device is:
A proximity sensor;
A controller,
With
The controller is
When an event occurs during a predetermined mode in which the proximity sensor is in a driving state, the driving of the proximity sensor is stopped while maintaining the predetermined mode.

一態様の電子機器は、
近接センサと、
コントローラと、
を備え、
前記コントローラは、
前記近接センサが第1モードで駆動する所定のモード中に、イベントが発生すると、前記所定のモードを維持したまま、前記近接センサを前記第1モードとは異なる第2モードで駆動させる。
One aspect of the electronic device is:
A proximity sensor;
A controller,
With
The controller is
If an event occurs during a predetermined mode in which the proximity sensor is driven in the first mode, the proximity sensor is driven in a second mode different from the first mode while maintaining the predetermined mode.

本発明の一実施形態に係る電子機器によれば、近接センサの誤動作を防止することができる。   According to the electronic device according to the embodiment of the present invention, it is possible to prevent the proximity sensor from malfunctioning.

一実施形態に係る電子機器の概略構成図である。It is a schematic block diagram of the electronic device which concerns on one Embodiment. ユーザがジェスチャにより電子機器を操作する様子を示す図である。It is a figure which shows a mode that a user operates an electronic device with gesture. (a)は電子機器の正面図である。(b)及び(c)は、ユーザと電子機器との位置関係の一例を示す図である。(A) is a front view of an electronic device. (B) And (c) is a figure which shows an example of the positional relationship of a user and an electronic device. ユーザと電子機器との位置関係の他の例を示す図である。It is a figure which shows the other example of the positional relationship of a user and an electronic device. 一実施形態に係る電子機器が実行する処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process which the electronic device which concerns on one Embodiment performs. 一実施形態に係る電子機器が実行する処理の他の例を示すフローチャートである。It is a flowchart which shows the other example of the process which the electronic device which concerns on one Embodiment performs.

図1に示すように一実施形態の電子機器1は、コントローラ11、タイマー12、カメラ13、ディスプレイ14、マイク15、ストレージ16、通信ユニット17、近接センサ(ジェスチャセンサ)18、UV(ultraviolet)センサ19を含む。電子機器1はさらに、照度センサ20、加速度センサ21、地磁気センサ22、及び気圧センサ23及びジャイロセンサ24を含む。図1は例示であるため、電子機器1は図1に示す構成要素を全て含む必要はない。また、電子機器1は図1に示す以外の構成要素を含んでもよい。   As shown in FIG. 1, an electronic device 1 according to an embodiment includes a controller 11, a timer 12, a camera 13, a display 14, a microphone 15, a storage 16, a communication unit 17, a proximity sensor (gesture sensor) 18, and a UV (ultraviolet) sensor. 19 is included. The electronic device 1 further includes an illuminance sensor 20, an acceleration sensor 21, a geomagnetic sensor 22, an atmospheric pressure sensor 23, and a gyro sensor 24. Since FIG. 1 is an example, the electronic apparatus 1 does not have to include all the components shown in FIG. Moreover, the electronic device 1 may include components other than those shown in FIG.

コントローラ11は、例えばCPU(Central Processing Unit)等のプロセッサである。コントローラ11は、他の構成要素が統合されたSoC(System-on-a-Chip)等の集積回路であってもよい。コントローラ11は、複数の集積回路を組み合わせて構成されてもよい。コントローラ10は、電子機器1の動作を統括的に制御して各種の機能を実現する。   The controller 11 is a processor such as a CPU (Central Processing Unit). The controller 11 may be an integrated circuit such as an SoC (System-on-a-Chip) in which other components are integrated. The controller 11 may be configured by combining a plurality of integrated circuits. The controller 10 controls various operations of the electronic device 1 to realize various functions.

具体的にはコントローラ11は、ストレージ16に記憶されているデータを必要に応じて参照する。コントローラ11は、ストレージ16に記憶されているプログラムに含まれる命令を実行してディスプレイ14、マイク15等の他の機能部を制御することによって各種機能を実現する。   Specifically, the controller 11 refers to data stored in the storage 16 as necessary. The controller 11 implements various functions by executing instructions included in the program stored in the storage 16 and controlling other functional units such as the display 14 and the microphone 15.

後述する通り、コントローラ11は、電子機器1の物理的な状態に応じてジェスチャに基づく処理を行い、また、イベントが発生するとジェスチャに基づいた処理を停止する。   As will be described later, the controller 11 performs a process based on a gesture according to the physical state of the electronic device 1 and stops the process based on the gesture when an event occurs.

タイマー12はコントローラ11からタイマー動作の指示を受け、所定時間経過した時点で、その旨を示す信号をコントローラ11に出力する。タイマー12は図1に示すようにコントローラ11の外部に備えられていてもよいし、コントローラ11の内部に含まれてもよい。   The timer 12 receives a timer operation instruction from the controller 11 and outputs a signal indicating that to the controller 11 when a predetermined time has elapsed. The timer 12 may be provided outside the controller 11 as illustrated in FIG. 1 or may be included inside the controller 11.

カメラ13は、電子機器1の周囲の被写体を撮像する。一実施形態のカメラ13は一例として、電子機器1のディスプレイ14が設けられる面に設けられるインカメラである。   The camera 13 images a subject around the electronic device 1. As an example, the camera 13 of the embodiment is an in-camera provided on the surface of the electronic device 1 on which the display 14 is provided.

ディスプレイ14は、液晶ディスプレイ(Liquid Crystal Display)、有機ELパネル(Organic Electro-Luminescence Panel)、又は無機ELパネル(Inorganic Electro-Luminescence Panel)等を備える。ディスプレイ14は、文字、画像、記号又は図形等を表示する。ディスプレイ14は、タッチスクリーンを含んで、タッチスクリーンに対する指、又はスタイラスペン等の接触を検出してもよい。この場合ディスプレイ14は、複数の指、又はスタイラスペン等がタッチスクリーンに接触した位置を検出することができる。   The display 14 includes a liquid crystal display, an organic EL panel (Organic Electro-Luminescence Panel), an inorganic EL panel (Inorganic Electro-Luminescence Panel), or the like. The display 14 displays characters, images, symbols or figures. The display 14 may include a touch screen, and may detect contact with a finger or a stylus pen on the touch screen. In this case, the display 14 can detect a position where a plurality of fingers, a stylus pen, or the like touches the touch screen.

マイク15は、人が発する声を含む、電子機器1の周囲の音を検出する。   The microphone 15 detects sounds around the electronic device 1 including a voice uttered by a person.

ストレージ16は記憶部としてプログラム及びデータを記憶する。ストレージ16は、コントローラ11の処理結果を一時的に記憶する。ストレージ16は、半導体記憶デバイス、及び磁気記憶デバイス等の任意の記憶デバイスを含んでよい。ストレージ16は、複数の種類の記憶デバイスを含んでよい。ストレージ16は、メモリカード等の可搬の記憶媒体と、記憶媒体の読み取り装置との組み合わせを含んでよい。   The storage 16 stores programs and data as a storage unit. The storage 16 temporarily stores the processing result of the controller 11. The storage 16 may include any storage device such as a semiconductor storage device and a magnetic storage device. The storage 16 may include a plurality of types of storage devices. The storage 16 may include a combination of a portable storage medium such as a memory card and a storage medium reading device.

ストレージ16に記憶されるプログラムには、フォアグランド又はバックグランドで実行されるアプリケーションと、アプリケーションの動作を支援する制御プログラムとを含む。アプリケーションは、例えば、ジェスチャに応じた処理をコントローラ11に実行させる。制御プログラムは、例えば、OS(Operating System)である。アプリケーション及び制御プログラムは、通信ユニット17による無線通信又は記憶媒体を介してストレージ16にインストールされてもよい。   The programs stored in the storage 16 include an application executed in the foreground or the background and a control program that supports the operation of the application. For example, the application causes the controller 11 to execute processing according to the gesture. The control program is, for example, an OS (Operating System). The application and the control program may be installed in the storage 16 via wireless communication by the communication unit 17 or a storage medium.

通信ユニット17は、有線又は無線により通信するためのインタフェースである。一実施形態の通信ユニット17によって行われる通信方式は、無線通信規格である。例えば、無線通信規格として、2G、3G、4G等のセルラーフォンの通信規格がある。例えばセルラーフォンの通信規格は、LTE(Long Term Evolution)、W−CDMA(Wideband Code Division Multiple Access)、CDMA2000、PDC(Personal Digital Cellular)、GSM(登録商標)(Global System for Mobile communications)、PHS(Personal Handy-phone System)等を含む。例えば、無線通信規格として、WiMAX(Worldwide Interoperability for Microwave Access)、IEEE802.11、Bluetooth(登録商標)、IrDA(Infrared Data Association)、NFC(Near Field Communication)等がある。通信ユニット17は、上述した通信規格の1つ又は複数をサポートすることができる。   The communication unit 17 is an interface for communicating by wire or wireless. The communication method performed by the communication unit 17 of one embodiment is a wireless communication standard. For example, wireless communication standards include cellular phone communication standards such as 2G, 3G, and 4G. For example, the cellular phone communication standards include LTE (Long Term Evolution), W-CDMA (Wideband Code Division Multiple Access), CDMA2000, PDC (Personal Digital Cellular), GSM (registered trademark) (Global System for Mobile communications), PHS ( Personal Handy-phone System). Examples of wireless communication standards include WiMAX (Worldwide Interoperability for Microwave Access), IEEE 802.11, Bluetooth (registered trademark), IrDA (Infrared Data Association), NFC (Near Field Communication), and the like. The communication unit 17 can support one or more of the communication standards described above.

近接センサ18は、電子機器1の周囲の対象物との相対距離、対象物の移動方向(ジェスチャー)等を非接触で検出する。一実施形態の近接センサ18は白、赤、緑及び青を感知する4つの可視光フォトダイオードを有し、対象物との相対距離を測定することができる。また近接センサ18は1つの光源用赤外LED(Light Emitting Diode)と上下左右を感知する4つの赤外フォトダイオードとを有する。近接センサ18は、光源用赤外LEDからの赤外光が照射された対象物からの反射光がそれぞれの赤外フォトダイオードに入射する時間差により対象物の移動方向を検出する。したがって、近接センサ18は、電子機器1の使用者が電子機器1に触れずに行うエアジェスチャ(以下、単にジェスチャと称する。)を検出することができる。   The proximity sensor 18 detects the relative distance from the objects around the electronic device 1, the moving direction (gesture) of the objects, and the like in a non-contact manner. The proximity sensor 18 of one embodiment has four visible light photodiodes that sense white, red, green and blue, and can measure the relative distance to the object. The proximity sensor 18 includes one light source infrared LED (Light Emitting Diode) and four infrared photodiodes that sense up, down, left, and right. The proximity sensor 18 detects the moving direction of the object based on the time difference in which the reflected light from the object irradiated with the infrared light from the light source infrared LED enters each infrared photodiode. Therefore, the proximity sensor 18 can detect an air gesture (hereinafter simply referred to as a gesture) performed by the user of the electronic device 1 without touching the electronic device 1.

UVセンサ19は、太陽光等に含まれる紫外線量を測定することができる。   The UV sensor 19 can measure the amount of ultraviolet rays contained in sunlight or the like.

照度センサ20は、当該照度センサ20に入射する周囲光の照度を検出する。   The illuminance sensor 20 detects the illuminance of ambient light incident on the illuminance sensor 20.

加速度センサ21は、電子機器1に働く加速度を検出する。   The acceleration sensor 21 detects acceleration acting on the electronic device 1.

地磁気センサ22は、地磁気の向きを検出する。一実施形態では、電子機器1の向きを地面に平行な面上に投影した成分が、地磁気センサ22で取得される向き情報である。地磁気センサ22で取得される向き情報は、電子機器1の方位である。   The geomagnetic sensor 22 detects the direction of geomagnetism. In one embodiment, the component obtained by projecting the orientation of the electronic device 1 onto a plane parallel to the ground is the orientation information acquired by the geomagnetic sensor 22. The orientation information acquired by the geomagnetic sensor 22 is the orientation of the electronic device 1.

気圧センサ23は、電子機器1の外側の気圧(大気圧)を検出する。   The atmospheric pressure sensor 23 detects the atmospheric pressure (atmospheric pressure) outside the electronic device 1.

ジャイロセンサ24は、電子機器1の角速度を検出する。コントローラ11は、ジャイロセンサ24により取得された角速度を1回時間積分することにより、電子機器1の向きを測定することができる。   The gyro sensor 24 detects the angular velocity of the electronic device 1. The controller 11 can measure the orientation of the electronic device 1 by integrating the angular velocity acquired by the gyro sensor 24 with time.

図2は、ユーザがジェスチャにより電子機器1を操作する様子を示す図である。図2では一例として電子機器1はスタンドにより支持されるが、代替例として電子機器1は壁に立てかけられて支持されてもよい。近接センサ18がユーザのジェスチャを検出すると、コントローラ11は当該ジェスチャに基づく処理を行う。ジェスチャに基づく処理とは、ディスプレイ14に表示された画面のスクロール、及びディスプレイ14に表示された画面のピンチイン又はピンチアウト等である。   FIG. 2 is a diagram illustrating a state in which the user operates the electronic device 1 with a gesture. In FIG. 2, the electronic device 1 is supported by a stand as an example, but as an alternative, the electronic device 1 may be supported against a wall. When the proximity sensor 18 detects a user gesture, the controller 11 performs processing based on the gesture. The process based on the gesture includes scrolling the screen displayed on the display 14 and pinching in or out the screen displayed on the display 14.

図2に示す電子機器1はスマートフォンである。代替例として電子機器1は例えば、携帯電話端末、ファブレット、タブレットPC又はフィーチャーフォン等でもよい。電子機器1は、前述のものに限定されず、例えば、PDA、リモコン端末、携帯音楽プレイヤー、ゲーム機、家電製品、産業用機器(FA機器)、などの任意の電子機器などに適用できる。さらに、電子機器1は、例えばデスクトップPC、銀行のATM、駅の券売機、デジタルカメラ、電子書籍リーダなど、ディスプレイ14を有する任意の機器に適用することができる。   The electronic device 1 shown in FIG. 2 is a smartphone. As an alternative example, the electronic device 1 may be, for example, a mobile phone terminal, a fablet, a tablet PC, or a feature phone. The electronic device 1 is not limited to the above-described one, and can be applied to any electronic device such as a PDA, a remote control terminal, a portable music player, a game machine, a home appliance, and an industrial device (FA device). Furthermore, the electronic device 1 can be applied to any device having the display 14 such as a desktop PC, a bank ATM, a station ticket vending machine, a digital camera, and an electronic book reader.

また、ディスプレイ14を備えた電子機器1は、自動車のステアリング、カーナビゲーション、及びダッシュボードに内装された車載コントロールパネルなど、その他、自動車に限らない各種の乗り物にも採用することができる。   In addition, the electronic device 1 including the display 14 can be employed in various vehicles such as a vehicle steering, a car navigation, and an in-vehicle control panel built in a dashboard.

以下、一実施形態において電子機器1のコントローラ11が実行する処理を詳細に説明する。   Hereinafter, a process executed by the controller 11 of the electronic device 1 in one embodiment will be described in detail.

[近接センサ18を駆動(ON)する処理]
コントローラ11は、近接センサ18の駆動を停止(OFF)させた状態において、次のように、電子機器1の物理的な状態に応じて自動的に近接センサ18を駆動し、ジェスチャに基づく処理を開始する。一実施形態では一例として、コントローラ11は、以下の第1のイベント、第2のイベント(又は第3のイベント)及び第4のイベントの全てが発生したと判定したときに近接センサ18を駆動する。
[Process for driving (ON) the proximity sensor 18]
In the state where the driving of the proximity sensor 18 is stopped (OFF), the controller 11 automatically drives the proximity sensor 18 according to the physical state of the electronic device 1 as follows, and performs processing based on the gesture. Start. In one embodiment, as an example, the controller 11 drives the proximity sensor 18 when it is determined that all of the following first event, second event (or third event), and fourth event have occurred. .

コントローラ11は、ユーザ操作に基づいて所定のモードが起動されたか否かを判定する。一実施形態の所定のモードは例えば、料理のレシピをディスプレイ14に表示するアプリケーション等が起動されているキッチンモードであるが、これに限られず電子機器1における任意のモードを含む。   The controller 11 determines whether a predetermined mode is activated based on a user operation. The predetermined mode of the embodiment is, for example, a kitchen mode in which an application for displaying a cooking recipe on the display 14 is activated, but is not limited thereto, and includes an arbitrary mode in the electronic apparatus 1.

[物理的な状態に関する第1のイベント]
所定のモードが起動されたことを検出したコントローラ11は、定期的に又は不定期的に、加速度センサ21から出力値を取得する。コントローラ11は、取得した出力値に基づいて、電子機器1の物理的な状態が静止状態であるか否かを判定する。静止状態とは例えば、机の上、膝の上、ベッドの上等に静止して置かれた状態である。例えばコントローラ11は、次の少なくとも1つが満たされるときに電子機器1が静止状態にあると判定してもよい。
(条件1)取得した出力値の変化量が所定値以内である
(条件2)取得した出力値が所定値以内である
(条件3)取得した出力値の変化パターンが所定のパターンに合致する
コントローラ11は、上記(条件1)乃至(条件3)の場合の少なくとも1つが所定時間継続したことをタイマー12により検出したときに、電子機器1が静止状態にあると判定してもよい。
[First event related to physical state]
The controller 11 that has detected that the predetermined mode has been activated acquires an output value from the acceleration sensor 21 periodically or irregularly. The controller 11 determines whether the physical state of the electronic device 1 is a stationary state based on the acquired output value. The stationary state is, for example, a state of being placed stationary on a desk, on a knee, on a bed or the like. For example, the controller 11 may determine that the electronic device 1 is in a stationary state when at least one of the following is satisfied.
(Condition 1) The amount of change in the acquired output value is within a predetermined value (Condition 2) The acquired output value is within the predetermined value (Condition 3) The acquired output value change pattern matches the predetermined pattern Controller 11 may determine that the electronic device 1 is in a stationary state when the timer 12 detects that at least one of the above (condition 1) to (condition 3) has continued for a predetermined time.

[物理的な状態に関する第2のイベント]
図2に示すように電子機器1とユーザとが対向する状態を、図3を参照して詳細に説明する。図3(a)に示す基準方向D1は、電子機器1の長手方向のうち、電子機器1のディスプレイ14の中央から見てレシーバが設けられる方向である。図3(a)において、基準方向D1は、重力の方向とは略逆方向である。一実施形態の近接センサ18は、通話時にディスプレイ14を消灯すべきか否かを判定する目的にも用いることが可能である。このため近接センサ18は電子機器1上部のレシーバから所定距離以内に設けられる。この配置関係のもとで電子機器1をジェスチャにより操作するためには、図3(b)に示すように、ユーザの手が、近接センサ18を基準として電子機器1に略垂直な領域を通過する必要がある。これは、デバイス特性又は構造設計上、視野角が存在するためである。このとき、ディスプレイ14はユーザの手により覆われるため、ユーザにとってディスプレイ14の視認は困難となる。しかしながら図3(c)に示すように、電子機器1の基準方向D1が図3(a)及び3(b)とは略逆方向であるとき、近接センサ18はユーザの体に対してより近傍に配置されるため、ユーザの手によりディスプレイ14の全体は覆われない。
[Second event related to physical state]
The state where the electronic device 1 and the user face each other as shown in FIG. 2 will be described in detail with reference to FIG. A reference direction D1 illustrated in FIG. 3A is a direction in which the receiver is provided when viewed from the center of the display 14 of the electronic device 1 in the longitudinal direction of the electronic device 1. In FIG. 3A, the reference direction D1 is substantially opposite to the direction of gravity. The proximity sensor 18 of one embodiment can also be used for the purpose of determining whether or not the display 14 should be turned off during a call. For this reason, the proximity sensor 18 is provided within a predetermined distance from the receiver above the electronic device 1. In order to operate the electronic device 1 with a gesture based on this arrangement relationship, as shown in FIG. 3B, the user's hand passes through a region substantially perpendicular to the electronic device 1 with the proximity sensor 18 as a reference. There is a need to. This is because a viewing angle exists in terms of device characteristics or structural design. At this time, since the display 14 is covered by the user's hand, it is difficult for the user to visually recognize the display 14. However, as shown in FIG. 3 (c), when the reference direction D1 of the electronic device 1 is substantially opposite to FIGS. 3 (a) and 3 (b), the proximity sensor 18 is closer to the user's body. Therefore, the entire display 14 is not covered by the user's hand.

そこでコントローラ11は、電子機器1の物理的な状態として、電子機器1の姿勢につき判定を行う。具体的にはコントローラ11は、次の2つが満たされると判定したとき、電子機器1の上下は逆であると判定する。
(条件1)加速度センサ21の出力値に基づいて、電子機器1の基準方向D1と重力の方向とがなす角のうち小さい方が所定値(例えば50度)以内である
(条件2)インカメラであるカメラ13により撮像された撮像画像の被写体にユーザが含まれる
このとき図3(c)に示すように、ユーザにとってディスプレイ14の視認は容易である。代替例としてコントローラ11は、上記(条件1)が満たされると判定したときに電子機器1の上下が逆であると判定してもよい。
Therefore, the controller 11 determines the attitude of the electronic device 1 as the physical state of the electronic device 1. Specifically, when it is determined that the following two are satisfied, the controller 11 determines that the electronic device 1 is upside down.
(Condition 1) Based on the output value of the acceleration sensor 21, the smaller one of the angles formed by the reference direction D1 of the electronic device 1 and the direction of gravity is within a predetermined value (for example, 50 degrees) (Condition 2) In-camera The user is included in the subject of the captured image captured by the camera 13 as shown in FIG. 3C. At this time, the display 14 is easy for the user to visually recognize. As an alternative example, the controller 11 may determine that the electronic device 1 is upside down when it is determined that the above (condition 1) is satisfied.

[物理的な状態に関する第3のイベント]
第2のイベントが発生しているか否かを判定することの代替例として、コントローラ11は、電子機器1の物理的な状態として、図4に示すような、電子機器1とユーザとの相対的な位置関係が成立しているか否かの判定を行ってもよい。図4に示す相対的な位置関係は、電子機器1の基準方向D1にユーザが存在する位置関係である。具体的にはコントローラ11は、加速度センサ21の出力値に基づいて、電子機器1の基準方向D1と重力の方向とがなす角が略90度であるか否かを判定する。またコントローラ11は、カメラ13を起動してユーザを含む被写体を撮像する。コントローラ11は撮像画像においてユーザが基準方向D1に対して上下逆に撮像されているか否かを判定する。上下逆に撮像されているか否かは、例えば、撮像画像においてユーザの鼻と目とを検出し、それらが基準方向D1に対して上下逆の位置関係で撮像されているか否かにより判定される。コントローラ11は、基準方向D1と重力の方向とがなす角が略90度であり且つ撮像画像においてユーザが略上下逆に撮像されていると判定したとき、電子機器1の基準方向D1にユーザが存在する位置関係が成立すると判定する。
[Third event related to physical state]
As an alternative example of determining whether or not the second event has occurred, the controller 11 uses the relative state between the electronic device 1 and the user as shown in FIG. 4 as the physical state of the electronic device 1. It may be determined whether or not a proper positional relationship is established. The relative positional relationship illustrated in FIG. 4 is a positional relationship in which the user exists in the reference direction D1 of the electronic device 1. Specifically, the controller 11 determines based on the output value of the acceleration sensor 21 whether or not the angle formed by the reference direction D1 of the electronic device 1 and the direction of gravity is approximately 90 degrees. In addition, the controller 11 activates the camera 13 and images a subject including the user. The controller 11 determines whether or not the user is imaged upside down with respect to the reference direction D1 in the captured image. Whether or not the image is captured upside down is determined, for example, by detecting the user's nose and eyes in the captured image and determining whether or not they are imaged in a position relationship upside down with respect to the reference direction D1. . When the controller 11 determines that the angle formed by the reference direction D1 and the direction of gravity is approximately 90 degrees and that the user is imaged approximately upside down in the captured image, the user is in the reference direction D1 of the electronic device 1. It is determined that the existing positional relationship is established.

[物理的な状態に関する第4のイベント]
コントローラ11は、電子機器1の上下が逆であると判定したとき、又は電子機器1の基準方向D1にユーザが存在する位置関係が成立すると判定したとき、電子機器1の物理的な状態として、電子機器1の環境につき判定を行う。具体的にはコントローラ11は、照度センサ20の出力値に基づいて、電子機器1の周囲(例えば部屋)の明るさが所定値以上であるか否かを判定する。明るさが所定値以上であると判定したとき、コントローラ11は近接センサ18を駆動する。代替例としてコントローラ11は、UVセンサ19の出力値又はカメラ13による撮像画像に基づいて、電子機器1の周囲の明るさが所定値以上であると判定したとき、近接センサ18を駆動してもよい。
[Fourth event related to physical state]
When the controller 11 determines that the electronic device 1 is upside down or determines that the positional relationship in which the user exists in the reference direction D1 of the electronic device 1 is established, the physical state of the electronic device 1 is as follows: A determination is made on the environment of the electronic device 1. Specifically, the controller 11 determines, based on the output value of the illuminance sensor 20, whether or not the brightness around the electronic device 1 (for example, a room) is greater than or equal to a predetermined value. When it is determined that the brightness is equal to or higher than the predetermined value, the controller 11 drives the proximity sensor 18. As an alternative example, the controller 11 may drive the proximity sensor 18 when it determines that the brightness around the electronic device 1 is greater than or equal to a predetermined value based on the output value of the UV sensor 19 or the image captured by the camera 13. Good.

以上説明したように、一実施形態のコントローラ11は、電子機器1の物理的な状態に応じて、ジェスチャに基づく処理を開始する。これにより、ジェスチャに基づく処理の開始時点を制御することができるため、意図しない時点で近接センサ18が誤動作することを防止することができ、且つ消費電力を低減することができる。また一実施形態によれば、例えばキッチンでの料理中等に手が汚れているとき、電子機器1が濡れているとき、又はお風呂でユーザが電子機器1に触れたくないとき等に、電子機器1は手をかざす操作を受け付けてディスプレイ14を駆動(ON)することができる。したがって、ユーザは電子機器1に触れること無く所望の操作を行うことができる。仮にハードキーが電子機器1の前面に設けられず側面に設けられ、側面のキーを押下しなければディスプレイ14を点灯させることができないような場合にも一実施形態の電子機器1は有効である。   As described above, the controller 11 according to the embodiment starts the process based on the gesture according to the physical state of the electronic device 1. Thereby, since the start time of the process based on the gesture can be controlled, it is possible to prevent the proximity sensor 18 from malfunctioning at an unintended time, and to reduce power consumption. According to an embodiment, for example, when a hand is dirty during cooking in a kitchen, the electronic device 1 is wet, or the user does not want to touch the electronic device 1 in a bath, etc. 1 can accept the operation of holding the hand and drive (ON) the display 14. Therefore, the user can perform a desired operation without touching the electronic device 1. The electronic device 1 according to the embodiment is also effective when the hard key is not provided on the front surface of the electronic device 1 but is provided on the side surface, and the display 14 cannot be turned on unless the key on the side surface is pressed. .

[近接センサ18の駆動を停止(OFF)させる処理]
一実施形態では一例として、コントローラ11は、近接センサ18が駆動状態である所定のモード中に次に例示するイベントの1つが発生すると、当該所定のモードを維持したまま、近接センサ18の駆動を停止させる。
[Process for Stopping (Off) Driving of Proximity Sensor 18]
In one embodiment, as an example, when one of the following events occurs during a predetermined mode in which the proximity sensor 18 is in a driving state, the controller 11 drives the proximity sensor 18 while maintaining the predetermined mode. Stop.

[第5のイベント]
コントローラ11は、電子機器1が物理的に動作中(静止状態でない)か否かを判定する。具体的にはコントローラ11は、加速度センサ21から出力値を取得し、次の少なくとも1つが満たされるとき、電子機器1が物理的に動作中であると判定してもよい。
(条件1)取得した出力値の変化量が所定値を上回る
(条件2)取得した出力値が所定値を上回る
(条件3)取得した出力値の変化パターンが所定のパターンに合致する
コントローラ11は、上記(条件1)乃至(条件3)の場合の少なくとも1つが所定時間継続したことをタイマー12により検出したときに、電子機器1が物理的に動作中であると判定してもよい。電子機器1が物理的に動作中であると判定したとき、コントローラ11は所定のモードを維持したまま、近接センサ18の駆動を停止させて、ジェスチャに基づく処理を停止する。
[Fifth event]
The controller 11 determines whether or not the electronic device 1 is physically operating (not in a stationary state). Specifically, the controller 11 may acquire an output value from the acceleration sensor 21 and determine that the electronic device 1 is physically operating when at least one of the following is satisfied.
(Condition 1) The amount of change in the acquired output value exceeds a predetermined value (Condition 2) The acquired output value exceeds the predetermined value (Condition 3) The acquired output value change pattern matches the predetermined pattern. When the timer 12 detects that at least one of the above (Condition 1) to (Condition 3) has continued for a predetermined time, it may be determined that the electronic device 1 is physically operating. When it is determined that the electronic device 1 is physically operating, the controller 11 stops driving the proximity sensor 18 while maintaining the predetermined mode, and stops the processing based on the gesture.

[第6のイベント]
コントローラ11は、近接センサ18が駆動状態にある所定のモード中に、電子機器1の上下が正しいか否かを判定する。具体的にはコントローラ11は、次の2つが満たされると判定したとき、電子機器1の上下が正しいと判定する。
(条件1)電子機器1の基準方向D1が重力の方向となす角のうち小さい方が所定値(例えば130度)以上である
(条件2)インカメラであるカメラ13により撮像された撮像画像の被写体にユーザが含まれる
代替例としてコントローラ11は、上記(条件1)が満たされると判定したときに電子機器1の上下が正しいと判定してもよい。コントローラ11は、電子機器1の上下が正しいと判定したとき、所定のモードを維持したまま近接センサ18の駆動を停止させて、ジェスチャに基づく処理を停止する。
[Sixth event]
The controller 11 determines whether or not the electronic device 1 is up and down during a predetermined mode in which the proximity sensor 18 is in a driving state. Specifically, when the controller 11 determines that the following two are satisfied, the controller 11 determines that the upper and lower sides of the electronic device 1 are correct.
(Condition 1) The smaller one of the angles formed by the reference direction D1 of the electronic device 1 and the direction of gravity is equal to or greater than a predetermined value (eg, 130 degrees). (Condition 2) As an alternative example in which the user is included in the subject, the controller 11 may determine that the upper and lower sides of the electronic device 1 are correct when it is determined that the above (condition 1) is satisfied. When the controller 11 determines that the top and bottom of the electronic device 1 are correct, the controller 11 stops driving the proximity sensor 18 while maintaining a predetermined mode, and stops processing based on the gesture.

[第7のイベント]
コントローラ11は、近接センサ18が駆動状態である所定のモード中に、照度センサ20の出力値に基づいて、電子機器1の周囲(例えば部屋)の明るさが所定値を下回るか否かを判定する。明るさが所定値を下回ると判定したとき、コントローラ11は所定のモードを維持したまま近接センサ18の駆動を停止させて、ジェスチャに基づく処理を停止する。
[Seventh Event]
The controller 11 determines whether or not the brightness of the surroundings (for example, the room) of the electronic device 1 is lower than the predetermined value based on the output value of the illuminance sensor 20 during the predetermined mode in which the proximity sensor 18 is in the driving state. To do. When it is determined that the brightness is lower than the predetermined value, the controller 11 stops driving the proximity sensor 18 while maintaining the predetermined mode, and stops the process based on the gesture.

[第8のイベント]
コントローラ11は、ディスプレイ14へ任意の物体(例えばユーザの指)がタッチしたこと又は電子機器1のキーが操作されたことを検出すると、近接センサ18の駆動を停止させる。これは、タッチが検出されたこと又は電子機器1のキーが操作されたときは、ジェスチャによる操作が不要であると考えられるためである。
[Eighth event]
When the controller 11 detects that an arbitrary object (for example, a user's finger) has touched the display 14 or has operated a key of the electronic apparatus 1, the controller 11 stops driving the proximity sensor 18. This is because when the touch is detected or the key of the electronic device 1 is operated, it is considered that the operation by the gesture is unnecessary.

以上説明したように、一実施形態のコントローラ11は、所定のモードになると、ジェスチャに基づいた処理を開始し、当該所定のモード中にイベントが発生すると、当該所定のモードを維持したまま、ジェスチャに基づいた処理を停止する。これにより、意図しないジェスチャが受け付けられて近接センサ18が誤動作することを防止することができる。また、近接センサ18を常時駆動する必要が無いため消費電力を低減することができる。   As described above, the controller 11 according to an embodiment starts processing based on a gesture when a predetermined mode is entered, and when an event occurs during the predetermined mode, the gesture is maintained while maintaining the predetermined mode. Stop processing based on. As a result, it is possible to prevent the proximity sensor 18 from malfunctioning due to an unintended gesture being received. Further, since it is not necessary to always drive the proximity sensor 18, power consumption can be reduced.

図5は、一実施形態に係る電子機器1が、近接センサ18が駆動停止の状態で任意の時点で実行する処理の一例を示すフロー図である。   FIG. 5 is a flowchart illustrating an example of processing executed by the electronic device 1 according to the embodiment at an arbitrary time when the proximity sensor 18 is in a driving stop state.

電子機器1は、所定のモードを検出したか否かを判定する(ステップS1)。電子機器1は、所定のモードを検出すると(ステップS1のYes)、加速度センサ21の出力値を定期的又は不定期的に取得する(ステップS2)。   The electronic device 1 determines whether or not a predetermined mode is detected (step S1). When the electronic device 1 detects the predetermined mode (Yes in step S1), the electronic device 1 acquires the output value of the acceleration sensor 21 regularly or irregularly (step S2).

続いて電子機器1は、当該電子機器1が静止状態にあるか否かを判定する(ステップS3)。静止状態にあるか否かの判定方法は上記実施形態で説明したため、ここでの説明は省略する。電子機器1は、電子機器1が静止状態にあると判定すると(ステップS3のYes)、電子機器1の上下が逆か否かを判定する(ステップS4)。電子機器1の上下が逆か否かの判定方法は上記実施形態で説明したため、ここでの説明は省略する。電子機器1は、電子機器1の上下が逆であると判定すると(ステップS4のYes)、電子機器1の周囲の明るさが所定値以上か否かを判定する(ステップS5)。電子機器1は、電子機器1の周囲の明るさが所定値以上であると判定すると(ステップS5のYes)、近接センサ18を駆動して、ジェスチャに基づく処理を開始する(ステップS6)。この結果、電子機器1は、ジェスチャに基づいて、ディスプレイ14に表示されたページのスクロール等の処理を行うことができる。   Subsequently, the electronic device 1 determines whether or not the electronic device 1 is in a stationary state (step S3). Since the method for determining whether or not the vehicle is in the stationary state has been described in the above embodiment, the description thereof is omitted here. When the electronic device 1 determines that the electronic device 1 is in a stationary state (Yes in step S3), the electronic device 1 determines whether the electronic device 1 is upside down (step S4). Since the method for determining whether the electronic device 1 is upside down has been described in the above embodiment, the description thereof is omitted here. If the electronic device 1 determines that the top and bottom of the electronic device 1 are upside down (Yes in step S4), the electronic device 1 determines whether the ambient brightness of the electronic device 1 is equal to or greater than a predetermined value (step S5). If the electronic device 1 determines that the brightness around the electronic device 1 is equal to or greater than the predetermined value (Yes in step S5), the electronic device 1 drives the proximity sensor 18 to start processing based on the gesture (step S6). As a result, the electronic device 1 can perform processing such as scrolling of the page displayed on the display 14 based on the gesture.

図6は一実施形態に係る電子機器1が、近接センサ18が駆動状態であり且つ所定のモード中に任意の時点で実行する処理の一例を示すフロー図である。   FIG. 6 is a flowchart illustrating an example of processing executed by the electronic device 1 according to the embodiment at an arbitrary time point when the proximity sensor 18 is in a driving state and in a predetermined mode.

電子機器1は、当該電子機器1が物理的に動作中であるか否かを判定する(ステップS11)。電子機器1が物理的に動作中であるか否かの判定方法は上記実施形態で説明したため、ここでの説明は省略する。電子機器1は、当該電子機器1が物理的に動作中であると判定すると(ステップS11のYes)、所定のモードを維持したまま近接センサ18の駆動を停止(OFF)させて、ジェスチャに基づく処理を停止する(ステップS14)。   The electronic device 1 determines whether or not the electronic device 1 is physically operating (step S11). Since the method for determining whether or not the electronic device 1 is physically operating has been described in the above embodiment, a description thereof is omitted here. When the electronic device 1 determines that the electronic device 1 is physically operating (Yes in step S11), the electronic device 1 stops driving (OFF) the proximity sensor 18 while maintaining the predetermined mode, and based on the gesture The process is stopped (step S14).

電子機器1は、当該電子機器1が物理的に動作中でないと判定すると(ステップS11のNo)、電子機器1の上下は正しいか否かを判定する(ステップS12)。電子機器1の上下が正しいか否かの判定方法は上記実施形態で説明した通りであるため、ここでの説明は省略する。電子機器1は、電子機器1の上下が正しいと判定すると(ステップS12のYes)、ステップS14を実行する。   If the electronic device 1 determines that the electronic device 1 is not physically operating (No in step S11), the electronic device 1 determines whether the upper and lower sides of the electronic device 1 are correct (step S12). The method for determining whether or not the electronic device 1 is up and down is as described in the above embodiment, and thus the description thereof is omitted here. If the electronic device 1 determines that the upper and lower sides of the electronic device 1 are correct (Yes in step S12), the electronic device 1 executes step S14.

電子機器1は、電子機器1の上下が正しくないと判定すると(ステップS12のNo)、電子機器1の周囲の明るさが所定値を下回るか否かを判定する(ステップS13)。電子機器1は、当該明るさが所定値を下回ると判定すると(ステップS13のYes)、ステップS14を実行する。電子機器1は、当該明るさが所定値を下回らないと判定すると(ステップS13のNo)、ステップS11に戻る。   If the electronic device 1 determines that the upper and lower sides of the electronic device 1 are not correct (No in step S12), the electronic device 1 determines whether or not the brightness around the electronic device 1 is below a predetermined value (step S13). If the electronic device 1 determines that the brightness is lower than the predetermined value (Yes in step S13), the electronic device 1 executes step S14. When the electronic device 1 determines that the brightness does not fall below the predetermined value (No in step S13), the electronic device 1 returns to step S11.

[他の実施形態]
上記実施形態では、コントローラ11はイベントが発生すると近接センサ18の駆動を停止させる。代替例としてコントローラ11は、近接センサ18の駆動を停止させる代わりに、近接センサ18を、第1モードの駆動から、第1モードとは異なる第2モードに切り換えて駆動する。第2モードでの駆動とは、例えば第1モードでの連続駆動に対する所定周期での間欠駆動又は第1モードより低消費電力での連続又は間欠駆動とすることができる。これにより電子機器1の消費電力を低減することができる。
[Other Embodiments]
In the above embodiment, the controller 11 stops driving the proximity sensor 18 when an event occurs. As an alternative example, instead of stopping the driving of the proximity sensor 18, the controller 11 switches the driving of the proximity sensor 18 from the driving in the first mode to the second mode different from the first mode. The driving in the second mode can be, for example, intermittent driving at a predetermined cycle with respect to continuous driving in the first mode, or continuous or intermittent driving with lower power consumption than in the first mode. Thereby, the power consumption of the electronic device 1 can be reduced.

上記実施形態では、コントローラ11は、加速度センサ21からの出力値に基づいて、電子機器1が静止状態にあるか否かを判定する。代替例としてコントローラ11は、次のうち少なくとも1つが満たされるときに電子機器1が静止状態にあると判定してもよい。
(条件1)電子機器1が乗り物上にない
(条件2)電子機器1の通話機能が停止中(OFF)である
(条件3)カメラ13で所定の時間間隔で撮像した複数の撮像画像間の変化の程度が所定値以内である
電子機器1が乗り物上にあるか否かは、例えば、ユーザによって運転モード又は機内モードが設定されているか否かにより判定されてもよいし、加速度センサ21からの出力値に基づいて判定されてもよい。
In the above embodiment, the controller 11 determines whether or not the electronic device 1 is in a stationary state based on the output value from the acceleration sensor 21. As an alternative example, the controller 11 may determine that the electronic device 1 is in a stationary state when at least one of the following is satisfied.
(Condition 1) The electronic device 1 is not on the vehicle (Condition 2) The call function of the electronic device 1 is stopped (OFF) (Condition 3) Between a plurality of captured images captured by the camera 13 at predetermined time intervals The degree of change is within a predetermined value Whether or not the electronic device 1 is on the vehicle may be determined, for example, based on whether or not the driving mode or the in-flight mode is set by the user. It may be determined based on the output value.

上記実施形態では、コントローラ11は、加速度センサ21からの出力値に基づいて、電子機器1が物理的に動作中であるか否かを判定する。代替例としてコントローラ11は次の少なくとも1つが満たされるとき電子機器1が物理的に動作中であると判定してもよい。
(条件1)カメラ13で所定の時間間隔で撮像した画像の変化の程度が所定値以上である
(条件2)ジャイロセンサ24で取得した角速度が所定値以上である
(条件3)地磁気センサ22で取得した方位の変化が所定値以上である
(条件4)気圧センサ23で取得した気圧の変化が所定値以上である
In the above embodiment, the controller 11 determines whether or not the electronic device 1 is physically operating based on the output value from the acceleration sensor 21. As an alternative, the controller 11 may determine that the electronic device 1 is physically operating when at least one of the following is satisfied:
(Condition 1) The degree of change of an image captured at a predetermined time interval by the camera 13 is a predetermined value or more (Condition 2) The angular velocity acquired by the gyro sensor 24 is a predetermined value or more (Condition 3) The geomagnetic sensor 22 The obtained change in azimuth is a predetermined value or more (Condition 4) The change in atmospheric pressure obtained by the atmospheric pressure sensor 23 is a predetermined value or more.

上記実施形態では、コントローラ11は、電子機器1の周囲の明るさが所定値以上であるときに近接センサ18を駆動する。換言すればコントローラ11は、電子機器1の周囲の明るさが所定値を下回ると判定したときに、近接センサ18の駆動を停止させる。これにより、例えば夜間には近接センサ18の駆動は停止するため、ユーザが夜寝ている間に不用意に手が電子機器1上に位置しても近接センサ18が誤動作することを防止することができる。代替例としてコントローラ11は、電子機器1の周囲の明るさが所定値を下回るときに近接センサ18を駆動してもよい。これにより例えば、電子機器1の周囲が暗い状況でも、ユーザはジェスチャにより電子機器1のディスプレイ14を駆動して電子機器1の位置を把握することができる。   In the above embodiment, the controller 11 drives the proximity sensor 18 when the brightness around the electronic device 1 is equal to or greater than a predetermined value. In other words, the controller 11 stops the driving of the proximity sensor 18 when it is determined that the brightness around the electronic device 1 is lower than the predetermined value. Accordingly, for example, the driving of the proximity sensor 18 is stopped at night, so that the proximity sensor 18 is prevented from malfunctioning even if the user is carelessly positioned on the electronic device 1 while the user is sleeping at night. Can do. As an alternative example, the controller 11 may drive the proximity sensor 18 when the brightness around the electronic device 1 falls below a predetermined value. Thereby, for example, even when the surroundings of the electronic device 1 are dark, the user can grasp the position of the electronic device 1 by driving the display 14 of the electronic device 1 with a gesture.

上記実施形態では、近接センサ18を駆動するための、物理的な状態に関するイベントが説明されている。代替例としてコントローラ11は、電子機器1が例えばスリープ状態にあるときに音声認識機能を動作させることで、マイク15から取得した音声情報を用いて音声認識を行い、所定のワードを検出したときに近接センサ18を駆動してもよい。所定のワードは、例えば単語、文章等である。これは、音声認識機能により所定のワードが検出されたことが、ユーザが電子機器1を直接操作することができない状態を示すと考えられるためである。コントローラ11は、音声認識機能の動作中にディスプレイ14へのタッチ又は電子機器1へのキー操作を検出したときには、近接センサ18の駆動を停止させたまま維持してもよい。   In the above embodiment, an event related to a physical state for driving the proximity sensor 18 is described. As an alternative example, the controller 11 performs voice recognition using the voice information acquired from the microphone 15 by operating the voice recognition function when the electronic device 1 is in a sleep state, for example, and detects a predetermined word. The proximity sensor 18 may be driven. The predetermined word is, for example, a word or a sentence. This is because the detection of a predetermined word by the voice recognition function is considered to indicate a state in which the user cannot directly operate the electronic device 1. When the controller 11 detects a touch on the display 14 or a key operation on the electronic device 1 during the operation of the voice recognition function, the controller 11 may maintain the drive of the proximity sensor 18 stopped.

スタンドアロンの音声認識機能は常に動作状態となることが可能であるが、音声認識機能により認識しストレージ16に記録できるワード長やワード数には制限がある。そこでコントローラ11は、ディスプレイ14の駆動(ON)又は駆動停止(OFF)にかかわらず音声認識機能を常時動作状態に維持し、その状態で所定のワードを検出したときに近接センサ18を駆動してもよい。   The stand-alone voice recognition function can always be in an operating state, but the word length and the number of words that can be recognized and recorded in the storage 16 by the voice recognition function are limited. Therefore, the controller 11 maintains the voice recognition function in an always operating state regardless of whether the display 14 is driven (ON) or stopped (OFF), and drives the proximity sensor 18 when a predetermined word is detected in that state. Also good.

上記実施形態では、電子機器1の上下が逆か否かを判定するために、コントローラ11は電子機器1の基準方向D1と重力の方向とがなす角のうち小さい方が所定値(例えば50度)以内か否かを判定する。代替例として、なす角の所定値は50度ではなく90度であってもよい。これにより、電子機器1が横向きであるときにもコントローラ11は近接センサ18を駆動にすることができる。   In the above-described embodiment, in order to determine whether the electronic device 1 is upside down, the controller 11 has a predetermined value (for example, 50 degrees) as the smaller one of the angles formed by the reference direction D1 of the electronic device 1 and the direction of gravity. ) Or not. As an alternative, the predetermined angle angle may be 90 degrees instead of 50 degrees. Thereby, the controller 11 can drive the proximity sensor 18 even when the electronic device 1 is in the horizontal direction.

上記実施形態では、物理的な状態に関する第1のイベント、第2のイベント(第3のイベント)及び第4のイベントが発生したと判定したときにコントローラ11は近接センサ18を駆動する。しかしながら近接センサ18を駆動するためのイベントはそれら以外のものを含んでもよいし、それらのうち任意のイベントのみであってもよい。また、近接センサ18を駆動するためのイベントが発生する順番は、任意に入れ替えることが可能である。近接センサ18の駆動を停止させるためのイベントについても同様である。   In the above embodiment, the controller 11 drives the proximity sensor 18 when it is determined that the first event, the second event (third event), and the fourth event related to the physical state have occurred. However, the event for driving the proximity sensor 18 may include other events, or only an arbitrary event among them. In addition, the order in which events for driving the proximity sensor 18 occur can be arbitrarily changed. The same applies to an event for stopping the driving of the proximity sensor 18.

上記実施形態では、コントローラ11は、照度センサ20の出力値に基づいて電子機器1の周囲の明るさが所定値を下回ると判定したときに近接センサ18の駆動を停止させる。代替例としてコントローラ11は、UVセンサ19の出力値又はカメラ13による撮像画像に基づいて、電子機器1の周囲の明るさが所定値を下回ると判定したとき、近接センサ18の駆動を停止させてもよい。   In the above embodiment, the controller 11 stops the driving of the proximity sensor 18 when it is determined that the brightness around the electronic device 1 is lower than a predetermined value based on the output value of the illuminance sensor 20. As an alternative example, when the controller 11 determines that the brightness around the electronic device 1 is lower than a predetermined value based on the output value of the UV sensor 19 or the image captured by the camera 13, the controller 11 stops driving the proximity sensor 18. Also good.

上記実施形態における、物理的な状態に関するイベントの代替例として、コントローラ11は例えば次の条件の少なくとも1つが満たされると判定したときに近接センサ18を駆動してもよい。
・現在の時刻が所定の時間帯に含まれる
・GPS(Global Positioning System)機能を利用して取得された電子機器1の位置が所定の範囲に含まれる
・マイク15により所定の環境音が検出された
・電子機器1が所定のWi−Fiに接続されている
・温度センサから取得した温度が所定値の範囲内である
コントローラ11は、近接センサ18の駆動状態においてこれらが満たされていないと判定したとき、近接センサ18の駆動を停止させてもよい。
As an alternative example of the event related to the physical state in the embodiment, the controller 11 may drive the proximity sensor 18 when it is determined that at least one of the following conditions is satisfied, for example.
-The current time is included in a predetermined time zone-The position of the electronic device 1 acquired using the GPS (Global Positioning System) function is included in a predetermined range-A predetermined environmental sound is detected by the microphone 15 The electronic device 1 is connected to a predetermined Wi-Fi. The temperature acquired from the temperature sensor is within a predetermined value range. The controller 11 determines that these are not satisfied in the driving state of the proximity sensor 18. Then, the drive of the proximity sensor 18 may be stopped.

上記実施形態において、コントローラ11は、図1に示す複数のセンサからの出力値を組み合わせ、センサフュージョンを実行することができる。これによりコントローラ11は、例えば電子機器1の状態等をより正確に算出することができる。   In the above embodiment, the controller 11 can combine the output values from the plurality of sensors shown in FIG. 1 and execute sensor fusion. Thereby, the controller 11 can calculate, for example, the state of the electronic device 1 more accurately.

本開示内容の多くの側面は、プログラム命令を実行可能なコンピュータシステムその他のハードウェアにより実行される、一連の動作として示される。コンピュータシステムその他のハードウェアには、例えば、汎用コンピュータ、PC(パーソナルコンピュータ)、専用コンピュータ、ワークステーション、PCS(Personal Communications System、パーソナル移動通信システム)、移動(セルラー)電話機、データ処理機能を備えた移動電話機、RFID受信機、ゲーム機、電子ノートパッド、ラップトップコンピュータ、GPS(Global Positioning System)受信機またはその他のプログラム可能なデータ処理装置が含まれる。各実施形態では、種々の動作は、プログラム命令(ソフトウェア)で実装された専用回路(例えば、特定機能を実行するために相互接続された個別の論理ゲート)や、一以上のプロセッサにより実行される論理ブロックやプログラムモジュール等により実行されることに留意されたい。論理ブロックやプログラムモジュール等を実行する一以上のプロセッサには、例えば、一以上のマイクロプロセッサ、CPU(中央演算処理ユニット)、ASIC(Application Specific Integrated Circuit)、DSP(Digital Signal Processor)、PLD(Programmable Logic Device)、FPGA(Field Programmable Gate Array)、プロセッサ、コントローラ、マイクロコントローラ、マイクロプロセッサ、電子機器、ここに記載する機能を実行可能に設計されたその他の装置及び/またはこれらいずれかの組合せが含まれる。ここに示す実施形態は、例えば、ハードウェア、ソフトウェア、ファームウェア、ミドルウェア、マイクロコードまたはこれらいずれかの組合せにより実装される。命令は、必要なタスクを実行するためのプログラムコードまたはコードセグメントであってもよい。そして、命令は、機械読取り可能な非一時的記憶媒体その他の媒体に格納することができる。コードセグメントは、手順、関数、サブプログラム、プログラム、ルーチン、サブルーチン、モジュール、ソフトウェアパッケージ、クラスまたは命令、データ構造もしくはプログラムステートメントのいずれかの任意の組合せを示すものであってもよい。コードセグメントは、他のコードセグメントまたはハードウェア回路と、情報、データ引数、変数または記憶内容の送信及び/または受信を行い、これにより、コードセグメントが他のコードセグメントまたはハードウェア回路と接続される。   Many aspects of the present disclosure are presented as a series of operations performed by a computer system or other hardware capable of executing program instructions. The computer system and other hardware include, for example, a general-purpose computer, a PC (personal computer), a dedicated computer, a workstation, a PCS (Personal Communications System), a mobile (cellular) telephone, and a data processing function. Mobile phones, RFID receivers, game consoles, electronic notepads, laptop computers, GPS (Global Positioning System) receivers or other programmable data processing devices are included. In each embodiment, various operations are performed by dedicated circuitry (eg, individual logic gates interconnected to perform a specific function) implemented by program instructions (software), or by one or more processors. Note that it is executed by a logic block, a program module, or the like. The one or more processors that execute logic blocks, program modules, and the like include, for example, one or more microprocessors, a CPU (Central Processing Unit), an ASIC (Application Specific Integrated Circuit), a DSP (Digital Signal Processor), a PLD (Programmable). Includes Logic Devices), FPGAs (Field Programmable Gate Arrays), processors, controllers, microcontrollers, microprocessors, electronics, other devices designed to perform the functions described herein, and / or any combination thereof It is. The embodiments shown here are implemented by, for example, hardware, software, firmware, middleware, microcode, or any combination thereof. The instructions may be program code or code segments for performing the necessary tasks. The instructions can then be stored on a machine-readable non-transitory storage medium or other medium. A code segment may represent any combination of procedures, functions, subprograms, programs, routines, subroutines, modules, software packages, classes or instructions, data structures or program statements. A code segment transmits and / or receives information, data arguments, variables or stored contents with other code segments or hardware circuits, thereby connecting the code segments with other code segments or hardware circuits .

ここで用いられるストレージは、さらに、ソリッドステートメモリ、磁気ディスク及び光学ディスクの範疇で構成されるコンピュータ読取り可能な有形のキャリア(媒体)として構成することができ、かかる媒体には、ここに開示する技術をプロセッサに実行させるためのプログラムモジュール等のコンピュータ命令の適宜なセットや、データ構造が格納される。コンピュータ読取り可能な媒体には、一つ以上の配線を備えた電気的接続、磁気ディスク記憶媒体、磁気カセット、磁気テープ、その他の磁気及び光学記憶装置(例えば、CD(Compact Disk)、レーザーディスク(登録商標)、DVD(登録商標)(Digital Versatile Disc)、フロッピー(登録商標)ディスク及びブルーレイディスク(登録商標))、可搬型コンピュータディスク、RAM(Random Access Memory)、ROM(Read-Only Memory)、EPROM(Erasable Programmable Read-Only Memory)、EEPROM(Electrically Erasable Programmable Read-Only Memory)もしくはフラッシュメモリ等の書換え可能でプログラム可能なROMもしくは情報を格納可能な他の有形の記憶媒体またはこれらいずれかの組合せが含まれる。メモリは、プロセッサ/プロセッシングユニットの内部及び/または外部に設けることができる。ここで用いられるように、「メモリ」という語は、あらゆる種類の長期記憶用、短期記憶用、揮発性、不揮発性その他のメモリを意味し、特定の種類やメモリの数または記憶が格納される媒体の種類は限定されない。   The storage used herein can be further configured as a computer readable tangible carrier (medium) comprised of solid state memory, magnetic disks and optical disks, such media being disclosed herein. An appropriate set of computer instructions, such as program modules, that cause the processor to execute the technique, and data structures are stored. Computer readable media include electrical connections with one or more wires, magnetic disk storage media, magnetic cassettes, magnetic tapes, and other magnetic and optical storage devices (eg CD (Compact Disk), laser disks ( (Registered trademark), DVD (registered trademark) (Digital Versatile Disc), floppy (registered trademark) disk and Blu-ray Disc (registered trademark)), portable computer disk, RAM (Random Access Memory), ROM (Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory, rewritable and programmable ROM, other tangible storage media capable of storing information, or any combination thereof Is included. The memory can be provided inside and / or outside the processor / processing unit. As used herein, the term “memory” means any type of long-term storage, short-term storage, volatile, non-volatile, or other memory in which a particular type or number of memories or storage is stored. The type of medium is not limited.

1 電子機器
11 コントローラ
12 タイマー
13 カメラ
14 ディスプレイ
15 マイク
16 ストレージ
17 通信ユニット
18 近接センサ
19 UVセンサ
20 照度センサ
21 加速度センサ
22 地磁気センサ
23 気圧センサ
24 ジャイロセンサ
DESCRIPTION OF SYMBOLS 1 Electronic device 11 Controller 12 Timer 13 Camera 14 Display 15 Microphone 16 Storage 17 Communication unit 18 Proximity sensor 19 UV sensor 20 Illuminance sensor 21 Acceleration sensor 22 Geomagnetic sensor 23 Pressure sensor 24 Gyro sensor

Claims (2)

近接センサと、
コントローラと、
を備え、
前記コントローラは、
ジェスチャを検出するための前記近接センサが駆動状態にある所定のモード中に、自機器の姿勢の向きが逆になると、前記所定のモードを維持したまま、前記近接センサの駆動を停止させる、
電子機器。
A proximity sensor;
A controller,
With
The controller is
During the predetermined mode in which the proximity sensor for detecting a gesture is in a driving state, when the orientation of the device is reversed, the driving of the proximity sensor is stopped while maintaining the predetermined mode.
Electronics.
近接センサと、
コントローラと、
を備え、
前記コントローラは、
前記近接センサが第1モードで駆動する所定のモード中に、自機器の姿勢の向きが逆になると、前記所定のモードを維持したまま、前記近接センサを前記第1モードとは異なる第2モードで駆動させる、
電子機器。
A proximity sensor;
A controller,
With
The controller is
When the proximity sensor is driven in the first mode, if the orientation of the device is reversed, the proximity sensor is maintained in the second mode different from the first mode while maintaining the predetermined mode. Driven by,
Electronics.
JP2017211787A 2017-11-01 2017-11-01 Electronic device Pending JP2018018549A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017211787A JP2018018549A (en) 2017-11-01 2017-11-01 Electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017211787A JP2018018549A (en) 2017-11-01 2017-11-01 Electronic device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2017075483A Division JP6239796B1 (en) 2017-04-05 2017-04-05 Electronics

Publications (1)

Publication Number Publication Date
JP2018018549A true JP2018018549A (en) 2018-02-01

Family

ID=61081776

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017211787A Pending JP2018018549A (en) 2017-11-01 2017-11-01 Electronic device

Country Status (1)

Country Link
JP (1) JP2018018549A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004214925A (en) * 2002-12-27 2004-07-29 Sharp Corp Imaging unit
JP2005051472A (en) * 2003-07-28 2005-02-24 Nikon Corp Automatic photographing controlling device, program for automatic photographing, and camera
JP2007150996A (en) * 2005-11-30 2007-06-14 Matsushita Electric Ind Co Ltd Video photographing and recording device with camera
JP2010034685A (en) * 2008-07-25 2010-02-12 Nikon Corp Digital camera
JP2011237716A (en) * 2010-05-13 2011-11-24 Olympus Imaging Corp Digital camera and method for controlling the same
JP2013074546A (en) * 2011-09-28 2013-04-22 Kyocera Corp Device, method, and program
US20140198024A1 (en) * 2013-01-11 2014-07-17 Samsung Electronics Co. Ltd. System and method for detecting three dimensional gestures to initiate and complete the transfer of application data between networked devices
US20140317499A1 (en) * 2013-04-22 2014-10-23 Samsung Electronics Co., Ltd. Apparatus and method for controlling locking and unlocking of portable terminal
JP2015199383A (en) * 2014-04-04 2015-11-12 株式会社デンソー gesture input device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004214925A (en) * 2002-12-27 2004-07-29 Sharp Corp Imaging unit
JP2005051472A (en) * 2003-07-28 2005-02-24 Nikon Corp Automatic photographing controlling device, program for automatic photographing, and camera
JP2007150996A (en) * 2005-11-30 2007-06-14 Matsushita Electric Ind Co Ltd Video photographing and recording device with camera
JP2010034685A (en) * 2008-07-25 2010-02-12 Nikon Corp Digital camera
JP2011237716A (en) * 2010-05-13 2011-11-24 Olympus Imaging Corp Digital camera and method for controlling the same
JP2013074546A (en) * 2011-09-28 2013-04-22 Kyocera Corp Device, method, and program
US20140198024A1 (en) * 2013-01-11 2014-07-17 Samsung Electronics Co. Ltd. System and method for detecting three dimensional gestures to initiate and complete the transfer of application data between networked devices
US20140317499A1 (en) * 2013-04-22 2014-10-23 Samsung Electronics Co., Ltd. Apparatus and method for controlling locking and unlocking of portable terminal
JP2015199383A (en) * 2014-04-04 2015-11-12 株式会社デンソー gesture input device

Similar Documents

Publication Publication Date Title
JP6239796B1 (en) Electronics
JP6360112B2 (en) Electronics
JP6091693B1 (en) Electronics
US10712828B2 (en) Electronic device, recording medium, and control method
EP3528477B1 (en) Electronic apparatus, program, and control method
US20180299989A1 (en) Electronic device, recording medium, and control method
EP3614232B1 (en) Electronic device, program, and control method
US10955927B2 (en) Electronic device, program, and control method
WO2018193876A1 (en) Electronic device
JP6186488B1 (en) Electronic device, control method and program
US10261746B2 (en) Electronic device
EP3528478A1 (en) Electronic apparatus, program, and control method
JP6401843B2 (en) Electronic device, control method and program
JP6568331B1 (en) Electronic device, control method, and program
JP6276340B2 (en) Electronic device, control method and program
JP2018018549A (en) Electronic device
JP6374477B2 (en) Electronic device, control method and program
JP6173625B1 (en) Electronic device, program, and control method
JP2018181351A (en) Electronic device
JP6333461B1 (en) Electronics
JP2018181307A (en) Electronic device, program and control method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171101

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171101

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20171101

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20171204

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171212

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180209

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180417

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180614

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20180626