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 PDFInfo
- 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
Links
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
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
ところで、上記特許文献1に開示される情報コードは、入力データ(解読対象データ)のデータコードワードの前にヘッダデータのコードワードを配置する必要がある。このヘッダデータには、その情報コードを解読する際に用いる配置変換表及び当該配置変換表によって対応付けられたコード種別を特定し得る情報や、空き領域内の形式を特定し得る識別情報が記録されている。このため、ヘッダデータを利用しない従来のQRコード(登録商標)等と比較して、ヘッダデータのコードワードを配置するためにデータコードワードとして利用できる範囲が狭くなり、情報コードとして記録可能な情報量が減ってしまうという問題がある。
By the way, in the information code disclosed in
本発明は、上述した課題を解決するためになされたものであり、その目的とするところは、コード領域内に空き領域を設ける場合でも情報コードとして記録可能な情報量を増やすことができる構成を提供することにある。 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
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
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
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
請求項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実施形態]
以下、本発明を具現化した第1実施形態について、図面を参照して説明する。
図1に示す情報コード利用システム1は、所定のコード領域の内部に情報を表示する単位となるセルを配列した情報コード100を生成する情報コード生成装置2と、情報コード生成装置2によって生成された情報コード100を読み取る情報コード読取装置10とを備えた構成をなしている。
[First Embodiment]
Hereinafter, a first embodiment embodying the present invention will be described with reference to the drawings.
An information
(情報コード生成装置)
情報コード生成装置2は、例えばパーソナルコンピュータ等の情報処理装置として構成されており、CPUなどからなる制御部3と、キーボード、マウス、その他の入力装置からなる操作部4と、ROM、RAM、HDD、不揮発性メモリ等の記憶装置からなる記憶部5と、公知の表示装置(液晶ディスプレイやその他の表示デバイス)などからなる表示部6と、外部装置と有線通信或いは無線通信を行うための通信インタフェースとして機能する通信部7と、公知のプリンタ等と同様のハードウェア構成をなし且つ制御部3からの印刷データに基づいて情報コード100等を印刷可能な印刷部8(印刷装置)とを備えている。
(Information code generator)
The information
(情報コード読取装置)
次に、情報コード読取装置10の全体構成について説明する。図2に示すように、情報コード読取装置10は、ハードウェア的には一次元コードや二次元コード等の情報コードを光学的に読取可能なコードリーダとして構成されており、図示しないケースによって外郭が構成され、このケース内に各種電子部品が収容された構成をなしている。
(Information code reader)
Next, the overall configuration of the
この情報コード読取装置10は、主に、照明光源21、受光センサ23、フィルタ25、結像レンズ27等の光学系と、メモリ35、制御回路40、操作スイッチ42、液晶表示装置46等のマイクロコンピュータ(以下「マイコン」という)系と、電源スイッチ41、電池49等の電源系と、から構成されている。なお、これらは、図略のプリント配線板に実装あるいはケース(図示略)内に内装されている。
The
光学系は、照明光源21、受光センサ23、フィルタ25、結像レンズ27等から構成されている。照明光源21は、照明光Lfを発光可能な照明光源として機能するもので、例えば、赤色のLEDとこのLEDの出射側に設けられる拡散レンズ、集光レンズ等とから構成されている。本実施形態では、受光センサ23を挟んだ両側に照明光源21が設けられており、ケースに形成された読取口(図示略)を介して読取対象物Rに向けて照明光Lfを照射可能に構成されている。この読取対象物Rとしては、例えば、樹脂材料、金属材料等の様々な対象が考えられ、このような読取対象物Rに例えば図1のような情報コード100が印刷、ダイレクトマーキングなどによって形成されている。
The optical system includes an
受光センサ23は、情報コード100を撮像可能な「撮像部」の一例に相当し、読取対象物Rや情報コード100に照射されて反射した反射光Lrを受光可能に構成されるもので、例えば、C−MOSやCCD等の固体撮像素子である受光素子を2次元に配列したエリアセンサが、これに相当する。この受光センサ23は、結像レンズ27を介して入射する入射光を受光面23aで受光可能に図略のプリント配線板に実装されている。
The
フィルタ25は、例えば反射光Lrの波長相当以下の光の通過を許容し、当該波長相当を超える光の通過を遮断し得る光学的なローパスフィルタで、ケースに形成された読取口(図示略)と結像レンズ27との間に設けられている。これにより、反射光Lrの波長相当を超える不要な光が受光センサ23に入射することを抑制している。また、結像レンズ27は、例えば、鏡筒とこの鏡筒内に収容される複数の集光レンズとによって構成されており、本実施形態では、ケースに形成された読取口(図示略)に入射する反射光Lrを集光し、受光センサ23の受光面23aに情報コード100のコード画像を結像するように構成されている。
The
マイコン系は、増幅回路31、A/D変換回路33、メモリ35、アドレス発生回路36、同期信号発生回路38、制御回路40、操作スイッチ42、LED43、ブザー44、液晶表示装置46、通信インタフェース48等から構成されている。このマイコン系は、マイコン(情報処理装置)として機能し得る制御回路40及びメモリ35を中心として構成され、前述した光学系によって撮像された情報コード100の画像信号をハードウェア的およびソフトウェア的に信号処理し得るものである。
The microcomputer system includes an
光学系の受光センサ23から出力される画像信号(アナログ信号)は、増幅回路31に入力されることで所定ゲインで増幅された後、A/D変換回路33に入力され、アナログ信号からディジタル信号に変換される。そして、ディジタル化された画像信号、つまり画像データ(画像情報)は、メモリ35に入力され、当該メモリ35の画像データ蓄積領域に蓄積される。なお、同期信号発生回路38は、受光センサ23およびアドレス発生回路36に対する同期信号を発生可能に構成されており、またアドレス発生回路36は、この同期信号発生回路38から供給される同期信号に基づいて、メモリ35に格納される画像データの格納アドレスを発生可能に構成されている。
An image signal (analog signal) output from the
メモリ35は、半導体メモリ装置などによって構成され、例えばRAM(DRAM、SRAM等)やROM(EPROM、EEPROM等)等がこれに相当する。このメモリ35のうちのRAMには、前述した画像データ蓄積領域のほかに、制御回路40が算術演算や論理演算等の各処理時に利用する作業領域や読取条件テーブルも確保可能に構成されている。またROMには、後述する読取処理等を実行可能な所定プログラムやその他、照明光源21、受光センサ23等の各ハードウェアを制御可能なシステムプログラム等が予め格納されている。
The
制御回路40は、情報コード読取装置10全体を制御可能なマイコンで、CPU、システムバス、入出力インタフェース等からなるものであり、情報処理機能を有している。この制御回路40には、内蔵された入出力インタフェースを介して種々の入出力装置(周辺装置)が接続されており、本実施形態の場合、電源スイッチ41、操作スイッチ42、LED43、ブザー44、液晶表示装置46、通信インタフェース48等が接続されている。また、通信インタフェース48には、情報コード読取装置10の上位システムに相当するホストコンピュータHSTなどを接続できるようになっている。
The
電源系は、電源スイッチ41、電池49等により構成されており、制御回路40により管理される電源スイッチ41のオンオフによって、上述した各装置や各回路に、電池49から供給される駆動電圧の導通や遮断が制御されている。なお、電池49は、所定の直流電圧を発生可能な2次電池で、例えば、リチウムイオン電池等がこれに相当する。
The power supply system includes a
(情報コード)
次に、図1の情報コード利用システムで利用される情報コード100について図3〜図5を参照して説明する。図3〜図5に示す情報コード100は、例えば上述の情報コード生成装置2によって生成されるものであり、所定のコード領域の内部に情報を表示する単位となるセル102を配列した構成となっている。なお、図3等の情報コード100において、「コード領域」は、複数配列された暗色セルを全て含み得る矩形状の領域であり、具体的には、3つの位置検出パターン(切り出しシンボル)104を全て含む最小の正方形又は長方形領域となっている。なお、図3等の例では、複数のセル102が、矩形状(例えば外径が正方形状)の明色(白色)セル及び暗色(黒色)セルのいずれかによって構成されており、コード領域の内部において後述する空き領域110の周囲にこれらセル102がマトリックス状に配置されている。また、情報コード100において上記コード領域の周囲には、当該コード領域を取り囲むように明色又は暗色のマージン領域が構成されるようになっており、図3等の例では、明色のマージン領域がコード領域の周囲に隣接して配置されている。
(Information code)
Next, the
この情報コード100は、矩形状(例えば、正方形状或いは長方形状等)のコード領域の内部に、予め定められた形状の特定パターン(具体的には、単一のセルよりも広い領域の固定図形)が配置される特定パターン領域と、複数種類のセル102によって情報コードを解読するための情報(フォーマット情報)を記録するフォーマット情報領域と、複数種類のセル102からなる複数のコードワード(データコードワード)によってデータを記録するデータ記録領域と、複数種類のセル102からなる複数のコードワード(誤り訂正コードワード)によって誤り訂正符号を記録する誤り訂正符号記録領域と、が設けられている。なお、データ記録領域及び誤り訂正符号記録領域からなる領域を「記録領域」ともいう。
This
図3等のように、情報コード100の特定パターンは、例えば、QRコードの公知の所定型番(JIS等で規格化されたQRコードの所定型番)の特定パターンと同一の形状及び位置となっており、図3等の例では、コード領域の3つの角部にそれぞれ、特定パターンとしての位置検出パターン(切り出しシンボル)104が配置されている。また、上記所定型番において予め定められた位置に、特定パターンとしてのタイミングパターン106やアライメントパターン(図示略)も設けられている。なお、タイミングパターン106やアライメントパターンが設けられていなくてもよい。
As shown in FIG. 3 and the like, the specific pattern of the
また、フォーマット情報領域は、コード領域内の所定位置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
配列情報は、各コードワードの配列方法を規定するための情報であって、本実施形態では、各コードワードを配列する際の先端の位置に相当する配列先端位置とこの配列先端位置を起点とする配列順序とに関する情報からなる。この配列情報に基づいて後述するように各コードワードをコード領域内に連続的に配列することで、各コードワードと異なる領域にてコード領域内に空き領域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
訂正レベル情報は、情報コード100で用いる誤り訂正レベルを特定する情報であり、QRコードで用いる誤り訂正レベルに相当する。また、マスク番号情報は、情報コード100の記録領域(データ記録領域及び誤り訂正符号記録領域)にかけられているマスクがどのマスク種別であるかを特定する情報である。なお、このような訂正レベル情報やマスク番号は、QRコードの方式と同様の方式で設定してもよく、誤り訂正レベルやマスク種別が特定できる方式であれば他の方式で設定してもよい。情報コード100のコードワード領域では、上記マスク番号で特定されるマスクを公知のマスク方法でかけている。
The correction level information is information for specifying the error correction level used in the
フォーマット情報は、所定種類のマスクパターン(特定マスク)を反映した状態(フォーマット情報を示すデータを表す明暗配列に対し、所定種類のマスクパターンを公知のマスク方法でかけた状態)で記録されており、公知の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
このように、情報コード100では、コード領域内の予め定められた位置に、決まった形状の特定パターン(位置検出パターン104、タイミングパターン106、アライメントパターン)と、フォーマット情報に対応するパターン(所定位置105参照)とが配置されるようになっている。なお、コード領域の内部において、後述する空き領域110以外の位置は、このような特定パターン領域及びフォーマット情報領域や記録領域(データ記録領域及び誤り訂正符号記録領域)などによって構成されている。
As described above, in the
情報コード100のセルの行数及び列数、特定パターンの形状及び位置、フォーマット情報の位置等は情報コード読取装置10がどのような方法で把握してもよい。例えば、情報コード100の種別において複数の型番が設けられていてもよく、この場合、型番毎にセルの行数及び列数、特定パターンの形状及び位置、フォーマット情報の位置等が予め定められていればよい。そして、型番情報がコード領域内の決められた位置(予約領域)に配置されていれば、情報コード読取装置10はこの型番情報の位置を既知の位置として把握しておき、この型番情報に基づいて情報コード100のセルの行数及び列数、特定パターンの形状及び位置、フォーマット情報の位置等を把握できるようになる。なお、この方法に限定されるものではなく、情報コード読取装置10が把握し得る方法であれば他の方法でもよい。
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
空き領域110は、配列情報の配列先端位置及び配列順序(より具体的には配列先端位置を起点とする配列方向)に基づいて複数のコードワードが連続的に配列されることで形成される。このため、コード領域の内部における空き領域110の位置や大きさとこの空き領域110を設けるために必要なコードワードの配列との関係を、上述のように簡素に構成される配列情報を利用して予め関連付けることができる。すなわち、例えば、空き領域110をコード領域の中央部に設けるための配列先端位置及び配列順序を1種類に限定することができる。そして、空き領域110は、コードワードの量(コードワードの配列数)に応じてコード領域内における大きさが決まり、コードワードの量が多くなるほどコード領域内における大きさが小さくなる。
The
図3に示す情報コード100の例では、データコードワード及び誤り訂正コードワード(コードワード)が、フォーマット情報に含まれる配列情報に基づいて、コード領域の外縁を構成する四辺に沿い四角環状(略O字状)に周回するように配列されている。この配列情報は、コード領域の右下隅が各コードワードの配列先端位置であり、図3の記録領域(データ記録領域及び誤り訂正符号記録領域)における一点鎖線枠内の数字の並びが配列順序となるように設定されている。このような配列情報に基づいて配列される記録領域の縁部によって外縁(周縁)が形成されるように、空き領域110がコード領域の中央部に設けられる。なお、図3は、コードワード数が27の場合の例であり、例えば、コードワード数が25であれば、図3における一点鎖線枠内の25番目のコードワードまで記録領域が設けられ、コードワード数が27を超えれば、先に配置したコードワードの内側に沿いさらに記録領域が延伸するように設けられる。
In the example of the
また、図4に示す情報コード100の例では、データコードワード及び誤り訂正コードワードが、フォーマット情報に含まれる配列情報に基づいて、コード領域の外縁を構成する四辺のうち連続する三辺に沿い略U字状に往復するように配列されている。この配列情報は、コード領域の右下隅が各コードワードの配列先端位置であり、図4の記録領域における一点鎖線枠内の数字の並びが配列順序となるように設定されている。このような配列情報に基づいて配列される記録領域の縁部によって外縁の一部として上縁及び左右両縁が形成されるように、空き領域110がコード領域の中央下部に設けられる。なお、図4は、コードワード数が21の場合の例であり、例えば、コードワード数が18であれば、図4における一点鎖線枠内の18番目のコードワードまで記録領域が設けられ、コードワード数が21を超えれば、先に配置したコードワードの内側に沿いさらに記録領域が延伸するように設けられる。
In the example of the
また、図5に示す情報コード100の例では、データコードワード及び誤り訂正コードワードが、フォーマット情報に含まれる配列情報に基づいて、コード領域の外縁を構成する四辺のうち連続する二辺に沿い略L字状に往復するように配列されている。この配列情報は、コード領域の右上隅が各コードワードの配列先端位置であり、図5の記録領域における一点鎖線枠内の数字の並びが配列順序となるように設定されている。このような配列情報に基づいて配列される記録領域の縁部によって外縁の一部として上縁及び左縁が形成されるように、空き領域110がコード領域の右下隅に設けられる。なお、図5は、コードワード数が17の場合の例であり、例えば、コードワード数が15であれば、図5における一点鎖線枠内の15番目のコードワードまで記録領域が設けられ、コードワード数が17を超えれば、先に配置したコードワードの内側に沿いさらに記録領域が延伸するように設けられる。
In the example of the
なお、図3等では、空き領域110の周囲に配置される各コードワードの領域を一点鎖線枠等によって概念的に示し、フォーマット情報領域やデータ記録領域では、升目のみを示し、セルの具体的配列を省略して示している。また、図3等では、セル配列と対応付けるべく空き領域110の内部に升目を付しているが、空き領域110の構成は自由であり、図1のように絵柄を付してもよく、記号や模様を付してもよく、或いは空白としてもよい。
In FIG. 3 and the like, each code word area arranged around the
このように生成される情報コード100では、特定パターン(位置検出パターン104等)を検出し、公知のQRコードと同様の方法でコード領域、コードの向き、各セル位置を特定した後、公知のQRコードと同様の方法でフォーマット情報が記録された所定位置105を解読することで、解読時に成功したマスクの種別により情報コード100の種別(空き領域110を有する特別種類)であることを特定することができる。そして、解読されたフォーマット情報の配列情報に基づいて、データコードワード及び誤り訂正コードワードの配列状態を特定できるようになっている。また、解読されたフォーマット情報により、情報コード100で用いる誤り訂正レベルを特定でき、且つ情報コード100の記録領域(データ記録領域及び誤り訂正符号記録領域)にかけられているマスク種別を特定できるようになっている。なお、所定位置105は、情報コード読取装置10が予め把握しておけばよい。
In the
(情報コードの生成処理)
次に、図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
図6の情報コード生成処理は、情報コード生成装置2の制御部3によって行われる処理であり、例えば、操作部4での所定操作によって実行開始される。この処理では、まず、外部からコード化する入力データ(解読対象データ)と、属性データと、コード種別データ(情報コード100を生成するか、一般的な二次元コード(例えば一般的なQRコード)を生成するかを特定するデータ)を取得する(S1)。また、S1では、情報コード100を生成する場合には、空き領域110の位置や大きさ等を選択するための空き領域選択情報を取得する。
The information code generation process of FIG. 6 is a process performed by the
上述したように空き領域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
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
一方、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
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
そして、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
(情報コードの読取処理)
次に、図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
S21の後には、情報コード100の所定位置の情報(フォーマット情報)を解読し、情報コード100の種別、配列情報及びマスク訂正レベル等を取得する(S22)。上述したように、所定位置105に記録された情報を上述の特定マスク(フレームQR用マスク)に基づいてマスク処理を解除して解読したときにチェックデジットが合う場合には、情報コード100の種別(空き領域110を有する種別)であること特定することでき、フォーマット情報に含まれる配列情報や誤り訂正レベル、マスク番号も取得できることとなる。そして、S22で取得されたフォーマット情報に含まれるマスク番号に基づいてコード全体(具体的には、コードワードの領域)のマスクを解除する(S23)。
After S21, the information (format information) at a predetermined position of the
そして、セル配置に基づいて記録されている各コードワードを特定・作成する(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
そして、誤り訂正符号記録領域の誤り訂正コードワードに基づいて公知の方法で誤り訂正計算を実施し(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
以上説明したように、本実施形態では、情報コード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
フォーマット情報領域に記録される配列情報は、上述したような配置変換表等と異なり、配列先端位置及び配列順序のような簡素な情報として構成でき、必要な情報量が少なくなる。このように配列情報として必要な情報量が少なくなることから、当該配列情報を、記録可能な情報量が少ないフォーマット情報領域であっても記録でき、記録領域には上述したようなヘッダデータ等を記録する必要もない。したがって、コード領域内に空き領域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
特に、配列情報は、コード領域における複数のコードワードの配列先端位置及び配列順序に関する情報からなるため、配列先端位置と配列順序さえ決まればその配列情報に従って各コードワードを一義的に配列できるので、配列情報をより簡素化でき、記録可能な情報量が少ないフォーマット情報領域であっても容易に配列情報を記録することができる。 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
そこで、本実施形態では、記録領域の縁部によって形成される空き領域110の外縁を所望の形状(例えば直線状)にするため、空き領域110がその所望の形状になる配列終端位置までコードワードの数を増やすような配列数を予め設定する。
Therefore, in this embodiment, in order to make the outer edge of the
例えば、図8に示す情報コード100のように、図3におけるコードワードの終端(27番目のコードワード)に対して、埋め草コードワード等を所望の形状に対応する配列終端位置まで連続して追加するように配列する。なお、図8では、埋め草コードワード等を、数字を記載していない二点鎖線枠にて図示している。
For example, like the
コードサイズと配列先端位置及び配列順序とが決まっていれば、埋め草コードワード等を含めたコードワードの配列数に応じて記録領域の縁部によって形成される空き領域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
このように、配列数に応じて配列終端位置が決まるため、その配列終端位置に合わせて埋め草コードワード等を設けることで、データの記録量に関わらず空き領域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
例えば、タイミングパターン106も含めて空き領域110をきれいに空けたい場合には、図9に例示する情報コード100のように、図8におけるコードワードの終端に対して、さらに埋め草コードワード等を所望の形状に対応する配列終端位置まで連続して一周追加するように配列してもよい。
For example, when it is desired to clear the
なお、図9では、空き領域110の外縁を直線状にするため、コードワードの終端に対して、ダミーセル(数字を記載していない4セル分の破線枠参照)を設けている。このように、配列数に応じた配列終端位置だけでなくダミーセルを利用して空き領域110の外縁を所望の外縁形状にすることができる。
In FIG. 9, in order to make the outer edge of the
また、上述のように埋め草コードワード等を所望の形状に対応する配列終端位置まで連続して追加するように配列して生成する情報コード100は、図8に例示するようにコード領域の中央部に空き領域110が設けられることに限らず、コード領域の中央下部に空き領域110が設けられてもよいし(図4参照)、コード領域の右下隅に空き領域110が設けられてもよい(図5参照)。
In addition, as described above, the
なお、本発明は上記各実施形態に限定されるものではなく、例えば、以下のように具体化してもよい。
(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
(2)空き領域110をコード領域の所定の位置に設けるための配列先端位置及び配列順序は、1種類に限定されて設定されることに限らず、フォーマット情報領域に記録可能な情報量に応じて、2種類以上で選択可能に設定されてもよい。
(2) The arrangement tip position and arrangement order for providing the
(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
40 ...
105 ...
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.
前記配列順序は、前記コード領域の外縁を構成する四辺のうち少なくとも連続する二辺に沿うように設定されることを特徴とする請求項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.
前記配列順序は、前記コード領域の外縁を構成する四辺のうち少なくとも連続する二辺に沿うように設定されることを特徴とする請求項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.
前記情報コードは、前記配列順序が前記コード領域の外縁を構成する四辺のうち少なくとも連続する二辺に沿うように設定されることを特徴とする請求項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.
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)
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 |
-
2016
- 2016-09-27 JP JP2016188093A patent/JP2018055237A/en active Pending
Patent Citations (3)
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 |