JP2015087972A - Information code and information code reader - Google Patents

Information code and information code reader Download PDF

Info

Publication number
JP2015087972A
JP2015087972A JP2013226198A JP2013226198A JP2015087972A JP 2015087972 A JP2015087972 A JP 2015087972A JP 2013226198 A JP2013226198 A JP 2013226198A JP 2013226198 A JP2013226198 A JP 2013226198A JP 2015087972 A JP2015087972 A JP 2015087972A
Authority
JP
Japan
Prior art keywords
code
additional
area
information
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2013226198A
Other languages
Japanese (ja)
Other versions
JP6171855B2 (en
Inventor
田中 正己
Masami Tanaka
正己 田中
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 JP2013226198A priority Critical patent/JP6171855B2/en
Publication of JP2015087972A publication Critical patent/JP2015087972A/en
Application granted granted Critical
Publication of JP6171855B2 publication Critical patent/JP6171855B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an information code and an information code reader capable of recording secret additional data without enlarging an occupation area.SOLUTION: The code area 10 of an information code 1 is formed based on a base code area 10a and an additional code area 10b. Additional data different from predetermined data recorded in the data area 11 of the base code area 10a is recorded in the additional code area 10b using a cell having the same shape. The additional code area 10b is replaced and disposed in a correctable area by error correction using an error correction code in the data area 11.

Description

本発明は、情報コードおよび情報コード読取装置に関するものである。   The present invention relates to an information code and an information code reader.

バーコードやQRコード(登録商標)などの情報コードは、現在、様々な用途に用いられており、情報コード内に有益な情報、或いは有益となり得る情報を記録して利用者に提供することも多い。例えば、下記特許文献1に示す二次元コードの生成方法では、秘匿データを含むように二次元コードを暗号化して生成する。つまり、発行者しか知らない情報を秘匿データとして二次元コードに含めることで、偽造された二次元コードであるかどうかを見分けることができる。さらに、個人情報などセキュリティ性が求められる情報を秘匿データとして二次元コードに含めることで、情報漏洩を防止することができる。   Information codes such as barcodes and QR codes (registered trademark) are currently used for various purposes, and useful information or information that may be useful can be recorded and provided to users in the information code. Many. For example, in the two-dimensional code generation method shown in Patent Document 1 below, the two-dimensional code is encrypted and generated so as to include confidential data. In other words, by including information known only to the issuer as confidential data in the two-dimensional code, it is possible to distinguish whether it is a forged two-dimensional code. Furthermore, information leakage such as personal information can be prevented by including information that requires security as confidential data in the two-dimensional code.

特開2009−009547号公報JP 2009-009547 A

ところで、上述のような生成方法では、秘匿データと通常の読取装置で読み取り可能な公開データとの双方を記録するように情報コードを生成する必要があるため、公開データのみが記録される情報コードと比較して、情報コードが占める占有面積が大きくなるという問題がある。特に、秘匿データの情報量が公開データに対して多くなるほどこの問題が顕著になる。   By the way, in the generation method as described above, since it is necessary to generate an information code so as to record both confidential data and public data that can be read by a normal reading device, an information code in which only public data is recorded is recorded. There is a problem that the occupied area occupied by the information code becomes large. In particular, this problem becomes more prominent as the amount of confidential data increases with respect to public data.

本発明は、上述した課題を解決するためになされたものであり、その目的とするところは、占有面積を大きくすることなく秘匿すべき追加データを記録可能な情報コードおよび情報コード読取装置を提供することにある。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide an information code and an information code reader capable of recording additional data to be concealed without increasing the occupied area. There is to do.

上記目的を達成するため、特許請求の範囲の請求項1に記載の発明は、複数のセルがマトリックス状に配列されてコード領域(10)が形成され、前記コード領域内に所定のデータおよび誤り訂正符号が記録されたデータ領域(11)が設けられる情報コード(1,1a)であって、前記所定のデータと異なる追加データを前記セルと同じ形状のセルを用いて記録した追加コード領域(10b)が、前記データ領域のうち前記誤り訂正符号を用いた誤り訂正により訂正可能な領域内に置換されて配置されることを特徴とする。
なお、上記各括弧内の符号は、後述する実施形態に記載の具体的手段との対応関係を示すものである。
In order to achieve the above object, the invention according to claim 1 is characterized in that a plurality of cells are arranged in a matrix to form a code area (10), and predetermined data and errors are formed in the code area. An information code (1, 1a) provided with a data area (11) in which a correction code is recorded, wherein additional data different from the predetermined data is recorded using a cell having the same shape as the cell ( 10b) is replaced and arranged in an area that can be corrected by error correction using the error correction code in the data area.
In addition, the code | symbol in each said parenthesis shows the correspondence with the specific means as described in embodiment mentioned later.

請求項1の発明では、データ領域に記録された所定のデータと異なる追加データが同じ形状のセルを用いて追加コード領域に記録されて、この追加コード領域が、データ領域のうち誤り訂正符号を用いた誤り訂正により訂正可能な領域内に置換されて配置される。   According to the first aspect of the present invention, additional data different from the predetermined data recorded in the data area is recorded in the additional code area using cells having the same shape, and the additional code area includes an error correction code in the data area. It is replaced and arranged in a region that can be corrected by the error correction used.

これにより、通常の読取装置では、追加コード領域が汚れ等として誤り訂正されてしまうので、所定のデータが解読される一方で、追加データが解読されることもない。一方、追加コード領域を特定可能な読取装置であれば、追加コード領域から追加データを解読した後、誤り訂正されたデータ領域から所定のデータを解読できる。特に、追加コード領域は、誤り訂正可能な領域内に置換されて配置されるため、追加データの情報量がデータ領域、すなわち、情報コードの占有面積に影響することもない。したがって、占有面積を大きくすることなく秘匿すべき追加データを記録可能な情報コードを実現することができる。   As a result, in the normal reading device, the additional code area is error-corrected as dirt, etc., so that the predetermined data is decoded while the additional data is not decoded. On the other hand, if the reading device can identify the additional code area, it can decode the predetermined data from the error-corrected data area after decoding the additional data from the additional code area. In particular, since the additional code area is replaced and arranged in the error correctable area, the amount of additional data does not affect the data area, that is, the area occupied by the information code. Therefore, an information code capable of recording additional data to be concealed without increasing the occupation area can be realized.

請求項2の発明では、追加コード領域には、追加データに加えて当該追加データを誤り訂正するための誤り訂正符号が記録されるため、追加コード領域の一部が汚れ等により欠損したとしても上記誤り訂正符号を用いた誤り訂正により追加データの解読成功率を高めることができる。   In the invention of claim 2, since an error correction code for correcting the error of the additional data is recorded in the additional code area in addition to the additional data, even if a part of the additional code area is lost due to dirt, etc. The error correction using the error correction code can increase the success rate of decoding additional data.

請求項3の発明では、追加コード領域は、コード領域に対して特定の位置に配置されるため、上記特定の位置に関する情報が予め記憶された読取装置であれば、コード領域から追加コード領域を容易に抽出することができる。   In the invention of claim 3, since the additional code area is arranged at a specific position with respect to the code area, if the reading apparatus stores information related to the specific position in advance, the additional code area is extracted from the code area. It can be easily extracted.

請求項4の発明では、追加コード領域は、コード領域に対する位置を特定するための位置特定パターンを有するように形成されるため、読取装置では、撮像した情報コードのコード領域に含まれる位置特定パターンに基づいて、当該コード領域から追加コード領域を容易に抽出することができる。   In the invention of claim 4, since the additional code area is formed so as to have a position specifying pattern for specifying the position with respect to the code area, the reading apparatus uses the position specifying pattern included in the code area of the imaged information code. Based on the above, it is possible to easily extract the additional code area from the code area.

請求項5の発明では、第1抽出手段により、撮像手段によって撮像された情報コードの画像からコード画像が抽出され、第2抽出手段により、判定手段により追加コード画像が含まれていると判定されたコード画像から追加コード画像が抽出される。そして、第1解読手段により、第1抽出手段にて抽出されたコード画像に基づくデコードを実施することで所定のデータが取得され、第2解読手段により、第2抽出手段にて抽出された追加コード画像に基づくデコードを実施することで追加データが取得される。   In the fifth aspect of the present invention, the first extraction unit extracts a code image from the information code image captured by the imaging unit, and the second extraction unit determines that the additional code image is included by the determination unit. An additional code image is extracted from the obtained code image. Then, predetermined data is obtained by performing decoding based on the code image extracted by the first extracting means by the first decoding means, and the additional data extracted by the second extracting means by the second decoding means Additional data is acquired by performing decoding based on the code image.

これにより、コード画像から抽出された追加コード画像から追加データを解読可能であって、誤り訂正されたデータ領域から所定のデータを解読可能な情報コード読取装置を実現することができる。   As a result, it is possible to realize an information code reading device that can decode additional data from the additional code image extracted from the code image and can decode predetermined data from the error-corrected data area.

請求項6の発明では、データ領域に対する追加コード領域の位置を特定するための位置特定情報が記憶手段に予め記憶されており、判定手段では、上記位置特定情報に基づいて、第1抽出手段により抽出されたコード画像に追加コード画像が含まれているか否かについて判定される。   In the invention of claim 6, position specifying information for specifying the position of the additional code area with respect to the data area is stored in advance in the storage means, and the determining means is based on the position specifying information by the first extracting means. It is determined whether or not an additional code image is included in the extracted code image.

これにより、追加コード領域を有する情報コードを撮像した場合には、コード領域から追加コード領域を容易に抽出することができるため、追加データを解読するための解読時間を短縮できるだけでなく、その処理負荷を軽減することができる。   As a result, when an information code having an additional code area is imaged, the additional code area can be easily extracted from the code area, so that not only the decoding time for decoding the additional data can be shortened but also the processing The load can be reduced.

請求項7の発明では、追加コード領域がコード領域に対する位置を特定するための位置特定パターンを有するように形成されていることから、判定手段では、上記位置特定パターンの有無に基づいて、第1抽出手段により抽出されたコード画像に追加コード画像が含まれているか否かについて判定される。   In the seventh aspect of the invention, since the additional code area is formed to have a position specifying pattern for specifying the position with respect to the code area, the determination means determines whether the first code area is based on the presence of the position specifying pattern. It is determined whether or not an additional code image is included in the code image extracted by the extraction unit.

これにより、追加コード領域を有する情報コードを撮像した場合には、コード領域から追加コード領域を容易に抽出することができるため、追加データを解読するための解読時間を短縮できるだけでなく、その処理負荷を軽減することができる。   As a result, when an information code having an additional code area is imaged, the additional code area can be easily extracted from the code area, so that not only the decoding time for decoding the additional data can be shortened but also the processing The load can be reduced.

第1実施形態に係る情報コードを示す説明図である。It is explanatory drawing which shows the information code which concerns on 1st Embodiment. ベースコード領域を示す説明図である。It is explanatory drawing which shows a base code area | region. 追加コード領域を示す説明図である。It is explanatory drawing which shows an additional code area | region. 第1実施形態に係る情報コードを読み取る情報コード読取装置を概略的に例示するブロック図である。1 is a block diagram schematically illustrating an information code reading device that reads an information code according to a first embodiment. 第1実施形態における読取処理の流れを例示するフローチャートである。4 is a flowchart illustrating a flow of a reading process in the first embodiment. 第2実施形態における追加コード領域を示す説明図である。It is explanatory drawing which shows the additional code area | region in 2nd Embodiment. 第2実施形態における読取処理の流れを例示するフローチャートである。It is a flowchart which illustrates the flow of the reading process in 2nd Embodiment. 第1実施形態の変形例に係る情報コードを示す説明図である。It is explanatory drawing which shows the information code which concerns on the modification of 1st Embodiment.

[第1実施形態]
以下、本発明の情報コードおよび情報コード読取装置を具現化した第1実施形態について、図面を参照して説明する。
まず、図1〜図3を参照して本実施形態に係る情報コードの構成を説明する。なお、図1は、第1実施形態に係る情報コードを示す説明図である。図2は、ベースコード領域10aを示す説明図である。図3は、追加コード領域10bを示す説明図である。
[First Embodiment]
Hereinafter, a first embodiment in which an information code and an information code reader of the present invention are embodied will be described with reference to the drawings.
First, the configuration of the information code according to the present embodiment will be described with reference to FIGS. FIG. 1 is an explanatory diagram showing an information code according to the first embodiment. FIG. 2 is an explanatory diagram showing the base code area 10a. FIG. 3 is an explanatory diagram showing the additional code area 10b.

本実施形態に係る情報コード1は、図1に示すように、複数の情報表示単位セル(以下、単にセルとも称する)が集合したセル集合体として構成されている。各セルは色彩又は濃度又は輝度の異なる複数種類のセルであって各セル領域がそれぞれ正方形領域として構成されている。そして、このようなセルがマトリックス状に配置されることで、コード領域(各セルが配置される領域)10全体が矩形領域として構成されている。   As shown in FIG. 1, the information code 1 according to the present embodiment is configured as a cell aggregate in which a plurality of information display unit cells (hereinafter also simply referred to as cells) are aggregated. Each cell is a plurality of types of cells having different colors, densities, or luminances, and each cell region is configured as a square region. By arranging such cells in a matrix, the entire code area (area where each cell is arranged) 10 is configured as a rectangular area.

図1に示す情報コード1は、そのコード領域10が、図2に示すようなベースコード領域10aと図3に示すような追加コード領域10bとに基づいて形成される。より具体的には、ベースコード領域10aには所定の情報が記録されるとともに追加コード領域10bには上記所定の情報に対して追加したい追加情報が記録され、後述するように追加コード領域10bがベースコード領域10aのデータ領域11のうち誤り訂正可能な領域内に置換されることでコード領域10が形成されている。なお、図1および図3では、便宜上、追加コード領域10bの暗色セルにハッチングを付しているが、実際は、ベースコード領域10aの暗色セルと追加コード領域10bの暗色セルとは同じ色であって視覚的に区別にできないように表示される。   The information code 1 shown in FIG. 1 has a code area 10 formed based on a base code area 10a as shown in FIG. 2 and an additional code area 10b as shown in FIG. More specifically, predetermined information is recorded in the base code area 10a, and additional information to be added to the predetermined information is recorded in the additional code area 10b. The code area 10 is formed by being replaced with an error correctable area in the data area 11 of the base code area 10a. In FIG. 1 and FIG. 3, for convenience, the dark cells in the additional code area 10b are hatched. However, the dark cells in the base code area 10a and the dark cells in the additional code area 10b are actually the same color. Displayed so that they cannot be distinguished visually.

このため、情報コード1を読み取る場合、通常の情報コード読取装置では、追加コード領域10bが汚れ等として誤り訂正されてしまうために上記所定の情報のみが解読可能である。一方、後述する情報コード読取装置20のように追加コード領域10bを特定可能な情報コード読取装置では、上記所定の情報および追加情報の双方が解読可能となる。   For this reason, when the information code 1 is read, an ordinary information code reader can correct only the predetermined information because the additional code area 10b is error-corrected as dirt or the like. On the other hand, in the information code reading device capable of specifying the additional code area 10b as in the information code reading device 20 described later, both the predetermined information and the additional information can be decoded.

すなわち、ベースコード領域10a上に別階層として追加コード領域10bを置換することで、追加コード領域10bから解読される追加情報を非公開情報として秘匿することができる。本実施形態に係る情報コード1は、例えば、上記所定の情報として出荷製品の一般情報(品番,品名等)が記録され、秘匿したい追加情報として管理情報(生産ロット番号,生産ライン名等)が記録されて、その出荷製品に表示することができる。   That is, by replacing the additional code area 10b as a separate layer on the base code area 10a, the additional information decoded from the additional code area 10b can be concealed as private information. In the information code 1 according to the present embodiment, for example, general information (product number, product name, etc.) of a shipped product is recorded as the predetermined information, and management information (production lot number, production line name, etc.) is added as additional information to be kept confidential. It can be recorded and displayed on its shipping product.

以下、情報コード1の詳細構成について説明する。
まず、ベースコード領域10aの構成について、図2を用いて説明する。本実施形態では、ベースコード領域10aは、QRコードの規格に基づいて構成されており、図2に示す例では、明色セルおよび暗色セルが縦横同数(25セル×25セル)の正方形領域となるように配列されている。ベースコード領域10a内には、機能パターンとデータ領域11とが配置されている。
Hereinafter, the detailed configuration of the information code 1 will be described.
First, the configuration of the base code area 10a will be described with reference to FIG. In the present embodiment, the base code area 10a is configured based on the QR code standard. In the example shown in FIG. 2, a light color cell and a dark color cell are a square area having the same number of vertical and horizontal (25 cells × 25 cells). It is arranged to be. A functional pattern and a data area 11 are arranged in the base code area 10a.

機能パターンは、コード化されたデータをデコードするのに要するパターンであって、ベースコード領域10aを特定するためのファインダパターン12a〜12cやアライメントパターン、タイミングパターン等から構成されている。   The function pattern is a pattern required to decode the encoded data, and includes finder patterns 12a to 12c for specifying the base code area 10a, alignment patterns, timing patterns, and the like.

データ領域11は、複数のコードブロックを備えており、データコードブロックと誤り訂正コードブロックとに分けられる。データコードブロックは、デコードの対象となるデータの各データ要素を符号化した符号化データ(データコードワード)を複数個のセルによって表現したブロックとして構成されている。誤り訂正コードブロックは、対応するデータコードブロックのデータコードワードに基づいて誤り訂正コードワードを所定方式で生成し、この誤り訂正コードワードによって構成された誤り訂正符号を複数個のセルによって表現したブロックとして構成されている。なお、データコードワードに基づいて誤り訂正コードワードを生成する方法としては、例えば公知のリード・ソロモン誤り訂正方式を用いることができる。   The data area 11 includes a plurality of code blocks, and is divided into a data code block and an error correction code block. The data code block is configured as a block in which encoded data (data code word) obtained by encoding each data element of data to be decoded is expressed by a plurality of cells. The error correction code block is a block in which an error correction code word is generated by a predetermined method based on the data code word of the corresponding data code block, and an error correction code constituted by the error correction code word is expressed by a plurality of cells. It is configured as. As a method of generating an error correction code word based on the data code word, for example, a known Reed-Solomon error correction method can be used.

また、誤り訂正レベルとして4つの誤り訂正レベルL,M,Q,H(LからHへの順に高くなる)が用意されており、この誤り訂正レベルは、読み取れないセルを許容する割合の高さ、すなわち、許容欠損率の高さに対応している。それぞれのレベルの許容欠損率は、誤り訂正レベルHが約30%、誤り訂正レベルQが約25%、誤り訂正レベルMが約15%、誤り訂正レベルLが約7%である。   In addition, four error correction levels L, M, Q, and H (in order from L to H) are prepared as error correction levels, and this error correction level is a high rate of allowing unreadable cells. That is, it corresponds to the high allowable defect rate. The allowable defect rate of each level is about 30% for error correction level, about 25% for error correction level Q, about 15% for error correction level M, and about 7% for error correction level L.

次に、追加コード領域10bの構成について、図3を用いて説明する。
追加コード領域10bは、ベースコード領域10aの規格(本実施形態ではQRコードの規格)と異なる規格(以下、追加コード用規格ともいう)で構成されており、ベースコード領域10aのデータ領域11において上記誤り訂正レベルを考慮した誤り訂正可能な領域よりも狭くなるように形成されている。図3に示す例では、誤り訂正により訂正可能な領域よりも狭い領域として、明色セルおよび暗色セルが11セル×11セルの正方形領域となるように配列されている。
Next, the configuration of the additional code area 10b will be described with reference to FIG.
The additional code area 10b is composed of a standard (hereinafter also referred to as an additional code standard) different from the standard of the base code area 10a (QR code standard in the present embodiment), and in the data area 11 of the base code area 10a. It is formed so as to be narrower than an error-correctable region considering the error correction level. In the example shown in FIG. 3, the light cell and the dark cell are arranged so as to be a square region of 11 cells × 11 cells as a region narrower than a region that can be corrected by error correction.

追加コード領域10bを構成するコードブロックは、上記ベースコード領域10aと同様に、データコードブロックと誤り訂正コードブロックとに分けられる。図3に示す例では、上側の領域(図3の符号S1参照)にデータコードブロックが配置され、下側の領域(図3の符号S2参照)に誤り訂正コードブロックが配置されている。   Similar to the base code area 10a, the code blocks constituting the additional code area 10b are divided into data code blocks and error correction code blocks. In the example shown in FIG. 3, the data code block is arranged in the upper area (see symbol S1 in FIG. 3), and the error correction code block is arranged in the lower area (see symbol S2 in FIG. 3).

すなわち、追加コード領域10bについて、上記追加コード用規格に基づいてデコードすることで、上記追加情報を解読することができる。また、追加コード領域10bの一部が汚れ等により欠損したとしても、当該追加コード領域10bにおける誤り訂正コードブロックの上記誤り訂正符号を用いた誤り訂正がなされることで、追加データの解読成功率を高めることができる。   That is, the additional information can be decoded by decoding the additional code area 10b based on the additional code standard. Even if a part of the additional code area 10b is lost due to dirt or the like, the error correction using the error correction code of the error correction code block in the additional code area 10b is performed, whereby the decoding success rate of the additional data is increased. Can be increased.

本実施形態では、上述のように形成される追加コード領域10bを、事前に形成されたベースコード領域10aのうち予め規定された特定の位置に置換するように配置することで、情報コード1のコード領域10が形成される。上記特定の位置としては、例えば、図1に示すように、ベースコード領域10aの中央に位置するデータ領域11の部分であってベースコード領域10aの誤り訂正可能な領域内となるように設定することができる。   In the present embodiment, the additional code area 10b formed as described above is arranged so as to be replaced with a predetermined specific position in the base code area 10a formed in advance. A code region 10 is formed. As the specific position, for example, as shown in FIG. 1, it is set so as to be within the error-correctable area of the base code area 10a, which is a portion of the data area 11 located at the center of the base code area 10a. be able to.

次に、本実施形態に係る情報コード1から上記追加情報を読み取り可能な情報コード読取装置20について、図4を用いて説明する。図4は、情報コード読取装置20の電気的構成を概略的に示すブロック図である。
本実施形態に係る情報コード読取装置20は、情報コード1やバーコードなどを光学的に読み取る読取装置である。図4に示すように、情報コード読取装置20は、図示しないケースの内部に回路部20aが収容されてなるものであり、回路部20aは、主に、照明光源21、受光センサ28、結像レンズ27等の光学系と、メモリ35、制御回路40等のマイクロコンピュータ(以下「マイコン」という)系とを備えている。
Next, an information code reading device 20 capable of reading the additional information from the information code 1 according to the present embodiment will be described with reference to FIG. FIG. 4 is a block diagram schematically showing an electrical configuration of the information code reading device 20.
The information code reading device 20 according to the present embodiment is a reading device that optically reads the information code 1, a bar code, and the like. As shown in FIG. 4, the information code reader 20 includes a circuit unit 20 a housed in a case (not shown). The circuit unit 20 a mainly includes an illumination light source 21, a light receiving sensor 28, and an imaging. An optical system such as a lens 27 and a microcomputer (hereinafter referred to as “microcomputer”) system such as a memory 35 and a control circuit 40 are provided.

光学系は、投光光学系と、受光光学系とに分かれている。投光光学系を構成する照明光源21は、照明光Lfを発光可能な照明光源として機能するもので、例えば、赤色のLEDとこのLEDの出射側に設けられるレンズとから構成されている。なお、図4では、情報コード1が付された読取対象物Rに向けて照明光Lfを照射する例を概念的に示している。   The optical system is divided into a light projecting optical system and a light receiving optical system. The illumination light source 21 constituting the light projecting optical system functions as an illumination light source capable of emitting the illumination light Lf, and includes, for example, a red LED and a lens provided on the emission side of the LED. FIG. 4 conceptually shows an example in which the illumination light Lf is irradiated toward the reading object R to which the information code 1 is attached.

受光光学系は、受光センサ28、結像レンズ27、反射鏡(図示略)などによって構成されている。受光センサ28は、例えば、C−MOSやCCD等の固体撮像素子である受光素子を二次元に配列したエリアセンサとして構成されるものであり、受光した情報コードの各セル(パターン)ごとに反射光Lrの強度に応じた電気信号を出力するように構成されている。この受光センサ28は、結像レンズ27を介して入射する入射光を受光可能にプリント配線板(図示略)に実装されている。なお、受光センサ28は、「撮像手段」の一例に相当し得る。   The light receiving optical system includes a light receiving sensor 28, an imaging lens 27, a reflecting mirror (not shown), and the like. The light receiving sensor 28 is configured as an area sensor in which light receiving elements, which are solid-state imaging elements such as C-MOS and CCD, are two-dimensionally arranged, and reflects each cell (pattern) of the received information code. An electric signal corresponding to the intensity of the light Lr is output. The light receiving sensor 28 is mounted on a printed wiring board (not shown) so as to be able to receive incident light incident through the imaging lens 27. The light receiving sensor 28 may correspond to an example of “imaging means”.

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

マイコン系は、増幅回路31、A/D変換回路33、メモリ35、アドレス発生回路36、同期信号発生回路38、制御回路40、操作部42、液晶表示器43、ブザー44、バイブレータ45、発光部46、通信インタフェース48等から構成されている。このマイコン系は、その名の通り、マイコン(情報処理装置)として機能し得る制御回路40およびメモリ35を中心に構成されるもので、上述した光学系によって撮像された情報コードの画像信号をハードウェア的およびソフトウェア的に信号処理し得るものである。また制御回路40は、当該情報コード読取装置20の全体システムに関する制御も行っている。   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 unit 42, a liquid crystal display 43, a buzzer 44, a vibrator 45, and a light emitting unit. 46, a communication interface 48, and the like. As its name suggests, this microcomputer system is composed mainly of a control circuit 40 and a memory 35 that can function as a microcomputer (information processing device), and the image signal of the information code imaged by the optical system described above is hard-coded. It can perform signal processing in terms of hardware and software. The control circuit 40 also performs control related to the entire system of the information code reader 20.

光学系の受光センサ28から出力される画像信号(アナログ信号)は、増幅回路31に入力されることで所定ゲインで増幅された後、A/D変換回路33に入力されると、アナログ信号からディジタル信号に変換される。そして、ディジタル化された画像信号、つまり画像データ(画像情報)は、メモリ35に入力されると、画像データ蓄積領域に蓄積される。なお、同期信号発生回路38は、受光センサ28およびアドレス発生回路36に対する同期信号を発生可能に構成されており、またアドレス発生回路36は、この同期信号発生回路38から供給される同期信号に基づいて、メモリ35に格納される画像データの格納アドレスを発生可能に構成されている。   The image signal (analog signal) output from the light receiving sensor 28 of the optical system is amplified by a predetermined gain by being input to the amplifier circuit 31, and then input from the analog signal when input to the A / D conversion circuit 33. Converted into a digital signal. When the digitized image signal, that is, image data (image information) is input to the memory 35, it is stored in the image data storage area. The synchronization signal generation circuit 38 is configured to generate a synchronization signal for the light receiving sensor 28 and the address generation circuit 36, and 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、受光センサ28等の各ハードウェアを制御可能なシステムプログラム等が予め格納されている。また、メモリ35には、上述した特定の位置に関する情報(以下、位置特定情報ともいう)や後述する読取処理を実行可能な読取用プログラム等も記憶されている。なお、メモリ35は、「記憶手段」の一例に相当し得る。   The memory 35 is a semiconductor memory device, 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 system program or the like that can control each piece of hardware such as the illumination light source 21 and the light receiving sensor 28. The memory 35 also stores information related to the specific position described above (hereinafter also referred to as position specifying information), a reading program that can execute a reading process described later, and the like. The memory 35 may correspond to an example of “storage means”.

制御回路40は、情報コード読取装置20全体を制御可能なマイコンで、CPU、システムバス、入出力インタフェース等からなるもので、メモリ35とともに情報処理装置を構成し得るもので情報処理機能を有する。この制御回路40は、内蔵された入出力インタフェースを介して種々の入出力装置(周辺装置)と接続可能に構成されており、本実施形態の場合、操作部42、液晶表示器43、ブザー44、バイブレータ45、発光部46、通信インタフェース48等が接続されている。   The control circuit 40 is a microcomputer that can control the entire information code reading device 20 and includes a CPU, a system bus, an input / output interface, and the like. The control circuit 40 can constitute an information processing device together with the memory 35 and has an information processing function. The control circuit 40 is configured to be connectable to various input / output devices (peripheral devices) via a built-in input / output interface. In the case of the present embodiment, the operation unit 42, the liquid crystal display 43, and the buzzer 44 are configured. A vibrator 45, a light emitting unit 46, a communication interface 48, and the like are connected.

操作部42は、複数のキーによって構成され、使用者のキー操作に応じて制御回路40に対して操作信号を与える構成をなしており、制御回路40は、操作部42から操作信号を受けたとき、その操作信号に応じた動作を行うように構成されている。液晶表示器43は、公知の液晶表示パネルによって構成されており、制御回路40によって表示内容が制御されるようになっている。ブザー44は、公知のブザーによって構成されており、制御回路40からの動作信号に応じて所定の音を発生させるように構成されている。バイブレータ45は、携帯機器に搭載される公知のバイブレータによって構成されており、制御回路40からの駆動信号に応じて振動を発生させるように構成されている。発光部46は、例えばLEDであって、制御回路40からの信号に応じて点灯するように構成されている。通信インタフェース48は、外部(例えばホスト装置)との間でのデータ通信を行うためのインタフェースとして構成されており、制御回路40と協働して通信処理を行う構成をなしている。   The operation unit 42 includes a plurality of keys, and is configured to give an operation signal to the control circuit 40 according to a user's key operation. The control circuit 40 receives the operation signal from the operation unit 42. At this time, it is configured to perform an operation according to the operation signal. The liquid crystal display 43 is constituted by a known liquid crystal display panel, and the display content is controlled by the control circuit 40. The buzzer 44 is configured by a known buzzer, and is configured to generate a predetermined sound according to an operation signal from the control circuit 40. The vibrator 45 is configured by a known vibrator mounted on a portable device, and is configured to generate vibration according to a drive signal from the control circuit 40. The light emitting unit 46 is, for example, an LED, and is configured to light up in response to a signal from the control circuit 40. The communication interface 48 is configured as an interface for performing data communication with the outside (for example, a host device), and is configured to perform communication processing in cooperation with the control circuit 40.

次に、情報コード1を読み取る際に情報コード読取装置20の制御回路40にて実行される読取処理について、図5を参照して説明する。図5は、第1実施形態において実施される読取処理の流れを例示するフローチャートである。
情報コード1に対して情報コード読取装置20の読取口が向けられた状態で操作部42に対して所定の操作がなされると、制御回路40による読取処理が開始される。まず、ステップS101に示す撮像処理がなされ、情報コードからの反射光Lrを受光した受光センサ28から出力される信号に基づいて、当該情報コード1を含む画像データが生成される。
Next, a reading process executed by the control circuit 40 of the information code reader 20 when reading the information code 1 will be described with reference to FIG. FIG. 5 is a flowchart illustrating the flow of the reading process performed in the first embodiment.
When a predetermined operation is performed on the operation unit 42 in a state where the reading port of the information code reading device 20 is directed to the information code 1, reading processing by the control circuit 40 is started. First, the imaging process shown in step S101 is performed, and image data including the information code 1 is generated based on a signal output from the light receiving sensor 28 that receives the reflected light Lr from the information code.

次に、ステップS103に示すコード画像抽出処理がなされ、上述のように生成された画像データからファインダパターン12a〜12c等に基づいてコード領域10に相当するコード画像が抽出される。続いて、ステップS105に示す追加コード画像抽出処理がなされ、メモリ35に予め記憶される上記位置特定情報に基づいて、上記追加コード領域10bに相当する画像が追加コード画像として上述のように抽出されたコード画像からさらに抽出される。なお、上記コード画像抽出処理を実行する制御回路40は、「第1抽出手段」の一例に相当し、上記追加コード画像抽出処理を実行する制御回路40は、「第2抽出手段」の一例に相当し得る。   Next, a code image extraction process shown in step S103 is performed, and a code image corresponding to the code area 10 is extracted from the image data generated as described above based on the finder patterns 12a to 12c and the like. Subsequently, an additional code image extraction process shown in step S105 is performed, and an image corresponding to the additional code area 10b is extracted as described above as an additional code image based on the position specifying information stored in advance in the memory 35. It is further extracted from the code image. The control circuit 40 that executes the code image extraction process corresponds to an example of a “first extraction unit”, and the control circuit 40 that executes the additional code image extraction process is an example of a “second extraction unit”. It can be equivalent.

そして、ステップS107に示す第1コードワード取得処理にて、コード画像からさらに抽出された画像から、コードワードが取得される。次に、ステップS109に示す第1誤り訂正処理がなされ、上述のように取得されたコードワードから誤り訂正符号が取得され、この誤り訂正符号を用いて当該コードワードが誤り訂正される。   Then, in the first code word acquisition process shown in step S107, a code word is acquired from the image further extracted from the code image. Next, first error correction processing shown in step S109 is performed, an error correction code is acquired from the code word acquired as described above, and the code word is error-corrected using this error correction code.

次に、ステップS111に示す判定処理にて、コード画像に追加コード領域10bに相当する追加コード画像が含まれているか否かについて判定される。コード画像に追加コード画像が含まれている場合には上記誤り訂正が成功するため、上記ステップS109における誤り訂正が成功した場合には、コード画像に追加コード画像が含まれているとしてステップS111にてYesと判定される。なお、上記判定処理を実行する制御回路40は、「判定手段」の一例に相当し得る。   Next, in the determination process shown in step S111, it is determined whether or not the code image includes an additional code image corresponding to the additional code area 10b. If the code image includes an additional code image, the error correction succeeds. If the error correction in step S109 succeeds, the code image is determined to include an additional code image and the process proceeds to step S111. Yes. The control circuit 40 that executes the determination process may correspond to an example of a “determination unit”.

次に、ステップS113に示す追加コード解読処理がなされ、誤り訂正された追加コード領域10bのコードワードについて、上記追加コード用規格に基づくデコードがなされることで、上記追加情報が解読される。なお、情報コード1と異なる通常の情報コードを撮像している場合には、追加コード領域10bと無関係な領域が抽出されるために上記誤り訂正が失敗することから、コード画像に追加コード画像が含まれていないとして(S111でNo)、上記追加コード解読処理を実施することなくステップS115以降の処理がなされる。なお、上記追加コード解読処理を実行する制御回路40は、「第2解読手段」の一例に相当し得る。   Next, the additional code decoding process shown in step S113 is performed, and the additional information is decoded by performing decoding based on the additional code standard for the code word in the additional code area 10b subjected to error correction. When a normal information code different from the information code 1 is imaged, an area unrelated to the additional code area 10b is extracted and the error correction fails, so that the additional code image is included in the code image. If it is not included (No in S111), the process after step S115 is performed without performing the additional code decoding process. The control circuit 40 that executes the additional code decoding process may correspond to an example of “second decoding means”.

上述のように、追加情報が解読されるか(S113)、誤り訂正が失敗する(S111でNo)と、ステップS115に示す第2コードワード取得処理にて、上記ステップS103にて抽出されたコード画像からコードワードが取得される。次に、ステップS117に示す第2誤り訂正処理がなされ、上述のようにコード領域10から取得されたコードワードから誤り訂正符号が取得され、この誤り訂正符号を用いて当該コードワードが誤り訂正される。この誤り訂正時に追加コード領域10bに相当するコードワードが汚れ等として誤り訂正されることで、ベースコード領域10aに相当するコードワードが取得される。   As described above, when additional information is decoded (S113) or error correction fails (No in S111), the code extracted in step S103 in the second codeword acquisition process shown in step S115. A codeword is obtained from the image. Next, the second error correction processing shown in step S117 is performed, and an error correction code is acquired from the code word acquired from the code area 10 as described above, and the code word is error corrected using this error correction code. The At the time of error correction, the code word corresponding to the additional code area 10b is error-corrected as dirt or the like, whereby the code word corresponding to the base code area 10a is acquired.

追加コード領域10bの他に誤り訂正不能な欠損等がないことから上記誤り訂正が成功すると(S119でYes)、ステップS121に示すベースコード解読処理がなされる。この処理では、誤り訂正されて取得されたコード領域10のコードワードについて、ベースコード領域10aの規格(本実施形態ではQRコードの規格)に基づくデコードがなされることで、上記所定の情報が解読される。なお、上記ベースコード解読処理を実行する制御回路40は、「第1解読手段」の一例に相当し得る。   If the error correction is successful (Yes in S119) because there is no defect that cannot be corrected other than the additional code area 10b, the base code decoding process shown in step S121 is performed. In this process, the predetermined information is decoded by decoding the code word of the code area 10 obtained by error correction based on the standard of the base code area 10a (in this embodiment, the QR code standard). Is done. The control circuit 40 that executes the base code decoding process may correspond to an example of “first decoding means”.

上述のように所定の情報が解読されると、ステップS123に示す出力処理がなされ、所定の情報および追加情報または所定の情報のみが液晶表示器43に出力表示されて、本読取処理が終了する。なお、誤り訂正不能な欠損等が含まれた情報コード(本実施形態に係る情報コード1も含む)を撮像している場合には、上記誤り訂正が失敗するため(S119でNo)、この場合には、上記ベースコード解読処理および出力処理が実施されることなく本読取処理が終了する。   When the predetermined information is decoded as described above, the output process shown in step S123 is performed, and only the predetermined information and the additional information or the predetermined information are output and displayed on the liquid crystal display 43, and the reading process ends. . Note that in the case where an image of an information code (including the information code 1 according to the present embodiment) including a defect that cannot be corrected is taken, the error correction fails (No in S119). In this case, the reading process is completed without performing the base code decoding process and the output process.

以上説明したように、本実施形態に係る情報コード1では、ベースコード領域10aのデータ領域11に記録された所定のデータと異なる追加データが同じ形状のセルを用いて追加コード領域10bに記録されて、この追加コード領域10bが、データ領域11のうち誤り訂正符号を用いた誤り訂正により訂正可能な領域内に置換されて配置される。   As described above, in the information code 1 according to the present embodiment, additional data different from the predetermined data recorded in the data area 11 of the base code area 10a is recorded in the additional code area 10b using cells having the same shape. Thus, this additional code area 10b is replaced and arranged in an area that can be corrected by error correction using an error correction code in the data area 11.

これにより、通常の読取装置では、追加コード領域10bが汚れ等として誤り訂正されてしまうので、所定のデータが解読される一方で、追加データが解読されることもない。一方、追加コード領域10bを特定可能である情報コード読取装置20であれば、追加コード領域10bから追加データを解読した後、誤り訂正されたデータ領域11から所定のデータを解読できる。特に、追加コード領域10bは、誤り訂正可能な領域内に置換されて配置されるため、追加データの情報量がデータ領域11、すなわち、情報コード1の占有面積に影響することもない。したがって、占有面積を大きくすることなく秘匿すべき追加データを記録可能な情報コードを実現することができる。   As a result, in the normal reading device, the additional code area 10b is error-corrected as dirt, etc., so that the predetermined data is decoded while the additional data is not decoded. On the other hand, if the information code reader 20 can identify the additional code area 10b, it can decode the predetermined data from the error-corrected data area 11 after decoding the additional data from the additional code area 10b. In particular, since the additional code area 10b is replaced and arranged in an error-correctable area, the information amount of the additional data does not affect the area occupied by the data area 11, that is, the information code 1. Therefore, an information code capable of recording additional data to be concealed without increasing the occupation area can be realized.

特に、追加コード領域10bには、追加データに加えて当該追加データを誤り訂正するための誤り訂正符号が記録されるため、追加コード領域10bの一部が汚れ等により欠損したとしても上記誤り訂正符号を用いた誤り訂正により追加データの解読成功率を高めることができる。なお、誤り訂正不要な使用環境等であれば、誤り訂正コードブロックを除くように追加コード領域10bを構成してもよい。   In particular, in the additional code area 10b, in addition to the additional data, an error correction code for correcting the error of the additional data is recorded. Therefore, even if a part of the additional code area 10b is lost due to contamination or the like, the error correction is performed. Error correction using codes can increase the success rate of decoding additional data. Note that the additional code area 10b may be configured so as to exclude the error correction code block if the usage environment does not require error correction.

さらに、追加コード領域10bは、ベースコード領域10a(コード領域10)に対して特定の位置に配置されるため、この特定の位置に関する位置特定情報がメモリ35等に予め記憶された情報コード読取装置20では、コード画像から追加コード画像を容易に抽出することができる。   Further, since the additional code area 10b is arranged at a specific position with respect to the base code area 10a (code area 10), an information code reading device in which position specifying information regarding the specific position is stored in advance in the memory 35 or the like. In 20, the additional code image can be easily extracted from the code image.

そして、本実施形態に係る情報コード読取装置20では、コード画像抽出処理により、受光センサ28によって撮像された情報コード1の画像からコード画像が抽出され、追加コード画像抽出処理により、判定処理により追加コード領域10bの画像が含まれていると判定されたコード画像から抽出された画像が追加コード画像とされる。そして、ベースコード解読処理により、コード画像抽出処理にて抽出されたコード画像に基づくデコードを実施することで上記所定のデータが取得され、追加コード解読処理により、追加コード画像抽出処理にて抽出された追加コード画像に基づくデコードを実施することで上記追加データが取得される。   In the information code reader 20 according to the present embodiment, the code image is extracted from the image of the information code 1 captured by the light receiving sensor 28 by the code image extraction process, and added by the determination process by the additional code image extraction process. An image extracted from the code image determined to include the image of the code area 10b is set as the additional code image. Then, the predetermined data is obtained by performing decoding based on the code image extracted by the code image extraction process by the base code decoding process, and extracted by the additional code image extraction process by the additional code decoding process. The additional data is acquired by performing decoding based on the additional code image.

これにより、コード画像から抽出された追加コード画像から追加データを解読可能であって、誤り訂正されたデータ領域11から所定のデータを解読可能な情報コード読取装置20を実現することができる。   As a result, it is possible to realize the information code reading device 20 that can decipher additional data from the additional code image extracted from the code image and decipher predetermined data from the error-corrected data area 11.

特に、データ領域11に対する追加コード領域10bの位置を特定するための位置特定情報がメモリ35に予め記憶されており、判定処理では、上記位置特定情報に基づいて、コード画像抽出処理により抽出されたコード画像に追加コード画像が含まれているか否かについて判定される。   In particular, position specifying information for specifying the position of the additional code area 10b with respect to the data area 11 is stored in the memory 35 in advance, and in the determination process, it is extracted by the code image extraction process based on the position specifying information. It is determined whether or not an additional code image is included in the code image.

これにより、追加コード領域10bを有する情報コード1を撮像した場合には、コード画像から追加コード画像を容易に抽出することができるため、追加データを解読するための解読時間を短縮できるだけでなく、その処理負荷を軽減することができる。   Thereby, when the information code 1 having the additional code area 10b is imaged, the additional code image can be easily extracted from the code image, so that not only the decoding time for decoding the additional data can be shortened, The processing load can be reduced.

[第2実施形態]
次に、本第2実施形態に係る情報コードおよび情報コード読取装置について、図6および図7を参照して説明する。図6は、第2実施形態における追加コード領域10bを示す説明図である。図7は、第2実施形態における読取処理の流れを例示するフローチャートである。
[Second Embodiment]
Next, an information code and an information code reader according to the second embodiment will be described with reference to FIGS. FIG. 6 is an explanatory diagram showing the additional code area 10b in the second embodiment. FIG. 7 is a flowchart illustrating the flow of the reading process in the second embodiment.

本第2実施形態では、追加コード領域10bがコード領域10に対する位置を特定するための位置特定パターンを有するように形成される点が、上記第1実施形態と主に異なる。具体的には、追加コード領域10bは、図6に示すように、対角線上に位置する2つの隅部に位置特定パターン13a,13bが配置されて形成されている。両位置特定パターン13a,13bは、それぞれ7個の暗色セルからなるL字部の内側に2つの暗色セルが対称形状となるように配置されて形成されている。なお、図6では、便宜上、追加コード領域10bのうち位置特定パターン13a,13bを除く他の暗色セルにハッチングを付しているが、実際は、位置特定パターン13a,13bと追加コード領域10bの他の暗色セルとは同じ色であって視覚的に区別にできないように表示される。   The second embodiment is mainly different from the first embodiment in that the additional code area 10b is formed to have a position specifying pattern for specifying the position with respect to the code area 10. Specifically, as shown in FIG. 6, the additional code area 10b is formed by arranging position specifying patterns 13a and 13b at two corners located on the diagonal line. Both the position specifying patterns 13a and 13b are formed by arranging two dark cells in a symmetrical shape inside an L-shaped portion composed of seven dark cells. In FIG. 6, for convenience, the dark cells other than the position specifying patterns 13a and 13b in the additional code area 10b are hatched. However, in actuality, other than the position specifying patterns 13a and 13b and the additional code area 10b. These dark cells are the same color and are displayed so that they cannot be visually distinguished.

これにより、本実施形態では、位置特定パターン13a,13bをコード領域10から探索することで追加コード領域10bを特定することができる。このため、上記第1実施形態のように追加コード領域10bを特定の位置に配置することが不要となり、ベースコード領域10aのデータ領域11に対する追加コード領域10bの配置に関する自由度を高めることができる。さらに、情報コード読取装置20に関しては、上記位置特定情報の記憶を不要とすることができる。   Thereby, in this embodiment, the additional code area 10b can be specified by searching the code area 10 for the position specifying patterns 13a and 13b. Therefore, it is not necessary to arrange the additional code area 10b at a specific position as in the first embodiment, and the degree of freedom regarding the arrangement of the additional code area 10b with respect to the data area 11 of the base code area 10a can be increased. . Furthermore, regarding the information code reader 20, it is possible to eliminate the need for storing the position specifying information.

以下、本実施形態において制御回路40により実施される読取処理について、図7に示すフローチャートを用いて詳細に説明する。
上記第1実施形態における読取処理と同様に、図7のステップS101に示す撮像処理により生成された画像データからコード画像が抽出されると(S103)、ステップS104に示す判定処理にて、この抽出されたコード画像に位置特定パターン13a,13bが含まれているか否かについて判定される。なお、上記判定処理を実行する制御回路40は、「判定手段」の一例に相当し得る。
Hereinafter, the reading process performed by the control circuit 40 in the present embodiment will be described in detail with reference to the flowchart shown in FIG.
Similar to the reading process in the first embodiment, when a code image is extracted from the image data generated by the imaging process shown in step S101 of FIG. 7 (S103), this extraction is performed in the determination process shown in step S104. It is determined whether or not the position specifying patterns 13a and 13b are included in the code image. The control circuit 40 that executes the determination process may correspond to an example of a “determination unit”.

ここで、コード画像を探索した結果、コード画像に位置特定パターン13a,13bが含まれていると判定されると(S104でYes)、ステップS105aに示す追加コード画像抽出処理がなされる。この処理では、上述のように探索された位置特定パターン13a,13bの位置に基づいてコード領域10に対する追加コード領域10bの位置が特定されて、コード画像から追加コード画像が抽出される。このように追加コード画像が抽出されると、上記第1実施形態における読取処理と同様にステップS107以降の処理がなされる。一方、コード画像を探索した結果、コード画像に位置特定パターン13a,13bが含まれていないと判定されると(S104でNo)、上記追加コード画像抽出処理等の処理がなされることなく上記ステップS115以降の処理がなされる。   Here, as a result of searching the code image, if it is determined that the position specifying patterns 13a and 13b are included in the code image (Yes in S104), an additional code image extraction process shown in step S105a is performed. In this process, the position of the additional code area 10b with respect to the code area 10 is specified based on the positions of the position specifying patterns 13a and 13b searched as described above, and the additional code image is extracted from the code image. When the additional code image is extracted in this way, the processing after step S107 is performed in the same manner as the reading processing in the first embodiment. On the other hand, as a result of searching for the code image, if it is determined that the position specifying patterns 13a and 13b are not included in the code image (No in S104), the above steps are performed without performing the additional code image extraction process or the like. The processes after S115 are performed.

以上説明したように、本実施形態に係る情報コード1では、追加コード領域10bは、コード領域10に対する位置を特定するための位置特定パターン13a,13bを有するように形成される。このため、情報コード読取装置20では、上記位置特定情報を予め記憶することなく、撮像した情報コードのコード領域10から位置特定パターン13a,13bを探索することで、当該コード領域10から追加コード領域10bを容易に抽出することができる。また、情報コード読取装置20では、位置特定パターン13a,13bの有無に基づいて、コード画像に追加コード画像が含まれているか否かについて判定することで、追加データを解読するための解読時間を短縮できるだけでなく、その処理負荷を軽減することができる。   As described above, in the information code 1 according to the present embodiment, the additional code area 10b is formed to have the position specifying patterns 13a and 13b for specifying the position with respect to the code area 10. For this reason, the information code reader 20 searches the code area 10 of the imaged information code for the position specifying patterns 13a and 13b without storing the position specifying information in advance, so that the additional code area is extracted from the code area 10. 10b can be easily extracted. Further, the information code reading device 20 determines the decoding time for decoding the additional data by determining whether or not the code image includes the additional code image based on the presence / absence of the position specifying patterns 13a and 13b. In addition to shortening, the processing load can be reduced.

なお、本実施形態に係る位置特定パターンは、図6に示す位置特定パターン13a,13bのように形成されることに限らず、例えば、単なるL字状など、追加コード領域10bをコード領域10から抽出可能な形状であればよい。また、本実施形態に係る位置特定パターンは、追加コード領域10bの四隅のうち対角線上に配置されることに限らず、例えば、四隅のうちの少なくとも1箇所に配置されてもよいし、隅部と異なる所定の位置に特定の形状で配置されてもよい。   Note that the position specifying pattern according to the present embodiment is not limited to being formed as the position specifying patterns 13a and 13b illustrated in FIG. 6. For example, the additional code area 10b such as a simple L shape may be formed from the code area 10. Any shape that can be extracted is acceptable. In addition, the position specifying pattern according to the present embodiment is not limited to being arranged on the diagonal line among the four corners of the additional code area 10b, and may be arranged at at least one of the four corners, It may be arranged in a specific shape at a different predetermined position.

なお、本発明は上記各実施形態に限定されるものではなく、例えば、以下のように具体化してもよい。
(1)ベースコード領域10aの一部を追加コード領域10bに置換することでコード領域10が形成される構成であるため、既存のQRコード等の二次元コードに対して後から作成した追加コード領域10bを上記特定の位置に貼り付けることで、本実施形態に係る情報コード1を構成することができる。これにより、既に製品等に表示された情報コードであっても、追加情報を読み取り可能な情報コードに容易に変更することができる。また、新たな追加コード領域10bを上記特定の位置に貼り付けることで、追加情報を容易に変更することができる。
In addition, this invention is not limited to said each embodiment, For example, you may actualize as follows.
(1) Since the code area 10 is formed by replacing a part of the base code area 10a with the additional code area 10b, an additional code created later for an existing two-dimensional code such as a QR code The information code 1 according to the present embodiment can be configured by pasting the region 10b at the specific position. Thereby, even an information code already displayed on a product or the like can be easily changed to an information code from which additional information can be read. Further, the additional information can be easily changed by pasting the new additional code area 10b to the specific position.

(2)図8は、第1実施形態の変形例に係る情報コード1aを示す説明図である。
上記各実施形態における情報コードのベースコード領域10aは、QRコードの規格に基づいて形成されることに限らず、データマトリックコードやマキシコードなどの他の二次元コードの規格に基づいて形成されてもよい。例えば、図8に示すように、データマトリックコードの規格に基づいて構成されたベースコード領域10aのデータ領域11のうち誤り訂正可能な領域内に追加コード領域10bを置換することでも本発明に係る情報コード1aを形成することができる。
(2) FIG. 8 is an explanatory diagram showing an information code 1a according to a modification of the first embodiment.
The base code area 10a of the information code in each of the above embodiments is not limited to being formed based on the QR code standard, but is formed based on another two-dimensional code standard such as a data matrix code or maxi code. Also good. For example, as shown in FIG. 8, it is also possible to replace the additional code area 10b with an error correctable area in the data area 11 of the base code area 10a configured based on the data matrix code standard. The information code 1a can be formed.

(3)追加コード領域10bに記録される追加情報は、秘匿したい情報に限らず、単に公開不要な情報、例えば、管理用の管理番号等であってもよい。 (3) The additional information recorded in the additional code area 10b is not limited to information that is desired to be concealed, but may simply be information that does not need to be disclosed, for example, a management number for management.

1,1a…情報コード
10…コード領域
10a…ベースコード領域
10b…追加コード領域
11…データ領域
13a,13b…位置特定パターン
20…情報コード読取装置
28…受光センサ(撮像手段)
35…メモリ(記憶手段)
40…制御回路(判定手段,第1抽出手段,第2抽出手段,第1解読手段,第2解読手段)
DESCRIPTION OF SYMBOLS 1,1a ... Information code 10 ... Code area 10a ... Base code area 10b ... Additional code area 11 ... Data area 13a, 13b ... Position specific pattern 20 ... Information code reader 28 ... Light receiving sensor (imaging means)
35 ... Memory (storage means)
40... Control circuit (determination means, first extraction means, second extraction means, first decoding means, second decoding means)

Claims (7)

複数のセルがマトリックス状に配列されてコード領域が形成され、前記コード領域内に所定のデータおよび誤り訂正符号が記録されたデータ領域が設けられる情報コードであって、
前記所定のデータと異なる追加データを前記セルと同じ形状のセルを用いて記録した追加コード領域が、前記データ領域のうち前記誤り訂正符号を用いた誤り訂正により訂正可能な領域内に置換されて配置されることを特徴とする情報コード。
An information code in which a plurality of cells are arranged in a matrix to form a code area, and a data area in which predetermined data and an error correction code are recorded is provided in the code area,
An additional code area in which additional data different from the predetermined data is recorded using a cell having the same shape as the cell is replaced with an area that can be corrected by error correction using the error correction code in the data area. An information code characterized by being placed.
前記追加コード領域には、前記追加データに加えて当該追加データを誤り訂正するための誤り訂正符号が記録されることを特徴とする請求項1に記載の情報コード。   The information code according to claim 1, wherein an error correction code for correcting an error of the additional data is recorded in the additional code area in addition to the additional data. 前記追加コード領域は、前記コード領域に対して特定の位置に配置されることを特徴とする請求項1または2に記載の情報コード。   The information code according to claim 1, wherein the additional code area is arranged at a specific position with respect to the code area. 前記追加コード領域は、前記コード領域に対する位置を特定するための位置特定パターンを有するように形成されることを特徴とする請求項1または2に記載の情報コード。   The information code according to claim 1 or 2, wherein the additional code area is formed to have a position specifying pattern for specifying a position with respect to the code area. 請求項1〜4のいずれか一項に記載の情報コードを光学的に読み取る情報コード読取装置であって、
前記情報コードを撮像する撮像手段と、
前記撮像手段によって撮像された前記情報コードの画像から前記コード領域に相当するコード画像を抽出する第1抽出手段と、
前記第1抽出手段により抽出された前記コード画像に前記追加コード領域に相当する追加コード画像が含まれているか否かについて判定する判定手段と、
前記判定手段により前記追加コード画像が含まれていると判定された前記コード画像から前記追加コード画像を抽出する第2抽出手段と、
前記第1抽出手段により抽出された前記コード画像に基づくデコードを実施することで前記所定のデータを取得する第1解読手段と、
前記第2抽出手段により抽出された前記追加コード画像に基づくデコードを実施することで前記追加データを取得する第2解読手段と、
を備えることを特徴とする情報コード読取装置。
An information code reader for optically reading the information code according to any one of claims 1 to 4,
Imaging means for imaging the information code;
First extraction means for extracting a code image corresponding to the code area from an image of the information code imaged by the imaging means;
Determining means for determining whether or not an additional code image corresponding to the additional code area is included in the code image extracted by the first extracting means;
Second extraction means for extracting the additional code image from the code image determined by the determination means to include the additional code image;
First decoding means for obtaining the predetermined data by performing decoding based on the code image extracted by the first extraction means;
Second decoding means for obtaining the additional data by performing decoding based on the additional code image extracted by the second extraction means;
An information code reading device comprising:
請求項3に記載の情報コードを光学的に読み取る情報コード読取装置であって、
前記情報コードを撮像する撮像手段と、
前記データ領域に対する前記追加コード領域の位置を特定するための位置特定情報が予め記憶される記憶手段と、
前記撮像手段によって撮像された前記情報コードの画像から前記コード領域に相当するコード画像を抽出する第1抽出手段と、
前記記憶手段に記憶される前記位置特定情報に基づいて、前記第1抽出手段により抽出された前記コード画像に前記追加コード領域に相当する追加コード画像が含まれているか否かについて判定する判定手段と、
前記判定手段により前記追加コード画像が含まれていると判定された前記コード画像から前記追加コード画像を抽出する第2抽出手段と、
前記第1抽出手段により抽出された前記コード画像に基づくデコードを実施することで前記所定のデータを取得する第1解読手段と、
前記第2抽出手段により抽出された前記追加コード画像に基づくデコードを実施することで前記追加データを取得する第2解読手段と、
を備えることを特徴とする情報コード読取装置。
An information code reader for optically reading the information code according to claim 3,
Imaging means for imaging the information code;
Storage means for storing in advance position specifying information for specifying the position of the additional code area with respect to the data area;
First extraction means for extracting a code image corresponding to the code area from an image of the information code imaged by the imaging means;
Determination means for determining whether or not an additional code image corresponding to the additional code area is included in the code image extracted by the first extraction means based on the position specifying information stored in the storage means When,
Second extraction means for extracting the additional code image from the code image determined by the determination means to include the additional code image;
First decoding means for obtaining the predetermined data by performing decoding based on the code image extracted by the first extraction means;
Second decoding means for obtaining the additional data by performing decoding based on the additional code image extracted by the second extraction means;
An information code reading device comprising:
請求項4に記載の情報コードを光学的に読み取る情報コード読取装置であって、
前記情報コードを撮像する撮像手段と、
前記撮像手段によって撮像された前記情報コードの画像から前記コード領域に相当するコード画像を抽出する第1抽出手段と、
前記位置特定パターンの有無に基づいて、前記第1抽出手段により抽出された前記コード画像に前記追加コード領域に相当する追加コード画像が含まれているか否かについて判定する判定手段と、
前記判定手段により前記追加コード画像が含まれていると判定された前記コード画像から前記追加コード画像を前記位置特定パターンに基づいて抽出する第2抽出手段と、
前記第1抽出手段により抽出された前記コード画像に基づくデコードを実施することで前記所定のデータを取得する第1解読手段と、
前記第2抽出手段により抽出された前記追加コード画像に基づくデコードを実施することで前記追加データを取得する第2解読手段と、
を備えることを特徴とする情報コード読取装置。
An information code reader for optically reading the information code according to claim 4,
Imaging means for imaging the information code;
First extraction means for extracting a code image corresponding to the code area from an image of the information code imaged by the imaging means;
Determining means for determining whether or not an additional code image corresponding to the additional code area is included in the code image extracted by the first extracting means based on the presence or absence of the position specifying pattern;
Second extraction means for extracting the additional code image from the code image determined to be included by the determination means based on the position specifying pattern;
First decoding means for obtaining the predetermined data by performing decoding based on the code image extracted by the first extraction means;
Second decoding means for obtaining the additional data by performing decoding based on the additional code image extracted by the second extraction means;
An information code reading device comprising:
JP2013226198A 2013-10-31 2013-10-31 Information code and information code reader Active JP6171855B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013226198A JP6171855B2 (en) 2013-10-31 2013-10-31 Information code and information code reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013226198A JP6171855B2 (en) 2013-10-31 2013-10-31 Information code and information code reader

Publications (2)

Publication Number Publication Date
JP2015087972A true JP2015087972A (en) 2015-05-07
JP6171855B2 JP6171855B2 (en) 2017-08-02

Family

ID=53050697

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013226198A Active JP6171855B2 (en) 2013-10-31 2013-10-31 Information code and information code reader

Country Status (1)

Country Link
JP (1) JP6171855B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017120614A (en) * 2015-12-29 2017-07-06 中強光電股▲ふん▼有限公司 Electronic device, information transmission method, and information reading method
JP2018156386A (en) * 2017-03-17 2018-10-04 株式会社東芝 Medium and issuing machine

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008113390A (en) * 2006-10-31 2008-05-15 Fuji Xerox Co Ltd Image data generation device, update image data generation device, image data generation program, and update image data generation program
JP2009009547A (en) * 2007-05-29 2009-01-15 Denso Wave Inc Method of creating two-dimensional code and its reader
JP2009093443A (en) * 2007-10-10 2009-04-30 Denso Wave Inc Two-dimensional code and its scanning device
US20120286031A1 (en) * 2012-07-30 2012-11-15 Ariel Inventions, Llc Symbology for unified barcode

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008113390A (en) * 2006-10-31 2008-05-15 Fuji Xerox Co Ltd Image data generation device, update image data generation device, image data generation program, and update image data generation program
JP2009009547A (en) * 2007-05-29 2009-01-15 Denso Wave Inc Method of creating two-dimensional code and its reader
JP2009093443A (en) * 2007-10-10 2009-04-30 Denso Wave Inc Two-dimensional code and its scanning device
US20120286031A1 (en) * 2012-07-30 2012-11-15 Ariel Inventions, Llc Symbology for unified barcode

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017120614A (en) * 2015-12-29 2017-07-06 中強光電股▲ふん▼有限公司 Electronic device, information transmission method, and information reading method
JP2018156386A (en) * 2017-03-17 2018-10-04 株式会社東芝 Medium and issuing machine

Also Published As

Publication number Publication date
JP6171855B2 (en) 2017-08-02

Similar Documents

Publication Publication Date Title
US9934760B2 (en) Information code, information code producing method, information code reader, and system which uses information code
JP5023949B2 (en) Two-dimensional code and its reading device
JP5136302B2 (en) 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
WO2014098130A1 (en) Information code, information code generation method, information code reader device, and information code usage system
JP2004234318A (en) Two-dimension information code, and display method, generation method and reading method thereof
JP2002324222A (en) Information code label, and method for decoding information code, and system for the same
JP5229652B2 (en) 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
US9684810B2 (en) System and method for partite optically readable code
CN101086761A (en) Efficient information lattice image and its generation and decoding method
JP2006195912A (en) Authentication system
JP6171855B2 (en) Information code and information code reader
JP5904077B2 (en) Information code and information code reading system
JP2017126360A (en) Information code creation method, information code, information code reading device, and information code use system
JP6477050B2 (en) Information code reading system
JP2016130883A (en) Information code read system information code reader
JP5310502B2 (en) Two-dimensional code, two-dimensional code reader, and two-dimensional code generator
CN110197243A (en) Two dimensional code, two dimensional code output system and method, two dimensional code read system and method
JP7024665B2 (en) Information code, information code generation method, information code generator and information code reading system
JP5522104B2 (en) Information code reader
JP4241803B2 (en) Two-dimensional information code reading method and reading apparatus
JP6394717B2 (en) Information code generation method, information code, information code reader, and information code utilization system
JP5240124B2 (en) Optical information reader
JP6167956B2 (en) Information code generation method, information code, information code reader, and information code utilization system
JP2021064017A (en) Information code, information code reading system and information code generation method
JP2014002661A (en) Information code and information code reading device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160804

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170328

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170509

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170619

R150 Certificate of patent or registration of utility model

Ref document number: 6171855

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250