Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5239283B2 - Terminal device and program used therefor - Google Patents
[go: Go Back, main page]

JP5239283B2 - Terminal device and program used therefor - Google Patents

Terminal device and program used therefor Download PDF

Info

Publication number
JP5239283B2
JP5239283B2 JP2007258187A JP2007258187A JP5239283B2 JP 5239283 B2 JP5239283 B2 JP 5239283B2 JP 2007258187 A JP2007258187 A JP 2007258187A JP 2007258187 A JP2007258187 A JP 2007258187A JP 5239283 B2 JP5239283 B2 JP 5239283B2
Authority
JP
Japan
Prior art keywords
electronic pen
distance
handwriting
coordinate data
terminal 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.)
Expired - Fee Related
Application number
JP2007258187A
Other languages
Japanese (ja)
Other versions
JP2009086469A (en
Inventor
政敬 今井
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP2007258187A priority Critical patent/JP5239283B2/en
Publication of JP2009086469A publication Critical patent/JP2009086469A/en
Application granted granted Critical
Publication of JP5239283B2 publication Critical patent/JP5239283B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Instructional Devices (AREA)
  • Measurement Of Distances Traversed On The Ground (AREA)

Description

本発明は、地理的情報提供システムの技術分野に属し、詳しくは、電子ペンにより電子ペン用媒体等に印刷された地図上の距離情報を提供する技術に関するものである。   The present invention belongs to the technical field of a geographical information providing system, and particularly relates to a technology for providing distance information on a map printed on an electronic pen medium or the like by an electronic pen.

近年、「電子ペン」、「デジタルペン」などと呼ばれるペン型入力デバイスが登場しており(以下、本明細書では「電子ペン」と呼ぶ。)、その代表的なものとしてスウェーデンのAnoto 社が開発した「アノトペン(Anoto pen )」が知られている(特許文献1参照)。アノトペンは、所定のドットパターンが印刷された専用紙と共に使用される。アノトペンは、通常のインクタイプのペン先部に加えて、専用紙上のドットパターンを読み取るための小型カメラと、データ通信ユニットを搭載している。利用者が専用紙上にアノトペンで文字などを書いたり、専用紙上に図案化されている画像にチェックマークを記入したりすると、ペンの移動に伴って小型カメラが専用紙に印刷されたドットパターンを検出し、利用者が書き込んだ文字、画像などの記入情報が取得される。この記入情報が、データ通信ユニットによりアノトペンから近くのパーソナルコンピュータや携帯電話などの端末装置に送信される。このアノトペンを利用したシステムは、キーボードに代わる入力デバイスとして利用することが可能であり、上述のパーソナルコンピュータやキーボードの使用に抵抗がある利用者にとっては非常に使いやすい。そのため、現在、各種ビジネス上の書類、申込書、契約書等に記入されたデータをデジタル化する手法として、電子ペンを利用したシステムが普及しつつある(例えば、特許文献2)。   In recent years, pen-type input devices called “electronic pens” and “digital pens” have appeared (hereinafter referred to as “electronic pens” in this specification). The developed “Anoto pen” is known (see Patent Document 1). Anotopen is used with special paper on which a predetermined dot pattern is printed. In addition to the normal ink-type pen tip, the Anoto pen is equipped with a small camera for reading the dot pattern on the dedicated paper and a data communication unit. When a user writes characters on the special paper with an annotation pen, or puts a check mark on the image designed on the special paper, the small camera displays the dot pattern printed on the special paper as the pen moves. Entry information such as characters and images detected and written by the user is acquired. This entry information is transmitted from the Anotopen by the data communication unit to a terminal device such as a nearby personal computer or mobile phone. The system using this anotopen can be used as an input device in place of the keyboard, and is very easy to use for users who are reluctant to use the personal computer and keyboard described above. Therefore, as a method for digitizing data entered in various business documents, application forms, contracts, etc., a system using an electronic pen is becoming widespread (for example, Patent Document 2).

本出願人は、Anoto 社の技術に見られるような電子ペンを用い、地図が印刷されている上記専用紙上で、利用者が上記電子ペンで出発地と目的地とを指定すると、出発地から目的地までの経路と、当該経路の距離情報を提供する地理的情報提供システムを提案している(特許文献3参照)。本出願人の提案以前においても、建設現場や測量会社、地図会社において、図面から長さ等を求める場面が多くあるため、デジタイザによる座標入力装置を用い、スタイラスペンによってパネルをヒットして座標値を入力することで、例えば建築図面における長さを求める技術が提案されている(特許文献4参照)。また、特開平7−121698号公報(特許文献5)には、手書きデータのサンプリングを、データと最大離間距離があらかじめ設定されたしきい値を越えないようにスプライン曲線で近似する方法が開示されている。すなわち、スプライン補間した曲線とデータの最大距離がしきい値以上になっていれば、その距離を与えたデータを節点として新たに加え、スプライン補間する手法である。   The applicant uses an electronic pen, such as that found in Anoto's technology, on the dedicated paper on which the map is printed. A geographical information providing system that provides a route to a destination and distance information of the route has been proposed (see Patent Document 3). Even before the applicant's proposal, construction sites, surveying companies, and map companies often find the length, etc. from the drawings. Use a coordinate input device with a digitizer and hit the panel with a stylus pen to obtain the coordinate value. For example, a technique for obtaining a length in an architectural drawing has been proposed (see Patent Document 4). Japanese Patent Application Laid-Open No. 7-121698 (Patent Document 5) discloses a method of approximating sampling of handwritten data with a spline curve so that the maximum separation distance from the data does not exceed a preset threshold value. ing. That is, if the maximum distance between the curve and the data subjected to the spline interpolation is equal to or greater than a threshold value, the data giving the distance is newly added as a node, and the spline interpolation is performed.

特表2003−511761号公報Japanese translation of PCT publication No. 2003-511761 特開2004−153612号公報JP 2004-153612 A 特開2004−46424号公報JP 2004-46424 A 特公平3−50283号公報Japanese Patent Publication No. 3-50283 特許第2969189号公報Japanese Patent No. 2969189

しかし、上述の地理的情報提供システムでは、出発地の緯度経度情報と目的地の緯度経度情報とに基づいて、出発地から目的地までの最短直線経路を算出している。従って、この地理的情報提供システムは、最短直線経路以外の経路の距離情報を算出しないため、必ずしも利用者の所望の経路に関する距離情報を提供することができないという問題点があった。上記のデジタイザによる座標入力装置も同様に、単にスタイラスペンによってパネルをヒットして入力された座標値間の長さを求めるにとどまるものであった。また、地図上に描いた経路の距離を算出するに際して、特許文献5のように、腕時計に取り付けたローラを地図上で回転させて道のりを求めるようにしたものもあるが、この方法ではローラという機械的な機構を必要とする。   However, the above-described geographical information providing system calculates the shortest straight path from the departure point to the destination based on the latitude and longitude information of the departure point and the latitude and longitude information of the destination. Therefore, since this geographical information providing system does not calculate distance information of routes other than the shortest straight route, there is a problem in that it cannot always provide distance information regarding a user's desired route. Similarly, the above-described coordinate input device using a digitizer merely hits the panel with a stylus pen and obtains a length between input coordinate values. In addition, when calculating the distance of a route drawn on a map, there is a method in which a roller attached to a wristwatch is rotated on a map to obtain a route as in Patent Document 5, but this method is called a roller. Requires mechanical mechanism.

さらには、これまでの地図上の距離等を求めるにあたって、実際の地形には標高差による高低差があるが、特許文献3,4に示された技術では、そのような高低差を考慮した実際の距離(道のり)を求めることはできなかった。   Furthermore, in obtaining the distance on the map so far, the actual topography has a height difference due to the altitude difference. However, in the techniques disclosed in Patent Documents 3 and 4, the actual difference in consideration of such a height difference is considered. It was not possible to find the distance.

そこで本発明は、電子ペン又はスキャナの操作により、利用者の所望する経路に応じ、高さ情報も反映した正確な距離情報を提供できる端末装置を提供し、併せてそれに用いられるプログラムを提供することを目的とする。   Therefore, the present invention provides a terminal device that can provide accurate distance information reflecting height information according to a route desired by a user by operating an electronic pen or a scanner, and also provides a program used therefor. For the purpose.

本発明に係る端末装置は、媒体に印刷されたコード化パターンを読み取って演算された離散的な座標データを電子ペン又はスキャナから受信し、その座標データから筆跡の長さに応じた距離を演算する端末装置であって、座標データを受信するデータ通信手段と、前記データ通信手段によって受信され、前記筆跡に沿って前記電子ペン又は前記スキャナによって演算された前記座標データの複数の位置座標に基づいて、電子ペン又はスキャナがなぞったときの線分に対応する近似ラインを求め、媒体を細かく分割するように設定されそれぞれが高さ情報を持つ複数の微小領域から近似ラインが通る微小領域を抽出し、抽出した微小領域のうちの隣り合う2つの微小領域の中心点同士を直線で結び、その隣り合う2つの微小領域が有する高さ情報により直線の長さを補正し、補正した各直線の長さを足し合わせることにより筆跡に応じた距離を演算する距離演算手段とを備えることを特徴とする。   The terminal device according to the present invention receives discrete coordinate data calculated by reading a coded pattern printed on a medium from an electronic pen or a scanner, and calculates a distance according to the length of the handwriting from the coordinate data. A data communication means for receiving coordinate data; and a plurality of position coordinates of the coordinate data received by the data communication means and calculated by the electronic pen or the scanner along the handwriting. Then, an approximate line corresponding to the line segment when the electronic pen or scanner is traced is obtained, and a minute area through which the approximate line passes is extracted from a plurality of minute areas that are set to finely divide the medium and each have height information. Then, the center points of two adjacent minute regions of the extracted minute regions are connected with a straight line, and the height information of the two adjacent minute regions is included. By correcting the length of the straight line, characterized in that it comprises a distance calculating means for calculating a distance corresponding to the handwriting by adding the length of each corrected linearly.

この構成によれば、利用者が電子ペン又はスキャナにより媒体に接触した状態で、媒体に記入又は媒体上を移動すると、電子ペン又はスキャナは、筆跡又は移動軌跡に沿った離散的な座標データを演算し、端末装置へ送信する。端末装置においては、データ通信手段が、電子ペン又はスキャナから送信された座標データを受信し、距離演算手段は、高さ情報を加味するため、位置座標演算手段によって演算された複数の位置座標に基づいて、電子ペン又はスキャナがなぞったときの線分に対応する近似ラインを求め、媒体を細かく分割するように設定されそれぞれが高さ情報を持つ複数の微小領域から近似ラインが通る微小領域を抽出し、抽出した微小領域のうちの隣り合う2つの微小領域の中心点同士を直線で結び、その隣り合う2つの微小領域が有する高さ情報により直線の長さを補正し、補正した各直線の長さを足し合わせることにより筆跡に応じた距離を演算する。したがって、利用者が所望の文字や線分を電子ペン又はスキャナで記入等することによって、端末装置は、その筆跡等に応じて高さ情報を反映した距離を精度よく演算することができる。   According to this configuration, when the user fills in or moves on the medium while touching the medium with the electronic pen or the scanner, the electronic pen or the scanner acquires the discrete coordinate data along the handwriting or the movement locus. Calculate and send to terminal device. In the terminal device, the data communication unit receives the coordinate data transmitted from the electronic pen or the scanner, and the distance calculation unit adds the height information to the plurality of position coordinates calculated by the position coordinate calculation unit. Based on this, an approximate line corresponding to the line segment traced by the electronic pen or the scanner is obtained, and a minute area through which the approximate line passes from a plurality of minute areas each set to finely divide the medium and having height information. Each extracted straight line is obtained by connecting the center points of two adjacent minute areas of the extracted minute areas with a straight line, correcting the length of the straight line based on the height information of the two adjacent minute areas. The distance corresponding to the handwriting is calculated by adding the lengths of. Therefore, when the user enters desired characters or line segments with an electronic pen or a scanner, the terminal device can accurately calculate the distance reflecting the height information in accordance with the handwriting.

または、本発明に係る端末装置は、地図エリアとコード化パターンが印刷された媒体の前記コード化パターンを読み取って演算された離散的な座標データを電子ペン又はスキャナから受信し、その座標データから前記地図エリア上の筆跡によって示される経路に対応する地表上の距離を演算する端末装置であって、座標データを受信するデータ通信手段と、前記データ通信手段によって受信され、前記筆跡に沿って前記電子ペン又は前記スキャナによって演算された前記座標データの複数の位置座標に基づいて、電子ペン又はスキャナがなぞったときの線分に対応する近似ラインを求め、地図エリアを細かく分割するように設定されそれぞれが高さ情報を持つ複数の微小領域から近似ラインが通る微小領域を抽出し、抽出した微小領域のうちの隣り合う2つの微小領域の中心点同士を直線で結び、その隣り合う2つの微小領域が有する高さ情報により直線の長さを補正し、補正した各直線の長さを足し合わせることにより前記地図エリア上の筆跡に対応する地表上の距離を演算する距離演算手段とを備えることを特徴とする。   Alternatively, the terminal device according to the present invention receives discrete coordinate data calculated by reading the coded pattern of the medium on which the map area and the coded pattern are printed, from the electronic pen or the scanner, and from the coordinate data A terminal device for calculating a distance on the ground surface corresponding to a route indicated by a handwriting on the map area, the data communication means receiving coordinate data, received by the data communication means, and along the handwriting Based on a plurality of position coordinates of the coordinate data calculated by the electronic pen or the scanner, an approximate line corresponding to a line segment traced by the electronic pen or the scanner is obtained, and the map area is set to be divided finely. Extract the micro area through which the approximate line passes from a plurality of micro areas each having height information. The map is obtained by connecting the center points of two adjacent minute regions with a straight line, correcting the length of the straight line based on the height information of the two adjacent minute regions, and adding the corrected lengths of the straight lines. And a distance calculating means for calculating a distance on the ground surface corresponding to the handwriting on the area.

この構成によれば、利用者が電子ペン又はスキャナにより媒体の地図エリアに接触した状態で、媒体をなぞると、電子ペン又はスキャナは、なぞった経路に沿った離散的な座標データを演算し、端末装置へ送信する。端末装置においては、データ通信手段が、電子ペン又はスキャナから送信された座標データを受信し、距離演算手段は、高さ情報を加味するため、位置座標演算手段によって演算された複数の位置座標に基づいて、電子ペン又はスキャナがなぞったときの線分に対応する近似ラインを求め、地図エリアを細かく分割するように設定されそれぞれが高さ情報を持つ複数の微小領域から近似ラインが通る微小領域を抽出し、抽出した微小領域のうちの隣り合う2つの微小領域の中心点同士を直線で結び、その隣り合う2つの微小領域が有する高さ情報により直線の長さを補正し、補正した各直線の長さを足し合わせることにより前記地図エリア上の筆跡に対応する地表上の距離を演算する。したがって、利用者が地図エリア上で所望の経路を電子ペン又はスキャナでなぞることによって、端末装置は、地図エリア上になぞられた筆跡等に応じて高さ情報を反映した地図上の距離を精度よく演算することができる。   According to this configuration, when the user traces the medium with the electronic pen or the scanner in contact with the map area of the medium, the electronic pen or the scanner calculates discrete coordinate data along the traced path, Send to terminal device. In the terminal device, the data communication unit receives the coordinate data transmitted from the electronic pen or the scanner, and the distance calculation unit adds the height information to the plurality of position coordinates calculated by the position coordinate calculation unit. Based on this, the approximate line corresponding to the line segment traced by the electronic pen or scanner is obtained, and the approximate area passes through the approximate line from a plurality of minute areas that are set to finely divide the map area and each have height information And connecting the center points of two adjacent micro regions of the extracted micro regions with a straight line, correcting the length of the straight line by the height information of the two adjacent micro regions, The distance on the ground surface corresponding to the handwriting on the map area is calculated by adding the lengths of the straight lines. Therefore, when the user traces a desired route on the map area with the electronic pen or the scanner, the terminal device accurately calculates the distance on the map reflecting the height information according to the handwriting traced on the map area. Can be calculated well.

さらに、上記端末装置において、距離演算手段によって演算された距離を報知する報知手段を備えるとよい。これにより、利用者は、距離演算手段によって演算された距離を認識することができる。   Furthermore, the terminal device may include notifying means for notifying the distance calculated by the distance calculating means. Thereby, the user can recognize the distance calculated by the distance calculation means.

また、本発明に係るプログラムは、媒体に印刷されたコード化パターンを読み取って演算された離散的な座標データを電子ペン又はスキャナから受信し、その座標データから筆跡の長さに応じた距離を演算するコンピュータにより実行されるプログラムであって、座標データを受信するデータ通信手段、前記データ通信手段によって受信され、前記筆跡に沿って前記電子ペン又は前記スキャナによって演算された前記座標データの複数の位置座標に基づいて、電子ペン又はスキャナがなぞったときの線分に対応する近似ラインを求め、媒体を細かく分割するように設定されそれぞれが高さ情報を持つ複数の微小領域から近似ラインが通る微小領域を抽出し、抽出した微小領域のうちの隣り合う2つの微小領域の中心点同士を直線で結び、その隣り合う2つの微小領域が有する高さ情報により直線の長さを補正し、補正した各直線の長さを足し合わせることにより筆跡に応じた距離を演算する距離演算手段として前記コンピュータを機能させることを特徴とする。   Further, the program according to the present invention receives discrete coordinate data calculated by reading a coded pattern printed on a medium from an electronic pen or scanner, and calculates a distance corresponding to the length of the handwriting from the coordinate data. A program executed by a computer that performs calculation, a data communication unit that receives coordinate data, a plurality of coordinate data received by the data communication unit, and calculated by the electronic pen or the scanner along the handwriting Based on the position coordinates, an approximate line corresponding to a line segment traced by the electronic pen or scanner is obtained, and the approximate line passes through a plurality of minute regions each set to finely divide the medium and each have height information. Extract the micro area, connect the center points of two adjacent micro areas of the extracted micro area with a straight line, Correcting the length of a straight line based on the height information of two minute areas that meet each other, and adding the corrected straight line lengths to cause the computer to function as a distance calculation means for calculating a distance according to the handwriting It is characterized by.

あるいは、本発明に係るプログラムは、地図エリアとコード化パターンが印刷された媒体の前記コード化パターンを読み取って演算された離散的な座標データを電子ペン又はスキャナから受信し、その座標データから前記地図エリア上の筆跡によって示される経路に対応する地表上の距離を演算するコンピュータにより実行されるプログラムであって、座標データを受信するデータ通信手段、前記データ通信手段によって受信され、前記筆跡に沿って前記電子ペン又は前記スキャナによって演算された前記座標データの複数の位置座標に基づいて、電子ペン又はスキャナがなぞったときの線分に対応する近似ラインを求め、地図エリアを細かく分割するように設定されそれぞれが高さ情報を持つ複数の微小領域から近似ラインが通る微小領域を抽出し、抽出した微小領域のうちの隣り合う2つの微小領域の中心点同士を直線で結び、その隣り合う2つの微小領域が有する高さ情報により直線の長さを補正し、補正した各直線の長さを足し合わせることにより前記地図エリア上の筆跡に対応する地表上の距離を演算する距離演算手段として前記コンピュータを機能させることを特徴とする。   Alternatively, the program according to the present invention receives discrete coordinate data calculated by reading the coded pattern of the medium on which the map area and the coded pattern are printed, from an electronic pen or scanner, and from the coordinate data, A program executed by a computer that calculates a distance on the ground surface corresponding to a route indicated by a handwriting on a map area, the data communication means receiving coordinate data, received by the data communication means, and along the handwriting Based on a plurality of position coordinates of the coordinate data calculated by the electronic pen or the scanner, an approximate line corresponding to a line segment traced by the electronic pen or the scanner is obtained, and the map area is finely divided. Micro area where approximate line passes from multiple micro areas that are set and each have height information Each extracted straight line is obtained by connecting the center points of two adjacent minute areas of the extracted minute areas with a straight line, correcting the length of the straight line based on the height information of the two adjacent minute areas. The computer is caused to function as distance calculation means for calculating the distance on the ground surface corresponding to the handwriting on the map area by adding the lengths of the two.

上記プログラムをコンピュータにおいて実行することにより、上述の端末装置を実現することができる。   By executing the above program on a computer, the above-described terminal device can be realized.

本発明に係る端末装置及びそれに用いられるプログラムによれば、電子ペン及びスキャナの操作により、地図エリア等の媒体上に記入等をした際に、当該記入等による軌跡の座標データを演算しつつ軌跡の距離を演算する。この際、電子ペンやスキャナで取得した離散的な座標データから近似ラインを求め、近似ラインが通る複数の微小領域を抽出し、それらの微小領域の中心点を結ぶ直線に高さ情報により補正をかけたうえで積算することによって、実際に描いた軌跡に近づけるとともに地形の高さ情報を加味することで、より正確に道のりを求めることができる。これにより、利用者が所望する経路に応じた精度のよい距離情報を提供することができる。   According to the terminal device and the program used therefor according to the present invention, when an entry is made on a medium such as a map area by operating an electronic pen and a scanner, the locus is calculated while calculating the coordinate data of the locus due to the entry. Calculate the distance. At this time, an approximate line is obtained from discrete coordinate data acquired by an electronic pen or a scanner, a plurality of minute areas through which the approximate line passes are extracted, and a straight line connecting the center points of these minute areas is corrected by height information. It is possible to obtain the path more accurately by multiplying the sum and making it closer to the actually drawn trajectory and taking into account the height information of the terrain. Thereby, accurate distance information according to the route desired by the user can be provided.

以下、図面を参照しながら、本発明の好適な実施形態について説明する。   Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings.

<第1実施形態>
図1は本実施形態の端末装置3を用いた地図情報提供システムのシステム構成図を示している。図1に示すように、地図情報提供システムは、地図が印刷された専用紙(媒体)2A(2)と、地図上をなぞるための電子ペン1A(1)と、電子ペン1Aから送信される情報を受信して地図に関する情報を演算して演算結果を報知する、パソコン、携帯電話等からなる端末装置3によって構成される。この端末装置3は、専用紙2Aに印刷されたドットパターン(コード化パターン)を読み取って演算された離散的な座標データを電子ペン1Aから受信し、その座標データから筆跡の長さに応じた距離を演算するようになっている。
<First Embodiment>
FIG. 1 shows a system configuration diagram of a map information providing system using the terminal device 3 of the present embodiment. As shown in FIG. 1, the map information providing system is transmitted from a dedicated paper (medium) 2A (2) on which a map is printed, an electronic pen 1A (1) for tracing on the map, and the electronic pen 1A. The terminal device 3 is composed of a personal computer, a mobile phone, or the like that receives information, calculates information about the map, and notifies the calculation result. The terminal device 3 receives discrete coordinate data calculated by reading a dot pattern (coded pattern) printed on the dedicated paper 2A from the electronic pen 1A, and according to the length of the handwriting from the coordinate data. The distance is calculated.

電子ペン1Aは、通常のインクペンと同様のペン先部1aを備えており、利用者が通常のインクペンと同様にペン先部1aによって専用紙2Aに文字や絵柄などを書くと、ペン先部1aの移動した軌跡(筆跡)に沿って、専用紙2Aに印刷されたドットパターンを局所的、連続的に読み取り、専用紙2Aにおけるその局所位置の座標を演算し、その座標データとともに、電子ペン1Aを識別する電子ペン識別ID、筆記された時刻情報(タイムスタンプ)等を関連付けて端末装置3に送信する。端末装置3は、電子ペン1Aより電子ペン識別IDや座標データ等を受信すると、その受信した座標データ等に基づいて、電子ペン1Aの移動軌跡に応じた距離を演算する。以下、システムの各構成について詳細に説明する。   The electronic pen 1A includes a pen tip portion 1a similar to a normal ink pen. When a user writes characters or a pattern on the dedicated paper 2A using the pen tip portion 1a in the same manner as a normal ink pen, the pen tip portion 1a. The dot pattern printed on the dedicated paper 2A is read locally and continuously along the trajectory (handwriting) moved, and the coordinates of the local position on the dedicated paper 2A are calculated. Together with the coordinate data, the electronic pen 1A The electronic pen identification ID for identifying the information, the written time information (time stamp), and the like are associated with each other and transmitted to the terminal device 3. When the terminal device 3 receives the electronic pen identification ID, the coordinate data, and the like from the electronic pen 1A, the terminal device 3 calculates a distance according to the movement locus of the electronic pen 1A based on the received coordinate data. Hereinafter, each configuration of the system will be described in detail.

[専用紙]
まず専用紙(媒体)2Aについて説明する。本実施形態で使用する専用紙2Aは、用紙にドットパターンが印刷され、さらにその上に罫線や記入枠、地図などの図案や項目、文言、イラスト等が印刷されたものである。ドットパターンは、赤外線を吸収するカーボンを含んだインキにより印刷される。また、図案等は、赤外域に吸収性を持たないインキにより印刷される。ドットパターンと図案等とは用紙に対して同時に印刷してもよいし、どちらかを先に印刷してもよい。
[Special paper]
First, the dedicated paper (medium) 2A will be described. The dedicated paper 2A used in the present embodiment is a paper in which a dot pattern is printed on a paper, and further, a ruled line, an entry frame, a map and other designs and items, words, illustrations, and the like are printed thereon. The dot pattern is printed with ink containing carbon that absorbs infrared rays. In addition, the design or the like is printed with ink that does not absorb in the infrared region. The dot pattern and the design may be printed on the paper at the same time, or either one may be printed first.

図2に本実施形態で使用する地図等が印刷された専用紙2Aの例を示す。図2に示す専用紙2Aは、地図を表示する地図エリア100を有する。ドットパターンは、専用紙2Aのほぼ全面に印刷されており、その上に地図の図柄、建物名称等の文字、地図記号等がカーボンを含まない通常のインキにより印刷されている。利用者はドットパターンを意識することなく、電子ペン1Aを用いてこの地図エリア100に出発地から目的地までの所望の経路を記入する。   FIG. 2 shows an example of dedicated paper 2A on which a map or the like used in this embodiment is printed. The dedicated paper 2A shown in FIG. 2 has a map area 100 for displaying a map. The dot pattern is printed on almost the entire surface of the dedicated paper 2A, and on it, a map pattern, characters such as a building name, a map symbol, and the like are printed with normal ink not containing carbon. The user enters a desired route from the departure point to the destination in the map area 100 using the electronic pen 1A without being aware of the dot pattern.

[ドットパターン]
続いてドットパターン(コード化パターン)について説明する。電子ペン1Aによって読み取られるドットパターンは、前述のアノト技術を採用したものである。図3は、専用紙2Aに印刷されるドットパターンのドットの位置とそのドットが変換される値との関係を説明する図である。図3に示すように、ドットパターンの各ドットは、その位置によって所定の値に対応付けられている。すなわち、ドットの位置を格子の基準位置(縦線及び横線の交差点:格子点)から上下左右のどの方向にシフトされているかによって、各ドットは、0〜3の値に対応付けられている。また、各ドットの値は、さらに、X座標用の第1ビット値及びY座標用の第2ビット値に変換される。このようにして対応付けられた情報の組合せにより、ドットパターンは、専用紙2Aにおける位置座標が決定されるよう構成されている。
[Dot pattern]
Next, a dot pattern (coded pattern) will be described. The dot pattern read by the electronic pen 1A employs the above-mentioned Anoto technology. FIG. 3 is a diagram for explaining the relationship between the dot position of the dot pattern printed on the dedicated paper 2A and the value to which the dot is converted. As shown in FIG. 3, each dot of the dot pattern is associated with a predetermined value depending on its position. That is, each dot is associated with a value of 0 to 3 depending on the direction in which the position of the dot is shifted from the reference position of the grid (intersection of vertical and horizontal lines: grid point). The value of each dot is further converted into a first bit value for the X coordinate and a second bit value for the Y coordinate. The dot pattern is configured such that the position coordinates on the dedicated paper 2A are determined by the combination of the information thus associated.

図4は専用紙2Aに印刷されたドットパターンによる情報の表現方法を説明するための図である。図4(a)は、専用紙2Aにおける、ある局所部のドットパターンの配列を示している。図4(a)に示すように、縦横約2mmの範囲内に6×6個のドットが、専用紙2A上のどの部分から6×6ドットを取ってもユニークなパターンとなるように配置されている。これら36(=6×6)個のドットにより形成されるドットパターンは位置座標(例えば、そのドットパターンがその専用紙2A上のどの位置にあるのか)及びドットパターンアドレス(コード化パターンアドレス)を保持している。図4(b)は、図4(a)に示す各ドットを、格子の基準位置からのシフト方向によって、図3に示す規則性に基づいて対応づけられた値に変換したものである。この変換は、ドットパターンの画像を撮影する電子ペン1Aによって行われる。   FIG. 4 is a diagram for explaining a method of expressing information by a dot pattern printed on the dedicated paper 2A. FIG. 4A shows an arrangement of dot patterns in a certain local portion on the dedicated paper 2A. As shown in FIG. 4 (a), 6 × 6 dots are arranged in a range of about 2 mm in length and width so that a unique pattern can be obtained regardless of where 6 × 6 dots are taken from any part of the dedicated paper 2A. ing. The dot pattern formed by these 36 (= 6 × 6) dots has position coordinates (for example, where the dot pattern is located on the dedicated paper 2A) and a dot pattern address (coded pattern address). keeping. FIG. 4B is a diagram in which each dot shown in FIG. 4A is converted into a value associated with the regularity shown in FIG. 3 according to the shift direction from the reference position of the lattice. This conversion is performed by the electronic pen 1A that captures a dot pattern image.

[電子ペン]
次に、電子ペン1Aについて図5を参照して説明する。電子ペン1Aは、その筐体10の内部に、プロセッサ11、データ通信ユニット12、バッテリー13、LED14、CMOSカメラ15、圧力センサ16、インクカートリッジ17、及びクロック18を備える。インクカートリッジ17の先端は、ペン先部1aとなっており、利用者は、電子ペン1Aのペン先部1aを専用紙2Aに当接させながら経路や文字、絵柄を描くことができる。
[Electronic pen]
Next, the electronic pen 1A will be described with reference to FIG. The electronic pen 1 </ b> A includes a processor 11, a data communication unit 12, a battery 13, an LED 14, a CMOS camera 15, a pressure sensor 16, an ink cartridge 17, and a clock 18 inside the housing 10. The tip of the ink cartridge 17 is a pen tip portion 1a, and the user can draw a path, characters, and a picture while bringing the pen tip portion 1a of the electronic pen 1A into contact with the special paper 2A.

バッテリー13は電子ペン1A内の各部品に電力を供給するためのものであり、例えば電子ペン1Aのキャップ(図示せず)の脱着により電子ペン1A自体の電源のオン/オフを行うよう構成させてもよい。圧力センサ16は、利用者が電子ペン1Aにより専用紙2A上に文字などを書く際にペン先部1aに与えられる圧力、即ち筆圧を検出し、プロセッサ11へ供給する。クロック18は、現在時刻(タイムスタンプ)を示す時間情報を発信し、プロセッサ11へ供給する。   The battery 13 is for supplying power to each component in the electronic pen 1A. For example, the power of the electronic pen 1A itself is turned on / off by attaching / detaching a cap (not shown) of the electronic pen 1A. May be. The pressure sensor 16 detects the pressure applied to the pen tip 1 a when the user writes characters on the dedicated paper 2 </ b> A with the electronic pen 1 </ b> A, that is, the writing pressure, and supplies the detected pressure to the processor 11. The clock 18 transmits time information indicating the current time (time stamp) and supplies the time information to the processor 11.

プロセッサ11は、圧力センサ16から与えられる筆圧データに基づいて、LED14及びCMOSカメラ15のスイッチのオン/オフを切換える。即ち、利用者が電子ペン1Aで専用紙2A上に文字などを書くと、ペン先部1aには筆圧がかかり、圧力センサ16によって所定値以上の筆圧が検出されたときに、プロセッサ11は、利用者が記入を開始したと判定して、LED14及びCMOSカメラ15を作動させる。その一方、圧力センサ16によって検出された筆圧が所定値未満であると、プロセッサ11は、利用者による筆圧が終了したと判断して、LED14及びCMOSカメラ15の作動を終了させる。   The processor 11 switches on / off the switches of the LED 14 and the CMOS camera 15 based on the writing pressure data supplied from the pressure sensor 16. That is, when a user writes a character or the like on the dedicated paper 2A with the electronic pen 1A, the pen tip 1a is applied with writing pressure, and when the pressure sensor 16 detects a writing pressure of a predetermined value or more, the processor 11 Determines that the user has started entry, and activates the LED 14 and the CMOS camera 15. On the other hand, if the writing pressure detected by the pressure sensor 16 is less than the predetermined value, the processor 11 determines that the writing pressure by the user has ended, and ends the operation of the LED 14 and the CMOS camera 15.

LED14とCMOSカメラ15は、電子ペン1Aのペン先部1a付近に取り付けられており、筐体10におけるLED14及びCMOSカメラ15が向く部分には、開口部10aが形成されている。LED14は、専用紙2A上のペン先部1a近傍(領域A:図1参照)に向けて赤外線を照明する。領域Aは、ペン先部1aが専用紙2Aに接触する位置とはわずかにずれている。CMOSカメラ15は、LED14によって照明された領域A内におけるドットパターンを撮影し、そのドットパターンの画像データをプロセッサ11に供給する。ここで、カーボンは赤外線を吸収するため、LED14によって照射された赤外線は、ドットの部分でドットに含まれるカーボンによって吸収される。そのため、ドットの部分は、赤外線の反射量が少なく、ドット以外の部分は赤外線の反射量が多い。したがって、CMOSカメラ15の撮影により、赤外線の反射量の違いから、カーボンを含むドットの領域とそれ以外の領域を区別することができる。たとえ撮影領域に罫線や枠などが印刷されてあったとしても、罫線や枠などのインクは、赤外域に吸収性を持たないため、ドットパターンを認識することができる。なお、CMOSカメラ15による撮影領域は、図4(a)に示すような約2mm×約2mmの大きさを含む範囲であり、CMOSカメラ15の撮影は毎秒50〜100回程度行われる。   The LED 14 and the CMOS camera 15 are attached in the vicinity of the pen tip portion 1a of the electronic pen 1A, and an opening 10a is formed in a portion of the housing 10 facing the LED 14 and the CMOS camera 15. The LED 14 illuminates infrared rays toward the vicinity of the pen tip 1a (area A: see FIG. 1) on the dedicated paper 2A. The area A is slightly deviated from the position where the pen tip 1a contacts the special paper 2A. The CMOS camera 15 captures a dot pattern in the area A illuminated by the LED 14 and supplies image data of the dot pattern to the processor 11. Here, since carbon absorbs infrared rays, the infrared rays irradiated by the LED 14 are absorbed by the carbon contained in the dots at the dot portions. Therefore, the dot portion has a small amount of infrared reflection, and the portion other than the dot has a large amount of infrared reflection. Therefore, by photographing with the CMOS camera 15, it is possible to distinguish the dot region containing carbon from the other region based on the difference in the amount of reflected infrared rays. Even if ruled lines or frames are printed in the photographing region, the ink such as the ruled lines and frames does not have absorbability in the infrared region, so that the dot pattern can be recognized. Note that the imaging area of the CMOS camera 15 is a range including a size of about 2 mm × about 2 mm as shown in FIG. 4A, and the imaging of the CMOS camera 15 is performed about 50 to 100 times per second.

プロセッサ11は、利用者の記入が行われる間、CMOSカメラ15によって供給される画像データのドットパターンから、利用者が記入するストローク(筆跡)の専用紙2上におけるX,Y座標(単に「座標データ」とも呼ぶ)を連続的に演算していく。すなわち、プロセッサ11は、CMOSカメラ15によって供給される、図4(a)に示されるようなドットパターンの画像データを図4(b)に示すデータ配列に変換し、さらに、X座標ビット値・Y座標ビット値に変換して、そのデータ配列から所定の演算方法によりX,Y座標データを算出するとともに、ドットパターンアドレスを算出する。ここで、ドットパターンアドレスとは、地図エリア100が印刷された専用紙2Aの頁ごと或いは種類ごとに設定される識別子であるが、ドットパターンアドレスと地図の縮尺情報とが対応できるような、少なくとも、地図エリア100ごとにドットパターンアドレスが対応付けられている。   During the user's entry, the processor 11 determines the X and Y coordinates (simply “coordinates”) on the dedicated paper 2 of the stroke (handwriting) to be entered by the user from the dot pattern of the image data supplied by the CMOS camera 15. Data is also calculated continuously. That is, the processor 11 converts the image data of the dot pattern as shown in FIG. 4A supplied by the CMOS camera 15 into the data array shown in FIG. It converts into a Y coordinate bit value, calculates X, Y coordinate data from the data array by a predetermined calculation method, and calculates a dot pattern address. Here, the dot pattern address is an identifier set for each page or each type of the dedicated paper 2A on which the map area 100 is printed, but at least the dot pattern address and the map scale information can correspond to each other. A dot pattern address is associated with each map area 100.

そして、プロセッサ11は、クロック18から取得した時間情報21と、ドットパターンアドレス22と、座標データ23と、筆圧データ24とを関連付け、これらの情報を記入情報20として生成する。そして、プロセッサ11は、記入情報20を、データ通信ユニット12に対して、端末装置3へ送信させる。図6に記入情報20の概念図を示す。ここで、1枚の専用紙2Aにおける6×6のドットパターンは、その専用紙2A内で重複することはないため、利用者が電子ペン1Aで地図エリア100をなぞると、そのなぞった箇所が地図エリア100のどの位置であるかを、記入情報20から特定することができる。   Then, the processor 11 associates the time information 21 acquired from the clock 18, the dot pattern address 22, the coordinate data 23, and the writing pressure data 24, and generates these information as the entry information 20. Then, the processor 11 causes the data communication unit 12 to transmit the entry information 20 to the terminal device 3. FIG. 6 shows a conceptual diagram of the entry information 20. Here, since the 6 × 6 dot pattern on one sheet of special paper 2A does not overlap within the special paper 2A, when the user traces the map area 100 with the electronic pen 1A, the traced portion is found. The position in the map area 100 can be specified from the entry information 20.

データ通信ユニット12は、プロセッサ11により供給される、時間情報21、ドットパターンアドレス22、座標データ23、筆圧データ24が関連付けられた記入情報20を、端末装置3へ無線送信する。データ通信ユニット12による送信は、 Bluetooth(登録商標)の無線送信によると好適である。なお、USBケーブルを使用した有線送信、端子などの接触によるデータ通信など、他の方法によって、データ通信ユニット12から端末装置3へデータ通信を行ってもよい。データ通信ユニット12による端末装置3への記入情報20の送信は、即時的且つ逐次的に行われる。   The data communication unit 12 wirelessly transmits the entry information 20 associated with the time information 21, the dot pattern address 22, the coordinate data 23, and the writing pressure data 24 supplied by the processor 11 to the terminal device 3. Transmission by the data communication unit 12 is preferably performed by wireless transmission using Bluetooth (registered trademark). The data communication from the data communication unit 12 to the terminal device 3 may be performed by other methods such as wired transmission using a USB cable and data communication by contact with a terminal. Transmission of the entry information 20 to the terminal device 3 by the data communication unit 12 is performed immediately and sequentially.

[端末装置]
次に、端末装置3について図7を参照して説明する。端末装置3は、ハードウェアとして、電子ペン1Aとのデータ通信が可能なアンテナ装置、CPU等のプロセッサ、ROMやRAMといったメモリ、スピーカ、ディスプレイ等で構成される、PCや携帯電話、或いは携帯端末である。図7は、端末装置3の機能ブロック図である。端末装置3は、電子ペン1Aから受信したX,Y座標データを含む記入情報20を用いて専用アプリケーションを実行することで所定の処理を行う。
[Terminal device]
Next, the terminal device 3 will be described with reference to FIG. The terminal device 3 includes, as hardware, an antenna device capable of data communication with the electronic pen 1A, a processor such as a CPU, a memory such as a ROM and a RAM, a speaker, a display, and the like. It is. FIG. 7 is a functional block diagram of the terminal device 3. The terminal device 3 performs a predetermined process by executing a dedicated application using the entry information 20 including the X and Y coordinate data received from the electronic pen 1A.

図7に示すように、端末装置3は、情報記憶手段30、データ通信手段31、距離演算手段32、音声出力手段33(報知手段)及び表示手段34(報知手段)を備える。物理的には、情報記憶手段30は、ROMやRAMといったメモリによって構成され、データ通信手段31は、データ通信ユニット、プロセッサ等によって構成され、音声出力手段33はスピーカ、表示手段34はディスプレイ等で構成される。また、距離演算手段32は、CPU等のプロセッサに組み込まれている。   As illustrated in FIG. 7, the terminal device 3 includes an information storage unit 30, a data communication unit 31, a distance calculation unit 32, a voice output unit 33 (notification unit), and a display unit 34 (notification unit). Physically, the information storage means 30 is constituted by a memory such as a ROM or a RAM, the data communication means 31 is constituted by a data communication unit, a processor or the like, the audio output means 33 is a speaker, the display means 34 is a display or the like. Composed. The distance calculation means 32 is incorporated in a processor such as a CPU.

情報記憶手段30は、地図エリア100におけるドットパターンアドレス22で特定される地図エリア100に印刷された地図の縮尺値を、そのドットパターンアドレス22に対応付けた縮尺情報として記憶している。また、情報記憶手段30は、地図エリア100を格子状に細かく分割するように設定された複数の微小領域と、微小領域ごとに、縮尺値cにより標高が縮尺された高さ情報を記憶している。さらに、情報記憶手段30は、電子ペン1Aから受信した記入情報20と、距離演算手段32が演算した軌跡(筆跡)の長さLや地表上の距離(道のり)Dを記憶するメモリである。   The information storage means 30 stores the scale value of the map printed on the map area 100 specified by the dot pattern address 22 in the map area 100 as scale information associated with the dot pattern address 22. Further, the information storage means 30 stores a plurality of minute areas set so as to finely divide the map area 100 into a lattice shape, and height information in which the altitude is reduced by the scale value c for each minute area. Yes. Further, the information storage means 30 is a memory for storing the entry information 20 received from the electronic pen 1A, the length L of the locus (handwriting) calculated by the distance calculation means 32, and the distance (distance) D on the ground surface.

ここで、微小領域と高さ情報について説明すると、後述の図11及び図12に示すように、地図エリア100に標高を反映する高さ情報を持たせるために、地図エリア100は格子状に微小領域に分割されており、各微小領域は、その中心点を代表点として、縮尺値cにより標高が縮尺された高さ情報を有している。そして、情報記憶手段30は、地図エリア100を構成する各微小領域の位置座標、その中心点の位置座標、及び高さ情報を関連付けて記憶している。   Here, the minute area and the height information will be described. As shown in FIGS. 11 and 12, which will be described later, the map area 100 is minutely arranged in a lattice pattern so that the map area 100 has height information that reflects the altitude. Each minute region is divided into regions, and each minute region has height information in which the elevation is scaled by the scale value c with the center point as a representative point. Then, the information storage means 30 stores the position coordinates of each minute area constituting the map area 100, the position coordinates of the center point thereof, and height information in association with each other.

データ通信手段31は、電子ペン1Aのデータ通信ユニット12によって送信される記入情報20を即時的且つ逐次的に受信する手段であり、 Bluetooth(登録商標)による通信方式の電波を受信するアンテナ等により構成される。   The data communication means 31 is means for receiving the entry information 20 transmitted by the data communication unit 12 of the electronic pen 1A immediately and sequentially, by an antenna or the like that receives radio waves of a communication method by Bluetooth (registered trademark). Composed.

距離演算手段32は、データ通信手段31によって受信された複数の記入情報20を参照し、記入情報20に含まれるドットパターンアドレス22に対応付けられた縮尺値を情報記憶手段30から読みだすとともに、軌跡(筆跡)の開始点701から終了点703(図9参照)までの座標データ23に基づいて軌跡(筆跡)の長さLを演算し、さらに、その長さから地表上の距離(道のり)Dを演算し、情報記憶手段30に記憶させる。すなわち、距離演算手段30は、座標データ23の複数の位置座標を用いて、ペン・ダウン位置からペン・アップ位置までの間に記入された筆跡の長さLを演算する。   The distance calculation means 32 refers to the plurality of entry information 20 received by the data communication means 31, reads out the scale value associated with the dot pattern address 22 included in the entry information 20 from the information storage means 30, Based on the coordinate data 23 from the start point 701 to the end point 703 (see FIG. 9) of the trajectory (handwriting), the length L of the trajectory (handwriting) is calculated, and the distance on the ground surface (path) from the length. D is calculated and stored in the information storage means 30. That is, the distance calculation means 30 calculates the length L of the handwriting entered between the pen-down position and the pen-up position using the plurality of position coordinates of the coordinate data 23.

より具体的には、距離演算手段32は、データ通信手段31によって受信され、筆跡に沿って電子ペン1Aによって演算された、時系列的な順位を有する複数の離散的な位置座標データ23の座標点に基づいて、電子ペン1がなぞったときの線分に対応する近似ラインを求め、専用紙20の地図エリア100を細かく分割するように設定されそれぞれが高さ情報を持つ複数の微小領域から近似ラインが通る微小領域を抽出する。そして、距離演算手段32は、抽出した微小領域のうちの隣り合う2つの微小領域の中心点同士を結び、その隣り合う2つの微小領域が有する高さ情報により直線の長さを補正し、補正した各直線の長さを足し合わせることで地形の高さ情報を加味して精度よく筆跡の長さLを求める。なお、近似ラインは、スプライン関数ないしラグランジュ関数等の補間関数により座標データの位置座標間が補間された曲線であってもよく、あるいは隣接する座標データの位置座標間を直線で結んだ補間直線であってもよい。   More specifically, the distance calculation means 32 is received by the data communication means 31 and is calculated by the electronic pen 1A along the handwriting, and the coordinates of a plurality of discrete position coordinate data 23 having a time-series order. Based on the points, an approximate line corresponding to the line segment traced by the electronic pen 1 is obtained, and the map area 100 of the dedicated paper 20 is set to be divided finely. Extract a minute region through which the approximate line passes. Then, the distance calculation means 32 connects the center points of the two adjacent minute regions among the extracted minute regions, corrects the length of the straight line based on the height information of the two adjacent minute regions, and By adding the lengths of the straight lines, the length L of the handwriting is obtained with high accuracy by taking into account the height information of the terrain. The approximate line may be a curve obtained by interpolating the position coordinates of the coordinate data by an interpolation function such as a spline function or a Lagrangian function, or an interpolation line connecting the position coordinates of adjacent coordinate data with a straight line. There may be.

それと合わせて、距離演算手段32は、記入情報20に含まれるドットパターンアドレス22に基づいて、情報記憶手段30に記憶された縮尺情報を参照して、そのドットパターンアドレス22に対応した縮尺値cを読み取る。そして、距離演算手段32は、上述のように演算した筆跡の長さLと縮尺値cとから、ペン・ダウン位置からペン・アップ位置に至るまでの地表上の距離(道のり)Dを演算する。なお、情報記憶手段30に記憶された縮尺情報は、地図における単位長さ当たりの地表上の距離(地図1cmは、地表の○kmに相当)であってもよいし、縮尺割合(1:25000、1/25000)であってもよい。   At the same time, the distance calculation means 32 refers to the scale information stored in the information storage means 30 based on the dot pattern address 22 included in the entry information 20, and the scale value c corresponding to the dot pattern address 22. Read. Then, the distance calculation means 32 calculates a distance (path) D on the ground surface from the pen-down position to the pen-up position from the handwriting length L and the scale value c calculated as described above. . The scale information stored in the information storage means 30 may be a distance on the ground surface per unit length on the map (1 cm on the map corresponds to ○ km of the ground surface) or a scale ratio (1: 25000). 1/25000).

ここで、地表上の距離(道のり)Dを求めるために、地図上の長さに対して、縮尺情報に基づいて掛けるべき倍率をsとすれば、
D = L × s
となり、例えば、縮尺値c=1/25000とすれば、
D = L × s = L × 1/c
となる。
Here, in order to obtain the distance (distance) D on the ground surface, if s is a magnification to be multiplied based on the scale information with respect to the length on the map,
D = L x s
For example, if the scale value c = 1/25000,
D = L × s = L × 1 / c
It becomes.

すなわち、距離演算手段32は、電子ペン1Aから取得した複数の記入情報20に基づいて、ペン先部1aの離脱が認識された時点で、ペン・ダウン位置からペン・アップ位置まで電子ペン1Aで地図エリア100がなぞられた軌跡(筆跡)に応じた地表上の距離(道のり)Dを演算し、音声出力手段33(スピーカ)に伝送するほか、情報記憶手段30に記憶する。   In other words, the distance calculation means 32 uses the electronic pen 1A from the pen down position to the pen up position when the detachment of the pen tip portion 1a is recognized based on the plurality of pieces of entry information 20 acquired from the electronic pen 1A. A distance (path) D on the ground surface corresponding to the trace (handwriting) traced by the map area 100 is calculated and transmitted to the audio output means 33 (speaker) and also stored in the information storage means 30.

距離演算手段32は、演算した地表上の距離(道のり)Dを、音声出力手段33に音声で報知させる。この音声出力手段33による案内メッセージの一例としては「出発地から目的地までの道のりは、○○kmです。」が挙げられる。また、距離演算手段32によって演算された地表上の距離(道のり)Dを表示手段34で表示させる。   The distance calculation means 32 causes the sound output means 33 to notify the calculated distance (distance) D on the ground surface by sound. As an example of the guidance message by the voice output means 33, “the distance from the departure place to the destination is OO km” can be cited. Further, the distance (distance) D on the ground surface calculated by the distance calculation means 32 is displayed on the display means 34.

端末装置3は、ストローク処理用の専用アプリケーションがインストールされることにより、上述の各手段が構成される。   The terminal device 3 includes the above-described units by installing a dedicated application for stroke processing.

[専用アプリケーション]
次に、端末装置3にインストールされる専用アプリケーション(プログラム)4について図8を参照して説明する。図8は、専用アプリケーション4のモジュール構成を示す。専用アプリケーション4は、電子ペン1Aが専用紙2Aをなぞった経路に関する記入情報20に基づいて所定の処理を実行するものであって、ダウンロード等により予め端末装置3にインストールされている。専用アプリケーション4は、専用紙2Aに対応付けられており、電子ペン1Aによる専用紙2Aへの記入により、端末装置3が記入情報20を受信することにより、専用アプリケーション4が動作する。
[Dedicated application]
Next, the dedicated application (program) 4 installed in the terminal device 3 will be described with reference to FIG. FIG. 8 shows a module configuration of the dedicated application 4. The dedicated application 4 executes predetermined processing based on the entry information 20 regarding the route traced by the electronic pen 1A through the dedicated paper 2A, and is installed in the terminal device 3 in advance by downloading or the like. The dedicated application 4 is associated with the dedicated paper 2A, and the dedicated application 4 operates when the terminal device 3 receives the entry information 20 by filling in the dedicated paper 2A with the electronic pen 1A.

図8に示すように、専用アプリケーション4は、データ通信モジュール41、情報記憶モジュール42、及び距離演算モジュール43を有する。   As shown in FIG. 8, the dedicated application 4 includes a data communication module 41, an information storage module 42, and a distance calculation module 43.

データ通信モジュール41は、電子ペン1Aから記入情報20を受信する機能を有し、端末装置3にデータ通信手段31を構成させるモジュールである。   The data communication module 41 has a function of receiving the entry information 20 from the electronic pen 1A, and is a module that causes the terminal device 3 to configure the data communication means 31.

情報記憶モジュール42は、地図エリア100におけるドットパターンアドレス22に対応させて、地図エリア100に描かれた地図の縮尺値を保持するほか、地図エリア100を格子状に細かく分割するように設定された複数の微小領域と、微小領域ごとに、縮尺値cにより標高が縮尺された高さ情報をメモリに記憶させるモジュールであって、端末装置3に情報記憶手段30を構成させるモジュールである。また、電子ペン1Aから取得した記入情報20と、距離演算手段32が演算した軌跡(筆跡)長さLや地表上の距離(道のり)Dをメモリに記憶させるモジュールであって、端末装置3に情報記憶手段30を構成させるモジュールである。   The information storage module 42 is set so as to correspond to the dot pattern address 22 in the map area 100 and to hold the scale value of the map drawn in the map area 100 and to finely divide the map area 100 into a grid pattern. This is a module that stores a plurality of minute areas and height information in which the altitude is scaled by the scale value c for each minute area in the memory, and is a module that configures the information storage means 30 in the terminal device 3. In addition, this is a module that stores in the memory the entry information 20 acquired from the electronic pen 1A, the trajectory (handwriting) length L calculated by the distance calculation means 32, and the distance (distance) D on the ground surface. This module constitutes the information storage means 30.

距離演算モジュール43は、複数の記入情報20を参照し、座標データ23に沿った経路を決定し、その経路の長さLを求め、さらに、記入情報20のドットパターンアドレス22に対応付けられた縮尺値を情報記憶手段30から読み出して、縮尺値cを参照して地表上の距離(道のり)Dを演算し、音声出力手段33に対して音声で地表上の距離Dを報知させる機能を有し、端末装置3に距離演算手段32を構成させるモジュールである。   The distance calculation module 43 refers to the plurality of entry information 20, determines a route along the coordinate data 23, obtains the length L of the route, and further associates it with the dot pattern address 22 of the entry information 20. The scale value is read from the information storage means 30, the distance (path) D on the ground surface is calculated with reference to the scale value c, and the sound output means 33 is notified of the distance D on the ground surface by voice. This is a module that configures the distance calculation means 32 in the terminal device 3.

[地図情報提供システムにおける距離演算処理]
次に、本実施形態の地図情報提供システムにより行われる距離演算処理について図9及び図10を参照して説明する。図9は、電子ペン1Aでなぞられた筆跡のある専用紙2Aを示す図である。図10は、距離演算のフローチャートである。
[Distance calculation processing in the map information provision system]
Next, distance calculation processing performed by the map information providing system of this embodiment will be described with reference to FIGS. 9 and 10. FIG. 9 is a diagram showing the dedicated paper 2A with handwriting traced with the electronic pen 1A. FIG. 10 is a flowchart of distance calculation.

ここで、本実施形態における距離演算処理とは、利用者が電子ペン1Aを専用紙2Aの地図エリア100に接触させてから離脱させるまでの間に、なぞった経路における地表上の距離(道のり)Dを算出し、その結果を通知する処理である。また、前述のように、図11及び図12に示すように、地図エリア100は格子状に分割されており、分割された各微小領域ΔxΔyは、その位置座標、中心点の位置座標、縮尺値cにより標高が縮尺された高さ情報を有しており、情報記憶手段30は、地図エリア100を構成する各微小領域ΔxΔyの位置座標、その中心点の位置座標、及び高さ情報を関連付けて記憶している。   Here, the distance calculation processing in the present embodiment is the distance (distance) on the ground surface in the traced path from when the user brings the electronic pen 1A into contact with the map area 100 of the dedicated paper 2A until it is released. This is a process for calculating D and notifying the result. Further, as described above, as shown in FIGS. 11 and 12, the map area 100 is divided into a lattice shape, and each divided minute area ΔxΔy has its position coordinates, the position coordinates of the center point, and the scale value. The information storage means 30 associates the position coordinates of each minute region ΔxΔy constituting the map area 100, the position coordinates of the center point thereof, and height information. I remember it.

図9に示すように、利用者は、電子ペン1Aのペン先部1aにより、専用紙2Aの地図エリア100上の出発地(接触開始点)701に接触(ペン・ダウン)する。すると、電子ペン1Aは、圧力センサ16で検出された筆圧が所定値以上になったことで、地図エリア100への接触を検出し(ステップS101)、LED14によって赤外線を照射しつつCMOSカメラ15によってドットパターンを撮像し、プロセッサ11によって、撮像されたドットパターンの画像データから地図エリア100への接触位置における座標データ23及びドットパターンアドレス22を演算する(ステップS102)。そしてプロセッサ11は、クロック18によって発信された現在時刻を示す時間情報21、ドットパターンアドレス22、座標データ23、筆圧データ24を関連付けた記入情報20を生成する(ステップS103)。さらに、電子ペン1Aは、当該記入情報20を端末装置3へ送信する(ステップS104)。   As shown in FIG. 9, the user contacts (pens down) a starting point (contact start point) 701 on the map area 100 of the dedicated paper 2A with the pen tip 1a of the electronic pen 1A. Then, the electronic pen 1A detects a contact with the map area 100 when the writing pressure detected by the pressure sensor 16 is equal to or higher than a predetermined value (step S101), and the CMOS camera 15 irradiates infrared rays with the LED 14. The dot pattern is picked up by the processor 11, and the processor 11 calculates the coordinate data 23 and the dot pattern address 22 at the contact position to the map area 100 from the image data of the picked up dot pattern (step S102). Then, the processor 11 generates entry information 20 that associates the time information 21, the dot pattern address 22, the coordinate data 23, and the writing pressure data 24 indicating the current time transmitted by the clock 18 (step S103). Furthermore, the electronic pen 1A transmits the entry information 20 to the terminal device 3 (step S104).

利用者が電子ペン1Aのペン先部1aを地図エリア100に接触させた状態で利用者の所望する経路をなぞり続けている間は、圧力センサ16によって所定値以上の筆圧を検知し続け、電子ペン1Aは地図エリア100から離れていないと判定しているため(ステップS105;ノー)、ステップS102に移り、所定の間隔(例えば、1秒間に75回)でCMOSカメラ15により撮像されるドットパターンの画像データに応じて、ステップS102からステップS105を繰り返す。すなわち、電子ペン1Aは、上記経路の各地点(通過点702A,702B,702C,702D,…)の座標データ23及びドットパターンアドレス22を演算し(ステップS102)、上記のように、座標データ23等を含む記入情報20を生成し(ステップS103)、当該記入情報20を端末装置3へ送信し続ける(ステップS104)。そして、利用者は出発地から目的地まで経路をなぞり終え、終了点703で電子ペン1Aを専用紙2Aから離脱(ペン・アップ)させる。すると、電子ペン1Aは、圧力センサ16による筆圧が所定値未満になったことを検出することで、地図エリア100から離れたことを検出し(ステップS105;イエス)、処理を終了する。   While the user keeps tracing the route desired by the user with the pen tip 1a of the electronic pen 1A in contact with the map area 100, the pressure sensor 16 continues to detect a writing pressure of a predetermined value or more. Since it is determined that the electronic pen 1A is not separated from the map area 100 (Step S105; No), the process moves to Step S102, and dots captured by the CMOS camera 15 at a predetermined interval (for example, 75 times per second). Steps S102 to S105 are repeated according to the pattern image data. That is, the electronic pen 1A calculates the coordinate data 23 and the dot pattern address 22 of each point (passing points 702A, 702B, 702C, 702D,...) Of the route (step S102), and the coordinate data 23 as described above. Etc. (step S103), and continues to transmit the entry information 20 to the terminal device 3 (step S104). Then, the user finishes tracing the route from the departure point to the destination, and at the end point 703, the electronic pen 1A is detached (pen-up) from the dedicated paper 2A. Then, the electronic pen 1A detects that it has left the map area 100 by detecting that the writing pressure by the pressure sensor 16 is less than a predetermined value (step S105; Yes), and ends the process.

このように、電子ペン1Aは、専用紙2Aに接触している間、即時的且つ逐次的に記入情報20を端末装置3へ送信する。ここで、即時的とは、電子ペン1Aが記入情報20を生成すると、その記入情報20は即座に端末装置3へ送信され、端末装置3によって取得されることを意味し、また、逐次的とは、電子ペン1Aが記入情報20を連続的に取得している間、その記入情報20は、次々に端末装置3へ送信され、端末装置3によって取得されることを意味している。   In this manner, the electronic pen 1A transmits the entry information 20 to the terminal device 3 immediately and sequentially while contacting the dedicated paper 2A. Here, “immediately” means that when the electronic pen 1A generates the entry information 20, the entry information 20 is immediately transmitted to the terminal device 3 and acquired by the terminal device 3. Means that while the electronic pen 1 </ b> A continuously acquires the entry information 20, the entry information 20 is sequentially transmitted to the terminal device 3 and acquired by the terminal device 3.

端末装置3のデータ通信手段31は、電子ペン1Aから即時的且つ逐次的に記入情報20を受信する。これにより、利用者が電子ペン1Aで専用紙2Aの地図エリア100をなぞると、端末装置3のデータ通信手段31は、リアルタイムで電子ペン1Aがなぞった経路下にあるドットパターンに対応した座標データ23を時系列順に取得していく。そして、データ通信手段31は、電子ペン1Aから受信した記入情報20を情報記憶手段30に保存するとともに、距離演算手段32に伝送する(ステップS111)。   The data communication means 31 of the terminal device 3 receives the entry information 20 immediately and sequentially from the electronic pen 1A. As a result, when the user traces the map area 100 of the dedicated paper 2A with the electronic pen 1A, the data communication means 31 of the terminal device 3 performs coordinate data corresponding to the dot pattern under the path traced by the electronic pen 1A in real time. 23 are acquired in chronological order. Then, the data communication unit 31 stores the entry information 20 received from the electronic pen 1A in the information storage unit 30 and transmits it to the distance calculation unit 32 (step S111).

データ通信手段31が電子ペン1Aから連続的に記入情報20を受信し続けている間、端末装置3の距離演算手段32は、記入情報20をデータ通信手段31から伝送され続けるが、データ通信手段31から伝送されていた記入情報20が途切れたことにより、電子ペン1Aのペン・アップを検知した場合(ステップS112:イエス)は、次のステップS113へ進み、記入情報20の受信が途切れず、電子ペン1Aのペン・アップを検知しない間(ステップS112:ノー)は、ステップS111に戻り、記入情報20を逐次的に情報記憶手段30に記憶していく。   While the data communication unit 31 continues to receive the entry information 20 from the electronic pen 1A, the distance calculation unit 32 of the terminal device 3 continues to transmit the entry information 20 from the data communication unit 31. If the pen information of the electronic pen 1A is detected due to the interruption of the entry information 20 transmitted from 31 (step S112: YES), the process proceeds to the next step S113, and the reception of the entry information 20 is not interrupted. While the pen-up of the electronic pen 1A is not detected (step S112: No), the process returns to step S111, and the entry information 20 is sequentially stored in the information storage unit 30.

距離演算手段32が記入情報20の受信の途切れによるペン・アップを検知すると(ステップS112:イエス)、情報記憶手段30に記憶した複数の座標データ23に基づいて、電子ペン1Aがなぞったときの線分に対応する近似ラインをスプライン関数ないしラグランジュ関数等の補間関数により求める(ステップS113)。このとき、離散的な座標データを補間できるようにするため、少なくともX座標が単調増加又は単調減少するよう座標データ列を区間分けし、各区間ごとに、補間関数を適用する。なお、近似ラインは、隣接する座標データの位置座標点間を直線で結んだ補間直線であってもよい。   When the distance calculation means 32 detects pen-up due to the interruption of reception of the entry information 20 (step S112: YES), the electronic pen 1A is traced based on the plurality of coordinate data 23 stored in the information storage means 30. An approximate line corresponding to the line segment is obtained by an interpolation function such as a spline function or a Lagrangian function (step S113). At this time, in order to be able to interpolate discrete coordinate data, the coordinate data string is divided into sections so that at least the X coordinate monotonously increases or decreases, and an interpolation function is applied to each section. The approximate line may be an interpolation straight line connecting the position coordinate points of adjacent coordinate data with a straight line.

続いて、距離演算手段32は、情報記憶手段30から、地図エリア100を細かく分割するように設定されそれぞれが高さ情報(縮尺値cにより縮尺された標高データ情報)を持つ複数の微小領域から近似ラインが通る微小領域とその高さ情報を抽出し(ステップS114)、抽出した微小領域のうちの隣り合う2つの微小領域の中心点同士を直線で結び、その隣り合う2つの微小領域が有する高さ情報により直線の長さを補正し、補正した各直線の長さを足し合わせることにより、高さ情報により補正された筆跡の長さLを求める。さらに距離演算手段32は、ドットパターンアドレスに基づいて、情報記憶手段30に記憶された縮尺情報を参照してそのドットパターンアドレスに対応した縮尺値cを読み取り、筆跡の長さLと縮尺値cとから、地表上の距離(道のり)Dを演算する(ステップS115)。   Subsequently, the distance calculation means 32 is set from the information storage means 30 so as to finely divide the map area 100 from a plurality of minute regions each having height information (elevation data information scaled by the scale value c). The micro area through which the approximate line passes and its height information are extracted (step S114), the center points of two adjacent micro areas in the extracted micro area are connected by a straight line, and the two adjacent micro areas have The length L of the handwriting corrected by the height information is obtained by correcting the length of the straight line based on the height information and adding the corrected lengths of the straight lines. Further, the distance calculation means 32 reads the scale value c corresponding to the dot pattern address with reference to the scale information stored in the information storage means 30 based on the dot pattern address, and the handwriting length L and the scale value c. From the above, the distance (distance) D on the ground surface is calculated (step S115).

なお、通常、ドットパターンアドレスは専用紙2Aの種類ないし頁毎に同一であり、ステップS102で求められるドットパターンアドレスは変わらないため、ドットパターンアドレスを求めるのは最初の1回のみでもよいし、繰り返しドットパターンアドレスを求めて、何らかの原因によりドットパターンアドレスが変わった場合は端末装置3に送信することとしてもよい。また、ドットパターンアドレスが変わらない限り、端末装置3の距離演算手段32が縮尺情報を参照して縮尺値を取得するのは、最初の1回のみでよい。   In general, the dot pattern address is the same for each type or page of the dedicated paper 2A, and the dot pattern address obtained in step S102 does not change. Therefore, the dot pattern address may be obtained only once, A repeated dot pattern address may be obtained and transmitted to the terminal device 3 if the dot pattern address has changed for some reason. In addition, as long as the dot pattern address does not change, the distance calculation means 32 of the terminal device 3 refers to the scale information and acquires the scale value only once.

続いて、距離演算手段32は、演算した接触開始点701から終了点703までの地表上の距離(道のり)Dを音声出力手段33に音声で報知させたり、表示手段34に表示させる(ステップS116)。これにより、距離演算を終了する。   Subsequently, the distance calculation unit 32 causes the audio output unit 33 to notify the calculated distance (distance) D on the ground surface from the contact start point 701 to the end point 703 or to display the distance on the display unit 34 (step S116). ). This completes the distance calculation.

このように、利用者が電子ペン1Aを所望の経路に沿って地図エリア100上でなぞると、それに応じて、端末装置3は、電子ペン1Aによってなぞられた経路に沿って演算された複数の位置座標に基づいて、地図上の経路における地表上の距離(道のり)Dを演算し、音声出力手段33や表示手段34によって報知することができる。   As described above, when the user traces the electronic pen 1A along the desired route on the map area 100, the terminal device 3 accordingly responds to the plurality of computations performed along the route traced by the electronic pen 1A. Based on the position coordinates, the distance (path) D on the ground surface in the route on the map can be calculated and notified by the audio output means 33 and the display means 34.

ここで、図11及び図12を参照して、ステップS114、115の処理における距離演算手段32による道のり演算のアルゴリズムをより詳細に説明する。なお、これらの例は、便宜上始点から終点までごく短いものを示しており、電子ペン1Aで地図エリア100上の始点(Xs,Ys) から終点(Xe,Ye) までをなぞったときに得られた座標データを示す位置座標を黒丸印で示し、なぞったときの線分に対して、スプライン補間ないしラグランジュ補間により補間された近似ラインを、それぞれA(参照図11),B(参照図12)とする。また、各微小領域の中心点を白丸印で示す。   Here, with reference to FIG. 11 and FIG. 12, the algorithm of the road calculation by the distance calculation means 32 in the processing of steps S114 and 115 will be described in more detail. These examples show a very short one from the start point to the end point for convenience, and are obtained when the electronic pen 1A traces from the start point (Xs, Ys) to the end point (Xe, Ye) on the map area 100. The position coordinates indicating the coordinate data are indicated by black circles, and approximate lines interpolated by spline interpolation or Lagrange interpolation with respect to the traced line segment are respectively indicated by A (reference figure 11) and B (reference figure 12). And The center point of each minute region is indicated by a white circle.

得られた座標データの始点から終点にかけて、複数の微小領域ΔxΔyのうち近似ラインA,Bが通る微小領域を抽出する。このとき、対角に位置する微小領域は選ばないこととする。図11の例では、近似ラインAは、微小領域の格子点を通らないため、6個(i=0〜5)の微小領域が抽出されている。図12の例では、始点(Xs,Ys) から最初の3つの座標データを通過する近似ラインBは、微小領域の格子点を通過しているが、抽出する微小領域は、微小領域i=0から対角にある微小領域i=2を直接抽出せずに、微小領域i=0から、X方向とY方向とを比べて変位量のより大きいX方向に隣接した微小領域i=1を経て、微小領域i=2を抽出するようにする。そして、結果として、近似ラインBにより、図示された6個(i=0〜5)の微小領域が抽出されている。   From the start point to the end point of the obtained coordinate data, a minute region through which the approximate lines A and B pass is extracted from the plurality of minute regions ΔxΔy. At this time, a minute region located diagonally is not selected. In the example of FIG. 11, since the approximate line A does not pass through the lattice points of the minute area, six (i = 0 to 5) minute areas are extracted. In the example of FIG. 12, the approximate line B that passes through the first three coordinate data from the start point (Xs, Ys) passes through the lattice points of the minute region, but the minute region to be extracted is the minute region i = 0. Without directly extracting the minute region i = 2 diagonally from the first region, the minute region i = 0, and then passing through the minute region i = 1 adjacent to the X direction, which has a larger displacement than the X direction and the Y direction. Then, the minute region i = 2 is extracted. As a result, the illustrated six (i = 0 to 5) minute regions are extracted by the approximate line B.

次に、抽出した微小領域のうちの隣り合う2つの微小領域の中心点同士を直線で結び、その隣り合う2つの微小領域が有する高さ情報により直線の長さを補正する。隣り合う2つの微小領域の中心点の座標を(Xi,Yi),(Xi+1,Yi+1)とすると、高さ情報はそれぞれZi、Zi+1 と一義的に決まり、二点の三次元座標は、(Xi,Yi,Zi),(Xi+1,Yi+1,Zi+1)となる。したがって、隣り合う2つの微小領域の中心点の距離をΔc(=Δx=Δy)とすると、ピタゴラスの定理により、高さ情報を加味して補正した直線の長さは、次のようになる。

Figure 0005239283
Next, the center points of two adjacent minute regions in the extracted minute regions are connected by a straight line, and the length of the straight line is corrected by the height information of the two adjacent minute regions. If the coordinates of the center point of two adjacent minute regions are (Xi, Yi), (Xi + 1, Yi + 1), the height information is uniquely determined as Zi, Zi + 1, respectively, and the three-dimensional coordinates of the two points are (Xi , Yi, Zi), (Xi + 1, Yi + 1, Zi + 1). Accordingly, when the distance between the center points of two adjacent minute regions is Δc (= Δx = Δy), the length of the straight line corrected by adding the height information according to the Pythagorean theorem is as follows.
Figure 0005239283

そして、補正した各直線の長さを足し合わせることにより、高さ情報により補正された筆跡の長さLは、次式で表される。ただし、始点における微小領域をi=0とし、終点における微小領域をi=imaxとする。

Figure 0005239283
And the length L of the handwriting corrected by the height information by adding the corrected straight line lengths is expressed by the following equation. However, the minute area at the start point is i = 0, and the minute area at the end point is i = imax.
Figure 0005239283

この長さLを、次式のように縮尺値cで補正することにより、地図エリア上の筆跡に対応する地表上の距離Dが得られる。
D=L/c
By correcting this length L with the scale value c as in the following equation, the distance D on the ground surface corresponding to the handwriting on the map area is obtained.
D = L / c

電子ペン1Aは、1秒間に75回ドットパターンを撮像し、座標データ(Xi,Yi) を求めるため、得られる座標は、なぞった軌跡に沿って連続しているが、電子ペン1Aの移動速度が速いときは、サンプリング点間の距離が長くなるため、サンプリング点間を直線補間するよりも滑らかな曲線補間の方が電子ペン1Aの軌跡を再現するうえで好ましい。   Since the electronic pen 1A captures the dot pattern 75 times per second and obtains the coordinate data (Xi, Yi), the obtained coordinates are continuous along the traced path, but the moving speed of the electronic pen 1A Is faster, the distance between the sampling points becomes longer. Therefore, smooth curve interpolation is preferable to reproduce the locus of the electronic pen 1A than linear interpolation between the sampling points.

このように、利用者が電子ペン1Aを所望の経路に沿って地図エリア100上でなぞると、それに応じて、電子ペン1Aは、なぞられた経路に沿って複数の位置座標を演算し、当該位置座標に基づいて、地図上の経路における地表上の距離(道のり)Dを、音声出力手段33や表示手段34によって報知することができる。   As described above, when the user traces the electronic pen 1A along the desired route on the map area 100, the electronic pen 1A calculates a plurality of position coordinates along the traced route. Based on the position coordinates, the distance (path) D on the ground surface in the route on the map can be notified by the audio output means 33 or the display means 34.

[第1実施形態の端末装置を用いたシステムによる作用効果]
この端末装置3を用いた地図情報提供システムによれば、利用者が電子ペン1Aで、地図エリア100をなぞると、電子ペン1Aは、なぞられた経路上の座標を所定間隔で演算し、当該座標を含む記入情報20を生成し、即時的且つ逐次的に当該記入情報20を端末装置3へ送信する。そして、端末装置3は、電子ペン1Aから上記記入情報20を受信し、当該記入情報20の座標データ23に基づいて、軌跡(筆跡)を決定し、当該軌跡の長さLを演算したうえで、縮尺値cを参照し、地表上の距離(道のり)Dを演算する。この場合、距離演算手段32は、電子ペン1Aによって演算された複数の位置座標に基づいて、電子ペン1Aがなぞったときの線分に対応する近似ラインを求め、地図エリア100を細かく分割するように設定されそれぞれが高さ情報を持つ複数の微小領域から近似ラインが通る微小領域を抽出し、抽出した微小領域のうちの隣り合う2つの微小領域の中心点同士を直線で結び、その隣り合う2つの微小領域が有する高さ情報により直線の長さを補正し、補正した各直線の長さを足し合わせることにより、地図エリア100上の筆跡に対応する地表上の距離(道のり)Dを算出する。そのうえで、距離演算手段32は、音声出力手段33や表示手段34に距離Dを報知させる。
[Operational effects of the system using the terminal device of the first embodiment]
According to the map information providing system using the terminal device 3, when the user traces the map area 100 with the electronic pen 1A, the electronic pen 1A calculates the coordinates on the traced path at predetermined intervals, and The entry information 20 including the coordinates is generated, and the entry information 20 is transmitted to the terminal device 3 immediately and sequentially. The terminal device 3 receives the entry information 20 from the electronic pen 1A, determines a locus (handwriting) based on the coordinate data 23 of the entry information 20, and calculates the length L of the locus. The scale value c is referred to, and a distance (path) D on the ground surface is calculated. In this case, the distance calculating means 32 obtains an approximate line corresponding to a line segment traced by the electronic pen 1A based on the plurality of position coordinates calculated by the electronic pen 1A, and finely divides the map area 100. Is extracted from a plurality of micro regions each having height information, and the center points of two adjacent micro regions out of the extracted micro regions are connected by a straight line and adjacent to each other. By correcting the length of the straight line based on the height information of the two minute areas, and adding the corrected lengths of the straight lines, the distance (path) D on the ground surface corresponding to the handwriting on the map area 100 is calculated. To do. In addition, the distance calculation unit 32 informs the audio output unit 33 and the display unit 34 of the distance D.

このように、端末装置3は、電子ペン1Aによってなぞられた経路に沿って演算された座標データ23を含む記入情報20を受信することにより、当該記入情報20の座標データ23に基づいて軌跡(筆跡)を決定し、端末装置3は、上記軌跡(筆跡)の長さLを演算して、音声や画面表示により利用者に報知することができる。これにより、出発地から目的地までに高低差がある場合にも、利用者はこの端末装置3を使用したシステムによって、高さ情報(標高)を反映した精度の高い経路の距離(道のり)を簡単に知ることができ、また複数の経路がある場合にも、各経路の道のりを知ることで経路の選択に役立てられる。   As described above, the terminal device 3 receives the entry information 20 including the coordinate data 23 calculated along the route traced by the electronic pen 1A, and thereby the trajectory (based on the coordinate data 23 of the entry information 20 ( The handwriting) is determined, and the terminal device 3 can calculate the length L of the locus (handwriting) and notify the user by voice or screen display. Thereby, even when there is a height difference from the starting point to the destination, the user can calculate the distance (path) of the highly accurate route reflecting the height information (altitude) by the system using this terminal device 3. It is easy to know, and even when there are a plurality of routes, knowing the route of each route helps to select the route.

<第2実施形態>
次に、第2実施形態について説明する。この第2実施形態では図13に示す電子ペン1B(1)を使用するとともに、図14に示す、電子ペン1Bから端末装置3へのデータ送信処理に対応付けられたドットパターンが形成された送信エリア110を有する専用紙2B(2)を使用する。なお、第2実施形態において第1実施形態と同様の部分については同じ符号を付してその説明を適宜省略する。
Second Embodiment
Next, a second embodiment will be described. In the second embodiment, the electronic pen 1B (1) shown in FIG. 13 is used, and transmission in which a dot pattern associated with data transmission processing from the electronic pen 1B to the terminal device 3 shown in FIG. The dedicated paper 2B (2) having the area 110 is used. In the second embodiment, the same parts as those in the first embodiment are denoted by the same reference numerals, and the description thereof is omitted as appropriate.

第2実施形態と第1実施形態とが異なる点は、第1実施形態では、利用者が電子ペン1Aで地図エリア100へ経路を記入している間に、電子ペン1Aが記入情報20を即時的且つ逐次的に端末装置3へ送信するのに対し、第2実施形態では、利用者が電子ペン1Bで地図エリア100へ経路を記入している間、電子ペン1Bは、記入された経路に沿って生成した記入情報20をメモリ19に記憶しておき、利用者は経路の記入を終了した段階で、専用紙2Bの送信エリア110に電子ペン1Bでチェックマークないしタップを記入することで、電子ペン1Bから記入情報20をまとめて端末装置3へ送信させ、端末装置3では、まとめて送信された記入情報20に基づいて軌跡を演算して道のりDを求める点にある。そのため、第2実施形態の電子ペン1Bは、図13に示すように、記入情報20を記憶するためのメモリ19を備える。   The difference between the second embodiment and the first embodiment is that, in the first embodiment, the electronic pen 1A immediately enters the entry information 20 while the user enters a route to the map area 100 with the electronic pen 1A. In contrast, in the second embodiment, while the user writes a route to the map area 100 with the electronic pen 1B, the electronic pen 1B follows the written route. The entry information 20 generated along the line is stored in the memory 19, and when the user completes the entry of the route, a check mark or a tap is entered in the transmission area 110 of the dedicated paper 2B with the electronic pen 1B. The entry information 20 is collectively transmitted from the electronic pen 1B to the terminal device 3, and the terminal device 3 calculates the path based on the entry information 20 transmitted together to obtain the path D. Therefore, the electronic pen 1B of the second embodiment includes a memory 19 for storing entry information 20 as shown in FIG.

第2実施形態において、利用者が図14に示す専用紙2Bの地図エリア100をなぞると、電子ペン1Bは、なぞられた軌跡(筆跡)に沿ってドットパターンを読み取って座標データ23を逐次演算していき、当該座標データ23を含む記入情報20をメモリ19に保存していく。   In the second embodiment, when the user traces the map area 100 of the dedicated paper 2B shown in FIG. 14, the electronic pen 1B reads the dot pattern along the traced path (handwriting) and sequentially calculates the coordinate data 23. Then, the entry information 20 including the coordinate data 23 is stored in the memory 19.

電子ペン1Bのプロセッサ11は、ドットパターンの画像データからの座標データの演算において、送信エリア110内の筆跡に基づく記入情報20が得られると、データ通信ユニット12に対して、メモリ19に記憶していた記入情報20をまとめて端末装置3へ送信させる機能を有している。したがって、利用者が電子ペン1Bで地図エリア100への経路の記入を終え、電子ペン1Bで送信エリア110に接触すると、電子ペン1Bは、メモリ19に保存した記入情報20を端末装置3へ送信する。   The processor 11 of the electronic pen 1B stores in the memory 19 the data communication unit 12 in the memory 19 when the entry information 20 based on the handwriting in the transmission area 110 is obtained in the calculation of the coordinate data from the image data of the dot pattern. It has a function of sending the entered entry information 20 together to the terminal device 3. Therefore, when the user finishes entering the route to the map area 100 with the electronic pen 1B and touches the transmission area 110 with the electronic pen 1B, the electronic pen 1B transmits the entry information 20 stored in the memory 19 to the terminal device 3. To do.

そして、端末装置3は、電子ペン1Bから受信した記入情報20に含まれるドットパターンアドレス22に基づいて、専用紙2B上の地図エリア100の縮尺値を情報記憶手段30から読み出して特定し、開始点701から終了点703までの軌跡(筆跡)の長さLを算出することにより、地表上の距離(道のり)Dを演算し、音声出力手段33或いは表示手段34によって地表上の距離Dを報知する。   Then, the terminal device 3 reads and specifies the scale value of the map area 100 on the dedicated paper 2B from the information storage means 30 based on the dot pattern address 22 included in the entry information 20 received from the electronic pen 1B, and starts. By calculating the length L of the trajectory (handwriting) from the point 701 to the end point 703, the distance (path) D on the ground surface is calculated, and the distance D on the ground surface is notified by the audio output means 33 or the display means 34. To do.

[地図情報提供システムにおける距離演算処理]
続いて、第2実施形態の端末装置により行われる距離演算処理について図15及び図16を参照して説明する。図15は、電子ペン1Bでなぞられた筆跡のある専用紙2Bを示す図である。図16は、電子ペン1Bにおける距離演算のフローチャートである。
[Distance calculation processing in map information provision system]
Next, distance calculation processing performed by the terminal device of the second embodiment will be described with reference to FIGS. 15 and 16. FIG. 15 is a diagram showing a dedicated paper 2B with handwriting traced with the electronic pen 1B. FIG. 16 is a flowchart of distance calculation in the electronic pen 1B.

利用者は、電子ペン1Bのペン先部1aにより、専用紙2Bの地図エリア100上の出発地(接触開始点)701に接触(ペン・ダウン)する(参照図15)。すると、電子ペン1Bは、圧力センサ16で検出された筆圧が所定値以上になったことで、地図エリア100への接触を検出し(ステップS101A)、LED14によって赤外線を照射しつつCMOSカメラ15によってドットパターンを撮像し、プロセッサ11によって、撮像されたドットパターンの画像データから地図エリア100への接触位置における座標データ23及びドットパターンアドレス22を演算する(ステップS102A)。そしてプロセッサ11は、クロック18によって発信された現在時刻を示す時間情報21、ドットパターンアドレス22、座標データ23、筆圧データ24を関連付けた記入情報20を生成する(ステップS103A)し、この生成した記入情報20をメモリ19に保存する(ステップS104A)。   The user contacts (pens down) the starting point (contact start point) 701 on the map area 100 of the dedicated paper 2B with the pen tip 1a of the electronic pen 1B (see FIG. 15). Then, the electronic pen 1B detects contact with the map area 100 when the writing pressure detected by the pressure sensor 16 is equal to or higher than a predetermined value (step S101A), and the CMOS camera 15 irradiates infrared rays with the LED 14. The dot pattern is picked up by the processor 11, and the processor 11 calculates the coordinate data 23 and the dot pattern address 22 at the contact position to the map area 100 from the image data of the picked-up dot pattern (step S102A). Then, the processor 11 generates the entry information 20 in which the time information 21, the dot pattern address 22, the coordinate data 23, and the writing pressure data 24 indicating the current time transmitted by the clock 18 are associated (step S103A). The entry information 20 is stored in the memory 19 (step S104A).

次いで、利用者が電子ペン1Bのペン先部1aを地図エリア100に接触させた状態で利用者の所望する経路をなぞり続けると、電子ペン1Bは送信エリア110内の筆跡に基づく記入情報20を取得しないため(ステップS105A;ノー)、ステップ102Aへ移り、所定の間隔(例えば、1秒間に75回)で、連続的に各地点(通過点702A,702B,702C,702D,…)の座標データ23を演算していくとともに記入情報20を生成していき、それらの記入情報20をメモリ19へ保存する。   Next, when the user keeps tracing the route desired by the user in a state where the pen tip portion 1a of the electronic pen 1B is in contact with the map area 100, the electronic pen 1B displays the entry information 20 based on the handwriting in the transmission area 110. Since it is not acquired (step S105A; No), the process proceeds to step 102A, and coordinate data of each point (passing points 702A, 702B, 702C, 702D,...) Is continuously provided at a predetermined interval (for example, 75 times per second). 23 is calculated and entry information 20 is generated, and the entry information 20 is stored in the memory 19.

そして、利用者が電子ペン1Bを経路の終了点703で地図エリア100から離した後に、電子ペン1Bで送信エリア110に接触すると(ステップS105A;イエス)、電子ペン1Bは、メモリ19に保持してある記入情報20をまとめて端末装置3へ送信する(ステップS106A)。   When the user moves the electronic pen 1B away from the map area 100 at the end point 703 of the route and then touches the transmission area 110 with the electronic pen 1B (step S105A; Yes), the electronic pen 1B is held in the memory 19. The entry information 20 is collectively transmitted to the terminal device 3 (step S106A).

端末装置3におけるデータ通信手段31は、電子ペン1Bが送信した記入情報20を受信し、当該記入情報20を情報記憶手段30に保存するとともに、距離演算手段32に伝送する(ステップS111A)。そして、電子ペン1Aによって演算された複数の位置座標に基づいて、電子ペン1Bがなぞったときの線分に対応する近似ラインをスプライン関数ないしラグランジュ関数等の補間関数により求める(ステップS112A)。このとき、離散的な座標データを補間できるようにするため、少なくともX座標が単調増加又は単調減少するよう座標データ列を区間分けし、各区間ごとに、補間関数を適用する。なお、近似ラインは、隣接する座標データの位置座標点間を直線で結んだ補間直線であってもよい。   The data communication means 31 in the terminal device 3 receives the entry information 20 transmitted by the electronic pen 1B, stores the entry information 20 in the information storage means 30, and transmits it to the distance calculation means 32 (step S111A). Based on a plurality of position coordinates calculated by the electronic pen 1A, an approximate line corresponding to a line segment traced by the electronic pen 1B is obtained by an interpolation function such as a spline function or a Lagrangian function (step S112A). At this time, in order to be able to interpolate discrete coordinate data, the coordinate data string is divided into sections so that at least the X coordinate monotonously increases or decreases, and an interpolation function is applied to each section. The approximate line may be an interpolation straight line connecting the position coordinate points of adjacent coordinate data with a straight line.

続いて、距離演算手段32は、情報記憶手段30から、地図エリア100を細かく分割するように設定されそれぞれが高さ情報(縮尺値cにより縮尺された標高データ情報)を持つ複数の微小領域から近似ラインが通る微小領域とその高さ情報を抽出し(ステップS113A)、抽出した微小領域のうちの隣り合う2つの微小領域の中心点同士を直線で結び、その隣り合う2つの微小領域が有する高さ情報により直線の長さを補正し、補正した各直線の長さを足し合わせることにより、高さ情報により補正された筆跡の長さLを求める。さらに距離演算手段32は、ドットパターンアドレスに基づいて、情報記憶手段30に記憶された縮尺情報を参照してそのドットパターンアドレスに対応した縮尺値cを読み取り、筆跡の長さLと縮尺値cとから、地表上の距離(道のり)Dを演算する(ステップS114A)。   Subsequently, the distance calculation means 32 is set from the information storage means 30 so as to finely divide the map area 100 from a plurality of minute regions each having height information (elevation data information scaled by the scale value c). The micro area through which the approximate line passes and its height information are extracted (step S113A), the center points of two adjacent micro areas in the extracted micro area are connected by a straight line, and the two adjacent micro areas have. The length L of the handwriting corrected by the height information is obtained by correcting the length of the straight line based on the height information and adding the corrected lengths of the straight lines. Further, the distance calculation means 32 reads the scale value c corresponding to the dot pattern address with reference to the scale information stored in the information storage means 30 based on the dot pattern address, and the handwriting length L and the scale value c. From the above, the distance (distance) D on the ground surface is calculated (step S114A).

このステップS113A、114Aの演算手順は、第1実施形態においてステップS115,S116で説明した手順と同様である。すなわち、情報記憶手段30から、地図エリア100を細かく分割するように設定されそれぞれが高さ情報(縮尺値cにより縮尺された標高データ情報)を持つ複数の微小領域から近似ラインが通る微小領域とその高さ情報を抽出し(ステップS113A)、抽出した微小領域のうちの隣り合う2つの微小領域の中心点同士を直線で結び、その隣り合う2つの微小領域が有する高さ情報により直線の長さを補正し、補正した各直線の長さを足し合わせることにより、高さ情報により補正された筆跡の長さLを求める。さらに距離演算手段32は、ドットパターンアドレスに基づいて、情報記憶手段30に記憶された縮尺情報を参照してそのドットパターンアドレスに対応した縮尺値cを読み取り、筆跡の長さLと縮尺値cとから、地表上の距離(道のり)Dを演算する(ステップS114A)。   The calculation procedure of steps S113A and 114A is the same as the procedure described in steps S115 and S116 in the first embodiment. That is, from the information storage means 30, a minute area through which an approximate line passes from a plurality of minute areas that are set so as to finely divide the map area 100 and each have height information (elevation data information scaled by the scale value c). The height information is extracted (step S113A), the center points of two adjacent minute regions of the extracted minute regions are connected by a straight line, and the length of the straight line is determined by the height information of the two adjacent minute regions. The length L of the handwriting corrected by the height information is obtained by correcting the length and adding up the lengths of the corrected straight lines. Further, the distance calculation means 32 reads the scale value c corresponding to the dot pattern address with reference to the scale information stored in the information storage means 30 based on the dot pattern address, and the handwriting length L and the scale value c. From the above, the distance (distance) D on the ground surface is calculated (step S114A).

そして、地表上の距離(道のり)Dを演算した後、距離演算手段32は、演算して確定した接触開始点701から終了点703までの地表上の距離(道のり)Dを音声出力手段33に音声で通知させたり、表示手段34に表示させたりする(ステップS115A)。これにより、距離演算を終了する。   Then, after calculating the distance (distance) D on the ground surface, the distance calculation means 32 supplies the sound output means 33 with the distance (distance) D on the ground surface from the contact start point 701 to the end point 703 determined by calculation. It is notified by voice or displayed on the display means 34 (step S115A). This completes the distance calculation.

[第2実施形態の端末装置を用いたシステムによる作用効果]
この端末装置3を用いた地図情報提供システムによれば、利用者が電子ペン1Bで、地図エリア100をなぞると、電子ペン1Bは、なぞられた経路上の座標を所定間隔で演算し、当該座標を含む記入情報20を生成し、メモリ19に記憶する。そして、利用者が電子ペン1Bを送信エリア110に接触させると、電子ペン1Bは、当該記入情報20を端末装置3へまとめて送信する。そして、端末装置3は、電子ペン1Bから記入情報20を受信し、当該記入情報20の座標データ23に基づいて、軌跡(筆跡)を決定し、当該軌跡の長さLを演算したうえで、縮尺値cを参照し、地表上の距離(道のり)Dを演算する。この場合、距離演算手段32は、電子ペン1Bによって演算された複数の位置座標に基づいて、電子ペン1Aがなぞったときの線分に対応する近似ラインを求め、地図エリア100を細かく分割するように設定されそれぞれが高さ情報を持つ複数の微小領域から近似ラインが通る微小領域を抽出し、抽出した微小領域のうちの隣り合う2つの微小領域の中心点同士を直線で結び、その隣り合う2つの微小領域が有する高さ情報により直線の長さを補正し、補正した各直線の長さを足し合わせることにより、地図エリア100上の筆跡に対応する地表上の距離(道のり)Dを算出する。そのうえで、距離演算手段32は、音声出力手段33による音声や表示手段34による表示によって距離Dを報知させる。
[Operational effects of the system using the terminal device of the second embodiment]
According to the map information providing system using the terminal device 3, when the user traces the map area 100 with the electronic pen 1B, the electronic pen 1B calculates the coordinates on the traced path at predetermined intervals, and The entry information 20 including the coordinates is generated and stored in the memory 19. Then, when the user brings the electronic pen 1 </ b> B into contact with the transmission area 110, the electronic pen 1 </ b> B collectively transmits the entry information 20 to the terminal device 3. The terminal device 3 receives the entry information 20 from the electronic pen 1B, determines a locus (handwriting) based on the coordinate data 23 of the entry information 20, and calculates the length L of the locus, With reference to the scale value c, the distance (distance) D on the ground surface is calculated. In this case, the distance calculation means 32 obtains an approximate line corresponding to a line segment traced by the electronic pen 1A based on the plurality of position coordinates calculated by the electronic pen 1B, and finely divides the map area 100. Is extracted from a plurality of micro regions each having height information, and the center points of two adjacent micro regions out of the extracted micro regions are connected by a straight line and adjacent to each other. By correcting the length of the straight line based on the height information of the two minute areas, and adding the corrected lengths of the straight lines, the distance (path) D on the ground surface corresponding to the handwriting on the map area 100 is calculated. To do. In addition, the distance calculation means 32 informs the distance D by sound from the sound output means 33 or display by the display means 34.

このように、端末装置3は、電子ペン1Bによってなぞられた経路に沿って演算された座標データ23を含む記入情報20を受信することにより、当該記入情報20の座標データ23に基づいて軌跡(筆跡)を決定し、端末装置3は、上記軌跡(筆跡)の長さLを演算して、音声等により利用者に報知することができる。これにより、出発地から目的地までに高低差がある場合にも、利用者はこの端末装置3を使用したシステムによって、高さ情報(標高)を反映した精度の高い経路の距離を簡単に知ることができ、また複数の経路がある場合にも、各経路の距離を知ることで経路の選択に役立てられる。   In this way, the terminal device 3 receives the entry information 20 including the coordinate data 23 calculated along the route traced by the electronic pen 1B, so that the trajectory (based on the coordinate data 23 of the entry information 20 ( The handwriting) is determined, and the terminal device 3 can calculate the length L of the locus (handwriting) and notify the user by voice or the like. Thereby, even when there is a height difference from the departure point to the destination, the user can easily know the distance of the highly accurate route reflecting the height information (altitude) by the system using the terminal device 3. In addition, even when there are a plurality of routes, knowing the distance of each route helps to select the route.

以上、本発明の実施の形態について詳細に説明してきたが、本発明は上記した実施形態に何ら限定されるものではなく、本発明の趣旨を逸脱しない範囲において種々の変更が可能である。   Although the embodiments of the present invention have been described in detail above, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the spirit of the present invention.

上記実施形態では、地図エリア100に経路をなぞって地表上の距離(道のり)Dを求めるために、距離演算手段32が縮尺情報を参照しているが、地図に限らず、例えば、建築物や人・彫刻等の立体物を表す見取り図等の図面に、高さ情報を参照して、立体物上の表面の長さを求めるようにしてもよい。   In the embodiment described above, the distance calculation means 32 refers to the scale information in order to trace the route to the map area 100 to obtain the distance (path) D on the surface of the earth. You may make it obtain | require the length of the surface on a solid object with reference to height information in drawings, such as a sketch which represents solid objects, such as a person and a sculpture.

また、上記実施形態の図11や図12の例では、近似ラインが微小領域の格子点を通過する場合、対角上にある微小領域を直接抽出しないようにしたが、そのような微小領域を直接選択する場合には、上式のΔcを√2*Δcと置き換えて演算するとよい。   Further, in the example of FIG. 11 and FIG. 12 of the above embodiment, when the approximate line passes through the lattice point of the minute region, the minute region on the diagonal is not directly extracted. When selecting directly, it is preferable to calculate by replacing Δc in the above equation with √2 * Δc.

また、上記実施形態では、微小領域に関連付けられた高さ情報は、標高を縮尺値cで縮尺したデータとしたが、これに限らず、微小領域に関連付ける高さ情報を標高とし、Lを求める際に、Δcを地表上の距離に換算して計算を行い、直接、地表上の距離(道のり)を求めるようにしてもよい(このとき、D=Lとなる)。   In the above embodiment, the height information associated with the minute area is data obtained by reducing the altitude with the scale value c. However, the present invention is not limited to this, and the height information associated with the minute area is regarded as the altitude and L is obtained. At this time, Δc may be converted into a distance on the ground surface, and the calculation may be performed directly to obtain the distance (road) on the ground surface (D = L at this time).

また、上記実施形態では、距離演算手段32は、軌跡(筆跡)の長さLの演算に先立って、情報記憶手段30から縮尺情報を取得しているが、軌跡の長さLを算出した後、縮尺情報を取得するようにしてもよい。   In the above embodiment, the distance calculation unit 32 acquires the scale information from the information storage unit 30 prior to the calculation of the length L of the trajectory (handwriting), but after calculating the length L of the trajectory. Scale information may be acquired.

上記実施形態では、データ通信手段31によって受信された記入情報20に含まれる座標データ23が連続して同じであれば、同じ座標データ23の記入情報20のうち、2つ目以降の記入情報20を情報記憶手段30に記憶せず、距離演算手段32も軌跡の長さの演算に加味しないようにしてもよい。これにより、端末装置3の処理の負担を低減することができる。同様にして、上記第2実施形態の電子ペン1Bは、取得した記入情報20に含まれる座標データが連続して同じであれば、同じ座標データ23の記入情報20のうち、2つ目以降の記入情報20をメモリ19に記憶しないようにしてもよい。   In the above embodiment, if the coordinate data 23 included in the entry information 20 received by the data communication unit 31 is the same continuously, the second and subsequent entry information 20 among the entry information 20 of the same coordinate data 23. May not be stored in the information storage means 30, and the distance calculation means 32 may not be added to the calculation of the length of the trajectory. Thereby, the processing burden of the terminal device 3 can be reduced. Similarly, in the electronic pen 1B of the second embodiment, if the coordinate data included in the acquired entry information 20 is continuously the same, the second and subsequent pieces of entry information 20 of the same coordinate data 23 are the same. The entry information 20 may not be stored in the memory 19.

また、上記実施形態では、インクカートリッジ17を有する電子ペン1を使用したが、インクカートリッジの付いていないペン型スキャナを用いてもよい。このとき、圧力センサ16により専用紙2への接触/非接触を検知する構造とするとよい。   In the above embodiment, the electronic pen 1 having the ink cartridge 17 is used. However, a pen-type scanner without an ink cartridge may be used. At this time, the pressure sensor 16 may be configured to detect contact / non-contact with the dedicated paper 2.

また、電子ペン1内に、ペン自体又はその所有者に関するプロパティ情報(ペン情報又はペン所有者情報)を保持しておき、端末装置3から参照することができるようにしてもよいし、プロパティ情報の全部又は一部を記入情報とともに端末装置3に送信するようにしてもよい。ペン情報としては、バッテリーレベル、ペンID、ペン製造者番号、ペンソフトウェアのバージョン、サブスクリプションプロバイダのID、空きメモリ容量などが挙げられる。また、ペン所有者情報としては、国籍、言語、タイムゾーン、Eメールアドレス、名称、住所、ファックス/電話番号、携帯電話番号などが挙げられる。   Further, property information (pen information or pen owner information) relating to the pen itself or its owner may be held in the electronic pen 1 so that it can be referred to from the terminal device 3 or property information. May be transmitted to the terminal device 3 together with the entry information. The pen information includes battery level, pen ID, pen manufacturer number, pen software version, subscription provider ID, free memory capacity, and the like. The pen owner information includes nationality, language, time zone, e-mail address, name, address, fax / phone number, mobile phone number, and the like.

また、上記実施形態では、ドットは赤外線を吸収するカーボンを含むインクとし、電子ペン1のLED14を、赤外線を照射するLEDとし、CMOSカメラ15によって赤外線の反射量の差によって、電子ペン1でドットパターンを読み取っているが、これに限らない。例えば、ドットは所定波長の光によって所定波長を発光するインクとし、電子ペン1のLED14を、ドットのインクを発光させる光を照射するものとし、CMOSカメラ15によってドットのインクが発光する波長の領域を検知することによって、電子ペン1でドットパターンを読み取るようにしてもよく、CMOSカメラ15によってドットパターンが読み取れれば、ドットのインクの種別やLED14の照射光等は上記実施形態で示したものに限られない。また、専用紙2における位置座標が特定できるものであれば、ドットパターンの代わりに、別のコード化されたパターン、例えば、2次元コードパターンなどであってもよい。   In the above embodiment, the dot is ink containing carbon that absorbs infrared rays, and the LED 14 of the electronic pen 1 is an LED that irradiates infrared rays. The pattern is read, but not limited to this. For example, the dot is ink that emits light of a predetermined wavelength by light of a predetermined wavelength, the LED 14 of the electronic pen 1 is irradiated with light that emits light of the dot ink, and the wavelength region in which the dot ink is emitted by the CMOS camera 15 By detecting the dot pattern, the electronic pen 1 may read the dot pattern. If the dot pattern can be read by the CMOS camera 15, the ink type of the dot, the irradiation light of the LED 14 and the like are those shown in the above embodiment. Not limited to. Further, as long as the position coordinates on the dedicated paper 2 can be specified, another coded pattern such as a two-dimensional code pattern may be used instead of the dot pattern.

本発明は、電子ペン用媒体から構成される、登山用の地図、タウンマップ等の地図アプリケーション、建築見取り図、設計図面等の建築アプリケーション、ゴールまでに辿った経路の最短距離を競う迷路クイズ等に適用することができる。   The present invention provides a map for mountain climbing, a map application such as a town map, an architectural application such as a architectural sketch, a design drawing, a maze quiz for competing for the shortest distance of the route traced to the goal, and the like. Can be applied.

第1実施形態に係る端末装置を用いたシステム構成図である。It is a system configuration figure using the terminal unit concerning a 1st embodiment. 第1実施形態で使用する専用紙の一例を示す平面図である。It is a top view which shows an example of the exclusive paper used in 1st Embodiment. 専用紙に印刷されたドットパターンによる情報の表現方法の説明図である。It is explanatory drawing of the expression method of the information by the dot pattern printed on the exclusive paper. 専用紙に印刷されたドットパターンによる情報の表現方法を説明するための図である。It is a figure for demonstrating the expression method of the information by the dot pattern printed on the exclusive paper. 第1実施形態で使用する電子ペンを模式的に示す説明図である。It is explanatory drawing which shows typically the electronic pen used in 1st Embodiment. 記入情報の構成示す概念図である。It is a conceptual diagram which shows the structure of entry information. 第1実施形態で使用する端末装置の機能ブロック図である。It is a functional block diagram of the terminal device used by 1st Embodiment. 第1実施形態における専用アプリケーションのモジュール構成図である。It is a module block diagram of the exclusive application in 1st Embodiment. 電子ペンでなぞられた筆跡のある図2の専用紙を示す図である。It is a figure which shows the exclusive paper of FIG. 2 with the handwriting traced with the electronic pen. 第1実施形態における距離演算のフローチャートである。It is a flowchart of the distance calculation in 1st Embodiment. 図10に示すフローチャートのステップS115、116の処理における距離演算手段による道のり演算のアルゴリズムを説明するためのグラフである。It is a graph for demonstrating the algorithm of the path | route calculation by the distance calculating means in the process of step S115 of the flowchart shown in FIG. 図10に示すフローチャートのステップS115、116の処理における距離演算手段による道のり演算のアルゴリズムを説明するためのグラフである。It is a graph for demonstrating the algorithm of the path | route calculation by the distance calculating means in the process of step S115 of the flowchart shown in FIG. 第2実施形態で使用する電子ペンを模式的に示す説明図である。It is explanatory drawing which shows typically the electronic pen used in 2nd Embodiment. 第2実施形態で使用する専用紙の一例を示す平面図である。It is a top view which shows an example of the exclusive paper used in 2nd Embodiment. 電子ペンでなぞられた筆跡のある図14の専用紙を示す図である。It is a figure which shows the exclusive paper of FIG. 14 with the handwriting traced with the electronic pen. 第2実施形態における距離演算のフローチャートである。It is a flowchart of the distance calculation in 2nd Embodiment.

符号の説明Explanation of symbols

1,1A,1B…電子ペン、1a…ペン先部、11…プロセッサ、12…データ通信ユニット、13…バッテリー、14…LED、15…CMOSカメラ、16…圧力センサ、17…インクカートリッジ、18…クロック、19…メモリ、2,2A,2B…専用紙(媒体)、20…記入情報、21…時間情報、22…ドットパターンアドレス、23…座標データ、24…筆圧データ、3…端末装置、30…情報記憶手段、31…データ通信手段、32…距離演算手段、33…音声出力手段(報知手段)、34…表示手段(報知手段)、4…専用アプリケーション、41…データ通信モジュール、42…情報記憶モジュール、43…距離演算モジュール、100…地図エリア、110…送信エリア、701…接触開始点、702A,702B,702C,702D…通過点、703…終了点。   DESCRIPTION OF SYMBOLS 1,1A, 1B ... Electronic pen, 1a ... Pen tip part, 11 ... Processor, 12 ... Data communication unit, 13 ... Battery, 14 ... LED, 15 ... CMOS camera, 16 ... Pressure sensor, 17 ... Ink cartridge, 18 ... Clock, 19 ... Memory, 2, 2A, 2B ... Dedicated paper (medium), 20 ... Entry information, 21 ... Time information, 22 ... Dot pattern address, 23 ... Coordinate data, 24 ... Pen pressure data, 3 ... Terminal device, DESCRIPTION OF SYMBOLS 30 ... Information storage means, 31 ... Data communication means, 32 ... Distance calculation means, 33 ... Audio | voice output means (notification means), 34 ... Display means (notification means), 4 ... Dedicated application, 41 ... Data communication module, 42 ... Information storage module, 43 ... distance calculation module, 100 ... map area, 110 ... transmission area, 701 ... contact start point, 702A, 702B, 02C, 702D ... passing point, 703 ... end point.

Claims (5)

媒体に印刷されたコード化パターンを読み取って演算された離散的な座標データを電子ペン又はスキャナから受信し、その座標データから筆跡の長さに応じた距離を演算する端末装置であって、
座標データを受信するデータ通信手段と、
前記データ通信手段によって受信され、前記筆跡に沿って前記電子ペン又は前記スキャナによって演算された前記座標データの複数の位置座標に基づいて、電子ペン又はスキャナがなぞったときの線分に対応する近似ラインを求め、媒体を細かく分割するように設定されそれぞれが高さ情報を持つ複数の微小領域から近似ラインが通る微小領域を抽出し、抽出した微小領域のうちの隣り合う2つの微小領域の中心点同士を直線で結び、その隣り合う2つの微小領域が有する高さ情報により直線の長さを補正し、補正した各直線の長さを足し合わせることにより筆跡に応じた距離を演算する距離演算手段と
を備えることを特徴とする端末装置。
A terminal device that receives discrete coordinate data calculated by reading a coded pattern printed on a medium from an electronic pen or a scanner, and calculates a distance according to the length of the handwriting from the coordinate data,
Data communication means for receiving coordinate data;
An approximation corresponding to a line segment when the electronic pen or scanner traces based on a plurality of position coordinates of the coordinate data received by the data communication means and calculated by the electronic pen or the scanner along the handwriting. A line is obtained, and a minute area through which an approximate line passes is extracted from a plurality of minute areas each set to finely divide the medium and each has height information, and the center of two adjacent minute areas among the extracted minute areas Distance calculation that connects points with a straight line, corrects the length of the straight line based on the height information of the two adjacent minute regions, and calculates the distance according to the handwriting by adding the corrected straight line lengths A terminal device.
地図エリアとコード化パターンが印刷された媒体の前記コード化パターンを読み取って演算された離散的な座標データを電子ペン又はスキャナから受信し、その座標データから前記地図エリア上の筆跡によって示される経路に対応する地表上の距離を演算する端末装置であって、
座標データを受信するデータ通信手段と、
前記データ通信手段によって受信され、前記筆跡に沿って前記電子ペン又は前記スキャナによって演算された前記座標データの複数の位置座標に基づいて、電子ペン又はスキャナがなぞったときの線分に対応する近似ラインを求め、地図エリアを細かく分割するように設定されそれぞれが高さ情報を持つ複数の微小領域から近似ラインが通る微小領域を抽出し、抽出した微小領域のうちの隣り合う2つの微小領域の中心点同士を直線で結び、その隣り合う2つの微小領域が有する高さ情報により直線の長さを補正し、補正した各直線の長さを足し合わせることにより前記地図エリア上の筆跡に対応する地表上の距離を演算する距離演算手段と
を備えることを特徴とする端末装置。
A path indicated by handwriting on the map area from the coordinate data received from the electronic pen or scanner by reading the coded pattern of the medium on which the map area and the coded pattern are printed. A terminal device for calculating a distance on the ground surface corresponding to
Data communication means for receiving coordinate data;
An approximation corresponding to a line segment when the electronic pen or scanner traces based on a plurality of position coordinates of the coordinate data received by the data communication means and calculated by the electronic pen or the scanner along the handwriting. A line is obtained, and a map area is set so as to be divided finely, and a minute area through which an approximate line passes is extracted from a plurality of minute areas each having height information, and two adjacent minute areas of the extracted minute areas are extracted. Corresponding to the handwriting on the map area by connecting the center points with a straight line, correcting the length of the straight line based on the height information of two adjacent minute regions, and adding the corrected straight line lengths A terminal device comprising distance calculating means for calculating a distance on the ground surface.
さらに、前記距離演算手段によって演算された前記距離を報知する報知手段と
を備えることを特徴とする請求項1または2のうちいずれか一項に記載の端末装置。
The terminal device according to claim 1, further comprising a notifying unit that notifies the distance calculated by the distance calculating unit.
媒体に印刷されたコード化パターンを読み取って演算された離散的な座標データを電子ペン又はスキャナから受信し、その座標データから筆跡の長さに応じた距離を演算するコンピュータにより実行されるプログラムであって、
座標データを受信するデータ通信手段、
前記データ通信手段によって受信され、前記筆跡に沿って前記電子ペン又は前記スキャナによって演算された前記座標データの複数の位置座標に基づいて、電子ペン又はスキャナがなぞったときの線分に対応する近似ラインを求め、媒体を細かく分割するように設定されそれぞれが高さ情報を持つ複数の微小領域から近似ラインが通る微小領域を抽出し、抽出した微小領域のうちの隣り合う2つの微小領域の中心点同士を直線で結び、その隣り合う2つの微小領域が有する高さ情報により直線の長さを補正し、補正した各直線の長さを足し合わせることにより筆跡に応じた距離を演算する距離演算手段
として前記コンピュータを機能させることを特徴とするプログラム。
A program executed by a computer that receives discrete coordinate data calculated by reading a coded pattern printed on a medium from an electronic pen or scanner and calculates a distance corresponding to the length of the handwriting from the coordinate data. There,
Data communication means for receiving coordinate data;
An approximation corresponding to a line segment when the electronic pen or scanner traces based on a plurality of position coordinates of the coordinate data received by the data communication means and calculated by the electronic pen or the scanner along the handwriting. A line is obtained, and a minute area through which an approximate line passes is extracted from a plurality of minute areas each set to finely divide the medium and each has height information, and the center of two adjacent minute areas among the extracted minute areas Distance calculation that connects points with a straight line, corrects the length of the straight line based on the height information of the two adjacent minute regions, and calculates the distance according to the handwriting by adding the corrected straight line lengths A program for causing the computer to function as means.
地図エリアとコード化パターンが印刷された媒体の前記コード化パターンを読み取って演算された離散的な座標データを電子ペン又はスキャナから受信し、その座標データから前記地図エリア上の筆跡によって示される経路に対応する地表上の距離を演算するコンピュータにより実行されるプログラムであって、
座標データを受信するデータ通信手段、
前記データ通信手段によって受信され、前記筆跡に沿って前記電子ペン又は前記スキャナによって演算された前記座標データの複数の位置座標に基づいて、電子ペンがなぞったときの線分に対応する近似ラインを求め、地図エリアを細かく分割するように設定されそれぞれが高さ情報を持つ複数の微小領域から近似ラインが通る微小領域を抽出し、抽出した微小領域のうちの隣り合う2つの微小領域の中心点同士を直線で結び、その隣り合う2つの微小領域が有する高さ情報により直線の長さを補正し、補正した各直線の長さを足し合わせることにより前記地図エリア上の筆跡に対応する地表上の距離を演算する距離演算手段
として前記コンピュータを機能させることを特徴とするプログラム。
A path indicated by handwriting on the map area from the coordinate data received from the electronic pen or scanner by reading the coded pattern of the medium on which the map area and the coded pattern are printed. Is a program executed by a computer that calculates the distance on the surface corresponding to
Data communication means for receiving coordinate data;
Based on a plurality of position coordinates of the coordinate data received by the data communication means and calculated by the electronic pen or the scanner along the handwriting, an approximate line corresponding to a line segment when the electronic pen traces is obtained. Find a small area through which an approximate line passes from a plurality of minute areas that are set to finely divide the map area and each have height information, and the center point of two adjacent minute areas of the extracted minute areas On the ground surface corresponding to the handwriting on the map area by connecting the lines with straight lines, correcting the length of the straight lines based on the height information of the two adjacent minute areas, and adding the corrected lengths of the straight lines A program for causing the computer to function as a distance calculation means for calculating the distance.
JP2007258187A 2007-10-02 2007-10-02 Terminal device and program used therefor Expired - Fee Related JP5239283B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007258187A JP5239283B2 (en) 2007-10-02 2007-10-02 Terminal device and program used therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007258187A JP5239283B2 (en) 2007-10-02 2007-10-02 Terminal device and program used therefor

Publications (2)

Publication Number Publication Date
JP2009086469A JP2009086469A (en) 2009-04-23
JP5239283B2 true JP5239283B2 (en) 2013-07-17

Family

ID=40659935

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007258187A Expired - Fee Related JP5239283B2 (en) 2007-10-02 2007-10-02 Terminal device and program used therefor

Country Status (1)

Country Link
JP (1) JP5239283B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5921079B2 (en) * 2011-04-06 2016-05-24 キヤノン株式会社 Electromechanical transducer and method for manufacturing the same

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09198520A (en) * 1996-01-16 1997-07-31 Canon Inc Graphic processing unit
JP2872177B2 (en) * 1996-12-27 1999-03-17 日本電気株式会社 Topographic sectional view display method and map reading display device
JP4422125B2 (en) * 1997-05-09 2010-02-24 株式会社ザナヴィ・インフォマティクス Map display device
JP2001118054A (en) * 1999-10-18 2001-04-27 Wanami Tsusho:Kk Simulation computation regarding geographical trouble of short-wavelength oscillation wave communication by computer and its representation
JP2002163266A (en) * 2000-11-27 2002-06-07 Nagai Geological Survey Inc Map display method, system, program, and storage medium
JP2004046424A (en) * 2002-07-10 2004-02-12 Dainippon Printing Co Ltd Geographic information providing system, geographic information providing method, geographic information providing program, and electronic pen form
JP3879106B1 (en) * 2006-02-13 2007-02-07 健治 吉田 Information output device
JP4849043B2 (en) * 2007-09-18 2011-12-28 大日本印刷株式会社 Electronic pen and scanner and program used for them

Also Published As

Publication number Publication date
JP2009086469A (en) 2009-04-23

Similar Documents

Publication Publication Date Title
JP3151886U (en) Information processing system
JP4873376B2 (en) Terminal device and program used therefor
JP5239283B2 (en) Terminal device and program used therefor
JP5256700B2 (en) Terminal device and program thereof
JP4835529B2 (en) Terminal device and program used therefor
JP4849043B2 (en) Electronic pen and scanner and program used for them
JP5029963B2 (en) Information processing device
JP4973384B2 (en) Terminal device, program used therefor and information processing system
JP4905860B2 (en) Electronic pen and scanner and program used for them
JP5024019B2 (en) Terminal device and program thereof
JP5305256B2 (en) Terminal device and program thereof
JP2009187235A (en) Electronic pen and program used for it
JP2008287565A (en) Pen device and program used therefor
JP5041340B2 (en) Terminal device and program thereof
JP4935552B2 (en) Electronic pen, scanner and program used for them
JP2009009287A (en) Electronic pen and scanner and program used for them
JP2008309934A (en) Terminal device, program used therefor and information processing system
JP2012256088A (en) Electronic pen, terminal device, and program
JP2012063974A (en) Stroke display system and program
JP2009187236A (en) Terminal device, program used therefor and information processing system
JP4962338B2 (en) Electronic pen and program
JP4807321B2 (en) Handwriting reproduction drawing method, handwriting reproduction drawing apparatus, and program used therefor
JP4911056B2 (en) Terminal device, program used therefor and information processing system
JP2007188159A (en) Processing device, program and electronic pen form
JP5029962B2 (en) Terminal device and program thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100706

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: 20130305

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130318

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160412

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5239283

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees