JP2018085077A - Input device identification method, input device identification device, input device identification program, and input system - Google Patents
Input device identification method, input device identification device, input device identification program, and input system Download PDFInfo
- Publication number
- JP2018085077A JP2018085077A JP2016229563A JP2016229563A JP2018085077A JP 2018085077 A JP2018085077 A JP 2018085077A JP 2016229563 A JP2016229563 A JP 2016229563A JP 2016229563 A JP2016229563 A JP 2016229563A JP 2018085077 A JP2018085077 A JP 2018085077A
- Authority
- JP
- Japan
- Prior art keywords
- contact
- distance
- input device
- coordinate
- coordinates
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
Description
本発明は、入力デバイス特定方法、入力デバイス特定装置、入力デバイス特定プログラム、及び入力システムに関する。 The present invention relates to an input device specifying method, an input device specifying apparatus, an input device specifying program, and an input system.
ユーザーが指先などで触れたパネル面上の位置を座標として検出するタッチパネルを備えたスマートフォンやタブレット端末等のスマートデバイスが知られている。そして、当該タッチパネルとしては、例えば、静電容量の変化に基づいて座標を検出する方式(静電容量方式)が採用され、かつ複数の接触部分の座標を検出するものが用いられている。 Smart devices such as smartphones and tablet terminals equipped with a touch panel that detects a position on a panel surface touched by a user with a fingertip or the like as coordinates are known. And as the said touch panel, the system (capacitance system) which detects a coordinate based on the change of an electrostatic capacitance is employ | adopted, and what detects the coordinate of a some contact part is used, for example.
近年では、上記タッチパネルに複数の座標を入力する入力デバイスが開発されており、当該入力デバイスを用いた技術が特許文献1に記載されている。当該技術は、入力デバイスによって入力された各座標の位置関係に基づいて入力デバイスの種類を特定することで、特定された入力デバイスの種類に対応する画像等をスマートデバイスが有する表示画面に表示することを可能としている。
In recent years, an input device for inputting a plurality of coordinates to the touch panel has been developed, and a technique using the input device is described in
ところで、スマートデバイスが普及するに伴って、表1に示すように、画面サイズや画像解像度の異なる種々の機種が存在することとなり、ユーザーは各人の嗜好に合った機種を所有している。なお、表1における「機種」は、市販されているスマートデバイスの種類である。また、「画面サイズ」はスマートデバイスが備える表示画面の大きさである。また、「画面解像度」は表示画面の総画素数を縦横のピクセル数により示したものである。
ここで、画面サイズや画面解像度の異なる種々の表示画面に所定の画像を表示させるために、前もって各画面サイズや各画面解像度に応じた画像データを作成しておくといった技術が、特許文献2に記載されている。
Here, in order to display a predetermined image on various display screens having different screen sizes and screen resolutions, a technique in which image data corresponding to each screen size and each screen resolution is created in advance is disclosed in
上記したスマートデバイスのタッチパネルは、画面サイズや画面解像度などの画面仕様に応じて、パネルサイズや分解能などの仕様が定められている。よって、画面仕様が異なる機種の間ではタッチパネルの仕様も異なっており、同じ入力デバイスを用いても検出される座標が機種間で異なってしまう。その結果、入力デバイスの特定ができないという問題が生じる。 The smart device touch panel described above has specifications such as panel size and resolution according to screen specifications such as screen size and screen resolution. Therefore, the specifications of the touch panel are different between models having different screen specifications, and even if the same input device is used, the detected coordinates are different between the models. As a result, there arises a problem that the input device cannot be specified.
このような問題に対しては、画面仕様に応じた画像データを事前に準備するといった特許文献2の記載を応用した入力デバイスの特定技術が考えられる。
しかしながら、当該特定技術を用いたとしても、入力デバイスの使用対象となり得る全ての機種に対応したデータを保有しておかなければならないという問題が生じる。他には、新たに開発される機種において、これまでとは異なる画面仕様が採用される場合には、これに伴ってタッチパネルも新たに設計されることとなる。してみれば、当該新たな機種に対応したデータを準備する必要が生じてしまう。また、データが準備できなければ、新たに出回る機種では入力デバイスの特定ができないという問題が生じる。
For such a problem, a technique for specifying an input device applying the description in
However, even if the specific technique is used, there arises a problem that data corresponding to all models that can be used for the input device must be held. In addition, in a newly developed model, when a screen specification different from the conventional one is adopted, a touch panel is newly designed accordingly. As a result, it becomes necessary to prepare data corresponding to the new model. In addition, if data cannot be prepared, there is a problem that an input device cannot be specified in a newly released model.
そこで、本発明は、タッチパネルの仕様ごとにデータを準備する必要がなく、種々のタッチパネルの仕様に対応した入力デバイス特定方法、入力デバイス特定装置、入力デバイス特定プログラム、及び入力システムを提供することを目的とする。 Accordingly, the present invention provides an input device identification method, an input device identification apparatus, an input device identification program, and an input system that do not require data for each specification of the touch panel and that correspond to various specifications of the touch panel. Objective.
上記目的を達成するため、本発明の入力デバイス特定方法は、タッチパネルに接触する少なくとも3つの接部が設けられた入力デバイスを特定する入力デバイス特定方法であって、前記入力デバイスの接部同士の距離である接部距離を、該入力デバイスに設けられた各接部から2つを選択する複数の組み合わせについて記憶するステップ、前記タッチパネルに置かれた前記入力デバイスの接部各々の座標を取得するステップ、前記取得した座標同士の距離である座標距離を、該取得した各座標から2つの座標を選択する複数の組み合わせについて算出するステップ、前記算出した座標距離と前記記憶した接部距離に基づいて、前記取得した座標の各々によって形成される形状と前記接部の各々によって形成される形状の相似比を算出するステップ、前記相似比に基づいて、前記記憶された各接部距離と前記算出された各座標距離とを同じ尺度に換算して対比することにより、前記タッチパネルに接触した前記入力デバイスを特定するステップ、を含むことを特徴とする。 In order to achieve the above object, an input device specifying method of the present invention is an input device specifying method for specifying an input device provided with at least three contact portions that come into contact with a touch panel. Storing a contact distance, which is a distance, for a plurality of combinations of selecting two from each contact provided in the input device; obtaining coordinates of each contact of the input device placed on the touch panel A step of calculating a coordinate distance, which is a distance between the acquired coordinates, for a plurality of combinations for selecting two coordinates from the acquired coordinates, based on the calculated coordinate distance and the stored contact distance Calculating a similarity ratio between the shape formed by each of the acquired coordinates and the shape formed by each of the contact portions. And identifying the input device in contact with the touch panel by converting the stored contact distances and the calculated coordinate distances into the same scale and comparing them based on the similarity ratio. , Including.
また、本発明の入力デバイス特定装置は、タッチパネルに接触する少なくとも3つの接部が設けられた入力デバイスを特定する入力デバイス特定装置であって、前記入力デバイスの接部同士の距離である接部距離を、該入力デバイスに設けられた各接部から2つを選択する複数の組み合わせについて記憶する記憶部と、前記タッチパネルに置かれた前記入力デバイスの接部各々の座標を取得する取得部と、前記取得した座標同士の距離である座標距離を、該取得した各座標から2つの座標を選択する複数の組み合わせについて算出する座標距離算出部と、前記算出した座標距離と前記記憶した接部距離に基づいて、前記取得した座標の各々によって形成される形状と前記接部の各々によって形成される形状の相似比を算出する相似比算出部と、前記相似比に基づいて、前記記憶された各接部距離と前記算出された各座標距離とを同じ尺度に換算して対比することにより、前記タッチパネルに接触した前記入力デバイスを特定する特定部と、を備えることを特徴とする。 Moreover, the input device specifying apparatus of the present invention is an input device specifying apparatus that specifies an input device provided with at least three contact portions that come into contact with the touch panel, and is a contact portion that is a distance between the contact portions of the input devices. A storage unit that stores a distance for a plurality of combinations of selecting two from each contact unit provided in the input device; and an acquisition unit that acquires coordinates of each contact unit of the input device placed on the touch panel A coordinate distance calculation unit that calculates a coordinate distance, which is a distance between the acquired coordinates, for a plurality of combinations for selecting two coordinates from the acquired coordinates, the calculated coordinate distance, and the stored contact distance A similarity ratio calculation unit for calculating a similarity ratio between the shape formed by each of the acquired coordinates and the shape formed by each of the contact portions; Based on the similarity ratio, by converting the stored contact distances and the calculated coordinate distances into the same scale and comparing them, a specifying unit that specifies the input device that has touched the touch panel; It is characterized by providing.
また、本発明の入力デバイス特定プログラムは、タッチパネルに接触する少なくとも3つの接部が設けられた入力デバイスをコンピュータに特定させる入力デバイス特定プログラムであって、前記コンピュータに、前記入力デバイスの接部同士の距離である接部距離を、該入力デバイスに設けられた各接部から2つを選択する複数の組み合わせについて記憶させる記憶ステップ、前記タッチパネルに置かれた前記入力デバイスの接部各々の座標を取得させる取得ステップ、前記取得した座標同士の距離である座標距離を、該取得した各座標から2つの座標を選択する複数の組み合わせについて算出させる座標距離算出ステップ、前記算出した座標距離と前記記憶した接部距離に基づいて、前記取得した座標の各々によって形成される形状と前記接部の各々によって形成される形状の相似比を算出させる相似比算出ステップ、前記相似比に基づいて、前記記憶された各接部距離と前記算出された各座標距離とを同じ尺度に換算して対比することにより、前記タッチパネルに接触した前記入力デバイスを特定させる特定ステップ、を実行させることを特徴とする。 Moreover, the input device specifying program of the present invention is an input device specifying program for causing a computer to specify an input device provided with at least three contact portions that are in contact with the touch panel. A storage step of storing a plurality of combinations for selecting two from each of the contact portions provided in the input device, and coordinates of each of the contact portions of the input device placed on the touch panel. An acquisition step of acquiring, a coordinate distance calculation step of calculating a coordinate distance, which is a distance between the acquired coordinates, for a plurality of combinations for selecting two coordinates from the acquired coordinates, the calculated coordinate distance and the stored Based on the tangent distance, the shape formed by each of the acquired coordinates and the front A similarity ratio calculating step for calculating a similarity ratio of the shape formed by each of the contact portions, and based on the similarity ratio, the stored contact distances and the calculated coordinate distances are converted to the same scale. And performing a specifying step of specifying the input device in contact with the touch panel.
また、本発明の入力システムは、タッチパネルを備えるコンピュータと、
前記タッチパネルに接触する少なくとも3つの接部が設けられた入力デバイスと、を備え、前記コンピュータは、前記入力デバイスの接部同士の距離である接部距離を、該入力デバイスに設けられた各接部から2つを選択する複数の組み合わせについて記憶する記憶部と、前記タッチパネルに置かれた前記入力デバイスの接部各々の座標を取得する取得部と、前記取得した座標同士の距離である座標距離を、該取得した各座標から2つの座標を選択する複数の組み合わせについて算出する座標距離算出部と、前記算出した座標距離と前記記憶した接部距離に基づいて、前記取得した座標の各々によって形成される形状と前記接部の各々によって形成される形状の相似比を算出する相似比算出部と、前記相似比に基づいて、前記記憶された各接部距離と前記算出された各座標距離とを同じ尺度に換算して対比することにより、前記タッチパネルに接触した前記入力デバイスを特定する特定部と、を備えることを特徴とする。
An input system of the present invention includes a computer including a touch panel,
An input device provided with at least three contact portions that contact the touch panel, and the computer sets a contact distance, which is a distance between the contact portions of the input device, to each contact provided on the input device. A storage unit that stores a plurality of combinations for selecting two from the unit, an acquisition unit that acquires coordinates of each contact portion of the input device placed on the touch panel, and a coordinate distance that is a distance between the acquired coordinates A coordinate distance calculation unit that calculates a plurality of combinations for selecting two coordinates from the acquired coordinates, and each of the acquired coordinates based on the calculated coordinate distance and the stored contact distance A similarity ratio calculation unit for calculating a similarity ratio between the shape to be formed and the shape formed by each of the contact parts, and based on the similarity ratio, each stored contact By distance in terms of the respective coordinates the calculated distance to the same scale contrast, it is characterized by and a specifying unit configured to specify the input device in contact with the touch panel.
入力デバイスがタッチパネル上に置かれると、各接部の座標が取得される。ここで、当該座標の各々によって形成される形状は、入力デバイスの接部の各々によって形成される形状と相似することとなる。そこで、本発明は、取得した座標から座標距離を算出して、当該座標距離と予め記憶させておいた接部距離に基づいて相似比を算出することで、当該相似比に基づいて入力デバイスを特定している。このような本発明によれば、入力デバイスがタッチパネルに置かれる度に相似比を求めて入力デバイスを特定するため、画面解像度や画面サイズに関するデータを予め準備しておく必要がないし、種々のタッチパネルの仕様に対応して入力デバイスを特定することができる。 When the input device is placed on the touch panel, the coordinates of each contact portion are acquired. Here, the shape formed by each of the coordinates is similar to the shape formed by each contact portion of the input device. Therefore, the present invention calculates a coordinate distance from the acquired coordinates, and calculates a similarity ratio based on the coordinate distance and the contact distance stored in advance, thereby making it possible to change the input device based on the similarity ratio. I have identified. According to the present invention, since the input device is specified by obtaining the similarity ratio every time the input device is placed on the touch panel, it is not necessary to prepare data relating to the screen resolution and screen size in advance, and various touch panels. The input device can be specified corresponding to the specifications.
以下、本発明の実施形態を図面に基づき説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1に示すように、本実施形態に係る入力システム1はスマートフォンやタブレット端末に代表されるスマートデバイス4が用いられる。スマートデバイス4の筐体縁部10にはホームボタン26が設けられている。また、図2に示すように、スマートデバイス4の筐体内には、スピーカー11や、WiFi(Wireless Fidelity)等の無線LAN(Local Area Network)規格を利用してインターネットに接続する無線通信モジュール(通信部)12、及び各電子部品に電力を供給する電源回路(不図示)が内蔵されている。スピーカー11や無線通信モジュール12は、I/O(Input/Output)インタフェース13を介してCPU(中央処理装置)14に制御される。CPU14は、スマートデバイス4のOS(Operating System)や、その他の補助記憶装置16に記憶されたアプリケーションを、主記憶装置17を介して実行する。OSやアプリケーションが実行されると、CPU14はGPU(Graphics Processing Unit)15を介して表示パネル6に画像を表示させる。表示パネル6上にはタッチパネル5が積層されており、当該表示パネル6及びタッチパネル5によってパネルモジュール7が構成されている。このパネルモジュール7は筐体の表面側に配されており、筐体縁部10に固定されている。タッチパネル5もまたI/Oインタフェース13を介してCPU14によって制御される。CPU14は、タッチパネル5において生じた静電容量の変化に基づいて、タッチパネル5に接触するものの座標を検出する。すなわち、CPU14は座標を検出する検出部として機能する。
As shown in FIG. 1, the
図1に戻り、上記タッチパネル5を備えるスマートデバイス4に対して座標を入力するデバイスとして、本実施形態では複数の入力デバイス101,102,103,104が用いられる。これら複数の入力デバイス101〜104の構成を、入力デバイス101を代表として、図3〜図5を参照しながら説明する。入力デバイス101は、ブロック状であり、側面2と底面3が形成されている。底面3には、4つの接触子9a〜9dが設けられている。接触子9a〜9dは、円柱状の突起であり、底面3から同一の長さになるように突出している。側面2、底面3、及び接触子9a〜9dは、導電性の部材により一体的に成型されており、互いに導通している。ここで、複数の入力デバイス101〜104にはそれぞれ固有の用途が与えられており、当該用途が各入力デバイス101〜104の上面27に表示される。これら複数の入力デバイス101〜104は、底面3における接触子9a,9b,9dの配置位置が互いに共通しており、接触子9cの配置位置が互いに異なっている。
Returning to FIG. 1, a plurality of
図1に示すように、一の入力デバイス101がスマートデバイス4のタッチパネル5に置かれると、図4に示す接触子9a〜9dの先端面(以下、「接触面80a〜80d」という。)がタッチパネル5に接触する。このように、本実施形態では、接触子9a〜9dの接触面80a〜80dがタッチパネル5に接触する接部となっている。タッチパネル5に置かれた入力デバイス101の側面2がユーザーに把持されていると、側面2と接触面80a〜80dは導通しているため、タッチパネル5上における接触部分の静電容量が変化する。
As shown in FIG. 1, when one
静電容量に変化が生じると、図2に示すスマートデバイス4のCPU14は、タッチイベントを生じさせ、接触面80a〜80dの座標を検出する処理を実行する。このように、CPU14は座標を検出する検出部として機能する。本実施形態では、図5に示すように、タッチパネル5上における接触面80a〜80dの中心a〜dの位置に対応した座標(以下、「接部座標」という。)が検出される。なお、実際に接部座標として検出されるのは、接触面80a〜80dの中心a〜dだけでなく、その周りの一定領域(以下、「座標検出領域8a,8b,8c,8d」という。)に含まれる点が接部座標として検出され得る。
When the change occurs in the capacitance, the
上記のスマートデバイス4はクライアントとして機能するものであり、図1に示すように、サーバ18とインターネットを介して通信可能となっている。サーバ18は、複数の入力デバイス101〜104の各々を特定するサーバ(以下、「入力デバイス特定サーバ」ともいう。)であって、図6に示すように、当該インターネットに接続するための有線通信モジュール(通信部)21に加えて、I/Oインタフェース29を介して有線通信モジュール21を制御するCPU(中央処理装置)19、主記憶装置28、及び補助記憶装置25を備えている。当該補助記憶装置25に記憶されたプログラムが主記憶装置28を介してCPU19によって実行される。
The smart device 4 functions as a client and can communicate with the
補助記憶装置25には、接触面80a〜80d同士の距離である(以下、「接部距離」という。)が各入力デバイス101〜104について予め格納されている。接部距離とは、一の接触面の中心(例えば、接触面80aの中心a)と他の接触面の中心(例えば、接触面80cの中心c)の距離を測定した実寸値、又は当該距離を指標する指標値である。言い換えれば、接部距離は、接触面80a〜80dの中心a〜d同士を直線で結んだ線分の長さである。本実施形態では、4つの接触面80a〜80dから2つを選択する全ての組み合わせについて、接部距離が格納されている。すなわち、全ての接触面80a〜80dの中心a〜dを結んで形成される平面図形の線分ab,線分bc,線分cd,線分da,線分ac,線分bdの長さが格納されている。これら複数の接部距離は識別情報に対応付けられている。識別情報は、各入力デバイス101〜104を互いに識別するための情報であって、各入力デバイス101〜104に一意になるように付与されている。ここで、複数の接部距離のなかでも、最も長い接部距離(線分bdの長さ)を、最長接部距離として重複して格納するか、又は他の接部距離とは別にして格納するのが、後述の演算を行う上で好ましい。このように補助記憶装置25は、接部距離を記憶する接部距離記憶部20(図7)として機能する。
In the
また、入力デバイス特定プログラムが補助記憶装置25に格納されている。すなわち、補助記憶装置25は、入力デバイス特定プログラムを記憶するプログラム記憶部24として機能する。入力デバイス特定プログラムは、入力デバイス101〜104の種類を特定するための情報処理が定められたプログラムである。CPU19は、当該入力デバイス特定プログラムを実行することで、図7に示すように、接部座標を取得する取得部30、接部座標同士の距離(以下、「座標距離」という。)を算出する座標距離算出部31、一の接部距離と一の座標距離を抽出する抽出部34、相似比を算出する相似比算出部32、及び入力デバイス101〜104を特定する特定部33として機能する。また、主記憶装置28は、スマートデバイス4から取得した接部座標を記憶する座標記憶部22、及び算出された接部座標同士の距離を記憶する座標距離記憶部23として機能することとなる。
An input device specifying program is stored in the
上記の接部座標同士の距離(以下、「座標距離」という。)は、取得した接部座標から選択された一の接部座標と他の接部座標の間の距離である。言い換えれば、座標距離は、接部座標同士を直線で結んで形成される線分の長さである。本実施形態では、スマートデバイス4から取得した4つの接部座標から2つの接部座標を選択する全ての組み合わせについて、座標距離が算出されて格納される。すなわち、全ての接部座標を直線で結んで形成される平面図形に含まれる各線分の長さが格納される。 The distance between the contact coordinates (hereinafter referred to as “coordinate distance”) is a distance between one contact coordinate selected from the acquired contact coordinates and another contact coordinate. In other words, the coordinate distance is the length of a line segment formed by connecting the contact coordinates with a straight line. In the present embodiment, coordinate distances are calculated and stored for all combinations of selecting two contact coordinates from the four contact coordinates acquired from the smart device 4. That is, the length of each line segment included in the plane figure formed by connecting all the contact coordinates with straight lines is stored.
上記した入力デバイス101〜104、スマートデバイス4、及びサーバ18によって、入力システム1が構成されている。この入力システム1では、スマートデバイス4に置かれた入力デバイス101〜104の種類がサーバ18によって特定され、特定された入力デバイス101〜104に応じた情報がスマートデバイス4から出力される。ここで、スマートデバイス4によって検出された各接部座標を互いに直線で結んで形成される平面図形は、各接触面80a〜80dの中心a〜dを互いに直線で結んで形成される平面図形と相似形となる。よって、本実施形態では、平面図形同士の相似比を求め、求めた相似比を用いて一方の平面図形の線分長さ(座標距離)を換算し、換算後の線分長さ(換算後の座標距離)が他方の平面図形の線分長さ(接部距離)に近似するか否かにより、入力デバイス101〜104を特定することとしている。
The
以下、図8を主に参照しながら、入力システム1における入力デバイス101の特定方法を詳細に説明する。
Hereinafter, a method for specifying the
先ずは、予め、上記したように各入力デバイス101〜104の接部距離を識別情報に対応付けてサーバ18の補助記憶装置25に格納しておく(S01)。
First, as described above, the contact distances of the
そして、入力デバイス101がスマートデバイス4のタッチパネル5上に置かれると、スマートデバイス4のCPU14によって接触面80a〜80dの接部座標c1(x1,y1),c2(x2,y2),c3(x3,y3),及びc4(x4,y4)が検出される。検出された接部座標c1〜c4は、無線通信モジュール12によりサーバ18へと送信される。
Then, when the
サーバ18のCPU19は、有線通信モジュール21を介して接部座標c1〜c4を取得し、例えば、接部座標x[1]=x1,x[2]=x2,x[3]=x3,x[4]=x4、接部座標y[1]=y1,y[2]=y2,y[3]=y3,y[4]=y4のように主記憶装置28に格納する(S02)。
The
続いて、サーバ18のCPU19は、取得した接部座標について、接部座標同士の距離である座標距離を算出し、算出した各座標距離を主記憶装置28に格納する(S03)。具体的には、座標距離[1]〜[6]が次の式に基づいて算出される。
座標距離[1]=√((x1−x2)2+(y1−y2)2)
座標距離[2]=√((x1−x3)2+(y1−y3)2)
座標距離[3]=√((x1−x4)2+(y1−y4)2)
座標距離[4]=√((x2−x3)2+(y2−y3)2)
座標距離[5]=√((x2−x4)2+(y2−y4)2)
座標距離[6]=√((x3−x4)2+(y3−y4)2)
Subsequently, the
Coordinate distance [1] = √ ((x1-x2) 2 + (y1-y2) 2 )
Coordinate distance [2] = √ ((x1−x3) 2 + (y1−y3) 2 )
Coordinate distance [3] = √ ((x1-x4) 2 + (y1-y4) 2 )
Coordinate distance [4] = √ ((x2−x3) 2 + (y2−y3) 2 )
Coordinate distance [5] = √ ((x2−x4) 2 + (y2−y4) 2 )
Coordinate distance [6] = √ ((x3−x4) 2 + (y3−y4) 2 )
次に、サーバ18のCPU19は一の接部距離と一の座標距離を抽出する(S04)。本実施形態では、一の接部距離として最長接部距離(線分bdの長さ)が抽出され、一の座標距離として最も長い座標距離(以下、「最長座標距離」という。)が抽出される。
Next, the
次に、サーバ18のCPU19は相似比を算出する(S05)。ここで、上記したように、接触面80a〜80dの中心a〜dを直線で結んで形成される平面図形と、接部座標を直線で結んで形成される平面図形とは相似形であるため、次の関係式が成り立つ。
最長接部距離:最長座標距離=1:相似比の値
この関係式に基づいて、CPU19が次の演算を行うことで相似比の値が算出される。
相似比の値=(1/最長接部距離)×最長座標距離
Next, the
Longest tangent distance: longest coordinate distance = 1: value of similarity ratio Based on this relational expression, the
Value of similarity ratio = (1 / longest tangent distance) x longest coordinate distance
次に、サーバ18のCPU19は、算出した相似比を用いて入力デバイス101を特定する(S06)。具体的には、上記の処理(S03)において算出した座標距離[1]〜[6]に相似比の値の逆数を乗じて、各座標距離を接部距離と同じ尺度に換算する。そして、換算後の座標距離の各々を、識別情報に対応付けて格納された接部距離の各々と対比して、近似しているか否かを判断する。ここで、近似しているとは、換算後の各座標距離が、各接部距離と一致している場合だけでなく、誤差の範囲内にある場合も含まれる。当該誤差の範囲は、接部座標として検出され得る領域である座標検出領域8a〜8dの広さを考慮して定められる。つまり、座標検出領域8a〜8dが広ければ誤差の範囲が大きく定められ、座標検出領域8a〜8dが狭ければ誤差の範囲が小さく定められる。当該対比の結果、近似した接部距離が存在すれば、当該接部距離に対応する識別情報が抽出されて、当該識別情報がスマートデバイス4に送信される。一方、近似した接部距離が存在しない場合には、存在しない旨の情報がスマートデバイス4に送信される。このようにしてタッチパネル5に置かれた入力デバイス101が特定される。
Next, the
スマートデバイス4は、サーバ18から識別情報を受信すると、識別情報に対応する処理を実行する。例えば、識別情報に対応付けて記憶された静止画や動画などの画像を表示パネル6に表示する。また、識別情報に対応付けて記憶されたサウンドをスピーカー11から出力してもよい。さらに、識別情報に対応付けられたウェブサイトにアクセスしてもよい。一方、スマートデバイス4は、サーバ18から存在しない旨の情報を受信すると、表示パネル6にエラーを表示してもよい。
When the smart device 4 receives the identification information from the
本実施形態は、最長接部距離と最長座標距離から相似比を算出し、算出した相似比を用いて座標距離を換算することで、予め記憶しておいた各入力デバイス101〜104の接部距離との対比が可能となり、当該対比結果に基づいて入力デバイス101を特定するものである。このような本実施形態によれば、入力デバイス101の特定に際して、スマートデバイス4の画像解像度や画面サイズなどの画面仕様に関するデータが不要となる。よって、予め全ての機種の画面仕様に関するデータを保有しておく必要が無く、新たに出回る画面仕様の異なるスマートデバイス4であっても、入力デバイス101を特定することができる。
In the present embodiment, the similarity ratio is calculated from the longest contact distance and the longest coordinate distance, and the coordinate distance is converted using the calculated similarity ratio, whereby the contact portions of the
上記の実施形態に基づいて行った実施例を説明する。当該実施例では、スマートデバイス4として上記表1で示した機種A〜Eを用いた。 An example performed based on the above embodiment will be described. In this example, the models A to E shown in Table 1 above were used as the smart device 4.
[サーバ]
表2に示すように、サーバ18に、接部距離記憶部20である接部距離記憶テーブルを設けた。当該接部距離記憶テーブルに、各レコードに入力デバイス101〜104のID(識別情報)を格納し、当該IDに対応付けて各入力デバイス101〜104の接部距離を格納した。
As shown in Table 2, the
ここで、接部距離(bd)の値45(mm)が最大であったため、当該値を最長接部距離とした。なお、上記のとおり、複数の入力デバイス101〜104において、各々の接触子9a,9b,9dの配置位置が共通しているので、接部距離ab、接部距離ad、及び接部距離bdが同じ値になっており、最長接部距離も同じ値になる。
Here, since the value 45 (mm) of the contact distance (bd) was the maximum, the value was set as the longest contact distance. As described above, since the arrangement positions of the
[入力デバイス]
本実施例では、図5に図示した位置に接触子9a〜9dが配置された入力デバイス101を使用した。当該入力デバイス101の接部距離は、ab=30mm,bc=32mm,cd=20mm,ad=30mm,ac=33mm,bd=45mmである。
[Input device]
In this embodiment, the
[機種Aを用いた実施例]
機種A(表1)のタッチパネル5上に、上記入力デバイス101を置いたところ、タッチパネル5上の静電容量変化によってタッチイベントが発生し、図9に示す接部座標c1〜c4がCPU14によって検出され、接部座標の各々がサーバ18に送信された。
[Example using model A]
When the
サーバ18のCPU19は、機種Aから接部座標c1〜c4を受信し、各接部座標を表3に示すように座標記憶部22に格納した。なお、表3におけるx[1]〜x[4]は取得した接部座標c1〜c4のx座標が格納される変数であり、y[1]〜y[4]は取得した接部座標c1〜c4のy座標が格納される変数である。
次に、サーバ18のCPU19は、取得した4つの接部座標から6つの座標距離を算出し、表4に示すように、座標距離記憶部23に格納した。
ここで、表4において、座標距離[1]は、接部座標c1と接部座標c2の間の距離を格納する変数である。
また、座標距離[2]は、接部座標c1と接部座標c3の間の距離を格納する変数である。
また、座標距離[3]は、接部座標c1と接部座標c4の間の距離を格納する変数である。
また、座標距離[4]は、接部座標c2と接部座標c3の間の距離を格納する変数である。
また、座標距離[5]は、接部座標c2と接部座標c4の間の距離を格納する変数である。
また、座標距離[6]は、接部座標c3と接部座標c4の間の距離を格納する変数である。
なお、小数点第2位を四捨五入して小数点以下第1位まで求めた。単位はポイント(pt)である。
Here, in Table 4, the coordinate distance [1] is a variable for storing the distance between the contact coordinates c1 and the contact coordinates c2.
The coordinate distance [2] is a variable for storing the distance between the contact coordinates c1 and the contact coordinates c3.
The coordinate distance [3] is a variable for storing the distance between the contact coordinates c1 and the contact coordinates c4.
The coordinate distance [4] is a variable for storing the distance between the contact coordinates c2 and the contact coordinates c3.
The coordinate distance [5] is a variable for storing the distance between the contact coordinates c2 and the contact coordinates c4.
The coordinate distance [6] is a variable for storing the distance between the contact coordinates c3 and the contact coordinates c4.
The first decimal place was rounded off to the first decimal place. The unit is point (pt).
次に、サーバ18のCPU19は、最長接部距離を接部距離記憶部20から抽出し、最長座標距離を座標距離記憶部23から抽出し、最長接部距離の逆数に最長座標距離を乗じて、最長接部距離に対する最長座標距離の相似比の値(r)を算出した。なお、小数点第2位を四捨五入して、小数点以下第1位まで算出した。
抽出した最長接部距離=45(mm)
抽出した最長座標距離(座標距離[3])=306.5(pt)
r=(1/45mm)×306.5pt=6.81pt/mm
Next, the
Extracted longest contact distance = 45 (mm)
Extracted longest coordinate distance (coordinate distance [3]) = 306.5 (pt)
r = (1/45 mm) × 306.5 pt = 6.81 pt / mm
次に、サーバ18のCPU19は、座標距離[1]〜[6]の値に相似比の値の逆数を乗じて、各々の値を更新した。なお、小数点以下第1位を四捨五入した。当該演算後の各座標距離を表5に示す。
次に、サーバ18のCPU19は、接部距離記憶部20に記憶されている接部距離によって形成される平面図形と、当該換算後の座標距離によって形成される平面図形とを対比した。具体的には、換算後の座標距離[1]〜[6]の値が、接部距離記憶テーブルに記憶された各接部距離の値と近似するか否かを、レコード毎に判断した。当該近似するか否かの判断に際しては、換算後の各座標距離を各接部距離に対して総当りして行われた。その結果、換算後の各座標距離は、ID="001"に対応付けられた各接部距離と近似すると判断された。具体的には、座標距離[1]と接部距離abの値が一致し、座標距離[2]と接部距離bcの値が一致し、座標距離[3]と接部距離bdの値が一致し、座標距離[4]と接部距離acの値が一致し、座標距離[5]と接部距離adの値が一致し、座標距離[6]と接部距離cdの値が一致したため、近似すると判断された。よって、ID=001がスマートデバイス4に対して送信された。
Next, the
[機種B〜Eを用いた実施例]
上記機種Aと同様に、機種B〜Eを用いて実施した。機種B〜Eのタッチパネル5上に、上記入力デバイス101を置いたところ、それぞれ図10〜図13に示す接部座標c1〜c4がCPU14によって検出された。
[Examples using models B to E]
Similar to the above model A, the tests were performed using models B to E. When the
サーバ18のCPU19は、機種B〜Eから接部座標を取得し、当該接部座標を表6に示すように座標記憶部22に格納した。
次に、サーバ18のCPU19は、上記4つの接部座標から6つの座標距離を算出し、表7に示すように座標距離記憶部23に格納した。
そして、サーバ18のCPU19は、最長接部距離である45(mm)を抽出した後、機種B〜Eについて相似比の値(r)を算出した。
機種Bについては、最長座標距離として座標距離[3]=291.3(pt)を抽出し、r=(1/45mm)×291.3pt=6.47pt/mmを算出した。
機種Cについては、最長座標距離として座標距離[3]=263.0(pt)を抽出し、r=(1/45mm)×263.0pt=5.84pt/mmを算出した。
機種Dについては、最長座標距離として座標距離[1]=214.8(pt)を抽出し、r=(1/45mm)×214.8pt=4.77pt/mmを算出した。
機種Eについては、最長座標距離として座標距離[3]=234.1(pt)を抽出し、r=(1/45mm)×234.1pt=5.20pt/mmを算出した。
And CPU19 of the
For model B, the coordinate distance [3] = 291.3 (pt) was extracted as the longest coordinate distance, and r = (1/45 mm) × 291.3 pt = 6.47 pt / mm was calculated.
For model C, the coordinate distance [3] = 263.0 (pt) was extracted as the longest coordinate distance, and r = (1/45 mm) × 263.0 pt = 5.84 pt / mm was calculated.
For model D, the coordinate distance [1] = 214.8 (pt) was extracted as the longest coordinate distance, and r = (1/45 mm) x 214.8 pt = 4.77 pt / mm was calculated.
For model E, coordinate distance [3] = 234.1 (pt) was extracted as the longest coordinate distance, and r = (1/45 mm) × 234.1 pt = 5.20 pt / mm was calculated.
次に、サーバ18のCPU19は、機種B〜Eの座標距離[1]〜[6]の値に相似比の値の逆数(尺度換算値)を乗じて各座標距離を更新した。更新後の各座標距離を表8に示す。
次に、サーバ18のCPU19は、接部距離記憶部20に記憶されている接部距離によって形成される平面図形と、当該換算後の座標距離[1]〜[6]によって形成される平面図形との同一性を判断した。その結果、機種B〜Eの各座標距離が、ID=001に対応する各接部距離と近似すると判断され、当該IDがスマートデバイス4に対して送信された。
Next, the
ここで本発明は上記の実施形態や実施例に限定されるものではない。以下、実施形態を変形した変形例について説明する。 Here, the present invention is not limited to the above-described embodiments and examples. Hereinafter, modified examples in which the embodiment is modified will be described.
[変形例1]
例えば、スマートデバイス4は、スマートフォン、タブレット端末の他、携帯通信端末、携帯型パソコン、又はデスクトップ型パソコンであってもよい。つまり、スマートデバイス4は、少なくとも3つの接点の座標を検出できるタッチパネル5を備えたコンピュータであればよい。
[Modification 1]
For example, the smart device 4 may be a mobile communication terminal, a portable personal computer, or a desktop personal computer in addition to a smartphone and a tablet terminal. That is, the smart device 4 may be a computer including the
[変形例2]
スマートデバイス4の通信部12とサーバ18の通信部21は、IrDAやBluetooth(登録商標)などインターネットを介さない通信規格により通信するものであってもよい。また、無線通信に限定されず有線通信であってもよい。
[Modification 2]
The
[変形例3]
サーバ18は、スマートデバイス4の通信可能範囲に設置された汎用のパーソナルコンピュータであってもよい。
[Modification 3]
The
[変形例4]
入力デバイスの特定とは、複数の入力デバイス101〜104の中から、タッチパネル5上に置かれている一の入力デバイス101の種類(識別情報)を特定する態様に限られない。例えば、特定の入力デバイス101が置かれたか否かを判別する態様であってもよい。当該態様にあっては、接部距離記憶部20には当該特定の入力デバイス101の接部距離のみが格納され、識別情報の格納は必須ではない。そして、サーバ18のCPU19は、スマートデバイス4から取得した接部座標に基づいて、座標距離及び相似比を算出し、座標距離を換算した後に、当該接部距離と換算後の座標距離を対比する。これにより、特定の入力デバイス101がタッチパネル5上に置かれているか否かを判別することができる。
[Modification 4]
The specification of the input device is not limited to a mode of specifying the type (identification information) of one
[変形例5]
相似比の算出において用いられる一の接部距離は、最長接部距離に限られず、2番目に長い接部距離や、3番目に長い接部距離、又は最短の接部距離など、所定の条件に該当する接部距離であればよい。よって、当該一の接部距離は、当該所定の条件に該当し、複数の入力デバイス101〜104において共通する長さであるのが好ましい。また、相似比の算出において用いられる一の座標距離は、上記一の接部距離に対応するものである。つまり、一の座標距離は、最長座標距離に限られず、2番目に長い座標距離や、三番目に長い座標距離、又は最短の座標距離など、上記した一の接部距離の条件に対応する座標距離である。
[Modification 5]
The one contact distance used in the calculation of the similarity ratio is not limited to the longest contact distance, but a predetermined condition such as the second longest contact distance, the third longest contact distance, or the shortest contact distance. It is sufficient if the contact distance falls within the range. Therefore, it is preferable that the one contact distance corresponds to the predetermined condition and is a length common to the plurality of
[変形例6]
尺度の換算においては、座標距離に相似比の値の逆数を乗じる方法に限られず、接部間隔記憶部から各接部間隔を抽出して、抽出した接部間隔の各々に相似比の値を乗じてもよい。
[Modification 6]
The scale conversion is not limited to the method of multiplying the coordinate distance by the reciprocal of the similarity ratio value, but extracts each contact interval from the contact interval storage unit, and assigns the similarity ratio value to each extracted contact interval. You may multiply.
[変形例7]
換算後の座標距離が接部距離と近似するか否かの判断においては、全ての換算後の座標距離について判断しなくてもよい。例えば、接部座標を結んで形成される平面図形中に最長座標距離を底辺とする2つの三角形が含まれており、各三角形を構成する辺のうち、底辺以外の辺に該当する座標距離について近似するか否かを判断してもよい。
[Modification 7]
In determining whether or not the coordinate distance after conversion approximates the contact distance, it is not necessary to determine all the coordinate distances after conversion. For example, a plane figure formed by connecting tangent coordinates includes two triangles with the longest coordinate distance as the base, and the coordinate distance corresponding to a side other than the base among the sides constituting each triangle It may be determined whether to approximate.
[変形例8]
入力デバイス特定プログラムの一部又は全部が、スマートデバイス4にダウンロードされて、スマートデバイス4のCPU14によって実行されてもよい。当該態様にあっては、スマートデバイス4の補助記憶装置16には、入力デバイス特定プログラムの一部又は全部を記憶するプログラム記憶部が設けられる。
[変形例8−1]
例えば、座標距離を算出する処理を定めたプログラムが、スマートデバイス4の補助記憶装置16に格納され、当該処理が主記憶装置17を介してCPU14によって実行されてもよい。この場合には、当該処理に先立って検出された接部座標が、スマートデバイス4の主記憶装置17に格納されることとなる。すなわち、主記憶装置17は接部座標を記憶する座標記憶部として機能し、これは上記実施形態におけるサーバ18の座標記憶部22に相当する。スマートデバイス4のCPU14は、検出した接部座標をサーバ18に送信することなく、検出した接部座標に基づいて座標距離を算出し(S03)、算出した座標距離をサーバ18に送信する。
[変形例8−2]
また、相似比を算出するまでの処理を定めたプログラムが、スマートデバイス4の補助記憶装置16に格納され、当該処理が主記憶装置17を介してCPU14によって実行されてもよい。この場合には、最長接部距離がプログラムと共にスマートデバイス4の補助記憶装置16に格納される。また、上記(変形例8−1)の通り算出された座標距離が主記憶装置17に格納されることとなる。すなわち、補助記憶装置16は最長接部距離を予め記憶する最長接部距離記憶部として機能する。また、主記憶装置17は算出した座標距離を記憶する座標距離記憶部として機能し、これは上記実施形態におけるサーバ18の座標距離記憶部23に相当する。スマートデバイス4のCPU14は、座標距離を算出すると(S03)、当該算出した座標距離における最長座標距離に最長接部距離の逆数を乗じて相似比の値を算出し(S04)、当該相似比の値と共に算出した座標距離をサーバ18に送信する。
[変形例8−3]
さらに、入力デバイス特定プログラムの全部がスマートデバイス4の補助記憶装置16に格納され、当該プログラムが主記憶装置17を介してCPU14によって実行されてもよい。この場合には、接部距離が予めスマートデバイス4の補助記憶装置16に格納される(S01)。すなわち、補助記憶装置16は接部距離を予め記憶する接部距離記憶部として機能し、これは上記実施形態のサーバ18の接部距離記憶部20に相当する。また、接部座標及び座標距離が主記憶装置17に格納されることとなる。スマートデバイス4のCPU14が、上記の様に座標距離(S03)および相似比の値を算出し(S04)すると、当該相似比の値の逆数を各座標距離に乗じて各座標距離を換算し、換算後の各座標距離と各接部距離とを対比することで入力デバイス101〜104を特定する(S05)。なお、当該態様においてはサーバ18が使用されないため、サーバ18は本発明の必須の構成ではない。
[Modification 8]
A part or all of the input device specifying program may be downloaded to the smart device 4 and executed by the
[Modification 8-1]
For example, a program that defines a process for calculating the coordinate distance may be stored in the
[Modification 8-2]
In addition, a program that defines processing until the similarity ratio is calculated may be stored in the
[Modification 8-3]
Further, the entire input device specifying program may be stored in the
[変形例9]
また、上記実施例では、接部距離記憶テーブルに記憶した接部距離の単位をmmとしたが、これに限定されず、接部距離の単位はinchであってもよい。この場合には、相似比の値(r)は次の式により求められる。
r=(1/一の接部距離(inch))×一の座標距離(pt)
そして、当該相似比の値の逆数を座標距離の各々に乗じることで、座標距離の単位がinchとなる。このように、座標距離が接部距離と同じ尺度に換算されるので、接部距離記憶テーブルに記憶された接部距離との対比が可能となる。
[Modification 9]
Moreover, in the said Example, although the unit of the contact distance memorize | stored in the contact distance storage table was mm, it is not limited to this, The unit of contact distance may be inch. In this case, the similarity ratio value (r) is obtained by the following equation.
r = (1 / one tangent distance (inch)) × one coordinate distance (pt)
Then, by multiplying each of the coordinate distances by the reciprocal of the value of the similarity ratio, the unit of the coordinate distance becomes inch. Thus, since the coordinate distance is converted to the same scale as the contact distance, it is possible to compare with the contact distance stored in the contact distance storage table.
本発明はその趣旨を逸脱しない範囲で、当業者の知識に基づき種々の改良、修正、変形を加えた態様で実施し得るものであり、これらの態様はいずれも本発明の範囲に属するものである。 The present invention can be carried out in various modifications, corrections, and modifications based on the knowledge of those skilled in the art without departing from the spirit of the present invention, and all of these aspects belong to the scope of the present invention. is there.
例えば、本発明は電子スタンプシステムに用いることができる。電子スタンプシステムは、電子スタンプを用いた認証システムや消し込みシステムであって、当該電子スタンプとしては上記の実施形態、実施例、及び変形例において説明した入力デバイスが用いられ、認証や消し込みを行う機器としては上記の実施形態、実施例、及び変形例において説明したスマートデバイスやサーバなどのコンピュータが用いられる。 For example, the present invention can be used in an electronic stamp system. The electronic stamp system is an authentication system or an erasing system using an electronic stamp, and the input device described in the above embodiment, example, and modification is used as the electronic stamp, and authentication and erasure are performed. Computers such as the smart devices and servers described in the above-described embodiments, examples, and modifications are used as devices to be performed.
1 入力システム
4 スマートデバイス
5 タッチパネル
8 接触面(接部)
18 サーバ
20 接部距離記憶部
23 座標距離記憶部
24 プログラム記憶部
30 取得部
31 座標距離算出部
32 相似比算出部
33 特定部
101,102,103,104 入力デバイス
1 Input system 4
18
Claims (7)
前記入力デバイスの接部同士の距離である接部距離を、該入力デバイスに設けられた各接部から2つを選択する複数の組み合わせについて記憶する記憶ステップ、
前記タッチパネルに置かれた前記入力デバイスの接部各々の座標を取得する取得ステップ、
前記取得した座標同士の距離である座標距離を、該取得した各座標から2つの座標を選択する複数の組み合わせについて算出する座標距離算出ステップ、
前記算出した座標距離と前記記憶した接部距離に基づいて、前記取得した座標の各々によって形成される形状と前記接部の各々によって形成される形状の相似比を算出する相似比算出ステップ、
前記相似比に基づいて、前記記憶された各接部距離と前記算出された各座標距離とを同じ尺度に換算して対比することにより、前記タッチパネルに接触した前記入力デバイスを特定する特定ステップ、
を含む入力デバイス特定方法。 An input device specifying method for specifying an input device provided with at least three contact portions that contact a touch panel,
Storing a contact distance, which is a distance between contact portions of the input device, for a plurality of combinations for selecting two from each contact portion provided in the input device;
An acquisition step of acquiring coordinates of each contact portion of the input device placed on the touch panel;
A coordinate distance calculating step for calculating a coordinate distance, which is a distance between the acquired coordinates, for a plurality of combinations for selecting two coordinates from the acquired coordinates;
Based on the calculated coordinate distance and the stored contact distance, a similarity ratio calculation step for calculating a similarity ratio between the shape formed by each of the acquired coordinates and the shape formed by each of the contact parts,
A specifying step of specifying the input device in contact with the touch panel by converting the stored contact distances and the calculated coordinate distances into the same scale and comparing them based on the similarity ratio,
An input device identification method including:
前記特定ステップは、さらに、
前記換算して対比された各接部距離と各座標距離が互いに近似する場合に、前記接部距離に対応する前記識別情報を抽出するステップを含む請求項1に記載の入力デバイス特定方法。 In the storing step, identification information uniquely given to the input device is stored in association with the contact distance of the input device,
The specifying step further includes:
The input device specifying method according to claim 1, further comprising: extracting the identification information corresponding to the contact distance when the contact distance and the coordinate distance compared with each other are approximated to each other.
前記接部距離の一つは、前記記憶ステップにおいて記憶された接部距離の中で、所定条件に該当する接部距離であり、
前記座標距離の一つは、前記座標距離算出ステップにおいて算出された座標距離の中で、前記所定条件に対応する座標距離であることを特徴とする請求項1に記載の入力デバイス特定方法。 The similarity ratio is a value of one ratio of the calculated coordinate distance to one of the stored contact distances,
One of the contact distances is a contact distance corresponding to a predetermined condition among the contact distances stored in the storage step,
The input device specifying method according to claim 1, wherein one of the coordinate distances is a coordinate distance corresponding to the predetermined condition among the coordinate distances calculated in the coordinate distance calculation step.
前記座標距離の一つは、最も値の大きい座標距離であることを特徴とする請求項3に記載の入力デバイス特定方法。 One of the contact distances is a contact distance having the largest value,
4. The input device specifying method according to claim 3, wherein one of the coordinate distances is a coordinate distance having the largest value.
前記入力デバイスの接部同士の距離である接部距離を、該入力デバイスに設けられた各接部から2つを選択する複数の組み合わせについて記憶する記憶部と、
前記タッチパネルに置かれた前記入力デバイスの接部各々の座標を取得する取得部と、
前記取得した座標同士の距離である座標距離を、該取得した各座標から2つの座標を選択する複数の組み合わせについて算出する座標距離算出部と、
前記算出した座標距離と前記記憶した接部距離に基づいて、前記取得した座標の各々によって形成される形状と前記接部の各々によって形成される形状の相似比を算出する相似比算出部と、
前記相似比に基づいて、前記記憶された各接部距離と前記算出された各座標距離とを同じ尺度に換算して対比することにより、前記タッチパネルに接触した前記入力デバイスを特定する特定部と、
を備える入力デバイス特定装置。 An input device specifying apparatus that specifies an input device provided with at least three contact portions that contact a touch panel,
A storage unit that stores a contact distance, which is a distance between contact parts of the input device, for a plurality of combinations for selecting two from each contact part provided in the input device;
An acquisition unit for acquiring coordinates of each contact portion of the input device placed on the touch panel;
A coordinate distance calculation unit that calculates a coordinate distance, which is a distance between the acquired coordinates, for a plurality of combinations for selecting two coordinates from the acquired coordinates;
Based on the calculated coordinate distance and the stored contact distance, a similarity ratio calculation unit that calculates a similarity ratio between the shape formed by each of the acquired coordinates and the shape formed by each of the contact parts;
Based on the similarity ratio, by converting the stored contact distances and the calculated coordinate distances into the same scale and comparing them, a specifying unit that specifies the input device that has touched the touch panel; ,
An input device specifying apparatus comprising:
前記コンピュータに、
前記入力デバイスの接部同士の距離である接部距離を、該入力デバイスに設けられた各接部から2つを選択する複数の組み合わせについて記憶させる記憶ステップ、
前記タッチパネルに置かれた前記入力デバイスの接部各々の座標を取得させる取得ステップ、
前記取得した座標同士の距離である座標距離を、該取得した各座標から2つの座標を選択する複数の組み合わせについて算出させる座標距離算出ステップ、
前記算出した座標距離と前記記憶した接部距離に基づいて、前記取得した座標の各々によって形成される形状と前記接部の各々によって形成される形状の相似比を算出させる相似比算出ステップ、
前記相似比に基づいて、前記記憶された各接部距離と前記算出された各座標距離とを同じ尺度に換算して対比することにより、前記タッチパネルに接触した前記入力デバイスを特定させる特定ステップ、
を実行させるための入力デバイス特定プログラム。 An input device specifying program for causing a computer to specify an input device provided with at least three contact portions that contact a touch panel,
In the computer,
A storage step of storing a contact distance, which is a distance between contact portions of the input device, for a plurality of combinations of selecting two from each contact provided in the input device;
An acquisition step of acquiring the coordinates of each contact portion of the input device placed on the touch panel;
A coordinate distance calculating step for calculating a coordinate distance, which is a distance between the acquired coordinates, for a plurality of combinations for selecting two coordinates from the acquired coordinates;
Based on the calculated coordinate distance and the stored contact distance, a similarity ratio calculating step for calculating a similarity ratio between the shape formed by each of the acquired coordinates and the shape formed by each of the contact parts,
Based on the similarity ratio, a specific step of identifying the input device that has touched the touch panel by converting the stored contact distances and the calculated coordinate distances into the same scale and comparing them,
An input device identification program for executing
前記タッチパネルに接触する少なくとも3つの接部が設けられた入力デバイスと、
を備え、
前記コンピュータは、
前記入力デバイスの接部同士の距離である接部距離を、該入力デバイスに設けられた各接部から2つを選択する複数の組み合わせについて記憶する記憶部と、
前記タッチパネルに置かれた前記入力デバイスの接部各々の座標を取得する取得部と、
前記取得した座標同士の距離である座標距離を、該取得した各座標から2つの座標を選択する複数の組み合わせについて算出する座標距離算出部と、
前記算出した座標距離と前記記憶した接部距離に基づいて、前記取得した座標の各々によって形成される形状と前記接部の各々によって形成される形状の相似比を算出する相似比算出部と、
前記相似比に基づいて、前記記憶された各接部距離と前記算出された各座標距離とを同じ尺度に換算して対比することにより、前記タッチパネルに接触した前記入力デバイスを特定する特定部と、
を備える入力システム。 A computer with a touch panel;
An input device provided with at least three contact parts that contact the touch panel;
With
The computer
A storage unit that stores a contact distance, which is a distance between contact parts of the input device, for a plurality of combinations for selecting two from each contact part provided in the input device;
An acquisition unit for acquiring coordinates of each contact portion of the input device placed on the touch panel;
A coordinate distance calculation unit that calculates a coordinate distance, which is a distance between the acquired coordinates, for a plurality of combinations for selecting two coordinates from the acquired coordinates;
Based on the calculated coordinate distance and the stored contact distance, a similarity ratio calculation unit that calculates a similarity ratio between the shape formed by each of the acquired coordinates and the shape formed by each of the contact parts;
Based on the similarity ratio, by converting the stored contact distances and the calculated coordinate distances into the same scale and comparing them, a specifying unit that specifies the input device that has touched the touch panel; ,
An input system comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016229563A JP2018085077A (en) | 2016-11-25 | 2016-11-25 | Input device identification method, input device identification device, input device identification program, and input system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016229563A JP2018085077A (en) | 2016-11-25 | 2016-11-25 | Input device identification method, input device identification device, input device identification program, and input system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2018085077A true JP2018085077A (en) | 2018-05-31 |
Family
ID=62236686
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016229563A Pending JP2018085077A (en) | 2016-11-25 | 2016-11-25 | Input device identification method, input device identification device, input device identification program, and input system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2018085077A (en) |
-
2016
- 2016-11-25 JP JP2016229563A patent/JP2018085077A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20170052630A1 (en) | Method of sensing pressure by touch sensor and electronic device adapted thereto | |
US20170171370A1 (en) | Systems and Methods for Tangible Configuration of a Modular Mobile Electronic Device | |
EP3547107A1 (en) | Method for providing information mapped between a plurality of inputs and electronic device for supporting the same | |
JP2012168612A (en) | Operation information input system | |
CN107436694A (en) | Force snesor with the uniform response along axle | |
US11461921B2 (en) | Program, system, electronic device, and method for recognizing three-dimensional object | |
KR102448803B1 (en) | An electronic device obtaining a user input in the water using a pressure sensor and method for controlling the electronic device | |
US10156916B2 (en) | Input device identification method, input device identification apparatus, and input system | |
US20210374342A1 (en) | Electronic device for inputting characters and method of operation of same | |
US10452262B2 (en) | Flexible display touch calibration | |
JP2015191629A (en) | electronic stamp display device, electronic stamp display support program, and storage medium | |
CN103838909A (en) | Information processing apparatus, information processing method, and program | |
JP2018085077A (en) | Input device identification method, input device identification device, input device identification program, and input system | |
JP6490288B1 (en) | Electronic device, system, method and program | |
US11353992B2 (en) | Method and device for processing user input on basis of time during which user input is maintained | |
US11586352B2 (en) | Method for setting layout for physical keyboard by electronic device, and device therefor | |
CN114817664A (en) | Big data based data display method and related equipment | |
KR102468082B1 (en) | Correction method for handwriting input, electronic device and storage medium therefor | |
JP2016218985A (en) | Input device identifying method, input device identifying apparatus, input device identifying program, and input device identifying system | |
KR102072391B1 (en) | Object recongnition method and system using touch screen | |
US10691207B2 (en) | Display devices with virtual reprsentations of electronic devices | |
JP2017182381A (en) | Electronic stamp authentication device, electronic stamp authentication method and program, as well as electronic stamp | |
KR20210040656A (en) | The electronic apparatus and the method for controlling thereof | |
CN113031799B (en) | Electronic device and data transmission method thereof | |
WO2021176609A1 (en) | Pen state detection circuit capable of setting input/output model |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20170426 |