JP6394717B2 - Information code generation method, information code, information code reader, and information code utilization system - Google Patents

Information code generation method, information code, information code reader, and information code utilization system Download PDF

Info

Publication number
JP6394717B2
JP6394717B2 JP2017031812A JP2017031812A JP6394717B2 JP 6394717 B2 JP6394717 B2 JP 6394717B2 JP 2017031812 A JP2017031812 A JP 2017031812A JP 2017031812 A JP2017031812 A JP 2017031812A JP 6394717 B2 JP6394717 B2 JP 6394717B2
Authority
JP
Japan
Prior art keywords
code
information
area
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.)
Active
Application number
JP2017031812A
Other languages
Japanese (ja)
Other versions
JP2017117486A (en
Inventor
田中 正己
正己 田中
卓也 依田
卓也 依田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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
Publication of JP2017117486A publication Critical patent/JP2017117486A/en
Application granted granted Critical
Publication of JP6394717B2 publication Critical patent/JP6394717B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

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 Patent Document 1, an inversely converted bit string obtained by inversely converting a bit string that forms an area to be read as a single value in a two-dimensional code is obtained, and the inversely converted bit string is converted based on the format information of the two-dimensional code. By generating a two-dimensional code, a special two-dimensional code having a design area composed of a single gradation value is generated.

特許第5057560号公報Japanese Patent No. 5057560

上記特許文献1の技術では、例えば、デザイン領域が白のモジュールにより構成されている特殊2次元コードの場合には、白として読み取られる範囲の階調値から構成されたデザインがデザイン領域に形成されるように特殊2次元コードと所与のデザインデータとを合成している。一方、デザイン領域が例えば黒のモジュールにより構成されている特殊2次元コードの場合には、黒として読み取られる範囲の階調値から構成されたデザインがデザイン領域に形成されるように特殊2次元コードと所与のデザインデータとを合成している。   In the technique disclosed in Patent Document 1, for example, in the case of a special two-dimensional code in which the design area is composed of white modules, a design composed of gradation values in a range that is read as white is formed in the design area. In this way, the special two-dimensional code and the given design data are synthesized. On the other hand, in the case where the design area is a special two-dimensional code composed of, for example, a black module, the special two-dimensional code is formed so that a design composed of gradation values in a range read as black is formed in the design area. And given design data.

しかしながら、特許文献1の方法は、コードの生成段階において、誤り訂正符号との関係、及び階調値を大きく考慮してデザイン領域を設定するため、デザイン領域の制約が大きくなるという問題がある。   However, the method of Patent Document 1 has a problem that the design area is greatly restricted because the design area is set in consideration of the relationship with the error correction code and the gradation value in the code generation stage.

本発明は、上述した課題を解決するためになされたものであり、コード領域の内部に、データ記録領域及び特定パターン領域以外の空き領域をより自由度高く確保しやすい構成を提供することを目的とする。   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,
A specific pattern area in which a specific pattern 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 an error correction code is recorded by a plurality of types of cells. And a method of recording data in the data recording area at a position other than the specific pattern area, the data recording area, and the error correction code recording area within the code area. As an area that is a different method and is not subject to error correction by the error correction code, a free area in which at least one of data recording and design display is possible is a predetermined size larger than the size of a single cell It is characterized by providing in.

第2の発明は、所定のコード領域の内部に情報を表示する単位となるセルを配列した情報コードであって、
前記コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類の前記セルによってデータを記録するデータ記録領域と、複数種類の前記セルによって誤り訂正符号を記録する誤り訂正符号記録領域とが設けられ、前記コード領域の内部において、前記特定パターン領域、前記データ記録領域、前記誤り訂正符号記録領域以外の位置に、前記データ記録領域にデータを記録する方法とは異なる方法であって前記誤り訂正符号による誤り訂正の対象にならない領域として、データの記録又はデザインの表示の少なくともいずれかが可能となる空き領域が、単一の前記セルのサイズよりも大きい所定サイズで設けられていることを特徴とする。
2nd invention is the information code which arranged the cell used as the unit which displays information inside the predetermined code field,
A specific pattern area in which a specific pattern 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 an error correction code is recorded by a plurality of types of cells. And a method of recording data in the data recording area at a position other than the specific pattern area, the data recording area, and the error correction code recording area within the code area. Are different methods and are not subject to error correction by the error correction code, and a free area in which at least one of data recording and design display is possible is larger than the size of a single cell. The size is provided.

第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, a data recording area in which data is recorded by a plurality of types of cells, and a plurality of types of the cells. An error correction code recording area for recording an error correction code is provided, and data is stored in the data recording area at a position other than the specific pattern area, the data recording area, and the error correction code recording area within the code area. As an area that is different from the recording method and that is not subject to error correction by the error correction code, an empty area in which at least one of data recording and design display is possible is made a single size of the cell. Is a configuration provided with a larger predetermined size,
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;
It is characterized by having.

第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:
A specific pattern area in which a specific pattern 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 an error correction code is recorded by a plurality of types of cells. And a method of recording data in the data recording area at a position other than the specific pattern area, the data recording area, and the error correction code recording area within the code area. As an area that is a different method and is not subject to error correction by the error correction code, a free area in which at least one of data recording and design display is possible is a predetermined size larger than the size of a single cell The information code is generated with the configuration provided in
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.

そして、コード領域の内部に、データ記録領域、誤り訂正符号記録領域、特定パターン領域以外の領域が確保された情報コードを生成することができる。特に、空き領域は、誤り訂正符号記録領域による誤り訂正の対象とならず、この空き領域に対しては誤り訂正符号を設定する必要がないため、データ記録領域に対して効率的に且つ効果的に誤り訂正符号を付すことができる。   An information code in which areas other than the data recording area, the error correction code recording area, and the specific pattern area are secured can be generated inside 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 can be attached to.

請求項2の発明によれば、予め定められた配置位置情報を用いて解読可能な構成で、空き領域を有する特徴的な情報コードを生成することができる。   According to the second 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.

請求項3の発明によれば、空き領域を有する特徴的な情報コードであるか否かを所定位置のフォーマット構成によって判別できるように情報コードを生成することができる。   According to the invention of claim 3, it is possible to generate the information code so that it can be determined by the format configuration of the predetermined position whether or not it is a characteristic information code having an empty area.

請求項4の発明によれば、空き領域を有する特徴的な情報コードであるか否かを所定位置のマスクパターンによって判別できるように、情報コードを生成することができる。特に、フォーマット情報のデータ量が抑えられた「特定のフォーマット構成」を良好に特定しうる。   According to the fourth 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.

請求項5の発明では、空き領域に、図形、模様、色彩又はこれらの結合からなるデザイン、又は1又は複数の記号によって表わされる情報の少なくともいずれかが表示されるため、上述の情報コードを、デザイン又は情報と関連させつつ使用することができる。例えば、情報コードの記録内容に関連するデザインや情報を空き領域に表示するといった対応が可能となり、読取促進等の効果が期待できる。   In the invention of claim 5, 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, 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.

請求項6の発明によれば、コード領域の内部において、特定パターン領域以外の位置に、データ記録領域にデータを記録する方法とは異なる方法で、データの記録又はデザインの表示の少なくともいずれかが可能となる空き領域を設けることができ、利便性をより高めることができる。特に、空き領域は、データ記録領域にデータを記録する方法とは異なる方法で、データの記録又はデザインの表示の少なくともいずれかが可能であるため、空き領域を構成する上で、データ記録領域に起因する制約を極力抑えることができる。   According to the invention of claim 6, 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.

そして、コード領域の内部において、データ記録領域、誤り訂正符号記録領域、特定パターン領域以外の領域を確保することができる。特に、空き領域は、誤り訂正符号記録領域による誤り訂正の対象とならず、この空き領域に対しては誤り訂正符号を設定する必要がないため、データ記録領域に対して効率的に且つ効果的に誤り訂正符号が付されることとなる。   In the code area, areas other than the data recording area, error correction code recording area, and specific pattern area can be secured. 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.

請求項7の発明によれば、特定の読取装置(予め定められた配置位置情報を把握し得る読取装置)のみが、所定位置のフォーマット情報を読み取ることを条件として各データワードを読み取ることができる。   According to the invention of claim 7, 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. .

請求項8の発明によれば、特定の読取装置(予め定められた配置位置情報を把握し得る読取装置)が、空き領域を有する特徴的な情報コードであるか否かを所定位置のマスクパターンによって判別できるようになる。特に、フォーマット情報のデータ量が抑えられた「特定のフォーマット構成」を良好に特定しうる。   According to the invention of claim 8, whether or not a specific reading device (reading device capable of grasping predetermined arrangement position information) is a characteristic information code having a free area is determined as a mask pattern at a predetermined position. Can be discriminated by. In particular, it is possible to satisfactorily specify a “specific format configuration” in which the data amount of the format information is suppressed.

請求項9の発明では、空き領域に、図形、模様、色彩又はこれらの結合からなるデザイン、又は1又は複数の記号によって表わされる情報の少なくともいずれかが表示されるため、上述の情報コードを、デザイン又は情報と関連させつつ使用することができる。例えば、情報コードの記録内容に関連するデザインや情報を空き領域に表示するといった対応が可能となり、読取促進等の効果が期待できる。   In the invention of claim 9, 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.

請求項10の発明によれば、空き領域を備えた特徴的な情報コードを読み取ることが可能な読取装置を実現できる。   According to the invention of claim 10, it is possible to realize a reading device capable of reading a characteristic information code having an empty area.

そして、データ記録領域については誤り訂正符号記録領域の記録内容に基づいて誤りを訂正することが可能となり、空き領域については、誤り訂正の対象としないように扱うことができる。   The data recording area can be corrected based on the recorded contents of the error correction code recording area, and the empty area can be handled not to be subject to error correction.

請求項11の発明では、判別部によって所定位置のフォーマット構成を確認することで、特徴的な情報コード(空き領域を備えた情報コード)であるか否かを判別できるようになる。そして、特定のフォーマット構成であると判別できた場合には、コード領域での複数のデータワードの各配置位置を特定し得る情報(対応情報)に基づいてコード領域内の各データワードの位置を特定することができ、解読対象データを解読することができる。   In the invention of claim 11, it is possible to determine whether or not it 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.

請求項12の発明によれば、所定位置にかけられたマスクパターンの種別を解析することで、特徴的な情報コード(空き領域を備えた情報コード)であるか否かをより確実に判別できる。   According to the twelfth 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 an empty area).

請求項13の発明によれば、他種コードの読み取りの仕組みを利用して特徴的な情報コード(空き領域を備えた情報コード)を良好に読み取ることができる。   According to the thirteenth 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.

請求項14の発明によれば、コード領域の内部において、特定パターン領域以外の位置に、データ記録領域にデータを記録する方法とは異なる方法で、データの記録又はデザインの表示の少なくともいずれかが可能となる空き領域を設けることができ、利便性をより高めることができる。特に、空き領域は、データ記録領域にデータを記録する方法とは異なる方法で、データの記録又はデザインの表示の少なくともいずれかが可能であるため、空き領域を構成する上で、データ記録領域に起因する制約を極力抑えることができる。   According to the invention of claim 14, 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.

そして、コード領域の内部に、データ記録領域、誤り訂正符号記録領域、特定パターン領域以外の領域が確保された情報コードを生成することができる。特に、空き領域は、誤り訂正符号記録領域による誤り訂正の対象とならず、この空き領域に対しては誤り訂正符号を設定する必要がないため、データ記録領域に対して効率的に且つ効果的に誤り訂正符号を付すことができる。   An information code in which areas other than the data recording area, the error correction code recording area, and the specific pattern area are secured can be generated inside 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 can be attached to.

請求項15の発明では、情報コード読取装置が判別部によって所定位置のフォーマット構成を確認することで、情報コード生成装置によって生成された特徴的な情報コード(空き領域を備えた情報コード)であるか否かを判別できるようになる。そして、特定のフォーマット構成であると判別できた場合には、コード領域での複数のデータワードの各配置位置を特定し得る情報(対応情報)に基づいてコード領域内の各データワードの位置を特定することができ、解読対象データを解読することができる。   According to the fifteenth aspect of the present invention, the information code reader confirms the format configuration at a predetermined position by the discriminating unit, so that the information code is a characteristic information code (information code having a free 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.

請求項16の発明によれば、所定位置にかけられたマスクパターンの種別によって情報コード生成装置によって生成された特徴的な情報コード(空き領域を備えた情報コード)であるか否かを確実に判別できるようになり、フォーマット情報のデータ量を抑えつつ「特定のフォーマット構成」を実現しやすくなる。   According to the sixteenth aspect of the present invention, it is surely determined whether or not the information code is a characteristic information code (information code having an empty 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.

請求項17の発明によれば、他種コードの読み取りの仕組みを利用して特徴的な情報コード(空き領域を備えた情報コード)を良好に読み取ることができる。   According to the seventeenth 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.

請求項18の発明では、空き領域において、図形、模様、色彩又はこれらの結合からなるデザイン、又は1又は複数の記号によって表わされる情報の少なくともいずれかが表示されているため、上述の情報コードを、デザイン又は情報と関連させつつ使用することができる。例えば、情報コードの記録内容に関連するデザインや情報を空き領域に表示するといった対応が可能となり、読取促進等の効果が期待できる。   In the invention of claim 18, 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 an empty area, the information code described above is displayed. 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.

図1は、本発明の第1実施形態に係る情報コード利用システムを概略的に例示する概略図である。FIG. 1 is a schematic diagram schematically illustrating an information code 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 an information code reading device that constitutes the information code utilization system of FIG. 図3は、図1の情報コード利用システムで用いられる情報コードのデータ構成を概念的に説明する説明図である。FIG. 3 is an explanatory diagram for conceptually explaining the data configuration of the information code used in the information code utilization system of FIG. 図4は、図1の情報コード利用システムで用いられる情報コードと対応する他種のコードを説明する説明図である。FIG. 4 is an explanatory diagram for explaining another type of code corresponding to the information code used in the information code utilization system of FIG. 図5は、図1の情報コード利用システムを構成する情報コード生成装置で生成される情報コードでの各データワードの配置と、他種のコードでの各データワードの配置との対応関係を説明する説明図である。FIG. 5 illustrates the correspondence between the arrangement of each data word in the information code generated by the information code generation apparatus constituting the information code utilization system in FIG. 1 and the arrangement of each data word in another type of code. It is explanatory drawing to do. 図6は、図1の情報コード利用システムで用いられる情報コードのフォーマットデータを概念的に説明する説明図である。FIG. 6 is an explanatory diagram conceptually illustrating the format data of the information code used in the information code utilization system of FIG. 図7は、図1の情報コード利用システムを構成する情報コード生成装置で生成される情報コードでの各データワードの配置と、他種のコードでの各データワードの配置との対応関係を説明する説明図であり、図5とは異なる対応関係に変更した図である。FIG. 7 illustrates the correspondence between the arrangement of each data word in the information code generated by the information code generation apparatus constituting the information code utilization system in FIG. 1 and the arrangement of each data word in another type of code. FIG. 6 is a diagram illustrating a correspondence relationship different from that in FIG. 5. 図8は、図1の情報コード利用システムを構成する情報コード生成装置での情報コードの生成の流れを例示するフローチャートである。FIG. 8 is a flowchart illustrating the flow of information code generation in the information code generation device constituting the information code utilization system of FIG. 図9は、図1の情報コード利用システムを構成する情報コード読取装置での情報コードの読み取りの流れを例示するフローチャートである。FIG. 9 is a flowchart illustrating the flow of reading an information code in the information code reading device constituting the information code utilization system of FIG. 図10は、図1の情報コード利用システムで用いられる情報コードの様々な例を示す説明図である。FIG. 10 is an explanatory diagram showing various examples of information codes used in the information code utilization system of FIG. 図11は、第2実施形態に係る情報コード利用システムで用いられる情報コードを説明する説明図であり、図11(A)は、空き領域を空白にした状態を示す図であり図11(B)は、空き領域にデザインを付した状態を示す図である。FIG. 11 is an explanatory diagram for explaining an information code used in the information code utilization system according to the second embodiment, and FIG. 11 (A) is a diagram showing a state in which an empty area is left blank. ) Is a diagram showing a state in which a design is added to the free space. 図12は、第3実施形態に係る情報コード利用システムで用いられる情報コードを説明する説明図であり、図12(A)は、空き領域を空白にした状態を示す図であり図12(B)は、空き領域にデザインを付した状態を示す図である。FIG. 12 is an explanatory diagram for explaining an information code used in the information code utilization system according to the third embodiment, and FIG. 12 (A) is a diagram showing a state in which an empty area is left blank. ) Is a diagram showing a state in which a design is added to the free space.

[第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 code utilization system 1 shown in FIG. 1 is generated by an information code generation device 2 that generates an information code 100 in which cells serving as units for displaying information are arranged in a predetermined code area, and an information code generation device 2. The information code reading device 10 for reading the information code 100 is provided.

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

(情報コード読取装置)
次に、情報コード読取装置10の全体構成について説明する。図2に示すように、情報コード読取装置10は、ハードウェア的には二次元コードを読取可能なコードリーダとして構成されており、図示しないケースによって外郭が構成され、このケース内に各種電子部品が収容された構成をなしている。
(Information code reader)
Next, the overall configuration of the information code reader 10 will be described. As shown in FIG. 2, the information code reader 10 is configured as a code reader capable of reading a two-dimensional code in hardware, and an outer case is formed by a case (not shown), and various electronic components are included in the case. Is housed.

この情報コード読取装置10は、主に、照明光源21、受光センサ23、フィルタ25、結像レンズ27等の光学系と、メモリ35、制御回路40、操作スイッチ42、液晶表示装置46等のマイクロコンピュータ(以下「マイコン」という)系と、電源スイッチ41、電池49等の電源系と、から構成されている。なお、これらは、図略のプリント配線板に実装あるいはケース(図示略)内に内装されている。   The information code reader 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 micro 35 such as a memory 35, a control circuit 40, an operation switch 42, and a liquid crystal display device 46. It is composed of a computer (hereinafter referred to as “microcomputer”) system and a power supply system such as a power switch 41 and a battery 49. These are mounted on a printed wiring board (not shown) or housed in a case (not shown).

光学系は、照明光源21、受光センサ23、フィルタ25、結像レンズ27等から構成されている。照明光源21は、照明光Lfを発光可能な照明光源として機能するもので、例えば、赤色のLEDとこのLEDの出射側に設けられる拡散レンズ、集光レンズ等とから構成されている。本実施形態では、受光センサ23を挟んだ両側に照明光源21が設けられており、ケースに形成された読取口(図示略)を介して読取対象物Rに向けて照明光Lfを照射可能に構成されている。この読取対象物Rとしては、例えば、樹脂材料、金属材料等の様々な対象が考えられ、このような読取対象物Rに例えば図1のような情報コード100(後述)が印刷、ダイレクトマーキングなどによって形成されている。   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, an information code 100 (described later) as shown in FIG. Is formed by.

受光センサ23は、情報コード100(後述)を撮像可能な「撮像部」の一例に相当し、読取対象物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 information code 100 (described later), and is configured to receive the reflected light Lr irradiated and reflected on the reading object R and the information code 100. Thus, for example, an area sensor in which light receiving elements, which are solid-state imaging elements 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 device 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 analog signal is converted into a digital 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(DRAM、SRAM等)やROM(EPROM、EEPROM等)等がこれに相当する。このメモリ35のうちのRAMには、前述した画像データ蓄積領域のほかに、制御回路40が算術演算や論理演算等の各処理時に利用する作業領域や読取条件テーブルも確保可能に構成されている。またROMには、後述する読取処理等を実行可能な所定プログラムやその他、照明光源21、受光センサ23等の各ハードウェアを制御可能なシステムプログラム等が予め格納されている。   The memory 35 is composed of a semiconductor memory device or the like, and corresponds to, for example, a RAM (DRAM, SRAM, etc.) or a ROM (EPROM, EEPROM, etc.). In addition to the above-described image data storage area, the RAM of the memory 35 is configured to be able to secure a work area and a reading condition table used by the control circuit 40 in each processing such as arithmetic operation and logical operation. . 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には、情報コード読取装置10の上位システムに相当するホストコンピュータHSTなどを接続できるようになっている。   The control circuit 40 is a microcomputer capable of controlling the entire information code reader 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 device 46, a communication interface 48, and the like are connected. In addition, a host computer HST corresponding to the host system of the information code reader 10 can be connected to the communication interface 48.

電源系は、電源スイッチ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.

(情報コード)
次に、図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 information code 100 used in the information code using system of FIG. 1 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 and FIG. 5 is generated by, for example, the information code generation device 2 described above, and has a configuration in which cells 102 serving as units for displaying information are arranged inside a predetermined code area. It has become. In the information code 100 of FIGS. 1 and 5, the “code region” is a rectangular region that can include all of the plurality of dark cells arranged. Specifically, three position detection patterns (cutout symbols) ) The smallest square or rectangular area including all 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. 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. The margin area 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も設けられている。なお、タイミングパターン106やアライメントパターン108が設けられていなくてもよい。   This information code 100 is a fixed pattern having a predetermined shape (specifically, a fixed figure wider than a single cell) inside a rectangular (for example, square or rectangular) code area. ) Are arranged, a data recording area in which data is recorded by a plurality of types of cells 102, and an error correction code recording area in which an error correction code is recorded by a plurality of types of cells 102. 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. Note that the timing pattern 106 and the alignment pattern 108 may not be provided.

このように、情報コード100では、コード領域内に、予め定められた位置に決まった形状の特定パターン(位置検出パターン104、タイミングパターン106、アライメントパターン108(図5では省略))が配置されるようになっている。なお、コード領域の内部において、後述する空き領域110以外の位置は、このような特定パターンの領域、記録領域(データ記録領域及び誤り訂正符号記録領域のいずれかからなる領域)などによって構成されている。   In this way, 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 in a predetermined position in the code area. It is like that. 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のセルの行数及び列数、特定パターンの形状及び位置、フォーマット情報の位置、コードワードの候補位置(コードワードの配置順序を特定するアドレス)等は読取装置10がどのような方法で把握してもよい。例えば、情報コード100の種別において複数の型番が設けられていてもよく、この場合、型番毎にセルの行数及び列数、特定パターンの形状及び位置、フォーマット情報の位置、コードワードの候補位置(アドレス)が予め定められていればよい。そして、型番情報がコード領域内の決められた位置(予約領域)に配置されていれば、読取装置10はこの型番情報の位置を既知の位置として把握しておき、この型番情報に基づいて情報コード100のセルの行数及び列数、特定パターンの形状及び位置、フォーマット情報の位置、コードワードの候補位置(アドレス)を把握できるようになる。なお、この方法に限定されるものではなく、読取装置10が把握し得る方法であれば他の方法でもよい。   The reading apparatus 10 determines 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 by. 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, the candidate position of a code word for each model number (Address) may be determined in advance. If the model number information is arranged at a predetermined position (reserved area) in the code area, the reader 10 recognizes the position of the model number information as a known position, and information based on the model number information is obtained. It becomes possible to grasp the number of rows and columns of cells of the code 100, the shape and position of a specific pattern, the position of format information, and the candidate position (address) of a code word. Note that the present invention is not limited to this method, and other methods may be used as long as the reading device 10 can grasp the method.

そして、コード領域の内部において、特定パターン領域、データ記録領域、誤り訂正符号記録領域以外の位置には、セルによって解読対象データ(読取結果として出力対象となるデータ)が記録されない領域(具体的には、セル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 empty area 110, which is an area in which data is not recorded by the cell 102 and is not subject to error correction using an error correction code, is provided in a size larger than the size of the single cell 102. The empty area 110 can record data or display a design by a method different from the method of recording the data recording area and the error correction code recording area by cell.

図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 free area 110 is formed at the center of the code area. Yes.

なお、以下の説明では、図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右図の例では、セル配列と対応付けるべく空き領域110(コード領域の中央部分)の内部に升目を付しているが、空き領域110の構成は自由であり、図1のように絵柄を付してもよく、記号や模様を付してもよく、或いは空白としてもよい(図10(A)〜(C)参照)。   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 area for recording the format information and the area for recording the code word, only the cells are shown, and the specific arrangement of the cells is omitted. Further, in the example of the right side of FIG. 5, the empty area 110 (the central part of the code area) is marked with a grid to correspond to the cell arrangement, but the configuration of the empty area 110 is free, as shown in FIG. A pattern may be added to the symbol, a symbol or a pattern may be added, or a blank may be used (see FIGS. 10A to 10C).

フォーマット情報(形式情報)は、例えば図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 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). Note that such correction level information and mask number may be set by a method similar to the QR code (registered trademark) method, and may be set by another method as long as the error correction level and mask type can be specified. May be. In the code word area of the information code 100, a mask specified by the mask number is applied by a known mask method.

図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 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. In any of the known standard models 1 and 2 and the type of the information code 100, format information is configured with a correction digit (correction level information) to be recorded and a check digit corresponding to a mask number. On top of that, various different masks can be put on. Specifically, mask processing is performed by a known method using various types of mask patterns, and the array of bright cells and dark cells corresponding to the bit pattern after mask processing is recorded at a predetermined position 105. It has become. 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のコードワード領域(データコードワードや誤り訂正コードワードが記録されている領域)にかけられているマスク種別を特定できるようになっている。なお、所定位置105は、読取装置10が予め把握しておけばよい。   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, an error correction level used in the information code 100 can be specified based on the decoded format information, and a mask applied to a code word area of the information code 100 (an area where a data code word or an error correction code word is recorded). The type can be specified. The predetermined position 105 may be grasped in advance by the reading device 10.

情報コード100に記録する内容は、例えば、図3のような構成をなしており、データ配列の先頭部分にヘッダデータが設定され、ヘッダデータの後に入力データ(解読対象データ)が続くようになっている。なお、図3の例では、入力データ(解読対象データ)については、例えば公知の方法で圧縮し、データワード(データコードワード)に変換しているが、このような圧縮を行わなくてもよい。なお、情報コード100で用いるヘッダデータは、以降の説明では、「額縁QR用ヘッダー」とも称する。また、本明細書では、このようなヘッダデータ及び入力データ(解読対象データ)のデータワード(データコードワード)を記録する領域、及び上述のフォーマット情報を記録する領域が「データ記録領域」に相当する。また、図3の例では、ヘッダデータ(額縁QR用ヘッダー))として、後述する他種コード120(情報コード100を解読するために用いるコード種別であり、配置変換表(図5)によって情報コード100と対応付けられたコード)の種別(型番)を特定し得る情報(図3では、Ver.番号と例示)や、空き領域内の形式を特定し得る識別情報が記録されている。   The content recorded in the information code 100 has a structure as shown in FIG. 3, for example. The header data is set at the head of the data array, and the input data (data to be decoded) follows the header data. ing. In the example of FIG. 3, the 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)), the other type code 120 (code type used for decoding the information code 100), which will be described later, is shown in the information table according to the arrangement conversion table (FIG. 5). Information that can specify the type (model number) of the code (corresponding to 100) (Ver. Number as an example in FIG. 3) and identification information that can specify the format in the empty area are recorded.

そして、入力データ(解読対象データであるデータワード)の後には誤り訂正符号となる誤り訂正コードワード(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番以降の配置候補位置は省略している。   In the information code 100, each data word (data code word) representing the data to be decoded (data to be output) and an error correction code word are arranged in the code area based on predetermined arrangement position information. ing. 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. Further, in 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 assigned to which code word 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 the other-type code 120 is decoded, the 0th code word, the 1st code word, the 2nd code word, the 3rd code word,.・ 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を公知の方法(例えば、公知の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 other type code 120 in this way are stored in advance in the information code 100. 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 thus rearranged may be decoded by a known method (for example, a known QR code decoding 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 arrangement conversion table) common to the information code generation apparatus 2 that generates the information code 100 and the information code reading apparatus 10 that reads the information code 100 are respectively provided. It is desirable to be provided.

(情報コードの生成処理)
次に、図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 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”.

図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 code generation device 2 and is started by a predetermined operation on the operation unit 4, for example. In this processing, first, data to be encoded from outside (decoding target data), attribute data, and code type data (information code 100 is generated, or a general two-dimensional code (for example, a general QR code) is generated. (Data specifying whether to generate) (S1). In this configuration, the control unit 3 and the operation unit 4 correspond to an example of a “data acquisition unit” and function to acquire data to be decoded (input data from the outside). Further, the present invention is not limited to such an example. For example, the control unit 3 and the communication unit 7 may be configured as a “data acquisition unit” and function to acquire data input from outside through communication as decryption target data. Good.

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 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, information (version number information, etc.) that can specify the type (model number, format) of the other type code 120 described later 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で生成された誤り訂正ワード(誤り訂正コードワード)と、空き領域と、を格納しうる二次元コード(図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 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 two-dimensional code (QR code in the examples of FIGS. 5 and 8) 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 how many words correspond. In the example of FIGS. 5 and 8, 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 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 may be determined from among them, or the user may be able to specify any one of the model numbers. When the information code 100 is generated, the predetermined size (number of rows and columns), the arrangement of the specific pattern, and each candidate position of the code word are used in the model number thus determined. The arrangement order of the correct code words 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番の配置候補位置に配置する。このように、他種コード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 code generation device 2, the above-described arrangement position information (arrangement conversion table) is stored in the storage unit 5, and in this arrangement conversion table, as described above, each arrangement position (each (Order position of code word) is associated with a predetermined candidate position (position candidate position of each code word) in 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. Thus, if the arrangement position of the Nth code word in the other type code 120 is associated with the Mth arrangement candidate position of the information code 100, the Nth code word in the code word to be recorded is associated. The code word is placed at the Mth placement candidate position in the information code 100.

つまり、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 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 this embodiment, the data word generated in S3 and S5, the error correction word generated in S6, and the empty area 110 are represented by a large size information code 100, and the data word generated in S3 and S5. And the error correction word generated in S6, each arrangement of code words when expressed in another type code 120 (known QR code), and each code word when stored in the information code 100 of a larger size The correspondence relationship with the arrangement 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)。   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 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 the format information is masked in S15 or S16, the format information after the mask processing is arranged at a predetermined position in the code area (for example, the predetermined position 105 (FIG. 5) for the information code 100). (S17). After the information code 100 or other two-dimensional code is generated in this way, the code is printed by the printing unit 8 (S18). In S18, instead of printing, the information code 100 or the like may be displayed on the display unit 6, or the data of the information code 100 generated by the processing up to S17 may be transmitted to an external device.

本構成では、情報コード生成装置2の制御部3が「データ記録領域生成部」の一例に相当し、コード領域の内部に空き領域110を設ける場合、コード領域内の所定位置に特定のフォーマット構成でフォーマット情報を記録し、且つ、データ取得部で取得された解読対象データ(入力データ)を表現する各データワードを、配置位置情報記録部に記録された配置位置情報に基づいて配置するように、データ記録領域を生成している。また、制御部3によって構成される「データ記録領域生成部」では、コード領域の内部に空き領域110を設ける場合、所定種類のマスクパターン(特定マスク)を反映した状態で所定位置105のセル配列を構成している。   In this configuration, the control unit 3 of the information code generation device 2 corresponds to an example of a “data recording area generation unit”. When the empty area 110 is provided in the code area, a specific format configuration is provided at a predetermined position in the code area. The format information is recorded and the data words representing the decoding target data (input data) acquired by the data acquisition unit are arranged based on the arrangement position information recorded in the arrangement position information recording unit. A data recording area is generated. In addition, in the “data recording area generation unit” configured by the control unit 3, when the empty area 110 is provided inside the code area, the cell array at the predetermined position 105 reflects a predetermined type of mask pattern (specific mask). Is configured.

(情報コードの読取処理)
次に、図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 information code 100 shown in the right diagram of FIG. 1 and FIG. 5 is read by the information code reader 10 of FIG. 2 will be described. The reading process in FIG. 9 is executed, for example, when a predetermined operation (for example, operation of the operation switch 42) is performed by the user. First, as shown in S21 of FIG. 9, the information code 100 is imaged. Then, an image of the information code 100 is acquired and the outer shape of the information code 100 is detected. Specifically, the position detection pattern 104 is detected by a known method (a known method performed by a QR code), and the outer shape of the information code 100 is detected by a known method performed by a QR code. The light receiving sensor 23 corresponds to an example of an “imaging unit” and functions to image the information code 100 generated by the information code generation device 2.

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 information code 100 is decoded, and the type and mask correction level of the information code 100 are acquired (S22). As described above, if the check digit is correct when the information recorded at the predetermined position 105 is decrypted after the mask process is canceled based on the specific mask (frame QR mask), the type of the information code 100 It can be specified that the type is a type having a free area 110, and an error correction level and a mask number included in the format information can be acquired. Then, based on the mask number included in the format information acquired in S22, the mask of the entire code (specifically, the area of the code word) is released (S23). If the read target is the information code 100 having the empty area 110 (that is, if the mask is successfully released by the above-described specific mask (frame QR mask)), the process proceeds to Yes in S24, at the beginning of the data word. By decoding the provided header data (frame QR header: FIG. 3), the original code size (the model number of the other type code 120) is specified (S25), and according to the arrangement conversion table similar to FIG. The information code 100 as shown in the right figure is returned to the original code (other type code 120) as shown in the left figure of FIG. 5 (S26). Specifically, the code word at each placement candidate position of the information code 100 is rearranged at the placement position in the other type code 120 associated with each placement candidate position in the placement conversion table. In the case of No in S24 or after S26, the cell arrangement (when proceeding to No in S24, it is the cell arrangement of the QR code to be read, and in the case after S26, the other type code 120 arranged in S26. Each recorded codeword is specified and created from the cell arrangement) (S27). Then, error correction calculation is performed by a known method based on the error correction code word in the error correction code recording area, and the code word in the data recording area is decoded (S29). The data decrypted in S29 (data to be decrypted) is output by display on the display unit, data transmission, printing, or the like (S30). As the process of S30, the data decoded in S29 may be output as it is, or another process may be added.

本構成では、制御回路40が「判別部」の一例に相当し、撮像部によって情報コード100が撮像された場合に、コード領域の所定位置105が特定のフォーマット構成であるか否かを判別するように機能する。具体的には、所定位置105に所定種類のマスクパターン(特定マスク)が反映されているか否かを判別するように機能する。   In this configuration, the control circuit 40 corresponds to an example of a “determination unit”, and when the information code 100 is captured by the imaging unit, it is determined whether or not the predetermined position 105 of the code area has a specific format configuration. To function. Specifically, it functions to determine whether or not a predetermined type of mask pattern (specific mask) is reflected at the predetermined position 105.

制御回路40は、「解読部」の一例に相当し、撮像部によって情報コード100が撮像された場合に、データ記録領域及び誤り訂正符号記録領域の内容に基づいてデータ記録領域に記録されたデータを解読するように機能し、具体的には、判別部によって所定位置105が特定のフォーマット構成であると判別された場合(より詳しくは、所定位置105に所定種類のマスクパターンが反映されている場合)に、対応情報記録部に記録された対応情報(配置変換表)に基づいてコード領域内の各データワードの位置を特定し、解読対象データを解読するように機能する。   The control circuit 40 corresponds to an example of a “decoding unit”, and when the information code 100 is imaged by the imaging unit, the data recorded in the data recording area based on the contents of the data recording area and the error correction code recording area Specifically, when the determination unit determines that the predetermined position 105 has a specific format configuration (more specifically, a predetermined type of mask pattern is reflected at the predetermined position 105. In this case, the position of each data word in the code area is specified based on the correspondence information (arrangement conversion table) recorded in the correspondence information recording unit, and the data to be decoded 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 above-described correspondence. It functions to decode the other-type code 120 with a configuration in which each corresponding position in the other-type code 120 defined by the information (arrangement conversion table) is replaced.

以上のような本構成によれば、コード領域の内部に、データ記録領域、誤り訂正符号記録領域、特定パターン領域以外の領域が確保された情報コード100を生成することができる。特に、空き領域110は、誤り訂正符号記録領域による誤り訂正の対象とならず、この空き領域110に対しては誤り訂正符号を設定する必要がないため、データ記録領域に対して効率的に且つ効果的に誤り訂正符号を付すことができる。   According to this configuration as described above, it is possible to generate the information code 100 in which areas other than the data recording area, the error correction code recording area, and the specific pattern area are secured inside the code area. In particular, the empty area 110 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 the empty area 110, so that the data recording area can be efficiently and An error correction code can be effectively attached.

また、情報コード生成装置2は、解読対象データを取得するデータ取得部と、解読対象データを表現する複数のデータワードをコード領域に配置する際の各配置位置を特定する配置位置情報を記録する配置位置情報記録部と、コード領域の内部に空き領域110を設ける場合、コード領域内の所定位置に特定のフォーマット構成でフォーマット情報を記録し、且つ、データ取得部で取得された解読対象データを表現する各データワードを、配置位置情報記録部に記録された配置位置情報に基づいて配置するように、データ記録領域を生成するデータ記録領域生成部と、を備えている。一方、情報コード読取装置10は、配置位置情報記録部に記録される配置位置情報に対応する情報であり且つコード領域での複数のデータワードの各配置位置を特定する情報である対応情報を記録する対応情報記録部と、撮像部によって情報コード100が撮像された場合に、コード領域の所定位置が特定のフォーマット構成であるか否かを判別する判別部と、判別部によって所定位置が特定のフォーマット構成であると判別された場合に、対応情報記録部に記録された対応情報に基づいてコード領域内の各データワードの位置を特定し、解読対象データを解読する解読部と、を備えている。
この構成では、情報コード読取装置10が判別部によって所定位置105のフォーマット構成を確認することで、情報コード生成装置2によって生成された特徴的な情報コード100(空き領域110を備えた情報コード100)であるか否かを判別できるようになる。そして、特定のフォーマット構成であると判別できた場合には、コード領域での複数のデータワードの各配置位置を特定し得る情報(対応情報)に基づいてコード領域内の各データワードの位置を特定することができ、解読対象データを解読することができる。
In addition, the information code generation device 2 records a data acquisition unit that acquires data to be decoded and arrangement position information that specifies each arrangement position when a plurality of data words representing the data to be decoded are arranged in the code area. When the arrangement position information recording unit and the vacant area 110 are provided inside the code area, the format information is recorded at a predetermined position in the code area with a specific format configuration, and the decoding target data acquired by the data acquisition unit is recorded. A data recording area generating section for generating a data recording area so as to arrange each data word to be expressed based on the arrangement position information recorded in the arrangement position information recording section; On the other hand, the information code reading device 10 records correspondence information that is information corresponding to the arrangement position information recorded in the arrangement position information recording unit and information that specifies each arrangement position of a plurality of data words in the code area. When the information code 100 is captured by the imaging unit, the corresponding information recording unit, a determination unit that determines whether the predetermined position of the code area has a specific format configuration, and a predetermined position specified by the determination unit A decoding unit that identifies the position of each data word in the code area based on the correspondence information recorded in the correspondence information recording unit and decodes the data to be decoded when it is determined that the format is configured Yes.
In this configuration, the information code reading device 10 confirms the format configuration of the predetermined position 105 by the determination unit, so that the characteristic information code 100 generated by the information code generation device 2 (the information code 100 including the empty area 110) is displayed. ) 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.

また、情報コード生成装置2のデータ記録領域生成部は、コード領域の内部に空き領域110を設ける場合、所定種類のマスクパターンを反映した状態で所定位置105のセル配列を構成している。そして、情報コード読取装置10の判別部は、撮像部によって情報コード100が撮像された場合、所定位置105に所定種類のマスクパターンが反映されているか否かを判別し、情報コード読取装置10の解読部は、所定位置105に所定種類のマスクパターンが反映されていることを条件として、解読対象データを解読する。
この構成によれば、所定位置105にかけるマスクパターンの種別によって情報コード生成装置2によって生成された特徴的な情報コード100(空き領域110を備えた情報コード100)であるか否かを確実に判別でき、フォーマット情報のデータ量を抑えつつ「特定のフォーマット構成」を実現しやすくなる。
Further, the data recording area generation unit of the information code generation apparatus 2 configures a cell array at a predetermined position 105 in a state in which a predetermined type of mask pattern is reflected when the empty area 110 is provided inside the code area. Then, when the information code 100 is imaged by the imaging unit, the determination unit of the information code reading device 10 determines whether or not a predetermined type of mask pattern is reflected at the predetermined position 105, and the information code reading device 10 The decoding unit decodes the data to be decoded on the condition that a predetermined type of mask pattern is reflected at the predetermined position 105.
According to this configuration, whether or not the characteristic information code 100 (the information code 100 including the empty area 110) generated by the information code generation device 2 according to the type of the mask pattern applied to the predetermined position 105 is reliably determined. This makes it easy to realize a “specific format configuration” while suppressing the amount of format information.

また、配置位置情報(対応情報)は、解読対象データを複数のデータワードで表現したときの各順番のデータワードと、各順番のデータワードのコード領域内での各配置位置とを対応付けて定める情報であり、具体的には、コード領域において各配置位置で表される各順番のデータワードを、情報コード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 type code 120 different from the information code 100. It is information that defines each corresponding position. Then, when the determination unit determines that the predetermined position 105 has a specific format configuration, the decoding unit converts the data word in each order represented by each arrangement position in the code area to other types of codes determined by the correspondence information. The other-type code 120 is decoded with a configuration in which each corresponding position in 120 is replaced. According to this configuration, it is possible to satisfactorily read the characteristic information code 100 (the information code 100 including the empty area 110) using the mechanism for reading the other type code 120.

[第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 information code 200 as shown in FIG. 11B is generated by the information code generator 2 (see FIG. 1 and the like). Even in this configuration, a specific pattern area in which a specific pattern 204 having a predetermined shape is arranged inside the code area, and a data recording area in which data is recorded by a plurality of types of cells are provided. A free area 210 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 smaller than the size of a single cell. Is also provided in a large predetermined size.

この構成では、空き領域210の構成以外は、公知のQRコード(登録商標)として構成されており、まず、図11(A)のように、コード領域の内部に、特定パターン領域と、データ記録領域と、複数種類のセルによって誤り訂正符号を記録する誤り訂正符号記録領域とを設けている。なお、データ記録領域でのデータコードワードの記録方法及び誤り訂正符号記録領域での誤り訂正コードワードの記録方法は公知のQRコード(登録商標)と同様であり、例えば、JISX0510で規定される方式でコード領域内の位置検出パターン204の配置、データ記録領域におけるデータコードワードの配置、誤り訂正符号記録領域での誤り訂正コードワードの配置が定められている。   In this configuration, a configuration other than the configuration of the empty area 210 is configured as a known QR code (registered trademark). First, as shown in FIG. 11A, a specific pattern area and a data recording area are included in the code area. An 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 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.

但し、図11(A)のように、一部領域のコードワードを、白セルのみによって表現されるコードワードとして構成した情報コード200’を生成し、このように白セルのみによって表現される領域ARを空き領域210として、図11(B)のように、この空き領域210内に図形、模様、色彩又はこれらの結合からなるデザイン、又は1又は複数の記号によって表わされる情報の少なくともいずれかを表示している。図11(B)のように空き領域210にデザインDを表示した場合、図11(A)のような本来のデータ表示とは異なった構成になるが、この空き領域210でのデータの誤りは、誤り訂正符号記録領域に記録された誤り訂正符号を用いて公知の誤り訂正を行えばよい。   However, as shown in FIG. 11A, an information code 200 ′ 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. With AR as a free area 210, as shown in FIG. 11 (B), at least one of the design represented by a figure, a pattern, a color, or a combination thereof, or information represented by one or more symbols, is provided in this free area 210. it's shown. When the design D is displayed in the free area 210 as shown in FIG. 11B, the structure is different from the original data display as shown in FIG. A known error correction may be performed using the error correction code recorded in the error correction code recording area.

また、図11(B)に示す情報コード200では、空き領域210の位置が予め特定されるため、空き領域210内にデザインや情報を付加して表示する場合にはこの表示による誤り位置が予め分かっていることになる。従って、空き領域210の位置を誤り位置として消失訂正を行うように誤り訂正符号記録領域の誤り訂正符号を構成することもできる。この場合、空き領域210の位置を示す情報を予めデータ記録領域に記録しておいたり、或いは、予め読取装置10(図1)内に記憶しておくことで、読取時に読取装置10が空き領域210の位置(即ち、誤りが生じているデータコードワードの位置)を特定することができるようになり、読取装置10は、このように位置が特定された空き領域210に存在するデータコードワードの誤りを訂正するように、誤り訂正符号記録領域に記録された誤り訂正符号を用いて消失訂正を行うようにすればよい。   Further, in the information code 200 shown in FIG. 11B, since the position of the empty area 210 is specified in advance, when the design and information are added and displayed in the empty area 210, 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 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.

また、この構成では、データ記録領域に記録されるデータの内、解読対象データの終わりを示す終端子よりも前に配置されるデータ(出力対象となる解読対象データ)については、空き領域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 empty area 210. An area of padding codewords (data that is not subject to decoding) that is arranged outside and after the end terminal may be a free area 210. In this configuration, for example, the entire padding codeword area is displayed only with white cells.

[第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 information code 300 as shown in FIG. 12B is generated by the information code generator 2 (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 the timing cells 304b) constituting the character-shaped area are arranged, and a data recording area for recording data by a plurality of types of cells, and in a position other than the specific pattern area in the code area, A free area 310 that allows at least one of data recording and design display is provided with a predetermined size larger than the size of a single cell by a method different from the method of recording data in the data recording area. .

この構成では、空き領域310の構成以外は、公知のデータマトリックスコードとして構成されており、まず、図12(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. 12A, in 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 cell 304b in the code area are the same. 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.

但し、図12(A)のように、一部領域のコードワードを、白セルのみによって表現されるコードワードとして構成した情報コード300’を生成し、このように白セルのみによって表現される領域ARを空き領域310として、図12(B)のように、この空き領域310内に図形、模様、色彩又はこれらの結合からなるデザイン、又は1又は複数の記号によって表わされる情報の少なくともいずれかを表示している。図12(B)のように空き領域310にデザインDを表示した場合、図12(A)のような本来のデータ表示とは異なった構成になるが、この空き領域310でのデータの誤りは、誤り訂正符号記録領域に記録された誤り訂正符号を用いて公知の誤り訂正を行えばよい。   However, as shown in FIG. 12A, an information code 300 ′ in which a code word of a partial area is configured as a code word represented only by white cells is generated, and thus an area represented only by white cells. With AR as a free area 310, as shown in FIG. 12B, at least one of the design represented by a figure, a pattern, a color, or a combination thereof, or information represented by one or a plurality of symbols is provided in this free area 310. it's shown. When the design D is displayed in the free area 310 as shown in FIG. 12B, the configuration is different from the original data display as shown in FIG. A known error correction may be performed using the error correction code recorded in the error correction code recording area.

また、図12(B)に示す情報コード300では、空き領域310の位置が予め特定されるため、空き領域310内にデザインや情報を付加して表示する場合にはこの表示による誤り位置が予め分かっていることになる。従って、空き領域310の位置を誤り位置として消失訂正を行うように誤り訂正符号記録領域の誤り訂正符号を構成することもできる。この場合、空き領域310の位置を示す情報を予めデータ記録領域に記録しておいたり、或いは、予め読取装置10(図1)内に記憶しておくことで、読取時に読取装置10が空き領域310の位置(即ち、誤りが生じているデータコードワードの位置)を特定することができるようになり、読取装置10は、このように位置が特定された空き領域310に存在するデータコードワードの誤りを訂正するように、誤り訂正符号記録領域に記録された誤り訂正符号を用いて消失訂正を行うようにすればよい。   In the information code 300 shown in FIG. 12B, the position of the empty area 310 is specified in advance. Therefore, when the design and information are 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.

[他の実施形態]
本発明は上記記述及び図面によって説明した実施形態に限定されるものではなく、例えば次のような実施形態も本発明の技術的範囲に含まれる。
[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 code generation device 2 and the information code reading device 10 are configured as separate devices, but the information code generation device 2 may be configured as the information code reading device 10. Good.

上記実施形態では、コード領域の中央部に空き領域110を設けた例を示したが、空き領域110の配置はこの例に限られない。例えば、コード領域の周縁付近に空き領域を設けてもよい。また、空き領域の構成は、図10(A)のように空白としてもよく、図10(B)(C)のように、デザインが表示されていてもよく、1又は複数の記号によって表わされる情報が表示されていてもよい。或いは、デザインと情報が共に表示されていてもよい。なお、図10(B)では空き領域に模様を付した構成を示し、図10(C)では、空き領域に図形を付した構成を示したが、図形、模様、色彩又はこれらの結合からなる構成であれば他の様々なデザインを採用することができる。また、デザインに代えて、或いはデザインと共に情報を表示する場合、その情報の内容は様々である。例えば、情報コード100に記録されるデータを提供する提供主体(事業主や個人等)の名称や当該提供主体のサイトのアドレスなどであってもよく、或いは情報コード100に記録されるデータに関する商品名や役務名などであってもよい。   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. For example, an empty area may be provided near the periphery of the code area. In addition, the configuration of the empty area may be blank as shown in FIG. 10A, the design may be displayed as shown in FIGS. 10B and 10C, and is represented by one or more symbols. Information may be displayed. Alternatively, both the design and information may be displayed. Note that FIG. 10B shows a configuration in which a pattern is added to the empty area, and FIG. 10C shows a configuration in which a figure is added to the empty area. The configuration includes a figure, a pattern, a color, or a combination thereof. Various other designs can be adopted as long as the configuration. In addition, when information is displayed instead of the design or together with the design, the contents of the information are various. For example, it may be the name of the provider (business owner, individual, etc.) that provides the data recorded in the information code 100, the address of the provider's site, etc., or a product related to the data recorded in the information code 100 It may be a name or service name.

上記実施形態では、他種コードとして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〜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 code generating device 2 and the information code reading device 10 is changed as shown in FIG. 7, the generated information code 100 includes the 22nd to 26th codes. The arrangement of the words from the arrangement shown in the right figure of FIG. 5 (the arrangement recorded in the 22th to 26th arrangement candidate positions) to the arrangement shown in the right figure of FIG. 7 (the arrangement recorded in the 42th to 46th arrangement candidate positions). As a result, the position and shape of the empty area 110 also change. 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.

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 SYMBOLS 1 ... Information code utilization system 2 ... Information code production | generation apparatus 3 ... Control part (Data acquisition part, data recording area production | generation part)
4 ... operation unit (data acquisition unit)
5. Storage unit (arrangement position information recording unit)
7. Communication unit (data acquisition unit)
DESCRIPTION OF SYMBOLS 10 ... Information code reader 23 ... Light receiving sensor (imaging part)
35. Memory (corresponding information recording unit)
40 ... Control circuit (decoding unit, discrimination unit)
100, 200, 300 ... Information code 102, 202, 302 ... Cell 104, 204 ... Position detection pattern (specific pattern)
304a ... alignment pattern (specific pattern)
304b ... Timing cell (specific pattern)
110, 210, 310 ... free space 120 ... other types of codes

Claims (18)

所定のコード領域の内部に情報を表示する単位となるセルを配列した情報コードを情報コード生成装置によって生成する情報コード生成方法であって、
前記コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類の前記セルによってデータを記録するデータ記録領域と、複数種類の前記セルによって誤り訂正符号を記録する誤り訂正符号記録領域とを設け、前記コード領域の内部において、前記特定パターン領域、前記データ記録領域、前記誤り訂正符号記録領域以外の位置に、前記データ記録領域にデータを記録する方法とは異なる方法であって前記誤り訂正符号による誤り訂正の対象にならない領域として、データの記録又はデザインの表示の少なくともいずれかが可能となる空き領域を、単一の前記セルのサイズよりも大きい所定サイズで設けることを特徴とする情報コード生成方法。
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,
A specific pattern area in which a specific pattern 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 an error correction code is recorded by a plurality of types of cells. And a method of recording data in the data recording area at a position other than the specific pattern area, the data recording area, and the error correction code recording area within the code area. As an area that is a different method and is not subject to error correction by the error correction code, a free area in which at least one of data recording and design display is possible is a predetermined size larger than the size of a single cell An information code generation method characterized by comprising the steps of:
前記データ記録領域に記録するべき解読対象データを表現する複数のデータワードを前記コード領域に配置する際の各配置位置を特定する配置位置情報が記録された配置位置情報記録部を用い、
前記解読対象データを表現する複数の前記データワードを、前記配置位置情報記録部に記録された前記配置位置情報に従って前記コード領域に配置することを特徴とする請求項1に記載の情報コード生成方法。
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 information code generation method according to claim 1, wherein a plurality of the 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. .
前記コード領域の内部に前記空き領域を設ける場合、前記コード領域内の所定位置に特定のフォーマット構成でフォーマット情報を記録することを特徴とする請求項1又は請求項2に記載の情報コード生成方法。   3. The information code generation method according to claim 1, wherein when the empty area is provided in the code area, the format information is recorded in a specific format configuration at a predetermined position in the code area. . 前記コード領域の内部に前記空き領域を設ける場合、所定種類のマスクパターンを反映した状態で前記所定位置のセル配列を構成することを特徴とする請求項3に記載の情報コード生成方法。   4. The information code generation method according to claim 3, wherein when the empty area is provided inside the code area, the cell array at the predetermined position is configured in a state reflecting a predetermined type of mask pattern. 前記空き領域に、図形、模様、色彩又はこれらの結合からなるデザイン、又は1又は複数の記号によって表わされる情報の少なくともいずれかを表示することを特徴とする請求項1から請求項4のいずれか一項に記載の情報コード生成方法。   5. The display device according to claim 1, wherein at least one of a figure, a pattern, a color, a design composed of a combination thereof, or information represented by one or more symbols is displayed in the empty area. The information code generation method according to one item. 所定のコード領域の内部に情報を表示する単位となるセルを配列した情報コードであって、
前記コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類の前記セルによってデータを記録するデータ記録領域と、複数種類の前記セルによって誤り訂正符号を記録する誤り訂正符号記録領域とが設けられ、前記コード領域の内部において、前記特定パターン領域、前記データ記録領域、前記誤り訂正符号記録領域以外の位置に、前記データ記録領域にデータを記録する方法とは異なる方法であって前記誤り訂正符号による誤り訂正の対象にならない領域として、データの記録又はデザインの表示の少なくともいずれかが可能となる空き領域が、単一の前記セルのサイズよりも大きい所定サイズで設けられていることを特徴とする情報コード。
An information code in which cells serving as units for displaying information are arranged in a predetermined code area,
A specific pattern area in which a specific pattern 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 an error correction code is recorded by a plurality of types of cells. And a method of recording data in the data recording area at a position other than the specific pattern area, the data recording area, and the error correction code recording area within the code area. Are different methods and are not subject to error correction by the error correction code, and a free area in which at least one of data recording and design display is possible is larger than the size of a single cell. An information code characterized by being provided in size.
前記コード領域内の所定位置に特定のフォーマット構成でフォーマット情報が記録され、且つ、前記データ記録領域の解読対象データを表現する各データワードが、予め定められた配置位置情報に基づいて前記コード領域内に配置されていることを特徴とする請求項6に記載の情報コード。   Format information is recorded in a specific format configuration at a predetermined position in the code area, and each data word representing data to be decoded in the data recording area is stored in the code area based on predetermined arrangement position information. The information code according to claim 6, wherein the information code is disposed within the information code. 所定種類のマスクパターンを反映した状態で前記所定位置のセル配列が構成されていることを特徴とする請求項7に記載の情報コード。   8. The information code according to claim 7, wherein the cell array at the predetermined position is configured in a state in which a predetermined type of mask pattern is reflected. 前記空き領域には、図形、模様、色彩又はこれらの結合からなるデザイン、又は1又は複数の記号によって表わされる情報の少なくともいずれかが表示されていることを特徴とする請求項6から請求項8のいずれか一項に記載の情報コード。   9. The empty area displays at least one of a figure, a pattern, a color, a design composed of a combination thereof, or information represented by one or more symbols. The information code according to any one of the above. 所定のコード領域の内部に情報を表示する単位となるセルを配列した情報コードを読み取る情報コード読取装置であって、
前記情報コードは、前記コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類の前記セルによってデータを記録するデータ記録領域と、複数種類の前記セルによって誤り訂正符号を記録する誤り訂正符号記録領域とを設け、前記コード領域の内部において、前記特定パターン領域、前記データ記録領域、前記誤り訂正符号記録領域以外の位置に、前記データ記録領域にデータを記録する方法とは異なる方法であって前記誤り訂正符号による誤り訂正の対象にならない領域として、データの記録又はデザインの表示の少なくともいずれかが可能となる空き領域を、単一の前記セルのサイズよりも大きい所定サイズで設けた構成であり、
前記情報コードを撮像可能な撮像部と、
前記撮像部によって前記情報コードが撮像された場合に、前記データ記録領域の内容に基づいて前記データ記録領域に記録された前記データを解読する解読部と、
を有することを特徴とする情報コード読取装置。
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, a data recording area in which data is recorded by a plurality of types of cells, and a plurality of types of the cells. An error correction code recording area for recording an error correction code is provided, and data is stored in the data recording area at a position other than the specific pattern area, the data recording area, and the error correction code recording area within the code area. As an area that is different from the recording method and that is not subject to error correction by the error correction code, an empty area in which at least one of data recording and design display is possible is made a single size of the cell. Is a configuration provided with a larger predetermined size,
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;
An information code reading device comprising:
前記情報コードは、前記コード領域内の所定位置に特定のフォーマット構成でフォーマット情報が記録され、且つ、前記データ記録領域の解読対象データを表現する各データワードが、予め定められた配置位置情報に基づいて前記コード領域内に配置されたものであり、
前記配置位置情報に対応する情報であり且つ前記コード領域での複数の前記データワードの各配置位置を特定する情報である対応情報を記録する対応情報記録部と、
前記撮像部によって前記情報コードが撮像された場合に、前記コード領域の前記所定位置が前記特定のフォーマット構成であるか否かを判別する判別部と、
を備え、
前記解読部は、前記判別部によって前記所定位置が前記特定のフォーマット構成であると判別された場合に、前記対応情報記録部に記録された前記対応情報に基づいて前記コード領域内の各データワードの位置を特定し、前記解読対象データを解読することを特徴とする請求項10に記載の情報コード読取装置。
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 The information code reading device according to claim 10, wherein the position of the information is identified and the data to be decoded is decoded.
前記情報コードは、所定種類のマスクパターンを反映した状態で前記所定位置のセル配列が構成されたものであり、
前記判別部は、前記撮像部によって前記情報コードが撮像された場合、前記所定位置に前記所定種類のマスクパターンが反映されているか否かを判別し、
前記解読部は、前記所定位置に前記所定種類のマスクパターンが反映されていることを条件として、前記解読対象データを解読することを特徴とする請求項11に記載の情報コード読取装置。
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;
12. The information code reading apparatus according to claim 11, 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.
前記配置位置情報は、前記解読対象データを複数の前記データワードで表現したときの各順番のデータワードと、前記各順番のデータワードの前記コード領域内での各配置位置とを対応付けて定める情報であり、
前記対応情報は、前記コード領域において各配置位置で表される前記各順番のデータワードを、前記情報コードとは異なる他種コードで表現する場合の当該他種コード内での各対応位置を定める情報であり、
前記解読部は、前記判別部によって前記所定位置が前記特定のフォーマット構成であると判別された場合、前記コード領域の各配置位置で表される前記各順番のデータワードを、前記対応情報で定められる前記他種コード内での各対応位置に置換した構成で当該他種コードを解読することを特徴とする請求項11又は請求項12に記載の情報コード読取装置。
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. 13. The information code reading device according to claim 11, wherein the other type code is decoded with a configuration in which each 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:
A specific pattern area in which a specific pattern 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 an error correction code is recorded by a plurality of types of cells. And a method of recording data in the data recording area at a position other than the specific pattern area, the data recording area, and the error correction code recording area within the code area. As an area that is a different method and is not subject to error correction by the error correction code, a free area in which at least one of data recording and design display is possible is a predetermined size larger than the size of a single cell The information code is generated with the configuration provided in
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.
前記情報コード生成装置は、
解読対象データを取得するデータ取得部と、
前記解読対象データを表現する複数のデータワードを前記コード領域に配置する際の各配置位置を特定する配置位置情報を記録する配置位置情報記録部と、
前記コード領域の内部に前記空き領域を設ける場合、前記コード領域内の所定位置に特定のフォーマット構成でフォーマット情報を記録し、且つ、前記データ取得部で取得された前記解読対象データを表現する各データワードを、前記配置位置情報記録部に記録された前記配置位置情報に基づいて配置するように、前記データ記録領域を生成するデータ記録領域生成部と、
を備え、
前記情報コード読取装置は、
前記配置位置情報記録部に記録される前記配置位置情報に対応する情報であり且つ前記コード領域での複数の前記データワードの各配置位置を特定する情報である対応情報を記録する対応情報記録部と、
前記撮像部によって前記情報コードが撮像された場合に、前記コード領域の前記所定位置が前記特定のフォーマット構成であるか否かを判別する判別部と、
前記判別部によって前記所定位置が前記特定のフォーマット構成であると判別された場合に、前記対応情報記録部に記録された前記対応情報に基づいて前記コード領域内の各データワードの位置を特定し、前記解読対象データを解読する解読部と、
を備えたことを特徴とする請求項14に記載の情報コード利用システム。
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;
15. The information code utilization system according to claim 14, further comprising:
前記情報コード生成装置の前記データ記録領域生成部は、前記コード領域の内部に前記空き領域を設ける場合、所定種類のマスクパターンを反映した状態で前記所定位置のセル配列を構成し、
前記情報コード読取装置の前記判別部は、前記撮像部によって前記情報コードが撮像された場合、前記所定位置に前記所定種類のマスクパターンが反映されているか否かを判別し、
前記情報コード読取装置の前記解読部は、前記所定位置に前記所定種類のマスクパターンが反映されていることを条件として、前記解読対象データを解読することを特徴とする請求項15に記載の情報コード利用システム。
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;
16. The information according to claim 15, 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.
前記配置位置情報は、前記解読対象データを複数の前記データワードで表現したときの各順番のデータワードと、前記各順番のデータワードの前記コード領域内での各配置位置とを対応付けて定める情報であり、
前記対応情報は、前記コード領域において各配置位置で表される前記各順番のデータワードを、前記情報コードとは異なる他種コードで表現する場合の当該他種コード内での各対応位置を定める情報であり、
前記解読部は、前記判別部によって前記所定位置が前記特定のフォーマット構成であると判別された場合、前記コード領域の各配置位置で表される前記各順番のデータワードを、前記対応情報で定められる前記他種コード内での各対応位置に置換した構成で当該他種コードを解読することを特徴とする請求項15又は請求項16に記載の情報コード利用システム。
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. 17. The information code utilization system according to claim 15, wherein the other-type code is decoded with a configuration in which each corresponding position in the other-type code is replaced.
前記情報コード生成装置は、前記空き領域に、図形、模様、色彩又はこれらの結合からなるデザイン、又は1又は複数の記号によって表わされる情報の少なくともいずれかを表示する構成で、前記情報コードを生成することを特徴とする請求項14から請求項17のいずれか一項に記載の情報コード利用システム。   The information code generation device generates the information code in a configuration in which at least one of a figure, a pattern, a color, a design composed of a combination thereof, or information represented by one or more symbols is displayed in the empty area. The information code utilization system according to any one of claims 14 to 17, wherein:
JP2017031812A 2012-12-19 2017-02-23 Information code generation method, information code, information code reader, and information code utilization system Active JP6394717B2 (en)

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
JP2017117486A JP2017117486A (en) 2017-06-29
JP6394717B2 true JP6394717B2 (en) 2018-09-26

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
JP2017031812A Active JP6394717B2 (en) 2012-12-19 2017-02-23 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

Family Applications Before (1)

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

Family Applications After (1)

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

Country Status (1)

Country Link
JP (3) JP6323507B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
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

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4052190B2 (en) * 2002-10-29 2008-02-27 株式会社デンソー Two-dimensional code formation structure
JP3953501B1 (en) * 2006-03-03 2007-08-08 株式会社バンダイナムコゲームス Program, information storage medium, two-dimensional code generation system, image generation system, and two-dimensional code
JP5057560B2 (en) * 2006-12-14 2012-10-24 株式会社バンダイナムコゲームス Program, information storage medium, two-dimensional code, printed matter, two-dimensional code image, two-dimensional code image display control method, two-dimensional code generation system
JP5080949B2 (en) * 2007-11-28 2012-11-21 アイフォーコム株式会社 Image information with two-dimensional code, its generation device, printing device, reading method, reading device, reading program, and recording medium
JP5136302B2 (en) * 2008-03-27 2013-02-06 株式会社デンソーウェーブ Two-dimensional code, two-dimensional code generation method, computer-readable program for displaying two-dimensional code, authentication method using two-dimensional code, and information providing method using two-dimensional code

Also Published As

Publication number Publication date
JP2016201132A (en) 2016-12-01
JP6323507B2 (en) 2018-05-16
JP6265288B2 (en) 2018-01-24
JP2017117486A (en) 2017-06-29
JP2017117485A (en) 2017-06-29

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
WO2014098130A1 (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
US8879737B2 (en) Method for producing two-dimensional code and reader for reading the two-dimensional code
JP5023949B2 (en) Two-dimensional code and its reading device
JP6394725B2 (en) Information code generation method, information code, information code reader, and information code utilization system
JP6160528B2 (en) Parking lot use system and parking ticket reader
JP6394717B2 (en) Information code generation method, information code, information code reader, and information code utilization system
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
JP4862360B2 (en) Two-dimensional code and two-dimensional 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
JP2015087972A (en) Information code and information code reader
JP6409623B2 (en) Information code generation method, information code, information code reading system, and information code reading apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171115

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171128

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20180123

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180813

R150 Certificate of patent or registration of utility model

Ref document number: 6394717

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