JP7024665B2 - Information code, information code generation method, information code generator and information code reading system - Google Patents

Information code, information code generation method, information code generator and information code reading system Download PDF

Info

Publication number
JP7024665B2
JP7024665B2 JP2018159277A JP2018159277A JP7024665B2 JP 7024665 B2 JP7024665 B2 JP 7024665B2 JP 2018159277 A JP2018159277 A JP 2018159277A JP 2018159277 A JP2018159277 A JP 2018159277A JP 7024665 B2 JP7024665 B2 JP 7024665B2
Authority
JP
Japan
Prior art keywords
block
data
colored
code
dark
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
JP2018159277A
Other languages
Japanese (ja)
Other versions
JP2020035057A (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
Priority to JP2018159277A priority Critical patent/JP7024665B2/en
Publication of JP2020035057A publication Critical patent/JP2020035057A/en
Application granted granted Critical
Publication of JP7024665B2 publication Critical patent/JP7024665B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Storage Device Security (AREA)

Description

本発明は、情報コード、情報コード生成方法、情報コード生成装置及び情報コード読取システムに関するものである。 The present invention relates to an information code, an information code generation method, an information code generation device, and an information code reading system.

QRコード(登録商標)などの情報コードは、現在、様々な用途に用いられており、情報コード内に個人情報等の非公開とすべき非公開データ(秘匿データ)を記録して提供することも多い。例えば、下記特許文献1に示す二次元コードでは、開示データコードと秘匿データコードとの間に終端識別コードが配置されるように生成されている。そして、このように生成される二次元コードを復号鍵を持たない一般仕様の読取装置で読み取ると、終端識別コードの前までの開示データコードが読取対象となり、秘匿データコードが読取対象とならない。一方、上述のように生成される二次元コードを復号鍵を有する読取装置で読み取ると、開示データコードおよび秘匿データコードの双方が読取対象となる。このため、一般仕様の読取装置の利用者には秘匿データの存在がわからないので、秘匿データのセキュリティ性を高めることができる。 Information codes such as QR codes (registered trademarks) are currently used for various purposes, and private data (confidential data) such as personal information that should be kept private is recorded and provided in the information code. There are also many. For example, in the two-dimensional code shown in Patent Document 1 below, the termination identification code is generated so as to be arranged between the disclosed data code and the secret data code. When the two-dimensional code generated in this way is read by a general-purpose reading device that does not have a decoding key, the disclosed data code before the terminal identification code is the reading target, and the secret data code is not the reading target. On the other hand, when the two-dimensional code generated as described above is read by a reading device having a decoding key, both the disclosed data code and the secret data code are read. Therefore, since the user of the reader of the general specification does not know the existence of the confidential data, the security of the confidential data can be enhanced.

特開2008-299422号公報Japanese Unexamined Patent Publication No. 2008-299422

上述のような構成では、非公開データ(秘匿データ)を読み取るための復号鍵が予め読取装置のメモリ等に記憶されることで、その読取装置が正規の読取装置として機能する。この状態の読取装置を用いて非公開データが記録された二次元コードを撮像することで、読取作業者が特別な操作をすることなく、非公開データを読み取ることができる。 In the configuration as described above, the decryption key for reading the non-public data (confidential data) is stored in the memory of the reading device in advance, so that the reading device functions as a regular reading device. By imaging the two-dimensional code in which the non-public data is recorded using the reading device in this state, the non-public data can be read without any special operation by the reading operator.

ところで、復号鍵が必要となる情報コードが複数存在し各々に異なる復号鍵が設定される場合、読取装置側に予め複数の復号鍵を記憶しておく必要がある。このため、復号鍵の数が多いと登録、管理するための手間がかかるだけでなく、復号鍵を記憶するための十分な領域が読取装置側に必要となる。その一方で、これらの問題を緩和するため復号鍵を共通化すると、秘匿データのセキュリティ性を低める要因となってしまう。このような問題は、上記特許文献1の二次元コードのようにデータの少なくとも一部が非公開データとして暗号化されて記録される情報コード(以下、一部非公開コードともいう)に限らず、全データが暗号化されて記録される情報コードについても同様に生じるものである。 By the way, when there are a plurality of information codes that require a decryption key and different decryption keys are set for each, it is necessary to store the plurality of decryption keys in advance on the reading device side. Therefore, if the number of decryption keys is large, not only is it time-consuming to register and manage, but also a sufficient area for storing the decryption keys is required on the reading device side. On the other hand, if the decryption key is shared in order to alleviate these problems, it becomes a factor that lowers the security of the confidential data. Such a problem is not limited to an information code (hereinafter, also referred to as a partially private code) in which at least a part of data is encrypted and recorded as private data as in the two-dimensional code of Patent Document 1. The same applies to information codes in which all data are encrypted and recorded.

本発明は、上述した課題を解決するためになされたものであり、その目的とするところは、暗号化された非公開データを復号可能な復号鍵を、撮像したデータブロック等を利用して生成し得る構成を提供することにある。 The present invention has been made to solve the above-mentioned problems, and an object thereof is to generate a decryption key capable of decrypting encrypted private data by using an imaged data block or the like. It is to provide a possible configuration.

上記目的を達成するため、特許請求の範囲の請求項1に記載の発明は、
所定のコード領域(101)の内部に情報を表示する単位となるセル(102)が明色セル又は暗色セルとして配列されてなる情報コード(100,100a)であって、
前記コード領域の内部に、予め定められた形状の特定パターン(103,104)が配置される特定パターン領域と、所定数の前記セルにより構成されるデータブロックを複数利用してデータを記録するデータ記録領域と、前記データブロックを複数利用して誤り訂正符号を記録する誤り訂正符号記録領域と、が設けられ、
前記データブロックは、少なくとも1つの前記明色セルと少なくとも1つの前記暗色セルとを含むことで前記データ記録領域又は前記誤り訂正符号記録領域を構成し、
誤り訂正可能な範囲の前記データブロックの少なくとも一部が、前記所定数の前記明色セルのみから構成される明色ブロック(111)又は前記所定数の前記暗色セルのみから構成される暗色ブロック(112)に置換され、
前記明色ブロック又は前記暗色ブロックに置換された前記データブロックの位置に応じて生成された所定の復号鍵にて、前記データの少なくとも一部が非公開データとして復号可能に暗号化されて前記データ記録領域に記録されることを特徴とする。
In order to achieve the above object, the invention according to claim 1 of the claims shall be:
An information code (100, 100a) in which cells (102), which are units for displaying information inside a predetermined code area (101), are arranged as light-colored cells or dark-colored cells.
Data for recording data using a specific pattern area in which specific patterns (103, 104) having a predetermined shape are arranged inside the code area and a plurality of data blocks composed of a predetermined number of the cells. A recording area and an error correction code recording area for recording an error correction code by using a plurality of the data blocks are provided.
The data block comprises at least one light-colored cell and at least one dark-colored cell to form the data recording area or the error correction code recording area.
At least a part of the data block in an error-correctable range is a light-colored block (111) composed of only the predetermined number of the bright-colored cells or a dark-colored block (111) composed of only the predetermined number of the dark-colored cells (the predetermined number of the dark-colored cells). Replaced by 112)
At least a part of the data is decryptably encrypted as private data with a predetermined decryption key generated according to the position of the data block replaced with the light-colored block or the dark-colored block. It is characterized by being recorded in a recording area.

また、請求項6に記載の発明は、
所定のコード領域(101)の内部に情報を表示する単位となるセル(102)が明色セル又は暗色セルとして配列されてなる情報コード(100,100a)を生成する情報コード生成方法であって、
前記コード領域の内部に、予め定められた形状の特定パターン(103,104)が配置される特定パターン領域と、所定数の前記セルにより構成されるデータブロックを複数利用してデータを記録するデータ記録領域と、前記データブロックを複数利用して誤り訂正符号を記録する誤り訂正符号記録領域と、を設け、
前記データブロックは、少なくとも1つの前記明色セルと少なくとも1つの前記暗色セルとを含むことで前記データ記録領域又は前記誤り訂正符号記録領域を構成し、
誤り訂正可能な範囲の前記データブロックの少なくとも一部を、前記所定数の前記明色セルのみから構成される明色ブロック(111)又は前記所定数の前記暗色セルのみから構成される暗色ブロック(112)に置換し、
前記明色ブロック又は前記暗色ブロックに置換された前記データブロックの位置に応じて生成した所定の復号鍵にて、前記データの少なくとも一部を非公開データとして復号可能に暗号化して前記データ記録領域に記録することを特徴とする。
Further, the invention according to claim 6 is based on the invention.
An information code generation method for generating an information code (100, 100a) in which cells (102), which are units for displaying information inside a predetermined code area (101), are arranged as light-colored cells or dark-colored cells. ,
Data for recording data using a specific pattern area in which specific patterns (103, 104) having a predetermined shape are arranged inside the code area and a plurality of data blocks composed of a predetermined number of the cells. A recording area and an error correction code recording area for recording an error correction code by using a plurality of the data blocks are provided.
The data block comprises at least one light-colored cell and at least one dark-colored cell to form the data recording area or the error correction code recording area.
At least a part of the data block in an error-correctable range is a light-colored block (111) composed of only the predetermined number of the bright-colored cells or a dark-colored block (111) composed of only the predetermined number of the dark-colored cells (the predetermined number of the dark-colored cells). Replace with 112)
With a predetermined decryption key generated according to the position of the data block replaced with the light-colored block or the dark-colored block, at least a part of the data is decryptably encrypted as private data and the data recording area is used. It is characterized by recording in.

また、請求項11に記載の発明は、
所定のコード領域(101)の内部に情報を表示する単位となるセル(102)が明色セル又は暗色セルとして配列されてなる情報コード(100,100a)を生成する情報コード生成装置(2)であって、
前記コード領域の内部に、予め定められた形状の特定パターン(103,104)が配置される特定パターン領域と、所定数の前記セルにより構成されるデータブロックを複数利用してデータを記録するデータ記録領域と、前記データブロックを複数利用して誤り訂正符号を記録する誤り訂正符号記録領域と、を設け、
前記データブロックは、少なくとも1つの前記明色セルと少なくとも1つの前記暗色セルとを含むことで前記データ記録領域又は前記誤り訂正符号記録領域を構成し、
誤り訂正可能な範囲の前記データブロックの少なくとも一部を、前記所定数の前記明色セルのみから構成される明色ブロック(111)又は前記所定数の前記暗色セルのみから構成される暗色ブロック(112)に置換し、
前記明色ブロック又は前記暗色ブロックに置換された前記データブロックの位置に応じて生成した所定の復号鍵にて、前記データの少なくとも一部を非公開データとして復号可能に暗号化して前記データ記録領域に記録するように前記情報コードを生成することを特徴とする。
Further, the invention according to claim 11 is
An information code generator (2) that generates an information code (100, 100a) in which cells (102), which are units for displaying information, are arranged as light-colored cells or dark-colored cells inside a predetermined code area (101). And
Data for recording data using a specific pattern area in which specific patterns (103, 104) having a predetermined shape are arranged inside the code area and a plurality of data blocks composed of a predetermined number of the cells. A recording area and an error correction code recording area for recording an error correction code by using a plurality of the data blocks are provided.
The data block comprises at least one light-colored cell and at least one dark-colored cell to form the data recording area or the error correction code recording area.
At least a part of the data block in an error-correctable range is a light-colored block (111) composed of only the predetermined number of the bright-colored cells or a dark-colored block (111) composed of only the predetermined number of the dark-colored cells (the predetermined number of the dark-colored cells). Replace with 112)
The data recording area is decryptably encrypted at least a part of the data with a predetermined decoding key generated according to the position of the data block replaced with the light-colored block or the dark-colored block. It is characterized in that the information code is generated so as to be recorded in.

また、請求項12に記載の発明は、
所定のコード領域(101)の内部に情報を表示する単位となるセル(102)が明色セル又は暗色セルとして配列されてなる情報コード(100,100a)を生成する情報コード生成装置(2)と、前記情報コード生成装置により生成された前記情報コードを光学的に読み取る情報コード読取装置(10)とを備える情報コード読取システム(1)であって、
前記情報コード生成装置は、
前記コード領域の内部に、予め定められた形状の特定パターン(103,104)が配置される特定パターン領域と、所定数の前記セルにより構成されるデータブロックを複数利用してデータを記録するデータ記録領域と、前記データブロックを複数利用して誤り訂正符号を記録する誤り訂正符号記録領域と、を設け、
前記データブロックは、少なくとも1つの前記明色セルと少なくとも1つの前記暗色セルとを含むことで前記データ記録領域又は前記誤り訂正符号記録領域を構成し、
誤り訂正可能な範囲の前記データブロックの少なくとも一部を、前記所定数の前記明色セルのみから構成される明色ブロック(111)又は前記所定数の前記暗色セルのみから構成される暗色ブロック(112)に置換し、
前記明色ブロック又は前記暗色ブロックに置換された前記データブロックの位置に応じて生成した所定の復号鍵にて、前記データの少なくとも一部を非公開データとして復号可能に暗号化して前記データ記録領域に記録するように前記情報コードを生成し、
前記情報コード読取装置は、
前記情報コードを撮像する撮像部(23)と、
前記撮像部により撮像された前記情報コードを解読する解読部(31)と、
前記撮像部により撮像された前記情報コードの前記コード領域における前記明色ブロック及び前記暗色ブロックの位置を検出する検出部(31)と、
前記検出部による検出結果に応じて前記復号鍵を生成する生成部(31)と、
を備え、
前記解読部は、前記生成部により生成された前記復号鍵を利用して前記非公開データを復号することを特徴とする。
なお、上記各括弧内の符号は、後述する実施形態に記載の具体的手段との対応関係を示すものである。
Further, the invention according to claim 12 is based on the invention.
An information code generator (2) that generates an information code (100, 100a) in which cells (102), which are units for displaying information, are arranged as light-colored cells or dark-colored cells inside a predetermined code area (101). An information code reading system (1) including an information code reading device (10) that optically reads the information code generated by the information code generating device.
The information code generator is
Data for recording data using a specific pattern area in which specific patterns (103, 104) having a predetermined shape are arranged inside the code area and a plurality of data blocks composed of a predetermined number of the cells. A recording area and an error correction code recording area for recording an error correction code by using a plurality of the data blocks are provided.
The data block comprises at least one light-colored cell and at least one dark-colored cell to form the data recording area or the error correction code recording area.
At least a part of the data block in an error-correctable range is a light-colored block (111) composed of only the predetermined number of the bright-colored cells or a dark-colored block (111) composed of only the predetermined number of the dark-colored cells (the predetermined number of the dark-colored cells). Replace with 112)
The data recording area is decryptably encrypted at least a part of the data with a predetermined decoding key generated according to the position of the data block replaced with the light-colored block or the dark-colored block. Generate the information code to record in
The information code reader is
An imaging unit (23) that captures the information code, and
A decoding unit (31) that decodes the information code captured by the imaging unit, and
A detection unit (31) for detecting the positions of the light-colored block and the dark-colored block in the code region of the information code captured by the imaging unit, and
A generation unit (31) that generates the decryption key according to the detection result by the detection unit, and
Equipped with
The decoding unit is characterized in that the private data is decoded by using the decoding key generated by the generation unit.
The reference numerals in the parentheses indicate the correspondence with the specific means described in the embodiments described later.

請求項1の発明では、データブロックは、少なくとも1つの明色セルと少なくとも1つの暗色セルとを含むことでデータ記録領域又は誤り訂正符号記録領域を構成し、誤り訂正可能な範囲のデータブロックの少なくとも一部が、所定数の明色セルのみから構成される明色ブロック又は所定数の暗色セルのみから構成される暗色ブロックに置換される。そして、明色ブロック又は暗色ブロックに置換されたデータブロックの位置に応じて生成された所定の復号鍵にて、データの少なくとも一部が非公開データとして復号可能に暗号化されてデータ記録領域に記録される。 In the invention of claim 1, the data block constitutes a data recording area or an error correction code recording area by including at least one light-colored cell and at least one dark-colored cell, and is a data block in a range in which error correction is possible. At least a part thereof is replaced with a light color block composed of only a predetermined number of light color cells or a dark color block composed of only a predetermined number of dark color cells. Then, with a predetermined decryption key generated according to the position of the data block replaced with the light-colored block or the dark-colored block, at least a part of the data is decryptably encrypted as private data and stored in the data recording area. Recorded.

明色セルのみから構成される明色ブロックや暗色セルのみから構成される暗色ブロックは、従来ではデータブロックとして使用されずにデータ記録領域や誤り訂正符号記録領域を構成しない。このため、上述のように構成される情報コードを撮像した読取装置では、明色ブロック又は暗色ブロックに置換されたデータブロックの位置を一義的に検出でき、この検出した位置に応じて復号鍵を生成することができる。これにより、読取装置では、情報コードに記録される非開示データを読み取るための復号鍵を予め記憶する必要もない。すなわち、暗号化された非公開データを復号可能な復号鍵を、撮像したデータブロック等を利用して生成することができる。特に、誤り訂正可能な範囲内でのデータブロックが明色ブロック又は暗色ブロックに置換されるため、この置換によってその情報コードの解読(デコード)が失敗することもない。 A light-colored block composed of only light-colored cells and a dark-colored block composed of only dark-colored cells are not conventionally used as data blocks and do not form a data recording area or an error correction code recording area. Therefore, the reading device that captures the information code configured as described above can uniquely detect the position of the data block replaced by the light-colored block or the dark-colored block, and the decryption key is obtained according to the detected position. Can be generated. As a result, the reading device does not need to store the decryption key for reading the non-disclosure data recorded in the information code in advance. That is, a decryption key capable of decrypting encrypted private data can be generated by using an imaged data block or the like. In particular, since the data block within the range where the error can be corrected is replaced with the light-colored block or the dark-colored block, the decoding of the information code does not fail due to this replacement.

請求項2の発明では、明色ブロック又は暗色ブロックに置換されたデータブロックの位置として、コード領域の少なくとも一部となる所定の設定領域において複数のブロックが予め決められた所定の順番で並べられた並びをデータブロックと明色ブロックと暗色ブロックとで異なる数値を用いて表した数列に応じて、復号鍵が生成される。これにより、所定の設定領域における各ブロックの所定の順番での並びを3値化した数列が得られるので、この3値化した数列を利用して復号鍵を生成することで、読取装置では容易かつ正確に復号鍵を生成することができる。 In the invention of claim 2, a plurality of blocks are arranged in a predetermined predetermined order in a predetermined setting area which is at least a part of a code area as a position of a data block replaced with a light color block or a dark color block. A decryption key is generated according to a sequence in which the sequence is represented by using different numerical values for the data block, the light color block, and the dark color block. As a result, a sequence obtained by ternating the arrangement of each block in a predetermined order in a predetermined setting area can be obtained. Therefore, by generating a decryption key using this ternary sequence, it is easy for the reading device. Moreover, the decryption key can be generated accurately.

請求項3の発明では、明色ブロック又は暗色ブロックに置換されたデータブロックの位置として、コード領域の少なくとも一部となる所定の設定領域において複数のブロックが予め決められた所定の順番で並べられた並びを明色ブロックとデータブロック及び暗色ブロックとで異なる数値を用いて表した数列に応じて、復号鍵が生成される。このようにしても、所定の設定領域における各ブロックの所定の順番での並びを2値化した数列が得られるので、この2値化した数列を利用して復号鍵を生成することで、読取装置では容易かつ正確に復号鍵を生成することができる。 In the invention of claim 3, a plurality of blocks are arranged in a predetermined predetermined order in a predetermined setting area which is at least a part of a code area as a position of a data block replaced with a light color block or a dark color block. A decryption key is generated according to a sequence in which the sequence is represented by using different numerical values for the light-colored block, the data block, and the dark-colored block. Even in this way, a number sequence obtained by binarizing the arrangement of each block in a predetermined order in a predetermined setting area can be obtained. Therefore, by generating a decryption key using this binarized sequence, reading can be obtained. The device can easily and accurately generate the decryption key.

請求項4の発明では、明色ブロック又は暗色ブロックに置換されたデータブロックの位置として、コード領域の少なくとも一部となる所定の設定領域において複数のブロックが予め決められた所定の順番で並べられた並びを暗色ブロックとデータブロック及び明色ブロックとで異なる数値を用いて表した数列に応じて、復号鍵が生成される。このようにしても、所定の設定領域における各ブロックの所定の順番での並びを2値化した数列が得られるので、この2値化した数列を利用して復号鍵を生成することで、読取装置では容易かつ正確に復号鍵を生成することができる。 In the invention of claim 4, a plurality of blocks are arranged in a predetermined predetermined order in a predetermined setting area which is at least a part of a code area as a position of a data block replaced with a light color block or a dark color block. A decryption key is generated according to a sequence in which the sequence is represented by using different numerical values for the dark block, the data block, and the light block. Even in this way, a number sequence obtained by binarizing the arrangement of each block in a predetermined order in a predetermined setting area can be obtained. Therefore, by generating a decryption key using this binarized sequence, reading can be obtained. The device can easily and accurately generate the decryption key.

請求項5の発明では、設定領域は、コード領域に対して複数設けられ、復号鍵は、複数の設定領域ごとにそれぞれ生成される。そして、非公開データは、複数の復号鍵のいずれか1つによって復号可能に暗号化されてデータ記録領域に記録される。これにより、汚れの付着や剥がれ、損傷等が生じたために、一部の設定領域で明色ブロック又は暗色ブロックと誤認され得るデータブロックがある情報コードを撮像した読取装置であっても、他の設定領域から正しい復号鍵を生成することで、その情報コードに記録される非開示データを確実に読み取ることができる。 In the invention of claim 5, a plurality of setting areas are provided for the code area, and a decryption key is generated for each of the plurality of setting areas. Then, the private data is decryptably encrypted by any one of the plurality of decryption keys and recorded in the data recording area. As a result, even if the reading device captures an information code that has a data block that may be mistaken for a light-colored block or a dark-colored block in a part of the setting area due to the adhesion, peeling, damage, etc. of the dirt, other devices may be used. By generating the correct decryption key from the setting area, the non-disclosure data recorded in the information code can be reliably read.

請求項6の発明によれば、請求項1と同様の効果を奏する情報コードを良好に生成することができる。
請求項7の発明によれば、請求項2と同様の効果を奏する情報コードを良好に生成することができる。
請求項8の発明によれば、請求項3と同様の効果を奏する情報コードを良好に生成することができる。
請求項9の発明によれば、請求項4と同様の効果を奏する情報コードを良好に生成することができる。
請求項10の発明によれば、請求項5と同様の効果を奏する情報コードを良好に生成することができる。
請求項11の発明によれば、請求項1と同様の効果を奏する情報コードを良好に生成することができる。
請求項12の発明によれば、請求項1と同様の効果を奏する情報コード読取システムを実現することができる。
According to the invention of claim 6, it is possible to satisfactorily generate an information code having the same effect as that of claim 1.
According to the invention of claim 7, it is possible to satisfactorily generate an information code having the same effect as that of claim 2.
According to the invention of claim 8, it is possible to satisfactorily generate an information code having the same effect as that of claim 3.
According to the invention of claim 9, it is possible to satisfactorily generate an information code having the same effect as that of claim 4.
According to the invention of claim 10, it is possible to satisfactorily generate an information code having the same effect as that of claim 5.
According to the invention of claim 11, it is possible to satisfactorily generate an information code having the same effect as that of claim 1.
According to the invention of claim 12, it is possible to realize an information code reading system which has the same effect as that of claim 1.

第1実施形態に係る情報コード読取システムを概略的に例示する概略図である。It is a schematic diagram schematically illustrating the information code reading system which concerns on 1st Embodiment. 図1の情報コード読取装置の電気的構成を概略的に例示するブロック図である。FIG. 3 is a block diagram schematically illustrating an electrical configuration of the information code reader of FIG. 1. 図1の情報コードを説明する説明図である。It is explanatory drawing explaining the information code of FIG. 図3に示す情報コードを各ブロックに区分けした状態を説明する説明図である。It is explanatory drawing explaining the state which divided the information code shown in FIG. 3 into each block. 図5(A)は、コード領域における所定の設定領域の各ブロックを並べた状態を説明する説明図であり、図5(B)は、図5(A)の並びから得た3値化した数列を説明する説明図であり、図5(C)は、図5(B)の数列について9ブロックの3値を1ブロック16値に変換した数列を説明する説明図であり、図5(D)は、図5(C)の数列から取得した第1復号鍵用情報を説明する説明図であり、図5(E)は、図5(D)の第1復号鍵用情報と予め決められた第2復号鍵用情報との排他的論理和から生成された復号鍵を説明する説明図である。5 (A) is an explanatory diagram illustrating a state in which each block of a predetermined setting area in the code area is arranged, and FIG. 5 (B) is a ternary obtained from the arrangement of FIG. 5 (A). It is an explanatory diagram for explaining a sequence, and FIG. 5C is an explanatory diagram for explaining a sequence obtained by converting 3 values of 9 blocks into 16 values of 1 block for the sequence of FIG. 5 (B), and is an explanatory diagram of FIG. 5 (D). ) Is an explanatory diagram for explaining the first decryption key information acquired from the sequence of FIG. 5 (C), and FIG. 5 (E) is predetermined as the first decryption key information of FIG. 5 (D). It is explanatory drawing explaining the decryption key generated from the exclusive-OR with the information for the 2nd decryption key. 第1実施形態における情報コード生成処理の流れを例示するフローチャートである。It is a flowchart which illustrates the flow of the information code generation processing in 1st Embodiment. 第1実施形態における情報コード読取処理の流れを例示するフローチャートである。It is a flowchart illustrating the flow of the information code reading process in 1st Embodiment. 第2実施形態に係る情報コードを説明する説明図である。It is explanatory drawing explaining the information code which concerns on 2nd Embodiment.

[第1実施形態]
以下、本発明を具現化した第1実施形態について、図面を参照して説明する。
図1に示す情報コード読取システム1は、所定のコード領域の内部に情報を表示する単位となるセルが明色セル又は暗色セルとして配列されてなる情報コード100を生成する情報コード生成装置2と、情報コード生成装置2により生成された情報コード100を読み取る情報コード読取装置10とを備えた構成をなしている。
[First Embodiment]
Hereinafter, the first embodiment embodying the present invention will be described with reference to the drawings.
The information code reading system 1 shown in FIG. 1 includes an information code generation device 2 that generates an information code 100 in which cells that are units for displaying information inside a predetermined code area are arranged as light-colored cells or dark-colored cells. The configuration includes an information code reading device 10 for reading the information code 100 generated by the information code generating device 2.

(情報コード生成装置)
情報コード生成装置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, 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 composed of a storage device such as a non-volatile memory, a display unit 6 composed of 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. A communication unit 7 that functions as a communication unit 7 and a printing unit 8 (printing device) that has the same hardware configuration as a known printer and can print an information code 100 or the like based on print data from the control unit 3. There is.

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

この情報コード読取装置10は、主に、照明光源21、受光センサ23、結像レンズ27等の光学系と、メモリ32、制御部31等のマイクロコンピュータ(以下「マイコン」という)系とを備えるように構成されている。なお、これらは、図略のプリント配線板に実装あるいはケース(図示略)内に内装されている。 The information code reading device 10 mainly includes an optical system such as an illumination light source 21, a light receiving sensor 23, and an imaging lens 27, and a microcomputer (hereinafter referred to as “microcomputer”) system such as a memory 32 and a control unit 31. It is configured as follows. These are mounted on a printed wiring board (not shown) or built in a case (not shown).

光学系は、投光光学系と受光光学系とに分かれている。投光光学系を構成する照明光源21は、照明光Lfを発光可能な照明手段として機能するもので、例えば、赤色のLEDとこのLEDの出射側に設けられる拡散レンズ、集光レンズ等とから構成されている。本実施形態では、受光センサ23を挟んだ両側に照明光源21が設けられており、ケースに形成された読取口13を介して読取対象物Rに向けて照明光Lfを照射可能に構成されている。 The optical system is divided into a floodlight optical system and a light receiving optical system. The illumination light source 21 constituting the floodlight optical system functions as an illumination means capable of emitting illumination light Lf, and is composed of, for example, a red LED and a diffuser lens, a condenser lens, or the like provided on the emission side of the LED. It is configured. In the present embodiment, the 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 object R to be read through the reading port 13 formed in the case. There is.

受光光学系は、受光センサ23及び結像レンズ27等によって構成されている。受光センサ23は、例えば、C-MOSやCCD等の固体撮像素子である受光素子を二次元に配列したエリアセンサとして構成されている。この受光センサ23は、読取口13から結像レンズ27を介して入射する入射光を受光可能に回路基板に実装されている。なお、受光センサ23は、情報コードを撮像する「撮像部」の一例に相当し得る。 The light receiving optical system includes a light receiving sensor 23, an imaging lens 27, and the like. The light receiving sensor 23 is configured as an area sensor in which light receiving elements, which are solid-state image pickup elements such as C-MOS and CCD, are arranged two-dimensionally, for example. The light receiving sensor 23 is mounted on a circuit board so as to be able to receive incident light incident from the reading port 13 via the imaging lens 27. The light receiving sensor 23 can correspond to an example of an "imaging unit" that captures an information code.

結像レンズ27は、外部から読取口13を介して入射する入射光を集光して受光センサ23の受光面23aに像を結像可能な結像光学系として機能するものである。本実施形態では、照明光源21から照射された照明光Lfが情報コード等にて反射した後、この反射光Lrを結像レンズ27で集光し、受光センサ23の受光面23aにコード像等を結像させている。 The imaging lens 27 functions as an imaging optical system capable of condensing incident light incident from the outside through the reading port 13 and forming an image on the light receiving surface 23a of the light receiving sensor 23. In the present embodiment, after the illumination light Lf emitted from the illumination light source 21 is reflected by an information code or the like, the reflected light Lr is condensed by the imaging lens 27, and a code image or the like is formed on the light receiving surface 23a of the light receiving sensor 23. Is imaged.

マイコン系は、情報コード読取装置10全体を制御可能な制御部31等によって構成されている。制御部31は、CPU、システムバス、入出力インタフェース等からなるもので、メモリ32とともに情報処理装置を構成し得るもので情報処理機能を有する。この制御部31は、受光センサ23を利用して撮像された情報コードの画像データに対して公知のデコード処理を行うことで、情報コードに記録された情報を解読して読み取る解読部として機能する。 The microcomputer system is composed of a control unit 31 and the like that can control the entire information code reading device 10. The control unit 31 includes a CPU, a system bus, an input / output interface, and the like, and can form an information processing device together with the memory 32 and has an information processing function. The control unit 31 functions as a decoding unit that decodes and reads the information recorded in the information code by performing a known decoding process on the image data of the information code captured by using the light receiving sensor 23. ..

また、制御部31は、内蔵された入出力インタフェースを介して種々の入出力装置と接続可能に構成されており、本実施形態の場合、操作部33、表示部34、発光部35、ブザー36、バイブレータ37、通信インタフェース38等が接続されている。これにより、例えば、操作部33の操作に応じた制御、表示部34の表示制御、発光部35の点灯、非点灯、ビープ音やアラーム音を発生可能なブザー36の鳴動のオンオフ、バイブレータ37の駆動制御、外部と通信するための通信インタフェース38の制御等が可能になっている。また、ケース内には、電源部39が設けられており、この電源部39やバッテリ39aによって制御部31や各種電気部品に電力が供給されるようになっている。 Further, the control unit 31 is configured to be connectable to various input / output devices via a built-in input / output interface. In the case of this embodiment, the operation unit 33, the display unit 34, the light emitting unit 35, and the buzzer 36 are configured. , Vibrator 37, communication interface 38, etc. are connected. Thereby, for example, control according to the operation of the operation unit 33, display control of the display unit 34, lighting / non-lighting of the light emitting unit 35, on / off of the sound of the buzzer 36 capable of generating a beep sound or an alarm sound, and the vibrator 37. Drive control, control of the communication interface 38 for communicating with the outside, and the like are possible. Further, a power supply unit 39 is provided in the case, and power is supplied to the control unit 31 and various electric components by the power supply unit 39 and the battery 39a.

(情報コード)
次に、図1の情報コード読取システムで利用される情報コード100について図3~図5を参照して説明する。
図3に示す情報コード100は、上述の情報コード生成装置2によって生成されるものであり、データの少なくとも一部が非公開データとして暗号化されて記録される従来のQRコード(一部非公開コード)に対して、1又は2以上のデータブロックが後述する明色ブロック又は暗色ブロックに置換されるように構成されている。
(Information code)
Next, the information code 100 used in the information code reading system of FIG. 1 will be described with reference to FIGS. 3 to 5.
The information code 100 shown in FIG. 3 is generated by the above-mentioned information code generator 2, and is a conventional QR code (partially private) recorded by encrypting at least a part of the data as private data. The code) is configured so that one or more data blocks are replaced with light-colored blocks or dark-colored blocks described later.

従来の一部非公開コードは、所定のコード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、所定数のセルにより構成されるデータブロックを複数利用してデータを記録するデータ記録領域と、データブロックを複数利用して誤り訂正符号を記録する誤り訂正符号記録領域と、が設けられるように構成される。上記特定パターンは、矩形状のコード領域の4つの頂点のうちの3つに配置される位置検出パターンやタイミングパターン、フォーマット情報領域のパターン等から構成される。また、上記データブロックは、所定数のセルとして8つのセルからなり、少なくとも1つの明色セルと少なくとも1つの暗色セルとを含むことで、データ記録領域又は誤り訂正符号記録領域を構成する。このため、通常、データ記録領域及び誤り訂正符号記録領域には、8つの明色セルのみから構成されることで明色に塗りつぶされたブロック(以下、明色ブロックともいう)や、8つの暗色セルのみから構成されることで暗色に塗りつぶされたブロック(以下、暗色ブロックともいう)が存在しない。そして、データ記録領域の公開データ記録領域には、公開可能な公開データが記録され、非公開データ記録領域には、非公開データが所定の復号鍵にて復号可能に暗号化されて記録される。 The conventional partially private code uses a specific pattern area in which a specific pattern having a predetermined shape is arranged inside a predetermined code area, and a plurality of data blocks composed of a predetermined number of cells. A data recording area for recording data and an error correction code recording area for recording an error correction code by using a plurality of data blocks are provided. The specific pattern is composed of a position detection pattern, a timing pattern, a pattern of a format information area, and the like arranged at three of the four vertices of the rectangular code area. Further, the data block is composed of eight cells as a predetermined number of cells, and includes at least one light-colored cell and at least one dark-colored cell to form a data recording area or an error correction code recording area. Therefore, normally, the data recording area and the error correction code recording area are composed of only eight light-colored cells and are filled with light-colored blocks (hereinafter, also referred to as light-colored blocks) and eight dark-colored blocks. There is no block filled with dark color (hereinafter, also referred to as dark color block) because it is composed only of cells. Then, public data that can be published is recorded in the public data recording area of the data recording area, and the private data is encrypted and recorded in the private data recording area so that it can be decrypted with a predetermined decryption key. ..

これに対して、本実施形態に係る情報コード100は、図3に示すように、従来の一部非公開コードと同様に、矩形状のコード領域101の内部に情報を表示する単位となるセル102を明色セル又は暗色セルとして配列し、コード領域101の特定パターン領域に、3つの位置検出パターン103、タイミングパターン104及びフォーマット情報領域105等が配置されて構成されている。 On the other hand, as shown in FIG. 3, the information code 100 according to the present embodiment is a cell that is a unit for displaying information inside the rectangular code area 101, as in the conventional partially private code. 102 is arranged as a light-colored cell or a dark-colored cell, and three position detection patterns 103, a timing pattern 104, a format information area 105, and the like are arranged in a specific pattern area of a code area 101.

特に、情報コード100は、図4に示すように、データ記録領域及び誤り訂正符号記録領域において誤り訂正可能な範囲のデータブロックの少なくとも一部であって、後述するように復号鍵に対応する位置のデータブロックが、明色ブロック111又は暗色ブロック112に置換されて構成されている。図3に示す情報コード100の例では、1つのデータブロックが明色ブロック111に置換され、他の1つのデータブロックが暗色ブロック112に置換されている。 In particular, as shown in FIG. 4, the information code 100 is at least a part of a data block in a range in which error correction is possible in the data recording area and the error correction code recording area, and is a position corresponding to the decoding key as described later. The data block of is replaced with a light color block 111 or a dark color block 112. In the example of the information code 100 shown in FIG. 3, one data block is replaced with the light color block 111, and the other data block is replaced with the dark color block 112.

本実施形態では、上述のように明色ブロック111又は暗色ブロック112に置換されたデータブロックの位置に応じて特定の情報を取得できることから、この取得した特定の情報をその非公開コードの復号用の復号鍵として利用する。具体的には、コード領域101の少なくとも一部となる所定の設定領域に含まれる全てのデータブロックにその位置に応じて予め決められた番号を付してこの順番で並べられたデータブロックの並びを、データブロックと明色ブロック111と暗色ブロック112とで異なる数値を用いて数列で表し、この数列から取得される特定の情報を復号鍵として利用する。なお、本実施形態では、上記所定の設定領域は、データ記録領域及び誤り訂正符号記録領域により構成される領域として設定されており、図4の例では、134個のデータブロックにより構成される領域として設定されている。 In the present embodiment, since specific information can be acquired according to the position of the data block replaced by the light color block 111 or the dark color block 112 as described above, the acquired specific information can be used for decrypting the private code. It is used as a decryption key for. Specifically, all the data blocks included in the predetermined setting area that is at least a part of the code area 101 are numbered in advance according to their positions, and the data blocks are arranged in this order. Is represented by a sequence using different numerical values in the data block, the light block 111, and the dark block 112, and the specific information acquired from the sequence is used as the decoding key. In the present embodiment, the predetermined setting area is set as an area composed of a data recording area and an error correction code recording area, and in the example of FIG. 4, an area composed of 134 data blocks. Is set as.

より詳細には、図5(A)に示すように、上記設定領域を構成する各ブロック(データブロックと明色ブロック111及び暗色ブロック112の少なくとも一方)を上記順番で並べ、この並びから、図5(B)に示すように、データブロックを「00」、明色ブロック111を「10」、暗色ブロック112を「01」として3値化した数列を得る。この3値化した数列の桁数を所定値に調整するため、例えば、図5(C)に示すように、9ブロックの3値を1ブロック16値に変換して、さらに、16進数の数値に変換することで、図5(D)に示す第1復号鍵用情報が特定の情報として取得される。本実施形態では、図5(E)に示すように、上述のように取得された第1復号鍵用情報と予め決められた第2復号鍵用情報との排他的論理和から復号鍵を生成する。 More specifically, as shown in FIG. 5A, each block (at least one of the data block, the light color block 111, and the dark color block 112) constituting the setting area is arranged in the above order, and from this arrangement, the figure is shown. As shown in 5 (B), a ternary sequence is obtained in which the data block is "00", the light color block 111 is "10", and the dark color block 112 is "01". In order to adjust the number of digits in this ternary sequence to a predetermined value, for example, as shown in FIG. 5C, the 3 values of 9 blocks are converted into 16 values of 1 block, and further, a hexadecimal numerical value. By converting to, the information for the first decryption key shown in FIG. 5D is acquired as specific information. In the present embodiment, as shown in FIG. 5 (E), the decryption key is generated from the exclusive OR of the first decryption key information acquired as described above and the predetermined second decryption key information. do.

このため、情報コード100を生成する際に、明色ブロック111又は暗色ブロック112に置換するデータブロックの位置を決めることで、この置換されたデータブロックの位置に応じて復号鍵が生成されて、この生成された復号鍵にて復号可能に非公開データが暗号化される。 Therefore, when the information code 100 is generated, the position of the data block to be replaced with the light color block 111 or the dark color block 112 is determined, so that the decryption key is generated according to the position of the replaced data block. Private data is encrypted so that it can be decrypted with this generated decryption key.

このように情報コード100を生成することで、この情報コード100を撮像した情報コード読取装置10では、明色ブロック111又は暗色ブロック112に置換されたデータブロックの位置を一義的に検出でき、この検出した位置から求めた第1復号鍵用情報と予め取得している第2復号鍵用情報とに応じて復号鍵を生成することができる。このため、情報コード読取装置10では、一種類の情報(第2復号鍵用情報)を予めメモリ32等に記憶するだけで、複数種類の復号鍵を生成することができる。 By generating the information code 100 in this way, the information code reading device 10 that has imaged the information code 100 can uniquely detect the position of the data block replaced by the light color block 111 or the dark color block 112. A decryption key can be generated according to the information for the first decryption key obtained from the detected position and the information for the second decryption key acquired in advance. Therefore, the information code reading device 10 can generate a plurality of types of decoding keys only by storing one type of information (second decoding key information) in the memory 32 or the like in advance.

次に、本実施形態に係る情報コード生成方法を用いて情報コード生成装置2にて情報コード100を生成する際に、制御部3にてなされる情報コード生成処理について、図6に示すフローチャートを参照して詳述する。
情報コード100に記録する公開データ及び非公開データ(秘匿データ)やコードサイズなどが入力等されることで、制御部3にて情報コード生成処理が開始されると、まず、図6のステップS101に示す置換可能範囲設定処理がなされる。この処理では、操作部4による操作等に応じて、コード領域101における上記設定領域の各データブロックのうち明色ブロック111又は暗色ブロック112に置換してもよいデータブロックの範囲が設定される。この処理は、例えば、コード領域101の中心にロゴを配置する場合など、明色ブロック111又は暗色ブロック112を配置できない範囲を除くための処理である。
Next, the flowchart shown in FIG. 6 is shown regarding the information code generation process performed by the control unit 3 when the information code 100 is generated by the information code generation device 2 using the information code generation method according to the present embodiment. It will be described in detail with reference.
When the information code generation process is started by the control unit 3 by inputting public data, private data (confidential data), code size, etc. to be recorded in the information code 100, first, step S101 in FIG. The replaceable range setting process shown in is performed. In this process, a range of data blocks that may be replaced with the light-colored block 111 or the dark-colored block 112 among the data blocks of the above-mentioned setting area in the code area 101 is set according to the operation by the operation unit 4. This process is a process for excluding a range in which the light color block 111 or the dark color block 112 cannot be arranged, for example, when the logo is arranged in the center of the code area 101.

次に、ステップS103に示す置換位置決定処理がなされ、上述のように設定された範囲のうちの誤り訂正可能な範囲において、明色ブロック111又は暗色ブロック112に置換されるデータブロックの個数や位置等が決定される。この置換されるデータブロックの個数や位置等は、操作部4による操作に応じて決定されてもよいし、予め複数用意される置換パターンの1つがランダムに選択されることで決定されてもよい。 Next, the replacement position determination process shown in step S103 is performed, and the number and position of the data blocks to be replaced by the light color block 111 or the dark color block 112 within the error-correctable range in the range set as described above. Etc. are determined. The number and positions of the data blocks to be replaced may be determined according to the operation by the operation unit 4, or may be determined by randomly selecting one of a plurality of replacement patterns prepared in advance. ..

続いて、ステップS105に示す復号鍵生成処理がなされ、上述のように置換される明色ブロック111や暗色ブロック112の位置に応じて第1復号鍵用情報が取得され、この第1復号鍵用情報と予め決められた第2復号鍵用情報との排他的論理和から復号鍵が生成される。 Subsequently, the decryption key generation process shown in step S105 is performed, and the information for the first decryption key is acquired according to the positions of the light-colored block 111 and the dark-colored block 112 to be replaced as described above, and the information for the first decryption key is acquired. The decryption key is generated from the exclusive OR of the information and the predetermined information for the second decryption key.

このように復号鍵が生成されると、ステップS107にて暗号化処理がなされ、生成した復号鍵にて上述のように入力された非公開データが復号可能に暗号化される。そして、このように暗号化した非公開データが非公開データ記録領域に記録され、上述のように入力された公開データが公開データ記録領域に記録されるように、情報コード100が生成される(S109)。 When the decryption key is generated in this way, the encryption process is performed in step S107, and the private data input as described above is encrypted decipherably with the generated decryption key. Then, the information code 100 is generated so that the private data encrypted in this way is recorded in the private data recording area and the public data input as described above is recorded in the public data recording area (. S109).

そして、ステップS111のコード評価処理にて、上述のように生成した情報コード100を評価するための処理がなされる。この処理では、既定の評価、具体的には、通常のQRコード生成時におけるコード評価に加えて、上記ステップS105にて生成された復号鍵にて非公開データを復号できるか否か等について評価される。そして、評価基準を満たしていると(S113でYes)、本情報コード生成処理は終了し、評価基準を満たしていないと(S113でNo)、上記ステップS103からの処理が再度なされる。 Then, in the code evaluation process of step S111, a process for evaluating the information code 100 generated as described above is performed. In this process, in addition to the default evaluation, specifically, the code evaluation at the time of normal QR code generation, it is evaluated whether or not the private data can be decoded by the decryption key generated in the above step S105. Will be done. If the evaluation criteria are satisfied (Yes in S113), the information code generation process ends, and if the evaluation criteria are not satisfied (No in S113), the process from step S103 is performed again.

次に、上述のように生成されて配布された情報コード100を情報コード読取装置10にて読み取る際に、制御部31にてなされる情報コード読取処理について、図7に示すフローチャートを参照して詳述する。なお、情報コード読取装置10のメモリ32には、上述した第2復号鍵用情報及び所定の設定領域に関する情報等が予め記憶されているものとする。 Next, with reference to the flowchart shown in FIG. 7, regarding the information code reading process performed by the control unit 31 when the information code 100 generated and distributed as described above is read by the information code reading device 10. It will be described in detail. It is assumed that the memory 32 of the information code reading device 10 stores in advance the above-mentioned information for the second decryption key, information about a predetermined setting area, and the like.

操作部33に対して所定の操作がなされることで、制御部31にて情報コード読取処理が開始されると、まず、図7のステップS201に示す撮像処理がなされ、読取口13を介して情報コード100等を撮像可能な状態になる。そして、ステップS203に示すデコード処理がなされ、撮像した情報コードを解読するためのデコード処理がなされる。 When the control unit 31 starts the information code reading process by performing a predetermined operation on the operation unit 33, the imaging process shown in step S201 of FIG. 7 is first performed, and the image pickup process is performed via the reading port 13. The information code 100 and the like can be imaged. Then, the decoding process shown in step S203 is performed, and the decoding process for decoding the captured information code is performed.

デコード処理が成功して(S205でYes)、暗号化されていない公開データ等が取得されると、ステップS207の判定処理にて、デコード成功した情報コードが非公開データを記録した一部非公開コードであるか否かについて判定される。ここで、デコード成功した情報コードが非公開データを記録しておらず公開データのみを記録した情報コードである場合には、ステップS207にてNoと判定されて、解読された公開データが表示部34に表示等されることで出力されて(S219)、本情報コード読取処理が終了する。また、デコードが失敗した場合には(S205でNo)、エラー等が報知されて、出力処理がなされることなく本情報コード読取処理が終了する。なお、デコードが失敗した場合には(S205でNo)、所定の操作等がなされるまで、上記ステップS201からの処理が繰り返されてもよい。 When the decoding process is successful (Yes in S205) and the unencrypted public data or the like is acquired, in the determination process of step S207, the information code that has been successfully decoded records the private data. It is determined whether it is a code or not. Here, if the information code that has been successfully decoded is an information code that does not record private data but records only public data, it is determined as No in step S207, and the decoded public data is displayed in the display unit. It is output by being displayed on 34 or the like (S219), and the information code reading process is completed. If the decoding fails (No in S205), an error or the like is notified, and the information code reading process ends without the output process being performed. If the decoding fails (No in S205), the process from step S201 may be repeated until a predetermined operation or the like is performed.

一方、デコード成功した情報コードが非公開データを記録した一部非公開コードである場合には、ステップS207にてYesと判定されて、ステップS209に示す塗りつぶしブロック検出処理がなされる。この処理では、撮像した情報コードのコード領域から明色ブロック111及び暗色ブロック112を検出するための処理がなされる。なお、上記ステップS209の処理を行う制御部31は、明色ブロック111及び暗色ブロック112の位置を検出する「検出部」の一例に相当し得る。 On the other hand, when the information code that has been successfully decoded is a partially private code that records private data, it is determined to be Yes in step S207, and the filled block detection process shown in step S209 is performed. In this process, a process for detecting the light color block 111 and the dark color block 112 from the code area of the captured information code is performed. The control unit 31 that performs the process of step S209 may correspond to an example of a "detection unit" that detects the positions of the light color block 111 and the dark color block 112.

続いて、ステップS211に示す復号鍵生成処理がなされる。情報コード100を撮像している場合には、コード領域101の上記設定領域においてデータブロックが置換された明色ブロック111や暗色ブロック112が撮像されている。このため、上記設定領域において、明色ブロック111又は暗色ブロック112に置換されたデータブロックの位置を含めた検出結果に応じて、上述のように第1復号鍵用情報が生成されて(図5(D)参照)、この第1復号鍵用情報と予めメモリ32に記憶される第2復号鍵用情報との排他的論理和から復号鍵が生成される(図5(E)参照)。なお、上記ステップS211の処理を行う制御部31は、復号鍵を生成する「生成部」の一例に相当し得る。 Subsequently, the decryption key generation process shown in step S211 is performed. When the information code 100 is imaged, the light color block 111 and the dark color block 112 in which the data block is replaced in the above setting area of the code area 101 are imaged. Therefore, in the above setting area, the first decryption key information is generated as described above according to the detection result including the position of the data block replaced by the light color block 111 or the dark color block 112 (FIG. 5). (See (D)), the decryption key is generated from the exclusive OR of the first decryption key information and the second decryption key information stored in the memory 32 in advance (see FIG. 5 (E)). The control unit 31 that performs the process of step S211 may correspond to an example of a "generation unit" that generates a decryption key.

そして、ステップS213に示す非公開データ復号処理がなされ、上述のように生成された復号鍵を用いて非公開記録領域に記録される非公開データを復号するための処理がなされる。この復号が成功すると(S215でYes)、上記非公開データと上記ステップS203のデコード処理にてデコードされた公開データとが表示部34に表示等されることで出力される(S217)。一方、上述のように生成された復号鍵を用いた非公開データの復号が失敗すると(S215でNo)、解読された公開データのみが表示部34に表示等されることで出力される(S219)。 Then, the private data decoding process shown in step S213 is performed, and a process for decoding the private data recorded in the private recording area is performed using the decoding key generated as described above. When this decoding is successful (Yes in S215), the private data and the public data decoded by the decoding process in step S203 are displayed on the display unit 34 and output (S217). On the other hand, if the decryption of the private data using the decryption key generated as described above fails (No in S215), only the decrypted public data is displayed on the display unit 34 and output (S219). ).

以上説明したように、本実施形態に係る情報コード100及びその生成方法、情報コード生成装置2並び情報コード読取システム1では、データブロックは、少なくとも1つの明色セルと少なくとも1つの暗色セルとを含むことでデータ記録領域又は誤り訂正符号記録領域を構成し、誤り訂正可能な範囲のデータブロックの少なくとも一部が、所定数の明色セルのみから構成される明色ブロック111又は所定数の暗色セルのみから構成される暗色ブロック112に置換される。そして、明色ブロック111又は暗色ブロック112に置換されたデータブロックの位置に応じて生成された所定の復号鍵にて、データの少なくとも一部が非公開データとして復号可能に暗号化されてデータ記録領域に記録される。 As described above, in the information code 100 and its generation method, the information code generation device 2 and the information code reading system 1 according to the present embodiment, the data block includes at least one light-colored cell and at least one dark-colored cell. By including it, a data recording area or an error correction code recording area is formed, and at least a part of the data blocks in the range where the error can be corrected is a light color block 111 or a predetermined number of dark colors composed of only a predetermined number of light color cells. It is replaced by a dark block 112 consisting only of cells. Then, at least a part of the data is decryptably encrypted as private data by a predetermined decryption key generated according to the position of the data block replaced by the light color block 111 or the dark color block 112, and the data is recorded. Recorded in the area.

このため、上述のように構成される情報コード100を撮像した情報コード読取装置10では、明色ブロック111又は暗色ブロック112に置換されたデータブロックの位置を一義的に検出でき、この検出した位置に応じて復号鍵を生成することができる。これにより、情報コード読取装置10では、情報コード100に記録される非開示データを読み取るための復号鍵を予め記憶する必要もない。すなわち、暗号化された非公開データを復号可能な復号鍵を、撮像したデータブロック等を利用して生成することができる。特に、誤り訂正可能な範囲内でのデータブロックが明色ブロック111又は暗色ブロック112に置換されるため、この置換によってその情報コード100の解読(デコード)が失敗することもない。 Therefore, in the information code reading device 10 that captures the information code 100 configured as described above, the position of the data block replaced by the light color block 111 or the dark color block 112 can be uniquely detected, and the detected position can be uniquely detected. The decryption key can be generated according to the above. As a result, the information code reading device 10 does not need to store the decryption key for reading the non-disclosure data recorded in the information code 100 in advance. That is, a decryption key capable of decrypting encrypted private data can be generated by using an imaged data block or the like. In particular, since the data block within the range where the error can be corrected is replaced with the light color block 111 or the dark color block 112, the decoding of the information code 100 does not fail due to this replacement.

特に、明色ブロック111又は暗色ブロック112に置換されたデータブロックの位置として、コード領域101の上記設定領域において複数のブロックが予め決められた所定の順番で並べられた並びをデータブロックと明色ブロック111と暗色ブロック112とで異なる数値を用いて表した数列に応じて、復号鍵が生成される。これにより、上記設定領域における各ブロックの所定の順番での並びを3値化した数列が得られるので、この3値化した数列を利用して復号鍵を生成することで(図5(E)参照)、情報コード読取装置10では容易かつ正確に復号鍵を生成することができる。 In particular, as the position of the data block replaced by the light color block 111 or the dark color block 112, the arrangement in which a plurality of blocks are arranged in a predetermined order in the above setting area of the code area 101 is the data block and the light color. The decryption key is generated according to the sequence represented by using different numerical values in the block 111 and the dark block 112. As a result, a sequence in which the arrangement of each block in the above setting area in a predetermined order is quantified can be obtained. Therefore, by generating a decryption key using this ternary sequence (FIG. 5 (E)). (See), the information code reader 10 can easily and accurately generate a decryption key.

なお、明色ブロック111又は暗色ブロック112に置換されたデータブロックの位置として、コード領域101の上記設定領域において複数のブロックが予め決められた所定の順番で並べられた並びを明色ブロック111とデータブロック及び暗色ブロック112とで異なる数値を用いて表した数列に応じて、復号鍵が生成されてもよい。このようにしても、上記設定領域における各ブロックの所定の順番での並びを2値化した数列が得られるので、この2値化した数列を利用して復号鍵を生成することで、情報コード読取装置10では容易かつ正確に復号鍵を生成することができる。例えば、明色ブロック111を「10」、データブロック及び暗色ブロック112を「00」として2値化した数列を利用して復号鍵を生成することもできる。 As the position of the data block replaced by the light color block 111 or the dark color block 112, the arrangement in which a plurality of blocks are arranged in a predetermined order in the above setting area of the code area 101 is referred to as the light color block 111. A decryption key may be generated according to a sequence represented by using different numerical values in the data block and the dark block 112. Even in this way, a number sequence obtained by binarizing the arrangement of each block in the predetermined order in the above setting area can be obtained. Therefore, by generating a decryption key using this binarized sequence, an information code is obtained. The reading device 10 can easily and accurately generate the decryption key. For example, a decryption key can be generated by using a binarized sequence in which the light color block 111 is set to "10" and the data block and the dark color block 112 are set to "00".

また、明色ブロック111又は暗色ブロック112に置換されたデータブロックの位置として、コード領域101の上記設定領域において複数のブロックが予め決められた所定の順番で並べられた並びを暗色ブロック112とデータブロック及び明色ブロック111とで異なる数値を用いて表した数列に応じて、復号鍵が生成されてもよい。このようにしても、上記設定領域における各ブロックの所定の順番での並びを2値化した数列が得られるので、この2値化した数列を利用して復号鍵を生成することで、情報コード読取装置10では容易かつ正確に復号鍵を生成することができる。例えば、暗色ブロック112を「01」、データブロック及び明色ブロック111を「00」として2値化した数列を利用して復号鍵を生成することもできる。 Further, as the position of the data block replaced by the light color block 111 or the dark color block 112, the dark color block 112 and the data are arranged in which a plurality of blocks are arranged in a predetermined order in the above setting area of the code area 101. A decryption key may be generated according to a sequence represented by using different numerical values in the block and the light-colored block 111. Even in this way, a number sequence obtained by binarizing the arrangement of each block in the predetermined order in the above setting area can be obtained. Therefore, by generating a decryption key using this binarized sequence, an information code is obtained. The reading device 10 can easily and accurately generate the decryption key. For example, a decryption key can be generated by using a binarized sequence in which the dark block 112 is set to "01" and the data block and the light block 111 are set to "00".

[第2実施形態]
次に、本発明を具現化した第2実施形態について、図8を参照して説明する。
本第2実施形態では、復号鍵を生成するための所定の設定領域が複数設けられる点が主に上記第1実施形態と異なる。このため、第1実施形態と実質的に同様の構成部分には同一符号を付して説明を省略する。
[Second Embodiment]
Next, a second embodiment embodying the present invention will be described with reference to FIG.
The second embodiment is mainly different from the first embodiment in that a plurality of predetermined setting areas for generating a decryption key are provided. Therefore, substantially the same components as those in the first embodiment are designated by the same reference numerals, and the description thereof will be omitted.

紙媒体に印刷等された情報コードでは、汚れの付着や剥がれ、損傷等が生じることがあり、その程度によっては、置換されていないはずのデータブロックが明色ブロック111又は暗色ブロック112と誤検出される場合がある。このような誤検出が生じた場合には、正しい復号鍵を生成することができず、非公開データを復号できないという問題がある。 Information codes printed on paper media may have stains, peeling, damage, etc., and depending on the degree, the data blocks that should not have been replaced may be erroneously detected as light-colored blocks 111 or dark-colored blocks 112. May be done. When such an erroneous detection occurs, there is a problem that the correct decryption key cannot be generated and the private data cannot be decrypted.

そこで、本実施形態では、置換されたデータブロックの位置から復号鍵(第1復号鍵用情報)を生成するための設定領域を、コード領域101に対して複数設けて、これら複数の設定領域ごとに復号鍵をそれぞれ生成する。そして、非公開データは、複数の復号鍵のいずれか1つによって復号可能に暗号化されてデータ記録領域に記録される。 Therefore, in the present embodiment, a plurality of setting areas for generating a decryption key (information for the first decryption key) are provided for the code area 101 from the positions of the replaced data blocks, and each of these plurality of setting areas is provided. Generate decryption keys for each. Then, the private data is decryptably encrypted by any one of the plurality of decryption keys and recorded in the data recording area.

具体的には、例えば、図8に示す情報コード100aのように、コード領域101の少なくとも一部に対して4つの設定領域S1~S4を設け、誤り訂正可能な個数を前提に、各設定領域S1~S4ごとに、1又は2以上のデータブロックを明色ブロック111や暗色ブロック112に置換することで、それぞれ復号鍵を生成可能となる。このため、情報コード生成装置2における上記情報コード生成処理では、これら4つの復号鍵のいずれか1つにて復号可能に非公開データが暗号化されてデータ記録領域に記録される。 Specifically, for example, as in the information code 100a shown in FIG. 8, four setting areas S1 to S4 are provided for at least a part of the code area 101, and each setting area is assumed to be an error-correctable number. By substituting one or more data blocks with light-colored blocks 111 and dark-colored blocks 112 for each of S1 to S4, it is possible to generate a decryption key, respectively. Therefore, in the information code generation process in the information code generation device 2, the private data is encrypted so that it can be decrypted by any one of these four decryption keys and recorded in the data recording area.

これにより、汚れの付着や剥がれ、損傷等が生じたために、例えば、設定領域S1,S2で明色ブロック111又は暗色ブロック112と誤認され得るデータブロックがある情報コード100aを撮像した情報コード読取装置10であっても、設定領域S3,S4から正しい復号鍵を生成することで、その情報コード100aに記録される非開示データを確実に読み取ることができる。 As a result, an information code reading device that captures an image of an information code 100a having a data block that can be mistaken for a light color block 111 or a dark color block 112 in the setting areas S1 and S2 due to adhesion, peeling, damage, or the like of stains. Even if it is 10, by generating the correct decryption key from the setting areas S3 and S4, the non-disclosure data recorded in the information code 100a can be reliably read.

なお、設定領域は、上述した設定領域S1~S4のように、4つ設けられることに限らず、コード領域101の少なくとも一部において、2つまたは3つ設けられてもよいし、5つ以上設けられてもよい。 The setting areas are not limited to four as set areas S1 to S4 described above, and may be provided with two or three or five or more in at least a part of the code area 101. It may be provided.

なお、本発明は上記各実施形態に限定されるものではなく、例えば、以下のように具体化してもよい。
(1)情報コード生成装置2における上記情報コード生成処理では、置換するデータブロックの位置等を決めることで復号鍵を生成することに限らず、復号鍵を所定の方法で決定した後に、この決定された復号鍵に応じて置換するデータブロックの位置等を決めるようにしてもよい。
The present invention is not limited to each of the above embodiments, and may be embodied as follows, for example.
(1) In the above-mentioned information code generation process in the information code generation device 2, the decoding key is not limited to being generated by determining the position of the data block to be replaced, and this determination is made after the decoding key is determined by a predetermined method. The position of the data block to be replaced may be determined according to the decryption key.

(2)情報コード生成装置2における上記情報コード生成処理では、第2復号鍵用情報を利用することなく第1復号鍵用情報を直接復号鍵として採用してもよい。この場合には、情報コード読取装置10では、第2復号鍵用情報の記憶を不要とすることができる。 (2) In the information code generation process in the information code generation device 2, the information for the first decryption key may be directly adopted as the decryption key without using the information for the second decryption key. In this case, the information code reading device 10 can eliminate the need to store the information for the second decryption key.

1…情報コード読取システム
2…情報コード生成装置
10…情報コード読取装置
23…受光センサ(撮像部)
31…制御部(解読部,検出部,生成部)
100,100a…情報コード
101…コード領域
102…セル
111…明色ブロック
112…暗色ブロック
S1~S4…設定領域
1 ... Information code reading system 2 ... Information code generator 10 ... Information code reading device 23 ... Light receiving sensor (imaging unit)
31 ... Control unit (decoding unit, detection unit, generation unit)
100, 100a ... Information code 101 ... Code area 102 ... Cell 111 ... Light color block 112 ... Dark color block S1 to S4 ... Setting area

Claims (12)

所定のコード領域の内部に情報を表示する単位となるセルが明色セル又は暗色セルとして配列されてなる情報コードであって、
前記コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、所定数の前記セルにより構成されるデータブロックを複数利用してデータを記録するデータ記録領域と、前記データブロックを複数利用して誤り訂正符号を記録する誤り訂正符号記録領域と、が設けられ、
前記データブロックは、少なくとも1つの前記明色セルと少なくとも1つの前記暗色セルとを含むことで前記データ記録領域又は前記誤り訂正符号記録領域を構成し、
誤り訂正可能な範囲の前記データブロックの少なくとも一部が、前記所定数の前記明色セルのみから構成される明色ブロック又は前記所定数の前記暗色セルのみから構成される暗色ブロックに置換され、
前記明色ブロック又は前記暗色ブロックに置換された前記データブロックの位置に応じて生成された所定の復号鍵にて、前記データの少なくとも一部が非公開データとして復号可能に暗号化されて前記データ記録領域に記録されることを特徴とする情報コード。
An information code in which cells that are units for displaying information inside a predetermined code area are arranged as light-colored cells or dark-colored cells.
A specific pattern area in which a specific pattern having a predetermined shape is arranged inside the code area, a data recording area for recording data by using a plurality of data blocks composed of a predetermined number of the cells, and the above. An error correction code recording area for recording an error correction code using a plurality of data blocks is provided.
The data block comprises at least one light-colored cell and at least one dark-colored cell to form the data recording area or the error correction code recording area.
At least a part of the data block in an error-correctable range is replaced with a light-colored block composed of only the predetermined number of the bright-colored cells or a dark-colored block composed of only the predetermined number of the dark-colored cells.
At least a part of the data is decryptably encrypted as private data with a predetermined decryption key generated according to the position of the data block replaced with the light-colored block or the dark-colored block. An information code characterized by being recorded in a recording area.
前記明色ブロック又は前記暗色ブロックに置換された前記データブロックの位置として、前記コード領域の少なくとも一部となる所定の設定領域において複数のブロックが予め決められた所定の順番で並べられた並びを前記データブロックと前記明色ブロックと前記暗色ブロックとで異なる数値を用いて表した数列に応じて、前記復号鍵が生成されることを特徴とする請求項1に記載の情報コード。 As the position of the data block replaced with the light-colored block or the dark-colored block, a plurality of blocks are arranged in a predetermined predetermined order in a predetermined setting area which is at least a part of the code area. The information code according to claim 1, wherein the decryption key is generated according to a sequence represented by using different numerical values for the data block, the light color block, and the dark color block. 前記明色ブロック又は前記暗色ブロックに置換された前記データブロックの位置として、前記コード領域の少なくとも一部となる所定の設定領域において複数のブロックが予め決められた所定の順番で並べられた並びを前記明色ブロックと前記データブロック及び前記暗色ブロックとで異なる数値を用いて表した数列に応じて、前記復号鍵が生成されることを特徴とする請求項1に記載の情報コード。 As the position of the data block replaced with the light-colored block or the dark-colored block, a plurality of blocks are arranged in a predetermined predetermined order in a predetermined setting area which is at least a part of the code area. The information code according to claim 1, wherein the decryption key is generated according to a sequence represented by using different numerical values for the light color block, the data block, and the dark color block. 前記明色ブロック又は前記暗色ブロックに置換された前記データブロックの位置として、前記コード領域の少なくとも一部となる所定の設定領域において複数のブロックが予め決められた所定の順番で並べられた並びを前記暗色ブロックと前記データブロック及び前記明色ブロックとで異なる数値を用いて表した数列に応じて、前記復号鍵が生成されることを特徴とする請求項1に記載の情報コード。 As the position of the data block replaced with the light-colored block or the dark-colored block, a plurality of blocks are arranged in a predetermined predetermined order in a predetermined setting area which is at least a part of the code area. The information code according to claim 1, wherein the decryption key is generated according to a sequence represented by using different numerical values for the dark color block, the data block, and the light color block. 前記設定領域は、前記コード領域に対して複数設けられ、
前記復号鍵は、複数の前記設定領域ごとにそれぞれ生成され、
前記非公開データは、複数の前記復号鍵のいずれか1つによって復号可能に暗号化されて前記データ記録領域に記録されることを特徴とする請求項2~4のいずれか一項に記載の情報コード。
A plurality of the setting areas are provided with respect to the code area.
The decryption key is generated for each of the plurality of setting areas.
The invention according to any one of claims 2 to 4, wherein the private data is decryptably encrypted by any one of the plurality of decryption keys and recorded in the data recording area. Information code.
所定のコード領域の内部に情報を表示する単位となるセルが明色セル又は暗色セルとして配列されてなる情報コードを生成する情報コード生成方法であって、
前記コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、所定数の前記セルにより構成されるデータブロックを複数利用してデータを記録するデータ記録領域と、前記データブロックを複数利用して誤り訂正符号を記録する誤り訂正符号記録領域と、を設け、
前記データブロックは、少なくとも1つの前記明色セルと少なくとも1つの前記暗色セルとを含むことで前記データ記録領域又は前記誤り訂正符号記録領域を構成し、
誤り訂正可能な範囲の前記データブロックの少なくとも一部を、前記所定数の前記明色セルのみから構成される明色ブロック又は前記所定数の前記暗色セルのみから構成される暗色ブロックに置換し、
前記明色ブロック又は前記暗色ブロックに置換された前記データブロックの位置に応じて生成した所定の復号鍵にて、前記データの少なくとも一部を非公開データとして復号可能に暗号化して前記データ記録領域に記録することを特徴とする情報コード生成方法。
An information code generation method for generating an information code in which cells that are units for displaying information inside a predetermined code area are arranged as light-colored cells or dark-colored cells.
A specific pattern area in which a specific pattern having a predetermined shape is arranged inside the code area, a data recording area for recording data by using a plurality of data blocks composed of a predetermined number of the cells, and the above. An error correction code recording area for recording an error correction code using a plurality of data blocks is provided.
The data block comprises at least one light-colored cell and at least one dark-colored cell to form the data recording area or the error correction code recording area.
At least a part of the data block in an error-correctable range is replaced with a light-colored block composed of only the predetermined number of the bright-colored cells or a dark-colored block composed of only the predetermined number of the dark-colored cells.
The data recording area is decryptably encrypted at least a part of the data with a predetermined decoding key generated according to the position of the data block replaced with the light-colored block or the dark-colored block. An information code generation method characterized by recording in.
前記明色ブロック又は前記暗色ブロックに置換された前記データブロックの位置として、前記コード領域の少なくとも一部となる所定の設定領域において複数のブロックが予め決められた所定の順番で並べられた並びを前記データブロックと前記明色ブロックと前記暗色ブロックとで異なる数値を用いて表した数列に応じて、前記復号鍵を生成することを特徴とする請求項6に記載の情報コード生成方法。 As the position of the data block replaced with the light-colored block or the dark-colored block, a plurality of blocks are arranged in a predetermined predetermined order in a predetermined setting area which is at least a part of the code area. The information code generation method according to claim 6, wherein the decryption key is generated according to a sequence represented by using different numerical values for the data block, the light color block, and the dark color block. 前記明色ブロック又は前記暗色ブロックに置換された前記データブロックの位置として、前記コード領域の少なくとも一部となる所定の設定領域において複数のブロックが予め決められた所定の順番で並べられた並びを前記明色ブロックと前記データブロック及び前記暗色ブロックとで異なる数値を用いて表した数列に応じて、前記復号鍵を生成することを特徴とする請求項6に記載の情報コード生成方法。 As the position of the data block replaced with the light-colored block or the dark-colored block, a plurality of blocks are arranged in a predetermined predetermined order in a predetermined setting area which is at least a part of the code area. The information code generation method according to claim 6, wherein the decryption key is generated according to a sequence represented by using different numerical values for the light color block, the data block, and the dark color block. 前記明色ブロック又は前記暗色ブロックに置換された前記データブロックの位置として、前記コード領域の少なくとも一部となる所定の設定領域において複数のブロックが予め決められた所定の順番で並べられた並びを前記暗色ブロックと前記データブロック及び前記明色ブロックとで異なる数値を用いて表した数列に応じて、前記復号鍵を生成することを特徴とする請求項6に記載の情報コード生成方法。 As the position of the data block replaced with the light-colored block or the dark-colored block, a plurality of blocks are arranged in a predetermined predetermined order in a predetermined setting area which is at least a part of the code area. The information code generation method according to claim 6, wherein the decryption key is generated according to a sequence represented by using different numerical values for the dark color block, the data block, and the light color block. 前記設定領域を、前記コード領域に対して複数設け、
前記復号鍵を、複数の前記設定領域ごとにそれぞれ生成し、
前記非公開データを、複数の前記復号鍵のいずれか1つによって復号可能に暗号化して前記データ記録領域に記録することを特徴とする請求項7~9のいずれか一項に記載の情報コード生成方法。
A plurality of the setting areas are provided for the code area.
The decryption key is generated for each of the plurality of setting areas, and the decryption key is generated for each of the plurality of setting areas.
The information code according to any one of claims 7 to 9, wherein the private data is decryptably encrypted by any one of the plurality of decryption keys and recorded in the data recording area. Generation method.
所定のコード領域の内部に情報を表示する単位となるセルが明色セル又は暗色セルとして配列されてなる情報コードを生成する情報コード生成装置であって、
前記コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、所定数の前記セルにより構成されるデータブロックを複数利用してデータを記録するデータ記録領域と、前記データブロックを複数利用して誤り訂正符号を記録する誤り訂正符号記録領域と、を設け、
前記データブロックは、少なくとも1つの前記明色セルと少なくとも1つの前記暗色セルとを含むことで前記データ記録領域又は前記誤り訂正符号記録領域を構成し、
誤り訂正可能な範囲の前記データブロックの少なくとも一部を、前記所定数の前記明色セルのみから構成される明色ブロック又は前記所定数の前記暗色セルのみから構成される暗色ブロックに置換し、
前記明色ブロック又は前記暗色ブロックに置換された前記データブロックの位置に応じて生成した所定の復号鍵にて、前記データの少なくとも一部を非公開データとして復号可能に暗号化して前記データ記録領域に記録するように前記情報コードを生成することを特徴とする情報コード生成装置。
An information code generator that generates an information code in which cells that are units for displaying information inside a predetermined code area are arranged as light-colored cells or dark-colored cells.
A specific pattern area in which a specific pattern having a predetermined shape is arranged inside the code area, a data recording area for recording data by using a plurality of data blocks composed of a predetermined number of the cells, and the above. An error correction code recording area for recording an error correction code using a plurality of data blocks is provided.
The data block comprises at least one light-colored cell and at least one dark-colored cell to form the data recording area or the error correction code recording area.
At least a part of the data block in an error-correctable range is replaced with a light-colored block composed of only the predetermined number of the bright-colored cells or a dark-colored block composed of only the predetermined number of the dark-colored cells.
The data recording area is decryptably encrypted at least a part of the data with a predetermined decoding key generated according to the position of the data block replaced with the light-colored block or the dark-colored block. An information code generator, characterized in that the information code is generated so as to be recorded in the data.
所定のコード領域の内部に情報を表示する単位となるセルが明色セル又は暗色セルとして配列されてなる情報コードを生成する情報コード生成装置と、前記情報コード生成装置により生成された前記情報コードを光学的に読み取る情報コード読取装置とを備える情報コード読取システムであって、
前記情報コード生成装置は、
前記コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、所定数の前記セルにより構成されるデータブロックを複数利用してデータを記録するデータ記録領域と、前記データブロックを複数利用して誤り訂正符号を記録する誤り訂正符号記録領域と、を設け、
前記データブロックは、少なくとも1つの前記明色セルと少なくとも1つの前記暗色セルとを含むことで前記データ記録領域又は前記誤り訂正符号記録領域を構成し、
誤り訂正可能な範囲の前記データブロックの少なくとも一部を、前記所定数の前記明色セルのみから構成される明色ブロック又は前記所定数の前記暗色セルのみから構成される暗色ブロックに置換し、
前記明色ブロック又は前記暗色ブロックに置換された前記データブロックの位置に応じて生成した所定の復号鍵にて、前記データの少なくとも一部を非公開データとして復号可能に暗号化して前記データ記録領域に記録するように前記情報コードを生成し、
前記情報コード読取装置は、
前記情報コードを撮像する撮像部と、
前記撮像部により撮像された前記情報コードを解読する解読部と、
前記撮像部により撮像された前記情報コードの前記コード領域における前記明色ブロック及び前記暗色ブロックの位置を検出する検出部と、
前記検出部による検出結果に応じて前記復号鍵を生成する生成部と、
を備え、
前記解読部は、前記生成部により生成された前記復号鍵を利用して前記非公開データを復号することを特徴とする情報コード読取システム。
An information code generator that generates an information code in which cells that are units for displaying information inside a predetermined code area are arranged as light-colored cells or dark-colored cells, and the information code generated by the information code generator. An information code reading system including an information code reading device that optically reads the above.
The information code generator is
A specific pattern area in which a specific pattern having a predetermined shape is arranged inside the code area, a data recording area for recording data by using a plurality of data blocks composed of a predetermined number of the cells, and the above. An error correction code recording area for recording an error correction code using a plurality of data blocks is provided.
The data block comprises at least one light-colored cell and at least one dark-colored cell to form the data recording area or the error correction code recording area.
At least a part of the data block in an error-correctable range is replaced with a light-colored block composed of only the predetermined number of the bright-colored cells or a dark-colored block composed of only the predetermined number of the dark-colored cells.
The data recording area is decryptably encrypted at least a part of the data with a predetermined decoding key generated according to the position of the data block replaced with the light-colored block or the dark-colored block. Generate the information code to record in
The information code reader is
An imaging unit that captures the information code and
A decoding unit that decodes the information code captured by the imaging unit, and a decoding unit.
A detection unit that detects the positions of the light-colored block and the dark-colored block in the code region of the information code captured by the image pickup unit.
A generation unit that generates the decryption key according to the detection result by the detection unit,
Equipped with
The decoding unit is an information code reading system characterized in that the non-public data is decoded by using the decoding key generated by the generation unit.
JP2018159277A 2018-08-28 2018-08-28 Information code, information code generation method, information code generator and information code reading system Active JP7024665B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018159277A JP7024665B2 (en) 2018-08-28 2018-08-28 Information code, information code generation method, information code generator and information code reading system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018159277A JP7024665B2 (en) 2018-08-28 2018-08-28 Information code, information code generation method, information code generator and information code reading system

Publications (2)

Publication Number Publication Date
JP2020035057A JP2020035057A (en) 2020-03-05
JP7024665B2 true JP7024665B2 (en) 2022-02-24

Family

ID=69668074

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018159277A Active JP7024665B2 (en) 2018-08-28 2018-08-28 Information code, information code generation method, information code generator and information code reading system

Country Status (1)

Country Link
JP (1) JP7024665B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111242259B (en) * 2020-01-08 2021-03-16 浙江码尚科技股份有限公司 Intelligent anti-counterfeiting code encoding and decoding method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009093443A (en) 2007-10-10 2009-04-30 Denso Wave Inc Two-dimensional code and its scanning device
JP2009295145A (en) 2008-05-07 2009-12-17 Denso Wave Inc Two-dimensional code reading device, two-dimensional code creating device, and two-dimensional code
JP2011134211A (en) 2009-12-25 2011-07-07 Denso Wave Inc Information code and method for generating information code
WO2014098130A1 (en) 2012-12-19 2014-06-26 株式会社デンソーウェーブ Information code, information code generation method, information code reader device, and information code usage system
US20160350568A1 (en) 2015-05-27 2016-12-01 Victor Zazzu Two-dimensional (2-d) code generating method, detecting method, detecting apparatus, and anti-counterfeit label

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009093443A (en) 2007-10-10 2009-04-30 Denso Wave Inc Two-dimensional code and its scanning device
JP2009295145A (en) 2008-05-07 2009-12-17 Denso Wave Inc Two-dimensional code reading device, two-dimensional code creating device, and two-dimensional code
JP2011134211A (en) 2009-12-25 2011-07-07 Denso Wave Inc Information code and method for generating information code
WO2014098130A1 (en) 2012-12-19 2014-06-26 株式会社デンソーウェーブ Information code, information code generation method, information code reader device, and information code usage system
US20160350568A1 (en) 2015-05-27 2016-12-01 Victor Zazzu Two-dimensional (2-d) code generating method, detecting method, detecting apparatus, and anti-counterfeit label

Also Published As

Publication number Publication date
JP2020035057A (en) 2020-03-05

Similar Documents

Publication Publication Date Title
JP5023949B2 (en) Two-dimensional code and its reading device
JP3996520B2 (en) Two-dimensional information code and generation method thereof
JP5018382B2 (en) Two-dimensional code and its reading device
WO2014098128A1 (en) Information code, information code generation method, information code reader device, and information code usage system
JP5971098B2 (en) Information processing apparatus and information processing program
JP2021119465A (en) Enhanced matrix symbol error correction method
JP7024665B2 (en) Information code, information code generation method, information code generator and information code reading system
JP4968093B2 (en) Optical information reader
JP2021196762A (en) Information code, information code print medium, information code generating apparatus, information code generating program, information code generating method, information code reading apparatus, information code reading program, and information code reading method
JP6229667B2 (en) Information code reading system and information code reading device
JP7119799B2 (en) Authenticity judgment system
JP6287565B2 (en) Optical information reader
JP6171855B2 (en) Information code and information code reader
JP4058478B2 (en) Optical information reading method
US20210383088A1 (en) Information code reading system
JP5293853B1 (en) Bar code reader
JP4241803B2 (en) Two-dimensional information code reading method and reading apparatus
JP7167553B2 (en) Two-dimensional code
JP6394717B2 (en) Information code generation method, information code, information code reader, and information code utilization system
JP5724721B2 (en) Optical information reader
JP2009071416A (en) Image generator, document management system and document management program
JP3958160B2 (en) Electronic circuit chip fixing device
JP2023165010A (en) Information code, information code reading system, and information code generation method
JP2010271812A (en) Two-dimensional code reading apparatus
JP2018124704A (en) Information transmission system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210205

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211216

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220124

R150 Certificate of patent or registration of utility model

Ref document number: 7024665

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150