JP2018055237A - Information code generating method, information code, and information code using system - Google Patents

Information code generating method, information code, and information code using system Download PDF

Info

Publication number
JP2018055237A
JP2018055237A JP2016188093A JP2016188093A JP2018055237A JP 2018055237 A JP2018055237 A JP 2018055237A JP 2016188093 A JP2016188093 A JP 2016188093A JP 2016188093 A JP2016188093 A JP 2016188093A JP 2018055237 A JP2018055237 A JP 2018055237A
Authority
JP
Japan
Prior art keywords
information
code
area
arrangement
information code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2016188093A
Other languages
Japanese (ja)
Inventor
卓也 依田
Takuya Yoda
卓也 依田
哲也 小南
Tetsuya Kominami
哲也 小南
渡部 元秋
Motoaki Watabe
元秋 渡部
伊藤 邦彦
Kunihiko Ito
邦彦 伊藤
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 JP2016188093A priority Critical patent/JP2018055237A/en
Publication of JP2018055237A publication Critical patent/JP2018055237A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a structure capable of increasing the amount of information recordable as an information code even when a free area is provided in a code area.SOLUTION: A specific pattern area, a format information area, a recording area, and a free area 110 where at least a part of an outer edge is formed by an edge part of the recording area by arranging a plurality of code words consecutively based on predetermined arrangement information are provided inside a code area of an information code 100, wherein the arrangement information is recorded in the format information area.SELECTED DRAWING: Figure 3

Description

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

現在では、情報コードの用途が多様化しており、コード領域内に写真や図などを配置するような技術も提案されている。例えば、下記特許文献1に開示される情報コードでは、コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類のセルによってデータを記録するデータ記録領域と、複数種類のセルによって誤り訂正符号を記録する誤り訂正符号記録領域とが設けられている。更に、コード領域の内部において、特定パターン領域、データ記録領域、誤り訂正符号記録領域以外の位置に、セルによってデータが記録されない領域であり且つ誤り訂正符号による誤り訂正の対象にならない領域である空き領域が、単一のセルのサイズよりも大きいサイズで設けられている。このようにコード領域内に設けられる空き領域内に写真や図などを配置することで、情報コードの利便性を高めている。   At present, the use of information codes is diversified, and a technique for arranging photographs and drawings in the code area has also been proposed. For example, in the information code disclosed in Patent Document 1 below, a specific pattern area in which a specific pattern having a predetermined shape is arranged inside the code area, and a data recording area in which data is recorded by a plurality of types of cells; An error correction code recording area for recording an error correction code by a plurality of types of cells is provided. Furthermore, a space that is an area in which data is not recorded by cells and is not subject to error correction by an error correction code at a position other than the specific pattern area, data recording area, and error correction code recording area within the code area. The region is provided with a size larger than the size of a single cell. As described above, the convenience of the information code is improved by arranging a photograph or a figure in an empty area provided in the code area.

特開2014−139771号公報JP 2014-139771 A

ところで、上記特許文献1に開示される情報コードは、入力データ(解読対象データ)のデータコードワードの前にヘッダデータのコードワードを配置する必要がある。このヘッダデータには、その情報コードを解読する際に用いる配置変換表及び当該配置変換表によって対応付けられたコード種別を特定し得る情報や、空き領域内の形式を特定し得る識別情報が記録されている。このため、ヘッダデータを利用しない従来のQRコード(登録商標)等と比較して、ヘッダデータのコードワードを配置するためにデータコードワードとして利用できる範囲が狭くなり、情報コードとして記録可能な情報量が減ってしまうという問題がある。   By the way, in the information code disclosed in Patent Document 1, it is necessary to arrange the code word of the header data before the data code word of the input data (data to be decoded). In this header data, an arrangement conversion table used for decoding the information code, information that can specify the code type associated with the arrangement conversion table, and identification information that can specify the format in the empty area are recorded. Has been. For this reason, compared with a conventional QR code (registered trademark) or the like that does not use header data, the range that can be used as a data code word for arranging the code word of header data is narrowed, and information that can be recorded as an information code There is a problem that the amount is reduced.

本発明は、上述した課題を解決するためになされたものであり、その目的とするところは、コード領域内に空き領域を設ける場合でも情報コードとして記録可能な情報量を増やすことができる構成を提供することにある。   The present invention has been made in order to solve the above-described problems, and an object of the present invention is to increase the amount of information that can be recorded as an information code even when an empty area is provided in the code area. It is to provide.

上記目的を達成するため、特許請求の範囲の請求項1に記載の発明は、
所定のコード領域の内部に情報を表示する単位となるセル(102)を配列した情報コード(100)を情報コード生成装置(2)によって生成する情報コード生成方法であって、
前記コード領域の内部に、予め定められた形状の特定パターン(104,106)が配置される特定パターン領域と、複数種類の前記セルによって前記情報コードを解読するための情報を記録するフォーマット情報領域(105)と、複数種類の前記セルからなる複数のコードワードによってデータを記録する記録領域と、前記複数のコードワードが所定の配列情報に基づいて連続的に配列されることで前記記録領域の縁部によって少なくとも一部の外縁が形成される空き領域と、を設け、
前記フォーマット情報領域に前記配列情報を記録することを特徴とする。
In order to achieve the above object, the invention described in claim 1 of the scope of claims
An information code generation method for generating, by an information code generation device (2), an information code (100) in which cells (102) serving as units for displaying information are arranged inside a predetermined code area,
A specific pattern area in which a specific pattern (104, 106) having a predetermined shape is arranged inside the code area, and a format information area for recording information for decoding the information code by a plurality of types of cells (105), a recording area in which data is recorded by a plurality of codewords composed of a plurality of types of cells, and the plurality of codewords are continuously arranged on the basis of predetermined arrangement information. An empty area where at least a part of the outer edge is formed by the edge, and
The arrangement information is recorded in the format information area.

請求項5に記載の発明は、
所定のコード領域の内部に情報を表示する単位となるセル(102)を配列した情報コード(100)であって、
前記コード領域の内部に、予め定められた形状の特定パターン(104,106)が配置される特定パターン領域と、複数種類の前記セルによって当該情報コードを解読するための情報を記録するフォーマット情報領域(105)と、複数種類の前記セルからなる複数のコードワードによってデータを記録する記録領域と、前記複数のコードワードが所定の配列情報に基づいて連続的に配列されることで前記記録領域の縁部によって少なくとも一部の外縁が形成される空き領域と、が設けられ、
前記フォーマット情報領域に前記配列情報が記録されていることを特徴とする。
The invention described in claim 5
An information code (100) in which cells (102) serving as units for displaying information are arranged inside a predetermined code area,
A format information area in which a specific pattern area (104, 106) having a predetermined shape is arranged in the code area, and information for decoding the information code by a plurality of types of cells (105), a recording area in which data is recorded by a plurality of codewords composed of a plurality of types of cells, and the plurality of codewords are continuously arranged on the basis of predetermined arrangement information. An empty area in which at least a part of the outer edge is formed by the edge, and
The sequence information is recorded in the format information area.

請求項9に記載の発明は、
所定のコード領域の内部に情報を表示する単位となるセル(102)を配列した情報コード(100)を生成する情報コード生成装置(2)と、
前記情報コード生成装置によって生成された前記情報コードを読み取る情報コード読取装置(10)と、
を備えた情報コード利用システム(1)であって、
前記情報コード生成装置は、
前記コード領域の内部に、予め定められた形状の特定パターン(104,106)が配置される特定パターン領域と、複数種類の前記セルによって前記情報コードを解読するための情報を記録するフォーマット情報領域(105)と、複数種類の前記セルからなる複数のコードワードによってデータを記録する記録領域と、前記複数のコードワードが所定の配列情報に基づいて連続的に配列されることで前記記録領域の縁部によって少なくとも一部の外縁が形成される空き領域と、を設け、前記フォーマット情報領域に前記配列情報を記録した構成で前記情報コードを生成し、
前記情報コード読取装置は、
前記情報コード生成装置によって生成された前記情報コードを撮像可能な撮像部(23)を備え、
前記撮像部によって前記情報コードが撮像された場合に、前記フォーマット情報領域及び前記記録領域の内容に基づいて前記記録領域に記録された前記データを解読することを特徴とする。
なお、上記各括弧内の符号は、後述する実施形態に記載の具体的手段との対応関係を示すものである。
The invention according to claim 9 is:
An information code generation device (2) for generating an information code (100) in which cells (102) serving as units for displaying information are arranged inside a predetermined code area;
An information code reader (10) for reading the information code generated by the information code generator;
An information code utilization system (1) comprising:
The information code generation device includes:
A specific pattern area in which a specific pattern (104, 106) having a predetermined shape is arranged inside the code area, and a format information area for recording information for decoding the information code by a plurality of types of cells (105), a recording area in which data is recorded by a plurality of codewords composed of a plurality of types of cells, and the plurality of codewords are continuously arranged on the basis of predetermined arrangement information. An empty area in which at least a part of the outer edge is formed by the edge, and generating the information code in a configuration in which the array information is recorded in the format information area,
The information code reader is
An imaging unit (23) capable of imaging the information code generated by the information code generation device;
When the information code is imaged by the imaging unit, the data recorded in the recording area is decoded based on contents of the format information area and the recording area.
In addition, the code | symbol in each said parenthesis shows the correspondence with the specific means as described in embodiment mentioned later.

請求項1,5の発明では、コード領域の内部に、特定パターン領域、フォーマット情報領域及び記録領域と、複数のコードワードが所定の配列情報に基づいて連続的に配列されることで記録領域の縁部によって少なくとも一部の外縁が形成される空き領域と、が設けられ、フォーマット情報領域には上記配列情報が記録される。   In the first and fifth aspects of the invention, the specific pattern area, the format information area, the recording area, and a plurality of code words are continuously arranged in the code area based on the predetermined arrangement information. And an empty area in which at least a part of the outer edge is formed by the edge, and the arrangement information is recorded in the format information area.

空き領域は、複数のコードワードが所定の配列情報に基づいて連続的に配列されることで形成されるため、コード領域の内部における空き領域の位置や大きさとこの空き領域を設けるために必要なコードワードの配列との関係を、上記配列情報を利用して予め関連付けることができる。例えば、コード領域の右下隅を空き領域とする場合には、コード領域の右上隅から左上隅、左下隅、左上隅、右上隅となる配列順にてコードワードを往復するように配列し、空き領域の大きさに応じて配列数を調整することで、上記空き領域を形成することができる。配列情報は、上述したような配置変換表等と異なり、例えばコードワードの配列順など等、簡素な情報として構成でき必要な情報量が少なくなる。このように配列情報として必要な情報量が少なくなることから、当該配列情報を、記録可能な情報量が少ないフォーマット情報領域であっても記録でき、記録領域には上述したようなヘッダデータ等を記録する必要もない。したがって、コード領域内に空き領域を設ける場合でも情報コードとして記録可能な情報量を増やすことができる。   The empty area is formed by continuously arranging a plurality of codewords based on predetermined arrangement information. Therefore, the position and size of the empty area inside the code area and the empty area are necessary. The relationship with the sequence of codewords can be associated in advance using the sequence information. For example, if the lower right corner of the code area is an empty area, the code area is arranged so that the code word is reciprocated in the order of the upper right corner, the upper left corner, the lower left corner, the upper left corner, and the upper right corner of the code area. The empty area can be formed by adjusting the number of arrays according to the size of. Unlike the arrangement conversion table and the like described above, the arrangement information can be configured as simple information such as the arrangement order of codewords, and the amount of information required is reduced. Since the amount of information necessary for the array information is reduced in this way, the array information can be recorded even in a format information area with a small amount of information that can be recorded. There is no need to record. Therefore, even when an empty area is provided in the code area, the amount of information that can be recorded as an information code can be increased.

請求項2,6の発明では、配列情報は、コード領域における複数のコードワードの配列先端位置及び配列順序に関する情報からなる。配列先端位置と配列順序さえ決まればその配列情報に従って各コードワードを一義的に配列できるので、配列情報をより簡素化でき、記録可能な情報量が少ないフォーマット情報領域であっても容易に配列情報を記録することができる。   According to the second and sixth aspects of the invention, the arrangement information includes information relating to the arrangement tip positions and arrangement orders of a plurality of code words in the code area. Each code word can be uniquely arranged according to the arrangement information as long as the arrangement tip position and arrangement order are determined, so that the arrangement information can be simplified and even in a format information area with a small amount of information that can be recorded. Can be recorded.

請求項3,7の発明では、配列情報は、コード領域における複数のコードワードの配列先端位置、配列順序及び配列数に関する情報からなる。配列先端位置と配列順序さえ決まればその配列情報に従って各コードワードを一義的に配列できるので、配列情報をより簡素化でき、記録可能な情報量が少ないフォーマット情報領域であっても容易に配列情報を記録することができる。特に、配列数に応じて配列終端位置が決まるため、その配列終端位置に合わせて埋め草コードワードを設けることで、データの記録量に関わらず空き領域を配列数に応じた形状とすることができる。すなわち、所望の空き領域の形状に応じた配列数を設定することで、データの記録量に関わらず所望の形状の空き領域を形成することができる。   According to the third and seventh aspects of the present invention, the arrangement information includes information relating to the arrangement tip position, arrangement order, and arrangement number of a plurality of code words in the code area. Each code word can be uniquely arranged according to the arrangement information as long as the arrangement tip position and arrangement order are determined, so that the arrangement information can be simplified and even in a format information area with a small amount of information that can be recorded. Can be recorded. In particular, since the end position of the array is determined according to the number of arrays, by providing a padding code word in accordance with the end position of the array, it is possible to form a free space according to the number of arrays regardless of the data recording amount. it can. That is, by setting the number of arrays according to the shape of the desired empty area, it is possible to form an empty area having a desired shape regardless of the data recording amount.

請求項4,8の発明では、配列順序は、矩形状のコード領域の外縁を構成する四辺のうち少なくとも連続する二辺に沿うように設定される。このため、連続する二辺に沿いL字状に往復するようにコードワードを配列した空き領域や、連続する三辺に沿いU字状に往復するようにコードワードを配列した空き領域、四辺に沿い四角環状に周回するようにコードワードを配列した空き領域を形成することができる。   In the fourth and eighth aspects of the invention, the arrangement order is set so as to extend along at least two consecutive sides of the four sides constituting the outer edge of the rectangular code region. For this reason, an empty area in which code words are arranged so as to reciprocate in an L shape along two continuous sides, an empty area in which code words are arranged so as to reciprocate in a U shape along three consecutive sides, It is possible to form a vacant area in which code words are arranged so as to circulate along a rectangular ring along the side.

請求項9の発明では、コード領域の内部に、特定パターン領域、フォーマット情報領域及び記録領域と、複数のコードワードが所定の配列情報に基づいて連続的に配列されることで記録領域の縁部によって少なくとも一部の外縁が形成される空き領域と、が設けられ、フォーマット情報領域には上記配列情報が記録されるような情報コードを、生成可能な生成装置や読取可能な読取装置を有するシステムを実現できる。   In the invention of claim 9, a specific pattern area, a format information area, a recording area, and a plurality of codewords are continuously arranged in the code area based on predetermined arrangement information, so that the edge of the recording area And a free area in which at least a part of the outer edge is formed, and a system having a generating device and a readable reading device capable of generating an information code in which the arrangement information is recorded in the format information area Can be realized.

請求項10の発明では、情報コードの配列情報は、コード領域における複数のコードワードの配列先端位置及び配列順序に関する情報からなる。配列先端位置と配列順序さえ決まればその配列情報に従って各コードワードを一義的に配列できるので、配列情報をより簡素化でき、記録可能な情報量が少ないフォーマット情報領域であっても容易に配列情報を記録することができる。   According to the tenth aspect of the present invention, the arrangement information of the information code includes information related to the arrangement tip position and arrangement order of a plurality of code words in the code area. Each code word can be uniquely arranged according to the arrangement information as long as the arrangement tip position and arrangement order are determined, so that the arrangement information can be simplified and even in a format information area with a small amount of information that can be recorded. Can be recorded.

請求項11の発明では、情報コードの配列情報は、コード領域における複数のコードワードの配列先端位置、配列順序及び配列数に関する情報からなる。配列先端位置と配列順序さえ決まればその配列情報に従って各コードワードを一義的に配列できるので、配列情報をより簡素化でき、記録可能な情報量が少ないフォーマット情報領域であっても容易に配列情報を記録することができる。特に、配列数に応じて配列終端位置が決まるため、その配列終端位置に合わせて埋め草コードワードを設けることで、データの記録量に関わらず空き領域を配列数に応じた形状とすることができる。すなわち、所望の空き領域の形状に応じた配列数を設定することで、データの記録量に関わらず所望の形状の空き領域を形成することができる。   In the eleventh aspect of the invention, the information code arrangement information includes information relating to the arrangement tip position, arrangement order, and arrangement number of a plurality of code words in the code area. Each code word can be uniquely arranged according to the arrangement information as long as the arrangement tip position and arrangement order are determined, so that the arrangement information can be simplified and even in a format information area with a small amount of information that can be recorded. Can be recorded. In particular, since the end position of the array is determined according to the number of arrays, by providing a padding code word in accordance with the end position of the array, it is possible to form a free space according to the number of arrays regardless of the data recording amount. it can. That is, by setting the number of arrays according to the shape of the desired empty area, it is possible to form an empty area having a desired shape regardless of the data recording amount.

請求項12の発明では、配列順序は、矩形状のコード領域の外縁を構成する四辺のうち少なくとも連続する二辺に沿うように設定される。このため、連続する二辺に沿いL字状に往復するようにコードワードを配列した空き領域や、連続する三辺に沿いU字状に往復するようにコードワードを配列した空き領域、四辺に沿い四角環状に周回するようにコードワードを配列した空き領域を形成することができる。   In the twelfth aspect of the invention, the arrangement order is set so as to extend along at least two consecutive sides of the four sides constituting the outer edge of the rectangular code region. For this reason, an empty area in which code words are arranged so as to reciprocate in an L shape along two continuous sides, an empty area in which code words are arranged so as to reciprocate in a U shape along three consecutive sides, It is possible to form a vacant area in which code words are arranged so as to circulate along a rectangular ring along the side.

本発明の第1実施形態に係る情報コード利用システムを概略的に例示する概略図である。It is the schematic which illustrates schematically the information code utilization system which concerns on 1st Embodiment of this invention. 図1の情報コード利用システムを構成する情報コード読取装置の電気的構成を概略的に例示するブロック図である。FIG. 2 is a block diagram schematically illustrating an electrical configuration of an information code reader that constitutes the information code utilization system of FIG. 1. コードワードを四角環状に配列して生成した情報コードを説明する説明図である。It is explanatory drawing explaining the information code produced | generated by arranging a code word in square ring shape. コードワードをU字状に配列して生成した情報コードを説明する説明図である。It is explanatory drawing explaining the information code produced | generated by arranging a code word in U shape. コードワードをL字状に配列して生成した情報コードを説明する説明図である。It is explanatory drawing explaining the information code produced | generated by arranging a code word in L shape. 図1の情報コード利用システムを構成する情報コード生成装置での情報コードの生成の流れを例示するフローチャートである。It is a flowchart which illustrates the flow of the production | generation of the information code in the information code production | generation apparatus which comprises the information code utilization system of FIG. 図1の情報コード利用システムを構成する情報コード読取装置での情報コードの読み取りの流れを例示するフローチャートである。It is a flowchart which illustrates the flow of the reading of the information code in the information code reading apparatus which comprises the information code utilization system of FIG. 第2実施形態に係る情報コードの要部を説明する説明図である。It is explanatory drawing explaining the principal part of the information code which concerns on 2nd Embodiment. 第2実施形態の変形例に係る情報コードの要部を説明する説明図である。It is explanatory drawing explaining the principal part of the information code which concerns on the modification of 2nd Embodiment.

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

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

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

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

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

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

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

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

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

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

制御回路40は、情報コード読取装置10全体を制御可能なマイコンで、CPU、システムバス、入出力インタフェース等からなるものであり、情報処理機能を有している。この制御回路40には、内蔵された入出力インタフェースを介して種々の入出力装置(周辺装置)が接続されており、本実施形態の場合、電源スイッチ41、操作スイッチ42、LED43、ブザー44、液晶表示装置46、通信インタフェース48等が接続されている。また、通信インタフェース48には、情報コード読取装置10の上位システムに相当するホストコンピュータHSTなどを接続できるようになっている。   The control circuit 40 is a microcomputer capable of controlling the entire information code reader 10, and includes a CPU, a system bus, an input / output interface, and the like, and has an information processing function. Various input / output devices (peripheral devices) are connected to the control circuit 40 via a built-in input / output interface. In this embodiment, a power switch 41, an operation switch 42, an LED 43, a buzzer 44, A liquid crystal display device 46, a communication interface 48, and the like are connected. In addition, a host computer HST corresponding to the host system of the information code reader 10 can be connected to the communication interface 48.

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

(情報コード)
次に、図1の情報コード利用システムで利用される情報コード100について図3〜図5を参照して説明する。図3〜図5に示す情報コード100は、例えば上述の情報コード生成装置2によって生成されるものであり、所定のコード領域の内部に情報を表示する単位となるセル102を配列した構成となっている。なお、図3等の情報コード100において、「コード領域」は、複数配列された暗色セルを全て含み得る矩形状の領域であり、具体的には、3つの位置検出パターン(切り出しシンボル)104を全て含む最小の正方形又は長方形領域となっている。なお、図3等の例では、複数のセル102が、矩形状(例えば外径が正方形状)の明色(白色)セル及び暗色(黒色)セルのいずれかによって構成されており、コード領域の内部において後述する空き領域110の周囲にこれらセル102がマトリックス状に配置されている。また、情報コード100において上記コード領域の周囲には、当該コード領域を取り囲むように明色又は暗色のマージン領域が構成されるようになっており、図3等の例では、明色のマージン領域がコード領域の周囲に隣接して配置されている。
(Information code)
Next, the information code 100 used in the information code using system of FIG. 1 will be described with reference to FIGS. The information code 100 shown in FIGS. 3 to 5 is generated by, for example, the information code generation device 2 described above, and has a configuration in which cells 102 serving as units for displaying information are arranged inside a predetermined code area. ing. In the information code 100 shown in FIG. 3 and the like, the “code area” is a rectangular area that can include all of the plurality of dark cells arranged. Specifically, three position detection patterns (cutout symbols) 104 are included. It is the smallest square or rectangular area that contains everything. In the example of FIG. 3 and the like, the plurality of cells 102 are configured by either rectangular (for example, square outer diameter) light (white) cells or dark (black) cells. The cells 102 are arranged in a matrix around an empty area 110 to be described later. In the information code 100, a light or dark margin area is formed around the code area so as to surround the code area. In the example of FIG. Are arranged adjacent to the periphery of the code area.

この情報コード100は、矩形状(例えば、正方形状或いは長方形状等)のコード領域の内部に、予め定められた形状の特定パターン(具体的には、単一のセルよりも広い領域の固定図形)が配置される特定パターン領域と、複数種類のセル102によって情報コードを解読するための情報(フォーマット情報)を記録するフォーマット情報領域と、複数種類のセル102からなる複数のコードワード(データコードワード)によってデータを記録するデータ記録領域と、複数種類のセル102からなる複数のコードワード(誤り訂正コードワード)によって誤り訂正符号を記録する誤り訂正符号記録領域と、が設けられている。なお、データ記録領域及び誤り訂正符号記録領域からなる領域を「記録領域」ともいう。   This information code 100 is a fixed pattern having a predetermined shape (specifically, a fixed figure wider than a single cell) inside a rectangular (for example, square or rectangular) code area. ) Are arranged, a format information area for recording information (format information) for decoding an information code by a plurality of types of cells 102, and a plurality of code words (data codes) consisting of a plurality of types of cells 102 A data recording area in which data is recorded by a word) and an error correction code recording area in which an error correction code is recorded by a plurality of code words (error correction code words) composed of a plurality of types of cells 102 are provided. An area composed of a data recording area and an error correction code recording area is also referred to as a “recording area”.

図3等のように、情報コード100の特定パターンは、例えば、QRコードの公知の所定型番(JIS等で規格化されたQRコードの所定型番)の特定パターンと同一の形状及び位置となっており、図3等の例では、コード領域の3つの角部にそれぞれ、特定パターンとしての位置検出パターン(切り出しシンボル)104が配置されている。また、上記所定型番において予め定められた位置に、特定パターンとしてのタイミングパターン106やアライメントパターン(図示略)も設けられている。なお、タイミングパターン106やアライメントパターンが設けられていなくてもよい。   As shown in FIG. 3 and the like, the specific pattern of the information code 100 has, for example, the same shape and position as the specific pattern of a known predetermined model number of a QR code (a predetermined model number of a QR code standardized by JIS or the like). In the example of FIG. 3 and the like, a position detection pattern (cutout symbol) 104 as a specific pattern is arranged at each of the three corners of the code area. Further, a timing pattern 106 and an alignment pattern (not shown) as specific patterns are also provided at predetermined positions in the predetermined model number. Note that the timing pattern 106 and the alignment pattern may not be provided.

また、フォーマット情報領域は、コード領域内の所定位置105(所定種類のハッチング位置:以下、フォーマット情報領域105ともいう)に設けられており、このフォーマット情報領域には、情報コード100を解読するための情報としてフォーマット情報(形式情報)が特定のフォーマット構成で記録されている。フォーマット情報は、コード領域における複数のコードワードの配列に関する情報である配列情報と、誤り訂正レベルを特定する訂正レベル情報と、マスク番号を特定するマスク番号情報とを含んでいる。   The format information area is provided at a predetermined position 105 (predetermined hatching position: hereinafter also referred to as format information area 105) in the code area. In this format information area, the information code 100 is decoded. As format information, format information (format information) is recorded in a specific format configuration. The format information includes arrangement information that is information relating to the arrangement of a plurality of code words in the code area, correction level information that specifies an error correction level, and mask number information that specifies a mask number.

配列情報は、各コードワードの配列方法を規定するための情報であって、本実施形態では、各コードワードを配列する際の先端の位置に相当する配列先端位置とこの配列先端位置を起点とする配列順序とに関する情報からなる。この配列情報に基づいて後述するように各コードワードをコード領域内に連続的に配列することで、各コードワードと異なる領域にてコード領域内に空き領域110が設けられる。この配列情報の詳細については後述する。   The sequence information is information for defining a method of arranging each code word, and in this embodiment, the sequence tip position corresponding to the tip position when arranging each code word and the sequence tip position as a starting point. It consists of information about the order of arrangement. As described later, based on this arrangement information, each code word is continuously arranged in the code area, so that an empty area 110 is provided in the code area in an area different from each code word. Details of the arrangement information will be described later.

訂正レベル情報は、情報コード100で用いる誤り訂正レベルを特定する情報であり、QRコードで用いる誤り訂正レベルに相当する。また、マスク番号情報は、情報コード100の記録領域(データ記録領域及び誤り訂正符号記録領域)にかけられているマスクがどのマスク種別であるかを特定する情報である。なお、このような訂正レベル情報やマスク番号は、QRコードの方式と同様の方式で設定してもよく、誤り訂正レベルやマスク種別が特定できる方式であれば他の方式で設定してもよい。情報コード100のコードワード領域では、上記マスク番号で特定されるマスクを公知のマスク方法でかけている。   The correction level information is information for specifying the error correction level used in the information code 100, and corresponds to the error correction level used in the QR code. Further, the mask number information is information for specifying which mask type the mask applied to the recording area (data recording area and error correction code recording area) of the information code 100 is. Such correction level information and mask number may be set by a method similar to the QR code method, or may be set by another method as long as the error correction level and mask type can be specified. . In the code word area of the information code 100, a mask specified by the mask number is applied by a known mask method.

フォーマット情報は、所定種類のマスクパターン(特定マスク)を反映した状態(フォーマット情報を示すデータを表す明暗配列に対し、所定種類のマスクパターンを公知のマスク方法でかけた状態)で記録されており、公知のQRコードと同様の方法でフォーマット情報のマスク種別を識別することで、特定のコード種別(空き領域110を設けた種別)であることを検出できるようになっている。図3等に示す本実施形態の情報コード100(空き領域110を有する特別種類のコード)では、公知規格のQRコードとは異なる種類の特定マスクをかけたときに表現されるデータ(セル配列)を所定位置105に記録するようになっている。そして、公知規格のQRコード及び本実施形態の情報コード100の種別のいずれの場合でも、記録する訂正レベル(訂正レベル情報)及びマスク番号に対応するチェックデジットが付された上でフォーマット情報が構成されており、その上で各種別用のマスクがかけられるようになっている。具体的には、各種別用のマスクパターンを用いて公知の方法でマスク処理が行われ、マスク処理後のビットパターンに対応する明色セル及び暗色セルの配列が所定位置105に記録されるようになっている。従って、情報コード100のようにフォーマット情報に対して特定マスクをかけた上で所定位置105に記録する場合、このように所定位置105に記録された情報を上記特定マスクに基づいてマスク処理を解除して解読すればチェックデジットが合うため、情報コード100の種別であること特定することができる。逆に、情報コード100の所定位置105のデータを、公知規格のQRコードのマスクに基づいてマスクを外しても、チェックデジットが合わなくなるため、公知規格のQRコードでないことを特定することができる。   The format information is recorded in a state reflecting a predetermined type of mask pattern (specific mask) (a state in which a predetermined type of mask pattern is applied to a light and dark array representing data indicating format information by a known mask method), By identifying the mask type of the format information in the same manner as a known QR code, it is possible to detect that it is a specific code type (a type provided with a free area 110). In the information code 100 (special type code having the empty area 110) of this embodiment shown in FIG. 3 and the like, data (cell array) expressed when a specific mask of a type different from the QR code of the known standard is applied. Is recorded at a predetermined position 105. In both cases of the QR code of the known standard and the type of the information code 100 of the present embodiment, the format information is configured with a correction digit (correction level information) to be recorded and a check digit corresponding to the mask number. On top of that, various different masks can be put on. Specifically, mask processing is performed by a known method using various types of mask patterns, and the array of bright cells and dark cells corresponding to the bit pattern after mask processing is recorded at a predetermined position 105. It has become. Therefore, when a specific mask is applied to the format information as in the information code 100 and the information is recorded at the predetermined position 105, the information recorded at the predetermined position 105 is canceled based on the specific mask. If it is decoded, the check digit matches, so that it can be identified as the type of the information code 100. On the contrary, even if the data at the predetermined position 105 of the information code 100 is removed based on the mask of the QR code of the known standard, the check digit does not match, so it can be specified that the data is not the QR code of the known standard. .

このように、情報コード100では、コード領域内の予め定められた位置に、決まった形状の特定パターン(位置検出パターン104、タイミングパターン106、アライメントパターン)と、フォーマット情報に対応するパターン(所定位置105参照)とが配置されるようになっている。なお、コード領域の内部において、後述する空き領域110以外の位置は、このような特定パターン領域及びフォーマット情報領域や記録領域(データ記録領域及び誤り訂正符号記録領域)などによって構成されている。   As described above, in the information code 100, a specific pattern (position detection pattern 104, timing pattern 106, alignment pattern) having a predetermined shape and a pattern (predetermined position) corresponding to the format information at a predetermined position in the code area. 105) is arranged. In the code area, positions other than the empty area 110 to be described later are configured by such a specific pattern area, format information area, recording area (data recording area and error correction code recording area), and the like.

情報コード100のセルの行数及び列数、特定パターンの形状及び位置、フォーマット情報の位置等は情報コード読取装置10がどのような方法で把握してもよい。例えば、情報コード100の種別において複数の型番が設けられていてもよく、この場合、型番毎にセルの行数及び列数、特定パターンの形状及び位置、フォーマット情報の位置等が予め定められていればよい。そして、型番情報がコード領域内の決められた位置(予約領域)に配置されていれば、情報コード読取装置10はこの型番情報の位置を既知の位置として把握しておき、この型番情報に基づいて情報コード100のセルの行数及び列数、特定パターンの形状及び位置、フォーマット情報の位置等を把握できるようになる。なお、この方法に限定されるものではなく、情報コード読取装置10が把握し得る方法であれば他の方法でもよい。   The information code reading device 10 may grasp the number of rows and columns of the information code 100, the shape and position of the specific pattern, the position of the format information, and the like. For example, a plurality of model numbers may be provided in the type of the information code 100. In this case, the number of rows and columns of cells, the shape and position of a specific pattern, the position of format information, etc. are predetermined for each model number. Just do it. If the model number information is arranged at a predetermined position (reserved area) in the code area, the information code reader 10 grasps the position of the model number information as a known position, and based on the model number information. Thus, the number of rows and columns of cells of the information code 100, the shape and position of a specific pattern, the position of format information, and the like can be grasped. Note that the method is not limited to this method, and any other method may be used as long as the information code reader 10 can grasp the information.

記録領域は、フォーマット情報の配列情報に応じて、データ記録領域の後にデータの終端を示すターミネータを配置し、このターミネータの後に誤り訂正符号記録領域が続くように配列される。そして、データ記録領域には、入力データ(解読対象データ)を例えば公知の方法で圧縮して変換したデータコードワードが配置され、このデータ記録領域に続く誤り訂正符号記録領域には、誤り訂正符号としてデータコードワードに基づいて生成された誤り訂正コードワード(ECCワード)が配置される。ターミネータは、予め決められた1つのコードワードにより構成される。なお、データコードワードに基づいて誤り訂正コードワードを生成する方法は、公知の二次元コード(QRコード等)の規格で定められた方法などを用いることができる。例えば、データコードワードに基づいて誤り訂正コードワードを生成する方法として、JISX0510:2004に規定された誤り訂正コード語の生成方法(JISX0510:2004、8.5誤り訂正)などを用いることができる。なお、誤り訂正コードワードの生成方法はこれに限られず、公知の様々な方法を用いることができる。   The recording area is arranged such that a terminator indicating the end of data is arranged after the data recording area in accordance with the arrangement information of the format information, and the error correction code recording area follows this terminator. In the data recording area, a data code word obtained by compressing and converting the input data (data to be decoded) by, for example, a known method is arranged, and an error correction code is recorded in the error correction code recording area following the data recording area. An error correction code word (ECC word) generated based on the data code word is arranged. The terminator is composed of one predetermined code word. As a method of generating an error correction code word based on the data code word, a method defined by a known two-dimensional code (QR code or the like) standard can be used. For example, as a method for generating an error correction codeword based on a data codeword, an error correction codeword generation method (JISX0510: 2004, 8.5 error correction) defined in JISX0510: 2004 can be used. Note that the method of generating the error correction codeword is not limited to this, and various known methods can be used.

そして、コード領域の内部において、特定パターン領域、フォーマット情報領域、データ記録領域、誤り訂正符号記録領域以外の位置には、セルによって解読対象データ(読取結果として出力対象となるデータ)が記録されない領域(具体的には、セル102によってデータが記録されない領域であり且つ誤り訂正符号による誤り訂正の対象にならない領域)である空き領域110が、単一のセル102のサイズよりも大きいサイズで設けられている。この空き領域110は、セルによってデータ記録領域や誤り訂正符号記録領域を記録する方法とは異なる方法でのデータの記録、或いはデザインの表示が可能となっている。   In the code area, an area in which decoding target data (data to be output as a read result) is not recorded by the cell at positions other than the specific pattern area, format information area, data recording area, and error correction code recording area More specifically, the empty area 110, which is an area in which no data is recorded by the cell 102 and is not subject to error correction by the error correction code, is provided in a size larger than the size of the single cell 102. ing. The empty area 110 can record data or display a design by a method different from the method of recording the data recording area and the error correction code recording area by cell.

空き領域110は、配列情報の配列先端位置及び配列順序(より具体的には配列先端位置を起点とする配列方向)に基づいて複数のコードワードが連続的に配列されることで形成される。このため、コード領域の内部における空き領域110の位置や大きさとこの空き領域110を設けるために必要なコードワードの配列との関係を、上述のように簡素に構成される配列情報を利用して予め関連付けることができる。すなわち、例えば、空き領域110をコード領域の中央部に設けるための配列先端位置及び配列順序を1種類に限定することができる。そして、空き領域110は、コードワードの量(コードワードの配列数)に応じてコード領域内における大きさが決まり、コードワードの量が多くなるほどコード領域内における大きさが小さくなる。   The empty area 110 is formed by continuously arranging a plurality of code words based on the arrangement tip position and arrangement order of the arrangement information (more specifically, the arrangement direction starting from the arrangement tip position). For this reason, the relationship between the position and size of the empty area 110 in the code area and the arrangement of the code words necessary for providing the empty area 110 is obtained using the arrangement information simply configured as described above. It can be associated in advance. That is, for example, the arrangement tip position and arrangement order for providing the empty area 110 in the center of the code area can be limited to one type. The size of the empty area 110 in the code area is determined according to the amount of codewords (the number of codewords arranged), and the size in the code area decreases as the amount of codewords increases.

図3に示す情報コード100の例では、データコードワード及び誤り訂正コードワード(コードワード)が、フォーマット情報に含まれる配列情報に基づいて、コード領域の外縁を構成する四辺に沿い四角環状(略O字状)に周回するように配列されている。この配列情報は、コード領域の右下隅が各コードワードの配列先端位置であり、図3の記録領域(データ記録領域及び誤り訂正符号記録領域)における一点鎖線枠内の数字の並びが配列順序となるように設定されている。このような配列情報に基づいて配列される記録領域の縁部によって外縁(周縁)が形成されるように、空き領域110がコード領域の中央部に設けられる。なお、図3は、コードワード数が27の場合の例であり、例えば、コードワード数が25であれば、図3における一点鎖線枠内の25番目のコードワードまで記録領域が設けられ、コードワード数が27を超えれば、先に配置したコードワードの内側に沿いさらに記録領域が延伸するように設けられる。   In the example of the information code 100 shown in FIG. 3, a data code word and an error correction code word (code word) are formed in a quadrangular ring (substantially omitted) along the four sides constituting the outer edge of the code area based on the arrangement information included in the format information. O-shaped). In this arrangement information, the lower right corner of the code area is the arrangement tip position of each code word, and the arrangement of numbers in the one-dot chain line frame in the recording area (data recording area and error correction code recording area) in FIG. It is set to be. The empty area 110 is provided in the center of the code area so that the outer edge (periphery) is formed by the edge of the recording area arranged based on such arrangement information. FIG. 3 shows an example in which the number of code words is 27. For example, if the number of code words is 25, a recording area is provided up to the 25th code word in the dashed-dotted line frame in FIG. If the number of words exceeds 27, the recording area is further extended along the inner side of the previously arranged code word.

また、図4に示す情報コード100の例では、データコードワード及び誤り訂正コードワードが、フォーマット情報に含まれる配列情報に基づいて、コード領域の外縁を構成する四辺のうち連続する三辺に沿い略U字状に往復するように配列されている。この配列情報は、コード領域の右下隅が各コードワードの配列先端位置であり、図4の記録領域における一点鎖線枠内の数字の並びが配列順序となるように設定されている。このような配列情報に基づいて配列される記録領域の縁部によって外縁の一部として上縁及び左右両縁が形成されるように、空き領域110がコード領域の中央下部に設けられる。なお、図4は、コードワード数が21の場合の例であり、例えば、コードワード数が18であれば、図4における一点鎖線枠内の18番目のコードワードまで記録領域が設けられ、コードワード数が21を超えれば、先に配置したコードワードの内側に沿いさらに記録領域が延伸するように設けられる。   In the example of the information code 100 shown in FIG. 4, the data code word and the error correction code word are along three consecutive sides of the four sides constituting the outer edge of the code area based on the arrangement information included in the format information. They are arranged to reciprocate in a substantially U shape. The arrangement information is set so that the lower right corner of the code area is the arrangement tip position of each code word, and the arrangement of numbers in the one-dot chain line frame in the recording area of FIG. 4 is the arrangement order. The empty area 110 is provided in the lower center of the code area so that the upper edge and the left and right edges are formed as part of the outer edge by the edge of the recording area arranged based on such arrangement information. FIG. 4 shows an example in which the number of code words is 21. For example, if the number of code words is 18, a recording area is provided up to the 18th code word in the dashed-dotted line frame in FIG. If the number of words exceeds 21, the recording area is further extended along the inner side of the previously arranged code word.

また、図5に示す情報コード100の例では、データコードワード及び誤り訂正コードワードが、フォーマット情報に含まれる配列情報に基づいて、コード領域の外縁を構成する四辺のうち連続する二辺に沿い略L字状に往復するように配列されている。この配列情報は、コード領域の右上隅が各コードワードの配列先端位置であり、図5の記録領域における一点鎖線枠内の数字の並びが配列順序となるように設定されている。このような配列情報に基づいて配列される記録領域の縁部によって外縁の一部として上縁及び左縁が形成されるように、空き領域110がコード領域の右下隅に設けられる。なお、図5は、コードワード数が17の場合の例であり、例えば、コードワード数が15であれば、図5における一点鎖線枠内の15番目のコードワードまで記録領域が設けられ、コードワード数が17を超えれば、先に配置したコードワードの内側に沿いさらに記録領域が延伸するように設けられる。   In the example of the information code 100 shown in FIG. 5, the data code word and the error correction code word are along two consecutive sides of the four sides constituting the outer edge of the code area based on the arrangement information included in the format information. They are arranged to reciprocate in a substantially L shape. The arrangement information is set so that the upper right corner of the code area is the arrangement tip position of each code word, and the arrangement of numbers in the one-dot chain line frame in the recording area of FIG. 5 is the arrangement order. The empty area 110 is provided in the lower right corner of the code area so that the upper edge and the left edge are formed as part of the outer edge by the edge of the recording area arranged based on such arrangement information. FIG. 5 shows an example in which the number of code words is 17. For example, if the number of code words is 15, a recording area is provided up to the 15th code word in the one-dot chain line in FIG. If the number of words exceeds 17, the recording area is further extended along the inner side of the previously arranged code word.

なお、図3等では、空き領域110の周囲に配置される各コードワードの領域を一点鎖線枠等によって概念的に示し、フォーマット情報領域やデータ記録領域では、升目のみを示し、セルの具体的配列を省略して示している。また、図3等では、セル配列と対応付けるべく空き領域110の内部に升目を付しているが、空き領域110の構成は自由であり、図1のように絵柄を付してもよく、記号や模様を付してもよく、或いは空白としてもよい。   In FIG. 3 and the like, each code word area arranged around the empty area 110 is conceptually shown by a one-dot chain line frame or the like. In the format information area and the data recording area, only the cells are shown, and the specific cell The arrangement is omitted. Further, in FIG. 3 and the like, a grid is added to the inside of the empty area 110 so as to be associated with the cell arrangement, but the configuration of the empty area 110 is free, and a pattern may be added as shown in FIG. A pattern may be added, or it may be blank.

このように生成される情報コード100では、特定パターン(位置検出パターン104等)を検出し、公知のQRコードと同様の方法でコード領域、コードの向き、各セル位置を特定した後、公知のQRコードと同様の方法でフォーマット情報が記録された所定位置105を解読することで、解読時に成功したマスクの種別により情報コード100の種別(空き領域110を有する特別種類)であることを特定することができる。そして、解読されたフォーマット情報の配列情報に基づいて、データコードワード及び誤り訂正コードワードの配列状態を特定できるようになっている。また、解読されたフォーマット情報により、情報コード100で用いる誤り訂正レベルを特定でき、且つ情報コード100の記録領域(データ記録領域及び誤り訂正符号記録領域)にかけられているマスク種別を特定できるようになっている。なお、所定位置105は、情報コード読取装置10が予め把握しておけばよい。   In the information code 100 generated in this way, a specific pattern (position detection pattern 104 or the like) is detected, a code area, a code direction, and each cell position are specified in the same manner as a known QR code, By decoding the predetermined position 105 where the format information is recorded in the same manner as the QR code, it is specified that the type of the information code 100 (special type having a free area 110) is determined by the type of mask that has been successfully decoded. be able to. The arrangement state of the data code word and the error correction code word can be specified based on the decoded arrangement information of the format information. Further, the error correction level used in the information code 100 can be specified by the decoded format information, and the mask type applied to the recording area (data recording area and error correction code recording area) of the information code 100 can be specified. It has become. Note that the predetermined position 105 may be grasped in advance by the information code reader 10.

(情報コードの生成処理)
次に、図6等を参照して情報コード生成処理及び情報コード生成方法について説明する。なお、この例では、空き領域110を有する情報コード100を「フレームQR」とも称する。
(Information code generation process)
Next, an information code generation process and an information code generation method will be described with reference to FIG. In this example, the information code 100 having the free area 110 is also referred to as “frame QR”.

図6の情報コード生成処理は、情報コード生成装置2の制御部3によって行われる処理であり、例えば、操作部4での所定操作によって実行開始される。この処理では、まず、外部からコード化する入力データ(解読対象データ)と、属性データと、コード種別データ(情報コード100を生成するか、一般的な二次元コード(例えば一般的なQRコード)を生成するかを特定するデータ)を取得する(S1)。また、S1では、情報コード100を生成する場合には、空き領域110の位置や大きさ等を選択するための空き領域選択情報を取得する。   The information code generation process of FIG. 6 is a process performed by the control unit 3 of the information code generation device 2 and is started by a predetermined operation on the operation unit 4, for example. In this process, first, input data (data to be decoded) to be coded from the outside, attribute data, code type data (information code 100 is generated, or a general two-dimensional code (for example, a general QR code)) (Data specifying whether or not to generate) (S1). In S1, when the information code 100 is generated, free area selection information for selecting the position, size, etc. of the free area 110 is acquired.

上述したように空き領域110のコード領域内における位置と配列先端位置及び配列順序とが1対1で対応付けられるため、取得した空き領域選択情報に応じて配列情報(配列先端位置及び配列順序)を設定する(S2)。ここで、空き領域選択情報は、例えば、図3〜図5のような3種類の空き領域110の位置と、大・中・小の3種類の空き領域110の大きさとを選択可能な情報として選択可能な種別を限定することで、空き領域110の位置や大きさ等を任意に選択する場合と比較して、フォーマット情報として必要な情報量を削減することができる。なお、上述のように制御部3及び操作部4が、取得部として解読対象データや空き領域選択情報等を取得するように機能することに限らず、例えば、制御部3及び通信部7が、取得部として外部から通信によって入力される情報に応じて解読対象データや空き領域選択情報等を取得するように機能してもよい。   As described above, since the position in the code area of the empty area 110 is associated with the arrangement tip position and the arrangement order on a one-to-one basis, arrangement information (arrangement tip position and arrangement order) according to the obtained empty area selection information. Is set (S2). Here, the free area selection information is information that can select, for example, the positions of three types of free areas 110 as shown in FIGS. 3 to 5 and the sizes of three types of free areas 110 of large, medium, and small. By limiting the types that can be selected, the amount of information necessary as format information can be reduced compared to the case where the position, size, and the like of the free space 110 are arbitrarily selected. As described above, the control unit 3 and the operation unit 4 are not limited to functioning as acquisition units to acquire data to be decoded, free space selection information, and the like. For example, the control unit 3 and the communication unit 7 The acquisition unit may function to acquire data to be decoded, free space selection information, and the like according to information input by communication from the outside.

S2で配列情報を設定した後には、S1で取得した入力データを圧縮する方法を公知の方法で定め(S3)、入力データを圧縮したデータ(解読対象データ)を複数のデータコードワードで表現する(S4)。そして、S4で生成されたデータコードワードの構成に基づいて公知の方法で誤り訂正符号を生成し、この誤り訂正符号を表現する複数の誤り訂正コードワードを生成する(S5)。   After the sequence information is set in S2, a method for compressing the input data acquired in S1 is determined by a known method (S3), and the compressed data (data to be decoded) is expressed by a plurality of data code words. (S4). Then, an error correction code is generated by a known method based on the configuration of the data codeword generated in S4, and a plurality of error correction codewords expressing this error correction code are generated (S5).

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

一方、S1で取得されたコード種別データが、空き領域110を有する情報コード100の種別(フレームQR)である場合には、S6にてYesに進み、S4で生成されたデータコードワードと、S5で生成された誤り訂正コードワードと、S1で取得された空き領域選択情報に対応する大きさの空き領域と、を格納しうる情報コード100のサイズ(型番)を決定する(S9)。そして、このように決定されたサイズ(型番)において、S1で取得された配列情報に従いデータコードワード、ターミネータ及び誤り訂正コードワードを配列(配置)する(S10)。S10では、例えば、空き領域110をコード領域の中央部に設ける場合には、図3に例示するように各コードワードを四角環状に配列し、空き領域110をコード領域の中央下部に設ける場合には、図4に例示するように各コードワードを略U字状に配列し、空き領域110をコード領域の右下隅に設ける場合には、図5に例示するように各コードワードを略L字状に配列する。   On the other hand, if the code type data acquired in S1 is the type (frame QR) of the information code 100 having the empty area 110, the process proceeds to Yes in S6, and the data code word generated in S4 and S5 The size (model number) of the information code 100 that can store the error correction codeword generated in step S1 and the free space of a size corresponding to the free space selection information acquired in step S1 is determined (S9). Then, in the size (model number) determined in this way, data code words, terminators, and error correction code words are arranged (arranged) according to the arrangement information acquired in S1 (S10). In S10, for example, when the empty area 110 is provided in the center of the code area, the code words are arranged in a square ring shape as illustrated in FIG. 3, and the empty area 110 is provided in the lower center of the code area. 4, when each code word is arranged in a substantially U shape as illustrated in FIG. 4 and the empty area 110 is provided in the lower right corner of the code area, each code word is approximately L-shaped as illustrated in FIG. 5. Arranged in a shape.

S8又はS10の後には、S8又はS10で配置場所が決定されたコードワードに対してかけるべきマスクパターンを公知の所定方法(例えばQRコードで用いられる公知方法)で決定し、その決定されたマスクパターンをS8又はS10で配置場所が決定されたコードワードに反映するように公知のマスク処理方法でマスクをかける(S11)。そして、S11で設定したマスクパターンの情報(マスク番号)及び誤り訂正レベルの情報に基づいてチェックデジットを算出し、誤り訂正レベル、マスク番号及びチェックデジットを含んだフォーマット情報を生成する(S12)。S1で取得されたコード種別データが、空き領域110を有する情報コード100の種別(フレームQR)である場合には、S12では、誤り訂正レベル、マスク番号及びチェックデジットに加えてS2で設定された配列情報を含んだフォーマット情報を生成する。   After S8 or S10, a mask pattern to be applied to the code word whose location is determined in S8 or S10 is determined by a known predetermined method (for example, a known method used in QR code), and the determined mask is determined. Masking is performed by a known mask processing method so that the pattern is reflected in the code word whose location is determined in S8 or S10 (S11). Then, a check digit is calculated based on the mask pattern information (mask number) and error correction level information set in S11, and format information including the error correction level, mask number and check digit is generated (S12). When the code type data acquired in S1 is the type (frame QR) of the information code 100 having the empty area 110, in S12, in addition to the error correction level, the mask number, and the check digit, it is set in S2. Generate format information including sequence information.

そして、S1で取得されたコード種別データが、空き領域110を有する情報コード100の種別(フレームQR)である場合には、S13にてYesに進み、S12で生成されたフォーマット情報に、上述の特定マスク(フレームQR用マスク)をセットするようにマスク処理を行う(S15)。一方、S1で取得されたコード種別データが、空き領域110を有する情報コード100の種別(フレームQR)でない場合には、S13にてNoに進み、S15で設定するマスクパターンとは異なる公知規格のQRコードにおけるマスクパターンのマスク(QR用マスク)をセットするようにマスク処理を行う(S14)。S14又はS15によりフォーマット情報に対してマスクをかけた後には、そのマスク処理後のフォーマット情報をコード領域内の所定位置(例えば、情報コード100であれば所定位置105)に配置する(S16)。このようにして情報コード100又は他の二次元コードが生成された後には、そのコードを印刷部8によって印刷する(S17)。なお、S17では、印刷に代えて、表示部6にて情報コード100等の表示を行ってもよく、S16までの処理によって生成された情報コード100のデータを外部装置に送信してもよい。   If the code type data acquired in S1 is the type (frame QR) of the information code 100 having the empty area 110, the process proceeds to Yes in S13, and the format information generated in S12 includes the above-described format information. Mask processing is performed so as to set a specific mask (frame QR mask) (S15). On the other hand, if the code type data acquired in S1 is not the type (frame QR) of the information code 100 having the empty area 110, the process proceeds to No in S13 and is of a known standard different from the mask pattern set in S15. Mask processing is performed so as to set a mask (QR mask) of the mask pattern in the QR code (S14). After the format information is masked in S14 or S15, the format information after the mask processing is arranged at a predetermined position in the code area (for example, the predetermined position 105 in the case of the information code 100) (S16). After the information code 100 or other two-dimensional code is generated in this way, the code is printed by the printing unit 8 (S17). In S17, instead of printing, the information code 100 or the like may be displayed on the display unit 6, or the data of the information code 100 generated by the processing up to S16 may be transmitted to an external device.

(情報コードの読取処理)
次に、図2の情報コード読取装置10によって図3等に示す情報コード100を読み取る場合の処理について説明する。図7の読取処理は、例えばユーザによって所定操作(例えば、操作スイッチ42の操作等)がなされたときに制御回路40により実行されるものであり、まず、図7のS21に示すように、情報コード100の撮像し、当該情報コード100の画像を取得すると共に、情報コード100の外形を検出する。具体的には、位置検出パターン104を公知の方法(QRコードで行われる公知の方法)で検出し、QRコードで行われる公知の方法で情報コード100の外形を検出する。なお、受光センサ23は、「撮像部」の一例に相当し、情報コード生成装置2によって生成された情報コード100を撮像するように機能する。
(Information code reading process)
Next, processing when the information code 100 shown in FIG. 3 and the like is read by the information code reader 10 of FIG. 2 will be described. The reading process in FIG. 7 is executed by the control circuit 40 when, for example, a predetermined operation (for example, operation of the operation switch 42) is performed by the user. First, as shown in S21 in FIG. The code 100 is imaged, an image of the information code 100 is acquired, and the outer shape of the information code 100 is detected. Specifically, the position detection pattern 104 is detected by a known method (a known method performed by a QR code), and the outer shape of the information code 100 is detected by a known method performed by a QR code. The light receiving sensor 23 corresponds to an example of an “imaging unit” and functions to image the information code 100 generated by the information code generation device 2.

S21の後には、情報コード100の所定位置の情報(フォーマット情報)を解読し、情報コード100の種別、配列情報及びマスク訂正レベル等を取得する(S22)。上述したように、所定位置105に記録された情報を上述の特定マスク(フレームQR用マスク)に基づいてマスク処理を解除して解読したときにチェックデジットが合う場合には、情報コード100の種別(空き領域110を有する種別)であること特定することでき、フォーマット情報に含まれる配列情報や誤り訂正レベル、マスク番号も取得できることとなる。そして、S22で取得されたフォーマット情報に含まれるマスク番号に基づいてコード全体(具体的には、コードワードの領域)のマスクを解除する(S23)。   After S21, the information (format information) at a predetermined position of the information code 100 is decoded, and the type, arrangement information, mask correction level, etc. of the information code 100 are acquired (S22). As described above, when the check digit is correct when the information recorded at the predetermined position 105 is decrypted after the mask process is canceled based on the above-described specific mask (frame QR mask), the type of the information code 100 It is possible to specify that it is (type having free area 110), and it is also possible to acquire array information, error correction level, and mask number included in the format information. Then, based on the mask number included in the format information acquired in S22, the mask of the entire code (specifically, the area of the code word) is released (S23).

そして、セル配置に基づいて記録されている各コードワードを特定・作成する(S24)。読み取り対象が空き領域110を有する情報コード100である場合(即ち、上述の特定マスク(フレームQR用マスク)によってマスク解除が成功した場合)には、フォーマット情報に含まれる配列情報に基づいて各コードワードを特定・作成する。一方、読み取り対象が空き領域110を有する情報コード100でない場合(即ち、QRコードにおけるマスクによってマスク解除が成功した場合)には、QRコードの公知規格に基づいて各コードワードを特定・作成する。   Then, each code word recorded based on the cell arrangement is specified and created (S24). When the reading target is the information code 100 having the empty area 110 (that is, when the mask removal is successful by the above-described specific mask (frame QR mask)), each code is based on the arrangement information included in the format information. Identify and create words. On the other hand, when the read target is not the information code 100 having the empty area 110 (that is, when the mask is successfully unmasked by the mask in the QR code), each code word is specified and created based on the publicly known QR code standard.

そして、誤り訂正符号記録領域の誤り訂正コードワードに基づいて公知の方法で誤り訂正計算を実施し(S25)、データ記録領域のデータコードワードを解読してデータを復元する(S26)。そして、S26で解読・復元したデータ(解読対象データ)を表示部での表示、データ送信、印刷などによって出力する(S27)。なお、S27の処理としては、S26で解読・復元したデータをそのままを出力してもよく、他の処理を付加してもよい。   Then, error correction calculation is performed by a known method based on the error correction code word in the error correction code recording area (S25), and the data code word in the data recording area is decoded to restore the data (S26). Then, the data decoded / restored in S26 (data to be decoded) is output by display on the display unit, data transmission, printing, etc. (S27). As the process of S27, the data decoded and restored in S26 may be output as they are, or other processes may be added.

このように、制御回路40は、撮像部によって情報コード100が撮像された場合に、フォーマット情報領域及び記録領域(データ記録領域及び誤り訂正符号記録領域)の内容に基づいてデータ記録領域に記録されたデータを解読する解読部として機能する。具体的には、制御回路40は、撮像した情報コードが情報コード100の種別(空き領域110を有する種別)であると判定した場合に、フォーマット情報領域に記録された配列情報に基づいてコード領域内の各コードワードの位置を特定し、解読対象データを解読するように機能する。   Thus, when the information code 100 is imaged by the imaging unit, the control circuit 40 is recorded in the data recording area based on the contents of the format information area and the recording area (data recording area and error correction code recording area). It functions as a decryption unit that decrypts data. Specifically, when the control circuit 40 determines that the captured information code is the type of the information code 100 (the type having the free area 110), the control area 40 is based on the sequence information recorded in the format information area. It functions to specify the position of each code word in the code and to decode the data to be decoded.

以上説明したように、本実施形態では、情報コード100のコード領域の内部に、特定パターン領域、フォーマット情報領域及び記録領域と、複数のコードワードが所定の配列情報に基づいて連続的に配列されることで記録領域の縁部によって少なくとも一部の外縁が形成される空き領域110と、が設けられ、フォーマット情報領域には上記配列情報が記録される。   As described above, in the present embodiment, a specific pattern area, a format information area, a recording area, and a plurality of code words are continuously arranged in the code area of the information code 100 based on predetermined arrangement information. Thus, an empty area 110 in which at least a part of the outer edge is formed by the edge of the recording area is provided, and the arrangement information is recorded in the format information area.

フォーマット情報領域に記録される配列情報は、上述したような配置変換表等と異なり、配列先端位置及び配列順序のような簡素な情報として構成でき、必要な情報量が少なくなる。このように配列情報として必要な情報量が少なくなることから、当該配列情報を、記録可能な情報量が少ないフォーマット情報領域であっても記録でき、記録領域には上述したようなヘッダデータ等を記録する必要もない。したがって、コード領域内に空き領域110を設ける場合でも情報コード100として記録可能な情報量を増やすことができる。   The arrangement information recorded in the format information area can be configured as simple information such as the arrangement tip position and arrangement order, unlike the arrangement conversion table as described above, and the required amount of information is reduced. Since the amount of information necessary for the array information is reduced in this way, the array information can be recorded even in a format information area with a small amount of information that can be recorded. There is no need to record. Therefore, even when the empty area 110 is provided in the code area, the amount of information that can be recorded as the information code 100 can be increased.

特に、配列情報は、コード領域における複数のコードワードの配列先端位置及び配列順序に関する情報からなるため、配列先端位置と配列順序さえ決まればその配列情報に従って各コードワードを一義的に配列できるので、配列情報をより簡素化でき、記録可能な情報量が少ないフォーマット情報領域であっても容易に配列情報を記録することができる。   In particular, since the sequence information consists of information on the sequence tip position and sequence order of a plurality of code words in the code area, each code word can be uniquely arranged according to the sequence information as long as the sequence tip position and sequence order are determined. The sequence information can be further simplified, and the sequence information can be easily recorded even in a format information area with a small amount of recordable information.

このため、配列順序を、矩形状のコード領域の外縁を構成する四辺のうち少なくとも連続する二辺に沿うように設定することで、連続する二辺に沿いL字状に往復するようにコードワードを配列した空き領域110(図5参照)や、連続する三辺に沿いU字状に往復するようにコードワードを配列した空き領域110(図4参照)、四辺に沿い四角環状に周回するようにコードワードを配列した空き領域110(図3参照)を形成することができる。   For this reason, by setting the arrangement order to be along at least two consecutive sides of the four sides constituting the outer edge of the rectangular code area, the code word is reciprocated in an L shape along the two consecutive sides. Vacant area 110 (see FIG. 5) arranged in a circle, vacant area 110 (see FIG. 4) in which code words are arranged so as to reciprocate in a U-shape along three consecutive sides, and a circular ring around four sides. An empty area 110 (see FIG. 3) in which codewords are arranged can be formed.

[第2実施形態]
次に、本発明の第2実施形態に係る情報コード及について、図面を参照して説明する。
本第2実施形態では、フォーマット情報に含まれる配列情報が配列先端位置及び配列順序に加えて各コードワードの配列数から構成される点が主に上記第1実施形態と異なる。このため、第1実施形態と実質的に同様の構成部分には同一符号を付して説明を省略する。
[Second Embodiment]
Next, information codes according to the second embodiment of the present invention will be described with reference to the drawings.
The second embodiment is mainly different from the first embodiment in that the arrangement information included in the format information is composed of the arrangement number of each code word in addition to the arrangement tip position and arrangement order. For this reason, substantially the same components as those in the first embodiment are denoted by the same reference numerals and description thereof is omitted.

上記第1実施形態における情報コードの生成方法では、配列情報として配列先端位置及び配列順序が決まると、コード領域の内部における空き領域110の位置が決まる。一方、コードワードの量(コードワードの配列数)に応じてコード領域内における空き領域110の外縁(大きさ)が決まるため、入力データ量によっては空き領域110の外縁が所望の形状(例えば直線状)にならない場合がある。例えば、上述した図3の例では、27番目のコードワードによって、空き領域110の右下隅が直線状にならない。   In the information code generation method according to the first embodiment, when the arrangement tip position and the arrangement order are determined as the arrangement information, the position of the empty area 110 inside the code area is decided. On the other hand, since the outer edge (size) of the empty area 110 in the code area is determined according to the amount of codewords (the number of codewords arranged), the outer edge of the empty area 110 has a desired shape (for example, a straight line) depending on the amount of input data. ) May not occur. For example, in the example of FIG. 3 described above, the lower right corner of the empty area 110 is not linear due to the 27th code word.

そこで、本実施形態では、記録領域の縁部によって形成される空き領域110の外縁を所望の形状(例えば直線状)にするため、空き領域110がその所望の形状になる配列終端位置までコードワードの数を増やすような配列数を予め設定する。   Therefore, in this embodiment, in order to make the outer edge of the empty area 110 formed by the edge of the recording area into a desired shape (for example, a straight line shape), the code word is used up to the arrangement end position where the empty area 110 becomes the desired shape. The number of arrays is set in advance to increase the number of.

例えば、図8に示す情報コード100のように、図3におけるコードワードの終端(27番目のコードワード)に対して、埋め草コードワード等を所望の形状に対応する配列終端位置まで連続して追加するように配列する。なお、図8では、埋め草コードワード等を、数字を記載していない二点鎖線枠にて図示している。   For example, like the information code 100 shown in FIG. 8, the padding code word or the like is continuously provided to the end position of the array corresponding to the desired shape with respect to the end of the code word (27th code word) in FIG. Arrange to add. In FIG. 8, the padding code word and the like are illustrated by a two-dot chain line frame in which numerals are not described.

コードサイズと配列先端位置及び配列順序とが決まっていれば、埋め草コードワード等を含めたコードワードの配列数に応じて記録領域の縁部によって形成される空き領域110の外縁形状が決まり、空き領域110の外縁形状とコードワードの配列数とが1対1に対応する。すなわち、配列先端位置及び配列順序に加えてさらに配列数から決まる配列終端位置に応じて各コードワードを配置することで、所望の外縁形状の空き領域110をコード領域内に設けることができる。   If the code size, the arrangement tip position, and the arrangement order are determined, the outer edge shape of the empty area 110 formed by the edge of the recording area is determined according to the number of codeword arrays including padding codewords, There is a one-to-one correspondence between the outer edge shape of the empty area 110 and the number of codewords arranged. That is, by disposing each code word in accordance with the array end position determined from the number of arrays in addition to the array tip position and the array order, a free area 110 having a desired outer edge shape can be provided in the code area.

このように、配列数に応じて配列終端位置が決まるため、その配列終端位置に合わせて埋め草コードワード等を設けることで、データの記録量に関わらず空き領域110を配列数に応じた形状とすることができる。すなわち、所望の空き領域110の形状に応じた配列数を設定することで、データの記録量に関わらず所望の形状の空き領域110を形成することができる。   As described above, since the end position of the array is determined according to the number of arrays, by providing a padding code word or the like according to the end position of the array, the free space 110 can be shaped according to the number of arrays regardless of the data recording amount. It can be. That is, by setting the number of arrays according to the shape of the desired empty area 110, the empty area 110 having a desired shape can be formed regardless of the data recording amount.

例えば、タイミングパターン106も含めて空き領域110をきれいに空けたい場合には、図9に例示する情報コード100のように、図8におけるコードワードの終端に対して、さらに埋め草コードワード等を所望の形状に対応する配列終端位置まで連続して一周追加するように配列してもよい。   For example, when it is desired to clear the empty area 110 including the timing pattern 106, a padding codeword or the like is further desired at the end of the codeword in FIG. 8, as in the information code 100 illustrated in FIG. It may be arranged so that one round is continuously added to the end position of the arrangement corresponding to the shape.

なお、図9では、空き領域110の外縁を直線状にするため、コードワードの終端に対して、ダミーセル(数字を記載していない4セル分の破線枠参照)を設けている。このように、配列数に応じた配列終端位置だけでなくダミーセルを利用して空き領域110の外縁を所望の外縁形状にすることができる。   In FIG. 9, in order to make the outer edge of the empty area 110 linear, a dummy cell (refer to a broken-line frame for four cells in which numbers are not described) is provided at the end of the code word. As described above, the outer edge of the empty area 110 can be formed into a desired outer edge shape using not only the arrangement end position according to the number of arrangements but also the dummy cells.

また、上述のように埋め草コードワード等を所望の形状に対応する配列終端位置まで連続して追加するように配列して生成する情報コード100は、図8に例示するようにコード領域の中央部に空き領域110が設けられることに限らず、コード領域の中央下部に空き領域110が設けられてもよいし(図4参照)、コード領域の右下隅に空き領域110が設けられてもよい(図5参照)。   In addition, as described above, the information code 100 generated by arranging so as to continuously add padding code words and the like up to the end position of the array corresponding to a desired shape is the center of the code area as illustrated in FIG. The space area 110 is not limited to being provided in the area, and the space area 110 may be provided in the lower center of the code area (see FIG. 4), or the space area 110 may be provided in the lower right corner of the code area. (See FIG. 5).

なお、本発明は上記各実施形態に限定されるものではなく、例えば、以下のように具体化してもよい。
(1)空き領域110は、配列順序がコード領域の外縁を構成する四辺のうち少なくとも連続する二辺に沿うように設定されることでコード領域の中央部(図3,8,9参照)や中央下部(図4参照)、右下隅(図5参照)に配置されることに限らず、コード領域の他の位置に配置されてもよい。そして、情報コード生成処理における空き領域選択情報では、図3〜図5のような3種類の空き領域110の位置が用意されることに限らず、1、2種類の位置が用意されてもよいし、4種類以上の位置が用意されてもよい。この場合、その他の位置に1対1で対応付けられる配列先端位置及び配列順序に応じて配列情報を設定することができる。また、情報コード生成処理における空き領域選択情報では、空き領域110の大きさは、大・中・小の3種類用意されることに限らず、1、2種類用意されてもよいし、4種類以上用意されてもよい。
In addition, this invention is not limited to said each embodiment, For example, you may actualize as follows.
(1) The empty area 110 is set so that the arrangement order is along at least two consecutive sides of the four sides constituting the outer edge of the code area, so that the central area of the code area (see FIGS. 3, 8, and 9) It is not limited to being arranged at the lower center (see FIG. 4) and the lower right corner (see FIG. 5), but may be arranged at other positions in the code area. In the free area selection information in the information code generation process, not only the positions of the three types of free areas 110 as shown in FIGS. 3 to 5 are prepared, but also one or two types of positions may be prepared. And four or more types of positions may be prepared. In this case, the array information can be set according to the array tip position and the array order that are associated with other positions on a one-to-one basis. In the free area selection information in the information code generation process, the size of the free area 110 is not limited to three types of large, medium, and small, but may be prepared as one, two, or four types. The above may be prepared.

(2)空き領域110をコード領域の所定の位置に設けるための配列先端位置及び配列順序は、1種類に限定されて設定されることに限らず、フォーマット情報領域に記録可能な情報量に応じて、2種類以上で選択可能に設定されてもよい。 (2) The arrangement tip position and arrangement order for providing the empty area 110 at a predetermined position in the code area are not limited to being set to one type, but depending on the amount of information that can be recorded in the format information area In addition, two or more types may be set to be selectable.

(3)フォーマット情報に含まれる配列情報は、配列先端位置及び配列順序(第1実施形態)や、配列先端位置、配列順序及び配列数(第2実施形態)に限らず、空き領域110のコード領域内における位置を特定可能な各コードワードの配列に関する情報であればよい。 (3) The arrangement information included in the format information is not limited to the arrangement tip position and arrangement order (first embodiment), the arrangement tip position, arrangement order, and the number of arrangements (second embodiment). Any information on the arrangement of each codeword that can specify the position in the area may be used.

1…情報コード利用システム
2…情報コード生成装置
10…情報コード読取装置
23…受光センサ(撮像部)
40…制御回路
100…情報コード
102…セル
104…位置検出パターン(特定パターン)
105…フォーマット情報領域
106…タイミングパターン(特定パターン)
110…空き領域
DESCRIPTION OF SYMBOLS 1 ... Information code utilization system 2 ... Information code production | generation apparatus 10 ... Information code reader 23 ... Light receiving sensor (imaging part)
40 ... Control circuit 100 ... Information code 102 ... Cell 104 ... Position detection pattern (specific pattern)
105 ... Format information area 106 ... Timing pattern (specific pattern)
110 ... free space

Claims (12)

所定のコード領域の内部に情報を表示する単位となるセルを配列した情報コードを情報コード生成装置によって生成する情報コード生成方法であって、
前記コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類の前記セルによって前記情報コードを解読するための情報を記録するフォーマット情報領域と、複数種類の前記セルからなる複数のコードワードによってデータを記録する記録領域と、前記複数のコードワードが所定の配列情報に基づいて連続的に配列されることで前記記録領域の縁部によって少なくとも一部の外縁が形成される空き領域と、を設け、
前記フォーマット情報領域に前記配列情報を記録することを特徴とする情報コード生成方法。
An information code generation method for generating, by an information code generation device, an information code in which cells serving as units for displaying information within a predetermined code area are arranged,
A specific pattern area in which a specific pattern of a predetermined shape is arranged inside the code area, a format information area for recording information for decoding the information code by a plurality of types of cells, and a plurality of types A recording area for recording data by a plurality of codewords composed of the cells, and at least a part of the outer edge by the edge of the recording area by arranging the plurality of codewords continuously based on predetermined arrangement information A free space where
An information code generation method, wherein the sequence information is recorded in the format information area.
前記配列情報は、前記コード領域における前記複数のコードワードの配列先端位置及び配列順序に関する情報からなることを特徴とする請求項1に記載の情報コード生成方法。   2. The information code generation method according to claim 1, wherein the arrangement information includes information related to an arrangement tip position and an arrangement order of the plurality of code words in the code area. 前記配列情報は、前記コード領域における前記複数のコードワードの配列先端位置、配列順序及び配列数に関する情報からなることを特徴とする請求項1に記載の情報コード生成方法。   2. The information code generation method according to claim 1, wherein the array information includes information related to an array tip position, an array order, and an array number of the plurality of code words in the code area. 前記コード領域は矩形状であって、
前記配列順序は、前記コード領域の外縁を構成する四辺のうち少なくとも連続する二辺に沿うように設定されることを特徴とする請求項2または3に記載の情報コード生成方法。
The code area is rectangular,
4. The information code generation method according to claim 2, wherein the arrangement order is set so as to extend along at least two consecutive sides among the four sides constituting the outer edge of the code area.
所定のコード領域の内部に情報を表示する単位となるセルを配列した情報コードであって、
前記コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類の前記セルによって当該情報コードを解読するための情報を記録するフォーマット情報領域と、複数種類の前記セルからなる複数のコードワードによってデータを記録する記録領域と、前記複数のコードワードが所定の配列情報に基づいて連続的に配列されることで前記記録領域の縁部によって少なくとも一部の外縁が形成される空き領域と、が設けられ、
前記フォーマット情報領域に前記配列情報が記録されていることを特徴とする情報コード。
An information code in which cells serving as units for displaying information are arranged in a predetermined code area,
A specific pattern area in which a specific pattern having a predetermined shape is arranged inside the code area, a format information area for recording information for decoding the information code by the plurality of types of cells, and a plurality of types A recording area for recording data by a plurality of codewords composed of the cells, and at least a part of the outer edge by the edge of the recording area by arranging the plurality of codewords continuously based on predetermined arrangement information A free space in which is formed, and
An information code, wherein the sequence information is recorded in the format information area.
前記配列情報は、前記コード領域における前記複数のコードワードの配列先端位置及び配列順序に関する情報からなることを特徴とする請求項5に記載の情報コード。   6. The information code according to claim 5, wherein the array information includes information related to an array tip position and an array order of the plurality of code words in the code area. 前記配列情報は、前記コード領域における前記複数のコードワードの配列先端位置、配列順序及び配列数に関する情報からなることを特徴とする請求項5に記載の情報コード。   6. The information code according to claim 5, wherein the arrangement information includes information related to an arrangement tip position, arrangement order, and arrangement number of the plurality of code words in the code area. 前記コード領域は矩形状であって、
前記配列順序は、前記コード領域の外縁を構成する四辺のうち少なくとも連続する二辺に沿うように設定されることを特徴とする請求項6または7に記載の情報コード。
The code area is rectangular,
The information code according to claim 6 or 7, wherein the arrangement order is set so as to extend along at least two continuous sides among four sides constituting an outer edge of the code region.
所定のコード領域の内部に情報を表示する単位となるセルを配列した情報コードを生成する情報コード生成装置と、
前記情報コード生成装置によって生成された前記情報コードを読み取る情報コード読取装置と、
を備えた情報コード利用システムであって、
前記情報コード生成装置は、
前記コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類の前記セルによって前記情報コードを解読するための情報を記録するフォーマット情報領域と、複数種類の前記セルからなる複数のコードワードによってデータを記録する記録領域と、前記複数のコードワードが所定の配列情報に基づいて連続的に配列されることで前記記録領域の縁部によって少なくとも一部の外縁が形成される空き領域と、を設け、前記フォーマット情報領域に前記配列情報を記録した構成で前記情報コードを生成し、
前記情報コード読取装置は、
前記情報コード生成装置によって生成された前記情報コードを撮像可能な撮像部を備え、
前記撮像部によって前記情報コードが撮像された場合に、前記フォーマット情報領域及び前記記録領域の内容に基づいて前記記録領域に記録された前記データを解読することを特徴とする情報コード利用システム。
An information code generation device for generating an information code in which cells serving as units for displaying information within a predetermined code area are arranged;
An information code reader for reading the information code generated by the information code generator;
An information code using system comprising:
The information code generation device includes:
A specific pattern area in which a specific pattern of a predetermined shape is arranged inside the code area, a format information area for recording information for decoding the information code by a plurality of types of cells, and a plurality of types A recording area for recording data by a plurality of codewords composed of the cells, and at least a part of the outer edge by the edge of the recording area by arranging the plurality of codewords continuously based on predetermined arrangement information A free space formed, and generating the information code in a configuration in which the array information is recorded in the format information region,
The information code reader is
An imaging unit capable of imaging the information code generated by the information code generation device;
An information code utilization system for decoding the data recorded in the recording area based on the contents of the format information area and the recording area when the information code is imaged by the imaging unit.
前記情報コードは、前記配列情報が前記コード領域における前記複数のコードワードの配列先端位置及び配列順序に関する情報からなることを特徴とする請求項9に記載の情報コード利用システム。   10. The information code utilization system according to claim 9, wherein the information code includes information related to an arrangement tip position and an arrangement order of the plurality of code words in the code area. 前記情報コードは、前記配列情報が前記コード領域における前記複数のコードワードの配列先端位置、配列順序及び配列数に関する情報からなることを特徴とする請求項9に記載の情報コード利用システム。   10. The information code utilization system according to claim 9, wherein the information code includes information on the arrangement tip position, arrangement order, and arrangement number of the plurality of code words in the code area. 前記情報コードの前記コード領域は矩形状であって、
前記情報コードは、前記配列順序が前記コード領域の外縁を構成する四辺のうち少なくとも連続する二辺に沿うように設定されることを特徴とする請求項10または11に記載の情報コード利用システム。
The code area of the information code is rectangular,
The information code utilization system according to claim 10 or 11, wherein the information code is set so that the arrangement order is along at least two consecutive sides of four sides constituting an outer edge of the code region.
JP2016188093A 2016-09-27 2016-09-27 Information code generating method, information code, and information code using system Pending JP2018055237A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016188093A JP2018055237A (en) 2016-09-27 2016-09-27 Information code generating method, information code, and information code using system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016188093A JP2018055237A (en) 2016-09-27 2016-09-27 Information code generating method, information code, and information code using system

Publications (1)

Publication Number Publication Date
JP2018055237A true JP2018055237A (en) 2018-04-05

Family

ID=61836731

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016188093A Pending JP2018055237A (en) 2016-09-27 2016-09-27 Information code generating method, information code, and information code using system

Country Status (1)

Country Link
JP (1) JP2018055237A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009129410A (en) * 2007-11-28 2009-06-11 Iforcom Co Ltd Image information with two-dimensional code, its generator, printer, reading method, reader, reading program, and recording medium
JP2014139771A (en) * 2012-12-19 2014-07-31 Denso Wave Inc Generation method for information code, information code, information code reader, and information code utilization system
JP2016028364A (en) * 2012-11-13 2016-02-25 共同印刷株式会社 Two-dimensional code, creation system of two-dimensional code, and analysis program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009129410A (en) * 2007-11-28 2009-06-11 Iforcom Co Ltd Image information with two-dimensional code, its generator, printer, reading method, reader, reading program, and recording medium
JP2016028364A (en) * 2012-11-13 2016-02-25 共同印刷株式会社 Two-dimensional code, creation system of two-dimensional code, and analysis program
JP2014139771A (en) * 2012-12-19 2014-07-31 Denso Wave Inc Generation method for information code, information code, information code reader, and information code utilization system

Similar Documents

Publication Publication Date Title
WO2014098128A1 (en) Information code, information code generation method, information code reader device, and information code usage system
US10147028B2 (en) Method and apparatus for producing information code having an image display region with a code figure
WO2014098134A1 (en) Information code, information code generation method, information code reader device, and information code usage system
JP2009087286A (en) Two-dimensional code, and its reader
JP5904077B2 (en) Information code and information code reading system
CN102567448A (en) Terminal for use in associating an annotation with an image
JP2015114758A (en) Information code creation method, information code, information code reading device, and information code utilization system
JP4862360B2 (en) Two-dimensional code and two-dimensional code reader
JP6489764B2 (en) Information code generation method, information code, information code reading system, and information code utilization system
JP2018055237A (en) Information code generating method, information code, and information code using system
JP6394717B2 (en) Information code generation method, information code, information code reader, and information code utilization system
JP2017157231A (en) Information code creation method, information code, information code reading device, and information code use system
JP5359858B2 (en) Information code and information code generation method
JP2013210697A (en) Information code reader
JP5522104B2 (en) Information code reader
JP7024665B2 (en) Information code, information code generation method, information code generator and information code reading system
JP6167956B2 (en) Information code generation method, information code, information code reader, and information code utilization system
JP6358109B2 (en) Information code display device
JP6225597B2 (en) Information code generation method, information code, information code reader, and information code utilization system
JP6409623B2 (en) Information code generation method, information code, information code reading system, and information code reading apparatus
JP2007280285A (en) Image scanner, information medium and image information processing system
JP2015001858A (en) Display method and display medium of two-dimensional code

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190208

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190625

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190709

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190828

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20191126