JP2016201132A - Generation method for information code, information code, information code reader, and information code utilization system - Google Patents
Generation method for information code, information code, information code reader, and information code utilization system Download PDFInfo
- Publication number
- JP2016201132A JP2016201132A JP2016150956A JP2016150956A JP2016201132A JP 2016201132 A JP2016201132 A JP 2016201132A JP 2016150956 A JP2016150956 A JP 2016150956A JP 2016150956 A JP2016150956 A JP 2016150956A JP 2016201132 A JP2016201132 A JP 2016201132A
- Authority
- JP
- Japan
- Prior art keywords
- code
- area
- information
- data
- information code
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 95
- 238000012937 correction Methods 0.000 claims abstract description 147
- 238000013461 design Methods 0.000 claims description 53
- 238000003384 imaging method Methods 0.000 claims description 30
- 238000010586 diagram Methods 0.000 description 29
- 238000006243 chemical reaction Methods 0.000 description 27
- 230000006870 function Effects 0.000 description 10
- 238000004891 communication Methods 0.000 description 9
- 238000005286 illumination Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 238000001514 detection method Methods 0.000 description 7
- 239000011159 matrix material Substances 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 239000004973 liquid crystal related substance Substances 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 3
- 230000010365 information processing Effects 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 239000000463 material Substances 0.000 description 3
- 230000001737 promoting effect Effects 0.000 description 3
- 230000003321 amplification Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000012447 hatching Effects 0.000 description 2
- 238000003199 nucleic acid amplification method Methods 0.000 description 2
- HBBGRARXTFLTSG-UHFFFAOYSA-N Lithium ion Chemical compound [Li+] HBBGRARXTFLTSG-UHFFFAOYSA-N 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000009792 diffusion process Methods 0.000 description 1
- 229910001416 lithium ion Inorganic materials 0.000 description 1
- 230000000873 masking effect Effects 0.000 description 1
- 239000007769 metal material Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 239000011347 resin Substances 0.000 description 1
- 229920005989 resin Polymers 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000005477 standard model Effects 0.000 description 1
Images
Landscapes
- Editing Of Facsimile Originals (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
Description
本発明は、情報コードの生成方法、情報コード、情報コード読取装置、及び情報コード利用システムに関するものである。 The present invention relates to an information code generation method, an information code, an information code reader, and an information code utilization system.
現在では、情報コードの用途が多様化しており、コード領域内に写真や図などを配置するような技術も提案されている。例えば、特許文献1の技術では、2次元コードにおいて単一の値として読み取られる領域を形成するビット列を逆変換した逆変換ビット列を求め、逆変換ビット列を2次元コードのフォーマット情報に基づいて変換して2次元コードを生成することにより、単一の階調値から構成されたデザイン領域を有する特殊2次元コードを生成している。
At present, the use of information codes is diversified, and a technique for arranging photographs and drawings in the code area has also been proposed. For example, in the technique of
上記特許文献1の技術では、例えば、デザイン領域が白のモジュールにより構成されている特殊2次元コードの場合には、白として読み取られる範囲の階調値から構成されたデザインがデザイン領域に形成されるように特殊2次元コードと所与のデザインデータとを合成している。一方、デザイン領域が例えば黒のモジュールにより構成されている特殊2次元コードの場合には、黒として読み取られる範囲の階調値から構成されたデザインがデザイン領域に形成されるように特殊2次元コードと所与のデザインデータとを合成している。
In the technique disclosed in
しかしながら、特許文献1の方法は、コードの生成段階において、誤り訂正符号との関係、及び階調値を大きく考慮してデザイン領域を設定するため、デザイン領域の制約が大きくなるという問題がある。
However, the method of
本発明は、上述した課題を解決するためになされたものであり、コード領域の内部に、データ記録領域及び特定パターン領域以外の空き領域をより自由度高く確保しやすい構成を提供することを目的とする。 The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a configuration in which a free area other than a data recording area and a specific pattern area can be easily secured in a code area. And
第1の発明は、所定のコード領域の内部に情報を表示する単位となるセルを配列した情報コードを情報コード生成装置によって生成する情報コード生成方法であって、
前記コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類の前記セルによってデータを記録するデータ記録領域とを設け、前記コード領域の内部において、前記特定パターン領域の位置に、前記データ記録領域にデータを記録する方法とは異なる方法で、データの記録又はデザインの表示の少なくともいずれかが可能となる空き領域を、単一の前記セルのサイズよりも大きい所定サイズで設け、
前記データ記録領域には、圧縮後のデータが記録されることを特徴とする。
1st invention is the information code generation method which produces | generates the information code which arranged the cell used as the unit which displays information inside a predetermined code area | region with an information code production | generation apparatus,
Provided inside the code area is a specific pattern area in which a specific pattern having a predetermined shape is arranged, and a data recording area for recording data by a plurality of types of the cells. A space area that allows at least one of data recording or design display at a pattern area position different from the method of recording data in the data recording area, rather than the size of a single cell. Provided in a large predetermined size,
The compressed data is recorded in the data recording area.
第2の発明は、所定のコード領域の内部に情報を表示する単位となるセルを配列した情報コードであって、
前記コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類の前記セルによってデータを記録するデータ記録領域とが設けられ、前記コード領域の内部において、前記特定パターン領域の位置に、前記データ記録領域にデータを記録する方法とは異なる方法で、データの記録又はデザインの表示の少なくともいずれかが可能となる空き領域が、単一の前記セルのサイズよりも大きい所定サイズで設けられ、前記データ記録領域には、圧縮後のデータが記録されることを特徴とする。
2nd invention is the information code which arranged 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, and a data recording area for recording data by a plurality of types of cells are provided. A free area that allows at least one of data recording and design display is different from the method of recording data in the data recording area at the position of the specific pattern area. The compressed data is recorded in the data recording area.
第3の発明は、所定のコード領域の内部に情報を表示する単位となるセルを配列した情報コードを読み取る情報コード読取装置であって、
前記情報コードは、前記コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類の前記セルによってデータを記録するデータ記録領域とを設け、前記コード領域の内部において、前記特定パターン領域以外の位置に、前記データ記録領域にデータを記録する方法とは異なる方法で、データの記録又はデザインの表示の少なくともいずれかが可能となる空き領域を、単一の前記セルのサイズよりも大きい所定サイズで設けた構成であり、
前記情報コードを撮像可能な撮像部と、
前記撮像部によって前記情報コードが撮像された場合に、前記データ記録領域の内容に基づいて前記データ記録領域に記録された前記データを解読する解読部と、
を有し、
前記データ記録領域には、圧縮後のデータが記録されることを特徴とする。
A third invention is an information code reader for reading an information code in which cells serving as units for displaying information are arranged in a predetermined code area,
The information code includes a specific pattern area in which a specific pattern having a predetermined shape is arranged in the code area, and a data recording area in which data is recorded by a plurality of types of the cells. A free area in which data recording and / or design display can be performed at a position different from the method of recording data in the data recording area at a position other than the specific pattern area, It is a configuration provided with a predetermined size larger than the size of the cell,
An imaging unit capable of imaging the information code;
A decoding unit for decoding the data recorded in the data recording area based on the content of the data recording area when the information code is imaged by the imaging unit;
Have
The compressed data is recorded in the data recording area.
第4の発明は、所定のコード領域の内部に情報を表示する単位となるセルを配列した情報コードを生成する情報コード生成装置と、
前記情報コード生成装置によって生成された前記情報コードを読み取る情報コード読取装置と、
を備えた情報コード利用システムであって、
前記情報コード生成装置は、
前記コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類の前記セルによってデータを記録するデータ記録領域と、を設け、前記コード領域の内部において、前記特定パターン領域以外の位置に、前記データ記録領域にデータを記録する方法とは異なる方法で、データの記録又はデザインの表示の少なくともいずれかが可能となる空き領域を、単一の前記セルのサイズよりも大きい所定サイズで設け、前記データ記録領域には、圧縮後のデータが記録された構成で前記情報コードを生成し、
前記情報コード読取装置は、
前記情報コード生成装置によって生成された前記情報コードを撮像可能な撮像部を備え、
前記撮像部によって前記情報コードが撮像された場合に、前記データ記録領域の内容に基づいて前記データ記録領域に記録された前記データを解読することを特徴とする。
A fourth invention is an information code generation device for generating an information code in which cells serving as units for displaying information within a predetermined code area are arranged;
An information code reader for reading the information code generated by the information code generator;
An information code using system comprising:
The information code generation device includes:
Provided inside the code area is a specific pattern area in which a specific pattern of a predetermined shape is arranged, and a data recording area for recording data by a plurality of types of the cells. A space that allows at least one of data recording and design display in a position different from the method of recording data in the data recording area at a position other than the specific pattern area is a single cell size. The information code is generated in a configuration in which compressed data is recorded in the data recording area, and is provided with a predetermined size larger than
The information code reader is
An imaging unit capable of imaging the information code generated by the information code generation device;
When the information code is imaged by the imaging unit, the data recorded in the data recording area is decoded based on the contents of the data recording area.
請求項1の発明によれば、コード領域の内部において、特定パターン領域以外の位置に、データ記録領域にデータを記録する方法とは異なる方法で、データの記録又はデザインの表示の少なくともいずれかが可能となる空き領域を設けることができ、利便性をより高めることができる。特に、空き領域は、データ記録領域にデータを記録する方法とは異なる方法で、データの記録又はデザインの表示の少なくともいずれかが可能であるため、空き領域を構成する上で、データ記録領域に起因する制約を極力抑えることができる。 According to the first aspect of the present invention, at least one of data recording and design display is performed in a method different from the method of recording data in the data recording area at a position other than the specific pattern area in the code area. An available free space can be provided, and convenience can be further enhanced. In particular, the free area is different from the method of recording data in the data recording area, and at least one of data recording and design display is possible. The resulting restrictions can be minimized.
請求項2の発明によれば、コード領域の内部に、データ記録領域、誤り訂正符号記録領域、特定パターン領域以外の領域が確保された情報コードを生成することができる。特に、空き領域は、誤り訂正符号記録領域による誤り訂正の対象とならず、この空き領域に対しては誤り訂正符号を設定する必要がないため、データ記録領域に対して効率的に且つ効果的に誤り訂正符号を付すことができる。
According to the invention of
請求項3の発明によれば、予め定められた配置位置情報を用いて解読可能な構成で、空き領域を有する特徴的な情報コードを生成することができる。 According to the third aspect of the present invention, it is possible to generate a characteristic information code having a vacant area with a configuration that can be decoded using predetermined arrangement position information.
請求項4の発明によれば、空き領域を有する特徴的な情報コードであるか否かを所定位置のフォーマット構成によって判別できるように情報コードを生成することができる。
According to the invention of
請求項5の発明によれば、空き領域を有する特徴的な情報コードであるか否かを所定位置のマスクパターンによって判別できるように、情報コードを生成することができる。特に、フォーマット情報のデータ量が抑えられた「特定のフォーマット構成」を良好に特定しうる。 According to the fifth aspect of the present invention, it is possible to generate an information code so that it can be determined by a mask pattern at a predetermined position whether or not it is a characteristic information code having an empty area. In particular, it is possible to satisfactorily specify a “specific format configuration” in which the data amount of the format information is suppressed.
請求項6の発明では、空き領域に、図形、模様、色彩又はこれらの結合からなるデザイン、又は1又は複数の記号によって表わされる情報の少なくともいずれかが表示されるため、上述の情報コードを、デザイン又は情報と関連させつつ使用することができる。例えば、情報コードの記録内容に関連するデザインや情報を空き領域に表示するといった対応が可能となり、読取促進等の効果が期待できる。
In the invention of
請求項7の発明によれば、コード領域の内部において、特定パターン領域以外の位置に、データ記録領域にデータを記録する方法とは異なる方法で、データの記録又はデザインの表示の少なくともいずれかが可能となる空き領域を設けることができ、利便性をより高めることができる。特に、空き領域は、データ記録領域にデータを記録する方法とは異なる方法で、データの記録又はデザインの表示の少なくともいずれかが可能であるため、空き領域を構成する上で、データ記録領域に起因する制約を極力抑えることができる。
According to the invention of
請求項8の発明によれば、コード領域の内部において、データ記録領域、誤り訂正符号記録領域、特定パターン領域以外の領域を確保することができる。特に、空き領域は、誤り訂正符号記録領域による誤り訂正の対象とならず、この空き領域に対しては誤り訂正符号を設定する必要がないため、データ記録領域に対して効率的に且つ効果的に誤り訂正符号が付されることとなる。 According to the eighth aspect of the present invention, areas other than the data recording area, the error correction code recording area, and the specific pattern area can be secured within the code area. In particular, the empty area is not subject to error correction by the error correction code recording area, and it is not necessary to set an error correction code for this empty area, so that it is efficient and effective for the data recording area. An error correction code will be added to.
請求項9の発明によれば、特定の読取装置(予め定められた配置位置情報を把握し得る読取装置)のみが、所定位置のフォーマット情報を読み取ることを条件として各データワードを読み取ることができる。 According to the ninth aspect of the invention, only a specific reading device (a reading device capable of grasping predetermined arrangement position information) can read each data word on condition that the format information at a predetermined position is read. .
請求項10の発明によれば、特定の読取装置(予め定められた配置位置情報を把握し得る読取装置)が、空き領域を有する特徴的な情報コードであるか否かを所定位置のマスクパターンによって判別できるようになる。特に、フォーマット情報のデータ量が抑えられた「特定のフォーマット構成」を良好に特定しうる。
According to the invention of
請求項11の発明では、空き領域に、図形、模様、色彩又はこれらの結合からなるデザイン、又は1又は複数の記号によって表わされる情報の少なくともいずれかが表示されるため、上述の情報コードを、デザイン又は情報と関連させつつ使用することができる。例えば、情報コードの記録内容に関連するデザインや情報を空き領域に表示するといった対応が可能となり、読取促進等の効果が期待できる。 In the invention of claim 11, since at least one of information represented by a figure, a pattern, a color, a design composed of a combination thereof, or information represented by one or a plurality of symbols is displayed in the empty area, the information code described above is Can be used in conjunction with design or information. For example, it is possible to cope with the design and information related to the recorded contents of the information code in a free area, and the effect of promoting reading can be expected.
請求項12の発明によれば、空き領域を備えた特徴的な情報コードを読み取ることが可能な読取装置を実現できる。
According to the invention of
請求項13の発明によれば、データ記録領域については誤り訂正符号記録領域の記録内容に基づいて誤りを訂正することが可能となり、空き領域については、誤り訂正の対象としないように扱うことができる。
According to the invention of
請求項14の発明では、判別部によって所定位置のフォーマット構成を確認することで、特徴的な情報コード(空き領域を備えた情報コード)であるか否かを判別できるようになる。そして、特定のフォーマット構成であると判別できた場合には、コード領域での複数のデータワードの各配置位置を特定し得る情報(対応情報)に基づいてコード領域内の各データワードの位置を特定することができ、解読対象データを解読することができる。 In the fourteenth aspect of the present invention, it is possible to determine whether or not the information is a characteristic information code (information code having an empty area) by checking the format configuration at a predetermined position by the determination unit. If it can be determined that the format is a specific format, the position of each data word in the code area is determined based on information (corresponding information) that can specify the arrangement positions of the plurality of data words in the code area. The data to be decrypted can be decrypted.
請求項15の発明によれば、所定位置にかけられたマスクパターンの種別を解析することで、特徴的な情報コード(空き領域を備えた情報コード)であるか否かをより確実に判別できる。 According to the fifteenth aspect of the present invention, by analyzing the type of the mask pattern applied to the predetermined position, it is possible to more reliably determine whether or not the information code is a characteristic information code (information code having a free area).
請求項16の発明によれば、他種コードの読み取りの仕組みを利用して特徴的な情報コード(空き領域を備えた情報コード)を良好に読み取ることができる。 According to the sixteenth aspect of the present invention, it is possible to satisfactorily read a characteristic information code (an information code having an empty area) using a mechanism for reading other types of codes.
請求項17の発明によれば、コード領域の内部において、特定パターン領域以外の位置に、データ記録領域にデータを記録する方法とは異なる方法で、データの記録又はデザインの表示の少なくともいずれかが可能となる空き領域を設けることができ、利便性をより高めることができる。特に、空き領域は、データ記録領域にデータを記録する方法とは異なる方法で、データの記録又はデザインの表示の少なくともいずれかが可能であるため、空き領域を構成する上で、データ記録領域に起因する制約を極力抑えることができる。
According to the invention of
請求項18の発明によれば、コード領域の内部に、データ記録領域、誤り訂正符号記録領域、特定パターン領域以外の領域が確保された情報コードを生成することができる。特に、空き領域は、誤り訂正符号記録領域による誤り訂正の対象とならず、この空き領域に対しては誤り訂正符号を設定する必要がないため、データ記録領域に対して効率的に且つ効果的に誤り訂正符号を付すことができる。
According to the invention of
請求項19の発明では、情報コード読取装置が判別部によって所定位置のフォーマット構成を確認することで、情報コード生成装置によって生成された特徴的な情報コード(空き領域を備えた情報コード)であるか否かを判別できるようになる。そして、特定のフォーマット構成であると判別できた場合には、コード領域での複数のデータワードの各配置位置を特定し得る情報(対応情報)に基づいてコード領域内の各データワードの位置を特定することができ、解読対象データを解読することができる。 In the nineteenth aspect of the invention, the information code reader confirms the format configuration at a predetermined position by the determination unit, and is a characteristic information code (information code having an empty area) generated by the information code generator. It becomes possible to determine whether or not. If it can be determined that the format is a specific format, the position of each data word in the code area is determined based on information (corresponding information) that can specify the arrangement positions of the plurality of data words in the code area. The data to be decrypted can be decrypted.
請求項20の発明によれば、所定位置にかけられたマスクパターンの種別によって情報コード生成装置によって生成された特徴的な情報コード(空き領域を備えた情報コード)であるか否かを確実に判別できるようになり、フォーマット情報のデータ量を抑えつつ「特定のフォーマット構成」を実現しやすくなる。 According to the twentieth aspect of the present invention, it is surely determined whether or not the information code is a characteristic information code (information code having a free area) generated by the information code generation device according to the type of the mask pattern applied to the predetermined position. As a result, it becomes easy to realize a “specific format configuration” while suppressing the data amount of the format information.
請求項21の発明によれば、他種コードの読み取りの仕組みを利用して特徴的な情報コード(空き領域を備えた情報コード)を良好に読み取ることができる。 According to the twenty-first aspect of the present invention, it is possible to satisfactorily read a characteristic information code (an information code having an empty area) using a mechanism for reading other types of codes.
請求項22の発明では、空き領域において、図形、模様、色彩又はこれらの結合からなるデザイン、又は1又は複数の記号によって表わされる情報の少なくともいずれかが表示されているため、上述の情報コードを、デザイン又は情報と関連させつつ使用することができる。例えば、情報コードの記録内容に関連するデザインや情報を空き領域に表示するといった対応が可能となり、読取促進等の効果が期待できる。
In the invention of
[第1実施形態]
以下、本発明を具現化した第1実施形態について、図面を参照して説明する。
図1に示す情報コード利用システム1は、所定のコード領域の内部に情報を表示する単位となるセルを配列した情報コード100を生成する情報コード生成装置2と、情報コード生成装置2によって生成された情報コード100を読み取る情報コード読取装置10とを備えた構成をなしている。
[First embodiment]
Hereinafter, a first embodiment embodying the present invention will be described with reference to the drawings.
An information
(情報コード生成装置)
情報コード生成装置2は、例えばパーソナルコンピュータ等の情報処理装置として構成されており、CPUなどからなる制御部3と、キーボード、マウス、その他の入力装置からなる操作部4と、ROM、RAM、HDD、不揮発性メモリ等の記憶装置からなる記憶部5と、公知の表示装置(液晶ディスプレイやその他の表示デバイス)などからなる表示部6と、外部装置と有線通信或いは無線通信を行うための通信インタフェースとして機能する通信部7と、公知のプリンタ等と同様のハードウェア構成をなし且つ制御部3からの印刷データに基づいて情報コード100等を印刷可能な印刷部8(印刷装置)とを備えている。
(Information code generator)
The information
(情報コード読取装置)
次に、情報コード読取装置10の全体構成について説明する。図2に示すように、情報コード読取装置10は、ハードウェア的には二次元コードを読取可能なコードリーダとして構成されており、図示しないケースによって外郭が構成され、このケース内に各種電子部品が収容された構成をなしている。
(Information code reader)
Next, the overall configuration of the
この情報コード読取装置10は、主に、照明光源21、受光センサ23、フィルタ25、結像レンズ27等の光学系と、メモリ35、制御回路40、操作スイッチ42、液晶表示装置46等のマイクロコンピュータ(以下「マイコン」という)系と、電源スイッチ41、電池49等の電源系と、から構成されている。なお、これらは、図略のプリント配線板に実装あるいはケース(図示略)内に内装されている。
The
光学系は、照明光源21、受光センサ23、フィルタ25、結像レンズ27等から構成されている。照明光源21は、照明光Lfを発光可能な照明光源として機能するもので、例えば、赤色のLEDとこのLEDの出射側に設けられる拡散レンズ、集光レンズ等とから構成されている。本実施形態では、受光センサ23を挟んだ両側に照明光源21が設けられており、ケースに形成された読取口(図示略)を介して読取対象物Rに向けて照明光Lfを照射可能に構成されている。この読取対象物Rとしては、例えば、樹脂材料、金属材料等の様々な対象が考えられ、このような読取対象物Rに例えば図1のような情報コード100(後述)が印刷、ダイレクトマーキングなどによって形成されている。
The optical system includes an
受光センサ23は、情報コード100(後述)を撮像可能な「撮像部」の一例に相当し、読取対象物Rや情報コード100に照射されて反射した反射光Lrを受光可能に構成されるもので、例えば、C−MOSやCCD等の固体撮像素子である受光素子を2次元に配列したエリアセンサが、これに相当する。この受光センサ23は、結像レンズ27を介して入射する入射光を受光面23aで受光可能に図略のプリント配線板に実装されている。
The
フィルタ25は、例えば反射光Lrの波長相当以下の光の通過を許容し、当該波長相当を超える光の通過を遮断し得る光学的なローパスフィルタで、ケースに形成された読取口(図示略)と結像レンズ27との間に設けられている。これにより、反射光Lrの波長相当を超える不要な光が受光センサ23に入射することを抑制している。また、結像レンズ27は、例えば、鏡筒とこの鏡筒内に収容される複数の集光レンズとによって構成されており、本実施形態では、ケースに形成された読取口(図示略)に入射する反射光Lrを集光し、受光センサ23の受光面23aに情報コード100のコード画像を結像するように構成されている。
The
マイコン系は、増幅回路31、A/D変換回路33、メモリ35、アドレス発生回路36、同期信号発生回路38、制御回路40、操作スイッチ42、LED43、ブザー44、液晶表示装置46、通信インタフェース48等から構成されている。このマイコン系は、マイコン(情報処理装置)として機能し得る制御回路40及びメモリ35を中心として構成され、前述した光学系によって撮像された情報コード100の画像信号をハードウェア的およびソフトウェア的に信号処理し得るものである。
The microcomputer system includes an
光学系の受光センサ23から出力される画像信号(アナログ信号)は、増幅回路31に入力されることで所定ゲインで増幅された後、A/D変換回路33に入力され、アナログ信号からディジタル信号に変換される。そして、ディジタル化された画像信号、つまり画像データ(画像情報)は、メモリ35に入力され、当該メモリ35の画像データ蓄積領域に蓄積される。なお、同期信号発生回路38は、受光センサ23およびアドレス発生回路36に対する同期信号を発生可能に構成されており、またアドレス発生回路36は、この同期信号発生回路38から供給される同期信号に基づいて、メモリ35に格納される画像データの格納アドレスを発生可能に構成されている。
An image signal (analog signal) output from the
メモリ35は、半導体メモリ装置などによって構成され、例えばRAM(DRAM、SRAM等)やROM(EPROM、EEPROM等)等がこれに相当する。このメモリ35のうちのRAMには、前述した画像データ蓄積領域のほかに、制御回路40が算術演算や論理演算等の各処理時に利用する作業領域や読取条件テーブルも確保可能に構成されている。またROMには、後述する読取処理等を実行可能な所定プログラムやその他、照明光源21、受光センサ23等の各ハードウェアを制御可能なシステムプログラム等が予め格納されている。
The
制御回路40は、情報コード読取装置10全体を制御可能なマイコンで、CPU、システムバス、入出力インタフェース等からなるものであり、情報処理機能を有している。この制御回路40には、内蔵された入出力インタフェースを介して種々の入出力装置(周辺装置)が接続されており、本実施形態の場合、電源スイッチ41、操作スイッチ42、LED43、ブザー44、液晶表示装置46、通信インタフェース48等が接続されている。また、通信インタフェース48には、情報コード読取装置10の上位システムに相当するホストコンピュータHSTなどを接続できるようになっている。
The
電源系は、電源スイッチ41、電池49等により構成されており、制御回路40により管理される電源スイッチ41のオンオフによって、上述した各装置や各回路に、電池49から供給される駆動電圧の導通や遮断が制御されている。なお、電池49は、所定の直流電圧を発生可能な2次電池で、例えば、リチウムイオン電池等がこれに相当する。
The power supply system includes a
(情報コード)
次に、図1の情報コード利用システムで利用される情報コード100について図1、図5等を参照して説明する。なお、図1の例と図5右図の例では、セル配列や特定パターンのサイズが若干異なるが基本的な考えは同様であり、同様の特徴を有している。図1、図5等に示す情報コード100は、例えば上述の情報コード生成装置2によって生成されるものであり、所定のコード領域の内部に情報を表示する単位となるセル102を配列した構成となっている。なお、図1、図5等の情報コード100において、「コード領域」は、複数配列された暗色セルを全て含み得る矩形状の領域であり、具体的には、3つの位置検出パターン(切り出しシンボル)104を全て含む最小の正方形又は長方形領域となっている。なお、図1、図5等の例では、複数のセル102が、矩形状(例えば外径が正方形状)の明色(白色)セル及び暗色(黒色)セルのいずれかによって構成されており、コード領域の内部において後述する空き領域110の周囲にこれらセル102がマトリックス状に配置されている。また、情報コード100において上記コード領域の周囲には、当該コード領域を取り囲むように明色又は暗色のマージン領域が構成されるようになっており、図1、図5等の例では、明色のマージン領域がコード領域の周囲に隣接して配置されている。
(Information code)
Next, the
この情報コード100は、矩形状(例えば、正方形状或いは長方形状等)のコード領域の内部に、予め定められた形状の特定パターン(具体的には、単一のセルよりも広い領域の固定図形)が配置される特定パターン領域と、複数種類のセル102によってデータを記録するデータ記録領域と、複数種類のセル102によって誤り訂正符号を記録する誤り訂正符号記録領域とが設けられている。図1、図5等のように、情報コード100の特定パターンは、例えば、QRコード(登録商標)の公知の所定型番(図5の例では、JIS等で規格化されたQRコードの所定型番)の特定パターンと同一の形状及び位置となっており、図1、図5等の例では、コード領域の3つの角部にそれぞれ、特定パターンとしての位置検出パターン(切り出しシンボル)104が配置されている。また、上記所定型番において予め定められた位置に、特定パターンとしてのタイミングパターン106やアライメントパターン108も設けられている。なお、タイミングパターン106やアライメントパターン108が設けられていなくてもよい。
This
このように、情報コード100では、コード領域内に、予め定められた位置に決まった形状の特定パターン(位置検出パターン104、タイミングパターン106、アライメントパターン108(図5では省略))が配置されるようになっている。なお、コード領域の内部において、後述する空き領域110以外の位置は、このような特定パターンの領域、記録領域(データ記録領域及び誤り訂正符号記録領域のいずれかからなる領域)などによって構成されている。
In this way, in the
情報コード100のセルの行数及び列数、特定パターンの形状及び位置、フォーマット情報の位置、コードワードの候補位置(コードワードの配置順序を特定するアドレス)等は読取装置10がどのような方法で把握してもよい。例えば、情報コード100の種別において複数の型番が設けられていてもよく、この場合、型番毎にセルの行数及び列数、特定パターンの形状及び位置、フォーマット情報の位置、コードワードの候補位置(アドレス)が予め定められていればよい。そして、型番情報がコード領域内の決められた位置(予約領域)に配置されていれば、読取装置10はこの型番情報の位置を既知の位置として把握しておき、この型番情報に基づいて情報コード100のセルの行数及び列数、特定パターンの形状及び位置、フォーマット情報の位置、コードワードの候補位置(アドレス)を把握できるようになる。なお、この方法に限定されるものではなく、読取装置10が把握し得る方法であれば他の方法でもよい。
The
そして、コード領域の内部において、特定パターン領域、データ記録領域、誤り訂正符号記録領域以外の位置には、セルによって解読対象データ(読取結果として出力対象となるデータ)が記録されない領域(具体的には、セル102によってデータが記録されない領域であり且つ誤り訂正符号による誤り訂正の対象にならない領域)である空き領域110が、単一のセル102のサイズよりも大きいサイズで設けられている。この空き領域110は、セルによってデータ記録領域や誤り訂正符号記録領域を記録する方法とは異なる方法でのデータの記録、或いはデザインの表示が可能となっている。
In the code area, the area where the data to be decoded (data to be output as the read result) is not recorded by the cell (specifically, in positions other than the specific pattern area, the data recording area, and the error correction code recording area) , An
図1、図5等の例では、データ記録領域、誤り訂正符号記録領域がコード領域の周縁に沿って環状且つ矩形状に配置されており、コード領域の中央部に空き領域110が構成されている。
In the example of FIG. 1, FIG. 5, etc., the data recording area and the error correction code recording area are arranged annularly and rectangularly along the periphery of the code area, and a
なお、以下の説明では、図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
また、図5右図では、空き領域110の周囲に配置される各コードワードの領域を破線枠等によって概念的に示している。また、フォーマット情報を記録する領域(所定位置105)は、所定種類のハッチングにて概念的に示している。なお、フォーマット情報を記録する領域や、コードワードを記録する領域では、升目のみを示し、セルの具体的配列を省略して示している。また、図5右図の例では、セル配列と対応付けるべく空き領域110(コード領域の中央部分)の内部に升目を付しているが、空き領域110の構成は自由であり、図1のように絵柄を付してもよく、記号や模様を付してもよく、或いは空白としてもよい(図10(A)〜(C)参照)。
In the right diagram of FIG. 5, each codeword area arranged around the
フォーマット情報(形式情報)は、例えば図6のように構成されて情報コード100内の所定位置105(所定種類のハッチング位置)に特定のフォーマット構成で記録されている。このフォーマット情報は、誤り訂正レベルを特定する訂正レベル情報と、マスク番号を特定するマスク番号情報とを含んでいる。訂正レベル情報は、情報コード100で用いる誤り訂正レベルを特定する情報であり、例えば他種コード120に変換して読み取る場合の当該他種コード120で用いる誤り訂正レベルにも相当する。また、マスク番号は、情報コード100のコードワード領域(データコードワードや誤り訂正コードワードが記録されている領域)にかけられているマスクがどのマスク種別であるかを特定する情報である。なお、このような訂正レベル情報やマスク番号は、QRコード(登録商標)の方式と同様の方式で設定してもよく、誤り訂正レベルやマスク種別が特定できる方式であれば他の方式で設定してもよい。情報コード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
図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 reflects a predetermined type of mask pattern (specific mask) (a state in which a predetermined type of mask pattern is applied to a light and dark array representing data indicating format information by a known mask method). And the specific code type (type provided with the free space 110) as shown in the right diagram of FIG. 5 by identifying the mask type of the format information in the same manner as a known QR code. It can be detected. For example, when the
この情報コード100では、特定パターン(位置検出パターン104等)を検出し、公知のQRコードと同様の方法でコード領域、コードの向き、各セル位置を特定した後、公知のQRコードと同様の方法でフォーマット情報が記録された所定位置105を解読することで、解読時に成功したマスクの種別により情報コード100の種別(空き領域110を有する特別種類)であることを特定することができる。そして、解読されたフォーマット情報により、情報コード100で用いる誤り訂正レベルを特定でき、且つ情報コード100のコードワード領域(データコードワードや誤り訂正コードワードが記録されている領域)にかけられているマスク種別を特定できるようになっている。なお、所定位置105は、読取装置10が予め把握しておけばよい。
In this
情報コード100に記録する内容は、例えば、図3のような構成をなしており、データ配列の先頭部分にヘッダデータが設定され、ヘッダデータの後に入力データ(解読対象データ)が続くようになっている。なお、図3の例では、入力データ(解読対象データ)については、例えば公知の方法で圧縮し、データワード(データコードワード)に変換しているが、このような圧縮を行わなくてもよい。なお、情報コード100で用いるヘッダデータは、以降の説明では、「額縁QR用ヘッダー」とも称する。また、本明細書では、このようなヘッダデータ及び入力データ(解読対象データ)のデータワード(データコードワード)を記録する領域、及び上述のフォーマット情報を記録する領域が「データ記録領域」に相当する。また、図3の例では、ヘッダデータ(額縁QR用ヘッダー))として、後述する他種コード120(情報コード100を解読するために用いるコード種別であり、配置変換表(図5)によって情報コード100と対応付けられたコード)の種別(型番)を特定し得る情報(図3では、Ver.番号と例示)や、空き領域内の形式を特定し得る識別情報が記録されている。
The content recorded in the
そして、入力データ(解読対象データであるデータワード)の後には誤り訂正符号となる誤り訂正コードワード(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
また、情報コード100では、解読対象データ(出力対象となるデータ)を表現する各データワード(データコードワード)や誤り訂正コードワードが予め定められた配置位置情報に基づいてコード領域内に配置されている。本構成では、図5のように、情報コード100のコード領域内において予め各コードワードの配置候補位置が定められており、各配置候補位置にそれぞれ番号(アドレス)が割り当てられている。そして、配置位置情報は、図3に示す記録内容を構成する各コードワードをそれぞれどの配置候補位置に配置すべきかを特定する情報となっている。なお、図5右図の例では、1〜25番の配置候補位置を概略的に例示しており、各配置候補位置では、先頭と最後のビット部分に番号を付して明示している。また、図5では、26番以降の配置候補位置は省略している。
In the
具体的には、他種コード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
一方、図5に示す配置位置情報(配置変換表)では、このように他種コード120で予め定められた各配置位置(各順番のコードワードの配置位置)の番号を、情報コード100において予め定められた候補位置(各コードワードの配置候補位置)の番号にそれぞれ対応付けている。具体的には、「他種コード120における1番目のコードワードの配置位置が情報コード100の1番目の配置候補位置に相当」、「他種コード120における2番目のコードワードの配置位置が情報コード100の2番目の配置候補位置に相当」、「他種コード120における3番目のコードワードの配置位置が情報コード100の3番目の配置候補位置に相当」といった情報が、例えばテーブルデータなどとしてそれぞれ記録されており、他種コード120における各番号のコードワードの配置位置を、情報コード100の各配置候補位置にそれぞれ対応付けている。このように構成されているため、情報コード100を解読する場合には、コード領域内の各配置候補位置のコードワード(各アドレスのコードワード)を配置位置情報(配置変換表)で対応付けられた他種コード120の各配置位置にそれぞれ配置し直し、このように配置し直された他種コード120を公知の方法(例えば、公知のQRコードデコード方法)で解読すれば良い。例えば、図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
(情報コードの生成処理)
次に、図8等を参照して情報コード生成処理及び情報コード生成方法について説明する。以下では、図5のように他種コード120がQRコード(登録商標)であり、情報コード100がQRコードと同様の特定パターンを有する場合を例に挙げて説明する。なお、この例では、空き領域110を有する情報コード100を「額縁QR」とも称する。
(Information code generation process)
Next, an information code generation process and an information code generation method will be described with reference to FIG. In the following, a case where the
図8の情報コード生成処理は、情報コード生成装置2によって行われる処理であり、例えば、操作部4での所定操作によって実行開始される。この処理では、まず、外部からコード化するデータ(解読対象データ)と、属性データと、コード種別データ(情報コード100を生成するか、一般的な二次元コード(例えば一般的なQRコード)を生成するかを特定するデータ)を取得する(S1)。なお、本構成では、制御部3、操作部4が「データ取得部」の一例に相当し、解読対象データ(外部からの入力データ)を取得するように機能する。また、このような例に限らず、例えば、制御部3と通信部7が「データ取得部」として構成され、外部から通信によって入力されるデータを解読対象データとして取得するように機能してもよい。
The information code generation process of FIG. 8 is a process performed by the information
S1でデータを取得した後には、その取得したデータを圧縮する方法を公知の方法で定め(S2)、入力データを圧縮したデータ(解読対象データ)を複数のデータワード(データコードワード)で表現する(S3)。そして、S3の後には、S1で取得されたコード種別データが、空き領域110を有する情報コード100の種別(額縁QR)であるか否かを判断する。S1で取得されたコード種別データが、空き領域110を有する情報コード100の種別(額縁QR)である場合には、S4にてYesに進み、空き領域110を有する情報コード100の種別(額縁QR)で用いられる特有のヘッダデータ(上述)を生成し、図3のように複数のデータワードを含んだデータ配列の先頭にセットする(S5)。図3のヘッダデータには、後述する他種コード120の種別(型番、形式)を特定し得る情報(バージョン番号情報等)が記録されることになる。一方、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
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
一方、S1で取得されたコード種別データが、空き領域110を有する情報コード100の種別(額縁QR)である場合には、S7にてYesに進み、S3、S5で生成されたデータワード(データコードワード)と、S6で生成された誤り訂正ワード(誤り訂正コードワード)と、空き領域と、を格納しうる二次元コード(図5、図8の例ではQRコード)の型番を決定する(S10)。なお、空き領域のサイズは、予め定められた一定サイズであってもよく、S10の前段階でユーザが入力などによって指定してもよい。また、空き領域のサイズは、行数及び列数で特定してもよく、何ワード分に相当するかによって特定してもよい。図5、図8の例では、例えば情報コード100の種別で予め定められた複数の型番(サイズ)において、S3、S5で生成されたデータワード(データコードワード)、S6で生成された誤り訂正ワード(誤り訂正コードワード)、及び空き領域を格納しうるサイズの型番を決定することになる。なお、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
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番の配置候補位置に配置する。このように、他種コード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 information
つまり、S3、S5で生成されたデータワード及びS6で生成された誤り訂正ワードだけなら、情報コード100よりも小サイズの他種コード120(公知のQRコードとして構成されたもの)で表現できるが、S3、S5で生成されたデータワード、S6で生成された誤り訂正ワード、及び空き領域110を格納する場合には、これよりも大きいサイズの情報コード100によって表現する必要がある。そこで、本実施形態では、S3、S5で生成されたデータワード、S6で生成された誤り訂正ワード、及び空き領域110を、大きいサイズの情報コード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
なお、本構成では、図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
S9又はS11の後には、S9又はS11で配置場所が決定されたコードワードに対してかけるべきマスクパターンを公知の所定方法(例えばQRコードで用いられる公知方法)で決定し、その決定されたマスクパターンをS9又はS11で配置場所が決定されたコードワードに反映するように公知のマスク処理方法でマスクをかける(S12)。そして、S12で設定したマスクパターンの情報(マスク番号)及び誤り訂正レベルの情報に基づいてチェックデジットを算出し、図6のように誤り訂正レベル、マスク番号、チェックデジットを含んだフォーマット情報を生成する(S13)。 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).
そして、S1で取得されたコード種別データが、空き領域110を有する情報コード100の種別(額縁QR)である場合には、S14にてYesに進み、S13で生成されたフォーマット情報に、上述の特定マスク(額縁QRマスク)を反映するようにマスク処理を行う(図6参照)。一方、S1で取得されたコード種別データが、空き領域110を有する情報コード100の種別(額縁QR)でない場合には、S14にてNoに進み、S16で設定するマスクパターンとは異なるマスクパターンのマスク(モデル1のマスク又はモデル2のマスク)をセットする。S15又はS16によりフォーマット情報に対してマスクをかけた後には、そのマスク処理後のフォーマット情報をコード領域内の所定位置(例えば、情報コード100であれば所定位置105(図5))に配置する(S17)。このようにして情報コード100又は他の二次元コードが生成された後には、そのコードを印刷部8によって印刷する(S18)。なお、S18では、印刷に代えて、表示部6にて情報コード100等の表示を行ってもよく、S17までの処理によって生成された情報コード100のデータを外部装置に送信してもよい。
If the code type data acquired in S1 is the type (frame QR) of the
本構成では、情報コード生成装置2の制御部3が「データ記録領域生成部」の一例に相当し、コード領域の内部に空き領域110を設ける場合、コード領域内の所定位置に特定のフォーマット構成でフォーマット情報を記録し、且つ、データ取得部で取得された解読対象データ(入力データ)を表現する各データワードを、配置位置情報記録部に記録された配置位置情報に基づいて配置するように、データ記録領域を生成している。また、制御部3によって構成される「データ記録領域生成部」では、コード領域の内部に空き領域110を設ける場合、所定種類のマスクパターン(特定マスク)を反映した状態で所定位置105のセル配列を構成している。
In this configuration, the
(情報コードの読取処理)
次に、図2の情報コード読取装置10によって図1、図5右図等に示す情報コード100を読み取る場合の処理について説明する。図9の読取処理は、例えばユーザによって所定操作(例えば、操作スイッチ42の操作等)がなされたときに実行されるものであり、まず、図9のS21に示すように、情報コード100の撮像し、当該情報コード100の画像を取得すると共に、情報コード100の外形を検出する。具体的には、位置検出パターン104を公知の方法(QRコードで行われる公知の方法)で検出し、QRコードで行われる公知の方法で情報コード100の外形を検出する。なお、受光センサ23は、「撮像部」の一例に相当し、情報コード生成装置2によって生成された情報コード100を撮像するように機能する。
(Information code reading process)
Next, processing when the
S21の後には、情報コード100の所定位置の情報(フォーマット情報)を解読し、情報コード100の種別及びマスク訂正レベルを取得する(S22)。上述したように、所定位置105に記録された情報を上述の特定マスク(額縁QR用マスク)に基づいてマスク処理を解除して解読したときにチェックデジットが合う場合には、情報コード100の種別(空き領域110を有する種別)であること特定することでき、フォーマット情報に含まれる誤り訂正レベル及びマスク番号も取得できることとなる。そして、S22で取得されたフォーマット情報に含まれるマスク番号に基づいてコード全体(具体的には、コードワードの領域)のマスクを解除する(S23)。そして、読み取り対象が空き領域110を有する情報コード100である場合(即ち、上述の特定マスク(額縁QR用マスク)によってマスク解除が成功した場合)、S24にてYesに進み、データワードの先頭に設けられたヘッダーデータ(額縁QRヘッダー:図3)を解読することで、元のコードサイズ(他種コード120の型番)を特定し(S25)、図5と同様の配置変換表に従って、図5右図に示すような情報コード100から図5左図に示すような元のコード(他種コード120)の配置に戻す(S26)。具体的には、情報コード100の各配置候補位置のコードワードを、配置変換表において各配置候補位置に対応付けられている他種コード120内での配置位置に配置し直す。そして、S24でNoの場合又はS26の後には、セル配置(S24でNoに進む場合、読取対象のQRコードのセル配置であり、S26の後の場合、S26で配置された他種コード120のセル配置)から、記録されている各コードワードを特定・作成する(S27)。そして、誤り訂正符号記録領域の誤り訂正コードワードに基づいて公知の方法で誤り訂正計算を実施し、データ記録領域のコードワードを解読する(S29)。そして、S29で解読したデータ(解読対象データ)を表示部での表示、データ送信、印刷などによって出力する(S30)。なお、S30の処理としては、S29で解読したデータをそのままを出力してもよく、他の処理を付加してもよい。
After S21, the information (format information) at a predetermined position of the
本構成では、制御回路40が「判別部」の一例に相当し、撮像部によって情報コード100が撮像された場合に、コード領域の所定位置105が特定のフォーマット構成であるか否かを判別するように機能する。具体的には、所定位置105に所定種類のマスクパターン(特定マスク)が反映されているか否かを判別するように機能する。
In this configuration, the
制御回路40は、「解読部」の一例に相当し、撮像部によって情報コード100が撮像された場合に、データ記録領域及び誤り訂正符号記録領域の内容に基づいてデータ記録領域に記録されたデータを解読するように機能し、具体的には、判別部によって所定位置105が特定のフォーマット構成であると判別された場合(より詳しくは、所定位置105に所定種類のマスクパターンが反映されている場合)に、対応情報記録部に記録された対応情報(配置変換表)に基づいてコード領域内の各データワードの位置を特定し、解読対象データを解読するように機能する。
The
なお、配置変換表は、「対応情報」の一例に相当し、コード領域において各配置位置で表される各順番のデータワードを、情報コード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
以上のような本構成によれば、コード領域の内部に、データ記録領域、誤り訂正符号記録領域、特定パターン領域以外の領域が確保された情報コード100を生成することができる。特に、空き領域110は、誤り訂正符号記録領域による誤り訂正の対象とならず、この空き領域110に対しては誤り訂正符号を設定する必要がないため、データ記録領域に対して効率的に且つ効果的に誤り訂正符号を付すことができる。
According to this configuration as described above, it is possible to generate the
また、情報コード生成装置2は、解読対象データを取得するデータ取得部と、解読対象データを表現する複数のデータワードをコード領域に配置する際の各配置位置を特定する配置位置情報を記録する配置位置情報記録部と、コード領域の内部に空き領域110を設ける場合、コード領域内の所定位置に特定のフォーマット構成でフォーマット情報を記録し、且つ、データ取得部で取得された解読対象データを表現する各データワードを、配置位置情報記録部に記録された配置位置情報に基づいて配置するように、データ記録領域を生成するデータ記録領域生成部と、を備えている。一方、情報コード読取装置10は、配置位置情報記録部に記録される配置位置情報に対応する情報であり且つコード領域での複数のデータワードの各配置位置を特定する情報である対応情報を記録する対応情報記録部と、撮像部によって情報コード100が撮像された場合に、コード領域の所定位置が特定のフォーマット構成であるか否かを判別する判別部と、判別部によって所定位置が特定のフォーマット構成であると判別された場合に、対応情報記録部に記録された対応情報に基づいてコード領域内の各データワードの位置を特定し、解読対象データを解読する解読部と、を備えている。
この構成では、情報コード読取装置10が判別部によって所定位置105のフォーマット構成を確認することで、情報コード生成装置2によって生成された特徴的な情報コード100(空き領域110を備えた情報コード100)であるか否かを判別できるようになる。そして、特定のフォーマット構成であると判別できた場合には、コード領域での複数のデータワードの各配置位置を特定し得る情報(対応情報)に基づいてコード領域内の各データワードの位置を特定することができ、解読対象データを解読することができる。
In addition, the information
In this configuration, the information
また、情報コード生成装置2のデータ記録領域生成部は、コード領域の内部に空き領域110を設ける場合、所定種類のマスクパターンを反映した状態で所定位置105のセル配列を構成している。そして、情報コード読取装置10の判別部は、撮像部によって情報コード100が撮像された場合、所定位置105に所定種類のマスクパターンが反映されているか否かを判別し、情報コード読取装置10の解読部は、所定位置105に所定種類のマスクパターンが反映されていることを条件として、解読対象データを解読する。
この構成によれば、所定位置105にかけるマスクパターンの種別によって情報コード生成装置2によって生成された特徴的な情報コード100(空き領域110を備えた情報コード100)であるか否かを確実に判別でき、フォーマット情報のデータ量を抑えつつ「特定のフォーマット構成」を実現しやすくなる。
Further, the data recording area generation unit of the information
According to this configuration, whether or not the characteristic information code 100 (the
また、配置位置情報(対応情報)は、解読対象データを複数のデータワードで表現したときの各順番のデータワードと、各順番のデータワードのコード領域内での各配置位置とを対応付けて定める情報であり、具体的には、コード領域において各配置位置で表される各順番のデータワードを、情報コード100とは異なる他種コード120で表現する場合の当該他種コード120内での各対応位置を定める情報となっている。そして、解読部は、判別部によって所定位置105が特定のフォーマット構成であると判別された場合、コード領域の各配置位置で表される各順番のデータワードを、対応情報で定められる他種コード120内での各対応位置に置換した構成で当該他種コード120を解読する。この構成によれば、他種コード120の読み取りの仕組みを利用して特徴的な情報コード100(空き領域110を備えた情報コード100)を良好に読み取ることができる。
Also, the arrangement position information (correspondence information) associates the data words in each order when the data to be decoded is expressed by a plurality of data words and the arrangement positions in the code area of the data words in each order. Specifically, in the code area, each data word in each order represented by each arrangement position in the code area is expressed in another
[第2実施形態]
次に、第2実施形態について説明する。
第2実施形態の情報コード利用システムは、ハードウェア構成については第1実施形態と同一であり、上述した図1、図2のような構成が用いられる。
[Second Embodiment]
Next, a second embodiment will be described.
The information code 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等参照)により図11(B)のような情報コード200を生成する。この構成でも、コード領域の内部に、予め定められた形状の特定パターン204が配置される特定パターン領域と、複数種類のセルによってデータを記録するデータ記録領域とを設け、コード領域の内部において、特定パターン領域以外の位置に、データ記録領域にデータを記録する方法とは異なる方法で、データの記録又はデザインの表示の少なくともいずれかが可能となる空き領域210を、単一のセルのサイズよりも大きい所定サイズで設けている。
In the information code utilization system of the second embodiment, the
この構成では、空き領域210の構成以外は、公知のQRコード(登録商標)として構成されており、まず、図11(A)のように、コード領域の内部に、特定パターン領域と、データ記録領域と、複数種類のセルによって誤り訂正符号を記録する誤り訂正符号記録領域とを設けている。なお、データ記録領域でのデータコードワードの記録方法及び誤り訂正符号記録領域での誤り訂正コードワードの記録方法は公知のQRコード(登録商標)と同様であり、例えば、JISX0510で規定される方式でコード領域内の位置検出パターン204の配置、データ記録領域におけるデータコードワードの配置、誤り訂正符号記録領域での誤り訂正コードワードの配置が定められている。
In this configuration, a configuration other than the configuration of the
但し、図11(A)のように、一部領域のコードワードを、白セルのみによって表現されるコードワードとして構成した情報コード200’を生成し、このように白セルのみによって表現される領域ARを空き領域210として、図11(B)のように、この空き領域210内に図形、模様、色彩又はこれらの結合からなるデザイン、又は1又は複数の記号によって表わされる情報の少なくともいずれかを表示している。図11(B)のように空き領域210にデザインDを表示した場合、図11(A)のような本来のデータ表示とは異なった構成になるが、この空き領域210でのデータの誤りは、誤り訂正符号記録領域に記録された誤り訂正符号を用いて公知の誤り訂正を行えばよい。
However, as shown in FIG. 11A, an
また、図11(B)に示す情報コード200では、空き領域210の位置が予め特定されるため、空き領域210内にデザインや情報を付加して表示する場合にはこの表示による誤り位置が予め分かっていることになる。従って、空き領域210の位置を誤り位置として消失訂正を行うように誤り訂正符号記録領域の誤り訂正符号を構成することもできる。この場合、空き領域210の位置を示す情報を予めデータ記録領域に記録しておいたり、或いは、予め読取装置10(図1)内に記憶しておくことで、読取時に読取装置10が空き領域210の位置(即ち、誤りが生じているデータコードワードの位置)を特定することができるようになり、読取装置10は、このように位置が特定された空き領域210に存在するデータコードワードの誤りを訂正するように、誤り訂正符号記録領域に記録された誤り訂正符号を用いて消失訂正を行うようにすればよい。
Further, in the
また、この構成では、データ記録領域に記録されるデータの内、解読対象データの終わりを示す終端子よりも前に配置されるデータ(出力対象となる解読対象データ)については、空き領域210の外側に配置し、終端子よりも後に配置される埋め草コードワード(解読対象とならないデータ)の領域を空き領域210とするとよい。本構成では、例えば、この埋め草コードワードの領域を全て白セルのみで表示するようにしている。
Further, in this configuration, the data arranged in the data recording area before the end terminal indicating the end of the decoding target data (decoding target data to be output) is stored in the
[第3実施形態]
次に、第3実施形態について説明する。
第3実施形態の情報コード利用システムも、ハードウェア構成については第1実施形態と同一であり、上述した図1、図2のような構成が用いられる。
[Third Embodiment]
Next, a third embodiment will be described.
The information code utilization system of the third embodiment is the same as that of the first embodiment in terms of hardware configuration, and the configuration as shown in FIGS. 1 and 2 is used.
第3実施形態の情報コード利用システムでは、情報コード生成装置2(図1等参照)により図12(B)のような情報コード300を生成する。この構成でも、コード領域の内部に、予め定められた形状の特定パターン(L字状のアライメントパターン304a及び明色セルと暗色セルが1セルずつ交互に配置され、コード領域の境界に沿ったL字状の領域を構成するタイミングセル304b)が配置される特定パターン領域と、複数種類のセルによってデータを記録するデータ記録領域とを設け、コード領域の内部において、特定パターン領域以外の位置に、データ記録領域にデータを記録する方法とは異なる方法で、データの記録又はデザインの表示の少なくともいずれかが可能となる空き領域310を、単一のセルのサイズよりも大きい所定サイズで設けている。
In the information code utilization system of the third embodiment, the
この構成では、空き領域310の構成以外は、公知のデータマトリックスコードとして構成されており、まず、図12(A)のように、コード領域の内部に、特定パターン領域と、データ記録領域と、複数種類のセルによって誤り訂正符号を記録する誤り訂正符号記録領域とを設けている。なお、データ記録領域でのデータコードワードの記録方法及び誤り訂正符号記録領域での誤り訂正コードワードの記録方法は公知のデータマトリックスコードと同様であり、コード領域内のアライメントパターン304aやタイミングセル304bの配置、データ記録領域におけるデータコードワードの配置、誤り訂正符号記録領域での誤り訂正コードワードの配置は、例えばECC200バージョンに従って定められている。
In this configuration, except for the configuration of the
但し、図12(A)のように、一部領域のコードワードを、白セルのみによって表現されるコードワードとして構成した情報コード300’を生成し、このように白セルのみによって表現される領域ARを空き領域310として、図12(B)のように、この空き領域310内に図形、模様、色彩又はこれらの結合からなるデザイン、又は1又は複数の記号によって表わされる情報の少なくともいずれかを表示している。図12(B)のように空き領域310にデザインDを表示した場合、図12(A)のような本来のデータ表示とは異なった構成になるが、この空き領域310でのデータの誤りは、誤り訂正符号記録領域に記録された誤り訂正符号を用いて公知の誤り訂正を行えばよい。
However, as shown in FIG. 12A, an
また、図12(B)に示す情報コード300では、空き領域310の位置が予め特定されるため、空き領域310内にデザインや情報を付加して表示する場合にはこの表示による誤り位置が予め分かっていることになる。従って、空き領域310の位置を誤り位置として消失訂正を行うように誤り訂正符号記録領域の誤り訂正符号を構成することもできる。この場合、空き領域310の位置を示す情報を予めデータ記録領域に記録しておいたり、或いは、予め読取装置10(図1)内に記憶しておくことで、読取時に読取装置10が空き領域310の位置(即ち、誤りが生じているデータコードワードの位置)を特定することができるようになり、読取装置10は、このように位置が特定された空き領域310に存在するデータコードワードの誤りを訂正するように、誤り訂正符号記録領域に記録された誤り訂正符号を用いて消失訂正を行うようにすればよい。
In the
[他の実施形態]
本発明は上記記述及び図面によって説明した実施形態に限定されるものではなく、例えば次のような実施形態も本発明の技術的範囲に含まれる。
[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又は複数若しくは全ての情報コードを表示し得る表示装置として構成することもできる。また、上述したいずれか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として構成されていてもよい。
1 and the like show an example in which the information
上記実施形態では、コード領域の中央部に空き領域110を設けた例を示したが、空き領域110の配置はこの例に限られない。例えば、コード領域の周縁付近に空き領域を設けてもよい。また、空き領域の構成は、図10(A)のように空白としてもよく、図10(B)(C)のように、デザインが表示されていてもよく、1又は複数の記号によって表わされる情報が表示されていてもよい。或いは、デザインと情報が共に表示されていてもよい。なお、図10(B)では空き領域に模様を付した構成を示し、図10(C)では、空き領域に図形を付した構成を示したが、図形、模様、色彩又はこれらの結合からなる構成であれば他の様々なデザインを採用することができる。また、デザインに代えて、或いはデザインと共に情報を表示する場合、その情報の内容は様々である。例えば、情報コード100に記録されるデータを提供する提供主体(事業主や個人等)の名称や当該提供主体のサイトのアドレスなどであってもよく、或いは情報コード100に記録されるデータに関する商品名や役務名などであってもよい。
In the above embodiment, an example in which the
上記実施形態では、他種コードとして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
図5のように設定した配置変換表における対応関係は、図7のように任意に変更することができる。例えば、情報コード生成装置2、情報コード読取装置10において図5のように設定されていた配置変換表を図7のように変更した場合、生成される情報コード100では、22〜26番目のコードワードの配置が、図5右図のような配置(22〜26番の配置候補位置に記録する配置)から図7右図のような配置(42〜46番の配置候補位置に記録する配置)に変更され、これにより空き領域110の位置や形状も変化することになる。つまり、この構成では、配置変換表を調整することで空き領域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 information
1…情報コード利用システム
2…情報コード生成装置
3…制御部(データ取得部、データ記録領域生成部)
4…操作部(データ取得部)
5…記憶部(配置位置情報記録部)
7…通信部(データ取得部)
10…情報コード読取装置
23…受光センサ(撮像部)
35…メモリ(対応情報記録部)
40…制御回路(解読部、判別部)
100,200,300…情報コード
102,202,302…セル
104,204…位置検出パターン(特定パターン)
304a…アライメントパターン(特定パターン)
304b…タイミングセル(特定パターン)
110,210,310…空き領域
120…他種のコード
DESCRIPTION OF
4 ... operation unit (data acquisition unit)
5. Storage unit (arrangement position information recording unit)
7. Communication unit (data acquisition unit)
DESCRIPTION OF
35. Memory (corresponding information recording unit)
40 ... Control circuit (decoding unit, discrimination unit)
100, 200, 300 ...
304a ... alignment pattern (specific pattern)
304b ... Timing cell (specific pattern)
110, 210, 310 ...
Claims (22)
前記コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類の前記セルによってデータを記録するデータ記録領域とを設け、前記コード領域の内部において、前記特定パターン領域以外の位置に、前記データ記録領域にデータを記録する方法とは異なる方法で、データの記録又はデザインの表示の少なくともいずれかが可能となる空き領域を、単一の前記セルのサイズよりも大きい所定サイズで設け、
前記データ記録領域には、圧縮後のデータが記録されることを特徴とする情報コード生成方法。 An information code generation method for generating, by an information code generation device, an information code in which cells serving as units for displaying information within a predetermined code area are arranged,
Provided inside the code area is a specific pattern area in which a specific pattern having a predetermined shape is arranged, and a data recording area for recording data by a plurality of types of the cells. In a position other than the pattern area, a free area that allows at least one of data recording and design display is different from the method of recording data in the data recording area, based on the size of a single cell. Is also provided in a larger predetermined size,
An information code generation method, wherein compressed data is recorded in the data recording area.
前記解読対象データを表現する複数の前記データワードを、前記配置位置情報記録部に記録された前記配置位置情報に従って前記コード領域に配置することを特徴とする請求項1又は請求項2に記載の情報コード生成方法。 Using an arrangement position information recording unit in which arrangement position information for specifying each arrangement position when arranging a plurality of data words representing data to be decoded to be recorded in the data recording area in the code area is recorded,
The plurality of data words representing the data to be decoded are arranged in the code area according to the arrangement position information recorded in the arrangement position information recording unit. Information code generation method.
前記コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類の前記セルによってデータを記録するデータ記録領域とが設けられ、前記コード領域の内部において、前記特定パターン領域以外の位置に、前記データ記録領域にデータを記録する方法とは異なる方法で、データの記録又はデザインの表示の少なくともいずれかが可能となる空き領域が、単一の前記セルのサイズよりも大きい所定サイズで設けられ、
前記データ記録領域には、圧縮後のデータが記録されることを特徴とする情報コード。 An information code in which cells serving as units for displaying information are arranged in a predetermined code area,
Inside the code area, a specific pattern area in which a specific pattern having a predetermined shape is arranged, and a data recording area for recording data by a plurality of types of cells are provided. A free area that allows at least one of data recording and design display in a position different from the method of recording data in the data recording area at a position other than the specific pattern area is the size of the single cell. Is provided in a predetermined size larger than
An information code, wherein compressed data is recorded in the data recording area.
前記情報コードは、前記コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類の前記セルによってデータを記録するデータ記録領域とを設け、前記コード領域の内部において、前記特定パターン領域以外の位置に、前記データ記録領域にデータを記録する方法とは異なる方法で、データの記録又はデザインの表示の少なくともいずれかが可能となる空き領域を、単一の前記セルのサイズよりも大きい所定サイズで設けた構成であり、
前記情報コードを撮像可能な撮像部と、
前記撮像部によって前記情報コードが撮像された場合に、前記データ記録領域の内容に基づいて前記データ記録領域に記録された前記データを解読する解読部と、
を有し、
前記データ記録領域には、圧縮後のデータが記録されることを特徴とする情報コード読取装置。 An information code reading device for reading an information code in which cells serving as units for displaying information are arranged inside a predetermined code area,
The information code includes a specific pattern area in which a specific pattern having a predetermined shape is arranged in the code area, and a data recording area in which data is recorded by a plurality of types of the cells. A free area in which data recording and / or design display can be performed at a position different from the method of recording data in the data recording area at a position other than the specific pattern area, It is a configuration provided with a predetermined size larger than the size of the cell,
An imaging unit capable of imaging the information code;
A decoding unit for decoding the data recorded in the data recording area based on the content of the data recording area when the information code is imaged by the imaging unit;
Have
An information code reading apparatus, wherein compressed data is recorded in the data recording area.
前記配置位置情報に対応する情報であり且つ前記コード領域での複数の前記データワードの各配置位置を特定する情報である対応情報を記録する対応情報記録部と、
前記撮像部によって前記情報コードが撮像された場合に、前記コード領域の前記所定位置が前記特定のフォーマット構成であるか否かを判別する判別部と、
を備え、
前記解読部は、前記判別部によって前記所定位置が前記特定のフォーマット構成であると判別された場合に、前記対応情報記録部に記録された前記対応情報に基づいて前記コード領域内の各データワードの位置を特定し、前記解読対象データを解読することを特徴とする請求項12又は請求項13に記載の情報コード読取装置。 In the information code, format information is recorded at a predetermined position in the code area with a specific format configuration, and each data word representing data to be decoded in the data recording area is set in predetermined arrangement position information. Based on the code area,
A correspondence information recording unit that records correspondence information that is information corresponding to the placement position information and information that specifies each placement position of the plurality of data words in the code area;
A discriminating unit that discriminates whether or not the predetermined position of the code area is the specific format configuration when the information code is imaged by the imaging unit;
With
The decoding unit, when the determination unit determines that the predetermined position is the specific format configuration, each data word in the code area based on the correspondence information recorded in the correspondence information recording unit 14. The information code reading device according to claim 12, wherein the position of the data is specified and the data to be decoded is decoded.
前記判別部は、前記撮像部によって前記情報コードが撮像された場合、前記所定位置に前記所定種類のマスクパターンが反映されているか否かを判別し、
前記解読部は、前記所定位置に前記所定種類のマスクパターンが反映されていることを条件として、前記解読対象データを解読することを特徴とする請求項14に記載の情報コード読取装置。 The information code is a cell arrangement of the predetermined position in a state reflecting a predetermined type of mask pattern,
The determination unit determines whether the predetermined type of mask pattern is reflected in the predetermined position when the information code is imaged by the imaging unit;
15. The information code reading device according to claim 14, wherein the decoding unit decodes the data to be decoded on condition that the predetermined type of mask pattern is reflected at the predetermined position.
前記対応情報は、前記コード領域において各配置位置で表される前記各順番のデータワードを、前記情報コードとは異なる他種コードで表現する場合の当該他種コード内での各対応位置を定める情報であり、
前記解読部は、前記判別部によって前記所定位置が前記特定のフォーマット構成であると判別された場合、前記コード領域の各配置位置で表される前記各順番のデータワードを、前記対応情報で定められる前記他種コード内での各対応位置に置換した構成で当該他種コードを解読することを特徴とする請求項14又は請求項15に記載の情報コード読取装置。 The arrangement position information is defined by associating each order data word when the data to be decoded is expressed by a plurality of the data words and each arrangement position in the code area of each order data word. Information,
The correspondence information defines each corresponding position in the other type code when the data word in each order represented by each arrangement position in the code area is expressed by another type code different from the information code. Information,
In the case where the determination unit determines that the predetermined position is the specific format configuration, the decoding unit determines the data word in each order represented by each arrangement position of the code area based on the correspondence information. 16. The information code reading device according to claim 14, wherein the other-type code is decoded with a configuration in which the corresponding position in the other-type code is replaced.
前記情報コード生成装置によって生成された前記情報コードを読み取る情報コード読取装置と、
を備えた情報コード利用システムであって、
前記情報コード生成装置は、
前記コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類の前記セルによってデータを記録するデータ記録領域と、を設け、前記コード領域の内部において、前記特定パターン領域以外の位置に、前記データ記録領域にデータを記録する方法とは異なる方法で、データの記録又はデザインの表示の少なくともいずれかが可能となる空き領域を、単一の前記セルのサイズよりも大きい所定サイズで設け、前記データ記録領域には、圧縮後のデータが記録された構成で前記情報コードを生成し、
前記情報コード読取装置は、
前記情報コード生成装置によって生成された前記情報コードを撮像可能な撮像部を備え、
前記撮像部によって前記情報コードが撮像された場合に、前記データ記録領域の内容に基づいて前記データ記録領域に記録された前記データを解読することを特徴とする情報コード利用システム。 An information code generation device for generating an information code in which cells serving as units for displaying information within a predetermined code area are arranged;
An information code reader for reading the information code generated by the information code generator;
An information code using system comprising:
The information code generation device includes:
Provided inside the code area is a specific pattern area in which a specific pattern of a predetermined shape is arranged, and a data recording area for recording data by a plurality of types of the cells. A space that allows at least one of data recording and design display in a position different from the method of recording data in the data recording area at a position other than the specific pattern area is a single cell size. The information code is generated in a configuration in which compressed data is recorded in the data recording area, and is provided with a predetermined size larger than
The information code reader is
An imaging unit capable of imaging the information code generated by the information code generation device;
An information code utilization system that decodes the data recorded in the data recording area based on the contents of the data recording area when the information code is imaged by the imaging unit.
解読対象データを取得するデータ取得部と、
前記解読対象データを表現する複数のデータワードを前記コード領域に配置する際の各配置位置を特定する配置位置情報を記録する配置位置情報記録部と、
前記コード領域の内部に前記空き領域を設ける場合、前記コード領域内の所定位置に特定のフォーマット構成でフォーマット情報を記録し、且つ、前記データ取得部で取得された前記解読対象データを表現する各データワードを、前記配置位置情報記録部に記録された前記配置位置情報に基づいて配置するように、前記データ記録領域を生成するデータ記録領域生成部と、
を備え、
前記情報コード読取装置は、
前記配置位置情報記録部に記録される前記配置位置情報に対応する情報であり且つ前記コード領域での複数の前記データワードの各配置位置を特定する情報である対応情報を記録する対応情報記録部と、
前記撮像部によって前記情報コードが撮像された場合に、前記コード領域の前記所定位置が前記特定のフォーマット構成であるか否かを判別する判別部と、
前記判別部によって前記所定位置が前記特定のフォーマット構成であると判別された場合に、前記対応情報記録部に記録された前記対応情報に基づいて前記コード領域内の各データワードの位置を特定し、前記解読対象データを解読する解読部と、
を備えたことを特徴とする請求項17又は請求項18に記載の情報コード利用システム。 The information code generation device includes:
A data acquisition unit for acquiring data to be decrypted;
An arrangement position information recording unit for recording arrangement position information for specifying each arrangement position when arranging a plurality of data words representing the data to be decoded in the code area;
When providing the empty area inside the code area, each of the format information is recorded in a specific format configuration at a predetermined position in the code area, and each of the data to be decoded is expressed by the data acquisition unit A data recording area generating unit that generates the data recording area so as to arrange a data word based on the arrangement position information recorded in the arrangement position information recording unit;
With
The information code reader is
Correspondence information recording unit that records correspondence information that is information corresponding to the arrangement position information recorded in the arrangement position information recording unit and that specifies each arrangement position of the plurality of data words in the code area. When,
A discriminating unit that discriminates whether or not the predetermined position of the code area is the specific format configuration when the information code is imaged by the imaging unit;
When the determination unit determines that the predetermined position is the specific format configuration, the position of each data word in the code area is specified based on the correspondence information recorded in the correspondence information recording unit. A decryption unit for decrypting the data to be decrypted;
The information code utilization system according to claim 17 or 18, characterized by comprising:
前記情報コード読取装置の前記判別部は、前記撮像部によって前記情報コードが撮像された場合、前記所定位置に前記所定種類のマスクパターンが反映されているか否かを判別し、
前記情報コード読取装置の前記解読部は、前記所定位置に前記所定種類のマスクパターンが反映されていることを条件として、前記解読対象データを解読することを特徴とする請求項19に記載の情報コード利用システム。 The data recording area generation unit of the information code generation apparatus configures the cell array at the predetermined position in a state reflecting a predetermined type of mask pattern when the empty area is provided inside the code area.
The determination unit of the information code reader determines whether the predetermined type of mask pattern is reflected at the predetermined position when the information code is imaged by the imaging unit;
The information according to claim 19, wherein the decoding unit of the information code reading device decodes the data to be decoded on condition that the predetermined type of mask pattern is reflected at the predetermined position. Code usage system.
前記対応情報は、前記コード領域において各配置位置で表される前記各順番のデータワードを、前記情報コードとは異なる他種コードで表現する場合の当該他種コード内での各対応位置を定める情報であり、
前記解読部は、前記判別部によって前記所定位置が前記特定のフォーマット構成であると判別された場合、前記コード領域の各配置位置で表される前記各順番のデータワードを、前記対応情報で定められる前記他種コード内での各対応位置に置換した構成で当該他種コードを解読することを特徴とする請求項19又は請求項20に記載の情報コード利用システム。 The arrangement position information is defined by associating each order data word when the data to be decoded is expressed by a plurality of the data words and each arrangement position in the code area of each order data word. Information,
The correspondence information defines each corresponding position in the other type code when the data word in each order represented by each arrangement position in the code area is expressed by another type code different from the information code. Information,
In the case where the determination unit determines that the predetermined position is the specific format configuration, the decoding unit determines the data word in each order represented by each arrangement position of the code area based on the correspondence information. 21. The information code utilization system according to claim 19 or 20, wherein the other type code is decoded with a configuration in which each corresponding position in the other type code is replaced.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012276910 | 2012-12-19 | ||
JP2012276910 | 2012-12-19 |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013195607A Division JP6136808B2 (en) | 2012-12-19 | 2013-09-20 | Information code generation method, information code, information code reader, and information code utilization system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2016201132A true JP2016201132A (en) | 2016-12-01 |
JP6323507B2 JP6323507B2 (en) | 2018-05-16 |
Family
ID=57424754
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016150956A Active JP6323507B2 (en) | 2012-12-19 | 2016-08-01 | Information code generation method, information code, information code reader, and information code utilization system |
JP2017031811A Active JP6265288B2 (en) | 2012-12-19 | 2017-02-23 | Information code generation method, information code, information code reader, and information code utilization system |
JP2017031812A Active JP6394717B2 (en) | 2012-12-19 | 2017-02-23 | Information code generation method, information code, information code reader, and information code utilization system |
Family Applications After (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017031811A Active JP6265288B2 (en) | 2012-12-19 | 2017-02-23 | Information code generation method, information code, information code reader, and information code utilization system |
JP2017031812A Active JP6394717B2 (en) | 2012-12-19 | 2017-02-23 | Information code generation method, information code, information code reader, and information code utilization system |
Country Status (1)
Country | Link |
---|---|
JP (3) | JP6323507B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102285669B1 (en) | 2018-08-27 | 2021-08-04 | 동우 화인켐 주식회사 | A color filter, a method of making thereof, and an image display device comprising thereof |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004206674A (en) * | 2002-10-29 | 2004-07-22 | Denso Corp | Two-dimensional code and formation structure thereof |
JP2007241327A (en) * | 2006-03-03 | 2007-09-20 | Namco Bandai Games Inc | Program, information storage medium, two-dimensional code generation system, image generation system and two-dimensional code |
JP2008152334A (en) * | 2006-12-14 | 2008-07-03 | Namco Bandai Games Inc | Program, information storage medium, two-dimensional code, printed matter, two-dimensional code image, method for controlling display of two-dimensional code image, and two-dimensional code creation system |
JP2009129410A (en) * | 2007-11-28 | 2009-06-11 | Iforcom Co Ltd | Image information with two-dimensional code, its generator, printer, reading method, reader, reading program, and recording medium |
JP2009259192A (en) * | 2008-03-27 | 2009-11-05 | Denso Wave Inc | Two-dimensional code, two-dimensional code generating method, computer-readable program which displays two-dimensional code, authentication method using two-dimensional code, and information-providing method using two-dimensional code |
-
2016
- 2016-08-01 JP JP2016150956A patent/JP6323507B2/en active Active
-
2017
- 2017-02-23 JP JP2017031811A patent/JP6265288B2/en active Active
- 2017-02-23 JP JP2017031812A patent/JP6394717B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004206674A (en) * | 2002-10-29 | 2004-07-22 | Denso Corp | Two-dimensional code and formation structure thereof |
JP2007241327A (en) * | 2006-03-03 | 2007-09-20 | Namco Bandai Games Inc | Program, information storage medium, two-dimensional code generation system, image generation system and two-dimensional code |
JP2008152334A (en) * | 2006-12-14 | 2008-07-03 | Namco Bandai Games Inc | Program, information storage medium, two-dimensional code, printed matter, two-dimensional code image, method for controlling display of two-dimensional code image, and two-dimensional code creation system |
JP2009129410A (en) * | 2007-11-28 | 2009-06-11 | Iforcom Co Ltd | Image information with two-dimensional code, its generator, printer, reading method, reader, reading program, and recording medium |
JP2009259192A (en) * | 2008-03-27 | 2009-11-05 | Denso Wave Inc | Two-dimensional code, two-dimensional code generating method, computer-readable program which displays two-dimensional code, authentication method using two-dimensional code, and information-providing method using two-dimensional code |
Also Published As
Publication number | Publication date |
---|---|
JP6265288B2 (en) | 2018-01-24 |
JP2017117485A (en) | 2017-06-29 |
JP6394717B2 (en) | 2018-09-26 |
JP2017117486A (en) | 2017-06-29 |
JP6323507B2 (en) | 2018-05-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6136808B2 (en) | Information code generation method, information code, information code reader, and information code utilization system | |
WO2014098134A1 (en) | Information code, information code generation method, information code reader device, and information code usage system | |
US8879737B2 (en) | Method for producing two-dimensional code and reader for reading the two-dimensional code | |
JP6394725B2 (en) | Information code generation method, information code, information code reader, and information code utilization system | |
JP5904077B2 (en) | Information code and information code reading system | |
JP6160528B2 (en) | Parking lot use system and parking ticket reader | |
JP2015114758A (en) | Information code creation method, information code, information code reading device, and information code utilization system | |
JP6265288B2 (en) | Information code generation method, information code, information code reader, and information code utilization system | |
JP4862360B2 (en) | Two-dimensional code and two-dimensional code reader | |
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 | |
JP6171855B2 (en) | Information code and information code reader | |
JP6167956B2 (en) | Information code generation method, information code, information code reader, and information code utilization system | |
JP6225597B2 (en) | Information code generation method, information code, information code reader, and information code utilization system | |
JP6358109B2 (en) | Information code display device | |
JP5359858B2 (en) | Information code and information code generation method | |
JP2018055237A (en) | Information code generating method, information code, and information code using system | |
JP6409623B2 (en) | Information code generation method, information code, information code reading system, and information code reading apparatus | |
JP6225595B2 (en) | Information code generation method, information code, information code reader, information code utilization system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170330 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170509 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170706 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20171121 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180213 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20180221 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20180313 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180326 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6323507 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |