JP2014165636A - Electronic device, control method of the same, and program - Google Patents
Electronic device, control method of the same, and program Download PDFInfo
- Publication number
- JP2014165636A JP2014165636A JP2013034538A JP2013034538A JP2014165636A JP 2014165636 A JP2014165636 A JP 2014165636A JP 2013034538 A JP2013034538 A JP 2013034538A JP 2013034538 A JP2013034538 A JP 2013034538A JP 2014165636 A JP2014165636 A JP 2014165636A
- Authority
- JP
- Japan
- Prior art keywords
- detection distance
- electronic device
- proximity sensor
- function
- detection
- 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
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
Description
本発明は、電子機器、その制御方法及びプログラムに関し、特に近接センサを備えた電子機器、その制御方法及びプログラムに関する。 The present invention relates to an electronic device, a control method thereof, and a program, and more particularly, to an electronic device including a proximity sensor, a control method thereof, and a program thereof.
近年、携帯電話機等の電子機器にあっては、その入力インターフェースにタッチパネルを用いていることが多い。これはタッチパネルを透して表示画面上のボタン等のオブジェクトを視認しつつ、所望のオブジェクトに指先で触れるという直感的操作を行うことができるからであるが、一方で、このようなタッチパネルは、通話時に頬や耳などがタッチパネルに触れてしまい、意図しない操作が行われてしまうという欠点があった。 In recent years, electronic devices such as mobile phones often use a touch panel as an input interface. This is because an intuitive operation of touching a desired object with a fingertip while visually recognizing an object such as a button on the display screen through the touch panel can be performed. There was a drawback in that an unintended operation was performed because a cheek or ear touched the touch panel during a call.
この欠点を解消するために、近接センサを利用する技術(以下、関連技術という)が知られている(下記の特許文献参照)。
ここで、近接センサとは、物体(ヒトやモノ)の接近や近傍の検出対象の有無を非接触で検出するものの総称であり、その検出原理から、誘導形、静電容量形、超音波形、光電形、磁気形などの種類がある(JIS C 8201−5−2:低圧開閉装置および制御装置/第5部制御回路機器及び開閉素子/第2節近接スイッチ)。
In order to eliminate this drawback, a technique using a proximity sensor (hereinafter referred to as related technique) is known (see the following patent document).
Here, the proximity sensor is a general term for detecting the proximity of an object (human or object) or the presence or absence of a nearby detection target without contact. From the detection principle, an inductive type, a capacitance type, an ultrasonic type , Photoelectric type, magnetic type, etc. (JIS C 8201-5-2: low-voltage switchgear and control device /
関連技術では、近接センサの検出距離(一般的に0〜数cm)内で物体が検出された場合にタッチパネルの動作を無効にしている。このため、通話時における意図しないタッチ操作を防止することができる。 In the related art, the operation of the touch panel is invalidated when an object is detected within the detection distance (generally 0 to several cm) of the proximity sensor. For this reason, an unintended touch operation during a call can be prevented.
しかしながら、関連技術にあっては、近接センサを一つの用途(意図しないタッチ操作の防止)にしか利用していないため、電子機器のさらなる利便性の向上を図るという点で改善すべき課題がある。 However, since the related technology uses the proximity sensor only for one purpose (preventing unintended touch operation), there is a problem to be improved in terms of further improving the convenience of the electronic device. .
そこで、本発明は、近接センサを他の用途にも利用できるようにし、これによってさらなる利便性の向上を図った電子機器、その制御方法及びプログラムを提供することにある。 SUMMARY OF THE INVENTION Accordingly, the present invention is to provide an electronic device, a control method thereof, and a program that make it possible to use the proximity sensor for other purposes, thereby further improving convenience.
本発明の電子機器は、近接センサの検出距離を第1の検出距離とこの第1の検出距離よりも長い第2の検出距離とのいずれか一方に設定する検出距離設定手段と、前記近接センサの検出距離が前記第1の検出距離に設定されている間は当該電子機器が第1の機能を実行するように当該電子機器の各部を制御する一方、前記近接センサの検出距離が前記第2の検出距離に設定されている間は当該電子機器が前記第1の機能とは異なる第2の機能を実行するように当該電子機器の各部を制御する制御手段とを備えたことを特徴とする。
本発明の制御方法は、近接センサの検出距離を第1の検出距離とこの第1の検出距離よりも長い第2の検出距離とのいずれか一方に設定する検出距離設定工程と、前記近接センサの検出距離が前記第1の検出距離に設定されている間は当該電子機器が第1の機能を実行するように当該電子機器の各部を制御する一方、前記近接センサの検出距離が前記第2の検出距離に設定されている間は当該電子機器が前記第1の機能とは異なる第2の機能を実行するように当該電子機器の各部を制御する制御工程とを含むことを特徴とする。
本発明のプログラムは、電子機器のコンピュータを、近接センサの検出距離を第1の検出距離とこの第1の検出距離よりも長い第2の検出距離とのいずれか一方に設定する検出距離設定手段、前記近接センサの検出距離が前記第1の検出距離に設定されている間は当該電子機器が第1の機能を実行するように当該電子機器の各部を制御する一方、前記近接センサの検出距離が前記第2の検出距離に設定されている間は当該電子機器が前記第1の機能とは異なる第2の機能を実行するように当該電子機器の各部を制御する制御手段として機能させることを特徴とする。
The electronic apparatus according to the present invention includes a detection distance setting unit that sets a detection distance of the proximity sensor to one of a first detection distance and a second detection distance that is longer than the first detection distance; and the proximity sensor While the detection distance is set to the first detection distance, each part of the electronic device is controlled so that the electronic device performs the first function, while the detection distance of the proximity sensor is the second detection distance. And a control means for controlling each part of the electronic device so that the electronic device executes a second function different from the first function while the detection distance is set. .
The control method of the present invention includes a detection distance setting step of setting a detection distance of a proximity sensor to one of a first detection distance and a second detection distance longer than the first detection distance; and the proximity sensor While the detection distance is set to the first detection distance, each part of the electronic device is controlled so that the electronic device performs the first function, while the detection distance of the proximity sensor is the second detection distance. And a control step of controlling each part of the electronic device so that the electronic device executes a second function different from the first function while the detection distance is set.
The program of the present invention is a detection distance setting means for setting a computer of an electronic device to a detection distance of a proximity sensor as one of a first detection distance and a second detection distance longer than the first detection distance. While the detection distance of the proximity sensor is set to the first detection distance, each part of the electronic device is controlled so that the electronic device performs the first function, while the detection distance of the proximity sensor Is set as the control means for controlling each part of the electronic device so that the electronic device executes the second function different from the first function while the second detection distance is set. Features.
本発明によれば、近接センサを他の用途にも利用できるようにしたので、さらなる利便性の向上を図った電子機器、その制御方法及びプログラムを提供することができる。 According to the present invention, since the proximity sensor can be used for other purposes, it is possible to provide an electronic device that is further improved in convenience, a control method thereof, and a program.
以下、本発明の実施形態を、スマートフォン等の携帯電話機への適用を例にして、図面を参照しながら説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings, taking application to a mobile phone such as a smartphone as an example.
<第1の実施形態>
図1は、第1の実施形態に係る携帯電話機1の外観図である。この図において、電子機器の一例としての携帯電話機1は、たとえば、所定厚みを有する平板状(タブレット状)の筐体2を有しており、筐体2の主面2a(表面であって主たる操作対象となる面のこと)に透明なタッチパネル3を設けるとともに、そのタッチパネル3の裏側に表示部4を併設している。
<First Embodiment>
FIG. 1 is an external view of a
また、タッチパネル3の上端辺側の筐体2の主面2aに近接センサ5と、スピーカ6と、前面カメラ7とを設けるとともに、そのタッチパネル3の下端辺側の筐体2の主面2aに複数の物理ボタン(ここでは3個の物理ボタン8〜10)と、マイク11とを設け、さらに、筐体2の背面2b(主面2aの反対側の面)に背面カメラ12と、カメラライト12aとを設けている。なお、筐体2の任意部分に電源スイッチやバッテリ充電用端子などが設けられているが、図では省略している。
In addition, a
図2は、携帯電話機1の概念的な内部ブロック図である。この図において、携帯電話機1は、無線送受信部13、音声入出力部14、操作部15、センサ部16、表示部4、タッチパネル3、カメラ部17、メモリ部18、電源部19及び制御部20を備える。
FIG. 2 is a conceptual internal block diagram of the
無線送受信部13は、制御部20の制御の元、アンテナ21を介して最寄りの携帯電話基地局(不図示)との間で無線通信によるデジタルデータの送受信を行う。
The wireless transmission /
音声入出力部14は、制御部20から適宜に出力されるデジタルの音響信号をアナログ信号に変換してスピーカ6から拡声したり、マイク11で拾った音響信号をデジタルデータに変換して制御部20に出力したりする。
The voice input /
操作部15は、物理ボタン8〜10を含み、物理ボタン8〜10のいずれかが操作されたときに、その操作された物理ボタン8〜10に対応した操作信号を発生して制御部20に出力する。
The
センサ部16は、近接センサ5、加速度センサ22及び磁気センサ23を含み、各センサは、制御部20の制御の元、各々の検出データを制御部20に出力する。加速度センサ22は筐体2に加えられた運動の加速度(XYZの三軸方向の加速度)を検出し、磁気センサ23は筐体11の向き(磁方位)を検出する。近接センサ5の詳細は後で説明する。
The
表示部4は、たとえば、液晶ディスプレイやEL(Electro-Luminescence)パネルまたは有機液晶パネルなどの二次元表示デバイスであり、制御部20から適宜に出力される文字情報や画像情報またはそれらの混在情報を目視可能な状態で表示面に表示する。表示部4の表示面にはタッチペンや人体の一部(一般的には指先:以下、指先で代表する)の接触や接近を検知するタッチパネル3が併設されており、このタッチパネル3は、指先のタッチを検出し、そのタッチ位置を示す情報を制御部20に出力する。
The
カメラ部17は、前面カメラ7、背面カメラ12及びカメラライト12aを含む。前面カメラ7は制御部20の制御の元、筐体2の主面2aの鉛直方向の画像を撮影して制御部20に出力し、背面カメラ12は制御部20の制御の元、筐体2の背面2bの鉛直方向の画像を撮影して制御部20に出力する。カメラライト12aは制御部20からの指令に応答して点灯し、背面カメラ12の撮影範囲を所定光量で照明する。ただし、カメラライト12aの役目はこれに限定されない。後述するように、単なる照明光源として用いられることもある。
The
メモリ部18は、たとえば、フラッシュメモリやシリコンディスクあるいはハードディスクなどの書き換え可能不揮発性記憶デバイスで構成された記憶要素である。このメモリ部18は、前面カメラ7や背面カメラ12の撮像データや電話帳データ及びメールデータ等の様々なユーザデータを記憶保持する。
The
電源部19は、一次電池または充電可能な二次電池からなるバッテリを含み、このバッテリの電力から携帯電話機1の動作に必要な各種電圧を発生して各部に供給する。
The
制御部20は、コンピュータまたはマイクロコンピュータ(Central Processing Unit、以下、CPUと略す)20aや読み出し専用半導体メモリ(Read Only Memory、以下、ROMと略す)20b及び高速半導体メモリ(Random Access Memory、以下、RAMと略す)20cならびに不図示の周辺回路を含むプログラム制御方式の制御要素である。この制御部20は、あらかじめROM20bに格納されている基本プログラム(Operating System:OS)や応用プログラム(制御プログラムともいう)などのソフトウェアリソースをRAM20cにロードしてCPU20aで実行することにより、携帯電話機1の全体動作を統括制御する。ROM20bは書き換え可能な不揮発性半導体メモリ(Programmable Read Only Memory:PROM)であってもよい。
The
次に、近接センサ5について詳しく説明する。
冒頭で説明したとおり、近接センサ5の種類は、誘導形や静電容量形、超音波形、光電形または磁気形など様々である。発明の思想上、実施形態の近接センサ5はどの種類を用いてもかまわない。ここでは一例として光電形を使用することにする。
Next, the
As described at the beginning, there are various types of
図3は、近接センサ5のブロック構成図である。近接センサ5は、赤外発光LED(Light Emitting Diode)等を用いた発光素子24と、センサ集積回路(オプティカルIC:Integrated Circuit)25とを含む。センサ集積回路25は、制御部20との間で双方向のデータのやりとりを行うインターフェース部26と、制御部20に対して所要のタイミングで割り込み(インタラプト:実行中の処理を中断させて強制的に指定された処理を実行させること。またはそのような処理を要求すること。)をかける割り込み部27と、制御部20からの設定データ28aや近接センサ5の検出データ28bなどを保持するレジスタ部28と、レジスタ部28に保持されている設定データ28aに従い、既定周波数の信号を発振する発振部29と、発振部29からの信号とレジスタ部28に保持されている設定データ28aに従い、発光と受光の各タイミング信号を発生するタイミング制御部30と、タイミング制御部30の出力を元に赤外光の駆動信号を発生する駆動信号発生部31と、その駆動信号に応答して発光素子24を駆動する発光駆動部32と、光/電変換素子(Optical Electrical Converter)の一種であるホトダイオードや硫化カドミウム(CdS)セル等で構成された受光素子33と、受光素子33の出力を増幅するアンプ34と、アンプ34の出力をデジタル信号に変換し、検出データ28bとしてレジスタ部28に保存するアナログ/デジタル変換部(Analog Digital Converter:ADC)35とを備える。
FIG. 3 is a block diagram of the
割り込み部27は、レジスタ部28に検出データ28b(ADC35の出力データ)が保存されたときに、その保存に応答して制御部20に対して割り込みをかけ、制御部20は、この割り込みに応答してレジスタ部28に保存されている検出データ28b(ADC35の出力データ)をインターフェース部26を介して読み込む。
When the
上記のとおり、レジスタ部28は設定データ28aと検出データ28bとを保持する。検出データ28bはADC35の出力データであり、要するに、受光素子33の受光光量の大きさに対応したデータである。一方、設定データ28aは、この近接センサ5の動作を規定するために制御部20から適宜に設定される様々な制御データであり、この設定データ28aは、少なくとも、受発光のタイミング(受発光の長さや繰り返しの周期等)を規定するタイミング設定データ28cと、近接センサ5の検出距離を規定するための検出距離設定データ28cとを含む。
As described above, the register unit 28 holds the setting
一般的に近接センサ5を冒頭で説明した「意図しないタッチ操作の防止」の用途で使用する場合、近接センサ5の検出距離はごく短い距離(0cm〜2cmまたは0cm〜3cm程度)になる。0cmで頬や耳等の密着を検出し、2〜3cmで頬や耳等の接近を検出する。以下、この短い検出距離のことを「第1の検出距離」ということにする。本実施形態の近接センサ5は、その検出距離を「第1の検出距離」に加えて、さらに遠方(たとえば、1m〜2m)のヒトやモノを検出するための「第2の検出距離」に設定することができる。すなわち、レジスタ部28の検出距離設定データ28dに「第1の検出距離」をセットすると、近接センサ5は0cm〜2cmまたは0cm〜3cmの距離にあるヒトやモノを検知し、また、検出距離設定データ28dに「第2の検出距離」をセットすると、近接センサ5は1m〜2mの距離にあるヒトやモノを検知する。
In general, when the
図4は、近接センサ5の実装構造を示す図である。この図において、近接センサ5の発光素子24と受光素子33は、携帯電話機1の内部に設けられた基板36に固定載置されている。発光素子24と受光素子33はともに透明樹脂37、38によって覆われており、さらに、発光素子24と受光素子33の間に赤外光の遮光壁39が設けられている。発光素子24の発光方向と受光素子33の受光方向はほぼ並行である。発光素子24からの赤外光Paは筐体2の主面2aの一部をなす赤外光透過窓40を透して主面2aの鉛直方向に照射されるようになっており、任意の物体41(ヒトやモノ)で反射した赤外光Pbは赤外光透過窓40を透して受光素子33で受光され、その受光光量に応じた検出データ28bが近接センサ5のレジスタ部28に保存されるようになっている。
FIG. 4 is a diagram showing a mounting structure of the
近接センサ5を用いた物体検知の流れは、以下のとおりである。まず、発光素子24から物体41に向けて赤外光Paを照射し、その物体41からの反射光Pbを受光素子33で受光して電気信号に変換し、アンプ34で増幅し、ADC35でデジタル値に変換し、そのデジタル値を検出データ28bとしてレジスタ部28に保存する。次いで、その検出データ28bを制御部20に取り込み、制御部20で、検出データ28bの大きさが所定の閾値を超えているか否かを調べ、閾値を超えている場合に物体41の近接を判断する。
The flow of object detection using the
近接センサ5の検出距離は、もっぱら発光素子24の光量と、制御部20で使用する閾値の大きさとによって決まる。光量を大きくすると検出距離が長くなり、光量を少なくすると検出距離が短くなる。また、閾値を低くすると検出距離が長くなり、閾値を高くすると検出距離が短くなる。実施形態の近接センサ5は、前記のとおり、二つの検出距離(第1の検出距離と第2の検出距離)で選択的に使用することができる。この選択的使用は、発光素子24の発光光量の増減制御と、閾値の大小制御とのいずれか一方で行ってもよく、あるいは、それらの組み合わせで行ってもよいが、実用上は後者の組み合わせが望ましい。発光光量は物理的な制約や法的な制約から一定の上限があるからであり、また、閾値についても低すぎるとノイズ等の影響を受けて誤検知が増えるからである。
The detection distance of the
したがって、実際上は、閾値の変更と発光素子24の光量調節との組み合わせが現実的である。つまり、「第1の検出距離」で使用する場合は、近接センサ5の発光素子24の光量を「第1の光量」にすると共に、制御部20の閾値を「第1の閾値」にし、一方、「第2の検出距離」で使用する場合は、近接センサ5の発光素子24の光量を第1の光量よりも大きい「第2の光量」にすると共に、制御部20の閾値を第1の閾値よりも小さい「第2の閾値」にすることが現実的である。ただし、実施形態の思想上は、これに限定されない。発光素子24の光量制御で「第1の検出距離」と「第2の検出距離」の双方を達成できるのであれば、閾値を変える必要はなく、あるいは、閾値の変更で「第1の検出距離」と「第2の検出距離」の双方を達成できるのであれば、発光素子24の光量を変更する必要はない。
Therefore, in practice, a combination of changing the threshold value and adjusting the light amount of the
図5は、制御部20のCPU20aで実行する制御プログラムの概略フローを示す図である。この制御プログラムは、携帯電話機1の電源がオンになっている間、CPU20aにより所定の短い周期で繰り返し実行される。
FIG. 5 is a diagram showing a schematic flow of a control program executed by the
この制御プログラムを開始すると、CPU20aは、まず、携帯電話機1の動作モードが所定のモード(以下、警戒モードという)に設定されているか否かを判定する(ステップS11)。ここで、近接センサ5の用途の一つは冒頭でも説明したとおり、タッチパネル3の意図しない操作を防止することにある。この用途のことを「通常用途」ということにする。一方、警戒モードは、近接センサ5を通常用途とは異なる他の用途に用いるためのモードのことをいい、この用途のことを「防犯用途」ということにする。
When this control program is started, the
警戒モードは、携帯電話機1の使用者(ユーザ)によって意図的に設定される。
図6は、警戒モードの設定例を示す図である。警戒モードを設定しようとするユーザは、たとえば、物理ボタンの一つ(ここでは一例として中央の物理ボタン9)を長押しする。制御部20は、この物理ボタン9の長押しを検出すると(ステップS100のYES)、携帯電話機1の動作モードを「警戒モード」に設定(ステップS101)するとともに、表示部4に所要のメッセージ4aを表示して、ユーザに対し、警戒モードが設定されたことを報知する(ステップS103)。警戒モードの解除も同様に物理ボタン9の長押しで行ってもよい。
The alert mode is intentionally set by the user (user) of the
FIG. 6 is a diagram illustrating a setting example of the alert mode. For example, the user who wants to set the alert mode presses and holds one of the physical buttons (here, the central
<通常用途>
再び、図5に戻り、警戒モードが設定されていない場合(ステップS11のNO判定)、CPU20aは、近接センサ5の検出距離を「第1の検出距離」に設定し(ステップS12)、近接センサ5から検知データ28bを取り込み、その検知データ28bと所定の閾値(第1の閾値)とを比較して、検知データ28b、つまり、受光素子33の受光光量が第1の閾値を超えているか否かを判定する(ステップS13)。そして、超えていなければタッチパネル3の動作を有効にして(ステップS14)フローを終了するが、超えていればタッチパネル3の動作を無効にして(ステップS15)フローを終了する。これにより、頬や耳などがタッチパネル3に接触しまたはごく接近した場合の意図しないタッチ操作を防止することができる。
<Normal use>
Returning to FIG. 5 again, when the alert mode is not set (NO determination in step S11), the
<防犯用途>
一方、警戒モードが設定されていた場合(ステップS11のYES判定)、CPU20aは、近接センサ5の検出距離を「第1の検出距離」よりも長い「第2の検出距離」に設定し(ステップS16)、近接センサ5から検知データ28bを取り込み、その検知データ28bと所定の閾値(第1の閾値よりも小さい第2の閾値)とを比較して、検知データ28b、つまり、受光素子33の受光光量が第2の閾値を超えているか否かを判定する(ステップS17)。そして、超えていなければ所定の警戒処理(詳細は後述)を実行せずまたは実行中であればその警戒処理を中止して(ステップS18)フローを終了するが、超えていれば所定の警戒処理の実行を開始して(ステップS19)フローを終了する。
<Security use>
On the other hand, if the alert mode is set (YES determination in step S11), the
所定の警戒処理はいろいろ考えられる。たとえば、以下の(1)〜(3)のようなものであってもよい。
(1)「第2の検出距離」に物体41が接近したことを検知して、予め設定されている登録先に自動発報を行い、着呼応答で予め録音した音声を送出して、携帯電話機1の近くに物体41が接近したことを伝えるという警戒処理。これにより、本来ヒトやモノが近づかない場所の防犯機能を実現することができる。自動発報の伝達手段として電子メールを使えば、登録先の電子メールアドレスに宛てに予め設定されている文書を自動送信することができる。たとえば、警戒モードに設定した携帯電話機1を自動車の車内に置いておけば、車内への不審者の侵入を検知して登録先にメールや音声で通報することができる。また、この場合、加速度センサ22や磁気センサ23を用いて車体の揺れ検出するようにしてもよい。近接センサ5の死角から侵入された場合でも車体の揺れから侵入を検知できる。
Various predetermined alert processes can be considered. For example, the following (1) to (3) may be used.
(1) Detecting that the
(2)「第2の検出距離」に物体41が接近したことを検知して、携帯電話機1の前面カメラ7や背面カメラ12で静止画撮影または動画撮影し、その撮影画像をメモリ部18に保存するという警戒処理。使用するカメラは近接センサ5の検出方向と一致しているカメラ(実施形態では前面カメラ7)を使うことが望ましい。また、動画の撮影記録と同時に前記(1)の警戒処理を並行して行ってもよい。また、動画情報をメモリ部18に保存するのではなく、通信機能を介してネットワークサーバ上に保存したり、あるいは、ネットワークを介して遠方の端末から見られるようにしてもよい。また、前記(1)の警戒処理と同様に加速度センサ22や磁気センサ23を用いて揺れの検出を行い、近接センサ5の出力と共に人感の判断に使用してもよい。
(2) Detecting that the
(3)「第2の検出距離」に物体41が接近したことを検知して、携帯電話機1のカメラライト12aを点灯するようにした警戒処理。これにより、たとえば、夜間の就寝中に緊急事態(地震や火事等)に遭遇したときに、携帯電話機1の近接センサ5に向けて手などをかざすことにより、非常照明を得ることができ、緊急時の避難行動を安全迅速に行うことができる。
(3) Warning processing in which it is detected that the
以上のとおり、第1の実施形態の携帯電話機1によれば、一つの近接センサ5をタッチパネル3の意図しない操作を防止するという「通常用途」と、携帯電話機1へのモノやヒトの接近を監視するという「防犯用途」の二つの用途で使用することができるので、さらなる利便性の向上を図った携帯電話機1を提供することができる。
As described above, according to the
また、かかる二つの用途利用は、ハードウェアの変更を必要とせず、もっぱら制御プログラムの改良によって行うことができるから、近接センサが標準で組み込まれている各種の電子機器に、容易且つコストをかけずに簡単に適用することができるという特有のメリットもある。 In addition, since the use of these two applications does not require hardware changes and can be performed solely by improving the control program, it is easy and costly to use various electronic devices with built-in proximity sensors. There is also a peculiar advantage that it can be applied easily.
なお、実施形態の適用は、携帯電話やスマートフォンに限らない。他の装置(例えば、ゲーム機、タブレットPC(Personal Computer)、ノートPC、PDA(Personal Data Assistants:携帯情報端末)、または、デジタルカメラなどにも適用可能である。 In addition, application of embodiment is not restricted to a mobile phone or a smart phone. The present invention can also be applied to other devices (for example, game machines, tablet PCs (Personal Computers), notebook PCs, PDAs (Personal Data Assistants: personal digital assistants), or digital cameras.
<第2の実施形態>
図7は、第2の実施形態に係る電子機器の構成図である。
この図において、第1の実施形態の携帯電話機1に相当する電子機器102は、検出距離設定手段101(第1の実施形態の制御部20に相当)と、制御手段103(実施形態の制御部20に相当)とを含む。
検出距離設定手段101は第1の実施形態の制御部20に相当し、制御手段103は第1の実施形態の制御部20に相当する。
検出距離設定手段101は、近接センサ100(第1の実施形態の近接センサ5に相当)の検出距離を第1の検出距離とこの第1の検出距離よりも長い第2の検出距離とのいずれか一方に設定する。
制御手段103は、前記近接センサ100の検出距離が前記第1の検出距離に設定されている間は当該電子機器102が第1の機能を実行するように当該電子機器102の各部を制御する一方、前記近接センサ100の検出距離が前記第2の検出距離に設定されている間は当該電子機器102が前記第1の機能とは異なる第2の機能を実行するように当該電子機器102の各部を制御する。
第2の実施形態によれば、近接センサ100を他の用途にも利用できるようにしたので、さらなる利便性の向上を図った電子機器102を提供することができる。
<Second Embodiment>
FIG. 7 is a configuration diagram of an electronic apparatus according to the second embodiment.
In this figure, an electronic device 102 corresponding to the
The detection
The detection
The control means 103 controls each part of the electronic device 102 so that the electronic device 102 executes the first function while the detection distance of the
According to the second embodiment, since the
図8は、第2の実施形態の工程図である。
この図に示すように、第2の実施形態の製造方法は、近接センサ200の検出距離を第1の検出距離とこの第1の検出距離よりも長い第2の検出距離とのいずれか一方に設定する検出距離設定工程201と、
前記近接センサ200の検出距離が前記第1の検出距離に設定されている間は当該電子機器203が第1の機能を実行するように当該電子機器203の各部を制御する一方、前記近接センサ200の検出距離が前記第2の検出距離に設定されている間は当該電子機器203が前記第1の機能とは異なる第2の機能を実行するように当該電子機器203の各部を制御する制御工程202とを含む。
この工程によれば、近接センサ200を他の用途にも利用できるようにしたので、さらなる利便性の向上を図った電子機器の制御方法を提供することができる。
FIG. 8 is a process diagram of the second embodiment.
As shown in this figure, in the manufacturing method of the second embodiment, the detection distance of the proximity sensor 200 is set to one of the first detection distance and the second detection distance longer than the first detection distance. A detection
While the detection distance of the proximity sensor 200 is set to the first detection distance, each part of the electronic device 203 is controlled so that the electronic device 203 performs the first function, while the proximity sensor 200 A control step of controlling each part of the electronic device 203 so that the electronic device 203 executes a second function different from the first function while the detection distance is set to the
According to this step, since the proximity sensor 200 can be used for other purposes, it is possible to provide a method for controlling an electronic device that is further improved in convenience.
以下、本発明の特徴を付記する。
上記の実施形態の一部又は全部は、以下の付記のようにも記載されうるが、以下には限られない。
(付記1)
付記1は、近接センサの検出距離を第1の検出距離とこの第1の検出距離よりも長い第2の検出距離とのいずれか一方に設定する検出距離設定手段と、
前記近接センサの検出距離が前記第1の検出距離に設定されている間は当該電子機器が第1の機能を実行するように当該電子機器の各部を制御する一方、前記近接センサの検出距離が前記第2の検出距離に設定されている間は当該電子機器が前記第1の機能とは異なる第2の機能を実行するように当該電子機器の各部を制御する制御手段と
を備えたことを特徴とする電子機器である。
付記1によれば、近接センサを他の用途にも利用できるようにしたので、さらなる利便性の向上を図った電子機器を提供することができる。
(付記2)
付記2は、前記第1の機能は、タッチパネルの動作を有効または無効とする機能であることを特徴とする付記1に記載の電子機器である。
付記2によれば、タッチパネルの動作を有効または無効とする通常用途で使用することができる。
(付記3)
付記3は、前記第2の機能は、当該電子機器へのヒトやモノの接近を監視する機能であることを特徴とする付記1または2いずれかに記載の電子機器である。
付記3によれば、ヒトやモノの接近を監視するという防犯用途で使用することができる。
(付記4)
付記4は、検出距離設定手段は、ユーザ操作に応答して前記近接センサの検出距離を前記第1の検出距離から前記第2の検出距離に変更し、または、前記第2の検出距離から前記第1の検出距離に変更することを特徴とする付記1乃至3いずれか一項に記載の電子機器である。
付記4によれば、ユーザの意図にしたがって、近接センサの検出距離を設定することができる。
(付記5)
付記5は、近接センサの検出距離を第1の検出距離とこの第1の検出距離よりも長い第2の検出距離とのいずれか一方に設定する検出距離設定工程と、
前記近接センサの検出距離が前記第1の検出距離に設定されている間は当該電子機器が第1の機能を実行するように当該電子機器の各部を制御する一方、前記近接センサの検出距離が前記第2の検出距離に設定されている間は当該電子機器が前記第1の機能とは異なる第2の機能を実行するように当該電子機器の各部を制御する制御工程と
を含むことを特徴とする、電子機器の制御方法である。
付記5によれば、近接センサを他の用途にも利用できるようにしたので、さらなる利便性の向上を図った電子機器の制御方法を提供することができる。
(付記6)
付記6は、電子機器のコンピュータを、
近接センサの検出距離を第1の検出距離とこの第1の検出距離よりも長い第2の検出距離とのいずれか一方に設定する検出距離設定手段、
前記近接センサの検出距離が前記第1の検出距離に設定されている間は当該電子機器が第1の機能を実行するように当該電子機器の各部を制御する一方、前記近接センサの検出距離が前記第2の検出距離に設定されている間は当該電子機器が前記第1の機能とは異なる第2の機能を実行するように当該電子機器の各部を制御する制御手段
として機能させることを特徴とするプログラムである。
付記6によれば、近接センサを他の用途にも利用できるようにしたので、さらなる利便性の向上を図ったプログラムを提供することができる。
The features of the present invention will be described below.
A part or all of the above-described embodiment can be described as in the following supplementary notes, but is not limited thereto.
(Appendix 1)
While the detection distance of the proximity sensor is set to the first detection distance, each part of the electronic device is controlled so that the electronic device performs the first function, while the detection distance of the proximity sensor is Control means for controlling each part of the electronic device so that the electronic device executes a second function different from the first function while the second detection distance is set. It is a featured electronic device.
According to
(Appendix 2)
Appendix 2 is the electronic device according to
According to Supplementary Note 2, the touch panel can be used in a normal application that enables or disables the operation of the touch panel.
(Appendix 3)
Appendix 3 is the electronic device according to
According to Supplementary Note 3, it can be used for a crime prevention purpose of monitoring the approach of a person or an object.
(Appendix 4)
According to
(Appendix 5)
While the detection distance of the proximity sensor is set to the first detection distance, each part of the electronic device is controlled so that the electronic device performs the first function, while the detection distance of the proximity sensor is And a control step of controlling each part of the electronic device so that the electronic device executes a second function different from the first function while the second detection distance is set. This is a method for controlling an electronic device.
According to
(Appendix 6)
Appendix 6 shows the computer of the electronic device.
Detection distance setting means for setting the detection distance of the proximity sensor to one of the first detection distance and the second detection distance longer than the first detection distance;
While the detection distance of the proximity sensor is set to the first detection distance, each part of the electronic device is controlled so that the electronic device performs the first function, while the detection distance of the proximity sensor is While the second detection distance is set, the electronic device is caused to function as a control unit that controls each part of the electronic device so as to execute a second function different from the first function. It is a program.
According to Supplementary Note 6, since the proximity sensor can be used for other purposes, a program for further improving convenience can be provided.
1 携帯電話機
5 近接センサ
20 制御部
100 近接センサ
101 検出距離設定手段
102 電子機器
103 制御手段
201 検出距離設定工程
202 制御工程
DESCRIPTION OF
Claims (6)
前記近接センサの検出距離が前記第1の検出距離に設定されている間は当該電子機器が第1の機能を実行するように当該電子機器の各部を制御する一方、前記近接センサの検出距離が前記第2の検出距離に設定されている間は当該電子機器が前記第1の機能とは異なる第2の機能を実行するように当該電子機器の各部を制御する制御手段と
を備えたことを特徴とする電子機器。 Detection distance setting means for setting the detection distance of the proximity sensor to one of the first detection distance and the second detection distance longer than the first detection distance;
While the detection distance of the proximity sensor is set to the first detection distance, each part of the electronic device is controlled so that the electronic device performs the first function, while the detection distance of the proximity sensor is Control means for controlling each part of the electronic device so that the electronic device executes a second function different from the first function while the second detection distance is set. Features electronic equipment.
前記近接センサの検出距離が前記第1の検出距離に設定されている間は当該電子機器が第1の機能を実行するように当該電子機器の各部を制御する一方、前記近接センサの検出距離が前記第2の検出距離に設定されている間は当該電子機器が前記第1の機能とは異なる第2の機能を実行するように当該電子機器の各部を制御する制御工程と
を含むことを特徴とする、電子機器の制御方法。 A detection distance setting step of setting the detection distance of the proximity sensor to either the first detection distance or the second detection distance longer than the first detection distance;
While the detection distance of the proximity sensor is set to the first detection distance, each part of the electronic device is controlled so that the electronic device performs the first function, while the detection distance of the proximity sensor is And a control step of controlling each part of the electronic device so that the electronic device executes a second function different from the first function while the second detection distance is set. And a method for controlling an electronic device.
近接センサの検出距離を第1の検出距離とこの第1の検出距離よりも長い第2の検出距離とのいずれか一方に設定する検出距離設定手段、
前記近接センサの検出距離が前記第1の検出距離に設定されている間は当該電子機器が第1の機能を実行するように当該電子機器の各部を制御する一方、前記近接センサの検出距離が前記第2の検出距離に設定されている間は当該電子機器が前記第1の機能とは異なる第2の機能を実行するように当該電子機器の各部を制御する制御手段
として機能させることを特徴とするプログラム。 The electronic computer,
Detection distance setting means for setting the detection distance of the proximity sensor to one of the first detection distance and the second detection distance longer than the first detection distance;
While the detection distance of the proximity sensor is set to the first detection distance, each part of the electronic device is controlled so that the electronic device performs the first function, while the detection distance of the proximity sensor is While the second detection distance is set, the electronic device is caused to function as a control unit that controls each part of the electronic device so as to execute a second function different from the first function. Program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013034538A JP2014165636A (en) | 2013-02-25 | 2013-02-25 | Electronic device, control method of the same, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013034538A JP2014165636A (en) | 2013-02-25 | 2013-02-25 | Electronic device, control method of the same, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2014165636A true JP2014165636A (en) | 2014-09-08 |
Family
ID=51615886
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013034538A Pending JP2014165636A (en) | 2013-02-25 | 2013-02-25 | Electronic device, control method of the same, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2014165636A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018023087A (en) * | 2016-08-03 | 2018-02-08 | 正文科技股▲ふん▼有限公司Gemtek Technology Co., Ltd, | Radio communication device |
-
2013
- 2013-02-25 JP JP2013034538A patent/JP2014165636A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018023087A (en) * | 2016-08-03 | 2018-02-08 | 正文科技股▲ふん▼有限公司Gemtek Technology Co., Ltd, | Radio communication device |
US10200891B2 (en) | 2016-08-03 | 2019-02-05 | Gemtek Technology Co., Ltd. | Wireless communication device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP4161111A1 (en) | Searching and positioning method and apparatus, electronic device, and storage medium | |
JP5960926B2 (en) | Electronic device, battery protection method, facility, program, and recording medium | |
JP6060267B2 (en) | Terminal lock release processing method, apparatus, terminal apparatus, program, and recording medium | |
US10162466B2 (en) | Portable device and method of modifying touched position | |
ES2744128T3 (en) | Use of mobile computing device sensors to initiate a telephone call or modify the operation of a telephone | |
US20110312349A1 (en) | Layout design of proximity sensors to enable shortcuts | |
US10610152B2 (en) | Sleep state detection method, apparatus and system | |
RU2669530C2 (en) | Method and apparatus for triggering execution of operation instruction | |
US20150177865A1 (en) | Alternative input device for press/release simulations | |
WO2014065254A1 (en) | Portable terminal device and input operation acceptance method | |
KR20140005406A (en) | Method and apparatus for controlling sleep mode in portable terminal | |
JP7329150B2 (en) | Touch button, control method and electronic device | |
JP6386189B2 (en) | Power management method, power management apparatus, and electronic device | |
KR20140140891A (en) | Apparatus and Method for operating a proximity sensor function in an electronic device having touch screen | |
WO2016045027A1 (en) | Screen sensitivity adjustment method and mobile terminal | |
WO2019047862A1 (en) | Fingerprint acquisition method and terminal device and storage medium | |
JP2020515932A (en) | Methods for capturing fingerprints and related products | |
EP2720445A1 (en) | Electronic device with proximity sensing | |
JP2023538685A (en) | Electronic equipment assembly, its control method, and electronic equipment control device | |
JP6478655B2 (en) | Mobile device | |
US11476684B2 (en) | Charging protection method, terminal, and charger | |
KR20220166853A (en) | Display method and electronic device | |
WO2015199175A1 (en) | Portable electronic apparatus, portable electronic apparatus control method, and recording medium | |
JP6047048B2 (en) | Mobile device, touch panel restriction area setting method and program | |
JP2014165636A (en) | Electronic device, control method of the same, and program |