JPH09146690A - Coordinate data transfer method - Google Patents

Coordinate data transfer method

Info

Publication number
JPH09146690A
JPH09146690A JP32125295A JP32125295A JPH09146690A JP H09146690 A JPH09146690 A JP H09146690A JP 32125295 A JP32125295 A JP 32125295A JP 32125295 A JP32125295 A JP 32125295A JP H09146690 A JPH09146690 A JP H09146690A
Authority
JP
Japan
Prior art keywords
data
coordinate
coordinate data
input device
transmission
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.)
Withdrawn
Application number
JP32125295A
Other languages
Japanese (ja)
Inventor
Osamu Yoshikawa
治 吉川
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.)
SMK Corp
Original Assignee
SMK 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 SMK Corp filed Critical SMK Corp
Priority to JP32125295A priority Critical patent/JPH09146690A/en
Publication of JPH09146690A publication Critical patent/JPH09146690A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

PROBLEM TO BE SOLVED: To transfer all coordinate data without omission even with an infrared remote controller by compressing plural pieces of coordinate data continuously generated from a pointing device through a prescribed compression method and transmitting these data to the main body side of coordinate input device as transmission data for which the data amount is decreased. SOLUTION: It is decided whether the data are prescribed transmission data or not, namely, where a data format is proper or not (step 11) and when the data are decided as prescribed transmission data, it is decided whether these data are 1st data or not (step 12). When the data are decided to be 1st data, the 1st data of format are defined as transmission data (step 13) and transmitted (step 14). When the transmission data are decided to be 2nd data (step 15), on the other hand, relative coordinate data expressing the relative coordinate corresponding to the pointing device are compressed by the prescribed compression method (steps 16 and 17), defined as transmission data by decreasing the data amount, and transmitted (step 14).

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、座標入力装置のポ
インティングデバイスからコンピュータを備えてなる座
標入力装置本体への座標データ転送方法に係り、特に通
信速度の低い通信手段を用いた場合における複数の座標
データの連続的な転送に好適な座標データ転送方法に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of transferring coordinate data from a pointing device of a coordinate input device to a coordinate input device main body including a computer, and more particularly, to a plurality of coordinate data transfer means using a communication means having a low communication speed. The present invention relates to a coordinate data transfer method suitable for continuous transfer of coordinate data.

【0002】[0002]

【従来の技術】従来、座標データの転送は、ポインティ
ングデバイスから座標入力装置のコンピュータへ複数の
座標データを連続して転送する場合においても、x,y
座標値自体をそのまま連続して送っていた。
2. Description of the Related Art Conventionally, coordinate data is transferred by x, y even when a plurality of coordinate data is continuously transferred from a pointing device to a computer of a coordinate input device.
The coordinate values themselves were sent continuously.

【0003】すなわち図3のように、例えばX,Y座標
系の(x1,y1)から図中右斜め上方に向けて線を連続
して描いた場合、(x1,y1),(x2,y2),
(x3,y3),…(xn,yn)のように、通過する座標
値自体を連続的に、そのまま転送していた。これによる
と、いま、4096×4096ドットの領域のタブレッ
トを例に採ると、x,yの各座標値を表わすのに各12
ビット、合わせて24ビット必要となり1つの座標デー
タ(x,y)の送信につき、通常5バイト(スタートビ
ット、ストップビット、パリティビットを各1ビットと
して、10ビット構成)を要していた。
That is, as shown in FIG. 3, for example, when a line is continuously drawn from (x 1 , y 1 ) in the X, Y coordinate system toward the upper right in the figure, (x 1 , y 1 ), (X 2 , y 2 ),
Like (x 3 , y 3 ), ... (x n , y n ), passing coordinate values themselves are continuously transferred as they are. According to this, taking a tablet in an area of 4096 × 4096 dots as an example, 12 tablets are used to represent each coordinate value of x and y.
A total of 24 bits are required, and transmission of one piece of coordinate data (x, y) normally requires 5 bytes (10 bits each consisting of a start bit, a stop bit, and a parity bit).

【0004】下表1は、このような従来方法での5バイ
ト転送におけるデータフォーマットを示す。この表1
は、座標値を2進数で表わしたフォーマットを示してお
り、1バイト10ビットの5バイト構成である。
Table 1 below shows a data format in a 5-byte transfer in such a conventional method. This Table 1
Indicates a format in which coordinate values are represented by a binary number, and has a 5-byte structure of 1 byte and 10 bits.

【0005】[0005]

【表1】 [Table 1]

【0006】表1において、Pはパリティビット、Fは
有効領域指定ビットで、”0”はタブレットが有効座標
読取り可能時にあることを、”1”はタブレットが有効
座標読取り不可能時にあることを、各々表わす。すなわ
ち、Fが”0”であるとき有効データとして扱われる。
X0〜X11(12ビット)は横軸座標値(x)を2進
数表示するビット、Y0〜Y11(12ビット)は縦軸
座標値(y)を2進数表示するビットで、数値の小さい
ほど下位のビットを表わし、X0,Y0が各々最下位を
表わしている。S0,S1はタブレットに設けられたス
イッチ(タブレットスイッチ)で、マウスの場合のボタ
ンスイッチに相当する。
In Table 1, P is a parity bit, F is an effective area designation bit, "0" indicates that the tablet can read effective coordinates, and "1" indicates that the tablet cannot read effective coordinates. , Respectively. That is, when F is "0", it is treated as valid data.
X0 to X11 (12 bits) are bits for displaying the horizontal axis coordinate value (x) in binary number, and Y0 to Y11 (12 bits) are bits for displaying the vertical axis coordinate value (y) in binary number. , And X0 and Y0 respectively represent the least significant bits. S0 and S1 are switches (tablet switches) provided on the tablet and correspond to button switches in the case of a mouse.

【0007】[0007]

【発明が解決しようとする課題】従来方法は、このよう
なフォーマットをもって各々の座標データが構成される
もので、ポインティングデバイスから座標入力装置のコ
ンピュータへ複数(n個)の座標データを連続して転送
する場合、5×n(5の倍数)のバイト数、すなわち1
バイト10ビット構成の場合、10×5×nのビット数
を要することになり、例えばタブレット上で丸を描いた
場合、大量のビット数のデータとなった。
In the conventional method, each coordinate data is constructed in such a format, and a plurality of (n) coordinate data are continuously transmitted from the pointing device to the computer of the coordinate input device. When transferring, the number of bytes is 5 × n (a multiple of 5), that is, 1
In the case of a byte 10-bit structure, a bit number of 10 × 5 × n is required, and when a circle is drawn on a tablet, for example, a large amount of bit data is obtained.

【0008】このことは、複数の連続的に生成された座
標データを、通信速度(bps)の低い通信手段、例え
ば赤外線通信で漏れなく転送し、コンピュータ側でその
座標データの全てを受信できることを意味しないことに
なった。すなわち、通常の座標入力装置におけるポイン
ティングデバイスから座標入力装置本体のコンピュータ
への座標データの転送は、接続ケーブルを介して960
0〜19200bpsの速度で行われている。しかし、
これをワイヤレスで送信しようとすると、赤外線通信で
転送する場合、そのうち低い方の9600bpsという
速度を持つ装置は、特殊なものとなりコスト的にも実用
的でない。一般家電製品における赤外線リモコン等によ
る赤外線通信の場合、100bpsと極めて遅く、コン
ピュータ利用機器における場合でもせいぜい1200又
は2400bpsが上限となる。とすれば、上記960
0bpsという転送速度では実際上、使用できるもので
はない。
This means that a plurality of continuously generated coordinate data can be transferred without omission by a communication means having a low communication speed (bps), for example, infrared communication, and the computer can receive all the coordinate data. It didn't mean anything. That is, the transfer of the coordinate data from the pointing device in the normal coordinate input device to the computer of the main body of the coordinate input device is performed in 960 via the connection cable.
It is performed at a speed of 0 to 19200 bps. But,
When transmitting this wirelessly, when transferring by infrared communication, the device having the lower speed of 9600 bps becomes a special one and is not practical in terms of cost. In the case of infrared communication using an infrared remote controller or the like in general household appliances, it is extremely slow at 100 bps, and even in the case of a computer-using device, the maximum is 1200 or 2400 bps. If so, the above 960
The transfer rate of 0 bps is practically unusable.

【0009】従来方法では、上記のように1バイト10
ビット構成で5バイト、すなわち50ビットを1つの座
標データに必要とする。いま、2400bpsを50ビ
ットで割ると約48となる。つまり、1秒間に約48個
(箇所)の座標データを送るのが上限となる。これを1
00bpsに落とした場合には、その24分の1の2個
(箇所)の座標データを送るのが上限となる。1秒間当
たりの転送可能座標データの数がこのように少なくなる
と、転送データの受信側コンピュータにおいて受信デー
タの欠落が生じ、例えばタブレット上で丸を描いたのに
データ欠落により四角形等、多角形に表示されたりし、
座標入力装置としては致命的な欠陥となった。
In the conventional method, 1 byte 10 is used as described above.
Bit coordinate requires 5 bytes, that is, 50 bits for one coordinate data. Now, when 2400 bps is divided by 50 bits, it becomes about 48. That is, the upper limit is to send about 48 (locations) coordinate data per second. This one
When the data is dropped to 00 bps, the upper limit is to send two pieces (coordinates) of 1/24 of the coordinate data. When the number of transferable coordinate data per second becomes small like this, the reception side computer of the transfer data loses the reception data. For example, even though a circle is drawn on the tablet, the data is lost to form a polygon such as a rectangle. It is displayed,
It was a fatal defect as a coordinate input device.

【0010】本発明は、複数の連続的に生成された座標
データを、通信速度の低い通信手段、例えば赤外線リモ
コンでもその全てを漏れなく転送し、座標入力装置本体
側で受信することのできる座標データ転送方法を提供す
ることを目的とする。
According to the present invention, a plurality of continuously generated coordinate data can be completely transferred even by a communication means having a low communication speed, for example, an infrared remote controller, and the coordinates can be received by the main body of the coordinate input device. The purpose is to provide a data transfer method.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するため
に請求項1の座標データ転送方法は、座標入力装置のポ
インティングデバイスからコンピュータを備えてなる座
標入力装置本体への座標データ転送方法において、前記
ポインティングデバイスからの複数の連続的に生成され
た座標データを所定の圧縮法で圧縮し、データ量を減少
させて前記座標入力装置本体側に送信することを特徴と
する。
In order to achieve the above object, a coordinate data transfer method according to a first aspect of the present invention is a coordinate data transfer method from a pointing device of a coordinate input device to a coordinate input device main body comprising a computer, It is characterized in that a plurality of continuously generated coordinate data from the pointing device is compressed by a predetermined compression method to reduce the data amount and transmitted to the coordinate input device main body side.

【0012】ポインティングデバイス(送信側)からの
複数の連続的に生成された座標データを圧縮し、データ
量を減少させて座標入力装置本体側(受信側)に送信す
れば、通信速度(bps)を上げることなくポインティ
ングデバイスで生成された複数の連続する座標データの
全てを座標入力装置本体側に送信可能である。これによ
り、通信速度(bps)の低い通信手段、例えば赤外線
通信でも複数の連続する座標データの全てを漏れなく座
標入力装置本体側で受信可能となる。
If a plurality of continuously generated coordinate data from the pointing device (transmission side) is compressed and the data amount is reduced and transmitted to the coordinate input device main body side (reception side), the communication speed (bps) is obtained. All of the plurality of continuous coordinate data generated by the pointing device can be transmitted to the coordinate input device main body side without raising. As a result, even in a communication means having a low communication speed (bps), for example, infrared communication, all of a plurality of continuous coordinate data can be received by the coordinate input device body side without omission.

【0013】ここで、座標入力装置本体側で受信した圧
縮座標データは伸張して圧縮前の座標データに復元され
る。
Here, the compressed coordinate data received by the main body of the coordinate input device is expanded and restored to the uncompressed coordinate data.

【0014】請求項2の座標データ転送方法は、連続し
て生成された座標データを、生成順にDn-2、Dn-1、D
n(nは3以上の自然数)としたときに、座標データD
n-2、Dn-1、Dnを、(Dn−Dn-1)−(Dn-1
n-2)により圧縮して送信データTnとしたことを特徴
とする。
According to a second aspect of the present invention, there is provided a coordinate data transfer method, wherein the coordinate data generated continuously is arranged in the order of generation D n-2 , D n-1 , D.
When n (n is a natural number of 3 or more), coordinate data D
n-2 , D n-1 , and D n are represented by (D n -D n-1 )-(D n-1-
It is characterized in that it is compressed by D n-2 ) to form transmission data T n .

【0015】(Dn−Dn-1)と(Dn-1−Dn-2)は、そ
れぞれ連続して生成された二つの座標データ間の相対移
動量を表している。従って、送信データTnは、これら
の相対移動量の変化分を表しているが、座標入力装置に
よる操作は、通常等速度で行われるので、相対移動量の
変化分は、座標データに比べて極めて小さい。つまり、
座標データを表すためのビット数に比べて、少ないビッ
ト数のデータでこれを表すことができ、一方、連続して
生成される座標データを、少ないビット数の相対移動量
の変化分を表す送信データによって送信しても支障が生
じない。
(D n -D n-1 ) and (D n-1 -D n-2 ) respectively represent the relative movement amount between two consecutively generated coordinate data. Therefore, the transmission data T n represents the change amount of these relative movement amounts, but since the operation by the coordinate input device is normally performed at a constant speed, the change amount of the relative movement amount is larger than that of the coordinate data. Extremely small. That is,
Compared to the number of bits used to represent coordinate data, this can be represented by data that has a smaller number of bits, while coordinate data that is continuously generated is transmitted that represents the amount of change in the relative movement amount that has a smaller number of bits. No problem occurs even if it is sent by data.

【0016】[0016]

【発明の実施の形態】以下、図面を参照して本発明の実
施例を説明するが、ここでも、図3のように、例えば
X,Y座標系の(x1,y1)から図中右斜め上方に向け
て線を連続して描いた場合について説明する。この場合
の通過する座標値を、第1番目は(x1,y1)、第2番
目は(x2,y2)、第3番目は(x3,y3)、第n番目
は(xn,yn)とし、これらの座標データ(順に第1デ
ータ、第2データ、第3データ、第nデータという)が
ポインティングデバイスから連続的に生成されたものと
する。またここでも、ポインティングデバイスとして4
096×4096ドットの領域のタブレットを例に採っ
て説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. Here, as shown in FIG. 3, for example, from (x 1 , y 1 ) in the X, Y coordinate system, A case where a line is continuously drawn diagonally to the upper right will be described. The coordinate values passed in this case are as follows: the first is (x 1 , y 1 ), the second is (x 2 , y 2 ), the third is (x 3 , y 3 ), and the nth is ( x n , y n ), and these coordinate data (first data, second data, third data, nth data in this order) are continuously generated from the pointing device. Again, as a pointing device, 4
Description will be given taking a tablet in the area of 096 × 4096 dots as an example.

【0017】このような場合において、第1データは、
従来方法と同様に(x1,y1)を絶対座標で表わす絶対
座標データとする。すなわち、x1,y1の座標値を表わ
すのに各12ビット、合わせて24ビットとし、この1
つの座標データ(x1,y1)の送信につき5バイト(1
バイト10ビット構成、以下同じ)構成とし、表1と同
様のデータフォーマットで転送する。
In such a case, the first data is
Similarly to the conventional method, (x 1 , y 1 ) is set as absolute coordinate data represented by absolute coordinates. That is, 12 bits each are used to represent the coordinate values of x 1 and y 1 , and a total of 24 bits are used.
5 bytes (1 for each coordinate data (x 1 , y 1 ) transmission
The data is transferred in the same data format as in Table 1 with a byte 10-bit structure (hereinafter the same).

【0018】第2データは、(x1,y1)に対する相対
座標(x2,y2)を表わす相対座標(座標変化分ΔA)
データとする。すなわち、x2,y2をx2=x2−x1
2=y2−y1で各々求め、このx2,y2の座標値を表
わすのに各5ビット、合わせて10ビットとし、この1
つの圧縮座標データ(x2,y2)の送信につき3バイト
構成とし、下表2に示すデータフォーマットで転送す
る。
The second data is relative coordinates (coordinate change ΔA) that represents relative coordinates (x 2 , y 2 ) with respect to (x 1 , y 1 ).
Data. That is, x 2 , y 2 is replaced by x 2 = x 2 −x 1 ,
y 2 = y 2 −y 1 , each of which is 5 bits to represent the coordinate value of x 2 and y 2 , and a total of 10 bits.
Each compressed coordinate data (x 2 , y 2 ) is composed of 3 bytes and is transferred in the data format shown in Table 2 below.

【0019】[0019]

【表2】 [Table 2]

【0020】第3データは、(x2,y2)に対する(x
3,y3)の座標変化分が、(x1,y1)に対する
(x2,y2)の座標変化分ΔAに対してどのくらい変化
したか、すなわち、x3={(x3−x2)−(x2
1)}=x3−2x2+x1,y3={(y3−y2)−
(y2−y1)}=y3−2y2+y1(加速度Δ2A)を各
々求め、このx3,y3の座標値を表わすのに各3ビッ
ト、合わせて6ビットとし、この1つの圧縮座標データ
(x3,y3)の送信につき2バイト構成とし、下表3に
示すデータフォーマットで転送する。なお、表2,表3
における数字,記号等において表1の数字,記号等と同
一のものは各々同一内容を示す。
The third data is (x 2 , y 2 ) with respect to (x
How much the coordinate change of ( 3 , y 3 ) changes with respect to the coordinate change ΔA of (x 2 , y 2 ) with respect to (x 1 , y 1 ), that is, x 3 = {(x 3 −x 2) - (x 2 -
x 1)} = x 3 -2x 2 + x 1, y 3 = {(y 3 -y 2) -
(Y 2 −y 1 )} = y 3 −2y 2 + y 1 (acceleration Δ 2 A) is obtained, and 3 bits are used to represent the coordinate values of x 3 and y 3 , and a total of 6 bits are used. Each compressed coordinate data (x 3 , y 3 ) is composed of 2 bytes and is transferred in the data format shown in Table 3 below. In addition, Table 2 and Table 3
The same numerals and symbols as those in Table 1 indicate the same contents.

【0021】[0021]

【表3】 [Table 3]

【0022】第4データ以降は、更に微分して行き、得
られた値を圧縮座標データとして転送するようにしても
よいが、ここでは、第3データと同様に直前の2つの座
標値からの加速度Δ2Aを求め、同様に表3に示すデー
タフォーマットで転送する。
The fourth and subsequent data may be further differentiated and the obtained values may be transferred as compressed coordinate data, but here, as with the third data, the two coordinate values immediately preceding are used. The acceleration Δ 2 A is obtained and similarly transferred in the data format shown in Table 3.

【0023】なお、第2データのx2,y2の座標値を表
わすのに各5ビットとし、第3データのx3,y3の座標
値を表わすのに各3ビットとしたのは、1024×10
24ドットの領域のタブレットにおいて座標データの連
続的な生成があった場合において、上記圧縮法による演
算結果を各ビットに出力するとき、上記のビット数があ
れば実用上、オーバーフローする虞がないからである。
また、第4データ以降も第3データと同様の演算による
圧縮座標データとしたのは、第3データにおいて既に座
標値を表わすのに各3ビットとなっており、各3ビット
あれば通信速度(bps)の低い通信手段、例えば赤外
線通信でも圧縮座標データを漏れなくポインティングデ
バイスから送信可能、かつ座標入力装置本体側で受信可
能となり、所期の目的を達成できるからである。
Note that each of the x 2 and y 2 coordinate values of the second data has 5 bits, and each of the x 3 and y 3 coordinate values of the third data has 3 bits. 1024 x 10
In the case where the coordinate data is continuously generated in the tablet of the 24 dot area, when the calculation result by the compression method is output to each bit, if there is the above number of bits, there is no possibility of overflow in practical use. Is.
Also, the reason why the compressed coordinate data after the fourth data is calculated by the same operation as the third data is that each third bit has 3 bits to represent the coordinate value, and if each 3 bits, the communication speed ( This is because the compressed coordinate data can be transmitted from the pointing device without omission even by a communication means having a low bps), for example, infrared communication, and can be received by the coordinate input device main body side, and the intended purpose can be achieved.

【0024】以下、上記のような圧縮法,データフォー
マットによる本発明の座標データ転送方法の実施例を図
1,図2を参照して説明する。
An embodiment of the coordinate data transfer method of the present invention using the above compression method and data format will be described below with reference to FIGS.

【0025】図1は本発明方法の第1実施例を示すフロ
ーチャートである。この図1において、ステップ11で
は所定の送信データか否か、すなわちデータフォーマッ
トが適正か否か、またポインティングデバイスによる指
示座標が有効領域内のものか否か等を判定する。この判
定は、データフォーマットについては表1〜表3に適合
するかで行う。また、指示座標が有効領域内のものかに
ついては表1〜表3のデータフォーマット中のFが”
0”か否かで判定する。”0”であれば有効領域内のも
のと判断する。データフォーマットが表1〜表3のいず
れにも適合しなかったり、Fが”0”でなければステッ
プ11を繰り返す。所定の送信データであると判定され
れば、ステップ12に進む。
FIG. 1 is a flow chart showing a first embodiment of the method of the present invention. In FIG. 1, in step 11, it is determined whether or not it is predetermined transmission data, that is, whether or not the data format is proper, and whether or not the coordinate pointed by the pointing device is within the effective area. This determination is made based on whether the data format conforms to Tables 1 to 3. Also, regarding whether the designated coordinates are within the effective area, F in the data format of Tables 1 to 3 is "
It is judged by whether it is 0 ". If it is" 0 ", it is judged that it is in the effective area. If the data format does not conform to any of Tables 1 to 3 or F is" 0 ", step Repeat step 11. If it is determined that the data is the predetermined transmission data, the process proceeds to step 12.

【0026】ステップ12では、送信データが第1デー
タであるか否かを判定する。この判定は、表1〜表3中
のPh=1をカウントすることにより行う。カウント値
nが1(n=1)であれば第1データであると判定さ
れ、ステップ13に進む。ステップ13では、表1に示
すフォーマットの第1データDn(n=1)を送信デー
タTn(n=1)とし、ステップ14でその送信を行
う。
In step 12, it is determined whether the transmission data is the first data. This determination is performed by counting Ph = 1 in Tables 1 to 3. If the count value n is 1 (n = 1), it is determined to be the first data, and the process proceeds to step 13. In step 13, the first data D n (n = 1) in the format shown in Table 1 is set as the transmission data T n (n = 1), and the transmission is performed in step 14.

【0027】第1データの送信が終了するとステップ1
1に戻り、前回と同様に所定の送信データか否かが判定
され、所定の送信データであればステップ12に進む。
ここで、今回のデータは第2データであるので、ステッ
プ12からステップ15に移る。ステップ15では第2
データであるか否かが判定されるが、判定結果はY(Y
es)であるので、ステップ16に進む。
When the transmission of the first data is completed, step 1
Returning to step 1, it is determined whether or not it is the predetermined transmission data as in the previous time. If the predetermined transmission data, the process proceeds to step 12.
Here, since the current data is the second data, the process moves from step 12 to step 15. Second in step 15
Whether or not it is data is determined, but the determination result is Y (Y
es), the process proceeds to step 16.

【0028】ステップ16では、表2に示すフォーマッ
トの第2データ、すなわち(x1,y1)に対する相対座
標(x2,y2)を表わす相対座標(座標変化分ΔA)デ
ータを内容とするデータDn−Dn-1を送信データT
n(n=2)とし、ステップ14でその送信を行う。
In step 16, the second data in the format shown in Table 2, that is, the relative coordinate (coordinate change ΔA) data representing the relative coordinate (x 2 , y 2 ) with respect to (x 1 , y 1 ) is contained. data D n -D n-1 transmission data T
It is set to n (n = 2), and the transmission is performed in step 14.

【0029】第2データの送信が終了するとステップ1
1に戻り、前回と同様に所定の送信データか否かが判定
され、所定の送信データであればステップ12に進む。
ここで、今回のデータは第3データであるので、ステッ
プ12からステップ15に移る。ステップ15では第2
データであるか否かが判定されるが、判定結果はN(N
o)であるので、ステップ17に進む。ステップ17で
は、表3に示すフォーマットの第3データ、すなわち、
(x2,y2)に対する(x3,y3)の座標変化分が、
(x1,y1)に対する(x2,y2)の座標変化分に対し
てどのくらい変化したか、すなわち加速度(Δ2A)デ
ータを内容とするデータDn−2Dn-1+Dn-2を送信デ
ータTn(n=3)とし、ステップ14でその送信を行
う。
When the transmission of the second data is completed, step 1
Returning to step 1, it is determined whether or not it is the predetermined transmission data as in the previous time. If the predetermined transmission data, the process proceeds to step 12.
Here, since the current data is the third data, the process moves from step 12 to step 15. Second in step 15
Whether or not it is data is determined, but the determination result is N (N
o), the process proceeds to step 17. In step 17, the third data in the format shown in Table 3, that is,
The coordinate change of (x 3 , y 3 ) with respect to (x 2 , y 2 ) is
(X 1, y 1) with respect to (x 2, y 2) how much has changed with respect to the coordinates change in, that data acceleration (delta 2 A) data contents D n -2D n-1 + D n- 2 is set as transmission data T n (n = 3), and the transmission is performed in step 14.

【0030】第3データの送信が終了するとステップ1
1に戻り、前回と同様に所定の送信データか否かが判定
されるが、その判定結果がYである場合で、かつその送
信データが第4データ以降のデータであるときには、上
述第3データの場合と同様に処理され、ステップ14で
その送信が行われる。この場合、nは今回、n−1は前
回、n−2は前々回を意味する。
When the transmission of the third data is completed, step 1
Returning to 1, it is determined whether or not the transmission data is the predetermined transmission data as in the previous time. If the determination result is Y and the transmission data is the data after the fourth data, the third data The processing is performed in the same manner as in the above case, and the transmission is performed in step 14. In this case, n means this time, n-1 means the last time, and n-2 means the last time before.

【0031】以上の座標データ転送方法によると、第1
データの転送には5バイト(50ビット)、第2データ
の転送には3バイト(30ビット)、第3データ以降の
転送には2バイト(20ビット)のデータ量となり、例
えば座標データが連続して4つ(4箇所)生成した場合
には、合わせて12バイト(120ビット)のデータ量
となる。これを従来方法と比較すれば、従来方法では、
バイト数は5の倍数となるので、4つの座標データの連
続で20バイト(200ビット)となり、上述本発明方
法により転送データ量は大きく減少(8バイト,80ビ
ット減少)することが分かる。したがって、これを座標
入力装置本体側に送信すれば、通信速度(bps)を上
げることなく、ポインティングデバイスで生成された連
続する座標データの全てを座標入力装置本体側に送信可
能であり、これにより、通信速度(bps)の低い通信
手段、例えば赤外線通信でも、連続する座標データの全
てを漏れなく座標入力装置本体側で受信可能となる。転
送データ量の減少の程度は、座標データの連続数が多く
なるほど増大し、その効果は更に顕著なものとなる。
According to the coordinate data transfer method described above, the first
The amount of data is 5 bytes (50 bits) for transferring data, 3 bytes (30 bits) for transferring the second data, and 2 bytes (20 bits) for transferring the third and subsequent data. For example, coordinate data is continuous. When four data (4 locations) are generated, the total data amount is 12 bytes (120 bits). Comparing this with the conventional method, in the conventional method,
Since the number of bytes is a multiple of 5, it becomes 20 bytes (200 bits) in succession of four coordinate data, and it can be seen that the transfer data amount is greatly reduced (8 bytes, 80 bits) by the method of the present invention. Therefore, if this is transmitted to the main body of the coordinate input device, all the continuous coordinate data generated by the pointing device can be transmitted to the main body of the coordinate input device without increasing the communication speed (bps). Even in a communication means having a low communication speed (bps), for example, infrared communication, all the continuous coordinate data can be received by the main body of the coordinate input device without omission. The degree of decrease in the amount of transferred data increases as the number of continuous coordinate data increases, and the effect becomes more remarkable.

【0032】図2は、図1の圧縮法を用いて送信された
圧縮座標データ(座標入力装置本体側(受信側)におい
て受信した圧縮座標データ)に対して伸張処理し、圧縮
前の座標データに復元する場合のフローチャートであ
る。この図から分かるように、ステップ21では所定の
受信データか否かを判定する。この判定は、データフォ
ーマットについては表1〜表3に適合するかで行う。所
定の受信データでない(N:No)と判定されるとステ
ップ21を繰り返す。所定の送信データであると判定さ
れれば、ステップ22に進む。
FIG. 2 shows the coordinate data before compression, which is obtained by expanding the compressed coordinate data (compressed coordinate data received on the coordinate input device main body side (reception side)) transmitted using the compression method of FIG. It is a flowchart in the case of restoring to. As can be seen from this figure, in step 21, it is determined whether or not the received data is predetermined. This determination is made based on whether the data format conforms to Tables 1 to 3. If it is determined that the received data is not the predetermined received data (N: No), step 21 is repeated. If it is determined that the data is the predetermined transmission data, the process proceeds to step 22.

【0033】ステップ22,25では送信データが第1
データ,第2データであるか否かを各々判定するが、判
定結果がステップ22においてY(Yes)、ステップ
25においてY,Nの場合は、送信側での処理とは逆の
手順の処理を行い、圧縮座標データを伸張し、圧縮前の
座標データに復元する(ステップ23,24,26,2
7参照)。
In steps 22 and 25, the transmission data is the first
Whether the data is the second data or not is determined. If the determination result is Y (Yes) in step 22 and Y, N in step 25, the process reverse to the process on the transmission side is performed. The compressed coordinate data is expanded and restored to the uncompressed coordinate data (steps 23, 24, 26, 2).
7).

【0034】なお圧縮法としては、上述実施例(第1実
施例)のように、第2データは、第1データの座標デー
タ(x1,y1)に対する第2データの座標データ
(x2,y2)の座標変化分ΔAをその圧縮座標データ内
容とし、第3データは、加速度Δ2Aをその圧縮座標デ
ータ内容とし、更に第4データ以降も加速度Δ2Aをそ
の圧縮座標データ内容とする方法の他、以下の方法があ
る。すなわち、生成された座標データの今回の値と前回
の値の変化分ΔAを今回転送するデータ(第nデータ)
の圧縮座標データ内容とする圧縮法(第2実施例)、あ
るいは上述実施例と第3データまでは同じで、第4デー
タ以降も第3データまでと同様に、更に高次の微分値
(変化分)Δ3A,Δ4A,…ΔnAをその圧縮座標デー
タ内容とする方法(第3実施例)等がある。これらの圧
縮法のうち、データ量の減少は、第2実施例、第1実施
例、第3実施例の順で大きくなるが、いずれの圧縮法に
あっても、データ量が5の倍数で増えて行く従来方法に
比較して大幅に減少させることができる。ここで、いず
れの圧縮法にあっても第1データは変化分が生じないの
で、従来方法と同様に(x1,y1)を絶対座標で表わす
絶対座標データを転送する。
As the compression method, as in the above-described embodiment (first embodiment), the second data is the coordinate data (x 2 of the second data with respect to the coordinate data (x 1 , y 1 ) of the first data. , Y 2 ) coordinate change amount ΔA is the compressed coordinate data content, the third data is the acceleration Δ 2 A that is the compressed coordinate data content, and the acceleration data Δ 2 A is the compressed coordinate data content that is the fourth and subsequent data. In addition to the above method, there are the following methods. That is, the data (nth data) for transferring the change ΔA between the current value and the previous value of the generated coordinate data this time.
The same is true for the compression method (second embodiment) having the contents of the compressed coordinate data, or the third embodiment up to the third embodiment, and the fourth data and subsequent data have the same higher differential value (change) as the third data. Min) Δ 3 A, Δ 4 A, ... Δ n A is used as the compressed coordinate data contents (third embodiment). Among these compression methods, the decrease in the data amount increases in the order of the second embodiment, the first embodiment, and the third embodiment, but in any compression method, the data amount is a multiple of 5. It can be greatly reduced as compared with the increasing conventional method. Here, since no change occurs in the first data in any compression method, the absolute coordinate data representing (x 1 , y 1 ) in absolute coordinates is transferred as in the conventional method.

【0035】[0035]

【発明の効果】以上説明したように本発明によれば、ポ
インティングデバイスからの複数の連続的に生成された
座標データを所定の圧縮法で圧縮し、データ量を減少さ
せて座標入力装置本体側に送信するようにしたので、通
信速度(bps)を上げることなくポインティングデバ
イスで生成された複数の連続する座標データの全てを座
標入力装置本体側に送信可能となり、これにより、通信
速度(bps)の低い通信手段、例えば赤外線通信でも
複数の連続する座標データの全てを漏れなく座標入力装
置本体側で受信可能となるという効果がある。
As described above, according to the present invention, a plurality of continuously generated coordinate data from a pointing device is compressed by a predetermined compression method to reduce the amount of data and the main body of the coordinate input device side. Since all of the plurality of continuous coordinate data generated by the pointing device can be transmitted to the main body of the coordinate input device without increasing the communication speed (bps), the communication speed (bps) can be transmitted. Even in the case of low communication means such as infrared communication, there is an effect that all of a plurality of continuous coordinate data can be received by the coordinate input device main body side without omission.

【0036】[0036]

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明方法の一実施例を示すフローチャートで
ある。
FIG. 1 is a flowchart showing an embodiment of the method of the present invention.

【図2】本発明方法により圧縮された座標座標データの
座標入力装置本体側(受信側)における伸張処理を示す
フローチャートである。
FIG. 2 is a flowchart showing a decompression process on the coordinate input device body side (reception side) of coordinate coordinate data compressed by the method of the present invention.

【図3】X,Y座標系(タブレット)のある座標から右
斜め上方に向けて線を連続して描いた場合に通過する座
標値を模式的に示した図である。
FIG. 3 is a diagram schematically showing coordinate values passing when a line is continuously drawn diagonally upward to the right from a certain coordinate in an X, Y coordinate system (tablet).

【符号の説明】[Explanation of symbols]

16 第2データの圧縮ステップ 17 第3データ及びそれ以降のデータの圧縮ステッ
16 second data compression step 17 third data and subsequent data compression steps

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 座標入力装置のポインティングデバイス
からコンピュータを備えてなる座標入力装置本体への座
標データ転送方法において、前記ポインティングデバイ
スからの連続して生成された複数の座標データを所定の
圧縮法で圧縮し、データ量を減少させた送信データとし
て前記座標入力装置本体側に送信することを特徴とする
座標データ転送方法。
1. A method for transferring coordinate data from a pointing device of a coordinate input device to a main body of a coordinate input device comprising a computer, wherein a plurality of continuously generated coordinate data from the pointing device is compressed by a predetermined compression method. A coordinate data transfer method, characterized in that the data is compressed and transmitted as transmission data with a reduced data amount to the coordinate input device body side.
【請求項2】 連続して生成された座標データを、生成
順にDn-2、Dn-1、Dn(nは3以上の自然数)とした
ときに、座標データDn-2、Dn-1、Dnを、(Dn−D
n-1)−(Dn-1−Dn-2)により圧縮して送信データTn
としたことを特徴とする請求項1記載の座標データ転送
方法。
2. A method coordinate data which are successively produced, the order of generation when the D n-2, D n- 1, D n (n is a natural number of 3 or more), the coordinate data D n-2, D n−1 and D n are represented by (D n −D
n-1 )-(D n-1 -D n-2 ) and the transmitted data T n is compressed.
The coordinate data transfer method according to claim 1, wherein
JP32125295A 1995-11-16 1995-11-16 Coordinate data transfer method Withdrawn JPH09146690A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32125295A JPH09146690A (en) 1995-11-16 1995-11-16 Coordinate data transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32125295A JPH09146690A (en) 1995-11-16 1995-11-16 Coordinate data transfer method

Publications (1)

Publication Number Publication Date
JPH09146690A true JPH09146690A (en) 1997-06-06

Family

ID=18130510

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32125295A Withdrawn JPH09146690A (en) 1995-11-16 1995-11-16 Coordinate data transfer method

Country Status (1)

Country Link
JP (1) JPH09146690A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000054143A (en) * 2000-05-24 2000-09-05 도정인 A communication method using electric ink method
JP2003084913A (en) * 2001-09-10 2003-03-20 Sharp Corp Touch panel controlling method
JP2004213411A (en) * 2003-01-06 2004-07-29 Kddi Corp Paper medium utilization information system, mobile terminal and paper medium utilization information program
KR100443694B1 (en) * 2001-12-24 2004-08-09 주식회사 디오텍 A formatting method for digital ink data and data communication method using digital ink data

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000054143A (en) * 2000-05-24 2000-09-05 도정인 A communication method using electric ink method
JP2003084913A (en) * 2001-09-10 2003-03-20 Sharp Corp Touch panel controlling method
JP4615164B2 (en) * 2001-09-10 2011-01-19 シャープ株式会社 Touch panel control method
KR100443694B1 (en) * 2001-12-24 2004-08-09 주식회사 디오텍 A formatting method for digital ink data and data communication method using digital ink data
JP2004213411A (en) * 2003-01-06 2004-07-29 Kddi Corp Paper medium utilization information system, mobile terminal and paper medium utilization information program

Similar Documents

Publication Publication Date Title
EP0848518A3 (en) Method and apparatus for generating a hash value
EP2572268A1 (en) Processing updates of an image for transmission from a first terminal to a second terminal
CN110505218B (en) Grid data self-adaptive compression transmission method based on JSON and computer storage medium
US20020194213A1 (en) Information transmitting/receiving system, information transmitting/receiving method, and handwritten information compressing method used for them
CN112506879A (en) Data processing method and related equipment
CN102007772A (en) System and method for separated image compression
EP0026267B1 (en) Method and apparatus for compressing and decompressing strings of electrical binary data bits
JPH09146690A (en) Coordinate data transfer method
CN107346119A (en) Cooperative control method, apparatus and system
JPH02108119A (en) Data compressing device
JP5130839B2 (en) Image information compression and transfer method and image transfer apparatus
WO2003034322A1 (en) Lossless variable-bit signature compression
JPH036924A (en) Terminal equipment
JP3234622B2 (en) Graph display compression processing method
EP1335574A1 (en) Information transmitting/receiving system, information transmitting/receiving method, and handwritten information compressing method used for them
US20040130733A1 (en) Image formation apparatus, image formation method, and program
JPS61208371A (en) Compression encoding circuit for image data
CN112529088A (en) Embedded heterogeneous display fusion system
CN116599942A (en) Image processing method and device for virtual desktop, server side and storage medium
JPH0347532B2 (en)
JPS62175057A (en) Terminal equipment
JPH0255426A (en) Mh compression data storage processing system
JPS63303544A (en) System for compressing and transmitting screen image
JPH03294995A (en) Trend data transmission display device
JPH03105570A (en) Drawing coding system and drawing communication device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20031216

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20040108