JP2016053817A - Touch panel device and computer program - Google Patents

Touch panel device and computer program Download PDF

Info

Publication number
JP2016053817A
JP2016053817A JP2014179229A JP2014179229A JP2016053817A JP 2016053817 A JP2016053817 A JP 2016053817A JP 2014179229 A JP2014179229 A JP 2014179229A JP 2014179229 A JP2014179229 A JP 2014179229A JP 2016053817 A JP2016053817 A JP 2016053817A
Authority
JP
Japan
Prior art keywords
display
touch panel
pointing
pen
panel device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2014179229A
Other languages
Japanese (ja)
Other versions
JP6338980B2 (en
Inventor
松井 邦晃
Kuniaki Matsui
邦晃 松井
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2014179229A priority Critical patent/JP6338980B2/en
Publication of JP2016053817A publication Critical patent/JP2016053817A/en
Application granted granted Critical
Publication of JP6338980B2 publication Critical patent/JP6338980B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a touch panel device and a computer program that can allocate different display modes to indication tools.SOLUTION: There is provided a touch panel device that includes connection means for connecting a plurality of indication tools, receives input of handwritings with the use of the indication tools connected to the connection means, and displays the loci of the received handwritings on display means, the touch panel device including specification means for specifying each of the plurality of indication tools connected to the connection means, and allocation means for allocating, to each of the indication tools specified by the specification means, a display mode different from a display mode allocated to the other indication tool, so that the display modes of the loci to be displayed on the display means are different between the indication tools.SELECTED DRAWING: Figure 7

Description

本発明は、指示具を用いて手書き入力を受付けるタッチパネル装置及びコンピュータプログラムに関する。   The present invention relates to a touch panel device and a computer program that accept handwritten input using an pointing tool.

近年、様々な通信端末の操作部にタッチパネルが広く用いられるようになっている。これらの通信端末は、一般的にGUI(Graphical User Interface)を備えており、アイコン、ウインドウ、ボタン等のGUIのコンポーネント(オブジェクト)に対する操作を受付ける。通信端末は、オブジェクトに対する操作を受付けた場合、それぞれについて定義されているコンテキスト(操作時の各種条件、処理手順等)に従って、適宜の処理を実行するように構成されている。   In recent years, touch panels have been widely used for operation units of various communication terminals. These communication terminals generally include a GUI (Graphical User Interface), and accept operations on GUI components (objects) such as icons, windows, and buttons. When receiving an operation on an object, the communication terminal is configured to execute an appropriate process according to a context (various conditions at the time of operation, a processing procedure, etc.) defined for each.

このような通信端末として、通信網を介して接続された他の通信端末と連携し、他の通信端末に入力された情報を自装置の画面に表示させるものが提案されている(例えば、特許文献1を参照)。   As such a communication terminal, one that displays information input to another communication terminal on the screen of its own device in cooperation with another communication terminal connected via a communication network has been proposed (for example, a patent). Reference 1).

特許文献1に開示された通信端末では、通信網を介して接続された他の通信端末を端末IDにより識別し、他の通信端末から受信した情報を端末ID毎に予め規定されている表示色を用いて表示することにより、表示中の情報の送信元を容易に把握することが可能であるとされている。   In the communication terminal disclosed in Patent Document 1, other communication terminals connected via the communication network are identified by the terminal ID, and information received from the other communication terminals is defined in advance for each terminal ID. It is said that it is possible to easily grasp the transmission source of the information being displayed by displaying using.

特開2012−11245号公報JP2012-11245A

しかしながら、特許文献1では、各ユーザがそれぞれ通信端末を使用する構成としており、1つの通信端末を複数のユーザが使用することは想定されていない。このため、1つの通信端末上で、複数のユーザから情報の入力を受付け、受付けた情報を混在させた状態で画面上に表示した場合、どのユーザにより入力された情報であるのかを判別することは困難であった。   However, in patent document 1, it is set as the structure which each user uses a communication terminal, respectively, and it is not assumed that several users use one communication terminal. For this reason, when receiving input of information from a plurality of users on one communication terminal and displaying the received information in a mixed state, it is determined which user has input the information. Was difficult.

本発明は、斯かる事情に鑑みてなされたものであり、複数のユーザによって入力された情報を混在させて表示した場合であっても、どのユーザによって入力された情報であるのかを判別できるタッチパネル装置及びコンピュータプログラムを提供することを目的とする。   The present invention has been made in view of such circumstances, and even when information input by a plurality of users is mixed and displayed, the touch panel can determine which user has input information. An object is to provide an apparatus and a computer program.

本願のタッチパネル装置は、複数の指示具を接続する接続手段を備え、該接続手段に接続された指示具を用いて手書き入力を受付け、受付けた手書きの軌跡を表示手段に表示するタッチパネル装置において、前記接続手段に接続された複数の指示具の夫々を特定する特定手段と、前記表示手段に表示する軌跡の表示態様が各指示具の間で異なるように、前記特定手段が特定した指示具の夫々に対して、他の指示具に割り当てられている表示態様とは異なる表示態様を割り当てる割当手段とを備えることを特徴とする。   The touch panel device of the present application includes a connection unit that connects a plurality of pointing devices, accepts handwriting input using the pointing device connected to the connection unit, and displays the received handwritten locus on the display unit. The specifying means for specifying each of the plurality of pointing tools connected to the connecting means and the indication tool specified by the specifying means so that the display mode of the trajectory displayed on the display means is different between the pointing tools. An allocating unit that allocates a display mode different from the display mode allocated to each of the other pointing devices is provided.

本願のタッチパネル装置は、前記特定手段が特定した指示具を示す情報と、前記割当手段が前記指示具に対して割り当てた表示態様を示す情報とを関連付けて記憶する記憶手段を備えることを特徴とする。   The touch panel device of the present application includes storage means for storing information indicating the pointing tool specified by the specifying means and information indicating the display mode assigned to the pointing tool by the assigning means in association with each other. To do.

本願のタッチパネル装置は、前記割当手段が割り当てた表示態様の変更を受付ける受付手段を備え、該受付手段は、他の指示具に割り当てられている表示態様への変更を禁止するようにしてあることを特徴とする。   The touch panel device according to the present application includes a receiving unit that receives a change in the display mode assigned by the allocating unit, and the receiving unit prohibits a change to the display mode assigned to another pointing device. It is characterized by.

本願のタッチパネル装置は、前記接続手段に接続されている指示具の接続が解除されたか否かを判断する手段と、前記指示具の接続が解除されたと判断した場合、該指示具を示す情報を前記記憶手段から削除する手段とを備えることを特徴とする。   The touch panel device of the present application has a means for determining whether or not the connection of the pointing device connected to the connection means is released, and information indicating the pointing device when it is determined that the connection of the pointing device is released. And means for deleting from the storage means.

本願のタッチパネル装置は、前記表示態様は、前記軌跡を示す線の線種、線幅及び色の少なくとも1つを含むことを特徴とする。   In the touch panel device according to the present application, the display mode includes at least one of a line type, a line width, and a color of the line indicating the locus.

本願のコンピュータプログラムは、コンピュータに、指示具を用いてタッチパネル上に描かれる手書きの軌跡を表示手段に表示させるコンピュータプログラムにおいて、前記コンピュータを、複数の指示具の夫々を特定する特定手段、及び前記表示手段に表示する軌跡の表示態様が各指示具の間で異なるように、前記特定手段が特定した指示具の夫々に対して、他の指示具に割り当てられている表示態様とは異なる表示態様を割り当てる割当手段として機能させる。   The computer program of the present application is a computer program for causing a computer to display a handwritten locus drawn on a touch panel using an indicator on a display means. The computer is configured to specify each of a plurality of indicators, and A display mode different from the display mode assigned to the other pointing device for each of the pointing devices specified by the specifying unit, so that the display mode of the trajectory displayed on the display unit is different among the pointing devices. It functions as an assigning means for assigning.

本願によれば、接続手段に接続された複数の指示具の夫々を特定し、特定した指示具の夫々に対して異なる表示態様を割り当てるため、複数のユーザがそれぞれ指示具を用いて手書き入力を行ったとしても、各ユーザにより描画された軌跡を判別することが可能となる。   According to the present application, each of the plurality of pointing devices connected to the connection means is specified, and a different display mode is assigned to each of the specified pointing tools. Even if this is done, the trajectory drawn by each user can be determined.

実施の形態1に係るタッチパネル装置の全体構成を示す模式図である。1 is a schematic diagram showing an overall configuration of a touch panel device according to Embodiment 1. FIG. タッチパネル装置の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of a touchscreen apparatus. ペン管理テーブルの一例を示す概念図である。It is a conceptual diagram which shows an example of a pen management table. 色割り当てテーブルの一例を示す概念図である。It is a conceptual diagram which shows an example of a color allocation table. ペン設定画面の一例を示す模式図である。It is a schematic diagram which shows an example of a pen setting screen. スタイラスペンが複数接続されている場合のペン設定画面の表示例を示す模式図である。It is a schematic diagram which shows the example of a display of a pen setting screen in case multiple stylus pens are connected. タッチパネル装置が実行する処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the process which a touchscreen apparatus performs. スタイラスペンの接続が解除された場合にタッチパネル装置が実行する処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the process which a touchscreen apparatus performs when the connection of a stylus pen is cancelled | released. 線種割り当てテーブルの一例を示す概念図である。It is a conceptual diagram which shows an example of a line | wire type allocation table. 線幅割り当てテーブルの一例を示す概念図である。It is a conceptual diagram which shows an example of a line | wire width allocation table.

以下、本発明をその実施の形態を示す図面に基づいて具体的に説明する。
実施の形態1.
図1は実施の形態1に係るタッチパネル装置1の全体構成を示す模式図である。本実施の形態に係るタッチパネル装置1は、表示パネル1A及びタッチパネル1Bを有しており、スタイラスペン2を用いた操作入力をタッチパネル1Bにて受付け、受付けた操作入力に基づいて各種の情報を表示パネル1Aに表示する。
Hereinafter, the present invention will be specifically described with reference to the drawings showing embodiments thereof.
Embodiment 1 FIG.
FIG. 1 is a schematic diagram showing an overall configuration of a touch panel device 1 according to the first embodiment. The touch panel device 1 according to the present embodiment includes a display panel 1A and a touch panel 1B, receives operation input using the stylus pen 2 on the touch panel 1B, and displays various information based on the received operation input. Display on panel 1A.

タッチパネル装置1は、例えばパーソナルコンピュータと同等の機能を有しており、電源投入時にOS(Operating System)等を起動し、起動したOS上で各種ドライバソフトウェア、アプリケーションソフトウェア等が動作するように構成されている。タッチパネル装置1は、OSの起動後、デスクトップ、アイコン、ボタン、メニュー、ウインドウなどのGUIのコンポーネント等のオブジェクトを表示パネル1Aに表示することにより、ユーザにGUI環境を提供する。   The touch panel device 1 has a function equivalent to, for example, a personal computer, and is configured such that an OS (Operating System) or the like is activated when the power is turned on, and various driver software, application software, and the like operate on the activated OS. ing. The touch panel device 1 provides a GUI environment to the user by displaying objects such as GUI components such as a desktop, icons, buttons, menus, and windows on the display panel 1A after the OS is started.

ユーザは、スタイラスペン2を用いて操作対象のオブジェクトに対する操作を行うことにより、各種の処理をタッチパネル装置1に実行させることができる。タッチパネル装置1は、スタイラスペン2を用いて行われた操作をタッチパネル1Bにて検出し、検出した操作に応じて、アプリケーションを起動する処理、アイコンで示されるファイルの内容を表示する処理、ボタンに割り当たられた機能を実行する処理、メニューを表示させる処理、ウインドウを移動させる処理等の様々な処理を実行する。   The user can cause the touch panel device 1 to execute various processes by performing operations on the operation target object using the stylus pen 2. The touch panel device 1 detects an operation performed using the stylus pen 2 on the touch panel 1B, and in response to the detected operation, a process for starting an application, a process for displaying the contents of a file indicated by an icon, and a button Various processes such as a process for executing the assigned function, a process for displaying a menu, and a process for moving a window are executed.

タッチパネル装置1が備えるアプリケーションソフトウェアの1つとして、画面上で描かれた軌跡に対応する線(手書き線)を表示パネル1Aに表示させるペンソフトが含まれる。タッチパネル装置1は、ペンソフトを実行することにより、スタイラスペン2により指定されたタッチパネル1B上の位置を時系列的に検出して画面上で描かれた軌跡を特定し、特定した軌跡に対応する線を表示パネル1Aに表示させる機能を実現する。   As one of the application software provided in the touch panel device 1, pen software for displaying a line (handwritten line) corresponding to a locus drawn on the screen on the display panel 1A is included. The touch panel device 1 executes the pen software, detects the position on the touch panel 1B designated by the stylus pen 2 in time series, identifies the locus drawn on the screen, and corresponds to the identified locus. A function of displaying lines on the display panel 1A is realized.

本実施の形態では、タッチパネル装置1にて複数のスタイラスペン2,2を使用できるように構成している。例えば上述したペンソフトでは、2人のユーザがそれぞれ異なるスタイラスペン2を使用して手書き文字や線画をタッチパネル1B上で描画することにより、当該手書き文字や線画を表示パネル1A上に表示させることができる。本実施の形態では、手書き文字や線画を表示する際の表示色が複数のスタイラスペン2,2の間で重複しないように、各スタイラスペン2,2への表示色の割り当てを行う。   In the present embodiment, the touch panel device 1 is configured such that a plurality of stylus pens 2 and 2 can be used. For example, in the above-described pen software, two users can display handwritten characters and line drawings on the display panel 1A by drawing handwritten characters and line drawings on the touch panel 1B using different stylus pens 2, respectively. it can. In the present embodiment, display colors are assigned to the stylus pens 2 and 2 so that display colors when displaying handwritten characters and line drawings do not overlap between the plurality of stylus pens 2 and 2.

なお、図1に示した例は、2つのスタイラスペン2,2が使用されている状態を示しているが、タッチパネル装置1にて使用できるスタイラスペン2の数は2つに限定されるものではなく、3つ以上であってもよい。   The example shown in FIG. 1 shows a state in which two stylus pens 2 and 2 are used. However, the number of stylus pens 2 that can be used in the touch panel device 1 is not limited to two. There may be three or more.

図2はタッチパネル装置1の内部構成を示すブロック図である。タッチパネル装置1は、主制御部11、記憶部12、ペン接続部13、バックライト制御部14、表示制御部15、タッチパネル制御部16を備え、上述した表示パネル1A及びタッチパネル1Bの動作を制御する。   FIG. 2 is a block diagram showing an internal configuration of the touch panel device 1. The touch panel device 1 includes a main control unit 11, a storage unit 12, a pen connection unit 13, a backlight control unit 14, a display control unit 15, and a touch panel control unit 16, and controls the operations of the display panel 1A and the touch panel 1B described above. .

主制御部11は、例えば、CPU、RAMなどにより構成される。主制御部11のCPUは、OS、各種ドライバソフトウェア等のコンピュータプログラムをRAMにロードして実行することにより、上述のハードウェア各部の動作を制御し、装置全体を本発明に係るタッチパネル装置として機能させる。   The main control unit 11 is configured by, for example, a CPU, a RAM, and the like. The CPU of the main control unit 11 controls the operation of each of the above hardware units by loading a computer program such as an OS and various driver software into the RAM and executing it, and the entire device functions as a touch panel device according to the present invention. Let

記憶部12は、EEPROM(Electrically Erasable and Programmable ROM)、フラッシュメモリ、HDD(Hard Disk Drive)等の不揮発性の記憶手段である。記憶部12は、主制御部11により実行されるOS、ドライバソフトウェア、ペンソフトを含む各種アプリケーションソフトウェア、及びOS等のプログラムによって使用されるデータ等を記憶する。また、記憶部12は、登録されたスタイラスペン2の情報を記憶するペン管理テーブル、スタイラスペン2に割り当てた表示色等の情報を記憶する色割り当てテーブルを備える。   The storage unit 12 is a nonvolatile storage unit such as an EEPROM (Electrically Erasable and Programmable ROM), a flash memory, or an HDD (Hard Disk Drive). The storage unit 12 stores an OS executed by the main control unit 11, driver software, various application software including pen software, data used by a program such as the OS, and the like. The storage unit 12 also includes a pen management table that stores information on the registered stylus pen 2 and a color assignment table that stores information such as display colors assigned to the stylus pen 2.

ペン接続部13は、無線ドングル20を装着するための装着部13Aを備える。無線ドングル20は、スタイラスペン2,2,…との間で無線通信を行う機能を有する。無線ドングル20とスタイラスペン2,2,…との間の無線通信として、例えば、IEEE802.11の規格に準拠した無線通信、Bluetooth(登録商標)、ZigBee(登録商標)、赤外線通信などを採用することができる。本実施の形態では、無線ドングル20をペン接続部13の装着部13Aに装着した状態にて、スタイラスペン2,2,…側で所定の操作(例えば、図に示していない登録ボタンの押下操作)を行うことにより、スタイラスペン2,2,…を無線ドングル20に登録する。   The pen connection unit 13 includes a mounting unit 13 </ b> A for mounting the wireless dongle 20. The wireless dongle 20 has a function of performing wireless communication with the stylus pens 2, 2,. As wireless communication between the wireless dongle 20 and the stylus pens 2, 2,..., For example, wireless communication compliant with the IEEE 802.11 standard, Bluetooth (registered trademark), ZigBee (registered trademark), infrared communication, or the like is adopted. be able to. In the present embodiment, in a state where the wireless dongle 20 is mounted on the mounting unit 13A of the pen connection unit 13, a predetermined operation (for example, a pressing operation of a registration button not shown in the figure) is performed on the stylus pen 2, 2,. ) Is registered in the wireless dongle 20.

タッチパネル装置1は、無線ドングル20を通じて、登録されたスタイラスペン2,2,…の情報を取得し、登録されたスタイラスペン2,2,…の情報を記憶部12内のペン管理テーブルにて管理する。   The touch panel device 1 acquires information on the registered stylus pens 2, 2,... Through the wireless dongle 20, and manages the registered information on the stylus pens 2, 2,. To do.

なお、本実施の形態では、無線ドングル20を用いてスタイラスペン2,2,…を登録する構成としたが、無線ドングル20を用いずに、タッチパネル装置1とスタイラスペン2との間で直接的に通信を行うことにより、スタイラスペン2をタッチパネル装置1に登録させる構成としてもよい。   In the present embodiment, the stylus pens 2, 2,... Are registered using the wireless dongle 20, but directly between the touch panel device 1 and the stylus pen 2 without using the wireless dongle 20. The stylus pen 2 may be registered in the touch panel device 1 by performing communication.

バックライト制御部14には、バックライト(不図示)が接続されており、表示制御部15には、表示パネル1Aが接続されている。バックライトは、白色LED(Light Emitting Diode)又は冷陰極蛍光管等の光源を有し、表示パネル1Aを背面側から照明する。バックライト制御部14は、主制御部11からの指示に従ってバックライトの光源の点灯及び消灯を制御する。表示パネル1Aは、例えばカラー液晶パネルであり、主制御部11からの指示に従って表示制御部15が表示パネル1Aを駆動させることにより、画像、文字等の各種情報を表示する。   A backlight (not shown) is connected to the backlight control unit 14, and the display panel 1 </ b> A is connected to the display control unit 15. The backlight includes a light source such as a white LED (Light Emitting Diode) or a cold cathode fluorescent tube, and illuminates the display panel 1A from the back side. The backlight control unit 14 controls turning on and off of the light source of the backlight in accordance with instructions from the main control unit 11. The display panel 1A is a color liquid crystal panel, for example, and displays various information such as images and characters by the display control unit 15 driving the display panel 1A according to instructions from the main control unit 11.

タッチパネル制御部16には、タッチパネル1Bが接続されている。タッチパネル1Bは、表示パネル1Aの前面側(表示面側)に配置されており、表示パネル1A上でスタイラスペン2による操作を検出するためのタッチセンサ(不図示)を備える。このようなタッチセンサには、静電容量方式、抵抗膜方式、電磁誘導方式、赤外線方式等のセンサを用いることができる。なお、タッチセンサは、スタイラスペン2とタッチパネル1Bとの接触状態を検出する構成であってもよく、スタイラスペン2とタッチパネル1Bとの接触状態だけでなく、近接状態を検出する構成であってもよい。   The touch panel 1B is connected to the touch panel control unit 16. The touch panel 1B is disposed on the front side (display side) of the display panel 1A and includes a touch sensor (not shown) for detecting an operation by the stylus pen 2 on the display panel 1A. As such a touch sensor, a sensor of a capacitance method, a resistance film method, an electromagnetic induction method, an infrared method, or the like can be used. The touch sensor may be configured to detect a contact state between the stylus pen 2 and the touch panel 1B, and may be configured to detect not only the contact state between the stylus pen 2 and the touch panel 1B but also a proximity state. Good.

タッチパネル制御部16は、タッチセンサの動作を制御すると共に、タッチセンサからの出力に基づいて、スタイラスペン2により指定された表示パネル1A上の位置を検出し、検出した位置に係る位置情報を主制御部11に通知する。主制御部11は、タッチパネル制御部16から通知される位置情報に応じて、タッチパネル1B上で描かれた軌跡を特定する処理などを実行する。   The touch panel control unit 16 controls the operation of the touch sensor, detects the position on the display panel 1A designated by the stylus pen 2 based on the output from the touch sensor, and mainly uses the position information related to the detected position. Notify the control unit 11. The main control unit 11 executes a process of specifying a locus drawn on the touch panel 1B according to the position information notified from the touch panel control unit 16.

次に、タッチパネル装置1が備える各テーブルについて説明する。
図3はペン管理テーブルの一例を示す概念図である。ペン管理テーブルは、各スタイラスペン2,2,…に割り当てられたID(以下、ペンIDという)と、スタイラスペン2の固有情報である識別子とを関連付けて記憶する。
Next, each table provided in the touch panel device 1 will be described.
FIG. 3 is a conceptual diagram illustrating an example of a pen management table. The pen management table stores IDs assigned to the stylus pens 2, 2,... (Hereinafter referred to as pen IDs) and identifiers that are unique information of the stylus pen 2 in association with each other.

ペンIDは、例えば1〜N(Nは登録済みのスタイラスペン2の数)の整数値により表される。また、識別子は、スタイラスペン2の製造番号、シリアル番号等のスタイラスペン2を一意に識別することができる固有情報であり、例えば英数字及び記号により表される。
無線ドングル20は、スタイラスペン2の登録時に、当該スタイラスペン2に対してペンIDを割り当てると共に、当該スタイラスペン2から識別子を取得する。また、主制御部11は、ペン接続部13を通じて、無線ドングル20に登録されたスタイラスペン2のペンID及び識別子を取得し、記憶部12内のペン管理テーブルに記憶させる。
The pen ID is represented by an integer value of 1 to N (N is the number of registered stylus pens 2), for example. The identifier is unique information that can uniquely identify the stylus pen 2 such as the manufacturing number and serial number of the stylus pen 2 and is represented by alphanumeric characters and symbols, for example.
When the stylus pen 2 is registered, the wireless dongle 20 assigns a pen ID to the stylus pen 2 and acquires an identifier from the stylus pen 2. Further, the main control unit 11 acquires the pen ID and identifier of the stylus pen 2 registered in the wireless dongle 20 through the pen connection unit 13 and stores them in the pen management table in the storage unit 12.

図3に示す例では、2本のスタイラスペン2,2が登録されている状態を示しており、識別子(1)のスタイラスペン2に対し、ペンID「1」が割り当てられ、識別子(2)のスタイラスペン2に対し、ペンID「2」が割り当てられたことを示している。   The example shown in FIG. 3 shows a state in which two stylus pens 2 and 2 are registered. The pen ID “1” is assigned to the stylus pen 2 of the identifier (1), and the identifier (2). This indicates that the pen ID “2” is assigned to the stylus pen 2 of FIG.

図4は色割り当てテーブルの一例を示す概念図である。色割り当てテーブルは、手書き文字や線画を表示する際の表示色(色名)、各表示色の色コード、及び表示色が割り当てられたスタイラスペン2のペンIDを関連付けて記憶する。   FIG. 4 is a conceptual diagram showing an example of a color assignment table. The color assignment table stores the display color (color name) when displaying handwritten characters and line drawings, the color code of each display color, and the pen ID of the stylus pen 2 to which the display color is assigned.

本実施の形態では、黒色、赤色、青色、緑色、黄色の基本の五色(以下、基本色という)と、それ以外のカスタム色とを表示色として定めている。各表示色にはそれぞれ一意の色コードが予め規定されている。色コードとしては、例えば#から始まる6桁の16進数を用いることができる。   In this embodiment, five basic colors of black, red, blue, green, and yellow (hereinafter referred to as basic colors) and other custom colors are defined as display colors. Each display color has a unique color code defined in advance. As the color code, for example, a 6-digit hexadecimal number starting with # can be used.

タッチパネル装置1の主制御部11は、新たに登録されたスタイラスペン2の存在を認識した場合、そのスタイラスペン2に対する表示色を自動的に設定する。例えば、主制御部11は、新たに接続されたスタイラスペン2に対し、基本色を示す5つの色コードのうち、設定済みの色コードを除く、最も小さな値の色コードを持つ表示色を設定する。主制御部11は、スタイラスペン2に対して設定した表示色と、当該スタイラスペン2に割り当てられたペンIDとを関連付けて色割り当てテーブルに記憶させる。   When the main control unit 11 of the touch panel device 1 recognizes the presence of a newly registered stylus pen 2, the main control unit 11 automatically sets a display color for the stylus pen 2. For example, the main control unit 11 sets a display color having the smallest color code, excluding the set color code, among the five color codes indicating the basic colors for the newly connected stylus pen 2. To do. The main control unit 11 associates the display color set for the stylus pen 2 and the pen ID assigned to the stylus pen 2 and stores them in the color assignment table.

また、他のスタイラスペン2が新たに接続された場合、スタイラスペン2の接続が解除された場合、スタイラスペン2に割り当てる表示色が変更された場合等において、主制御部11は、色割り当てテーブルを適宜更新する。   When the other stylus pen 2 is newly connected, when the connection of the stylus pen 2 is released, when the display color assigned to the stylus pen 2 is changed, etc., the main control unit 11 displays the color assignment table. Will be updated accordingly.

本実施の形態では、接続されたスタイラスペン2に対する表示色をタッチパネル装置1が自動的に設定する構成としているが、表示色を含むペン設定をユーザが変更できるようにしてもよい。   In the present embodiment, the touch panel device 1 automatically sets the display color for the connected stylus pen 2, but the user may be able to change the pen setting including the display color.

図5はペン設定画面100の一例を示す模式図である。タッチパネル装置1にて所定の操作を受付けた場合、主制御部11は、図5に示すようなペン設定画面100を表示パネル1Aに表示させる。本実施の形態では、ペン設定画面100を通じて、線の種類、線の太さ、線の色を変更できるようにしている。   FIG. 5 is a schematic diagram illustrating an example of the pen setting screen 100. When the touch panel device 1 receives a predetermined operation, the main control unit 11 displays a pen setting screen 100 as shown in FIG. 5 on the display panel 1A. In the present embodiment, the line type, line thickness, and line color can be changed through the pen setting screen 100.

ペン設定画面100は、線種を指定する3つのアイコン111〜113を備える。ユーザは、スタイラスペン2を用いて何れかのアイコン111(又は112,113)をタッチパネル1B上で選択することにより、そのスタイラスペン2を用いて手書き文字又は線画を描く際の線種を変更することができる。図5に示した例では、線種として「ペン」が選択されている状態を示している。   The pen setting screen 100 includes three icons 111 to 113 for specifying a line type. The user uses the stylus pen 2 to select one of the icons 111 (or 112, 113) on the touch panel 1B, thereby changing the line type when drawing handwritten characters or line drawings using the stylus pen 2. be able to. The example shown in FIG. 5 shows a state where “pen” is selected as the line type.

また、ペン設定画面100は、線幅を予め定めた線幅から指定する5つのアイコン121〜125と、任意の線幅を指定するためのアイコン126とを備える。ユーザは、スタイラスペン2を用いて何れかのアイコン121(又は122〜126)をタッチパネル1B上で選択することにより、そのスタイラスペン2を用いて手書き文字又は線画を描く際の線幅を変更することができる。図5に示した例では、線幅として2番目に細い線幅が選択されている状態を示している。   The pen setting screen 100 includes five icons 121 to 125 for designating a line width from a predetermined line width and an icon 126 for designating an arbitrary line width. The user uses the stylus pen 2 to select one of the icons 121 (or 122 to 126) on the touch panel 1B, thereby changing the line width when drawing handwritten characters or line drawings using the stylus pen 2. be able to. The example shown in FIG. 5 shows a state where the second narrowest line width is selected as the line width.

また、ペン設定画面100は、線の色(表示色)を基本色から選択するための5つのアイコン131〜135と、カスタム色から選択するためのアイコン136とを備える。カスタム色を選択するためのアイコン136が選択された場合、主制御部11は、選択可能なカスタム色のリストを表示パネル1A上に表示させ、カスタム色の選択を受付ける。ユーザは、スタイラスペン2を用いて基本色に対応したアイコン131(又は132〜135)を選択するか、又はアイコン136が選択されたときに表示されるリストからカスタム色を選択することにより、スタイラスペン2を用いて手書き文字又は線画を描く際の表示色を変更することができる。図5に示した例では、線の色として赤色が選択されている状態を示している。   The pen setting screen 100 includes five icons 131 to 135 for selecting a line color (display color) from basic colors and an icon 136 for selecting from a custom color. When the icon 136 for selecting a custom color is selected, the main control unit 11 displays a list of selectable custom colors on the display panel 1A and accepts the selection of the custom color. The user selects the icon 131 (or 132 to 135) corresponding to the basic color using the stylus pen 2, or selects a custom color from a list displayed when the icon 136 is selected, thereby making the stylus. The display color at the time of drawing a handwritten character or a line drawing using the pen 2 can be changed. The example shown in FIG. 5 shows a state in which red is selected as the color of the line.

ペン設定画面100にてボタン141が選択された場合、主制御部11は、線種、線幅、表示色について受付けた変更を確定させた状態でペン設定画面100を閉じる。また、ペン設定画面100にてボタン142が選択された場合、主制御部11は、変更を確定せずにペン設定画面100を閉じる。   When the button 141 is selected on the pen setting screen 100, the main control unit 11 closes the pen setting screen 100 in a state where the accepted changes are confirmed for the line type, line width, and display color. When the button 142 is selected on the pen setting screen 100, the main control unit 11 closes the pen setting screen 100 without confirming the change.

本実施の形態に係るタッチパネル装置1は、複数のスタイラスペン2,2,…の間で表示色が重複しないように、各スタイラスペン2に対する表示色を設定する。このため、タッチパネル装置1は、複数のスタイラスペン2,2,…が接続されている状態でペン設定画面100を表示する場合、他のスタイラスペン2に割り当てられている表示色が選択できないことを表示する構成としている。   The touch panel device 1 according to the present embodiment sets the display color for each stylus pen 2 so that the display colors do not overlap between the plurality of stylus pens 2, 2,. For this reason, when the touch panel device 1 displays the pen setting screen 100 in a state where a plurality of stylus pens 2, 2,... Are connected, the touch color cannot be selected from the display colors assigned to the other stylus pens 2. It is configured to display.

図6はスタイラスペン2が複数接続されている場合のペン設定画面100の表示例を示す模式図である。図6の例は、2つのスタイラスペン2,2がペン接続部13に接続されており、一方のスタイラスペン2に割り当てる表示色を変更するためにペン設定画面100を表示パネル1Aに表示させた状態を示している。   FIG. 6 is a schematic diagram showing a display example of the pen setting screen 100 when a plurality of stylus pens 2 are connected. In the example of FIG. 6, two stylus pens 2 and 2 are connected to the pen connection unit 13, and the pen setting screen 100 is displayed on the display panel 1 </ b> A in order to change the display color assigned to one stylus pen 2. Indicates the state.

本実施の形態では、各スタイラスペン2,2に対して表示色を重複して割り当てることを禁止するために、他方のスタイラスペン2に割り当てられている表示色(図6に示す例では黄色)が選択できないことを示すマークMをペン設定画面100に表示する。この例では、アイコン135の選択が禁止され、アイコン131〜134の何れかを選択することにより、黄色を除く基本色の選択を受付けるか、またはアイコン136が選択されたときに表示されるリストからカスタム色の選択を受付ける。   In the present embodiment, the display color assigned to the other stylus pen 2 in order to inhibit the display color from being assigned to the stylus pens 2 and 2 in duplicate (yellow in the example shown in FIG. 6). A mark M indicating that cannot be selected is displayed on the pen setting screen 100. In this example, selection of the icon 135 is prohibited, and selection of a basic color other than yellow is accepted by selecting any of the icons 131 to 134, or from a list displayed when the icon 136 is selected. Accept custom color selection.

以下、タッチパネル装置1の動作について説明する。
図7はタッチパネル装置1が実行する処理の手順を示すフローチャートである。ペン接続部13の装着部13Aに装着された無線ドングル20は、通常動作時等において、新たなスタイラスペン2を追加するか否かを判断する(ステップS11)。無線ドングル20は、スタイラスペン2にて所定の操作(例えば、図に示していない登録ボタンの押下操作)が実行されたことを検知した場合、新たなスタイラスペン2を追加すると判断する。スタイラスペン2を追加しない場合(S11:NO)、処理をステップS15へ移行させる。
Hereinafter, the operation of the touch panel device 1 will be described.
FIG. 7 is a flowchart showing a procedure of processing executed by the touch panel device 1. The wireless dongle 20 mounted on the mounting unit 13A of the pen connection unit 13 determines whether or not to add a new stylus pen 2 during normal operation or the like (step S11). When the wireless dongle 20 detects that a predetermined operation (for example, a pressing operation of a registration button not shown in the drawing) is performed with the stylus pen 2, the wireless dongle 20 determines to add a new stylus pen 2. If the stylus pen 2 is not added (S11: NO), the process proceeds to step S15.

スタイラスペン2を追加する場合(S11:YES)、無線ドングル20は、新たなスタイラスペン2と無線通信を行い、当該スタイラスペン2から識別子を取得することにより、スタイラスペン2の認識を行う(ステップS12)。   When adding the stylus pen 2 (S11: YES), the wireless dongle 20 performs wireless communication with the new stylus pen 2 and acquires an identifier from the stylus pen 2, thereby recognizing the stylus pen 2 (step). S12).

次いで、無線ドングル20は、認識したスタイラスペン2に対してペンIDの割り当てを行う(ステップS13)。例えば、登録済みのスタイラスペン2,2,…に対して1〜NのペンIDを割り当てている場合、無線ドングル20は、ステップS12で認識した新たなスタイラスペン2に対し、ペンIDとしてN+1を割り当てる。タッチパネル装置1の主制御部11は、新たに登録されたスタイラスペン2の識別子及びペンIDを無線ドングル20から取得し、両者を関連付けてペン管理テーブルに記憶させる。   Next, the wireless dongle 20 assigns a pen ID to the recognized stylus pen 2 (step S13). For example, when 1 to N pen IDs are assigned to the registered stylus pens 2, 2,..., The wireless dongle 20 sets N + 1 as the pen ID for the new stylus pen 2 recognized in step S12. assign. The main control unit 11 of the touch panel device 1 acquires the newly registered identifier and pen ID of the stylus pen 2 from the wireless dongle 20 and stores them in the pen management table in association with each other.

次いで、主制御部11は、新たに登録されたスタイラスペン2に対して、表示色を割り当てる(ステップS14)。本実施の形態では、各スタイラスペン2に対して割り当ることができる表示色(すなわち、黒色、赤色、青色、緑色、黄色、及びカスタム色)のそれぞれに対して色コードを予め定めている。ステップS14では、主制御部11は、割り当て済みの表示色の色コードを除いた色コードのうち、最も小さな値を有する色コードを選択する。主制御部11は、選択した色コードに関連付けて、割り当て対象のスタイラスペン2のペンIDをペン割り当てテーブルに記憶させることにより、当該スタイラスペン2に対する表示色の割り当てを行う。   Next, the main control unit 11 assigns a display color to the newly registered stylus pen 2 (step S14). In the present embodiment, a color code is predetermined for each display color (that is, black, red, blue, green, yellow, and custom color) that can be assigned to each stylus pen 2. In step S14, the main control unit 11 selects the color code having the smallest value from among the color codes excluding the assigned display color code. The main control unit 11 assigns a display color to the stylus pen 2 by storing the pen ID of the stylus pen 2 to be assigned in the pen assignment table in association with the selected color code.

次いで、主制御部11は、ペン設定画面100を表示パネル1Aに表示させるための所定の操作を受付けたか否かを判断する(ステップS15)。ペン設定画面100を表示させるための所定の操作を受付けていないと判断した場合(S15:NO)、主制御部11は、処理をステップS11へ戻す。   Next, the main control unit 11 determines whether or not a predetermined operation for displaying the pen setting screen 100 on the display panel 1A has been received (step S15). If it is determined that a predetermined operation for displaying the pen setting screen 100 is not accepted (S15: NO), the main control unit 11 returns the process to step S11.

ペン設定画面100を表示させるための所定の操作を受付けたと判断した場合(S15:YES)、主制御部11は、ペン設定画面100を表示パネル1Aに表示させる(ステップS16)。   When it is determined that a predetermined operation for displaying the pen setting screen 100 has been received (S15: YES), the main control unit 11 displays the pen setting screen 100 on the display panel 1A (step S16).

次いで、主制御部11は、色割り当てテーブルを検索し(ステップS17)、他のスタイラスペン2に割り当てられている表示色の選択を禁止する(ステップS18)。例えば、主制御部11は、各表示色に対応したアイコン131〜135のうち、他のスタイラスペン2に割り当てられている表示色を示すアイコン上に、選択の禁止を示すマークMを表示すると共に、当該アイコンを通じて表示色の選択を受付けることを停止する処理を行う。   Next, the main control unit 11 searches the color assignment table (step S17), and prohibits selection of display colors assigned to other stylus pens 2 (step S18). For example, the main control unit 11 displays a mark M indicating prohibition of selection on an icon indicating a display color assigned to another stylus pen 2 among the icons 131 to 135 corresponding to each display color. Then, the process of stopping the selection of the display color through the icon is performed.

次いで、主制御部11は、スタイラスペン2に割り当てる表示色がペン設定画面100にて選択されたか否かを判断する(ステップS19)。スタイラスペン2に割り当てる表示色が選択されることなく、ペン設定画面100が閉じられた場合(S19:NO)、主制御部11は、処理をステップS11へ戻す。   Next, the main control unit 11 determines whether or not the display color assigned to the stylus pen 2 has been selected on the pen setting screen 100 (step S19). When the pen setting screen 100 is closed without selecting the display color to be assigned to the stylus pen 2 (S19: NO), the main control unit 11 returns the process to step S11.

スタイラスペン2に割り当てる表示色が選択されたと判断した場合(S19:YES)、主制御部11は、当該スタイラスペン2に対する表示色の割り当てを行う(ステップS20)。具体的には、割り当て対象のスタイラスペン2のペンIDを選択された表示色及び色コードに関連付けてペン割り当てテーブルに記憶させることにより、当該スタイラスペン2に対する表示色の割り当てを行う。   When determining that the display color to be assigned to the stylus pen 2 has been selected (S19: YES), the main control unit 11 assigns the display color to the stylus pen 2 (step S20). Specifically, the display color is assigned to the stylus pen 2 by storing the pen ID of the assignment target stylus pen 2 in the pen assignment table in association with the selected display color and color code.

図8はスタイラスペン2の接続が解除された場合にタッチパネル装置1が実行する処理の手順を示すフローチャートである。タッチパネル装置1の主制御部11は、スタイラスペン2との接続を解除するか否かを判断する(ステップS21)。例えば、スタイラスペン2にて所定の操作(図に示していない登録解除ボタンの押下操作等)が実行されたことを検知した場合、または、無線ドングル20とスタイラスペン2との間の無線通信が所定時間以上途切れている場合等において、主制御部11は、スタイラスペン2との接続を解除すると判断する。
スタイラスペン2との接続を解除しないと判断した場合(S21:NO)、主制御部11は、本フローチャートによる処理を終了する。
FIG. 8 is a flowchart showing a procedure of processing executed by the touch panel device 1 when the connection of the stylus pen 2 is released. The main control unit 11 of the touch panel device 1 determines whether or not to release the connection with the stylus pen 2 (step S21). For example, when it is detected that a predetermined operation (such as a pressing operation of a registration release button not shown in the figure) is performed with the stylus pen 2, or wireless communication between the wireless dongle 20 and the stylus pen 2 is performed. The main control unit 11 determines that the connection with the stylus pen 2 is to be released, for example, when it has been interrupted for a predetermined time or longer.
When it is determined that the connection with the stylus pen 2 is not released (S21: NO), the main control unit 11 ends the process according to this flowchart.

スタイラスペン2との接続を解除すると判断した場合(S21:YES)、主制御部11は、対応するスタイラスペン2の識別子をペン管理テーブルから削除すると共に、色割り当てテーブルに登録されているペンIDを削除する(ステップS22)。   When it is determined that the connection with the stylus pen 2 is to be released (S21: YES), the main control unit 11 deletes the identifier of the corresponding stylus pen 2 from the pen management table and also registers the pen ID registered in the color assignment table. Is deleted (step S22).

以上のように、本実施の形態では、タッチパネル装置1に接続される複数のスタイラスペン2,2,…のそれぞれに対して異なる表示色を割り当てることが可能であるため、複数のユーザが同一画面上にそれぞれ手書き文字又は線画を描画する場合であっても、どのユーザが描画した手書き文字又は線画であるのかを明確に区別することができる。   As described above, in this embodiment, since different display colors can be assigned to each of the plurality of stylus pens 2, 2,... Connected to the touch panel device 1, a plurality of users can have the same screen. Even when handwritten characters or line drawings are respectively drawn, it is possible to clearly distinguish which user has drawn the handwritten characters or line drawings.

また、本実施の形態では、スタイラスペン2の接続が解除された場合、当該スタイラスペン2の識別子及びペンIDをそれぞれペン管理テーブル及び色割り当てテーブルから削除するので、このスタイラスペン2に割り当てられていた表示色を別のスタイラスペン2に割り当てることができる。   In the present embodiment, when the connection of the stylus pen 2 is released, the identifier and the pen ID of the stylus pen 2 are deleted from the pen management table and the color assignment table, respectively, so that the stylus pen 2 is assigned to the stylus pen 2. The displayed color can be assigned to another stylus pen 2.

実施の形態2.
実施の形態2では、ペン接続部13に接続された複数のスタイラスペン2,2,…のそれぞれに対して異なる線種を割り当てる構成について説明する。
なお、タッチパネル装置1の内部構成は実施の形態1と全く同様であるため、その説明を省略することとする。
Embodiment 2. FIG.
In the second embodiment, a configuration in which different line types are assigned to each of the plurality of stylus pens 2, 2,... Connected to the pen connection unit 13 will be described.
Note that the internal configuration of the touch panel device 1 is exactly the same as that of the first embodiment, and thus the description thereof is omitted.

実施の形態2に係るタッチパネル装置1は、線種を識別するコードとスタイラスペン2のペンIDとを関連付けて記憶する線種割り当てテーブルを備える。このような線種割り当てテーブルは、例えば記憶部12に記憶される。タッチパネル装置1の主制御部11は、この線種割り当てテーブルを参照して、ペン接続部13に接続された複数のスタイラスペン2,2,…のそれぞれに対し異なる線種を割り当てる。   The touch panel device 1 according to the second embodiment includes a line type assignment table that stores a code for identifying a line type and the pen ID of the stylus pen 2 in association with each other. Such a line type assignment table is stored in the storage unit 12, for example. The main control unit 11 of the touch panel device 1 refers to the line type assignment table and assigns different line types to each of the plurality of stylus pens 2, 2,... Connected to the pen connection unit 13.

図9は線種割り当てテーブルの一例を示す概念図である。線種割り当てテーブルは、手書き文字や線画を表示する際の線種、線種を識別するコード、及び線種が割り当てられたスタイラスペン2のペンIDを関連付けて記憶する。   FIG. 9 is a conceptual diagram showing an example of a line type assignment table. The line type assignment table stores a line type for displaying handwritten characters and line drawings, a code for identifying the line type, and a pen ID of the stylus pen 2 to which the line type is assigned in association with each other.

本実施の形態では、「ペン」、「筆ペン」及び「マーカ」の3つを線種として定めてあり、各線種に対して異なるコード(1〜3)を与えている。   In the present embodiment, three of “pen”, “brush pen”, and “marker” are defined as line types, and different codes (1 to 3) are given to the respective line types.

タッチパネル装置1の主制御部11は、新たに登録されたスタイラスペン2の存在を認識した場合、そのスタイラスペン2に対する線種を自動的に設定する。例えば、主制御部11は、新たに接続されたスタイラスペン2に対し、線種を示す3つのコードのうち、設定済みのコードを除く、最も小さな値のコードを持つ線種を設定する。主制御部11は、スタイラスペン2に対して設定した線種と、当該スタイラスペン2に割り当てられたペンIDとを関連付けて線種割り当てテーブルに記憶させる。   When the main control unit 11 of the touch panel device 1 recognizes the presence of the newly registered stylus pen 2, it automatically sets the line type for the stylus pen 2. For example, the main control unit 11 sets, for the newly connected stylus pen 2, the line type having the smallest code value among the three codes indicating the line type, excluding the set code. The main control unit 11 associates the line type set for the stylus pen 2 and the pen ID assigned to the stylus pen 2 and stores them in the line type assignment table.

また、他のスタイラスペン2が新たに接続された場合、スタイラスペン2の接続が解除された場合、スタイラスペン2に割り当てる線種が変更された場合等において、主制御部11は、線種割り当てテーブルを適宜更新する。   Further, when another stylus pen 2 is newly connected, when the connection of the stylus pen 2 is released, or when the line type assigned to the stylus pen 2 is changed, the main control unit 11 assigns the line type. Update the table accordingly.

なお、本実施の形態では、各スタイラスペン2に割り当てることができる線種の数を3つとしたが、3つ以上の線種を用意してもよいことは勿論のことである。   In the present embodiment, the number of line types that can be assigned to each stylus pen 2 is three, but it goes without saying that three or more line types may be prepared.

以上のように、本実施の形態では、タッチパネル装置1に接続される複数のスタイラスペン2,2,…のそれぞれに対して異なる線種を割り当てることが可能であるため、複数のユーザが同一画面上にそれぞれ手書き文字又は線画を描画する場合であっても、どのユーザが描画した手書き文字又は線画であるのかを明確に区別することができる。   As described above, in the present embodiment, since different line types can be assigned to the plurality of stylus pens 2, 2,... Connected to the touch panel device 1, a plurality of users can share the same screen. Even when handwritten characters or line drawings are respectively drawn, it is possible to clearly distinguish which user has drawn the handwritten characters or line drawings.

実施の形態3.
実施の形態3では、ペン接続部13に接続された複数のスタイラスペン2,2,…のそれぞれに対して異なる線幅を割り当てる構成について説明する。
なお、タッチパネル装置1の内部構成は実施の形態1と全く同様であるため、その説明を省略することとする。
Embodiment 3 FIG.
In the third embodiment, a configuration in which different line widths are assigned to each of the plurality of stylus pens 2, 2,... Connected to the pen connection unit 13 will be described.
Note that the internal configuration of the touch panel device 1 is exactly the same as that of the first embodiment, and thus the description thereof is omitted.

実施の形態3に係るタッチパネル装置1は、線幅を識別するコードとスタイラスペン2のペンIDとを関連付けて記憶する線幅割り当てテーブルを備える。このような線幅割り当てテーブルは、例えば記憶部12に記憶される。タッチパネル装置1の主制御部11は、この線幅割り当てテーブルを参照して、ペン接続部13に接続された複数のスタイラスペン2,2,…のそれぞれに対し異なる線幅を割り当てる。   Touch panel device 1 according to Embodiment 3 includes a line width assignment table that stores a code for identifying a line width and a pen ID of stylus pen 2 in association with each other. Such a line width allocation table is stored in the storage unit 12, for example. The main control unit 11 of the touch panel device 1 refers to the line width assignment table and assigns different line widths to the plurality of stylus pens 2, 2,... Connected to the pen connection unit 13.

図10は線幅割り当てテーブルの一例を示す概念図である。線幅割り当てテーブルは、手書き文字や線画を表示する際の線幅、線幅を識別するコード、及び線幅が割り当てられたスタイラスペン2のペンIDを関連付けて記憶する。
本実施の形態では、各線幅に対して異なるコード(整数値)を与える構成としたが、線幅に適宜の定数(例えば10)を乗算した値をコードとして採用してもよい。
FIG. 10 is a conceptual diagram showing an example of a line width allocation table. The line width assignment table stores the line width when displaying handwritten characters and line drawings, the code for identifying the line width, and the pen ID of the stylus pen 2 to which the line width is assigned in association with each other.
In this embodiment, a different code (integer value) is given to each line width. However, a value obtained by multiplying the line width by an appropriate constant (for example, 10) may be adopted as the code.

タッチパネル装置1の主制御部11は、新たに登録されたスタイラスペン2の存在を認識した場合、そのスタイラスペン2に対する線幅を自動的に設定する。例えば、主制御部11は、新たに接続されたスタイラスペン2に対し、線幅を示すコードのうち、設定済みのコードを除く、最も小さな値のコードを持つ線幅を設定する。主制御部11は、スタイラスペン2に対して設定した線幅と、当該スタイラスペン2に割り当てられたペンIDとを関連付けて線幅割り当てテーブルに記憶させる。   When the main control unit 11 of the touch panel device 1 recognizes the presence of the newly registered stylus pen 2, it automatically sets the line width for the stylus pen 2. For example, the main control unit 11 sets the line width having the smallest value code, excluding the set code, among the codes indicating the line width, for the newly connected stylus pen 2. The main control unit 11 associates the line width set for the stylus pen 2 and the pen ID assigned to the stylus pen 2 and stores them in the line width assignment table.

また、他のスタイラスペン2が新たに接続された場合、スタイラスペン2の接続が解除された場合、スタイラスペン2に割り当てる線幅が変更された場合等において、主制御部11は、線幅割り当てテーブルを適宜更新する。   Further, when another stylus pen 2 is newly connected, when the connection of the stylus pen 2 is released, or when the line width allocated to the stylus pen 2 is changed, the main control unit 11 assigns the line width. Update the table accordingly.

以上のように、本実施の形態では、タッチパネル装置1に接続される複数のスタイラスペン2,2,…のそれぞれに対して異なる線幅を割り当てることが可能であるため、複数のユーザが同一画面上にそれぞれ手書き文字又は線画を描画する場合であっても、どのユーザが描画した手書き文字又は線画であるのかを明確に区別することができる。   As described above, in the present embodiment, since different line widths can be assigned to each of the plurality of stylus pens 2, 2,... Connected to the touch panel device 1, a plurality of users can share the same screen. Even when handwritten characters or line drawings are respectively drawn, it is possible to clearly distinguish which user has drawn the handwritten characters or line drawings.

今回開示された実施の形態は、全ての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上述した意味ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内での全ての変更が含まれることが意図される。   The embodiment disclosed this time is to be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the meanings described above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

以上の実施の形態に関し、更に以下の付記を開示する。   Regarding the above embodiment, the following additional notes are disclosed.

本願のタッチパネル装置(1)は、複数の指示具(2,2,…)を接続する接続手段(13)を備え、該接続手段(13)に接続された指示具(2)を用いて手書き入力を受付け、受付けた手書きの軌跡を表示手段(1A)に表示するタッチパネル装置(1)において、前記接続手段(13)に接続された複数の指示具(2,2,…)の夫々を特定する特定手段(S12)と、前記表示手段(1A)に表示する軌跡の表示態様が各指示具(2,2,…)の間で異なるように、前記特定手段(S12)が特定した指示具(2)の夫々に対して、他の指示具(2)に割り当てられている表示態様とは異なる表示態様を割り当てる割当手段(S14)とを備えることを特徴とする。   The touch panel device (1) of the present application includes connection means (13) for connecting a plurality of pointing tools (2, 2,...), And is handwritten using the pointing tool (2) connected to the connecting means (13). In the touch panel device (1) that accepts input and displays the accepted handwritten trajectory on the display means (1A), each of the plurality of pointing tools (2, 2,...) Connected to the connection means (13) is specified. Indicating means specified by the specifying means (S12) so that the display mode of the trajectory displayed on the display means (1A) differs between the indicating tools (2, 2,...). Each of (2) is provided with an assigning means (S14) for assigning a display mode different from the display mode assigned to the other pointing device (2).

本願では、接続手段に接続された複数の指示具の夫々を特定し、特定した指示具の夫々に対して異なる表示態様を割り当てるため、複数のユーザがそれぞれ指示具を用いて手書き入力を行ったとしても、各ユーザにより描画された軌跡を判別することが可能となる。   In the present application, in order to identify each of the plurality of pointing tools connected to the connection means and assign different display modes to each of the identified pointing tools, a plurality of users respectively performed handwriting input using the pointing tools. However, the trajectory drawn by each user can be determined.

本願のタッチパネル装置(1)は、前記特定手段(S12)が特定した指示具(2)を示す情報と、前記割当手段(S14)が前記指示具(2)に対して割り当てた表示態様を示す情報とを関連付けて記憶する記憶手段(12)を備えることを特徴とする。   The touch panel device (1) of the present application shows information indicating the pointing tool (2) specified by the specifying means (S12) and a display mode assigned by the assigning means (S14) to the pointing tool (2). Storage means (12) for storing information in association with each other is provided.

本願では、特定した指示具を示す情報と、特定した指示具に割り当てた表示態様を示す情報とを関連付けて管理するため、このような情報を参照することにより、新たに接続された指示具に対して割り当てるべき表示態様を決定することができる。   In the present application, in order to manage the information indicating the specified pointing tool and the information indicating the display mode assigned to the specified pointing tool, by referring to such information, It is possible to determine the display mode to be assigned to the user.

本願のタッチパネル装置(1)は、前記割当手段(S14)が割り当てた表示態様の変更を受付ける受付手段(S16)を備え、該受付手段(S16)は、他の指示具(2)に割り当てられている表示態様への変更を禁止するようにしてあることを特徴とする。   The touch panel device (1) of the present application includes a receiving unit (S16) that receives a change in the display mode assigned by the assigning unit (S14), and the receiving unit (S16) is assigned to another indicator (2). The display mode is prohibited from changing.

本願では、他の指示具に既に割り当てられている表示態様への変更を禁止するため、1つの表示態様が複数の指示具に割り当てられることが回避される。   In this application, in order to prohibit the change to the display mode already assigned to another indicator, it is avoided that one display mode is assigned to a plurality of indicators.

本願のタッチパネル装置(1)は、前記接続手段(13)に接続されている指示具(2)の接続が解除されたか否かを判断する手段(11)と、前記指示具(2)の接続が解除されたと判断した場合、該指示具(2)を示す情報を前記記憶手段(12)から削除する手段とを備えることを特徴とする。   The touch panel device (1) of the present application includes a connection between the pointing tool (2) and a means (11) for determining whether or not the pointing tool (2) connected to the connecting means (13) is disconnected. And a means for deleting information indicating the pointing tool (2) from the storage means (12).

本願では、指示具の接続が解除されたと判断した場合、当該指示具の情報を記憶手段から削除するので、この指示具に割り当てられていた表示態様を別の指示具に割り当てることができる。   In the present application, when it is determined that the connection of the pointing tool has been released, the information on the pointing tool is deleted from the storage means, so the display mode assigned to the pointing tool can be assigned to another pointing tool.

本願のタッチパネル装置(1)は、前記表示態様は、前記軌跡を示す線の線種、線幅及び色の少なくとも1つを含むことを特徴とする。   The touch panel device (1) of the present application is characterized in that the display mode includes at least one of a line type, a line width, and a color of the line indicating the locus.

本願では、接続手段に接続された複数の指示具を用いて手書き入力を行った場合、指示具毎に線種、線幅及び色の少なくとも1つを異ならせることができる。   In the present application, when handwriting input is performed using a plurality of pointing devices connected to the connecting means, at least one of the line type, the line width, and the color can be varied for each pointing tool.

本願のコンピュータプログラムは、コンピュータに、指示具(2)を用いてタッチパネル(1B)上に描かれる手書きの軌跡を表示手段(1A)に表示させるコンピュータプログラムにおいて、前記コンピュータを、複数の指示具(2,2,…)の夫々を特定する特定手段(S12)、及び前記表示手段(1A)に表示する軌跡の表示態様が各指示具(2,2,…)の間で異なるように、前記特定手段(S12)が特定した指示具の夫々に対して、他の指示具(2)に割り当てられている表示態様とは異なる表示態様を割り当てる割当手段(S14)として機能させる。   The computer program of the present application is a computer program for causing a computer to display a handwritten locus drawn on the touch panel (1B) on the touch panel (1B) using the pointing tool (2). 2, 2,..., And the display means of the trajectory displayed on the display means (1 A) are different between the indicators (2, 2,...). Each specifying tool specified by the specifying means (S12) is caused to function as an assigning means (S14) for assigning a display mode different from the display mode assigned to the other pointing tool (2).

本願では、接続手段に接続された複数の指示具の夫々を特定し、特定した指示具の夫々に対して異なる表示態様を割り当てるため、複数のユーザがそれぞれ指示具を用いて手書き入力を行ったとしても、各ユーザにより描画された軌跡を判別することが可能となる。   In the present application, in order to identify each of the plurality of pointing tools connected to the connection means and assign different display modes to each of the identified pointing tools, a plurality of users each performed handwriting input using the pointing tools. However, the trajectory drawn by each user can be determined.

1 タッチパネル装置
1A 表示パネル
1B タッチパネル
2 スタイラスペン
11 主制御部
12 記憶部
13 ペン接続部
14 バックライト制御部
15 表示制御部
16 タッチパネル制御部
20 無線ドングル
DESCRIPTION OF SYMBOLS 1 Touch panel apparatus 1A Display panel 1B Touch panel 2 Stylus pen 11 Main control part 12 Storage part 13 Pen connection part 14 Backlight control part 15 Display control part 16 Touch panel control part 20 Wireless dongle

Claims (6)

複数の指示具を接続する接続手段を備え、該接続手段に接続された指示具を用いて手書き入力を受付け、受付けた手書きの軌跡を表示手段に表示するタッチパネル装置において、
前記接続手段に接続された複数の指示具の夫々を特定する特定手段と、
前記表示手段に表示する軌跡の表示態様が各指示具の間で異なるように、前記特定手段が特定した指示具の夫々に対して、他の指示具に割り当てられている表示態様とは異なる表示態様を割り当てる割当手段と
を備えることを特徴とするタッチパネル装置。
In a touch panel device comprising a connecting means for connecting a plurality of pointing tools, receiving a handwritten input using the pointing tool connected to the connecting means, and displaying the accepted handwriting trajectory on the display means,
Specifying means for specifying each of the plurality of pointing devices connected to the connecting means;
A display different from the display mode assigned to the other pointing tools for each of the pointing tools specified by the specifying means so that the display mode of the trajectory displayed on the display means is different among the pointing tools. An allocating means for allocating a mode.
前記特定手段が特定した指示具を示す情報と、前記割当手段が前記指示具に対して割り当てた表示態様を示す情報とを関連付けて記憶する記憶手段を備えることを特徴とする請求項1に記載のタッチパネル装置。   2. The storage unit according to claim 1, further comprising: a storage unit that stores information indicating the pointing tool specified by the specifying unit and information indicating a display mode allocated to the pointing tool by the allocating unit in association with each other. Touch panel device. 前記割当手段が割り当てた表示態様の変更を受付ける受付手段
を備え、
該受付手段は、他の指示具に割り当てられている表示態様への変更を禁止するようにしてあることを特徴とする請求項2に記載のタッチパネル装置。
Receiving means for accepting a change in display mode assigned by the assigning means;
The touch panel device according to claim 2, wherein the accepting unit prohibits a change to a display mode assigned to another pointing tool.
前記接続手段に接続されている指示具の接続が解除されたか否かを判断する手段と、
前記指示具の接続が解除されたと判断した場合、該指示具を示す情報を前記記憶手段から削除する手段と
を備えることを特徴とする請求項2又は請求項3に記載のタッチパネル装置。
Means for determining whether or not the connection of the pointing device connected to the connection means has been released;
4. The touch panel device according to claim 2, further comprising: a unit that deletes information indicating the pointing tool from the storage unit when it is determined that the connection of the pointing tool is released.
前記表示態様は、前記軌跡を示す線の線種、線幅及び色の少なくとも1つを含むことを特徴とする請求項1から請求項4の何れか1つに記載のタッチパネル装置。   The touch panel device according to any one of claims 1 to 4, wherein the display mode includes at least one of a line type, a line width, and a color of a line indicating the locus. コンピュータに、指示具を用いてタッチパネル上に描かれる手書きの軌跡を表示手段に表示させるコンピュータプログラムにおいて、
前記コンピュータを、
複数の指示具の夫々を特定する特定手段、及び
前記表示手段に表示する軌跡の表示態様が各指示具の間で異なるように、前記特定手段が特定した指示具の夫々に対して、他の指示具に割り当てられている表示態様とは異なる表示態様を割り当てる割当手段
として機能させるためのコンピュータプログラム。
In a computer program for causing a computer to display a handwritten locus drawn on a touch panel using an indicator on a display means,
The computer,
A specifying unit that specifies each of the plurality of pointing tools, and a display mode of a trajectory displayed on the display unit is different for each of the pointing tools specified by the specifying unit. A computer program for causing an assignment unit to assign a display form different from the display form assigned to the pointing device.
JP2014179229A 2014-09-03 2014-09-03 Touch panel device and computer program Active JP6338980B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014179229A JP6338980B2 (en) 2014-09-03 2014-09-03 Touch panel device and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014179229A JP6338980B2 (en) 2014-09-03 2014-09-03 Touch panel device and computer program

Publications (2)

Publication Number Publication Date
JP2016053817A true JP2016053817A (en) 2016-04-14
JP6338980B2 JP6338980B2 (en) 2018-06-06

Family

ID=55744308

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014179229A Active JP6338980B2 (en) 2014-09-03 2014-09-03 Touch panel device and computer program

Country Status (1)

Country Link
JP (1) JP6338980B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009193323A (en) * 2008-02-14 2009-08-27 Sharp Corp Display apparatus
JP2010157098A (en) * 2008-12-26 2010-07-15 Square Enix Co Ltd Communication terminal and communication method
JP2012021911A (en) * 2010-07-15 2012-02-02 Hitachi High-Technologies Corp Specimen processing system
JP2012053526A (en) * 2010-08-31 2012-03-15 Brother Ind Ltd Input control device, input control method and input control program
WO2015189963A1 (en) * 2014-06-12 2015-12-17 株式会社 東芝 System and method for processing stroke data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009193323A (en) * 2008-02-14 2009-08-27 Sharp Corp Display apparatus
JP2010157098A (en) * 2008-12-26 2010-07-15 Square Enix Co Ltd Communication terminal and communication method
JP2012021911A (en) * 2010-07-15 2012-02-02 Hitachi High-Technologies Corp Specimen processing system
JP2012053526A (en) * 2010-08-31 2012-03-15 Brother Ind Ltd Input control device, input control method and input control program
WO2015189963A1 (en) * 2014-06-12 2015-12-17 株式会社 東芝 System and method for processing stroke data

Also Published As

Publication number Publication date
JP6338980B2 (en) 2018-06-06

Similar Documents

Publication Publication Date Title
US10180831B2 (en) Terminal device for downloading and installing an application and method thereof
US9547840B2 (en) Methods for associating objects on a touch screen using input gestures
US8977979B2 (en) Social network relationship mapping
CN106528160B (en) A kind of application program image target adding method and terminal
US20170255357A1 (en) Display control device
US20240118780A1 (en) Information processing device, processing method, and recording medium
JP2018055494A (en) Information processing device, information processing system and information processing method
EP3567837B1 (en) Radio communication system
US9658751B2 (en) Mouse button function setting method and system thereof
US20200371607A1 (en) Information processing device, information processing method, and recording medium
JP6338980B2 (en) Touch panel device and computer program
JP6352803B2 (en) Display system, communication apparatus, and computer program
US10191639B2 (en) Attribute identifier and analyzer tool
JP6600383B2 (en) Display system, communication apparatus, and computer program
CN113419483A (en) Method and device for displaying equipment state, terminal and storage medium
JP6329032B2 (en) Touch panel system and touch panel device
CN105892788A (en) Interface display method and device
JP6483889B2 (en) Touch panel device, touch panel system, information display method and program
US9699720B2 (en) Communication channel selection and communication device management
KR102166431B1 (en) Apparatus and method for controlling devices in a network
JP2017041266A (en) Touch processing device and program
JP2015127971A (en) Touch processing unit and program
JP2024032550A (en) Setting device, setting method, and program
JP2020071643A (en) Information processing device
AU2015202312B2 (en) Terminal device for downloading and installing an application and method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170403

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180122

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180130

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180329

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180417

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180509

R150 Certificate of patent or registration of utility model

Ref document number: 6338980

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150