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 PDF

Info

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
Application number
JP2016229563A
Other languages
Japanese (ja)
Inventor
桐田 洋
Hiroshi Kirita
洋 桐田
和弘 窪田
Kazuhiro Kubota
和弘 窪田
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.)
Koto Co Ltd
Original Assignee
Koto Co Ltd
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 Koto Co Ltd filed Critical Koto Co Ltd
Priority to JP2016229563A priority Critical patent/JP2018085077A/en
Publication of JP2018085077A publication Critical patent/JP2018085077A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

PROBLEM TO BE SOLVED: To identify an input device according to specifications of various touch panels, which is not necessary to prepare for each specification of a touch panel.SOLUTION: An input device identification method for specifying an input device with a contact surface provided so as to be brought into contact with a touch panel includes storing a contact part distance of a distance between contact surfaces of the input device for all combinations selecting two among from the contact surfaces provided in the input device; acquiring a coordinate of the contact surface of the input device placed on the touch panel; calculating a coordinate distance of a distance between acquired coordinates for all combinations when two coordinates are selected from the acquired coordinates; based on the calculated coordinate distance and the stored contact distance, calculating a similarity ratio of a shape formed by the acquired coordinates and the shape formed by the contact surface; based on the similarity ratio, identifying the input device that touches the touch panel by converting each stored contact distance and each calculated coordinate distance to the same scale and comparing them.SELECTED DRAWING: Figure 8

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 Patent Document 1. According to the technology, by specifying the type of the input device based on the positional relationship between the coordinates input by the input device, an image corresponding to the specified type of the input device is displayed on the display screen of the smart device. Making it possible.

ところで、スマートデバイスが普及するに伴って、表1に示すように、画面サイズや画像解像度の異なる種々の機種が存在することとなり、ユーザーは各人の嗜好に合った機種を所有している。なお、表1における「機種」は、市販されているスマートデバイスの種類である。また、「画面サイズ」はスマートデバイスが備える表示画面の大きさである。また、「画面解像度」は表示画面の総画素数を縦横のピクセル数により示したものである。

Figure 2018085077
By the way, as smart devices become widespread, as shown in Table 1, there are various models with different screen sizes and image resolutions, and users own models that suit their preferences. The “model” in Table 1 is a type of a smart device that is commercially available. The “screen size” is the size of the display screen included in the smart device. The “screen resolution” indicates the total number of pixels on the display screen by the number of vertical and horizontal pixels.
Figure 2018085077

ここで、画面サイズや画面解像度の異なる種々の表示画面に所定の画像を表示させるために、前もって各画面サイズや各画面解像度に応じた画像データを作成しておくといった技術が、特許文献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 Patent Document 2. Have been described.

特開2014−215980号公報JP 2014-215980 A 特開2012−8893号公報JP 2012-8893 A

上記したスマートデバイスのタッチパネルは、画面サイズや画面解像度などの画面仕様に応じて、パネルサイズや分解能などの仕様が定められている。よって、画面仕様が異なる機種の間ではタッチパネルの仕様も異なっており、同じ入力デバイスを用いても検出される座標が機種間で異なってしまう。その結果、入力デバイスの特定ができないという問題が生じる。   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 Patent Document 2 in which image data corresponding to screen specifications is prepared in advance can be considered.
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.

実施形態に係る入力システムの概略図である。It is the schematic of the input system which concerns on embodiment. 上記入力システムに用いられるスマートデバイスの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the smart device used for the said input system. 上記入力システムに用いられる入力デバイスを上方から見たときの斜視図である。It is a perspective view when the input device used for the said input system is seen from upper direction. 上記入力システムに用いられる入力デバイスを下方から見たときの斜視図である。It is a perspective view when the input device used for the said input system is seen from the downward direction. 上記入力システムに用いられる入力デバイスを上方から見たときの接触子の位置関係のみを示した平面図である。It is the top view which showed only the positional relationship of a contact when the input device used for the said input system is seen from upper direction. 上記入力システムに用いられるサーバの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the server used for the said input system. 上記サーバの機能ブロック図である。It is a functional block diagram of the said server. 上記サーバの情報処理のフロー図である。It is a flowchart of the information processing of the said server. 機種Aにおいて検出された接部座標を示すグラフである。4 is a graph showing contact coordinates detected in a model A. 機種Bにおいて検出された接部座標を示すグラフである。6 is a graph showing contact coordinates detected in model B. 機種Cにおいて検出された接部座標を示すグラフである。6 is a graph showing contact coordinates detected in a model C. 機種Dにおいて検出された接部座標を示すグラフである。6 is a graph showing contact coordinates detected in a model D. 機種Eにおいて検出された接部座標を示すグラフである。6 is a graph showing contact coordinates detected in a model E.

以下、本発明の実施形態を図面に基づき説明する。   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 input system 1 according to the present embodiment uses a smart device 4 represented by a smartphone or a tablet terminal. A home button 26 is provided on the casing edge 10 of the smart device 4. In addition, as shown in FIG. 2, a wireless communication module (communication) connected to the Internet using a wireless LAN (Local Area Network) standard such as a speaker 11 or WiFi (Wireless Fidelity) is provided in the housing of the smart device 4. Part) 12 and a power supply circuit (not shown) for supplying electric power to each electronic component. The speaker 11 and the wireless communication module 12 are controlled by a CPU (Central Processing Unit) 14 via an I / O (Input / Output) interface 13. The CPU 14 executes an OS (Operating System) of the smart device 4 and other applications stored in the auxiliary storage device 16 via the main storage device 17. When the OS or application is executed, the CPU 14 displays an image on the display panel 6 via a GPU (Graphics Processing Unit) 15. A touch panel 5 is laminated on the display panel 6, and a panel module 7 is configured by the display panel 6 and the touch panel 5. The panel module 7 is disposed on the front side of the casing and is fixed to the casing edge 10. The touch panel 5 is also controlled by the CPU 14 via the I / O interface 13. The CPU 14 detects the coordinates of the object that touches the touch panel 5 based on the change in capacitance generated in the touch panel 5. That is, the CPU 14 functions as a detection unit that detects coordinates.

図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 input devices 101, 102, 103, and 104 are used in this embodiment as devices for inputting coordinates to the smart device 4 having the touch panel 5. The configuration of the plurality of input devices 101 to 104 will be described with the input device 101 as a representative, with reference to FIGS. The input device 101 has a block shape, and a side surface 2 and a bottom surface 3 are formed. Four contacts 9 a to 9 d are provided on the bottom surface 3. The contacts 9a to 9d are cylindrical protrusions that protrude from the bottom surface 3 so as to have the same length. The side surface 2, the bottom surface 3, and the contacts 9a to 9d are integrally formed of a conductive member and are electrically connected to each other. Here, each of the plurality of input devices 101 to 104 has a unique use, and the use is displayed on the upper surface 27 of each of the input devices 101 to 104. In the plurality of input devices 101 to 104, the arrangement positions of the contacts 9a, 9b, and 9d on the bottom surface 3 are common to each other, and the arrangement positions of the contacts 9c are different from each other.

図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 input device 101 is placed on the touch panel 5 of the smart device 4, tip surfaces of the contacts 9 a to 9 d shown in FIG. 4 (hereinafter referred to as “contact surfaces 80 a to 80 d”). Touch the touch panel 5. Thus, in this embodiment, the contact surfaces 80a to 80d of the contacts 9a to 9d are contact portions that come into contact with the touch panel 5. When the side surface 2 of the input device 101 placed on the touch panel 5 is gripped by the user, the side surface 2 and the contact surfaces 80a to 80d are electrically connected, so that the capacitance of the contact portion on the touch panel 5 changes.

静電容量に変化が生じると、図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 CPU 14 of the smart device 4 illustrated in FIG. 2 generates a touch event and executes processing for detecting the coordinates of the contact surfaces 80a to 80d. Thus, the CPU 14 functions as a detection unit that detects coordinates. In the present embodiment, as shown in FIG. 5, coordinates corresponding to the positions of the centers a to d of the contact surfaces 80 a to 80 d on the touch panel 5 (hereinafter referred to as “contact coordinates”) are detected. In addition, what is actually detected as the contact coordinates is not only the centers a to d of the contact surfaces 80a to 80d but also a fixed area around them (hereinafter referred to as “coordinate detection areas 8a, 8b, 8c, and 8d”). ) Can be detected as tangent coordinates.

上記のスマートデバイス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 server 18 via the Internet as shown in FIG. The server 18 is a server for specifying each of the plurality of input devices 101 to 104 (hereinafter also referred to as “input device specifying server”), and as shown in FIG. 6, wired communication for connecting to the Internet. In addition to the module (communication unit) 21, a CPU (central processing unit) 19 that controls the wired communication module 21 via the I / O interface 29, a main storage device 28, and an auxiliary storage device 25 are provided. The program stored in the auxiliary storage device 25 is executed by the CPU 19 via the main storage device 28.

補助記憶装置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 auxiliary storage device 25, the distance between the contact surfaces 80 a to 80 d (hereinafter referred to as “contact distance”) is stored in advance for each of the input devices 101 to 104. The contact distance is an actual size value obtained by measuring the distance between the center of one contact surface (for example, the center a of the contact surface 80a) and the center of another contact surface (for example, the center c of the contact surface 80c), or the distance. Is an index value for indexing. In other words, the contact distance is the length of a line segment connecting the centers a to d of the contact surfaces 80 a to 80 d with a straight line. In the present embodiment, contact distances are stored for all combinations of selecting two of the four contact surfaces 80a to 80d. That is, the lengths of the line segment ab, line segment bc, line segment cd, line segment da, line segment ac, and line segment bd of the plane figure formed by connecting the centers a to d of all the contact surfaces 80a to 80d. Stored. The plurality of contact distances are associated with identification information. The identification information is information for identifying the input devices 101 to 104 from each other, and is given to each input device 101 to 104 so as to be unique. Here, among the plurality of contact distances, the longest contact distance (the length of the line segment bd) is stored redundantly as the longest contact distance, or separately from other contact distances. It is preferable to store it in order to perform the calculation described later. As described above, the auxiliary storage device 25 functions as the contact distance storage unit 20 (FIG. 7) that stores the contact distance.

また、入力デバイス特定プログラムが補助記憶装置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 auxiliary storage device 25. That is, the auxiliary storage device 25 functions as the program storage unit 24 that stores the input device specifying program. The input device specifying program is a program in which information processing for specifying the type of the input devices 101 to 104 is defined. As shown in FIG. 7, the CPU 19 calculates the distance between the contact coordinates (hereinafter referred to as “coordinate distance”) by executing the input device specifying program. It functions as a coordinate distance calculation unit 31, an extraction unit 34 that extracts one contact distance and one coordinate distance, a similarity ratio calculation unit 32 that calculates a similarity ratio, and a specification unit 33 that identifies the input devices 101 to 104. The main storage device 28 functions as a coordinate storage unit 22 that stores the contact coordinates acquired from the smart device 4 and a coordinate distance storage unit 23 that stores the calculated distance between the contact coordinates.

上記の接部座標同士の距離(以下、「座標距離」という。)は、取得した接部座標から選択された一の接部座標と他の接部座標の間の距離である。言い換えれば、座標距離は、接部座標同士を直線で結んで形成される線分の長さである。本実施形態では、スマートデバイス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 input system 1 is configured by the input devices 101 to 104, the smart device 4, and the server 18 described above. In the input system 1, the types of the input devices 101 to 104 placed on the smart device 4 are specified by the server 18, and information corresponding to the specified input devices 101 to 104 is output from the smart device 4. Here, the plane figure formed by connecting the contact coordinates detected by the smart device 4 with a straight line is a plane figure formed by connecting the centers a to d of the contact surfaces 80a to 80d with each other. It becomes a similar shape. Therefore, in this embodiment, the similarity ratio between plane figures is calculated, the line segment length (coordinate distance) of one plane figure is converted using the obtained similarity ratio, and the line segment length after conversion (after conversion) The input devices 101 to 104 are specified based on whether or not the coordinate distance of () is approximate to the line segment length (contact distance) of the other plane figure.

以下、図8を主に参照しながら、入力システム1における入力デバイス101の特定方法を詳細に説明する。   Hereinafter, a method for specifying the input device 101 in the input system 1 will be described in detail with reference mainly to FIG.

先ずは、予め、上記したように各入力デバイス101〜104の接部距離を識別情報に対応付けてサーバ18の補助記憶装置25に格納しておく(S01)。   First, as described above, the contact distances of the input devices 101 to 104 are associated with the identification information and stored in the auxiliary storage device 25 of the server 18 (S01).

そして、入力デバイス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 input device 101 is placed on the touch panel 5 of the smart device 4, the CPU 14 of the smart device 4 causes the contact coordinates c1 (x1, y1), c2 (x2, y2), c3 (x3) of the contact surfaces 80a to 80d. , Y3), and c4 (x4, y4) are detected. The detected contact coordinates c1 to c4 are transmitted to the server 18 by the wireless communication module 12.

サーバ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 CPU 19 of the server 18 acquires the contact coordinates c1 to c4 via the wired communication module 21, and for example, the contact coordinates x [1] = x1, x [2] = x2, x [3] = x3, x [4] = x4, tangent coordinates y [1] = y1, y [2] = y2, y [3] = y3, y [4] = y4 are stored in the main memory 28 (S02).

続いて、サーバ18のCPU19は、取得した接部座標について、接部座標同士の距離である座標距離を算出し、算出した各座標距離を主記憶装置28に格納する(S03)。具体的には、座標距離[1]〜[6]が次の式に基づいて算出される。
座標距離[1]=√((x1−x2)+(y1−y2)
座標距離[2]=√((x1−x3)+(y1−y3)
座標距離[3]=√((x1−x4)+(y1−y4)
座標距離[4]=√((x2−x3)+(y2−y3)
座標距離[5]=√((x2−x4)+(y2−y4)
座標距離[6]=√((x3−x4)+(y3−y4)
Subsequently, the CPU 19 of the server 18 calculates a coordinate distance that is a distance between the contact coordinates for the acquired contact coordinates, and stores the calculated coordinate distances in the main storage device 28 (S03). Specifically, the coordinate distances [1] to [6] are calculated based on the following formula.
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 CPU 19 of the server 18 extracts one contact distance and one coordinate distance (S04). In the present embodiment, the longest tangent distance (the length of the line segment bd) is extracted as one tangent distance, and the longest coordinate distance (hereinafter referred to as “longest coordinate distance”) is extracted as one coordinate distance. The

次に、サーバ18のCPU19は相似比を算出する(S05)。ここで、上記したように、接触面80a〜80dの中心a〜dを直線で結んで形成される平面図形と、接部座標を直線で結んで形成される平面図形とは相似形であるため、次の関係式が成り立つ。
最長接部距離:最長座標距離=1:相似比の値
この関係式に基づいて、CPU19が次の演算を行うことで相似比の値が算出される。
相似比の値=(1/最長接部距離)×最長座標距離
Next, the CPU 19 of the server 18 calculates a similarity ratio (S05). Here, as described above, the plane figure formed by connecting the centers a to d of the contact surfaces 80a to 80d with a straight line and the plane figure formed by connecting the contact coordinates with a straight line are similar. The following relational expression holds.
Longest tangent distance: longest coordinate distance = 1: value of similarity ratio Based on this relational expression, the CPU 19 performs the following calculation to calculate the value of similarity ratio.
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 CPU 19 of the server 18 specifies the input device 101 using the calculated similarity ratio (S06). Specifically, the coordinate distances [1] to [6] calculated in the above process (S03) are multiplied by the reciprocal of the value of the similarity ratio to convert each coordinate distance to the same scale as the contact distance. Then, each converted coordinate distance is compared with each of the contact distances stored in association with the identification information to determine whether or not they are approximate. Here, “approximate” includes not only the case where the converted coordinate distances coincide with the respective contact distances but also the case where the coordinate distances are within the error range. The range of the error is determined in consideration of the size of the coordinate detection areas 8a to 8d, which are areas that can be detected as contact coordinates. That is, if the coordinate detection areas 8a to 8d are wide, the error range is set large, and if the coordinate detection areas 8a to 8d are narrow, the error range is set small. If there is an approximate contact distance as a result of the comparison, identification information corresponding to the contact distance is extracted, and the identification information is transmitted to the smart device 4. On the other hand, when the approximate contact distance does not exist, information indicating that it does not exist is transmitted to the smart device 4. In this way, the input device 101 placed on the touch panel 5 is specified.

スマートデバイス4は、サーバ18から識別情報を受信すると、識別情報に対応する処理を実行する。例えば、識別情報に対応付けて記憶された静止画や動画などの画像を表示パネル6に表示する。また、識別情報に対応付けて記憶されたサウンドをスピーカー11から出力してもよい。さらに、識別情報に対応付けられたウェブサイトにアクセスしてもよい。一方、スマートデバイス4は、サーバ18から存在しない旨の情報を受信すると、表示パネル6にエラーを表示してもよい。   When the smart device 4 receives the identification information from the server 18, the smart device 4 executes a process corresponding to the identification information. For example, an image such as a still image or a moving image stored in association with the identification information is displayed on the display panel 6. Further, the sound stored in association with the identification information may be output from the speaker 11. Further, a website associated with the identification information may be accessed. On the other hand, the smart device 4 may display an error on the display panel 6 when receiving information indicating that it does not exist from the server 18.

本実施形態は、最長接部距離と最長座標距離から相似比を算出し、算出した相似比を用いて座標距離を換算することで、予め記憶しておいた各入力デバイス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 input devices 101 to 104 stored in advance are calculated. Comparison with distance becomes possible, and the input device 101 is specified based on the comparison result. According to this embodiment, when specifying the input device 101, data relating to screen specifications such as the image resolution and screen size of the smart device 4 becomes unnecessary. Therefore, it is not necessary to store data related to the screen specifications of all models in advance, and the input device 101 can be specified even for a smart device 4 with a different screen specification that is newly available.

上記の実施形態に基づいて行った実施例を説明する。当該実施例では、スマートデバイス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の接部距離を格納した。

Figure 2018085077
[server]
As shown in Table 2, the server 18 is provided with a contact distance storage table which is the contact distance storage section 20. In the contact distance storage table, the IDs (identification information) of the input devices 101 to 104 are stored in each record, and the contact distances of the input devices 101 to 104 are stored in association with the IDs.
Figure 2018085077

ここで、接部距離(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 respective contacts 9a, 9b, 9d are common in the plurality of input devices 101 to 104, the contact distance ab, the contact distance ad, and the contact distance bd are set to be equal to each other. It has the same value and the longest tangent distance is also the same value.

[入力デバイス]
本実施例では、図5に図示した位置に接触子9a〜9dが配置された入力デバイス101を使用した。当該入力デバイス101の接部距離は、ab=30mm,bc=32mm,cd=20mm,ad=30mm,ac=33mm,bd=45mmである。
[Input device]
In this embodiment, the input device 101 in which the contacts 9a to 9d are arranged at the positions illustrated in FIG. 5 is used. The contact distance of the input device 101 is ab = 30 mm, bc = 32 mm, cd = 20 mm, ad = 30 mm, ac = 33 mm, and bd = 45 mm.

[機種Aを用いた実施例]
機種A(表1)のタッチパネル5上に、上記入力デバイス101を置いたところ、タッチパネル5上の静電容量変化によってタッチイベントが発生し、図9に示す接部座標c1〜c4がCPU14によって検出され、接部座標の各々がサーバ18に送信された。
[Example using model A]
When the input device 101 is placed on the touch panel 5 of model A (Table 1), a touch event occurs due to a change in capacitance on the touch panel 5, and the contact coordinates c1 to c4 shown in FIG. Then, each of the contact coordinates is transmitted to the server 18.

サーバ18のCPU19は、機種Aから接部座標c1〜c4を受信し、各接部座標を表3に示すように座標記憶部22に格納した。なお、表3におけるx[1]〜x[4]は取得した接部座標c1〜c4のx座標が格納される変数であり、y[1]〜y[4]は取得した接部座標c1〜c4のy座標が格納される変数である。

Figure 2018085077
The CPU 19 of the server 18 receives the contact coordinates c1 to c4 from the model A, and stores the contact coordinates in the coordinate storage unit 22 as shown in Table 3. In Table 3, x [1] to x [4] are variables for storing the x coordinates of the acquired contact coordinates c1 to c4, and y [1] to y [4] are the acquired contact coordinates c1. A variable in which the y-coordinates of c4 are stored.
Figure 2018085077

次に、サーバ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)である。

Figure 2018085077
Next, the CPU 19 of the server 18 calculated six coordinate distances from the acquired four contact coordinates, and stored them in the coordinate distance storage unit 23 as shown in Table 4.
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).
Figure 2018085077

次に、サーバ18のCPU19は、最長接部距離を接部距離記憶部20から抽出し、最長座標距離を座標距離記憶部23から抽出し、最長接部距離の逆数に最長座標距離を乗じて、最長接部距離に対する最長座標距離の相似比の値(r)を算出した。なお、小数点第2位を四捨五入して、小数点以下第1位まで算出した。
抽出した最長接部距離=45(mm)
抽出した最長座標距離(座標距離[3])=306.5(pt)
r=(1/45mm)×306.5pt=6.81pt/mm
Next, the CPU 19 of the server 18 extracts the longest tangent distance from the tangent distance storage unit 20, extracts the longest coordinate distance from the coordinate distance storage unit 23, and multiplies the reciprocal of the longest tangent distance by the longest coordinate distance. The similarity ratio value (r) of the longest coordinate distance to the longest tangent distance was calculated. The first decimal place was rounded off to the first decimal place.
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に示す。

Figure 2018085077
このような演算を行うことで、換算後の座標距離の単位が(mm)となり、接部距離の単位(mm)と一致する。すなわち、相似比の値の逆数は、座標距離を接部距離と同じ尺度に換算する尺度換算値となっている。 Next, the CPU 19 of the server 18 updated each value by multiplying the values of the coordinate distances [1] to [6] by the reciprocal of the value of the similarity ratio. The first decimal place is rounded off. Table 5 shows the coordinate distances after the calculation.
Figure 2018085077
By performing such a calculation, the unit of the coordinate distance after conversion becomes (mm), which matches the unit of the contact distance (mm). That is, the reciprocal of the value of the similarity ratio is a scale conversion value that converts the coordinate distance to the same scale as the contact distance.

次に、サーバ18のCPU19は、接部距離記憶部20に記憶されている接部距離によって形成される平面図形と、当該換算後の座標距離によって形成される平面図形とを対比した。具体的には、換算後の座標距離[1]〜[6]の値が、接部距離記憶テーブルに記憶された各接部距離の値と近似するか否かを、レコード毎に判断した。当該近似するか否かの判断に際しては、換算後の各座標距離を各接部距離に対して総当りして行われた。その結果、換算後の各座標距離は、ID="001"に対応付けられた各接部距離と近似すると判断された。具体的には、座標距離[1]と接部距離abの値が一致し、座標距離[2]と接部距離bcの値が一致し、座標距離[3]と接部距離bdの値が一致し、座標距離[4]と接部距離acの値が一致し、座標距離[5]と接部距離adの値が一致し、座標距離[6]と接部距離cdの値が一致したため、近似すると判断された。よって、ID=001がスマートデバイス4に対して送信された。   Next, the CPU 19 of the server 18 compared the plane figure formed by the contact distance stored in the contact distance storage unit 20 with the plane figure formed by the converted coordinate distance. Specifically, it was determined for each record whether or not the values of the coordinate distances [1] to [6] after conversion approximate to the values of the respective contact distances stored in the contact distance storage table. In determining whether or not to approximate, each coordinate distance after conversion was brute-forced with respect to each contact distance. As a result, each coordinate distance after conversion was determined to approximate each contact distance associated with ID = “001”. Specifically, the coordinate distance [1] and the value of the contact distance ab match, the coordinate distance [2] and the value of the contact distance bc match, and the values of the coordinate distance [3] and the contact distance bd are The coordinate distance [4] and the contact distance ac match, the coordinate distance [5] and the contact distance ad match, and the coordinate distance [6] and the contact distance cd match. It was judged to be approximate. Therefore, ID = 001 is transmitted to the smart device 4.

[機種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 input device 101 was placed on the touch panels 5 of the models B to E, the contact coordinates c1 to c4 shown in FIGS. 10 to 13 were detected by the CPU 14, respectively.

サーバ18のCPU19は、機種B〜Eから接部座標を取得し、当該接部座標を表6に示すように座標記憶部22に格納した。

Figure 2018085077
The CPU 19 of the server 18 acquires contact coordinates from the models B to E, and stores the contact coordinates in the coordinate storage unit 22 as shown in Table 6.
Figure 2018085077

次に、サーバ18のCPU19は、上記4つの接部座標から6つの座標距離を算出し、表7に示すように座標距離記憶部23に格納した。

Figure 2018085077
Next, the CPU 19 of the server 18 calculated six coordinate distances from the above four contact coordinates and stored them in the coordinate distance storage unit 23 as shown in Table 7.
Figure 2018085077

そして、サーバ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 server 18 calculated the value (r) of the similarity ratio about the models B-E, after extracting 45 (mm) which is the longest contact part distance.
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に示す。

Figure 2018085077
Next, the CPU 19 of the server 18 updated each coordinate distance by multiplying the values of the coordinate distances [1] to [6] of the models B to E by the reciprocal of the value of the similarity ratio (scale conversion value). Table 8 shows the coordinate distances after the update.
Figure 2018085077

次に、サーバ18のCPU19は、接部距離記憶部20に記憶されている接部距離によって形成される平面図形と、当該換算後の座標距離[1]〜[6]によって形成される平面図形との同一性を判断した。その結果、機種B〜Eの各座標距離が、ID=001に対応する各接部距離と近似すると判断され、当該IDがスマートデバイス4に対して送信された。   Next, the CPU 19 of the server 18 uses the plane figure formed by the contact distance stored in the contact distance storage unit 20 and the plane figure formed by the converted coordinate distances [1] to [6]. The identity was judged. As a result, it was determined that each coordinate distance of the models B to E approximated each contact distance corresponding to ID = 001, and the ID was transmitted to the smart device 4.

ここで本発明は上記の実施形態や実施例に限定されるものではない。以下、実施形態を変形した変形例について説明する。   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 touch panel 5 that can detect the coordinates of at least three contact points.

[変形例2]
スマートデバイス4の通信部12とサーバ18の通信部21は、IrDAやBluetooth(登録商標)などインターネットを介さない通信規格により通信するものであってもよい。また、無線通信に限定されず有線通信であってもよい。
[Modification 2]
The communication unit 12 of the smart device 4 and the communication unit 21 of the server 18 may communicate with each other according to a communication standard such as IrDA or Bluetooth (registered trademark) that does not pass through the Internet. Further, the communication is not limited to wireless communication, and may be wired communication.

[変形例3]
サーバ18は、スマートデバイス4の通信可能範囲に設置された汎用のパーソナルコンピュータであってもよい。
[Modification 3]
The server 18 may be a general-purpose personal computer installed in the communicable range of the smart device 4.

[変形例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 input device 101 placed on the touch panel 5 from the plurality of input devices 101 to 104. For example, it may be a mode for determining whether or not a specific input device 101 is placed. In this aspect, only the contact distance of the specific input device 101 is stored in the contact distance storage unit 20, and storage of identification information is not essential. Then, the CPU 19 of the server 18 calculates the coordinate distance and the similarity ratio based on the contact coordinates acquired from the smart device 4, converts the coordinate distance, and then compares the contact distance with the converted coordinate distance. . Thereby, it is possible to determine whether or not the specific input device 101 is placed on the touch panel 5.

[変形例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 input devices 101 to 104. One coordinate distance used in the calculation of the similarity ratio corresponds to the one contact distance. That is, the one coordinate distance is not limited to the longest coordinate distance, and the coordinates corresponding to the one contact distance condition described above, such as the second longest coordinate distance, the third longest coordinate distance, or the shortest coordinate distance. Distance.

[変形例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 CPU 14 of the smart device 4. In this aspect, the auxiliary storage device 16 of the smart device 4 is provided with a program storage unit that stores part or all of the input device specifying program.
[Modification 8-1]
For example, a program that defines a process for calculating the coordinate distance may be stored in the auxiliary storage device 16 of the smart device 4, and the process may be executed by the CPU 14 via the main storage device 17. In this case, the contact coordinates detected prior to the processing are stored in the main storage device 17 of the smart device 4. That is, the main storage device 17 functions as a coordinate storage unit that stores contact coordinates, which corresponds to the coordinate storage unit 22 of the server 18 in the above embodiment. The CPU 14 of the smart device 4 calculates a coordinate distance based on the detected contact coordinates without transmitting the detected contact coordinates to the server 18 (S03), and transmits the calculated coordinate distance to the server 18.
[Modification 8-2]
In addition, a program that defines processing until the similarity ratio is calculated may be stored in the auxiliary storage device 16 of the smart device 4, and the processing may be executed by the CPU 14 via the main storage device 17. In this case, the longest tangent distance is stored in the auxiliary storage device 16 of the smart device 4 together with the program. Further, the coordinate distance calculated as described above (Modification 8-1) is stored in the main storage device 17. That is, the auxiliary storage device 16 functions as a longest contact portion distance storage unit that stores the longest contact portion distance in advance. The main storage device 17 functions as a coordinate distance storage unit that stores the calculated coordinate distance, and this corresponds to the coordinate distance storage unit 23 of the server 18 in the above embodiment. When calculating the coordinate distance (S03), the CPU 14 of the smart device 4 calculates the value of the similarity ratio by multiplying the longest coordinate distance in the calculated coordinate distance by the reciprocal of the longest tangent distance (S04). The coordinate distance calculated together with the value is transmitted to the server 18.
[Modification 8-3]
Further, the entire input device specifying program may be stored in the auxiliary storage device 16 of the smart device 4 and the program may be executed by the CPU 14 via the main storage device 17. In this case, the contact distance is stored in advance in the auxiliary storage device 16 of the smart device 4 (S01). That is, the auxiliary storage device 16 functions as a contact distance storage unit that stores the contact distance in advance, and this corresponds to the contact distance storage unit 20 of the server 18 of the above embodiment. Further, the contact coordinates and the coordinate distance are stored in the main storage device 17. When the CPU 14 of the smart device 4 calculates the coordinate distance (S03) and the value of the similarity ratio as described above (S04), the coordinate distance is converted by multiplying each coordinate distance by the reciprocal of the value of the similarity ratio, The input devices 101 to 104 are specified by comparing each coordinate distance after conversion and each contact distance (S05). In addition, in the said aspect, since the server 18 is not used, the server 18 is not an essential structure of this invention.

[変形例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 Smart device 5 Touch panel 8 Contact surface (contact part)
18 Server 20 Contact distance storage unit 23 Coordinate distance storage unit 24 Program storage unit 30 Acquisition unit 31 Coordinate distance calculation unit 32 Similarity ratio calculation unit 33 Identification unit 101, 102, 103, 104 Input device

Claims (7)

タッチパネルに接触する少なくとも3つの接部が設けられた入力デバイスを特定する入力デバイス特定方法であって、
前記入力デバイスの接部同士の距離である接部距離を、該入力デバイスに設けられた各接部から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.
タッチパネルに接触する少なくとも3つの接部が設けられた入力デバイスを特定する入力デバイス特定装置であって、
前記入力デバイスの接部同士の距離である接部距離を、該入力デバイスに設けられた各接部から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:
タッチパネルに接触する少なくとも3つの接部が設けられた入力デバイスをコンピュータに特定させる入力デバイス特定プログラムであって、
前記コンピュータに、
前記入力デバイスの接部同士の距離である接部距離を、該入力デバイスに設けられた各接部から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:
JP2016229563A 2016-11-25 2016-11-25 Input device identification method, input device identification device, input device identification program, and input system Pending JP2018085077A (en)

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)

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