JP2011107788A - Portable terminal and input control program - Google Patents

Portable terminal and input control program Download PDF

Info

Publication number
JP2011107788A
JP2011107788A JP2009259362A JP2009259362A JP2011107788A JP 2011107788 A JP2011107788 A JP 2011107788A JP 2009259362 A JP2009259362 A JP 2009259362A JP 2009259362 A JP2009259362 A JP 2009259362A JP 2011107788 A JP2011107788 A JP 2011107788A
Authority
JP
Japan
Prior art keywords
key
value
contact
equal
unit
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.)
Granted
Application number
JP2009259362A
Other languages
Japanese (ja)
Other versions
JP5340890B2 (en
Inventor
Yoshito Miyazaki
良人 宮崎
Takatsugu Izumi
貴次 泉
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 JP2009259362A priority Critical patent/JP5340890B2/en
Priority to US13/201,437 priority patent/US9081546B2/en
Priority to PCT/JP2010/006571 priority patent/WO2011058735A1/en
Publication of JP2011107788A publication Critical patent/JP2011107788A/en
Application granted granted Critical
Publication of JP5340890B2 publication Critical patent/JP5340890B2/en
Priority to US14/717,988 priority patent/US9477335B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Position Input By Displaying (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a portable terminal which can reduce occurrence of malfunction based on an input from a touchpad. <P>SOLUTION: The portable terminal includes the touchpad which outputs a value indicating a degree of contact upon detection of contact, holds a first threshold for determining a target range in which processing to be executed is assigned and a second threshold which is less than the first threshold, calculates a value indicating a degree of the contact of the range for each range wherein the contact on the touchpad is detected on the basis of a value indicating the degree of the contact output from the touchpad, decides one range wherein the calculated value is greater than or equal to the first threshold as the target range when the number of ranges where the calculated value is greater than or equal to the second threshold among the ranges where the contact is detected on the touchpad is under a default value, and does not decide the target range when the number of ranges wherein the computed values are greater than or equal to the second threshold is equal to or greater than the default value. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、タッチパッドを有する携帯電話機等の携帯端末に関し、特に、タッチパッドからの入力に基づく処理実行に係る制御技術に関する。   The present invention relates to a mobile terminal such as a mobile phone having a touch pad, and more particularly to a control technique related to processing execution based on an input from a touch pad.

タッチパッドによる操作が可能な携帯電話機等の携帯端末は、タッチパッド上の接触の度合いを示す値(例えば、静電容量を表す値)に基づいて、タッチパッド上の接触範囲を検出し、その接触範囲に割り当てられている処理を実行する。
従って、例えば、ユーザの指等以外の身体の一部がタッチパッドに接触してしまった場合等(以下、「誤接触」という)に、ユーザが意図しない処理が実行されてしまう(以下、「誤動作」という)という問題が生じ得る。
A portable terminal such as a mobile phone that can be operated by a touchpad detects a contact range on the touchpad based on a value indicating the degree of contact on the touchpad (for example, a value indicating capacitance), and The process assigned to the contact area is executed.
Therefore, for example, when a part of the body other than the user's finger or the like comes into contact with the touch pad (hereinafter referred to as “miscontact”), a process unintended by the user is performed (hereinafter, “ The problem of “malfunction” may occur.

この問題に対しては、タッチパッド上での接触範囲が、既定の面積値を超えるか否かを判定し、既定の面積値を超える場合には、この接触に基づく処理を行わないよう制御する方法が知られている(例えば、特許文献1)。
これにより、例えば、上述の既定の面積値として、ユーザの指等を接触させた場合の面積値と指等以外の身体の一部を接触させた場合の面積値との境界となる面積値を設定しておくことで、指等以外のユーザの身体の一部が誤って接触してしまった場合にも、誤動作を防止することができる。
For this problem, it is determined whether or not the contact range on the touchpad exceeds a predetermined area value, and if it exceeds the predetermined area value, control is performed so that processing based on this contact is not performed. A method is known (for example, Patent Document 1).
Thereby, for example, as the above-mentioned predetermined area value, an area value that becomes a boundary between an area value when a user's finger or the like is brought into contact with an area value when a part of the body other than the finger or the like is brought into contact By setting, even when a part of the user's body other than a finger or the like is accidentally touched, malfunction can be prevented.

特開2004−126752号公報JP 2004-126752 A

特許文献1の方法を用いて誤動作を防止する場合、タッチパッド上の接触の度合いを示す値(静電容量を表す値等)が既定の閾値を超えている範囲をタッチパッドの接触範囲とし、上述の既定の面積値を超えるか否かの判定を行うことが考えられる。
しかしながら、接触の仕方によっては、例えば、時間の経過と共に、接触範囲の面積が徐々に広がっていくようなケースも考えられるが、特許文献1の方法では、上述の判定のタイミングで、接触範囲の面積が既定の面積値を越えていなければ、このようなケースの接触による誤動作を防止できない。
When preventing malfunction by using the method of Patent Document 1, a range in which a value indicating a degree of contact on the touch pad (a value indicating capacitance, etc.) exceeds a predetermined threshold is set as a touch range of the touch pad. It can be considered to determine whether or not the above-mentioned predetermined area value is exceeded.
However, depending on the manner of contact, for example, there may be a case where the area of the contact range gradually increases with the passage of time, but in the method of Patent Document 1, the contact range is determined at the above-described determination timing. If the area does not exceed the predetermined area value, such a malfunction due to contact of the case cannot be prevented.

そこで、本発明は係る問題に鑑みてなされたものであり、タッチパッドからの入力に基づく誤動作の発生を低減することが可能な携帯電話機等の携帯端末を提供することを目的とする。   Therefore, the present invention has been made in view of such problems, and an object thereof is to provide a mobile terminal such as a mobile phone that can reduce the occurrence of malfunctions based on input from a touch pad.

上記課題を解決するために、本発明に係る携帯端末は、接触が検出されると、当該接触の度合いを示す値を出力するタッチパッドと、前記タッチパッドから出力された接触の度合いを示す値に基づいて、当該タッチパッド上で接触が検出された範囲毎に、当該範囲の接触の度合いを示す値を算出する算出部と、実行すべき処理が割り当てられている対象範囲を決定するための第1閾値と、第1閾値より小さい第2閾値とを保持する保持部と、前記タッチパッド上で接触が検出された範囲のうち、前記算出部により算出された値が第2閾値以上である範囲の数が、既定値未満である場合には、前記算出部により算出された値が第1閾値以上である1つの範囲を対象範囲として決定し、前記算出部により算出された値が第2閾値以上である範囲の数が既定値以上である場合には、対象範囲の決定を行わない決定部とを備えることを特徴とする。   In order to solve the above-described problems, when a contact is detected, the mobile terminal according to the present invention outputs a value indicating the degree of contact, and a value indicating the degree of contact output from the touch pad. For each range in which contact is detected on the touchpad, a calculation unit that calculates a value indicating the degree of contact in the range and a target range to which a process to be executed is assigned are determined. Of the range in which contact is detected on the touch pad and the holding unit that holds the first threshold value and the second threshold value that is smaller than the first threshold value, the value calculated by the calculating unit is equal to or greater than the second threshold value. When the number of ranges is less than a predetermined value, one range in which the value calculated by the calculation unit is equal to or greater than a first threshold is determined as a target range, and the value calculated by the calculation unit is a second value. In a range that is greater than or equal to the threshold There when it is more than the default value, characterized in that it comprises a determining unit not to perform the determination of the target range.

ここで、接触とは、ユーザの指、顔等の身体やタッチペン等がタッチパッドに接触した状態をいう他、特に静電容量方式のタッチパッドにおいては、ユーザの指、顔等の身体やタッチペン等、タッチパッドの静電容量を変化させるものが、予め定めた変化量以上にタッチパッドの静電容量を変化させるまでタッチパッドに近接した状態を含む。   Here, the contact refers to a state in which a user's finger, face or other body or touch pen is in contact with the touch pad, and particularly in a capacitive touch pad, the user's finger or face or other body or touch pen. For example, a device that changes the capacitance of the touchpad includes a state in which the touchpad is close to the touchpad until the capacitance of the touchpad is changed by a predetermined amount or more.

上記構成を備える本発明に係る携帯端末によれば、タッチパッドからの入力に基づく誤動作の発生を低減することが可能である。   According to the mobile terminal according to the present invention having the above-described configuration, it is possible to reduce the occurrence of malfunctions based on input from the touch pad.

実施の形態1に係る携帯電話機100の閉じられた状態の外観を示す斜視図である。1 is a perspective view showing an external appearance of a closed state of a mobile phone 100 according to Embodiment 1. FIG. 実施の形態1に係る携帯電話機100の開かれた状態の外観を示す斜視図である。1 is a perspective view showing an external appearance of mobile phone 100 according to Embodiment 1 in an opened state. 実施の形態1に係る携帯電話機100の閉じられた状態の外観を示す正面図である。1 is a front view showing an external appearance of a closed state of a mobile phone 100 according to Embodiment 1. FIG. 携帯電話機100の主要部の機能構成を示すブロック図である。3 is a block diagram showing a functional configuration of a main part of the mobile phone 100. FIG. 算出部111が算出するキー接触値の変化を説明するための図である。It is a figure for demonstrating the change of the key contact value which the calculation part 111 calculates. タッチパッド102からの入力に対する携帯電話機100の制御処理を示すフローチャートである。4 is a flowchart showing a control process of the mobile phone 100 in response to an input from a touch pad 102. 4キー、5キー、1キー、2キー、7キーのキー接触値の変化例を示す図である。It is a figure which shows the example of a change of the key contact value of 4 keys, 5 keys, 1 key, 2 keys, and 7 keys. 4キー、5キー、1キー、7キー、8キーのキー接触値の変化例を示す図である。It is a figure which shows the example of a change of the key contact value of 4 keys, 5 keys, 1 key, 7 keys, and 8 keys. 5キー、0キーのキー接触値の変化例を示す図である。It is a figure which shows the example of a change of the key contact value of 5 keys and 0 keys. タッチパッド102からの入力に対する変形携帯電話機の制御処理を示すフローチャートである。10 is a flowchart showing a control process of the modified mobile phone in response to an input from the touch pad 102. 実施の形態2に係る携帯電話機200の主要部の機能構成を示すブロック図である。6 is a block diagram showing a functional configuration of a main part of a mobile phone 200 according to Embodiment 2. FIG. タッチパッド102からの入力に対する携帯電話機200の制御処理を示すフローチャートである。4 is a flowchart showing a control process of the mobile phone 200 in response to an input from the touch pad 102. 携帯電話機200の対象キーの対応処理(図12のステップS31)を示すフローチャートである。13 is a flowchart showing a corresponding process of a target key of the mobile phone 200 (step S31 in FIG. 12).

以下、本発明に係る携帯端末の実施の形態としての携帯電話機について説明する。
≪実施の形態1≫
<外観>
図1は、実施の形態1に係る携帯電話機100の閉じられた状態の外観を示す斜視図であり、図2は、実施の形態1に係る携帯電話機100の開かれた状態の外観を示す斜視図であり、図3は、実施の形態1に係る携帯電話機100の閉じられた状態の外観を示す正面図である。
A mobile phone as an embodiment of a mobile terminal according to the present invention will be described below.
<< Embodiment 1 >>
<Appearance>
1 is a perspective view showing an external appearance of mobile phone 100 according to Embodiment 1 in a closed state, and FIG. 2 is a perspective view showing an external appearance of mobile phone 100 according to Embodiment 1 in an opened state. FIG. 3 is a front view showing the appearance of mobile phone 100 according to Embodiment 1 in a closed state.

図1及び図2に示されるように、携帯電話機100は、横開きタイプの折りたたみ式携帯電話機であり、入力キー3を備える筐体1と、情報の表示画面となるLCD(Liquid Crystal Display)4を備える筐体2とが互いに開閉可能な構成となっている。
図1では、図示を省略しているが、図3に示すように、携帯電話機100は、閉じられた状態で外部に露出する筐体2の表面に、サブLCD101と、タッチパッド102を備える。
As shown in FIGS. 1 and 2, the mobile phone 100 is a side-opening type foldable mobile phone, and includes a housing 1 having an input key 3 and an LCD (Liquid Crystal Display) 4 serving as an information display screen. The housing 2 having the structure can be opened and closed with each other.
Although not shown in FIG. 1, as shown in FIG. 3, the mobile phone 100 includes a sub LCD 101 and a touch pad 102 on the surface of the housing 2 exposed to the outside in a closed state.

タッチパッド102には、各種キーを示すマークが視認可能に配置されており、ユーザは、マークがある位置に指等を接触させることにより、そのマークが示すキーに割り当てられた処理を携帯電話機100に行わせることができる。
なお、同図の一点鎖線は、説明上、各キーの範囲(例えば、5mm×10mm程度)を示すために記載したものであり、実際には視認できるものではない。また、以下では、例えば、「1」のマークが示すキーを「1キー」と表現し、他のマークが示すキーについても同様に表現する。
Marks indicating various keys are visibly arranged on the touch pad 102, and the user performs processing assigned to the key indicated by the mark by bringing a finger or the like into contact with the mark. Can be done.
Note that the alternate long and short dash line in FIG. 8 is described for indicating the range of each key (for example, about 5 mm × 10 mm) for the sake of explanation, and is not actually visible. In the following, for example, a key indicated by a mark “1” is expressed as “1 key”, and keys indicated by other marks are also expressed in the same manner.

また、同図に示すキーの種類及びキーの並び順は一例であり、適宜変更することができる。
また、本実施の形態において、接触とは、ユーザの指、顔等の身体やタッチペン等がタッチパッドに接触した状態をいう他、ユーザの指、顔等の身体やタッチペン等、タッチパッド102の静電容量を変化させるものが、後述するキー接触値(図5参照)がGNDレベル以上になるまでタッチパッドに近接した状態を含む。
Further, the types of keys and the arrangement order of the keys shown in the figure are examples, and can be changed as appropriate.
Further, in the present embodiment, the contact refers to a state in which a user's finger, face or other body, a touch pen, or the like is in contact with the touch pad, or a user's finger, face or other body, a touch pen, or the like. What changes the capacitance includes a state where the touch pad is close until a later-described key contact value (see FIG. 5) becomes equal to or higher than the GND level.

また、以下の説明では、ユーザが指等をタッチパッド102に接触させ、タッチパッド102上のキーを選択することを、キーを押すともいう。
<構成>
図4は、携帯電話機100の主要部の機能構成を示すブロック図である。
携帯電話機100は、同図に示すように、サブLCD101、タッチパッド102、通信部103、スピーカ104、マイク105、バイブレータ106、制御部110、及びアプリケーション実行部120を備える。
Further, in the following description, when a user touches the touch pad 102 with a finger or the like and selects a key on the touch pad 102, it is also referred to as pressing a key.
<Configuration>
FIG. 4 is a block diagram showing a functional configuration of main parts of the mobile phone 100.
The mobile phone 100 includes a sub LCD 101, a touch pad 102, a communication unit 103, a speaker 104, a microphone 105, a vibrator 106, a control unit 110, and an application execution unit 120, as shown in FIG.

なお、携帯電話機100は、プロセッサ及びメモリを含んで構成されており、制御部110及びアプリケーション実行部120の各機能は、上述のメモリに記憶されているプログラムを上述のプロセッサが実行することにより実現され、このメモリには、後述する各種閾値も記憶されているものとする。
ここで、サブLCD101は、制御部110からの指示を受けて文字等の画像を表示する機能を有する。
Note that the mobile phone 100 includes a processor and a memory, and each function of the control unit 110 and the application execution unit 120 is realized by the above-described processor executing a program stored in the above-described memory. In this memory, it is assumed that various threshold values described later are also stored.
Here, the sub LCD 101 has a function of displaying an image such as a character in response to an instruction from the control unit 110.

タッチパッド102は、一般的な静電容量方式のタッチセンサにより実現され、ユーザによる接触を検出し、検出している間、単位時間(例えば、25ms)毎に、その接触位置の座標値(x,y)と静電容量を表すための値との組を制御部110に送出する回路であり、特に、複数の位置が接触されている場合には、上述の組を複数送出するものである。   The touch pad 102 is realized by a general electrostatic capacitance type touch sensor, and detects a contact by a user. During the detection, the coordinate value (x of the contact position) is detected every unit time (for example, 25 ms). , Y) and a circuit for sending a set of values for expressing the capacitance to the control unit 110. In particular, when a plurality of positions are in contact, a plurality of the above-described sets are sent. .

なお、一例として、図3に点線の長方形で示すタッチパッド102の左上の頂点の座標値は(0,0)であるとし、右下の頂点の座標値は(160,220)であるとする。
通信部103は、アンテナを介して基地局との間で電波の送受信を行う回路であり、受信信号を復調し制御部110へ伝達する機能、及び制御部110から伝達された信号を変調し送信する機能を有する。
As an example, the coordinate value of the upper left vertex of the touch pad 102 indicated by the dotted rectangle in FIG. 3 is (0, 0), and the coordinate value of the lower right vertex is (160, 220). .
The communication unit 103 is a circuit that transmits and receives radio waves to and from the base station via an antenna. The communication unit 103 demodulates the received signal and transmits it to the control unit 110, and modulates and transmits the signal transmitted from the control unit 110. Has the function of

制御部110は、一般的な携帯電話機が有する機能の他、タッチパッド102から送出された接触位置の座標値と静電容量を表すための値との組に基づいて、押されているキーの識別情報を含むイベントをアプリケーション実行部120に通知するOS(Operating System)として機能するものであり、算出部111、切替部112、キー決定部113、イベント通知部114、音声処理部115、及び表示制御部116を含む。   In addition to the functions of a general mobile phone, the control unit 110 determines the key being pressed based on the set of the coordinate value of the contact position sent from the touch pad 102 and the value representing the capacitance. It functions as an OS (Operating System) that notifies an event including identification information to the application execution unit 120, and includes a calculation unit 111, a switching unit 112, a key determination unit 113, an event notification unit 114, an audio processing unit 115, and a display. A control unit 116 is included.

ここで、算出部111は、タッチパッド102上の各キーの配置(座標範囲)を管理しており、タッチパッド102から送出された、接触位置の座標値(x,y)と静電容量を表すための値との組に基づいて、接触されているキー毎に、0〜1024の範囲の値(以下、「キー接触値」という)を算出する機能を有する。
算出部111は、非調整状態と調整状態との2つの状態を切替部112からの指示に応じて切り替えて動作し、非調整状態では、接触されているキー毎に、そのキーの座標範囲における接触面積の増減に応じて0〜1024の範囲で増減する値を算出し、その値をそのまま上記キー接触値とし、調整状態では、接触されているキー毎に、そのキーの座標範囲における接触面積の増減に応じて0〜1024の範囲で増減する値の、上記単位時間(この例では25ms)前のキー接触値に対する変化量が既定値(以下では、「30」とする)以内となるように調整した値を上記キー接触値とする。
Here, the calculation unit 111 manages the arrangement (coordinate range) of each key on the touch pad 102, and calculates the coordinate value (x, y) and capacitance of the contact position sent from the touch pad 102. It has a function of calculating a value in the range of 0 to 1024 (hereinafter referred to as “key contact value”) for each touched key based on a set with a value to represent.
The calculation unit 111 operates by switching between two states, a non-adjustment state and an adjustment state, in accordance with an instruction from the switching unit 112. In the non-adjustment state, the calculation unit 111 operates in the coordinate range of the key for each touched key. A value that increases or decreases in the range of 0 to 1024 according to the increase or decrease of the contact area is calculated, and the value is directly used as the key contact value. In the adjustment state, the contact area in the coordinate range of the key for each touched key. The amount of change with respect to the key touch value before the unit time (25 ms in this example) of the value that increases or decreases in the range of 0 to 1024 in accordance with the increase or decrease of is within a predetermined value (hereinafter referred to as “30”). The value adjusted to is the key touch value.

つまり、調整状態では、接触されているキー毎に、そのキーの座標範囲における接触面積の増減に応じて0〜1024の範囲で増減する値の、単位時間前のキー接触値に対する変化量が、既定値以下であればそのままの値を、既定値より大きい場合には、単位時間前のキー接触値に既定値を加算した値を上記キー接触値とする。
なお、接触されているキーの座標範囲における接触面積の増減に応じて0〜1024の範囲で増減する値としては、例えば、そのキーの座標範囲内の静電容量を表すための値の総和を0〜1024の範囲の値を取るようにスケール変換した値を用いることができる。
That is, in the adjustment state, for each touched key, the amount of change with respect to the key touch value before the unit time of the value that increases or decreases in the range of 0 to 1024 in accordance with the increase or decrease of the contact area in the coordinate range of the key is If the value is equal to or smaller than the predetermined value, the value is left as it is. If the value is larger than the predetermined value, a value obtained by adding the predetermined value to the key touch value before unit time is set as the key touch value.
In addition, as a value which increases / decreases in the range of 0-1024 according to the increase / decrease in the contact area in the coordinate range of the key currently touched, the sum total of the value for showing the electrostatic capacitance in the coordinate range of the key is shown, for example. A value that is scale-converted to take a value in the range of 0 to 1024 can be used.

また、算出部111の状態に応じて、キー接触値がどのように変化するのかについては、後に詳細に説明する(図5参照)。
切替部112は、算出部111の状態及び算出部111により算出されたキー接触値に基づいて、算出部111の状態を切り替えさせる機能を有する。
切替部112は、調整状態である算出部111により算出されたキー接触値のいずれかがキー押し検出閾値を超えた場合に、算出部111の状態を非調整状態に切り替えさせ、非調整状態である算出部111により算出されたキー接触値の全てがリリース検出閾値未満になった場合に、算出部111の状態を調整状態に切り替えさせる。
Further, how the key contact value changes according to the state of the calculation unit 111 will be described in detail later (see FIG. 5).
The switching unit 112 has a function of switching the state of the calculation unit 111 based on the state of the calculation unit 111 and the key contact value calculated by the calculation unit 111.
The switching unit 112 switches the state of the calculation unit 111 to the non-adjustment state when any of the key contact values calculated by the calculation unit 111 that is in the adjustment state exceeds the key press detection threshold. When all of the key contact values calculated by a certain calculation unit 111 are less than the release detection threshold, the state of the calculation unit 111 is switched to the adjustment state.

ここで、キー押し検出閾値とは、キーが押されたか否かを判定するために用いられる閾値であり、例えば、「632」であるものとし、リリース検出閾値とは、キーが離されたか否かを判定するために用いられる閾値であり、例えば、「580」であるものとする。
なお、切替部112が算出部111の状態を切り替えるタイミングについては、後に詳細に説明する(図5参照)。
Here, the key press detection threshold is a threshold used for determining whether or not a key is pressed, and is assumed to be, for example, “632”, and the release detection threshold is whether or not the key is released. It is assumed that the threshold is used to determine whether or not, for example, “580”.
Note that the timing at which the switching unit 112 switches the state of the calculation unit 111 will be described in detail later (see FIG. 5).

キー決定部113は、算出部111により算出されたキー接触値に基づいて、1つのキー(以下、「対象キー」という)を決定する機能を有する。後述するように、この対象キーに割り当てられている処理が実行されることになる。
キー決定部113は、算出部111により算出されたキー接触値が多重押し検出閾値(例えば、「580」であるものとする)以上であるキーが既定数以上存在する(以下、「多重押し」という)場合、及び多重押し検出閾値以上である各キーの間の位置にリリース検出閾値(580)以下のキーが存在する場合を除き、キー押し検出閾値(632)以上の最大値のキーを原則として対象キーと決定する。
The key determination unit 113 has a function of determining one key (hereinafter referred to as “target key”) based on the key contact value calculated by the calculation unit 111. As will be described later, the process assigned to the target key is executed.
The key determination unit 113 has a predetermined number or more keys whose key contact values calculated by the calculation unit 111 are equal to or greater than a multiple press detection threshold (for example, “580”) (hereinafter “multiple press”). In principle, the key with the maximum value not less than the key press detection threshold (632) is in principle, unless there is a key less than the release detection threshold (580) at a position between each key that is not less than the multiple press detection threshold. As the target key.

多重押しの場合及び多重押し検出閾値以上である各キーの間の位置にリリース検出閾値(580)以下のキーが存在する場合を除くのは、これらが検出された場合には、ユーザの指等による通常の操作以外の理由により、タッチパッド102への接触が行われていると考えられるため、このようないわば異常な接触により、対象キーが決定され、誤って、対象キーに割り当てられた処理(以下、「対応処理」ともいう)が実行されてしまうことを防ぐ必要があるためである。異常な接触とは、例えば、通話中にユーザの顔等がタッチパッド102に接触することや、バック等の中で、そのバック等内の他の物がタッチパッド102に接触する場合等が挙げられる。   Except in the case of multiple pressing and when there is a key below the release detection threshold (580) at a position between each key that is above the multiple pressing detection threshold, when these are detected, the user's finger, etc. Since it is considered that the touch pad 102 is touched for a reason other than the normal operation by, the target key is determined by such a so-called abnormal touch, and the process assigned to the target key is erroneously performed. This is because it is necessary to prevent (hereinafter, also referred to as “corresponding processing”) from being executed. The abnormal contact includes, for example, a case where a user's face or the like touches the touch pad 102 during a call, or a case where another object such as the back contacts the touch pad 102 in the back or the like. It is done.

なお、多重押しであると判定するための上述の既定数としては、ユーザが指等でキーを操作した場合には同時に接触し得ないキーの数を設定する必要があり、以下の説明では、一例として、ユーザが1本の指でキーを操作した場合には、1本の指が同時に、目的のキーと、目的のキーの隣と、目的のキーの上又は下と、目的のキーの斜めとの4つまでのキーに接触し得ると想定することにより、キー接触値が多重押し検出閾値以上であるキーが5つ以上存在する場合を多重押しとする。また、キー決定部113は、一旦、対象キーを決定した後は、全てのキーについての算出部111により算出されたキー接触値がリリース検出閾値以下になるまで、次の対象キーの決定を行わないものとする。   In addition, as the above-mentioned predetermined number for determining that multiple pressing is performed, it is necessary to set the number of keys that cannot be touched simultaneously when the user operates a key with a finger or the like. In the following description, As an example, when a user operates a key with one finger, one finger simultaneously controls the target key, next to the target key, above or below the target key, and the target key. Assuming that it is possible to touch up to four keys diagonally, a case where there are five or more keys whose key contact value is equal to or greater than the multiple press detection threshold is determined as multiple press. In addition, once the target key is determined, the key determination unit 113 determines the next target key until the key contact values calculated by the calculation unit 111 for all the keys are equal to or less than the release detection threshold. Make it not exist.

イベント通知部114は、キー決定部113により決定された対象キーを示す識別情報を含むイベントを、アプリケーション実行部120に通知する機能を有する。
音声処理部115は、通信部103を介して受信した音声信号をD/A(Digital/Analog)変換し、スピーカ104から出力する機能、及びマイク105から入力された音声信号をA/D(Analog/Digital)変換し、生成した信号を通信部103を介して送信する機能を有する。なお、上述の音声信号には、DTMF(Dial Tone Multi Frequency)トーンが含まれる。
The event notification unit 114 has a function of notifying the application execution unit 120 of an event including identification information indicating the target key determined by the key determination unit 113.
The audio processing unit 115 performs D / A (Digital / Analog) conversion on the audio signal received via the communication unit 103 and outputs the audio signal input from the speaker 105 and the A / D (Analog) / Digital) and a function of transmitting the generated signal via the communication unit 103. The above audio signal includes a DTMF (Dial Tone Multi Frequency) tone.

表示制御部116は、アプリケーション実行部120からの指示に従って、サブLCD101に画像等を表示させる機能を有する。
アプリケーション実行部120は、制御部110から通知されたイベントに応じた処理を行うイベントドリブンのアプリケーションとして機能するものである。
<キー接触値>
ユーザの指等により接触されたキーについてのキー接触値が、算出部111の状態に応じてどのように変化するかを、図5を用いて説明する。
The display control unit 116 has a function of displaying an image or the like on the sub LCD 101 in accordance with an instruction from the application execution unit 120.
The application execution unit 120 functions as an event-driven application that performs processing according to an event notified from the control unit 110.
<Key contact value>
How the key contact value for the key touched by the user's finger or the like changes according to the state of the calculation unit 111 will be described with reference to FIG.

図5は、算出部111が算出するキー接触値の変化を説明するための図である。
同図に示すように、横軸は時刻を、縦軸は、ユーザの指等により接触されたある1つのキーについてのキー接触値を示しているが、キー接触値が0〜511までの範囲については図示を省略している。また、GNDは、ユーザの指等がキーに接触しているか否かを判定するために用いられる閾値(一例として、「512」)を表している。
FIG. 5 is a diagram for explaining a change in the key contact value calculated by the calculation unit 111.
As shown in the figure, the horizontal axis indicates the time, and the vertical axis indicates the key contact value for one key touched by the user's finger or the like, but the key contact value ranges from 0 to 511. The illustration is omitted for. The GND represents a threshold value (for example, “512”) used for determining whether or not the user's finger or the like is in contact with the key.

なお、以下の説明において、同図に示す時刻T1〜時刻T2の時間、及び時刻T5〜時刻T7の時間は100msであるものとし、また、時刻T1において、算出部111は、調整状態であるものとする。
時刻T1は、ユーザの指等により、あるキーへの接触が開始されたタイミングを示している。
In the following description, it is assumed that the time from time T1 to time T2 and the time from time T5 to time T7 shown in the figure is 100 ms, and that the calculation unit 111 is in the adjusted state at time T1. And
Time T1 indicates the timing at which contact with a certain key is started by the user's finger or the like.

キーへの接触が開始されることにより、そのキーについての接触面積の増減に応じて増減する値は、キー押し検出閾値を超える値となるが、調整状態である算出部111は、時刻T1〜T2において、単位時間(この例では25ms)内の値の変化が既定値(この例では「30」)以内になるように調整した値をキー接触値として算出する。従って、時刻T1〜時刻T2において、キー接触値は階段状に増加する。   When the contact with the key is started, the value that increases or decreases in accordance with the increase or decrease of the contact area for the key becomes a value that exceeds the key press detection threshold. At T2, a value adjusted so that a change in value within a unit time (25 ms in this example) is within a predetermined value (“30” in this example) is calculated as a key contact value. Therefore, the key contact value increases stepwise from time T1 to time T2.

時刻T2は、キー接触値が、キー押し検出閾値以上になったタイミングを示している。
キー接触値がキー押し検出閾値以上になったときに、切替部112は、算出部111を非調整状態に切り替えさせるため、時刻T2において、切替部112は、算出部111を非調整状態に切り替えさせる。その結果、キー接触値は、調整された値ではなくなるため、時刻T2〜T3において、キー接触値は一気に増加し、以降、時刻T5まで、キー接触値は、そのキーについての接触面積の増減に応じて変化する。
Time T2 indicates the timing at which the key contact value is equal to or greater than the key press detection threshold.
When the key contact value is greater than or equal to the key press detection threshold, the switching unit 112 switches the calculation unit 111 to the non-adjusted state at time T2, so that the switching unit 112 switches the calculation unit 111 to the non-adjusted state. Let As a result, the key contact value is no longer the adjusted value, so that the key contact value increases at a stroke from time T2 to T3. Thereafter, until time T5, the key contact value increases or decreases the contact area for the key. Will change accordingly.

時刻T4は、時刻T1で開始されていた、あるキーへのユーザの指等による接触が離されたタイミングを示している。
算出部111は、非調整状態であるため、時刻T4〜時刻T5において、キー接触値は一気に減少する。
時刻T5は、キー接触値が、リリース検出閾値以下となったタイミングを示している。
Time T4 indicates the timing at which contact with a certain key by a user's finger or the like started at time T1 was released.
Since the calculation unit 111 is in an unadjusted state, the key contact value decreases at a stroke from time T4 to time T5.
Time T5 indicates the timing when the key contact value becomes equal to or less than the release detection threshold.

キー接触値がリリース検出閾値以下になったときに、切替部112は、算出部111を調整状態に切り替えさせるため、時刻T5において、切替部112は、算出部111を調整状態に切り替えさせる。その結果、キー接触値は、単位時間(25ms)内の値の変化が既定値(30)以内になるように調整した値となるため、時刻T5〜時刻T6において、キー接触値は階段状に減少する。   When the key contact value becomes equal to or smaller than the release detection threshold, the switching unit 112 switches the calculation unit 111 to the adjustment state at time T5, so that the switching unit 112 switches the calculation unit 111 to the adjustment state. As a result, the key touch value becomes a value adjusted so that the change in the value within the unit time (25 ms) is within the predetermined value (30). Therefore, the key touch value is stepped from time T5 to time T6. Decrease.

上述のように算出部111の状態を切り替えることにより、携帯電話機100は、意図しないキーに割り当てられた処理が誤って実行される(誤動作)可能性を低減させつつ、ユーザによるキーの連続的な操作に対する処理の応答性を向上できる。
以下、この算出部111の状態の切り替えによる効果について、より詳しく説明する。
キー接触値は、上述のように、タッチパッド102から出力される静電容量を表すための値に基づいて算出部111により算出されるが、この静電容量を表すための値は、通話や一般的な携帯電話機が備えるカメラの撮影等によるノイズの影響によっても変動するものである。
By switching the state of the calculation unit 111 as described above, the mobile phone 100 reduces the possibility that a process assigned to an unintended key is erroneously executed (malfunction), while the key of the user is continuously changed. The responsiveness of processing to operations can be improved.
Hereinafter, the effect of switching the state of the calculation unit 111 will be described in more detail.
As described above, the key contact value is calculated by the calculation unit 111 based on the value for expressing the capacitance output from the touch pad 102. It also fluctuates due to the influence of noise caused by photographing with a camera provided in a general mobile phone.

また、上述のように、キー決定部113は、キー押し検出閾値(632)以上のキーを対象キーとして決定し、この対象キーに割り当てられた処理が実行されることになることから、もしも、ノイズの影響によりキー接触値が一気にキー押し検出閾値を越えるようなことがあれば誤動作することになる。
しかしながら、キーへの接触が開始された時刻T1から、キー接触値がキー押し検出閾値に達する時刻T2までは、算出部111は調整状態で動作するので、キーにおける接触面積の増減に応じて増減する値の単位時間内の変化が既定値(30)以内になるように調整した値がキー接触値とされるので、ノイズの影響によりキー接触値が一気にキー押し検出閾値を越えるようなことは生じ得ず、上述のような誤動作の発生を適切に防ぐことができる。
Further, as described above, the key determination unit 113 determines a key equal to or higher than the key press detection threshold (632) as a target key, and the process assigned to the target key is executed. If the key touch value exceeds the key press detection threshold at a stroke due to the influence of noise, a malfunction occurs.
However, since the calculation unit 111 operates in the adjustment state from the time T1 when the touch to the key is started to the time T2 when the key touch value reaches the key press detection threshold value, it increases or decreases according to the increase or decrease of the touch area on the key. Since the value adjusted so that the change in the unit value within the unit time is within the predetermined value (30) is the key touch value, the key touch value exceeds the key press detection threshold at once due to the influence of noise. It cannot occur, and the occurrence of the malfunction as described above can be prevented appropriately.

また、キー決定部113は、上述したように、一旦対象キーを決定した後は、全てのキーに対する接触が離されてキー接触値がリリース検出閾値以下になるまで、次の対象キーの決定を行わないところ、時刻T2〜時刻T5において、算出部111は、非調整状態で動作するので、時刻T4でユーザの指等がキーから離されると、キー接触値は、一気に減少して、同図では、時刻T5でリリース検出閾値と一致する。   In addition, as described above, once the target key is determined, the key determination unit 113 determines the next target key until all the keys are released and the key contact value becomes equal to or less than the release detection threshold. However, since the calculation unit 111 operates in an unadjusted state from time T2 to time T5, when the user's finger or the like is released from the key at time T4, the key contact value is reduced at a stroke, Then, it coincides with the release detection threshold at time T5.

例えば、同図に示すキー接触値に係るキーのみがユーザの指等により接触されていたとすると、時刻T5より後の時刻で、次の対象キーの決定が可能になる。従って、時刻T2〜時刻T5において、もし仮に、算出部111が、調整状態で動作するとした場合と比較し、ユーザによるキーの連続的な操作に対する処理の応答性を向上できる。
<動作>
次に、上記構成を備える携帯電話機100の動作について、図6を用いて説明する。
For example, if only the key related to the key contact value shown in the figure is touched by the user's finger or the like, the next target key can be determined at a time after time T5. Therefore, at time T2 to time T5, it is possible to improve the responsiveness of the process to the continuous operation of the key by the user as compared with the case where the calculation unit 111 operates in the adjustment state.
<Operation>
Next, the operation of the mobile phone 100 having the above configuration will be described with reference to FIG.

図6は、タッチパッド102からの入力に対する携帯電話機100の制御処理を示すフローチャートである。
なお、同図に示す制御処理とは独立した処理として、タッチパッド102からは、単位時間毎(この例では25ms毎)に検出されている接触位置の座標値(x,y)と静電容量を表すための値との組が出力されており、制御部110の算出部111により、単位時間毎に、接触されている各キーについてのキー接触値が算出されている。以下の説明を開始する時点で、算出部111は、調整状態で動作しているものとして説明する。
FIG. 6 is a flowchart showing a control process of the mobile phone 100 in response to an input from the touch pad 102.
As a process independent of the control process shown in the figure, the coordinate value (x, y) and the capacitance of the contact position detected from the touch pad 102 every unit time (in this example, every 25 ms). And a key contact value for each touched key is calculated by the calculation unit 111 of the control unit 110 for each unit time. At the time when the following description is started, the calculation unit 111 will be described as operating in an adjusted state.

また、同図に示す制御処理は、繰り返し実行されるものとする。
同図に示すように、制御部110のキー決定部113は、算出部111が算出した最新の各キー接触値に基づいて、多重押し検出閾値以上であるキーの数がいくつあるかを繰り返し(この例では、100ms毎)判定する(ステップS1)。
ステップS1において、該当のキーの数が0である場合には(ステップS1:0)、キー決定部113は、特に処理を行うことなく制御処理を終了する。
Further, the control processing shown in FIG.
As shown in the figure, the key determination unit 113 of the control unit 110 repeats how many keys are equal to or greater than the multiple press detection threshold based on the latest key contact values calculated by the calculation unit 111 ( In this example, every 100 ms) is determined (step S1).
In step S1, when the number of corresponding keys is 0 (step S1: 0), the key determination unit 113 ends the control process without performing any particular process.

また、ステップS1において、該当のキーの数が5つ以上である場合には(ステップS1:5以上)、切替部112は、算出部111の状態を、非調整状態へと切り替えさせ(ステップS2)、後述するステップS11の処理に進む。
なお、ステップS2で、算出部111の状態を、非調整状態へと切り替えさせるのは、算出部111の状態が調整状態である場合において、多重押しが検出されたときに、タッチパッド102からの接触が離された後、全てのキーのキー接触値がキー押し検出閾値未満となって、次の対象キーの決定をなるべく早く行えるようにするためである。
In step S1, when the number of corresponding keys is 5 or more (step S1: 5 or more), the switching unit 112 switches the state of the calculation unit 111 to the non-adjusted state (step S2). ), The process proceeds to step S11 described later.
In step S2, the state of the calculation unit 111 is switched to the non-adjustment state when the multiple press is detected when the state of the calculation unit 111 is the adjustment state. This is because after the contact is released, the key contact values of all the keys become less than the key press detection threshold value so that the next target key can be determined as soon as possible.

また、ステップS11へ進むのは、多重押しが生じた場合、タッチパッド102への接触が、ユーザの指等による通常の操作によるものではないと考えられるため、対応処理が実行されること(誤動作)を防ぐ必要があるためである。
また、ステップS1において、該当のキーの数が1つ〜4つである場合には(ステップS1:1以上5未満)、キー決定部113は、その該当のキーに含まれる2つのキーの組合せそれぞれについて、その組合せに係る2つのキーの間の位置のキー、つまり、2つのキーそれぞれと隣接するキーのキー接触値がリリース検出閾値以下であるか否かを判定する(ステップS3)。ユーザの指等によるタッチパッド102への操作が行われていれば、多重押し検出閾値以上の2つのキーそれぞれに隣接する1つのキーにもユーザの指等が接触しているのが通常であると考えられる。従って、この隣接する1つのキーがリリース検出閾値以下であるような場合には、ユーザの指等による通常の操作ではないと考えられるため、対応処理が実行されること(誤動作)を防ぐ必要があるためである。
Further, the process proceeds to step S11 because, when multiple pressing occurs, it is considered that the touch on the touch pad 102 is not due to a normal operation with the user's finger or the like, and therefore the corresponding process is executed (malfunction). ) Is necessary to prevent.
When the number of corresponding keys is 1 to 4 in step S1 (step S1: 1 or more and less than 5), the key determination unit 113 combines the two keys included in the corresponding key. For each, it is determined whether or not the key at the position between the two keys related to the combination, that is, the key contact value of the key adjacent to each of the two keys is equal to or less than the release detection threshold (step S3). If the user's finger or the like is operated on the touch pad 102, it is normal that the user's finger or the like is in contact with one key adjacent to each of the two keys that are equal to or greater than the multiple press detection threshold value. it is conceivable that. Therefore, when one adjacent key is less than or equal to the release detection threshold, it is considered that it is not a normal operation with the user's finger or the like, and therefore it is necessary to prevent the corresponding process from being executed (malfunction). Because there is.

なお、同行及び同列に配置されていない2つのキーについての各キー接触値が多重押し検出閾値以上である場合、例えば、キー決定部113は、1キー及び8キーについての各キー接触値が多重押し検出閾値以上である場合には、1キーと8キーとの間の行に配置されたキーであって、1キーの列から8キーの列までに配置されているキー(この例では、4キー及び5キー)が、1キー及び8キーに隣接するキーであるとして、上記判定を行う。   When the key contact values for two keys that are not arranged in the same row and in the same column are equal to or greater than the multiple press detection threshold, for example, the key determination unit 113 multiplexes the key contact values for the 1 key and 8 keys. If the threshold value is equal to or greater than the pressing detection threshold, the keys are arranged in the row between the 1 key and the 8 key, and are arranged from the 1 key column to the 8 key column (in this example, The above determination is made assuming that the 4 key and the 5 key are adjacent to the 1 key and the 8 key.

例えば、キー決定部113は、1キー、3キー、4キー、6キーについての各キー接触値が多重押し検出閾値以上である場合には、キー決定部113は、2キーと5キーとのいずれかのキー接触値がリリース検出閾値以下である場合には、肯定的な判定を行い(ステップS3:YES)、2キー及び5キーのいずれのキー接触値もリリース検出閾値より大きければ否定的な判定(ステップS3:NO)を行う。   For example, when the key contact value for the 1 key, 3 key, 4 key, and 6 key is equal to or greater than the multiple press detection threshold, the key determination unit 113 sets the 2 key and 5 key. If any key contact value is less than or equal to the release detection threshold, an affirmative determination is made (step S3: YES), and if any of the 2 and 5 key touch values is greater than the release detection threshold, the determination is negative. Determination (step S3: NO) is performed.

また、キー決定部113は、キー接触値が多重押し検出閾値以上である2つのキーに隣接するキーが存在しない場合、例えば、1キー及び2キーについての各キー接触値が多重押し検出閾値以上である場合には、1キー及び2キーに隣接するキーは存在しないので、否定的な判定(ステップS3:NO)を行うこととする。
ステップS3でいずれかの隣接するキーのキー接触値がリリース検出閾値以下である場合には(ステップS3:YES)、切替部112は、算出部111の状態を、調整状態から非調整状態へと切り替えさせ(ステップS2)、後述するステップS11の処理に進み、いずれの隣接するキーのキー接触値もリリース検出閾値より大きい場合には(ステップS3:NO)、キー決定部113は、ステップS1で検出した多重押し検出閾値以上であるキーの中に、キー接触値が、キー押し検出閾値以上であるキーが存在するか否かを判定する(ステップS4)。
In addition, when there is no key adjacent to two keys whose key contact value is equal to or greater than the multiple press detection threshold, for example, each key contact value for the 1 key and 2 keys is equal to or greater than the multiple press detection threshold. In this case, since there is no key adjacent to the 1 key and the 2 key, a negative determination (step S3: NO) is performed.
When the key contact value of any adjacent key is equal to or smaller than the release detection threshold value in step S3 (step S3: YES), the switching unit 112 changes the state of the calculation unit 111 from the adjusted state to the non-adjusted state. When the key contact value of any adjacent key is larger than the release detection threshold value (step S3: NO), the key determination unit 113 determines in step S1. It is determined whether or not there is a key whose key contact value is equal to or greater than the key press detection threshold among the detected keys that are equal to or greater than the multiple press detection threshold (step S4).

キー押し検出閾値以上であるキーが存在しない場合には(ステップS4:NO)、再びステップS1から処理を開始し、キー押し検出閾値以上であるキーが存在する場合には(ステップS4:YES)、キー決定部113は、対象キーが決定済か否かを判定する(ステップS5)。
対象キーが決定済でない場合には(ステップS5:NO)、キー決定部113は、キー接触値が最大であるキーを対象キーと決定する(ステップS6)。なお、最大のキー接触値に係るキーが複数ある場合には、予めキーに定められている優先順位に従って対象キーを決定するが、この例では、より左上に配置されているキーを優先するものとする。例えば、最大のキー接触値に係るキーが1キーと2キーと4キーである場合には、1キーを対象キーと決定する。
If there is no key that is greater than or equal to the key press detection threshold (step S4: NO), the process starts again from step S1, and if there is a key that is greater than or equal to the key press detection threshold (step S4: YES). The key determination unit 113 determines whether the target key has been determined (step S5).
If the target key has not been determined (step S5: NO), the key determination unit 113 determines the key having the maximum key contact value as the target key (step S6). In addition, when there are a plurality of keys related to the maximum key contact value, the target key is determined in accordance with the priority order set in advance for the key. In this example, the key arranged at the upper left is given priority. And For example, if the keys related to the maximum key contact value are 1 key, 2 key, and 4 key, 1 key is determined as the target key.

また、キー決定部113は、対象キーのキー接触値から、対象キーの上のキーのキー接触値を引いた値が、既定値(この例では「50」であるとする)以下であるか否かを判定し(ステップS7)、既定値より大きい場合には(ステップS7:NO)、特に何もせず、切替部112は、算出部111の状態を、調整状態から非調整状態へと切り替えさせ(ステップS9)、ステップS1から再び処理を開始する。   Also, the key determination unit 113 determines whether the value obtained by subtracting the key contact value of the key above the target key from the key contact value of the target key is equal to or less than a predetermined value (in this example, “50”). (Step S7), if it is larger than the predetermined value (Step S7: NO), nothing is done, and the switching unit 112 switches the state of the calculation unit 111 from the adjusted state to the non-adjusted state (Step S9), and the process starts again from Step S1.

また、対象キーのキー接触値から、対象キーの上のキーのキー接触値を引いた値が、既定値以下の場合には(ステップS7:YES)、キー決定部113は、それまでの対象キー(キー接触値が最大であるキー)から、そのキーの上のキーに対象キーを変更し(ステップS8)、切替部112は、算出部111の状態を、調整状態から非調整状態へと切り替えさせ(ステップS9)、ステップS1から再び処理を開始する。   When the value obtained by subtracting the key contact value of the key above the target key from the key contact value of the target key is equal to or less than the predetermined value (step S7: YES), the key determination unit 113 determines the target until then. The target key is changed from the key (the key with the maximum key contact value) to the key above the key (step S8), and the switching unit 112 changes the state of the calculation unit 111 from the adjusted state to the non-adjusted state. The process is switched (step S9), and the process starts again from step S1.

ステップS8の処理は、あるキーをユーザが操作しようとした場合に、指の腹が、その下のキーにも接触してしまい、この下のキーのキー接触値が最大値となってしまう場合に対応するための処理である。即ち、キー接触値が最大であるキーのそのキー接触値と、そのキーの上のキーのキー接触値との差が、既定値(この例では50)以下である場合には、ユーザが意図したキーは、上のキーであるとして、対象キーをこの上のキーに変更するものである。   In the process of step S8, when the user tries to operate a certain key, the belly of the finger touches the key below it, and the key contact value of this lower key becomes the maximum value. It is a process for responding to. That is, when the difference between the key contact value of the key having the maximum key contact value and the key contact value of the key above the key is equal to or less than a predetermined value (50 in this example), the user intends The target key is the upper key, and the target key is changed to the upper key.

一方、ステップS5において、対象キーが決定済である場合(ステップS5:YES)には、イベント通知部114は、キー押しイベントをアプリケーション実行部120に通知し、アプリケーション実行部120は、このキー押しイベントに基づいて、対象キーに割り当てられている処理(対応処理)を実行する(ステップS10)。
ここで、キー押しイベントとは、キーが押されたことを示すイベントであり、押されたキーとして対象キーの識別情報を含むものである。
On the other hand, when the target key has been determined in step S5 (step S5: YES), the event notification unit 114 notifies the application execution unit 120 of a key press event, and the application execution unit 120 Based on the event, a process (corresponding process) assigned to the target key is executed (step S10).
Here, the key press event is an event indicating that the key is pressed, and includes identification information of the target key as the pressed key.

アプリケーション実行部120は、対応処理として、キー押しイベントに含まれる識別情報が示す対象キーの数字等をサブLCD101に表示させるよう、制御部110の表示制御部116に指示し、この指示を受けた表示制御部116は、サブLCD101に、対象キーの数字等を表示させる。この対象キーの数字等とは、対象キーに割り当てられている数字や記号のことであり、例えば、対象キーが1キーであれば「1」であり、*キーであれば「*」である。   The application execution unit 120 instructs the display control unit 116 of the control unit 110 to display the number of the target key indicated by the identification information included in the key press event on the sub LCD 101 as a corresponding process, and receives this instruction. The display control unit 116 causes the sub LCD 101 to display the number of the target key. The number or the like of the target key is a number or a symbol assigned to the target key. For example, if the target key is 1 key, it is “1”, and if it is * key, it is “*”. .

続いて、キー決定部113は、算出部111が算出した最新の各キー接触値に基づいて、リリース検出閾値以上であるキーの数がいくつあるかを判定する(ステップS11)。
該当のキーの数が1つ以上である場合には(ステップS11:1以上)、繰り返し(この例では、100ms毎)ステップS11の判定を行い、該当のキーの数が0である場合には(ステップS11:0)、キー決定部113は、対象キーの決定を解除し(ステップS12)、切替部112は、算出部111の状態を、非調整状態から調整状態へと切り替えさせ(ステップS13)、制御処理を終了する。
Subsequently, the key determination unit 113 determines how many keys are equal to or greater than the release detection threshold based on the latest key contact values calculated by the calculation unit 111 (step S11).
When the number of corresponding keys is 1 or more (step S11: 1 or more), the determination of step S11 is repeated (in this example, every 100 ms). When the number of corresponding keys is 0 (Step S11: 0), the key determination unit 113 cancels the determination of the target key (Step S12), and the switching unit 112 switches the state of the calculation unit 111 from the non-adjusted state to the adjusted state (Step S13). ), The control process is terminated.

<具体例による動作の説明>
上述した携帯電話機100の動作について、具体例を用いて説明する。
<対象キー決定前の多重押し>
対象キー決定前に多重押しが生じた場合の携帯電話機100の動作例を説明する。
図7(a)〜(e)は、それぞれ4キー、5キー、1キー、2キー、7キーのキー接触値の変化例を示す図である。
<Description of operation by specific example>
The operation of the mobile phone 100 described above will be described using a specific example.
<Multi-press before target key decision>
An operation example of the mobile phone 100 when multiple pressing occurs before the target key is determined will be described.
FIGS. 7A to 7E are diagrams showing examples of changes in the key contact values of the 4 key, 5 key, 1 key, 2 key, and 7 key, respectively.

以下では、時刻T10で、4キー、5キー、及び1キーの接触が開始され、時刻T11で、2キー及び7キーの接触が開始され、時刻T14で4キーの接触が離され、時刻T15で5キー、1キー、及び7キーの接触が離され、時刻T16で2キーの接触が離された場合を例に説明する。
なお、時刻T10から時刻T12までの時間、時刻T12から時刻T13までの時間、時刻T13から時刻T15までの時間、時刻T15から時刻T17までの時間は、それぞれ100msであるものとする。
In the following, at time T10, contact of the 4 key, 5 key, and 1 key is started, at time T11, contact of 2 key and 7 key is started, contact of 4 key is released at time T14, and time T15 An example will be described in which the touch of the 5 key, the 1 key, and the 7 key is released, and the contact of the 2 key is released at time T16.
Note that the time from time T10 to time T12, the time from time T12 to time T13, the time from time T13 to time T15, and the time from time T15 to time T17 are each 100 ms.

また、同図の各縦軸に示す「512」はGNDを、「580」はリリース検出閾値及び多重押し検出閾値を、「632」はキー押し検出閾値をそれぞれ示しており、0〜511までの範囲については図示を省略しており、各横軸において、同じ符号が付された時刻は同時刻を示しており、これらの点については、後述する図8、図9の説明においても同様である。   In addition, “512” shown on each vertical axis in the figure indicates GND, “580” indicates a release detection threshold and multiple press detection threshold, and “632” indicates a key press detection threshold. The range is not shown, and the time indicated by the same reference sign in each horizontal axis indicates the same time, and these points are the same in the description of FIGS. 8 and 9 described later. .

図7の時刻T10において、キー決定部113は、制御処理を開始し、この時点では、多重押し検出閾値(580)以上であるキーの数は0なので(図6のステップS1:0)、特に何も行わず、制御処理を終了する。
図7の時刻T12において、キー決定部113は、再び制御処理を開始し、図6のステップS1の判定を行い、この例では、多重押し検出閾値(580)以上であるキー(4キー、5キー、1キー、2キー、及び7キー)の数は5つであるため(ステップS1:5以上)、切替部112は、算出部111の状態を、調整状態から非調整状態へと切り替えさせる(ステップS2)。
At time T10 in FIG. 7, the key determination unit 113 starts control processing. At this time, the number of keys that are equal to or greater than the multiple press detection threshold value (580) is 0 (step S1: 0 in FIG. 6). Nothing is done and the control process is terminated.
At time T12 in FIG. 7, the key determination unit 113 starts the control process again, and performs the determination in step S1 in FIG. 6. In this example, the key (4 keys, 5 Since the number of keys (1 key, 2 keys, and 7 keys) is 5 (step S1: 5 or more), the switching unit 112 switches the state of the calculation unit 111 from the adjusted state to the non-adjusted state. (Step S2).

図7の時刻T13において、キー決定部113は、算出部111が算出した最新の各キー接触値に基づいて、リリース検出閾値以上であるキーの数がいくつあるかを判定し(図6のステップS11)、該当のキー(4キー、5キー、1キー、2キー、及び7キー)の数が5つなので(ステップS11:1以上)、再びステップS11の処理に戻る。
図7の時刻T15においても、リリース検出閾値以上であるキー(5キー、1キー、2キー、及び7キー)の数が4つなので(図6のステップS11:1以上)、再びステップS11の処理に戻る。
At time T13 in FIG. 7, the key determination unit 113 determines how many keys are equal to or greater than the release detection threshold based on the latest key contact values calculated by the calculation unit 111 (step in FIG. 6). S11) Since the number of corresponding keys (4 keys, 5 keys, 1 key, 2 keys, and 7 keys) is 5 (step S11: 1 or more), the process returns to step S11 again.
Also at time T15 in FIG. 7, the number of keys (5 keys, 1 key, 2 keys, and 7 keys) that are equal to or greater than the release detection threshold is four (step S11: 1 or more in FIG. 6). Return to processing.

図7の時刻T17においては、リリース検出閾値以上であるキーの数が0なので(ステップS11:0)、キー決定部113は、対象キーの決定を解除し(ステップS12)、切替部112は、算出部111の状態を、非調整状態から調整状態へと切り替えさせ(ステップS13)、制御処理を終了する。
このように、携帯電話機100は、対象キー決定前(この例では時刻T12)に、キー接触値が、多重押し検出閾値以上であるがキー押し検出閾値未満であるキー(この例では、2キー及び7キー)を含む多重押しを検出することができる。従って、例えば、通話中に、ユーザの耳や顔等が、タッチパッド102に接触してしまった場合でも、キー接触値が、多重押し検出閾値以上であるキーのうち、キー接触値が最大値のキーが対象キーとして決定されてしまい、対応処理が誤って実行されてしまうという誤動作を適切に防ぐことができる。
At time T17 in FIG. 7, since the number of keys equal to or greater than the release detection threshold is 0 (step S11: 0), the key determination unit 113 cancels the determination of the target key (step S12), and the switching unit 112 The state of the calculation unit 111 is switched from the non-adjusted state to the adjusted state (step S13), and the control process is terminated.
As described above, the mobile phone 100 determines a key (in this example, two keys) whose key contact value is greater than or equal to the multiple press detection threshold but less than the key press detection threshold before the target key is determined (time T12 in this example). And 7 keys) can be detected. Therefore, for example, even when the user's ear or face touches the touch pad 102 during a call, the key contact value is the maximum value among the keys whose key contact value is equal to or greater than the multiple press detection threshold. It is possible to appropriately prevent the malfunction that the key is determined as the target key and the corresponding process is erroneously executed.

<対象キー決定後の多重押し>
対象キー決定後に多重押しが生じた場合の携帯電話機100の動作例を説明する。
図8(a)〜(e)は、それぞれ4キー、5キー、1キー、7キー、8キーのキー接触値の変化例を示す図である。
以下では、時刻T20で、4キー及び5キーの接触が開始され、時刻T21で、1キーの接触が開始され、時刻T22で、7キー及び8キーの接触が開始され、時刻T25で4キー及び7キーの接触が離され、時刻T26で5キー、1キー、及び8キーの接触が離された場合を例に説明する。
<Multi-press after target key decision>
An operation example of the mobile phone 100 when multiple pressing occurs after the target key is determined will be described.
FIGS. 8A to 8E are diagrams showing examples of changes in key contact values of the 4 key, 5 key, 1 key, 7 key, and 8 key, respectively.
In the following, at time T20, 4 key and 5 key contact is started, at time T21, 1 key contact is started, at time T22, 7 key and 8 key contact is started, and at time T25, 4 key is started. A case will be described as an example in which the touches of the keys 7 and 7 are released and the touches of the keys 5, 1 and 8 are released at time T26.

なお、時刻T20から時刻T23までの時間、時刻T23から時刻T24までの時間、時刻T24から時刻T26までの時間、時刻T26から時刻T27までの時間は、それぞれ100msであるものとする。
図8の時刻T20において、キー決定部113は、制御処理を開始し、この時点では、多重押し検出閾値(580)以上であるキーの数は0なので(図6のステップS1:0)、特に何も行わず、制御処理を終了する。
Note that the time from time T20 to time T23, the time from time T23 to time T24, the time from time T24 to time T26, and the time from time T26 to time T27 are each 100 ms.
At time T20 in FIG. 8, the key determination unit 113 starts control processing. At this time, the number of keys that are equal to or greater than the multiple press detection threshold (580) is 0 (step S1: 0 in FIG. 6). Nothing is done and the control process is terminated.

図8の時刻T23において、キー決定部113は、再び制御処理を開始し、図6のステップS1の判定を行い、この例では、多重押し検出閾値(580)以上であるキー(4キー、5キー、及び1キー)の数は3つであり(ステップS1:1以上5未満)、この例では、1キーと4キーとに隣接するキー、1キーと5キーとに隣接するキー、4キーと5キーとに隣接するキーは存在しないので、隣接するキーのキー接触値がリリース検出閾値以下ではないと判定する(ステップS3:NO)。   At time T23 in FIG. 8, the key determination unit 113 starts the control process again, and performs the determination in step S1 in FIG. 6. In this example, the key (4 keys, 5 The number of keys and 1 key) is 3 (step S1: 1 or more and less than 5). In this example, the key adjacent to the 1 key and the 4 key, the key adjacent to the 1 key and the 5 key, 4 Since there is no key adjacent to the key and the 5th key, it is determined that the key contact value of the adjacent key is not less than or equal to the release detection threshold (step S3: NO).

また、ステップS1で検出した多重押し検出閾値以上であるキーの中に、キー接触値が、キー押し検出閾値以上であるキー(4キー及び5キー)が存在し(ステップS4:YES)、対象キーは決定済ではなく(ステップS5:NO)、この例では、4キーと5キーのキー接触値が共に632で最大値であるので、キー決定部113は、予めキーに定められている優先順位に従って、より左側に配置されている4キーを対象キーと決定する(ステップS6)。   In addition, among the keys that are greater than or equal to the multiple press detection threshold detected in step S1, there are keys (4 keys and 5 keys) whose key contact value is greater than or equal to the key press detection threshold (step S4: YES), and the target The key has not been determined (step S5: NO), and in this example, the key contact values of the 4 key and the 5 key are both 632, which is the maximum value. According to the ranking, the four keys arranged on the left side are determined as the target keys (step S6).

また、対象キー(4キー)のキー接触値(632)から、対象キーの上のキー(1キー)のキー接触値(608)を引いた値(24)が、既定値(50)以下なので(ステップS7:YES)、キー決定部113は、それまでの対象キー(4キー)から、そのキーの上のキー(1キー)に対象キーを変更し(ステップS8)、切替部112は、算出部111の状態を、調整状態から非調整状態へと切り替えさせ(ステップS9)、ステップS1から再び処理を開始する。   Further, the value (24) obtained by subtracting the key contact value (608) of the key (1 key) above the target key from the key contact value (632) of the target key (4 keys) is equal to or less than the predetermined value (50). (Step S7: YES), the key determination unit 113 changes the target key from the previous target key (4 keys) to the key (1 key) above that key (Step S8), and the switching unit 112 The state of the calculation unit 111 is switched from the adjusted state to the non-adjusted state (step S9), and the process is started again from step S1.

図8の時刻T24において、キー決定部113は、図6のステップS1の判定を行い、この例では、多重押し検出閾値(580)以上であるキー(4キー、5キー、1キー、7キー、及び8キー)の数は5つであるため(ステップS1:5以上)、切替部112は、算出部111の状態を、非調整状態へと切り替えさせる(ステップS2)。
図8の時刻T26において、キー決定部113は、算出部111が算出した最新の各キー接触値に基づいて、リリース検出閾値以上であるキーの数がいくつあるかを判定し(図6のステップS11)、該当のキー(5キー、1キー、及び8キー)の数が3つなので(ステップS11:1以上)、再びステップS11の処理に戻る。
At time T24 in FIG. 8, the key determination unit 113 performs the determination in step S1 in FIG. 6. In this example, the key (4 key, 5 key, 1 key, 7 key) that is equal to or greater than the multiple press detection threshold (580). , And 8 keys) is five (step S1: 5 or more), the switching unit 112 switches the state of the calculation unit 111 to the non-adjusted state (step S2).
At time T26 in FIG. 8, the key determination unit 113 determines how many keys are equal to or greater than the release detection threshold based on the latest key contact values calculated by the calculation unit 111 (step in FIG. 6). S11) Since the number of corresponding keys (5 keys, 1 key, and 8 keys) is three (step S11: 1 or more), the process returns to step S11 again.

図8の時刻T27において、リリース検出閾値以上であるキーの数が0なので(図6のステップS11:0)、キー決定部113は、対象キー(この例では1キー)の決定を解除し(ステップS12)、切替部112は、算出部111の状態を、非調整状態から調整状態へと切り替えさせ(ステップS13)、制御処理を終了する。
このように、携帯電話機100は、最初にキー接触値が多重押し検出閾値を超えたキーが発生したタイミング(この例では時刻T23)においては多重押しが検出されない場合でも、対象キー決定後(この例では時刻T24)に多重押しがされているか否かを再び判定するので、このタイミングで多重押しが検出されれば、誤動作を適切に防ぐことができる。
Since the number of keys equal to or greater than the release detection threshold is 0 at time T27 in FIG. 8 (step S11: 0 in FIG. 6), the key determination unit 113 cancels the determination of the target key (1 key in this example) ( In step S12), the switching unit 112 switches the state of the calculation unit 111 from the non-adjusted state to the adjusted state (step S13), and ends the control process.
As described above, the cellular phone 100 determines the target key after determining the target key even when multiple keys are not detected at the timing when a key whose key contact value first exceeds the multiple key detection threshold (time T23 in this example) is detected. In the example, it is determined again whether or not multiple pressing is performed at time T24). Therefore, if multiple pressing is detected at this timing, malfunction can be prevented appropriately.

<リリース検出閾値以下のキーを挟む場合>
キー接触値が多重押し検出閾値以上のキーそれぞれと隣接するキーのキー接触値がリリース検出閾値以下である場合の携帯電話機100の動作例を説明する。
図9(a)、(b)は、それぞれ5キー、0キーのキー接触値の変化例を示す図である。
<When inserting a key below the release detection threshold>
An operation example of the mobile phone 100 when the key contact value of a key adjacent to each key whose key contact value is equal to or greater than the multiple press detection threshold is equal to or less than the release detection threshold will be described.
FIGS. 9A and 9B are diagrams showing examples of changes in the key contact values of the 5 key and the 0 key, respectively.

以下では、時刻T30で、5キーの接触が開始され、時刻T31で、0キーの接触が開始され、時刻T34で、5キー及び0キーの接触が離され、2キー及び8キーのキー接触値は、時刻T30〜時刻T36において、リリース検出閾値以下である場合を例に説明する。
なお、時刻T30から時刻T32までの時間、時刻T32から時刻T33までの時間、時刻T33から時刻T35までの時間、時刻T35から時刻T36までの時間は、それぞれ100msであるものとする。
In the following, at time T30, 5 key contact is started, at time T31 0 key contact is started, at time T34, 5 key and 0 key contact is released, and 2 key and 8 key contact. An example will be described in which the value is equal to or less than the release detection threshold at time T30 to time T36.
Note that the time from time T30 to time T32, the time from time T32 to time T33, the time from time T33 to time T35, and the time from time T35 to time T36 are each 100 ms.

図9の時刻T30において、キー決定部113は、制御処理を開始し、この時点では、多重押し検出閾値(580)以上であるキーの数は0なので(図6のステップS1:0)、特に何も行わず、制御処理を終了する。
図9の時刻T32において、キー決定部113は、再び制御処理を開始し、図6のステップS1の判定を行い、この例では、多重押し検出閾値(580)以上であるキー(5キー)の数は1つであり(ステップS1:1以上5未満)、この例では、隣接するキーは存在しないので、隣接するキーのキー接触値がリリース検出閾値以下ではないと判定する(ステップS3:NO)。
At time T30 in FIG. 9, the key determination unit 113 starts control processing. At this time, the number of keys that are equal to or greater than the multiple press detection threshold value (580) is 0 (step S1: 0 in FIG. 6). Nothing is done and the control process is terminated.
At time T32 in FIG. 9, the key determination unit 113 starts the control process again, and performs the determination in step S1 in FIG. 6. In this example, the key determination unit 113 determines the key (5 keys) that is equal to or greater than the multiple press detection threshold (580). The number is one (step S1: from 1 to less than 5). In this example, there is no adjacent key, so it is determined that the key contact value of the adjacent key is not less than the release detection threshold (step S3: NO). ).

また、ステップS1で検出した多重押し検出閾値以上であるキーの中に、キー接触値が、キー押し検出閾値以上であるキー(5キー)が存在し(ステップS4:YES)、対象キーは決定済ではなく(ステップS5:NO)、キー決定部113は、5キーを対象キーと決定する(ステップS6)。
また、対象キー(5キー)のキー接触値(632)から、対象キーの上のキー(2キー)のキー接触値を引いた値が、既定値(50)より大きいので(ステップS7:NO)、切替部112は、算出部111の状態を、調整状態から非調整状態へと切り替えさせ(ステップS9)、ステップS1から再び処理を開始する。
In addition, among the keys that are greater than or equal to the multiple press detection threshold detected in step S1, there are keys (5 keys) whose key contact value is greater than or equal to the key press detection threshold (step S4: YES), and the target key is determined. However, the key determination unit 113 determines 5 keys as target keys (step S6).
Further, the value obtained by subtracting the key contact value of the key (2 key) above the target key from the key contact value (632) of the target key (5 key) is larger than the default value (50) (step S7: NO). ), The switching unit 112 switches the state of the calculation unit 111 from the adjusted state to the non-adjusted state (step S9), and starts the process again from step S1.

図9の時刻T33において、キー決定部113は、図6のステップS1の判定を行い、この例では、多重押し検出閾値(580)以上であるキー(5キー及び0キー)の数は2つであり(ステップS1:1以上5未満)、5キーと0キーとに隣接する8キーのキー接触値がリリース検出閾値以下なので(ステップS3:YES)、切替部112は、算出部111の状態を、調整状態から非調整状態へと切り替えさせる(ステップS2)。   At time T33 in FIG. 9, the key determination unit 113 performs the determination in step S1 in FIG. 6. In this example, the number of keys (5 key and 0 key) that are equal to or greater than the multiple press detection threshold value (580) is two. Since the key contact value of the 8 keys adjacent to the 5 key and the 0 key is equal to or smaller than the release detection threshold (step S3: YES), the switching unit 112 is in the state of the calculation unit 111. Are switched from the adjusted state to the non-adjusted state (step S2).

図9の時刻T35において、キー決定部113は、算出部111が算出した最新の各キー接触値に基づいて、リリース検出閾値以上であるキーの数がいくつあるかを判定し(図6のステップS11)、該当のキーの数が0なので(ステップS11:0)、キー決定部113は、対象キー(この例では5キー)の決定を解除し(ステップS12、切替部112は、算出部111の状態を、非調整状態から調整状態へと切り替えさせ(ステップS13)、制御処理を終了する。   At time T35 in FIG. 9, the key determination unit 113 determines how many keys are equal to or greater than the release detection threshold based on the latest key contact values calculated by the calculation unit 111 (step in FIG. 6). S11) Since the number of corresponding keys is 0 (step S11: 0), the key determination unit 113 cancels the determination of the target key (5 keys in this example) (step S12, the switching unit 112 calculates the calculation unit 111). Is switched from the non-adjusted state to the adjusted state (step S13), and the control process is terminated.

このように、携帯電話機100は、キー接触値が多重押し検出閾値以上であるキーの数が、多重押しと判定する数(この例では5つ以上)未満であっても、ユーザが指等でキーを操作しようとした場合には想定できないキーへの接触の仕方、つまり、キー接触値が多重押し検出閾値以上である2つのキーそれぞれに隣接するキーのキー接触値がリリース検出閾値以下であるようなキーの接触の仕方を検出して、誤動作を防止することができる。   As described above, the mobile phone 100 allows the user to use his / her finger or the like even if the number of keys whose key contact value is equal to or greater than the multiple press detection threshold is less than the number determined to be multiple press (5 or more in this example). How to touch the key that cannot be assumed when operating the key, that is, the key contact value of the key adjacent to each of the two keys whose key contact value is equal to or greater than the multiple press detection threshold is less than or equal to the release detection threshold Such a key contact method can be detected to prevent malfunction.

なお、上記では、T33において、キー決定部113が、キー接触値が多重押し検出閾値以上である2つのキー(5キー及び0キー)それぞれに隣接するキー(8キー)のキー接触値がリリース検出閾値以下であることを検出する例を説明したが、もしも、0キーへの接触が、図9の時刻T31より前に開始され、時刻T32において、0キーのキー接触値が多重押し検出閾値(580)以上であった場合には、時刻T32において、8キーのキー接触値がリリース検出閾値以下であることが検出され、同様に誤動作を防止できる。   In the above, at T33, the key determination unit 113 releases the key contact values of the keys (8 keys) adjacent to the two keys (5 key and 0 key) each having a key contact value equal to or greater than the multiple press detection threshold. Although an example of detecting that the value is equal to or smaller than the detection threshold has been described, if the touch to the 0 key is started before time T31 in FIG. 9, the key touch value of the 0 key is the multiple press detection threshold at time T32. If it is (580) or more, at time T32, it is detected that the key contact value of the 8 keys is equal to or less than the release detection threshold value, and similarly malfunction can be prevented.

≪変形例≫
以下では、図6のステップS3で説明した、キー接触値が多重押し検出閾値以上である2つのキーそれぞれと隣接するキーのキー接触値がリリース検出閾値以下であることを検出する方法とは異なる方法で、ユーザの指等による通常の操作以外のタッチパッド102への接触を検出し、誤動作を防止する例を説明する。
≪Modification≫
The following is different from the method described in step S3 of FIG. 6 for detecting that the key contact value of each key adjacent to two keys whose key contact values are equal to or greater than the multiple press detection threshold is equal to or less than the release detection threshold. An example will be described in which contact with the touch pad 102 other than the normal operation by the user's finger or the like is detected as a method to prevent malfunction.

変形例に係る携帯電話機(以下、「変形携帯電話機」ともいう)は、実施の形態1に係る携帯電話機100のキー決定部113の機能を若干変更したものである。従って、ここでは、変更部分を中心に説明する。
<動作>
変形携帯電話機の動作について、図10を用いて説明する。
The mobile phone according to the modified example (hereinafter also referred to as “modified mobile phone”) is obtained by slightly changing the function of the key determining unit 113 of the mobile phone 100 according to the first embodiment. Therefore, here, the description will focus on the changed portion.
<Operation>
The operation of the modified mobile phone will be described with reference to FIG.

図10は、タッチパッド102からの入力に対する変形携帯電話機の制御処理を示すフローチャートである。
同図に示すように、変形携帯電話機の制御処理には、図6に示す実施の形態1に係る携帯電話機100の制御処理におけるステップS3の処理がなく、ステップS14及びS15の処理が追加されている点で、携帯電話機100の制御処理と異なるため、これらの相違点を中心に説明する。
FIG. 10 is a flowchart showing a control process of the modified mobile phone in response to an input from the touch pad 102.
As shown in the figure, the control process of the modified mobile phone does not include the process of step S3 in the control process of mobile phone 100 according to the first embodiment shown in FIG. 6, but adds the processes of steps S14 and S15. In this respect, the control process is different from the control process of the mobile phone 100. Therefore, these differences will be mainly described.

変形携帯電話機のキー決定部(以下、「変形キー決定部」ともいう)は、算出部111が算出した最新の各キー接触値に基づいて、多重押し検出閾値以上であるキーの数がいくつあるかの判定を行い(ステップS1)、特に、該当のキーの数が1つ〜4つである場合には(ステップS1:1以上5未満)、ステップS1で検出した多重押し検出閾値以上であるキーの中に、キー接触値がキー押し検出閾値以上であるキーが存在するか否かを判定する(ステップS4)。   The key determination unit of the modified mobile phone (hereinafter also referred to as “transform key determination unit”) has a number of keys that are equal to or greater than the multiple press detection threshold based on the latest key contact values calculated by the calculation unit 111. (Step S1), and particularly when the number of corresponding keys is 1 to 4 (step S1: 1 or more and less than 5), it is equal to or greater than the multiple press detection threshold detected in step S1. It is determined whether or not there is a key whose key contact value is greater than or equal to the key press detection threshold (step S4).

キー押し検出閾値以上であるキーが存在する場合には(ステップS4:YES)、変形キー決定部は、対象キーが決定済か否かを判定し(ステップS5)、対象キーが決定済でない場合には(ステップS5:NO)、変形キー決定部は、キー接触値が最大であるキーを対象キーと決定する(ステップS6)。
変形キー決定部は、対象キーに隣接するキー、及び対象キーの2つ下のキーを除く各キー(以下、「特定キー」という)のキー接触値が多重押し検出閾値以上であるか否かを判定する(ステップS14)。例えば、対象キーが5キーの場合、1キー〜4キー、6キー〜9キー、及び0キー以外のキーが特定キーである。また、対象キーが、4キーの場合、1キー、2キー、5キー、7キー、8キー、*キー以外のキーが特定キーである。
If there is a key that is equal to or greater than the key press detection threshold (step S4: YES), the transformation key determination unit determines whether the target key has been determined (step S5), and the target key has not been determined. (Step S5: NO), the deformation key determination unit determines the key having the maximum key contact value as the target key (step S6).
The transformation key determination unit determines whether the key touch value of each key (hereinafter referred to as “specific key”) excluding the key adjacent to the target key and the key two keys below the target key is equal to or greater than the multiple press detection threshold value. Is determined (step S14). For example, when the target key is 5 keys, keys other than 1 key to 4 keys, 6 keys to 9 keys, and 0 key are specific keys. When the target key is 4 keys, keys other than 1 key, 2 keys, 5 keys, 7 keys, 8 keys, and * key are specific keys.

特定キーのキー接触値が多重押し検出閾値以上である場合には(ステップS14:YES)、変形キー決定部は、ステップS11の処理に進む。これは、ユーザが指等でキーを操作した際に、同時に4つのキーまでは接触し得るとの前提の下では、ユーザが指等でキーを操作した場合に、対象キー及び特定キーに接触することはないためである。また、対象キーの2つ下のキーを特定キーに含めないのは、ユーザが指等でキーを操作した場合でも、対象キーの2つ下のキーに、例えば、指の腹が接触してしまうことがあり得るためである。   When the key contact value of the specific key is equal to or greater than the multiple press detection threshold (step S14: YES), the deformation key determination unit proceeds to the process of step S11. This is based on the premise that when a user operates a key with a finger or the like, up to four keys can be touched at the same time, when the user operates the key with a finger or the like, the target key and a specific key are touched. This is because there is nothing to do. In addition, the key that is two keys below the target key is not included in the specific key because, for example, when the user operates the key with a finger or the like, the key belly touches the key two keys below the target key. This is because there is a possibility that it will end up.

特定キーのキー接触値が多重押し検出閾値未満である場合には(ステップS14:NO)、変形キー決定部は、図6で説明したのと同様に、対象キーのキー接触値から、対象キーの上のキーのキー接触値を引いた値が、既定値(50)以下であるか否かを判定し(ステップS7)、その判定結果に応じてステップS8の処理を実行し、切替部112は、ステップS9の切替処理を実行して、ステップS1から再び処理を開始する。   When the key contact value of the specific key is less than the multiple press detection threshold (step S14: NO), the deformation key determination unit determines the target key from the key contact value of the target key, as described with reference to FIG. It is determined whether or not the value obtained by subtracting the key contact value of the key above is equal to or less than the predetermined value (50) (step S7), and the process of step S8 is executed according to the determination result, and the switching unit 112 is determined. Executes the switching process in step S9 and starts the process again from step S1.

上記同様に、ステップS1、S4、S5の処理を行い、対象キーが決定済である場合(ステップS5:YES)には、変形キー決定部は、上述のステップS14と同様に、特定キーのキー接触値が多重押し検出閾値以上であるか否かを判定する(ステップS15)。
再度、ステップS15で特定キーのキー接触値が多重押し検出閾値以上であるか否かを判定するのは、特定キーへの接触の開始が対象キーへの接触の開始より遅れて行われる場合があるためである。
Similarly to the above, when the processes of steps S1, S4, and S5 are performed and the target key has been determined (step S5: YES), the transformation key determination unit determines the key of the specific key as in step S14 described above. It is determined whether or not the contact value is greater than or equal to the multiple press detection threshold (step S15).
In step S15, whether or not the key contact value of the specific key is equal to or greater than the multiple press detection threshold may be determined when the start of contact with the specific key is delayed from the start of contact with the target key. Because there is.

特定キーのキー接触値が多重押し検出閾値以上である場合には(ステップS15:YES)、特に何も行わずステップS11の処理へ進み、特定キーのキー接触値が多重押し検出閾値未満である場合には(ステップS15:NO)、実施の形態1で説明したように、イベント通知部114からのキー押しイベントに基づき、アプリケーション実行部120は、対応処理を実行する(ステップS10)。   If the key contact value of the specific key is greater than or equal to the multiple press detection threshold value (step S15: YES), nothing is done and the process proceeds to step S11, where the key contact value of the specific key is less than the multiple press detection threshold value. In this case (step S15: NO), as described in the first embodiment, the application execution unit 120 executes the corresponding process based on the key press event from the event notification unit 114 (step S10).

変形キー決定部は、算出部111が算出した最新の各キー接触値に基づいて、リリース検出閾値以上であるキーの数がいくつあるかを判定し(ステップS11)、該当のキーの数が0である場合には(ステップS11:0)、対象キーの決定を解除し(ステップS12)、切替部112は、切替処理を行い(ステップS13)、制御処理を終了する。
≪実施の形態2≫
一般的な携帯電話機においては、通話中に、キー操作を行うと、操作を行ったキーの対応処理として、DTMFトーンが通話先に送信される。
Based on the latest key contact values calculated by the calculation unit 111, the deformation key determination unit determines how many keys are equal to or greater than the release detection threshold (step S11), and the number of corresponding keys is 0. If it is (step S11: 0), the determination of the target key is canceled (step S12), the switching unit 112 performs a switching process (step S13), and ends the control process.
<< Embodiment 2 >>
In a general mobile phone, when a key operation is performed during a call, a DTMF tone is transmitted to the callee as a process corresponding to the operated key.

この通話中のDTMFトーンの送信は、通話先のいかんによっては、大きな問題となる場合がある。例えば、金融機関のテレホンバンキング等を利用している際に、ユーザの顔等がタッチパッド102に接触してしまい、接触したキーのDTMFトーンが送信されたとすると、ユーザが意図しない取引がなされてしまう恐れがある。
ここで、通話中に、ユーザの顔等がタッチパッド102に接触した場合には、ユーザが指等で行う通常の操作と比較して、一般的に、長時間接触が継続することが多い。
The transmission of the DTMF tone during a call may be a serious problem depending on the destination. For example, if the user's face touches the touch pad 102 when using telephone banking or the like of a financial institution and the DTMF tone of the touched key is transmitted, a transaction unintended by the user is made. There is a risk.
Here, when the user's face or the like touches the touch pad 102 during a call, the contact generally continues for a long time as compared with a normal operation performed by the user with a finger or the like.

そこで、実施の形態2では、実施の形態1に係る携帯電話機100に、通話中において、一定時間以上の接触がなされたことを検出し、DTMFトーンを出力しないようにする機能を追加した携帯電話機を、携帯電話機100との相違点を中心に説明する。
<構成>
図11は、実施の形態2に係る携帯電話機200の主要部の機能構成を示すブロック図である。
Therefore, in the second embodiment, the cellular phone 100 according to the first embodiment is added with a function for detecting that a contact has been made for a certain period of time during a call and not outputting a DTMF tone. Will be described focusing on the differences from the mobile phone 100.
<Configuration>
FIG. 11 is a block diagram showing a functional configuration of a main part of mobile phone 200 according to Embodiment 2. In FIG.

携帯電話機200は、同図に示すように、実施の形態1に係る携帯電話機100の制御部110及びアプリケーション実行部120に代えて、制御部210及びアプリケーション実行部220を備え、加えて、計時部201及び記憶部202を備える。
ここで、計時部201は、タイマやカウンタにより実現され、制御部210の指示に従って、計時を開始し、長押し時間(例えば、1秒)を経過したときに制御部210に通知する機能を有する。
As shown in the figure, the mobile phone 200 includes a control unit 210 and an application execution unit 220 instead of the control unit 110 and the application execution unit 120 of the mobile phone 100 according to the first embodiment, and in addition, a timer unit. 201 and a storage unit 202.
Here, the timer unit 201 is realized by a timer or a counter, and has a function of starting timing in accordance with an instruction from the control unit 210 and notifying the control unit 210 when a long press time (for example, 1 second) has elapsed. .

ここで、長押し時間は、キーへの接触が、ユーザの通常の操作によるものなのか、顔等がタッチパッド102に接触したことによるものなのかを判定する際に用いられるものである。長押し時間は、予め携帯電話機200のメーカ等により設定されているものとする。
記憶部202は、基本画面及び表示状態情報を記憶するためのメモリ領域である。
Here, the long press time is used when determining whether the touch to the key is due to the normal operation of the user or the touch of the touch pad 102 with the face or the like. It is assumed that the long press time is set in advance by the manufacturer of the mobile phone 200 or the like.
The storage unit 202 is a memory area for storing a basic screen and display state information.

ここで、基本画面は、例えば、発信中や通話中などにサブLCD101に表示させる画像のデータである。また、表示状態情報は、サブLCD101に表示されている画面の状態を示す情報であり、その画面がどのように生成されたものであるかが識別可能に構成される。
また、制御部210は、実施の形態1に係る制御部110のキー決定部113、イベント通知部114、及び表示制御部116に代えて、キー決定部212、イベント通知部213、及び表示制御部214を含み、加えて、通話検出部211を含む。
Here, the basic screen is image data to be displayed on the sub LCD 101 during, for example, a call or a call. The display state information is information indicating the state of the screen displayed on the sub-LCD 101, and is configured so that it can be identified how the screen is generated.
In addition, the control unit 210 replaces the key determination unit 113, the event notification unit 114, and the display control unit 116 of the control unit 110 according to Embodiment 1 with a key determination unit 212, an event notification unit 213, and a display control unit. 214, and in addition, a call detecting unit 211 is included.

ここで、通話検出部211は、通信部103を介して、基地局との間で送受信される通信内容とユーザ操作とに基づいて、携帯電話機200が通話中であることを検出する機能を有する。具体的には、呼び出し信号(リンガ)を受信した際に、オフフック操作がなされた場合に、通話が開始されたと判定し、通話が開始された後に、オンフック操作がなされた場合に、通話が終了されたと判定し、通話開始後、通話終了までの間、通話中であることを検出する。   Here, the call detection unit 211 has a function of detecting that the mobile phone 200 is in a call based on communication contents transmitted and received with the base station via the communication unit 103 and a user operation. . Specifically, when an off-hook operation is performed when a call signal (ringer) is received, it is determined that the call has started, and when the on-hook operation is performed after the call is started, the call ends. It is determined that the call has been made, and it is detected that the call is in progress from the start of the call until the end of the call.

キー決定部212は、実施の形態1に係るキー決定部113の機能に加え、キー接触値が、キー押し検出閾値以上であるキーを検出した際に、計時部201の計時を開始させる機能を有する。
イベント通知部213は、計時部201からの通知の有無及び通話検出部211による検出の有無に応じて、実施の形態1に係るイベント通知部114が通知するキー押しイベントの他、仮キー押しイベントとキャンセルイベントとを通知する機能を有する。仮キー押しイベント及びキャンセルイベントについては後述する。
In addition to the function of the key determination unit 113 according to the first embodiment, the key determination unit 212 has a function of starting the time measurement of the time measurement unit 201 when detecting a key whose key contact value is equal to or greater than the key press detection threshold. Have.
The event notification unit 213 receives the temporary key press event in addition to the key press event notified by the event notification unit 114 according to the first embodiment in accordance with the presence / absence of the notification from the time measuring unit 201 and the presence / absence of the detection by the call detection unit 211. And a cancel event. The temporary key press event and the cancel event will be described later.

なお、イベント通知部213は、キー押しイベントに、通話検出部211による検出の有無を示す情報を含ませるものとする。これは、同一のキーが接触された場合でも、通話中であるか否かによってそのキーの対応処理が異なる場合があるためである。
例えば、以下では、通話中でない場合に1キーが接触されたときの対応処理は、サブLCD101に「1」が表示されるだけであるが、通話中に1キーが接触されたときの対応処理は、サブLCD101に「1」が表示されると共に、1キーに対応するDTMFトーンが通話先に送信され、スピーカ104から1キーに対応するDTMFトーンが出力されるとする。
Note that the event notification unit 213 includes information indicating the presence or absence of detection by the call detection unit 211 in the key press event. This is because even when the same key is touched, the corresponding processing of the key may differ depending on whether or not a call is in progress.
For example, in the following, the corresponding process when the 1 key is touched when the call is not in progress is only “1” displayed on the sub LCD 101, but the corresponding process when the 1 key is touched during the call , It is assumed that “1” is displayed on the sub LCD 101, a DTMF tone corresponding to one key is transmitted to the call destination, and a DTMF tone corresponding to one key is output from the speaker 104.

表示制御部214は、実施の形態1に係る表示制御部116の機能に加え、記憶部202の表示状態情報を更新する機能を有する。
アプリケーション実行部220は、実施の形態1に係るアプリケーション実行部120と同様、制御部210から通知されたイベントに応じた処理を行うイベントドリブンのアプリケーションとして機能するものであるが、上述のように、イベント通知部213からは、仮キー押しイベント及びキャンセルイベントも通知されるため、これらのイベントに対応する処理を行う点で、アプリケーション実行部120とは異なる。
The display control unit 214 has a function of updating the display state information in the storage unit 202 in addition to the function of the display control unit 116 according to the first embodiment.
Similar to the application execution unit 120 according to the first embodiment, the application execution unit 220 functions as an event-driven application that performs processing according to an event notified from the control unit 210. Since the event notification unit 213 also notifies a temporary key press event and a cancel event, it differs from the application execution unit 120 in that processing corresponding to these events is performed.

<動作>
携帯電話機200の動作について、図12を用いて説明する。
図12は、タッチパッド102からの入力に対する携帯電話機200の制御処理を示すフローチャートである。
同図に示すように、制御部210のキー決定部212は、図6のステップS1〜S5と同様に、多重押し検出閾値以上であるキーの数がいくつあるかの判定(ステップS21)と、各組合せに係る2つのキーと隣接するキーのキー接触値がリリース検出閾値以下であるか否かの判定(ステップS23)と、キー押し検出閾値以上であるキーが存在するか否かの判定(ステップS24)と、対象キーが決定済か否かの判定(ステップS25)を行う。
<Operation>
The operation of the mobile phone 200 will be described with reference to FIG.
FIG. 12 is a flowchart showing a control process of the mobile phone 200 for an input from the touch pad 102.
As shown in the figure, the key determination unit 212 of the control unit 210 determines how many keys are equal to or greater than the multiple press detection threshold (step S21), similarly to steps S1 to S5 of FIG. Determining whether or not the key contact value of the key adjacent to the two keys related to each combination is less than or equal to the release detection threshold (step S23), and determining whether or not there is a key greater than or equal to the key press detection threshold ( In step S24), it is determined whether or not the target key has been determined (step S25).

対象キーが決定済でない場合には(ステップS25:NO)、図6のステップS6〜S8と同様に、キー決定部212は、対象キーの決定(ステップS26)と、対象キーと対象キーの上のキーとのキー接触値の差分が既定値(50)以下であるか否かの判定(ステップS27)を行い、既定値(50)以下である場合(ステップS27:YES)のみ、対象キーを変更する(ステップS28)。   When the target key has not been determined (step S25: NO), the key determination unit 212 determines the target key (step S26), the target key and the target key as in steps S6 to S8 of FIG. It is determined whether or not the difference between the key contact value and the key is equal to or less than a predetermined value (50) (step S27), and only when the difference is equal to or less than the predetermined value (50) (step S27: YES) Change (step S28).

続いて、キー決定部212は、計時部201に計時を開始させ(ステップS29)、図6のステップS9と同様に、切替部112による、算出部111の状態の切替処理(ステップS30)を行い、ステップS21から再び処理を開始する。
上記同様、ステップS21〜S25の処理を行い、ステップS25において、対象キーが決定済である場合(ステップS25:YES)には、後述する対象キーの対応処理を行い(ステップS31)、キー決定部212は、図6のステップS11〜S13と同様に、算出部111が算出した最新の各キー接触値に基づいて、リリース検出閾値以上であるキーの数がいくつあるかの判定を行い(ステップS32)、リリース検出閾値以上であるキーの数が0の場合に(ステップS32:0)、対象キーの決定の解除を行い(ステップS33)、
切替部112による算出部111の状態の切替処理(ステップS34)を行い、制御処理を終了する。
Subsequently, the key determination unit 212 causes the time measuring unit 201 to start measuring time (step S29), and performs the switching process (step S30) of the state of the calculation unit 111 by the switching unit 112, similarly to step S9 of FIG. The process starts again from step S21.
Similarly to the above, the processes of steps S21 to S25 are performed. If the target key has been determined in step S25 (step S25: YES), the corresponding process of the target key described later is performed (step S31), and the key determination unit As in steps S11 to S13 in FIG. 6, 212 determines how many keys are equal to or greater than the release detection threshold based on the latest key contact values calculated by the calculation unit 111 (step S32). ), When the number of keys equal to or greater than the release detection threshold is 0 (step S32: 0), the determination of the target key is canceled (step S33),
The switching process of the state of the calculation part 111 by the switching part 112 (step S34) is performed, and the control process is terminated.

続いて、上述のステップS31の対象キーの対応処理について、図13を用いて説明する。
図13は、携帯電話機200の対象キーの対応処理を示すフローチャートである。
以下では、各イベントに含まれている識別情報が示す対象キーが1キーであった場合を例に説明する。
Next, the target key correspondence processing in step S31 described above will be described with reference to FIG.
FIG. 13 is a flowchart showing the target key handling process of the mobile phone 200.
Hereinafter, a case where the target key indicated by the identification information included in each event is one key will be described as an example.

イベント通知部213は、通話中であるか否か、つまり、通話検出部211が通話中であることを検出しているか否かを判定し(ステップS40)、通話中でない場合には(ステップS40:NO)、対象キーの識別情報と、通話中でないことを示す情報とを含ませたキー押しイベントをアプリケーション実行部220に通知する(ステップS46)。
アプリケーション実行部220は、このキー押しイベントに基づいて、通話中でない場合における対象キーの対応処理を実行する。即ち、この例では、アプリケーション実行部220は、キー押しイベントに含まれる通話中でないことを示す情報に基づいて、このキー押しイベントに含まれる識別情報が示す対象キー(1キー)の数字等をサブLCD101に表示させるよう、表示制御部214に指示し、この指示を受けた表示制御部214は、サブLCD101に、対象キーの数字等(この例では「1」)を表示させる。
The event notification unit 213 determines whether or not a call is in progress, that is, whether or not the call detection unit 211 detects that a call is in progress (step S40). NO), and notifies the application execution unit 220 of a key press event including the identification information of the target key and information indicating that the call is not in progress (step S46).
Based on the key press event, the application execution unit 220 executes a corresponding process for the target key when the call is not in progress. That is, in this example, the application execution unit 220 calculates the number of the target key (1 key) indicated by the identification information included in the key press event based on the information indicating that the call is not included in the key press event. The display control unit 214 is instructed to display on the sub LCD 101, and the display control unit 214 that receives the instruction causes the sub LCD 101 to display the number of the target key and the like (in this example, “1”).

一方、通話中である場合には(ステップS40:YES)、表示制御部214は、現在の画面状態を示すように、記憶部202の表示状態情報を更新し、イベント通知部213は、仮キー押しイベントをアプリケーション実行部220に通知する(ステップS41)。
ここで、表示状態情報の更新は、例えば、現在の画面が通話画面であるため、この通話画面を示すように更新され、以下では、現在の画面が通話画面であることを「SET IMAGE=通話画面」と表すこととする。
On the other hand, when the call is in progress (step S40: YES), the display control unit 214 updates the display state information in the storage unit 202 to indicate the current screen state, and the event notification unit 213 receives the temporary key. A push event is notified to the application execution unit 220 (step S41).
Here, for example, since the current screen is a call screen, the display state information is updated to show this call screen. In the following, it is indicated that the current screen is a call screen, “SET IMAGE = call It will be expressed as “screen”.

また、仮キー押しイベントとは、キーの押下が開始されたことを示すイベントであり、押下が開始されたキーとして、対象キーの識別情報を含むものである。
アプリケーション実行部220は、仮キー押しイベントが通知されると、その仮キー押しイベントに含まれる識別情報が示す対象キーの通話中である場合の対応処理のうち、サブLCD101への表示に係る処理を行う。即ち、対象キーの数字等(この例では「1」)をサブLCD101に表示させるよう、制御部210の表示制御部214に指示する処理を行う。
Further, the temporary key press event is an event indicating that the key press has started, and includes identification information of the target key as the key whose press has been started.
When the temporary key press event is notified, the application execution unit 220 is a process related to the display on the sub LCD 101 in the corresponding process when the target key indicated by the identification information included in the temporary key press event is in a call. I do. That is, a process of instructing the display control unit 214 of the control unit 210 to display the number of the target key or the like (“1” in this example) on the sub LCD 101 is performed.

この指示を受けた表示制御部214は、サブLCD101に、対象キーの数字等(この例では「1」)を表示させ、この対象キーの数字等を表示させた後の画面を示すように、表示状態情報を更新する。以下では、「1」が表示されたことを「DRAW(“1”)」と表すものとし、この例では、表示状態情報は、上述の「SET IMAGE=通話画面」に続いて、「DRAW(“1”)」が記録された状態になる。   Upon receiving this instruction, the display control unit 214 causes the sub LCD 101 to display the number of the target key or the like (“1” in this example), and shows the screen after displaying the number of the target key or the like. Update the display status information. In the following, it is assumed that “1” is displayed as “DRAW (“ 1 ”)”. In this example, the display state information is “DRAW ( “1”) ”is recorded.

続いて、キー決定部212は、対象キーのキー接触値がリリース検出閾値以下であるか否かを繰り返し(この例では、100ms毎)判定し(ステップS42)、対象キーのキー接触値がリリース検出閾値より大きい場合には(ステップS42:NO)、長押し時間を経過したか否かを判定する(ステップS43)。具体的には、キー決定部212は、計時部201から長押し時間を経過した旨の通知がなされた場合には、肯定的な判定(ステップS43:YES)を行う。   Subsequently, the key determination unit 212 repeatedly determines whether or not the key contact value of the target key is equal to or less than the release detection threshold (in this example, every 100 ms) (step S42), and the key contact value of the target key is released. If it is larger than the detection threshold (step S42: NO), it is determined whether or not the long press time has elapsed (step S43). Specifically, the key determination unit 212 makes an affirmative determination (step S43: YES) when the time measuring unit 201 notifies that the long press time has elapsed.

長押し時間を経過していない場合には(ステップS43:NO)、ステップS42から再び処理を行い、長押し時間を経過した場合には(ステップS43:YES)、イベント通知部213は、キャンセルイベントをアプリケーション実行部220に通知し(ステップS44)、対象キーの対応処理を終了する。
ここで、キャンセルイベントとは、キーの押下が開始されてから長押し時間を経過したことを示すイベントであり、そのキーとして対象キーの識別情報を含むものである。
If the long press time has not elapsed (step S43: NO), the process is performed again from step S42. If the long press time has elapsed (step S43: YES), the event notification unit 213 receives a cancel event. Is notified to the application execution unit 220 (step S44), and the corresponding process for the target key is terminated.
Here, the cancel event is an event indicating that a long press time has elapsed since the start of the key press, and includes the identification information of the target key as the key.

キャンセルイベントを通知されると、アプリケーション実行部220は、ステップS41で通知された仮キー押しイベントに基づく表示に係る処理をアンドゥするよう、表示制御部214に指示する処理を行う。
この指示を受けた表示制御部214は、記憶部202の表示状態情報に基づいて、ステップS41で通知された仮キー押しイベントに基づく表示に係る処理を実行する前の画面をサブLCD101に表示させ、表示状態情報を、その画面の状態を示すように更新する。
When notified of the cancel event, the application execution unit 220 performs a process of instructing the display control unit 214 to undo the process related to the display based on the temporary key press event notified in step S41.
Upon receiving this instruction, the display control unit 214 causes the sub-LCD 101 to display a screen before executing processing related to display based on the temporary key press event notified in step S41 based on the display state information in the storage unit 202. The display state information is updated to indicate the state of the screen.

例えば、上述の例では、表示状態情報は、「SET IMAGE=通話画面」に続いて、「DRAW(“1”)」が記録された状態なので、「SET IMAGE=通話画面」に基づいて通話画面を表示させ、表示状態情報から、「DRAW(“1”)」を削除する。
一方、ステップS42において、対象キーのキー接触値がリリース検出閾値以下である場合には(ステップS42:YES)、イベント通知部213はアプリケーション実行部220に、キャンセルイベントを通知し(ステップS45)、通話中であることを示す情報を含めたキー押しイベントを通知する(ステップS46)。
For example, in the above-described example, since the display state information is a state in which “DRAW (“ 1 ”)” is recorded after “SET IMAGE = call screen”, the call screen is based on “SET IMAGE = call screen”. Is displayed, and “DRAW (“ 1 ”)” is deleted from the display state information.
On the other hand, when the key contact value of the target key is equal to or smaller than the release detection threshold in step S42 (step S42: YES), the event notification unit 213 notifies the application execution unit 220 of a cancel event (step S45). A key press event including information indicating that the call is in progress is notified (step S46).

ここで、キー押しイベントの前にキャンセルイベントを通知するのは、アプリケーション実行部220に、通話中における対応処理のうちの、ステップS41で通知された仮キー押しイベントに基づく表示に係る処理をアンドゥした上で、通話中における対応処理全体を実行させるためである。
この結果、上述のステップS44の場合と同様に、アプリケーション実行部220は、まず、キャンセルイベントに基づいて、ステップS41で通知された仮キー押しイベントに基づく表示に係る処理をアンドゥするよう、表示制御部214に指示する処理を行い、この指示を受けた表示制御部214は、記憶部202の表示状態情報に基づいて、ステップS41で通知された仮キー押しイベントに基づく表示に係る処理を実行する前の画面をサブLCD101に表示させ、表示状態情報を、その画面の状態を示すように更新する。
Here, the cancellation event is notified before the key pressing event, and the processing related to the display based on the temporary key pressing event notified in step S41 in the corresponding processing during the call is undone. This is because the entire response process during the call is executed.
As a result, as in step S44 described above, the application execution unit 220 first performs display control so as to undo the processing related to the display based on the temporary key press event notified in step S41 based on the cancel event. The display control unit 214 that receives the instruction performs processing related to display based on the temporary key press event notified in step S41, based on the display state information in the storage unit 202. The previous screen is displayed on the sub LCD 101, and the display state information is updated to indicate the state of the screen.

続いて、アプリケーション実行部220は、キー押しイベントに基づいて、対象キーの数字等(この例では「1」)をサブLCD101に表示させるよう、制御部210の表示制御部214に指示する処理を行うと共に、対象キーに対応するDTMFトーンを送信等するよう、制御部210に指示する。
この指示を受けた表示制御部214は、上述のステップS41の場合と同様に、対象キーの数字等(この例では「1」)をサブLCD101に表示させ、記憶部202の表示状態情報を更新する。
Subsequently, the application execution unit 220 performs a process of instructing the display control unit 214 of the control unit 210 to display the number of the target key or the like (“1” in this example) on the sub LCD 101 based on the key press event. In addition, the control unit 210 is instructed to transmit a DTMF tone corresponding to the target key.
Upon receiving this instruction, the display control unit 214 updates the display status information in the storage unit 202 by causing the sub-LCD 101 to display the number of the target key (“1” in this example) as in step S41 described above. To do.

例えば、上述の例では、表示状態情報は、「SET IMAGE=通話画面」が記録された状態なので、この「SET IMAGE=通話画面」に続いて、「DRAW(“1”)」が記録された状態になる。
また、指示を受けた制御部210の音声処理部115は、対象キー(この例では1キー)に対応するDTMFトーンを、通信部103を介して通話中の相手に送信すると共に、対象キー(この例では1キー)に対応するDTMFトーンをスピーカ104から出力し、対象キーの対応処理を終了する。
For example, in the above-mentioned example, since “SET IMAGE = call screen” is recorded in the display state information, “DRAW (“ 1 ”)” is recorded following this “SET IMAGE = call screen”. It becomes a state.
Upon receiving the instruction, the voice processing unit 115 of the control unit 210 transmits a DTMF tone corresponding to the target key (in this example, 1 key) to the other party on the call via the communication unit 103, and the target key ( In this example, a DTMF tone corresponding to 1 key) is output from the speaker 104, and the corresponding processing for the target key is terminated.

このように、携帯電話機200は、通話中である場合において、キーの押下が開始されると、そのキーの対応処理のうちの表示に係る処理は一旦実行されるものの、そのキーが離されることなく長押し時間を経過した場合には、その表示に係る処理が実行される前の状態に表示が戻されると共に、対応処理のうちの残りの処理は実行されない。従って、キーが離されることなく長押し時間を経過した場合には、DTMFトーンが出力されないので、金融機関のテレホンバンキング等を利用している際に、ユーザの顔等がタッチパッド102に接触してしまい、ユーザが意図しない取引がなされてしまうといった重大な誤動作を適切に防止することができる。   As described above, when the cellular phone 200 is in a call and the key press is started, the display processing of the corresponding processing of the key is once executed, but the key is released. If the long press time has elapsed, the display is returned to the state before the processing related to the display is executed, and the remaining processing of the corresponding processing is not executed. Accordingly, when a long press time elapses without the key being released, the DTMF tone is not output, so that the user's face or the like touches the touch pad 102 when using telephone banking or the like of a financial institution. Therefore, it is possible to appropriately prevent a serious malfunction such as a transaction unintended by the user.

≪補足≫
以上、本発明に係る携帯端末を、変形例を含む実施の形態1及び実施の形態2(以下、単に「各実施の形態」ともいう)に基づいて説明したが、以下のように変形することも可能であり、本発明は上述した各実施の形態で示した通りの携帯電話機に限られないことは勿論である。
<Supplement>
As mentioned above, although the portable terminal which concerns on this invention was demonstrated based on Embodiment 1 and Embodiment 2 (henceforth only "each embodiment") including a modification, it deform | transforms as follows. Of course, the present invention is not limited to the mobile phone as shown in each of the above-described embodiments.

(1)各実施の形態に係る携帯電話機は、横開きタイプの折りたたみ式の携帯電話機であるものとして説明したが、タッチパッドを有する携帯電話機であれば、縦開きタイプの折りたたみ式の携帯電話機や、ストレートタイプやスライド式等、他の外観を有する携帯電話機であってもよい。
(2)各実施の形態に係る携帯電話機は、図3に示すように、サブLCD101とタッチパッド102とが別個に存在しているものとして説明したが、サブLCD101とタッチパッド102とを組み合わせた、いわゆるタッチパネルを含むものであってもよい。
(1) The mobile phone according to each embodiment has been described as a side-opening type foldable mobile phone. However, if the mobile phone has a touchpad, A mobile phone having another appearance such as a straight type or a slide type may also be used.
(2) Although the mobile phone according to each embodiment has been described on the assumption that the sub LCD 101 and the touch pad 102 exist separately as shown in FIG. 3, the sub LCD 101 and the touch pad 102 are combined. A so-called touch panel may be included.

また、操作用の部分と、操作された文字等を表示する部分とを1つのタッチパネルで実現するだけでなく、例えば、数字や文字等を入力する部分は、タッチパネルとし、入力された文字等が表示される部分は、LCDや有機EL(Organic Electro-Luminescence)等で構成されるとしてもよい。
また、タッチパネルは、使用する表示機器として、画像等を表示するLCDで文字等を表示する場合に限定されるものではなく、照明部とこの照明部の上に配置され、文字や図柄の形をした透過部とを有するシートとの組合せ等を用いることもできる。この場合、ユーザは、例えばシート上の所定の文字の形の透過部の位置を押下することにより、タッチパッドの静電容量を変化させ、当該シート上の所定の文字の入力を行う。
In addition, the operation part and the part for displaying the operated character and the like are not only realized by one touch panel. For example, the part for inputting numbers, characters, and the like is a touch panel, and the input character or the like is displayed. The displayed portion may be configured by an LCD, an organic EL (Organic Electro-Luminescence), or the like.
In addition, the touch panel is not limited to displaying characters or the like on an LCD that displays images or the like as a display device to be used. The touch panel is disposed on the illumination unit and the illumination unit, and has a shape of characters or designs. A combination with a sheet having a transmitted portion can also be used. In this case, the user changes the capacitance of the touchpad by pressing the position of the transmissive part in the form of a predetermined character on the sheet, for example, and inputs the predetermined character on the sheet.

(3)各実施の形態に係るタッチパッド102は、静電容量方式のタッチセンサにより実現するものとして説明したが、この静電容量方式のタッチセンサとして、多数の電極パターンをプラスチックやガラス等の基板上に形成し、接触点の近傍の複数の電極パターンによる電流量の比率を計測することで判別する投影型や、導電膜と基板とを有して構成され、基板の隅に電極を設け、導電膜による均一な電界を形成し、指等の接触による隅の端子の電流量の比率を計測して接触位置を判別する表面型等、適宜なものを用いることができる。上述の(2)のタッチパネルにおいても同様に適宜なものを用いることができる。   (3) Although the touch pad 102 according to each embodiment has been described as being realized by a capacitive touch sensor, as the capacitive touch sensor, a large number of electrode patterns such as plastic and glass are used. A projection type that is formed on a substrate and discriminates by measuring the ratio of the amount of current due to a plurality of electrode patterns in the vicinity of the contact point, and has a conductive film and a substrate, and electrodes are provided at the corners of the substrate. An appropriate material such as a surface type that forms a uniform electric field by the conductive film and measures the ratio of the current amount of the terminal at the corner due to contact with a finger or the like to determine the contact position can be used. Similarly, the appropriate touch panel (2) can be used.

また、各実施の形態の説明では、タッチパッド102は、静電容量方式のタッチセンサにより実現するとしているが、本発明では、このような場合に限定するものではなく、タッチパッド102として、電子ペン等の専用のペンを用いる電磁誘導方式や、2層構造の透明電極からなるマトリクススイッチ方式や、2枚の抵抗膜の1枚に電圧を印加し、他方の抵抗膜において操作した位置に応じた電圧を検知する抵抗膜方式や、振動波の跳ね返りを圧電素子の電圧変化によって検出し、指等の接触を検知する表面弾性波方式や、遮光された赤外線により指等が接触した位置を検出する赤外線方式や、画面に光センサを組み込んで接触位置を検知する光センサ方式等であってもよい。   In the description of each embodiment, the touch pad 102 is realized by a capacitive touch sensor. However, the present invention is not limited to such a case, and the touch pad 102 is an electronic device. Depending on the electromagnetic induction method using a dedicated pen such as a pen, the matrix switch method consisting of a transparent electrode with a two-layer structure, and the voltage applied to one of the two resistive films, depending on the position operated on the other resistive film Detecting resistance voltage, detecting the rebound of vibration waves by the voltage change of the piezoelectric element, detecting the surface acoustic wave method detecting the contact of the finger, etc. It may be an infrared system that performs this, or an optical sensor system that incorporates an optical sensor into the screen to detect the contact position.

(4)各実施の形態において、GNDを「512」、リリース検出閾値及び多重押し検出閾値を「580」、キー押し検出閾値を「632」として説明したが、これらの値は一例であり、以下のように決定することが望ましい。
即ち、キー接触値は、上述したように、タッチパッド102から出力される静電容量を表すための値に基づいて算出されるため、ユーザの指等がキーに接触していない状態においてタッチパッド102から出力される静電容量を表すための値を予め測定しておき、その値に基づいてGNDを決定することが望ましい。
(4) In each embodiment, the description has been given assuming that GND is “512”, the release detection threshold and the multiple press detection threshold are “580”, and the key press detection threshold is “632”. It is desirable to decide as follows.
In other words, as described above, the key contact value is calculated based on a value representing the capacitance output from the touch pad 102, so that the touch pad is not touched by the user's finger or the like. It is desirable to measure in advance a value for expressing the capacitance output from 102 and determine GND based on the value.

また、タッチパッド102から出力される静電容量を表すための値は、通話やカメラ撮影等を行う各機能部の動作により生じるタッチパッドに対するノイズによって、実際には、ユーザの指等が接触していないにもかかわらず変動することがある。従って、上述の通話やカメラ撮影等の動作時において、タッチパッド102から出力される静電容量を表すための値がどの程度増加するかを予め測定しておき、その値に基づいてリリース検出閾値及び多重押し検出閾値を決定することが望ましい。   In addition, the value representing the capacitance output from the touch pad 102 is actually touched by the user's finger or the like due to noise on the touch pad generated by the operation of each functional unit that performs a call or camera photography. May fluctuate despite not. Accordingly, in the above-described operation such as a call or camera shooting, it is measured in advance how much the value for expressing the capacitance output from the touch pad 102 increases, and the release detection threshold is based on the value. It is desirable to determine the multiple press detection threshold.

また、ユーザの指等により接触されたキーのキー接触値は変動することになるが、一般的に、このキーと隣接する実際には接触されていないキーのキー接触値も変動することになる。従って、各実施の形態の例では、リリース検出閾値及び多重押し検出閾値(580)とキー押し検出閾値(632)との差を「52」としているが、予めユーザの指等により接触されたキーと隣接する実際には接触されていないキーのタッチパッド102から出力される静電容量を表すための値がどの程度増加するのかを予め測定しておき、その値に基づいて、2つの閾値の差を決定し、リリース検出閾値及び多重押し検出閾値を決定することが望ましい。   In addition, the key contact value of a key touched by a user's finger or the like varies, but generally, the key contact value of a key adjacent to this key that is not actually touched also varies. . Therefore, in the example of each embodiment, the difference between the release detection threshold and the multiple press detection threshold (580) and the key press detection threshold (632) is “52”. In advance, it is measured in advance how much the value for expressing the capacitance output from the touchpad 102 of the key that is not actually touched is increased. It is desirable to determine the difference and determine the release detection threshold and the multiple press detection threshold.

なお、各実施の形態では、リリース検出閾値と多重押し検出閾値とを同じ値(580)としているが、これらの値は互いに同じ値である必要は無く、異なった値であってもよい。
(5)各実施の形態においては、ユーザの指等で操作した場合に、同時に4つまでのキーに接触し得るとの前提の下、接触されているキーの数が5つ以上であった場合に、多重押しと判定するものとして説明したが、これは一例であり、2つ以上の既定数のキーが接触された場合に多重押しと判断するようにしてもよい。なお、ユーザの指等で操作した場合に同時に接触し得るキーの数は、ユーザの指の大きさ等により多少のばらつきがあると考えられる。従って、例えば、各実施の形態に係る携帯電話機の運用開始時において、実際にユーザにキー操作を行わせ、いくつのキーが同時に接触されたかをカウントし、その数以上のキーが接触された場合に、多重押しと判断するようにしてもよい。また、ユーザが多重押しと判断すべきキーの数を設定できるようにしてもよい。
In each embodiment, the release detection threshold and the multiple press detection threshold are set to the same value (580). However, these values do not have to be the same value, and may be different values.
(5) In each embodiment, when operated with a user's finger or the like, the number of touched keys is five or more on the assumption that up to four keys can be touched at the same time. However, this is merely an example, and multiple presses may be determined when two or more predetermined numbers of keys are touched. Note that the number of keys that can be touched simultaneously when operated with a user's finger or the like is considered to vary somewhat depending on the size of the user's finger or the like. Therefore, for example, at the start of operation of the mobile phone according to each embodiment, when the user actually performs key operations, counts how many keys are touched at the same time, and when more keys are touched Alternatively, it may be determined that multiple pressing is performed. In addition, the number of keys that the user should determine as multiple presses may be set.

(6)図6及び図10のステップS2と図12のステップS22とでは、タッチパッド102からの接触が離された後、全てのキーのキー接触値がキー押し検出閾値未満となって、次の対象キーの決定をなるべく早く行えるようにするべく、算出部111の状態を非調整状態に切り替えているが、切り替えないようにしてもよい。
図6及び図10のステップS2、図12のステップS22が実行されるときには、ユーザの顔等がタッチパッド102に接触している等、ユーザの指等による通常の操作が行われている状況ではないと考えられるためである。つまり、このような状況では、次のキー操作に対応する処理をなるべく早く行えるようにする必要性が低いと考えられるためである。
(6) In step S2 of FIG. 6 and FIG. 10 and step S22 of FIG. 12, after the contact from the touch pad 102 is released, the key contact values of all the keys become less than the key press detection threshold value. The state of the calculation unit 111 is switched to the non-adjustment state so that the target key can be determined as soon as possible.
When step S2 in FIG. 6 and FIG. 10 and step S22 in FIG. 12 are executed, in a situation where a normal operation with the user's finger or the like is being performed, such as the user's face touching the touch pad 102, or the like. This is because it is not considered. That is, in such a situation, it is considered that it is less necessary to perform processing corresponding to the next key operation as soon as possible.

また、図6及び図10のステップS2と図12のステップS22との処理は、算出部111の状態が調整状態である場合にのみ行うようにしてもよい。
(7)図6及び図10のステップS7と図12のステップS27では、対象キー(キー接触値が最大値であるキー)のキー接触値と、対象キーの上のキーのキー接触値との差分が既定値(この例では50)以下であるか否かを判定するものとして説明したが、対象キーの上のキーだけなく、対象キーの右及び左のキーのキー接触値との差分が既定値以下であるか否かを判定するようにしてもよい。この場合、対象キーのキー接触値と、対象キーの上、右、及び左のキーのキー接触値との差分をそれぞれ算出し、算出したいずれかの差分が既定値以下である場合には、差分が最も小さくなったキーに対象キーを決定するようにしてもよい。
Moreover, you may be made to perform only the process of step S2 of FIG.6 and FIG.10 and step S22 of FIG. 12 when the state of the calculation part 111 is an adjustment state.
(7) In step S7 in FIG. 6 and FIG. 10 and step S27 in FIG. 12, the key contact value of the target key (the key whose key contact value is the maximum value) and the key contact value of the key above the target key are calculated. Although it has been described that it is determined whether or not the difference is equal to or less than a predetermined value (50 in this example), not only the key above the target key but also the difference between the key contact value of the right and left keys of the target key You may make it determine whether it is below a predetermined value. In this case, the difference between the key contact value of the target key and the key contact value of the upper, right, and left keys of the target key is calculated, respectively, and if any of the calculated differences is equal to or less than the default value, The target key may be determined for the key having the smallest difference.

また、対象キーのキー接触値との差分を算出するキーを、対象キーの右、及び左のキーのいずかのキーにしてもよく、更に、対象キーのキー接触値との差分を算出するキーを、対象キーの上、右、及び左のキーのいずれにするかを、ユーザが設定できるようにしてもよい。
(8)また、図6及び図10のステップS7と図12のステップS27では、対象キー(キー接触値が最大値であるキー)のキー接触値と、対象キーの上のキーのキー接触値との差分が既定値(50)以下であるか否かを判定するものとして説明したが、例えば、対象キーの上のキーのキー接触値がキー押し検出閾値より大きい既定値以上であるか否かを判定するようにしてもよい。上述の(7)で説明したように、対象キーのキー接触値との差分を算出するキーを、対象キーの右のキー、及び(又は)左のキーとした場合においても、同様の変形が可能である。
Further, the key for calculating the difference from the key contact value of the target key may be any one of the right key and the left key of the target key, and further, the difference from the key contact value of the target key is calculated. The user may be allowed to set whether the key to be used is the top, right, or left key of the target key.
(8) In step S7 of FIG. 6 and FIG. 10 and step S27 of FIG. 12, the key contact value of the target key (the key whose key contact value is the maximum value) and the key contact value of the key above the target key. In the above description, it is determined whether or not the difference between the key and the key is equal to or less than a predetermined value (50). You may make it determine. As described in the above (7), when the key for calculating the difference from the key contact value of the target key is the right key and / or the left key of the target key, the same modification is performed. Is possible.

上述のキー押し検出閾値より大きい既定値は、例えば、実際にユーザに複数回の操作を行わせた結果に基づいて決定することが望ましい。
(9)実施の形態2では、携帯電話機200のアプリケーション実行部220は、通知された仮キー押しイベントに基づいてサブLCD101の表示を更新する処理を行う例を説明したが、この表示の更新処理と共に、タッチパッド102からの入力が誤接触であった場合に比較的大きな影響がある処理以外の処理を行うようにしてもよい。例えば、(A)ユーザにより接触されたボタンの数字をダイヤル操作に備えてバッファに記憶する処理や、(B)カーソルを移動する処理や、(C)内蔵カメラの撮影処理を行うようにしてもよい。なお、(A)の処理を行った場合において、キャンセルイベントが通知されたときの処理の例としては、バッファに記憶された数字を破棄する処理が挙げられ、(B)の処理を行った場合において、キャンセルイベントが通知されたときの処理の例としては、移動したカーソルを元に戻す処理が挙げられ、(C)の処理を行った場合において、キャンセルイベントが通知されたときの処理の例としては、撮影した画像を削除する処理が挙げられ、キー押しイベントが通知された場合の処理の例としては、シャッター音をスピーカ104から出力する処理が挙げられる。
The predetermined value larger than the above-described key press detection threshold is preferably determined based on, for example, a result of actually causing the user to perform a plurality of operations.
(9) In the second embodiment, the application execution unit 220 of the mobile phone 200 has been described as performing the process of updating the display of the sub LCD 101 based on the notified temporary key press event. At the same time, a process other than a process that has a relatively large effect when the input from the touch pad 102 is an erroneous contact may be performed. For example, (A) the number of the button touched by the user may be stored in a buffer in preparation for dialing, (B) the process of moving the cursor, or (C) the shooting process of the built-in camera. Good. In addition, in the case where the process (A) is performed, an example of the process when the cancel event is notified includes a process of discarding the number stored in the buffer, and the process (B) is performed. As an example of the process when the cancel event is notified, there is a process for returning the moved cursor, and an example of the process when the cancel event is notified when the process (C) is performed. As an example, a process of deleting a photographed image is exemplified, and an example of a process when a key press event is notified includes a process of outputting a shutter sound from the speaker 104.

上述の比較的大きな影響がある処理として、例えば、既に行われている通話以外の通信処理や、スピーカ104からの音声出力処理やバイブレータ106の鳴動処理等が挙げられる。通話中に、DTMFトーンの送信やスリーウェイコール機能における自動発信等の通信処理が行われた場合には、ユーザが意図しない銀行取引等や、課金がなされてしまうという重大な誤動作が生じるという点で大きな影響がある。また、DTMFトーンのスピーカ104からの出力等の音声出力処理やバイブレータ106の鳴動処理が行われた場合には、本発明に係る携帯電話機のユーザの通話を阻害することになるという点で比較的大きな影響がある。   Examples of the process having a relatively large influence include a communication process other than a call that has already been performed, a voice output process from the speaker 104, a ringing process of the vibrator 106, and the like. When communication processing such as transmission of DTMF tones or automatic transmission in the three-way call function is performed during a call, a serious malfunction such as bank transaction unintended by the user or charging will occur. There is a big influence. In addition, when voice output processing such as output of the DTMF tone from the speaker 104 or ringing processing of the vibrator 106 is performed, the mobile phone user according to the present invention is relatively disturbed in that the phone call is disturbed. There is a big impact.

つまり、上述の比較的大きな影響がある処理は、誤接触でないと判定された場合に実行されるべき処理であり、通話時のキー押しイベントに基づく処理は、実施の形態2で説明した例に限らず、上述の通信処理やスピーカ104からの音声出力処理やバイブレータ106の鳴動処理等を含むものであってもよい。
(10)実施の形態2に係る携帯電話機200に、実施の形態1の変形例で説明した、ユーザの指等による通常の操作以外のタッチパッド102への接触を検出する方法を適用しても良い。
That is, the above-described process having a relatively large influence is a process to be executed when it is determined that there is no erroneous contact, and the process based on the key press event at the time of a call is the example described in the second embodiment. The present invention is not limited to the above-described communication processing, voice output processing from the speaker 104, ringing processing of the vibrator 106, and the like.
(10) Even if the method for detecting contact with the touch pad 102 other than the normal operation by the user's finger or the like, which is described in the modification of the first embodiment, is applied to the mobile phone 200 according to the second embodiment. good.

(11)各実施の形態において、タッチパッド102は、接触位置の座標値(x,y)と、静電容量を表すための値との組を制御部110へ送出し、算出部111がこの組に基づいて、接触されているキー毎にキー接触値を算出するものとして説明したが、以下のように変形することも可能である。
即ち、この変形に係るタッチパッド(以下、「変形タッチパッド」という)が、キー毎に、接触面積の増減に応じて0〜1024の範囲で増減する値を出力するようにし、この変形に係る算出部(以下、「変形算出部」という)が自己の状態(非調整状態と調整状態)に応じて、キー接触値を算出するようにしてもよい。
(11) In each embodiment, the touch pad 102 sends a set of the coordinate value (x, y) of the contact position and a value representing the capacitance to the control unit 110, and the calculation unit 111 Although it has been described that the key contact value is calculated for each touched key based on the set, it can be modified as follows.
That is, the touchpad according to this deformation (hereinafter referred to as “deformation touchpad”) outputs a value that increases or decreases in the range of 0 to 1024 according to the increase or decrease of the contact area for each key. The calculation unit (hereinafter referred to as “deformation calculation unit”) may calculate the key contact value according to its own state (non-adjusted state and adjusted state).

より詳細には、この変形タッチパッドを実現するための静電容量のタッチセンサIC(Integrated Circuit)の20個のポートは、タッチパッド上の各キーに一対一に割り当てられている。変形算出部は、各ポートを介して、キー毎の接触面積の増減に応じて0〜1024の範囲で増減する値を入力される。なお、ICのポート数は上記のように20個に限定されるものではなく、適宜変更することができる。   More specifically, 20 ports of a capacitive touch sensor IC (Integrated Circuit) for realizing the deformed touch pad are assigned to each key on the touch pad on a one-to-one basis. The deformation calculation unit receives a value that increases or decreases in the range of 0 to 1024 in accordance with the increase or decrease of the contact area for each key via each port. The number of IC ports is not limited to 20 as described above, and can be changed as appropriate.

(12)各実施の形態において説明した各構成要素のうち、全部又は一部を1チップ又は複数チップの集積回路で実現してもよいし、コンピュータのプログラムで実現してもよいし、その他どのような形態で実現してもよい。
(13)各実施の形態において説明したタッチパッド102からの入力に対する処理(図6、図10、図12参照)をCPUに実行させるためのプログラムを、記録媒体に記録し又は各種通信路等を介して、流通させ頒布することもできる。このような記録媒体には、ICカード、光ディスク、フレキシブルディスク、ROM、フラッシュメモリ等がある。流通、頒布されたプログラムは、機器におけるCPUで読み取り可能なメモリ等に格納されることにより利用に供され、そのCPUがそのプログラムを実行することにより各実施の形態で示した携帯電話機の各機能が実現される。
(12) Of all the constituent elements described in each embodiment, all or a part may be realized by an integrated circuit of one chip or a plurality of chips, may be realized by a computer program, or any other You may implement | achieve in such a form.
(13) A program for causing the CPU to execute the processing (see FIGS. 6, 10, and 12) for the input from the touch pad 102 described in each embodiment is recorded on a recording medium, or various communication paths are set. It can also be distributed and distributed. Such a recording medium includes an IC card, an optical disk, a flexible disk, a ROM, a flash memory, and the like. The distributed and distributed program is used by being stored in a memory or the like that can be read by a CPU in the device, and each function of the mobile phone described in each embodiment is executed by the CPU executing the program. Is realized.

(14)本発明に係る携帯端末の実施の形態は、接触が検出されると、当該接触の度合いを示す値を出力するタッチパッドと、前記タッチパッドから出力された接触の度合いを示す値に基づいて、当該タッチパッド上で接触が検出された範囲毎に、当該範囲の接触の度合いを示す値を算出する算出部と、実行すべき処理が割り当てられている対象範囲を決定するための第1閾値と、第1閾値より小さい第2閾値とを保持する保持部と、前記タッチパッド上で接触が検出された範囲のうち、前記算出部により算出された値が第2閾値以上である範囲の数が、既定値未満である場合には、前記算出部により算出された値が第1閾値以上である1つの範囲を対象範囲として決定し、前記算出部により算出された値が第2閾値以上である範囲の数が既定値以上である場合には、対象範囲の決定を行わない決定部とを備えることを特徴とする。   (14) In the embodiment of the mobile terminal according to the present invention, when contact is detected, the touch pad outputs a value indicating the degree of contact, and the value indicating the degree of contact output from the touch pad. And a calculation unit for calculating a value indicating the degree of contact in the range for each range in which contact is detected on the touchpad, and a target range for determining a target range to which a process to be executed is assigned. A range in which a value calculated by the calculation unit is greater than or equal to a second threshold value among a holding unit that holds one threshold value and a second threshold value that is smaller than the first threshold value and a range in which contact is detected on the touchpad Is less than a predetermined value, a range in which the value calculated by the calculation unit is equal to or greater than a first threshold value is determined as a target range, and the value calculated by the calculation unit is a second threshold value. The number of ranges above is already If the value or more, characterized by comprising a determination unit which does not perform the determination of target range.

上記構成を備える本発明に係る携帯端末の実施の形態によれば、算出部が算出した値が、第2閾値以上である範囲が既定数以上存在する場合には、対象範囲の決定がなされない。つまり、本発明に係る携帯端末の実施の形態は、既定数以上の各範囲について算出部が算出した値の全てが、対象範囲の決定に用いられる第1閾値以上である場合のみならず、この第1閾値より小さい第2閾値以上である場合にも、算出部が算出した値が第1閾値以上である1つの範囲に割り当てられている処理が実行されてしまうことを防ぐことができる。即ち、本発明に係る携帯端末の実施の形態は、誤動作の発生を低減できる。   According to the embodiment of the mobile terminal according to the present invention having the above-described configuration, the target range is not determined when there is a predetermined number or more of ranges in which the value calculated by the calculation unit is equal to or greater than the second threshold. . That is, the embodiment of the portable terminal according to the present invention is not only for the case where all the values calculated by the calculation unit for each range equal to or greater than the predetermined number are equal to or greater than the first threshold used for determining the target range. Even when the value is equal to or greater than the second threshold value that is smaller than the first threshold value, it is possible to prevent the process assigned to one range in which the value calculated by the calculation unit is equal to or greater than the first threshold value from being executed. That is, the embodiment of the mobile terminal according to the present invention can reduce the occurrence of malfunction.

(15)また、前記タッチパッドは、静電容量の変化により前記検出を行うものであることとしてもよい。
これにより、本発明に係る携帯端末の実施の形態のタッチパッドは、物体が近接した状態も検出できるので、例えば、ユーザの顔等がタッチパッドに接触した場合、若しくは、ユーザの顔等がタッチパッドに非接触であるが近づいた場合、タッチパッド上の既定数以上の範囲についての算出部が算出した値が第2閾値以上となった場合には、ユーザの顔等が接触した場合、若しくは、ユーザの顔等がタッチパッドに非接触であるが近づいた場合による誤動作を適切に防ぐことができる。
(15) The touch pad may perform the detection by a change in capacitance.
As a result, the touchpad according to the embodiment of the mobile terminal according to the present invention can detect the state in which the object is close, so that, for example, when the user's face touches the touchpad or the user's face touches If the pad is non-contact but approaches, if the value calculated by the calculation unit for the range of the predetermined number or more on the touch pad is greater than or equal to the second threshold, the user's face or the like is in contact, or In addition, it is possible to appropriately prevent a malfunction caused when the user's face or the like is not in contact with the touchpad but approaches.

(16)また、前記決定部は、前記第1閾値以上である範囲のうち、前記算出部により算出された値が最大の値となる範囲を、前記対象範囲として決定することとしてもよい。
これにより、本発明に係る携帯端末の実施の形態は、算出部が算出した値が第1閾値以上の最大の値である範囲を対象範囲として決定する。ユーザが指等を接触させようとした範囲についての接触の度合いは、最も高くなると想定され、つまり、この範囲についての算出部が算出した値は最大になると想定される。
(16) Further, the determination unit may determine, as the target range, a range in which the value calculated by the calculation unit is a maximum value among the ranges that are equal to or greater than the first threshold.
Thereby, embodiment of the portable terminal which concerns on this invention determines the range whose value calculated by the calculation part is the largest value more than a 1st threshold value as an object range. It is assumed that the degree of contact with respect to the range in which the user has tried to touch the finger or the like is the highest, that is, the value calculated by the calculation unit for this range is assumed to be the maximum.

従って、この想定の下で、本発明に係る携帯端末の実施の形態は、ユーザの意図した範囲に割り当てられた処理を実行することが可能になる。
(17)本発明に係るタッチパッドは、各実施の形態に係るタッチパッド102に相当し、本発明に係る算出部は、各実施の形態に係る算出部111に相当し、本発明に係る保持部及び決定部は、各実施の形態に係るキー決定部に相当する。
Therefore, under this assumption, the embodiment of the mobile terminal according to the present invention can execute processing assigned to the range intended by the user.
(17) The touchpad according to the present invention corresponds to the touchpad 102 according to each embodiment, and the calculation unit according to the present invention corresponds to the calculation unit 111 according to each embodiment, and the holding according to the present invention. The unit and the determination unit correspond to the key determination unit according to each embodiment.

本発明に係る携帯端末は、ユーザが、タッチパッドを用いた操作を行う場合に利用される。   The portable terminal according to the present invention is used when a user performs an operation using a touch pad.

1、2 筐体
3 入力キー
4 LCD
100、200 携帯電話機
101 サブLCD
102 タッチパッド
103 通信部
104 スピーカ
105 マイク
106 バイブレータ
110、210 制御部
111 算出部
112 切替部
113、212 キー決定部
114、213 イベント通知部
115 音声処理部
116、214 表示制御部
120、220 アプリケーション実行部
201 計時部
202 記憶部
211 通話検出部
1, 2 Case 3 Input key 4 LCD
100, 200 Mobile phone 101 Sub LCD
DESCRIPTION OF SYMBOLS 102 Touchpad 103 Communication part 104 Speaker 105 Microphone 106 Vibrator 110, 210 Control part 111 Calculation part 112 Switching part 113, 212 Key determination part 114, 213 Event notification part 115 Voice processing part 116, 214 Display control part 120, 220 Application execution Unit 201 Timekeeping unit 202 Storage unit 211 Call detection unit

Claims (4)

接触が検出されると、当該接触の度合いを示す値を出力するタッチパッドと、
前記タッチパッドから出力された接触の度合いを示す値に基づいて、当該タッチパッド上で接触が検出された範囲毎に、当該範囲の接触の度合いを示す値を算出する算出部と、
実行すべき処理が割り当てられている対象範囲を決定するための第1閾値と、第1閾値より小さい第2閾値とを保持する保持部と、
前記タッチパッド上で接触が検出された範囲のうち、前記算出部により算出された値が第2閾値以上である範囲の数が、既定値未満である場合には、前記算出部により算出された値が第1閾値以上である1つの範囲を対象範囲として決定し、前記算出部により算出された値が第2閾値以上である範囲の数が既定値以上である場合には、対象範囲の決定を行わない決定部とを備える
ことを特徴とする携帯端末。
A touchpad that outputs a value indicating the degree of contact when contact is detected;
Based on a value indicating the degree of contact output from the touch pad, for each range where contact is detected on the touch pad, a calculation unit that calculates a value indicating the degree of contact in the range;
A holding unit that holds a first threshold for determining a target range to which a process to be executed is assigned, and a second threshold smaller than the first threshold;
Of the ranges in which contact is detected on the touchpad, the number of ranges in which the value calculated by the calculation unit is greater than or equal to a second threshold is less than a predetermined value, the calculation unit calculates When one range whose value is equal to or greater than the first threshold is determined as a target range, and the number of ranges where the value calculated by the calculation unit is equal to or greater than the second threshold is equal to or greater than a predetermined value, determination of the target range is performed A mobile terminal comprising: a determination unit that does not perform the operation.
前記タッチパッドは、静電容量の変化により前記検出を行うものである
ことを特徴とする請求項1記載の携帯端末。
The mobile terminal according to claim 1, wherein the touch pad performs the detection by a change in capacitance.
前記決定部は、前記第1閾値以上である範囲のうち、前記算出部により算出された値が最大の値となる範囲を、前記対象範囲として決定する
ことを特徴とする請求項1記載の携帯端末。
The mobile unit according to claim 1, wherein the determination unit determines, as the target range, a range in which a value calculated by the calculation unit is a maximum value among ranges that are equal to or greater than the first threshold. Terminal.
接触が検出されると、当該接触の度合いを示す値を出力するタッチパッドを備える携帯端末で用いられる入力制御プログラムであって、
前記タッチパッドから出力された接触の度合いを示す値に基づいて、当該タッチパッド上で接触が検出された範囲毎に、当該範囲の接触の度合いを示す値を算出する算出ステップと、
実行すべき処理が割り当てられている対象範囲を決定するための第1閾値と、第1閾値より小さい第2閾値とを保持する保持ステップと、
前記タッチパッド上で接触が検出された範囲のうち、前記算出ステップで算出された値が第2閾値以上である範囲の数が、既定値未満である場合には、前記算出ステップで算出された値が第1閾値以上である1つの範囲を対象範囲として決定し、前記算出ステップで算出された値が第2閾値以上である範囲の数が既定値以上である場合には、対象範囲の決定を行わない決定ステップとを含む
ことを特徴とする入力制御プログラム。
When a contact is detected, an input control program used in a portable terminal including a touchpad that outputs a value indicating the degree of contact,
Based on a value indicating the degree of contact output from the touchpad, a calculation step for calculating a value indicating the degree of contact in the range for each range in which contact is detected on the touchpad;
A holding step for holding a first threshold for determining a target range to which a process to be executed is assigned, and a second threshold smaller than the first threshold;
Of the ranges in which contact is detected on the touchpad, the number of ranges in which the value calculated in the calculation step is greater than or equal to a second threshold is less than a predetermined value, the calculation is performed in the calculation step. When one range whose value is equal to or greater than the first threshold is determined as a target range, and the number of ranges where the value calculated in the calculation step is equal to or greater than the second threshold is equal to or greater than a predetermined value, the target range is determined. An input control program comprising: a determination step that does not perform the step.
JP2009259362A 2009-11-12 2009-11-12 Portable terminal and input control program Expired - Fee Related JP5340890B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2009259362A JP5340890B2 (en) 2009-11-12 2009-11-12 Portable terminal and input control program
US13/201,437 US9081546B2 (en) 2009-11-12 2010-11-09 Portable terminal, input control program and input control method
PCT/JP2010/006571 WO2011058735A1 (en) 2009-11-12 2010-11-09 Portable terminal, input control program and input control method
US14/717,988 US9477335B2 (en) 2009-11-12 2015-05-20 Portable terminal, input control program and input control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009259362A JP5340890B2 (en) 2009-11-12 2009-11-12 Portable terminal and input control program

Publications (2)

Publication Number Publication Date
JP2011107788A true JP2011107788A (en) 2011-06-02
JP5340890B2 JP5340890B2 (en) 2013-11-13

Family

ID=44231214

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009259362A Expired - Fee Related JP5340890B2 (en) 2009-11-12 2009-11-12 Portable terminal and input control program

Country Status (1)

Country Link
JP (1) JP5340890B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001344062A (en) * 2000-05-31 2001-12-14 Sharp Corp Device for inputting coordinate
JP2002082765A (en) * 2000-07-04 2002-03-22 Alps Electric Co Ltd Input device
JP2006185338A (en) * 2004-12-28 2006-07-13 Konami Co Ltd Information acquisition system
WO2008123546A1 (en) * 2007-04-03 2008-10-16 Sharp Kabushiki Kaisha Mobile information terminal device and mobile telephone
JP2008305174A (en) * 2007-06-07 2008-12-18 Sony Corp Information processor, information processing method, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001344062A (en) * 2000-05-31 2001-12-14 Sharp Corp Device for inputting coordinate
JP2002082765A (en) * 2000-07-04 2002-03-22 Alps Electric Co Ltd Input device
JP2006185338A (en) * 2004-12-28 2006-07-13 Konami Co Ltd Information acquisition system
WO2008123546A1 (en) * 2007-04-03 2008-10-16 Sharp Kabushiki Kaisha Mobile information terminal device and mobile telephone
JP2008305174A (en) * 2007-06-07 2008-12-18 Sony Corp Information processor, information processing method, and program

Also Published As

Publication number Publication date
JP5340890B2 (en) 2013-11-13

Similar Documents

Publication Publication Date Title
JP5722642B2 (en) Mobile terminal device
JP5743847B2 (en) Mobile terminal and low sensitivity area setting program
US20130042202A1 (en) Mobile terminal device, storage medium and lock cacellation method
JP2013012189A (en) Portable electronic device and input method
US10289887B2 (en) Electronic apparatus, operating method of electronic apparatus, and recording medium
US9477335B2 (en) Portable terminal, input control program and input control method
JP5325747B2 (en) Portable terminal and input control program
US8787982B2 (en) Mobile communication terminal and input control program
JP5280989B2 (en) Mobile terminal and control program
JP5341719B2 (en) Mobile communication terminal and input control program
JP5373562B2 (en) Portable terminal and input control program
JP2012065190A (en) Portable telephone, program, and input control method
US9996186B2 (en) Portable device and method for defining restricted area within touch panel
JP5340890B2 (en) Portable terminal and input control program
WO2011105061A1 (en) Portable terminal, input control program, and input control method
JP2018014111A (en) Electronic apparatus
JP5628984B2 (en) Portable terminal and input control program
JP5336328B2 (en) Portable terminal and input control program
JP5944974B2 (en) Portable terminal and input control program
JP2013012188A (en) Portable electronic device and character input method
JP5904049B2 (en) Mobile phone, control method and program
JP2017069990A (en) Electronic apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121015

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130416

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130614

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130807

R150 Certificate of patent or registration of utility model

Ref document number: 5340890

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees