JP2012093948A - Mobile terminal, program, and input control method - Google Patents

Mobile terminal, program, and input control method Download PDF

Info

Publication number
JP2012093948A
JP2012093948A JP2010240540A JP2010240540A JP2012093948A JP 2012093948 A JP2012093948 A JP 2012093948A JP 2010240540 A JP2010240540 A JP 2010240540A JP 2010240540 A JP2010240540 A JP 2010240540A JP 2012093948 A JP2012093948 A JP 2012093948A
Authority
JP
Japan
Prior art keywords
key
keys
touch panel
relative position
display area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2010240540A
Other languages
Japanese (ja)
Inventor
Naotaka Yasuda
尚高 安田
Naoki Mochizuki
尚樹 望月
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 JP2010240540A priority Critical patent/JP2012093948A/en
Publication of JP2012093948A publication Critical patent/JP2012093948A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a mobile terminal capable of appropriately identifying an operation target key.SOLUTION: A mobile terminal comprises a touch panel, receives, for each of plural keys arranged in a display area of the touch panel, an operation on the key by a touch on a key display area of the key, calculates, for each of the plural keys, a relative position of a touch position received for the key with respect to a reference position in a key display area of the key, and after completion of calculation of the relative positions for the plural keys, when receiving a new touch on the touch panel, based on a received touch position and respective relative positions with respect to at least two or more keys within a predetermined range from the touch position among the plural keys, identifies one key among the two or more keys as an operation target.

Description

本発明は、タッチパネルを備える携帯端末に関し、特に、ユーザインタフェースの改良に関する。   The present invention relates to a mobile terminal including a touch panel, and more particularly to improvement of a user interface.

タッチパネルを備える携帯端末においては、一般的に、ユーザが指等を接触させたタッチパネル上の接触位置と、携帯端末における認識位置とのずれを補正するための処理(いわゆるキャリブレーション)が行われる。
タッチパネルを構成するタッチセンサとLCD(Liquid Crystal Display)等との位置ずれや、経年変化や使用環境の影響により、ユーザが指等を接触させたタッチパネル上の接触位置と、携帯端末における認識位置とにずれが生じる場合があるためである。
In a mobile terminal including a touch panel, processing (so-called calibration) is generally performed to correct a shift between a contact position on a touch panel where a user touches a finger or the like and a recognition position on the mobile terminal.
The touch position on the touch panel where the user touches the finger, etc. due to the positional deviation between the touch sensor and LCD (Liquid Crystal Display) etc. This is because there is a case where a deviation occurs.

このキャリブレーションを適切に行うための技術として、例えば、特許文献1〜5が知られている。
特許文献1及び2の技術は、タッチパネル上の複数の位置に、タッチ位置を示す画像を表示し、その画像の表示位置への接触を受け付け、受け付けた接触位置と画像の表示位置との各差分が所定値以内である場合に、接触位置を補正するための直線近似式を算出するというものである。
For example, Patent Documents 1 to 5 are known as techniques for appropriately performing this calibration.
The techniques of Patent Documents 1 and 2 display images indicating the touch position at a plurality of positions on the touch panel, accept contact with the display position of the image, and each difference between the accepted contact position and the display position of the image. Is within a predetermined value, a linear approximation formula for correcting the contact position is calculated.

また、特許文献3の技術は、ユーザの視点位置を検出し、タッチパネルの接触位置を、検出した視点位置に応じて決定されるずれ量分補正するというものである。
また、特許文献4、5の技術は、ユーザが通常の操作を行っている際に、タッチパネル上のある表示物の表示位置への接触があった場合に、その接触位置と表示物の重心とに基づいて、接触位置を補正するための換算式を生成するというものである。
Moreover, the technique of patent document 3 detects a user's viewpoint position, and correct | amends the contact amount of a touch panel by the deviation | shift amount determined according to the detected viewpoint position.
In addition, in the techniques of Patent Documents 4 and 5, when a user performs a normal operation, if there is contact with a display position of a display object on the touch panel, the contact position and the center of gravity of the display object Based on the above, a conversion formula for correcting the contact position is generated.

特表2008−108275号公報Special table 2008-108275 gazette 特開2000−089913号公報JP 2000-089913 A 特開平09−044310号公報JP 09-044310 A 特開2006−139655号公報JP 2006-139655 A 特開2000−089913号公報JP 2000-089913 A

ところで、タッチパネルを備える携帯端末の中には、タッチパネル上に表示されている複数のキー(いわゆるソフトウェアキー)を用いて入力を行うものがある。
ソフトウェアキーを用いて入力を行った場合、各キーにおける指等の接触箇所に関してユーザの指の形状、指の角度、タッチパネルとユーザとの距離と視野角等により、ユーザ固有の特徴があらわれると考えられる。
By the way, some portable terminals provided with a touch panel perform input using a plurality of keys (so-called software keys) displayed on the touch panel.
When input is performed using software keys, user-specific features may appear depending on the shape of the user's finger, the angle of the finger, the distance between the touch panel and the user, the viewing angle, etc. It is done.

例えば、あるキーにおける接触箇所は、そのキーの中央より右上方向にずれるが、他のキーにおける接触位置は、そのキーの中央より右下方向にずれるといったような特徴である。
しかしながら、このようなソフトウェアキーを用いて入力を行う携帯端末に、上記特許文献1〜5のキャリブレーション技術を適用した場合、タッチパネル上のいずれのキーに対しユーザの指等が接触された場合でも一律の補正が施されるため、携帯端末が認識する操作対象のキーが、ユーザが意図したキーとは異なるキーに特定され得る。
For example, the contact location in a certain key is shifted in the upper right direction from the center of the key, but the contact position in the other key is shifted in the lower right direction from the center of the key.
However, when the calibration technology of Patent Documents 1 to 5 is applied to a portable terminal that performs input using such software keys, even if a user's finger or the like is touched to any key on the touch panel Since uniform correction is performed, the operation target key recognized by the mobile terminal can be specified as a key different from the key intended by the user.

そこで、本発明は係る問題に鑑みてなされたものであり、操作対象のキーを適切に特定することが可能な携帯端末を提供することを目的とする。   Therefore, the present invention has been made in view of such problems, and an object thereof is to provide a portable terminal capable of appropriately specifying a key to be operated.

上記課題を解決するために、本発明に係る携帯端末は、タッチパネルを備え、当該タッチパネルへの入力に基づいて処理を実行する携帯端末であって、前記タッチパネルの表示領域に配置されている複数のキー毎に、当該キーに対する操作を当該キーのキー表示領域に対する接触によって受け付ける受付部と、前記複数のキー毎に、当該キーに対して前記受付部が受け付けた接触箇所の当該キーのキー表示領域内の基準位置に対する相対位置を算出する算出部と、前記算出部による前記複数のキーについての前記相対位置の算出が完了した後に、前記タッチパネルへの新たな接触を受け付けた場合に、受け付けた接触箇所と、前記複数のキーのうちの少なくとも当該接触箇所から所定範囲内にある2以上のキーについての各相対位置とに基づいて、当該2以上のキーのうちの1つのキーを操作対象として特定する特定部とを備えることを特徴とする。   In order to solve the above-described problem, a mobile terminal according to the present invention is a mobile terminal that includes a touch panel and executes processing based on an input to the touch panel, and includes a plurality of terminals disposed in a display area of the touch panel. For each key, a receiving unit that accepts an operation on the key by touching the key display area of the key, and a key display area of the key at a contact location received by the receiving unit for the key for each of the plurality of keys A calculation unit that calculates a relative position with respect to a reference position, and after the calculation of the relative position for the plurality of keys by the calculation unit is completed, a new contact to the touch panel is received. And the relative positions of at least two keys within a predetermined range from the contact location among the plurality of keys. Te, characterized in that it comprises a specifying unit configured to specify one key of the two or more keys as the operation target.

上記構成を備える本発明に係る携帯端末によれば、操作対象のキーを適切に特定することができる。   According to the mobile terminal according to the present invention having the above-described configuration, it is possible to appropriately specify the operation target key.

実施の形態に係る携帯電話機100の閉状態及び開状態の外観を示す図The figure which shows the external appearance of the closed state of the mobile telephone 100 which concerns on embodiment, and an open state キャリブレーション用画面G1の表示例を示す図The figure which shows the example of a display of the screen G1 for calibration ソフトウェアキーD1に対するユーザ操作例を示す図The figure which shows the example of user operation with respect to software key D1 キャリブレーション用画面G2の表示例を示す図The figure which shows the example of a display of the screen G2 for calibration キャリブレーション用画面G3の表示例を示す図The figure which shows the example of a display of the screen G3 for calibration キャリブレーション用画面G4の表示例を示す図The figure which shows the example of a display of the screen G4 for calibration 携帯電話機100の主要部の機能構成を示すブロック図Block diagram showing a functional configuration of a main part of the mobile phone 100 エリア情報テーブル10のデータ構成及び内容例を示す図The figure which shows the data structure and content example of the area information table 10 Qキーの左上座標値及び右下座標値と平均ずれ量と差分値との関係を説明するための図The figure for demonstrating the relationship between the upper left coordinate value of a Q key, a lower right coordinate value, an average deviation | shift amount, and a difference value. 携帯電話機100の制御部156による相対位置算出処理を示すフローチャートThe flowchart which shows the relative position calculation process by the control part 156 of the mobile telephone 100 携帯電話機100の制御部156によるキー特定処理を示すフローチャートThe flowchart which shows the key specific process by the control part 156 of the mobile telephone 100 タッチパネル110にメール画面が、タッチパネル120にソフトウェアキーが表示されている様子を示す図The figure which shows a mode that the mail screen is displayed on the touch panel 110, and the software key is displayed on the touch panel 120. エリア情報テーブル20のデータ構成及び内容例を示す図The figure which shows the data structure and content example of the area information table 20 変形携帯電話機の変形制御部による変形相対位置算出処理を示すフローチャートThe flowchart which shows the deformation | transformation relative position calculation process by the deformation | transformation control part of a deformation | transformation mobile telephone. 変形携帯電話機の変形制御部による変形キー特定処理を示すフローチャートThe flowchart which shows the deformation | transformation key specific process by the deformation | transformation control part of a deformation | transformation mobile telephone. 複数のキーの補正範囲が重複する場合において操作対象のキーを特定する方法を説明するための図The figure for demonstrating the method to identify the key of operation object when the correction range of several keys overlaps

以下、本発明に係る携帯端末の実施の形態としての携帯電話機について説明する。
≪実施の形態≫
<装置構成>
まず、実施の形態に係る携帯電話機100の装置構成について説明する。
図1(a)は、携帯電話機100の閉状態の外観を示す斜視図であり、図1(b)は、携帯電話機100の開状態の外観を示す斜視図であり、図1(c)は、携帯電話機100の開状態の外観を示す正面図である。
A mobile phone as an embodiment of a mobile terminal according to the present invention will be described below.
<< Embodiment >>
<Device configuration>
First, the device configuration of the mobile phone 100 according to the embodiment will be described.
1A is a perspective view showing an external appearance of the mobile phone 100 in a closed state, FIG. 1B is a perspective view showing an external appearance of the mobile phone 100 in an open state, and FIG. FIG. 2 is a front view showing an external appearance of mobile phone 100 in an open state.

携帯電話機100は、図1(a)〜(c)に示されるように、第1筐体1と第2筐体2とが相対的に移動可能な、いわゆるスライド式の端末であり、第1筐体1、第2筐体2、及び第1筐体1と第2筐体2とを連結する連結機構4、4’を備えている。
第1筐体1には、タッチパネル110、スピーカ7及びマイク8が備えられており、第2筐体2には、タッチパネル120及び開閉検出センサ130が備えられている。
As shown in FIGS. 1A to 1C, the mobile phone 100 is a so-called slide-type terminal in which the first housing 1 and the second housing 2 are relatively movable. The housing 1, the second housing 2, and the connection mechanisms 4 and 4 ′ that connect the first housing 1 and the second housing 2 are provided.
The first casing 1 is provided with a touch panel 110, a speaker 7 and a microphone 8. The second casing 2 is provided with a touch panel 120 and an open / close detection sensor 130.

なお、開閉検出センサ130は、後述するように、携帯電話機100が開状態なのか、閉状態なのかを検出するセンサである。
連結機構4は、図1(a)、(b)に示すように、第1筐体1の側面と第2筐体2の側面とを互いに連結するための連結駒5とピン30、31とを有している。また、連結機構4’は、第1筐体1の側面と第2筐体2の側面とを互いに連結するための連結駒5’とピン30’、31’とを有している。なお、ピン30’、31’については、図示していない。ピン30、30’は第1筐体1に枢支されると共に、ピン31、31’は第2筐体2にスライド可能に係合している。
As will be described later, the open / close detection sensor 130 is a sensor that detects whether the mobile phone 100 is in an open state or a closed state.
As shown in FIGS. 1A and 1B, the connecting mechanism 4 includes a connecting piece 5 and pins 30 and 31 for connecting the side surface of the first housing 1 and the side surface of the second housing 2 to each other. have. The connection mechanism 4 ′ includes a connection piece 5 ′ and pins 30 ′ and 31 ′ for connecting the side surface of the first housing 1 and the side surface of the second housing 2 to each other. The pins 30 ′ and 31 ′ are not shown. The pins 30 and 30 ′ are pivotally supported by the first housing 1, and the pins 31 and 31 ′ are slidably engaged with the second housing 2.

また、第2筐体2の連結機構4が備えられる側面には、図1(a)、(b)に示すように、ピン31がスライド可能となるようガイド溝6が設けられている。なお、第2筐体2の連結機構4’が備えられる側面においても、同様に、ピン31’がスライド可能となるようガイド溝6’(図示せず)が設けられている。
携帯電話機100は、図1(a)に示すように、第2筐体2に第1筐体1が重ね合わさり、タッチパネル120が視認できない閉状態から、連結機構4、4’により、ピン31、31’がガイド溝6、6’に沿ってスライドすることにより、第1筐体1が第2筐体2の表面に沿って移動し、その後、ピン30、30’それぞれがピン31、31’それぞれを中心として回転することにより、図1(b)、(c)に示すように、第1筐体1の表面と第2筐体2の表面とが略同一平面上に揃う開状態となり、タッチパネル110及び120が視認可能になる。
Further, as shown in FIGS. 1A and 1B, a guide groove 6 is provided on the side surface of the second housing 2 on which the coupling mechanism 4 is provided so that the pin 31 can slide. Similarly, a guide groove 6 ′ (not shown) is provided on the side surface of the second housing 2 where the coupling mechanism 4 ′ is provided so that the pin 31 ′ can slide.
As shown in FIG. 1A, the mobile phone 100 is connected to the second casing 2 from the closed state where the first casing 1 is overlaid and the touch panel 120 cannot be visually recognized. By sliding 31 ′ along the guide grooves 6, 6 ′, the first housing 1 moves along the surface of the second housing 2, and then the pins 30, 30 ′ are respectively connected to the pins 31, 31 ′. By rotating around each center, as shown in FIGS. 1B and 1C, the surface of the first housing 1 and the surface of the second housing 2 are in an open state where they are aligned on substantially the same plane. The touch panels 110 and 120 are visible.

<キャリブレーション用画面>
次に、携帯電話機100において表示されるキャリブレーション用画面について説明する。
図2は、キャリブレーション用画面G1の表示例を示す図である。
このキャリブレーション用画面G1は、携帯電話機100の運用開始時や、携帯電話機100が所定のユーザ操作を受け付けた際に、携帯電話機100において表示される。
<Calibration screen>
Next, a calibration screen displayed on the mobile phone 100 will be described.
FIG. 2 is a diagram illustrating a display example of the calibration screen G1.
This calibration screen G1 is displayed on the mobile phone 100 when the operation of the mobile phone 100 is started or when the mobile phone 100 receives a predetermined user operation.

キャリブレーション用画面G1には、ソフトウェアキーD1及び文字列D5が含まれており、携帯電話機100は、自機の開閉状態が「閉」であり、筐体の向きが「縦」であるとした場合にユーザが視認できるように、キャリブレーション用画面G1を表示する。
ここで、ソフトウェアキーD1には、特に、それぞれ異なるアルファベットの文字を表す複数のキーが含まれている。
The calibration screen G1 includes a software key D1 and a character string D5, and the mobile phone 100 assumes that the open / close state of the mobile phone 100 is “closed” and the orientation of the housing is “vertical”. In this case, the calibration screen G1 is displayed so that the user can visually recognize it.
Here, the software key D1 particularly includes a plurality of keys representing different alphabetic characters.

なお、同図において、ソフトウェアキーD1中に実線で表される矩形で示す各範囲は、各キーの範囲を示しており、ユーザが各キーの範囲を視認できるようにするために表示されている。
また、以下の説明では、ユーザが各キーの範囲に指等を接触させることを、キーへの接触を行う、又はキーを選択するということとする。
In the figure, each range indicated by a rectangle represented by a solid line in the software key D1 indicates the range of each key, and is displayed so that the user can visually recognize the range of each key. .
In the following description, it is assumed that when the user touches a range of each key with a finger or the like, touching the key or selecting a key.

また、文字列D5は、いわゆるパングラムと呼ばれる、アルファベット26文字の全てを含むように構成された文字列(自然文)である。
携帯電話機100のユーザは、キャリブレーション用画面G1が表示されているときに、この画面に含まれている文字列D5を構成する各文字を表すキーを順に選択していく。
図3は、図2においてタッチパネル110に表示されている文字列D5を構成する各文字を表す各キーを順に、ユーザが操作している様子を示している。
The character string D5 is a character string (natural sentence) configured to include all 26 letters of the alphabet, so-called pangram.
When the calibration screen G1 is displayed, the user of the mobile phone 100 sequentially selects keys representing each character constituting the character string D5 included in this screen.
FIG. 3 shows a state in which the user operates the keys representing the characters constituting the character string D5 displayed on the touch panel 110 in FIG. 2 in order.

なお、同図では、ユーザが既に指等を接触させたキーに対応する文字の部分を、下線付きの太字で示している(文字列D5’参照)。即ち、図3は、「The qui」を表す各キー(「T」、「h」、「e」、「 」(スペース)、「q」、「u」、「i」)に対し、順にユーザが指等を接触させた直後の様子を示している。
携帯電話機100は、ユーザがキーに対し指等を接触させると、その接触箇所のそのキーに対する相対位置を算出し記憶する。
In the figure, the portion of the character corresponding to the key that the user has already touched with a finger or the like is shown in bold with an underline (see character string D5 ′). That is, FIG. 3 shows the user in order for each key (“T”, “h”, “e”, “” (space), “q”, “u”, “i”) representing “The qui”. Shows a state immediately after touching a finger or the like.
When the user brings a finger or the like into contact with the key, the mobile phone 100 calculates and stores the relative position of the contact location with respect to the key.

各キーについて算出された相対位置は、例えば、あるキーを選択する際には、接触箇所が、そのキーの基準位置(以下では、中央とする)より上方向にずれるといったユーザの入力の特徴が反映されたものになる。
上述のように文字列D5は、アルファベット26文字の全てを含むように構成されているため、携帯電話機100は、アルファベット26文字のキー毎に、そのキーに対する上記相対位置を算出し、記憶することになる。
The relative position calculated for each key is, for example, a feature of user input such that when a certain key is selected, the contact location is shifted upward from the reference position of the key (hereinafter referred to as the center). It will be reflected.
Since the character string D5 is configured to include all 26 letters of the alphabet as described above, the mobile phone 100 calculates and stores the relative position with respect to each key of the 26 letters of the alphabet. become.

携帯電話機100は、この各キーについての相対位置の算出を、携帯電話機100の使用状態(開閉状態及び筐体の向き)毎に行う(図4〜6参照)。
即ち、携帯電話機100は、自機の開閉状態が「閉」であり、筐体の向きが「横」であるとした場合にユーザが参照できるように、キャリブレーション用画面G2を表示し(図4参照)、各キーについての相対位置の算出を行う。同様に、キャリブレーション用画面G3を表示させ、各キーについての相対位置の算出を行い、キャリブレーション用画面G4を表示させ、各キーについての相対位置の算出を行う。
The mobile phone 100 calculates the relative position for each key for each use state (open / closed state and orientation of the housing) of the mobile phone 100 (see FIGS. 4 to 6).
That is, the mobile phone 100 displays the calibration screen G2 so that the user can refer to the mobile phone 100 when the open / close state of the mobile phone is “closed” and the orientation of the housing is “horizontal” (see FIG. 4), the relative position of each key is calculated. Similarly, the calibration screen G3 is displayed, the relative position for each key is calculated, the calibration screen G4 is displayed, and the relative position for each key is calculated.

このように、携帯電話機100は、使用状態毎に、各キーについての相対位置を予め算出し記憶しておくことで、その後に、ユーザがキーを操作したときに、そのキーに対する接触箇所を、そのときの携帯電話機100の使用状態に応じたそのキーについての相対位置を用いて補正することができる。
即ち、使用状態毎に、各キーについて算出した相対位置は、携帯電話機100のユーザの入力の特徴が反映されたものであるため、そのユーザによるキーの接触の箇所に基づいて、適切に操作対象のキーを特定することが可能になる。
As described above, the mobile phone 100 calculates and stores the relative position of each key in advance for each use state, and then, when the user operates the key, Correction can be made by using the relative position of the key in accordance with the use state of the mobile phone 100 at that time.
In other words, the relative position calculated for each key for each usage state reflects the characteristics of the input of the user of the mobile phone 100, and therefore the operation target is appropriately determined based on the location of the key contact by the user. It becomes possible to specify the key.

なお、本実施の形態では、接触とは、ユーザの指、顔等の身体やタッチペン等が各タッチパネルに接触した状態をいう他、ユーザの指、顔等の身体やタッチペン等、各タッチパネルの静電容量を変化させるものが、各タッチパネルの静電容量を所定の閾値以上に変化させる程度に各タッチパネルに近接した状態を含む。
また、携帯電話機100の各タッチパネルに表示されるキャリブレーション用画面に配置されるキーの種類、並び順、及び配置は一例であり、適宜変更することができる。
In the present embodiment, the contact refers to a state in which a user's finger, body such as a face, a touch pen, or the like is in contact with each touch panel, as well as a static state of each touch panel such as a user's finger, a body, such as a face, or a touch pen. What changes the capacitance includes a state of being close to each touch panel to such an extent that the capacitance of each touch panel is changed to a predetermined threshold value or more.
In addition, the types, arrangement order, and arrangement of keys arranged on the calibration screen displayed on each touch panel of the mobile phone 100 are examples, and can be changed as appropriate.

<機能構成>
図7は、携帯電話機100の主要部の機能構成を示すブロック図である。
携帯電話機100は、同図に示すように、タッチパネル110、タッチパネル120、開閉検出センサ130、加速度センサ131、記憶部140、及び制御部156を備える。
<Functional configuration>
FIG. 7 is a block diagram showing a functional configuration of main parts of the mobile phone 100.
As shown in the figure, the mobile phone 100 includes a touch panel 110, a touch panel 120, an open / close detection sensor 130, an acceleration sensor 131, a storage unit 140, and a control unit 156.

なお、携帯電話機100は、通常の携帯電話機が備える通信部や、図1で示したスピーカ7、マイク8等を備えるが、同図では、図示を省略している。また、携帯電話機100は、プロセッサ及びメモリを含んで構成されており、制御部156の機能は、上述のメモリに記憶されているプログラムを上述のプロセッサが実行することにより実現される。
ここで、タッチパネル110は、表示部111と入力部112とを、タッチパネル120は、表示部121と入力部122とを備える。
The mobile phone 100 includes a communication unit included in a normal mobile phone, the speaker 7, the microphone 8, and the like shown in FIG. 1, which are not shown in the figure. The mobile phone 100 includes a processor and a memory, and the function of the control unit 156 is realized by the above-described processor executing a program stored in the above-described memory.
Here, the touch panel 110 includes a display unit 111 and an input unit 112, and the touch panel 120 includes a display unit 121 and an input unit 122.

各表示部は、LCDを含み、制御部156からの指示を受けて文字やアイコン等の画像をLCDに表示する回路である。各LCDの画素数は、一例として480×800画素であるものとする。なお、LCDの画素数は、480×800画素に限定されるものではなく、適宜、他の画素数とすることもできる。
また、各入力部は、ユーザによる接触を検出し、検出している間、単位時間(例えば、25ms)毎に、その接触位置の座標値(x,y)を制御部156に送出する回路であり、例えば、静電容量方式のタッチセンサにより実現される。
Each display unit is a circuit that includes an LCD and displays an image such as a character or an icon on the LCD in response to an instruction from the control unit 156. The number of pixels of each LCD is assumed to be 480 × 800 pixels as an example. Note that the number of pixels of the LCD is not limited to 480 × 800 pixels, and other pixel numbers can be used as appropriate.
Each input unit is a circuit that detects contact by the user, and sends the coordinate value (x, y) of the contact position to the control unit 156 every unit time (for example, 25 ms) during detection. For example, it is realized by a capacitive touch sensor.

なお、図5に示すように、各タッチパネルの左上の頂点の座標値は(0,0)であるものとし、右下の頂点の座標値は(479,799)であるものとする。
開閉検出センサ130は、携帯電話機100が開状態と閉状態とのいずれの状態であるかを示す信号を制御部156に出力する機能を有し、例えば、第1筐体1に埋め込まれた磁石の磁力を検知するホールセンサにより実現される。
As shown in FIG. 5, it is assumed that the coordinate value of the upper left vertex of each touch panel is (0, 0), and the coordinate value of the lower right vertex is (479, 799).
The open / close detection sensor 130 has a function of outputting a signal indicating whether the mobile phone 100 is in an open state or a closed state to the control unit 156, for example, a magnet embedded in the first housing 1. This is realized by a Hall sensor that detects the magnetic force of the.

加速度センサ131は、携帯電話機100に生じる地面方向への重力を加速度として検出し、検出結果を示す信号を制御部156に出力する機能を有し、例えば、3軸加速度センサにより実現される。
記憶部140は、エリア情報テーブル10を記憶するためのメモリ領域である。
エリア情報テーブル10のデータ構成等については、後に詳細に説明するが、エリア情報テーブル10は、携帯電話機100の使用状態(開閉状態及び筐体の向き)毎に、各キーの位置を示す情報(左上座標値及び右下座標値)及び相対位置を示す情報(平均ずれ量及び差分値)を登録したテーブルである(図8参照)。
The acceleration sensor 131 has a function of detecting gravity in the ground direction generated in the mobile phone 100 as an acceleration and outputting a signal indicating the detection result to the control unit 156, and is realized by, for example, a three-axis acceleration sensor.
The storage unit 140 is a memory area for storing the area information table 10.
The data configuration and the like of the area information table 10 will be described in detail later, but the area information table 10 is information indicating the position of each key for each use state (opening / closing state and housing direction) of the mobile phone 100 ( It is a table in which information (average deviation amount and difference value) indicating a relative position (upper left coordinate value and lower right coordinate value) is registered (see FIG. 8).

以下では、キーについての相対位置の一例として、そのキーに対するユーザの接触箇所の座標値から、そのキーの中心座標値を引いた値(以下、「ずれ量」という)を用いて説明する。
制御部156は、一般的な携帯電話機が有する制御機能の他、特に、携帯電話機100の使用状態(開閉状態及び筐体の向き)毎に、各キーについての相対位置を算出する機能と、算出した各相対位置を用いて、ユーザの指等の接触箇所に対応するキーを、ユーザ操作の対象として特定する機能を有する。
Hereinafter, as an example of a relative position with respect to a key, a description will be given using a value obtained by subtracting the center coordinate value of the key from the coordinate value of the user's contact location with respect to the key (hereinafter referred to as “deviation amount”).
In addition to the control function of a general mobile phone, the control unit 156 calculates a relative position for each key for each use state (opening / closing state and housing orientation) of the mobile phone 100, and Using each relative position, a key corresponding to a contact location such as a user's finger is specified as a user operation target.

制御部156は、受付部150、算出部151、状態特定部152、キー特定部153、表示制御部154、処理実行部155を含んで構成される。
ここで、受付部150は、各タッチパネルへの接触を受け付ける、即ち、各入力部から送出された座標値を受領する機能と、座標値の受領に基づいて、接触の有無を検出する機能を有する。
The control unit 156 includes a reception unit 150, a calculation unit 151, a state specifying unit 152, a key specifying unit 153, a display control unit 154, and a process execution unit 155.
Here, the reception unit 150 has a function of receiving a touch on each touch panel, that is, a function of receiving a coordinate value sent from each input unit, and a function of detecting the presence or absence of a contact based on the reception of the coordinate value. .

算出部151は、受付部150が受領した座標値に基づいて、携帯電話機100の使用状態(開閉状態及び筐体の向き)毎に、各キーについての相対位置を算出し、記憶部140のエリア情報テーブル10に登録する機能を有する。
状態特定部152は、開閉検出センサ130及び加速度センサ131から出力された各信号に基づいて携帯電話機100の使用状態を特定する機能を有する。
The calculation unit 151 calculates a relative position for each key for each use state (opening / closing state and orientation of the housing) of the mobile phone 100 based on the coordinate value received by the reception unit 150, and the area of the storage unit 140. It has a function of registering in the information table 10.
The state specifying unit 152 has a function of specifying the use state of the mobile phone 100 based on the signals output from the open / close detection sensor 130 and the acceleration sensor 131.

筐体の向きには、各筐体1、2が、縦長になる向き(以下、「縦向き」という)と、横長になる向き(以下、「横向き」という)とがある。
状態特定部152は、加速度センサ131から出力された信号に基づいて、縦向きと横向きとのうち、より近い向きに、携帯電話機100の筐体の向きに特定する。
キー特定部153は、記憶部140のエリア情報テーブル10に登録されている、状態特定部152が判定した携帯電話機100の使用状態に対応する各キーについての相対位置を示す情報を用いて、受付部150が受領した、ユーザの指等の接触箇所の座標値を補正した補正箇所の座標値を算出し、算出した補正箇所の座標値に基づいて、ユーザ操作の対象となるキーを特定する機能を有する。
The orientations of the casing include a direction in which each of the casings 1 and 2 is vertically long (hereinafter referred to as “vertical direction”) and a direction in which the casings 1 and 2 are horizontally long (hereinafter referred to as “horizontal direction”).
Based on the signal output from the acceleration sensor 131, the state specifying unit 152 specifies the direction of the casing of the mobile phone 100 in a direction closer to the vertical direction or the horizontal direction.
The key specifying unit 153 uses the information registered in the area information table 10 of the storage unit 140 to indicate the relative position of each key corresponding to the usage state of the mobile phone 100 determined by the state specifying unit 152. A function of calculating a coordinate value of a corrected location received by the unit 150 and correcting a coordinate value of a contact location such as a user's finger and specifying a key to be operated by the user based on the calculated coordinate value of the corrected location Have

表示制御部154は、各表示部への表示を制御する機能を有し、特に、携帯電話機100の各使用状態におけるキャリブレーション用画面(G1〜G4)や、処理実行部155による処理結果の画面を表示部111又は各表示部(111、121)に表示する機能を有する。
処理実行部155は、ユーザ操作に応じて既定の処理を行う機能を有し、特に、キー特定部153が特定したキーを入力として各種処理を実行する機能を有する。
The display control unit 154 has a function of controlling display on each display unit, and in particular, a calibration screen (G1 to G4) in each use state of the mobile phone 100 and a screen of a processing result by the processing execution unit 155 Is displayed on the display unit 111 or each display unit (111, 121).
The process execution unit 155 has a function of performing a predetermined process in response to a user operation, and particularly has a function of executing various processes using the key specified by the key specifying unit 153 as an input.

<データ>
以下では、携帯電話機100が使用するデータについて、図8を用いて説明する。
図8は、エリア情報テーブル10のデータ構成及び内容例を示す図である。
エリア情報テーブル10は、同図に示すように、開閉状態11、筐体の向き12、キーID13、パネルID14、左上座標値15、右下座標値16、平均ずれ量17、差分値18を対応付けて構成される情報である。
<Data>
Hereinafter, data used by the mobile phone 100 will be described with reference to FIG.
FIG. 8 is a diagram showing a data configuration and example contents of the area information table 10.
As shown in the figure, the area information table 10 corresponds to the open / closed state 11, the casing orientation 12, the key ID 13, the panel ID 14, the upper left coordinate value 15, the lower right coordinate value 16, the average deviation amount 17, and the difference value 18. It is information that is attached.

なお、同図に示すx1〜x7、x11〜x24、x30〜x33、y1〜y7、y11〜y24、y30〜y33は、具体的な数値を表しているものとする。
ここで、開閉状態11は、携帯電話機100が開状態か閉状態かを示す情報であり、筐体の向き12は、携帯電話機100の各筐体が縦向きか横向きかを示す情報である。
また、キーID13は、キーの識別情報であり、この例では、ソフトウェアキーを構成する各キーのキーIDとして、その配置順に1ずつ増加させた数字を用いている。
It should be noted that x1 to x7, x11 to x24, x30 to x33, y1 to y7, y11 to y24, and y30 to y33 shown in the figure represent specific numerical values.
Here, the open / close state 11 is information indicating whether the mobile phone 100 is in an open state or a closed state, and the housing direction 12 is information indicating whether each housing of the mobile phone 100 is in a vertical orientation or a horizontal orientation.
The key ID 13 is key identification information. In this example, as the key ID of each key constituting the software key, a number incremented by 1 in the arrangement order is used.

即ち、図2、4〜6に示すように、左上に配置されるキー(Qキー)のキーIDは「1」であり、同じ行の最右に配置されるキー(Pキー)のキーIDは「10」、次の行の最左に配置されるキー(Aキー)のキーIDは「11」であり、右下に配置されるキー(エンタキー)のキーIDは「35」である。
また、パネルID14は、対応するキーIDが示すキーが配置されるタッチパネルの識別情報であり、この例では、タッチパネル110のパネルIDは「1」であり、タッチパネル120のパネルIDは「2」であるものとしている。
That is, as shown in FIGS. 2, 4 to 6, the key ID of the key (Q key) arranged at the upper left is “1”, and the key ID of the key (P key) arranged at the rightmost position in the same row. Is “10”, the key ID of the key (A key) arranged at the leftmost of the next line is “11”, and the key ID of the key (enter key) arranged at the lower right is “35”.
The panel ID 14 is identification information of the touch panel on which the key indicated by the corresponding key ID is arranged. In this example, the panel ID of the touch panel 110 is “1”, and the panel ID of the touch panel 120 is “2”. It is supposed to be.

左上座標値15は、対応するキーIDが示すキーの範囲(矩形領域)の左上の頂点の座標値であり、右下座標値16は、そのキー範囲の右下の頂点の座標値である。
なお、左上座標値15及び右下座標値16は、携帯電話機100のメーカにより予め登録されている。
また、平均ずれ量17は、対応する携帯電話機の使用状態における各キーについてのずれ量の平均値である。
The upper left coordinate value 15 is the coordinate value of the upper left vertex of the key range (rectangular region) indicated by the corresponding key ID, and the lower right coordinate value 16 is the coordinate value of the lower right vertex of the key range.
Note that the upper left coordinate value 15 and the lower right coordinate value 16 are registered in advance by the manufacturer of the mobile phone 100.
Moreover, the average deviation | shift amount 17 is an average value of the deviation | shift amount about each key in the use condition of a corresponding mobile telephone.

ここで、キーについてのずれ量とは、そのキーに対しユーザが指等を接触させた際の接触箇所の、そのキーの中心に対するずれ量のことをいう。
また、差分値18は、対応する携帯電話機の使用状態において、対応するキーIDが示すキーについてのずれ量から対応する平均ずれ量を減じた値である。
同図は、例えば、開閉状態が「閉」であり、筐体の向きが「縦」である場合のキーIDが「1」であるキー(Qキー)の範囲の左上座標値は「(x11,y11)」、右下座標値は「(x12,y12)」であり、平均ずれ量は「(x30,y39)」であり、差分値は「(x1,y1)」であることを示している。
Here, the amount of deviation of a key refers to the amount of deviation of the contact location when the user touches the key with a finger or the like with respect to the center of the key.
The difference value 18 is a value obtained by subtracting the corresponding average deviation amount from the deviation amount for the key indicated by the corresponding key ID in the usage state of the corresponding mobile phone.
In the figure, for example, the upper left coordinate value of the range of the key (Q key) with the key ID “1” when the open / closed state is “closed” and the orientation of the housing is “vertical” is “(x11 , y11) ”, the lower right coordinate value is“ (x12, y12) ”, the average deviation amount is“ (x30, y39) ”, and the difference value is“ (x1, y1) ”. Yes.

ここで、各キーの左上座標値及び右下座標値と平均ずれ量と差分値との関係について、携帯電話機100の開閉状態が「閉」であり、筐体の向きが「縦」である場合におけるQキーを例に説明する。
図9は、Qキーの左上座標値及び右下座標値と平均ずれ量と差分値との関係を説明するための図である。
Here, regarding the relationship between the upper left coordinate value and the lower right coordinate value of each key, the average deviation amount, and the difference value, the opening / closing state of the mobile phone 100 is “closed” and the orientation of the casing is “vertical” The Q key will be described as an example.
FIG. 9 is a diagram for explaining the relationship among the upper left coordinate value and lower right coordinate value of the Q key, the average deviation amount, and the difference value.

同図では、携帯電話機100の開閉状態が「閉」であり、筐体の向きが「縦」である場合に表示されるキャリブレーション用画面G1のソフトウェアキーD1のみを示しており、携帯電話機100の筐体などは省略している。
ここで、接触箇所P1は、キャリブレーション用画面G1において、ユーザがQキーに指等を接触させた場合に、受付部150が入力部112から受領した座標値に対応する位置を示している。
In the figure, only the software key D1 of the calibration screen G1 displayed when the open / close state of the mobile phone 100 is “closed” and the orientation of the housing is “vertical” is shown. The case and the like are omitted.
Here, the contact location P1 indicates a position corresponding to the coordinate value received by the receiving unit 150 from the input unit 112 when the user touches the Q key with a finger or the like on the calibration screen G1.

左上座標値(x11,y11)及び右下座標値(x12,y12)で特定される矩形領域で示されるQキーの範囲の中心((x11+x12)/2,(y11+y12)/2)に対する接触箇所P1の相対位置(x10−(x11+x12)/2,y10−(y11+y12)/2)が、Qキーのずれ量である。
このキャリブレーション用画面G1において、他のアルファベットの文字を表すキー(Wキー〜Mキー)に対するユーザの指等の接触を受け付け、ずれ量についても算出し、アルファベット26文字を表す全てのキーのずれ量の平均値(平均ずれ量)を算出する。なお、図8では、記載を簡略化するために、この平均ずれ量を(x30,y30)として記載している。
The contact point P1 with respect to the center ((x11 + x12) / 2, (y11 + y12) / 2) of the range of the Q key indicated by the rectangular area specified by the upper left coordinate value (x11, y11) and the lower right coordinate value (x12, y12) Relative position (x10− (x11 + x12) / 2, y10− (y11 + y12) / 2) is the shift amount of the Q key.
In this calibration screen G1, the touch of the user's finger or the like to keys representing other alphabetic characters (W key to M key) is accepted, the amount of deviation is also calculated, and the deviation of all keys representing 26 letters of the alphabet is calculated. The average value (average deviation amount) is calculated. In FIG. 8, for the sake of simplification of description, this average deviation amount is described as (x30, y30).

また、算出したQキーのすれ量からこの平均ずれ量を減じた値(x10−(x11+x12)/2−x30,y10−(y11+y12)/2−y30)が差分値である。なお、図8では、記載を簡略化するために、この差分値を(x1,y1)と記載している。
<動作>
次に、上記構成を備える携帯電話機100の動作について、図10、11を用いて説明する。
Further, a value obtained by subtracting the average deviation amount from the calculated Q key slip amount (x10− (x11 + x12) / 2−x30, y10− (y11 + y12) / 2−y30) is a difference value. In FIG. 8, this difference value is described as (x1, y1) in order to simplify the description.
<Operation>
Next, the operation of the mobile phone 100 having the above configuration will be described with reference to FIGS.

<相対位置算出処理>
図10は、携帯電話機100の制御部156による相対位置算出処理を示すフローチャートである。
同図に示す相対位置算出処理は、携帯電話機100の運用開始時及び所定のユーザ操作を受け付けた場合に開始される。
<Relative position calculation process>
FIG. 10 is a flowchart showing relative position calculation processing by the control unit 156 of the mobile phone 100.
The relative position calculation process shown in the figure is started when the mobile phone 100 starts operation and when a predetermined user operation is received.

まず、制御部156は、携帯電話機100の使用状態を示すフラグを「1」に初期化する(ステップS1)。
以下では、フラグが「1」である場合には、携帯電話機100の開閉状態が「閉」であり、筐体の向きが「縦」であることを示すものとする。また、フラグが「2」である場合には、開閉状態が「閉」であり、筐体の向きが「横」であることを、フラグが「3」である場合には、開閉状態が「開」であり、筐体の向きが「縦」であることを、フラグが「4」である場合には、開閉状態が「閉」であり、筐体の向きが「横」であることをそれぞれ示すものとする。
First, the control unit 156 initializes a flag indicating the usage state of the mobile phone 100 to “1” (step S1).
Hereinafter, when the flag is “1”, it is assumed that the open / close state of the mobile phone 100 is “closed” and the orientation of the housing is “vertical”. Further, when the flag is “2”, the open / close state is “closed” and the orientation of the housing is “horizontal”, and when the flag is “3”, the open / close state is “ If the flag is “4”, the open / closed state is “closed” and the case orientation is “horizontal”. Each shall be shown.

表示制御部154は、フラグの内容に応じた画面を表示部111又は各表示部(111、121)に表示させる(ステップS2)。
以下では、「1」〜「4」であるフラグに応じた各画面は、キャリブレーション用画面G1〜キャリブレーション用画面G4(図2、図4〜図6参照)であるものとする。
なお、表示制御部154は、フラグに応じたキャリブレーション用画面を表示させる場合に、記憶部140のエリア情報テーブル10において、フラグが示す携帯電話機100の使用状態(開閉状態及び筐体の向き)と対応付けられている各キーの左上座標値及び右下座標値で特定される位置に各キーを表示させる。
The display control unit 154 displays a screen corresponding to the content of the flag on the display unit 111 or each display unit (111, 121) (step S2).
In the following description, it is assumed that the screens corresponding to the flags “1” to “4” are the calibration screen G1 to the calibration screen G4 (see FIGS. 2 and 4 to 6).
When the display control unit 154 displays the calibration screen according to the flag, the use state (opening / closing state and orientation of the housing) of the mobile phone 100 indicated by the flag in the area information table 10 of the storage unit 140 is displayed. Each key is displayed at a position specified by the upper left coordinate value and the lower right coordinate value of each key associated with.

例えば、フラグが「1」であり、キャリブレーション用画面G1を表示部111に表示させる場合において、Qキーの範囲を示す矩形は、左上の頂点の座標値が(x11,y11)、右下の頂点の座標値が(x12,y12)になる位置に表示されることになる。
なお、表示制御部154は、キャリブレーション用画面G2〜G4を表示させる際も、キャリブレーション用画面G1を表示させる場合と同様に、エリア情報テーブル10に基づいて特定される位置に各キーの範囲を示す矩形を表示させる。
For example, when the flag is “1” and the calibration screen G1 is displayed on the display unit 111, the rectangle indicating the range of the Q key has the coordinate value of the upper left vertex (x11, y11) and the lower right corner. It is displayed at a position where the coordinate value of the vertex is (x12, y12).
Note that the display control unit 154 also displays the range of each key at a position specified based on the area information table 10 when displaying the calibration screens G2 to G4, as in the case of displaying the calibration screen G1. A rectangle indicating is displayed.

続いて、状態特定部152は、開閉検出センサ130及び加速度センサ131から出力された各信号に基づいて、実際の携帯電話機100の使用状態(開閉状態及び筐体の向き)を特定し、フラグが示す使用状態と一致するか否かを判定し(ステップS3)、一致しない間(ステップS3:NO)、ステップS3の処理を繰り返し実行する。
実際の携帯電話機100の使用状態と、フラグが示す使用状態とが一致する場合に(ステップS3:YES)、算出部151は、文字列D5を構成する各文字を表す全てのキーについてのずれ量の算出を完了したか否かを判定する(ステップS4)。
Subsequently, the state specifying unit 152 specifies the actual use state (open / close state and orientation of the housing) of the mobile phone 100 based on the signals output from the open / close detection sensor 130 and the acceleration sensor 131, and the flag is set. It is determined whether or not it matches the usage state shown (step S3), and while not matching (step S3: NO), the process of step S3 is repeatedly executed.
When the actual usage state of the mobile phone 100 matches the usage state indicated by the flag (step S3: YES), the calculation unit 151 shifts all the keys representing each character constituting the character string D5. It is determined whether or not the calculation has been completed (step S4).

各ずれ量の算出が完了してない場合には(ステップS4:NO)、算出部151は、ずれ量の算出が完了していないキーのうち、キーIDが最小であるキーを選択する。以下、この選択したキーを、「対象キー」という。
また、受付部150は、いずれかの入力部から座標値を受領したか否かに基づいて、ユーザが指等をいずれかのタッチパネルに接触させたか否かを判定する(ステップS5)。
When the calculation of each deviation amount is not completed (step S4: NO), the calculation unit 151 selects the key with the smallest key ID among the keys for which the calculation of the deviation amount is not completed. Hereinafter, the selected key is referred to as “target key”.
Further, the receiving unit 150 determines whether or not the user has touched one of the touch panels with a finger or the like based on whether or not the coordinate value has been received from any of the input units (step S5).

いずれの入力部からも座標値を受領していない場合、受付部150は、ユーザが指等を接触させていないと判定し(ステップS5:NO)、再びステップS5の処理を実行する。
また、いずれかの入力部から座標値を受領した場合には、受付部150は、ユーザが指等を接触させたと判定し(ステップS5:YES)、算出部151は、対象キーの中心の座標値に対する、受領した座標値、つまり、接触箇所の座標値のずれ量を算出する(ステップS6)。
When the coordinate value is not received from any input unit, the receiving unit 150 determines that the user does not touch the finger or the like (step S5: NO), and executes the process of step S5 again.
When the coordinate value is received from any of the input units, the reception unit 150 determines that the user has touched the finger or the like (step S5: YES), and the calculation unit 151 determines the coordinates of the center of the target key. A deviation amount of the received coordinate value, that is, the coordinate value of the contact point with respect to the value is calculated (step S6).

ステップS6の処理を完了すると、算出部151は、再びステップS4から処理を行い、文字列D5を構成する各文字を表す全てのキーについてのずれ量の算出を完了した場合には(ステップS4:YES)、算出した各ずれ量の平均値(平均ずれ量)を算出し、フラグが示す使用状態と対応付けて、記憶部140のエリア情報テーブル10に登録する(ステップS7)。   When the process of step S6 is completed, the calculation unit 151 performs the process from step S4 again, and completes the calculation of the deviation amounts for all the keys representing each character constituting the character string D5 (step S4: YES), an average value (average deviation amount) of the calculated deviation amounts is calculated, and is registered in the area information table 10 of the storage unit 140 in association with the use state indicated by the flag (step S7).

また、算出部151は、算出した文字列D5を構成する各文字を表す全てのキーについて、そのキーについて算出したずれ量から平均ずれ量を減じた値(差分値)を算出し、フラグが示す使用状態と対応付けて、そのキーの差分値として記憶部140のエリア情報テーブル10に登録する(ステップS8)。
また、算出部151は、フラグが「4」であるか否かを判定する(ステップS9)。
Further, the calculation unit 151 calculates a value (difference value) obtained by subtracting the average shift amount from the shift amount calculated for the key for all keys representing each character constituting the calculated character string D5, and the flag indicates In association with the use state, the difference value of the key is registered in the area information table 10 of the storage unit 140 (step S8).
Further, the calculation unit 151 determines whether or not the flag is “4” (step S9).

フラグが「4」である場合には(ステップS9:YES)、制御部156は、相対位置算出処理を終了し、フラグが「4」でない場合には(ステップS9:NO)、フラグの値を1増加させて(ステップS10)、再びステップS2から処理を行う。つまり、携帯電話機100の未処理の使用状態における、文字列D5を構成する各文字を表す全てのキーについての差分値と平均ずれ量とを算出する。   When the flag is “4” (step S9: YES), the control unit 156 ends the relative position calculation process. When the flag is not “4” (step S9: NO), the control unit 156 sets the flag value. The number is incremented by 1 (step S10), and the process is repeated from step S2. That is, the difference value and the average deviation amount are calculated for all keys representing each character constituting the character string D5 in the unprocessed usage state of the mobile phone 100.

<特定処理>
図11は、携帯電話機100の制御部156によるキー特定処理を示すフローチャートである。
なお、以下の説明を開始する時点において、携帯電話機100の処理実行部155は、例えば、図12に示すように、ソフトウェアキーを用いて入力を行うアプリケーション(この例ではメールアプリケーション)を実行しているものとする。
<Specific processing>
FIG. 11 is a flowchart showing key specifying processing by the control unit 156 of the mobile phone 100.
At the time of starting the following description, the process execution unit 155 of the mobile phone 100 executes an application (in this example, a mail application) that performs input using a software key, for example, as shown in FIG. It shall be.

図11に示すように、制御部156の状態特定部152は、開閉検出センサ130及び加速度センサ131から出力された各信号に基づいて携帯電話機100の使用状態(開閉状態及び筐体の向き)を特定する(ステップS11)。
受付部150は、いずれかの入力部から座標値を受領したか否かに基づいて、ユーザが指等をいずれかのタッチパネルに接触させたか否かを判定する(ステップS12)。
As shown in FIG. 11, the state specifying unit 152 of the control unit 156 determines the usage state (open / close state and orientation of the housing) of the mobile phone 100 based on the signals output from the open / close detection sensor 130 and the acceleration sensor 131. Specify (step S11).
The receiving unit 150 determines whether or not the user has touched one of the touch panels with a finger or the like based on whether or not the coordinate value has been received from any of the input units (step S12).

いずれの入力部からも座標値を受領していない場合、受付部150は、ユーザが指等を接触させていないと判定し(ステップS12:NO)、再びステップS12の処理を実行する。
いずれかの入力部から座標値を受領した場合には、受付部150は、ユーザが指等を接触させたと判定し(ステップS12:YES)、キー特定部153は、表示しているソフトウェアキーを構成する全てのキーについて、以下説明するステップS14の処理を行ったか否かを判定する(ステップS13)。
If no coordinate value is received from any input unit, the receiving unit 150 determines that the user has not touched the finger or the like (step S12: NO), and executes the process of step S12 again.
When the coordinate value is received from any of the input units, the receiving unit 150 determines that the user has touched the finger or the like (step S12: YES), and the key specifying unit 153 selects the displayed software key. It is determined whether or not the processing of step S14 described below has been performed for all the constituent keys (step S13).

全てのキーについての処理を完了した場合には(ステップS13:YES)、制御部156は、再びステップS11から処理を行う。
また、全てのキーについての処理を完了してない場合には(ステップS13:NO)、キー特定部153は、未処理のキーのうち、キーIDが最小であるキー(対象キー)を選択し、ステップS11で特定した使用状態と対応付けられている平均ずれ量と、対象キーの差分値と左上座標値及び右下座標値とを、記憶部140のエリア情報テーブル10から取得する。
When the process for all the keys is completed (step S13: YES), the control unit 156 performs the process from step S11 again.
If processing for all keys has not been completed (step S13: NO), the key specifying unit 153 selects a key (target key) having the smallest key ID from among unprocessed keys. The average deviation amount associated with the use state specified in step S11, the difference value of the target key, the upper left coordinate value, and the lower right coordinate value are acquired from the area information table 10 of the storage unit 140.

なお、上述の相対位置算出処理(図10参照)では、ソフトウェアキーのうち、文字列D5を構成する各文字(アルファベット26文字)を表すキー以外のキーについての差分値は算出されず、つまり、アルファベット26文字を表すキー以外のキーについての差分値は、エリア情報テーブル10に登録されないことになる。
従って、対象キーの差分値がエリア情報テーブル10に登録されていない場合には、キー特定部153は、差分値が「0」であるものとして以下の処理を行う。
In the above-described relative position calculation process (see FIG. 10), the difference value is not calculated for the keys other than the keys representing the characters (26 alphabets) constituting the character string D5 among the software keys. Difference values for keys other than the keys representing the 26 letters of the alphabet are not registered in the area information table 10.
Therefore, when the difference value of the target key is not registered in the area information table 10, the key specifying unit 153 performs the following processing assuming that the difference value is “0”.

キー特定部153は、ステップS12で受領した接触箇所の座標値から、取得した平均ずれ量及び差分値を減じて、補正箇所の座標値を算出し(ステップS14)、算出した補正箇所の座標値が、対象キーの範囲(取得した左上座標値及び右下座標値で特定される矩形領域)に含まれるか否かを判定する(ステップS15)。
キー特定部153は、補正箇所の座標値が対象キーの範囲に含まれない場合には(ステップS15:NO)、再びステップS13から処理を行い、補正箇所の座標値が対象キーの範囲に含まれる場合には(ステップS15:YES)、キー特定部153は、対象キーをユーザ操作の対象と特定する(ステップS16)。
The key specifying unit 153 calculates the coordinate value of the corrected location by subtracting the acquired average deviation amount and difference value from the coordinate value of the contact location received in Step S12 (Step S14), and the calculated coordinate value of the corrected location. Is included in the range of the target key (rectangular region specified by the acquired upper left coordinate value and lower right coordinate value) (step S15).
If the coordinate value of the correction location is not included in the range of the target key (step S15: NO), the key specifying unit 153 performs the processing from step S13 again, and the coordinate value of the correction location is included in the range of the target key. If it is determined (step S15: YES), the key specifying unit 153 specifies the target key as a user operation target (step S16).

処理実行部155は、このユーザ操作の対象であるキーを入力として処理を行い、制御部156は再びステップS11から処理を行う。
≪変形例≫
上記実施の形態では、各キーについてのずれ量(平均ずれ量及び差分値)を用いて、携帯電話機100のキー特定部153が、ユーザ操作の対象となるキーを特定する場合について説明した。
The process execution unit 155 performs processing with the key that is the target of the user operation as an input, and the control unit 156 performs processing from step S11 again.
≪Modification≫
In the above-described embodiment, a case has been described in which the key specifying unit 153 of the mobile phone 100 specifies the key to be operated by the user using the shift amount (average shift amount and difference value) for each key.

以下では、上記ずれ量の代わりに、各キーの範囲を補正した補正範囲を用いて、ユーザ操作の対象となるキーを特定する場合について説明する。
この変形例に係る携帯電話機(以下、「変形携帯電話機」ともいう)は、実施の形態に係る携帯電話機100のキー特定部153の機能と、エリア情報テーブル10のデータ構成を若干変更したものである。従って、ここでは、変更部分を中心に説明する。
Below, the case where the key used as a user operation target is specified using the correction range which correct | amended the range of each key instead of the said deviation | shift amount is demonstrated.
The mobile phone according to this modification (hereinafter also referred to as “modified mobile phone”) is obtained by slightly changing the function of the key specifying unit 153 of the mobile phone 100 according to the embodiment and the data configuration of the area information table 10. is there. Therefore, here, the description will focus on the changed portion.

<データ>
まず、変形携帯電話機が使用するデータについて、図13を用いて説明する。
図13は、エリア情報テーブル20のデータ構成及び内容例を示す図である。
エリア情報テーブル20は、同図に示すように、開閉状態11、筐体の向き12、キーID13、パネルID14、左上座標値15、右下座標値16、補正左上座標値21、補正右下座標値22を対応付けて構成される情報である。
<Data>
First, data used by the modified mobile phone will be described with reference to FIG.
FIG. 13 is a diagram showing a data configuration and example contents of the area information table 20.
As shown in the figure, the area information table 20 includes an open / closed state 11, a casing orientation 12, a key ID 13, a panel ID 14, an upper left coordinate value 15, a lower right coordinate value 16, a corrected upper left coordinate value 21, and a corrected lower right coordinate. It is information configured in association with the value 22.

なお、実施の形態で説明したのと同様に、同図に示すx1〜x7、x11〜x24、x30〜x33、x41〜x53、y1〜y7、y11〜y24、y30〜y33、y41〜y53は、具体的な数値を表しているものとする。
エリア情報テーブル20は、実施の形態に係るエリア情報テーブル10の平均ずれ量17及び差分値18に代えて、補正左上座標値21及び補正右下座標値22を含む点で、エリア情報テーブル10とは異なる。
As described in the embodiment, x1 to x7, x11 to x24, x30 to x33, x41 to x53, y1 to y7, y11 to y24, y30 to y33, y41 to y53 shown in FIG. It shall represent a specific numerical value.
The area information table 20 includes the corrected upper left coordinate value 21 and the corrected lower right coordinate value 22 instead of the average deviation amount 17 and the difference value 18 of the area information table 10 according to the embodiment. Is different.

ここで、補正左上座標値21は、対応するキーIDが示すキーの範囲の補正後の範囲(矩形領域)の左上の頂点の座標値であり、補正右下座標値22は、その補正後の範囲の右下の頂点の座標値である。
同図は、例えば、開閉状態が「閉」であり、筐体の向きが「縦」である場合のキーIDが「1」であるキー(Qキー)の範囲の左上座標値は「(x11,y11)」、右下座標値は「(x12,y12)」であり、補正左上座標値は「(x41,y41)」、補正右下座標値は「(x42,y42)」であることを示している。
Here, the corrected upper left coordinate value 21 is the coordinate value of the upper left vertex of the corrected range (rectangular region) of the key range indicated by the corresponding key ID, and the corrected lower right coordinate value 22 is the corrected value after the correction. The coordinate value of the lower right vertex of the range.
In the figure, for example, the upper left coordinate value of the range of the key (Q key) with the key ID “1” when the open / closed state is “closed” and the orientation of the housing is “vertical” is “(x11 , y11) ”, the lower right coordinate value is“ (x12, y12) ”, the corrected upper left coordinate value is“ (x41, y41) ”, and the corrected lower right coordinate value is“ (x42, y42) ”. Show.

<動作>
次に、変形携帯電話機の動作について説明する。
<変形相対位置算出処理>
まず、変形携帯電話機の制御部(以下、「変形制御部」という)による相対位置算出処理(以下、「変形相対位置算出処理」という)について図14を用いて説明する。
<Operation>
Next, the operation of the modified mobile phone will be described.
<Deformation relative position calculation process>
First, a relative position calculation process (hereinafter referred to as “deformed relative position calculation process”) by a control unit (hereinafter referred to as “deformation control unit”) of a modified mobile phone will be described with reference to FIG.

図14は、変形携帯電話機の変形制御部による変形相対位置算出処理を示すフローチャートである。
同図に示すように、変形相対位置算出処理は、実施の形態で説明した図10に示す相対位置算出処理のステップS7及びS8に代えて、ステップS20を含む点で、図10に示す相対位置算出処理とは異なる。
FIG. 14 is a flowchart showing a deformation relative position calculation process performed by the deformation control unit of the modified mobile phone.
As shown in the figure, the deformation relative position calculation process includes step S20 instead of steps S7 and S8 of the relative position calculation process shown in FIG. 10 described in the embodiment. It is different from the calculation process.

以下、このステップS20の処理を中心に説明する。
変形制御部は、実施の形態に係る制御部156と同様に、ステップS1〜S6の処理を行う。
即ち、変形制御部は、フラグの初期化処理を行い(ステップS1)、表示制御部154は、フラグの内容に応じた画面の表示制御処理を行い(ステップS2)、状態特定部152は、実際の携帯電話機100の使用状態とフラグが示す使用状態とが一致するか否かの判定処理を行う(ステップS3)。
Hereinafter, the process of step S20 will be mainly described.
The deformation control unit performs the processes of steps S1 to S6 in the same manner as the control unit 156 according to the embodiment.
That is, the deformation control unit performs a flag initialization process (step S1), the display control unit 154 performs a screen display control process according to the contents of the flag (step S2), and the state identification unit 152 It is determined whether or not the usage state of the mobile phone 100 matches the usage state indicated by the flag (step S3).

実際の携帯電話機100の使用状態とフラグが示す使用状態とが一致する場合に(ステップS3:YES)、算出部151は、文字列D5を構成する各文字を表す全てのキーについてのずれ量の算出を完了したか否かの判定処理を行う(ステップS4)。
各ずれ量の算出が完了してない場合に(ステップS4:NO)、受付部150は、ユーザが指等をいずれかのタッチパネルに接触させたか否かの判定処理を行い(ステップS5)、ユーザが指等を接触させたと判定した場合に(ステップS5:YES)、算出部151は、対象キーの中心の座標値に対する接触箇所の座標値のずれ量の算出処理を行い(ステップS6)、再びステップS4から処理を行う。
When the actual use state of the mobile phone 100 matches the use state indicated by the flag (step S3: YES), the calculation unit 151 calculates the deviation amount for all the keys representing each character constituting the character string D5. A process for determining whether or not the calculation is completed is performed (step S4).
When the calculation of each deviation amount is not completed (step S4: NO), the reception unit 150 performs a determination process as to whether or not the user has touched one of the touch panels with a finger or the like (step S5), and the user If it is determined that the finger or the like has been touched (step S5: YES), the calculation unit 151 performs a calculation process of the deviation amount of the coordinate value of the contact location with respect to the coordinate value of the center of the target key (step S6), and again. Processing is performed from step S4.

文字列D5を構成する各文字を表す全てのキーについてのずれ量の算出を完了した場合に(ステップS4:YES)、変形制御部のキー特定部(以下、「変形キー特定部」という)は、ソフトウェアキーを構成する各キーについての補正左上座標値及び補正右下座標値を算出する(ステップS20)。
ここで、アルファベット26文字を表す各キーについては、ステップS6で算出したそのキーについてのずれ量を、そのキーの範囲(左上座標値及び右上座標値)に加えた値をそのキーの補正左上座標値及び補正右下座標値とし、フラグが示す使用状態と対応付けて、記憶部140のエリア情報テーブル20に登録する。
When the calculation of the shift amount for all the keys representing each character constituting the character string D5 is completed (step S4: YES), the key specifying unit of the deformation control unit (hereinafter referred to as “deformed key specifying unit”) The corrected upper left coordinate value and the corrected lower right coordinate value for each key constituting the software key are calculated (step S20).
Here, for each key representing 26 letters of the alphabet, a value obtained by adding the shift amount for the key calculated in step S6 to the range of the key (upper left coordinate value and upper right coordinate value) is the corrected upper left coordinate of the key. The value and the corrected lower right coordinate value are registered in the area information table 20 of the storage unit 140 in association with the use state indicated by the flag.

また、図10のステップS7と同様に、平均ずれ量の算出を行い、ソフトウェアキーを構成する各キーのうち、アルファベット26文字を表す各キー以外のキーについては、そのキーの範囲(左上座標値及び右上座標値)に平均ずれ量を加えた値をそのキーの補正左上座標値及び補正右下座標値とし、フラグが示す使用状態と対応付けて、記憶部140のエリア情報テーブル20に登録する。   Similarly to step S7 in FIG. 10, the average deviation amount is calculated, and among the keys constituting the software key, for the keys other than the keys representing the 26 letters of the alphabet, the key range (upper left coordinate value). And the value obtained by adding the average deviation amount to the upper left coordinate value and the corrected lower right coordinate value of the key, and are registered in the area information table 20 of the storage unit 140 in association with the usage state indicated by the flag. .

続いて、算出部151は、フラグの値の判定処理を行い(ステップS9)、フラグが「4」である場合に(ステップS9:YES)、変形制御部は変形相対位置算出処理を終了し、フラグが「4」でない場合に(ステップS9:NO)、フラグの値を1増加させて(ステップS10)、再びステップS2から処理を行う。
<変形キー特定処理>
次に、変形携帯電話機の変形制御部によるキー特定処理(以下、「変形キー特定処理」という)について図15を用いて説明する。
Subsequently, the calculation unit 151 performs a flag value determination process (step S9). When the flag is “4” (step S9: YES), the deformation control unit ends the deformation relative position calculation process, When the flag is not “4” (step S9: NO), the value of the flag is incremented by 1 (step S10), and the processing is performed again from step S2.
<Transformation key identification process>
Next, a key specifying process (hereinafter referred to as “deformed key specifying process”) by the deformation control unit of the modified mobile phone will be described with reference to FIG.

図15は、変形携帯電話機の変形制御部による変形キー特定処理を示すフローチャートである。
同図に示すように、変形キー特定処理は、実施の形態で説明した図11に示すキー特定処理のステップS13〜S16に代えて、ステップS21〜S25を含む点で、図11に示すキー特定処理とは異なる。
FIG. 15 is a flowchart showing the deformation key specifying process by the deformation control unit of the modified mobile phone.
As shown in FIG. 11, the modified key specifying process includes steps S21 to S25 in place of steps S13 to S16 of the key specifying process shown in FIG. 11 described in the embodiment. It is different from processing.

以下、このステップS21〜S25の処理を中心に説明する。
変形制御部は、実施の形態に係る制御部156と同様に、ステップS11及びS12の処理を行う。
即ち、変形制御部の状態特定部152は、変形携帯電話機の使用状態の特定処理を行い(ステップS11)、受付部150は、ユーザが指等をいずれかのタッチパネルに接触させたか否かの判定処理を行う(ステップS12)。
Hereinafter, the process of steps S21 to S25 will be mainly described.
The deformation control unit performs the processes of steps S11 and S12 as with the control unit 156 according to the embodiment.
That is, the state specifying unit 152 of the deformation control unit performs processing for specifying the usage state of the deformed mobile phone (step S11), and the receiving unit 150 determines whether or not the user has touched one of the touch panels with a finger or the like. Processing is performed (step S12).

受付部150が、ユーザが指等を接触させたと判定した場合に(ステップS12:YES)、変形キー特定部は、表示しているソフトウェアキーを構成する全てのキーについて、以下説明するステップS22の処理を行ったか否かを判定する(ステップS21)。
全てのキーについての処理を完了してない場合に(ステップS21:NO)、変形キー特定部は、未処理のキーのうち、キーIDが最小であるキー(対象キー)を選択し、ステップS11で特定した使用状態と対応付けられている対象キーについての補正左上座標値及び補正右下座標値を記憶部140のエリア情報テーブル20から取得する。
When the reception unit 150 determines that the user has touched a finger or the like (step S12: YES), the transformation key specifying unit performs step S22 described below for all keys constituting the displayed software key. It is determined whether or not processing has been performed (step S21).
When the processes for all the keys have not been completed (step S21: NO), the deformed key specifying unit selects the key (target key) having the smallest key ID from the unprocessed keys, and step S11. The corrected upper left coordinate value and the corrected lower right coordinate value for the target key associated with the use state specified in (2) are acquired from the area information table 20 of the storage unit 140.

また、変形キー特定部は、ステップS12で受付部150が受領した接触箇所の座標値が、対象キーの補正後の範囲(取得した補正左上座標値及び補正右下座標値で特定される矩形領域)に含まれるか否かを判定し(ステップS22)、再びステップS21の処理を行う。
全てのキーについての処理を完了した場合に(ステップS21:YES)、変形キー特定部は、ステップS22において、ステップS12で受付部150が受領した接触箇所の座標値が、対象キーの補正後の範囲に含まれると判定した対象キーの数を判定する(ステップS23)。
Further, the deformation key specifying unit determines that the coordinate value of the contact location received by the receiving unit 150 in step S12 is a range after correction of the target key (rectangular region specified by the acquired corrected upper left coordinate value and corrected lower right coordinate value). ) Is included (step S22), and the process of step S21 is performed again.
When the process for all the keys is completed (step S21: YES), in step S22, the transformation key specifying unit determines that the coordinate value of the contact location received by the receiving unit 150 in step S12 is the value after the correction of the target key. The number of target keys determined to be included in the range is determined (step S23).

該当する対象キーの数が「0」である場合には(ステップS23:0)、特に何も処理を行うことなく、変形制御部は、再びステップS11から処理を行う。
また、該当する対象キーの数が1つである場合には(ステップS23:1)、この対象キーをユーザ操作の対象と特定し(ステップS24)、また、該当する対象キーの数が2つ以上である場合には(ステップS23:2以上)、該当する対象キーのうちの1つの対象キーを選択し、選択した対象キーをユーザ操作の対象と特定し(ステップS25)、変形制御部は、再びステップS11から処理を行う。
When the number of corresponding target keys is “0” (step S23: 0), the deformation control unit performs the process from step S11 again without performing any process.
If the number of corresponding target keys is one (step S23: 1), this target key is specified as the target of user operation (step S24), and the number of corresponding target keys is two. In the case of the above (step S23: 2 or more), one target key is selected from the corresponding target keys, the selected target key is specified as a user operation target (step S25), and the deformation control unit The process is performed again from step S11.

なお、ステップS25では、例えば、該当の対象キーのうち、キーIDが最小であるキーを選択する。
≪補足≫
以上、本発明に係る携帯端末を、実施の形態及び変形例に基づいて説明したが、以下のように変形することも可能であり、本発明は上述した実施の形態及び変形例で示した通りの携帯電話機に限られないことは勿論である。
In step S25, for example, the key with the smallest key ID is selected from the corresponding target keys.
<Supplement>
The mobile terminal according to the present invention has been described above based on the embodiment and the modification. However, the mobile terminal can be modified as follows, and the present invention is as described in the above-described embodiment and modification. Of course, the mobile phone is not limited to this.

(1)変形例では、変形キー特定処理(図15参照)において、接触箇所が補正範囲に含まれるキーの数が複数ある場合に(ステップS23:2以上)、この複数の対象キーのうち、キーIDが最小であるキーをユーザ操作の対象として選択するものとして説明した(ステップS25)。しかしながら、該当する複数の対象キーから1つのキーを選択する方法はこれに限らない。   (1) In the modified example, in the modified key specifying process (see FIG. 15), when there are a plurality of keys whose contact locations are included in the correction range (step S23: 2 or more), among the plurality of target keys, It has been described that the key with the smallest key ID is selected as the user operation target (step S25). However, the method of selecting one key from a plurality of corresponding target keys is not limited to this.

ここで、接触箇所が補正範囲に含まれるキーの数が複数ある場合、複数のキーの補正範囲が重複していることになる。
図16は、複数のキーの補正範囲が重複する場合において操作対象のキーを特定する方法を説明するための図である。
例えば、図16(a)は、2つのキーの補正範囲A1と補正範囲A2の間に重複範囲A3が存在し、この重複範囲A3に、ユーザの接触箇所P2が含まれる場合を示している。
Here, when there are a plurality of keys whose contact locations are included in the correction range, the correction ranges of the plurality of keys overlap.
FIG. 16 is a diagram for explaining a method of specifying the operation target key when the correction ranges of a plurality of keys overlap.
For example, FIG. 16A shows a case where an overlapping range A3 exists between the correction range A1 and the correction range A2 of two keys, and the user's contact point P2 is included in the overlapping range A3.

なお、図16(a)では、補正範囲A1を点線で、補正範囲A2を一点鎖線で示している。
図16(a)に示すように2つのキーの範囲が重複する場合に、図16(b)に示すように、補正範囲A1とA2とを、補正範囲A11とA21とに変更し、ユーザの接触箇所P2が含まれる変更後の補正範囲(同図では補正範囲A11)に対応する対象キーを選択するようにしてもよい。
In FIG. 16A, the correction range A1 is indicated by a dotted line, and the correction range A2 is indicated by a one-dot chain line.
When the two key ranges overlap as shown in FIG. 16A, the correction ranges A1 and A2 are changed to the correction ranges A11 and A21 as shown in FIG. You may make it select the object key corresponding to the corrected correction range (correction range A11 in the figure) including the contact location P2.

ここで、変更後の補正範囲A11は、重複範囲A3を等分して得られる2つの範囲(A31及びA32)のうちの補正範囲A1に隣接する範囲A31と、補正範囲A1とからなるものである。
また、変更後の補正範囲A21は、重複範囲A3を等分して得られる2つの矩形範囲(A31及びA32)のうちの補正範囲A2に隣接する範囲A32と、補正範囲A2とからなるものである。
Here, the corrected correction range A11 is composed of a range A31 adjacent to the correction range A1 of two ranges (A31 and A32) obtained by equally dividing the overlapping range A3, and the correction range A1. is there.
The changed correction range A21 is composed of a correction range A2 and a correction range A2 adjacent to the correction range A2 of two rectangular ranges (A31 and A32) obtained by equally dividing the overlapping range A3. is there.

また、例えば、図16(c)は、2つのキーの補正範囲A4と補正範囲A5との間に重複範囲A6が存在し、この重複範囲A6に、ユーザの接触箇所P3が含まれる場合を示している。
なお、図16(c)では、補正範囲A4を点線で、補正範囲A5を一点鎖線で示している。
For example, FIG. 16C shows a case where an overlapping range A6 exists between the correction range A4 and the correction range A5 of the two keys, and the user's contact point P3 is included in the overlapping range A6. ing.
In FIG. 16C, the correction range A4 is indicated by a dotted line, and the correction range A5 is indicated by a one-dot chain line.

図16(c)に示すように2つのキーの補正範囲がずれて重複する場合に、図16(d)に示すように、補正範囲A4とA5とを、台形の形状である補正範囲A41とA51とに変更し、ユーザの接触箇所P3が含まれる変更後の補正範囲(同図では補正範囲A41)に対応する対象キーを選択するようにしてもよい。
ここで、変更後の補正範囲A41は、重複範囲A6を等分して得られる2つの三角形の範囲(A61及びA62)のうちの補正範囲A4に隣接する範囲A61と、補正範囲A4とからなるものである。
When the correction ranges of the two keys are shifted and overlapped as shown in FIG. 16C, the correction ranges A4 and A5 are replaced with a correction range A41 having a trapezoidal shape as shown in FIG. The target key corresponding to the corrected correction range (the correction range A41 in the figure) including the user contact point P3 may be selected.
Here, the corrected correction range A41 includes a correction range A4 and a correction range A4 adjacent to the correction range A4 of two triangular ranges (A61 and A62) obtained by equally dividing the overlapping range A6. Is.

また、変更後の補正範囲A51は、重複範囲A3を等分して得られる2つの三角形の範囲(A61及びA62)のうちの補正範囲A5に隣接する範囲A62と、補正範囲A5とからなるものである。
(2)変形例では、変形キー特定処理(図15参照)において、全てのキーについて、接触箇所がそのキーの補正範囲に含まれるか否かを判定し(ステップS21、S22)、接触箇所が補正範囲に含まれるキーの数に応じて、操作対象を特定する(ステップS23〜S25)ものとして説明した。しかしながら、全てのキーについて接触箇所がそのキーの補正範囲に含まれるか否かを判定せずに、接触箇所が補正範囲に含まれると最初に判定されたキーを操作対象と特定するようにしてもよい。
The changed correction range A51 is composed of a correction range A5 and a correction range A5 adjacent to the correction range A5 of two triangular ranges (A61 and A62) obtained by equally dividing the overlapping range A3. It is.
(2) In the modified example, in the modified key specifying process (see FIG. 15), it is determined whether or not the contact location is included in the correction range of the key for all keys (steps S21 and S22). In the above description, the operation target is specified according to the number of keys included in the correction range (steps S23 to S25). However, without determining whether or not the touch location is included in the correction range of the key for all the keys, the key that is determined first when the touch location is included in the correction range is specified as the operation target. Also good.

即ち、ステップS21で全てのキーの処理が完了していない場合に(ステップS21:NO)、ステップS22の処理に進み、接触箇所がそのキーの補正範囲に含まれると判定した場合に、ステップS24の処理を行い、再びステップS11から処理を行うようにする。また、一方、ステップS21で全てのキーの処理が完了したと判定した場合に(ステップS21:YES)、再びステップS11から処理を行うようにする。   That is, if all the keys have not been processed in step S21 (step S21: NO), the process proceeds to step S22, and if it is determined that the contact location is included in the correction range of the key, step S24 is performed. The process is performed, and the process is performed again from step S11. On the other hand, when it is determined in step S21 that all the keys have been processed (step S21: YES), the process is performed again from step S11.

(3)実施の形態では、キー特定処理(図11参照)において、ユーザの指等の接触箇所を補正した補正箇所が、その範囲に含まれると最初に判定されたキーを操作対象として特定するものとして説明したが(ステップS15、S16)、これ以外の方法で操作対象を特定するようにしてもよい。
例えば、各キーのうち、そのキーの中心と補正箇所との距離が最短であるキーを操作対象として特定してもよい。
(3) In the embodiment, in the key specifying process (see FIG. 11), the first determined key is determined as the operation target when the corrected location where the contact location such as the user's finger is corrected is included in the range. Although described as a thing (step S15, S16), you may make it pinpoint an operation target by methods other than this.
For example, among the keys, the key having the shortest distance between the center of the key and the correction location may be specified as the operation target.

変形例、及び上記(1)の変形で説明した操作対象のキーの特定方法についても、同様に、各キーのうち、そのキーの補正後の範囲の中心と、ユーザの指等の接触箇所との距離が最短であるキーを操作対象として特定してもよい。
(4)変形例では、エリア情報テーブル20に示すように、各キーについての補正箇所(補正左上座標値及び補正右下座標値)を予め算出しておくものとして説明したが、実施の形態で説明したエリア情報テーブル10を用いるようにし、ユーザが操作を行おうとタッチパネルに指等を接触させた場合に、各キーについての補正箇所を算出するようにしてもよい。
Similarly, in the modified example and the method for specifying the operation target key described in the modification of (1), the center of the corrected range of the key, the contact location such as the user's finger, The key having the shortest distance may be specified as the operation target.
(4) In the modification, as shown in the area information table 20, the correction location (corrected upper-left coordinate value and corrected lower-right coordinate value) for each key has been described in advance. The area information table 10 described above may be used, and when the user touches the touch panel with a finger or the like to perform an operation, a correction location for each key may be calculated.

(5)実施の形態では、アルファベット26文字を含む文字列D5をユーザに入力させ、相対位置を算出するものとして説明したが、これに限らず、例えば、ひらがな50文字を含む文字列をユーザに入力させるようにしてもよい。このひらがな50文字を含む文字列は、文字列D5と同様、自然文であることが望ましく、一例として、いろは歌を用いることが考えられる。   (5) In the embodiment, it has been described that the user inputs a character string D5 including 26 alphabetic characters and calculates the relative position. However, the present invention is not limited to this. For example, a character string including 50 hiragana characters is given to the user. You may make it input. The character string including 50 hiragana characters is preferably a natural sentence like the character string D5. As an example, it is possible to use a song.

また、実施の形態では、ソフトウェアキーにはアルファベット26文字を表す各キーが含まれているものとして説明したが、ひらがな50文字を表す各キーが含まれるものとしてもよい。
また、ソフトウェアキーには、アルファベットやひらがな等の文字以外にも、数字、記号等も含めることができると共に、shiftキー、スペースキー、リターンキー、ファンクションキー、テンキー、方向キー等も含めることができる。
In the embodiment, the software key has been described as including each key representing 26 letters of the alphabet. However, each key representing 50 hiragana characters may be included.
In addition to letters such as alphabets and hiragana characters, software keys can include numbers, symbols, and the like, and can also include shift keys, space keys, return keys, function keys, numeric keys, direction keys, and the like. .

(6)実施の形態で説明したキー特定処理(図11参照)のステップS14及びS15の処理、及び変形例で説明した変形キー特定処理(図15参照)のステップS22の処理は、ソフトウェアキーを構成する全てのキーについて行うものとして説明した(図11のステップS13、図15のステップS21参照)。
しかしながら、ユーザの指等の接触があった際に、エリア情報テーブル(10又は20)において、そのときの携帯電話機100の実際の使用状態と対応付けられている、キーの範囲(左上座標値及び右下座標値で特定される矩形範囲)が、ユーザの接触箇所(座標値)から一定範囲内にあるキーを特定し、特定したキーについてのみ、上記処理(ステップS14及びS15の処理、又はステップS21の処理)を行うようにしてもよい。
(6) The process of steps S14 and S15 of the key specifying process (see FIG. 11) described in the embodiment and the process of step S22 of the modified key specifying process (see FIG. 15) described in the modified example are software keys. It has been described that it is performed for all the constituent keys (see step S13 in FIG. 11 and step S21 in FIG. 15).
However, when the user's finger or the like is touched, in the area information table (10 or 20), the key range (upper left coordinate value and the associated with the actual use state of the mobile phone 100 at that time) The rectangular range specified by the lower right coordinate value) specifies a key that is within a certain range from the user's contact location (coordinate value), and the above processing (the processing of steps S14 and S15, or the step only for the specified key) The processing of S21 may be performed.

(7)実施の形態及び変形例に係る携帯電話機は、各キャリブレーション用画面(G1〜G4)を表示させ、ユーザに各キャリブレーション用画面に表示されている文字列D5を構成する各文字を表すキーを操作させることで、携帯電話機の各使用状態における各キーについての相対位置を算出するものとして説明した。
しかしながら、各キャリブレーション用画面(G1〜G4)のうちの一部のキャリブレーション用画面を表示させ、そのキャリブレーション用画面に表示されている文字列D5を構成する各文字を表すキーをユーザに操作させるようにしてもよい。
(7) The mobile phone according to the embodiment and the modification displays each calibration screen (G1 to G4), and the user configures each character constituting the character string D5 displayed on each calibration screen. It has been described that the relative position of each key in each use state of the mobile phone is calculated by operating the key to be expressed.
However, a part of the calibration screens (G1 to G4) is displayed, and a key representing each character constituting the character string D5 displayed on the calibration screen is displayed to the user. You may make it operate.

即ち、携帯電話機の各使用状態のうちの一部については、ユーザ操作に基づいて各キーについての相対位置を算出するようにし、その他の使用状態については、ユーザ操作に基づいて算出してある各キーについての相対位置(以下、「直接算出した相対位置」ともいう)に基づいて、算出するようにしてもよい。
例えば、キャリブレーション用画面G1を表示させて、文字列D5を構成する各文字を表すキーをユーザに操作させて、携帯電話機100の開閉状態が「閉」であり、筐体の向きが「縦」である場合における各キーについての相対位置を直接算出し、この直接算出した相対位置に基づいて、その他の使用状態における各キーについての相対位置を算出するようにしてもよい。
That is, for some of the usage states of the mobile phone, the relative position for each key is calculated based on the user operation, and for the other usage states, each of the usage states calculated based on the user operation is calculated. You may make it calculate based on the relative position (henceforth "the directly calculated relative position") about a key.
For example, the calibration screen G1 is displayed, and the user operates the keys representing the characters constituting the character string D5, so that the open / close state of the mobile phone 100 is “closed” and the casing orientation is “vertical”. ”May be directly calculated, and the relative position for each key in the other use state may be calculated based on the directly calculated relative position.

その他の使用状態における各キーについての相対位置の算出は、例えば、各キーについての相対位置を直接算出する際に表示するキャリブレーション用画面(上述の例では、G1)における各キーの縦横の大きさと、その他のキャリブレーション用画面(上述の例では、G2〜G4)における各キーの縦横の大きさとの比率に比例するように決定することが考えられる。   The calculation of the relative position for each key in other usage states is performed by, for example, the size of each key on the calibration screen (G1 in the above example) displayed when directly calculating the relative position for each key. It may be determined to be proportional to the ratio between the vertical and horizontal sizes of each key on the other calibration screens (G2 to G4 in the above example).

例えば、キャリブレーション用画面G1におけるQキーの縦の大きさが「a0」で、横の大きさが「b0」で、相対位置(例えば、ずれ量が(x0,y0))であり、キャリブレーション用画面G2におけるQキーの縦の大きさが「a1」で、横の大きさが「b1」である場合には、キャリブレーション用画面G2におけるQキーのずれ量を(x0×a1/a0,y0×b1/b0)と算出することができる。   For example, the vertical size of the Q key on the calibration screen G1 is “a0”, the horizontal size is “b0”, and the relative position (for example, the shift amount is (x0, y0)). When the vertical size of the Q key on the screen G2 is “a1” and the horizontal size is “b1”, the shift amount of the Q key on the calibration screen G2 is (x0 × a1 / a0, y0 × b1 / b0).

(8)実施の形態及び変形例では、各表示部のLCDの画素数は同一であり、LCDの形状は、略矩形状であるものとして説明したが、各LCDの画素数は異なってもよいし、各LCDの形状は、例えば、円形状、その他多角形状であってもよい。
(9)実施の形態及び変形例に係る携帯電話機は、スライド式の携帯電話機であるものとして説明したが、折りたたみ式や、ストレートタイプ等の他の外観を有する携帯電話機であってもよい。
(8) Although the number of pixels of the LCD of each display unit is the same and the shape of the LCD is substantially rectangular in the embodiment and the modification, the number of pixels of each LCD may be different. The shape of each LCD may be, for example, a circular shape or other polygonal shapes.
(9) Although the mobile phone according to the embodiment and the modification has been described as a slide type mobile phone, the mobile phone may have a different appearance such as a folding type or a straight type.

また、実施の形態及び変形例に係る携帯電話機は、2つのタッチパネルを備えるものとして説明したが、各タッチパネルの配置は、実施の形態で説明したように、各タッチパネルが略同一平面上に配置される場合に限られず、また、1つのタッチパネルのみを備えるものや、3つ以上のタッチパネルを備えるものとしてもよい。
また、実施の形態及び変形例に係る携帯電話機では、キャリブレーション用の文字列D5がタッチパネルに表示される例を説明したが、このような場合に限定されず、キャリブレーション用の文字列D5が表示される画面は、タッチパネル以外の表示画面、例えば、タッチパネル機能を有していないLCD、有機EL(Electro−Luminescence)等の表示画面にキャリブレーション用の文字列D5が表示されるとしてもよい。
In addition, the mobile phone according to the embodiment and the modification has been described as including two touch panels. However, as described in the embodiment, the touch panels are arranged on substantially the same plane. It is good also as a thing provided with only one touch panel and a thing provided with three or more touch panels.
In the mobile phone according to the embodiment and the modification, the example has been described in which the calibration character string D5 is displayed on the touch panel. However, the present invention is not limited to such a case, and the calibration character string D5 is displayed. The displayed character string D5 for calibration may be displayed on a display screen other than the touch panel, for example, a display screen such as an LCD having no touch panel function or an organic EL (Electro-Luminescence).

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

また、各タッチパネルの入力部は、静電容量方式のタッチセンサにより実現される場合に限らず、電子ペン等の専用のペンを用いる電磁誘導方式や、2層構造の透明電極からなるマトリクススイッチ方式や、2枚の抵抗膜の1枚に電圧を印加し、他方の抵抗膜において操作した位置に応じた電圧を検知する抵抗膜方式や、振動波の跳ね返りを圧電素子の電圧変化によって検出し、指等の接触を検知する表面弾性波方式や、遮光された赤外線により指等が接触した位置を検出する赤外線方式や、画面に光センサを組み込んで接触位置を検知する光センサ方式等により実現されてもよい。   In addition, the input unit of each touch panel is not limited to being realized by a capacitive touch sensor, but an electromagnetic induction method using a dedicated pen such as an electronic pen, or a matrix switch method including a two-layer transparent electrode Or, a voltage is applied to one of the two resistance films, and a resistance film method for detecting a voltage according to the position operated on the other resistance film, or a rebound of the vibration wave is detected by a voltage change of the piezoelectric element, It is realized by the surface acoustic wave method that detects the touch of the finger, the infrared method that detects the position where the finger etc. touched by the shielded infrared light, the optical sensor method that detects the contact position by incorporating the optical sensor in the screen, etc. May be.

(11)実施の形態及び変形例において説明した各構成要素のうち、全部又は一部を1チップ又は複数チップの集積回路で実現してもよいし、コンピュータのプログラムで実現してもよいし、その他どのような形態で実現してもよい。
また、実施の形態及び変形例において説明した各構成要素は、携帯電話機が有するプロセッサと協働することにより、その機能を実現する。
(11) All or some of the components described in the embodiment and the modification may be realized by an integrated circuit of one chip or a plurality of chips, or may be realized by a computer program. Any other form may be realized.
In addition, each component described in the embodiment and the modification realizes its function by cooperating with a processor included in the mobile phone.

(12)実施の形態及び変形例において説明した携帯電話機の処理(図10、11、14、15参照)をプロセッサに実行させるためのプログラムを、記録媒体に記録し又は各種通信路等を介して、流通させ頒布することもできる。このような記録媒体には、ICカード、光ディスク、フレキシブルディスク、ROM(Read Only Memory)、フラッシュメモリ等がある。流通、頒布されたプログラムは、機器におけるプロセッサで読み取り可能なメモリ等に格納されることにより利用に供され、そのプロセッサがそのプログラムを実行することにより実施の形態及び変形例で示した携帯電話機の各機能が実現される。   (12) A program for causing a processor to execute the processing (see FIGS. 10, 11, 14, and 15) described in the embodiment and the modification is recorded on a recording medium or via various communication paths. It can also be distributed and distributed. Examples of such a recording medium include an IC card, an optical disk, a flexible disk, a ROM (Read Only Memory), and a flash memory. The distributed and distributed program is used by being stored in a memory or the like that can be read by a processor in the device, and the processor executes the program so that the mobile phone shown in the embodiment and the modification example can be used. Each function is realized.

(13)実施の形態及び変形例に係る携帯電話機に、上記(1)〜(12)の一部又は全部の変形を組み合わせて適用してもよい。
(14)以下、更に本発明の一実施形態に係る携帯端末の構成及びその変形例と各効果について説明する。
(a)本発明の実施の形態に係る携帯端末は、タッチパネルを備え、当該タッチパネルへの入力に基づいて処理を実行する携帯端末であって、前記タッチパネルの表示領域に配置されている複数のキー毎に、当該キーに対する操作を当該キーのキー表示領域に対する接触によって受け付ける受付部と、前記複数のキー毎に、当該キーに対して前記受付部が受け付けた接触箇所の当該キーのキー表示領域内の基準位置に対する相対位置を算出する算出部と、前記算出部による前記複数のキーについての前記相対位置の算出が完了した後に、前記タッチパネルへの新たな接触を受け付けた場合に、受け付けた接触箇所と、前記複数のキーのうちの少なくとも当該接触箇所から所定範囲内にある2以上のキーについての各相対位置とに基づいて、当該2以上のキーのうちの1つのキーを操作対象として特定する特定部とを備える。
(13) The mobile phone according to the embodiment and the modification may be applied by combining some or all of the modifications (1) to (12).
(14) Hereinafter, the configuration of the mobile terminal according to the embodiment of the present invention, its modification, and each effect will be described.
(A) A portable terminal according to an embodiment of the present invention is a portable terminal that includes a touch panel and executes processing based on an input to the touch panel, and includes a plurality of keys arranged in the display area of the touch panel. A reception unit that accepts an operation on the key by touching the key display area of the key, and a key display area of the key at a contact location received by the reception unit for the key for each of the plurality of keys A calculation unit that calculates a relative position with respect to a reference position, and after the calculation of the relative position for the plurality of keys by the calculation unit is completed, when a new contact to the touch panel is received, the received contact location And the relative positions of at least two keys within a predetermined range from the contact location among the plurality of keys. And a specifying unit configured to specify one key of the two or more keys as the operation target.

また、本発明の実施の形態に係るプログラムは、タッチパネルを備え、当該タッチパネルへの入力に基づいて処理を実行する携帯端末におけるプロセッサに、入力制御処理を行わせるためのプログラムであって、前記入力制御処理は、前記タッチパネルの表示領域に配置されている複数のキー毎に、当該キーに対する操作を当該キーのキー表示領域に対する接触によって受け付ける受付ステップと、前記複数のキー毎に、当該キーに対して前記受付ステップで受け付けた接触箇所の当該キーのキー表示領域内の基準位置に対する相対位置を算出する算出ステップと、前記算出ステップによる前記複数のキーについての前記相対位置の算出が完了した後に、前記タッチパネルへの新たな接触を受け付けた場合に、受け付けた接触箇所と、前記複数のキーのうちの少なくとも当該接触箇所から所定範囲内にある2以上のキーについての各相対位置とに基づいて、当該2以上のキーのうちの1つのキーを操作対象として特定する特定ステップとを含む。   A program according to an embodiment of the present invention is a program for causing a processor in a portable terminal that includes a touch panel and executes processing based on input to the touch panel to perform input control processing. The control process includes, for each of the plurality of keys arranged in the display area of the touch panel, an accepting step for accepting an operation on the key by touching the key display area of the key, and for each key of the plurality of keys. After calculating the relative position of the touch location received in the receiving step with respect to the reference position in the key display area of the key, and calculating the relative position for the plurality of keys in the calculating step, When a new contact to the touch panel is received, the received contact location and the composite A specific step of specifying one of the two or more keys as an operation target based on at least each of the relative positions of the two or more keys within a predetermined range from the contact location. Including.

また、本発明の実施の形態に係る入力制御方法は、タッチパネルを備え、当該タッチパネルへの入力に基づいて処理を実行する携帯端末における入力制御方法であって、前記タッチパネルの表示領域に配置されている複数のキー毎に、当該キーに対する操作を当該キーのキー表示領域に対する接触によって受け付ける受付ステップと、前記複数のキー毎に、当該キーに対して前記受付ステップで受け付けた接触箇所の当該キーのキー表示領域内の基準位置に対する相対位置を算出する算出ステップと、前記算出ステップによる前記複数のキーについての前記相対位置の算出が完了した後に、前記タッチパネルへの新たな接触を受け付けた場合に、受け付けた接触箇所と、前記複数のキーのうちの少なくとも当該接触箇所から所定範囲内にある2以上のキーについての各相対位置とに基づいて、当該2以上のキーのうちの1つのキーを操作対象として特定する特定ステップとを含む。   An input control method according to an embodiment of the present invention is an input control method in a portable terminal that includes a touch panel and executes processing based on an input to the touch panel, and is arranged in a display area of the touch panel. A receiving step that accepts an operation on the key for each of the plurality of keys by touching the key display area of the key; and for each of the plurality of keys, the key at the contact location received in the accepting step for the key. When a calculation step for calculating a relative position with respect to a reference position in the key display area and a calculation of the relative position for the plurality of keys by the calculation step is completed, when a new contact to the touch panel is received, Within a predetermined range from the received contact location and at least the contact location of the plurality of keys Based on the respective relative positions of the more keys, and a specifying step of specifying the one key of the two or more keys as the operation target.

この携帯端末は、タッチパネルの表示領域に配置されているキー毎に、そのキーのキー表示領域に対して受け付けた接触箇所のそのキー表示領域内の基準位置に対する相対位置を予め算出しておき、ユーザが操作を行おうとタッチパネルに指等を接触させた場合に、予め算出してある上記相対位置に基づいて、操作対象のキーを特定する。
従って、この携帯端末によれば、操作対象のキーを適切に特定することが可能になる。
In this portable terminal, for each key arranged in the display area of the touch panel, the relative position of the contact location received with respect to the key display area of the key with respect to the reference position in the key display area is calculated in advance. When the user touches the touch panel to perform an operation, the operation target key is specified based on the relative position calculated in advance.
Therefore, according to this portable terminal, it becomes possible to appropriately specify the operation target key.

(b)また、前記複数のキーは、相互に異なる文字を表したものであり、前記携帯端末は、前記複数のキーが配置されている前記タッチパネルの表示領域とは異なる所定の表示領域に、前記キーを表す文字から構成される文字列を表示させる表示制御部を備え、前記受付部は、前記文字列を構成する各文字を表す前記キーに対する操作を受け付けることとしてもよい。   (B) The plurality of keys represent different characters, and the mobile terminal has a predetermined display area different from a display area of the touch panel on which the plurality of keys are arranged. The display control part which displays the character string comprised from the character showing the said key may be provided, and the said reception part is good also as accepting operation with respect to the said key showing each character which comprises the said character string.

この携帯端末は、ユーザに入力させたい各キーに対応する文字列をタッチパネルに表示させるので、ユーザはこの文字列を参照しながら、この文字列を構成する各文字を表すキーの入力を行うことができる。
従って、この携帯端末は、ユーザにより行われる指等の接触がいずれのキーに対する操作であるかを容易に判定することができるので、各キーについての相対位置の算出を正確に行うことができる。
Since this portable terminal displays a character string corresponding to each key that the user wants to input on the touch panel, the user can input a key representing each character constituting the character string while referring to the character string. Can do.
Therefore, the portable terminal can easily determine which key is touched by a finger or the like performed by the user, so that the relative position for each key can be accurately calculated.

(c)また、前記算出部は、前記複数のキー毎に、当該キー内の前記基準位置から受け付けた接触箇所までのずれ量を、当該キーについての前記相対位置として算出するものであり、前記特定部は、前記2以上のキー毎に、そのキーについて前記算出部が算出したずれ量に基づいて、前記タッチパネルにおける接触箇所を補正し、当該2以上のキーのうち、補正後の接触箇所が前記キー表示領域に含まれる1つのキーを前記操作対象として特定することとしてもよい。   (C) Moreover, the said calculation part calculates the deviation | shift amount from the said reference position in the said key to the contact location received for every said some key as said relative position about the said key, For each of the two or more keys, the specifying unit corrects the contact location on the touch panel based on the shift amount calculated by the calculation unit for the key, and the corrected contact location of the two or more keys is One key included in the key display area may be specified as the operation target.

この携帯端末は、複数のキー毎に、そのキーのキー表示領域内の基準位置からユーザが指等を接触させた箇所までのすれ量を算出しておき、ユーザが操作を行おうとタッチパネルに指等を接触させた場合に、ずれ量により補正した補正後の接触箇所に基づいて、操作対象を特定する。
従って、この携帯端末によれば、操作対象を特定するために、複数のキーそれぞれについてのタッチパネル上の表示領域を示す情報を記憶しておくだけで足りるため、メモリ使用量の増大を抑制できる。
This mobile terminal calculates, for each of a plurality of keys, a slip amount from a reference position in the key display area of the key to a place where the user touches a finger or the like, and the user touches the touch panel to perform an operation. And the like, the operation target is specified based on the corrected contact location corrected by the deviation amount.
Therefore, according to this portable terminal, since it is sufficient to store information indicating the display area on the touch panel for each of the plurality of keys in order to specify the operation target, an increase in memory usage can be suppressed.

(d)また、前記特定部は、前記複数のキー毎に、前記算出部が算出した当該キーについての前記相対位置に基づいて、当該キーの補正位置を決定し、前記2以上のキーのうち、当該キーについて決定した補正位置に、前記タッチパネルにおける接触の箇所が含まれる1つのキーを前記操作対象として特定することとしてもよい。
この携帯端末は、複数のキーについての補正位置を決定しておき、ユーザが操作を行おうとタッチパネルに指等を接触させた場合に、接触箇所が補正位置に含まれる1つのキーを操作対象と特定する。
(D) The specifying unit determines a correction position of the key based on the relative position of the key calculated by the calculation unit for each of the plurality of keys, In addition, it is also possible to specify one key including the touch location on the touch panel as the operation target at the correction position determined for the key.
In this portable terminal, correction positions for a plurality of keys are determined, and when a user touches a touch panel with a finger or the like to perform an operation, one key whose contact location is included in the correction position is set as an operation target. Identify.

従って、この携帯端末によれば、予め各補正位置を決定しておくので、ユーザが操作を行おうとタッチパネルに指等を接触させた際に、より高速に操作対象を特定できる。
(e)また、前記複数のキーは、前記タッチパネルを備える筐体の向き毎に定められており、前記算出部は、筐体の向き毎に、各キーについての前記相対位置を算出し、前記携帯端末は、更に自端末に生じる加速度を検出する加速度センサを備え、前記特定部は、前記加速度センサによる検出結果に基づいて特定される自端末の筐体の向きに対応する、前記2以上のキーについて前記算出部により算出された各相対位置と、前記タッチパネルにおける接触箇所とに基づいて、前記操作対象を特定することとしてもよい。
Therefore, according to this portable terminal, since each correction position is determined in advance, when the user touches the touch panel with a finger or the like to perform the operation, the operation target can be specified at a higher speed.
(E) Further, the plurality of keys are determined for each orientation of the casing including the touch panel, and the calculation unit calculates the relative position of each key for each orientation of the casing, The portable terminal further includes an acceleration sensor for detecting an acceleration generated in the own terminal, and the specifying unit corresponds to the orientation of the casing of the own terminal specified based on a detection result by the acceleration sensor. The operation target may be specified based on each relative position calculated by the calculation unit for the key and a contact location on the touch panel.

この携帯端末によれば、筐体の向き毎に、各キーについての上記相対位置を算出しておくので、使用時の筐体の向きを考慮して、適切に操作対象を特定できる。
(f)また、前記携帯端末は、複数の筐体からなり、各筐体の相対位置が変化可能に構成されており、前記タッチパネルが配置されている筐体とは異なる筐体に配置された他のタッチパネルと、各筐体の相対関係が、前記タッチパネル及び前記他のタッチパネルが視認可能な第1の状態と、前記タッチパネルのみが視認可能な第2の状態とのいずれの状態であるかを検出するための状態検出センサとを備え、前記複数のキーは、前記第1及び第2の状態についてそれぞれ定められており、前記算出部は、前記第1及び第2の状態それぞれにおいて各キーについての前記相対位置を算出し、前記特定部は、前記状態検出センサが検出した状態に対応する前記2以上のキーについて前記算出部が算出した各相対位置と、前記タッチパネルにおける接触箇所とに基づいて、前記操作対象を特定することとしてもよい。
According to this portable terminal, since the relative position for each key is calculated for each orientation of the casing, the operation target can be appropriately specified in consideration of the orientation of the casing when in use.
(F) Moreover, the said portable terminal consists of a some housing | casing, and the relative position of each housing | casing is comprised so that a change is possible, and it arrange | positioned in the housing | casing different from the housing | casing in which the said touch panel is arrange | positioned. Whether the relative relationship between the other touch panel and each housing is a first state in which the touch panel and the other touch panel are visible, or a second state in which only the touch panel is visible. A state detection sensor for detecting, wherein the plurality of keys are defined for the first and second states, respectively, and the calculation unit is configured for each key in the first and second states. The relative position calculated by the calculation unit for the two or more keys corresponding to the state detected by the state detection sensor; and Based on the location touch, it may be specified the operation target.

この携帯端末によれば、各筐体の状態毎に、各キーについての上記相対位置を算出しておくので、使用時の筐体の状態(第1の状態又は第2の状態)を考慮して、適切に操作対象を特定できる。
(15)本発明に係る携帯端末のタッチパネル、他のタッチパネルは、例えば、実施の形態に係る携帯電話機100のタッチパネル110、120に相当し、本発明に係る携帯端末の受付部は、例えば、実施の形態に係る携帯電話機100の受付部150に相当し、本発明に係る携帯端末の算出部は、例えば、実施の形態に係る携帯電話機100の算出部151に相当し、本発明に係る携帯端末の特定部は、例えば、実施の形態に係る携帯電話機100のキー特定部153や変形例に係る変形携帯電話機の変形キー特定部に相当し、本発明に係る携帯端末の表示制御部は、例えば、実施の形態に係る携帯電話機100の表示制御部154に相当し、本発明に係る携帯端末の状態検出センサ、加速度センサは、例えば、実施の形態に係る携帯電話機100の開閉検出センサ130、加速度センサ131に相当する。
According to this portable terminal, since the relative position for each key is calculated for each state of each case, the state of the case at the time of use (first state or second state) is taken into consideration. Thus, the operation target can be appropriately identified.
(15) The touch panel of the mobile terminal according to the present invention and other touch panels correspond to, for example, the touch panels 110 and 120 of the mobile phone 100 according to the embodiment, and the reception unit of the mobile terminal according to the present invention includes, for example, the implementation Corresponds to the reception unit 150 of the mobile phone 100 according to the embodiment, and the calculation unit of the mobile terminal according to the present invention corresponds to, for example, the calculation unit 151 of the mobile phone 100 according to the embodiment, and the mobile terminal according to the present invention. The specifying unit corresponds to, for example, the key specifying unit 153 of the mobile phone 100 according to the embodiment or the modified key specifying unit of the modified mobile phone according to the modification, and the display control unit of the mobile terminal according to the present invention is, for example, Corresponds to the display control unit 154 of the mobile phone 100 according to the embodiment, and the state detection sensor and the acceleration sensor of the mobile terminal according to the present invention include, for example, the mobile phone according to the embodiment. Close detection sensor 130 of the machine 100, which corresponds to the acceleration sensor 131.

(16)本発明は、上記に示す携帯端末に用いられる方法であるとしてもよいし、これらの方法をコンピュータにより実現するコンピュータプログラムであるとしてもよい。   (16) The present invention may be a method used for the mobile terminal described above, or may be a computer program that realizes these methods by a computer.

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

1 第1筐体
2 第2筐体
4、4’ 連結機構
5、5’ 連結駒
6、6’ ガイド溝
7 スピーカ
8 マイク
30、30’31、31’ ピン
100 携帯電話機
110、120 タッチパネル
111、121 表示部
112、122 入力部
130 開閉検出センサ
131 加速度センサ
140 記憶部
150 受付部
151 算出部
152 状態特定部
153 キー特定部
154 表示制御部
155 処理実行部
156 制御部
DESCRIPTION OF SYMBOLS 1 1st housing | casing 2 2nd housing | casing 4, 4 'connection mechanism 5, 5' connection piece 6, 6 'guide groove 7 Speaker 8 microphone 30, 30'31, 31' pin 100 Mobile phone 110, 120 Touch panel 111, REFERENCE SIGNS LIST 121 Display unit 112, 122 Input unit 130 Open / close detection sensor 131 Acceleration sensor 140 Storage unit 150 Reception unit 151 Calculation unit 152 State identification unit 153 Key identification unit 154 Display control unit 155 Process execution unit 156 Control unit

Claims (8)

タッチパネルを備え、当該タッチパネルへの入力に基づいて処理を実行する携帯端末であって、
前記タッチパネルの表示領域に配置されている複数のキー毎に、当該キーに対する操作を当該キーのキー表示領域に対する接触によって受け付ける受付部と、
前記複数のキー毎に、当該キーに対して前記受付部が受け付けた接触箇所の当該キーのキー表示領域内の基準位置に対する相対位置を算出する算出部と、
前記算出部による前記複数のキーについての前記相対位置の算出が完了した後に、前記タッチパネルへの新たな接触を受け付けた場合に、受け付けた接触箇所と、前記複数のキーのうちの少なくとも当該接触箇所から所定範囲内にある2以上のキーについての各相対位置とに基づいて、当該2以上のキーのうちの1つのキーを操作対象として特定する特定部とを備える
ことを特徴する携帯端末。
A portable terminal that includes a touch panel and executes processing based on an input to the touch panel,
For each of a plurality of keys arranged in the display area of the touch panel, an accepting unit that accepts an operation on the key by touching the key display area of the key;
For each of the plurality of keys, a calculation unit that calculates a relative position of a contact location received by the receiving unit with respect to the key with respect to a reference position in the key display area of the key;
When a new contact to the touch panel is received after the calculation of the relative position of the plurality of keys by the calculation unit is completed, the received contact location and at least the contact location of the plurality of keys And a specifying unit that specifies one of the two or more keys as an operation target on the basis of the relative positions of the two or more keys within a predetermined range from the mobile terminal.
前記複数のキーは、相互に異なる文字を表したものであり、
前記携帯端末は、
前記複数のキーが配置されている前記タッチパネルの表示領域とは異なる所定の表示領域に、前記キーを表す文字から構成される文字列を表示させる表示制御部を備え、
前記受付部は、前記文字列を構成する各文字を表す前記キーに対する操作を受け付ける
ことを特徴とする請求項1記載の携帯端末。
The plurality of keys represent mutually different characters,
The portable terminal is
A display control unit for displaying a character string composed of characters representing the key in a predetermined display area different from a display area of the touch panel in which the plurality of keys are arranged;
The mobile terminal according to claim 1, wherein the reception unit receives an operation on the key representing each character constituting the character string.
前記算出部は、
前記複数のキー毎に、当該キー内の前記基準位置から受け付けた接触箇所までのずれ量を、当該キーについての前記相対位置として算出するものであり、
前記特定部は、
前記2以上のキー毎に、そのキーについて前記算出部が算出したずれ量に基づいて、前記タッチパネルにおける接触箇所を補正し、当該2以上のキーのうち、補正後の接触箇所が前記キー表示領域に含まれる1つのキーを前記操作対象として特定する
ことを特徴とする請求項2記載の携帯端末。
The calculation unit includes:
For each of the plurality of keys, a shift amount from the reference position in the key to the received contact location is calculated as the relative position with respect to the key.
The specific part is:
For each of the two or more keys, the touch location on the touch panel is corrected based on the shift amount calculated by the calculation unit for the key, and the corrected touch location of the two or more keys is the key display area. The mobile terminal according to claim 2, wherein one key included in is specified as the operation target.
前記特定部は、
前記複数のキー毎に、前記算出部が算出した当該キーについての前記相対位置に基づいて、当該キーの補正位置を決定し、
前記2以上のキーのうち、当該キーについて決定した補正位置に、前記タッチパネルにおける接触の箇所が含まれる1つのキーを前記操作対象として特定する
ことを特徴とする請求項1記載の携帯端末。
The specific part is:
For each of the plurality of keys, a correction position of the key is determined based on the relative position of the key calculated by the calculation unit,
2. The mobile terminal according to claim 1, wherein, of the two or more keys, one key that includes a touch location on the touch panel at a correction position determined for the key is specified as the operation target.
前記複数のキーは、前記タッチパネルを備える筐体の向き毎に定められており、
前記算出部は、筐体の向き毎に、各キーについての前記相対位置を算出し、
前記携帯端末は、更に
自端末に生じる加速度を検出する加速度センサを備え、
前記特定部は、
前記加速度センサによる検出結果に基づいて特定される自端末の筐体の向きに対応する、前記2以上のキーについて前記算出部により算出された各相対位置と、前記タッチパネルにおける接触箇所とに基づいて、前記操作対象を特定する
ことを特徴とする請求項1記載の携帯端末。
The plurality of keys are defined for each direction of the housing including the touch panel,
The calculation unit calculates the relative position for each key for each orientation of the housing,
The portable terminal further includes an acceleration sensor for detecting an acceleration generated in the own terminal,
The specific part is:
Based on the relative positions calculated by the calculation unit for the two or more keys corresponding to the orientation of the casing of the terminal specified based on the detection result by the acceleration sensor, and the touch location on the touch panel The mobile terminal according to claim 1, wherein the operation target is specified.
前記携帯端末は、
複数の筐体からなり、各筐体の相対位置が変化可能に構成されており、
前記タッチパネルが配置されている筐体とは異なる筐体に配置された他のタッチパネルと、
各筐体の相対関係が、前記タッチパネル及び前記他のタッチパネルが視認可能な第1の状態と、前記タッチパネルのみが視認可能な第2の状態とのいずれの状態であるかを検出するための状態検出センサとを備え、
前記複数のキーは、前記第1及び第2の状態についてそれぞれ定められており、
前記算出部は、前記第1及び第2の状態それぞれにおいて各キーについての前記相対位置を算出し、
前記特定部は、
前記状態検出センサが検出した状態に対応する前記2以上のキーについて前記算出部が算出した各相対位置と、前記タッチパネルにおける接触箇所とに基づいて、前記操作対象を特定する
ことを特徴とする請求項1記載の携帯端末。
The portable terminal is
It consists of multiple housings, and the relative position of each housing can be changed.
Another touch panel disposed in a housing different from the housing in which the touch panel is disposed;
A state for detecting whether the relative relationship between the housings is a first state in which the touch panel and the other touch panel are visible, or a second state in which only the touch panel is visible A detection sensor,
The plurality of keys are defined for the first and second states, respectively.
The calculating unit calculates the relative position of each key in each of the first and second states;
The specific part is:
The operation object is specified based on each relative position calculated by the calculation unit for the two or more keys corresponding to the state detected by the state detection sensor and a contact location on the touch panel. Item 2. A portable terminal according to Item 1.
タッチパネルを備え、当該タッチパネルへの入力に基づいて処理を実行する携帯端末におけるプロセッサに、入力制御処理を行わせるためのプログラムであって、
前記入力制御処理は、
前記タッチパネルの表示領域に配置されている複数のキー毎に、当該キーに対する操作を当該キーのキー表示領域に対する接触によって受け付ける受付ステップと、
前記複数のキー毎に、当該キーに対して前記受付ステップで受け付けた接触箇所の当該キーのキー表示領域内の基準位置に対する相対位置を算出する算出ステップと、
前記算出ステップによる前記複数のキーについての前記相対位置の算出が完了した後に、前記タッチパネルへの新たな接触を受け付けた場合に、受け付けた接触箇所と、前記複数のキーのうちの少なくとも当該接触箇所から所定範囲内にある2以上のキーについての各相対位置とに基づいて、当該2以上のキーのうちの1つのキーを操作対象として特定する特定ステップとを含む
ことを特徴するプログラム。
A program that includes a touch panel and causes a processor in a portable terminal that executes processing based on input to the touch panel to perform input control processing,
The input control process includes:
An accepting step of accepting an operation on the key by touching the key display area of the key for each of a plurality of keys arranged in the display area of the touch panel;
For each of the plurality of keys, a calculation step of calculating a relative position of the contact location received in the reception step with respect to the key with respect to a reference position in the key display area of the key;
After the calculation of the relative position for the plurality of keys in the calculation step is completed, when a new contact to the touch panel is received, the received contact location and at least the contact location of the plurality of keys And a specifying step of specifying one of the two or more keys as an operation target based on the relative positions of the two or more keys within a predetermined range.
タッチパネルを備え、当該タッチパネルへの入力に基づいて処理を実行する携帯端末における入力制御方法であって、
前記タッチパネルの表示領域に配置されている複数のキー毎に、当該キーに対する操作を当該キーのキー表示領域に対する接触によって受け付ける受付ステップと、
前記複数のキー毎に、当該キーに対して前記受付ステップで受け付けた接触箇所の当該キーのキー表示領域内の基準位置に対する相対位置を算出する算出ステップと、
前記算出ステップによる前記複数のキーについての前記相対位置の算出が完了した後に、前記タッチパネルへの新たな接触を受け付けた場合に、受け付けた接触箇所と、前記複数のキーのうちの少なくとも当該接触箇所から所定範囲内にある2以上のキーについての各相対位置とに基づいて、当該2以上のキーのうちの1つのキーを操作対象として特定する特定ステップとを含む
ことを特徴する入力制御方法。
An input control method in a portable terminal that includes a touch panel and executes processing based on input to the touch panel,
An accepting step of accepting an operation on the key by touching the key display area of the key for each of a plurality of keys arranged in the display area of the touch panel;
For each of the plurality of keys, a calculation step of calculating a relative position of the contact location received in the reception step with respect to the key with respect to a reference position in the key display area of the key;
After the calculation of the relative position for the plurality of keys in the calculation step is completed, when a new contact to the touch panel is received, the received contact location and at least the contact location of the plurality of keys And a specifying step of specifying one of the two or more keys as an operation target based on the relative positions of the two or more keys within a predetermined range.
JP2010240540A 2010-10-27 2010-10-27 Mobile terminal, program, and input control method Pending JP2012093948A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010240540A JP2012093948A (en) 2010-10-27 2010-10-27 Mobile terminal, program, and input control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010240540A JP2012093948A (en) 2010-10-27 2010-10-27 Mobile terminal, program, and input control method

Publications (1)

Publication Number Publication Date
JP2012093948A true JP2012093948A (en) 2012-05-17

Family

ID=46387207

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010240540A Pending JP2012093948A (en) 2010-10-27 2010-10-27 Mobile terminal, program, and input control method

Country Status (1)

Country Link
JP (1) JP2012093948A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10161808A (en) * 1996-07-26 1998-06-19 Intermec Corp Needle like cover used for touch screen
JP2015041248A (en) * 2013-08-22 2015-03-02 シナプティクス・ディスプレイ・デバイス株式会社 Semiconductor integrated circuit device, display device, and information apparatus
JP6123059B1 (en) * 2016-02-16 2017-05-10 株式会社コナミデジタルエンタテインメント Game machine and computer program thereof
KR20200028485A (en) 2017-09-08 2020-03-16 미쓰비시덴키 가부시키가이샤 Measuring device and measuring method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10307673A (en) * 1997-05-09 1998-11-17 Canon Inc Coordinate input device and its control method
JP2000231446A (en) * 1999-02-10 2000-08-22 Sharp Corp Display integrated type tablet device and storage medium stored with automatic tablet correction program
JP2004280590A (en) * 2003-03-17 2004-10-07 Sharp Corp Touch panel input device and touch panel input control method
JP2005196248A (en) * 2003-12-26 2005-07-21 Murata Mach Ltd Display input device
JP2006127488A (en) * 2004-09-29 2006-05-18 Toshiba Corp Input device, computer device, information processing method, and information processing program
JP2006311224A (en) * 2005-04-28 2006-11-09 Nec Saitama Ltd Folding mobile phone
JP2010055225A (en) * 2008-08-27 2010-03-11 Kyocera Corp Electronic equipment
JP2010204812A (en) * 2009-03-02 2010-09-16 Panasonic Corp Portable terminal equipment and input device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10307673A (en) * 1997-05-09 1998-11-17 Canon Inc Coordinate input device and its control method
JP2000231446A (en) * 1999-02-10 2000-08-22 Sharp Corp Display integrated type tablet device and storage medium stored with automatic tablet correction program
JP2004280590A (en) * 2003-03-17 2004-10-07 Sharp Corp Touch panel input device and touch panel input control method
JP2005196248A (en) * 2003-12-26 2005-07-21 Murata Mach Ltd Display input device
JP2006127488A (en) * 2004-09-29 2006-05-18 Toshiba Corp Input device, computer device, information processing method, and information processing program
JP2006311224A (en) * 2005-04-28 2006-11-09 Nec Saitama Ltd Folding mobile phone
JP2010055225A (en) * 2008-08-27 2010-03-11 Kyocera Corp Electronic equipment
JP2010204812A (en) * 2009-03-02 2010-09-16 Panasonic Corp Portable terminal equipment and input device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10161808A (en) * 1996-07-26 1998-06-19 Intermec Corp Needle like cover used for touch screen
JP2015041248A (en) * 2013-08-22 2015-03-02 シナプティクス・ディスプレイ・デバイス株式会社 Semiconductor integrated circuit device, display device, and information apparatus
JP6123059B1 (en) * 2016-02-16 2017-05-10 株式会社コナミデジタルエンタテインメント Game machine and computer program thereof
JP2017143996A (en) * 2016-02-16 2017-08-24 株式会社コナミデジタルエンタテインメント Game machine and computer program therefor
KR20200028485A (en) 2017-09-08 2020-03-16 미쓰비시덴키 가부시키가이샤 Measuring device and measuring method
DE112017007801T5 (en) 2017-09-08 2020-06-18 Mitsubishi Electric Corporation POSITION CORRECTION DEVICE AND POSITION CORRECTION METHOD

Similar Documents

Publication Publication Date Title
JP5351006B2 (en) Portable terminal and display control program
US8421756B2 (en) Two-thumb qwerty keyboard
JP6381032B2 (en) Electronic device, control method thereof, and program
JP5473708B2 (en) Portable terminal and display control program
JP5647968B2 (en) Information processing apparatus and information processing method
US9191472B2 (en) Portable terminal, display control program and display control method
US20120327133A1 (en) Information display control apparatus, information display control method, and storage medium storing information display control program
JP2012220550A (en) Portable terminal, display apparatus, luminance control method and luminance control program
JP5406333B2 (en) Portable terminal, control method and program
JP2013073383A (en) Portable terminal, acceptance control method, and program
JP5638330B2 (en) Mobile terminal, program, and display control method
JP2012093948A (en) Mobile terminal, program, and input control method
JP2014110480A (en) Information processing apparatus, and method and program for controlling information processing apparatus
US20110242016A1 (en) Touch screen
KR20120068259A (en) Method and apparatus for inpputing character using touch input
JP7069887B2 (en) Display control method for mobile terminal devices and mobile terminal devices
JP2013074408A (en) Portable terminal and display control method and program
JP2019160091A (en) Portable terminal device and display control method for portable terminal device
KR20140141042A (en) Transparent flexible display apparatus and operation methods thereof
JP5922497B2 (en) Mobile terminal, display control method, and program
JP2014021954A (en) Touch panel input device and program
JP5788068B2 (en) Mobile device
JP5717813B2 (en) Mobile device
JP5683916B2 (en) Mobile terminal, program, and display control method
JP2012203611A (en) Portable terminal, input control method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130812

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140218

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20140617