JP2016004533A - Method of creating voucher, voucher, voucher reading system, and voucher utilization system - Google Patents

Method of creating voucher, voucher, voucher reading system, and voucher utilization system Download PDF

Info

Publication number
JP2016004533A
JP2016004533A JP2014126387A JP2014126387A JP2016004533A JP 2016004533 A JP2016004533 A JP 2016004533A JP 2014126387 A JP2014126387 A JP 2014126387A JP 2014126387 A JP2014126387 A JP 2014126387A JP 2016004533 A JP2016004533 A JP 2016004533A
Authority
JP
Japan
Prior art keywords
voucher
area
code
data
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2014126387A
Other languages
Japanese (ja)
Inventor
陽介 山口
Yosuke Yamaguchi
陽介 山口
吉田 賢一
Kenichi Yoshida
賢一 吉田
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.)
Denso Wave Inc
Original Assignee
Denso Wave Inc
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 Denso Wave Inc filed Critical Denso Wave Inc
Priority to JP2014126387A priority Critical patent/JP2016004533A/en
Publication of JP2016004533A publication Critical patent/JP2016004533A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a configuration that can represent a voucher with an information code and more accurately distinguish cells constituting the information code from an image of the voucher to improve readability.SOLUTION: A voucher P includes an information code 100 comprising cells that are units to display information arranged inside a predetermined code area. Inside the code area of the information code 100, provided are a specific pattern area where specific patterns having a predetermined shape are arranged, a data recording area where data is recorded by a plurality of types of cells 102, and a voucher image display area 121 where a voucher image is displayed.

Description

本発明は、証票の生成方法、証票、証票読取システム、及び証票利用システムに関するものである。   The present invention relates to a voucher generation method, voucher, voucher reading system, and voucher utilization system.

現在では、切手やチケットなどの様々な証票が用いられている。この種の証票では、正規の証票が使用されているか否かをより正確に判断することが求められ、例えば、証票の真偽などを目視確認や専用機器での読み取りによって判断している。また、近年では、効率化等を図るべく、証票とバーコードを併用したシステムも考えられている。例えば、特許文献1の技術では、図15、図16において、切手に識別用コード26,27が付された例が開示されており、切手と識別用コード26,27とを対応付けて利用している。   At present, various vouchers such as stamps and tickets are used. In this type of voucher, it is required to more accurately determine whether or not a regular voucher is used. For example, the authenticity of the voucher is determined by visual confirmation or reading with a dedicated device. In recent years, a system using both a voucher and a barcode has been considered in order to improve efficiency. For example, the technique of Patent Document 1 discloses an example in which identification codes 26 and 27 are attached to stamps in FIGS. 15 and 16, and the stamps and identification codes 26 and 27 are used in association with each other. ing.

特許平11−90341号公報Japanese Patent No. 11-90341

しかしながら、特許文献1の技術では、特殊インクによって切手内にバーコードを付しており、切手内の画像とバーコードとを重ねて表示する構成であるため、切手の絵柄によっては、バーコードの各モジュールに類似する色などがバーコード付近に配置されてしまい、その結果、バーコードの各モジュール(各セル)が正確に認識できなくなってしまう虞があった。   However, in the technique of Patent Document 1, a bar code is attached to the stamp with special ink, and the image in the stamp and the bar code are displayed so as to overlap each other. A color similar to each module is arranged near the barcode, and as a result, each module (each cell) of the barcode may not be recognized correctly.

一方、このような問題を抑える方法としては、切手内においてバーコード付近に絵柄を表示しないことでバーコードを背景と明確に区別できるようにし、バーコードを正確に認識できるようにする方法などが考えられる。しかしながら、このような方法では、切手内の中央部に絵柄を表示しないことを強いることになり、デザインの自由度を大きく低下させてしまうことになる。   On the other hand, as a method of suppressing such a problem, there is a method in which the barcode can be clearly distinguished from the background by not displaying a picture near the barcode in the stamp, and the barcode can be recognized accurately. Conceivable. However, with such a method, it is compelled not to display a picture in the center of the stamp, and the degree of freedom in design is greatly reduced.

本発明は、上述した課題を解決するためになされたものであり、情報コードによって証票を表すことができ、且つ、情報コードを構成するセルと証票の画像とをより正確に区別して読取性を高めることが可能な構成を提供することを目的とする。   The present invention has been made in order to solve the above-described problems, and can represent a voucher by an information code, and more accurately distinguish between cells constituting the information code and an image of the voucher, thereby improving readability. An object is to provide a configuration that can be enhanced.

第1の発明は、情報コード生成部を備えた生成装置によって証票を生成する証票の生成方法であって、
所定のコード領域の内部に情報を表示する単位となるセルを配列した情報コードを前記情報コード生成部によって生成し、
前記情報コード生成部によって前記情報コードを生成する際に、前記コード領域の内部において、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類の前記セルによってデータを記録するデータ記録領域と、証票画像が表示される証票画像表示領域と、を設けることを特徴とする。
A first invention is a voucher generating method for generating a voucher by a generating device including an information code generating unit,
An information code in which cells serving as units for displaying information are arranged inside a predetermined code area is generated by the information code generation unit,
When the information code is generated by the information code generator, a specific pattern area in which a specific pattern having a predetermined shape is arranged inside the code area, and data that records data by a plurality of types of the cells A recording area and a voucher image display area in which a voucher image is displayed are provided.

第2の発明は、所定のコード領域の内部に情報を表示する単位となるセルを配列してなる情報コードを備え、
前記コード領域の内部において、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類の前記セルによってデータを記録するデータ記録領域と、証票画像が表示される証票画像表示領域と、が設けられていることを特徴とする。
2nd invention is equipped with the information code which arranges the cell used as the unit which displays information inside the predetermined code field,
Inside the code area, a specific pattern area in which a specific pattern having a predetermined shape is arranged, a data recording area in which data is recorded by a plurality of types of cells, and a voucher image display area in which a voucher image is displayed Are provided.

第3の発明は、読取対象となる証票は、所定のコード領域の内部に情報を表示する単位となるセルを配列してなる情報コードを備え、前記コード領域の内部において、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類の前記セルによってデータを記録するデータ記録領域と、証票画像が表示される証票画像表示領域と、が設けられてなるものであり、
前記証票を撮像可能な撮像部と、
前記撮像部によって前記証票が撮像された場合に、その撮像された前記証票の前記情報コードにおける前記データ記録領域に記録されたデータを読み取るデータ記録領域読取部と、
を有することを特徴とする。
According to a third aspect of the present invention, a voucher to be read includes an information code in which cells serving as units for displaying information are arranged inside a predetermined code area, and a predetermined shape is formed inside the code area. A specific pattern area in which a specific pattern is arranged, a data recording area in which data is recorded by a plurality of types of cells, and a voucher image display area in which a voucher image is displayed, are provided,
An imaging unit capable of imaging the voucher;
A data recording area reading unit that reads data recorded in the data recording area in the information code of the imaged voucher when the voucher is imaged by the imaging unit;
It is characterized by having.

第4の発明は、証票を生成する生成装置と、
前記生成装置によって生成された前記証票を読み取る読取装置と、
を備え、
前記生成装置は、
所定のコード領域の内部に情報を表示する単位となるセルを配列した情報コードを生成する情報コード生成部を備え、
前記情報コード生成部によって前記情報コードを生成する際に、前記コード領域の内部において、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類の前記セルによってデータを記録するデータ記録領域と、証票画像が表示される証票画像表示領域と、を設けた構成で前記証票を生成し、
前記読取装置は、
前記証票を撮像可能な撮像部と、
前記撮像部によって前記証票が撮像された場合に、その撮像された前記証票の前記情報コードにおける前記データ記録領域に記録されたデータを読み取るデータ記録領域読取部と、
を有することを特徴とする。
A fourth invention is a generation device for generating a voucher;
A reading device for reading the voucher generated by the generating device;
With
The generator is
An information code generating unit that generates an information code in which cells serving as units for displaying information are arranged inside a predetermined code area;
When the information code is generated by the information code generator, a specific pattern area in which a specific pattern having a predetermined shape is arranged inside the code area, and data that records data by a plurality of types of the cells Generating the voucher with a configuration in which a recording area and a voucher image display area on which a voucher image is displayed are provided;
The reader is
An imaging unit capable of imaging the voucher;
A data recording area reading unit that reads data recorded in the data recording area in the information code of the imaged voucher when the voucher is imaged by the imaging unit;
It is characterized by having.

請求項1の発明によれば、情報コードを備えた利便性の高い証票を構成することができ、且つ、情報コードを構成するセルと証票の画像とをより正確に区別して読取性を高めることが可能な証票を生成することができる。   According to the first aspect of the present invention, a highly convenient voucher having an information code can be formed, and the cells constituting the information code and the image of the voucher can be more accurately distinguished to improve readability. Can generate a voucher that can.

請求項2の発明では、前記情報コード生成部によって前記情報コードを生成する際に、前記証票画像表示領域の画像で表わされる証票において固有に定められた固有情報、又は前記証票画像表示領域の画像で表わされる証票の種別を識別可能な種別情報、の少なくともいずれか含む証票関連情報を前記データ記録領域に記録する。
この方法によれば、固有情報又は種別情報の少なくともいずれかを含む証票関連情報がデータ記録領域にデータとして記録された形で証票を構成することができ、このような証票関連情報を、証票画像と区別して正確に読み取り易い構成とすることができる。
According to a second aspect of the present invention, when the information code is generated by the information code generation unit, unique information uniquely defined in a voucher represented by an image of the voucher image display region, or an image of the voucher image display region The voucher related information including at least one of the type information that can identify the type of the voucher represented by the above is recorded in the data recording area.
According to this method, a voucher can be configured in a form in which voucher related information including at least one of unique information and type information is recorded as data in the data recording area, and such voucher related information is converted into a voucher image. It is possible to make the configuration easy to read accurately in distinction.

請求項3の発明では、前記情報コード生成部によって前記情報コードを生成する際に、前記証票関連情報を暗号化した状態で前記データ記録領域に記録する。
この方法によれば、証票関連情報のセキュリティ性を高めることができるため、証票の不正利用を抑えやすくなる。
According to a third aspect of the invention, when the information code is generated by the information code generator, the voucher related information is recorded in the data recording area in an encrypted state.
According to this method, since the security of the voucher-related information can be improved, unauthorized use of the voucher can be easily suppressed.

請求項4の発明では、前記情報コード生成部によって前記情報コードを生成する際に、前記証票画像表示領域の画像で表わされる証票の価格を示す価格情報を前記データ記録領域に記録する。
この方法によれば、証票を読み取る読取装置側において、証票の価格を容易に且つ正確に把握しやすくなり、証票価格の認識が求められる用途においてより一層有利になる。
According to a fourth aspect of the present invention, when the information code is generated by the information code generator, price information indicating the price of the voucher represented by the image in the voucher image display area is recorded in the data recording area.
According to this method, the price of the voucher can be easily and accurately grasped on the side of the reading device that reads the voucher, which is further advantageous in applications where the voucher price needs to be recognized.

請求項5の発明では、情報コード生成部によって情報コードを生成する際に、コード領域の内部において特定パターン領域及びデータ記録領域以外の位置に、セルによって解読対象データが記録されない領域である空き領域を、単一のセルのサイズよりも大きいサイズで設け、空き領域内に証票画像表示領域が表されるように構成する。
この方法によれば、コード領域の内部においてデータ記録領域及び特定パターン領域以外の位置に、セルによって解読対象データが記録されない領域(空き領域)を確保することができ、且つこの空き領域を証票画像表示領域として利用し得る証票を生成することができる。空き領域はセルによって解読対象データが記録されない領域であるため、証票画像表示領域がセルの影響を受け難くなり、証票画像表示領域をより自由に構成し易くなる。
In the invention of claim 5, when the information code is generated by the information code generator, an empty area that is an area in which the decoding target data is not recorded by the cell at a position other than the specific pattern area and the data recording area inside the code area Are provided in a size larger than the size of a single cell, and the voucher image display area is represented in the empty area.
According to this method, it is possible to secure an area (empty area) in which the data to be decoded is not recorded by the cell at a position other than the data recording area and the specific pattern area in the code area, and this empty area is used as a voucher image. A voucher that can be used as a display area can be generated. Since the empty area is an area in which the data to be decoded is not recorded by the cell, the voucher image display area is hardly affected by the cell, and the voucher image display area can be configured more freely.

請求項6の発明では、情報コード生成部によって情報コードを生成する際に、コード領域内での証票画像表示領域の位置を示す位置データをデータ記録領域に記録する。
この方法で生成される証票によれば、証票の使用時に、データ記録領域から位置データを読み取ることで、コード領域内における証票画像表示領域の位置をより正確に特定できるようになり、証票画像表示領域の証票画像を利用する上でより一層有利になる。
In the invention of claim 6, when the information code is generated by the information code generator, the position data indicating the position of the voucher image display area in the code area is recorded in the data recording area.
According to the voucher generated by this method, the position of the voucher image display area in the code area can be more accurately specified by reading the position data from the data recording area when the voucher is used. This is even more advantageous in using the voucher image of the area.

請求項7の発明では、所定のユーザ端末から生成装置に対して入力された証票画像の画像データを生成装置によって取得し、生成装置が取得した画像データによって構成される証票画像をコード領域内の証票画像表示領域に表すように情報コード生成部によって情報コードを生成する。
この方法によれば、ユーザがユーザ端末を介して証票に組み込む画像を指定できるようになり、画像選択の自由度を高めることができる。
In the invention of claim 7, the image data of the voucher image input from the predetermined user terminal to the generating device is acquired by the generating device, and the voucher image constituted by the image data acquired by the generating device is stored in the code area. An information code is generated by the information code generation unit as shown in the voucher image display area.
According to this method, the user can designate an image to be incorporated in the voucher via the user terminal, and the degree of freedom of image selection can be increased.

請求項8の発明では、情報コード生成部によって情報コードを生成する際に、特定パターン領域及び当該特定パターン以外のセル配列領域を、証票画像表示領域の周囲に環状に配置する。
この方法で生成された証票では、証票画像表示領域の周囲に特定パターン領域及び当該特定パターン以外のセル配列領域が環状に構成され、その環状領域(特定パターン領域及び当該特定パターン以外のセル配列領域)の外縁部は、証票画像表示領域の影響を受けにくい構成となる。従って、読取時には、その環状領域の外形が特定され易くなり、コード領域の外縁がより正確に認識され易くなる。
In the invention of claim 8, when the information code is generated by the information code generator, the specific pattern area and the cell arrangement area other than the specific pattern are arranged in a ring around the voucher image display area.
In the voucher generated by this method, the specific pattern area and the cell arrangement area other than the specific pattern are formed in a ring around the voucher image display area, and the circular area (the specific pattern area and the cell arrangement area other than the specific pattern is arranged). ) Has a configuration that is not easily affected by the voucher image display area. Therefore, at the time of reading, the outer shape of the annular area is easily specified, and the outer edge of the code area is easily recognized more accurately.

請求項9の発明では、情報コード生成部によって情報コードを生成する際に、データ記録領域において、所定種類のデータが記録されると共に当該証票の使用の際にマークが追加形成されるべき第1領域と、第1領域に記録されるデータとは異なる種類のデータが記録される第2領域とを設ける。
この方法で生成された証票では、読み取りの際に第1領域での誤りの発生を確認することで、マークが追加形成されたか否かを把握できるようになる。一方、第2領域のデータはマークの影響を受けにくいため、良好に読み取られ易くなる。
According to the ninth aspect of the present invention, when the information code is generated by the information code generator, a predetermined type of data is recorded in the data recording area and a mark is additionally formed when the voucher is used. An area and a second area in which data of a different type from the data recorded in the first area are provided.
In the voucher generated by this method, it is possible to grasp whether or not a mark is additionally formed by confirming the occurrence of an error in the first area at the time of reading. On the other hand, since the data in the second area is not easily affected by the mark, it can be easily read well.

請求項10の発明によれば、請求項1の発明と同様の効果を奏する証票を実現できる。   According to the invention of claim 10, a voucher having the same effect as that of the invention of claim 1 can be realized.

請求項11の発明によれば、請求項2の発明と同様の効果を奏する証票を実現できる。   According to the invention of claim 11, a voucher having the same effect as that of the invention of claim 2 can be realized.

請求項12の発明によれば、請求項3の発明と同様の効果を奏する証票を実現できる。   According to the invention of claim 12, a voucher having the same effect as that of the invention of claim 3 can be realized.

請求項13の発明によれば、請求項4の発明と同様の効果を奏する証票を実現できる。   According to the invention of claim 13, a voucher having the same effect as that of the invention of claim 4 can be realized.

請求項14の発明によれば、請求項5の発明と同様の効果を奏する証票を実現できる。   According to the invention of claim 14, a voucher having the same effect as that of the invention of claim 5 can be realized.

請求項15の発明によれば、請求項6の発明と同様の効果を奏する証票を実現できる。   According to the invention of claim 15, a voucher having the same effect as that of the invention of claim 6 can be realized.

請求項16の発明によれば、請求項8の発明と同様の効果を奏する証票を実現できる。   According to the invention of claim 16, a voucher having the same effect as that of the invention of claim 8 can be realized.

請求項17の発明によれば、請求項9の発明と同様の効果を奏する証票を実現できる。   According to the invention of claim 17, a voucher having the same effect as that of the invention of claim 9 can be realized.

請求項18の発明によれば、情報コードを備えた利便性の高い証票を読取対象とし、情報コードを構成するセルと証票の画像とをより正確に区別して良好に読み取り易い証票読取システムを実現することができる。   According to the invention of claim 18, a voucher reading system that is easy to read by using a highly convenient voucher having an information code as a reading target and more accurately distinguishing between cells constituting the information code and the voucher image is realized. can do.

請求項19の発明では、撮像部によって撮像された証票の画像に基づき、当該証票が所定の正規証票であるか否かを判定する認証部を有する。
この発明によれば、利便性の高い証票を良好に読み取り得る構成を実現しつつ、証票が正規のものであるか否かをも判定することができ、証票の不正利用を抑えやすくなる。
According to a nineteenth aspect of the present invention, the image processing apparatus includes an authentication unit that determines whether the voucher is a predetermined regular voucher based on the voucher image captured by the imaging unit.
According to the present invention, it is possible to determine whether or not a voucher is legitimate while realizing a configuration that can read a highly convenient voucher satisfactorily, and to easily prevent unauthorized use of the voucher.

請求項20の発明では、証票において、当該証票において固有に定められた固有情報、又は当該証票の種別を識別可能な種別情報、の少なくともいずれか含む証票関連情報がデータ記録領域に記録されており、データ記録領域読取部は、データ記録領域から証票関連情報を読み取る構成であり、認証部は、データ記録領域読取部による証票関連情報の読取結果に基づき、証票が正規証票であるか否かを判定する構成となっている。
この発明によれば、証票が正規のものであるか否かを、データ記録領域に記録されたデータに基づいてより正確に判定しやすくなる。
In the invention of claim 20, in the voucher, voucher related information including at least one of specific information uniquely defined in the voucher or type information that can identify the type of the voucher is recorded in the data recording area. The data recording area reading unit is configured to read the voucher related information from the data recording area, and the authentication unit determines whether or not the voucher is a regular voucher based on the reading result of the voucher related information by the data recording area reading unit. It is the structure which determines.
According to the present invention, it can be more easily determined whether or not the voucher is genuine based on the data recorded in the data recording area.

請求項21の発明では、証票は、証票関連情報が暗号化された状態でデータ記録領域に記録されたものであり、データ記録領域読取部は、データ記録領域に対し、所定の暗号解読処理を行い、認証部は、データ記録領域読取部による暗号解読処理の結果に基づき、証票が正規証票であるか否かを判定する構成となっている。
この発明によれば、証票関連情報のセキュリティ性が高められた証票を読取対象とすることができ、証票が正規のものであるか否かを、暗号解読処理の結果に基づいてより正確に判定しやすくなる。特に、暗号化された証票関連情報の暗号解読処理の結果が正規証票であるか否かの判定条件となるため、証票の偽造及び不正利用をより効果的に抑えることができる。
In the invention of claim 21, the voucher is recorded in the data recording area in a state where the voucher-related information is encrypted, and the data recording area reading unit performs a predetermined decryption process on the data recording area. The authentication unit is configured to determine whether or not the voucher is a regular voucher based on the result of the decryption processing by the data recording area reading unit.
According to the present invention, a voucher with improved security of voucher-related information can be read, and whether or not the voucher is genuine is more accurately determined based on the result of the decryption process. It becomes easy to do. In particular, since the result of the decryption process of the encrypted certificate-related information is a determination condition as to whether or not it is a regular certificate, counterfeiting and unauthorized use of the certificate can be more effectively suppressed.

請求項22の発明では、認証部は、撮像部によって証票が撮像された場合に、その撮像で得られた証票内の証票画像表示領域の画像に対して所定の画像処理を行い、当該画像処理の結果に基づいて証票が正規証票であるか否かを判定する。
この発明によれば、証票が正規のものであるか否かを、証票画像表示領域の画像に基づいてより正確に判定しやすくなる。
In the invention of claim 22, when the voucher is imaged by the imaging unit, the authentication unit performs predetermined image processing on the image in the voucher image display area in the voucher obtained by the imaging, and performs the image processing. Based on the result, it is determined whether or not the voucher is a regular voucher.
According to the present invention, it becomes easier to accurately determine whether or not a voucher is genuine based on an image in the voucher image display area.

請求項23の発明では、撮像部によって証票が撮像された場合に、その撮像で得られた証票内の画像を解析し、所定の上書き部が存在するか否かを判別する上書き判別部を有する。
この構成によれば、証票に対して所定の上書きがなされたか否かを判別可能となるため、証票に対して上書きを施して使用することが想定される用途において、上書き前か上書き後かを判別できるようになり、このような用途において特に有利となる。
In the invention of claim 23, when the voucher is imaged by the imaging unit, the image in the voucher obtained by the imaging is analyzed, and an overwriting discriminating unit for discriminating whether or not a predetermined overwriting unit exists is provided. .
According to this configuration, since it is possible to determine whether or not a predetermined overwriting has been performed on the voucher, whether it is before overwriting or after overwriting in an application in which the voucher is assumed to be overwritten is used. This is particularly advantageous in such applications.

請求項24の発明では、証票は、コード領域の内部に、複数種類のセルによって誤り訂正符号を記録した誤り訂正符号記録領域が設けられたものであり、データ記録領域読取部は、誤り訂正符号記録領域に記録された誤り訂正符号に基づいてデータ記録領域のデータに対する誤り訂正を行う構成であり、上書き判別部は、データ記録領域読取部による誤り訂正の結果に基づいて上書き部が存在するか否かを判別する。
この構成によれば、誤り訂正を利用して、より正確に且つより迅速に上書きを判別できるようになる。
In the invention of claim 24, the voucher is provided with an error correction code recording area in which an error correction code is recorded by a plurality of types of cells inside the code area. It is configured to perform error correction on the data in the data recording area based on the error correction code recorded in the recording area, and the overwrite determination unit is based on the result of error correction by the data recording area reading unit. Determine whether or not.
According to this configuration, it becomes possible to determine overwriting more accurately and more quickly using error correction.

請求項25の発明では、証票は、データ記録領域において、所定種類のデータが記録されると共に当該証票の使用の際にマークが追加形成されるべき第1領域と、第1領域に記録されるデータとは異なる種類のデータが記録される第2領域とが設けられたものであり、上書き判別部は、データ記録領域読取部による第1領域での誤り訂正の結果に基づいて上書き部が存在するか否かを判別する。
この発明によれば、読み取りの際に第1領域での誤りの発生を確認することで、マークが追加形成されたか否かを把握できるようになる。一方、第2領域のデータはマークの影響を受けにくいため、良好に読み取り易くなる。
According to the invention of claim 25, the voucher is recorded in the data recording area in the first area where a predetermined type of data is recorded and a mark is additionally formed when the voucher is used. A second area in which data of a different type from the data is recorded, and the overwrite determination unit is present based on the result of error correction in the first area by the data recording area reading unit It is determined whether or not to do so.
According to the present invention, it is possible to grasp whether or not a mark is additionally formed by confirming the occurrence of an error in the first area at the time of reading. On the other hand, since the data in the second area is not easily affected by the mark, it becomes easier to read.

請求項26の発明では、証票は、当該証票の価格を示す価格情報がデータ記録領域に記録されたものであり、データ記録領域読取部は、データ記録領域から価格情報を読み取る構成となっている。
この発明によれば、読取対象となる証票の価格を容易に且つ正確に把握しやすくなり、証票価格の認識が求められる用途においてより一層有利になる。
In the invention of claim 26, the voucher has price information indicating the price of the voucher recorded in the data recording area, and the data recording area reading unit reads the price information from the data recording area. .
According to the present invention, the price of a voucher to be read can be easily and accurately grasped, which is further advantageous in applications where voucher price recognition is required.

請求項27の発明では、証票は、コード領域の内部において特定パターン領域及びデータ記録領域以外の位置に、セルによって解読対象データが記録されない領域である空き領域が、単一のセルのサイズよりも大きいサイズで設けられ、空き領域内に証票画像表示領域が設けられたものである。
この発明によれば、コード領域内においてデータ記録領域及び特定パターン領域以外の位置にセルによって解読対象データが記録されない領域(空き領域)が確保され、この空き領域が証票画像表示領域として利用された証票を読取対象として、そのデータ記録領域の内容、及び証票画像表示領域の内容を事後的に利用し得る構成となる。
In the invention of claim 27, the voucher has an empty area in which the data to be decoded is not recorded by the cell at a position other than the specific pattern area and the data recording area inside the code area, rather than the size of a single cell. A voucher image display area is provided in a vacant area.
According to the present invention, an area (empty area) where data to be decoded is not recorded by a cell is secured at a position other than the data recording area and the specific pattern area in the code area, and this empty area is used as a voucher image display area. With the voucher as a reading target, the contents of the data recording area and the voucher image display area can be used afterwards.

請求項28の発明では、証票は、コード領域内での証票画像表示領域の位置を示す位置データがデータ記録領域に記録されたものであり、データ記録領域読取部は、データ記録領域から位置データを読み取る構成であり、更に、データ記録領域読取部によって読み取られた位置データに基づいて、証票画像表示領域の位置を特定し、当該証票画像表示領域の画像を抽出する画像抽出部が設けられている。
この構成によれば、データ記録領域から位置データを読み取ることで、コード領域内における証票画像表示領域の位置を、より正確に特定できるようになり、証票画像表示領域のより正確な位置の画像を画像抽出部によって抽出し、利用できるようになる。
In the invention of claim 28, the voucher is obtained by recording position data indicating the position of the voucher image display area in the code area in the data recording area, and the data recording area reading unit reads the position data from the data recording area. In addition, an image extraction unit is provided that specifies the position of the voucher image display area based on the position data read by the data recording area reading unit and extracts the image of the voucher image display area. Yes.
According to this configuration, by reading the position data from the data recording area, the position of the voucher image display area in the code area can be specified more accurately, and an image at a more accurate position of the voucher image display area can be obtained. It can be extracted and used by the image extraction unit.

請求項29の発明では、情報コードを備えた利便性の高い証票を利用対象とすることができ、その証票の使用時に、情報コードを構成するセルと証票の画像とをより正確に区別して良好に読み取りやすいシステムを構築することができる。   In the invention of claim 29, a highly convenient voucher having an information code can be used, and when the voucher is used, a cell constituting the information code and an image of the voucher can be distinguished more accurately. A system that is easy to read can be constructed.

請求項30の発明では、読取装置のデータ記録領域読取部での読み取り結果、又は読取装置の撮像部による撮像結果の少なくともいずれかに基づき、当該証票が所定の正規証票であるか否かを判定する認証部を有している。
この発明によれば、利便性の高い証票を良好に読み取り得る構成を実現しつつ、証票が正規のものであるか否かをも判定することができ、証票の不正利用を抑えやすくなる。
In the invention of claim 30, it is determined whether or not the voucher is a predetermined regular voucher based on at least one of a reading result by the data recording area reading unit of the reading device and an imaging result by the imaging unit of the reading device. Has an authentication unit.
According to the present invention, it is possible to determine whether or not a voucher is legitimate while realizing a configuration that can read a highly convenient voucher satisfactorily, and to easily prevent unauthorized use of the voucher.

請求項31の発明では、生成装置は、情報コード生成部によって情報コードを生成する際に、証票画像表示領域の画像で表わされる証票において固有に定められた固有情報、又は証票画像表示領域の画像で表わされる証票の種別を識別可能な種別情報、の少なくともいずれか含む証票関連情報をデータ記録領域に記録し、読取装置のデータ記録領域読取部は、データ記録領域から証票関連情報を読み取る構成であり、認証部は、データ記録領域読取部による証票関連情報の読取結果に基づき、証票が正規証票であるか否かを判定する。
この発明によれば、証票が正規のものであるか否かを、データ記録領域に記録されたデータに基づいてより正確に判定しやすくなる。
In the invention of claim 31, when the information code is generated by the information code generation unit, the generating device has specific information uniquely determined in the voucher represented by the image of the voucher image display region, or an image of the voucher image display region. The voucher related information including at least one of the voucher type information that can identify the voucher type represented by is recorded in the data recording area, and the data recording area reading unit of the reading device reads the voucher related information from the data recording area. The authentication unit determines whether or not the certificate is a regular certificate based on the result of reading the certificate related information by the data recording area reading unit.
According to the present invention, it can be more easily determined whether or not the voucher is genuine based on the data recorded in the data recording area.

請求項32の発明では、生成装置は、情報コード生成部によって情報コードを生成する際に、証票関連情報を暗号化した状態でデータ記録領域に記録し、読取装置のデータ記録領域読取部は、データ記録領域に対して所定の暗号解読処理を行い、認証部は、データ記録領域読取部による暗号解読処理の結果に基づき、証票が正規証票であるか否かを判定する。
この発明によれば、証票関連情報のセキュリティ性が高められた証票を読取対象とすることができ、証票が正規のものであるか否かを、暗号解読処理の結果に基づいてより正確に判定しやすくなる。特に、暗号化された証票関連情報の暗号解読処理の結果が正規証票であるか否かの判定条件となるため、証票の偽造及び不正利用をより効果的に抑えることができる。
In the invention of claim 32, when generating the information code by the information code generating unit, the generating unit records the voucher related information in an encrypted state in the data recording region, and the data recording region reading unit of the reading device includes: A predetermined decryption process is performed on the data recording area, and the authentication unit determines whether or not the certificate is a regular certificate based on the result of the decryption process performed by the data recording area reading unit.
According to the present invention, a voucher with improved security of voucher-related information can be read, and whether or not the voucher is genuine is more accurately determined based on the result of the decryption process. It becomes easy to do. In particular, since the result of the decryption process of the encrypted certificate-related information is a determination condition as to whether or not it is a regular certificate, counterfeiting and unauthorized use of the certificate can be more effectively suppressed.

請求項33の発明では、認証部は、生成装置によって証票を生成する際にデータ記録領域に記録されたデータの少なくとも一部の記録データを取得し、当該記録データと、データ記録領域読取部によって解読された解読データとが所定のデータ一致状態であるか否かを判断するデータ判断処理を行い、データ判断処理によってデータ一致状態と判断されることを条件として証票が正規証票であると判定する。
この発明では、認証部が証票の判定を行う際に、生成装置による生成時のデータ(記録データ)と、読取装置による読取時のデータ(解読データ)とをそれぞれ確認して一致状態を判断することができるため、証票が生成装置によって生成された正規のものであるか否かをより一層正確に判定できるようになる。
In the invention of claim 33, the authentication unit obtains at least a part of the data recorded in the data recording area when the voucher is generated by the generating device, and the recording data and the data recording area reading unit Data determination processing is performed to determine whether or not the decrypted decrypted data is in a predetermined data coincidence state, and it is determined that the voucher is a regular voucher on the condition that the data coincidence state is determined by the data determination processing .
According to the present invention, when the authentication unit determines the voucher, the data at the time of generation by the generating device (recorded data) and the data at the time of reading by the reading device (deciphered data) are respectively checked to determine the coincidence state. Therefore, it can be determined more accurately whether or not the voucher is a regular one generated by the generation device.

請求項34の発明では、認証部は、撮像部によって証票が撮像された場合に、その撮像で得られた証票内の証票画像表示領域の画像に対して所定の画像処理を行い、当該画像処理の結果に基づいて証票が正規証票であるか否かを判定する。
この発明によれば、証票が正規のものであるか否かを、証票画像表示領域の画像に基づいてより正確に判定しやすくなる。
According to the invention of claim 34, when the voucher is imaged by the imaging unit, the authentication unit performs predetermined image processing on the image in the voucher image display area in the voucher obtained by the imaging, and performs the image processing. Based on the result, it is determined whether or not the voucher is a regular voucher.
According to the present invention, it becomes easier to accurately determine whether or not a voucher is genuine based on an image in the voucher image display area.

請求項35の発明では、認証部は、生成装置によって証票を生成する際に証票画像表示領域に組み込まれた画像と、撮像部によって撮像された証票に含まれる証票画像表示領域の画像とが所定の画像一致状態であるか否かを判断する画像判断処理を行い、当該画像判断処理によって画像一致状態であると判断されることを条件として証票が正規証票であると判定する。
この発明では、認証部が証票の判定を行う際に、生成装置による生成時の証票画像と、読取装置による読取時の画像(撮像部によって撮像された証票に含まれる証票画像表示領域の画像)とをそれぞれ確認して一致状態を判断することができるため、証票が生成装置によって生成された正規のものであるか否かをより一層正確に判定できるようになる。
In the invention of claim 35, the authentication unit has a predetermined image and an image incorporated in the voucher image display area when the voucher is generated by the generating device, and an image of the voucher image display area included in the voucher imaged by the imaging unit. An image determination process is performed to determine whether or not the image match state is satisfied, and it is determined that the voucher is a regular voucher on condition that the image determination process determines that the image match state exists.
In the present invention, when the authentication unit determines the voucher, the voucher image generated by the generating device and the image read by the reading device (image of the voucher image display area included in the voucher imaged by the imaging unit) Therefore, it is possible to more accurately determine whether or not the voucher is a regular one generated by the generating device.

請求項36の発明では、撮像部によって証票が撮像された場合に、その撮像で得られた証票内の画像を解析し、所定の上書き部が存在するか否かを判別する上書き判別部を有する。
この構成によれば、証票に対して所定の上書きがなされたか否かを判別可能となるため、証票に対して上書きを施して使用することが想定される用途において、上書き前か上書き後かを判別できるようになり、このような用途において特に有利となる。
According to a thirty-sixth aspect of the present invention, when the voucher is picked up by the image pickup unit, the image in the voucher obtained by the image pickup is analyzed to determine whether or not a predetermined overwriting portion exists. .
According to this configuration, since it is possible to determine whether or not a predetermined overwriting has been performed on the voucher, whether it is before overwriting or after overwriting in an application in which the voucher is assumed to be overwritten is used. This is particularly advantageous in such applications.

請求項37の発明では、生成装置は、コード領域の内部に、複数種類のセルによって誤り訂正符号を記録した誤り訂正符号記録領域を設けた構成で証票を生成し、読取装置のデータ記録領域読取部は、誤り訂正符号記録領域に記録された誤り訂正符号に基づいてデータ記録領域のデータに対する誤り訂正を行う構成であり、上書き判別部は、データ記録領域読取部による誤り訂正の結果に基づいて上書き部が存在するか否かを判別する。
この構成によれば、証票内の情報コードを誤り訂正可能な形で構成することができ、証票の使用の際には、誤り訂正を利用して、より正確に且つより迅速に上書きを判別できるようになる。
In a thirty-seventh aspect of the present invention, the generation device generates a voucher with a configuration in which an error correction code recording area in which an error correction code is recorded by a plurality of types of cells is provided in the code area, and reads the data recording area of the reading device. The unit is configured to perform error correction on the data in the data recording area based on the error correction code recorded in the error correction code recording area, and the overwrite determination unit is based on the result of error correction by the data recording area reading unit. It is determined whether or not an overwriting part exists.
According to this configuration, the information code in the voucher can be configured in an error-correctable form, and when using the voucher, overwriting can be determined more accurately and quickly using error correction. It becomes like this.

請求項38の発明では、生成装置は、データ記録領域において、所定種類のデータが記録されると共に当該証票の使用の際にマークが追加形成されるべき第1領域と、第1領域に記録されるデータとは異なる種類のデータが記録される第2領域とを設けた構成で証票を生成し、上書き判別部は、データ記録領域読取部による第1領域での誤り訂正の結果に基づいて上書き部が存在するか否かを判別する。
この発明によれば、読み取りの際に第1領域での誤りの発生を確認することで、マークが追加形成されたか否かを把握できるようになる。一方、第2領域のデータはマークの影響を受けにくいため、良好に読み取り易くなる。
In the invention of claim 38, the generation device records a predetermined type of data in the data recording area and records the first area in which a mark is to be additionally formed when the voucher is used and the first area. A voucher is generated with a configuration in which a second area in which data of a different type from the data to be recorded is provided, and the overwrite determination unit overwrites the data based on the result of error correction in the first area by the data recording area reading unit. It is determined whether or not a part exists.
According to the present invention, it is possible to grasp whether or not a mark is additionally formed by confirming the occurrence of an error in the first area at the time of reading. On the other hand, since the data in the second area is not easily affected by the mark, it becomes easier to read.

請求項39の発明では、生成装置は、証票の価格を示す価格情報をデータ記録領域に記録した構成で証票を生成し、読取装置のデータ記録領域読取部は、データ記録領域から価格情報を読み取る構成である。
この発明によれば、価格情報を機器によって容易に読み取りやすい形で証票を使用することができる。証票の使用の際には、読取対象となる証票の価格を容易に且つ正確に把握しやすくなり、証票価格の認識が求められる用途においてより一層有利になる。
In the invention of claim 39, the generating device generates a voucher with a configuration in which price information indicating the price of the voucher is recorded in the data recording area, and the data recording area reading unit of the reading device reads the price information from the data recording area. It is a configuration.
According to the present invention, the voucher can be used in a form in which the price information can be easily read by the device. When using a voucher, the price of a voucher to be read can be easily and accurately grasped, which is further advantageous in applications where voucher price recognition is required.

請求項40の発明では、生成装置は、コード領域の内部において特定パターン領域及びデータ記録領域以外の位置に、セルによって解読対象データが記録されない領域である空き領域を、単一のセルのサイズよりも大きいサイズで設け、空き領域内に証票画像表示領域を設けた構成で証票を生成する。
この発明によれば、コード領域内においてデータ記録領域及び特定パターン領域以外の位置にセルによって解読対象データが記録されない領域(空き領域)が確保され、この空き領域が証票画像表示領域として利用された証票を読取対象として、そのデータ記録領域の内容、及び証票画像表示領域の内容を事後的に利用し得る構成となる。
In the invention of claim 40, the generating device sets an empty area, which is an area in which the decoding target data is not recorded by the cell, at a position other than the specific pattern area and the data recording area within the code area, based on the size of a single cell. A voucher is generated with a configuration in which a voucher image display area is provided in an empty area.
According to the present invention, an area (empty area) where data to be decoded is not recorded by a cell is secured at a position other than the data recording area and the specific pattern area in the code area, and this empty area is used as a voucher image display area. With the voucher as a reading target, the contents of the data recording area and the voucher image display area can be used afterwards.

請求項41の発明では、生成装置は、コード領域内での証票画像表示領域の位置を示す位置データをデータ記録領域に記録した構成で証票を生成し、読取装置のデータ記録領域読取部は、データ記録領域から位置データを読み取る構成であり、更に、データ記録領域読取部によって読み取られた位置データに基づいて、証票画像表示領域の位置を特定し、当該証票画像表示領域の画像を抽出する画像抽出部が設けられている。
この構成によれば、証票画像表示領域の位置をより正確に特定しやすい証票を使用することができる。証票の使用の際には、データ記録領域から位置データを読み取ることで、コード領域内における証票画像表示領域の位置を、より正確に特定できるようになり、証票画像表示領域のより正確な位置の画像を画像抽出部によって抽出し、利用できるようになる。
In the invention of claim 41, the generating device generates a voucher with a configuration in which position data indicating the position of the voucher image display region in the code region is recorded in the data recording region, and the data recording region reading unit of the reading device includes: An image that is configured to read position data from the data recording area, and further specifies the position of the voucher image display area based on the position data read by the data recording area reading unit, and extracts an image of the voucher image display area An extraction unit is provided.
According to this configuration, it is possible to use a voucher that can easily specify the position of the voucher image display area more accurately. When using a voucher, the position data is read from the data recording area, so that the position of the voucher image display area in the code area can be specified more accurately, and the position of the voucher image display area is more accurate. Images can be extracted and used by the image extraction unit.

図1は、本発明の第1実施形態に係る証票利用システムを概略的に例示する概略図である。FIG. 1 is a schematic view schematically illustrating a voucher utilization system according to the first embodiment of the present invention. 図2は、図1の証票利用システムを構成する証票読取装置の電気的構成を概略的に例示するブロック図である。FIG. 2 is a block diagram schematically illustrating an electrical configuration of the voucher reading apparatus constituting the voucher utilization system of FIG. 図3は、図1の証票利用システムで用いられる証票内の情報コードのデータ構成を概念的に説明する説明図である。FIG. 3 is an explanatory diagram conceptually illustrating the data configuration of the information code in the voucher used in the voucher utilization system of FIG. 図4は、図1の証票利用システムで用いられる証票内の情報コードと対応する他種のコードを説明する説明図である。FIG. 4 is an explanatory diagram for explaining another type of code corresponding to the information code in the voucher used in the voucher utilization system of FIG. 図5は、図1の証票利用システムを構成する証票生成装置で生成される証票内の情報コードでの各データワードの配置と、他種のコードでの各データワードの配置との対応関係を説明する説明図である。FIG. 5 shows the correspondence between the arrangement of each data word in the information code in the voucher generated by the voucher generating apparatus constituting the voucher utilization system in FIG. 1 and the arrangement of each data word in another type of code. It is explanatory drawing demonstrated. 図6は、図1の証票利用システムで用いられる証票内の情報コードのフォーマットデータを概念的に説明する説明図である。FIG. 6 is an explanatory diagram conceptually illustrating the format data of the information code in the voucher used in the voucher utilization system of FIG. 図7は、図1の証票利用システムで生成される証票内の情報コードでの各データワードの配置と、他種のコードでの各データワードの配置との対応関係を説明する説明図であり、図5とは異なる対応関係に変更した図である。FIG. 7 is an explanatory diagram for explaining the correspondence between the arrangement of each data word in the information code in the voucher generated by the voucher utilization system in FIG. 1 and the arrangement of each data word in another type of code. FIG. 6 is a diagram in which the correspondence relationship is changed from that in FIG. 5. 図8は、図1の証票利用システムで生成、使用される証票を概略的に例示する説明図である。FIG. 8 is an explanatory diagram schematically illustrating a voucher generated and used in the voucher utilization system of FIG. 図9(A)は、図1の証票利用システムの運用例における証票の発行の流れを例示する説明図である。図9(B)は、図1の証票利用システムの運用例における証票の認証の流れを例示する説明図である。FIG. 9A is an explanatory diagram illustrating the flow of issuing a voucher in the operation example of the voucher utilization system of FIG. FIG. 9B is an explanatory diagram illustrating the flow of certificate authentication in the operation example of the certificate utilization system of FIG. 図10は、図1の証票利用システムを構成する証票生成装置での証票の生成の流れを例示するフローチャートである。FIG. 10 is a flowchart exemplifying the flow of voucher generation in the voucher generating device constituting the voucher utilization system of FIG. 図11は、図1の証票利用システムを構成する証票読取装置での証票の読み取りの流れを例示するフローチャートである。FIG. 11 is a flowchart illustrating the flow of reading a voucher by the voucher reading device constituting the voucher utilization system of FIG. 図12は、図1の証票利用システムの運用に関し、証票の使用例を示す説明図である。FIG. 12 is an explanatory diagram showing an example of use of a voucher regarding the operation of the voucher utilization system of FIG. 図13は、第1実施形態の変更例1での証票の使用例を示す説明図である。FIG. 13 is an explanatory diagram illustrating a usage example of the voucher in the first modification of the first embodiment. 図14は、第1実施形態の変更例2での証票の使用例を示す説明図である。FIG. 14 is an explanatory diagram illustrating a usage example of the voucher according to the second modification of the first embodiment. 図15は、第1実施形態の変更例3に係る証票利用システムでの証票の認証の流れを例示する説明図である。FIG. 15 is an explanatory diagram illustrating the flow of voucher authentication in the voucher utilization system according to the third modification of the first embodiment. 図16は、第2実施形態に係る証票利用システムで用いられる情報コードを説明する説明図であり、図16(A)は、空き領域を空白にした状態を示す図であり、図16(B)は、空き領域に画像領域を設けた状態を示す図である。FIG. 16 is an explanatory diagram for explaining an information code used in the voucher utilization system according to the second embodiment, and FIG. 16 (A) is a diagram showing a state where an empty area is left blank, and FIG. ) Is a diagram showing a state in which an image area is provided in the empty area. 図17は、第3実施形態に係る証票利用システムで用いられる情報コードを説明する説明図であり、図17(A)は、空き領域を空白にした状態を示す図であり、図17(B)は、空き領域にデザインを付した状態を示す図である。FIG. 17 is an explanatory diagram for explaining an information code used in the voucher utilization system according to the third embodiment. FIG. 17A is a diagram showing a state in which an empty area is left blank, and FIG. ) Is a diagram showing a state in which a design is added to the free space. 図18(A)は、図16の情報コードにおける解読対象データのデータ構成を概念的に示す説明図であり、図18(B)は、図17の情報コードにおける解読対象データのデータ構成を概念的に示す説明図である。18A is an explanatory diagram conceptually showing the data structure of the data to be decoded in the information code of FIG. 16, and FIG. 18B conceptually shows the data structure of the data to be decoded in the information code of FIG. FIG. 図19は、第4実施形態に係る証票利用システムで生成、使用される証票を概略的に例示する説明図である。FIG. 19 is an explanatory diagram schematically illustrating a voucher generated and used in the voucher utilization system according to the fourth embodiment. 図20は、他の実施形態に係る証票利用システムで生成、使用される証票を概略的に例示する説明図である。FIG. 20 is an explanatory diagram schematically illustrating a voucher generated and used in a voucher utilization system according to another embodiment. 図21は、他の実施形態に係る証票利用システムで生成、使用される証票の別例1を概略的に例示する説明図である。FIG. 21 is an explanatory diagram schematically illustrating another example 1 of a voucher generated and used in a voucher utilization system according to another embodiment. 図22は、他の実施形態に係る証票利用システムで生成、使用される証票の別例2を概略的に例示する説明図である。FIG. 22 is an explanatory diagram schematically illustrating another example 2 of the voucher generated and used in the voucher utilization system according to another embodiment.

[第1実施形態]
まず、本発明を具現化した第1実施形態の代表例について、図面を参照して説明する。
図1に示す証票利用システム1は、所定のコード領域の内部に情報を表示する単位となるセルを配列した情報コード100を含んだ証票Pを生成する証票生成装置と、証票生成装置によって生成された証票Pを読み取る証票読取装置10とを備えた構成をなしている。図1の例では、管理装置2が証票生成装置、情報コード生成装置として機能している。また、証票読取装置10単体、又は証票読取装置10と管理装置2によって証票読取システムが構成されている。
[First embodiment]
First, a representative example of the first embodiment embodying the present invention will be described with reference to the drawings.
The voucher utilization system 1 shown in FIG. 1 is generated by a voucher generating device that generates a voucher P including an information code 100 in which cells serving as units for displaying information are arranged in a predetermined code area, and a voucher generating device. The voucher reading device 10 for reading the voucher P is provided. In the example of FIG. 1, the management device 2 functions as a voucher generating device and an information code generating device. Further, the voucher reading device 10 alone or the voucher reading device 10 and the management device 2 constitutes a voucher reading system.

(管理装置)
管理装置2(証票生成装置)は、例えばパーソナルコンピュータ等の情報処理装置として構成されており、CPUなどからなる制御部3と、キーボード、マウス、その他の入力装置からなる操作部4と、ROM、RAM、HDD、不揮発性メモリ等の記憶装置からなる記憶部5と、公知の表示装置(液晶ディスプレイやその他の表示デバイス)などからなる表示部6と、外部装置と有線通信或いは無線通信を行うための通信インタフェースとして機能する通信部7と、公知のプリンタ等と同様のハードウェア構成をなし且つ制御部3からの印刷データに基づいて情報コード100等を印刷可能な印刷部8(印刷装置)とを備えている。
(Management device)
The management device 2 (certificate generating device) is configured as an information processing device such as a personal computer, for example, and includes a control unit 3 including a CPU, an operation unit 4 including a keyboard, a mouse, and other input devices, a ROM, For performing wired communication or wireless communication with a storage unit 5 including a storage device such as a RAM, an HDD, and a nonvolatile memory, a display unit 6 including a known display device (liquid crystal display or other display device), and an external device. A communication unit 7 that functions as a communication interface, and a printing unit 8 (printing apparatus) that has the same hardware configuration as a known printer and that can print the information code 100 or the like based on print data from the control unit 3. It has.

(証票読取装置)
次に、証票読取装置10の全体構成について説明する。図2に示すように、証票読取装置10は、証票P(後述)を読み取る機能を有するものであり、具体的には、一次元コードや二次元コードを読取可能なコードリーダとして構成され、証票Pに含まれる情報コード100を読み取る機能を有する。この証票読取装置10は、図示しないケース(筐体)によって外郭が構成され、このケース内に各種電子部品が収容された構成をなしている。
(Voucher reading device)
Next, the overall configuration of the voucher reading device 10 will be described. As shown in FIG. 2, the voucher reading device 10 has a function of reading a voucher P (described later), and is specifically configured as a code reader capable of reading a one-dimensional code or a two-dimensional code. P has a function of reading the information code 100 included in P. The voucher reading apparatus 10 has a configuration in which an outer case is formed by a case (housing) (not shown) and various electronic components are accommodated in the case.

証票読取装置10は、主に、照明光源21、受光センサ23、フィルタ25、結像レンズ27等の光学系と、メモリ35、制御回路40、操作スイッチ42、液晶表示器46等のマイクロコンピュータ(以下「マイコン」という)系と、電源スイッチ41、電池49等の電源系と、から構成されている。なお、これらは、図略のプリント配線板に実装あるいはケース(図示略)内に内装される構成で、ケース(筐体)に一体的に組み付けられている。   The voucher reading apparatus 10 mainly includes an optical system such as an illumination light source 21, a light receiving sensor 23, a filter 25, and an imaging lens 27, and a microcomputer (such as a memory 35, a control circuit 40, an operation switch 42, and a liquid crystal display 46). (Hereinafter referred to as “microcomputer”) and a power supply system such as a power switch 41 and a battery 49. These components are mounted on a printed wiring board (not shown) or built in a case (not shown), and are integrally assembled to the case (housing).

光学系は、照明光源21、受光センサ23、フィルタ25、結像レンズ27等から構成されている。照明光源21は、照明光Lfを発光可能な照明光源として機能するもので、例えば、赤色のLEDとこのLEDの出射側に設けられる拡散レンズ、集光レンズ等とから構成されている。本実施形態では、受光センサ23を挟んだ両側に照明光源21が設けられており、ケースに形成された読取口(図示略)を介して読取対象物Rに向けて照明光Lfを照射可能に構成されている。この読取対象物Rとしては、例えば、樹脂材料、金属材料等の様々な対象が考えられ、このような読取対象物Rに例えば図1のような情報コード100(後述)を含んだ証票Pが印刷などによって形成されている。   The optical system includes an illumination light source 21, a light receiving sensor 23, a filter 25, an imaging lens 27, and the like. The illumination light source 21 functions as an illumination light source capable of emitting illumination light Lf, and includes, for example, a red LED and a diffusion lens, a condensing lens, and the like provided on the emission side of the LED. In the present embodiment, illumination light sources 21 are provided on both sides of the light receiving sensor 23, and the illumination light Lf can be irradiated toward the reading object R through a reading port (not shown) formed in the case. It is configured. As the reading object R, for example, various objects such as a resin material and a metal material are conceivable. For example, a voucher P including an information code 100 (described later) as shown in FIG. It is formed by printing.

受光センサ23は、証票Pを撮像可能な「撮像部」の一例に相当し、読取対象物Rや情報コード100に照射されて反射した反射光Lrを受光可能に構成されるもので、例えば、C−MOSやCCD等の固体撮像素子である受光素子を2次元に配列したエリアセンサが、これに相当する。この受光センサ23は、結像レンズ27を介して入射する入射光を受光面23aで受光可能に図略のプリント配線板に実装されている。   The light receiving sensor 23 corresponds to an example of an “imaging unit” that can image the voucher P, and is configured to be able to receive the reflected light Lr irradiated and reflected on the reading object R or the information code 100. An area sensor in which light receiving elements that are solid-state image sensors such as C-MOS and CCD are two-dimensionally arranged corresponds to this. The light receiving sensor 23 is mounted on a printed wiring board (not shown) so that incident light incident through the imaging lens 27 can be received by the light receiving surface 23a.

フィルタ25は、例えば反射光Lrの波長相当以下の光の通過を許容し、当該波長相当を超える光の通過を遮断し得る光学的なローパスフィルタで、ケースに形成された読取口(図示略)と結像レンズ27との間に設けられている。これにより、反射光Lrの波長相当を超える不要な光が受光センサ23に入射することを抑制している。また、結像レンズ27は、例えば、鏡筒とこの鏡筒内に収容される複数の集光レンズとによって構成されており、本実施形態では、ケースに形成された読取口(図示略)に入射する反射光Lrを集光し、受光センサ23の受光面23aに情報コード100のコード画像を結像するように構成されている。   The filter 25 is an optical low-pass filter that allows passage of light having a wavelength less than or equal to the wavelength of the reflected light Lr, for example, and can block passage of light exceeding the wavelength, and a reading port (not shown) formed in the case. And the imaging lens 27. Thereby, unnecessary light exceeding the wavelength equivalent of the reflected light Lr is prevented from entering the light receiving sensor 23. Further, the imaging lens 27 is constituted by, for example, a lens barrel and a plurality of condensing lenses accommodated in the lens barrel. In the present embodiment, the imaging lens 27 is provided at a reading port (not shown) formed in the case. The incident reflected light Lr is collected, and a code image of the information code 100 is formed on the light receiving surface 23 a of the light receiving sensor 23.

マイコン系は、増幅回路31、A/D変換回路33、メモリ35、アドレス発生回路36、同期信号発生回路38、制御回路40、操作スイッチ42、LED43、ブザー44、液晶表示器46、通信インタフェース48等から構成されている。このマイコン系は、マイコン(情報処理装置)として機能し得る制御回路40及びメモリ35を中心として構成され、前述した光学系によって撮像された情報コード100の画像信号をハードウェア的およびソフトウェア的に信号処理し得るものである。   The microcomputer system includes an amplification circuit 31, an A / D conversion circuit 33, a memory 35, an address generation circuit 36, a synchronization signal generation circuit 38, a control circuit 40, an operation switch 42, an LED 43, a buzzer 44, a liquid crystal display 46, and a communication interface 48. Etc. This microcomputer system is configured around a control circuit 40 and a memory 35 that can function as a microcomputer (information processing apparatus), and the image signal of the information code 100 captured by the optical system described above is signaled in hardware and software. It can be processed.

光学系の受光センサ23から出力される画像信号(アナログ信号)は、増幅回路31に入力されることで所定ゲインで増幅された後、A/D変換回路33に入力され、アナログ信号からディジタル信号に変換される。そして、ディジタル化された画像信号、つまり画像データ(画像情報)は、メモリ35に入力され、当該メモリ35の画像データ蓄積領域に蓄積される。なお、同期信号発生回路38は、受光センサ23およびアドレス発生回路36に対する同期信号を発生可能に構成されており、またアドレス発生回路36は、この同期信号発生回路38から供給される同期信号に基づいて、メモリ35に格納される画像データの格納アドレスを発生可能に構成されている。   An image signal (analog signal) output from the light receiving sensor 23 of the optical system is input to the amplification circuit 31 and amplified by a predetermined gain, and then input to the A / D conversion circuit 33, and the digital signal is converted from the analog signal. Is converted to The digitized image signal, that is, image data (image information) is input to the memory 35 and stored in the image data storage area of the memory 35. The synchronization signal generation circuit 38 is configured to generate a synchronization signal for the light receiving sensor 23 and the address generation circuit 36. The address generation circuit 36 is based on the synchronization signal supplied from the synchronization signal generation circuit 38. Thus, the storage address of the image data stored in the memory 35 can be generated.

メモリ35は、半導体メモリ装置などによって構成され、例えばRAM、ROM、不揮発性メモリなどの公知の半導体メモリ装置がこれに相当する。このメモリ35のうちのRAMには、例えば、前述した画像データ蓄積領域のほかに、制御回路40が算術演算や論理演算等の各処理時に利用する作業領域や読取条件テーブルも確保可能に構成されている。またROMには、後述する読取処理等を実行可能な所定プログラムやその他、照明光源21、受光センサ23等の各ハードウェアを制御可能なシステムプログラム等が予め格納されている。   The memory 35 is configured by a semiconductor memory device or the like, and for example, a known semiconductor memory device such as a RAM, a ROM, or a nonvolatile memory corresponds to this. In the RAM of the memory 35, for example, in addition to the image data storage area described above, a work area and a reading condition table used by the control circuit 40 in each processing such as arithmetic operation and logical operation can be secured. ing. The ROM stores in advance a predetermined program that can execute a reading process and the like that will be described later, and a system program that can control each piece of hardware such as the illumination light source 21 and the light receiving sensor 23.

制御回路40は、証票読取装置10全体を制御可能なマイコンで、CPU、システムバス、入出力インタフェース等からなるものであり、情報処理機能を有している。この制御回路40には、内蔵された入出力インタフェースを介して種々の入出力装置(周辺装置)が接続されており、本実施形態の場合、電源スイッチ41、操作スイッチ42、LED43、ブザー44、液晶表示器46、通信インタフェース48等が接続されている。通信インタフェース48は、公知の有線通信方式や無線通信方式にて外部装置と通信を行う機能を有しており、本構成では、例えばインターネット通信網を介して管理装置2などの外部装置と通信可能となっている。   The control circuit 40 is a microcomputer that can control the entire voucher reading apparatus 10 and includes a CPU, a system bus, an input / output interface, and the like, and has an information processing function. Various input / output devices (peripheral devices) are connected to the control circuit 40 via a built-in input / output interface. In this embodiment, a power switch 41, an operation switch 42, an LED 43, a buzzer 44, A liquid crystal display 46, a communication interface 48, and the like are connected. The communication interface 48 has a function of communicating with an external device using a known wired communication method or wireless communication method. In this configuration, the communication interface 48 can communicate with an external device such as the management device 2 via an Internet communication network. It has become.

電源系は、電源スイッチ41、電池49等により構成されており、制御回路40により管理される電源スイッチ41のオンオフによって、上述した各装置や各回路に、電池49から供給される駆動電圧の導通や遮断が制御されている。なお、電池49は、所定の直流電圧を発生可能な2次電池で、例えば、リチウムイオン電池等がこれに相当する。   The power supply system includes a power switch 41, a battery 49, and the like. When the power switch 41 managed by the control circuit 40 is turned on and off, the conduction of the drive voltage supplied from the battery 49 to each device and each circuit described above is established. Or shut off is controlled. The battery 49 is a secondary battery that can generate a predetermined DC voltage, and corresponds to, for example, a lithium ion battery.

(証票及び情報コード)
次に、証票P及び証票Pを構成する情報コード100について説明する。
図1、図8等に示す証票Pは、例えば、シート状に構成され且つ所定形状に構成された媒体(例えば、紙、樹脂、金属材料、その他の公知材料からなる媒体)に情報コード100が印刷されてなるものである。なお、図1、図8等では、証票Pとして、切手などの証紙を例示しているが、証票Pはどのような種類のものでもよく、例えば、切手として使用される例に限らず、収入印紙、自動車重量税印紙、雇用保険印紙、農産物検査印紙、自動車検査登録印紙、健康保険印紙、国民年金印紙、特許印紙、登記印紙収入印紙、収入証紙、領収証紙などの、様々な既存証票のいずれかとして使用されてもよい。或いは、商品券、文具券、図書券、乗車券、搭乗券、入場券などの、既存の券のいずれかとして使用されてもよい。また、既存のものに限定されず、何らかの事項を証する証票であれば様々な種類の証票に適用できる。
(Voucher and information code)
Next, the certificate P and the information code 100 constituting the certificate P will be described.
For example, the voucher P shown in FIG. 1, FIG. 8, etc. has an information code 100 on a medium (for example, a medium made of paper, resin, metal material, or other known material) configured in a sheet shape and in a predetermined shape. It is printed. 1 and 8 exemplify stamps such as stamps as the certificate P, but the certificate P may be of any type, for example, not limited to an example used as a stamp, Any of various existing certificates such as stamps, automobile weight tax stamps, employment insurance stamps, agricultural product inspection stamps, automobile inspection registration stamps, health insurance stamps, national pension stamps, patent stamps, registration stamps revenue stamps, income stamps, receipt stamps, etc. May be used as Alternatively, it may be used as any of existing tickets such as gift certificates, stationery tickets, book tickets, boarding tickets, boarding tickets, and admission tickets. Further, the present invention is not limited to existing ones, and any voucher that proves any matter can be applied to various types of vouchers.

ここで、証票Pの構成、特に、証票Pを構成する情報コード100について図1、図5等を参照して説明する。なお、図1の例と図5右図の例では、セル配列や特定パターンのサイズ等が若干異なるが基本的な考えは同様であり、同様の特徴を有している。図1、図5等に示す情報コード100は、例えば上述の管理装置2(証票生成装置)によって生成されるものであり、所定のコード領域の内部に情報を表示する単位となるセル102を配列した構成となっている。なお、図1、図5等の情報コード100において、「コード領域」は、複数配列された暗色セルを全て含み得る矩形状の領域であり、情報コード100を構成するセルを全て含む最小の正方形領域又は長方形領域となっている。具体的には、3つの位置検出パターン(切り出しシンボル)104を全て含む最小の正方形領域又は長方形領域となっている。なお、図1、図5等の例では、複数のセル102が、矩形状(例えば外径が正方形状)の明色(白色)セル及び暗色(黒色)セルのいずれかによって構成されており、コード領域の内部において後述する空き領域110の周囲にこれらセル102がマトリックス状に配置されている。明色セル及び暗色セルは、それぞれ白色セル、黒色セルに限られるものではなく、暗色セルが所定の明度で構成される場合、明色セルはそれよりも明度が高ければよい。また、情報コード100において上記コード領域の周囲には、当該コード領域を取り囲むように明色又は暗色のマージン領域が構成されるようになっており、図1、図5等の例では、明色(例えば、白色或いは暗色セルよりも明度の大きい他色)のマージン領域がコード領域の周囲に隣接して配置されている。   Here, the configuration of the voucher P, in particular, the information code 100 constituting the voucher P will be described with reference to FIGS. The example of FIG. 1 and the example of the right side of FIG. 5 are slightly different in the cell arrangement and the size of the specific pattern, but the basic idea is the same and has the same characteristics. The information code 100 shown in FIG. 1, FIG. 5, etc. is generated by, for example, the above-described management apparatus 2 (certificate generation apparatus), and cells 102 serving as units for displaying information are arranged in a predetermined code area. It has become the composition. In the information code 100 of FIGS. 1 and 5, the “code area” is a rectangular area that can include all of the plurality of dark cells arranged, and is the smallest square that includes all of the cells constituting the information code 100. It is a region or a rectangular region. Specifically, it is a minimum square area or rectangular area including all three position detection patterns (cutout symbols) 104. In the example of FIGS. 1 and 5, the plurality of cells 102 are configured by either a rectangular (for example, a square outer diameter) light (white) cell or a dark (black) cell, Within the code area, these cells 102 are arranged in a matrix around an empty area 110 described later. The light color cell and the dark color cell are not limited to the white cell and the black cell, respectively. When the dark color cell is configured with a predetermined lightness, the light color cell only needs to have a higher lightness. In the information code 100, a light or dark margin area is formed around the code area so as to surround the code area. In the examples of FIGS. A margin area (for example, another color having a lightness higher than that of a white or dark cell) is arranged adjacent to the periphery of the code area.

この情報コード100は、矩形状(例えば、正方形状或いは長方形状等)のコード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類のセル102によってデータを記録するデータ記録領域と、複数種類のセル102によって誤り訂正符号を記録する誤り訂正符号記録領域とが設けられている。図1、図5等のように、情報コード100の特定パターンは、例えば、QRコード(登録商標)の公知の所定型番(図5の例では、JIS等で規格化されたQRコードの所定型番)の特定パターンと同一の形状及び位置となっており、図1、図5等の例では、コード領域の3つの角部にそれぞれ、特定パターンとしての位置検出パターン(切り出しシンボル)104が配置されている。また、上記所定型番において予め定められた位置に、特定パターンとしてのタイミングパターン106やアライメントパターン108も設けられている。このように、情報コード100では、予め定められた位置に決まった形状の特定パターン(位置検出パターン104、タイミングパターン106、アライメントパターン108(図5では省略))が配置されるようになっている。なお、コード領域の内部において、後述する空き領域110以外の位置は、このような特定パターンの領域、記録領域(データ記録領域及び誤り訂正符号記録領域のいずれかからなる領域)などによって構成されている。   The information code 100 includes data in a specific pattern area in which a specific pattern having a predetermined shape is arranged inside a rectangular code area (for example, a square shape or a rectangular shape), and a plurality of types of cells 102. A data recording area for recording and an error correction code recording area for recording an error correction code by a plurality of types of cells 102 are provided. As shown in FIGS. 1 and 5, the specific pattern of the information code 100 is, for example, a known predetermined model number of a QR code (registered trademark) (in the example of FIG. 5, a predetermined model number of a QR code standardized by JIS or the like). ), The position detection pattern (cutout symbol) 104 as the specific pattern is arranged at each of the three corners of the code area in the examples of FIGS. ing. Further, a timing pattern 106 and an alignment pattern 108 as specific patterns are also provided at predetermined positions in the predetermined model number. As described above, in the information code 100, a specific pattern (position detection pattern 104, timing pattern 106, alignment pattern 108 (not shown in FIG. 5)) having a predetermined shape is arranged at a predetermined position. . It should be noted that, within the code area, positions other than the empty area 110, which will be described later, are configured by such specific pattern areas, recording areas (areas consisting of either data recording areas or error correction code recording areas), and the like. Yes.

情報コード100のセルの行数及び列数、特定パターンの形状及び位置、フォーマット情報の位置、コードワードの候補位置(コードワードの配置順序を特定するアドレス)等は読取装置がどのような方法で把握してもよい。例えば、情報コード100の種別において複数の型番が設けられていてもよく、この場合、型番毎にセルの行数及び列数、特定パターンの形状及び位置、フォーマット情報の位置、コードワードを配置する候補位置(アドレス)が予め定められていればよい。そして、上記型番を特定する型番情報がコード領域内の決められた位置(予約領域)に配置されていれば、読取装置はこの型番情報に基づいて情報コード100のセルの行数及び列数、特定パターンの形状及び位置、フォーマット情報の位置、コードワードの候補位置(アドレス)を把握できるようになる。なお、この方法に限定されるものではなく、読取装置が把握し得る方法であれば他の方法でもよい。   The number of rows and columns of cells of the information code 100, the shape and position of a specific pattern, the position of format information, the codeword candidate position (address for specifying the arrangement order of codewords), etc. You may grasp. For example, a plurality of model numbers may be provided in the type of the information code 100. In this case, the number of rows and columns of cells, the shape and position of a specific pattern, the position of format information, and a code word are arranged for each model number. The candidate position (address) may be determined in advance. If the model number information for specifying the model number is arranged at a predetermined position (reserved area) in the code area, the reader device can determine the number of rows and columns of cells of the information code 100 based on the model number information. It becomes possible to grasp the shape and position of the specific pattern, the position of the format information, and the candidate position (address) of the code word. Note that the present invention is not limited to this method, and any other method may be used as long as the reader can grasp the method.

そして、コード領域の内部において、特定パターン領域、データ記録領域、誤り訂正符号記録領域以外の位置には、セル102によってデータが記録されない領域であり且つ誤り訂正符号による誤り訂正の対象にならない領域である空き領域110が、単一のセル102のサイズよりも大きいサイズで設けられている。なお、図1、図5等の例では、データ記録領域、誤り訂正符号記録領域がコード領域の周縁に沿って環状且つ矩形状に配置されており、コード領域の中央部(コード領域の中心を含む所定領域)に空き領域110が構成されている。なお、「セル102によってデータが記録されない領域」とは、即ち、後述するデータコードワードや誤り訂正コードワードなどのコードワードが記録されない領域であり、且つフォーマット情報が記録されない領域であることを意味する。また、「誤り訂正符号による誤り訂正の対象にならない領域」とは、即ち、誤り訂正符号記録領域に記録された誤り訂正符号を用いた誤り訂正が行われない領域であることを意味する。従って、空き領域110に何らかの情報(後述する追加情報等)が記録されていても、空き領域110の周囲に存在する誤り訂正符号記録領域の誤り訂正符号によってその情報に対する誤り訂正がなされることはない。   Within the code area, the area other than the specific pattern area, data recording area, and error correction code recording area is an area where data is not recorded by the cell 102 and is not subject to error correction by the error correction code. A certain free area 110 is provided in a size larger than the size of the single cell 102. In the examples of FIGS. 1 and 5 and the like, the data recording area and the error correction code recording area are arranged in an annular and rectangular shape along the periphery of the code area, and the center of the code area (the center of the code area is defined). A free area 110 is formed in a predetermined area. The “area in which no data is recorded by the cell 102” means an area in which a code word such as a data code word and an error correction code word to be described later is not recorded, and an area in which format information is not recorded. To do. The “region not subject to error correction by the error correction code” means a region where error correction using the error correction code recorded in the error correction code recording region is not performed. Therefore, even if some information (additional information to be described later) is recorded in the empty area 110, error correction for the information is performed by the error correction code in the error correction code recording area existing around the empty area 110. Absent.

なお、以下の説明では、図5右図のような上記所定型番に対応する構成と、図5左図のような所定型番よりもサイズが小さい別の型番(Ver.番号)とが対応付けられ、図5右図の情報コード100の各コードワードの位置と、図5左図の他種コード120の各コードワードの位置とが図5下図のような配置変換表によって対応付けられている例を代表例として説明する。この例では、図5左図の他種コード120で格納し得るデータ量であれば、図5右図のような情報コード100により空き領域110を設けた上で表現できるようになっている。逆に、図5右図の情報コード100を読み取る場合には、情報コード100の各コードワードを、図5左図のような他種コード120のコードワードとして読み取ることができるようになっている。   In the following description, a configuration corresponding to the predetermined model number as shown in the right diagram of FIG. 5 is associated with another model number (Ver. Number) having a smaller size than the predetermined model number as illustrated in the left diagram of FIG. An example in which the position of each code word of the information code 100 in the right diagram of FIG. 5 and the position of each code word of the other code 120 in the left diagram of FIG. 5 are associated by the arrangement conversion table as shown in the lower diagram of FIG. Will be described as a representative example. In this example, the amount of data that can be stored in the other type code 120 in the left diagram of FIG. 5 can be expressed with the empty area 110 provided by the information code 100 as shown in the right diagram of FIG. Conversely, when the information code 100 shown in the right diagram of FIG. 5 is read, each code word of the information code 100 can be read as a code word of another type code 120 as shown in the left diagram of FIG. .

また、図5右図では、空き領域110の周囲に配置される各コードワードの領域を破線枠等によって概念的に示している。また、フォーマット情報を記録する領域(所定位置105)は、所定種類のハッチングにて概念的に示している。なお、図5右図では、フォーマット情報を記録する領域や、コードワードを記録する領域では、升目のみを示し、明色セルや暗色セルの具体的配列を省略して示している。また、図5右図の例では、セル配列と対応付けるべく空き領域110(コード領域の中央部分)の内部にも升目を付しているが、空き領域110の構成は自由であり、図1のように構成してもよく、その他の構成であってもよい。   In the right diagram of FIG. 5, each codeword area arranged around the empty area 110 is conceptually shown by a broken line frame or the like. An area (predetermined position 105) for recording format information is conceptually indicated by a predetermined type of hatching. In the right diagram of FIG. 5, in the area where the format information is recorded and the area where the code word is recorded, only the squares are shown, and the specific arrangement of light cells and dark cells is omitted. Further, in the example of the right diagram in FIG. 5, the interior of the empty area 110 (the central part of the code area) is also assigned to correspond to the cell arrangement, but the configuration of the empty area 110 is free, and FIG. It may be configured as described above, or may be other configurations.

フォーマット情報(形式情報)は、例えば図6のように構成されて情報コード100内の所定位置105(所定種類のハッチング位置)に特定のフォーマット構成で記録されている。このフォーマット情報は、誤り訂正レベルを特定する訂正レベル情報と、マスク番号を特定するマスク番号情報とを含んでいる。訂正レベル情報は、情報コード100で用いる誤り訂正レベルを特定する情報であり、例えば他種コード120に変換して読み取る場合の当該他種コード120で用いる誤り訂正レベルにも相当する。また、マスク番号は、情報コード100のコードワード領域(データコードワードや誤り訂正コードワードが記録されている領域)にかけられているマスクがどのマスク種別であるかを特定する情報である。   The format information (format information) is configured as shown in FIG. 6, for example, and is recorded at a predetermined position 105 (a predetermined type of hatching position) in the information code 100 with a specific format configuration. This format information includes correction level information for specifying an error correction level and mask number information for specifying a mask number. The correction level information is information for specifying an error correction level used in the information code 100, and corresponds to an error correction level used in the other type code 120 in the case of being converted into the other type code 120 and read, for example. The mask number is information for specifying which mask type is the mask applied to the codeword area of the information code 100 (area in which the data codeword and error correction codeword are recorded).

図6に示すようにフォーマット情報は、所定種類のマスクパターン(特定マスク)を反映した状態で記録されており、公知のQRコードと同様の方法でフォーマット情報のマスク種別を識別することで、図5右図に示すような特定のコード種別(空き領域110を設けた種別)であることを検出できるようになっている。公知規格のQRコードでは、例えばモデル1として構成する場合には、図6のようなフォーマット情報に対してモデル1用のマスクをかけたときに表現されるデータ(セル配列)を所定位置に記録し、モデル2として構成する場合には、図6のようなフォーマット情報に対してモデル2用のマスクをかけたときに表現されるデータ(セル配列)を所定位置に記録するようになっている。一方、図5に示す本実施形態の情報コード100(空き領域110を有する特別種類のコード)では、図6のようなフォーマット情報に対してモデル1、2とは異なる種類の特定マスク(図6では額縁QR用と例示)をかけたときに表現されるデータ(セル配列)を所定位置105に記録するようになっている。そして、公知規格のモデル1及びモデル2、情報コード100の種別のいずれの場合でも、記録する訂正レベル(訂正レベル情報)及びマスク番号(マスク番号情報)に対応するチェックデジットが付された上でフォーマット情報が構成されており、その上で各種別用のマスクがかけられるようになっている。具体的には、各種別用のマスクパターンを用いて公知の方法でマスク処理が行われ、マスク処理後のビットパターンが所定位置105に記録されるようになっている。従って、情報コード100のようにフォーマット情報に対して特定マスク(図6では額縁QR用と例示)をかけた上で所定位置105に記録する場合、このように所定位置105に記録された情報を上記特定マスクに基づいてマスク処理を解除して解読すればチェックデジットが合うため、情報コード100の種別であることを特定することができる。逆に、情報コード100の所定位置105のデータを、モデル1やモデル2のマスクに基づいてマスクを外しても、チェックデジットが合わなくなるため、公知規格のモデル1やモデル2でないことを特定することができる。   As shown in FIG. 6, the format information is recorded in a state reflecting a predetermined type of mask pattern (specific mask), and the format information is identified by identifying the mask type of the format information in the same manner as a known QR code. 5 It is possible to detect a specific code type (type provided with a free area 110) as shown in the right figure. For example, when the model 1 is configured as a QR code of a known standard, data (cell array) expressed when the model 1 mask is applied to the format information as shown in FIG. 6 is recorded at a predetermined position. However, when configured as the model 2, data (cell array) expressed when the model 2 mask is applied to the format information as shown in FIG. 6 is recorded at a predetermined position. . On the other hand, in the information code 100 of this embodiment shown in FIG. 5 (special type code having a free area 110), a specific mask of a different type from the models 1 and 2 (FIG. 6) for the format information as shown in FIG. Then, the data (cell array) expressed when the frame QR is used is recorded at a predetermined position 105. Then, in any of the types 1 and 2 of the known standard and the type of the information code 100, a check digit corresponding to the correction level (correction level information) and mask number (mask number information) to be recorded is added. Format information is configured, on which various types of masks can be applied. Specifically, mask processing is performed by a known method using various types of mask patterns, and the bit pattern after the mask processing is recorded at a predetermined position 105. Therefore, when the format information is recorded at the predetermined position 105 after applying a specific mask (example for frame QR in FIG. 6) to the format information like the information code 100, the information recorded at the predetermined position 105 in this way is recorded. If the mask process is canceled and decoded based on the specific mask, the check digit is matched, so that the type of the information code 100 can be specified. On the contrary, even if the data at the predetermined position 105 of the information code 100 is removed based on the masks of the model 1 and model 2, the check digit does not match. be able to.

この情報コード100では、特定パターン(位置検出パターン104等)を検出し、公知のQRコードと同様の方法でコード領域、コードの向き、各セル位置を特定した後、公知のQRコードと同様の方法でフォーマット情報が記録された所定位置105を解読することで、解読時に成功したマスクの種別により情報コード100の種別(空き領域110を有する特別種類)であることを特定することができる。そして、解読されたフォーマット情報により、情報コード100で用いる誤り訂正レベルを特定でき、且つ情報コード100のコードワード領域(セルによってデータコードワードや誤り訂正コードワードが記録されている領域)にかけられているマスク種別を特定できるようになっている。   In this information code 100, after detecting a specific pattern (position detection pattern 104, etc.) and specifying the code area, code direction, and each cell position in the same manner as the known QR code, the same as the known QR code. By decoding the predetermined position 105 where the format information is recorded by the method, it is possible to identify the type of the information code 100 (special type having the empty area 110) according to the type of the mask that has been successfully decoded. Then, the error correction level used in the information code 100 can be specified by the decoded format information, and applied to the code word area of the information code 100 (the area where the data code word and the error correction code word are recorded by the cell). It is possible to specify the mask type.

更に、空き領域110の内部には、証票画像が表示される証票画像表示領域121(後述)が設けられている。図1等では、証票として切手を例示しており、証票画像表示領域121には所定種類の切手を表す証票画像が描画されている。なお、図1等の例では、空き領域110の全部が証票画像表示領域121である例を示しているが、空き領域110の一部が証票画像表示領域121であってもよい。   Furthermore, a voucher image display area 121 (described later) in which a voucher image is displayed is provided inside the empty area 110. In FIG. 1 and the like, a stamp is illustrated as a voucher, and a voucher image representing a predetermined type of stamp is drawn in the voucher image display area 121. In the example of FIG. 1 and the like, an example in which the entire empty area 110 is the voucher image display area 121 is shown, but a part of the empty area 110 may be the voucher image display area 121.

情報コード100に記録する内容は、例えば、図3のような構成をなしており、データ配列の先頭部分にヘッダデータ(額縁QR用ヘッダー)が設定され、ヘッダデータの後に入力データ(解読対象データ)が続くようになっている。図3の例では、入力データ(解読対象データ)については、例えば公知の方法で圧縮し、データワード(データコードワード)に変換しているが、このような圧縮を行わなくてもよい。なお、情報コード100で用いるヘッダデータは、以降の説明では、「額縁QR用ヘッダー」とも称する。また、本明細書では、このようなヘッダデータ及び入力データ(解読対象データ)のデータワード(データコードワード)を記録する領域、及び上述のフォーマット情報を記録する領域が「データ記録領域」に相当する。また、図3の例では、ヘッダデータ(額縁QR用ヘッダー)として、後述する他種コード120(情報コード100を解読するために用いるコード種別であり、配置変換表(図5)によって情報コード100と対応付けられたコード)の種別(型番)を特定し得る情報(図3では、Ver.番号と例示)や、空き領域内の形式を特定し得る識別情報が記録されている。なお、図3の例では、ヘッダデータとして、他種コードの種類(Ver.番号)に加え、空き領域110の形式が図1、図5、図8等に示す画像形式(証票画像表示領域を設けた形式)であることを特定する情報(第1情報)と、証票画像表示領域の位置(画像領域位置)を特定し得る情報(第2情報に相当する「画像領域位置情報」)とが記録されている。このうち、空き領域110の形式が画像形式(証票画像表示領域を設けた形式)であることを特定する情報(第1情報)は、証票画像表示領域の存在を示す「識別情報」の一例に相当する。また、証票画像表示領域の位置(画像領域位置)を特定し得る情報(第2情報)は、コード領域内での証票画像表示領域の位置を示す「位置データ」の一例に相当する。   The content recorded in the information code 100 has, for example, a configuration as shown in FIG. 3, header data (frame QR header) is set at the beginning of the data array, and input data (decryption target data) after the header data. ) Continues. In the example of FIG. 3, input data (data to be decoded) is compressed by, for example, a known method and converted into a data word (data code word). However, such compression may not be performed. The header data used in the information code 100 is also referred to as a “frame QR header” in the following description. Further, in this specification, such an area for recording data words (data code words) of header data and input data (data to be decoded) and an area for recording the above-described format information correspond to “data recording areas”. To do. Further, in the example of FIG. 3, as header data (frame QR header), another type code 120 (a code type used for decoding the information code 100, which will be described later), and the information code 100 according to the arrangement conversion table (FIG. 5). Information (identified as Ver. Number in FIG. 3) and identification information that can specify the format in the empty area are recorded. In the example of FIG. 3, as the header data, in addition to the type of other code (Ver. Number), the format of the empty area 110 is the image format (certificate image display area shown in FIG. 1, FIG. 5, FIG. 8). Information (first information) for specifying that the format is provided) and information (“image area position information corresponding to the second information”) for specifying the position of the voucher image display area (image area position). It is recorded. Among these, the information (first information) specifying that the format of the empty area 110 is an image format (a format in which a voucher image display area is provided) is an example of “identification information” indicating the existence of the voucher image display area. Equivalent to. The information (second information) that can specify the position of the voucher image display area (image area position) corresponds to an example of “position data” indicating the position of the voucher image display area in the code area.

図3、図5の例では、証票画像表示領域121の列位置及び行位置を特定し得る情報が画像領域位置情報(位置データ)として記録されている。より具体的には、図5に示すような矩形状に構成される情報コード100を複数行且つ複数列に格子状に分割したときの証票画像表示領域121の左上の行位置及び列位置の組み合わせと、証票画像表示領域121の右下の行位置及び列位置の組み合わせとが画像領域位置情報(位置データ)として記録されている。なお、ここでは、証票画像表示領域121の左上の行位置及び列位置の組み合わせと、証票画像表示領域121の右下の行位置及び列位置の組み合わせを画像領域位置情報(位置データ)としているが、証票画像表示領域121の四隅の各位置における行位置及び列位置の組み合わせを画像領域位置情報(位置データ)としてもよい。また、図5のように情報コード100を格子状に分割したときの各行及び各列の幅は、それぞれ単一のセルの行方向の幅及び列方向の幅に相当している。   In the example of FIGS. 3 and 5, information that can specify the column position and row position of the voucher image display area 121 is recorded as image area position information (position data). More specifically, the combination of the row position and column position in the upper left of the voucher image display area 121 when the information code 100 configured in a rectangular shape as shown in FIG. 5 is divided into a plurality of rows and columns in a grid pattern. And the combination of the lower right row position and column position of the voucher image display area 121 are recorded as image area position information (position data). Here, the combination of the upper left row position and column position of the voucher image display area 121 and the lower right row position and column position of the voucher image display area 121 are used as image area position information (position data). The combination of the row position and the column position at each of the four corner positions of the voucher image display area 121 may be used as the image area position information (position data). Further, the width of each row and each column when the information code 100 is divided in a lattice shape as shown in FIG. 5 corresponds to the width in the row direction and the width in the column direction of a single cell, respectively.

そして、入力データ(解読対象データであるデータワード)の後には誤り訂正符号となる誤り訂正コードワード(ECCワード)が続いている。情報コード100では、この誤り訂正符号を記録する領域が誤り訂正符号記録領域となる。なお、データワード(図3の例ではヘッダデータ及び入力データ(解読対象データ))に基づいて誤り訂正符号(誤り訂正コードワード)を生成する方法は、公知の二次元コード(QRコード等)の規格で定められた方法などを用いることができる。例えば、データワード(データコードワード)に基づいて誤り訂正コードワードを生成する方法として、JISX0510:2004に規定された誤り訂正コード語の生成方法(JISX0510:2004、8.5誤り訂正)などを用いることができる。なお、誤り訂正コードワードの生成方法はこれに限られず、公知の様々な方法を用いることができる。   An error correction code word (ECC word) that becomes an error correction code follows the input data (data word that is data to be decoded). In the information code 100, an area for recording the error correction code is an error correction code recording area. Note that a method for generating an error correction code (error correction code word) based on a data word (in the example of FIG. 3, header data and input data (data to be decoded)) is a known two-dimensional code (such as a QR code). A method defined in the standard can be used. For example, as a method for generating an error correction codeword based on a data word (data codeword), an error correction codeword generation method (JISX0510: 2004, 8.5 error correction) defined in JISX0510: 2004 is used. be able to. Note that the method of generating the error correction codeword is not limited to this, and various known methods can be used.

また、情報コード100では、解読対象データを表現する各データワード(データコードワード)や誤り訂正コードワードが予め定められた配置位置情報に基づいてコード領域内に配置されている。本構成では、図5のように、情報コード100のコード領域内において予め各コードワードの配置候補位置が定められており、各配置候補位置にそれぞれ番号(アドレス)が割り当てられている。そして、配置位置情報は、図3に示す記録内容を構成する各コードワードをそれぞれどの配置候補位置に配置すべきかを特定する情報となっている。なお、図5右図の例では、1〜25番の配置候補位置を概略的に例示しており、各配置候補位置では、先頭と最後のビット部分に番号を付して明示している。また、図5右図では、26番以降の配置候補位置は省略している。   Further, in the information code 100, each data word (data code word) representing the data to be decoded (data code word) and an error correction code word are arranged in the code area based on predetermined arrangement position information. In this configuration, as shown in FIG. 5, the arrangement candidate positions of the respective code words are determined in advance within the code area of the information code 100, and a number (address) is assigned to each arrangement candidate position. The arrangement position information is information for specifying which arrangement candidate position each code word constituting the recording contents shown in FIG. 3 should be arranged. In the example of the right diagram in FIG. 5, the arrangement candidate positions Nos. 1 to 25 are schematically illustrated. In each arrangement candidate position, the first and last bit portions are numbered and clearly shown. In the right diagram of FIG. 5, the arrangement candidate positions after the 26th are omitted.

具体的には、他種コード120(公知のQRコード)の型番(図3に示すヘッダデータで特定される他種コード120の型番)では、各順番のコードワードを他種コード120内のどの位置に配置すべきかが公知規格等により予め定められており、他種コード120を解読する場合にはこのように定められた配置に基づいて各順番のコードワードを解読する。例えば、図5左図に示す他種コード120の例では、0番目のコードワードを右下に配置し、1番目のコードワードをその上に配置し、2番目のコードワードをその上に配置するといった具合に各コードワードの配置位置が予め決められている。従って、この他種コード120を解読する場合には、このように決められた配置に基づいて0番目のコードワード、1番目のコードワード、2番目のコードワード、3番目のコードワード・・・といった具合に順番に解読することになる。   Specifically, in the model number of the other type code 120 (known QR code) (the model number of the other type code 120 specified by the header data shown in FIG. 3), the code word in each order is included in the other type code 120. Whether or not to be arranged at a position is determined in advance by a known standard or the like, and when the other-type code 120 is decoded, the code words in each order are decoded based on the arrangement determined in this way. For example, in the example of the other type code 120 shown in the left diagram of FIG. 5, the 0th code word is arranged at the lower right, the first code word is arranged thereon, and the second code word is arranged thereon. The arrangement position of each code word is determined in advance. Therefore, when decoding this other type code 120, the 0th code word, the 1st code word, the 2nd code word, the 3rd code word, etc. based on the arrangement determined in this way. It will be deciphered in order.

一方、図5に示す配置位置情報(配置変換表)では、このように他種コード120で予め定められた各配置位置(各順番のコードワードの配置位置)の番号を、情報コード100において予め定められた候補位置(各コードワードの配置候補位置)の番号にそれぞれ対応付けている。具体的には、「他種コード120における1番目のコードワードの配置位置が情報コード100の1番目の配置候補位置に相当」、「他種コード120における2番目のコードワードの配置位置が情報コード100の2番目の配置候補位置に相当」、「他種コード120における3番目のコードワードの配置位置が情報コード100の3番目の配置候補位置に相当」といった情報が、例えばテーブルデータなどとしてそれぞれ記録されており、他種コード120における各番号のコードワードの配置位置を、情報コード100の各配置候補位置にそれぞれ対応付けている。このように構成されているため、情報コード100を解読する場合には、コード領域内の各配置候補位置のコードワード(各アドレスのコードワード)を配置位置情報(配置変換表)で対応付けられた他種コード120の各配置位置にそれぞれ配置し直し、このように配置し直された他種コード120を公知の方法で解読すれば良い。例えば、図5下図に示す配置変換表を用いて情報コード100の解読を行う場合、情報コード100の1番目の配置候補位置のコードワードを他種コード120における1番目のコードワードの配置位置に配置し、情報コード100の2番目の配置候補位置のコードワードを他種コード120における2番目のコードワードの配置位置に配置し、情報コード100のN番目の配置候補位置のコードワードを他種コード120において当該N番目の配置候補位置に対応付けられているM番目のコードワードの配置位置に配置するといった具合にそれぞれ配置し直した上で、このように配置し直された他種コード(QRコード)を公知の方法で解読すればよい。なお、上述の配置位置情報(配置変換表)については、情報コード100を生成する管理装置2(証票生成装置)及び情報コード100を読み取る証票読取装置10に共通のデータ(共通の配置変換表)がそれぞれ設けられていることが望ましい。   On the other hand, in the arrangement position information (arrangement conversion table) shown in FIG. 5, the numbers of the arrangement positions (arrangement positions of the code words in each order) determined in advance by the other-type code 120 in this way are pre- Each number is associated with a number of a determined candidate position (position candidate position of each code word). Specifically, “the arrangement position of the first code word in the other type code 120 corresponds to the first arrangement candidate position of the information code 100”, “the arrangement position of the second code word in the other type code 120 is information. Information such as “corresponding to the second arrangement candidate position of the code 100” and “the arrangement position of the third code word in the other type code 120 corresponds to the third arrangement candidate position of the information code 100” is, for example, table data Each code word is recorded, and the arrangement position of each numbered code word in the other type code 120 is associated with each arrangement candidate position of the information code 100. Thus, when the information code 100 is decoded, the code word (code word at each address) in each placement candidate position in the code area is associated with the placement position information (placement conversion table). The other-type code 120 may be rearranged at each arrangement position, and the other-type code 120 rearranged in this way may be decoded by a known method. For example, when the information code 100 is decoded using the arrangement conversion table shown in the lower diagram of FIG. 5, the code word at the first arrangement candidate position of the information code 100 is changed to the arrangement position of the first code word in the other type code 120. The code word at the second placement candidate position of the information code 100 is placed at the placement position of the second code word in the other code 120, and the code word at the Nth placement candidate position of the information code 100 is placed in the other kind. The code 120 is rearranged in such a manner as to be arranged at the arrangement position of the M-th code word associated with the N-th arrangement candidate position, and the other type code (re-arranged in this way) QR code) may be decoded by a known method. As for the above-described arrangement position information (arrangement conversion table), data common to the management apparatus 2 (certificate generation apparatus) that generates the information code 100 and the voucher reading apparatus 10 that reads the information code 100 (common arrangement conversion table). It is desirable that each be provided.

(証票の生成)
ここで、証票利用システム1の運用例について説明する。
本構成の証票利用システム1では、例えば、図9のような流れで運用がなされる。この例では、例えば、図9(A)のような流れで証票Pが形成され、その形成された証票Pをユーザが使用する場合、図9(B)のような流れで認証がなされる。
(Generation of voucher)
Here, an operation example of the voucher utilization system 1 will be described.
In the voucher utilization system 1 having this configuration, for example, the operation is performed according to the flow shown in FIG. In this example, for example, when the voucher P is formed according to the flow shown in FIG. 9A and the user uses the formed voucher P, the authentication is performed according to the flow shown in FIG. 9B.

図9(A)では、証票を発行する上での基本的な流れを例示している。この例では、まず、ユーザが自宅や勤務先等に配置されるコンピュータ、或いは携帯型のコンピュータ(携帯電話機、スマートフォン、携帯型タブレット端末、その他の携帯型コンピュータ)などを操作して証票の購入要求を行い、そのコンピュータから管理装置2に対して要求情報を送信する(S101)。この要求情報は、例えば、証票の種類(例えば、切手の金額等)を指定する情報を含んでいる。そして、管理装置2では、この要求情報に従って証票Pの画像データ(印刷データ)を生成する(S110)。なお、この生成処理の詳細は後述する。そして、S110で生成された証票Pの画像データ(印刷データ)を要求元のコンピュータ(ユーザが要求処理を行ったコンピュータ)に送信し(S111)、そのコンピュータによって証票Pの画像データ(印刷データ)を印刷することで、証票Pを形成している(S102)。なお、図9(A)の例では、ユーザ側で証票Pの画像データ(印刷データ)を印刷する例を示しているが、管理装置2にて証票Pの画像データ(印刷データ)を印刷してもよい。また、図9(A)の例では、ユーザ側のコンピュータから要求情報を入力しているが、管理装置2の操作部から同様の要求情報を入力してもよい。   FIG. 9A illustrates a basic flow for issuing a voucher. In this example, first, a user purchases a voucher by operating a computer placed at home or work, or a portable computer (mobile phone, smartphone, portable tablet terminal, or other portable computer). The request information is transmitted from the computer to the management apparatus 2 (S101). This request information includes, for example, information specifying the type of voucher (for example, the amount of stamp). Then, the management device 2 generates image data (print data) of the voucher P according to the request information (S110). Details of this generation process will be described later. Then, the image data (print data) of the voucher P generated in S110 is transmitted to the requesting computer (the computer on which the user performed the request process) (S111), and the image data (print data) of the voucher P is transmitted by the computer. Is printed to form the certificate P (S102). 9A shows an example in which the image data (print data) of the certificate P is printed on the user side, but the image data (print data) of the certificate P is printed by the management apparatus 2. May be. In the example of FIG. 9A, the request information is input from the user computer, but similar request information may be input from the operation unit of the management apparatus 2.

ここで、S110での生成処理、特に、情報コード100を生成する情報コード生成処理について詳述する。以下では、図5のように他種コード120がQRコード(登録商標)であり、情報コード100がQRコードと同様の特定パターンを有する場合を例に挙げて説明する。なお、この例では、空き領域110を有する情報コード100を「額縁QR」とも称する。   Here, the generation process in S110, in particular, the information code generation process for generating the information code 100 will be described in detail. In the following, a case where the other type code 120 is a QR code (registered trademark) and the information code 100 has a specific pattern similar to the QR code as shown in FIG. 5 will be described as an example. In this example, the information code 100 having the empty area 110 is also referred to as “frame QR”.

図10の情報コード生成処理は、管理装置2(証票生成装置)によって行われる処理であり、例えば、操作部4での所定操作によって実行開始される。この処理では、まず、コード化するデータ(解読対象データ)、属性データ、コード種別データ(情報コード100を生成するか、一般的な二次元コード(例えば一般的なQRコード)を生成するかを特定するデータ)、画像データ(証票画像などのデータ)等を取得する(S1)。なお、S1でのデータの取得は、予め管理装置2に記憶されたデータを取得してもよく、管理装置2の外部から入力されたデータを取得してもよく、その両方であってもよい。例えば、上述したように、S101にて要求処理が行われ、管理装置2に対して要求情報が入力された場合には、この要求情報をS1の処理で取得する。   The information code generation process of FIG. 10 is a process performed by the management apparatus 2 (certificate generation apparatus), and is started by a predetermined operation on the operation unit 4, for example. In this process, first, whether to generate data to be encoded (data to be decoded), attribute data, code type data (information code 100 or general two-dimensional code (for example, general QR code)) is determined. Data to be specified), image data (data such as a voucher image), and the like are acquired (S1). The acquisition of data in S1 may acquire data stored in the management device 2 in advance, may acquire data input from the outside of the management device 2, or both. . For example, as described above, when the request process is performed in S101 and request information is input to the management apparatus 2, the request information is acquired in the process of S1.

S1でデータを取得した後には、その取得したデータを圧縮する方法を公知の方法で定め(S2)、入力データを圧縮したデータ(解読対象データ)を複数のデータワード(データコードワード)で表現する(S3)。そして、S3の後には、S1で取得されたコード種別データが、空き領域110を有する情報コード100の種別(額縁QR)であるか否かを判断する。S1で取得されたコード種別データが、空き領域110を有する情報コード100の種別(額縁QR)である場合には、S4にてYesに進み、空き領域110を有する情報コード100の種別(額縁QR)で用いられる特有のヘッダデータ(上述)を生成し、図3のように複数のデータワードを含んだデータ配列の先頭にセットする(S5)。図3のヘッダデータには、上述したように、図5右図に示す他種コード120の種別(型番)を特定し得る情報(バージョン番号情報等)と、空き領域110の形式が所定の画像形式(証票画像表示領域を設けた形式)であることを特定する情報(第1情報)と、コード領域内での証票画像表示領域の位置を特定し得る情報(第2情報に相当する「画像領域位置情報」)とが記録されることになる。一方、S1で取得されたコード種別データが、空き領域110を有する情報コード100の種別(額縁QR)でない場合(一般的な二次元コードを選択するデータ(例えば、モデル1又はモデル2を選択するデータ)である場合)には、S4にてNoに進む。   After acquiring the data in S1, a method for compressing the acquired data is determined by a known method (S2), and the compressed data (decoded data) is expressed by a plurality of data words (data code words). (S3). Then, after S3, it is determined whether or not the code type data acquired in S1 is the type (frame QR) of the information code 100 having the free space 110. If the code type data acquired in S1 is the type of the information code 100 having the free area 110 (frame QR), the process proceeds to Yes in S4, and the type of the information code 100 having the free area 110 (frame QR). ) Is generated and set at the head of the data array including a plurality of data words as shown in FIG. 3 (S5). In the header data of FIG. 3, as described above, information (version number information, etc.) that can specify the type (model number) of the other type code 120 shown in the right diagram of FIG. Information (first information) for specifying the format (form having a voucher image display area) and information for specifying the position of the voucher image display area in the code area (“image corresponding to second information” Area position information ") is recorded. On the other hand, when the code type data acquired in S1 is not the type (frame QR) of the information code 100 having the free area 110 (data for selecting a general two-dimensional code (for example, model 1 or model 2 is selected). If (data), the process proceeds to No in S4.

S4でNoに進む場合、S3で生成されたデータワード(データコードワード)の構成に基づいて公知の方法で誤り訂正符号を生成し、この誤り訂正符号を表現する複数の誤り訂正ワード(誤り訂正コードワード)を生成する(S6)。一方、S4からS5に進む場合、S3、S5で生成された最終的なデータワード(ヘッダデータ及び入力データを表現する複数のデータコードワード)の構成に基づいて公知の方法で誤り訂正符号を生成し、この誤り訂正符号を表現する複数の誤り訂正ワード(誤り訂正コードワード)を生成する(S6)。   When the process proceeds to No in S4, an error correction code is generated by a known method based on the configuration of the data word (data code word) generated in S3, and a plurality of error correction words (error correction) representing the error correction code are generated. Codeword) is generated (S6). On the other hand, when proceeding from S4 to S5, an error correction code is generated by a known method based on the configuration of the final data word (a plurality of data code words representing header data and input data) generated in S3 and S5. Then, a plurality of error correction words (error correction code words) representing the error correction code are generated (S6).

S6の後には、S1で取得されたコード種別データが、空き領域110を有する情報コード100の種別(額縁QR)であるか否かを判断し(S7)、S1で取得されたコード種別データが、空き領域110を有する情報コード100の種別(額縁QR)でない場合には、S7にてNoに進み、公知の方法で二次元コード(例えばQRコード)を生成することになる。S7でNoに進む場合、S3で生成されたデータワード(データコードワード)及びS6で生成された誤り訂正ワード(誤り訂正コードワード)を格納しうるサイズの二次元コードの型番(この例では、規格化された公知のQRコードの複数の型番において、S3で生成されたデータワード及びS6で生成された誤り訂正ワードを格納しうるサイズの型番)を決定し、当該型番で予め定められた配置パターンに従い、S3で生成されたデータワード及びS6で生成された誤り訂正ワードを配置する(S9)。   After S6, it is determined whether or not the code type data acquired in S1 is the type (frame QR) of the information code 100 having the free area 110 (S7), and the code type data acquired in S1 is If it is not the type (frame QR) of the information code 100 having the free area 110, the process proceeds to No in S7, and a two-dimensional code (for example, QR code) is generated by a known method. When the process proceeds to No in S7, the model number of the two-dimensional code having a size capable of storing the data word (data code word) generated in S3 and the error correction word (error correction code word) generated in S6 (in this example, In a plurality of standardized known QR code model numbers, a model number of a size that can store the data word generated in S3 and the error correction word generated in S6) is determined, and the arrangement predetermined by the model number is determined. According to the pattern, the data word generated in S3 and the error correction word generated in S6 are arranged (S9).

一方、S1で取得されたコード種別データが、空き領域110を有する情報コード100の種別(額縁QR)である場合には、S7にてYesに進み、S3、S5で生成されたデータワード(データコードワード)と、S6で生成された誤り訂正ワード(誤り訂正コードワード)と、空き領域と、を格納しうる情報コード100の型番を決定する(S10)。なお、空き領域のサイズは、予め定められた一定サイズであってもよく、S10の前段階でユーザが入力などによって指定してもよい。また、空き領域のサイズは、行数及び列数で特定してもよく、何ワード分に相当するか、あるいは何セル分に相当するか等の情報によって特定してもよい。図5、図10の例では、例えば情報コード100の種別で予め定められた複数の型番(サイズ)において、S3、S5で生成されたデータワード(データコードワード)、S6で生成された誤り訂正ワード(誤り訂正コードワード)、及び空き領域を格納しうるサイズの型番を決定することになる。なお、情報コード100の種別で複数の型番を使用可能とする場合、各型番毎に、行数及び列数、特定パターンの形状及び配置、フォーマットデータの配置、各コードワードの配置候補位置をそれぞれ定めておけばよい。また、いずれの型番でも、図5右図のように外周側から順番に各コードワードの配置候補位置を定めるようにし(例えば、外周側から内側に渦巻き状に配置候補位置を順番に設定し)、番号が若い配置候補位置ほど外側とするように各コードワードの配置候補位置を定め、用意された配置候補位置の内、コードワードが配置されない部分(即ち、使用されない部分)については、空き領域として用いるようにすれば、中央部により広い空き領域を確保し易くなる。また、S3、S5で生成されたデータワード(データコードワード)、S6で生成された誤り訂正ワード(誤り訂正コードワード)、及び空き領域を格納しうるサイズの型番が複数存在する場合には、その中から一番小さい型番(サイズ)を決定するようにしてもよく、ユーザがその中からいずれかの型番(サイズ)を指定できるようにしてもよい。そして、情報コード100を生成する際には、このように決定された型番において予め定められたサイズ(行数及び列数)、特定パターンの配置、コードワードの各配置候補位置を用いると共に、具体的な各コードワードの配置位置は、上述の配置変換表に従って決定することになる。なお、以下では、S10において図5右図のような型番が決定された例について具体的に説明する。   On the other hand, if the code type data acquired in S1 is the type (frame QR) of the information code 100 having the free area 110, the process proceeds to Yes in S7, and the data word (data) generated in S3 and S5 (Code word), the error correction word (error correction code word) generated in S6, and the empty area, the model number of the information code 100 that can be stored is determined (S10). Note that the size of the empty area may be a predetermined fixed size, or may be designated by an input or the like by the user before S10. Further, the size of the empty area may be specified by the number of rows and the number of columns, or may be specified by information such as how many words it corresponds to, or how many cells it corresponds. In the example of FIGS. 5 and 10, for example, in a plurality of model numbers (sizes) determined in advance by the type of the information code 100, the data word (data code word) generated in S3 and S5 and the error correction generated in S6 A model number of a size that can store a word (error correction code word) and an empty area is determined. When a plurality of model numbers can be used in the type of the information code 100, the number of rows and the number of columns, the shape and layout of a specific pattern, the layout of format data, and the layout candidate position of each code word are provided for each model number. It should be determined. Also, in any model number, the arrangement candidate positions of the respective code words are determined in order from the outer circumference side as shown in the right diagram of FIG. 5 (for example, the arrangement candidate positions are set in a spiral shape from the outer circumference side to the inside). The placement candidate position of each code word is determined so that the placement candidate position with a smaller number is located outside, and a portion where the code word is not placed (that is, a portion that is not used) among the prepared placement candidate positions. If it uses, it becomes easy to ensure a large empty area | region by the center part. In addition, when there are a plurality of model numbers having a size capable of storing the data word (data code word) generated in S3 and S5, the error correction word (error correction code word) generated in S6, and the empty area, The smallest model number (size) may be determined from among them, or the user may be able to specify any model number (size) from among them. When the information code 100 is generated, a predetermined size (number of rows and columns), a specific pattern arrangement, and each arrangement position position of the codeword are used in the model number thus determined. The arrangement position of each code word is determined according to the above-described arrangement conversion table. In the following, an example in which the model number as shown in the right diagram of FIG. 5 is determined in S10 will be specifically described.

S10の後には、S3、S5で生成されたデータワード(データコードワード)及びS6で生成された誤り訂正ワード(誤り訂正コードワード)を上述の配置位置情報(配置変換表)に基づいて配置することになる。管理装置2(証票生成装置)では、上述の配置位置情報(配置変換表)が記憶部5に記憶されており、この配置変換表では、上述したように他種コード120で定められた各配置位置(各順番のコードワードの配置位置)を、情報コード100において予め定められた候補位置(各コードワードの配置候補位置)にそれぞれ対応付けている。S11の処理では、記録すべきコードワード(S3、S5で生成されたデータワード(データコードワード)及びS6で生成された誤り訂正ワード(誤り訂正コードワード))を、図4、図5左図で示す他種コード120(情報コード100よりもサイズが小さく、且つS3、S5で生成されたデータワード及びS6で生成された誤り訂正ワードを格納し得るサイズの二次元コード)で表現するときの各コードワード(各順番のコードワード)の配置位置を特定した上で、それら各順番のコードワードを、配置位置情報(配置変換表)によって各順番のコードワードの配置位置に対応付けられている情報コード100内の各配置候補位置に配置する。例えば、図5の配置位置情報(配置変換表)では、他種コード120での1番目のコードワードの配置位置と、情報コード100の1番の配置候補位置とが対応付けられているため、記録すべきコードワード(S3、S5で生成されたデータワード及びS6で生成された誤り訂正ワード)の内の1番目のコードワードについては情報コード100内の1番の配置候補位置に配置する。また、他種コード120での2番目のコードワードの配置位置と、情報コード100の2番の配置候補位置とが対応付けられているため、記録すべきコードワードの内の2番目のコードワードについては情報コード100内の2番の配置候補位置に配置する。このように、記録すべきコードワードにおいてN番目のコードワードを配置する他種コード120での配置位置(N番目のコードワードの配置位置)と、情報コード100のM番の配置候補位置とが対応付けられていれば、記録すべきコードワードの内のN番目のコードワードについては情報コード100内のM番の配置候補位置に配置することになる。   After S10, the data word (data code word) generated in S3 and S5 and the error correction word (error correction code word) generated in S6 are arranged based on the arrangement position information (arrangement conversion table) described above. It will be. In the management device 2 (certificate generating device), the above-described arrangement position information (arrangement conversion table) is stored in the storage unit 5, and in the arrangement conversion table, each arrangement defined by the other type code 120 as described above. The position (arrangement position of each code word) is associated with a predetermined candidate position (arrangement candidate position of each code word) in the information code 100, respectively. In the process of S11, the code words to be recorded (the data words (data code words) generated in S3 and S5 and the error correction words (error correction code words) generated in S6) are shown in the left of FIGS. Is represented by another code 120 (a two-dimensional code having a size smaller than that of the information code 100 and a size capable of storing the data word generated in S3 and S5 and the error correction word generated in S6). After specifying the arrangement position of each code word (code word in each order), the code word in each order is associated with the arrangement position of the code word in each order by arrangement position information (arrangement conversion table). It arrange | positions in each arrangement | positioning candidate position in the information code 100. FIG. For example, in the arrangement position information (arrangement conversion table) in FIG. 5, the arrangement position of the first code word in the other type code 120 is associated with the first arrangement candidate position of the information code 100. The first code word of the code words to be recorded (the data word generated in S3 and S5 and the error correction word generated in S6) is arranged at the first arrangement candidate position in the information code 100. In addition, since the second code word arrangement position in the other-type code 120 and the second arrangement candidate position of the information code 100 are associated with each other, the second code word in the code words to be recorded Is placed at the second candidate position in the information code 100. In this way, the arrangement position (an arrangement position of the Nth code word) in the other type code 120 in which the Nth code word is arranged in the codeword to be recorded and the Mth arrangement candidate position of the information code 100 are as follows. If they are associated, the Nth codeword among the codewords to be recorded is arranged at the Mth arrangement candidate position in the information code 100.

つまり、S3、S5で生成されたデータワード及びS6で生成された誤り訂正ワードだけなら、情報コード100よりも小サイズの他種コード120(公知のQRコードとして構成されたもの)で表現できるが、S3、S5で生成されたデータワード、S6で生成された誤り訂正ワード、及び空き領域110を格納する場合には、これよりも大きいサイズの情報コード100によって表現する必要がある。そこで、本実施形態では、S3、S5で生成されたデータワード、S6で生成された誤り訂正ワード、及び空き領域110を、他種コード120よりも大きいサイズの情報コード100によって表し、S3、S5で生成されたデータワード及びS6で生成された誤り訂正ワードを他種コード120(公知のQRコード)で表現した場合のコードワードの各配置と、これよりも大きいサイズの情報コード100に格納する場合のコードワードの各配置との対応関係を、予め定められた配置変換表によって特定できるようにしている。   That is, only the data word generated in S3 and S5 and the error correction word generated in S6 can be expressed by another type code 120 (configured as a known QR code) smaller than the information code 100. When the data word generated in S3, S5, the error correction word generated in S6, and the empty area 110 are stored, it must be expressed by the information code 100 having a larger size. Therefore, in the present embodiment, the data word generated in S3 and S5, the error correction word generated in S6, and the empty area 110 are represented by the information code 100 having a size larger than the other type code 120, and S3 and S5. The data word generated in step S6 and the error correction word generated in step S6 are stored in the arrangement of the code words when expressed by another type code 120 (known QR code) and the information code 100 having a size larger than this. In this case, the correspondence relationship with each arrangement of codewords can be specified by a predetermined arrangement conversion table.

なお、本構成では、図5のような「配置変換表」が「解読対象データを表現する複数のデータワードをコード領域に配置する際の各配置位置を特定する配置位置情報」の一例に相当しており、この配置変換表(配置位置情報)は、解読対象データを複数のデータワードで表現したときの各順番のデータワードと、各順番のデータワードのコード領域内での各配置位置とを対応付けて定める情報として構成されている。また、記憶部5が「配置位置情報記録部」の一例に相当し、このような配置変換表のデータ(配置位置情報)を記録するように機能する。   In this configuration, the “arrangement conversion table” as shown in FIG. 5 corresponds to an example of “arrangement position information for specifying each arrangement position when a plurality of data words expressing the data to be decoded are arranged in the code area”. The arrangement conversion table (arrangement position information) includes data words in each order when the data to be decoded is expressed by a plurality of data words, and each arrangement position in the code area of the data words in each order. Are configured as information determined in association with each other. The storage unit 5 corresponds to an example of an “arrangement position information recording unit” and functions to record data (arrangement position information) of such an arrangement conversion table.

S9又はS11の後には、S9又はS11で配置場所が決定されたコードワードに対してかけるべきマスクパターンを公知の所定方法(例えばQRコードで用いられる公知方法)で決定し、その決定されたマスクパターンをS9又はS11で配置場所が決定されたコードワードに反映するように公知のマスク処理方法でマスクをかける(S12)。そして、S12で設定したマスクパターンの情報(マスク番号)及び誤り訂正レベルの情報に基づいてチェックデジットを算出し、図6のように誤り訂正レベル、マスク番号、チェックデジットを含んだフォーマット情報を生成する(S13)。なお、フォーマット情報として記録するマスク番号や誤り訂正レベルなどのデータは、S1で入力できるようにしてもよい。   After S9 or S11, a mask pattern to be applied to the code word whose placement location has been determined in S9 or S11 is determined by a known predetermined method (for example, a known method used in QR code), and the determined mask. Masking is performed by a known mask processing method so that the pattern is reflected in the code word whose location is determined in S9 or S11 (S12). Then, the check digit is calculated based on the mask pattern information (mask number) and error correction level information set in S12, and the format information including the error correction level, mask number, and check digit is generated as shown in FIG. (S13). Note that data such as a mask number and an error correction level to be recorded as format information may be input in S1.

そして、S1で取得されたコード種別データが、空き領域110を有する情報コード100の種別(額縁QR)である場合には、S14にてYesに進み、S13で生成されたフォーマット情報に、上述の特定マスク(額縁QRマスク)を反映するようにマスク処理を行う(図6参照)。一方、S1で取得されたコード種別データが、空き領域110を有する情報コード100の種別(額縁QR)でない場合には、S14にてNoに進み、S16で設定するマスクパターンとは異なるマスクパターンのマスク(モデル1のマスク又はモデル2のマスク)をセットする。S15又はS16によりフォーマット情報に対してマスクをかけた後には、そのマスク処理後のフォーマット情報をコード領域内の所定位置105に配置する(S17)。   If the code type data acquired in S1 is the type (frame QR) of the information code 100 having the free area 110, the process proceeds to Yes in S14, and the format information generated in S13 includes the above-described format information. Mask processing is performed to reflect the specific mask (frame QR mask) (see FIG. 6). On the other hand, if the code type data acquired in S1 is not the type (frame QR) of the information code 100 having the vacant area 110, the process proceeds to No in S14 and has a mask pattern different from the mask pattern set in S16. Set the mask (model 1 mask or model 2 mask). After masking the format information in S15 or S16, the format information after the mask processing is arranged at a predetermined position 105 in the code area (S17).

このようにして、特定パターン領域、データ記録領域、誤り訂正領域が構成された後には、空き領域110の構成要素を配置する(S18)。図3の例では、画像領域の位置がそれぞれ行位置及び列位置によって指定されているため、S18では、このように指定された位置に証票画像表示領域121の画像を配置する。証票画像表示領域121で表すべき絵柄等の画像(証票画像)は、管理装置2がS1で外部装置から受信した画像データで表されてもよく、管理装置2に予め記憶されていた画像データで表されてもよい。なお、S14でNoに進んでいる場合(空き領域を設ける形式ではない場合)には、S18の処理は省略される。   After the specific pattern area, the data recording area, and the error correction area are thus configured, the constituent elements of the empty area 110 are arranged (S18). In the example of FIG. 3, since the position of the image area is designated by the row position and the column position, in S18, the image of the voucher image display area 121 is arranged at the designated position. An image such as a pattern (voucher image) to be represented in the voucher image display area 121 may be represented by image data received from the external device by the management device 2 in S1, or image data stored in the management device 2 in advance. May be represented. In addition, when it progresses to No by S14 (when it is not the format which provides an empty area), the process of S18 is abbreviate | omitted.

本構成では、例えば、複数種類の証票画像が用意されており、S18で証票画像表示領域121の画像を配置する場合、S101(図9(A))で要求のあった種類の証票画像を配置する。例えば、切手の金額として、X1(円)、X2(円)、X3(円)、X4(円)、X5(円)、X6(円)・・・等の複数の金額が用意され、管理装置2において、各金額に対応する切手画像が予め用意されている場合、S101で切手の金額の指定が合った場合、この金額をS1(図10)で取得することになり、S18では、その金額に対応する切手画像を証票画像として証票画像表示領域121に配置することになる。   In this configuration, for example, a plurality of types of voucher images are prepared. When the image of the voucher image display area 121 is arranged in S18, the voucher image of the type requested in S101 (FIG. 9A) is arranged. To do. For example, a plurality of amounts such as X1 (yen), X2 (yen), X3 (yen), X4 (yen), X5 (yen), X6 (yen),... 2, when a stamp image corresponding to each amount is prepared in advance, if the amount of the stamp is specified in S101, this amount is acquired in S1 (FIG. 10). In S18, the amount of money is acquired. A stamp image corresponding to is placed in the voucher image display area 121 as a voucher image.

このようにして情報コード100又は他の二次元コードが生成された後には、そのコードを印刷又は送信する(S19)。このS19では、S18までの処理によって生成された情報コード100を印刷部8で印刷することで印刷がなされた媒体を証紙Pとして形成してもよく、S18までの処理によって生成された情報コード100の画像データを外部装置(例えば、S101で要求を行った要求元のコンピュータ等)に送信してもよい。   After the information code 100 or other two-dimensional code is generated in this way, the code is printed or transmitted (S19). In this S19, the printed medium may be formed as the certificate P by printing the information code 100 generated by the processing up to S18 by the printing unit 8, and the information code 100 generated by the processing up to S18. The image data may be transmitted to an external device (for example, the requesting computer that made the request in S101).

図10のS1〜S18の処理で情報コード100を生成する際には、情報コード(情報コード100又は他の二次元コード)の外側に、文字や図形などを付してもよい。この場合、S1〜S18までの処理で生成された情報コード(情報コード100又は他の二次元コード)の外側に文字や図形が付加された画像全体をS19にて印刷してもよく、電子データとして外部装置に送信してもよい。   When the information code 100 is generated by the processing of S1 to S18 in FIG. 10, characters, graphics, or the like may be added outside the information code (the information code 100 or other two-dimensional code). In this case, the entire image in which characters and figures are added outside the information code (information code 100 or other two-dimensional code) generated in the processes from S1 to S18 may be printed in S19, and the electronic data As an external device.

本構成では、例えば、S14でYesに進む場合に生成される情報コード100を紙等の媒体に形成したり電子データとしたもの、又は情報コード100の外側に他の画像(例えば、文字や図形等)を付加した内容を紙等の媒体に形成したり電子データとしたものが証票Pであり、管理装置2では、このような証票Pが印刷媒体や電子データとして生成されることになる。   In this configuration, for example, the information code 100 generated when proceeding to Yes in S14 is formed on a medium such as paper or electronic data, or another image (for example, a character or a graphic) outside the information code 100 Etc.) is formed on a medium such as paper or converted into electronic data, which is a voucher P. In the management apparatus 2, such voucher P is generated as a print medium or electronic data.

本構成では、管理装置2(証票生成装置)の制御部3が情報コード生成部の一例に相当し、所定のコード領域の内部に情報を表示する単位となるセルを配列した情報コード100を生成する機能を有する。具体的には、制御部3は、情報コード100を含んだ証票Pを生成する場合、コード領域の内部において、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類のセル102によってデータを記録するデータ記録領域と、証票画像が表示される証票画像表示領域121とを設けた構成で情報コード100を生成し、この情報コード100の画像、又はこの情報コード100と他の画像を組み合わせた画像を証票Pの画像として生成するように機能する。   In this configuration, the control unit 3 of the management device 2 (certificate generation device) corresponds to an example of an information code generation unit, and generates an information code 100 in which cells serving as units for displaying information are arranged inside a predetermined code area. It has the function to do. Specifically, when generating the voucher P including the information code 100, the control unit 3 includes a specific pattern area in which a specific pattern having a predetermined shape is arranged within the code area, and a plurality of types of cells. An information code 100 is generated with a configuration in which a data recording area for recording data by 102 and a voucher image display area 121 on which a voucher image is displayed, and an image of this information code 100 or this information code 100 and another It functions to generate an image obtained by combining images as an image of the voucher P.

なお、本構成では、管理装置2が図10の処理で証票Pを生成する毎に、生成される証票に固有に割り当てられた固有情報(例えば、固有ID)や生成される証票の種別を識別可能な種別情報の少なくともいずれか含む証票関連情報をデータ記録領域に記録しておくことが望ましい。そして、このような証票関連情報は、予め定められた暗号化キーを鍵とし、所定の暗号化アルゴリズムを用いた公知の暗号化方式で暗号化した状態でデータ記録領域に記録してもよい。なお、固有情報は、図10の処理で証票が発行される毎に、各証票固有のIDを発行すればよい。また、種別情報としては、例えば、S101(図9)で、証票の金額(例えば切手の金額)の指定が合った場合、その金額を特定する金額情報を種別情報として記録しておけばよい。そして、この場合、証票画像表示領域には、データ記録領域に記録される種別情報で特定される種別と対応付けられた証票画像を表示すればよい。   In this configuration, each time the management apparatus 2 generates a voucher P in the process of FIG. 10, the unique information (for example, the unique ID) uniquely assigned to the generated voucher and the type of voucher to be generated are identified. It is desirable to record the voucher related information including at least one of the possible type information in the data recording area. Such voucher-related information may be recorded in the data recording area in a state of being encrypted by a known encryption method using a predetermined encryption algorithm with a predetermined encryption key as a key. As the unique information, an ID unique to each voucher may be issued every time a voucher is issued in the process of FIG. Further, as the type information, for example, in S101 (FIG. 9), when the amount of the voucher (for example, the amount of the stamp) is specified, the amount information for specifying the amount may be recorded as the type information. In this case, the voucher image associated with the type specified by the type information recorded in the data recording area may be displayed in the voucher image display area.

(証票の認証)
次に、証票の認証の流れを説明する。
上述したように生成された証票Pは様々な場所で用いることができ、その使用時には、図9(B)のような流れで認証を行うことができる。例えば、証票Pが切手として用いられる場合、郵便局などで図9(B)のような認証処理を行うことができる。
(Certification of voucher)
Next, the flow of certificate authentication will be described.
The voucher P generated as described above can be used in various places, and at the time of use, authentication can be performed according to the flow as shown in FIG. For example, when the voucher P is used as a stamp, an authentication process as shown in FIG. 9B can be performed at a post office or the like.

図9(B)で示すように、証票Pを認証する場合、まず、証票Pを構成する情報コード100の読取処理を行う(S103)。この読取処理は、上述の読取装置10により、例えば、図11のような流れで行うことができる。   As shown in FIG. 9B, when authenticating the voucher P, first, the information code 100 constituting the voucher P is read (S103). This reading process can be performed by the above-described reading device 10 in the flow as shown in FIG. 11, for example.

図11の読取処理は、例えばユーザによって所定操作(例えば、操作スイッチ42の操作等)がなされたときに実行されるものであり、まず、受光センサ23の撮像エリアにある二次元コードを撮像して当該二次元コードの撮像画像を取得すると共に、その二次元コードの形を検出する。具体的には、位置検出パターン104の認識や二次元コードの外形の検出を公知の方法で試みる。例えば、QRコード(登録商標)で行われる、1:1:3:1:1の波形を検出する公知の方法等により位置検出パターン104を検出し、撮像された二次元コードの外形をQRコード(登録商標)で行われる公知の方法で検出する。このような外形検出処理を行った場合、情報コード100が撮像されている場合には、情報コード100の外形が検出されることになる。なお、外形検出方法は、特定パターンの形状や二次元コードの外形を検出し得る方法であれば他の方法であってもよい。
本構成では、受光センサ23が「撮像部」の一例に相当し、証票Pを撮像するように機能する。
The reading process in FIG. 11 is executed, for example, when a predetermined operation (for example, operation of the operation switch 42) is performed by the user. First, the two-dimensional code in the imaging area of the light receiving sensor 23 is imaged. Thus, the captured image of the two-dimensional code is acquired and the shape of the two-dimensional code is detected. Specifically, a known method is used to recognize the position detection pattern 104 and detect the outer shape of the two-dimensional code. For example, the position detection pattern 104 is detected by a known method for detecting a 1: 1: 3: 1: 1 waveform, which is performed with a QR code (registered trademark), and the outer shape of the imaged two-dimensional code is displayed as a QR code. Detection is performed by a known method performed by (registered trademark). When such an outer shape detection process is performed, when the information code 100 is captured, the outer shape of the information code 100 is detected. Note that the outer shape detection method may be another method as long as it can detect the shape of a specific pattern or the outer shape of a two-dimensional code.
In this configuration, the light receiving sensor 23 corresponds to an example of an “imaging unit” and functions to image the voucher P.

情報コード100の外形を検出し、情報コード100のコード領域を抽出できた場合には、情報コード100の所定位置105の情報(フォーマット情報)を解読し、撮像された情報コードの種別及びマスク訂正レベルを取得する(S40)。具体的には、例えば、上述したように所定位置105に記録された情報を上述の特定マスク(額縁QR用マスク)に基づいてマスク処理を解除して解読を試みる。上述の特定マスクのマスクを解除し得る方法でマスク処理を解除した時にチェックデジットが合う場合(即ち、所定位置105を解読したときの訂正レベルのデータとマスク番号のデータとに基づいて算出されたチェックデジットが、所定位置105に記録されたチェックデジットと合うような場合)には、情報コード100の種別(空き領域110を有する種別)であることを特定することでき、フォーマット情報に含まれる誤り訂正レベル及びマスク番号も取得できることとなる。このように特定のマスクに基づいてマスク処理を解除できたとき(即ち、情報コード100の種別(額縁QR)であることが認識できたとき)には、S41にてYesに進む。一方、図6に示すモデル1用のマスクやモデル2用のマスクなど、特定のマスク(額縁QR用マスク)以外の他のマスクによってマスク処理を解除できたときには、S41にてNoに進む。他のマスクによってマスク処理が解除できるときは、S40で撮像された二次元コードが公知のQRコード(登録商標)のケースであるため、S41でNoに進む場合は、公知の方法で当該QRコードを解読して解読結果を出力することになる。なお、図11では、S41でNoとなる場合の処理は省略して示している。   When the outer shape of the information code 100 is detected and the code area of the information code 100 can be extracted, the information (format information) at the predetermined position 105 of the information code 100 is decoded, and the type and mask correction of the captured information code A level is acquired (S40). Specifically, for example, as described above, the information recorded at the predetermined position 105 is attempted to be decrypted by canceling the mask processing based on the above-described specific mask (frame QR mask). When the check digit matches when the mask processing is canceled by the above-described method for canceling the mask of the specific mask (that is, calculated based on the correction level data and the mask number data when the predetermined position 105 is decoded) When the check digit matches the check digit recorded at the predetermined position 105), it is possible to specify the type of the information code 100 (the type having the free area 110), and an error included in the format information The correction level and mask number can also be acquired. When the mask process can be canceled based on the specific mask as described above (that is, when it is recognized that the information code 100 is the type (frame QR)), the process proceeds to Yes in S41. On the other hand, when the mask processing can be canceled by a mask other than the specific mask (frame QR mask) such as the model 1 mask and the model 2 mask shown in FIG. 6, the process proceeds to No in S41. When the mask process can be canceled by another mask, the two-dimensional code imaged in S40 is a case of a known QR code (registered trademark). Will be decoded and the decoding result will be output. In FIG. 11, the process in the case of No in S41 is omitted.

S41でYesに進む場合、まず、データ記録領域に記録されたデータを解読する(S42)。具体的には、S40で取得されたフォーマット情報に含まれるマスク番号に基づいてコード全体(具体的には、コードワードの領域)のマスクを解除する。そして、データワードの先頭に設けられたヘッダデータ(額縁QRヘッダー)に基づいて、元のコードサイズ(他種コード120の型番、形式)を特定し、図5と同様の配置変換表に従って、図5右図に示すような情報コード100から図5左図に示すような元のコード(他種コード120)の配置に戻す。具体的には、情報コード100の各配置候補位置のコードワード(データコードワード及び誤り訂正コードワード)を、配置変換表において各配置候補位置に対応付けられている他種コード120内での配置位置に配置し直す。このように配置変換することにより、情報コード100に配置されていたデータコードワードや誤り訂正コードワードを記録してなる他種コード120が得られることになる。そして、他種コード120は、公知のQRコードであるため、公知のQRコードと同様の方法でデータを解読する(即ち、誤り訂正コードワードに基づいて公知の方法で誤り訂正計算を実施すると共に、データコードワードを解読する)。   When the process proceeds to Yes in S41, first, the data recorded in the data recording area is decoded (S42). Specifically, based on the mask number included in the format information acquired in S40, the mask of the entire code (specifically, the area of the code word) is released. Then, based on the header data (frame QR header) provided at the beginning of the data word, the original code size (the model number and format of the other type code 120) is specified, and the diagram is converted according to the same layout conversion table as in FIG. 5 Return from the information code 100 as shown in the right figure to the original code (another code 120) as shown in the left figure. Specifically, the code word (data code word and error correction code word) of each arrangement candidate position of the information code 100 is arranged in the other type code 120 associated with each arrangement candidate position in the arrangement conversion table. Reposition to the position. By performing the arrangement conversion in this way, another type code 120 in which the data code word and the error correction code word arranged in the information code 100 are recorded is obtained. Since the other type code 120 is a known QR code, the data is decoded by a method similar to the known QR code (that is, error correction calculation is performed by a known method based on the error correction code word). Decode the data code word).

また、制御回路40が「データ記録領域読取部」「解読部」の一例に相当し、撮像部によって証票Pが撮像された場合(即ち、情報コード100が撮像された場合)に、その撮像された情報コード100のコード画像におけるデータ記録領域及び誤り訂正符号記録領域の内容に基づいてデータ記録領域に記録されたデータを読み取るように機能する。具体的には、判別部によって所定位置105が特定のフォーマット構成であると判別された場合(より詳しくは、所定位置105に所定種類のマスクパターンが反映されている場合)に、対応情報記録部に記録された対応情報(配置変換表)に基づいてコード領域内の各データワードの位置を特定し、解読対象データを解読するように機能する。   The control circuit 40 corresponds to an example of a “data recording area reading unit” and a “decoding unit”, and when the document P is captured by the imaging unit (that is, when the information code 100 is captured), the control circuit 40 captures the image. It functions to read the data recorded in the data recording area based on the contents of the data recording area and the error correction code recording area in the code image of the information code 100. Specifically, when the determination unit determines that the predetermined position 105 has a specific format configuration (more specifically, when a predetermined type of mask pattern is reflected at the predetermined position 105), the correspondence information recording unit The position of each data word in the code area is specified based on the correspondence information (arrangement conversion table) recorded in (1), and the decoding target data is decrypted.

なお、配置変換表は、「対応情報」の一例に相当し、コード領域において各配置位置で表される各順番のデータワードを、情報コード100とは異なる他種コード120において予め定められた方式(例えば公知規格等で定められた方式など)で表現する場合の当該他種コード120内での各対応位置を定める情報として構成されている。そして、解読部に相当する制御回路40は、判別部によって所定位置105が特定のフォーマット構成であると判別された場合、コード領域の各配置位置で表される各順番のデータワードを、対応情報で定められる他種コード120内での各対応位置に置換した構成で当該他種コード120を解読するように機能する。   The arrangement conversion table corresponds to an example of “correspondence information”, and a data word in each order represented by each arrangement position in the code area is determined in advance in another type code 120 different from the information code 100. It is configured as information for determining each corresponding position in the other type code 120 when expressed in (for example, a method defined in a known standard or the like). Then, when the determination unit determines that the predetermined position 105 has a specific format configuration, the control circuit 40 corresponding to the decoding unit converts the data word in each order represented by each arrangement position of the code area to the correspondence information The other-type code 120 functions in such a manner as to be replaced with each corresponding position in the other-type code 120 defined in (1).

S42にてデータ記録領域のデータを解読した後には、ヘッダデータ(額縁QRヘッダー)に含まれる形式情報を読み取る。そして、この形式情報が「画像形式」(即ち、証票画像表示領域を設けた形式)を示す形式情報である場合には、S44でYesに進む。その他の形式の場合には、S44にてNoに進む。なお、図11では、S44でNoに進む場合の処理を省略して示している。   After decoding the data in the data recording area in S42, the format information included in the header data (frame QR header) is read. If the format information is format information indicating an “image format” (that is, a format in which a voucher image display area is provided), the process proceeds to Yes in S44. For other formats, the process proceeds to No in S44. In FIG. 11, the process in the case where the process proceeds to No in S44 is omitted.

S44でYesに進む場合(即ち、ヘッダデータ(額縁QRヘッダー)に含まれる形式情報が「画像形式」を示す形式情報である場合)、ヘッダデータに含まれる画像領域位置情報(位置データ)を読み取る(S45)。そして、情報コード100内における証票画像表示領域121の位置を特定する(S46)。具体的には、本構成では、矩形状の証票画像表示領域を形成することを想定しており、S46ではコード画像を解析してコード画像における証票画像表示領域121の四隅の位置を特定する。例えば、画像領域位置情報(位置データ)として、証票画像表示領域121の四隅の位置情報(例えば四隅の各位置における列位置と行位置の組合せ)が記録されている場合、この位置データによって証票画像表示領域121の四隅の位置を特定できる。   When the process proceeds to Yes in S44 (that is, when the format information included in the header data (frame QR header) is format information indicating “image format”), the image area position information (position data) included in the header data is read. (S45). Then, the position of the voucher image display area 121 in the information code 100 is specified (S46). Specifically, in this configuration, it is assumed that rectangular voucher image display areas are formed, and in S46, the code image is analyzed to identify the positions of the four corners of the voucher image display area 121 in the code image. For example, when the position information of the four corners of the voucher image display area 121 (for example, the combination of the column position and the row position at each position of the four corners) is recorded as the image area position information (position data), the voucher image is represented by this position data. The positions of the four corners of the display area 121 can be specified.

S46にて画像領域の四隅の位置を特定した後には、撮像された証票Pの画像の中から証票画像表示領域121の画像を抽出する(S47)。なお、S47の処理は、S46で特定される証票画像表示領域121を、例えば、ビットマップ画像として抽出し、ビットマップファイルとして扱うようにすることができる。また、ビットマップ形式に限られず、公知の様々な形式を採用することができ、GIF形式や、JPEG形式等であってもよい。或いはこれら以外の画像ファイル形式で証票画像表示領域121の画像の抽出を行ってもよい。   After specifying the positions of the four corners of the image area in S46, the image of the voucher image display area 121 is extracted from the captured image of the voucher P (S47). In the process of S47, the voucher image display area 121 specified in S46 can be extracted as a bitmap image, for example, and handled as a bitmap file. Moreover, it is not restricted to a bitmap format, Various well-known formats can be adopted, and a GIF format, a JPEG format, or the like may be used. Alternatively, the image of the voucher image display area 121 may be extracted in an image file format other than these.

本構成では、S45〜S47の処理を行う制御回路40が画像抽出部の一例に相当し、データ記録領域読取部によって読み取られた位置データに基づいて、証票画像表示領域121の位置を特定し、当該前記証票画像表示領域121の画像を抽出するように機能する。   In this configuration, the control circuit 40 that performs the processes of S45 to S47 corresponds to an example of an image extraction unit, specifies the position of the voucher image display area 121 based on the position data read by the data recording area reading unit, It functions to extract the image of the voucher image display area 121.

図9(B)のS103で示す読取処理(図11の読取処理)の後には、その読取処理において証票画像が確認されたか否かを判断する(S104)。具体的には、図11のS47で示す画像抽出処理が正常に完了したか否かを判断し、S47にて証票画像表示領域の抽出が正常に行われた場合にはS104にてYesに進む。そうでない場合、例えば、図11のS41にてNoに進む場合、或いは、図1のS44にてNoに進む場合、若しくは、S44にてYesに進んだもののS47の抽出処理がエラーとなった場合には、S104にてNoに進み、この場合、認証失敗と判定する(S107)。   After the reading process shown in S103 of FIG. 9B (reading process of FIG. 11), it is determined whether or not the voucher image is confirmed in the reading process (S104). Specifically, it is determined whether or not the image extraction process shown in S47 of FIG. 11 has been normally completed. If the voucher image display area is normally extracted in S47, the process proceeds to Yes in S104. . Otherwise, for example, when the process proceeds to No in S41 in FIG. 11, or when the process proceeds to No in S44 in FIG. 1, or when the extraction process in S47 results in an error although the process proceeds to Yes in S44. In step S104, the process proceeds to No, and in this case, authentication failure is determined (S107).

S104にてYesに進む場合、消印が存在しないか否かを判断する(S105)。本システムでは、証票Pの使用時に図12のような消印を付すことを予定しており、S105では、読取対象となる証票Pにこのような消印が付されていないか否か(即ち、使用済みではないか)を判断する。   When the process proceeds to Yes in S104, it is determined whether or not there is a postmark (S105). In this system, when the certificate P is used, a postmark as shown in FIG. 12 is scheduled. In S105, it is determined whether or not such a certificate P is not attached to the certificate P to be read (that is, used). Judgment is not complete.

このS105の判断方法は様々であり、例えば、データ記録領域に所定割合以上の誤りが発生している場合に消印が存在すると判断し、そうでない場合には消印が存在しないと判断してもよい。なお、S105において消印が存在すると判断された場合には、S105にてNoに進み、この場合、認証失敗と判定する(S107)。   There are various determination methods in S105. For example, it may be determined that there is a postmark when an error of a predetermined ratio or more has occurred in the data recording area, and it may be determined that there is no postmark otherwise. . If it is determined in S105 that a postmark exists, the process proceeds to No in S105, and in this case, it is determined that the authentication has failed (S107).

本構成では、上述したように、管理装置2によって証票Pを生成する際に、コード領域の内部に、複数種類のセル102によって誤り訂正符号を記録した誤り訂正符号記録領域を設けた構成で証票Pを生成しており、読取装置10のデータ記録領域読取部では、図11の読取処理においてS42での解読処理を行う際に、誤り訂正符号記録領域に記録された誤り訂正符号に基づいてデータ記録領域のデータに対する誤り訂正を行う構成となっている。一方、制御回路40が上書き判別部の一例に相当しており、撮像部によって証票Pが撮像された場合に、その撮像で得られた証票P内の画像を解析し、所定の上書き部(例えば、データ記録領域の一部に上書きされた消印)が存在するか否かを判別するように機能し、具体的には、データ記録領域読取部による誤り訂正の結果(即ち、S42での誤り訂正の結果)に基づいて上書き部が存在するか否かを判別している。なお、データ記録領域に発生する誤り訂正量によって上書き部(例えば、消印)の存在を判断する場合、データ記録領域に誤りが少しでも発生していれば上書き部(例えば、消印)が存在すると判断してもよく、後述する例のように、所定割合以上の誤り訂正量の場合に上書き部(例えば、消印)が存在すると判断してもよい。   In this configuration, as described above, when the certificate P is generated by the management device 2, the certificate is configured with an error correction code recording area in which error correction codes are recorded by a plurality of types of cells 102 inside the code area. P is generated, and the data recording area reading unit of the reading device 10 performs data decoding based on the error correction code recorded in the error correction code recording area when performing the decoding process in S42 in the reading process of FIG. An error correction is performed on the data in the recording area. On the other hand, the control circuit 40 corresponds to an example of an overwrite determination unit. When the voucher P is imaged by the imaging unit, the image in the voucher P obtained by the imaging is analyzed and a predetermined overwrite unit (for example, , And a function of determining whether or not a part of the data recording area is overwritten). Specifically, the result of error correction by the data recording area reading unit (that is, error correction in S42) Whether or not there is an overwriting part. When determining the presence of an overwrite portion (for example, a postmark) based on the amount of error correction generated in the data recording area, it is determined that an overwrite portion (for example, a postmark) is present if any error has occurred in the data recording area. Alternatively, as in an example to be described later, it may be determined that an overwriting part (for example, a postmark) exists when the amount of error correction is a predetermined ratio or more.

図9(B)のS105において、消印が存在しないと判断された場合には、S105にてYesに進み、証票Pを構成する情報コード100に記憶された記録情報(例えば、固有情報及び価格情報)を管理装置2に送信する(S106)。このような送信が合った場合、管理装置2では、送信されてきた記録情報が正規に発行された証票のものであるか否かを判断する(S112)。   If it is determined in S105 in FIG. 9B that no postmark exists, the process proceeds to Yes in S105, and the recorded information (for example, unique information and price information) stored in the information code 100 constituting the voucher P is determined. ) Is transmitted to the management apparatus 2 (S106). If such transmission is successful, the management apparatus 2 determines whether or not the transmitted record information is that of a properly issued voucher (S112).

このS112の判断方法は様々であり、例えば、送信されてきた固有情報が正規に発行された発行済みの固有情報であるか否かを判断し、発行済みの固有情報である場合には正規に発行された証票のものであると判断し、S112にてYesに進む。一方、発行済みの固有情報ではない場合には正規に発行された証票のものでないと判断し、S112にてNoに進む。なお、S112の判断方法はこの例に限られず、例えば、S106で送信されてきた固有情報と価格情報の組み合わせが正規の組み合わせであるか否かを判断し、発行済みの正規の組合せである場合には正規に発行された証票のものであると判断し、S112にてYesに進み、発行済みの正規の組合せでない場合には正規に発行された証票のものでないと判断し、S112にてNoに進むようにしてもよい。   There are various determination methods in S112. For example, it is determined whether or not the transmitted unique information is the issued unique information that has been normally issued. It is determined that the certificate is issued, and the process proceeds to Yes in S112. On the other hand, if it is not the issued unique information, it is determined that it is not a properly issued voucher, and the process proceeds to No in S112. Note that the determination method of S112 is not limited to this example. For example, it is determined whether or not the combination of the unique information and the price information transmitted in S106 is a regular combination, and is a regular combination that has been issued. Is determined to be that of a properly issued certificate, the process proceeds to Yes in S112, and if it is not a regular combination that has been issued, it is determined that it is not of a properly issued certificate, and No in S112. You may make it progress to.

S112にてYesに進む場合、S106で送信されてきた固有情報が使用済みのものでないか否かを判断する(S113)。本構成では、S108にて認証成功と判断する毎に、認証成功と判断された証票の固有情報を使用済みとして登録しており、S113の判断処理では、S106で送信されてきた固有情報が使用済みの固有情報として登録されているか否かを判断する。S106で送信されてきた固有情報が使用済みである場合には、S113にてNoに進み、この場合、認証失敗と判定する(S107)。一方、S106で送信されてきた固有情報が使用済みでない場合には、S113にてYesに進み、この場合、認証成功と判定する(S108)。   When the process proceeds to Yes in S112, it is determined whether or not the unique information transmitted in S106 is not used (S113). In this configuration, every time it is determined that the authentication is successful in S108, the unique information of the voucher determined to be successful is registered as used. In the determination process of S113, the unique information transmitted in S106 is used. Judgment is made as to whether or not the registered unique information has been registered. If the unique information transmitted in S106 has been used, the process proceeds to No in S113, and in this case, authentication failure is determined (S107). On the other hand, if the unique information transmitted in S106 is not used, the process proceeds to Yes in S113, and in this case, it is determined that the authentication is successful (S108).

なお、本構成では、読取装置10と管理装置2が認証部の一例に相当し、読取装置10のデータ記録領域読取部での読み取り結果、及び読取装置10の撮像部による撮像結果に基づき、撮像された認証対象の証票が所定の正規証票であるか否かを判定するように機能しており、具体的には、データ記録領域読取部によるS42での証票関連情報の読取結果(より詳しくは、データ記録領域読取部による暗号解読処理の結果)に基づき、撮像された認証対象の証票が正規証票であるか否かを判定するように機能する。   In this configuration, the reading device 10 and the management device 2 correspond to an example of an authentication unit. Based on the reading result of the data recording area reading unit of the reading device 10 and the imaging result of the imaging unit of the reading device 10, imaging is performed. It functions to determine whether or not the certificate to be authenticated is a predetermined regular certificate, and more specifically, the result of reading the certificate related information in S42 by the data recording area reading unit (more specifically, , Based on the result of the decryption process by the data recording area reading unit), it functions to determine whether or not the imaged authentication target certificate is a regular certificate.

更に、認証部に相当する読取装置10及び管理装置2は、S112のように、管理装置2(生成装置)によって証票Pを生成する際にデータ記録領域に記録されたデータの少なくとも一部の記録データを取得し、当該記録データと、データ記録領域読取部によって解読された解読データとが所定のデータ一致状態であるか否かを判断するデータ判断処理を行い、データ判断処理によってデータ一致状態と判断されることを条件として認証対象の証票が正規証票であると判定している。   Further, the reading device 10 and the management device 2 corresponding to the authentication unit record at least a part of the data recorded in the data recording area when the certificate P is generated by the management device 2 (generation device) as in S112. Data is acquired, and a data determination process is performed to determine whether the recorded data and the decoded data decoded by the data recording area reading unit are in a predetermined data matching state. On the condition that it is determined, it is determined that the certificate to be authenticated is a regular certificate.

更に、認証部に相当する読取装置10及び管理装置2は、S103、S104のように、撮像部によって証票が撮像された場合に、その撮像で得られた証票内の証票画像表示領域の画像に対して所定の画像処理を行い、当該画像処理の結果に基づいて証票が正規証票であるか否かを判定している。   Furthermore, when the voucher is imaged by the imaging unit, the reading device 10 and the management device 2 corresponding to the authentication unit display an image of the voucher image display area in the voucher obtained by the imaging, as in S103 and S104. Then, predetermined image processing is performed, and it is determined whether or not the voucher is a regular voucher based on the result of the image processing.

[第1実施形態の変更例1]
図9(B)のS105での消印の判別方法は上述の例に限られず、例えば、所定の領域に所定割合以上の誤りが発生している場合に、消印が存在すると判断し、そうでない場合には消印が存在しないと判断してもよい。
[Modification 1 of the first embodiment]
The method for determining the postmark in S105 in FIG. 9B is not limited to the above-described example. For example, when there is an error of a predetermined ratio or more in a predetermined area, it is determined that there is a postmark, and when it is not It may be determined that there is no postmark.

この方法を用いる場合、管理装置2によって証票Pを生成する際に、図13のように、データ記録領域において、所定種類のデータが記録されると共に当該証票Pの使用の際にマークMが追加形成されるべき第1領域AR1(図13で示すクロスハッチングの領域)と、第1領域に記録されるデータとは異なる種類のデータが記録される第2領域AR2(図13で示すハッチング領域)とを設けた構成で証票Pを生成すればよい。この場合、第2領域AR2には、上述した固有情報や種別情報(金額情報)などの証票関連情報(第1識別情報)を記録しておき、第1領域AR1には、それ以外の第2識別情報を記録しておけばよい。この場合、上書き判別部に相当する制御回路40は、S105の判断処理において、データ記録領域読取部による第1領域AR1での誤り訂正の結果(即ち、S42での誤り訂正の結果)に基づいて上書き部(マークMが付された部分)が存在するか否かを判別すればよく、具体的には、第1領域AR1において所定割合以上の誤りが発生している場合に、消印(マークM)が存在すると判断し、そうでない場合には消印が存在しないと判断すればよい。   When this method is used, when the voucher P is generated by the management apparatus 2, a predetermined type of data is recorded in the data recording area and a mark M is added when the voucher P is used as shown in FIG. A first area AR1 (cross-hatched area shown in FIG. 13) to be formed and a second area AR2 (hatching area shown in FIG. 13) in which data of a type different from the data recorded in the first area is recorded. The voucher P may be generated with a configuration in which In this case, the voucher-related information (first identification information) such as the unique information and the type information (money information) described above is recorded in the second area AR2, and the other second information is recorded in the first area AR1. What is necessary is just to record identification information. In this case, the control circuit 40 corresponding to the overwrite determination unit, based on the result of error correction in the first area AR1 by the data recording area reading unit (that is, the result of error correction in S42) in the determination process of S105. It is only necessary to determine whether or not there is an overwriting part (part to which the mark M is attached). Specifically, when an error of a predetermined ratio or more has occurred in the first area AR1, the postmark (mark M ) Exist, otherwise it can be determined that there is no postmark.

[第1実施形態の変更例2]
図9(B)のS105での消印の判別方法は上述の例に限られず、例えば、可視光環境下では視認不能又は視認困難となり、可視光の波長帯とは異なる所定波長帯の光が照射された場合に視認可能となる特殊インクが付されているか否かによって消印(上書き)がなされているか否かを判定するようにしてもよい。
[Modification 2 of the first embodiment]
The method for determining postmarking in S105 in FIG. 9B is not limited to the above-described example. For example, it becomes invisible or difficult to see in a visible light environment, and is irradiated with light in a predetermined wavelength band different from the wavelength band of visible light. Whether or not postmarking (overwriting) is performed may be determined based on whether or not special ink that can be visually recognized is applied.

図14の例では、紫外線発光インクや赤外線発光インクなどによって形成された情報コード(例えばバーコードや二次元コード)Bが消印となっており、このような運用がなされる場合、図9(B)のS105では、消印を付与する特殊インクに対応する波長の光を照射しつつ情報コードBの読み取りを行い、情報コードBの読み取りが成功した場合には消印が付されたものと判定し、情報コードBの読み取りが成功しない場合には消印が付されていないと判定すればよい。例えば、図14で示す情報コードB(消印)を紫外線発光インクによって形成するような運用がなされる場合、読取装置10では、紫外線を照射しつつ証紙Pを撮像し、その撮像画像において、情報コードBの読み取りが成功した場合には消印が付されたものと判定し、情報コードBの読み取りが成功しない場合には消印が付されていないと判定すればよい。   In the example of FIG. 14, an information code (for example, a bar code or a two-dimensional code) B formed by ultraviolet light emitting ink or infrared light emitting ink is postmarked. In step S105, the information code B is read while irradiating light having a wavelength corresponding to the special ink to which the postmark is applied. If the information code B is successfully read, it is determined that the postmark has been added. If reading of the information code B is not successful, it may be determined that the postmark is not attached. For example, when the operation is performed such that the information code B (postmark) shown in FIG. 14 is formed by ultraviolet light emitting ink, the reading device 10 images the stamp P while irradiating ultraviolet light, and the information code is displayed in the captured image. If the reading of B is successful, it is determined that the postmark has been added, and if the reading of the information code B is not successful, it can be determined that the postmark has not been added.

[第1実施形態の変更例3]
図9(A)での証票の生成の流れの具体的内容が第1実施形態の代表例と異なり、更に、認証の流れが、図9(B)に代えて図13のようになっている。それ以外は、第1実施形態の代表例と同一である。
[Modification 3 of the first embodiment]
The specific content of the voucher generation flow in FIG. 9 (A) is different from the representative example of the first embodiment, and the authentication flow is as shown in FIG. 13 instead of FIG. 9 (B). . The rest is the same as the representative example of the first embodiment.

変更例3では、図9(A)と同様の流れで証票の生成が行われる。この変更例3でも、ユーザが自宅や勤務先等に配置されるコンピュータ、或いは携帯型のコンピュータ(携帯電話機、スマートフォン、携帯型タブレット端末、その他の携帯型コンピュータ)などのユーザ端末を操作して証票の購入要求を行い、そのコンピュータから管理装置2に対して要求情報を送信する(S101)。この要求情報は、代表例と同様、証票の種類(例えば、切手の金額等)を指定する情報を含んでおり、更に、証票画像表示領域に表示すべき画像(証票画像)のデータをも含んでいる。   In the third modification, the voucher is generated in the same flow as in FIG. Even in the third modification, the user operates a user terminal such as a computer arranged at home or work, or a portable computer (a mobile phone, a smartphone, a portable tablet terminal, or another portable computer) to provide a voucher. The request information is transmitted from the computer to the management apparatus 2 (S101). This request information includes information for specifying the type of voucher (for example, the amount of stamp) as well as the representative example, and further includes data of an image (voucher image) to be displayed in the voucher image display area. It is out.

そして、管理装置2では、このような要求情報を取得し、代表例と同様の方法で証票Pの生成処理を行う(S110、図10)。この生成処理は、証票画像表示領域に組み込む画像として要求情報に含まれた画像(ユーザの指定画像)を用いる点のみが代表例と異なり、それ以外は代表例と同様である。なお、S110で証票Pの画像データ(印刷データ)を生成した後の、S111の送信処理やS102の印刷処理は代表例と同様である。   Then, the management apparatus 2 acquires such request information, and performs the process of generating the voucher P by the same method as that of the representative example (S110, FIG. 10). This generation process is different from the representative example only in that the image (designated image by the user) included in the request information is used as an image to be incorporated in the voucher image display area, and the other processing is the same as the representative example. Note that the transmission processing in S111 and the printing processing in S102 after the image data (print data) of the voucher P is generated in S110 are the same as the representative example.

このように変更例3では、所定のユーザ端末から管理装置2(生成装置)に対して送信された証票画像の画像データを管理装置2によって取得し、管理装置2が取得した画像データによって構成される証票画像をコード領域内の証票画像表示領域121に表すように情報コード生成部によって情報コード100を生成している。   As described above, in the third modification, the image data of the voucher image transmitted from the predetermined user terminal to the management apparatus 2 (generation apparatus) is acquired by the management apparatus 2 and is configured by the image data acquired by the management apparatus 2. The information code 100 is generated by the information code generation unit so that the voucher image is displayed in the voucher image display area 121 in the code area.

一方、証票Pの使用時には、図9(B)の方法に代えて、図15の方法で認証を行う。図15の認証処理では、S203〜S205の処理は、図9(B)のS103〜S106と同一であり、S212の処理は、S112の処理と同一である。また、S206の処理はS106と同様であるが、S206では、管理装置2に対し、データ記録領域の情報だけでなく、証票画像表示領域の画像のデータ(S47で抽出された画像のデータ)をも送信する。   On the other hand, when using the voucher P, authentication is performed by the method of FIG. 15 instead of the method of FIG. 9B. In the authentication process of FIG. 15, the processes of S203 to S205 are the same as S103 to S106 of FIG. 9B, and the process of S212 is the same as the process of S112. The processing in S206 is the same as that in S106, but in S206, not only the data recording area information but also the image data in the voucher image display area (the image data extracted in S47) is sent to the management apparatus 2. Also send.

そして、S212の処理の後には、S213の判断処理が追加されている。具体的には、S212でYesに進む場合、管理装置2において、証票画像表示領域の画像のデータが正規に発行された証票の証票画像であるか否かを判断する(S213)。このS213の判断方法は様々であり、例えば、S206で送信されてきた固有情報と証票画像表示領域の画像のデータの組み合わせが正規の組み合わせであるか否かを判断する。本構成では、管理装置2がS110の処理で証票Pを生成、発行する毎に、発行される証票に記録される固有情報とその証票に表される証票画像(登録画像)とを対応付けて登録しており、S213では、このような登録内容を参照し、S206で送信されてきた固有情報と証票画像表示領域の画像のデータの組み合わせが正規の組み合わせであるか否かを判断することになる。具体的には、S206で送信されてきた固有情報に対応付けられた証票画像(登録画像)を参照し、その証票画像(登録画像)がS206で送信されてきた証票画像表示領域の画像と一致するか否かを判断する。なお、画像の一致の判定は、公知のパターンマッチングなどであってもよく、特徴点を比較する方法などであってもよい。そして、一致する場合には、S213にてYesに進み、一致しない場合には、S213にてNoに進む。S213にてNoに進む場合には、認証失敗と判定し(S107)、S213にてYesに進む場合には、代表例のS113と同様のS214の処理を行う。   And the determination process of S213 is added after the process of S212. Specifically, when the process proceeds to Yes in S212, the management apparatus 2 determines whether the image data in the voucher image display area is a voucher image of a voucher that has been issued normally (S213). There are various determination methods in S213. For example, it is determined whether or not the combination of the unique information transmitted in S206 and the image data of the voucher image display area is a regular combination. In this configuration, each time the management apparatus 2 generates and issues a certificate P in the process of S110, the unique information recorded in the issued certificate is associated with the certificate image (registered image) represented in the certificate. In S213, it is determined whether or not the combination of the specific information transmitted in S206 and the image data of the voucher image display area is a regular combination by referring to such registered contents. Become. Specifically, referring to the voucher image (registered image) associated with the unique information transmitted in S206, the voucher image (registered image) matches the image of the voucher image display area transmitted in S206. Judge whether to do. The determination of image matching may be a known pattern matching or the like, or a method of comparing feature points. If they match, the process proceeds to Yes in S213, and if they do not match, the process proceeds to No in S213. If the process proceeds to No in S213, it is determined that the authentication has failed (S107). If the process proceeds to Yes in S213, the process of S214 similar to S113 of the representative example is performed.

このように、本構成では、認証部に相当する読取装置10及び管理装置2により、管理装置2によって証票Pを生成する際に証票画像表示領域に組み込まれた画像と、撮像部によって撮像された証票Pに含まれる証票画像表示領域の画像とが所定の画像一致状態であるか否かを判断する画像判断処理を行い、当該画像判断処理によって画像一致状態であると判断されることを条件として証票が正規証票であると判定している。
[第2実施形態]
次に、第2実施形態について、図面を参照して説明する。
第2実施形態の証票利用システムは、ハードウェア構成については第1実施形態と同一であり、上述した図1、図2のような構成が用いられる。
As described above, in this configuration, the reading device 10 and the management device 2 corresponding to the authentication unit capture the image incorporated in the voucher image display area when the voucher P is generated by the management device 2 and the image taken by the imaging unit. An image determination process for determining whether or not the image in the voucher image display area included in the voucher P is in a predetermined image matching state is performed on the condition that the image matching process determines that the image is in a matching state. It is determined that the voucher is a regular voucher.
[Second Embodiment]
Next, a second embodiment will be described with reference to the drawings.
The voucher utilization system of the second embodiment is the same as that of the first embodiment with respect to the hardware configuration, and the configuration shown in FIGS. 1 and 2 described above is used.

第2実施形態の証票利用システムでは、管理装置2(証票生成装置)(図1等参照)により図16(B)のような情報コード200を生成する。この構成でも、コード領域の内部に、予め定められた形状の特定パターン(位置検出パターン204)が配置される特定パターン領域と、複数種類のセルによってデータを記録するデータ記録領域と、証票画像を表す証票画像表示領域121とを設けている。   In the voucher utilization system of the second embodiment, an information code 200 as shown in FIG. 16B is generated by the management device 2 (voucher generating device) (see FIG. 1 and the like). Even in this configuration, a specific pattern area in which a specific pattern (position detection pattern 204) having a predetermined shape is arranged inside the code area, a data recording area in which data is recorded by a plurality of types of cells, and a voucher image are provided. A voucher image display area 121 is provided.

この構成では、空き領域210内の構成以外は、公知のQRコード(登録商標)として構成されており、まず、図16(A)のように、コード領域の内部に、特定パターン領域と、データ記録領域と、複数種類のセルによって誤り訂正符号を記録する誤り訂正符号記録領域とを設けている。なお、データ記録領域でのデータコードワードの記録方法及び誤り訂正符号記録領域での誤り訂正コードワードの記録方法は公知のQRコード(登録商標)と同様であり、例えば、JISX0510で規定される方式でコード領域内の位置検出パターン204の配置、データ記録領域におけるデータコードワードの配置、誤り訂正符号記録領域での誤り訂正コードワードの配置が定められている。   In this configuration, except for the configuration in the empty area 210, it is configured as a known QR code (registered trademark). First, as shown in FIG. 16A, a specific pattern area and data A recording area and an error correction code recording area for recording an error correction code by a plurality of types of cells are provided. The recording method of the data code word in the data recording area and the recording method of the error correction code word in the error correction code recording area are the same as those of the known QR code (registered trademark), for example, a method defined in JISX0510 The arrangement of the position detection pattern 204 in the code area, the arrangement of the data code word in the data recording area, and the arrangement of the error correction code word in the error correction code recording area are determined.

但し、図16(A)のように、一部領域のコードワードを、白セルのみによって表現されるコードワードとして構成した情報コード200’を生成し、このように白セルのみによって表現される領域ARを空き領域210として、図16(B)のように、この空き領域210内に証票画像表示領域121を設けている。このように構成した場合、図16(A)のような本来のデータ表示とは異なった構成になるが、この空き領域210でのデータの誤りは、誤り訂正符号記録領域に記録された誤り訂正符号を用いて公知の誤り訂正を行えばよい。   However, as shown in FIG. 16 (A), an information code 200 ′ in which a code word of a partial region is configured as a code word expressed only by white cells is generated, and thus the region expressed only by white cells. With the AR as a free area 210, a voucher image display area 121 is provided in the free area 210 as shown in FIG. When configured in this way, the configuration is different from the original data display as shown in FIG. 16A, but the error in the data in the empty area 210 is corrected by the error correction recorded in the error correction code recording area. A known error correction may be performed using a code.

また、図16(B)に示す情報コード200では、空き領域210の位置が予め特定されるため、空き領域210内にデザインや情報を付加して表示する場合にはこの表示による誤り位置が予め分かっていることになる。従って、空き領域210の位置を誤り位置として消失訂正を行うように誤り訂正符号記録領域の誤り訂正符号を構成することもできる。この場合、空き領域210の位置を示す情報を予めデータ記録領域に記録しておいたり、或いは、予め読取装置10(図1)内に記憶しておくことで、読取時に読取装置10が空き領域210の位置(即ち、誤りが生じているデータコードワードの位置)を特定することができるようになり、読取装置10は、このように位置が特定された空き領域210に存在するデータコードワードの誤りを訂正するように、誤り訂正符号記録領域に記録された誤り訂正符号を用いて消失訂正を行うようにすればよい。   Further, in the information code 200 shown in FIG. 16B, the position of the empty area 210 is specified in advance, and therefore, when the design and information are added and displayed in the empty area 210, the error position due to this display is set in advance. I know that. Therefore, the error correction code in the error correction code recording area can be configured to perform erasure correction using the position of the empty area 210 as the error position. In this case, information indicating the position of the vacant area 210 is recorded in the data recording area in advance, or stored in the reading apparatus 10 (FIG. 1) in advance, so that the reading apparatus 10 can read the vacant area at the time of reading. The position of 210 (that is, the position of the data code word in which an error has occurred) can be specified, and the reader 10 can determine the position of the data code word existing in the empty area 210 whose position is specified in this way. In order to correct the error, the erasure correction may be performed using the error correction code recorded in the error correction code recording area.

また、図16のように既存のQRコード(登録商標)の一部を空き領域210として構成する場合、データ記録領域に記録されるデータにおいて、図18(A)のような識別情報を含ませておけばよい。図18(A)は、データ記録領域に記録される解読対象データ構成を概念的に示しており、この例では、解読対象データの先頭部分に、所定構成(%%IMAGE%%)のデータが付されている。このように構成しておけば、読取装置10は、データ記録領域に記録される解読対象データの中からこの識別情報(%%IMAGE%%)を検出したときに、証票画像表示領域121の画像認識処理を行うことができるようになり、逆に、識別情報(%%IMAGE%%)を検出できないときには通常のデコード処理を行うことになる。また、この例では、データ記録領域のデータとして、通常のデータ以外に、画像領域の位置を特定する位置データや、その他の付随情報が含まれていることが望ましい。また、図18(A)に示すデータは、データ記録領域に記録されるデータの内、終端子よりも前に配置される解読対象データを示しており、終端子よりも後に配置される埋め草コードは省略している。本構成では、例えば、この埋め草コードの領域を全て白セルのみで表示するようにし、この領域を空き領域210として扱うようにすることができる。   Further, when a part of the existing QR code (registered trademark) is configured as the empty area 210 as shown in FIG. 16, the identification information as shown in FIG. 18A is included in the data recorded in the data recording area. Just keep it. FIG. 18A conceptually shows the structure of the data to be decrypted recorded in the data recording area. In this example, data of a predetermined structure (%% IMAGE %%) is present at the beginning of the data to be decrypted. It is attached. With this configuration, the reader 10 detects the image in the voucher image display area 121 when detecting this identification information (%% IMAGE %%) from the decryption target data recorded in the data recording area. The recognition process can be performed. Conversely, when the identification information (%% IMAGE %%) cannot be detected, the normal decoding process is performed. In this example, it is desirable that the data in the data recording area includes position data for specifying the position of the image area and other accompanying information in addition to the normal data. Further, the data shown in FIG. 18 (A) indicates the data to be decoded that is arranged before the end terminal in the data recorded in the data recording area, and the padding that is arranged after the end terminal. The code is omitted. In this configuration, for example, the entire area of the padding code can be displayed with only white cells, and this area can be handled as the empty area 210.

また、識別情報の例はこの例に限られるものではなく、例えばモード番号として専用のモード番号を用いるようにしてもよい。例えば、QRコードの規格では、1:数字モード、2:英数字モード、3:連結モード等が定められており、このようなモード番号の1つとして14:画像認識モードを設けるようにしてもよい。このような例では、モード番号「14」が設定されている場合に、証票画像表示領域121の画像認識処理を行えばよい。   Moreover, the example of identification information is not restricted to this example, For example, you may make it use a mode number for exclusive use as a mode number. For example, in the QR code standard, 1: numerical mode, 2: alphanumeric mode, 3: concatenation mode, etc. are defined, and 14: image recognition mode may be provided as one of such mode numbers. Good. In such an example, when the mode number “14” is set, the image recognition process of the voucher image display area 121 may be performed.

[第3実施形態]
次に、第3実施形態について説明する。
第3実施形態の証票利用システムも、ハードウェア構成については第1実施形態と同一であり、上述した図1、図2のような構成が用いられる。
[Third Embodiment]
Next, a third embodiment will be described.
The voucher utilization system of the third embodiment is also the same as that of the first embodiment in terms of hardware configuration, and the configuration shown in FIGS. 1 and 2 described above is used.

第3実施形態の証票利用システムでは、管理装置2(証票生成装置)(図1等参照)により図17(B)のような情報コード300を生成する。この構成でも、コード領域の内部に、予め定められた形状の特定パターン(L字状のアライメントパターン304a及び明色セルと暗色セルが1セルずつ交互に配置され、コード領域の境界に沿ったL字状の領域を構成するタイミングパターン(タイミングセル)304b)が配置される特定パターン領域と、複数種類のセルによってデータを記録するデータ記録領域とを設け、コード領域の内部において、特定パターン領域以外の位置に、データ記録領域にデータを記録する方法とは異なる方法で、データの記録又はデザインの表示の少なくともいずれかが可能となる空き領域310を、単一のセルのサイズよりも大きい所定サイズで設けている。   In the voucher utilization system of the third embodiment, an information code 300 as shown in FIG. 17B is generated by the management device 2 (voucher generation device) (see FIG. 1 and the like). Even in this configuration, a specific pattern having a predetermined shape (L-shaped alignment pattern 304a and light cells and dark cells are alternately arranged one by one inside the code region, and L along the boundary of the code region. A specific pattern area in which a timing pattern (timing cell) 304b) constituting a character-shaped area is arranged, and a data recording area in which data is recorded by a plurality of types of cells are provided. The empty area 310 in which at least one of data recording and design display can be performed at a position different from the method of recording data in the data recording area is set to a predetermined size larger than the size of a single cell. Is provided.

この構成では、空き領域310の構成以外は、公知のデータマトリックスコードとして構成されており、まず、図17(A)のように、コード領域の内部に、特定パターン領域と、データ記録領域と、複数種類のセルによって誤り訂正符号を記録する誤り訂正符号記録領域とを設けている。なお、データ記録領域でのデータコードワードの記録方法及び誤り訂正符号記録領域での誤り訂正コードワードの記録方法は公知のデータマトリックスコードと同様であり、コード領域内のアライメントパターン304aやタイミングパターン304bの配置、データ記録領域におけるデータコードワードの配置、誤り訂正符号記録領域での誤り訂正コードワードの配置は、例えばECC200バージョンに従って定められている。   In this configuration, except for the configuration of the empty area 310, it is configured as a known data matrix code. First, as shown in FIG. 17A, inside the code area, a specific pattern area, a data recording area, An error correction code recording area for recording an error correction code by a plurality of types of cells is provided. The recording method of the data code word in the data recording area and the recording method of the error correction code word in the error correction code recording area are the same as the known data matrix code, and the alignment pattern 304a and timing pattern 304b in the code area. The arrangement of the data code word in the data recording area and the arrangement of the error correction code word in the error correction code recording area are determined in accordance with, for example, the ECC200 version.

但し、図17(A)のように、一部領域のコードワードを、白セルのみによって表現されるコードワードとして構成した情報コード300’を生成し、このように白セルのみによって表現される領域ARを空き領域310として、図17(B)のように、この空き領域310内に証票画像表示領域121を設けている。図17(B)のように空き領域310に証票画像表示領域121を設ける場合、図17(A)のような本来のデータ表示とは異なった構成になるが、この空き領域310でのデータの誤りは、誤り訂正符号記録領域に記録された誤り訂正符号を用いて公知の誤り訂正を行えばよい。   However, as shown in FIG. 17A, an information code 300 ′ in which a code word of a partial region is configured as a code word represented only by white cells is generated, and thus the region represented only by white cells. AR is a free area 310, and a voucher image display area 121 is provided in the free area 310 as shown in FIG. When the voucher image display area 121 is provided in the empty area 310 as shown in FIG. 17B, the configuration is different from the original data display as shown in FIG. 17A, but the data in the empty area 310 is displayed. As for the error, a known error correction may be performed using the error correction code recorded in the error correction code recording area.

また、図17(B)に示す情報コード300では、空き領域310の位置が予め特定されるため、空き領域310内にデザインや情報を付加して表示する場合にはこの表示による誤り位置が予め分かっていることになる。従って、空き領域310の位置を誤り位置として消失訂正を行うように誤り訂正符号記録領域の誤り訂正符号を構成することもできる。この場合、空き領域310の位置を示す情報を予めデータ記録領域に記録しておいたり、或いは、予め読取装置10(図1)内に記憶しておくことで、読取時に読取装置10が空き領域310の位置(即ち、誤りが生じているデータコードワードの位置)を特定することができるようになり、読取装置10は、このように位置が特定された空き領域310に存在するデータコードワードの誤りを訂正するように、誤り訂正符号記録領域に記録された誤り訂正符号を用いて消失訂正を行うようにすればよい。   In the information code 300 shown in FIG. 17B, the position of the empty area 310 is specified in advance. Therefore, when a design or information is added to the empty area 310 and displayed, the error position by this display is set in advance. I know that. Therefore, the error correction code in the error correction code recording area can be configured to perform erasure correction using the position of the empty area 310 as the error position. In this case, information indicating the position of the empty area 310 is recorded in the data recording area in advance, or is stored in the reading apparatus 10 (FIG. 1) in advance, so that the reading apparatus 10 can read the empty area at the time of reading. The position of 310 (that is, the position of the data code word in which an error has occurred) can be specified, and the reader 10 can determine the position of the data code word existing in the empty area 310 in which the position is specified in this way. In order to correct the error, the erasure correction may be performed using the error correction code recorded in the error correction code recording area.

また、図17のように既存のデータマトリックスコードの一部を空き領域310として構成する場合、データ記録領域に記録されるデータにおいて、図18(B)のような識別情報を含ませておけばよい。図18(B)は、データ記録領域に記録される解読対象データ構成を概念的に示しており、この例では、解読対象データの先頭部分に、所定構成(%%IMAGE%%)のデータが付されている。このように構成しておけば、読取装置10は、データ記録領域に記録される解読対象データの中からこの識別情報(%%IMAGE%%)を検出したときに、証票画像表示領域121の画像認識処理を行うことができるようになり、逆に、識別情報(%%IMAGE%%)を検出できないときには通常のデコード処理を行うことになる。また、この例では、データ記録領域のデータとして、通常のデータ以外に、画像領域の位置を特定する位置データや、その他の付随情報が含まれていることが望ましい。   Further, when a part of the existing data matrix code is configured as the empty area 310 as shown in FIG. 17, the identification information as shown in FIG. 18B is included in the data recorded in the data recording area. Good. FIG. 18B conceptually shows the structure of the data to be decrypted recorded in the data recording area. In this example, data of a predetermined structure (%% IMAGE %%) is present at the beginning of the data to be decrypted. It is attached. With this configuration, the reader 10 detects the image in the voucher image display area 121 when detecting this identification information (%% IMAGE %%) from the decryption target data recorded in the data recording area. The recognition process can be performed. Conversely, when the identification information (%% IMAGE %%) cannot be detected, the normal decoding process is performed. In this example, it is desirable that the data in the data recording area includes position data for specifying the position of the image area and other accompanying information in addition to the normal data.

また、識別情報の例はこの例に限られるものではなく、例えば専用のコードワードを用いるようにしてもよい。データマトリックスコードの仕様として、例えば、0〜128をASCII文字、233を連結モードなどとして定めている場合、「234」を画像認識用の特別なコードワードとして新たに定めるようにしてもよい。このような例では、データ記録領域のデータに「234」のコードワードが含まれている場合に、証票画像表示領域121の画像認識処理を行えばよい。また、未使用のコードワードが存在する場合、未使用のコードワードを識別情報として含ませておき、データ記録領域のデータに未使用のコードワードが含まれている場合に、証票画像表示領域121の画像認識処理を行うようにしてもよい。   Moreover, the example of identification information is not restricted to this example, For example, you may make it use a codeword for exclusive use. As the specification of the data matrix code, for example, when 0 to 128 is defined as an ASCII character and 233 is a connection mode, “234” may be newly defined as a special code word for image recognition. In such an example, when the code word “234” is included in the data in the data recording area, the image recognition process of the voucher image display area 121 may be performed. In addition, when there is an unused code word, the unused code word is included as identification information, and when the unused code word is included in the data of the data recording area, the voucher image display area 121 is displayed. The image recognition process may be performed.

[第4実施形態]
次に、第4実施形態について、図面を参照して説明する。
第4実施形態は、生成する証票の具体的内容のみが第1実施形態と異なり、証票の生成方法や読取方法は第1実施形態と同様である。
[Fourth embodiment]
Next, a fourth embodiment will be described with reference to the drawings.
The fourth embodiment differs from the first embodiment only in the specific contents of the voucher to be generated, and the voucher generation method and reading method are the same as those in the first embodiment.

第4実施形態に係る証票利用システムで生成される証票Pは、図19のように、美術館、水族館、科学館、遊園地、その他の施設やイベントなどでの入場券として構成されている。図19の例では、例えば、長手状に構成される紙等の媒体において、その媒体の外縁部付近に沿って特定パターン領域及び当該特定パターン以外のセル配列領域が矩形枠状に設けられている。この構成では、中央部に券の内容を画像で示す証票画像表示領域121が設けられており、その周囲に特定パターン領域及び当該特定パターン以外のセル配列領域が環状に設けられている。なお、この例では、例えば、管理装置2が証票Pを生成する際に、ユーザが指定した画像(例えば、ユーザが当該施設等で過去に撮影した写真など)を取得することで、ユーザが希望する画像を証票P内に任意に組み込むことができる。このようにオリジナル画像を組み込んだ証票を形成すれば、プレゼントなどの様々な用途で有用になる。   The voucher P generated by the voucher utilization system according to the fourth embodiment is configured as an admission ticket at an art museum, an aquarium, a science hall, an amusement park, other facilities or events, as shown in FIG. In the example of FIG. 19, for example, in a medium such as paper having a longitudinal shape, a specific pattern region and a cell arrangement region other than the specific pattern are provided in a rectangular frame shape along the vicinity of the outer edge of the medium. . In this configuration, a voucher image display area 121 showing the contents of a ticket as an image is provided at the center, and a specific pattern area and a cell arrangement area other than the specific pattern are provided in a ring shape around the area. In this example, for example, when the management device 2 generates the voucher P, the user desires to acquire an image specified by the user (for example, a photograph taken by the user in the past at the facility or the like). The image to be performed can be arbitrarily incorporated in the voucher P. Forming a voucher incorporating an original image in this way is useful for various purposes such as gifts.

[他の実施形態]
本発明は上記記述及び図面によって説明した実施形態に限定されるものではなく、例えば次のような実施形態も本発明の技術的範囲に含まれる。
[Other Embodiments]
The present invention is not limited to the embodiments described with reference to the above description and drawings. For example, the following embodiments are also included in the technical scope of the present invention.

第1実施形態等では、情報コード100内に、情報入力領域の位置を示す位置データ(例えば、図3に示す画像領域位置情報など)を含ませるようにしていたが、このような例に限られない。例えば、管理装置2(証票生成装置)が、空き領域において予め定められた所定位置に画像領域を配置するように情報コードを生成する構成であってもよい。この場合、所定位置を特定する情報(図3に示す画像領域位置情報などの情報)が記憶部5に記憶されていればよい。また、この場合、証票読取装置10には、管理装置2(証票生成装置)と同様、所定位置を特定する特定情報(図3に示す画像領域位置情報などの情報)をメモリ35に記憶しておけばよい。そして、証票読取装置10では、図9のS45において、メモリ35からこのような特定情報を読み出して情報入力領域を特定した上で、それ以降の処理を行えばよい。また、この場合、図3に示す画像領域位置情報は、ヘッダデータに含めなくてもよい。   In the first embodiment and the like, the position data indicating the position of the information input area (for example, the image area position information shown in FIG. 3) is included in the information code 100. However, the present invention is not limited to such an example. I can't. For example, the management device 2 (the voucher generating device) may be configured to generate the information code so that the image area is arranged at a predetermined position in the empty area. In this case, information for specifying a predetermined position (information such as image region position information shown in FIG. 3) may be stored in the storage unit 5. Further, in this case, the voucher reading device 10 stores in the memory 35 specific information (information such as image area position information shown in FIG. 3) for specifying a predetermined position, as in the management device 2 (voucher generating device). Just keep it. Then, the voucher reading device 10 reads out such specific information from the memory 35 in S45 of FIG. 9 to specify the information input area, and then performs the subsequent processing. In this case, the image area position information shown in FIG. 3 may not be included in the header data.

本発明は、上述したいずれか1又は複数若しくは全ての情報コードを表示し得る表示装置として構成することもできる。また、上述したいずれか1又は複数若しくは全ての情報コードを印刷し得る印刷装置として構成することもできる。更に、上述したいずれか1又は複数若しくは全ての情報コードを生成するためのコンピュータ読取可能なプログラムとして構成することもできる。また、上述した1又は複数若しくは全ての情報コードを生成するためのプログラムを記録した記録媒体として構成することもできる。更に、上述した1又は複数若しくは全ての情報コードが付された情報コード媒体(印刷物、ダイレクトマーキング等によって構成された形成物など)として把握することもできる。また、上述した1又は複数若しくは全ての情報コードが表示された表示画像として把握することもできる。   The present invention can also be configured as a display device capable of displaying any one, plural, or all of the information codes described above. Moreover, it can also be configured as a printing apparatus capable of printing any one, plural or all of the information codes described above. Furthermore, it can also be configured as a computer-readable program for generating any one, plural or all of the information codes described above. Moreover, it can also be comprised as a recording medium which recorded the program for producing | generating the 1 or several or all the information code mentioned above. Furthermore, it can also be grasped as an information code medium (a printed material, a formed material formed by direct marking, etc.) to which one or a plurality of or all information codes are attached. Moreover, it can also be grasped as a display image on which one, a plurality, or all of the information codes described above are displayed.

図1等の構成では、管理装置2(証票生成装置)と証票読取装置10が別々の装置として構成された例を示しているが、管理装置2(証票生成装置)が証票読取装置10として構成されていてもよい。また、管理装置2(証票生成装置)が、複数の装置によって構成されていてもよく、証票読取装置10が複数の装置によって構成されていてもよい。   In the configuration of FIG. 1 and the like, an example is shown in which the management device 2 (the certificate generation device) and the certificate reading device 10 are configured as separate devices, but the management device 2 (the certificate generation device) is configured as the certificate reading device 10. May be. Further, the management device 2 (the voucher generating device) may be constituted by a plurality of devices, and the voucher reading device 10 may be constituted by a plurality of devices.

上記実施形態では、コード領域の中央部に空き領域110を設けた例を示したが、空き領域110の配置はこの例に限られない。同様に証票画像表示領域121の位置も上述の例に限られない。例えば、コード領域の周縁付近に空き領域を設け、この位置に証票画像表示領域121を設けてもよい。また、画像領域のデザインとしては、図形、模様、色彩又はこれらの結合からなる構成であれば他の様々なデザインを採用することができる。また、デザインに代えて、或いはデザインと共に情報を表示する場合、その情報の内容は様々である。   In the above embodiment, an example in which the empty area 110 is provided in the center of the code area has been described. However, the arrangement of the empty area 110 is not limited to this example. Similarly, the position of the voucher image display area 121 is not limited to the above example. For example, an empty area may be provided near the periphery of the code area, and the voucher image display area 121 may be provided at this position. In addition, as the design of the image area, various other designs can be adopted as long as the configuration includes a figure, a pattern, a color, or a combination thereof. In addition, when information is displayed instead of the design or together with the design, the contents of the information are various.

上記実施形態では、他種コードとしてQRコードを例に挙げ、情報コード100で用いる特定パターンとしてQRコードの特定パターンを例に挙げたが、これ以外の種類の二次元コードを用いてもよい。例えば、他種コードとしてデータマトリックスコードを用い、情報コード100で用いる特定パターンをデータマトリックスコードの特定パターンとしてもよい。   In the above embodiment, a QR code is taken as an example of the other type code, and a specific pattern of the QR code is given as an example of the specific pattern used in the information code 100. However, other types of two-dimensional codes may be used. For example, a data matrix code may be used as the other type code, and a specific pattern used in the information code 100 may be used as the specific pattern of the data matrix code.

図5のように設定した配置変換表における対応関係は、図7のように任意に変更することができる。例えば、管理装置2(証票生成装置)、証票読取装置10において図5のように設定されていた配置変換表を図7のように変更した場合、生成される情報コード100では、22〜23番目のコードワードの配置が、図5右図のような配置(22〜23番の配置候補位置に記録する配置)から図7右図のような配置(42〜43番の配置候補位置に記録する配置)に変更され、これにより空き領域110の位置や形状も変化することになる。この場合、22〜23番の配置候補位置は空き領域としてもよく、他のコードワードの配置位置としてもよい。つまり、この構成では、配置変換表を調整することで空き領域110の位置や形状を調整することができ、空き領域を構成する上での自由度をより高めることができる。   The correspondence in the arrangement conversion table set as shown in FIG. 5 can be arbitrarily changed as shown in FIG. For example, when the arrangement conversion table set as shown in FIG. 5 in the management device 2 (voucher generating device) and the voucher reading device 10 is changed as shown in FIG. 5 is recorded from the arrangement shown in the right figure of FIG. 5 (the arrangement recorded in the 22nd to 23rd arrangement candidate positions) to the arrangement shown in the right figure of FIG. This changes the position and shape of the empty area 110. In this case, the arrangement candidate positions Nos. 22 to 23 may be empty areas, or arrangement positions of other code words. That is, in this configuration, the position and shape of the empty area 110 can be adjusted by adjusting the arrangement conversion table, and the degree of freedom in configuring the empty area can be further increased.

上記実施形態では、空き領域110を設け、この空き領域110の内部に画像領域を設けた例を示したが、このような例に限られない。例えば、誤り訂正が可能な一般的な二次元コード(例えばQRコード等)のセル配置領域に、上述したような画像を上書き等によって設け、このような画像領域によって潰れた領域のデータを誤り訂正によって復元するようにしてもよい。   In the above-described embodiment, an example in which the empty area 110 is provided and the image area is provided in the empty area 110 has been described. For example, an image as described above is provided by overwriting or the like in a cell arrangement area of a general two-dimensional code (for example, QR code) capable of error correction, and error correction is performed on data in the area crushed by such an image area. You may make it restore by.

上記実施形態では、「コード領域」の一例を示したが、「コード領域」は、情報コードを構成する複数種類のセルを全て含む最小の正方形領域又は長方形領域であればよく、コード領域の内縁部の一部にセルが配列されていなくてもよい。例えば、図20の情報コード800ように、空き領域810がコード領域の周縁部に隣接して形成されていてもよい。この場合、情報コード800を構成する複数種類のセルを全て含む最小の正方形領域又は長方形領域は、一点鎖線ARのようになり、空き領域810の外縁は、例えば二点鎖線AR2のようになる。そして、このような空き領域810の一部又は全部が証票画像表示領域121に相当する。また、証票画像表示領域121はコード領域内に少なくとも一部が存在すればよく、図21の証票画像表示領域121(実線AR3が境界となる表示領域)のように、残余の部分がコード領域外に存在するような構成であってもよい。図21のような例では、予め証票画像表示領域121がどのような範囲になるかを特定する情報をデータ記録領域に記録しておけばよい。   In the above embodiment, an example of the “code area” is shown. However, the “code area” may be a minimum square area or rectangular area that includes all of the plurality of types of cells constituting the information code, and the inner edge of the code area. The cell may not be arranged in a part of the part. For example, as shown in the information code 800 of FIG. 20, the empty area 810 may be formed adjacent to the peripheral edge of the code area. In this case, the minimum square area or rectangular area including all of the plurality of types of cells constituting the information code 800 is as indicated by a one-dot chain line AR, and the outer edge of the empty area 810 is as indicated by a two-dot chain line AR2, for example. A part or all of the empty area 810 corresponds to the voucher image display area 121. Further, the voucher image display area 121 only needs to exist at least partially in the code area, and the remaining portion is outside the code area as in the voucher image display area 121 (display area with the solid line AR3 as a boundary) in FIG. It may be the configuration as exists in FIG. In the example as shown in FIG. 21, information specifying what range the voucher image display area 121 is in advance may be recorded in the data recording area.

上記実施形態では、コード領域内を構成する複数種類のセルとして、白色セルなどの明セルと黒色セルなどの暗セルを例示したが、コード領域内の特定パターン領域、データ記録領域、誤り訂正符号記録領域が、所定の濃度、輝度、色彩の第1種セルと、この第1種セルとは濃度、輝度、色彩のいずれかが異なる第2種セルに構成されていてもよい。或いは、コード領域内の特定パターン領域、データ記録領域、誤り訂正符号記録領域が、濃度、輝度、色彩のいずれかがそれぞれ異なる三種類以上のセルによって構成されていてもよい。   In the above embodiment, a bright cell such as a white cell and a dark cell such as a black cell are exemplified as a plurality of types of cells constituting the code area. However, a specific pattern area, a data recording area, and an error correction code in the code area are exemplified. The recording area may be configured as a first type cell having a predetermined density, luminance, and color, and a second type cell that is different in density, luminance, or color from the first type cell. Alternatively, the specific pattern area, the data recording area, and the error correction code recording area in the code area may be configured by three or more types of cells each having different density, luminance, or color.

上記実施形態では、コード領域内の特定パターン領域、データ記録領域、誤り訂正符号記録領域において、外形が正方形状のセルを複数配列した例を示したが、各セルの外形は正方形以外の四角形であってもよく、四角形以外の多角形や、円形、楕円形などの図形であってもよい。   In the above embodiment, an example in which a plurality of cells having a square outer shape are arranged in the specific pattern area, the data recording area, and the error correction code recording area in the code area has been described. However, the outer shape of each cell is a square other than a square. It may be a polygon other than a rectangle, or a figure such as a circle or an ellipse.

上記実施形態では、特定パターンの例として位置検出パターン104、タイミングパターン106、アライメントパターン108などを例示したが、データ記録領域及び誤り訂正符号記録領域の内容に関係なく固定のパターンとして構成される領域であれば、特定パターンを構成する図形は他の固有図形であってもよい。   In the above embodiment, the position detection pattern 104, the timing pattern 106, the alignment pattern 108, and the like are illustrated as examples of the specific pattern. However, the area is configured as a fixed pattern regardless of the contents of the data recording area and the error correction code recording area. If so, the figure constituting the specific pattern may be another unique figure.

上記実施形態では、空き領域の一例を示したが、空き領域は、セルによって解読対象データが記録されない領域であり、データ記録領域にデータを記録する方法とは異なる方法で情報の表示又は画像の表示がなされる領域であればよい。例えば、第1実施形態のように、コードワードが全く配置されない領域として空き領域が構成されていてもよく、公知のQRコードなどにおいて、誤り訂正符号を表現する誤り訂正コードワードや解読対象データを表現するデータコードワードが配置されず、埋め草コードワードが配置される領域を空き領域としてもよい。また、いずれの空き領域の場合でも、「セルによってデータ記録領域にデータを記録する方法とは異なる方法で情報の表示」を行うことができ、この情報の表示は、上記実施形態で例示される情報のほか、例えば、文字、数字、その他の記号などによるその他の情報であってもよく、商標などによって特定の商品やサービスを表すような情報の表示方法であってもよい。また、空き領域では、「セルによってデータ記録領域にデータを記録する方法とは異なる方法では画像の表示」を行うことができ、この画像の表示は、上記実施形態で例示される画像のほか、様々な形状、模様、色彩、それらの結合などを表すことができる。   In the above embodiment, an example of an empty area is shown. However, an empty area is an area where data to be decoded is not recorded by a cell, and information display or image display is performed by a method different from the method of recording data in the data recording area. Any area may be used as long as it is a display area. For example, as in the first embodiment, a vacant area may be configured as an area where no code word is arranged. In a known QR code, an error correction code word that represents an error correction code or data to be decoded is used. An area where a data code word to be expressed is not arranged and a padding code word is arranged may be a free area. Further, in any free area, “information display by a method different from the method of recording data in the data recording area by cell” can be performed, and this information display is exemplified in the above embodiment. In addition to information, other information such as letters, numbers, and other symbols may be used, or a method of displaying information that represents a specific product or service by a trademark or the like may be used. Further, in the free area, “image display by a method different from the method of recording data in the data recording area by cell” can be performed, and the display of this image is not limited to the image exemplified in the above embodiment, Various shapes, patterns, colors, combinations thereof, and the like can be represented.

また、証票Pを構成する情報コードは、図22の情報コード900のように構成してもよい。この例は、第1実施形態と同様の空き領域を設ける構成であるが、空き領域の特定のみが第1実施形態と異なっている。なお、図22の例では、一部の特定パターン以外の領域の具体的内容は省略して示しており、実際は、空き領域910外の外部領域に明色セルや暗色セルが配置されることになる。また、空き領域910内は、例えば第1実施形態の空き領域110と同様の画像、或いは他の実施形態の空き領域と同様の画像が表示される。
本構成でも、情報コード900の種別において複数の型番が用意されており、型番毎にセルの行数及び列数、特定パターンの形状及び位置、フォーマット情報の位置、コードワードの候補位置(アドレス)が予め定められている。そして、管理装置2が情報コード900を生成する際には、型番情報をコード領域内の決められた位置(図22の例では予約領域107)に配置するようになっている。従って、読取装置10が情報コード900を読み取る際には、情報コード900のコード画像を解析し、所定位置に配置された型番情報を読み取ることで、情報コード900のセルの行数及び列数、特定パターンの形状及び位置、フォーマット情報の位置、コードワードの候補位置(アドレス)を把握できることになる。
情報コード900を生成する際には、予め用意された複数の型番の中からいずれかの型番を選択する。これにより、コード領域内の基本構成(特定パターン104の位置、セルの行数及び列数、コードワードの候補位置)が決定する。例えば、図22に示す構成の型番では、29行29列のセル配列となっており、予め定められた3つの角部に、QRコード(登録商標)の切り出しシンボルと同一の構造の特定パターン104が配置されるようになっている。そして、特定パターン104の近くの所定位置に、フォーマット情報を記録する領域(所定位置105)が設けられている。また、29行29列のマトリックス領域において、特定パターン104及び所定位置105以外の位置に、予めコードワードの候補位置が定められており、各候補位置に0〜67までのアドレスが割り当てられている。このように、型番に対応する構成で予めコード領域内の構成が規定されているため、型番が特定されれば、どの順番のコードワードがどの位置に配置されるかを特定することが可能となる。なお、決定した型番の情報は、その型番の配列において予め定められた固定位置に記録される。例えば図22の例では、所定種類のハッチングで特定される領域107に型番の情報が記録されるようになっている。
そして、型番が決定し、コード領域内の基本構成が決定した後には、空き領域の形状及び位置を決定する。空き領域の形状の決定方法は、例えば、予め用意された複数の候補形状の中から選定する方式で決定してもよく、或いは、管理装置2(証票生成装置)に対して外部から入力された形状指定情報に従った形状に設定する方式で決定してもよい。或いは、決められた固定形状のみに決定してもよい。また、空き領域の位置については、予め決められた固定位置に決定してもよく、ユーザが位置を指定する情報を入力することで、その位置に決定するようにしてもよい。
そして、空き領域が決定した後には、決定された空き領域の位置から外れるコードワードの候補位置に、データ記録領域のコードワード及び誤り訂正符号記録領域のコードワードをそれぞれ配置する構成で情報コード900を生成する。例えば、図22のような構成の型番では、3つの角部に特定パターン104が配置され、これら特定パターン104の位置を基準として、0〜67の番号が付された68個のコードワードの候補位置が予め規定されている。このようなレイアウトにおいて、図22のように空き領域910が決定した場合、少なくとも一部が空き領域910内に入るコードワードの候補位置を配置対象位置から除外し、その除外されたコードワードの位置を飛ばすようにして、順番にコードワードを配置する。例えば、図22の例では、50、51番、53、54番、60〜67番のコードワードの候補位置に入り込むように空き領域910が設定されているため、これら50、51番、53、54番、60〜67番のコードワードの候補位置にはコードワードを配置しないようにする。即ち、0〜49番の位置に順番にコードワードを配置した後、50、51番を飛ばして52番の位置にコードワードを配置し、その後、53、54番を飛ばして55〜59番の位置にコードワードを順番に配置することになる。このようにすれば、解読対象データを符号化したデータコードワードと、誤り訂正符号を表す誤り訂正コードワードとを、空き領域910から外れた候補位置に確実に配置することができる。
このように特定パターン領域(特定パターン104やその他の特定パターンの領域)、フォーマット領域(所定位置105)、型番領域107、各コードワード領域などを決定した後には、空き領域910の具体的な内容を決定する。この情報コード900でも、空き領域910に、空き領域110と同様の画像を表すことで、図1と同様の機能を有する情報コード900を構成することができる。なお、情報コード900の利用方法は第1実施形態やその他の実施形態と同様である。
Further, the information code constituting the voucher P may be configured as an information code 900 in FIG. In this example, the same empty area as that of the first embodiment is provided, but only the specification of the empty area is different from that of the first embodiment. In the example of FIG. 22, specific contents of areas other than some specific patterns are omitted, and in fact, light cells and dark cells are arranged in an external area outside the empty area 910. Become. In the free space 910, for example, an image similar to the free space 110 of the first embodiment or an image similar to the free space of other embodiments is displayed.
Also in this configuration, a plurality of model numbers are prepared for the type of the information code 900. For each model number, the number of rows and columns of cells, the shape and position of a specific pattern, the position of format information, and the candidate position (address) of a code word Is predetermined. When the management apparatus 2 generates the information code 900, the model number information is arranged at a predetermined position in the code area (the reserved area 107 in the example of FIG. 22). Therefore, when the reading device 10 reads the information code 900, the code image of the information code 900 is analyzed, and the model number information arranged at a predetermined position is read, so that the number of rows and columns of cells of the information code 900, The shape and position of the specific pattern, the position of the format information, and the candidate position (address) of the code word can be grasped.
When generating the information code 900, one of the model numbers is selected from a plurality of model numbers prepared in advance. Thereby, the basic configuration (the position of the specific pattern 104, the number of rows and columns of cells, the candidate position of the code word) in the code area is determined. For example, the model number of the configuration shown in FIG. 22 has a cell array of 29 rows and 29 columns, and a specific pattern 104 having the same structure as a QR code (registered trademark) cut-out symbol at three predetermined corners. Is arranged. An area (predetermined position 105) for recording format information is provided at a predetermined position near the specific pattern 104. In addition, in the 29 × 29 matrix area, codeword candidate positions are determined in advance at positions other than the specific pattern 104 and the predetermined position 105, and addresses from 0 to 67 are assigned to the candidate positions. . In this way, since the configuration in the code area is defined in advance in the configuration corresponding to the model number, if the model number is specified, it is possible to specify which order code word is arranged at which position. Become. The information of the determined model number is recorded at a predetermined fixed position in the model number array. For example, in the example of FIG. 22, model number information is recorded in an area 107 specified by a predetermined type of hatching.
After the model number is determined and the basic configuration in the code area is determined, the shape and position of the empty area are determined. The method for determining the shape of the vacant area may be determined by, for example, a method of selecting from a plurality of candidate shapes prepared in advance, or input from the outside to the management device 2 (the voucher generating device) You may determine by the system set to the shape according to shape designation information. Or you may determine only to the fixed shape decided. Further, the position of the empty area may be determined as a predetermined fixed position, or may be determined by inputting information for designating the position by the user.
After the vacant area is determined, the information code 900 is configured such that the code word in the data recording area and the code word in the error correction code recording area are respectively arranged at the candidate position of the code word that deviates from the determined position of the vacant area. Is generated. For example, in the model number configured as shown in FIG. 22, specific patterns 104 are arranged at three corners, and 68 codeword candidates numbered 0 to 67 with reference to the positions of these specific patterns 104 are used. The position is defined in advance. In such a layout, when the empty area 910 is determined as shown in FIG. 22, the candidate position of the code word that at least partially enters the empty area 910 is excluded from the arrangement target position, and the position of the excluded code word The code words are arranged in order as if skipping. For example, in the example of FIG. 22, since the empty area 910 is set so as to enter the candidate positions of the codewords 50, 51, 53, 54, and 60 to 67, these 50, 51, 53, Code words are not arranged at the candidate positions of the 54th and 60th to 67th codewords. That is, after the code words are arranged in order at positions 0 to 49, the code words 50 and 51 are skipped and the code words are arranged at the position 52, and then the codes 53 and 54 are skipped and the codes 55 to 59 are skipped. The code words are arranged in order at the positions. In this way, the data code word obtained by encoding the data to be decoded and the error correction code word representing the error correction code can be reliably arranged at the candidate positions outside the empty area 910.
After determining the specific pattern area (specific pattern 104 or other specific pattern area), the format area (predetermined position 105), the model number area 107, each codeword area, and the like, the specific contents of the empty area 910 are determined. To decide. In this information code 900 as well, an information code 900 having the same function as in FIG. 1 can be configured by representing an image similar to the empty area 110 in the empty area 910. Note that the method of using the information code 900 is the same as in the first embodiment and other embodiments.

1…証票利用システム
2…管理装置(証票生成装置、認証部
3…制御部
10…証票読取装置(認証部)
23…受光センサ(撮像部)
40…制御回路(データ記録領域読取部)
100,200,300,400,800,900…情報コード
102…セル
104…位置検出パターン(特定パターン)
110…空き領域(画像領域)
P…証票
DESCRIPTION OF SYMBOLS 1 ... Certificate utilization system 2 ... Management apparatus (certificate generation apparatus, authentication part 3 ... Control part 10 ... Certificate reading apparatus (authentication part)
23. Light receiving sensor (imaging unit)
40. Control circuit (data recording area reading unit)
100, 200, 300, 400, 800, 900 ... information code 102 ... cell 104 ... position detection pattern (specific pattern)
110 ... Empty area (image area)
P ... Voucher

Claims (41)

情報コード生成部を備えた生成装置によって証票を生成する証票の生成方法であって、
所定のコード領域の内部に情報を表示する単位となるセルを配列した情報コードを前記情報コード生成部によって生成し、
前記情報コード生成部によって前記情報コードを生成する際に、前記コード領域の内部において、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類の前記セルによってデータを記録するデータ記録領域と、証票画像が表示される証票画像表示領域と、を設けることを特徴とする証票の生成方法。
A voucher generation method for generating a voucher by a generation device including an information code generation unit,
An information code in which cells serving as units for displaying information are arranged inside a predetermined code area is generated by the information code generation unit,
When the information code is generated by the information code generator, a specific pattern area in which a specific pattern having a predetermined shape is arranged inside the code area, and data that records data by a plurality of types of the cells A voucher generating method, characterized by providing a recording area and a voucher image display area in which a voucher image is displayed.
前記情報コード生成部によって前記情報コードを生成する際に、前記証票画像表示領域の画像で表わされる証票において固有に定められた固有情報、又は前記証票画像表示領域の画像で表わされる証票の種別を識別可能な種別情報、の少なくともいずれか含む証票関連情報を前記データ記録領域に記録することを特徴とする請求項1に記載の証票の生成方法。   When the information code is generated by the information code generation unit, specific information uniquely determined in the voucher represented by the image of the voucher image display area, or the type of voucher represented by the image of the voucher image display area The voucher generating method according to claim 1, wherein voucher related information including at least one of identifiable type information is recorded in the data recording area. 前記情報コード生成部によって前記情報コードを生成する際に、前記証票関連情報を暗号化した状態で前記データ記録領域に記録することを特徴とする請求項2に記載の証票の生成方法。   3. The voucher generation method according to claim 2, wherein when the information code is generated by the information code generation unit, the voucher-related information is recorded in the data recording area in an encrypted state. 前記情報コード生成部によって前記情報コードを生成する際に、前記証票画像表示領域の画像で表わされる証票の価格を示す価格情報を前記データ記録領域に記録することを特徴とする請求項1から請求項3のいずれか一項に記載の証票の生成方法。   The price information indicating the price of the voucher represented by the image in the voucher image display area is recorded in the data recording area when the information code is generated by the information code generation unit. Item 4. The method for generating a voucher according to any one of Items 3 to 4. 前記情報コード生成部によって前記情報コードを生成する際に、前記コード領域の内部において前記特定パターン領域及び前記データ記録領域以外の位置に、前記セルによって解読対象データが記録されない領域である空き領域を、単一の前記セルのサイズよりも大きいサイズで設け、前記空き領域内に前記証票画像表示領域が表されるように構成することを特徴とする請求項1から請求項4のいずれか一項に記載の証票の生成方法。   When the information code is generated by the information code generator, an empty area that is an area in which the data to be decoded is not recorded by the cell is provided at a position other than the specific pattern area and the data recording area within the code area. 5. The display device according to claim 1, wherein the voucher image display area is configured to be larger than a single cell and the voucher image display area is represented in the empty area. How to generate the voucher described in 1. 前記情報コード生成部によって前記情報コードを生成する際に、前記コード領域内での前記証票画像表示領域の位置を示す位置データを前記データ記録領域に記録することを特徴とする請求項1から請求項5のいずれか一項に記載の証票の生成方法。   The position data indicating the position of the voucher image display area in the code area is recorded in the data recording area when the information code is generated by the information code generation unit. Item 6. The method of generating a voucher according to any one of Items5. 所定のユーザ端末から前記生成装置に対して送信された証票画像の画像データを前記生成装置によって取得し、
前記生成装置が取得した前記画像データによって構成される前記証票画像を前記コード領域内の前記証票画像表示領域に表すように前記情報コード生成部によって前記情報コードを生成することを特徴とする請求項1から請求項6のいずれか一項に記載の証票の生成方法。
The image data of the voucher image transmitted from the predetermined user terminal to the generation device is acquired by the generation device,
The information code generation unit generates the information code so that the voucher image constituted by the image data acquired by the generation device is represented in the voucher image display area in the code area. The method for generating a voucher according to any one of claims 1 to 6.
前記情報コード生成部によって前記情報コードを生成する際に、前記特定パターン領域及び当該特定パターン以外のセル配列領域を、前記証票画像表示領域の周囲に環状に配置することを特徴とする請求項1から請求項7のいずれか一項に記載の証票の生成方法。   2. When generating the information code by the information code generation unit, the specific pattern region and a cell array region other than the specific pattern are arranged in a ring around the voucher image display region. The method for generating a voucher according to claim 7. 前記情報コード生成部によって前記情報コードを生成する際に、前記データ記録領域において、所定種類のデータが記録されると共に当該証票の使用の際にマークが追加形成されるべき第1領域と、前記第1領域に記録されるデータとは異なる種類のデータが記録される第2領域とを設けることを特徴とする請求項1から請求項8のいずれか一項に記載の証票の生成方法。   When generating the information code by the information code generator, a first area in which a predetermined type of data is recorded in the data recording area and a mark is to be additionally formed when using the voucher; 9. The voucher generating method according to claim 1, further comprising: a second area in which data of a different type from the data recorded in the first area is recorded. 所定のコード領域の内部に情報を表示する単位となるセルを配列してなる情報コードを備え、
前記コード領域の内部において、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類の前記セルによってデータを記録するデータ記録領域と、証票画像が表示される証票画像表示領域と、が設けられていることを特徴とする証票。
An information code formed by arranging cells as units for displaying information inside a predetermined code area,
Inside the code area, a specific pattern area in which a specific pattern having a predetermined shape is arranged, a data recording area in which data is recorded by a plurality of types of cells, and a voucher image display area in which a voucher image is displayed , A voucher characterized by being provided.
当該証票において固有に定められた固有情報、又は当該証票の種別を識別可能な種別情報、の少なくともいずれか含む証票関連情報が前記データ記録領域に記録されていることを特徴とする請求項10に記載の証票。   11. The voucher-related information including at least one of specific information uniquely determined in the voucher or type information that can identify the type of the voucher is recorded in the data recording area. Voucher of description. 前記証票関連情報が暗号化された状態で前記データ記録領域に記録されていることを特徴とする請求項11に記載の証票。   12. The voucher according to claim 11, wherein the voucher-related information is recorded in the data recording area in an encrypted state. 当該証票の価格を示す価格情報が前記データ記録領域に記録されていることを特徴とする請求項10から請求項12のいずれか一項に記載の証票。   The voucher according to any one of claims 10 to 12, wherein price information indicating a price of the voucher is recorded in the data recording area. 前記コード領域の内部において前記特定パターン領域及び前記データ記録領域以外の位置に、前記セルによって解読対象データが記録されない領域である空き領域が、単一の前記セルのサイズよりも大きいサイズで設けられ、前記空き領域内に前記証票画像表示領域が設けられていることを特徴とする請求項10から請求項13のいずれか一項に記載の証票。   In the code area, an empty area, which is an area where the data to be decoded is not recorded by the cell, is provided at a position larger than the size of the single cell at a position other than the specific pattern area and the data recording area. The voucher according to any one of claims 10 to 13, wherein the voucher image display area is provided in the empty area. 前記コード領域内での前記証票画像表示領域の位置を示す位置データが前記データ記録領域に記録されていることを特徴とする請求項10から請求項14のいずれか一項に記載の証票。   The voucher according to any one of claims 10 to 14, wherein position data indicating a position of the voucher image display area within the code area is recorded in the data recording area. 前記特定パターン領域及び当該特定パターン以外のセル配列領域が、前記証票画像表示領域の周囲に環状に配置されていることを特徴とする請求項10から請求項15のいずれか一項に記載の証票。   The voucher according to any one of claims 10 to 15, wherein the specific pattern area and the cell arrangement area other than the specific pattern are arranged in a ring around the voucher image display area. . 前記データ記録領域において、所定種類のデータが記録されると共に当該証票の使用の際にマークが追加形成されるべき第1領域と、前記第1領域に記録されるデータとは異なる種類のデータが記録される第2領域とが設けられていることを特徴とする請求項10から請求項16のいずれか一項に記載の証票。   In the data recording area, a predetermined type of data is recorded, and a first area in which a mark is to be additionally formed when the voucher is used, and a different type of data from the data recorded in the first area. The voucher according to any one of claims 10 to 16, wherein a second area to be recorded is provided. 読取対象となる証票は、所定のコード領域の内部に情報を表示する単位となるセルを配列してなる情報コードを備え、前記コード領域の内部において、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類の前記セルによってデータを記録するデータ記録領域と、証票画像が表示される証票画像表示領域と、が設けられてなるものであり、
前記証票を撮像可能な撮像部と、
前記撮像部によって前記証票が撮像された場合に、その撮像された前記証票の前記情報コードにおける前記データ記録領域に記録されたデータを読み取るデータ記録領域読取部と、
を有することを特徴とする証票読取システム。
A voucher to be read includes an information code in which cells serving as units for displaying information are arranged inside a predetermined code area, and a specific pattern having a predetermined shape is arranged inside the code area. A specific pattern area, a data recording area for recording data by a plurality of types of cells, and a voucher image display area in which a voucher image is displayed,
An imaging unit capable of imaging the voucher;
A data recording area reading unit that reads data recorded in the data recording area in the information code of the imaged voucher when the voucher is imaged by the imaging unit;
A voucher reading system comprising:
前記撮像部によって撮像された前記証票の画像に基づき、当該証票が所定の正規証票であるか否かを判定する認証部を有することを特徴とする請求項18に記載の証票読取システム。   19. The voucher reading system according to claim 18, further comprising an authentication unit that determines whether the voucher is a predetermined regular voucher based on the image of the voucher imaged by the imaging unit. 前記証票は、当該証票において固有に定められた固有情報、又は当該証票の種別を識別可能な種別情報、の少なくともいずれか含む証票関連情報が前記データ記録領域に記録されており、
前記データ記録領域読取部は、前記データ記録領域から前記証票関連情報を読み取る構成であり、
前記認証部は、前記データ記録領域読取部による前記証票関連情報の読取結果に基づき、前記証票が前記正規証票であるか否かを判定することを特徴とする請求項19に記載の証票読取システム。
The voucher is recorded in the data recording area, voucher related information including at least one of specific information uniquely defined in the voucher, or type information that can identify the type of the voucher,
The data recording area reading unit is configured to read the voucher related information from the data recording area,
The voucher reading system according to claim 19, wherein the authentication unit determines whether or not the voucher is the regular voucher based on a result of reading the voucher-related information by the data recording area reading unit. .
前記証票は、前記証票関連情報が暗号化された状態で前記データ記録領域に記録されたものであり、
前記データ記録領域読取部は、前記データ記録領域に対し、所定の暗号解読処理を行い、
前記認証部は、前記データ記録領域読取部による前記暗号解読処理の結果に基づき、前記証票が前記正規証票であるか否かを判定することを特徴とする請求項20に記載の証票読取システム。
The voucher is recorded in the data recording area in a state where the voucher related information is encrypted,
The data recording area reading unit performs a predetermined decryption process on the data recording area,
21. The voucher reading system according to claim 20, wherein the authentication unit determines whether or not the voucher is the regular voucher based on a result of the decryption process performed by the data recording area reading unit.
前記認証部は、前記撮像部によって前記証票が撮像された場合に、その撮像で得られた前記証票内の前記証票画像表示領域の画像に対して所定の画像処理を行い、当該画像処理の結果に基づいて前記証票が前記正規証票であるか否かを判定することを特徴とする請求項19から請求項21のいずれか一項に記載の証票読取システム。   When the voucher is imaged by the imaging unit, the authentication unit performs predetermined image processing on the image of the voucher image display area in the voucher obtained by the imaging, and results of the image processing The voucher reading system according to any one of claims 19 to 21, wherein the voucher is determined whether or not the voucher is the regular voucher. 前記撮像部によって前記証票が撮像された場合に、その撮像で得られた前記証票内の画像を解析し、所定の上書き部が存在するか否かを判別する上書き判別部を有することを特徴とする請求項18から請求項22のいずれか一項に記載の証票読取システム。   When the voucher is imaged by the imaging unit, the voucher has an overwrite determination unit that analyzes an image in the voucher obtained by the imaging and determines whether or not a predetermined overwrite unit exists. The voucher reading system according to any one of claims 18 to 22. 前記証票は、前記コード領域の内部に、複数種類の前記セルによって誤り訂正符号を記録した誤り訂正符号記録領域が設けられたものであり、
前記データ記録領域読取部は、前記誤り訂正符号記録領域に記録された前記誤り訂正符号に基づいて前記データ記録領域のデータに対する誤り訂正を行う構成であり、
前記上書き判別部は、前記データ記録領域読取部による誤り訂正の結果に基づいて前記上書き部が存在するか否かを判別することを特徴とする請求項23に記載の証票読取システム。
The voucher is provided with an error correction code recording area in which an error correction code is recorded by a plurality of types of cells inside the code area,
The data recording area reading unit is configured to perform error correction on data in the data recording area based on the error correction code recorded in the error correction code recording area,
24. The voucher reading system according to claim 23, wherein the overwrite determination unit determines whether or not the overwrite unit exists based on an error correction result by the data recording area reading unit.
前記証票は、前記データ記録領域において、所定種類のデータが記録されると共に当該証票の使用の際にマークが追加形成されるべき第1領域と、前記第1領域に記録されるデータとは異なる種類のデータが記録される第2領域とが設けられたものであり、
前記上書き判別部は、前記データ記録領域読取部による前記第1領域での誤り訂正の結果に基づいて前記上書き部が存在するか否かを判別することを特徴とする請求項24に記載の証票読取システム。
The voucher is different from the first area in which a predetermined type of data is recorded in the data recording area and a mark is additionally formed when the voucher is used, and the data recorded in the first area. And a second area in which data of a type is recorded,
25. The voucher according to claim 24, wherein the overwrite determination unit determines whether or not the overwrite unit exists based on an error correction result in the first area by the data recording area reading unit. Reading system.
前記証票は、当該証票の価格を示す価格情報が前記データ記録領域に記録されたものであり、
前記データ記録領域読取部は、前記データ記録領域から前記価格情報を読み取る構成であることを特徴とする請求項18から請求項25のいずれか一項に記載の証票読取システム。
The voucher is one in which price information indicating the price of the voucher is recorded in the data recording area,
The voucher reading system according to any one of claims 18 to 25, wherein the data recording area reading unit is configured to read the price information from the data recording area.
前記証票は、前記コード領域の内部において前記特定パターン領域及び前記データ記録領域以外の位置に、前記セルによって解読対象データが記録されない領域である空き領域が、単一の前記セルのサイズよりも大きいサイズで設けられ、前記空き領域内に前記証票画像表示領域が設けられたものであることを特徴とする請求項18から請求項26のいずれか一項に記載の証票読取システム。   In the voucher, an empty area in which the data to be decoded is not recorded by the cell at a position other than the specific pattern area and the data recording area inside the code area is larger than the size of the single cell. 27. The voucher reading system according to any one of claims 18 to 26, wherein the voucher image display area is provided in a size and the voucher image display area is provided in the empty area. 前記証票は、前記コード領域内での前記証票画像表示領域の位置を示す位置データが前記データ記録領域に記録されたものであり、
前記データ記録領域読取部は、前記データ記録領域から前記位置データを読み取る構成であり、
更に、前記データ記録領域読取部によって読み取られた前記位置データに基づいて、前記証票画像表示領域の位置を特定し、当該前記証票画像表示領域の画像を抽出する画像抽出部が設けられていることを特徴とする請求項18から請求項27のいずれか一項に記載の証票読取システム。
The voucher is obtained by recording position data indicating the position of the voucher image display area in the code area in the data recording area,
The data recording area reading unit is configured to read the position data from the data recording area,
Furthermore, an image extraction unit is provided that identifies the position of the voucher image display area based on the position data read by the data recording area reading unit and extracts an image of the voucher image display area. 28. The voucher reading system according to any one of claims 18 to 27, wherein:
証票を生成する生成装置と、
前記生成装置によって生成された前記証票を読み取る読取装置と、
を備え、
前記生成装置は、
所定のコード領域の内部に情報を表示する単位となるセルを配列した情報コードを生成する情報コード生成部を備え、
前記情報コード生成部によって前記情報コードを生成する際に、前記コード領域の内部において、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類の前記セルによってデータを記録するデータ記録領域と、証票画像が表示される証票画像表示領域と、を設けた構成で前記証票を生成し、
前記読取装置は、
前記証票を撮像可能な撮像部と、
前記撮像部によって前記証票が撮像された場合に、その撮像された前記証票の前記情報コードにおける前記データ記録領域に記録されたデータを読み取るデータ記録領域読取部と、
を有することを特徴とする証票利用システム。
A generating device for generating a voucher;
A reading device for reading the voucher generated by the generating device;
With
The generator is
An information code generating unit that generates an information code in which cells serving as units for displaying information are arranged inside a predetermined code area;
When the information code is generated by the information code generator, a specific pattern area in which a specific pattern having a predetermined shape is arranged inside the code area, and data that records data by a plurality of types of the cells Generating the voucher with a configuration in which a recording area and a voucher image display area on which a voucher image is displayed are provided;
The reader is
An imaging unit capable of imaging the voucher;
A data recording area reading unit that reads data recorded in the data recording area in the information code of the imaged voucher when the voucher is imaged by the imaging unit;
The voucher utilization system characterized by having.
前記読取装置の前記データ記録領域読取部での読み取り結果、又は前記読取装置の前記撮像部による撮像結果の少なくともいずれかに基づき、当該証票が所定の正規証票であるか否かを判定する認証部を有することを特徴とする請求項29に記載の証票利用システム。   An authentication unit that determines whether or not the voucher is a predetermined regular voucher based on at least one of a reading result of the data recording area reading unit of the reading device and an imaging result of the imaging unit of the reading device 30. The voucher utilization system according to claim 29, comprising: 前記生成装置は、前記情報コード生成部によって前記情報コードを生成する際に、前記証票画像表示領域の画像で表わされる証票において固有に定められた固有情報、又は前記証票画像表示領域の画像で表わされる証票の種別を識別可能な種別情報、の少なくともいずれか含む証票関連情報を前記データ記録領域に記録し、
前記読取装置の前記データ記録領域読取部は、前記データ記録領域から前記証票関連情報を読み取る構成であり、
前記認証部は、前記データ記録領域読取部による前記証票関連情報の読取結果に基づき、前記証票が前記正規証票であるか否かを判定することを特徴とする請求項30に記載の証票利用システム。
When the information code is generated by the information code generation unit, the generation device expresses unique information uniquely defined in a voucher represented by an image in the voucher image display area or an image in the voucher image display area. Voucher related information including at least one of the type information that can identify the type of voucher to be recorded is recorded in the data recording area,
The data recording area reading unit of the reading device is configured to read the voucher related information from the data recording area,
The voucher utilization system according to claim 30, wherein the authentication unit determines whether or not the voucher is the regular voucher based on a result of reading the voucher-related information by the data recording area reading unit. .
前記生成装置は、前記情報コード生成部によって前記情報コードを生成する際に、前記証票関連情報を暗号化した状態で前記データ記録領域に記録し、
前記読取装置の前記データ記録領域読取部は、前記データ記録領域に対して所定の暗号解読処理を行い、
前記認証部は、前記データ記録領域読取部による前記暗号解読処理の結果に基づき、前記証票が前記正規証票であるか否かを判定することを特徴とする請求項31に記載の証票利用システム。
When generating the information code by the information code generation unit, the generating device records the voucher related information in an encrypted state in the data recording area,
The data recording area reading unit of the reading device performs a predetermined decryption process on the data recording area,
32. The voucher utilization system according to claim 31, wherein the authentication unit determines whether or not the voucher is the regular voucher based on a result of the decryption processing by the data recording area reading unit.
前記認証部は、前記生成装置によって前記証票を生成する際に前記データ記録領域に記録されたデータの少なくとも一部の記録データを取得し、当該記録データと、前記データ記録領域読取部によって解読された解読データとが所定のデータ一致状態であるか否かを判断するデータ判断処理を行い、前記データ判断処理によって前記データ一致状態と判断されることを条件として前記証票が前記正規証票であると判定することを特徴とする請求項31又は請求項32に記載の証票利用システム。   The authentication unit obtains at least a part of the recorded data recorded in the data recording area when the voucher is generated by the generating device, and is decoded by the recorded data and the data recording area reading unit. A data judgment process for judging whether or not the decoded data is in a predetermined data coincidence state, and that the voucher is the regular voucher on the condition that the data coincidence state is judged by the data judgment process 33. The voucher utilization system according to claim 31 or 32, wherein the voucher use system is determined. 前記認証部は、前記撮像部によって前記証票が撮像された場合に、その撮像で得られた前記証票内の前記証票画像表示領域の画像に対して所定の画像処理を行い、当該画像処理の結果に基づいて前記証票が前記正規証票であるか否かを判定することを特徴とする請求項30から請求項33のいずれか一項に記載の証票利用システム。   When the voucher is imaged by the imaging unit, the authentication unit performs predetermined image processing on the image of the voucher image display area in the voucher obtained by the imaging, and results of the image processing 34. The voucher utilization system according to any one of claims 30 to 33, wherein the voucher is determined whether or not the voucher is the regular voucher. 前記認証部は、前記生成装置によって前記証票を生成する際に前記証票画像表示領域に組み込まれた画像と、前記撮像部によって撮像された前記証票に含まれる前記証票画像表示領域の画像とが所定の画像一致状態であるか否かを判断する画像判断処理を行い、当該画像判断処理によって前記画像一致状態であると判断されることを条件として前記証票が前記正規証票であると判定することを特徴とする請求項34に記載の証票利用システム。   The authentication unit has an image embedded in the voucher image display area when the voucher is generated by the generating device and an image of the voucher image display area included in the voucher imaged by the imaging unit. Determining whether or not the image is in the image matching state, and determining that the voucher is the regular voucher on condition that the image determination processing determines that the image matches the image. The voucher utilization system according to claim 34, characterized in that the voucher is used. 前記撮像部によって前記証票が撮像された場合に、その撮像で得られた前記証票内の画像を解析し、所定の上書き部が存在するか否かを判別する上書き判別部を有することを特徴とする請求項29から請求項35のいずれか一項に記載の証票利用システム。   When the voucher is imaged by the imaging unit, the voucher has an overwrite determination unit that analyzes an image in the voucher obtained by the imaging and determines whether or not a predetermined overwrite unit exists. The voucher utilization system according to any one of claims 29 to 35. 前記生成装置は、前記コード領域の内部に、複数種類の前記セルによって誤り訂正符号を記録した誤り訂正符号記録領域を設けた構成で前記証票を生成し、
前記読取装置の前記データ記録領域読取部は、前記誤り訂正符号記録領域に記録された前記誤り訂正符号に基づいて前記データ記録領域のデータに対する誤り訂正を行う構成であり、
前記上書き判別部は、前記データ記録領域読取部による誤り訂正の結果に基づいて前記上書き部が存在するか否かを判別することを特徴とする請求項36に記載の証票利用システム。
The generation device generates the voucher in a configuration in which an error correction code recording area in which error correction codes are recorded by a plurality of types of cells is provided in the code area,
The data recording area reading unit of the reading device is configured to perform error correction on data in the data recording area based on the error correction code recorded in the error correction code recording area,
37. The voucher utilization system according to claim 36, wherein the overwrite determination unit determines whether or not the overwrite unit exists based on an error correction result by the data recording area reading unit.
前記生成装置は、前記データ記録領域において、所定種類のデータが記録されると共に当該証票の使用の際にマークが追加形成されるべき第1領域と、前記第1領域に記録されるデータとは異なる種類のデータが記録される第2領域とを設けた構成で前記証票を生成し、
前記上書き判別部は、前記データ記録領域読取部による前記第1領域での誤り訂正の結果に基づいて前記上書き部が存在するか否かを判別することを特徴とする請求項37に記載の証票利用システム。
In the data recording area, the generating device records a predetermined type of data and a first area in which a mark is to be additionally formed when the voucher is used, and data recorded in the first area Generating the voucher in a configuration provided with a second area in which different types of data are recorded;
38. The voucher according to claim 37, wherein the overwrite determination unit determines whether or not the overwrite unit exists based on an error correction result in the first area by the data recording area reading unit. Usage system.
前記生成装置は、前記証票の価格を示す価格情報を前記データ記録領域に記録した構成で前記証票を生成し、
前記読取装置の前記データ記録領域読取部は、前記データ記録領域から前記価格情報を読み取る構成であることを特徴とする請求項29から請求項38のいずれか一項に記載の証票利用システム。
The generation device generates the voucher with a configuration in which price information indicating a price of the voucher is recorded in the data recording area,
The voucher utilization system according to any one of claims 29 to 38, wherein the data recording area reading unit of the reading device is configured to read the price information from the data recording area.
前記生成装置は、前記コード領域の内部において前記特定パターン領域及び前記データ記録領域以外の位置に、前記セルによって解読対象データが記録されない領域である空き領域を、単一の前記セルのサイズよりも大きいサイズで設け、前記空き領域内に前記証票画像表示領域を設けた構成で前記証票を生成することを特徴とする請求項29から請求項39のいずれか一項に記載の証票利用システム。   The generation device may include an empty area in the code area other than the specific pattern area and the data recording area, which is an area where the data to be decoded is not recorded by the cell, rather than a single size of the cell. 40. The voucher utilization system according to any one of claims 29 to 39, wherein the voucher is generated with a configuration in which the voucher image display area is provided in the empty area and the voucher image display area is provided. 前記生成装置は、前記コード領域内での前記証票画像表示領域の位置を示す位置データを前記データ記録領域に記録した構成で前記証票を生成し、
前記読取装置の前記データ記録領域読取部は、前記データ記録領域から前記位置データを読み取る構成であり、
更に、前記データ記録領域読取部によって読み取られた前記位置データに基づいて、前記証票画像表示領域の位置を特定し、当該前記証票画像表示領域の画像を抽出する画像抽出部が設けられていることを特徴とする請求項29から請求項40のいずれか一項に記載の証票利用システム。
The generation device generates the voucher with a configuration in which position data indicating a position of the voucher image display area in the code area is recorded in the data recording area,
The data recording area reading unit of the reading device is configured to read the position data from the data recording area,
Furthermore, an image extraction unit is provided that identifies the position of the voucher image display area based on the position data read by the data recording area reading unit and extracts an image of the voucher image display area. 41. The voucher utilization system according to any one of claims 29 to 40, wherein:
JP2014126387A 2014-06-19 2014-06-19 Method of creating voucher, voucher, voucher reading system, and voucher utilization system Pending JP2016004533A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014126387A JP2016004533A (en) 2014-06-19 2014-06-19 Method of creating voucher, voucher, voucher reading system, and voucher utilization system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014126387A JP2016004533A (en) 2014-06-19 2014-06-19 Method of creating voucher, voucher, voucher reading system, and voucher utilization system

Publications (1)

Publication Number Publication Date
JP2016004533A true JP2016004533A (en) 2016-01-12

Family

ID=55223734

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014126387A Pending JP2016004533A (en) 2014-06-19 2014-06-19 Method of creating voucher, voucher, voucher reading system, and voucher utilization system

Country Status (1)

Country Link
JP (1) JP2016004533A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11232346A (en) * 1997-04-21 1999-08-27 Matsushita Electric Ind Co Ltd Window-use stamp storage management device and stamp sales management system using the same
JP2009009535A (en) * 2007-06-27 2009-01-15 Hirohisa Hirai Frame stamp system with two-dimensional bar code
JP2009157817A (en) * 2007-12-27 2009-07-16 Toshiba Corp Bar code processing apparatus, sorting apparatus and bar code processing method
JP2013030185A (en) * 2008-03-27 2013-02-07 Denso Wave Inc Two-dimensional code, two-dimensional code generating method, computer readable program for displaying two-dimensional code, authentication method using two-dimensional code, and information providing method using two-dimensional code
JP2013069306A (en) * 2012-11-05 2013-04-18 Toshiba Tec Corp Merchandise information reading apparatus, merchandise information processing apparatus and program
WO2013145224A1 (en) * 2012-03-29 2013-10-03 A・Tコミュニケーションズ株式会社 2d code reading device, 2d code reading method, and program
JPWO2014077186A1 (en) * 2012-11-13 2017-01-05 共同印刷株式会社 Two-dimensional code, two-dimensional code creation system and analysis program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11232346A (en) * 1997-04-21 1999-08-27 Matsushita Electric Ind Co Ltd Window-use stamp storage management device and stamp sales management system using the same
JP2009009535A (en) * 2007-06-27 2009-01-15 Hirohisa Hirai Frame stamp system with two-dimensional bar code
JP2009157817A (en) * 2007-12-27 2009-07-16 Toshiba Corp Bar code processing apparatus, sorting apparatus and bar code processing method
JP2013030185A (en) * 2008-03-27 2013-02-07 Denso Wave Inc Two-dimensional code, two-dimensional code generating method, computer readable program for displaying two-dimensional code, authentication method using two-dimensional code, and information providing method using two-dimensional code
WO2013145224A1 (en) * 2012-03-29 2013-10-03 A・Tコミュニケーションズ株式会社 2d code reading device, 2d code reading method, and program
JP2013069306A (en) * 2012-11-05 2013-04-18 Toshiba Tec Corp Merchandise information reading apparatus, merchandise information processing apparatus and program
JPWO2014077186A1 (en) * 2012-11-13 2017-01-05 共同印刷株式会社 Two-dimensional code, two-dimensional code creation system and analysis program

Similar Documents

Publication Publication Date Title
JP6394736B2 (en) Information code generation method, information code, information code reader, and information code utilization system
WO2014098130A1 (en) Information code, information code generation method, information code reader device, and information code usage system
EP2937819B1 (en) System which uses information code
WO2014098128A1 (en) Information code, information code generation method, information code reader device, and information code usage system
EP2937818A1 (en) Information code, information code generation method, information code reader device, and information code usage system
US10147028B2 (en) Method and apparatus for producing information code having an image display region with a code figure
ES2718528T3 (en) Two-dimensional barcode and authentication procedure of said barcode
EP2937817B1 (en) Information code, information code generation method, information code reader device, and information code usage system
JP5023949B2 (en) Two-dimensional code and its reading device
JP6201706B2 (en) Information code usage system
WO2013145224A1 (en) 2d code reading device, 2d code reading method, and program
JP6160528B2 (en) Parking lot use system and parking ticket reader
JP6201705B2 (en) Information code generation method, information code, information code reader, and information code utilization system
JP5904077B2 (en) Information code and information code reading system
JP2015114758A (en) Information code creation method, information code, information code reading device, and information code utilization system
JP6277880B2 (en) Information code medium and information code utilization system
US20170109875A1 (en) Method of and system for verifying authenticity of packaged items
CN107249903A (en) The identification file of personal images including printing
JP6489764B2 (en) Information code generation method, information code, information code reading system, and information code utilization system
JP6414274B2 (en) Information code generation method, information code, information code reader, and information code utilization system
JP2016004533A (en) Method of creating voucher, voucher, voucher reading system, and voucher utilization system
JP2015219646A (en) Optical information reading device
JP6394717B2 (en) Information code generation method, information code, information code reader, and information code utilization system
JP6167956B2 (en) Information code generation method, information code, information code reader, and information code utilization system
JP6171855B2 (en) Information code and information code reader

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170120

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170822

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170829

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171024

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20171219