JP6403085B1 - Composite code pattern, generating device, reading device, method and program - Google Patents

Composite code pattern, generating device, reading device, method and program Download PDF

Info

Publication number
JP6403085B1
JP6403085B1 JP2018109090A JP2018109090A JP6403085B1 JP 6403085 B1 JP6403085 B1 JP 6403085B1 JP 2018109090 A JP2018109090 A JP 2018109090A JP 2018109090 A JP2018109090 A JP 2018109090A JP 6403085 B1 JP6403085 B1 JP 6403085B1
Authority
JP
Japan
Prior art keywords
code
information
cell
composite
dot
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018109090A
Other languages
Japanese (ja)
Other versions
JP2019192186A (en
Inventor
吉田 健治
健治 吉田
森井 昌克
昌克 森井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
I.P SOLUTIONS, LTD.
Original Assignee
I.P SOLUTIONS, LTD.
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 I.P SOLUTIONS, LTD. filed Critical I.P SOLUTIONS, LTD.
Application granted granted Critical
Publication of JP6403085B1 publication Critical patent/JP6403085B1/en
Priority to CN201980015364.8A priority Critical patent/CN112352245A/en
Priority to US16/958,743 priority patent/US11755867B2/en
Priority to BR112020013344-2A priority patent/BR112020013344A2/en
Priority to KR1020207022146A priority patent/KR20200106510A/en
Priority to EP19733929.4A priority patent/EP3734510A4/en
Priority to PCT/JP2019/000028 priority patent/WO2019132047A1/en
Publication of JP2019192186A publication Critical patent/JP2019192186A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

【課題】明色と識別されるセルと暗色と識別されるセルとをマトリクス状に配置してなる1次元あるいは2次元の画像において、情報表現からの読み取り困難性を低減しつつ、さらに情報量を増加する。
【解決手段】複合コードパターンは、識別可能な2以上の色のいずれかをそれぞれ有する複数のセルが配列形状に配置された第2のコードと、前記配置されたセルのいずれか1以上の特定セル内で、それぞれの特定セルが有する色と識別可能な1以上のマークが配置された第2のコードと、を備えた複合コードパターンである。そして、前記第2のコードは、前記第1のコードの少なくとも一部に対応する特定情報を含んでいる。
【選択図】図5
In a one-dimensional or two-dimensional image in which cells identified as light colors and cells identified as dark colors are arranged in a matrix, the amount of information is further reduced while reducing the difficulty in reading from information representation. Increase.
A composite code pattern includes: a second code in which a plurality of cells each having one of two or more identifiable colors are arranged in an array shape; and one or more specified ones of the arranged cells It is a composite code pattern including a second code in which one or more marks that can be distinguished from the color of each specific cell are arranged in the cell. The second code includes specific information corresponding to at least a part of the first code.
[Selection] Figure 5

Description

本発明は、複合コードパターン、生成装置、読み取り装置、方法およびプログラムに関する。   The present invention relates to a composite code pattern, a generation device, a reading device, a method, and a program.

従来から、バーコード等の1次元コード、QRコード(登録商標)等の2次元コード等、画像による様々な情報表現が提案されている。これらの情報表現は、例えば、明色と識別されるセルやスペースと暗色と識別されるセルやバーとをマトリクス状に配置してなる、1次元あるいは2次元の画像が用いられる。   Conventionally, various information representations using images such as a one-dimensional code such as a barcode and a two-dimensional code such as a QR code (registered trademark) have been proposed. These information representations use, for example, a one-dimensional or two-dimensional image in which cells and spaces identified as light colors and cells and bars identified as dark colors are arranged in a matrix.

また、例えば、QRコード(登録商標)のセルのうち、少なくも一部のセルが、より微細なサブセルによってマトリクス状に細分化された拡張セルを用いることも提案されている。   Also, for example, it has been proposed that at least some of the QR code (registered trademark) cells use extended cells that are subdivided into a matrix by finer subcells.

特許第6061075号公報Japanese Patent No. 6061075 特許第2938338号公報Japanese Patent No. 2938338

ところで、これらの情報表現では、明度等の色の要素によって識別可能な2種類以上のセルが配置されてコードの情報が表現される。現在の情報表現では情報量が少ない場合が多々ある。元々、これらの情報表現では、画像が形成される媒体面での単位面積当りの情報量(以下、情報密度)を向上させるため、セルの寸法が小さく設定されている。セルの寸法が小さく設定された情報表現において、高解像度のコード読み取り装置が必要になる。さらに、セルが細分化されると、細分化されたセルの判別が困難になる可能性が大きくなる。   By the way, in these information expressions, code information is expressed by arranging two or more types of cells that can be identified by color elements such as brightness. In the current information representation, there are many cases where the amount of information is small. Originally, in these information representations, the cell dimensions are set small in order to improve the amount of information per unit area (hereinafter referred to as information density) on the medium surface on which the image is formed. For information representation in which the cell dimensions are set small, a high-resolution code reader is required. Furthermore, when cells are subdivided, there is a greater possibility that it will be difficult to distinguish the subdivided cells.

したがって、従来の技術では、明色と識別されるスペースやセルと暗色と識別されるバーやセルとを、配列状に配置してなる、1次元あるいは2次元コードの画像において、セルやスペース/バーの寸法が小さく設定された情報表現において、さらに、情報量を増加させるときに、情報表現からの読み取り困難性に対する配慮がなされていない。そこで、本発明の1つの側面は、1次元あるいは2次元の画像において、コード情報表現からの読み取り困難性を低減しつつ、さらに情報量を増加することを目的とする。   Therefore, in the conventional technique, in a one-dimensional or two-dimensional code image in which a space or cell identified as light color and a bar or cell identified as dark color are arranged in an array, the cell or space / In the information expression in which the size of the bar is set to be small, no consideration is given to difficulty in reading from the information expression when the amount of information is further increased. Accordingly, one aspect of the present invention aims to further increase the amount of information in a one-dimensional or two-dimensional image while reducing the difficulty in reading from code information representation.

1つの側面では本発明は、複合コードパターンとして例示できる。以降、明色のセルはスペースを含み、暗色のセルはバーを含むものとする。本複合コードパターンは、識別可能な2以上の色のいずれかをそれぞれ有する複数のセルが配列形状に配置された第2のコードと、前記配置されたセルのいずれか1以上の特定セル内で、それぞれの特定セルが有する色と識別可能な1以上のマークが配置された第2のコードと、を備えた複合コードパターンである。そして、少なくとも上記1以上のマークが、同一色のマークまたはセルと接触する配置が除外されている。   In one aspect, the present invention can be exemplified as a composite code pattern. Hereinafter, it is assumed that light cells include spaces and dark cells include bars. The composite code pattern includes a second code in which a plurality of cells each having one of two or more colors that can be identified are arranged in an array shape, and one or more specific cells in the arranged cells. And a second code in which one or more marks that can be distinguished from the color of each specific cell are arranged. An arrangement in which at least one or more of the marks is in contact with a mark or cell of the same color is excluded.

本複合コードパターンでは、1次元あるいは2次元コードの画像において、情報表現からの読み取り困難性を低減しつつ、さらに情報量を増加することが可能となる。   With this composite code pattern, it is possible to further increase the amount of information in a one-dimensional or two-dimensional code image while reducing the difficulty of reading from information representation.

QRコードの構造を例示する図である。It is a figure which illustrates the structure of QR Code. 情報セルの一部をさらに細分化したサブセルを含むQRコードの構造を例示する図である。It is a figure which illustrates the structure of QR Code containing the subcell which further subdivided some information cells. 第2のコードをサブセルよりも小さいドットで表現するパターンを例示する図である。It is a figure which illustrates the pattern which expresses a 2nd code | cord with a dot smaller than a subcell. 第2のコードの例を示す図である。It is a figure which shows the example of a 2nd code | cord | chord. 第2のコードの例を示す図である。It is a figure which shows the example of a 2nd code | cord | chord. 第2のコードの例を示す図である。It is a figure which shows the example of a 2nd code | cord | chord. 第1のコード内での第2のコードの配置位置について説明する図である。It is a figure explaining the arrangement position of the 2nd code in the 1st code. 第1のコード内での第2のコードの配置位置について説明する図である。It is a figure explaining the arrangement position of the 2nd code in the 1st code. 第1のコード内での第2のコードの配置位置について説明する図である。It is a figure explaining the arrangement position of the 2nd code in the 1st code. 第1のコード内の暗色セルに第2のコードの配置する図である。It is a figure which arrange | positions the 2nd code | cord | chord to the dark cell in a 1st code | cord | chord. 第1のコード内での第2のコードの配置位置について説明する図である。It is a figure explaining the arrangement position of the 2nd code in the 1st code. 第1のコード内での第2のコードの配置位置について説明する図である。It is a figure explaining the arrangement position of the 2nd code in the 1st code. 第1のコード内での第2のコードの配置位置について説明する図である。It is a figure explaining the arrangement position of the 2nd code in the 1st code. 第2のコードを形成するセル内のパターンの配置について説明する図である。It is a figure explaining arrangement | positioning of the pattern in the cell which forms a 2nd code | cord | chord. 第2のコードを形成するセル内のパターンの配置について説明する図である。It is a figure explaining arrangement | positioning of the pattern in the cell which forms a 2nd code | cord | chord. 第2のコードを形成するセル内のパターンの配置について説明する図である。It is a figure explaining arrangement | positioning of the pattern in the cell which forms a 2nd code | cord | chord. 第2のコードを形成するセル内のパターンの配置について説明する図である。It is a figure explaining arrangement | positioning of the pattern in the cell which forms a 2nd code | cord | chord. 第2のコードを形成するセル内のパターンの配置について説明する図である。It is a figure explaining arrangement | positioning of the pattern in the cell which forms a 2nd code | cord | chord. 第2のコードを形成するセル内のパターンの配置について説明する図である。It is a figure explaining arrangement | positioning of the pattern in the cell which forms a 2nd code | cord | chord. 線分の先端が仮想点となる線分による第2のコードの例である。It is an example of the 2nd code by the line segment in which the tip of a line segment becomes a virtual point. 線分の中心が仮想点となる線分による第2のコードの例である。It is an example of the 2nd code by the line segment in which the center of a line segment becomes a virtual point. 線分の長さが複数段階に変更された第2のコードの例である。It is an example of the 2nd code | cord | chord in which the length of the line segment was changed into the several step. 線分を所定の比率で内分する位置が仮想点となる線分による第2のコードの例である。It is an example of the 2nd code | cord | chord by the line segment by which the position which divides a line segment by a predetermined ratio becomes a virtual point. QRコードのセル内にドットパターンを配置した複合コードの構成例(1)を示す図である。It is a figure which shows the structural example (1) of the composite code which has arrange | positioned the dot pattern in the cell of QR Code. QRコードのセル内にドットパターンを配置した複合コードの構成例(2)を示す図である。It is a figure which shows the structural example (2) of the composite code which has arrange | positioned the dot pattern in the cell of QR Code. QRコードのセル内にドットパターンを配置した複合コードの構成例(3)を示す図である。It is a figure which shows the structural example (3) of the composite code which has arrange | positioned the dot pattern in the cell of QR Code. QRコードのセル内にドットパターンを配置した複合コードの構成例(4)を示す図である。It is a figure which shows the structural example (4) of the composite code which has arrange | positioned the dot pattern in the cell of QR Code. QRコードのセル内にドットパターンを配置した複合コードの構成例(5)を示す図である。It is a figure which shows the structural example (5) of the composite code which has arrange | positioned the dot pattern in the cell of QR Code. QRコードのセル内にドットパターンを配置した複合コードの構成例(6)を示す図である。It is a figure which shows the structural example (6) of the composite code which has arrange | positioned the dot pattern in the cell of QR Code. QRコードのセル内にドットパターンを配置した複合コードの構成例(7)を示す図である。It is a figure which shows the structural example (7) of the composite code which has arrange | positioned the dot pattern in the cell of QR Code. QRコードのセル内にドットパターンを配置した複合コードの構成例(8)を示す図である。It is a figure which shows the structural example (8) of the composite code which has arrange | positioned the dot pattern in the cell of QR Code. 実施形態1に係る複合コードによるサービスを提供する情報システムの構成を例示する図である。It is a figure which illustrates the structure of the information system which provides the service by the composite code which concerns on Embodiment 1. FIG. 情報処理装置のハードウェア構成を例示する図である。It is a figure which illustrates the hardware constitutions of information processing apparatus. コンテンツサーバによる複合コード生成処理Aを例示するフローチャートである。It is a flowchart which illustrates the composite code production | generation process A by a content server. ユーザ装置による複合コード読取処理Aを例示するフローチャートである。It is a flowchart which illustrates the composite code reading process A by a user apparatus. セル内の第2のコードの解析処理の詳細を例示するフローチャートである。It is a flowchart which illustrates the detail of the analysis process of the 2nd code | symbol in a cell. 実施形態2に係る情報システムの構成を例示する図である。It is a figure which illustrates the structure of the information system which concerns on Embodiment 2. FIG. 複合コード生成処理Bを例示するフローチャートである。5 is a flowchart illustrating a composite code generation process B. 複合コード読取処理Bを例示するフローチャートである。5 is a flowchart illustrating a composite code reading process B. 実施形態3における複合コードの読み取り処理を例示するフローチャートである。10 is a flowchart illustrating a composite code reading process according to the third embodiment. 印刷された暗色セルとピクセルの関係を例示する図である。It is a figure which illustrates the relationship between the printed dark cell and a pixel. 暗色セルに明色のドットを形成した例である。This is an example in which light dots are formed in dark cells. 明色セルに暗色のドットを形成した例である。This is an example in which dark dots are formed in light cells. バウンディングボックスによるドットの位置の判定方法を例示する図である。It is a figure which illustrates the determination method of the position of the dot by a bounding box. 5×5pixelで印刷したセルにドットコードを形成した例である。This is an example in which a dot code is formed in a cell printed at 5 × 5 pixels. 7×7pixelで印刷したセルにドットコードを形成した例である。This is an example in which dot codes are formed in cells printed with 7 × 7 pixels. 処理例1の真贋判定のための複合コード生成処理を例示する図である。It is a figure which illustrates the composite code production | generation process for the authenticity determination of the process example 1. FIG. 処理例1の複合QRコード読み取り・認証処理を例示するフローチャートである。10 is a flowchart illustrating a complex QR code reading / authentication process of Process Example 1. 処理例2の真贋判定のための複合コード生成処理を例示する図である。It is a figure which illustrates the composite code production | generation process for the authenticity determination of the example 2 of a process. 処理例2の複合QRコード読み取り・認証処理を例示するフローチャートである。12 is a flowchart illustrating an example of a composite QR code reading / authentication process in Processing Example 2; 処理例3の真贋判定のための複合コード生成処理を例示する図である。It is a figure which illustrates the composite code production | generation process for the authenticity determination of the process example 3. FIG. 処理例3の複合QRコード読み取り・認証処理を例示するフローチャートである。10 is a flowchart illustrating a composite QR code reading / authentication process of Processing Example 3; 処理例4の真贋判定のための複合コード生成処理を例示する図である。It is a figure which illustrates the composite code production | generation process for the authenticity determination of the process example 4. FIG. 処理例4の複合QRコード読み取り・認証処理を例示するフローチャートである。10 is a flowchart illustrating an example of a composite QR code reading / authentication process in Process Example 4; 処理例5の真贋判定のための複合コード生成処理を例示する図である。It is a figure which illustrates the composite code production | generation process for the authenticity determination of the process example 5. FIG. 処理例5の複合QRコード読み取り・認証処理を例示するフローチャートである。10 is a flowchart illustrating a composite QR code reading / authentication process of a processing example 5; 処理例6の真贋判定のための複合コード生成処理を例示する図である。It is a figure which illustrates the composite code production | generation process for the authenticity determination of the process example 6. FIG. 処理例6の複合QRコード読み取り・認証処理を例示するフローチャートである。14 is a flowchart illustrating a composite QR code reading / authentication process of a processing example 6; 処理例7の真贋判定のための複合コード生成処理を例示する図である。It is a figure which illustrates the composite code production | generation process for the authenticity determination of the process example 7. FIG. 処理例7の複合QRコード読み取り・認証処理を例示するフローチャートである。14 is a flowchart illustrating a composite QR code reading / authentication process of a processing example 7; セル内の情報ドットの配置候補位置を8か所配置した実施例である。This is an embodiment in which eight information dot placement candidate positions are arranged in a cell. 1つのセル内のドットの配置配置位置8か所を例示する図である。It is a figure which illustrates eight arrangement | positioning arrangement positions of the dot in one cell. QRコードの仕様にしたがって求めたセルの中央の座標位置が、セルの本来の中央からずれる画像の例である。This is an example of an image in which the coordinate position of the center of the cell obtained according to the QR code specification is shifted from the original center of the cell. 第2のコードの向きとバウンディングボックスを示した図である。FIG. 10 is a diagram illustrating a direction of a second code and a bounding box. ドットコードが形成された明色セルの例である。It is an example of the bright cell in which the dot code was formed. セルを撮像した画像の例である。It is an example of the image which imaged the cell. セルを撮像した画像の例である。It is an example of the image which imaged the cell. セルを撮像した画像を2値化した例である。This is an example in which an image obtained by imaging a cell is binarized. セルを撮像した画像を2値化した例である。This is an example in which an image obtained by imaging a cell is binarized. 画像を2値化する処理例である。It is an example of a process which binarizes an image. 情報ドットの中心座標値がバウンディングボックス内に納まっていることを例示する図である。It is a figure which illustrates that the center coordinate value of an information dot is contained in the bounding box. 情報ドットの中心座標値がバウンディングボックス内に納まっていることを例示する図である。It is a figure which illustrates that the center coordinate value of an information dot is contained in the bounding box. 暗色セルのみに基準ドットを配置してドットコードを形成した複合コードの例である。This is an example of a composite code in which a dot code is formed by arranging reference dots only in dark cells. 第1のコードによってセルの中央として求められた座標位置がセルの本来の中央からずれている画像の例である。It is an example of an image in which the coordinate position obtained as the center of the cell by the first code is shifted from the original center of the cell. 複合コードの一部を示した実施例である。It is the Example which showed a part of compound code. セル内の情報ドットの配置候補位置を設定し、中央に基準ドットを配置した実施例である。This is an embodiment in which an information dot arrangement candidate position in a cell is set and a reference dot is arranged in the center. 第1のコードによってセルの中央として求められた座標位置がセルの本来の中央からずれている画像の例である。It is an example of an image in which the coordinate position obtained as the center of the cell by the first code is shifted from the original center of the cell. 第2のコードの向きとバウンディングボックスを示した図である。FIG. 10 is a diagram illustrating a direction of a second code and a bounding box. 複合コードの一部を示した実施例である。It is the Example which showed a part of compound code. 第1のコードによってセルの中央として求められた座標位置がセルの本来の中央からずれている画像の例である。It is an example of an image in which the coordinate position obtained as the center of the cell by the first code is shifted from the original center of the cell. 複合コードの一部を示した実施例である。It is the Example which showed a part of compound code. 明色セルを縦横4分割して情報分割セルの配置候補位置と基準ドットを配置した実施例である。This is an embodiment in which the bright cell is divided into four parts in the vertical and horizontal directions, and the candidate positions of the information division cells and the reference dots are arranged. 第1のコードによってセルの中央として求められた座標位置がセルの本来の中央からずれている画像の例である。It is an example of an image in which the coordinate position obtained as the center of the cell by the first code is shifted from the original center of the cell. 第2のコードの向きとバウンディングボックスを示した図である。FIG. 10 is a diagram illustrating a direction of a second code and a bounding box. 複合コードの一部を示した実施例である。It is the Example which showed a part of compound code. 明色セルを縦横5分割して情報分割セルの配置候補位置と基準分割セルを配置した実施例である。This is an embodiment in which a light color cell is divided into 5 parts vertically and horizontally to arrange the candidate positions of information division cells and reference division cells. 第1のコードによってセルの中央として求められた座標位置がセルの本来の中央からずれている画像の例である。It is an example of an image in which the coordinate position obtained as the center of the cell by the first code is shifted from the original center of the cell. 第2のコードの向きとバウンディングボックスを示した図である。FIG. 10 is a diagram illustrating a direction of a second code and a bounding box. 複合コードの一部を示した実施例である。It is the Example which showed a part of compound code. 明色セルを縦横5分割して情報分割セルの配置候補を配置した実施例である。This is an embodiment in which a light color cell is divided into 5 parts vertically and horizontally to arrange information division cell placement candidates. 第1のコードによってセルの中央として求められた座標位置がセルの本来の中央からずれている画像の例である。It is an example of an image in which the coordinate position obtained as the center of the cell by the first code is shifted from the original center of the cell. 第2のコードの向きとバウンディングボックスを示した図である。FIG. 10 is a diagram illustrating a direction of a second code and a bounding box. 情報分割セルの配置候補位置を上下左右に隣り合わないように12か所配置した実施例である。This is an embodiment in which 12 information division cell arrangement candidate positions are arranged so as not to be adjacent to each other vertically and horizontally. バウンディングボックスについて示す図である。It is a figure shown about a bounding box. バウンディングボックスを移動させた状態を示す図(1)である。It is a figure (1) which shows the state which moved the bounding box. バウンディングボックスを移動させた状態を示す図(2)である。It is a figure (2) which shows the state which moved the bounding box. バウンディングボックスを移動させた状態を示す図(3)である。It is a figure (3) which shows the state where the bounding box was moved. バウンディングボックスを移動させた状態を示す図(4)である。It is a figure (4) which shows the state which moved the bounding box. バウンディングボックスを移動させた状態を示す図(5)である。It is a figure (5) which shows the state which moved the bounding box. バウンディングボックスを移動させた状態を示す図(6)である。It is a figure (6) which shows the state which moved the bounding box. バウンディングボックスを移動させた状態を示す図(7)である。It is a figure (7) which shows the state which moved the bounding box. バウンディングボックスを移動させた状態を示す図(8)である。It is a figure (8) which shows the state which moved the bounding box. 基準パターンを有する複合コードの実施例である。It is an Example of the composite code | cord | chord which has a reference | standard pattern. 基準パターンを2個のセルに分けて配置した複合コードの実施例である。This is an example of a composite code in which a reference pattern is divided into two cells. 基準パターンを有する複合コードの実施例である。It is an Example of the composite code | cord | chord which has a reference | standard pattern. 明色および/または暗色のセルの所定間隔毎に基準パターンを複数配置した複合コードの実施例である。This is an example of a composite code in which a plurality of reference patterns are arranged at predetermined intervals of light and / or dark cells. 基準ドットと基準分割セルによる基準パターンを配置した複合コードの実施例である。It is an Example of the composite code which has arrange | positioned the reference pattern by a reference | standard dot and a reference | standard division | segmentation cell. 2個のセルに基準分割セルを配置して基準パターンとした複合コードの実施例である。This is an example of a composite code in which reference divided cells are arranged in two cells to form a reference pattern. ディレクションドットを加え、第2のコードの向きを設定した複合コードの実施例である。This is an example of a composite code in which direction dots are added and the direction of the second code is set. 基準パターンを構成する基準ドットの配置を変えて、第2のコードの向きを設定した複合コードの実施例である。This is an example of a composite code in which the orientation of the second code is set by changing the arrangement of the reference dots constituting the reference pattern.

以下、図面を参照して、一実施形態に係る情報処理装置について説明する。以下の実施形態の構成は例示であり、本情報処理装置は実施形態の構成には限定されない。
[比較例]
Hereinafter, an information processing apparatus according to an embodiment will be described with reference to the drawings. The configuration of the following embodiment is an exemplification, and the information processing apparatus is not limited to the configuration of the embodiment.
[Comparative example]

図1に、QRコードの構造を例示する。QRコードは、位置検出パターン(ファインダパターン)、アライメントパターン、タイミングパターン、フォーマット情報、データ及び誤り訂正符号を含む。ファインダパターンは、データの切り出し・傾きなどを検出するときに用いられる。アライメントパターンは、歪みによって生じる各セルの位置ずれを補正するときに用いられる。タイミングパターンは、白セルと黒セルが交互に配置され、シンボル内のモジュール座標を決定するのに使用される。フォーマット情報は、使用されている誤り訂正率とマスクパターンに関する情報を格納する。上記で述べたパターンあるいは情報が配置される領域以外の領域で、図1に斜線で示した領域に、データと誤り訂正符号が配置される。   FIG. 1 illustrates the structure of a QR code. The QR code includes a position detection pattern (finder pattern), an alignment pattern, a timing pattern, format information, data, and an error correction code. The finder pattern is used to detect data cutout / tilt. The alignment pattern is used when correcting the positional deviation of each cell caused by distortion. In the timing pattern, white cells and black cells are alternately arranged and used to determine module coordinates in the symbol. The format information stores information on the error correction rate and mask pattern used. Data and error correction codes are arranged in the area other than the area where the pattern or information described above is arranged, and in the area indicated by hatching in FIG.

図2は、情報セルの一部をさらに細分化したサブセルを含むQRコードの構造を例示する。図のように、細分化されたサブセルは、セルを横方向および縦方向にそれぞれ4分割し、1つのセルを16分割した構造を有する。そして、セルが16分割されたサブセルの領域のうち、例えば、4隅のセルおよび中央の4個のセルを除く残り8個のサブセル(図2で、グレーで例示)に暗色を付与することにより、元々明暗2ビットの情報を8箇所、合計8ビットの情報に増加させる。   FIG. 2 illustrates the structure of a QR code including a subcell obtained by further subdividing a part of the information cell. As shown in the figure, the subcells that have been subdivided have a structure in which the cell is divided into four parts in the horizontal and vertical directions, and one cell is divided into 16 parts. And, by assigning dark color to the remaining 8 subcells (illustrated in gray in FIG. 2) except for the cell at the four corners and the four cells at the center, among the subcell areas divided into 16 cells. The information of the original 2 bits of light and dark is increased to 8 pieces of information in a total of 8 locations.

しかしながら、図2の構成では、サブセルSC1とSC2のように、隣接する2つのサブセルが一体となって1つの同一色の領域となることが生じ得る。また、サブセルSC1とSC3のように、四隅のうちの1点で、2つの暗色の領域が接触することが生じ得る。また、サブセルSC1からSC8のすべてが、隣接するセルに接触している。したがって、サブセルSC1からSC8のいずれかに(例えば、サブセルSCk)、隣接するセルと同一色が指定された場合には、サブセルSCkと、隣接するセルとが一体となって同一色の連続する領域となることが生じ得る。   However, in the configuration of FIG. 2, like the subcells SC1 and SC2, two adjacent subcells may be integrated into one region of the same color. Further, as in the subcells SC1 and SC3, two dark areas may come into contact with each other at one of the four corners. Also, all of the subcells SC1 to SC8 are in contact with adjacent cells. Therefore, when the same color as an adjacent cell is designated in any one of the subcells SC1 to SC8 (for example, the subcell SCk), the subcell SCk and the adjacent cell are integrated into a continuous region of the same color. Can occur.

このように、複数の暗色の領域が接続すると、読み取り分解能の限界では、単独のサブセルと、複数のサブセルの集まりとの識別が困難となる場合がある。一方、サブセルSC1に対して、サブセルSC4からSC8を組み合わせた場合のように、少なくとも1つの明色の領域を挟んで配置された暗色のサブセルの組み合わせによる情報表現では、それぞれ単独の暗色のサブセルが明色の領域で区分され、暗色の領域の輪郭が識別しやすくなる。したがって、少なくとも1つの明色の領域を挟んで配置された複数の暗色のサブセルの組み合わせは、読み取り分解能の限界においても、読み取り困難性が少ないとも言える。しかしながら、このように限定を追加することで、表現可能なビット数が低減する。   As described above, when a plurality of dark areas are connected, it may be difficult to distinguish between a single subcell and a group of a plurality of subcells at the limit of reading resolution. On the other hand, in the case of information representation using a combination of dark subcells arranged with at least one light color region sandwiched between subcells SC4 to SC8 with respect to subcell SC1, each single dark color subcell has It is divided by the light color area, and the outline of the dark color area can be easily identified. Therefore, it can be said that the combination of a plurality of dark subcells arranged with at least one light color region sandwiched there is little difficulty in reading even at the limit of reading resolution. However, by adding the limitation in this way, the number of bits that can be expressed is reduced.

例えば、仮に16個のサブセルに暗色の領域と明色の領域を配置する場合、サブセル以外の本来の暗色のセル(QRコードの黒セルなど)と区別するため、上記特許文献1では、暗色のサブセルは、1つのセル内に25%しか配置できないとされている。したがって、16個のサブセルのうち、最大4個のサブセルを暗色のセルとすることができ、定義可能なサブセルの配置の組み合わせは、16161616=1,820+560+120+16=2,516通りとなる。さらに、分割されたサブセルが無い場合を考慮すると、背景が白色の場合(つまり、1個も黒色の分割セルが無い場合)の1通り、背景が黒色の場合(つまり、1個も白色のサブセルが無い場合)の1通りが追加される。 For example, in the case where a dark color area and a light color area are arranged in 16 sub-cells, in order to distinguish the original dark-colored cells other than the sub-cells (such as a black cell of QR code), in Patent Document 1, the dark Only 25% of subcells can be arranged in one cell. Therefore, a maximum of 4 subcells among the 16 subcells can be dark cells, and the combinations of subcell layouts that can be defined are 16 C 4 + 16 C 3 + 16 C 2 + 16 C 1 = 1,820 + 560 + 120 + 16 = 2,516. Further, considering the case where there are no divided subcells, one case where the background is white (that is, no black divided cells), and the case where the background is black (that is, all white subcells). (If there is no) is added.

この追加により、サブセルの配置の組み合わせは、理論上2,517通りとなる。したがって、図2のサブセルによる情報量は、11ビット<16161616+2<12ビットとなる。ただし、上記特許文献1では、情報設定可能なサブセル(可変部)を図2のSC1からSC8の8箇所に限定し、合計70通りの配色パターンによってデータを記録可能としている。上記特許文献1では、このような限定により、QRコードリーダーで拡張セルの色を確実に識別し得るようにしている。
[実施形態]
本実施形態では上記比較例の問題を改善する情報表現が提案される。
<複合コード>
本実施形態では、QRコードで例示される第1のコードと、第1のコード内のドットパターンで例示される第2コードとによって定義される複合コードによって情報を表現する。本実施形態では、第1のコードとしてQRコードを例示するが、第1のコードがQRコードに限定される訳ではない。第1のコードは、例えば、1次元のバーコードでもよいし、文字列で表現されるコードでもよい。また、本実施形態では、第2のコードとして、ドットパターンで表現されるコードが例示されるが、第2のコードがドットパターンによるコード(ドットコードともいう)に限定される訳ではない。
<第2のコードの構成例>
With this addition, there are theoretically 2,517 combinations of subcell arrangements. Accordingly, the information amount of the subcells of Figure 2, a 11-bit <16 C 4 + 16 C 3 + 16 C 2 + 16 C 1 +2 <12 bits. However, in the above-mentioned patent document 1, subcells (variable parts) in which information can be set are limited to eight locations SC1 to SC8 in FIG. In the above-mentioned Patent Document 1, due to such a limitation, the color of the extended cell can be reliably identified by the QR code reader.
[Embodiment]
In this embodiment, an information expression that improves the problem of the comparative example is proposed.
<Composite code>
In the present embodiment, information is expressed by a composite code defined by a first code exemplified by a QR code and a second code exemplified by a dot pattern in the first code. In the present embodiment, a QR code is exemplified as the first code, but the first code is not limited to the QR code. The first code may be, for example, a one-dimensional barcode or a code expressed by a character string. In the present embodiment, a code expressed by a dot pattern is exemplified as the second code, but the second code is not limited to a code by a dot pattern (also referred to as a dot code).
<Configuration example of second code>

図3に、第2のコードをサブセルよりも小さいドットで表現するパターンを例示する。以下、第2のコードが設定されるセルを特定セルと呼ぶ。図3の例では、16個のサブセルの中心に、サブセルよりも小さな面積のドットを配置している。すなわち、図3の例では、16個のサブセルの中心が仮想点となっている。そして、仮想点にドットを配置するか、しないかで情報が表現される。ドットがマークの一例である。なお、図3では、サブセルの中心にドットを配置しているが、ドットの位置がサブセルの中心に限定される訳ではない。したがって、図3では、特定セルにおける座標情報を有する位置に1以上の仮想点を任意に設定していると言える。また、図3では、仮想点にドットを配置するか、しないかで情報が表現されるので、仮想点を基にしてマークを配置して数値データが定義されるといえる。   FIG. 3 illustrates a pattern in which the second code is expressed by dots smaller than the subcell. Hereinafter, the cell in which the second code is set is referred to as a specific cell. In the example of FIG. 3, a dot having a smaller area than the subcell is arranged at the center of the 16 subcells. That is, in the example of FIG. 3, the center of 16 subcells is a virtual point. Information is expressed by whether or not dots are arranged at virtual points. A dot is an example of a mark. In FIG. 3, the dot is arranged at the center of the subcell, but the position of the dot is not limited to the center of the subcell. Therefore, in FIG. 3, it can be said that one or more virtual points are arbitrarily set at positions having coordinate information in a specific cell. Further, in FIG. 3, since information is expressed by whether or not dots are arranged at virtual points, it can be said that numerical data is defined by arranging marks based on virtual points.

例えば、セルの寸法を0.25mm×0.25mmとすると、16分割されたサブセルの寸法は、0.0625mm×0.0625となる。一方、600dpiの解像度のプリンタで印刷可能な最小寸法は、25.4mm/600=0.042mm×0.042mmであり、印刷時のインクの染みだし等による輪郭の変位を考慮しても、0.05mm×0.05mm未満(に収まることが経験的に分かっている。当然であるが、印刷の精度が高ければ、0.042mm×0.042mmに近づくことは言うまでもない。なお、さらに高い解像度、例えば、1200dpiの解像度のプリンタで印刷する場合には、さらに、精細な印刷が可能となる。   For example, if the cell size is 0.25 mm × 0.25 mm, the size of the 16 sub-cells is 0.0625 mm × 0.0625. On the other hand, the minimum size that can be printed by a printer with a resolution of 600 dpi is 25.4 mm / 600 = 0.042 mm × 0.042 mm, and even if the displacement of the contour due to ink oozing out during printing is taken into consideration, it is 0. It is empirically known that it is less than 0.05 mm × 0.05 mm. (Of course, if the printing accuracy is high, it goes without saying that it approaches 0.042 mm × 0.042 mm. Note that the resolution is higher.) For example, when printing with a printer having a resolution of 1200 dpi, finer printing is possible.

図3の例では、セル面積は0.25×0.25=0.0625平方mmとなり、最大8個のドットによる面積は、0.0249×0.0249×3.14×8=0.0156平方mmとなる。この場合、通常の高精度の印刷機でドットを印刷した場合、良好でないケースであっても、セル面積に占めるドットの面積の割合は、24.96%となり、上記特許文献1の25%に概ね近い値となる。したがって、図3のドットパターンでは、16161616+2=2,517通りのパターンの選択が可能となる。図3のドットパターンは、第1のコードの読取りに障害のないマークということができる。 In the example of FIG. 3, the cell area is 0.25 × 0.25 = 0.0625 square mm, and the area of up to eight dots is 0.0249 × 0.0249 × 3.14 × 8 = 0.156. Square mm. In this case, when dots are printed by a normal high-precision printing machine, even if the case is not good, the ratio of the dot area to the cell area is 24.96%, which is 25% of the above-mentioned Patent Document 1. It is almost the same value. Thus, the dot pattern of FIG. 3, 16 C 4 + 16 C 3 + 16 C 2 + 16 selects the C 1 + 2 = 2,517 types of patterns is possible. The dot pattern in FIG. 3 can be said to be a mark that does not interfere with reading the first code.

図2のサブセルと比較した図3のドットの特徴は、ドットとドットの間に、明色の領域が存在することにある。すなわち、上記比較例のように、図2のサブセルの場合には、隣接する2つのサブセル同士、あるいは、サブセルと隣接するセルとの間に同一色が設定され、その結果、同一色の領域が連続し、あるいは一体となる。すると、読み取り分解能の限界では、単独のサブセルと、複数のサブセルの集まりとの識別が困難となる場合がある。一方、図3の構成では、暗色のドットが明色の領域で明瞭に区分され、読み取り分解能の限界でも、暗色のドットの識別がしやすくなる。図3のドットパターンは、マーク同士が接触する配置が除外されているパターンの一例と言える。また、図3のドットパターンでは、マークが、特定セルと特定セルに隣接するセルとの境界に接触する配置が除外されていると言える。なお、暗色の一例として黒色を例示でき、明色の一例として白色を例示できるが、本実施形態においてコード、パターンあるいはマークに用いる色が、黒色と白色に限定される訳ではない。例えば、暗色のセルが黒色のセルに限定される訳でもなく、明色のセルが白色のセルに限定される訳でもない。   A feature of the dot of FIG. 3 compared to the subcell of FIG. 2 is that a light-colored region exists between the dots. That is, as in the comparative example, in the case of the subcell of FIG. 2, the same color is set between two adjacent subcells or between the subcell and the adjacent cell. Continuous or united. Then, at the limit of reading resolution, it may be difficult to distinguish between a single subcell and a group of a plurality of subcells. On the other hand, in the configuration of FIG. 3, the dark dots are clearly divided in the light color region, and the dark dots can be easily identified even at the limit of the reading resolution. The dot pattern in FIG. 3 can be said to be an example of a pattern in which the arrangement in which the marks are in contact is excluded. Further, in the dot pattern of FIG. 3, it can be said that the arrangement in which the mark contacts the boundary between the specific cell and the cell adjacent to the specific cell is excluded. In addition, although black can be illustrated as an example of a dark color and white can be illustrated as an example of a light color, the color used for a code | cord | chord, a pattern, or a mark in this embodiment is not necessarily limited to black and white. For example, a dark cell is not limited to a black cell, and a light cell is not limited to a white cell.

図4に、第2のコードの他の例を示す。図4は、セルを9分割した領域の中心にドットを3行3列で配置した例である。すなわち、図4の例でも、9個のサブセルの中心が仮想点となっている。そして、仮想点にドットを配置するか、しないかで情報が表現される。   FIG. 4 shows another example of the second code. FIG. 4 shows an example in which dots are arranged in 3 rows and 3 columns in the center of an area obtained by dividing a cell into nine. That is, also in the example of FIG. 4, the center of nine subcells is a virtual point. Information is expressed by whether or not dots are arranged at virtual points.

今、図3と同様、セルの寸法を0.25mm×0.25mmとし、ドットの直径を0.5mmとすると、ドットとドットとの境界線の間隔は、0.25/3−0.05=0.03mmとなり、図3の場合よりもさらに、ドット間の距離が拡がり、ドットとドットの識別が容易となる。図4の場合も、最大8個のドットを配置したとき、セル面積に占めるドットの面積の割合は、25.12%となり、上記特許文献1の条件に概ね近い値となる。また、図4のドットが表現可能な情報量は、()*2=(9+36+84+126)*2=510通りとなり、概ね9ビットに近づく。図4のドットパターンは、マーク同士が接触する配置が除外されているパターンの一例と言える。また、また、図4のドットパターンでは、マークが、特定セルと特定セルに隣接するセルとの境界に接触する配置が除外されていると言える。したがって、図4のドットパターンも、第1のコードの読取りに障害のないマークということができる。 Now, as in FIG. 3, when the cell size is 0.25 mm × 0.25 mm and the dot diameter is 0.5 mm, the boundary between the dots is 0.25 / 3−0.05. = 0.03 mm, which further increases the distance between the dots as compared with the case of FIG. 3, and makes it easy to identify the dots. Also in the case of FIG. 4, when a maximum of 8 dots are arranged, the ratio of the dot area to the cell area is 25.12%, which is a value substantially close to the condition of Patent Document 1. Further, dots can express information of FIG. 4, (9 C 1 + 9 C 2 + 9 C 3 + 9 C 4) * 2 = (9 + 36 + 84 + 126) * 2 = become 510 kinds, generally closer to 9 bits. The dot pattern in FIG. 4 can be said to be an example of a pattern in which the arrangement where the marks are in contact with each other is excluded. Further, in the dot pattern of FIG. 4, it can be said that the arrangement in which the mark contacts the boundary between the specific cell and the cell adjacent to the specific cell is excluded. Therefore, the dot pattern of FIG. 4 can also be said to be a mark that does not interfere with the reading of the first code.

図5は、図4の変形例であり、ドットの配置を3列とし、1列目に3個、2列目に2個、3列目に3個のドットを配置したものである。そして、2列目のドットの行方向位置が1行目と2行目の間、および2行目と3行目の間となるようにドットが配置されている。すなわち、図5の例でも、1列目に3個9のサブセルの中心、3列目に3個のサブセル中心、および2列目の1行目と2行目の境界線L1とその境界線に直交するセルの中心を通る縦線(一点鎖線で例示)との交点、および、2列目の2行目と3行目の境界線L2と上記縦線との交点が、それぞれが仮想点となっている。そして、仮想点にドットを配置するか、しないかで情報が表現される。   FIG. 5 is a modification of FIG. 4, in which the dot arrangement is three rows, and three dots are arranged in the first row, two dots are arranged in the second row, and three dots are arranged in the third row. The dots are arranged so that the position in the row direction of the dots in the second column is between the first and second rows and between the second and third rows. That is, also in the example of FIG. 5, the center of 3 subcells in the first column, the center of 3 subcells in the 3rd column, the boundary line L1 in the 1st row and the 2nd row in the 2nd column, and its boundary line An intersection with a vertical line (illustrated by an alternate long and short dash line) that passes through the center of the cell orthogonal to, and an intersection between the second row and third row boundary line L2 in the second column and the vertical line are respectively virtual points. It has become. Information is expressed by whether or not dots are arranged at virtual points.

したがって、図5の場合には、図4よりもさらに、ドット間の距離が拡がり、ドットとドットの識別が容易となる。図4の場合も、最大8個のドットを配置したとき、セル面積に占めるドットの面積の割合は、25.12%となり、上記特許文献1の条件に概ね近い値となる。また、図4のドットが表現可能な情報量は、()*2=(8+28+56+70)*2=324通りとなり、7ビット以上8ビット未満となる。図5のドットパターンは、マーク同士が接触する配置が除外されているパターンの一例と言える。また、図5のドットパターンでは、マークが、特定セルと特定セルに隣接するセルとの境界に接触する配置が除外されていると言える。したがって、図5のドットパターンの、第1のコードの読取りに障害のないマークということができる。 Therefore, in the case of FIG. 5, the distance between the dots is further increased than in FIG. 4, and the identification between the dots becomes easier. Also in the case of FIG. 4, when a maximum of 8 dots are arranged, the ratio of the dot area to the cell area is 25.12%, which is a value substantially close to the condition of Patent Document 1. Further, it dots amount of information that can be represented in Figure 4, (8 C 1 + 8 C 2 + 8 C 3 + 8 C 4) * 2 = (8 + 28 + 56 + 70) * 2 = become 324 kinds, less than 8 bits 7 bits or more It becomes. The dot pattern in FIG. 5 can be said to be an example of a pattern in which an arrangement in which marks contact each other is excluded. Further, in the dot pattern of FIG. 5, it can be said that the arrangement in which the mark contacts the boundary between the specific cell and the cell adjacent to the specific cell is excluded. Therefore, it can be said that the dot pattern of FIG.

図6に、第2のコードのさらに他の例を示す。図6の例では、1つのセル内に仮想点(X1,Y1)が設定される。仮想点(X1,Y1)は、例えば、セルの左下点を原点(0,0)としたときの座標値で指定される。ただし、仮想点の位置に仮想点を示すマークが付される訳ではない。なお、仮想点の位置に基準点を示すマークを配置してもよい。そして、仮想点を中心に、半径dの仮想的な円周上に、所定の角度θ、例えば、45度間隔で、ドットを配置することで情報を定義できる。この場合、距離dを固定したとすると、ドット数を1個に限定すると、1つの仮想点の周りに3ビット情報を定義できる。また、最大8個のドットを使用する場合に表現可能な情報量は、図5の場合と同様である。したがって、また、図6では、仮想点を基にしてマークを配置して数値データが定義されるといえる。図6のドットパターンは、マーク同士が接触する配置が除外されているパターンの一例と言える。また、図6のドットパターンでは、マークが、特定セルと特定セルに隣接するセルとの境界に接触する配置が除外されていると言える。また、図6でも、仮想点は、セル内に任意に設定できる。したがって、特定セルにおける座標情報を有する位置に1以上の仮想点を任意に設定していると言える。また、図6のドットパターンは、仮想点を起点としてマークが配置される方向および距離の少なくとも1つにより、数値データの一部が定義される一例と言える。   FIG. 6 shows still another example of the second code. In the example of FIG. 6, virtual points (X1, Y1) are set in one cell. The virtual point (X1, Y1) is specified by, for example, a coordinate value when the lower left point of the cell is the origin (0, 0). However, a mark indicating a virtual point is not attached to the position of the virtual point. A mark indicating the reference point may be arranged at the position of the virtual point. Then, information can be defined by arranging dots at a predetermined angle θ, for example, at an interval of 45 degrees, on a virtual circumference having a radius d around the virtual point. In this case, assuming that the distance d is fixed, 3-bit information can be defined around one virtual point when the number of dots is limited to one. The amount of information that can be expressed when using a maximum of 8 dots is the same as in FIG. Therefore, in FIG. 6, it can be said that numerical data is defined by arranging marks based on virtual points. The dot pattern in FIG. 6 can be said to be an example of a pattern in which the arrangement where the marks are in contact with each other is excluded. Further, in the dot pattern of FIG. 6, it can be said that the arrangement in which the mark contacts the boundary between the specific cell and the cell adjacent to the specific cell is excluded. Also in FIG. 6, virtual points can be arbitrarily set in a cell. Therefore, it can be said that one or more virtual points are arbitrarily set at a position having coordinate information in a specific cell. 6 can be said to be an example in which a part of numerical data is defined by at least one of a direction and a distance in which a mark is arranged starting from a virtual point.

以上のように、本実施形態では、比較例の1次元のバーコード、あるいは、QRコードのような2次元コードに対して、コードが採用するセルまたはセルを分割したサブセルを暗色で塗りつぶす代わりに、暗色の周囲が明色で囲まれるドットを採用する。このようなドットを例えば明色のセル内に配置することで、比較例のコードよりも高密度で、セル内に第2のコードを定義できる。
なお、読み取り装置の読み取り分解能は様々であるが、一般的には、ドットの面積の合計が特定セルの面積に対して50%前後だと、識別可能な2以上の色(QRコード等の白色と黒色を使用する場合は、白いセルと黒いセル)のどちらであると判定するかが分からないので好ましくない。一般的には、33%以下(3分の1)であれば、特定セルが当該セルであると判定される。25%以下であれば、さらに好ましい。
As described above, in the present embodiment, instead of painting a cell used by the code or a subcell obtained by dividing the cell with a dark color with respect to the one-dimensional barcode of the comparative example or the two-dimensional code such as the QR code. Adopt dots that are surrounded by light colors around dark colors. By arranging such dots in a light cell, for example, the second code can be defined in the cell with a higher density than the code of the comparative example.
Although the reading resolution of the reading device varies, in general, when the total area of dots is around 50% of the area of a specific cell, two or more colors that can be identified (white such as a QR code). When black and black are used, it is not preferable because it is not known whether the cell is determined to be a white cell or a black cell. Generally, if it is 33% or less (1/3), it is determined that the specific cell is the cell. If it is 25% or less, it is more preferable.

なお、図3から図6では、暗色の周囲が明色で囲まれるドットを配置する複合コードを例示したが、暗色のセル内に明色のドットを配置する場合も同様である。この場合、明色のドットが暗色の領域で明瞭に区分され、読み取り分解能の限界でも、明色のドットの識別がしやすくなる。
<第1のコード内での第2のコードの配置位置>
3 to 6 exemplify the composite code in which the dots in which the periphery of the dark color is surrounded by the light color are illustrated, but the same applies to the case where the light color dots are disposed in the dark cell. In this case, the light dots are clearly divided in the dark area, and the light dots can be easily identified even at the limit of the reading resolution.
<Arrangement position of second code in first code>

以下、図7から図11により、第1のコード内での第2のコードの配置位置について、QRコードを第1のコードとして説明する。ここで、第1のコード内での第2のコードの配置位置とは、第1のコードがQRコードのように、暗色のセルと明色のセルの組み合わせによって情報が表現される場合に、第2のコードが定義されるセル(上述のように特定セルという)の位置をいう。ここで、QRコードを第1のコードとすることは例示であり、第1のコードがQRコードに限定される訳ではない。   Hereinafter, with reference to FIGS. 7 to 11, the arrangement position of the second code in the first code will be described using the QR code as the first code. Here, the arrangement position of the second code in the first code is a case where information is expressed by a combination of a dark cell and a light cell, as in the case where the first code is a QR code. It refers to the position of a cell (referred to as a specific cell as described above) in which the second code is defined. Here, using the QR code as the first code is merely an example, and the first code is not limited to the QR code.

本実施の形態のQRコードでは、左上を原点にして水平右方向をx方向、垂直下方向をy方向とし、位置情報(x, y)は、自然数 m, nを用いて、x=0,1,2〜m, y=0,1,2〜n のように、表現する。一方、QRコードのデータ(第1のコード)は、右下からスタートしてデータが配置されていく。本実施の形態では、X方向のセル2つ分を基準として、右から左にデータが配置されていく。   In the QR code of the present embodiment, the upper left is the origin, the horizontal right direction is the x direction, the vertical lower direction is the y direction, and the position information (x, y) uses natural numbers m, n, x = 0, It is expressed as 1,2-m, y = 0,1,2-n. On the other hand, data of the QR code (first code) is arranged starting from the lower right. In this embodiment, data is arranged from right to left with reference to two cells in the X direction.

図7は、データ及び誤り訂正符号配置領域の明色のセル(図で白いセル)のみに第2のコードを配置した例である。図7で、第2のコードが形成される明色のセルには、1から178の通し番号が付されている。この通し番号は、本実施形態での説明上、各セル内のドットの配置による第2のコードを識別するための符号であって、実際のセルに形成されるパターン(図形形状)ではない。   FIG. 7 shows an example in which the second code is arranged only in light cells (white cells in the figure) in the data and error correction code arrangement area. In FIG. 7, serial numbers 1 to 178 are assigned to light cells in which the second code is formed. This serial number is a code for identifying the second code based on the arrangement of dots in each cell, and is not a pattern (graphic shape) formed in an actual cell, for the explanation in this embodiment.

ただし、この通し番号は、第2のコードが付されるセルに付与されるユニークな識別情報ということができ、例えば、複合コードを生成する生成装置、あるいは、複合コードを読み取る読み取り装置における情報処理で使用される番号として理解できる。番号が付された各セルには、図3から図6で例示されるドットによる第2のコードが形成される。以下、セル内のドットによる第2のコードを表現する形状をドットパターンということにする。図7から図11の各図で、各セルに付される番号は、セル内のドットパターンを識別する番号ということができる。   However, this serial number can be referred to as unique identification information given to the cell to which the second code is attached. For example, in the information processing in the generating device that generates the composite code or the reading device that reads the composite code. It can be understood as the number used. Each numbered cell is formed with a second code using dots exemplified in FIGS. 3 to 6. Hereinafter, the shape expressing the second code by the dots in the cell is referred to as a dot pattern. In each of FIGS. 7 to 11, the number assigned to each cell can be referred to as a number for identifying the dot pattern in the cell.

図7では、第1のコードの配置の順序と同様の順序で第2のコードを配置させたものである。すなわち、QRコードのセルのうち、右下からスタートしてX方向のセル2つ分を横並びにして、最初に右側のセル、次に左側のセルの順で走査し、明色のセル内に暗色のドットによる第2のコードを設定する。第2のコードとしては、例えば、図3から図6のものが例示される。ただし、第2のコードが図3から図6のものに限定される訳ではない。   In FIG. 7, the second code is arranged in the same order as the arrangement order of the first code. That is, among the cells of QR code, two cells in the X direction starting from the lower right are arranged side by side, scanning in the order of the right cell and then the left cell, and in the light cell. A second code with dark dots is set. Examples of the second code include those shown in FIGS. 3 to 6. However, the second code is not limited to that shown in FIGS.

上述のように、図7の各セルに付された通し番号は、セル内のドットパターンの種類を特定するものではなく、ドットパターンが付されるセルを識別する情報と理解できる。図5の明色のセルのうち、第2のコードが付されるセルは、特定セルと呼ばれるものの一例と言える。また、図5の明色のセルに付与される識別情報は、特定セルインデックスと呼ぶことにする。特定セルインデックスは、上記の走査順で、各セルの座標値と一対一に対応づけられる識別情報である。特定セルインデックスにより順序付けされた数値データが定義された複数の特定セルから形成されるということができる。また、第2のコードの列は、特定セルインデックスにより相互に識別できる複数の特定セルにより形成されるということができる。   As described above, the serial number assigned to each cell in FIG. 7 does not specify the type of the dot pattern in the cell, but can be understood as information for identifying the cell to which the dot pattern is attached. Among the light-colored cells in FIG. 5, the cell to which the second code is attached can be said to be an example of what is called a specific cell. Also, the identification information given to the light cell in FIG. 5 is called a specific cell index. The specific cell index is identification information associated one-to-one with the coordinate value of each cell in the above scanning order. It can be said that numerical data ordered by a specific cell index is formed from a plurality of specific cells defined. Further, it can be said that the second code string is formed by a plurality of specific cells that can be distinguished from each other by a specific cell index.

なお、複合コード生成時、複合コードの生成装置が、第1のコード、例えば、QRコードのセル走査順と同一の走査順でセルを走査し、ドットパターンによる第2のコードが設定される場合には、複合コードの読み取り装置は、複合コードの生成装置と同一の順序で、セルを走査し、ドットパターンによる第2のコードから情報を復号すればよい。したがって、第1コード、例えば、QRコードのセル走査順と同一の走査順で生成された複合コードは、生成装置から情報を得ることなく、読み取り装置単独で読み取り可能である。読み取り装置が、生成装置と同一の走査順で、特定セルインデックスと、座標とを対応付けすればよいからである。   When generating a composite code, the composite code generation device scans a cell in the same scan order as the cell scan order of the first code, for example, the QR code, and the second code is set based on the dot pattern. In other words, the composite code reader may scan the cells in the same order as the composite code generator and decode the information from the second code based on the dot pattern. Therefore, the first code, for example, a composite code generated in the same scan order as the QR code cell scan order, can be read by the reader alone without obtaining information from the generator. This is because the reading device only needs to associate the specific cell index with the coordinates in the same scanning order as the generation device.

一方、複合コード生成時、複合コードの生成装置が、第1のコード、例えば、QRコードのセル走査順と異なる走査順でセルを走査し、ドットパターンによる第2のコードが設定される場合には、複合コードの読み取り装置が複合コードから情報を復号するためには、特定セルインデックスと座標値とを対応づける情報が必要となる。以下の実施形態では、特定セルインデックスと座標値とを対応づける情報なしに複合コードの読み取り装置が複合コードから情報を復号する処理例と、読み取り装置が特定セルインデックスと座標値とを対応づける情報を付与されて複合コードから情報を復号する処理例が例示される。   On the other hand, when generating a composite code, the composite code generator scans cells in a scan order different from the cell scan order of the first code, for example, the QR code, and the second code is set by the dot pattern. In order for the composite code reader to decode information from the composite code, information that associates the specific cell index with the coordinate value is required. In the following embodiments, a processing example in which a composite code reader decodes information from a composite code without information associating a specific cell index with a coordinate value, and information with which the reader associates a specific cell index with a coordinate value An example of processing for decrypting information from a composite code is given.

また、特定セルインデックスと座標値とを対応づける情報としては、特定セルインデックスと座標値とを直接対応づける場合と、すべてのセルの座標に基準となるインデックスを付与しておき、特定セルインデックスと基準となるインデックスを対応づけることで、特定セルインデックスと座標値とを間接的に対応づける場合が例示される。   As information for associating a specific cell index with a coordinate value, a case where the specific cell index and the coordinate value are directly associated with each other, and adding a reference index to the coordinates of all cells, A case where the specific cell index and the coordinate value are indirectly associated by associating the reference index is exemplified.

複合コードの読み取りでは、第1のコードの読み取りと第2のコードの読み取りを並行して実行する方法と、第1のコードの読み取りと第2のコードの読み取りを分けて2段階で実行する方法がある。第1のコードの読み取りと第2のコードの読み取りを並行して実行する方法では、第1のコードを形成する1つのセルの明色と暗色の判定後で、次のセルの明色と暗色の判定を行う前に、明色と暗色の判定が終了したセルについて、第2のコードを形成するドットパターンの存否が判定される。そして、ドットパターンが存在するセルに対して、ドットパターンの数値への復号が実行される。そして、所定数のセルを組み合わせた数値の集合単位で数値が統合されて、第2のコードが復号される。   In reading the composite code, a method of executing the reading of the first code and the reading of the second code in parallel, and a method of executing the reading of the first code and the reading of the second code separately in two stages There is. In the method of executing the reading of the first code and the reading of the second code in parallel, after the light color and dark color of one cell forming the first code are determined, the light color and dark color of the next cell are determined. Before the determination is made, the presence or absence of the dot pattern forming the second code is determined for the cell for which the light color and dark color determination has been completed. Then, the dot pattern is decoded into a numerical value for the cell in which the dot pattern exists. Then, the numerical values are integrated in units of numerical values obtained by combining a predetermined number of cells, and the second code is decoded.

図8は、ファインダパターン周囲の白いセルにも第2のコードを配置した複合コードの配置例である。図8でも、図7と同様、セルの列(紙面に対して上下方向のセルの並び)が2列ずつ組となっている。そして、最初の2列は、下から上方向に走査したとき、左右のセルのうち、右側のセル優先で、明色のセルに通し番号が付されている。例えば、右端2列のうち、最下行では、左側に明色のセルがあるので、通し番号1が付される。また、下から2行目では、暗色のセルしかないので、通し番号が付されない。さらに、例えば、下から8行目では、左右両方のセルが明色であるので、右側のセル優先で通し番号6と7が付される。以下同様である。また、右から3列目と4列目については、上から下にセルが走査され、左右の2つのセルについては、やはり右側のセル優先で、明色のセルに通し番号が付される。   FIG. 8 shows an arrangement example of the composite code in which the second code is also arranged in the white cells around the finder pattern. Also in FIG. 8, as in FIG. 7, the cell rows (the cell rows in the vertical direction with respect to the paper surface) are in pairs. In the first two columns, when scanning from the bottom to the top, among the left and right cells, the light cell is given a serial number with priority on the right cell. For example, in the bottom row of the two rightmost columns, since there is a light cell on the left side, serial number 1 is assigned. In the second line from the bottom, since there are only dark cells, no serial number is assigned. Further, for example, in the eighth line from the bottom, since both the left and right cells are light colors, serial numbers 6 and 7 are assigned with priority on the right cell. The same applies hereinafter. In the third and fourth columns from the right, the cells are scanned from the top to the bottom, and the left and right cells are given priority to the right cell, and serial numbers are assigned to the light-colored cells.

図9は、図1で説明したファインダパターン及びアライメントパターンを含むすべての白いセルに第2のコードを配置した場合である。したがって、図1で説明したファインダパターンの周囲の明色のセル、タイミングパターン内の明色のセル、およびフォーマット情報中の明色のセルも、図7、図8のデータが配置されるセルと同様に、第2のコードが配置される。   FIG. 9 shows a case where the second code is arranged in all white cells including the finder pattern and the alignment pattern described in FIG. Therefore, the light cells around the finder pattern described in FIG. 1, the light cells in the timing pattern, and the light cells in the format information are also cells in which the data in FIGS. 7 and 8 are arranged. Similarly, the second code is arranged.

図10は、第2のコードが明色のセルだけでなく、暗色のセルに配置する複合コードの例である。この場合も、データ及び誤り訂正符号領域のみでなく、ファインダパターン及びアライメントパターン以外のセルに第2のコードを配置してもよい。また、ファインダパターン及びアライメントパターンを含むすべてのセル(明色のセルと暗色のセル)に第2のコードを配置してもよい。ここで、暗色のセルに第2のコードを配置する場合には、ドットは明色となる。図10では、図5に例示した構成と同様の構成で、特定セルインデックス27の暗色のセルに明色のドットを配置した構成が例示されている。   FIG. 10 is an example of a composite code in which the second code is arranged not only in light cells but also in dark cells. In this case as well, the second code may be arranged not only in the data and error correction code areas but also in cells other than the finder pattern and alignment pattern. Further, the second code may be arranged in all the cells (light color cells and dark color cells) including the finder pattern and the alignment pattern. Here, when the second code is arranged in a dark cell, the dot is light. FIG. 10 illustrates a configuration in which light dots are arranged in dark cells of the specific cell index 27 with the same configuration as that illustrated in FIG.

図11は、第2のコードを構成するセル毎のドットパターンを所定個数の複数セルだけ繰り返した複合コードの配置例である。図11では、1から16の番号でセルの通し番号である特定セルインデックスが繰り返し配置されている。図11では、右下からスタートして、X方向のセル2つ分を基準として、右から左に1〜16の特定セルインデックスに対応するドットパターンが配置されている。このように、所定数の第2のコード(ドットパターン)を繰り返し配置することで、読み取り装置は、第1のコード中の一部(例えば、QRコードの所定数のセル)から、第2のコードを読み取ることが可能となる。図11で例示されるように、所定個数の特セルインデックス(1から16の番号)でひとまとめにされる第2のコードの部分をサブコードと呼ぶ。   FIG. 11 is an example of a composite code arrangement in which the dot pattern for each cell constituting the second code is repeated for a predetermined number of cells. In FIG. 11, specific cell indexes, which are serial numbers of cells with numbers 1 to 16, are repeatedly arranged. In FIG. 11, starting from the lower right, dot patterns corresponding to specific cell indexes 1 to 16 are arranged from the right to the left with reference to two cells in the X direction. In this manner, by repeatedly arranging a predetermined number of second codes (dot patterns), the reading device can perform the second operation from a part of the first code (for example, a predetermined number of cells of the QR code). The code can be read. As illustrated in FIG. 11, a portion of the second code grouped by a predetermined number of special cell indexes (numbers 1 to 16) is called a subcode.

図11の複合コードの場合、セル内の第2のコードの種類を示す番号(例えば、1〜16の番号)と、各セルの位置座標(または、各セルの通し番号)とを関連付けるテーブルが復号コードの生成装置側で生成され、読み取り装置に引き渡されるようにすればよい。ただし、第2のコードの配置規則を予め決めておくことで、読み取り装置側で、第2のコードが設定されたセルに生成装置と同一の規則で通し番号(特定セルインデックス)を生成するようにしてもよい。複合コードの読み取り装置は、上記規則にしたがって、各セル内の第2のコードから読み取った値を通し番号順に並べて数値を統合すればよい。   In the case of the composite code of FIG. 11, a table that associates the number indicating the type of the second code in the cell (for example, a number from 1 to 16) with the position coordinates of each cell (or the serial number of each cell) is decoded. What is necessary is just to make it produce | generate by the code production | generation apparatus side and handing over to the reading apparatus. However, by determining the arrangement rule of the second code in advance, the reading device generates a serial number (specific cell index) in the cell in which the second code is set according to the same rules as the generation device. May be. In accordance with the above rules, the composite code reader may arrange the values read from the second code in each cell in the order of serial numbers and integrate the numerical values.

なお、図11のように、所定数の通し番号(特定セルインデックス)が繰り返して各セルに設定される場合に、各セル内の第2のコード自体も、通し番号(特定セルインデックス)の繰り返しに整合していることが確認できるようにしてもよい。例えば、1〜16の特定セルインデックスが付与されるN個(例えば16個)のセルのうち、先頭のセルには、第2のコードの先頭を示すドットパターンを付与し、末尾のセルには、第2のコードの末尾を示すドットパターンを付与してもよい。   As shown in FIG. 11, when a predetermined number of serial numbers (specific cell indexes) are repeatedly set in each cell, the second code in each cell itself also matches the repetition of the serial number (specific cell index). You may be able to confirm that it is. For example, among N (for example, 16) cells to which a specific cell index of 1 to 16 is assigned, a dot pattern indicating the beginning of the second code is assigned to the first cell, and the last cell is assigned to the last cell. A dot pattern indicating the end of the second code may be added.

図12は、第1のコードの一例であるQRコード内の全ての明色のセルに、所定個数の第2のコードを構成するドットパターンを繰り返し配置した複合コードの配置例である。すなわち、図12は、図11で例示した通し番号(特定セルインデックス)を付与する規則を採用しつつ、全ての明色のセルに第2のコードを配置している。したがって、図12では、図9と同様、QRコード内の全ての明色のセル、すなわち、ファインダパターン、アライメントパターン等の明色のセルに第2のコードを配置可能とされる。   FIG. 12 is an example of a composite code arrangement in which dot patterns constituting a predetermined number of second codes are repeatedly arranged in all light cells in a QR code that is an example of the first code. That is, in FIG. 12, the second code is arranged in all the light cells while adopting the rule for assigning the serial number (specific cell index) illustrated in FIG. Accordingly, in FIG. 12, as in FIG. 9, the second code can be arranged in all light cells in the QR code, that is, light cells such as the finder pattern and the alignment pattern.

この場合、QRコードの読み取り処理と第2のコードの読み取り処理とを並行して実行させる必要はない。例えば、第1のコードの読み取りが完了後、第2のコードの読み取りを行ってもよい。そこで、複合コードの第2のコード生成時および読み取り時に、左上の原点からスタートして下方向にセルが走査され、走査中に検出された明色セルに1〜16のインデックスが付与される。図12の実施例では、セルの座標がX座標の最小値から最大値へ移動するとともに、Y座標の最大値から最小値へ移動し、さらに最小値から最大値へ順に移動する処理が繰り返される。   In this case, it is not necessary to execute the QR code reading process and the second code reading process in parallel. For example, the second code may be read after the first code is read. Therefore, at the time of generating and reading the second code of the composite code, the cell is scanned downward starting from the origin at the upper left, and an index of 1 to 16 is assigned to the light color cell detected during the scanning. In the embodiment of FIG. 12, the process of moving the coordinates of the cell from the minimum value of the X coordinate to the maximum value, moving from the maximum value of the Y coordinate to the minimum value, and further moving from the minimum value to the maximum value is repeated. .

さらに、図12では、特定セルインデックスは、最小値(1)から最大値(16)まで順に付与され、次に、最大値(16)から最小値(1)まで付与されている。この場合、複合コードの生成装置は、この特定セルインデックスに対応するドットパターンを各セルに設定し、複合コードを生成する。一方、複合コードの読み取り装置は、生成装置と同一の手順で、特定セルを検索して、生成装置と同一の規則で特定セルインデックスを設定し、複合コード中のセルの順序を決定し、第2のコードを復号すればよい。   Further, in FIG. 12, the specific cell index is assigned in order from the minimum value (1) to the maximum value (16), and then from the maximum value (16) to the minimum value (1). In this case, the composite code generation device sets a dot pattern corresponding to the specific cell index to each cell, and generates a composite code. On the other hand, the composite code reader searches for a specific cell in the same procedure as the generation device, sets a specific cell index according to the same rules as the generation device, determines the order of the cells in the composite code, and The code of 2 may be decoded.

ただし、QRコード内の全ての白いセルに配置する場合でも、図7から図10で説明したのと同様に、生成装置は、第1のコードの配置順序(QRコードの走査順)と一致させて第2のコードを配置(特定セルインデックスを設定)してもよい。そして、読み取り装置は、QRコードの読み取り処理と第2のコードの読み取り処理とを並行して実行してもよい。   However, even in the case of arrangement in all white cells in the QR code, the generation device matches the arrangement order of the first code (scanning order of the QR code) as described in FIGS. The second code may be arranged (a specific cell index is set). The reading device may execute the QR code reading process and the second code reading process in parallel.

図13は、QRコードの周辺の余白にドットを配置した複合コードの例である。QRコード内の全ての白いセルに加えて、さらに、クワイエットゾーン(QRコードの周りにある空白の部分)に第2のコードを配置可能としてもよい。また、図13の例では、生成装置および読み取り装置は、セルの移動に伴い、特定セルを検索し、第2のコードが設定された特定セルが見出されると、特定セルインデックスの最小値(1)から最大値(16)の範囲で順に設定する。
<セル内のドットパターンの配置>
FIG. 13 is an example of a composite code in which dots are arranged in the margin around the QR code. In addition to all the white cells in the QR code, the second code may be arranged in a quiet zone (a blank portion around the QR code). In the example of FIG. 13, the generation device and the reading device search for a specific cell as the cell moves, and when a specific cell in which the second code is set is found, the minimum value (1 ) To the maximum value (16).
<Disposition of dot pattern in cell>

図14から図23により、第2のコードを形成するセル内のドットパターンの配置について説明する。図14は、仮想点からの距離と方向で情報を定義するドットパターンの配置例である。仮想点からの距離と方向で情報を定義するドットパターンは、図6で例示されたドットパターンである。   The arrangement of the dot pattern in the cell forming the second code will be described with reference to FIGS. FIG. 14 is an arrangement example of dot patterns that define information by distance and direction from a virtual point. The dot pattern that defines information by the distance and direction from the virtual point is the dot pattern illustrated in FIG.

第2のコードは、セル内に仮想点を設定し、仮想点からドットまでの距離dおよび仮想点からドットまでの直線の方向の少なくとも一方で情報を定義する。仮想点の位置は、セルの原点に対して設定される。セルの原点は、例えば、セルの左下点を例示できるが、セルの原点の定義に限定がある訳ではない。図14では、距離dが固定値の場合が例示されている。ただし、距離dとして、複数の値をとることで、情報を定義してもよい。また、図14では、ドットが仮想点の周り(距離d)で、45度単位に配置され、数値データ000から111が定義されている。   The second code sets a virtual point in the cell and defines information in at least one of the distance d from the virtual point to the dot and the direction of the straight line from the virtual point to the dot. The position of the virtual point is set with respect to the origin of the cell. The cell origin can be exemplified by the lower left point of the cell, but the definition of the cell origin is not limited. FIG. 14 illustrates the case where the distance d is a fixed value. However, the information may be defined by taking a plurality of values as the distance d. In FIG. 14, dots are arranged around the virtual point (distance d) in units of 45 degrees, and numerical data 000 to 111 are defined.

なお、セルの方向は、第1のコードで基準となる形状部分、例えば、QRコードのファイダパターン(図1参照)によって決定される。したがって、セル内のドットの仮想点に対して配置される方向は、ファインダパターンで決定される座標軸を基準に設定される。例えば、図14の各セルで、仮想点から右方向の軸を方向の基準とすると、数値000は、方向90度に対応する。また、数値001から数値111は、それぞれ数値000の方向から(例えば、方向90度から)時計回りに、45度単位で回転移動した方向に対応する。   Note that the cell direction is determined by a shape portion serving as a reference in the first code, for example, a QR code finder pattern (see FIG. 1). Accordingly, the direction in which the dots are arranged with respect to the virtual dots of the cells is set with reference to the coordinate axis determined by the finder pattern. For example, in each cell in FIG. 14, when the axis in the right direction from the virtual point is used as the reference of the direction, the numerical value 000 corresponds to the direction 90 degrees. Further, the numerical value 001 to the numerical value 111 respectively correspond to directions rotated in units of 45 degrees clockwise from the direction of the numerical value 000 (for example, from 90 degrees in the direction).

したがって、複合コードを生成する生成装置は、セル内に仮想点を設定し、数値データに対応する距離および方向で定まる位置にドットを形成し、印刷機による印刷、あるいは電子媒体・放送媒体・記憶媒体・通信媒体から画面への出力をすればよい。一方、複合コードを読み取る読み取り装置は、上記第1のコードで基準となる形状部分を基にセル内の仮想点と方向を設定し、仮想点からセル内で検出されたドットに至る距離と方向を認識し、ドットパターンから数値を復号すればよい。   Therefore, a generation device that generates a composite code sets a virtual point in a cell, forms a dot at a position determined by a distance and direction corresponding to numerical data, and performs printing by a printing press, or an electronic medium / broadcast medium / memory. What is necessary is just to output to a screen from a medium and a communication medium. On the other hand, the reading device that reads the composite code sets the virtual point and direction in the cell based on the shape portion that is the reference in the first code, and the distance and direction from the virtual point to the dot detected in the cell And the numerical value may be decoded from the dot pattern.

図15は、仮想点上にドットを配置するか、否かによって情報を定義する例である。仮想点上にドットを配置するか、否かによって情報を定義するドットパターンは、例えば、図3から図5で例示されたドットパターンである。   FIG. 15 is an example in which information is defined depending on whether or not dots are arranged on virtual points. The dot patterns that define information depending on whether or not dots are arranged on virtual points are, for example, the dot patterns illustrated in FIGS.

したがって、複合コードを生成する生成装置は、セル内に仮想点を設定し、数値データに対応する仮想点上にドットを形成し、あるいはドットのない画像を形成し、印刷機による印刷、あるいは電子媒体・放送媒体・記憶媒体・通信媒体から画面への出力をすればよい。一方、複合コードを読み取る読み取り装置は、上記第1のコードで基準となる形状部分を基にセル内の仮想点を設定し、それぞれの仮想点でのドットの有無を認識し、ドットパターンから数値を復号すればよい。さらに、記憶媒体上に複合コードを記憶し、それをプログラムが復号化してもよい。つまり、仮想空間上で復号コードを生成・復号化することができる。   Therefore, a generation device that generates a composite code sets a virtual point in a cell, forms a dot on a virtual point corresponding to numerical data, or forms an image without a dot, and performs printing by a printing press or electronic What is necessary is just to output to a screen from a medium, a broadcast medium, a storage medium, or a communication medium. On the other hand, the reading device that reads the composite code sets a virtual point in the cell based on the shape portion that is the reference in the first code, recognizes the presence or absence of a dot at each virtual point, and calculates a numerical value from the dot pattern. Should be decrypted. Furthermore, the composite code may be stored on a storage medium, and the program may decrypt it. That is, a decryption code can be generated and decrypted in the virtual space.

図16は、図4に例示した第2のコードでの仮想点の設定例である。図16では、セルを3分割×3分割=9分割した領域の中心に、仮想点(Xi,Yj)が設定される。すでに、図4で述べたように、明色のセルに暗色のドットを配置する場合には、9個の仮想点のうち、最大8個の仮想点にドットを配置することで、セル全体として、明色のセルとして判断され、かつ、仮想点に暗色のドットを配置することができる。   FIG. 16 is an example of setting virtual points in the second code illustrated in FIG. In FIG. 16, a virtual point (Xi, Yj) is set at the center of the area obtained by dividing the cell into 3 divisions × 3 divisions = 9 divisions. As already described with reference to FIG. 4, when dark dots are arranged in light cells, dots are arranged at a maximum of eight virtual points out of nine virtual points. It is determined as a light cell and dark dots can be arranged at virtual points.

図17は、図5に例示した第2のコードでの仮想点の設定例である。図17では、図16の3行3列の仮想点のうち、中央の列の2つの仮想点の行位置が、第1列の3つの仮想点と第3列の3つの仮想点の行位置の中間位置となるように配置される。   FIG. 17 is an example of setting virtual points in the second code illustrated in FIG. In FIG. 17, among the virtual points of 3 rows and 3 columns of FIG. 16, the row positions of the two virtual points in the center column are the row positions of the three virtual points in the first column and the three virtual points in the third column. It is arrange | positioned so that it may become an intermediate position.

図18は、仮想点位置の変形例である。仮想点位置は、図16、図17に限定されることなく、様々な仮想点を用いることができる。例えば、仮想点位置は、セル内に1個でもよいし、2以上であってもよい。例えば、仮想点位置は、セルの中心およびセルの中心からセルの四隅に向かう対角線上の位置に設けてもよい。また、仮想点をセル内に2個設ける場合には、仮想点は、セルの中心から1本の対角線上で、対角となる2つの隅に近い位置に設けてもよい。さらに、仮想点をセル内に3個設ける場合には、仮想点の1つは、対向するセルの2辺のうち、一方の辺の中点からセルの中心を結ぶ線上の当該一方の辺に近い位置に設け、残りの2つの仮想点は、当該一方の辺に対向する辺の両端に近い位置(対向する辺と対向する辺に直交する辺がなす2つの隅)に設けてもよい。   FIG. 18 is a modification of the virtual point position. The virtual point position is not limited to FIGS. 16 and 17, and various virtual points can be used. For example, the virtual point position may be one in the cell, or may be two or more. For example, the virtual point position may be provided at a position on a diagonal line from the center of the cell to the four corners of the cell. Further, when two virtual points are provided in a cell, the virtual points may be provided at a position close to two diagonal corners on one diagonal line from the center of the cell. Furthermore, when three virtual points are provided in a cell, one of the virtual points is located on one side of the line that connects the center of the cell to the center of one of the two sides of the opposite cell. The remaining two virtual points may be provided at close positions, and may be provided at positions close to both ends of the side facing the one side (two corners formed by sides orthogonal to the side facing the opposite side).

図19は、ドットパターンによる情報を設定しないことを明示するセル内のドットパターンの例である。例えば、セル内に複数の仮想点を設けた場合、セル中心の仮想点にドットを配置した場合には、情報が未定義であることを意味するようにしてもよい。   FIG. 19 is an example of a dot pattern in a cell that clearly indicates that information by a dot pattern is not set. For example, when a plurality of virtual points are provided in a cell, it may mean that information is undefined when a dot is arranged at a virtual point at the center of the cell.

図20は、線分の先端が仮想点に位置する線分による第2のコードの例である。すなわち、図14のように仮想点の周りにドットを配置し、距離と方向で情報を定義する代りに、図20のように、仮想点の周りに線分を配置し、線分の長さと方向で情報を定義してもよい。線分がマークの一例である。また、図20の線分のパターンは、マーク同士が接触する配置が除外されているパターンの一例と言える。また、図20の線分のパターンでは、マークが、特定セルと特定セルに隣接するセルとの境界に接触する配置が除外されていると言える。また、図20では、線分の方向および長さの少なくともいずれかによって数値データの一部を定義することができる。   FIG. 20 is an example of a second code by a line segment in which the end of the line segment is located at a virtual point. That is, instead of disposing dots around virtual points as shown in FIG. 14 and defining information by distance and direction, lines are arranged around virtual points as shown in FIG. Information may be defined by direction. A line segment is an example of a mark. Further, the line segment pattern in FIG. 20 can be said to be an example of a pattern in which an arrangement in which marks contact each other is excluded. Further, in the line segment pattern of FIG. 20, it can be said that the arrangement in which the mark contacts the boundary between the specific cell and the cell adjacent to the specific cell is excluded. In FIG. 20, a part of the numerical data can be defined by at least one of the direction and the length of the line segment.

図21は、線分の中心が仮想点に位置付けられる線分による第2のコードの例である。また、図21でも、線分の方向および長さの少なくともいずれかによって数値データの一部を定義することができる。さらに、図22では、線分の長さが複数段階に変更されており、線分の長さが情報を定義する1つの要素となっている。なお、第2のコードとして線分を配置する場合に、仮想点の位置は、線分の中心に限定される訳ではない。例えば、図23は、線分の中心ではなく、線分を所定の比率で内分する位置(例えば、線分の端から1/3の位置)が仮想点に位置付けられる線分による第2のコードの例である。したがって、図22、あるいは図23でも、線分の方向および長さの少なくともいずれかによって数値データの一部を定義することができる。また、図20から図23では、線分中のいずれかの位置を仮想点上に配置することによって数値データの一部が定義されると言える。   FIG. 21 is an example of the second code by the line segment in which the center of the line segment is positioned at the virtual point. Also in FIG. 21, a part of the numerical data can be defined by at least one of the direction and the length of the line segment. Furthermore, in FIG. 22, the length of the line segment is changed in a plurality of stages, and the length of the line segment is one element that defines information. Note that when a line segment is arranged as the second code, the position of the virtual point is not limited to the center of the line segment. For example, FIG. 23 shows a second result of a line segment in which the position at which the line segment is internally divided at a predetermined ratio (for example, a position 1/3 from the end of the line segment) is not the center of the line segment but is positioned at the virtual point An example of code. Therefore, also in FIG. 22 or FIG. 23, a part of numerical data can be defined by at least one of the direction and length of a line segment. 20 to 23, it can be said that a part of the numerical data is defined by arranging any position in the line segment on the virtual point.

以上のように、図14から図23では、特定セルにおける座標情報を有する位置に1以上の仮想点を任意に設定していると言える。また、図14から図23では、仮想点を基にしてマークを配置して数値データが定義されると言える。なお、上記図14から図23では、明色の領域と暗色の領域によってマークを定義したが、例えば、R(赤)、G(緑)、B(青)のいずれか2つによって、マークを定義してもよい。したがって、図14から図23では、マークの形状、色、仮想点を基にしたマークの配置方法および配置の有無の少なくともいずれか1つにより、数値データの一部が定義される複合コードの一例ということができる。また、図14から図23では、第2のコードは、ドットまたは線分で定義された。しかし、マークの形状は、任意の多角形、または略円形であってもよい。
<QRコードに実際にドットを配置した例>
As described above, in FIGS. 14 to 23, it can be said that one or more virtual points are arbitrarily set at positions having coordinate information in a specific cell. Further, in FIGS. 14 to 23, it can be said that numerical data is defined by arranging marks based on virtual points. In FIG. 14 to FIG. 23, the mark is defined by the light color region and the dark color region. For example, the mark is defined by any two of R (red), G (green), and B (blue). It may be defined. Accordingly, in FIGS. 14 to 23, an example of a composite code in which a part of numerical data is defined by at least one of the mark arrangement method based on the mark shape, color, and virtual point, and the presence or absence of the arrangement. It can be said. In FIGS. 14 to 23, the second code is defined by a dot or a line segment. However, the shape of the mark may be an arbitrary polygon or a substantially circular shape.
<Example where dots are actually arranged in the QR code>

図24は、第1のコードの例としてのQRコードのセル内にドットパターンを配置した複合コードの構成例(1)を示す図である。構成例(1)では、第2のコードの例として、仮想点からの距離と方向で情報を定義するドットパターンが例示される。仮想点からの距離と方向で情報を定義するドットパターンは、図14で説明した通りである。図24では、QRコードの部分にハッチングパターンで塗りつぶされた暗色の領域と、ハッチングパターンの無い明色の領域が形成されている。また、明色の領域内の概ね中心付近に、プラス(“+”)のマークで、仮想点が例示されている。なお、プラス(“+”)等のマークは、仮想点の位置を図面上に例示するために記載されており、実際の複合コードには、プラス(“+”)等のマークは描画されない。また、仮想点の回りに、概ね45度単位で、ドットが各明色の領域に1つずつ例示されている。   FIG. 24 is a diagram illustrating a configuration example (1) of a composite code in which a dot pattern is arranged in a QR code cell as an example of the first code. In the configuration example (1), as an example of the second code, a dot pattern that defines information by the distance and direction from the virtual point is illustrated. The dot pattern that defines information by the distance and direction from the virtual point is as described in FIG. In FIG. 24, a dark color region filled with a hatching pattern and a light color region without a hatching pattern are formed in the QR code portion. In addition, a virtual point is illustrated by a plus (“+”) mark approximately in the vicinity of the center in the light-colored region. The mark such as plus (“+”) is described to illustrate the position of the virtual point on the drawing, and the mark such as plus (“+”) is not drawn in the actual composite code. Further, one dot is illustrated in each light-colored region approximately in units of 45 degrees around the virtual point.

図25は、第1のコードの例としてのQRコードのセル内にドットパターンを配置した複合コードの構成例(2)を示す図である。構成例(2)では、第2のコードの例として、明色の領域内に仮想点が複数設けられ、仮想点上にあるか否かによって情報を定義する。図25では、1つの明色の領域に仮想点が4点設けられているが、本実施形態で、仮想点が4点に限定される訳ではない。   FIG. 25 is a diagram illustrating a configuration example (2) of a composite code in which dot patterns are arranged in a QR code cell as an example of the first code. In the configuration example (2), as an example of the second code, a plurality of virtual points are provided in a light-colored area, and information is defined by whether or not the virtual points are on the virtual points. In FIG. 25, four virtual points are provided in one light color area, but the number of virtual points is not limited to four in this embodiment.

図26は、第1のコードの例としてのQRコードのセル内にドットパターンを配置した複合コードの構成例(3)を示す図である。構成例(3)では、第2のコードの例として、明色の領域内に仮想点が複数設けられ、仮想点上にあるか否かによって情報を定義する。図25では、各明色の領域にドットが1個配置されているが、図26では、1つの明色の領域にドットが0点から3点設けられている。   FIG. 26 is a diagram illustrating a configuration example (3) of a composite code in which dot patterns are arranged in a QR code cell as an example of the first code. In the configuration example (3), as an example of the second code, a plurality of virtual points are provided in a light-colored region, and information is defined depending on whether or not the virtual point is on the virtual point. In FIG. 25, one dot is arranged in each light color area, but in FIG. 26, three dots are provided in one light color area.

図27は、第1のコードの例としてのQRコードのセル内にドットパターンを配置した複合コードの構成例(4)を示す図である。構成例(4)では、第2のコードの例として、ドットパターンが定義される特定セルによって仮想点の数やドットの配置方法が異なる。すなわち、特定セルの位置に応じて、仮想点の数、仮想点の配置位置、仮想点に対するドットの配置の仕方を異なるものとしてもよい。仮想点に対するドットの配置の仕方には、例えば、図24のように、仮想点からの距離と方向で情報を定義するドットパターンの配置と、図25、図26のように、仮想点上にあるか否かによって情報を定義するドットパターンの配置が例示される。また、1つの明色の領域内のドットの数は、1個でも、複数でもよい。   FIG. 27 is a diagram illustrating a configuration example (4) of a composite code in which a dot pattern is arranged in a cell of a QR code as an example of the first code. In the configuration example (4), as an example of the second code, the number of virtual points and the dot arrangement method differ depending on the specific cell in which the dot pattern is defined. That is, according to the position of the specific cell, the number of virtual points, the placement position of the virtual points, and the way of dot placement with respect to the virtual points may be different. For example, as shown in FIG. 24, the dot arrangement with respect to the virtual point is based on the arrangement of the dot pattern defining information by the distance and direction from the virtual point, and on the virtual point as shown in FIG. 25 and FIG. The arrangement of dot patterns that define information depending on whether or not there is is exemplified. Further, the number of dots in one light color region may be one or plural.

いずれにしても、複合コードを生成する生成装置と、複合コードから情報を取得する読み取り装置の間で、セル位置別に、第2のコードの定義の仕方を共通にしておけばよい。また、例えば、図1に例示したフォーマット情報中に、第2のコードの定義の仕方を特定するための情報を組み込んでおけばよい。   In any case, the second code may be defined in common for each cell position between the generating device that generates the composite code and the reading device that acquires information from the composite code. Further, for example, information for specifying the method of defining the second code may be incorporated in the format information illustrated in FIG.

図28は、第1のコードの例としてのQRコードのセル内にドットパターンを配置した複合コードの構成例(5)を示す図である。構成例(5)では、第2のコードの例として、暗色の領域に明色のドットを配置することによって情報を定義する。図28では、図26で例示される、明色の領域に暗色のドットを配置したドットパターンに対して、明色と暗色を入れ替えたドットパターンが例示されている。   FIG. 28 is a diagram illustrating a configuration example (5) of a composite code in which dot patterns are arranged in a QR code cell as an example of the first code. In the configuration example (5), as an example of the second code, information is defined by arranging light dots in a dark region. FIG. 28 illustrates a dot pattern in which the light color and the dark color are interchanged with respect to the dot pattern illustrated in FIG. 26 in which the dark color dots are arranged in the light color region.

図29は、第1のコードの例としてのQRコードのセル内にドットパターンを配置した複合コードの構成例(6)を示す図である。構成例(6)では、第2のコードの例として、明色の領域に線分を配置することで情報を定義する。構成例(6)では、図20と同様、線分の先端が仮想点に位置付けられて線分が配置される。   FIG. 29 is a diagram illustrating a configuration example (6) of a composite code in which a dot pattern is arranged in a QR code cell as an example of the first code. In the configuration example (6), as an example of the second code, information is defined by arranging a line segment in a light color area. In the configuration example (6), as in FIG. 20, the line segment is arranged with the tip of the line segment positioned at the virtual point.

図30は、第1のコードの例としてのQRコードのセル内に線分のパターンを配置した複合コードの構成例(7)を示す図である。構成例(7)では、第2のコードが配置される特定セルによって異なる配置の仕方で線分が配置される。例えば、線分の先端が仮想点となる線分、線分の中心が仮想点となる線分、線分の長さが複数段階に変更され、線分の長さが情報を定義する1つの要素となるもの、線分を所定の比率で内分する位置仮想点となる線分等を採用することができる。   FIG. 30 is a diagram illustrating a configuration example (7) of a composite code in which a line segment pattern is arranged in a QR code cell as an example of the first code. In the configuration example (7), the line segment is arranged in a different arrangement manner depending on the specific cell in which the second code is arranged. For example, a line segment whose tip is a virtual point, a line segment whose center is a virtual point, the length of the line segment is changed in multiple stages, and the length of the line segment defines one information An element, a line segment that is a position virtual point that internally divides the line segment at a predetermined ratio, or the like can be adopted.

図31は、第1のコードの例としてのQRコードのセル内に線分のパターンを配置した複合コードの構成例(8)を示す図である。構成例(8)では、第2のコードが配置される特定セルごとに、第2のコードの例として、線分のパターンとドットパターンのいずれかが選択され、配置される。また、線分のパターンの配置の仕方、ドットパターンの配置の仕方が、特定セルごとに規定されている。このような第2のコードの配置の仕方は、複合コードを生成する生成装置と、複合コードを読み取る読み取り装置間で、共通にしておけばよい。     FIG. 31 is a diagram illustrating a configuration example (8) of a composite code in which a line segment pattern is arranged in a QR code cell as an example of the first code. In the configuration example (8), for each specific cell in which the second code is arranged, either a line segment pattern or a dot pattern is selected and arranged as an example of the second code. In addition, the arrangement method of line segments and the arrangement method of dot patterns are defined for each specific cell. Such arrangement of the second code may be made common between the generation device that generates the composite code and the reading device that reads the composite code.

さらに、図23から図31では、図示が省略されているが、明色の領域に定義する第2のコード(図23等)と、暗色の領域に定義する第2のコード(図28)とを組み合わせて複合コードを形成するようにしてもよい。
<システム構成>
Furthermore, although not shown in FIGS. 23 to 31, a second code (FIG. 23, etc.) defined in a light color area and a second code (FIG. 28) defined in a dark color area. May be combined to form a composite code.
<System configuration>

図32は、複合コードによるサービスを提供する情報システムの構成を例示する図である。この情報システムは、管理サーバMS1と、コンテンツサーバCS1、CS2と、ユーザ装置UD1とがネットワークN1により接続される。また、この情報システムは、ネットワークN1には接続されないユーザ装置UD2を有するようにしてもよい。   FIG. 32 is a diagram illustrating a configuration of an information system that provides a service using a composite code. In this information system, a management server MS1, content servers CS1 and CS2, and a user device UD1 are connected by a network N1. The information system may include a user device UD2 that is not connected to the network N1.

管理サーバMS1は、複合コード生成手段CGMと複合コード解析手段CAMを有する。複合コード生成手段CGMは、入力されたデジタルデータを複合コードに変換する。管理サーバMS1は、例えば、ネットワークN1を通じてコンテンツサーバCS1からデジタルデータを引き渡され、複合コード生成手段CGMにより、複合コードの画像データを生成し、コンテンツサーバCS1に返す。   The management server MS1 has composite code generation means CGM and composite code analysis means CAM. The composite code generation means CGM converts the input digital data into a composite code. For example, the management server MS1 receives digital data from the content server CS1 through the network N1, generates composite code image data by the composite code generation means CGM, and returns the composite code image data to the content server CS1.

複合コード解析手段CAMは、入力された複合コードを解析し、元のデジタルデータに変換する。管理サーバMS1は、例えば、ネットワークN1を通じてユーザ装置UD1から複合コードの画像を引き渡され、複合コード解析手段CAMにより、元のデジタルデータを生成し、ユーザ装置UD1に返す。   The composite code analysis means CAM analyzes the input composite code and converts it into original digital data. For example, the management server MS1 receives the composite code image from the user device UD1 through the network N1, generates the original digital data by the composite code analysis means CAM, and returns the digital data to the user device UD1.

コンテンツサーバCS1は通信手段CMS1と複合コード出力手段COUT1を有する。コンテンツサーバCS1は様々なコンテンツ、あるいは、サービスをユーザ装置UD1、UD2等に提供する。コンテンツサーバCS1が提供するコンテンツは、例えば、放送媒体、通信媒体である、放送システムあるいは電子情報通信システムを通じてユーザ装置に提供される。コンテンツとしては、画像(静止画あるいは動画)を含むものを例示できる。放送媒体とは、例えば、テレビジョン放送等をいい、電磁波等でコンテンツを配信する媒体である。また、通信媒体とは、例えば、インターネット等をいい、有線あるいは無線のネットワークでコンテンツを配信する媒体である。   The content server CS1 has communication means CMS1 and composite code output means COUT1. The content server CS1 provides various contents or services to the user devices UD1, UD2, and the like. The content provided by the content server CS1 is provided to the user device through, for example, a broadcast system or an electronic information communication system that is a broadcast medium or a communication medium. Examples of content include images (images or still images). The broadcast medium refers to, for example, television broadcasting and the like, and is a medium that distributes content using electromagnetic waves or the like. The communication medium refers to, for example, the Internet and the like, and is a medium that distributes content through a wired or wireless network.

コンテンツサーバCS1は、CD、DVD、ブルーレイディスク、USBメモリ等の記録媒体を介してコンテンツをユーザ装置UD1、UD2等に提供することもできる。さらに、コンテンツサーバCS1は、印刷媒体を介して、コンテンツをユーザ装置UD1、UD2等に提供することもできる。印刷媒体としては、例えば、紙、物体の表面等のインクにより画像を形成可能なものが例示される。   The content server CS1 can also provide content to the user devices UD1, UD2, etc. via a recording medium such as a CD, DVD, Blu-ray disc, or USB memory. Furthermore, the content server CS1 can also provide content to the user devices UD1, UD2, etc. via a print medium. Examples of the print medium include those capable of forming an image with ink such as paper and the surface of an object.

コンテンツサーバCS1は、提供するコンテンツに関連するデジタルデータを管理サーバMS1にネットワークN1を通じて転送し、複合コードに変換させる。そして、コンテンツサーバCS1は、管理サーバMS1で変換された複合データを、ネットワークN1を通じて取得し、コンテンツとともに、ユーザ装置UD1、UD2等に提供する。コンテンツに関連するデジタルデータとは、提供されるコンテンツに関連する種々の文字情報、提供されるコンテンツに関連するURL、提供されるコンテンツに関連する識別情報、あるいはアクセスのための認証情報などである。   The content server CS1 transfers digital data related to the provided content to the management server MS1 through the network N1, and converts it into a composite code. Then, the content server CS1 acquires the composite data converted by the management server MS1 through the network N1, and provides it to the user devices UD1, UD2, etc. together with the content. The digital data related to the content is various character information related to the provided content, URL related to the provided content, identification information related to the provided content, authentication information for access, etc. .

コンテンツサーバCS2は、通信手段CMS2および複合コード出力手段COUT2に加えて、複合コード生成手段CG2を有する。したがって、コンテンツサーバCS2は、提供するコンテンツに関連するデジタルデータを複合コード生成手段CG2により、複合コードに変換することができる。したがって、コンテンツサーバCS2は、デジタルデータを管理サーバMS1に転送し、複合コードに変換させる必要はない。なお、通信手段CMS2および複合コード出力手段COUT2の機能は、上述したコンテンツサーバCS1の通信手段CMS1および複合コード出力手段COUT1と同様である。なお、コンテンツサーバCS1、CS2としては、例えば、放送局の放送装置と連携する情報処理装置、インターネット上でコンテンツを提供するサーバ、印刷会社その他において印刷装置、プリンタと連携するサーバ、印刷装置に内蔵されたコンピュータ等を例示できる。   The content server CS2 includes a composite code generation unit CG2 in addition to the communication unit CMS2 and the composite code output unit COUT2. Therefore, the content server CS2 can convert digital data related to the provided content into a composite code by the composite code generation means CG2. Therefore, the content server CS2 does not need to transfer the digital data to the management server MS1 and convert it into a composite code. The functions of the communication unit CMS2 and the composite code output unit COUT2 are the same as those of the communication unit CMS1 and the composite code output unit COUT1 of the content server CS1 described above. As the content servers CS1 and CS2, for example, an information processing device that cooperates with a broadcasting device of a broadcasting station, a server that provides content on the Internet, a printing device in a printing company or the like, a server that cooperates with a printer, or a built-in printing device The computer etc. which were done can be illustrated.

ユーザ装置UD1は、通信手段CMU1と、画像入力手段IIN1とを有する。画像入力手段IIN1は、放送媒体であるテレビジョン画面、通信媒体であるウェブコンテンツ上のグラフィックスオブジェクトを含む画面、記録媒体から出力されるグラフィックスオブジェクトを含む画面、あるいは印刷媒体に形成された印刷物から画像を入力する画像入力手段を有する。画像入力手段は、例えば、Charge Coupled Devices(電荷結合素子、CCD)、あるいはmetal-oxide-semiconductor(MOS)イメージセンサ、Complementary metal-oxide-semiconductor(CMOS)イメージセンサ等の撮像デバイスを有するスキャナあるいはカメラ等である。   The user device UD1 includes a communication unit CMU1 and an image input unit IIN1. The image input means IIN1 is a television screen that is a broadcast medium, a screen that includes a graphics object on web content that is a communication medium, a screen that includes a graphics object output from a recording medium, or a printed material formed on a print medium. Image input means for inputting an image from. The image input means is, for example, a scanner or camera having an imaging device such as a charge coupled device (CCD), a metal-oxide-semiconductor (MOS) image sensor, or a complementary metal-oxide-semiconductor (CMOS) image sensor. Etc.

ユーザ装置UD1は、入力された画像そのもの、あるいは入力された画像中の複合コード部分を管理サーバMS1にネットワークN1を通じて転送し、複合コードでコード化されたデジタルデータを復元させる。そして、ユーザ装置UD1は、得られたデジタルデータとコンテンツサーバCS1、CS2等から提供されるコンテンツとを基に、デジタルデータに対応する処理を実行する。デジタルデータに対応する処理とは、例えば、デジタルデータに基づく、当該コンテンツの妥当性判定、当該コンテンツへのアクセスの可否判定、当該コンテンツのユーザへの提供方法の変形、当該コンテンツに関連する他のコンテンツの提供等である。   The user device UD1 transfers the input image itself or the composite code portion in the input image to the management server MS1 via the network N1, and restores the digital data encoded with the composite code. Then, the user device UD1 executes processing corresponding to the digital data based on the obtained digital data and the content provided from the content servers CS1, CS2, and the like. The processing corresponding to the digital data includes, for example, the validity determination of the content based on the digital data, the determination of whether to access the content, the modification of the method of providing the content to the user, and other related to the content For example, content provision.

ユーザ装置UD2は、画像入力手段IIN2に加えて、複合コード解析手段CA2を有する。ユーザ装置UD2は、複合コード解析手段CA2を用いて、入力された画像から複合コードでコード化されたデジタルデータを復元する。したがって、ユーザ装置UD2は、入力された画像および入力された画像中の複合コード部分を管理サーバMS1に転送し、デジタルデータを復元させる必要はない。そして、ユーザ装置UD2は、得られたデジタルデータとコンテンツサーバCS1、CS2等から提供されるコンテンツとを基に、デジタルデータに対応する処理を実行する。なお、ユーザ装置UD1、UD2としては、パーソナルコンピュータ、タブレット端末、スマートフォン等を例示できる。   The user device UD2 includes composite code analysis means CA2 in addition to the image input means IIN2. The user device UD2 restores the digital data encoded with the composite code from the input image using the composite code analysis means CA2. Therefore, the user device UD2 does not need to transfer the input image and the composite code portion in the input image to the management server MS1 and restore the digital data. Then, the user device UD2 executes processing corresponding to the digital data based on the obtained digital data and the content provided from the content servers CS1, CS2, and the like. In addition, as user apparatus UD1, UD2, a personal computer, a tablet terminal, a smart phone, etc. can be illustrated.

図33は、情報処理装置10のハードウェア構成を例示する図である。情報処理装置10は、本実施形態の管理サーバMS1、コンテンツサーバCS1、CS2、ユーザ装置UD1、UD2に適用可能である。情報処理装置10は、CPU11と、主記憶装置12と、外部機器を有し、プログラムにより情報処理を実行する。CPU11はプロセッサともいう。外部機器としては、外部記憶装置13、表示装置14、操作部15、通信インターフェース16、画像入力インターフェース17、画像出力インターフェース18を例示できる。   FIG. 33 is a diagram illustrating a hardware configuration of the information processing apparatus 10. The information processing apparatus 10 can be applied to the management server MS1, the content servers CS1 and CS2, and the user apparatuses UD1 and UD2 of this embodiment. The information processing apparatus 10 includes a CPU 11, a main storage device 12, and an external device, and executes information processing by a program. The CPU 11 is also called a processor. Examples of external devices include an external storage device 13, a display device 14, an operation unit 15, a communication interface 16, an image input interface 17, and an image output interface 18.

CPU11は、主記憶装置12に実行可能に展開されたコンピュータプログラムを実行し、情報処理装置10の機能を提供する。主記憶装置12は、CPU11が実行するコンピュータプログラム、CPU11が処理するデータ等を記憶する。主記憶装置12は、Dynamic Random Access Memory(DRAM)、Static Random Access Memory(SRAM)、Read Only Memory(ROM)等である。さらに、外部記憶装置13は、例えば、主記憶装置12を補助する記憶領域として使用され、CPU11が実行するコンピュータプログラム、CPU11が処理するデータ等を記憶する。外部記憶装置13は、ハードディスクドライブ、Solid State Disk(SSD)等である。さらに、情報処理装置10には、着脱可能記憶媒体の駆動装置を設けてもよい。着脱可能記憶媒体は、例えば、ブルーレイディスク、Digital Versatile Disk(DVD)、Compact Disc(CD)、フラッシュメモリカード等である。   The CPU 11 executes a computer program that is executed in the main storage device 12 and provides functions of the information processing device 10. The main storage device 12 stores a computer program executed by the CPU 11, data processed by the CPU 11, and the like. The main storage device 12 is a dynamic random access memory (DRAM), a static random access memory (SRAM), a read only memory (ROM), or the like. Furthermore, the external storage device 13 is used as a storage area that assists the main storage device 12, for example, and stores a computer program executed by the CPU 11, data processed by the CPU 11, and the like. The external storage device 13 is a hard disk drive, a solid state disk (SSD), or the like. Further, the information processing apparatus 10 may be provided with a drive device for a removable storage medium. The removable storage medium is, for example, a Blu-ray Disc, Digital Versatile Disk (DVD), Compact Disc (CD), flash memory card, or the like.

表示装置14は、例えば、液晶ディスプレイ、エレクトロルミネッセンスパネル等である。操作部15は、例えば、キーボード、ポインティングデバイス等である。本実施形態では、ポインティングデバイスとしてマウスが例示される。通信インターフェース16は、ネットワークN1上の他の装置とデータを授受する。例えば、CPU11は、通信インターフェース16を通じて、ネットワークN1上の他の装置と通信する。また、通信インターフェース16は、放送装置に接続されてもよい。放送装置は、例えば、デジタルデータをベースバンド信号から、高周波信号に変換し、高周波アンプおよびアンテナを介して、変換された高周波を放送波として送信する。   The display device 14 is, for example, a liquid crystal display, an electroluminescence panel, or the like. The operation unit 15 is, for example, a keyboard, a pointing device, or the like. In the present embodiment, a mouse is exemplified as the pointing device. The communication interface 16 exchanges data with other devices on the network N1. For example, the CPU 11 communicates with other devices on the network N1 through the communication interface 16. The communication interface 16 may be connected to a broadcasting device. For example, the broadcasting device converts digital data from a baseband signal to a high frequency signal, and transmits the converted high frequency as a broadcast wave via a high frequency amplifier and an antenna.

画像入力インターフェース17には、カメラ、スキャナ等が接続され、各種媒体から画像データを取得する。各種媒体としては、テレビ受像器の画面、コンピュータのディスプレイ、書籍等の印刷物、物体表面に形成された視認可能な絵柄等を例示できる。   The image input interface 17 is connected to a camera, a scanner, and the like, and acquires image data from various media. Examples of various media include a screen of a television receiver, a computer display, a printed matter such as a book, and a visually recognizable pattern formed on an object surface.

画像出力インターフェース18には、印刷装置、プリンタ等が接続され、印刷媒体に画像データを出力する。なお、図33では省略されているが、情報処理装置10は、画像入力インターフェース17を介して接続されるカメラ、スキャナ等を有してもよい。また、情報処理装置10は、画像出力インターフェース18を介して接続される印刷装置、プリンタ等を有してもよい。   The image output interface 18 is connected to a printing device, a printer, or the like, and outputs image data to a print medium. Although omitted in FIG. 33, the information processing apparatus 10 may include a camera, a scanner, and the like connected via the image input interface 17. Further, the information processing apparatus 10 may include a printing apparatus, a printer, and the like connected via the image output interface 18.

さらに、情報処理装置10が管理サーバMS1に適用される場合には、画像入力インターフェース17および画像出力インターフェース18はなくてもよい。また、情報処理装置10がコンテンツサーバCS1、CS2に適用される場合には、画像入力インターフェース17はなくてもよい。さらに、情報処理装置10がユーザ装置に適用される場合には、画像出力インターフェース18はなくてもよい。
<処理フロー>
Further, when the information processing apparatus 10 is applied to the management server MS1, the image input interface 17 and the image output interface 18 may be omitted. In addition, when the information processing apparatus 10 is applied to the content servers CS1 and CS2, the image input interface 17 may not be provided. Furthermore, when the information processing apparatus 10 is applied to a user apparatus, the image output interface 18 may not be provided.
<Processing flow>

図34から図36により、本情報システムにおける処理フローを説明する。以下、コンテンツサーバCS1およびCS2を総称して、単にコンテンツサーバCSと呼ぶことにする。すなわち、以下の処理は、コンテンツサーバCS1およびCS2のいずれが実行してもよい。また、ユーザ装置UD1およびUD2を総称して、単にユーザ装置UDと呼ぶことにする。すなわち、以下の処理は、ユーザ装置UD1およびUD2のいずれが実行してもよい。   The processing flow in this information system will be described with reference to FIGS. Hereinafter, the content servers CS1 and CS2 are collectively referred to simply as a content server CS. That is, the following processing may be executed by either of the content servers CS1 and CS2. In addition, the user devices UD1 and UD2 are collectively referred to simply as the user device UD. That is, any of the user devices UD1 and UD2 may execute the following processing.

図34は、コンテンツサーバCSによる複合コード生成処理Aを例示するフローチャートである。複合コード生成処理Aとするのは、図38の複合コード生成処理Bと区別するためである。図34、図38の処理により、コンテンツサーバCSは、複合コード生成装置として処理を実行すると言える。図34の処理では、コンテンツサーバCSは、第1のコードの形状情報を生成する(S11)。例えば、第1のコードがQRコードである場合には、コンテンツサーバCSは、QRコードにおける明色のセルと暗色のセルの配置を決定する。   FIG. 34 is a flowchart illustrating a composite code generation process A by the content server CS. The composite code generation process A is used to distinguish it from the composite code generation process B of FIG. 34 and 38, it can be said that the content server CS executes the process as a composite code generation device. In the process of FIG. 34, the content server CS generates the shape information of the first code (S11). For example, when the first code is a QR code, the content server CS determines the arrangement of light cells and dark cells in the QR code.

次に、コンテンツサーバCSは、第2のコードに変換するデジタルデータを入力する(S12)。デジタルデータは、例えば、コンテンツサーバCSが提供するコンテンツに関連する情報である。デジタルデータは、例えば、コンテンツサーバCSが提供するコンテンツに関連付けられた記憶装置から入力される。   Next, the content server CS inputs digital data to be converted into the second code (S12). The digital data is information related to the content provided by the content server CS, for example. The digital data is input from, for example, a storage device associated with content provided by the content server CS.

次に、コンテンツサーバCSは、デジタルデータを2値符号化する(S13)。すなわち、コンテンツサーバCSは、デジタルデータを2進数の1次元ビット列に変換する。そして、コンテンツサーバCSは、2値符号化されたデータを第1のコードのセル毎のデータに分割する(S14)。すなわち、コンテンツサーバCSは、各セル内のドットパターンで表現可能な最大ビット数で、2値符号化されたデータを区切る。そして、コンテンツサーバCSは、区切られたデータを所定の規則にしたがって、第2のコードを配置可能なセルに割り当てる。   Next, the content server CS performs binary encoding on the digital data (S13). That is, the content server CS converts the digital data into a binary one-dimensional bit string. Then, the content server CS divides the binary-encoded data into data for each cell of the first code (S14). That is, the content server CS delimits the binary encoded data by the maximum number of bits that can be expressed by the dot pattern in each cell. Then, the content server CS assigns the divided data to cells in which the second code can be arranged according to a predetermined rule.

第2のコードを配置可能なセルとは、例えば、第1のコードが明色のセルと暗色のセルの組み合わせによって定義され、暗色のドットによって第2のコードを定義する場合には、明色のセルである。また、第2のコードを配置可能なセルとは、例えば、第1のコードが明色のセルと暗色のセルの組み合わせによって定義され、明色のドットによって第2のコードを定義する場合には、暗色のセルである。コンテンツサーバCSは、例えば、図7、図8から図13等の所定の規則にしたがって、第2のコードを割り当てるセルと、割り当てる順序を決定する。なお、すでに図11に例示したように、コンテンツサーバCSは、第2のコードを形成する前記複数の特定セルを複数回繰り返して形成し、セルを割り当ててもよい。   The cell in which the second code can be arranged is, for example, when the first code is defined by a combination of a light cell and a dark cell, and the second code is defined by a dark dot. Cell. The cell in which the second code can be arranged is, for example, when the first code is defined by a combination of a light color cell and a dark color cell, and the second code is defined by a light color dot. This is a dark cell. The content server CS determines, for example, a cell to which the second code is assigned and the order in which the second code is assigned in accordance with predetermined rules such as those shown in FIGS. As already illustrated in FIG. 11, the content server CS may repeatedly form the plurality of specific cells forming the second code a plurality of times and assign the cells.

そして、コンテンツサーバCSは、第2のコードの形状情報を生成する(S15)。すなわち、コンテンツサーバCSは、S14の処理で、セルごとに区切られた2値符号化データをセル内の仮想点を基準に符号化される画像データに変換する。セル内の仮想点を基準に符号化される画像データは、例えば、図3から図6に例示したものである。そして、コンテンツサーバCSは、画像データを出力する(S16)。出力先は、例えば、プリンタ等による印刷媒体、ネットワークN1を介した電子情報配信によるユーザ装置UDの表示装置への出力、放送媒体を通じた配信等である。S11の処理およびS16の処理を実行するコンテンツサーバCSは、第1のコードを生成する第1の生成手段の一例を有するということができる。また、S12からS16の処理を実行するコンテンツサーバCSは、第2の生成手段の一例を有するということができる。したがって、コンテンツサーバCSは、第2の生成手段として、マークが特定セル内に複数個配置される場合には、マーク同士が接触する配置を除外すると言える。また、コンテンツサーバCSは、第2の生成手段として、特定セルと特定セルに隣接するセルとの境界に接触する配置を除外すると言える。   Then, the content server CS generates shape information of the second code (S15). That is, the content server CS converts the binary encoded data divided for each cell into image data encoded based on the virtual point in the cell in the process of S14. The image data encoded on the basis of the virtual point in the cell is, for example, those illustrated in FIGS. 3 to 6. Then, the content server CS outputs image data (S16). The output destination is, for example, a print medium such as a printer, an output to the display device of the user device UD by electronic information distribution via the network N1, a distribution through a broadcast medium, or the like. It can be said that the content server CS that executes the process of S11 and the process of S16 has an example of a first generation unit that generates the first code. Further, it can be said that the content server CS that executes the processes of S12 to S16 has an example of a second generation unit. Therefore, it can be said that the content server CS excludes the arrangement where the marks are in contact when the plurality of marks are arranged in the specific cell as the second generation unit. Further, it can be said that the content server CS excludes the arrangement that contacts the boundary between the specific cell and the cell adjacent to the specific cell as the second generation unit.

なお、コンテンツサーバCSがコンテンツサーバCS1である場合には、デジタルデータが管理サーバMS1に転送され、S13からS15の処理は、管理サーバMS1によって実行される。コンテンツサーバCS1は、管理サーバMS1で生成された画像データをプリンタ、ネットワーク上のユーザ装置UD、あるいは放送媒体等に出力すればよい。   If the content server CS is the content server CS1, the digital data is transferred to the management server MS1, and the processing from S13 to S15 is executed by the management server MS1. The content server CS1 may output the image data generated by the management server MS1 to a printer, a user device UD on the network, a broadcast medium, or the like.

図35は、ユーザ装置UDによる複合コード読取処理Aを例示するフローチャートである。複合コード読取処理Aとするのは、図39の複合コード読取処理Bと区別するためである。図35、図39の処理により、ユーザ装置は、複合コード読み取り装置として処理を実行すると言える。図35の処理では、ユーザ装置UDは、画像入力インターフェース17を介して、スキャナあるいはカメラ等から入力される複合コードの画像を入力し、フォーマット、および第1のコードのセルの配置を認識する(S20)。例えば、ユーザ装置UDは、ファインダパターンにより、QRコードの向きを認識し、アライメントパターンにより画像の歪みを補正する。また、ユーザ装置UDは、タイミングパターンにより、セルの配置間隔を認識し、QRコードのデータおよび誤り訂正符号の配置位置を特定する。ユーザ装置UDは、以降、セル毎に、第1のコードの配置順で複合コードを処理する。例えば、ユーザ装置UDは、QRコードの右下隅のセルから上の方向に、右端2列のセルを順次処理し、2列分の処理が完了すると、3列目および4列目のセルについて、上から下に向かって順次処理する。以下、同様に2列ずつデータセルと誤り訂正符号のセルを処理する。以下、セルごとの処理を説明する。   FIG. 35 is a flowchart illustrating a composite code reading process A by the user device UD. The composite code reading process A is used to distinguish it from the composite code reading process B of FIG. 35 and 39, it can be said that the user apparatus executes the process as a composite code reading apparatus. In the process of FIG. 35, the user apparatus UD inputs an image of a composite code input from a scanner or a camera via the image input interface 17, and recognizes the format and the arrangement of cells of the first code ( S20). For example, the user apparatus UD recognizes the direction of the QR code using the finder pattern, and corrects image distortion using the alignment pattern. Further, the user apparatus UD recognizes the cell arrangement interval based on the timing pattern, and specifies the arrangement position of the QR code data and the error correction code. Thereafter, the user apparatus UD processes the composite code in the arrangement order of the first code for each cell. For example, the user apparatus UD sequentially processes the cells in the rightmost two columns in the upward direction from the cell in the lower right corner of the QR code, and when the processing for two columns is completed, the cells in the third column and the fourth column are Process sequentially from top to bottom. Thereafter, data cells and error correction code cells are similarly processed in two columns. Hereinafter, processing for each cell will be described.

すなわち、ユーザ装置UDは、次のセルの画像を取得し、第1のコードを解析し、明暗を判定する(S21)。次に、ユーザ装置UDは、処理中のセル内に第2のコードが定義されているか否かを判定する(S22)。例えば、ユーザ装置UDは、S20で取得したフォーマットの情報から、仮想点の配置の仕方、および、仮想点に対するドットの配置の仕方を認識し、該当位置にドットが少なくとも1つあるか否かを判定する。そして、セル内に第2のコードが定義されている場合には、セル内の第2のコードを解析する(S23)。なお、第2のコードは、明色のセルに定義されたものでもよい。また、第2のコードは、図10のように暗色のセルに定義されたものでもよい。   That is, the user apparatus UD obtains an image of the next cell, analyzes the first code, and determines brightness (S21). Next, the user apparatus UD determines whether or not the second code is defined in the cell being processed (S22). For example, the user device UD recognizes how to arrange the virtual points and how to arrange the dots with respect to the virtual points from the format information acquired in S20, and determines whether there is at least one dot at the corresponding position. judge. If the second code is defined in the cell, the second code in the cell is analyzed (S23). The second code may be defined in a light cell. Further, the second code may be defined in a dark cell as shown in FIG.

そして、ユーザ装置UDは、次のセルが未処理で残っているか否かを判定する(S24)。次のセルが未処理の場合、ユーザ装置UDは、処理をS21に戻す。一方、すべてのセルの処理が完了し、次のセルがない場合、ユーザ装置UDは、第1のコードの明暗判定で得られたビット列から、第1のコードをキャラクタごとに統合した情報を生成する(S25)。例えば、ユーザ装置UDは、明暗判定から得られたビット列をキャラクタに分離し、デジタルデータを生成する(S25)。S20、S21およびS25の処理を実行するユーザ装置UDは、第1のコードから数値データを取得する第1の取得手段を有するといえる。   Then, the user apparatus UD determines whether or not the next cell remains unprocessed (S24). When the next cell is unprocessed, the user apparatus UD returns the process to S21. On the other hand, when the processing of all the cells is completed and there is no next cell, the user apparatus UD generates information obtained by integrating the first code for each character from the bit string obtained by the light / dark determination of the first code. (S25). For example, the user apparatus UD separates the bit string obtained from the light / dark determination into characters, and generates digital data (S25). It can be said that the user apparatus UD that executes the processes of S20, S21, and S25 has a first acquisition unit that acquires numerical data from the first code.

さらに、ユーザ装置UDは、第2のコードから得られたビット列を基に、デジタルデータを復元する(S26)。例えば、第2のコードが、図11のように、所定個数(例えば、16個)のセルの組み合わせで構成される場合、第1のセルから所定個数分のセルまでのドットパターンによるビット列を統合して、デジタルデータを復元する。S23の処理およびS26の処理を実行するユーザ装置UDは、第2のコードから数値データを取得する第2の取得手段を有するといえる。このとき、ユーザ装置UDは、S14において、コンテンツサーバCSが区切られたデータを第2のコードを配置可能なセルに割り当てた規則と同一の規則にしたがって、第2のコードの組み合わせ順序を決定する。したがって、S26の処理を実行するユーザ装置UDは、特定セルを順序づける特定セルインデックスを生成する手段の一例を有すると言える。したがって、ユーザ装置UDは、例えば、図11に例示したように、第2のコードを形成する複数の特定セルが複数回繰り返して順序付けて、特定セルインデックスを形成してもよい。   Further, the user apparatus UD restores the digital data based on the bit string obtained from the second code (S26). For example, when the second code is composed of a combination of a predetermined number of cells (for example, 16 cells) as shown in FIG. 11, the bit string based on the dot pattern from the first cell to the predetermined number of cells is integrated. To restore the digital data. It can be said that the user apparatus UD that executes the process of S23 and the process of S26 includes a second acquisition unit that acquires numerical data from the second code. At this time, in S14, the user apparatus UD determines the combination order of the second codes according to the same rule as the rule in which the data separated by the content server CS is assigned to the cell in which the second code can be arranged. . Therefore, it can be said that the user apparatus UD that executes the process of S26 has an example of a unit that generates a specific cell index that orders the specific cells. Therefore, for example, as illustrated in FIG. 11, the user apparatus UD may form a specific cell index by repeatedly ordering a plurality of specific cells forming the second code a plurality of times.

そして、ユーザ装置UDは、第1のコードおよび第2のコードから復元されたデジタルデータに対応する情報処理を実行する(S27)。例えば、ユーザ装置UDは、復元されたデジタルデータにしたがって、コンテンツを表示し、再生し、出力し、加工し、または、コンテンツに関連するデータを追加する等の処理を実行する。ただし、本実施形態において、S27の処理で実行される情報処理に限定がある訳ではない。なお、ユーザ装置UDがユーザ装置UD1である場合には、複合コードはユーザ装置UD1から管理サーバMS1に転送され、S20からS26の処理は、管理サーバMS1によって実行される。ユーザ装置UD1は管理サーバMS1での結果を取得し、S27の処理を実行すればよい。   Then, the user apparatus UD executes information processing corresponding to the digital data restored from the first code and the second code (S27). For example, the user device UD executes processing such as displaying, reproducing, outputting, processing, or adding data related to the content according to the restored digital data. However, in the present embodiment, the information processing executed in the process of S27 is not limited. If the user device UD is the user device UD1, the composite code is transferred from the user device UD1 to the management server MS1, and the processing from S20 to S26 is executed by the management server MS1. The user device UD1 may acquire the result at the management server MS1 and execute the process of S27.

図36は、セル内の第2のコードの解析処理(図35のS23)の詳細を例示するフローチャートである。以下の処理は、ユーザ装置UDで実行されるものと説明する。しかし、上述のように、ユーザ装置UDがユーザ装置UD1である場合には、以下の処理は、管理サーバMS1で実行される。この処理では、ユーザ装置UDは、セル原点に対する仮想点を特定する(S230)。なお、S230の処理は繰り返し実行されるため、図36では、「次の仮想点」と記載されている。   FIG. 36 is a flowchart illustrating the details of the analysis process of the second code in the cell (S23 in FIG. 35). The following processing will be described as being executed by the user device UD. However, as described above, when the user device UD is the user device UD1, the following processing is executed by the management server MS1. In this process, the user apparatus UD specifies a virtual point with respect to the cell origin (S230). Note that since the process of S230 is repeatedly executed, “next virtual point” is described in FIG.

そして、ユーザ装置UDは、仮想点に対する次のドット位置を推定する(S231)。例えば、図6に例示したように、ドット位置が仮想点からの距離と方向を変えて配置されている場合には、各配置位置が順次推定される。一方、図3から図5のように、ドットが仮想点上に置かれる場合には、仮想点がそのまま推定された位置となる。   Then, the user device UD estimates the next dot position with respect to the virtual point (S231). For example, as illustrated in FIG. 6, when the dot positions are arranged by changing the distance and direction from the virtual point, the respective arrangement positions are sequentially estimated. On the other hand, when the dot is placed on the virtual point as shown in FIGS. 3 to 5, the virtual point is the estimated position as it is.

そして、ユーザ装置UDは、ドット位置の画素を所定画素数分走査し、画素値の比率VPn/VP0を算出する(S232)。そして、比率VPn/VP0が基準値以下か否かを判定する(S233)。ここで、画素とは、スキャンあるいはカメラで取得された画像が画像メモリに保存されたときの画像メモリの配列要素をいう。ここで、VP0は、ドット中心として推定される位置の画素値である。VPnは、ドット中心からn画素離れた位置の画素値である。VPn/VP0が基準値以下の場合、ドット中心として推定される位置の画素値に対して、ドット中心からn画素離れた位置の画素値の比率が十分に小さいことになる。そこで、ユーザ装置UDは、比率VPn/VP0が基準値以下の場合、ドットの存在を推定する基準値を充足すると判断する。   Then, the user device UD scans the pixel at the dot position by a predetermined number of pixels, and calculates the pixel value ratio VPn / VP0 (S232). And it is determined whether ratio VPn / VP0 is below a reference value (S233). Here, a pixel means an array element of an image memory when an image acquired by scanning or a camera is stored in the image memory. Here, VP0 is a pixel value at a position estimated as a dot center. VPn is a pixel value at a position n pixels away from the dot center. When VPn / VP0 is equal to or less than the reference value, the ratio of the pixel value at a position separated by n pixels from the dot center to the pixel value at the position estimated as the dot center is sufficiently small. Therefore, when the ratio VPn / VP0 is equal to or less than the reference value, the user apparatus UD determines that the reference value for estimating the presence of dots is satisfied.

そして、ユーザ装置UDは、比率がドットの存在を推定する基準値を充足する場合、ドット有りを記録する(S234)。一方、比率がドットの存在を推定する基準値を充足しない場合、つまり、比率VPn/VP0が基準値以下とならない場合、ユーザ装置UDは、ドットなしを記録する(S235)。   Then, when the ratio satisfies the reference value for estimating the presence of dots, the user apparatus UD records the presence of dots (S234). On the other hand, when the ratio does not satisfy the reference value for estimating the presence of the dot, that is, when the ratio VPn / VP0 does not become the reference value or less, the user device UD records no dot (S235).

次に、ユーザ装置UDは、仮想点に対するすべてのドット位置の処理を終了したか否かを判定する(S236)。仮想点に対するすべてのドット位置の処理を終了していない場合、ユーザ装置UDは、処理をS230に戻し、同一仮想点に対する次のドット位置を推定する。なお、仮想点上にドットが配置される場合には、S236の判定は不要である。   Next, the user device UD determines whether or not the processing of all dot positions for the virtual point has been completed (S236). If the processing of all the dot positions for the virtual point has not been completed, the user apparatus UD returns the processing to S230 and estimates the next dot position for the same virtual point. Note that the determination in S236 is not necessary when dots are arranged on virtual points.

一方、仮想点に対するすべてのドット位置の処理を終了した場合、ユーザ装置UDは、全仮想点の処理を終了したか否かを判定する(S237)。そして、全仮想点の処理を終了していない場合、ユーザ装置UDは、処理をS230に戻し、次の仮想点の処理を実行する。 On the other hand, when the process for all the dot positions for the virtual point is completed, the user apparatus UD determines whether or not the process for all the virtual points is completed (S237). If the processing for all virtual points has not been completed, the user apparatus UD returns the processing to S230 and executes the processing for the next virtual point.

また、全仮想点の処理を終了した場合、ユーザ装置UDは、ドット位置に対応するセル内のドットパターンの数値を確定する(S238)。すなわち、ユーザ装置UDは、ドットの配置から復元する数値を決定する。そして、ユーザ装置UDは、セル内のドットパターンの数値とセルの識別情報を保存する(S238)。セルの識別情報は、セルに付せられた通し番号でもよい。また、セルの識別情報は、例えば、QRコードにおけるセルの配置座標でもよい。セルの識別情報は、図11の例では、繰り返し設定される1から所定数(例えば16)までの特定セルインデックスでもよい。また、ユーザ装置UDは、セル内のドットパターンの数値とセルの識別情報と特定セルインデックスを組み合わせて保存してもよい。
<実施形態1の効果>
When the processing of all virtual points is completed, the user device UD determines the numerical value of the dot pattern in the cell corresponding to the dot position (S238). That is, the user apparatus UD determines a numerical value to be restored from the dot arrangement. Then, the user apparatus UD stores the numerical value of the dot pattern in the cell and the cell identification information (S238). The cell identification information may be a serial number assigned to the cell. The cell identification information may be, for example, cell arrangement coordinates in a QR code. In the example of FIG. 11, the cell identification information may be a specific cell index from 1 to a predetermined number (for example, 16) that is repeatedly set. Further, the user apparatus UD may store a combination of the numerical value of the dot pattern in the cell, the cell identification information, and the specific cell index.
<Effect of Embodiment 1>

以上述べたように、本実施形態の情報システムでは、QRコードで例示される第1のコードのセル内に、ドットパターンによる第2のコードを定義した複合コードが採用される。例えば、コンテンツサーバCSが複合コードを生成し、放送媒体、通信媒体、記憶媒体、印刷媒体等の様々な媒体に複合コードを付与し、配布する。   As described above, in the information system of this embodiment, a composite code in which the second code based on the dot pattern is defined in the cell of the first code exemplified by the QR code. For example, the content server CS generates a composite code, assigns the composite code to various media such as a broadcast medium, a communication medium, a storage medium, and a print medium, and distributes the medium.

本複合コードは、明色のセル内では、暗色のドットが使用される。このような構成では、セル内でドットとドットが明色の領域で分離される。また、セル内のドットが隣接するセルと明色の領域で分離される。したがって、読み取り装置であるユーザ装置UDは、明瞭に第2のコードを認識できる。その結果、第1のコードによる情報量を増加させ、かつ、安定して復号することが可能となる。例えば、第2のコードが図5の形式の場合、1つのセルにおいて、324通り、7ビット以上8ビット未満の情報を定義できる。   In this composite code, dark dots are used in light cells. In such a configuration, dots and dots are separated in a light color area in the cell. Further, the dots in the cell are separated from the adjacent cells by a light color area. Therefore, the user device UD that is a reading device can clearly recognize the second code. As a result, it is possible to increase the amount of information by the first code and perform stable decoding. For example, when the second code is in the format shown in FIG. 5, 324 patterns of information of 7 bits or more and less than 8 bits can be defined in one cell.

また、上記実施形態では、ユーザ装置UD2の複合コード解析手段CA2あるいは、管理サーバMS1の複合コード解析手段CAMは、画像入力手段IIN1、IIN2から取得した画像中のドットの存在が推定される位置(例えば、ドット中心と推定される位置)の画素値VP0と、ドット中心と推定される位置から所定画素数(n画素)離れた位置の画素値Vpnとの比率が所定の条件を充足するか否かにしたがって、ドットの存在の有無を判定した。このような画素値の比を用いることで、明色の領域と暗色の領域との境界を精度よく判定できる。上記比率による判定では、例えば、第1のコードの一例として、QRコードの明色と暗色との判定において、全画素の75%以上が暗色画素のセルを暗色のセルとし、全画素の25%以下が暗色画素のセルを明色のセルをと判定する場合と整合する判定を行うことができる。さらに、仮に、ドットの有無を判定すべき領域に、照明のむら、影の影響、あるいは汚れ等が存在する場合でも、画素値の比率を計算することで、ドット中心と推定される位置の画素とドット中心と推定される位置から所定画素数(n画素)離れた位置の画素とにバックグランドの変動が生じても、明色の領域と暗色の領域との境界を精度よく判定できる。   In the above embodiment, the composite code analysis means CA2 of the user device UD2 or the composite code analysis means CAM of the management server MS1 is the position where the presence of dots in the image acquired from the image input means IIN1 and IIN2 is estimated ( For example, whether the ratio between the pixel value VP0 at the position estimated as the dot center) and the pixel value Vpn at a position away from the position estimated as the dot center by a predetermined number of pixels (n pixels) satisfies the predetermined condition. Accordingly, the presence or absence of dots was determined. By using such a ratio of pixel values, the boundary between the light color region and the dark color region can be accurately determined. In the determination based on the above ratio, for example, as an example of the first code, in the determination of the light color and dark color of the QR code, 75% or more of all pixels have dark color cells as dark cells, and 25% of all pixels. The following determination can be made consistent with the case where a dark pixel cell is determined to be a bright cell. Furthermore, even if there is illumination unevenness, the influence of shadows, dirt, or the like in the region where the presence / absence of dots is to be determined, by calculating the pixel value ratio, Even if a background fluctuation occurs in a pixel at a position that is a predetermined number of pixels (n pixels) away from the position estimated as the center of the dot, the boundary between the light color area and the dark color area can be accurately determined.

また、上記実施形態では、ユーザ装置UD2の複合コード解析手段CA2および管理サーバMS1の複合コード解析手段CAMの少なくとも一方により、複合コードを解析し、第2のコードから数値を復元できる。したがって、ユーザ装置UD1のように、解析手段CA2を設けなくても、画像入力手段IIN1と通信手段CMU1を有するユーザ装置UD1は、管理サーバMS1との通信により簡易、軽負荷で、複合コードによるサービスをユーザに提供できる。
[実施形態2]
In the above embodiment, the composite code can be analyzed and the numerical value can be restored from the second code by at least one of the composite code analysis means CA2 of the user device UD2 and the composite code analysis means CAM of the management server MS1. Therefore, unlike the user device UD1, the user device UD1 having the image input unit IIN1 and the communication unit CMU1 can be easily and lightly loaded by the communication with the management server MS1 without providing the analysis unit CA2. Can be provided to the user.
[Embodiment 2]

上記実施形態1では、第2のコードの読み取り順は、第1のコードのセルの読み取り順とした。ただし、第2のコードが設定されたセルの読み取り順を第1のコードのセルの読み取り順を異なるものとしてもよい。例えば、図32の情報システムにおいて、複合コードを生成する複合コード生成手段CGM、CG2が2値符号化されたビット列をセル毎のデータに分割する処理(図34のS14)において、第2のコードが設定されたセルの読み取り順を第1のコードとは異なる順とするとともに、その読み取る順を保存するようにしてもよい。例えば、読み取り順は、セルの読み取り順の番号SEQ(k)とセルの中心座標(Xi,Yj)とを対応づけて管理できる。複合コードを生成する管理サーバMS1の複合コード生成手段CGM、あるいはコンテンツサーバCS2の複合コード生成手段CG2は、第2のコードが設定されたセルの読み取り順の番号SEQ(k)とセルの中心座標(Xi,Yj)とを対応づけて保存し、複合コードを読み取るユーザ装置UD1、UD2に引き渡せばよい。   In the first embodiment, the reading order of the second code is the reading order of the cells of the first code. However, the reading order of the cells in which the second code is set may be different from the reading order of the cells of the first code. For example, in the information system of FIG. 32, the composite code generation means CGM, CG2 for generating a composite code, in the process of dividing the binary-encoded bit string into data for each cell (S14 in FIG. 34), the second code The reading order of the cells in which is set may be different from that of the first code, and the reading order may be stored. For example, the reading order can be managed by associating the cell reading order number SEQ (k) with the center coordinates (Xi, Yj) of the cell. The composite code generation means CGM of the management server MS1 that generates the composite code or the composite code generation means CG2 of the content server CS2 reads the cell reading order number SEQ (k) in which the second code is set and the center coordinates of the cell (Xi, Yj) may be stored in association with each other and delivered to the user devices UD1 and UD2 that read the composite code.

また、例えば、すべてのセルに基準となる通し番号ID(n)を所定の基準で付与し、すべてのセルについて付与される識別情報である通し番号ID(n)と、第2のコードが設定されたセルの読み取り順の番号SEQ(k)との関係として管理できる。複合コードを生成する管理サーバMS1の複合コード生成手段CGM、あるいはコンテンツサーバCS2の複合コード生成手段CGは、セルの読み取り順の番号SEQ(k)と各セルについての通し番号ID(n)とを対応づけて保存し、複合コードを読み取るユーザ装置UD1、UD2に引き渡せばよい。この場合、各セルについての通し番号ID(n)と各セルの中心座標(Xi,Yj)との関係は、事前に規則で決められているものとする。   Further, for example, a serial number ID (n) serving as a reference is assigned to all cells based on a predetermined standard, and a serial number ID (n) that is identification information assigned to all cells and a second code are set. It can be managed as a relationship with the number SEQ (k) in the cell reading order. The composite code generation means CGM of the management server MS1 that generates the composite code or the composite code generation means CG of the content server CS2 associates the number SEQ (k) in the cell reading order with the serial number ID (n) for each cell. Then, it may be stored and handed over to the user devices UD1 and UD2 that read the composite code. In this case, it is assumed that the relationship between the serial number ID (n) for each cell and the center coordinates (Xi, Yj) of each cell is determined in advance by a rule.

以下、セルの読み取り順の番号SEQ(k)を特定セルインデックスともいう。また、第2のコードが設定されたセルの読み取り順の番号SEQ(k)とセルの中心座標(Xi,Yj)との関係、あるいは、すべてのセルについて付与される識別情報である通し番号ID(n)と、第2のコードが設定されたセルの読み取り順の番号SEQ(k)との関係をセル読み取り順序情報という。   Hereinafter, the cell reading order number SEQ (k) is also referred to as a specific cell index. Also, the relationship between the reading sequence number SEQ (k) in which the second code is set and the center coordinates (Xi, Yj) of the cell, or the serial number ID (identification information given to all the cells) The relationship between n) and the reading sequence number SEQ (k) of the second code is called cell reading order information.

図37に、実施形態2に係る情報システムの構成を例示する。図のように、この情報システムは、管理サーバMS3と、コンテンツサーバCS3と、ユーザ装置UD3とがネットネットワークN1により接続される。管理サーバMS3は、複合コード生成手段CGMと、特定セルインデックス設定手段CIGMを有する。複合コード生成手段CGMは、複合コードを生成するときに、特定セルインデックス設定手段CIGMにより、セル読み取り順序情報を生成し、セル読み取り順序情報ファイルCIMに保存する。   FIG. 37 illustrates the configuration of the information system according to the second embodiment. As shown in the figure, in this information system, a management server MS3, a content server CS3, and a user device UD3 are connected by a network network N1. The management server MS3 has composite code generation means CGM and specific cell index setting means CIGM. When generating the composite code, the composite code generation unit CGM generates cell reading order information by the specific cell index setting unit CIGM and stores it in the cell reading order information file CIM.

また、コンテンツサーバCS3は、特定セルインデックス設定手段CIGSを有する。コンテンツサーバCS3は、複合コードを生成するときに、特定セルインデックス設定手段CIGSにより、セル読み取り順序情報を生成し、セル読み取り順序情報ファイルCISに保存する。なお、図37では、省略しているが、本情報システムは、実施形態1のコンテンツサーバCS1を有してもよい。コンテンツサーバCS1は、自身で複合コードを生成する代わりに、複合コードの生成を管理サーバMS3に依頼する。したがって、生成された複合コードに対応するセル読み取り順序情報は、管理サーバMS3のセル読み取り順序情報ファイルCIMに保存される。なお、通信手段CMS3、複合コード出力手段COUT3は実施形態1の通信手段CMS2、複合コード出力手段COUT2と同様であるので、その説明を省略する。   In addition, the content server CS3 includes specific cell index setting means CIGS. When the content server CS3 generates the composite code, the specific cell index setting unit CIGS generates cell reading order information and stores it in the cell reading order information file CIS. Although omitted in FIG. 37, the information system may include the content server CS1 of the first embodiment. Instead of generating the composite code itself, the content server CS1 requests the management server MS3 to generate the composite code. Accordingly, the cell reading order information corresponding to the generated composite code is stored in the cell reading order information file CIM of the management server MS3. Note that the communication unit CMS3 and the composite code output unit COUT3 are the same as the communication unit CMS2 and the composite code output unit COUT2 of the first embodiment, and thus description thereof is omitted.

ユーザ装置UD3は、例えば、セル順序読み取り情報を管理サーバMS3またはコンテンツサーバCS3から、ネットワークN1を介して取得し、保持する。ユーザ装置UD3の複合コード解析手段CA3は、セル順序読み取り情報にしたがって、各セルに設定されたドットパターンによる数値を統合することで、第2のコードからデジタルデータを復元する。なお、画像入力手段IIN3、通信手段CMU3は、実施形態1の画像入力手段IIN1、IIN2、通信手段CMU1等と同様であるので、その説明を省略する。   For example, the user device UD3 acquires and holds cell order read information from the management server MS3 or the content server CS3 via the network N1. The composite code analysis means CA3 of the user device UD3 restores the digital data from the second code by integrating the numerical values based on the dot pattern set in each cell according to the cell order reading information. Note that the image input unit IIN3 and the communication unit CMU3 are the same as the image input units IIN1, IIN2, the communication unit CMU1 and the like of the first embodiment, and thus description thereof is omitted.

図38は、コンテンツサーバCS3または管理サーバMS3による複合コード生成処理Bを例示するフローチャートである。この処理では、コンテンツサーバCS3は、S14Aの処理において、セル読み取り順序情報を保存する点が図32と相違する。他の手順は、実施形態1と同様であるので、その説明を省略する。S12からS15の処理を実行するコンテンツサーバCS3は、第2のコードを生成する第2の生成手段を有するといえる。   FIG. 38 is a flowchart illustrating the composite code generation process B by the content server CS3 or the management server MS3. This process is different from FIG. 32 in that the content server CS3 stores the cell reading order information in the process of S14A. Since other procedures are the same as those in the first embodiment, the description thereof is omitted. It can be said that the content server CS3 that executes the processing from S12 to S15 has second generation means for generating the second code.

図39は、ユーザ装置UDによる複合コード読取処理Bを例示するフローチャートである。この処理では、ユーザ装置UD3は、S25AおよびS26Aの処理を実行する点で、図35と相違する。すなわち、ユーザ装置UD3は、セル読み取り順序情報をセル読み取り順序情報ファイルCIUから参照する(S25A)。そして、ユーザ装置UD3は、セル読み取り順序情報にしたがって各セル内のドットパターンで指定される数値を統合し、第2のコードによるデジタルデータを復元する(S26A)。なお、ユーザ装置UD3は、セル読み取り順序情報をセル読み取り順序情報ファイルCIUから参照する代わりに、コンテンツサーバCS3または管理サーバMS3にセル読み取り順序情報を生成するように依頼し、生成されたセル読み取り順序情報を参照するようにしてもよい。S22、S23、S25AおよびS26Aの処理を実行するユーザ装置UDは、第2の取得手段を有するといえる。また、S25Aの処理を実行するユーザ装置UD3は、特定セルを順序づける特定セルインデックスを生成するサーバまたは特定セルインデックスを保存するサーバから、特定セルインデックスを取得する手段を有すると言える。また、コンテンツサーバCS3または管理サーバMS3は、特定セルを順序づける特定セルインデックスを生成するサーバまたは特定セルインデックスを保存するサーバの一例と言うことができる   FIG. 39 is a flowchart illustrating the composite code reading process B by the user device UD. In this process, the user apparatus UD3 is different from FIG. 35 in that the processes of S25A and S26A are executed. That is, the user apparatus UD3 refers to the cell reading order information from the cell reading order information file CIU (S25A). Then, the user device UD3 integrates the numerical values specified by the dot pattern in each cell according to the cell reading order information, and restores the digital data by the second code (S26A). The user apparatus UD3 requests the content server CS3 or the management server MS3 to generate cell reading order information instead of referring to the cell reading order information from the cell reading order information file CIU, and generates the generated cell reading order. Information may be referred to. It can be said that the user device UD that executes the processes of S22, S23, S25A, and S26A has a second acquisition unit. Moreover, it can be said that user apparatus UD3 which performs the process of S25A has a means to acquire a specific cell index from the server which produces | generates the specific cell index which orders a specific cell, or the server which stores a specific cell index. Further, the content server CS3 or the management server MS3 can be said to be an example of a server that generates a specific cell index that orders specific cells or a server that stores a specific cell index.

なお、ユーザ装置UD3は、S26Aによる処理を実行するときに、セル読み取り順序情報を管理サーバMS3から取得してもよいし、図39の複合コード読取処理を実行する前に、管理サーバMS3から予めセル読み取り順序情報を取得し、セル読み取り順序情報ファイルCIUに保存しておいてもよい。   Note that the user apparatus UD3 may acquire the cell reading order information from the management server MS3 when executing the process of S26A, or may execute the process from the management server MS3 in advance before executing the composite code reading process of FIG. Cell reading order information may be acquired and stored in the cell reading order information file CIU.

以上述べたように、実施形態2では、複合コードを生成するコンテンツサーバCS3のまたは管理サーバMS3により、特定セルインデックスであるセルの読み取り順の番号SEQ(k)とセルの中心座標(Xi,Yj)との関係、あるいは、セルの読み取り順の番号SEQ(k)と各セルについての通し番号ID(n)との関係がセル読み取り順序情報ファイルCIS、CIM等に保存される。セル読み取り順序情報ファイルCIS、CIM等に保存されたセル読み取り順序情報は、ユーザ装置UD3に引き渡され、複合コードの復号時に参照され、ドットパターンの形式で設定されたセルごとの数値が統合され、第2のコードが元のデジタルデータに復元される。したがって、実施形態2の情報システムによれば、第1のコード、例えば、QRコードの読み取り順に依存しない読み取り順序で、第2のコードを形成するドットパターンを各セルに設定でき、復元できる。   As described above, in the second embodiment, the content server CS3 or the management server MS3 that generates the composite code uses the cell reading order number SEQ (k) that is the specific cell index and the cell center coordinates (Xi, Yj). ) Or the relationship between the cell reading order number SEQ (k) and the serial number ID (n) for each cell is stored in the cell reading order information files CIS, CIM, and the like. Cell reading order information stored in the cell reading order information file CIS, CIM, etc. is delivered to the user device UD3, is referred to when decoding the composite code, and numerical values for each cell set in the dot pattern format are integrated, The second code is restored to the original digital data. Therefore, according to the information system of the second embodiment, the dot pattern forming the second code can be set in each cell in the reading order independent of the reading order of the first code, for example, the QR code, and can be restored.

このような読み取り順は、事前に規則で定めておいてもよいし、例えば、図1に例示したフォーマット情報あるいは第1のコードのデータ(本文)の中に、読み取り順序の規則を指定する情報を埋め込んでおいてもよい。このような構成とすることで、様々な態様で第2のコードを設定できる。
[実施形態3]
Such a reading order may be determined by a rule in advance, for example, information specifying a reading order rule in the format information exemplified in FIG. 1 or the data (text) of the first code. May be embedded. With such a configuration, the second code can be set in various modes.
[Embodiment 3]

上記実施形態1、2では、第1のコードのセルの読み取りと並行し、各セル内のドットパターンの有無を判定し、第2のコードを復号した。しかし、一旦第1のコードの復号のみを先に実行し、次に2回目に、各セルを走査し、第2のコードからデジタルデータを復元するようにしてもよい。   In the first and second embodiments, in parallel with the reading of the first code cell, the presence or absence of a dot pattern in each cell is determined, and the second code is decoded. However, only the decoding of the first code may be performed first, and then each cell may be scanned for the second time to restore the digital data from the second code.

また、上記実施形態2では、第1のコードのセルの読み取り順と第2のコードのセル読み取り順が異なる場合の処理を例示した。しかし、例えば、第1のコードがQRコードである場合に、仮に、図1に例示したデータ及び誤り訂正符号の読み取り順と、第2のコードがドットパターンで符号化されたセルの読み取り順が同一の場合でも、フォーマット領域、ファインダパターン、タイミングパターン、または、図13に例示したクワイエットゾーン等に第2のコードのドットパターン(または線分のパターン等)を設定する場合には、第2のコードの読み取り順は第1のコードのセルの読み取り順を異なるものとなる。そこで、第2のコードを形成するドットパターン(または線分のパターン等)が設定されるセルによっては、第1のコードのセルの読み取りと並行し、各セル内のドットパターンの有無を判定できない場合もある。   In the second embodiment, the process when the cell reading order of the first code and the cell reading order of the second code are different is illustrated. However, for example, when the first code is a QR code, the reading order of the data and the error correction code illustrated in FIG. 1 and the reading order of the cell in which the second code is encoded with a dot pattern are assumed. Even in the same case, when the dot pattern (or line segment pattern, etc.) of the second code is set in the format area, the finder pattern, the timing pattern, the quiet zone exemplified in FIG. The reading order of the codes is different from the reading order of the cells of the first code. Therefore, depending on the cell in which the dot pattern (or line segment pattern, etc.) forming the second code is set, the presence or absence of the dot pattern in each cell cannot be determined in parallel with the reading of the first code cell. In some cases.

そこで、実施形態3では、複合コードの解析において、第1のコードの解析のためのセルの走査が終了した後、再び複合コードの画像中のセルを上記規則にしたがって走査する処理を例示する。複合コードの解析での第2のコードが埋め込まれたセルの読み取り順以外の実施形態3の他の構成および処理は上記実施形態1と同様である。   Therefore, the third embodiment exemplifies a process of scanning a cell in an image of a composite code again according to the above rule after scanning of a cell for analyzing the first code is completed in the analysis of the composite code. Other configurations and processes of the third embodiment are the same as those of the first embodiment except for the reading order of the cell in which the second code is embedded in the analysis of the composite code.

実施形態3の構成要素のうち、実施形態1および実施形態2と同一の構成要素については、実施形態1および実施形態2の構成要素が実施形態3に適用されるものとしてその説明を省略する。また、必要に応じて、実施形態1および実施形態2の構成要素を引用する。   Among the constituent elements of the third embodiment, the same constituent elements as those of the first and second embodiments are omitted because the constituent elements of the first and second embodiments are applied to the third embodiment. Further, the constituent elements of the first and second embodiments are cited as necessary.

なお、上記実施形態2では、第2のコードの読み取り順を第1のコードのセルの読み取り順を異なるものとし、セルの読み取り順の番号SEQ(k)とセルの中心座標(Xi,Yj)との関係、あるいは、セルの読み取り順の番号SEQ(k)と各セルについて通し番号ID(n)との関係がセル読み取り順序情報ファイルCIS、CIM等に保存され、復号時に参照できるようにした。本実施形態では、実施形態2と同様、セル読み取り順序情報が読み取り側のユーザ装置UD3等から参照できるようにしてもよいし、セル読み取り順序情報を読み取り側のユーザ装置UD3等に引き渡さないようにしてもよい。   In the second embodiment, the reading order of the second code is different from the reading order of the cells of the first code, the cell reading order number SEQ (k) and the cell center coordinates (Xi, Yj). Or the relationship between the cell reading order number SEQ (k) and the serial number ID (n) for each cell is stored in the cell reading order information files CIS, CIM, etc., and can be referred to at the time of decoding. In this embodiment, as in the second embodiment, the cell reading order information may be referred to from the reading-side user device UD3 or the like, and the cell reading order information is not transferred to the reading-side user device UD3 or the like. May be.

例えば、図32の情報システムにおいて、複合コードを生成するとき、2値符号化されたビット列をセル毎のデータに分割する処理(図32のS14)において分割されたビット列を割り当てるセルの順序を特定の規則にしたがって決定するものとする。そして、復号コードを解析するときに、同一の規則にしたがって、第2のコードを形成するドットパターンが設定されたセル数値を統合すればよい。したがって、第2のコードの読み取り順が第1のコードのセルの読み取り順と異なるものとしても、必ずしもセル読み取り順序情報が必要な訳ではない。   For example, in the information system of FIG. 32, when generating a composite code, the order of the cells to which the divided bit string is allocated in the process of dividing the binary-encoded bit string into data for each cell (S14 in FIG. 32) is specified. It shall be determined according to the rules. Then, when analyzing the decoded code, the cell numerical values set with the dot pattern forming the second code may be integrated according to the same rule. Therefore, even if the reading order of the second code is different from the reading order of the cells of the first code, the cell reading order information is not necessarily required.

図40は、実施形態3における複合コードの読み取り処理を例示するフローチャートである。図40の処理は、実施形態2の図39と比較して、S20CおよびS21Cが相違する。すなわち、例えば、ユーザ装置UD3は、まず、第1のコードのすべてのセルの解析を実行する(S20C)。以下、図40の処理は、ユーザ装置UD3が実行するものとして説明するが、ユーザ装置UD3から複合コードを引き渡された管理サーバMS3が以下の処理を実行してもよい。   FIG. 40 is a flowchart illustrating the complex code reading process according to the third embodiment. The processing of FIG. 40 is different in S20C and S21C compared to FIG. 39 of the second embodiment. That is, for example, the user apparatus UD3 first analyzes all the cells of the first code (S20C). Hereinafter, the process of FIG. 40 will be described as being executed by the user apparatus UD3, but the management server MS3 to which the composite code is delivered from the user apparatus UD3 may execute the following process.

ユーザ装置UD3等(以下、単にユーザ装置UD)は、画像入力インターフェース17を介して、スキャナあるいはカメラ等から入力される複合コードの画像を入力し、フォーマット、および第1のコードのセルの配置を認識する。例えば、ユーザ装置UDは、ファインダパターンにより、QRコードの向きを認識し、アライメントパターンにより画像の歪みを補正する。また、ユーザ装置UDは、タイミングパターンにより、セルの配置間隔を認識し、QRコードのデータおよび誤り訂正符号の配置位置を特定する。そして、ユーザ装置は、例えば、一般的なQRコードの読み取り順序にしたがって、すべてのセルの明暗を判定する。   The user device UD3 or the like (hereinafter simply referred to as the user device UD) inputs an image of a composite code input from a scanner or a camera or the like via the image input interface 17, and formats and arranges the cells of the first code. recognize. For example, the user apparatus UD recognizes the direction of the QR code using the finder pattern, and corrects image distortion using the alignment pattern. Further, the user apparatus UD recognizes the cell arrangement interval based on the timing pattern, and specifies the arrangement position of the QR code data and the error correction code. And a user apparatus determines the brightness of all the cells according to the reading order of a general QR code, for example.

次に、ユーザ装置UDは、再度複合コードの全セルを所定の順に走査する。走査順は、例えば、右下のセルから、第1列を上方向に走査し、次に、第2列を下方向に走査し、以降同様に、奇数列を上方向に走査し、偶数列を下方向に走査すればよい。ただし、実施形態3において走査順に限定がある訳ではなく、例えば、左上セルから、奇数行を右方向に、偶数行を左方向に、行毎に走査してもよい。この全セルにおいては、ファインダパターン、アライメントパターン、タイミングパターン、フォーマット、データおよび誤り訂正符号のすべてを走査する。そして、ユーザ装置UDは、次のセルの画像を取得する(S21C)。この処理は、処理の対象に、ファインダパターン、アライメントパターン、タイミングパターン、フォーマット等が含まれる点を除外して、実施形態1、2と同様である。   Next, the user apparatus UD scans all the cells of the composite code again in a predetermined order. For example, from the lower right cell, the first column is scanned upward, then the second column is scanned downward, and similarly, the odd column is scanned upward, and the even column is scanned. May be scanned downward. However, the scanning order is not limited in the third embodiment. For example, the odd-numbered rows may be scanned rightward and the even-numbered rows may be scanned leftward from the upper left cell. In all the cells, the finder pattern, alignment pattern, timing pattern, format, data, and error correction code are all scanned. Then, the user device UD acquires an image of the next cell (S21C). This processing is the same as in the first and second embodiments except that the processing target includes a finder pattern, an alignment pattern, a timing pattern, a format, and the like.

次に、ユーザ装置UDは、処理中のセル内に第2のコードが定義されているか否かを判定する(S22)。この処理は、判定の対象に、ファインダパターン、アライメントパターン、タイミングパターン、フォーマット等が含まれる点を除外して、実施形態1、2と同様である。そして、セル内に第2のコードが定義されている場合には、セル内の第2のコードを解析する(S23)。この処理も、解析の対象に、ファインダパターン、アライメントパターン、タイミングパターン、フォーマット等が含まれる点を除外して、実施形態1、2と同様である。   Next, the user apparatus UD determines whether or not the second code is defined in the cell being processed (S22). This process is the same as in the first and second embodiments except that the determination target includes a finder pattern, an alignment pattern, a timing pattern, a format, and the like. If the second code is defined in the cell, the second code in the cell is analyzed (S23). This process is also the same as in the first and second embodiments except that the analysis target includes a finder pattern, an alignment pattern, a timing pattern, a format, and the like.

そして、ユーザ装置UDは、次のセルが未処理で残っているか否かを判定する(S24)。次のセルが未処理の場合、ユーザ装置UDは、処理をS21に戻す。この処理も、判定の対象に、ファインダパターン、アライメントパターン、タイミングパターン、フォーマット等が含まれる点を除外して、実施形態1、2と同様である。   Then, the user apparatus UD determines whether or not the next cell remains unprocessed (S24). When the next cell is unprocessed, the user apparatus UD returns the process to S21. This process is also the same as in the first and second embodiments except that the determination target includes a finder pattern, an alignment pattern, a timing pattern, a format, and the like.

そして、すべてのセルの処理が完了し、次のセルがない場合、ユーザ装置UDは、第1のコードの明暗判定で得られたビット列から、第1のコードをキャラクタごとに統合した情報を生成する(S25)。この処理は、実施形態1、2と同様である。ただし、S25の処理は、S20Cの処理の中で実行してもよい。   When the processing of all the cells is completed and there is no next cell, the user apparatus UD generates information that integrates the first code for each character from the bit string obtained by the light / dark determination of the first code. (S25). This process is the same as in the first and second embodiments. However, the process of S25 may be executed in the process of S20C.

そして、ユーザ装置UDは、セル読み取り順序情報をセル読み取り順序情報ファイルCIUから参照する(S25A)。そして、ユーザ装置UDは、セル読み取り順序情報にしたがって各セル内のドットパターンで指定される数値を統合し、第2のコードによるデジタルデータを復元する(S26A)。S25AおよびS26Aの処理は、処理の対象に、ファインダパターン、アライメントパターン、タイミングパターン、フォーマット等が含まれる点を除外して、実施形態1、2と同様である。以降の処理は、実施形態1、2と同様であるので、その説明を省略する。S22、S23、S25AおよびS26Aの処理を実行するユーザ装置UDは、第2の取得手段を有するといえる。   Then, the user apparatus UD refers to the cell reading order information from the cell reading order information file CIU (S25A). Then, the user apparatus UD integrates the numerical values specified by the dot pattern in each cell according to the cell reading order information, and restores the digital data by the second code (S26A). The processes in S25A and S26A are the same as those in the first and second embodiments except that the processing target includes a finder pattern, an alignment pattern, a timing pattern, a format, and the like. Since the subsequent processing is the same as in the first and second embodiments, the description thereof is omitted. It can be said that the user device UD that executes the processes of S22, S23, S25A, and S26A has a second acquisition unit.

なお、上述のように、2値符号化されたビット列をセル毎のデータに分割する処理(図34のS14)において分割されたビット列を割り当てるセルの順序を特定の規則にしたがって決定するものとする場合には、S25Aの処理は不要である。すなわち、ユーザ装置UDは、当該規則にしたがって、各セル内のドットパターンで指定される数値を統合し、第2のコードによるデジタルデータを復元すればよい。   As described above, the order of the cells to which the bit string divided in the process of dividing the binary coded bit string into data for each cell (S14 in FIG. 34) is determined according to a specific rule. In this case, the process of S25A is not necessary. That is, the user apparatus UD may restore the digital data based on the second code by integrating the numerical values specified by the dot pattern in each cell according to the rule.

以上述べたように、実施形態3によれば、ユーザ装置UD3、管理サーバMS3等は、第1のコード、例えば、QRコードのセル読み取り順と異なる読み取り順序で、第2のコードが設定されたセルから第2のコードを形成するドットパターンを読み取り、複合コードを復号できる。したがって、ファインダパターン、アライメントパターン、タイミングパターン、フォーマット等にドットパターンが形成される場合も、復号が可能となる。
[実施形態4]
As described above, according to the third embodiment, the user device UD3, the management server MS3, and the like have the second code set in the reading order different from the first code, for example, the QR code cell reading order. The dot pattern forming the second code can be read from the cell and the composite code can be decoded. Therefore, even when a dot pattern is formed in a finder pattern, alignment pattern, timing pattern, format, etc., decoding is possible.
[Embodiment 4]

上記実施形態1〜3では、第1のコードのセルの配置に対して、第2のコードが静的に配置され、時間変化しない複合コードが例示された。実施形態4では、第1のコードのセルの配置に対して、第2のコードが時間変化する複合コードが例示される。このような複合コードは、例えば、情報機器のディスプレイ上に表示可能である。例えば、情報機器がフレームごとに固定の第1のコードに、異なる第2のコードを組み合わせてディスプレイ上に表示すればよい。第2のコードは、1フレームごとに異なるものが出力されてもいいし、複数フレーム連続して同一のものが出力されてもよい。第2のコードは、図12から図29に例示したどれであってもよい。   In the first to third embodiments, the second code is statically arranged with respect to the arrangement of the cells of the first code, and the composite code that does not change with time is exemplified. The fourth embodiment exemplifies a composite code in which the second code is time-varying with respect to the cell arrangement of the first code. Such a composite code can be displayed on a display of an information device, for example. For example, the information device may display a combination of a first code fixed for each frame and a different second code on the display. Different second codes may be output for each frame, or the same code may be output continuously for a plurality of frames. The second code may be any of those exemplified in FIGS.

また、同一の第2のコードで、表示される表示期間を変更することで、いわば、パルス幅変調と同様の手順で、情報を定義してもよい。例えば、図12に例示した仮想点からの距離と方向で情報を定義するドットパターンでは、定義される情報量は、3ビットである。しかし、3ビット固定のドットパターンを時間軸方向で、フレームごとにONとOFFさせることで、60ビット/秒程度の情報を1つのセルで送信できる。この場合に、例えば、第1のコード、例えば、QRコードの所定の領域(図1のファインダパターン、アライメントパターン等)も、ONおよびOFFすることで、フレームを同期させるための同期パターンを形成してもよい。読み取り装置は、第1のコードによるフレーム同期にしたがって、第2のコードであるドットパターンをフレームごとに取得すればよい。   In addition, by changing the display period to be displayed with the same second code, information may be defined in the same procedure as pulse width modulation. For example, in the dot pattern in which information is defined by the distance and direction from the virtual point illustrated in FIG. 12, the amount of information defined is 3 bits. However, information of about 60 bits / second can be transmitted in one cell by turning a dot pattern fixed at 3 bits on and off for each frame in the time axis direction. In this case, for example, a predetermined pattern (a finder pattern, an alignment pattern, etc. in FIG. 1) of the first code, for example, a QR code is also turned ON and OFF to form a synchronization pattern for synchronizing frames. May be. The reading device may acquire the dot pattern, which is the second code, for each frame in accordance with the frame synchronization by the first code.

さらに、1つの第2のコードが表示される区間が1〜数フレームとすることで、人の目によって視認されにくくすることができる。したがって、人の目には認識されにくい状態で、情報機器のディスプレイから他の情報機器のカメラ、スキャナ等の画像形成装置によって複合コードを取得することができる。   Furthermore, the section in which one second code is displayed is one to several frames, so that it is difficult to be visually recognized by human eyes. Therefore, the composite code can be acquired from the display of the information device by an image forming apparatus such as a camera or a scanner of another information device while being hardly recognized by human eyes.

なお、第2のコードの時間変化において、明暗のパターンが複数フレーム以上継続する場合には、画像入力手段(実施形態1の画像入力手段IIN1、IIN2、実施形態3の画像入力手段IIN3等)は複数フレーム分のデータを蓄積することで、同期パターンなしに第2のコードを入力可能である。また、第2のコード自体が、例えば、信号の開始を示す明暗パターンのシーケンスと、信号の終了を示す明暗パターンのシーケンスを有することで、QRコードの所定の領域に同期パターンを形成しなくてもよい。   If the light and dark pattern continues for a plurality of frames in the time change of the second code, the image input means (image input means IIN1, IIN2 of the first embodiment, image input means IIN3 of the third embodiment, etc.) By accumulating data for a plurality of frames, the second code can be input without a synchronization pattern. Further, the second code itself has, for example, a light / dark pattern sequence indicating the start of a signal and a light / dark pattern sequence indicating the end of the signal, so that a synchronization pattern is not formed in a predetermined region of the QR code. Also good.

ここで、複合コードが情報機器のディスプレイに表示される場合について説明する。
第1のコードの一例であるQRコードは視認できることが前提であるため、ディスプレイで任意の時間継続表示する。一方、ディスプレイで映像が表示されている30フレーム/秒では10〜30フレームに付き1〜2フレーム程度、60フレーム/秒では20〜60フレームに付き1〜4フレーム前後だけ第2のコードを表示することにより、視聴者には第2のコードを視認しにくくすることができる。さらに、視認しにくくしたい場合は、ドットの画素色がセルで使用されている識別可能な2以上の色のセルの画素色に対して認識できる範囲で、ドットが視認しにくい画素色を使用すればよい。
[その他の変形例]
Here, a case where the composite code is displayed on the display of the information device will be described.
Since the QR code, which is an example of the first code, is premised on being visible, it is continuously displayed on the display for an arbitrary time. On the other hand, the second code is displayed only about 1 to 2 frames per 10 to 30 frames at 30 frames / second when the image is displayed on the display, and about 1 to 4 frames per 20 to 60 frames at 60 frames / second. This makes it difficult for the viewer to visually recognize the second code. Furthermore, if you want to make it difficult to see, use a pixel color that makes it difficult for the dots to be visually recognized within the range where the pixel colors of the dots can be recognized with respect to the pixel colors of two or more identifiable cells used in the cell. That's fine.
[Other variations]

上記実施形態1から4では、明色の領域と暗色と領域とによって、第1のコードおよび第2のコードを定義した。そして、生成装置であるコンテンツサーバCS1、CS2、CS32等が複合コードを出力し、読み取り装置であるユーザ装置UD1、UD2、UD3等が複合コードからデジタルデータを復元し、所定の処理を実行した。ここで、暗色の領域は、例えば、黒色の領域であり、明色の領域は、白色の領域である。しかし、複合コードは、明色の領域と暗色によって形成されるものに限定される訳ではない。例えば、R(赤)、G(緑)、B(青)、C(シアン)、M(マゼンダ)、Y(黄)、B(黒)、W(白)のいずれか2色を、第1のコードおよび第2のコードのセルの色に使用してもよい。また、カラーコード情報として、R(赤)、G(緑)、B(青)、C(シアン)、M(マゼンダ)、Y(黄)、B(黒)、W(白)いずれかをセルの色として選択できるようにし、第1のコードおよび第2のコードを定義してもよい。その際、第1のコードを形成するセルと第2のコードを形成するマークの識別は、選択できる色が異なる組み合わせにより可能となる。また、第2のコードに形成するマークがあるか否かで、第2のコードの存在を認識できる。マークが配置されていない第1のコードのセルの色と第2のコードのマークは同色を選択するケースがあってもよい。当然、当該マークは、第2のコードのセルの色と識別できる範囲の色を使用しなければならない。さらに、当該マークは第2のコードのセルの色と識別できる範囲で、当該マークの色をカラーコード情報とすることもできる。複合コードの第1のコードがQRコードである場合は、第1のコードと第2のコードのセルの色は、従来のQRコードリーダーが第1のコードを読み取れる色に限定し、第2のコードのマークの色を、R(赤)、G(緑)、B(青)、C(シアン)、M(マゼンダ)、Y(黄)、B(黒)、W(白)の8色としてもよい。マーク配置位置に取得できる色を8種類とすることにより、1つのマーク配置位置で3bitを定義でき、第2のコードの情報量を3倍に増大できる。なお、印刷媒体の色と第1または第2のコードのマークが形成されたセルのいずれかの色は同一であってもよい。さらに、マークが形成されていない第1のコードのセルの色は、前述のいずれかのマークの色と同一であってもよい。その場合、当該マークの色情報は、4色であれば2bitで00、8色であれば3bitで000としてもよい。当然であるが、複合QRコードリーダー性能により色数を増やし、カラーコード情報を増加させることができることは言うまでもない。例えば、画像識別における符号化変調技術を用いれば、その倍程度の情報量が実現可能となり、カラーマークを使用することにより、6倍の情報量を定義できることになる。 In the first to fourth embodiments, the first code and the second code are defined by the light color region, the dark color, and the region. Then, the content servers CS1, CS2, CS32, etc., which are generation devices, output the composite code, and the user devices UD1, UD2, UD3, etc., which are reading devices, restore the digital data from the composite code and execute predetermined processing. Here, the dark color region is, for example, a black region, and the light color region is a white region. However, the composite code is not limited to one formed by a light color region and a dark color. For example, any one of R (red), G (green), B (blue), C (cyan), M (magenta), Y (yellow), B (black), and W (white) is selected as the first color. May be used for the cell colors of the second and second codes. As color code information, any of R (red), G (green), B (blue), C (cyan), M (magenta), Y (yellow), B (black), and W (white) is a cell. And the first code and the second code may be defined. At this time, the cell forming the first code and the mark forming the second code can be identified by a combination of different colors that can be selected. Further, the presence of the second code can be recognized depending on whether or not there is a mark to be formed on the second code. There may be a case where the color of the cell of the first code where the mark is not arranged and the mark of the second code select the same color. Of course, the mark must use a color in a range that can be distinguished from the color of the cell of the second code. Further, the color of the mark can be used as color code information within a range that can be distinguished from the cell color of the second code. When the first code of the composite code is a QR code, the colors of the cells of the first code and the second code are limited to colors that the conventional QR code reader can read the first code. The code mark colors are 8 colors: R (red), G (green), B (blue), C (cyan), M (magenta), Y (yellow), B (black), and W (white) Also good. By using eight types of colors that can be acquired at the mark arrangement position, 3 bits can be defined at one mark arrangement position, and the information amount of the second code can be increased three times. Note that the color of the print medium and the color of any of the cells in which the first or second code marks are formed may be the same. Furthermore, the color of the cell of the first code in which no mark is formed may be the same as the color of any of the aforementioned marks. In this case, the color information of the mark may be 00 in 2 bits for 4 colors and 000 in 3 bits for 8 colors. Needless to say, the number of colors can be increased and the color code information can be increased by the performance of the composite QR code reader. For example, if an encoded modulation technique in image identification is used, an information amount about twice that can be realized, and a six times information amount can be defined by using a color mark.

また、上記実施形態1から4では、第1のコードとしてQRコードが例示された。しかし、実施形態1から4において、第1のコードがQRコードに限定される訳ではない。例えば、第1のコードとして、カラーコード、DataMatrix、PDF417を含む2次元コードを利用できる。   In the first to fourth embodiments, the QR code is exemplified as the first code. However, in the first to fourth embodiments, the first code is not limited to the QR code. For example, a two-dimensional code including a color code, DataMatrix, and PDF417 can be used as the first code.

[実施形態5]
上記実施形態1〜3では、第1のコードのセルの配置に対して、第2のコードが組合せられた複合コードが例示された。また、実施形態4では、第1のコードのセルの配置に対して、第2のコードが時間変化する時系列複合コードが例示された。本実施形態では、第2のコードの変形例および第2のコードの読み取り方法の変形を例示する。なお、実施形態5で説明される復号コードが実施形態1〜4に適用できることはいうまでもない。また、実施形態4で説明される復号コードの読み取り方法が実施形態1〜4に適用できることはいうまでもない。
[Embodiment 5]
In the first to third embodiments, the composite code in which the second code is combined with the cell arrangement of the first code is exemplified. In the fourth embodiment, the time-series composite code in which the second code changes with time with respect to the cell arrangement of the first code is exemplified. In the present embodiment, a modification of the second code and a modification of the second code reading method are illustrated. Needless to say, the decryption code described in the fifth embodiment can be applied to the first to fourth embodiments. Needless to say, the method for reading a decoded code described in the fourth embodiment can be applied to the first to fourth embodiments.

(複合QRコードの印刷特性と読み取り方法)
以下、マークとしてドットを使用した実施例を示す。もちろん、マークは略円形、矩形、十字、多角形等、どのような形状であってもよい。なお、以下で示したドットを他のマークに置き換えて使用してもよいことは言うまでもない。
図41に、実施形態5における紙面等の媒体に印刷された暗色セルとピクセルの関係を例示する。図42は、4×4pixelの暗色セルに明色のドットを形成した例である。図43は、4×4pixelの明色セルに暗色のドットを形成した例である。印刷されるQRコードの暗色セルの大きさは、通常、0.17mm〜0.5mmであり、図41のように、1個のセルを4×4pixel以上で印刷することが推奨されている。なお、1ピクセルの形状は矩形または円形いずれでもよい。最低の0.17mmは、一般的な印刷解像度の600dpiで印刷した場合、4×25.4mm/600≒0.17mmとなる。一方、ドットコードでのドットの大きさは、データ上では600dpiのピクセルサイズ、つまり25.4mm/600≒0.042mmである。なお、ドットゲインやインクの膨張、浸透等により膨らんで、ドットの大きさが0.05mm程度になる場合が多々ある。なお、逆にインクの定着が悪く、ドットの大きさが0.04mm程度(しかし、0.03mmを下回ることはない)以下になる場合もある。暗色セルにドットを形成する場合、周辺の暗色印刷部分の膨張により逆に明色ドットは0.03mm程度になる場合がある。ここで、最小セルサイズ(例えば、0.17mm)を最小ピクセル数(4×4)で印刷する暗色セルにドットコードを形成すると、図42のように、暗色セルの中央の4個のピクセルのいずれかを印刷することにより、4通りのドットパターンを形成できる。つまり、1個のセルに対して2bitのドットコードを定義できる。中央の4個のみを対象にしたのは、ドットと同色のセルと隣り合う場合、セルの輪郭の精度が悪いと、ドットを認識しづらくなるため、セルの輪郭の領域に接続するドットの配置を排除するのが望ましいからである。
(Composite QR code printing characteristics and reading method)
Examples using dots as marks are shown below. Of course, the mark may have any shape such as a substantially circular shape, a rectangular shape, a cross shape, or a polygonal shape. Needless to say, the dots shown below may be replaced with other marks.
FIG. 41 illustrates the relationship between dark cells and pixels printed on a medium such as a paper surface in the fifth embodiment. FIG. 42 shows an example in which light dots are formed in 4 × 4 pixel dark cells. FIG. 43 shows an example in which dark dots are formed in 4 × 4 pixel light cells. The size of the dark cell of the QR code to be printed is usually 0.17 mm to 0.5 mm, and it is recommended that one cell is printed with 4 × 4 pixels or more as shown in FIG. Note that the shape of one pixel may be either rectangular or circular. The minimum 0.17 mm is 4 × 25.4 mm / 600≈0.17 mm when printed at a general printing resolution of 600 dpi. On the other hand, the dot size in the dot code is a pixel size of 600 dpi on the data, that is, 25.4 mm / 600≈0.042 mm. There are many cases where the dot size becomes about 0.05 mm due to swelling due to dot gain, ink expansion, penetration, or the like. On the contrary, there is a case where the ink is poorly fixed and the dot size is about 0.04 mm (but never less than 0.03 mm). When dots are formed in dark cells, the light dots may be about 0.03 mm due to the expansion of the surrounding dark print portion. Here, when a dot code is formed in a dark cell that prints a minimum cell size (for example, 0.17 mm) with a minimum number of pixels (4 × 4), any of the four pixels at the center of the dark cell as shown in FIG. By printing this, four types of dot patterns can be formed. That is, a 2-bit dot code can be defined for one cell. Only the central four are targeted when the cell is adjacent to a cell of the same color as the dot.If the cell outline accuracy is poor, it becomes difficult to recognize the dot. This is because it is desirable to eliminate this.

ドットコードの読取りには複数の方法がある。ドットコードの読取りは、複合コードが撮像された画像がフレームバッファに記憶され、フレームバッファの座標系でドットを認識しその中心位置(座標値)を求めるか、ドット配置候補位置にドットが配置されているかを認識して、ドットの配置パターンにより定義された情報を取得することで行われる。代表的な方法は、下記の2通りである。   There are a plurality of methods for reading the dot code. To read the dot code, the image obtained by capturing the composite code is stored in the frame buffer, the dot is recognized in the frame buffer coordinate system and its center position (coordinate value) is obtained, or the dot is placed at the dot placement candidate position. This is done by recognizing whether or not the information is defined and acquiring information defined by the dot arrangement pattern. There are two typical methods as follows.

(方法1)
方法1は、ドットの中心点を認識する方法である。すなわち、方法1は、撮像した画像からドットを抽出し、ドットの中心座標値を求めてドットの配置パターンを求める。この場合、ドット周辺には、撮像した際にドットを形成する画素の明暗から、明暗の変化率等を閾値としてドットを検出するため、ドットは他のドットや、同色のセルと接触した状態では認識することが困難である。従って、近接するドットの端部から、両ドットを認識できる所定距離を離してドットを配置することが望ましい。
(Method 1)
Method 1 is a method for recognizing the center point of a dot. That is, in Method 1, dots are extracted from the captured image, the center coordinate value of the dots is obtained, and the dot arrangement pattern is obtained. In this case, in order to detect dots around the dots from the brightness of the pixels that form the dots when imaged, using the change rate of brightness as a threshold, the dots are in contact with other dots or cells of the same color. It is difficult to recognize. Therefore, it is desirable to dispose the dots at a predetermined distance from the end portions of the adjacent dots so that both dots can be recognized.

ところで、撮像した画像では、光が側方からQRコードを照らしたり、影や陰影が生じたりして、ドットを抽出するには前述の明暗の変化率を閾値とするのが望ましいが、明暗の変化率を求めるには、隣り合うドットの端部から端部まで少なくとも4ピクセル以上が必要であり、一定の解像度を有するカメラで撮影が必要になる。一方、QRコードの同一色のセルの明暗はセルの位置によって大きく異なる場合があるが、各セル内での変化は殆どない。そこで、明色セルでは、当該セルを撮像したピクセルの明るい方から数個のピクセルの明度の平均値BLAを求め、同時に、ピクセルの暗い方から数個のピクセルの明度の平均値BDAを求める。ΔBL= BLA- BDAが所定範囲内に入っていれば、当該セルにはドットが存在しないことが分かり、所定範囲を超えていればドットが存在することになる。その場合のドットを判定する閾値は、α×BDA 以下、または BDA+ β × ΔBL 以下 で計算される。暗色セルでは、同様な処理を行い、ドットを判定する閾値は、α×BLA 以上、または BDA+ β × ΔBL 以上 で計算される。なお、 α , β は、BLA 、 BDA 、 ΔBLやカメラの性能や撮像画像の特性等によって定まる。 By the way, in the captured image, it is desirable to use the above-described change rate of light and dark as a threshold value in order to extract dots because light shines on the QR code from the side or shadows or shadows occur. In order to obtain the rate of change, at least 4 pixels or more are necessary from end to end of adjacent dots, and it is necessary to shoot with a camera having a certain resolution. On the other hand, the brightness of cells of the same color in the QR code may vary greatly depending on the position of the cell, but there is almost no change in each cell. Therefore, in the bright cells, an average value B LA of the lightness of several pixels from the lighter of pixels of the captured the cell, at the same time, the average value B DA brightness of several pixels from the side dark pixels Ask. If ΔB L = B LA −B DA is within a predetermined range, it is found that there is no dot in the cell, and if it exceeds the predetermined range, a dot is present. In this case, the threshold for determining the dot is calculated as α × B DA or less or B DA + β × ΔB L or less. In the dark cell, the same processing is performed, and the threshold value for determining the dot is calculated as α × B LA or more or B DA + β × ΔB L or more. Α and β are determined by B LA , B DA , ΔB L , camera performance, captured image characteristics, and the like.

(方法2)
方法2は、画像から得られたドットと、認識対象のドットが形成される所定領域(ドットの配置候補領域)または所定位置(ドットの配置候補位置)との重複部分を求める方法である。方法2は、簡潔には、所定の領域または所定位置にドットが存在するかを判定する方法ということができる。方法2の場合、ドットの中心座標値を求める必要がない。ドットが存在するか否かは、ドットの配置候補領域または配置候補位置を正確に認識できることが重要である。印刷精度がよく、複合QRコード読取り装置の解像度が高ければ、復号コードの読み取り装置は、セルの中心座標値と当該セルの領域が正確に認識できる。そのような場合は、バウンディングボックスと呼ばれる予めドットの候補配置位置 (XnS1, YnS1)を中心とした所定の領域にドットの中心位置が含まれるか否か、または当該領域に一定の面積を有するドットの所定の範囲が含まれるか否かで、ドットの配置位置が判定される。あるいは、ドットの候補配置位置(XnS1, YnS1)に、一定の面積を有するドットの一部が重畳しているか否かで認識してもよい。なお、複合QRコードが形成された媒体が平面を形成しない場合や、同媒体に対して、読取り装置が斜め方向から撮影した場合は、セルの中心座標値がずれる場合がある。そのような場合は、求まったセルの中心座標値を、所定の方法で正しいセルの中心座標値に補正するのが望ましい。この方法2は、微細なサブセルによってマトリクス状に細分化された拡張セルが第2のコードを形成する複合コードにおいても、従来よりも精度高い認識を可能にする。その際の最大の条件は、各セルの配置位置が、複合コードが撮像された画像がフレームバッファに記憶され、その座標系において正確な座標値で認識できることである。正確な座標値を取得するためには、基準となる基準マークを設けて、その基準マークはサブセルと接続させないで独立して設け、当該基準マークを抽出し中心座標値を取得することである。その結果、基準マークとサブセルの配置位置の関係によって、サブセルの配置位置を認識できる。
(Method 2)
Method 2 is a method of obtaining an overlapping portion between a dot obtained from an image and a predetermined area (dot arrangement candidate area) or a predetermined position (dot arrangement candidate position) where a dot to be recognized is formed. The method 2 can be simply described as a method of determining whether a dot exists in a predetermined region or a predetermined position. In the case of method 2, it is not necessary to obtain the dot center coordinate value. Whether or not there is a dot is important to be able to accurately recognize the dot arrangement candidate region or the arrangement candidate position. If the printing accuracy is good and the resolution of the composite QR code reader is high, the decoded code reader can accurately recognize the center coordinate value of the cell and the area of the cell. In such a case, whether or not the center position of the dot is included in a predetermined area centered on the candidate dot placement position (XnS1, YnS1) in advance, called a bounding box, or a dot having a certain area in the area The dot arrangement position is determined based on whether or not the predetermined range is included. Alternatively, it may be recognized by whether or not a part of dots having a certain area is superimposed on the dot candidate arrangement positions (XnS1, YnS1). Note that when the medium on which the composite QR code is formed does not form a flat surface, or when the reading device shoots the medium from an oblique direction, the center coordinate value of the cell may shift. In such a case, it is desirable to correct the obtained center coordinate value of the cell to the correct cell center coordinate value by a predetermined method. This method 2 enables recognition with higher accuracy than before even in a composite code in which extended cells subdivided into a matrix by fine subcells form the second code. The maximum condition at this time is that the arrangement position of each cell is such that an image obtained by imaging the composite code is stored in the frame buffer and can be recognized with an accurate coordinate value in the coordinate system. In order to obtain an accurate coordinate value, a reference mark serving as a reference is provided, the reference mark is provided independently without being connected to a subcell, the reference mark is extracted, and a center coordinate value is obtained. As a result, the subcell arrangement position can be recognized based on the relationship between the reference mark and the subcell arrangement position.

図44は、バウンディングボックスによるドットの位置の判定方法を例示する図である。図44のように、読み取り装置は、セル中心位置から、セルのコーナーに向かって直線を引き、当該直線と重複するドットのピクセルを抽出する。なお、セルの中心位置(座標値)は、大概、第1のコードを読み取ることによって取得することができるが、フレームバッファの座標系とは異なる座標系の座標値で取得した場合は、撮像画像が記憶されたフレームバッファの座標系の座標値に変換する必要が有る。そして、読み取り装置は、ドットと重複した直線上の領域(直線と重複したピクセルの列からなる領域)の中心が、予めドットの候補配置位置 (XnS1, YnS1)を中心とした所定の領域以内(バウンディングボックス)に当該座標値が含まれているかで判定すればよい。バウンディングボックスは、ドットのサイズと同程度のセルサイズの25%前後(例えば、20%〜30%程度)の直径を有する円が望ましいが、矩形やその他の形状でもでもよいし、そのサイズも誤認率を想定した誤り訂正のレベルや印刷精度、撮像解像度で適宜定めてよい。なお、ドットが欠けているような場合は重複領域が途中で欠ける場合やインクの飛びもあり、それらを判定することが望ましい。例えば、直線と重複したピクセルの列からなる領域が複数領域に分離する場合が想定される。そのような場合には、読み取り装置は、最大領域をドットの領域とみなせばよい。また、分離した複数領域間の距離が所定値以内の場合に、読み取り装置は、分離した複数領域を1つの連続領域として統合してもよい。   FIG. 44 is a diagram illustrating a dot position determination method using a bounding box. As shown in FIG. 44, the reading device draws a straight line from the cell center position toward the corner of the cell, and extracts pixels of dots that overlap the straight line. Note that the center position (coordinate value) of the cell can be generally obtained by reading the first code, but if it is obtained with a coordinate value of a coordinate system different from the coordinate system of the frame buffer, the captured image Needs to be converted into the coordinate value of the coordinate system of the frame buffer in which is stored. Then, the reading device has a center of an area on a straight line that overlaps with a dot (area consisting of a row of pixels that overlaps with a straight line) within a predetermined area centered on a dot candidate arrangement position (XnS1, YnS1) in advance ( It may be determined whether the coordinate value is included in the bounding box. The bounding box is preferably a circle with a diameter of around 25% (for example, about 20% to 30%) of the cell size, which is about the same as the dot size, but it may be a rectangle or other shapes, and the size may be misidentified. The level may be determined as appropriate based on error correction level, printing accuracy, and imaging resolution. In the case where dots are missing, there are cases where overlapping areas are missing in the middle or ink skipping, and it is desirable to determine them. For example, it is assumed that a region composed of a row of pixels overlapping a straight line is separated into a plurality of regions. In such a case, the reading device may regard the maximum area as a dot area. Further, when the distance between the plurality of separated areas is within a predetermined value, the reading apparatus may integrate the plurality of separated areas as one continuous area.

ドット座標値は、直線とドットの重複位置始点(XnS1-1, YnS1-1)および終点の座標値(XnS1-2, YnS1-2)から、式XnS1=(XnS1-2 - XnS1-1 )/2, YnS1=(YnS1-2 - YnS1-1 ) /2によって、(XnS1, YnS1)として求められる。この結果、図44の例で、セル内の2本の対角線を用いてドットを検出する場合、1つの対角線に4個のドットの配置位置を設定し認識できるので、1個のセルに対して、2つの対角線で合計8個のドットの配置を設定し、8通り、すなわち3bitを定義することができる。   The dot coordinate value is calculated using the formula XnS1 = (XnS1-2-XnS1-1) / from the overlap position start point (XnS1-1, YnS1-1) and end point coordinate value (XnS1-2, YnS1-2) 2, YnS1 = (YnS1-2−YnS1-1) / 2 is obtained as (XnS1, YnS1). As a result, in the example of FIG. 44, when dots are detected using two diagonal lines in a cell, the arrangement position of four dots can be set and recognized on one diagonal line. By arranging two diagonal lines, a total of eight dots can be set, and eight patterns, that is, 3 bits can be defined.

この8通りは、8個のドットの配置候補位置のいずれか1個だけドットが配置された場合であり、なお、ドットであるか否かの判定用の閾値は、前述の明暗の変化率等や、α×BDA またはα×BDLAや BDA+ β × ΔBLを使用してもよい。セルの配置位置が一定の精度で認識できれば、バウンディングボックスを当該セルのサイズより若干下回る大きさに設定し、そのバウンディングボックス内でドットを抽出すれば、ドットが接続し隣接する同色のセルの影響を受けない。 These eight ways are cases where only one of the eight dot placement candidate positions is placed, and the threshold for determining whether or not it is a dot is the light / dark change rate described above, etc. Alternatively , α × B DA or α × B DLA or B DA + β × ΔB L may be used. If the cell position can be recognized with a certain degree of accuracy, the bounding box is set to a size slightly smaller than the size of the cell, and if dots are extracted within the bounding box, the dots are connected and the influence of adjacent cells of the same color Not receive.

QRコードのデータ領域の暗色、明色のセルにドットコードを形成すると、ドットコードの誤り訂正にQRコードと同程度の領域を使用したとしても、図44で示したドット認識の方法を用いて、各セル当たり3bitを定義できるドットコードではQRコードの3倍のデータを複合QRコードに格納できる。仮に、データ領域の明色セルだけにドットコードを形成しても1.5倍程度の情報量を格納できる。なお、ファインダパターン(切り出しシンボル)、アライメントパターン、クワイエットゾーン、タイミングパターン、フォーマット情報を形成するセルにもドットコードを形成でき、QRコードの2倍程度の情報量を格納できる。さらに、データ領域以外の明暗色のセル全てにドットコードを形成すると、当該QRコードの4倍以上の情報を格納できる。なお、これらのドットの配置の違いは、現行の解像度の低いスマートフォンのカメラでも、全く問題なく認識できる。この実施形態では、印刷できる領域が4×4であると仮定しているが、セルの大きさを大きくすれば、ドットの配置パターンはさらに増加させることができる。但し、その場合、高解像度のカメラで撮影・解析することが望ましい。専用の撮像解像度の高い複合QRコードを使用すれば、容易に取得できる情報量を増大できる。   If dot codes are formed in dark and light cells in the QR code data area, the dot recognition method shown in FIG. 44 is used even if an area similar to the QR code is used for dot code error correction. In a dot code that can define 3 bits per cell, data that is three times the QR code can be stored in the composite QR code. Even if a dot code is formed only in a light color cell in the data area, an information amount about 1.5 times can be stored. A dot code can also be formed in a cell for forming a finder pattern (cutout symbol), alignment pattern, quiet zone, timing pattern, and format information, and an information amount about twice that of a QR code can be stored. Furthermore, if dot codes are formed in all bright and dark cells other than the data area, information that is four times as large as the QR code can be stored. It should be noted that the difference in the arrangement of these dots can be recognized without any problem even with current smartphone cameras with low resolution. In this embodiment, it is assumed that the printable area is 4 × 4. However, if the cell size is increased, the dot arrangement pattern can be further increased. However, in that case, it is desirable to capture and analyze with a high-resolution camera. If a dedicated QR code with a high imaging resolution is used, the amount of information that can be easily acquired can be increased.

図45は、さらに、ドットコードの情報量を増大させるために、600dpiで1個のセルを5×5pixelで印刷し、セルサイズは5×25.4mm/600 ≒ 0.21mmとした実施例である。網で示した4か所は、ドットの形成位置を示している。この4か所にドットを形成するか、否かによって、1個のセルに4bitを定義できる。   FIG. 45 shows an embodiment in which one cell is printed at 5 × 5 pixels at 600 dpi and the cell size is 5 × 25.4 mm / 600≈0.21 mm in order to further increase the information amount of the dot code. The four locations indicated by the nets indicate dot formation positions. Depending on whether or not dots are formed at these four locations, 4 bits can be defined for one cell.

図45は、600dpiで1個のセルを、セルを5×5pixelで印刷した例であり、図46は、7×7pixelで印刷した例である。セルが7×7pixelで印刷されるとセルサイズは7×25.4mm/600 ≒ 0.30mmとなる。網で示した部分(5×5pixelの4箇所、および7×7pixelの9箇所)は、ドットの形成位置を示している。   FIG. 45 shows an example in which one cell is printed at 600 dpi and the cells are printed at 5 × 5 pixels, and FIG. 46 shows an example in which the cells are printed at 7 × 7 pixels. When a cell is printed with 7 × 7 pixels, the cell size is 7 × 25.4 mm / 600≈0.30 mm. The portions indicated by halftone dots (4 locations of 5 × 5 pixels and 9 locations of 7 × 7 pixels) indicate dot formation positions.

セルを7×7pixelで印刷する場合、中央の1ピクセルには、常にドットを形成し、当該セルにはドットコードが形成されていることの指標に使用してもよい。その場合は、 1個のセルに8bitが定義される。なお、いずれか1個のピクセルが形成される場合は、8箇所のドットの配置の仕方は、8通り(中央にドットを形成する場合も含めば9通り)となり、1個のセルで3bitが定義される。このドットコードの認識方法としては、読み取り装置は、セルの中心位置を基に、ドットが配置される領域に対してバウンディングボックスを設定して、当該バウンディングボックス内にドットが配置されているかどうかでドットの配置を認識すればよい。バウンディングボックスの大きさは、図45ではドットのサイズと同程度のセルのサイズの20%前後(15〜30%程度)、図46ではセルのサイズの14%前後(10%〜20%程度)の直径または辺を有する円または矩形であるのが望ましい。ドットの具体的な認識方法としては、読み取り装置は、バウンディングボックス内で認識された暗色または明色の割合が所定の比率(例えば、セルの中心位置のずれや印刷の精度を考慮し、50%)を超えた場合に、ドットが配置されていることを判定してもよい。また、読み取り装置は、ドットの中心座標値を求めて、セル内に本来配置されるドットの座標値に最も近い位置のバウンディングボックス内のドットで判定してもよい。なお、ドットであるか否かの判定用の閾値は、前述の明暗の変化率等や、α×BDA またはα×BLAや BDA+ β × ΔBLを使用してもよい。 When a cell is printed at 7 × 7 pixels, a dot may always be formed in one central pixel, and this may be used as an indicator that a dot code is formed in the cell. In that case, 8 bits are defined in one cell. When any one pixel is formed, there are 8 ways to place the 8 dots (9 including the case where a dot is formed in the center), and 3 bits per cell. Defined. As a method for recognizing the dot code, the reading device sets a bounding box for the area where the dot is arranged based on the center position of the cell, and determines whether or not the dot is arranged in the bounding box. What is necessary is just to recognize the arrangement of dots. In FIG. 45, the size of the bounding box is about 20% (about 15 to 30%) of the cell size, which is about the same as the dot size, and in FIG. 46, about 14% (about 10% to 20%) of the cell size. Preferably, it is a circle or rectangle having a diameter or side. As a specific method for recognizing dots, the reading device has a predetermined ratio of dark or light colors recognized in the bounding box (for example, 50% considering the deviation of the center position of the cell and the printing accuracy). ) May be determined that dots are arranged. Further, the reading device may obtain the center coordinate value of the dot and determine the dot in the bounding box at the position closest to the coordinate value of the dot originally arranged in the cell. Note that the threshold for determining whether or not a dot is used may be the above-described rate of change in brightness or the like, α × B DA, α × B LA, or B DA + β × ΔB L.

なお、暗色セルに対しても明色ドットにより同様なドットコードが定義できることは言うまでもない。本実施形態では、図45の5×5pixelのセルで4個のピクセルの全てにドットが配置されたとしても、ドットの専有面積は4/(5×5)=16%にしかならず、ドットのサイズが膨らんでも、1.1倍程度(18%増程度)である。また、図46の7×7pixelのセルで9個全てにドットが配置されたとしても、ドットの専有面積は9/(7×7)=18%にしかならず、ドットのサイズが膨らんでも、1.1倍程度(20%程度)である。したがって、ドットコードの存在が QRコードを構成するセルの認識(他色の混入が1/3以下であれば適正に認識できる)に影響を与えることはない。さらに、ドットコードの情報量を増大するには、セルを構成するピクセル数を増加させてドットを配置する位置を増やし、印刷解像度を上げてドットを配置する位置を増やしてもよい。その場合、複合コードの読み取り装置の撮像解像度が十分に高ければ、ドットサイズは小さくしてもよい。その結果、ドットの配置位置を多く設定でき、ドットコードの情報量を増大させることができる。なお、ファインダパターン(切り出しシンボル)、アライメントパターン、クワイエットゾーン、タイミングパターン、フォーマット情報を形成するセルにもドットコードを形成でき、さらに情報量を増大できる。   Needless to say, a similar dot code can be defined for a dark cell by a light dot. In this embodiment, even if dots are arranged in all four pixels in the 5 × 5 pixel cell of FIG. 45, the exclusive area of the dots is only 4 / (5 × 5) = 16%, and the dot size Even if swells, it is about 1.1 times (about 18% increase). In addition, even if dots are arranged in all nine cells in the 7 × 7 pixel cell of FIG. 46, the exclusive area of the dots is only 9 / (7 × 7) = 18%, and even if the dot size expands, it is 1.1 times Is about 20%. Therefore, the presence of the dot code does not affect the recognition of the cells constituting the QR code (can be properly recognized if the mixture of other colors is 1/3 or less). Furthermore, in order to increase the amount of information of the dot code, the number of pixels constituting the cell may be increased to increase the positions where the dots are arranged, and the print resolution may be increased to increase the positions where the dots are arranged. In this case, the dot size may be reduced if the imaging resolution of the composite code reader is sufficiently high. As a result, a large number of dot arrangement positions can be set, and the amount of dot code information can be increased. Note that dot codes can be formed in cells for forming finder patterns (cutout symbols), alignment patterns, quiet zones, timing patterns, and format information, and the amount of information can be further increased.

以上のように、ドットコードをQRコードのセルに形成した複合QRコードは従来と同じ面積で埋め込む情報量を増加することができ、かつ、本来のQRコードの認識への影響を抑制できる技術である。従来技術は、1個のセルを分割して情報量を増加させるものであり、同色で分割セルが隣合わせになった際に認識が困難になり、印刷および撮像が超高解像度で実施されることが前提条件であり汎用性に乏しい。この従来技術に対して、本技術は、低解像度のカメラであっても、周辺が反対色(暗色と明色)であるドットの認識は容易であり、ドットの占める面積が少なくQRコードの認識も確保しつつ、従来技術に対してより多くの情報を付加できるのが大きな特徴である。以上から、一般的に使用されているQRコードを形成する1個のセルで1bitの情報しか定義できないが、複合QRコードでは、1個の明色セルおよび/または暗色セルに形成されるドットコードにより、1個のセルに対して、少なくとも2bit〜8bit程度を定義できる。さらに、後述のカラーコードを使用することにより、現行のスマートフォン等の携帯端末に搭載されたカメラでQRコードの6〜10倍以上の情報を複合QRコード(複合QRコード内に記録されたドットコード)から読み取ることができる。   As described above, the composite QR code in which the dot code is formed in the QR code cell can increase the amount of information embedded in the same area as the conventional technique, and can suppress the influence on the recognition of the original QR code. is there. The conventional technology increases the amount of information by dividing one cell, and it becomes difficult to recognize when the divided cells are adjacent to each other in the same color, and printing and imaging are performed at an extremely high resolution. Is a prerequisite and lacks versatility. Compared to this conventional technology, this technology makes it easy to recognize dots whose surroundings are opposite colors (dark and light colors) even with a low-resolution camera. It is a great feature that more information can be added to the prior art while securing the above. From the above, although only 1-bit information can be defined in one cell forming a commonly used QR code, a dot code formed in one light cell and / or dark cell is used in a composite QR code. Thus, at least about 2 bits to 8 bits can be defined for one cell. Furthermore, by using a color code described below, a camera mounted on a mobile terminal such as a current smartphone can receive information about 6 to 10 times the QR code using a composite QR code (dot code recorded in the composite QR code). ).

ドットコードに記録される情報量の大幅な増加により、テキスト情報だけでなく、音声情報や画像情報を格納できる。しかも、複合QRコードに記録された情報は、電話回線やインターネット、無線等の通信を使用しないで、カメラで撮影し、専用のアプリで読み取るだけで取得することができる。これにより、情報の送信中に第三者にハッキングされることを回避させることができ、極めてセキュリティ性の高い記録媒体となる。したがって、複合QRコードによる情報の授受は、従来の通信と比較して個人情報や秘匿情報等の保護に有効である。さらに、複合QRコードによる情報授受では、情報提供者自身のメールアドレスやSNSの個人情報を渡さずに、情報を渡したい相手に提供できる。   Due to a significant increase in the amount of information recorded in the dot code, not only text information but also audio information and image information can be stored. In addition, the information recorded in the composite QR code can be acquired by taking a picture with a camera and reading it with a dedicated application without using a communication such as a telephone line, the Internet, or wireless communication. As a result, it is possible to avoid hacking by a third party during the transmission of information, and the recording medium becomes extremely high in security. Therefore, the exchange of information using the composite QR code is more effective for protecting personal information, confidential information, and the like than conventional communication. Furthermore, information exchange using a composite QR code can be provided to a party who wants to pass information without passing the information provider's own e-mail address or personal information of SNS.

(複合QRコード中のドットコードの読み取り方法)
QRコード読取りで最も多く使用されているスマートフォン等、携帯端末のカメラで、最も低い解像度はVGA(640×480)であるが、現在、極めて僅かである。携帯端末のカメラは、年々高解像度になることから、VGAによる問題は、無視してよい。複合QRコードを読み取る際に、撮像した画像からより確実にドットコードであることを認識するには、1個のドットを2×2ピクセル以上で撮像するのが望ましい。そうすれば、撮像されたドットの左右・上下の1ピクセルのずれに対応できる。現在、普及しているスマートフォン等のカメラの解像度は、年々高くなり、少なくとも1920×1080〜2048×1536(300万画素)を超えている。従って、本実施形態では、比較的低解像度の1920×1080ピクセルのスマートフォンを想定し、さらに周辺ののりしろ20%程度設けられると過程する。この仮定では、撮影範囲は、864×864ピクセルであるので、本実施形態の複合QRコードを十分な精度で読み取ることが可能である。図42と図43の複合QRコードでは、 1個のセルを8ピクセルで撮像すると、読み取れるセル数は、864/8=108となり、バージョン22、105 ×105セル、(誤り訂正レベルMで漢字488文字、0.779KB、ドットコードには最大1.558KBを格納可能)までの読取りが可能であり、ドットコードにQRコードの1.5〜2倍程度を格納でき、印刷した場合105×8×25.4/600mm ≒ 35.56までを読み取ることができる。さらに、QRコードの規格では日本語テキストの圧縮はされていない。現在、日本語テキスト圧縮データ技術によりQRコードの3倍の文字数を格納することができる。その結果、488文字×2(ドットコード情報量増加分)×3倍(日本語テキスト圧縮分)=2,928文字を格納できる。図44のような読取り方式を実施すれば、ドットコードには最大2.337KBを格納可能でありQRコードの2〜3倍程度を格納できる。さらに、日本語テキスト圧縮データ技術により4,392文字を格納できる。図45の復号QRコードでは、1個のセルを10×10ピクセルで撮像すると864/10=86、バージョン17、85×85セル(誤り訂正レベルMで漢字310文字、0.504KB、ドットコードには最大2.016KBを格納可能)までの読取りが可能であり、ドットコードにQRコードの3〜4倍程度を格納でき、印刷した場合85×10×25.4/600mm ≒ 35.98mmを一辺とする矩形領域を読み取ることができる。さらに、日本語テキスト圧縮データ技術により3,720文字を格納できる。図46の復号QRコードでは、1個のセルを14×14ピクセルで撮像すると、 864/14≒61となり、バージョン11、61×61セル(誤り訂正レベルMで漢字155文字、0.251KB、ドットコードには最大2.008KBを格納可能)まで読み取りが可能であり、ドットコードにQRコードの6〜8倍の情報量を格納でき、印刷した場合61×14×25.4/600mm ≒ 36.15mmを一辺とする矩形領域までを読み取ることができる。さらに、日本語テキスト圧縮データ技術により3,720文字を格納できる。上記では、QRコードの誤り訂正をレベルMとしたが、レベルMは、一般的に多く使用されている誤り訂正レベルであり、当然、誤り訂正レベルLにすれば、更に多くの情報をドットコードに格納できることは言うまでもない。
(How to read dot code in composite QR code)
With the camera of a portable terminal such as a smartphone most frequently used for QR code reading, the lowest resolution is VGA (640 × 480), but it is very small at present. Since the camera of the mobile terminal becomes higher in resolution year after year, the problem caused by VGA can be ignored. When reading a composite QR code, it is desirable to image one dot with 2 × 2 pixels or more in order to recognize that it is a dot code more reliably from the captured image. Then, it is possible to cope with a shift of 1 pixel in the left, right, top and bottom of the imaged dots. Currently, the resolution of cameras such as smartphones that have become widespread is increasing year by year, and exceeds at least 1920 × 1080 to 2048 × 1536 (3 million pixels). Therefore, in the present embodiment, it is assumed that a relatively low-resolution 1920 × 1080 pixel smartphone is assumed, and that a margin of about 20% is further provided. Under this assumption, since the photographing range is 864 × 864 pixels, the composite QR code of the present embodiment can be read with sufficient accuracy. 42 and 43, if one cell is imaged with 8 pixels, the number of cells that can be read is 864/8 = 108, version 22, 105 × 105 cells, (Kanji 488 at error correction level M) (Up to 1.558KB can be stored for characters, 0.779KB and dot code), and about 1.5 to 2 times the QR code can be stored in the dot code. When printed, 105 x 8 x 25.4 / 600mm ≒ Can read up to 35.56. Furthermore, Japanese text is not compressed in the QR code standard. Currently, Japanese text compression data technology can store 3 times the number of characters of QR code. As a result, 488 characters × 2 (dot code information amount increase) × 3 times (Japanese text compression) = 2,928 characters can be stored. If the reading method as shown in FIG. 44 is implemented, a maximum of 2.337 KB can be stored in the dot code, and about 2 to 3 times the QR code can be stored. Furthermore, 4,392 characters can be stored using Japanese text compression data technology. In the decoded QR code of FIG. 45, if one cell is imaged with 10 × 10 pixels, 864/10 = 86, version 17, 85 × 85 cells (310 characters in error correction level M, 0.504KB, dot code Can store up to 2.016KB), can store about 3-4 times the QR code in the dot code, and when printed, it has a rectangular area of 85 × 10 × 25.4 / 600mm ≒ 35.98mm on one side Can be read. In addition, 3,720 characters can be stored using Japanese text compression data technology. In the decoded QR code of FIG. 46, if one cell is imaged with 14 × 14 pixels, 864 / 14≈61 is obtained, and version 11, 61 × 61 cells (error correction level M at 155 characters, 0.251KB, dot code) Can store up to 2.008KB), and the dot code can store 6 to 8 times the amount of information in the QR code. When printed, 61 × 14 × 25.4 / 600mm ≒ 36.15mm Even a rectangular area can be read. In addition, 3,720 characters can be stored using Japanese text compression data technology. In the above, error correction of QR code is set to level M. However, level M is an error correction level that is generally used. Naturally, if error correction level L is set, more information is represented by dot code. Needless to say, it can be stored in

現在、普及しているスマートフォンのディスプレイ表示の解像度の市場普及率(2017年度)は、375×667ピクセル34.93%、320×568が18.85%、360×640が13.07%、合計で2/3程度が低解像度のディスプレイである。従って、表示領域に10%ののりしろを設けたとしても、288×288の領域にハイブリッドQRコードを表示する必要がある。1)ドットコードの印刷と同様に、 図42〜44の復号QRコードの表示では、 1個のセルを4ピクセルで表示することになる。そこで、 表示できるセルは、288/4=72となり、バージョン13、69×69セル(誤り訂正レベルMで漢字204文字、0.331KB、ドットコードには最大0.662KBを格納可能)でありQRコードの1.5〜2倍程度を格納できる。さらに、日本語テキスト圧縮データ技術により1,224文字を格納できる。図44のような読取り方式を実施すれば、ドットコードには最大0.993KBを格納可能でありQRコードの2〜3倍程度を格納できる。さらに、日本語テキスト圧縮データ技術により1,836文字を格納できる。図45の復号QRコードでは、1個のセルを5×5ピクセル で表示すると、288/5≒57となりバージョン10、57×57セル(誤り訂正レベルMで漢字131文字、0.213KB、ドットコードには最大0.852KBを格納可能)でありQRコードの3〜4倍程度を格納できる。図46のドットコードでは、1個のセルを7×7ピクセルで表示すると、288/7≒41となりバージョン6、41×41セル(誤り訂正レベルMで漢字65文字、0.106KB、ドットコードには最大0.848KBを格納可能)でありQRコードの6〜8倍程度を格納できる。さらに、日本語テキスト圧縮データ技術により1,560文字を格納できる。しかし、これでは日本語テキストや音声、写真等のコンテンツ情報を格納するには十分ではない。しかし、スマートフォンでのハイブリッドQRコードの表示では、後述のドットコードを時間変化させた時系列ドットコードや、ドット表示をカラー化したカラードットコードにより実施できるため、容易に大容量ハイブリッドQRコードを実現できる。
一方、フルハイビジョンである1080×1920で表示できるスマートフォンが普及していくのは明らかであり、さらにドットコードの情報量を増加させる複合QRコードの表示が可能となる。複合QRコードを表示する領域としては、800×800ピクセルとすると、図41,図42、図43の復号QRコードの表示では、1個のセルを4ピクセルで表示することになる。表示できるセルは、800/4=200となり、バージョン40、177 × 177セル(誤り訂正レベルMで漢字1,435文字、2.331KB、ドットコードには最大4.662KBを格納可能)つまりQRコードの規格の全てに対応して表示でき、QRコードの1.5〜2倍程度を格納できる。日本語テキスト圧縮データ技術により8,610文字を格納できる。なお、図44のような読取り方式を実施すれば、ドットコードには最大6.993KBを格納可能でありQRコードの2〜3倍程度を格納できる。さらに、日本語テキスト圧縮データ技術により12,915文字を格納できる。図45の復号QRコードでは、1個のセルを5×5ピクセルで表示すると、800/5=160となりバージョン35、157×157セル(誤り訂正レベルMで漢字1,113文字、1.809KB、ドットコードには最大5.427KBを格納可能)でありQRコードの3〜4倍程度を格納できる。さらに、日本語テキスト圧縮データ技術により1,836文字を格納できる。図46のドットコードでは、1個のセルを7×7ピクセルで表示すると、 800/7≒114となりバージョン24、113×113セル(誤り訂正レベルMで漢字561文字、0.991KB、ドットコードには最大7.928KBを格納可能)でありQRコードの6〜8倍程度を格納できる。さらに、日本語テキスト圧縮データ技術により13,464文字を格納できる。この大容量複合QRコードを読み取る場合には、現行のスマートフォンの撮影解像度では、一部、読み取ることが難しい場合では、高解像度で撮像・解析できる専用複合QRコードリーダーを用いることが望ましい。上記では、QRコードの誤り訂正をレベルMとしたが、レベルMは、一般的に多く使用されている誤り訂正レベルであり、当然、誤り訂正レベルLにすれば、更に多くの情報をドットコードに格納できることは言うまでもない。
スマートフォンに複合QRコードに表示する場合、異なる複数のドットコードを所定時間ずつ表示することにより多量な情報を生成できる。ハイブリッドQRコードリーダーで点滅するドットコードを読み取る場合、一度だけ、QRコードを読み取るだけで、その後は、ドットコードのみを読み取ることにより高速に処理できる。撮影時の手振れは、タイミングパターンやアライメントパターンの撮像位置の変化を追跡し、その都度、検出したドット位置の補正を行えば、ドットコードを正確に読み取ることができる。(5)のようにハイブリッドQRコードをスマートフォンに表示する場合、ドットコードに格納できる1回の情報量は0.85K程度であるが、1〜3秒間にドットコードを12回程度、変化させることにとり、20KB程度の情報量を取得することができる。これを写真データで再現すると、スマートフォンで表示した場合、十分に高品質な画像として閲覧でき、7万文字を超えるテキスト情報も送信できる。
Currently, the market penetration rate of display display of smartphones (2017) is 375 x 667 pixels 34.93%, 320 x 568 18.85%, 360 x 640 13.07%, about 2/3 in total. It is a low resolution display. Therefore, even if a 10% margin is provided in the display area, it is necessary to display the hybrid QR code in the 288 × 288 area. 1) Similar to the printing of the dot code, in the display of the decoded QR code in FIGS. 42 to 44, one cell is displayed by 4 pixels. Therefore, the number of cells that can be displayed is 288/4 = 72, version 13, 69 × 69 cells (204 characters in error correction level M, 0.331 KB, dot code can store up to 0.662 KB), and QR code Can store about 1.5 to 2 times. Furthermore, 1,224 characters can be stored using Japanese text compression data technology. If the reading method as shown in FIG. 44 is implemented, a maximum of 0.993 KB can be stored in the dot code, and about 2 to 3 times the QR code can be stored. Furthermore, 1,836 characters can be stored using Japanese text compression data technology. In the decoded QR code of FIG. 45, if one cell is displayed at 5 × 5 pixels, it becomes 288 / 5≈57, version 10, 57 × 57 cells (error correction level M is 131 characters, 0.213 KB, dot code) Can store up to 0.852KB), and can store about 3 to 4 times the QR code. In the dot code of FIG. 46, if one cell is displayed at 7 × 7 pixels, it becomes 288 / 7≈41, version 6, 41 × 41 cells (65 Kanji characters at error correction level M, 0.106 KB, dot code It can store up to 0.848KB) and can store about 6 to 8 times the QR code. In addition, 1,560 characters can be stored using Japanese text compression data technology. However, this is not sufficient to store content information such as Japanese text, audio, and photos. However, when displaying a hybrid QR code on a smartphone, a large-capacity hybrid QR code can be easily realized because it can be implemented using a time-series dot code that changes the dot code, which will be described later, or a color dot code that is colored dot display. it can.
On the other hand, it is clear that smartphones capable of displaying 1080 × 1920 which is full high-definition will become widespread, and it will be possible to display a composite QR code that further increases the amount of information of the dot code. Assuming that the area for displaying the composite QR code is 800 × 800 pixels, one cell is displayed with 4 pixels in the display of the decoded QR code in FIGS. 41, 42, and 43. The number of cells that can be displayed is 800/4 = 200, version 40, 177 x 177 cells (error correction level M, 1,435 characters, 2.331 KB, dot code can store up to 4.661 KB), that is, all QR code standards Can be displayed and can store about 1.5 to 2 times the QR code. The Japanese text compression data technology can store 8,610 characters. If a reading method as shown in FIG. 44 is implemented, a maximum of 6993 KB can be stored in the dot code, and about 2 to 3 times the QR code can be stored. Furthermore, 12,915 characters can be stored using Japanese text compression data technology. In the decoded QR code of FIG. 45, if one cell is displayed with 5 × 5 pixels, it becomes 800/5 = 160, version 35, 157 × 157 cells (Kanji 1,113 characters, 1.809KB, dot code with error correction level M) Can store a maximum of 5.427 KB), and can store 3 to 4 times the QR code. Furthermore, 1,836 characters can be stored using Japanese text compression data technology. In the dot code of FIG. 46, if one cell is displayed at 7 × 7 pixels, it becomes 800 / 7≈114, and version 24, 113 × 113 cells (Kanji 561 characters with error correction level M, 0.991KB, dot code It can store up to 7.929KB) and can store about 6 to 8 times the QR code. Furthermore, 13,464 characters can be stored using Japanese text compression data technology. When reading this large-capacity composite QR code, it is desirable to use a dedicated composite QR code reader that can capture and analyze at a high resolution if it is difficult to read at some current smartphone resolutions. In the above, error correction of QR code is set to level M. However, level M is an error correction level that is generally used. Naturally, if error correction level L is set, more information is represented by dot code. Needless to say, it can be stored in
When displaying a composite QR code on a smartphone, a large amount of information can be generated by displaying a plurality of different dot codes for a predetermined time. When reading a blinking dot code with a hybrid QR code reader, it can be processed at high speed by reading the QR code only once and then reading only the dot code. The camera shake at the time of shooting can accurately read the dot code by tracking the change in the imaging position of the timing pattern and alignment pattern and correcting the detected dot position each time. When the hybrid QR code is displayed on the smartphone as in (5), the amount of information that can be stored in the dot code is about 0.85K, but the dot code is changed about 12 times in 1 to 3 seconds. The amount of information about 20KB can be acquired. If this is reproduced with photo data, it can be viewed as a sufficiently high quality image when displayed on a smartphone, and text information exceeding 70,000 characters can be transmitted.

QRコードに採用されている誤り訂正符号は、ブロック符号の一種であるリードソロモン符号であるが、ドットコードに採用する誤り訂正符号は、畳み込み符号を用いてもよい。   The error correction code employed in the QR code is a Reed-Solomon code which is a kind of block code, but the error correction code employed in the dot code may be a convolutional code.

畳み込み符号はブロック符号とは異なり,データの区切りがなく,1個所のデータをその周辺にばらまき,その情報を使って統計的な方法で復号することから、誤り訂正の性能が高く、拘束長が小さければ高速に処理できる。   Unlike convolutional codes, convolutional codes have no data delimiters, and one piece of data is distributed around the data, and the information is used for decoding by a statistical method. Therefore, error correction performance is high and constraint length is high. If it is small, it can be processed at high speed.

ただし、誤り訂正符号は、ドットコードの情報容量や誤り率によって、各種誤り訂正符号と、誤りを推定するため二次情報(輝度情報、時系列および周辺の誤り情報等)を用いた、各種復号法(軟判定復号法を含む)を適用することができる。もちろん、ドットコードに適した他の誤り訂正符号を使用してもよいことは言うまでもない。   However, error correction codes can be decoded using various error correction codes and secondary information (luminance information, time series and surrounding error information, etc.) to estimate errors, depending on the information capacity and error rate of the dot code. Methods (including soft decision decoding) can be applied. Of course, it goes without saying that other error correction codes suitable for dot codes may be used.

[実施形態6]
以下、図47から図60を参照して、実施形態5における真贋判定方法、真贋判定のための情報処理装置、および真贋判定のためのコンピュータプログラムについて説明する。上記実施形態1から4では、複合コードの構成、生成方法、読み取り方法、およびこれらの方法を実施する装置およびコンピュータにこれらの方法を実行させるためのプログラムについて説明した。本実施形態では、複合コードを用いてデジタル情報の真贋判定(あるいはデジタル情報改ざん検知)等に適用した方法、方法を実施する装置、コンピュータにこれらの方法を実行させるためのプログラムについて説明する。
[Embodiment 6]
The authenticity determination method, the information processing apparatus for authenticity determination, and the computer program for authenticity determination according to the fifth embodiment will be described below with reference to FIGS. In the first to fourth embodiments, the configuration of the composite code, the generation method, the reading method, the apparatus for executing these methods, and the program for causing the computer to execute these methods have been described. In the present embodiment, a method applied to authenticity determination of digital information (or digital information tampering detection) using a composite code, an apparatus for executing the method, and a program for causing a computer to execute these methods will be described.

<オフラインによる複合QRコード真贋判定システムの判定手順>
1)ドットコードに暗号化情報を形成する複合QRコードの生成
図47に、真贋判定のための複合コード生成処理を例示する。
<Judgment procedure of offline complex QR code authentication system>
1) Generation of composite QR code for forming encryption information in dot code FIG. 47 illustrates a composite code generation process for authenticity determination.

(1)図47に例示する複合QRコードの生成では、QRコードのデータ領域に格納された情報を符号化する。ここで、データ領域とは、図1に例示したQRコードのうち、位置検出パターン(ファインダパターン)、アライメントパターン、タイミングパターン、フォーマット情報、及び誤り訂正符号を除く、QRコードで表されるデータ自体をいう。QRコードのデータ領域に格納された情報を符号化する理由は、印刷されたQRコードの印刷時の情報欠落や汚れ、QRコードの撮影状態等で、読み取ったQRコードが、作成時のQRコードとは完全に一致しないことが多々あることである。ディスプレイに表示されたQRコードも、QRコードの撮影状態等で、同様に一致しないことがある。従って、誤り訂正符号を有するQRコードの全部を符号化して、互いの符号化情報を比較しても、意味はない。ここで、符号化とは、ハッシュ関数を用いてデータから不可逆的変換をして符号列を求めることを含む。符号列は平文(署名対象データ)を含み、さらに、ハッシュ関数を用いて符号化された符号化情報はハッシュ値を含んでいる。   (1) In the generation of the composite QR code illustrated in FIG. 47, information stored in the data area of the QR code is encoded. Here, the data area refers to the data itself represented by the QR code excluding the position detection pattern (finder pattern), alignment pattern, timing pattern, format information, and error correction code in the QR code illustrated in FIG. Say. The reason for encoding the information stored in the data area of the QR code is that the QR code read out is the QR code at the time of creation due to missing or dirty information at the time of printing of the printed QR code, the shooting state of the QR code, etc. Is often not exactly the same. Similarly, the QR code displayed on the display may not coincide with the shooting state of the QR code. Therefore, it is meaningless to encode all the QR codes having error correction codes and compare the encoded information with each other. Here, encoding includes obtaining a code string by performing irreversible conversion from data using a hash function. The code string includes plain text (signature target data), and the encoded information encoded using the hash function includes a hash value.

(2)ドットコードには、少なくともデータ(暗号化情報を含む)の他、誤り訂正符号やフォーマット情報(格納されたドットコードのタイプ、バージョン等の仕様)等の必要な情報が所定の仕様によって格納される必要がある。   (2) In addition to at least data (including encryption information), the dot code contains necessary information such as error correction code and format information (type of stored dot code, version, etc.) according to the specified specifications. Needs to be stored.

(3)複合QRコードは、厳重に暗号化手段を管理する特定の発行機関が発行するのが望ましい。これにより、ユーザの誰もが利用できる環境を構築できる。なお、ユニークな暗号化手段を有し、特定のユーザが使用する場合は、当該ユーザにサービスを提供する発行者であってもよい。例えば、複合QRコードの発行を要請する発行要請者が、発行機関にURLやデータ(QRコードのデータ領域に格納される情報)を送信する。当該発行要請者は、事前に発行機関が承認した法人、行政その他の組織または個人に限るのが望ましい。発行要請者に対して、複合QRコードの発行を実施するかは、逐次所定の方法で認証するのが望ましい。URL等の公開情報には、発行した複合QRコードや発行要請者を公開して、第三者が評価して信頼性を高めてもよい。第三者は、一般ユーザでもよい。   (3) The composite QR code is preferably issued by a specific issuing organization that strictly manages the encryption means. As a result, an environment that can be used by any user can be constructed. When a specific user has a unique encryption unit and uses it, the issuer may provide a service to the user. For example, an issue requester who requests issuance of a composite QR code transmits a URL and data (information stored in the data area of the QR code) to the issuing organization. The issuer should be limited to corporations, governments and other organizations or individuals that have been approved in advance by the issuing agency. It is desirable to sequentially authenticate the issuer who issues the composite QR code by a predetermined method. In the public information such as URL, the issued composite QR code and the issuer may be disclosed and evaluated by a third party to improve reliability. The third party may be a general user.

(4)セキュリティを担保するために、発行機関以外の第三者が複合QRコードを発行できないように、符号化情報を暗号化手段で暗号化する必要がある。符号化情報を暗号化するにはデジタル署名アルゴリズム、つまり署名生成を秘密鍵で生成してもよい。当該デジタル署名アルゴリズムには、SHA256をはじめ各種手法があり、米国商務省配下のNational Institute of Standards and Technology(NIST)で標準化されている。なお、符号化情報を暗号化手段で暗号化した暗号化情報は、デジタル署名であることを含む。   (4) In order to ensure security, it is necessary to encrypt the encoded information with an encryption means so that a third party other than the issuing organization cannot issue the composite QR code. In order to encrypt the encoded information, a digital signature algorithm, that is, signature generation may be generated with a secret key. The digital signature algorithm includes various methods including SHA256, and is standardized by the National Institute of Standards and Technology (NIST) under the US Department of Commerce. Note that the encrypted information obtained by encrypting the encoded information by the encryption unit includes a digital signature.

(5)複合QRコード発行要請者から受領したデータ領域に格納された情報(URLに限らない)からQRコードを生成し、暗号化情報は、QRコードで定義される複数のセルから形成されるドットコードのデータ領域に格納される。当該データ領域は物理的に規定されなくても、論理的に規定されてもよい。なお、暗号化情報はQRコードに格納してもよい。   (5) A QR code is generated from information (not limited to a URL) stored in a data area received from a requester for issuing a complex QR code, and encrypted information is formed from a plurality of cells defined by the QR code. It is stored in the dot code data area. The data area may not be physically defined but may be logically defined. Note that the encryption information may be stored in a QR code.

(6)完成した複合QRコードは、発行要請者に送信され、発行要請者は複合QRコードを媒体に形成(印刷、刻印、ディスプレイ等への表示により複合QRコードを認識できるあらゆる方法を含む)して第三者に提供する。   (6) The completed composite QR code is sent to the requester of issue, and the requester forms the composite QR code on the medium (including any method that can recognize the composite QR code by printing, stamping, display on the display, etc.) And provide it to a third party.

(7)複合QRコードは、第1のコードと、第2のコードのデータ領域に格納されるデータに対して、1個の電子署名(デジタル署名ともいう)または、それぞれのデータに対してそれぞれの電子署名を生成し、当該電子署名を第1または第2のコードのいずれかのデータ領域に格納してもよい。例えば、第1のコードに対して、電子署名を作成し、第2のコードのデータ領域に格納してもよい。また、第2のコードに対して、電子署名を作成し、第1のコードのデータ領域に格納してもよい。第1のコードと第2のコードに対して、1個の電子署名を生成し、当該電子署名を第1コードまたは第2のコードの隣接領域に追加の第1コードまたは追加の第2のコードを格納してもよい。   (7) The composite QR code is a single electronic signature (also referred to as a digital signature) for the data stored in the data area of the first code and the second code, or for each data, respectively. The electronic signature may be generated, and the electronic signature may be stored in either the data area of the first or second code. For example, an electronic signature may be created for the first code and stored in the data area of the second code. An electronic signature may be created for the second code and stored in the data area of the first code. One electronic signature is generated for the first code and the second code, and the electronic signature is added to the adjacent area of the first code or the second code. May be stored.

2)ドットコードに暗号化情報を形成する複合QRコードの読み取り・認証
(1)媒体に形成(印刷、刻印、ディスプレイ等への表示により複合QRコードを認識できるあらゆる方法を含む)された複合QRコードを読み取るには、専用の複合QRコード読取り装置や、専用の複合QRコード読取りアプリをダウンロードインストールしたスマートフォンやタブレット等の情報処理装置を使用することが想定される。
2) Reading / authentication of composite QR code that forms encrypted information in dot code (1) Composite QR formed on media (including any method that can recognize composite QR code by printing, engraving, display on display etc.) In order to read the code, it is assumed that a dedicated composite QR code reader or an information processing apparatus such as a smartphone or tablet in which a dedicated composite QR code reader application is downloaded and installed is assumed.

(2)専用の読取り装置または読取りアプリで、複合QRコードを読み取ると、通常のQRコード読取り手順に従って、ファインダパターン(切り出しシンボル)、アライメントパターン、クワイエットゾーン、タイミングパターン、フォーマット情報を読み取ることによって、各セルの中心座標値とセルの大きさとQRコードの向きを認識できる。明暗のみでセルを判定する場合は、撮像したセルの明暗から所定の閾値により2値化画像を生成して、各セルの2値化情報を判定してQRコードを読み取る。ドットコードは、同様な方法でドットを2値化してドットを読み取るが、各セルの判定毎にドットの配置を認識してもよいし、情報が定義された各セルの読取り終了後に、セルに形成されたドットの配置を読み取って、ドットコードを認識してもよい。なお、QRコードの情報量を増大させるため明暗のレベルまたはカラーでセルが形成される場合は、その明度、色相等で段階的にセルに2bit以上の情報をセルに定義してもよい。   (2) When reading a complex QR code with a dedicated reader or reading application, by reading the finder pattern (cutout symbol), alignment pattern, quiet zone, timing pattern, and format information according to the normal QR code reading procedure, The center coordinate value of each cell, the size of the cell, and the direction of the QR code can be recognized. When a cell is determined only by light and dark, a binarized image is generated from a light and dark of the captured cell using a predetermined threshold, and binarized information of each cell is determined to read a QR code. The dot code binarizes the dot in the same way and reads the dot. However, the dot arrangement may be recognized for each cell determination, or after the reading of each cell in which the information is defined, the dot code is read. The dot code may be recognized by reading the formed dot arrangement. Note that when cells are formed at a light / dark level or color in order to increase the information amount of the QR code, information of 2 bits or more may be defined in the cell step by step based on its brightness, hue, and the like.

(3)次に、読み取ったQRコードのデータ領域に格納された情報(URLに限らない)のみを符号化する。符号化の概念は、1)の(1)に示した通りである。さらに、ドットコードを誤り訂正して読取り、少なくとも暗号化情報を含むデータを取得する。暗号化情報の概念は、1)の(1)に示した通りである。ここで、暗号化情報を復号化手段で復号化情報に復号化する。復号化手段は、デジタル署名における検証アルゴリズムによって署名検証を含み、署名者の公開鍵であってもよい。   (3) Next, only the information (not limited to the URL) stored in the data area of the read QR code is encoded. The concept of encoding is as shown in 1) (1). Further, the dot code is read with error correction, and data including at least encryption information is obtained. The concept of the encrypted information is as shown in 1) (1). Here, the encrypted information is decrypted into the decrypted information by the decrypting means. The decryption means may include the signature verification by a verification algorithm in the digital signature, and may be the signer's public key.

(4)最後に、(3)の読み取ったQRコードを符号化手段(例えば、キャッシュ関数)により符号化した符号化情報(例えば、キャッシュ値)と、ドットコードに格納された暗号化情報を復号化手段で復号化した復号化情報(例えば、発行機関においてQRコードが生成された際のキャッシュ値)が一致すれば、当該複合QRコードは、発行機関が発行した複合QRコードであることが認証される。なお、復号化手段には公開鍵が含まれる。ただし、認証方法は、符号化情報と復号化情報との一致・不一致に限定される訳ではない。符号化情報と復号化情報とが所定の関係にあることが確認できればよい。   (4) Finally, the encoded information (for example, cache value) obtained by encoding the QR code read in (3) by the encoding means (for example, cache function) and the encrypted information stored in the dot code are decrypted. If the decryption information decrypted by the encryption means (for example, the cache value when the QR code is generated in the issuing organization) matches, it is authenticated that the composite QR code is a composite QR code issued by the issuing organization. Is done. The decryption means includes a public key. However, the authentication method is not limited to matching / mismatching between encoded information and decoded information. It is only necessary to confirm that the encoded information and the decoded information are in a predetermined relationship.

<オフラインによる複合QRコード真贋判定システムの処理例>
(処理例1)
図47は、真贋判定のための複合QRコード生成方法を例示するフローチャートである。複合コードの生成は、例えば、図32に例示した管理サーバMS1、コンテンツサーバCS1等の情報処理装置(以下、管理サーバMS1で例示)によって実行される。
<Example of processing of offline QR code authentication system>
(Processing example 1)
FIG. 47 is a flowchart illustrating a composite QR code generation method for authenticity determination. The generation of the composite code is executed by, for example, an information processing apparatus (hereinafter, exemplified by the management server MS1) such as the management server MS1 and the content server CS1 illustrated in FIG.

この処理では、管理サーバMS1は、QRコード用データを基に符号化手段(例:ハッシュ関数)で符号化情報(例:ハッシュ値)を計算する(T11)。ここで、QRコード用データとは、図1に例示したQRコードの構造のうち、データ及び誤り訂正符号の部分にデータとして組み込まれるものをいう。   In this process, the management server MS1 calculates encoding information (example: hash value) by encoding means (example: hash function) based on the QR code data (T11). Here, the QR code data refers to data included in the data and error correction code portions of the QR code structure illustrated in FIG.

次に、管理サーバMS1は、T11で計算された符号化情報を暗号化手段で暗号化する(T12)。ここでは、符号化情報を暗号化することを、暗号化情報を計算する、ともいう。より具体的には、T12では、管理サーバMS1は、例えば、秘密鍵と公開鍵のペアを有している。管理サーバMS1は、電子認証局(CA)(又は登録局(RA))に申請して、公開鍵が登録され、公開鍵の証明書と公開鍵に対応する秘密鍵の発行を受けているものとする。管理サーバMS1は、電子認証局(CA)から発行された秘密鍵を用いて符号化情報を暗号化する。上記暗号化手段としては、管理サーバMS1において実行される暗号化処理用モジュールが例示される。   Next, the management server MS1 encrypts the encoded information calculated in T11 using an encryption unit (T12). Here, encrypting the encoded information is also referred to as calculating the encrypted information. More specifically, at T12, the management server MS1 has, for example, a private key / public key pair. The management server MS1 applies to an electronic certificate authority (CA) (or registration authority (RA)), has a public key registered, and has issued a public key certificate and a private key corresponding to the public key And The management server MS1 encrypts the encoded information using the secret key issued from the electronic certificate authority (CA). As the encryption means, an encryption processing module executed in the management server MS1 is exemplified.

次に、管理サーバMS1は、QRコード用データに誤り訂正を掛けてQRコードを生成する。また、管理サーバMS1は、暗号化情報を含むドットコード用データに誤り訂正を掛けてQRコードのセル内にドットコードを生成する(T13)。T13の処理によって、実施形態1から実施形態3と同様の複合コードが生成される。   Next, the management server MS1 performs error correction on the QR code data to generate a QR code. In addition, the management server MS1 generates a dot code in the QR code cell by applying error correction to the dot code data including the encryption information (T13). By the process of T13, the same composite code as in the first to third embodiments is generated.

そして、管理サーバMS1は、複合QRコードを媒体に形成する(T14)。形成される媒体としては、ディスプレイ等による表示画面も含む。すなわち、図32に例示したように、生成された複合QRコードは、放送媒体、あるいは通信媒体を通じて、リモートのユーザ装置、あるいは、コンテンツサーバに提供される。また、形成された複合QRコードは、記憶媒体に記憶される。また、形成された複合QRコードは、印刷媒体に印刷される。   Then, the management server MS1 forms a composite QR code on the medium (T14). The formed medium includes a display screen such as a display. That is, as illustrated in FIG. 32, the generated composite QR code is provided to a remote user device or a content server through a broadcast medium or a communication medium. The formed composite QR code is stored in a storage medium. The formed composite QR code is printed on a print medium.

図48は、複合QRコード読み取り・認証処理を例示するフローチャートである。ここで、複合QRコード読み取り・認証処理を実行する装置は、例えば、図32に例示したユーザ装置UD1、UD2等(以下、単にUD1)である。   FIG. 48 is a flowchart illustrating the composite QR code reading / authentication process. Here, the apparatus that executes the composite QR code reading / authentication process is, for example, the user apparatuses UD1, UD2, and the like (hereinafter simply referred to as UD1) illustrated in FIG.

この処理では、まず、ユーザ装置UD1は、読取り装置で複合QRコードを読み取る(T21)。ここで、読取り装置は、例えば、複合QRコードの画像を取得する撮像装置である。また、複合QRコードを読み取るとは、媒体上の複合QRコードの画像を撮影し、主記憶装置12(図33参照)または画像メモリに格納し、QRコードとドットコードのそれぞれからデータを取得することをいう。ここで、複合QRコードのうち、QRコードにコード化されたデータをQRコード用データという。また、複合QRコードのうち、ドットコードにコード化されたデータは、T13の処理で生成されたドットコードにコード化された暗号化情報である。   In this process, first, the user device UD1 reads the composite QR code with the reading device (T21). Here, the reading device is, for example, an imaging device that acquires an image of a composite QR code. Reading the composite QR code means that an image of the composite QR code on the medium is taken, stored in the main storage device 12 (see FIG. 33) or the image memory, and data is acquired from each of the QR code and the dot code. That means. Here, out of the composite QR code, data encoded in the QR code is referred to as QR code data. Of the composite QR code, the data encoded in the dot code is the encryption information encoded in the dot code generated in the process of T13.

次に、ユーザ装置UD1は、QRコードから取得したQRコード用データを符号化手段(例:ハッシュ関数)で符号化情報(例:ハッシュ値)を計算する(T22)。T22の処理とともに、ユーザ装置UD1は、ドットコードから取得した暗号化情報を復号化手段で復号化情報を計算する(T23)。   Next, the user apparatus UD1 calculates the encoding information (example: hash value) by the encoding means (example: hash function) for the QR code data acquired from the QR code (T22). Along with the process of T22, the user apparatus UD1 calculates the decryption information by the decryption means for the encrypted information acquired from the dot code (T23).

次に、ユーザ装置UD1は、符号化情報と復号化情報を照合する(T24)。そして符号化情報と復号化情報とが一致した場合、ユーザ装置UD1は、複合コードによる認証が成功したと判定し、対応する処理を実施する。例えば、ユーザ装置UD1は、複合QRコードのQRコードで指定された処理を実行する(T25)。また、例えば、ユーザ装置UD1は、複合QRコードのQRコードで指定されたURLにアクセスする。また、例えば、ユーザ装置UD1は、複合QRコードのQRコードで指定された情報が正しい情報であるとして、対応する処理を実行する。対応する処理とは、例えば、複合QRコード中のQRコードで指定されるコンテンツの再生、上記QRコードで指定される金融機関口座へのアクセス、上記QRコードで指定されるクレジットカード番号等を用いた処理、複合QRコードが印刷された媒体の真贋判定結果の表示等である。   Next, the user apparatus UD1 collates the encoded information with the decoded information (T24). If the encoded information and the decoded information match, the user apparatus UD1 determines that the authentication by the composite code has succeeded, and performs a corresponding process. For example, the user device UD1 executes the process specified by the QR code of the composite QR code (T25). Further, for example, the user device UD1 accesses the URL specified by the QR code of the composite QR code. Further, for example, the user apparatus UD1 executes a corresponding process on the assumption that the information specified by the QR code of the composite QR code is correct information. The corresponding processing uses, for example, reproduction of content specified by the QR code in the composite QR code, access to a financial institution account specified by the QR code, a credit card number specified by the QR code, etc. Display of the authenticity determination result of the medium on which the composite QR code is printed.

一方、符号化情報と復号化情報とが一致しない場合、ユーザ装置UD1は、複合コードによる認証が失敗したと判定し、結果をユーザに通知する(T26)。   On the other hand, when the encoded information and the decoded information do not match, the user apparatus UD1 determines that the authentication by the composite code has failed and notifies the user of the result (T26).

以上述べたように、処理例1によれば、複合QRコードによって、様々な認証処理、真贋判定処理、改ざん検知処理等を実施できる。上記では、QRコード用データの暗号化情報をドットコードとして埋め込む処理が例示されるが、暗号化情報をQRコードの一部にコード化し、復号化してもよい。   As described above, according to the processing example 1, various authentication processing, authentication determination processing, falsification detection processing, and the like can be performed by the composite QR code. In the above, the process of embedding the encryption information of QR code data as a dot code is exemplified, but the encryption information may be encoded into a part of the QR code and decrypted.

(処理例2)
図49は、ドットコード用データの暗号化情報をQRコードにコード化し、真贋判定のための複合QRコード生成方法を例示するフローチャートである。この処理では、管理サーバMS1は、ドットコード用データを基に符号化手段(例:ハッシュ関数)で符号化情報(例:ハッシュ値)を計算する(T31)。
(Processing example 2)
FIG. 49 is a flowchart exemplifying a composite QR code generation method for authenticating the authenticity by encoding the encryption information of the dot code data into a QR code. In this process, the management server MS1 calculates encoding information (example: hash value) by encoding means (example: hash function) based on the dot code data (T31).

次に、管理サーバMS1は、符号化情報を基に暗号化手段で暗号化情報を計算する(T32)。次に、管理サーバMS1は、暗号化情報を含むQRコード用データに誤り訂正を掛けてQRコードを生成し、ドットコード用データに誤り訂正を掛けてQRコードのセルにドットコードを生成する(T33)。すなわち、ここでは、管理サーバMS1は、暗号化情報をQRコードに組み込む。そして、複合QRコードを媒体に形成する(T34)。ここで、複合QRコードが形成される媒体としては、ディスプレイ等による表示画面も含み、放送媒体、通信媒体、記憶媒体印刷媒体を含む点は、図47と同様である。   Next, the management server MS1 calculates encryption information by the encryption means based on the encoded information (T32). Next, the management server MS1 generates a QR code by performing error correction on the QR code data including the encryption information, and generates a dot code in the QR code cell by performing error correction on the dot code data ( T33). That is, here, the management server MS1 incorporates the encryption information into the QR code. Then, a composite QR code is formed on the medium (T34). Here, the medium on which the composite QR code is formed includes a display screen by a display or the like, and includes a broadcast medium, a communication medium, and a storage medium print medium, as in FIG.

図50は、複合QRコード読み取り・認証処理を例示するフローチャートである。この処理では、ユーザ装置UD1は、読取り装置で複合QRコードを読み取る(T41)。次に、ユーザ装置UD1は、ドットコード用データを符号化手段(例:ハッシュ関数)で符号化情報(例:ハッシュ値)を計算する(T42)。次に、ユーザ装置UD1は、QRコードから取得した暗号化情報を基に、復号化手段で復号化情報を計算する(T43)。   FIG. 50 is a flowchart illustrating the complex QR code reading / authentication process. In this process, the user device UD1 reads the composite QR code with the reading device (T41). Next, the user apparatus UD1 calculates encoding information (example: hash value) with dot encoding data (example: hash function) for the dot code data (T42). Next, the user apparatus UD1 calculates decryption information by decryption means based on the encryption information acquired from the QR code (T43).

そして、ユーザ装置UD1は、符号化情報と復号化情報を照合する(T44)。そして符号化情報と復号化情報とが一致した場合、ユーザ装置UD1は、複合コードに認証が成功したと判定し、対応する処理を実施する(T45)。例えば、ユーザ装置UD1は、複合QRコードのドットコードで指定された処理を実行する。また、例えば、ユーザ装置UD1は、複合QRコードのドットコードで指定されたURLにアクセスする。また、例えば、ユーザ装置UD1は、複合QRコードのドットコードで指定された情報が正しい情報であるとして、対応する処理を実行する。対応する処理とは、例えば、複合QRコード中のドットコードで指定されるコンテンツの再生、上記ドットコードで指定される金融機関口座へのアクセス、上記ドットコードで指定されるクレジットカード番号等を用いた処理、複合QRコードが印刷された媒体の真贋判定結果の表示等である。   Then, the user apparatus UD1 collates the encoded information with the decoded information (T44). If the encoded information and the decoded information match, the user apparatus UD1 determines that the composite code has been successfully authenticated, and performs the corresponding process (T45). For example, the user device UD1 executes processing designated by the dot code of the composite QR code. Further, for example, the user device UD1 accesses a URL specified by a dot code of a composite QR code. Further, for example, the user device UD1 executes the corresponding process on the assumption that the information specified by the dot code of the composite QR code is correct information. The corresponding processing uses, for example, reproduction of content specified by a dot code in a composite QR code, access to a financial institution account specified by the dot code, a credit card number specified by the dot code, etc. Display of the authenticity determination result of the medium on which the composite QR code is printed.

一方、符号化情報と復号化情報とが一致しない場合、ユーザ装置UD1は、複合コードによる認証が失敗したと判定し、結果をユーザに通知する(T46)。   On the other hand, when the encoded information and the decoded information do not match, the user apparatus UD1 determines that the authentication by the composite code has failed and notifies the user of the result (T46).

以上述べたように、処理例2によれば、複合QRコードによって、様々な認証処理、真贋判定処理、改ざん検知処理等を実施できる。なお、上記では、管理サーバMS1がドットコード用データの暗号化情報をQRコードに登録して複合コードを形成した。しかし、このような処理に代えて、管理サーバMS1は、第1のドットコード用データの暗号化情報を第2のドットコードに登録して、復号化してもよい。第2のドットコードは、例えば、第1のドットコードが形成されるセルとは異なるセルのドットコードである。   As described above, according to the processing example 2, various authentication processing, authentication determination processing, falsification detection processing, and the like can be performed using the composite QR code. In the above description, the management server MS1 registers the dot code data encryption information in the QR code to form a composite code. However, instead of such processing, the management server MS1 may register the encryption information of the first dot code data in the second dot code and decrypt it. For example, the second dot code is a dot code of a cell different from the cell in which the first dot code is formed.

(処理例3)
図51は、QRコード用データを暗号化してドットコードにコード化するとともに、ドットコード用のデータを暗号化してQRコードにコード化し、真贋判定のための複合QRコード生成方法を例示するフローチャートである。
(Processing example 3)
FIG. 51 is a flowchart illustrating a method for generating a composite QR code for authenticity determination by encrypting QR code data and encoding it into a dot code, and encrypting and encoding dot code data into a QR code. is there.

この処理では、管理サーバMS1は、QRコード用データを基に、符号化手段(例:ハッシュ関数)で符号化情報1(例:ハッシュ値)を計算する(T51)。次に、管理サーバMS1は、符号化情報1を基に暗号化手段で暗号化情報1を計算する。すなわち、管理サーバMS1は、符号化情報1を秘密鍵で暗号化する(T52)。   In this process, the management server MS1 calculates encoding information 1 (example: hash value) by encoding means (example: hash function) based on the QR code data (T51). Next, the management server MS1 calculates the encrypted information 1 by the encryption means based on the encoded information 1. That is, the management server MS1 encrypts the encoded information 1 with the secret key (T52).

T51、T52の処理とともに、管理サーバMS1は、ドットコード用データを基に、符号化手段(例:ハッシュ関数)で符号化情報2(例:ハッシュ値)を計算する(T53)。次に、管理サーバMS1は、符号化情報2を基に暗号化手段で暗号化情報2を計算する。すなわち、管理サーバMS1は、符号化情報2を秘密鍵で暗号化する(T54)。なお、T4で使用する秘密鍵はT52で使用する秘密鍵と同一の鍵であってもよいし、異なる秘密鍵であってもよい。いずれにしても、秘密鍵に対応する公開鍵で認証が実行される。   Along with the processing of T51 and T52, the management server MS1 calculates the encoded information 2 (example: hash value) by the encoding means (example: hash function) based on the dot code data (T53). Next, the management server MS1 calculates the encrypted information 2 by the encryption means based on the encoded information 2. That is, the management server MS1 encrypts the encoded information 2 with the secret key (T54). Note that the secret key used in T4 may be the same key as the secret key used in T52, or may be a different secret key. In any case, authentication is executed with the public key corresponding to the secret key.

次に、管理サーバMS1は、QRコード用データと暗号化情報2をデータとして、誤り訂正を掛けてQRコードを生成する(T55)。さらに、管理サーバMS1は、ドットコード用データと暗号化情報1をデータとして、QRコードのセルに誤り訂正を掛けてドットコードを形成する(T56)。   Next, the management server MS1 performs error correction using the QR code data and the encryption information 2 as data to generate a QR code (T55). Further, the management server MS1 uses the dot code data and the encryption information 1 as data to perform error correction on the QR code cell to form a dot code (T56).

そして、管理サーバMS1は、複合QRコードを媒体に形成する(T57)。ここで、複合QRコードが形成される媒体としては、ディスプレイ等による表示画面も含み、放送媒体、通信媒体、記憶媒体印刷媒体を含む点は、図47、図49と同様である。   Then, the management server MS1 forms a composite QR code on the medium (T57). Here, the medium on which the composite QR code is formed includes a display screen by a display or the like, and includes a broadcast medium, a communication medium, and a storage medium print medium, as in FIGS. 47 and 49.

図52は、複合QRコード読み取り・認証処理を例示するフローチャートである。この処理では、ユーザ装置UD1は、QRコードから取得したQRコード用データを基に、符号化手段(例:ハッシュ関数)で符号化情報1(例:ハッシュ値)を計算する(T61)。次に、ユーザ装置UD1は、QRコードから取得した暗号化情報2を基に、復号化手段で復号化情報2を計算する(T62)。すなわち、ユーザ装置UD1は、暗号化情報2を復号化情報2に復号する。   FIG. 52 is a flowchart illustrating the complex QR code reading / authentication process. In this process, the user apparatus UD1 calculates the encoded information 1 (example: hash value) by the encoding means (example: hash function) based on the QR code data acquired from the QR code (T61). Next, the user apparatus UD1 calculates the decryption information 2 by the decryption means based on the encryption information 2 acquired from the QR code (T62). That is, the user device UD1 decrypts the encrypted information 2 into the decrypted information 2.

T61、T62の処理とともに、ユーザ装置UD1は、ドットコ-ドから取得したドットコード用データを符号化手段(例:ハッシュ関数)で符号化情報2(例:ハッシュ値)を計算する(T63)。次に、ユーザ装置UD1は、ドットコードから取得した暗号化情報1を基に復号化手段で復号化情報1を計算する(T64)。すなわち、ユーザ装置UD1は、暗号化情報1を復号化情報1に復号する。   Along with the processing of T61 and T62, the user apparatus UD1 calculates the encoding information 2 (example: hash value) by the encoding means (example: hash function) with the dot code data acquired from the dot code (T63). Next, the user apparatus UD1 calculates the decryption information 1 by decryption means based on the encryption information 1 acquired from the dot code (T64). That is, the user device UD1 decrypts the encrypted information 1 into the decrypted information 1.

次に、ユーザ装置UD1は、各々の符号化情報と復号化情報を照合する(T65)。個々で、照合は、符号化情報1と復号化情報1との照合、および、符号化情報2と復号化情報2との照合をいう。T65で両方の照合が一致する場合、ユーザ装置UD1は、複合コードに認証が成功したと判定し、対応する処理を実施する(T66)。T66の処理は、T25、T44の処理と同様であるので、その詳細を省略する。   Next, the user apparatus UD1 collates each encoded information with the decoded information (T65). Individually, collation refers to collation between encoded information 1 and decoded information 1 and collation between encoded information 2 and decoded information 2. When both verifications match in T65, the user apparatus UD1 determines that the authentication has succeeded in the composite code, and performs corresponding processing (T66). Since the process of T66 is the same as the process of T25 and T44, its details are omitted.

一方、T65で両方の照合が一致しない場合、ユーザ装置UD1は、複合コードによる認証が失敗したと判定し、結果をユーザに通知する(T67)。   On the other hand, when both collations do not match at T65, the user apparatus UD1 determines that the authentication by the composite code has failed and notifies the user of the result (T67).

以上述べたように、処理例3によれば、複合QRコードによって、様々な認証処理、真贋判定処理、改ざん検知処理等を実施できる。なお、上記では、管理サーバMS1がドットコード用データの暗号化情報をQRコードにコード化し、QRコード用データの暗号化情報をドットコードにコード化して複合コードを形成した。しかし、このような処理に代えて、管理サーバMS1は、QRコード用データの暗号化情報はQRコードに、ドットコード用データの暗号情報はドットコードにコード化して、ユーザ装置UD1が両方を復号化するようにしてもよい。   As described above, according to the processing example 3, various authentication processing, authentication determination processing, falsification detection processing, and the like can be performed using the composite QR code. In the above description, the management server MS1 encodes the encryption information of the dot code data into a QR code, and encodes the encryption information of the QR code data into a dot code to form a composite code. However, instead of such processing, the management server MS1 encodes the encryption information of the QR code data into the QR code and the encryption information of the dot code data into the dot code, and the user device UD1 decrypts both. You may make it make it.

(処理例4)
図53は、QRコード用データとドットコード用データで形成されるデータ列の暗号化情報をドットコードにコード化し、真贋判定のための複合QRコード生成方法を例示するフローチャートである。
(Processing example 4)
FIG. 53 is a flowchart exemplifying a composite QR code generation method for authenticating the data by encoding the encryption information of the data string formed by the QR code data and the dot code data into a dot code.

この処理では、管理サーバMS1は、QRコード用データとドットコード用データで形成されるデータ列を基に、符号化手段(例:ハッシュ関数)で符号化情報(例:ハッシュ値)を計算する(T71)。   In this processing, the management server MS1 calculates encoding information (eg, hash value) by an encoding means (eg, hash function) based on a data string formed by QR code data and dot code data. (T71).

次に、管理サーバMS1は、符号化情報を基に暗号化手段で暗号化情報を計算する(T72)。すなわち、管理サーバMS1は、符号化情報を暗号化情報に暗号化する。次に、管理サーバMS1は、QRコード用データに誤り訂正を掛けてQRコードを生成する。また、管理サーバMS1は、暗号化情報を含むドットコード用データに誤り訂正を掛けてQRコードのセルにドットコードを生成する(T73)。   Next, the management server MS1 calculates encryption information by the encryption means based on the encoded information (T72). That is, the management server MS1 encrypts the encoded information into encrypted information. Next, the management server MS1 performs error correction on the QR code data to generate a QR code. Further, the management server MS1 generates a dot code in the QR code cell by performing error correction on the dot code data including the encryption information (T73).

そして、管理サーバMS1は、複合QRコードを媒体に形成する(T74)。ここで、複合QRコードが形成される媒体としては、ディスプレイ等によるの表示画面も含み、放送媒体、通信媒体、記憶媒体印刷媒体を含む点は、図47、図49、図51と同様である。   Then, the management server MS1 forms a composite QR code on the medium (T74). Here, as a medium on which the composite QR code is formed, a display screen such as a display is included, and a broadcast medium, a communication medium, and a storage medium print medium are the same as in FIGS. 47, 49, and 51. .

図54は、複合QRコード読み取り・認証処理を例示するフローチャートである。この処理では、ユーザ装置UD1は、読み取り装置で複合QRコードを読み取る(T81)。次に、ユーザ装置UD1は、QRコード用データとドットコード用データをデータ列として符号化手段(例:ハッシュ関数)で符号化情報(例:ハッシュ値)を計算する(T82)。T82の処理とともに、ユーザ装置UD1は、ドットコードから取得した暗号化情報を基に、復号化手段で復号化情報を計算する(T83)。すなわち、ユーザ装置UD1は、暗号化情報を復号化情報に復号する。   FIG. 54 is a flowchart illustrating the complex QR code reading / authentication process. In this process, the user device UD1 reads the composite QR code with the reading device (T81). Next, the user apparatus UD1 calculates encoding information (example: hash value) by encoding means (example: hash function) using QR code data and dot code data as data strings (T82). Along with the process of T82, the user apparatus UD1 calculates the decryption information by the decryption means based on the encryption information acquired from the dot code (T83). That is, the user device UD1 decrypts the encrypted information into the decrypted information.

次に、ユーザ装置UD1は、符号化情報と復号化情報を照合する(T84)。そして符号化情報と復号化情報とが一致した場合、ユーザ装置UD1は、複合コードによる認証が成功したと判定し、対応する処理を実施する(T85)。T85の処理は、T25、T44、T66の処理と同様であるので、その詳細を省略する。   Next, the user apparatus UD1 collates the encoded information with the decoded information (T84). If the encoded information and the decoded information match, the user apparatus UD1 determines that the authentication by the composite code has succeeded, and performs a corresponding process (T85). Since the process of T85 is the same as the process of T25, T44, and T66, the details are omitted.

一方、T85で両方の照合が一致しない場合、ユーザ装置UD1は、複合コードによる認証が失敗したと判定し、結果をユーザに通知する(T86)。   On the other hand, when both collations do not match at T85, the user apparatus UD1 determines that the authentication by the composite code has failed and notifies the user of the result (T86).

以上述べたように、処理例4によれば、複合QRコードによって、様々な認証処理、真贋判定処理、改ざん検知処理等を実施できる。なお、上記では、管理サーバMS1はQRコード用データとドットコード用データで形成されるデータ列の暗号化情報をドットコードにコード化して複合コードを形成した。しかし、このような処理に代えて、管理サーバMS1は、QRコード用データとドットコード用データで形成されるデータ列の暗号化情報をQRコードにコード化して、ユーザ装置UD1が両方を復号化するようにしてもよい。   As described above, according to the processing example 4, various authentication processing, authentication determination processing, falsification detection processing, and the like can be performed by the composite QR code. In the above description, the management server MS1 encodes the encrypted information of the data string formed by the QR code data and the dot code data into a dot code to form a composite code. However, instead of such processing, the management server MS1 encodes the encryption information of the data string formed by the QR code data and the dot code data into a QR code, and the user device UD1 decrypts both. You may make it do.

(処理例5)
図55は、QRコード用データとドットコード用データで形成されるデータ列の符号化情報をドットコードにコード化する複合QRコード生成方法を例示するフローチャートである。この処理では、秘密鍵と公開鍵は用いられない。この処理では、管理サーバMS1は、QRコード用データとドットコード用データで形成されるデータ列を符号化手段(例:ハッシュ関数)で符号化情報(例:ハッシュ値)を計算する(T91)。次に、管理サーバMS1は、QRコード用データに誤り訂正を掛けてQRコードを生成し、T91で生成した符号化情報を含むドットコード用データに誤り訂正を掛けてQRコードのセルにドットコードを生成する(T92)。
(Processing example 5)
FIG. 55 is a flowchart exemplifying a composite QR code generation method for encoding encoded information of a data string formed by QR code data and dot code data into a dot code. In this process, the secret key and the public key are not used. In this process, the management server MS1 calculates encoding information (eg, hash value) using a coding means (eg, hash function) for a data string formed by QR code data and dot code data (T91). . Next, the management server MS1 performs error correction on the QR code data to generate a QR code, applies error correction to the dot code data including the encoded information generated in T91, and applies the dot code to the QR code cell. Is generated (T92).

そして、管理サーバMS1は複合QRコードを媒体に形成する(T93)。ここで、複合QRコードが形成される媒体としては、ディスプレイ等によるの表示画面も含み、放送媒体、通信媒体、記憶媒体印刷媒体を含む点は、図47、図49、図51、図53と同様である。   Then, the management server MS1 forms a composite QR code on the medium (T93). Here, as a medium on which the composite QR code is formed, a display screen such as a display is included, and a broadcast medium, a communication medium, and a storage medium print medium are included in FIGS. 47, 49, 51, and 53. It is the same.

図56は、複合QRコード読み取り・認証処理を例示するフローチャートである。この処理では、ユーザ装置UD1は、例えば、コンテンツサーバから取得した情報から、読み取り装置で複合QRコードを読み取る(T101)。次に、ユーザ装置UD1は、QRコード用データとドットコード用データをデータ列として符号化手段(例:ハッシュ関数)で符号化情報(例:ハッシュ値)を計算する(T102)。次に、ユーザ装置UD1は、ドットコードから符号化情報(例:ハッシュ値)を取得する(T103)。   FIG. 56 is a flowchart illustrating the complex QR code reading / authentication process. In this process, for example, the user device UD1 reads the composite QR code with the reading device from the information acquired from the content server (T101). Next, the user apparatus UD1 calculates encoding information (example: hash value) by encoding means (example: hash function) using QR code data and dot code data as data strings (T102). Next, the user device UD1 acquires encoded information (eg, hash value) from the dot code (T103).

次に、ユーザ装置UD1は、計算した符号化情報と取得した符号化情報を照合する(T104)。そして符号化情報と復号化情報とが一致した場合、ユーザ装置UD1は、複合コードによる認証が成功したと判定し、対応する処理を実施する(T105)。T105の処理は、T25、T44、T66、T85の処理と同様であるので、その詳細を省略する。   Next, the user apparatus UD1 collates the calculated encoded information with the acquired encoded information (T104). When the encoded information and the decoded information match, the user apparatus UD1 determines that the authentication by the composite code has succeeded, and performs a corresponding process (T105). Since the process of T105 is the same as the process of T25, T44, T66, and T85, its details are omitted.

一方、T105で符号化情報と復号化情報とが一致しない場合、ユーザ装置UD1は、複合コードによる認証が失敗したと判定し、結果をユーザに通知する(T106)。   On the other hand, if the encoded information and the decoded information do not match in T105, the user apparatus UD1 determines that the authentication by the composite code has failed and notifies the user of the result (T106).

処理例1から処理例4とは異なり、処理例5では、誤り訂正が正しかったかを確認できる。また、T91とT102で用いられる符号化処理が、管理サーバMS1とユーザ装置UD1だけが特定できる処理である場合には、処理例1から処理例4と同様に、様々な認証処理、真贋判定処理、改ざん検知処理等を実施できる。   Unlike the processing example 1 to the processing example 4, in the processing example 5, it can be confirmed whether the error correction is correct. When the encoding process used in T91 and T102 is a process that can be specified only by the management server MS1 and the user device UD1, various authentication processes and authenticity determination processes are performed in the same manner as in the process examples 1 to 4. Tamper detection processing can be performed.

図47から図54で説明した電子認証の全てに対して、下記のケースも含み、誤り訂正が正しかったかを認証できる。
・QRコードのデータの符号化情報を暗号化手段で暗号化した暗号化情報を、ドットコードに格納
・QRコードのデータの符号化情報を暗号化手段で暗号化した暗号化情報を、QRコードに格納
・ドットコードのデータの符号化情報を暗号化手段で暗号化した暗号化情報を、QRコードに格納
・ドットコードのデータの符号化情報を暗号化手段で暗号化した暗号化情報を、ドットコードに格納
・QRコードのデータの符号化情報を暗号化手段で暗号化した暗号化情報をドットコードに、ドットコードのデータの符号化情報を暗号化手段で暗号化した暗号化情報をQRコードに、それぞれ格納
・QRコードのデータの符号化情報を暗号化手段で暗号化した暗号化情報をQRコードに、ドットコードのデータの符号化情報を暗号化手段で暗号化した暗号化情報をドットコードに、それぞれ格納
・QRコードのデータと、ドットコードのデータから形成されるデータ列の符号化情報を暗号化手段で暗号化した暗号化情報を、QRコードに格納
・QRコードのデータと、ドットコードのデータから形成されるデータ列の符号化情報を暗号化手段で暗号化した暗号化情報を、ドットコードに格納
It is possible to authenticate whether the error correction was correct for all of the electronic authentications described with reference to FIGS. 47 to 54, including the following cases.
・ Encrypted information obtained by encrypting QR code data encoded by the encryption means is stored in the dot code. ・ Encrypted information obtained by encrypting QR Code data encoded by the encryption means is stored in the QR code. The encrypted information obtained by encrypting the encoded information of the dot code data by the encrypting means, and the encrypted information obtained by encrypting the encoded information of the dot code data stored by the encrypting means in the QR code, Stores in dot code-QR code data encoded information encrypted with encryption means dot code Code information encoded with dot code data encrypted with encryption means QR code Encrypted information encrypted by encryption means for storing and QR code data respectively in the code is encrypted in the QR code, and encoded information of the dot code data is encrypted in the code by the encryption means Encrypted information is stored in dot code, respectively. QR code data and encrypted information obtained by encrypting encoded information of a data string formed from dot code data by encryption means are stored in QR code. Encrypted information obtained by encrypting the code data and the encoded information of the data string formed from the dot code data with the encryption means is stored in the dot code.

同様に、図55および図56で説明した電子認証の全てに対して、下記のケースも含み、誤り訂正が正しかったかを認証できる。
・QRコードのデータの符号化情報をドットコードに格納
・QRコードのデータの符号化情報をQRコードに格納
・ドットコードのデータの符号化情報をQRコードに格納
・ドットコードのデータの符号化情報をドットコードに格納
・QRコードのデータの符号化情報をドットコードに、ドットコードのデータの符号化情報をQRコードに、それぞれ格納
・QRコードのデータの符号化情報をQRコードに、ドットコードのデータの符号化情報をドットコードに、それぞれ格納
・QRコードのデータと、ドットコードのデータから形成されるデータ列の符号化情報を、QRコードに格納
・QRコードのデータと、ドットコードのデータから形成されるデータ列の符号化情報を、ドットコードに格納
Similarly, it is possible to authenticate whether the error correction was correct for all of the electronic authentications described with reference to FIGS. 55 and 56, including the following cases.
-Stores encoded information of QR code data in dot code-Stores encoded information of QR code data in QR code-Stores encoded information of dot code data in QR code-Encoded dot code data Information is stored in dot code. QR code data encoding information is stored in dot code, dot code data encoding information is stored in QR code, and QR code data encoding information is stored in QR code. Encoding information of code data is stored in dot code, each of which is stored / QR code data, and encoded information of a data string formed from the data of dot code is stored in QR code. QR code data and dot code The encoding information of the data string formed from the data is stored in the dot code

<実施形態6の特長と用途>
以下、実施形態6で説明したオフラインによるドットコードに暗号化情報を形成する複合QRコードの特長と用途(認証系とコンテンツ系)を列挙する。
<Features and Applications of Embodiment 6>
The features and applications (authentication system and content system) of the composite QR code that forms the encryption information in the offline dot code described in the sixth embodiment will be listed below.

(複合QRコードの特徴例と効果)
複合QRコードは、ネットで認証をしなくても電子認証が可能であり、ネット上でのハッキング等の防止に繋がる。さらに、コンテンツや様々なネット上のサービスを提供するサービス提供業者は、ユーザに複合QRコード読取りアプリさえダウンロードインストールする仕組みを提供すれば、複合QRコードを使用した様々なコンテンツサービスや電子認証のための面倒な管理と費用を要するサーバを運営する必要がない。したがって、サービス提供業者は、継続したユーザへのサービスが安価に提供できる。その他、零細なサービス企業でも、サーバを構築することなく複合QRコードを使用した様々なコンテンツサービスを提供できる。
(翻訳機能の搭載、各国言語データの搭載)
さらに、コンテンツでの利用では、アプリに翻訳・通訳等の出力機能を備えれば、1つのハイブリッドQRコードで取得した様々なコンテンツを世界各国での利用が可能となる。一方、各国語のテキストや少量の音声データや画像を識別できるように媒体に形成された複合QRコードに格納し、アプリに翻訳・通訳機能を搭載していなくても必要な言語のテキスト・画像の表示や音声を再生できる。当然、複合QRコードをディスプレイに表示して、時系列ドットコードやカラードットコードを使用すれば、容量の小さなアニメーションも同様に各国語用のデータにして複合QRコードに格納し、各国のコンテンツを取得できる。
(Examples and effects of composite QR code)
The composite QR code can be electronically authenticated without authenticating on the net, leading to prevention of hacking and the like on the net. Furthermore, if a service provider that provides content and various services on the Internet provides the user with a mechanism for downloading and installing even a composite QR code reading application, various content services and electronic authentication using the composite QR code can be provided. There is no need to operate a server that requires cumbersome management and cost. Therefore, the service provider can provide a continuous service to the user at a low cost. In addition, even a small service company can provide various content services using a composite QR code without constructing a server.
(Equipped with translation function, national language data)
Furthermore, when using the content, if the application has an output function such as translation / interpretation, various contents acquired by one hybrid QR code can be used in various countries around the world. On the other hand, texts and images in the required language are stored even if the application does not have a translation / interpretation function. Display and sound can be played. Of course, if a composite QR code is displayed on the display and a time series dot code or color dot code is used, a small-capacity animation is also converted into data for each language and stored in the composite QR code. You can get it.

(複合QRコードへのデータ格納の仕方)
複合QRコードは、URL等が格納されたQRコードを、複合QRコードリーダーだけでなく、普及しているQRコードリーダーでも読み取ることができることを特長にしているが、ドットコードの占める面積は最大でも20%以下であり、さらに、従来のQRコードリーダーは点のような画像はノイズとして扱い無視して、QRコード読取りに支障をきたすことはない。また、データをドットコードに格納し、図49、図50のように、電子署名をQRコードのデータ領域に格納してもよい。なぜなら、ドットコードの方が遥かに多くの情報を格納できる特長を生かせるからである。そこで、容量の小さなURL等のデータはQRコードに格納し、コンテンツ等の容量の大きなデータはドットコードに格納すればよい。さらに、ドットコードのタイプやバージョン、誤り訂正符号のバージョン等のフォーマット情報もQRコードに格納して、ドットコードには少なくともデータと誤り訂正符号を格納して、QRコードにより得られる情報でドットコードを読み取るようにしてもよい。これにより、ドットコードのデータフォーマットを可変にすることができ、汎用性を高めることができる。すなわち、利用分野毎にドットコードのデータフォーマットを定めることができ、どのような複合QRコードリーダーでも適正にドットコードを読み取ることが可能となる。
(How to store data in a composite QR code)
The composite QR code is characterized by being able to read QR codes that store URLs, etc., not only with complex QR code readers but also with popular QR code readers. Furthermore, the conventional QR code reader treats an image such as a dot as noise and ignores it, so that QR code reading is not hindered. Further, data may be stored in a dot code, and an electronic signature may be stored in a QR code data area as shown in FIGS. This is because the dot code can take advantage of the ability to store much more information. Therefore, data such as a URL having a small capacity may be stored in a QR code, and data having a large capacity such as content may be stored in a dot code. Further, format information such as dot code type and version, error correction code version, etc. is also stored in the QR code, and at least the data and error correction code are stored in the dot code. May be read. Thereby, the data format of a dot code can be made variable, and versatility can be improved. That is, the dot code data format can be determined for each application field, and any composite QR code reader can properly read the dot code.

(様々なチケットとしての用途)
購入したチケット番号等が格納された複合QRコードがチケット販売先から送付され、チケット使用時には、複合QRコード対応アプリがクラウドからの送信により時間変化するワンタイムパスワードをドットコードで表示することにより、入場確認の際に複合QRコード読取り装置で読み取られ、チケットを購入した人だけしか、入場をできないようにできる。さらに、チケット購入者のスマホIDを取得して、当該スマホにワンタイムパスアワードを送信することにより、チケットの転売を防止することもできる。ドットコードにワンタイムパスワードを格納すれば、ドットが変化しても視認しづらいので、ワンタイムパスワードが使用されていることをユーザに意識させないようにできる。一方、QRコードにワンタイムパスワードを格納すれば、QRコードが変化するため、コピー防止を実施していることをユーザに伝え、偽造者に対して抑止効果がある。現行のQRコードは、その内容を誰でも読み取ることができ、誰でも生成することができる。チケットが印刷媒体であって、チケット番号をQRコードに埋め込む場合は、QRコードから読み取った情報を基にリバースエンジニアリングを実施することにより、チケット番号の発行を第三者が実施できる可能性が高い。チケット番号発行手順が分かれば、異なるチケット番号を容易に生成できる。
複合QRコード読取りアプリは、一般に広く提供するが、複合QRコードの生成は、特定の複合QRコード発行機関のみができるようにするか、複合QRコード発行業者に対してのみ、チケット番号として使用する特定のドットコード(限定されたユニークなドットコード)のみを符号化できる複合QRコード生成アプリを提供すればよい。これにより、取得したチケットのチケット番号とは異なるチケット番号の偽造チケットを制作することはできなくなる。なお、世の中に発行される複合QRコードを完全なユニークコードとした場合、特定のユニークなドットコードに限定して符号化できる複合QRコード生成アプリが生成する複合QRコードと、他の生成アプリで生成できる複合QRコードと重複しないようにすればよい。なお、チケットは、イベント参加や施設入場、交通機関利用、食券、行政サービスの利用券等、様々なサービスを取得するためのものである。本実施例では、チケット番号としてユニークなドットコードを符号化できる複合QRコード生成アプリについて記載したが、どのような分野でのどのような利用においても、その都度の契約の下に特定のユニークなドットコードを限定して符号化できる複合QRコード生成アプリを提供するサービスが望ましい。もちろん、複合QRコード発行機関では、常にユニークな複合QRコードを発行する。なお、複合QRコードはQRコードとドットコードとが複合されたコードであり、ドットコードが同一で、QRコードがユニークであっても、ユニークな複合QRコードを生成できることは言うまでもない。
(Use as various tickets)
A composite QR code storing the purchased ticket number etc. is sent from the ticket seller, and when using the ticket, the composite QR code compatible application displays a one-time password that changes with time by transmission from the cloud in dot code, Only the person who has purchased the ticket can read the ticket with the composite QR code reader when confirming the entrance. Further, the resale of the ticket can be prevented by acquiring the ticket purchaser's smartphone ID and transmitting the one-time pass award to the smartphone. If the one-time password is stored in the dot code, it is difficult to visually recognize even if the dot changes, so that the user can be prevented from being aware that the one-time password is being used. On the other hand, if the one-time password is stored in the QR code, the QR code changes, so that the user is informed that copy protection is being implemented, which has a deterrent effect on the forger. The current QR code can be read by anyone, and anyone can generate it. When the ticket is a print medium and the ticket number is embedded in the QR code, it is highly possible that a third party can issue the ticket number by performing reverse engineering based on the information read from the QR code. . If the ticket number issuing procedure is known, different ticket numbers can be easily generated.
Although the composite QR code reading application is generally widely provided, the generation of the composite QR code can be performed only by a specific composite QR code issuer or used as a ticket number only for the composite QR code issuer. It is only necessary to provide a composite QR code generation application that can encode only a specific dot code (a limited unique dot code). This makes it impossible to produce a counterfeit ticket with a ticket number different from the ticket number of the acquired ticket. Note that when a composite QR code issued to the world is a completely unique code, a composite QR code generated by a composite QR code generation application that can be limited to a specific unique dot code and other generation applications What is necessary is not to overlap with a composite QR code that can be generated. The ticket is for acquiring various services such as event participation, facility entrance, transportation use, meal ticket, administrative service use ticket and the like. In this embodiment, a composite QR code generation application that can encode a unique dot code as a ticket number has been described. However, in any use in any field, a specific unique code can be obtained under each contract. A service that provides a composite QR code generation application capable of encoding with limited dot codes is desirable. Of course, a complex QR code issuing organization always issues a unique complex QR code. Needless to say, a composite QR code is a code in which a QR code and a dot code are combined, and even if the dot code is the same and the QR code is unique, a unique composite QR code can be generated.

(生体認証での用途)
膨大な本人情報(顔、指紋、虹彩、静脈等の生体情報)を、誤り訂正を掛けてドットコードに登録する。本人情報が改ざんされないように、QRコードまたはドットコードのいずれかに電子署名をする。使用方法は、決済等をする際に、複合QRコードを表示して、それを読取り取得した生体情報と、その場で本人から取得(カメラやセンサーによる顔や指紋、虹彩、静脈情報等の取得)した生体情報が一致するかで、無人でも本人確認ができ、金融決済や重要施設の入室、重要機器の操作が、高セキュリティで実施できる。なお、スマートフォン等の本人情報の登録は、搭載されているカメラで顔や指紋、虹彩を撮影することにより容易に行える。なお、本人情報は、スマートフォンで顔や指紋、虹彩を撮影した生データでもよいし、専用アプリで生データを解析した特徴点データあってもよい。特徴点データの場合はデータ量が小さくなることが利点であるが、当該特徴点データと同じ特徴点を生成する特定の照合システムを使用することが前提となり汎用性に乏しい。生データの場合は、現場で取得された生体情報との照合をどのようなシステムで実施しても構わないことから汎用性に優れている。生データの容量は多量の情報量となり従来のQRコードでは格納できなかったが、複合QRコードでは十分、それらの情報を格納できる。現在の顔認証技術においては、2〜3KBに圧縮された写真で実現できる。
(Use for biometric authentication)
Enormous personal information (biological information such as face, fingerprint, iris, vein, etc.) is registered in the dot code after error correction. An electronic signature is applied to either the QR code or the dot code so that the personal information is not falsified. The usage method is to display a composite QR code when making a payment, read and acquire the biometric information, and acquire it from the person on the spot (acquisition of face, fingerprint, iris, vein information, etc. by camera or sensor) ) The identity of the biometric information can be confirmed by an unattended person, and financial settlement, entry into an important facility, and operation of an important device can be performed with high security. Registration of personal information such as a smartphone can be easily performed by photographing a face, a fingerprint, and an iris with a built-in camera. The identity information may be raw data obtained by photographing a face, fingerprint, or iris with a smartphone, or feature point data obtained by analyzing the raw data with a dedicated application. In the case of feature point data, it is an advantage that the amount of data is reduced. However, it is presumed that a specific matching system that generates the same feature point as the feature point data is used, and the versatility is poor. In the case of raw data, it is excellent in versatility because any system can be used to collate with biometric information acquired on site. The capacity of the raw data is a large amount of information and cannot be stored by the conventional QR code, but the composite QR code can store the information sufficiently. With the current face authentication technology, it can be realized with a photograph compressed to 2-3 KB.

(決済手段、送金手段としての用途)
電子署名をした複合QRコードにクレジットカードやプリペイドカード、キャッシュカード等の金融情報が格納されていれば、極めてセキュリティ性の高い金融決済ができる。さらに、ワンタイムパスワード等もQRコードやドットコードで同時に発行すれば、さらにセキュリティ性は高まる。特に、ドットコードでのパスワードの表示では、大きな情報量のパスワードを発行でき、1秒間に数回以上のワンタイムパスワードの表示が可能であり、ドットが小さいためショルダーハッキングのような盗撮などで盗まれる可能性が極めて低くなる。このような、金融決済の実施例では、店舗側のシステムが購入品の品目や単価、支払い合計額等を印刷した印刷媒体を購入者に提供するか、当該内容をディスプレイに表示すればよい。購入者が表示内容を確認した後、購入者のスマートフォンに金融決済カード情報を表示すると、店舗側のシステムが複合QRコードリーダー(スマートフォンでもよい)で読取り、読み取った金融決済カード情報を基に金融決済サーバに、購入品決済情報を送信する。そして、金融決済サーバは決済承認すると、店舗側のPOSに直ちに通知し、商品の購入が完了する。さらに、購入者のスマートフォンには、購入品決済情報や購入店舗情報等の決済完了情報が送信されてもよい。また、決済できない場合、クレジットカードの超過利用やプリペイドカード、銀行口座で残金が足りない場合も、それらの情報がスマートフォンに表示されてもよい。
(Use as a means of payment and remittance)
If financial information such as a credit card, prepaid card, or cash card is stored in a composite QR code with an electronic signature, financial settlement with extremely high security can be performed. Furthermore, if a one-time password or the like is issued simultaneously with a QR code or a dot code, the security is further enhanced. In particular, when displaying passwords with dot codes, passwords with a large amount of information can be issued, and one-time passwords can be displayed several times a second. Since the dots are small, they are stolen by voyeurism such as shoulder hacking. Is very unlikely. In such an embodiment of financial settlement, the store side system may provide the purchaser with a print medium on which the purchased item, unit price, total payment amount, etc. are printed, or display the contents on the display. After the purchaser confirms the displayed contents, when the financial settlement card information is displayed on the purchaser's smartphone, the store side system reads with a complex QR code reader (or a smartphone), and the financial is based on the read financial settlement card information. The purchase product settlement information is transmitted to the settlement server. When the financial settlement server approves the settlement, it immediately notifies the POS on the store side, and the purchase of the product is completed. Furthermore, payment completion information such as purchase item settlement information and purchase store information may be transmitted to the purchaser's smartphone. In addition, when payment is not possible, even when there is a shortage of credit card overuse, prepaid card, or bank account, such information may be displayed on the smartphone.

クレジットカードやプリペイドカード、銀行口座等の金融決済の実施例としては、複合QRコードを使用するシステムでは、購入者がスマートフォンに金融決済カード情報を複合QRコードで表示し、店舗側のシステムが複合QRコードリーダー(スマートフォンでもよい)でスマートフォンの表示内容を読取り、読み取った金融決済カード情報を基に、金融決済サーバに購入品決済情報を送信する。そして、金融決済サーバは決済承認すると、決済承認結果を店舗側のPOSに直ちに通知し、商品の購入決済が完了する。さらに、購入者のスマートフォンには、購入品情報や購入店舗情報等の情報が送信され、「決済」、「中止」や「一括払い」「分割払い」等のアイコンが表示され選択して決済してもよい。また、決済できない場合、クレジットカードの超過利用やプリペイドカード、銀行口座で残金が足りない場合も、それらの情報がスマートフォンに表示されてもよい。店舗側のシステムが購入品の品目や単価、支払い合計額等を印刷した印刷媒体を購入者に提供するか、または当該内容をディスプレイに表示して購入者が確認した後、クレジットカード等により決済されすればよい。
もう1つの実施例では、店舗側がPOSのディスプレイ(スマートフォンでもよい)に複合QRコードを表示し、購入者が当該複合QRコードを読み取ると、購入品の品目や単価、支払い合計額が表示され、「決済」、「中止」や「一括払い」「分割払い」等のアイコンが表示され選択すると、金融決済サーバにそれらの決済情報が送信され、決済承認されれば店舗側のPOSに直ちに通知され、商品の購入が完了する。プリペイドカードや銀行口座で残金が足りない場合は、残高や不足分等が表示される。なお、カードを相手方に渡さないことは、カードの情報を容易にコピーされないことを意味しており、なりすまし被害を抑えることができる。
(送金処理への適用) さらに、個人間で送金したい場合、送金者が金額をスマートフォンに入力すると、送金者や金額等の送金情報が登録された複合QRコードが表示される。相手が自身のスマートフォンで読取り、「確認」アイコンをタップすると送金者に通知され、誰に幾ら送金されるかが表示され、「決済」アイコンをタップすると、相手に送金が実施され、個人間の金融取引が成立する。他の方法では、相手のスマートフォンに送金先情報等が登録された複合QRコードを表示させ、送金者のスマホで読み取ると送金先情報が表示され、金額をスマートフォンに入力して、「決済」アイコンをタップすると、相手に送金が実施され個人間の金融取引が成立する。その際、複合QRコードに写真等の本人情報が登録されていれば、着金者の本人確認を容易に可能となる。いずれも、本人以外の第三者が送金できないようにセキュリティを高めるために、「決済」アイコンをタップする際にパスワードを入力してもよい。これらの金融取引に関して、金額、日付以外に‘貸借’や‘贈与’、‘対価’等を分類し、記録に残すこともできる。
As an example of financial settlement for credit cards, prepaid cards, bank accounts, etc., in a system using a complex QR code, the purchaser displays financial settlement card information on the smartphone in a complex QR code, and the system on the store side is complex The display content of the smartphone is read with a QR code reader (or a smartphone), and the purchase settlement information is transmitted to the financial settlement server based on the read financial settlement card information. When the financial settlement server approves the settlement, the settlement approval result is immediately notified to the POS on the store side, and the product purchase settlement is completed. In addition, information such as purchased product information and purchased store information is transmitted to the purchaser's smartphone, and icons such as “settlement”, “cancel”, “lump sum payment” and “installment payment” are displayed and selected for settlement. Good. In addition, when payment is not possible, even when there is a shortage of credit card overuse, prepaid card, or bank account, such information may be displayed on the smartphone. The store-side system provides the purchaser with a print medium on which the purchased item, unit price, total payment amount, etc. are printed, or displays the contents on the display and confirms the purchase, and then settles with a credit card, etc. Just do it.
In another embodiment, the store side displays a composite QR code on a POS display (which may be a smartphone), and when the purchaser reads the composite QR code, the item, unit price, and total payment amount of the purchased product are displayed. When an icon such as “Payment”, “Cancel”, “Bump payment”, or “Installment payment” is displayed and selected, the payment information is sent to the financial payment server. The purchase of is completed. If there is not enough balance left on the prepaid card or bank account, the balance or shortage will be displayed. Not passing the card to the other party means that the card information is not easily copied, and spoofing damage can be suppressed.
(Application to remittance processing) Furthermore, when the remittance is input to the smartphone when the remittance is to be transferred between individuals, a composite QR code in which remittance information such as the remittance and the amount is registered is displayed. When the other party reads it with his / her smartphone and taps the “confirm” icon, the sender is notified, and to whom and how much money is sent is displayed. Financial transaction is completed. The other way is to display a composite QR code with remittance destination information registered on the other party's smartphone, read the remittance information on the sender's smartphone, enter the amount into the smartphone, and enter the “settlement” icon Tap to transfer money to the other party and establish a financial transaction between individuals. At this time, if identity information such as a photograph is registered in the composite QR code, the identity of the depositor can be easily confirmed. In either case, in order to enhance security so that a third party other than the principal cannot send money, a password may be input when the “settlement” icon is tapped. Regarding these financial transactions, in addition to the amount and date, “loan”, “gift”, “consideration”, etc. can be classified and recorded.

(クーポンとしての利用)
ポイントやクーポン、スタンプでの利用では、顧客が特典を獲得する場合に、特典を獲得できる複合QRコードを、特典提供者のシステムがどこにでも形成(印刷まはディスプレイ表示)し、顧客のスマートフォンで読み取ることにより特典を取得できる。また、特典提供者のシステムは、顧客のスマートフォンで表示した複合QRコードを読取り、電話回線やWIFI, ブルーツース等、様々な通信手段で顧客のスマートフォンに特典を付与したり、利用した特典を消込することができる。当該複合QRコードには、通信先の電話番号やアドレス、スマホID, 会員番号等を含めてもよい。
(Use as a coupon)
When using customers with points, coupons, or stamps, when a customer acquires a privilege, the privilege provider's system forms (prints or displays) a compound QR code that can acquire the privilege anywhere on the customer's smartphone. A privilege can be acquired by reading. In addition, the privilege provider's system reads the composite QR code displayed on the customer's smartphone, grants the privilege to the customer's smartphone using various communication means such as telephone lines, WIFI, Bluetooth, etc. can do. The composite QR code may include a communication destination telephone number or address, a smartphone ID, a membership number, and the like.

(証明証としての利用)
システムが免許証や健康保険証、学生証、社員証、会員カード、パスポート等、本人を確認する場合、本人が当該カードを提示しなくても、それらの情報をドットコードに格納して、本人が複合QRコードをスマートフォンに表示させてもよい。システムは、複合QRコード読取り装置でドットコードを読取り、読取り装置に対して必要な情報を表示させ、本人に生年月日や住所等を告げて貰い、本人であることを確認できる。なお、印刷媒体やディスプレイ等に形成された複合QRコードの読取りは、スマートフォンに搭載した専用アプリケーションによって行うこともできる。特に、写真もドットコードに格納できるので、従来の写真を見ての本人確認も、カードが無くても可能となる。確認を行う相手方のシステムに、それらのカード情報が渡っても、郵便局や病院では、カードをコピーするのが習慣であるが、むしろ、スマートフォン(専用アプリ)による複合QRコードの表示や読取り、専用読取り装置による複合QRコードの読取りでは、読み取ったデータに含まれる写真や生年月日、住所等の一部のみを表示し、その他の情報は非表示にすることによりセキュリティを高めることができる。さらに、読み取った複合QRコードを時間や場所等と共に履歴を、読み取ったシステムがトレースできることからビッグデータとしても利用可能となる。なお、カードを相手方に渡さないことは、カードの情報を容易にコピーされないことを意味しており、なりすまし被害を抑えることができる。
(Use as certificate)
When the system verifies the person, such as a license, health insurance card, student ID card, employee ID card, membership card, passport, etc., even if the person does not present the card, the information is stored in the dot code and the person May display the composite QR code on the smartphone. The system reads the dot code with a complex QR code reader, displays the necessary information on the reader, tells the person the date of birth, address, etc., and can confirm the identity. Note that reading of a composite QR code formed on a print medium, a display, or the like can also be performed by a dedicated application installed in a smartphone. In particular, since photos can also be stored in dot codes, it is possible to verify the identity of a conventional photo without a card. Even if the card information is passed to the other party's system for confirmation, it is customary to copy the card at post offices or hospitals, but rather, display and reading a composite QR code with a smartphone (dedicated application), When reading a composite QR code by a dedicated reader, security can be enhanced by displaying only a part of the photograph, date of birth, address, etc. included in the read data and hiding other information. Furthermore, since the read system can trace the history of the read composite QR code together with the time, place, etc., it can be used as big data. Not passing the card to the other party means that the card information is not easily copied, and spoofing damage can be suppressed.

(記録手段としての利用)
医療や法廷での資料から不動産や金融関連の契約等、様々な分野で紙媒体の情報を保存することが義務付けられている。OCRでデジタル化してクラウドに記録し検索すれば、システムはテキスト情報を取得できるが、人が紙媒体を見て、それらの情報を検索するのは面倒である。複合QRコードは、紙媒体数ページ分のテキスト(4,000文字程度、カラードットを使用できれば、1万文字以上)を格納することができ、システムはその場で印刷された複合QRコードを読取り、当該情報を容易に取得できる。複合QRコードの添付は、i)システムがOCRで読み取って得られたデータと共に任意の位置に印刷してもよいし、ii)システムが複合QRコードをシール等に印刷し、原文書や印刷文書に貼り付けられるようにしてもよい。iii)なお、原文書に複合QRコードを印刷する所定の領域(文書近傍または内部)が形成されている場合には、システムは、原文書(原文書への重畳印刷)やOCRにより得られたデータによる印刷文書の当該領域に複合QRコードを印刷してもよい。
(Use as recording means)
It is obliged to store information on paper media in various fields, such as medical and forensic materials, real estate and financial contracts. If you digitize it with OCR, record it in the cloud, and search it, the system can get text information, but it is cumbersome for people to look at paper media and search for that information. The composite QR code can store text for several pages of paper media (about 4,000 characters, 10,000 characters if color dots can be used), and the system reads the composite QR code printed on the spot, Information can be acquired easily. The compound QR code can be attached i) the system can print it at any position together with the data obtained by OCR reading, or ii) the system can print the composite QR code on a sticker, etc. You may make it stick on. iii) When a predetermined area (near or inside the document) for printing the composite QR code is formed in the original document, the system is obtained by the original document (overlay printing on the original document) or OCR. The composite QR code may be printed in the area of the print document by data.

(情報授受手段として利用)
様々な情報のやり取りにおいても、複合QRコードによって安全性が向上する。例えば、ユーザは、メールアドレスやSNSにおける連絡先を相手に教えることなく、複合QRコードを使用すれば写真や音声、テキスト等を容易に送受信できる。例えば、写真であれば、スマートフォンで閲覧する場合の高品質の写真や10分程度の音声、数万文字以上のテキストを格納できる。テキストの文字数に関しては前述しているのでここでは説明を省くが、音声においては、ADPCM(適応的差分パルス符号化変調)とデータ圧縮技術によって0.3KBPSとなるが、MELP(混合励振線形予測)とデータ圧縮技術によって0.1KBPSで可能となり、ドットコードには最大2KB程度の情報を格納できることから20秒程度の聞き取り可能な音声が格納できる。なお、画像においては、JPEGで2KB程度の写真(人の目による本人確認ができる程度)の写真等のコンテンツを取得できる。さらに、最新の静止画像圧縮技術(BPG,あるいは次世代JPEGであるJPEG XL 等)によって顔画像認識に十分耐えうる品質を保持できる。なお、専用の高解像度の複合QRコード読取り装置を使用し、印刷されたQRコードの最大情報量を有するバージョン40、177×177セルに対応する複合QRコードでは、8倍の約24KBバイトの情報を格納できる。赤外線やブルーツース等、スマートフォンで情報をやり取りできる機能も多々あるが、全てのスマートフォンで当該機能が使用できない。しかし、ユーザが複合QRコード読取り専用アプリをスマートフォンにダウンロードインストールをすれば、複合QRコードの表示・読取りは殆どのスマートフォンで利用できるため、普及の可能性が極めて高い。例えば、集合写真を撮った後、複合QRコードを印刷またはディスプレイに表示し、当該複合QRコードを各自が読み取れば、全員がアドレス等を伝えなくても、自身のスマートフォンに集合写真を取得することができる。複合QRコードを印刷しておけば、サーバ等にアップしなくても、卒業アルバム等の記念写真やメッセージを何時でも何処でも永遠に取得できる。これまでは、長年に渡って写真情報を閲覧・ダウンロードできるサーバ環境を運営する必要があったが、本実施形態ではそのような、サーバ管理やコストの無駄を省ける。このような本発明の効果は様々なコンテンツ分野に利用でき、サーバ構築・管理の継続する責任から逃れることができる大きなメリットを有する。正に売り切りのビジネスモデルを展開できる。
なお、スマートフォンその他のシステムが高品質な写真や10分程度の音声、数万文字以上のテキストを格納して、スマートフォンに複合QRコードを表示する際に、例えば、第1のコード(QRコード)の表示を固定し、異なる複数の第2のコード(ドットコード)を所定時間ずつ表示することにより多量な情報を生成できる。読み取り装置が複合QRコードリーダーで点滅する時系列ドットコードを読み取る場合、一度だけ、QRコードを読み取るだけで、その後は、ドットコードのみを読み取ることにより高速に処理できる。撮影時の手振れが生じた場合に、読み取り装置がタイミングパターンやアライメントパターンの撮像位置の変化を追跡し、都度、検出したドット位置の補正を行えば、ドットコードを正確に読み取ることができる。複合QRコードをスマーとフォンに表示し、他のスマートフォン等の読み取り装置で当該複合QRコードを読み取る場合、ドットコードに格納できる1回の情報量は0.85K程度であるが、2〜3秒間にドットコードを24回程度、変化させる時系列ドットコードとカラードットコードにより、読み取り装置は、20KB以上の情報量を取得することができる。これを写真データで再現すると、読み取り側のスマートフォンで表示した場合、ユーザは十分に高品質な画像として閲覧でき、表示側のスマートフォンは、7万文字を超えるテキスト情報も送信できる。
(ドットコードのカラー化)
前述のようにドットのカラー化により、複合QRコードの情報量をさらに増大することが可能である。読取り装置ではドットの色をRGBで読み取るため、色の表示が機種毎に異なるどのようなディスプレイでも、少なくとも赤(R)、緑(G)、青(B)、黄(RGの混色)、シアン(GBの混色)、マゼンダ(RBの混色)、黒、白(ドット無し)を識別することができ、それだけで、1ドット当り3bitが増加させることができる。つまり、1セル当りの情報量が3倍になる。現在、符号可変長技術を用いれば、情報量をさらに2倍、つまり6倍程度に増加できる可能性が高い。この結果、システムは、時系列ドットコードの時間変化と併用して、カラードットコードを時間変化させることにより、QRコードの数100倍を超える多量の情報を送信できる。このことから、解像度および色数が小さく尺が短かければ、システムはアニメーションの送信も可能である。システムが複合QRコードを時間変化させるような場合、電子認証の実行は最初の複合QRコードに格納されたコンテンツのみでもよい。さらに、コンテンツ部分を電子認証しないケースが有ってもよい。これらの処理は、アニメーションだけではなく、多量のテキストや高解像度の画像の授受に適用してしてよい。
(Used as an information exchange means)
Even in the exchange of various information, the safety is improved by the composite QR code. For example, a user can easily send and receive photos, voices, texts, etc. by using a composite QR code without telling the other party the email address or contact information on SNS. For example, a photo can store a high-quality photo when viewed on a smartphone, a voice of about 10 minutes, and text of more than tens of thousands of characters. Since the number of characters in the text has been described above, explanation is omitted here, but in speech, it becomes 0.3KBPS by ADPCM (Adaptive Differential Pulse Code Modulation) and data compression technology, but MELP (Mixed Excitation Linear Prediction) Data compression technology makes it possible at 0.1KBPS, and the dot code can store up to 2KB of information, so it can store about 20 seconds of audible audio. In addition, in the image, it is possible to acquire contents such as a photograph of about 2 KB in JPEG (a degree that the person can be identified by human eyes). Furthermore, the latest still image compression technology (BPG, or JPEG XL, which is the next generation JPEG, etc.) can maintain the quality sufficient to withstand facial image recognition. In the case of a complex QR code corresponding to version 40, 177 x 177 cells, which uses a dedicated high-resolution complex QR code reader and has the maximum amount of information in the printed QR code, the information is about 24 KB bytes, which is 8 times larger Can be stored. There are many functions that can exchange information with smartphones, such as infrared and Bluetooth, but these functions cannot be used with all smartphones. However, if a user downloads and installs a composite QR code reading-only application on a smartphone, the display / reading of the composite QR code can be used on almost all smartphones. For example, after taking a group photo, print or display the composite QR code on the display, and if each person reads the composite QR code, the group photo can be acquired on their own smartphones without the need to convey the address etc. Can do. If you print the composite QR code, you can always get memorial photos and messages such as graduation albums forever anytime and anywhere without uploading to the server. Until now, it has been necessary to operate a server environment that allows browsing and downloading of photographic information for many years. In this embodiment, such server management and waste of cost can be omitted. Such an effect of the present invention can be used in various contents fields, and has a great merit that it is possible to escape from the responsibility of server construction and management. You can develop a sold-out business model.
When a smartphone or other system stores high-quality photos, voices of about 10 minutes, texts of more than tens of thousands of characters and displays a composite QR code on the smartphone, for example, the first code (QR code) Is fixed and a plurality of different second codes (dot codes) are displayed for a predetermined time, so that a large amount of information can be generated. When the reading device reads a blinking time-series dot code with a composite QR code reader, it can be processed at high speed by reading the QR code only once and thereafter reading only the dot code. When camera shake occurs during shooting, the dot code can be read accurately if the reading device tracks the change in the imaging position of the timing pattern or alignment pattern and corrects the detected dot position each time. When displaying a composite QR code on a smart phone and a smartphone and reading the composite QR code with another smartphone or other reading device, the amount of information that can be stored in the dot code is about 0.85K, but in 2 to 3 seconds. With the time-series dot code and color dot code that change the dot code about 24 times, the reading device can acquire an information amount of 20 KB or more. If this is reproduced with photographic data, when displayed on a reading smartphone, the user can view it as a sufficiently high-quality image, and the display smartphone can transmit text information exceeding 70,000 characters.
(Dot code colorization)
As described above, the amount of information of the composite QR code can be further increased by colorizing dots. Since the reading device reads the dot color in RGB, any display with a different color display for each model will have at least red (R), green (G), blue (B), yellow (RG color mixture), cyan (GB mixed color), magenta (RB mixed color), black, white (no dot) can be identified, and by that alone, 3 bits per dot can be increased. That is, the information amount per cell is tripled. At present, if the code variable length technique is used, there is a high possibility that the amount of information can be further increased by a factor of two, that is, about six times. As a result, the system can transmit a large amount of information exceeding several hundred times that of the QR code by changing the color dot code with time in combination with the time change of the time series dot code. From this, if the resolution and the number of colors are small and the scale is short, the system can also transmit animation. When the system changes the composite QR code with time, the electronic authentication may be executed only for the content stored in the first composite QR code. Furthermore, there may be cases where the content portion is not electronically authenticated. These processes may be applied not only to animation but also to transfer of a large amount of text and high-resolution images.

(情報取得、情報提供サービスへの適用)
情報取得の実施例としては、例えば、ユーザはサイネージとしてポスター印刷やディスプレイに表示された複合QRコードから、様々な情報を直ぐに取得できる。通常、ユーザは、無線通信回線、有線通信回線、専用回線、あるいはインターネット等の公衆回線等を使用して情報を取得する。しかし、ユーザは様々な媒体上の複合QRコードの読み取りを通じて、そのような通信環境が無くてもどこでも無償で情報を取得できる。さらに、アプリに翻訳・通訳等の出力機能を備えれば、1つの複合QRコードで取得した様々なコンテンツを世界各国の人の利用が可能となる。一方、媒体が各国語のテキストや少量の音声データや画像を識別できるように媒体に形成された複合QRコードに格納し、読み取り装置が媒体から複合QRコードを読み出すことで、アプリに翻訳・通訳機能を搭載していなくても必要な言語のテキスト・画像の表示や音声の再生が可能となる。当然、複合QRコードをディスプレイに表示して、時系列ドットコードやカラードットコードを使用すれば、容量の小さなアニメーションも同様に各国語用のデータにローカライズして複合QRコードに格納することが可能となり、ユーザはインターネットや翻訳アプリを使用せずとも各国のコンテンツを取得できる。
(Application to information acquisition and information provision services)
As an example of information acquisition, for example, the user can immediately acquire various information from a composite QR code displayed on a poster print or display as a signage. Usually, a user acquires information using a wireless communication line, a wired communication line, a dedicated line, or a public line such as the Internet. However, the user can obtain information free of charge anywhere without such a communication environment by reading a composite QR code on various media. Furthermore, if the application has an output function such as translation / interpretation, various contents acquired by one composite QR code can be used by people all over the world. On the other hand, the media is stored in a composite QR code formed on the medium so that the text in each language, a small amount of voice data and images can be identified, and the reader reads the composite QR code from the medium, thereby translating and interpreting the application. Even if it is not equipped with a function, it is possible to display text and images in the required language and to play audio. Of course, if you display the composite QR code on the display and use the time-series dot code or color dot code, you can also localize the small-capacity animation to the data for each language and store it in the composite QR code. Thus, the user can acquire the contents of each country without using the Internet or a translation application.

写真取得の実施例としては、プリクラ(登録商標)や証明写真等の撮影ボックスで撮影した自身の写真を複合QRコードに格納させ、撮影ボックスのディスプレイに当該複合QRコードを表示させて、自身のスマートフォンで撮影することにより、写真のデータを取得できる。インターネットにより撮影した写真を提供するサービスがあるが、撮影した写真は個人情報でありインターネットでは漏洩する可能性があるが、複合QRコードにより漏洩を防ぐことができる。高品位の写真を提供するため、カラードットコードや時系列ドットコードを使用するのが望ましい。   As an example of photo acquisition, the photograph taken by a photographing box such as a photo booth (registered trademark) or ID photo is stored in a composite QR code, and the composite QR code is displayed on the display of the photographing box. Photo data can be acquired by shooting with a smartphone. There is a service that provides photographs taken on the Internet, but the photographed pictures are personal information and may leak on the Internet, but leakage can be prevented by a composite QR code. In order to provide high quality photos, it is desirable to use color dot codes or time series dot codes.

音声取得の実施例では、情報提供側のシステムが書籍、雑誌、教科書、絵本、カタログ、チラシ、新聞、ポスター、パッケージ、シール、処方箋等、様々な印刷媒体に、音声情報が格納された複合QRコードを印刷して配布することで、ユーザがスマートフォンで読取り、音声再生できる。なお、スマートフォンで設定された言語で音声情報が再生されてもよいし、他言語を設定して音声情報を再生してもよい。なお、情報提供側のシステムが音声だけでなくテキストや画像等の情報を格納して、ユーザがそれらの情報を取得できることは言うまでもない。さらに、アプリに翻訳・通訳等の出力機能を備えれば、1つの複合QRコードで取得した様々な音声コンテンツの世界各国での利用が可能となる。一方、各国語の音声データを識別できるように媒体に形成された複合QRコードに格納することで、スマートフォン等のシステムは、アプリに翻訳・通訳機能を搭載していなくてもユーザ所望の言語で音声を再生できる。当然、システムが複合QRコードをディスプレイに表示して、時系列ドットコードやカラードットコードを使用すれば、容量の小さなアニメーションも同様に各国語用のデータにして複合QRコードに格納することが可能となり、ユーザは、スマートフォン等の携帯端末で複合QRコードを読み取ることで、各国のコンテンツを取得できる。なお、本実施例では、複合QRコードを媒体に印刷された印刷媒体としているが、様々な媒体に刻印により複合QRコードを生成してもよい。さらに、簡易な点字をドットコードの一部に形成し、格納されている情報を点字で表現してもよい。
(ゲームでの利用)
ゲームの実施例では、ユーザはキャラクタやアイテムが格納された複合QRコードを自身のスマートフォンで表示し、提供する相手のスマートフォンで読み取らせることにより交換ができる。その結果、人と人との対面によるコミュニケーションにより新感覚のゲームが開発できる。また、情報提供側のシステムがキャラクタやアイテムの他、スポーツ選手、芸能人等をカード表面に印刷したトレーディングカードやゲームカードの表面または裏面の少なくともいずれかに複合QRコードを印刷し当該カード特有のテキスト、画像、音声等の情報を格納し、ユーザが取得できるようにしてもよい。さらに、送付者側システムがグリーティングカードに複合QRコードを印刷すると、送付者を撮影した写真や動画、図形、相当量のテキスト等も送付先で取得することができる。ここで、送付者側システムはインターネットに送付する情報を複合QRコードにアップしてもよい。一方、それらの情報を格納した複合QRコードをユーザが印刷できるようにすれば、インターネットを使用せずとも、紙媒体を介して送付者からの情報を送付先で取得できる。但し、印刷された複合QRコードでは、情報量に限りがあるので、動画や高精細の写真は難しいと言える。
In the embodiment of voice acquisition, the system on the information provider side is a composite QR in which voice information is stored in various print media such as books, magazines, textbooks, picture books, catalogs, flyers, newspapers, posters, packages, stickers, prescriptions, etc. By printing the code and distributing it, the user can read it with a smartphone and play it back. Note that the audio information may be reproduced in a language set by the smartphone, or the audio information may be reproduced by setting another language. Needless to say, the information providing system stores not only voice but also information such as text and images, and the user can acquire such information. Furthermore, if the application has an output function such as translation / interpretation, various audio contents acquired with one composite QR code can be used in various countries around the world. On the other hand, by storing it in a composite QR code formed on a medium so that voice data in each language can be identified, a system such as a smartphone can use the language desired by the user even if the application does not have a translation / interpretation function. Can play audio. Naturally, if the system displays a composite QR code on the display and uses a time-series dot code or color dot code, it is possible to store even small-capacity animations in the composite QR code as data for each language. Thus, the user can acquire the content of each country by reading the composite QR code with a mobile terminal such as a smartphone. In this embodiment, the composite QR code is a print medium printed on a medium. However, the composite QR code may be generated by imprinting on various media. Furthermore, simple braille may be formed in part of the dot code, and stored information may be expressed in braille.
(Use in games)
In the embodiment of the game, the user can exchange by displaying the composite QR code in which the characters and items are stored on his / her smartphone and reading it with the smartphone of the other party to be provided. As a result, a new sense of game can be developed through face-to-face communication between people. In addition to the characters and items, the information-providing system prints a composite QR code on at least one of the front or back side of a trading card or game card in which athletes, entertainers, etc. are printed on the card surface. Alternatively, information such as images and sounds may be stored so that the user can obtain them. Furthermore, when the sender side system prints the composite QR code on the greeting card, photographs, videos, graphics, a considerable amount of text, etc. taken of the sender can be acquired at the destination. Here, the sender side system may upload information to be sent to the Internet into a composite QR code. On the other hand, if the user can print the composite QR code storing such information, the information from the sender can be obtained at the destination via the paper medium without using the Internet. However, since the amount of information is limited in the printed composite QR code, it can be said that moving images and high-definition photographs are difficult.

(アプリのコード化)
時間変化させる時系列ドットコードやカラードットコードにより、読み取り装置は膨大な情報を取得できることから、アプリを複合QRコードに格納し、ダウンロードすることなく簡便にアプリをインストールすることもできる。すなわち、インターネットを使用できない環境であってもアプリをインストールできるだけでなく、クラウドやサーバに登録し運営することなくアプリを、様々な媒体(紙媒体、放送媒体等)を通じて無経費で継続的に提供できる。正に売り切りのビジネスモデルを展開できる。
(複合QRコード発行システム)
偽物オンラインショッピングやクレジットカード情報のハッキング等、偽装QRコードが多大な被害をもたらしている。
そこで、複合QRコードの公式発行機関を設け、複合QRコード使用者(事前に公式発行機関が承認した使用者)がURL等のデータを公式発行機関に送信すると、ドットコードに電子署名された複合QRコードが生成され使用者に提供される。使用者は、複合QRコードであることを示す認定マーク(認定マークをQRコードの中央に配置してもよい)と共に、その複合QRコードを印刷またはディスプレイに表示して使用する。公式発行機関は、複合QRコードの読取りアプリを無償でユーザに提供する。ユーザは認定マークがあれば、当該アプリで複合QRコードを読取り真贋判定できる。事業モデルは、i)複合QRコード使用者承認手続き、ii)複合QRコード発行、iii)複合QRコードの読取りアプリ使用時の広告費等で課金できる。
個人を特定して電子認証や様々なサービスを享受する場合、個人IDとして公式発行機関より、複合QRコードを発行してもよい。個人ID複合QRコードには、本人の名前、生年月日、住所、写真等、個人の基本情報が登録される。その他、クレジットカード情報や銀行口座、免許書や健康保険証等の証明書の情報を登録してもよい。個人ID複合QRコードリーダーは、公式発行機関が承認した法人に対してのみ提供するようにし、その専用リーダーは使用記録等、厳重に追跡調査ができるように管理してセキュリティを確保すればよい。本人認証では、システムは、名前、生年月日、住所、写真等による確認で済むため、汎用の複合QRコードリーダー(アプリ)を使用して、使用後には、本人情報が直ちに削除され本人情報の漏洩を防ぐようにすればよい。
(App coding)
Since the reading device can acquire a large amount of information by using a time-series dot code or color dot code that changes with time, the application can be stored in the composite QR code and the application can be easily installed without downloading. In other words, not only can you install apps even in environments where you can't use the Internet, but you can also provide apps continuously and inexpensively through various media (paper media, broadcast media, etc.) without registering and managing them in the cloud or server. it can. You can develop a sold-out business model.
(Composite QR code issuing system)
Forged QR codes, such as fake online shopping and credit card information hacking, have caused great damage.
Therefore, when an official issuing organization for complex QR codes is set up and a complex QR code user (a user who has been approved by the official issuing organization in advance) sends data such as URLs to the official issuing organization, the composite that is digitally signed with the dot code. A QR code is generated and provided to the user. The user uses the composite QR code printed or displayed on a display together with an authorization mark indicating that it is a composite QR code (the authorization mark may be arranged in the center of the QR code). The official issuing agency provides users with a composite QR code reading application free of charge. If there is a certification mark, the user can read the composite QR code with the application and determine the authenticity. The business model can be charged by i) a composite QR code user approval procedure, ii) issuance of a composite QR code, iii) an advertising expense when using a composite QR code reading application, and the like.
When an individual is identified to enjoy electronic authentication and various services, a composite QR code may be issued from an official issuing organization as a personal ID. Basic personal information such as the person's name, date of birth, address and photo is registered in the personal ID composite QR code. Other information such as credit card information, bank accounts, licenses, health insurance cards and other certificates may be registered. The personal ID combined QR code reader should be provided only to corporations approved by the official issuing organization, and the dedicated reader may be managed so that it can be strictly followed up, such as usage records, to ensure security. In personal authentication, the system only needs to confirm the name, date of birth, address, photo, etc., and using a general-purpose composite QR code reader (app), the personal information is immediately deleted after use and the personal information It is only necessary to prevent leakage.

図47〜54のフローチャートでは、各種データの符号化情報を暗号化した暗号化情報を複合QRコードに格納して、暗号化された符号化情報に対応するデータの真贋判定の実施を示している。一方、印刷時の情報欠落や汚れ、複合QRコードの撮影状態等で読み取った複合QRコードが、作成時の複合QRコードとは完全に一致しないことが多々ある。ディスプレイに表示された複合QRコードも 複合QRコードの撮影状態等で同様に一致しないことがある。そこで、図55〜56のフローチャートでは、真贋判定は完全にできないものの、誤り訂正符号により、誤り訂正が適正に実施できたかを容易に判定できる方法を示している。   47 to 54, the encrypted information obtained by encrypting the encoded information of various data is stored in the composite QR code, and the authentication of the data corresponding to the encoded encoded information is performed. . On the other hand, there are many cases where a composite QR code read due to missing information or dirt at the time of printing, a composite QR code shooting state, or the like does not completely match the composite QR code at the time of creation. Similarly, the composite QR code displayed on the display may not be the same depending on the shooting state of the composite QR code. Therefore, the flowcharts of FIGS. 55 to 56 show a method by which it is possible to easily determine whether or not the error correction has been properly performed by using the error correction code, although the authenticity determination cannot be made completely.

<変形例>
上記図47から図56では、管理サーバMS1が複合QRコードを生成し、ユーザ装置UD1が複合QRコード読み取り・認証処理を実行したが、上記処理は、管理サーバMS1とユーザ装置UD1との関係に限定される訳ではない。すなわち、上記複合QRコード読み取り・認証処理は、管理サーバMS1とコンテンツサーバCS1、CS2等の間で実施してもよい。また、上記複合QRコード読み取り・認証処理は、コンテンツサーバCS1、CS2等と、ユーザ装置UD1、UD2との間で実施してもよい。また、上記複合QRコード読み取り・認証処理は、ユーザ装置UD1とユーザUD2との間で実施してもよい。すなわち、上記複合QRコード読み取り・認証処理は、情報を提供する側とデータを取得する側との間で、複合QRコード中のQRコードで提示される情報の正当性を認証するためのいかなる処理にも適用可能である。
<Modification>
47 to 56, the management server MS1 generates a composite QR code and the user device UD1 executes the composite QR code reading / authentication process. It is not limited. That is, the complex QR code reading / authentication process may be performed between the management server MS1 and the content servers CS1, CS2, and the like. Further, the composite QR code reading / authentication process may be performed between the content servers CS1, CS2 and the user devices UD1, UD2. The complex QR code reading / authentication process may be performed between the user device UD1 and the user UD2. That is, the composite QR code reading / authentication process is any process for authenticating the validity of the information presented by the QR code in the composite QR code between the information providing side and the data acquiring side. It is also applicable to.

[実施形態7]
以下、図57から図60を参照して、実施形態7におけるオンラインで処理される真贋判定システムを説明する。
[Embodiment 7]
Hereinafter, with reference to FIG. 57 to FIG. 60, an authenticity determination system processed online in the seventh embodiment will be described.

<オンラインによる複合QRコード真贋判定システム>
(1)スマートフォンに複合QRコード読取りアプリをダウンロードインストールすると、当該スマートフォンIDを取得でき、認証サーバで逐次、認証するため、どのスマートフォンで何時、複合QRコード読取りアプリを読み取ったかが分かる。さらにGPSと連動すると何処で読み取ったかも分かり、それらのログを取得し、詳細なマーケッティングに使用できる。
<Online online QR code authentication system>
(1) When a composite QR code reading application is downloaded and installed on a smartphone, the smartphone ID can be acquired and sequentially authenticated by an authentication server. In addition, if you link with GPS, you can see where it was read, acquire those logs, and use it for detailed marketing.

(2)認証サーバによる複合QRコードの認証では、必ず認証サーバでの認証が不可欠となることから、認証毎に複合QRコード発行依頼企業に対して、課金ビジネスモデルが展開できる。
(3)複合QRコードをから読み取ったハッシュ値と電子署名を認証サーバに送信すると、電子署名を復号して求まるハッシュ値と受信したハッシュ値を照合することにより公開鍵を使用しなくても複合QRコードの真贋判定が可能となる。
(2) In the authentication of the composite QR code by the authentication server, the authentication by the authentication server is indispensable. Therefore, a charging business model can be developed for the composite QR code issuing request company for each authentication.
(3) When the hash value read from the composite QR code and the electronic signature are transmitted to the authentication server, the hash value obtained by decrypting the electronic signature and the received hash value are collated without using the public key. It is possible to determine the authenticity of the QR code.

(処理例6)
処理例6は,処理例4をオンライン認証に適用した場合の処理である。図57は、QRコード用データとドットコード用データで形成されるデータ列の暗号化情報をドットコードにコード化し、真贋判定のための複合QRコード生成方法を例示するフローチャートである。図57で、複合QRコードを生成するT111、T112、T113、およびT114の処理は、図53のT71からT74と同様である。生成された複合コードは、例えば、管理サーバMS1を介して、ユーザ装置UD1に提供される。
(Processing Example 6)
Processing example 6 is processing when processing example 4 is applied to online authentication. FIG. 57 is a flowchart exemplifying a composite QR code generation method for determining authenticity by encoding encryption information of a data string formed by QR code data and dot code data into a dot code. In FIG. 57, the processing of T111, T112, T113, and T114 for generating the composite QR code is the same as that of T71 to T74 of FIG. The generated composite code is provided to the user device UD1 via the management server MS1, for example.

図58は、複合QRコード読み取り・認証処理を例示するフローチャートである。この処理では、ユーザ装置UD1は、読取り装置で複合QRコードを読み取る(T121)。次に、ユーザ装置UD1は、QRコード用データとドットコード用データをデータ列として符号化手段(例:ハッシュ関数)で符号化情報(例:ハッシュ値)を計算し、認証サーバに送信する(T122)。ここで、認証サーバは、例えば、図32に例示した管理サーバMS1、コンテンツサーバCS1等、ネットワークでアクセス可能なサーバ装置である。次に、ユーザ装置UD1は、ドットコードから取得した暗号化情報を認証サーバに送信する(T123)。   FIG. 58 is a flowchart illustrating the complex QR code reading / authentication process. In this process, the user device UD1 reads the composite QR code with the reading device (T121). Next, the user apparatus UD1 calculates encoded information (eg, hash value) by an encoding means (eg, hash function) using QR code data and dot code data as a data string, and transmits the encoded information to the authentication server ( T122). Here, the authentication server is a server device that can be accessed via a network, such as the management server MS1 and the content server CS1 exemplified in FIG. Next, the user device UD1 transmits the encryption information acquired from the dot code to the authentication server (T123).

次に、認証サーバは、符号化情報 と復号化情報を照合する(T124)。そして符号化情報と復号化情報とが一致した場合、認証サーバは、複合コードによる認証が成功したと判定し、対応する処理を実施する(T125)。T125の処理は、T25、T44、T66、T85の処理と同様であるので、その詳細を省略する。   Next, the authentication server collates the encoded information and the decoded information (T124). If the encoded information and the decoded information match, the authentication server determines that the authentication by the composite code has been successful, and performs a corresponding process (T125). Since the process of T125 is the same as the process of T25, T44, T66, and T85, its details are omitted.

一方、T124で両方の照合が一致しない場合、認証サーバは、複合コードによる認証が失敗したと判定し、結果をユーザに通知する(T126)。   On the other hand, if both verifications do not match at T124, the authentication server determines that the authentication by the composite code has failed and notifies the user of the result (T126).

以上述べたように、処理例6によれば、複合QRコードによって、様々な認証処理、真贋判定処理、改ざん検知処理等をオンラインで実施できる。なお、上記では、管理サーバMS1はQRコード用データとドットコード用データで形成されるデータ列の暗号化情報をドットコードにコード化して複合コードを形成した。しかし、このような処理に代えて、管理サーバMS1は、QRコード用データとドットコード用データで形成されるデータ列の暗号化情報をQRコードにコード化して、ユーザ装置UD1が両方を復号化するようにしてもよい。   As described above, according to the processing example 6, various authentication processing, authentication determination processing, falsification detection processing, and the like can be performed online using the composite QR code. In the above description, the management server MS1 encodes the encrypted information of the data string formed by the QR code data and the dot code data into a dot code to form a composite code. However, instead of such processing, the management server MS1 encodes the encryption information of the data string formed by the QR code data and the dot code data into a QR code, and the user device UD1 decrypts both. You may make it do.

以上の処理では、認証サーバで行う認証は、秘密鍵を用いて行ってもよい。また、上記では、処理例4と同様に、QRコード用データとドットコード用データで形成されるデータ列の暗号化情報を用いた。しかし、このような処理に代えて、処理例1から処理例3の処理をオンライン認証に適用してもよい。   In the above processing, authentication performed by the authentication server may be performed using a secret key. Further, in the above, as in the processing example 4, the encryption information of the data string formed of the QR code data and the dot code data is used. However, instead of such processing, the processing of processing example 1 to processing example 3 may be applied to online authentication.

すなわち、処理例1のように、QRコードの暗号化情報をドットコードにコード化して認証サーバによるオンライン認証に適用してもよい。また、QRコードの暗号化情報をQRコードにコード化して、認証サーバによるオンライン認証に適用してもよい。   That is, as in Processing Example 1, QR code encryption information may be encoded into a dot code and applied to online authentication by an authentication server. Also, QR code encryption information may be encoded into a QR code and applied to online authentication by an authentication server.

また、処理例2のように、ドットコードの暗号化情報をQRコードにコード化して認証サーバによるオンライン認証に適用してもよい。また、ドットコードの暗号化情報をドットコードにコード化して認証サーバによるオンライン認証に適用してもよい。   Further, as in Processing Example 2, the dot code encryption information may be encoded into a QR code and applied to online authentication by an authentication server. Alternatively, the dot code encryption information may be encoded into a dot code and applied to online authentication by an authentication server.

さらに、処理例3のように、 QRコードの暗号化情報1とドットコードの暗号化情報2をそれぞれドットコードとQRコードとにコード化して認証サーバによるオンライン認証に適用してもよい。この場合に、QRコードの暗号化情報1をドットコードにコード化し、ドットコードの暗号化情報2をQRコードにコード化してもよい。逆に、QRコードの暗号化情報1をQRコードにコード化し、ドットコードの暗号化情報2をドットコードにコード化してもよい。また、 QRコードとドットコードの暗号化情報をQRコードにコード化してもよい。   Furthermore, as in Processing Example 3, QR code encryption information 1 and dot code encryption information 2 may be encoded into a dot code and a QR code, respectively, and applied to online authentication by an authentication server. In this case, the encryption information 1 of the QR code may be encoded into a dot code, and the encryption information 2 of the dot code may be encoded into a QR code. Conversely, QR code encryption information 1 may be encoded into a QR code, and dot code encryption information 2 may be encoded into a dot code. Further, QR code and dot code encryption information may be encoded into a QR code.

(処理例7)
図59は、QRコードとドットコードの符号化情報をQRコードにコード化する処理例である。この処理では、処理例5と同様に、暗号化は行われない。この処理では、複合QRコードを生成するT131、T132、T133の処理は、図55のT91からT93と同様である。生成された複合QRコードは、例えば、管理サーバMS1を介して、ユーザ装置UD1に提供される。
(Processing example 7)
FIG. 59 shows an example of processing for encoding the encoding information of the QR code and the dot code into a QR code. In this process, as in Process Example 5, encryption is not performed. In this process, the processes of T131, T132, and T133 for generating the composite QR code are the same as those of T91 to T93 in FIG. The generated composite QR code is provided to the user device UD1 via, for example, the management server MS1.

図60は、複合QRコード読み取り・認証処理を例示するフローチャートである。この処理では、ユーザ装置UD1は、読取り装置で複合QRコードを読み取る(T141)。次に、ユーザ装置UD1は、ドットコードから取得した符号化情報(例:ハッシュ値1)、および、読み取ったQRコード用データと読み取ったドットコード用データとで形成されるデータ列を認証サーバに送信する(T142)。   FIG. 60 is a flowchart illustrating the complex QR code reading / authentication process. In this process, the user device UD1 reads the composite QR code with the reading device (T141). Next, the user device UD1 sends the encoded information acquired from the dot code (eg, hash value 1) and a data string formed by the read QR code data and the read dot code data to the authentication server. Transmit (T142).

次に、認証サーバは、受信したデータのうち、ユーザ装置UD1で読み取られたQRコード用データとドットコード用データとで形成されるデータ列を符号化し、符号化情報(例:ハッシュ値2)を作成する。そして、ユーザ装置UD1でドットコードから取得した符号化情報(例:ハッシュ値1) と、認証サーバにおいて符号化したデータ列(例:ハッシュ値2)を照合する(T143)。そして符号化情報と復号化情報とが一致した場合、認証サーバは、複合コードによる認証が成功したと判定し、対応する処理を実施する(T144)。T144の処理は、T25、T44、T66、T85、T125の処理と同様であるので、その詳細を省略する。なお、対応する処理は、T25、T44、T66、T85、T125と同様の処理をユーザ装置UD1あるいはユーザ装置UD1がアクセスしているネットワーク上の他のサーバに許容するものでもよい。   Next, the authentication server encodes a data string formed by the QR code data and the dot code data read by the user device UD1 among the received data, and encodes information (eg, hash value 2). Create Then, the encoded information (for example, hash value 1) acquired from the dot code in the user device UD1 is collated with the data string (for example, hash value 2) encoded in the authentication server (T143). If the encoded information and the decoded information match, the authentication server determines that the authentication by the composite code has been successful, and performs a corresponding process (T144). Since the process of T144 is the same as the process of T25, T44, T66, T85, and T125, its details are omitted. The corresponding processing may allow the user device UD1 or another server on the network accessed by the user device UD1 to perform the same processing as T25, T44, T66, T85, and T125.

一方、T143でハッシュ値1とハッシュ値2が一致しない場合、認証サーバは、複合コードによる認証が失敗したと判定し、結果をユーザに通知する(T145)。すなわち、この場合には、認証サーバは、ユーザ装置UD1あるいはユーザ装置UD1がアクセスしているネットワーク上の他のサーバに対して、T145で実行される処理を許容しない。   On the other hand, when the hash value 1 and the hash value 2 do not match at T143, the authentication server determines that the authentication by the composite code has failed and notifies the user of the result (T145). That is, in this case, the authentication server does not allow the process executed at T145 to the user device UD1 or another server on the network accessed by the user device UD1.

本処理例では、秘密の符号化手段で符号化情報を作成し、電子認証すれば、データ作成時の符号化情報の暗号化は必要ない。すなわち、ハッシュ値のみで認証が可能となる。   In the present processing example, if the encoded information is created by the secret encoding means and electronic authentication is performed, it is not necessary to encrypt the encoded information at the time of data creation. That is, authentication can be performed only with the hash value.

なお、処理例7のサーバ認証による電子認証は、処理例1から処理例3で説明したオフライン電子認証の全ての下記のケースに適用できる。   The electronic authentication based on the server authentication in the processing example 7 can be applied to all the following cases of the offline electronic authentication described in the processing examples 1 to 3.

すなわち、QRコードの符号化情報を暗号化しないでドットコードにコード化して複合コードを作成し、オンライン認証に用いてもよい。また、QRコードの符号化情報をQRコードにコード化して、複合コードを作成し、オンライン認証に用いてもよい。また、ドットコードの符号化情報をQRコードにコード化して、複合コードを作成し、オンライン認証に用いてもよい。また、ドットコードの符号化情報をドットコードにコード化して、複合コードを作成し、オンライン認証に用いてもよい。また、QRコードとドットコードの符号化情報をドットコードとQRコードにコード化して、複合コードを作成し、オンライン認証に用いてもよい。また、 QRコードとドットコードの符号化情報をQRコードとドットコードにコード化して、複合コードを作成し、オンライン認証に用いてもよい。また、QRコードとドットコードの符号化情報をQRコードにコード化して、複合コードを作成し、オンライン認証に用いてもよい。   In other words, the encoded information of the QR code may be encoded into a dot code without being encrypted, and a composite code may be created and used for online authentication. Alternatively, QR code encoding information may be encoded into a QR code to create a composite code and used for online authentication. Alternatively, the dot code encoding information may be encoded into a QR code to create a composite code and used for online authentication. Also, the dot code encoding information may be encoded into a dot code to create a composite code and used for online authentication. Alternatively, the encoded information of the QR code and the dot code may be encoded into a dot code and a QR code to create a composite code and used for online authentication. Alternatively, the encoded information of the QR code and the dot code may be encoded into a QR code and a dot code to create a composite code and used for online authentication. Further, the encoded information of the QR code and the dot code may be encoded into a QR code to create a composite code and used for online authentication.

[実施形態8:複合コードパターン]
上記実施形態1から実施形態7では、QRコードとQRコード中の明色セル(第1の色のセル)中に形成された暗色ドットコード(第2の色のドットコード)および暗色セル(第2の色のセル)中に形成された明色ドットコード(第1の色のドットコード)の少なくとも一方を複合QRコードによる処理が例示された。
[Eighth embodiment: composite code pattern]
In the first to seventh embodiments, the QR code and the dark color dot code (second color dot code) and the dark color cell (first color cell) formed in the light color cell (first color cell) in the QR code are described. The process using at least one of the bright dot codes (first color dot codes) formed in the two color cells) by the composite QR code is exemplified.

しかし、上記実施形態1から7の処理を複合QRコード以外にも適用可能である。例えば、QRコードに代えて、バーコードを用いてもよい。すなわち、バーコードと、バーコードの暗色パターン間の明色部分に暗色のドットを含むドットコードを形成して複合コードとしてもよい。また、バーコードと、バーコードの暗色パターン部分に明色のドットを含むドットコードを形成して複合コードとしてもよい。   However, the processes of the first to seventh embodiments can be applied to other than the composite QR code. For example, a bar code may be used instead of the QR code. That is, a composite code may be formed by forming a dot code including a dark dot in a light color portion between a barcode and a dark color pattern of the barcode. Also, a composite code may be formed by forming a barcode and a dot code including light dots in the dark color pattern portion of the barcode.

また、QRコードおよびバーコードの代わりに、単に、英数字、漢字、片仮名、平仮名等の文字列を用いて、複合コードとしてもよい。すなわち、英数字、漢字、片仮名、平仮名等の文字列の暗色パターン間の明色部分に暗色のドットを含むドットコードを形成して複合コードとしてもよい。また、英数字、漢字、片仮名、平仮名等の文字列の暗色パターン中に明色のドットを含むドットコードを形成して複合コードとしてもよい。また、赤外線による撮像装置を用いる場合には、また、英数字、漢字、片仮名、平仮名等の文字列の暗色パターンを通常の赤外線を吸収しないインクで形成し、ドットコードをカーボンブラック等の赤外線を吸収するインクで形成してもよい。そして、文字列の暗色パターンを可視光で読み取り、ドットコードを赤外線で読み取るようにしてもよい。   Moreover, it is good also as a composite code | cord | chord only using character strings, such as an alphanumeric character, a kanji, a katakana, and a hiragana, instead of QR code and barcode. That is, a composite code may be formed by forming a dot code including a dark dot in a light color portion between dark color patterns of a character string such as alphanumeric characters, kanji, katakana and hiragana. Alternatively, a dot code including light dots may be formed in a dark color pattern of a character string such as alphanumeric characters, kanji characters, katakana characters, hiragana characters, or the like to form a composite code. When an infrared imaging device is used, the dark pattern of character strings such as alphanumeric characters, kanji, katakana, hiragana is formed with ink that does not absorb normal infrared rays, and the dot code is made of infrared rays such as carbon black. You may form with the ink to absorb. The dark color pattern of the character string may be read with visible light, and the dot code may be read with infrared rays.

そして、バーコードでコード化されたデータを上記実施形態4と同様に、デジタル署名し、ドットコードでコード化すればよい。したがって、読み取り装置は、バーコードあるいは、文字列で提示される情報の正当性を認証することができる。複合コードがバーコードとドットコードで形成される場合には、バーコード読み取り装置とドットコード読み取り装置を使用すればよい。また、文字列とドットコードで形成される場合には、文字列を読み取るOCR(Optical Character Recognition/Reader)装置とドットコード読み取り装置を使用すればよい。   Then, the data encoded with the bar code may be digitally signed and encoded with the dot code as in the fourth embodiment. Therefore, the reading device can authenticate the validity of the information presented as a barcode or a character string. When the composite code is formed of a bar code and a dot code, a bar code reading device and a dot code reading device may be used. In the case where the character string and the dot code are used, an OCR (Optical Character Recognition / Reader) device and a dot code reading device for reading the character string may be used.

したがって、このような複合コードは、必ずしもQRコードに限定されるものではなく、次のように定義できる。   Therefore, such a composite code is not necessarily limited to a QR code, and can be defined as follows.

(複合コードの定義)
複合コードは、識別可能な2以上の色によってパターンがされた第1のコードと、
前記パターンが有する第1の色と識別可能な1以上のマークが配置された第2のコードと、を備えた複合コードパターンであって、
前記第2のコードは、前記第1のコードの少なくとも一部に対応する特定情報を含む複合コードパターン、として定義される。
(Compound code definition)
The composite code is a first code patterned with two or more identifiable colors;
A second code in which one or more marks that can be identified from the first color of the pattern are arranged, and a composite code pattern comprising:
The second code is defined as a composite code pattern including specific information corresponding to at least a part of the first code.

ここで、識別可能な2以上の色によってパターンがされた第1のコードは、例えば、バーコード、あるいは英数字、漢字、片仮名、平仮名等の文字列である。2以上の色とは、例えば、バーコード、あるいは英数字、漢字、片仮名、平仮名等の文字列の色(1色以上)と、下地の色(媒体面の色)である。1以上のマークが配置された第2のコードとは、上記実施形態1から5に例示したドットコードである。また、第2のコードは、前記第1のコードの少なくとも一部に対応する特定情報を含むとは、実施形態4、5と同様、第2のコードが、第1のコードであるバーコード、あるいは英数字、漢字、片仮名、平仮名等の文字列等で表されるデータをデジタル署名したものであることが例示される。   Here, the first code patterned with two or more identifiable colors is, for example, a bar code or a character string such as alphanumeric characters, kanji, katakana, hiragana. The two or more colors are, for example, a bar code or a character string color (one or more colors) such as alphanumeric characters, kanji characters, katakana characters, hiragana characters, and a base color (medium surface color). The second code in which one or more marks are arranged is the dot code exemplified in the first to fifth embodiments. Further, the second code includes specific information corresponding to at least a part of the first code, as in the fourth and fifth embodiments, the second code is a bar code that is the first code, Alternatively, it is exemplified that data represented by a character string such as alphanumeric characters, kanji, katakana, hiragana, etc. is digitally signed.

[実施形態9:デジタル署名の変形]
上記実施形態5〜7では、例えば、秘密鍵で暗号化した暗号化情報と公開鍵で復号し、復号結果が暗号化前の符号化情報(ハッシュ値等)に一致した場合に、認証が成功したと判定された。しかし、実施形態5〜7の処理は、このような処理に限定される訳ではない。例えば、上記のような様々な認証処理、真贋判定処理、改ざん検知処理等において、秘密鍵と公開鍵による認証の他、QRコード等から生成された符号化情報と、符号化情報から作成されたデジタル署名とが所定の関係にあることを判定することで、認証が成功したと判定してもよい。このようなデジタル署名の手順として、Digital Signature Algorithm
(DSA) 、楕円曲線DSA、ElGamal署名等を用いてもよい。これらのデジタル署名の手順を用いる場合、認証を実行する主体(ユーザ装置UD1、認証サーバ等)は図48のT24のように、符号化情報 と復号化情報が一致するか否かを判定する代わりに、デジタル署名の基になる符号化情報と、デジタル署名とが所定の関係にあるか否かが判定される。
[Embodiment 9: Modification of Digital Signature]
In the above embodiments 5 to 7, for example, when the encrypted information encrypted with the private key and the public key are decrypted, and the decryption result matches the encoded information (hash value, etc.) before encryption, the authentication is successful. It was determined that However, the process of Embodiments 5-7 is not necessarily limited to such a process. For example, in various authentication processes as described above, authenticity determination process, falsification detection process, etc., it is created from encoded information generated from QR code etc. and encoded information in addition to authentication by private key and public key It may be determined that the authentication is successful by determining that the digital signature has a predetermined relationship. As a procedure for such digital signature, Digital Signature Algorithm
(DSA) Elliptic curve DSA, ElGamal signature, etc. may be used. When these digital signature procedures are used, the authentication subject (user device UD1, authentication server, etc.) instead of determining whether the encoded information and the decoded information match, as shown in T24 of FIG. In addition, it is determined whether or not the encoded information on which the digital signature is based and the digital signature have a predetermined relationship.

[実施形態10]
(複合コードの読み取り精度の向上のための課題)
第1のコードがQRコードの場合では、位置検出パターン(ファインダパターン)でQRコードの領域および向きが定まり、タイミングパターンにより各セルの中央のXY座標値が計算される。しかし、QRコードが形成された媒体面に対してカメラの光軸が垂直でない場合(カメラが媒体に対して傾いている場合)や媒体が湾曲しているような場合では、QRコードが変形して撮像される。その変形の度合いにより、タイミングパターンにより計算される各セルの中央のXY座標値が許容限度を超えてずれて、隣接するセル内の座標値が求まってしまう場合がある。このようなセルの中央のXY座標値のずれが発生すると、セルの明暗の判定が正確に判定できない場合がある。そこで、QRコードでは、アライメントパターンにより、座標値を補正して各セルの中央のXY座標値の精度を高める工夫がなされている。その後、当該座標値の位置や近傍の所定の面積の領域が、明暗のいずれかであるかを判定して、QRコードに格納された数値データを取得する。この場合、中央座標値の精度は、当該セルの明暗が判定できるセル内であればよく、必ずしもセルの中央でなくてもよいレベルである。しかし、第1のコードのセルの中央の座標値を基に、セル内に形成された第2のコードのマークの配置で数値データを取得する場合には、当該マークの配置が適正に認識できる程度の精度が望まれる。そこで、精度を高めるために、第1のコードのセルの中央の座標値を所定の方法で補正するか、別途、第1のコードのマークの形状や配置から求めることが望ましい。
[Embodiment 10]
(Issues for improving the reading accuracy of composite codes)
When the first code is a QR code, the area and orientation of the QR code are determined by the position detection pattern (finder pattern), and the XY coordinate value at the center of each cell is calculated by the timing pattern. However, if the optical axis of the camera is not perpendicular to the medium surface on which the QR code is formed (when the camera is tilted with respect to the medium) or the medium is curved, the QR code is deformed. To be imaged. Depending on the degree of deformation, the XY coordinate value at the center of each cell calculated by the timing pattern may deviate beyond an allowable limit, and coordinate values in adjacent cells may be obtained. When such a shift in the XY coordinate value at the center of the cell occurs, the determination of the lightness / darkness of the cell may not be accurately determined. Therefore, the QR code is devised to correct the coordinate value by the alignment pattern to increase the accuracy of the XY coordinate value at the center of each cell. Thereafter, it is determined whether the position of the coordinate value or the area of a predetermined area in the vicinity is bright or dark, and numerical data stored in the QR code is acquired. In this case, the accuracy of the central coordinate value is not limited to the center of the cell as long as it is within the cell where the brightness of the cell can be determined. However, when numerical data is acquired based on the coordinates of the second code mark formed in the cell based on the coordinate value of the center of the cell of the first code, the arrangement of the mark can be properly recognized. A degree of accuracy is desired. Therefore, in order to increase the accuracy, it is desirable to correct the coordinate value of the center of the cell of the first code by a predetermined method or separately obtain it from the shape and arrangement of the mark of the first code.

以下に、第2のコードのマークとしてドットを使用した場合のセル中央座標値の計算方法と数値データを取得する過程を説明する。図61は、セル内の情報ドットの配置候補位置を図62に示すように8か所配置した実施例である。図62は、1つのセル内のドットの配置配置位置を例示する図である。8か所のドットを配置するか否かで8bitの数値データを定義できる。ドットの配置は、同心円上に概ね等間隔(図では、45度毎)に配置されているため、配置位置の精度を確保するためには、2400DPI程度以上の高解像度の印刷機で印刷することにする。図62は、複合コードの一部を示した実施例であり、明色セルのみに情報ドットを配置してドットコードを形成している。なお、図示しないが情報ドットを暗色セルに配置してもよいし、両方に情報ドットを配置してもよい。図63は、QRコードの仕様にしたがって求めたセルの中央の座標位置が、セルの本来の中央からずれる画像の例である。図63の例では、十印で示した位置が第1のコード(図ではQRコード)でセルの中央として求められた座標位置であるが、セルの中央からずれていることが分かる。本実施形態では、このずれた位置を×印で示したセルの適正な中央座標値に補正する方法を説明する。   Hereinafter, a calculation method of cell center coordinate values and a process of acquiring numerical data when dots are used as marks of the second code will be described. FIG. 61 shows an embodiment in which eight information dot placement candidate positions in a cell are placed as shown in FIG. FIG. 62 is a diagram exemplifying dot arrangement positions within one cell. 8-bit numerical data can be defined by whether or not 8 dots are placed. Dots are arranged on concentric circles at roughly equal intervals (in the figure, every 45 degrees), so to ensure the accuracy of the placement position, print with a high-resolution printer of about 2400 DPI or higher. To. FIG. 62 shows an example of a part of a composite code, in which information dots are arranged only in light cells to form a dot code. Although not shown, information dots may be arranged in dark cells or information dots may be arranged in both. FIG. 63 is an example of an image in which the coordinate position of the center of the cell obtained according to the QR code specification deviates from the original center of the cell. In the example of FIG. 63, the position indicated by a cross is the coordinate position obtained as the center of the cell by the first code (QR code in the figure), but it can be seen that it is shifted from the center of the cell. In the present embodiment, a method for correcting the shifted position to an appropriate center coordinate value of a cell indicated by a cross will be described.

セル中央座標値の計算
1つのセルにおいて、P1 (X1,Y1)の十印から上下方向にセルの明暗が変化する境界を検索し、上下方向2個の境界座標値B1U(X1,Y1U)とB1D(X1,Y1D)を求める。ここで、Y座標の差分値Y1U- Y1Dは、第1のコードで取得したセルサイズと同程度であることから、上下方向1個の明色セルであることが分かり、X1C =X1, Y1C =Y1D+(Y1U- Y1D)/2により、上下境界間の中心位置B1C(X1C ,Y1C)が求まる。さらに、 B1Cを起点に左右方向2個の境界座標値をB1L(X1L,Y1C)とB1R(X1R,Y1C)が求まる。ここで、 X1R- X1Lは、第1のコードで取得したセルサイズと同程度であることから、左右方向1個の明色セルであることが分かり、 X’1C =X1L+(X1R- X1L)/2とY’1C =Y1Cにより、左右境界間の中心位置B’1C(X’1C ,Y’1C)が求まり、 ×印で示されたセルの中央座標値P’1 (X’1C ,Y’1C)が求まる。
( Calculation of cell center coordinates )
In one cell, a boundary where the brightness of the cell changes in the vertical direction from the cross of P 1 (X 1 , Y 1 ) is searched, and two boundary coordinate values B 1U (X 1 , Y 1U ) Find B 1D (X 1 , Y 1D ). Here, since the difference value Y 1U -Y 1D of the Y coordinate is approximately the same as the cell size acquired by the first code, it can be seen that it is one light cell in the vertical direction, and X 1C = X 1 , Y 1C = Y 1D + (Y 1U −Y 1D ) / 2, the center position B 1C (X 1C , Y 1C ) between the upper and lower boundaries is obtained. Further, B 1L (X 1L , Y 1C ) and B 1R (X 1R , Y 1C ) are obtained as two boundary coordinate values in the left-right direction starting from B 1C . Here, X 1R -X 1L is approximately the same as the cell size obtained with the first code, so it can be seen that it is one light cell in the left-right direction, and X ' 1C = X 1L + (X 1R -X 1L ) / 2 and Y ' 1C = Y 1C , the center position B' 1C (X ' 1C , Y' 1C ) between the left and right boundaries is obtained, and the center coordinate value P 'of the cell indicated by the x mark 1 (X ′ 1C , Y ′ 1C ) is obtained.

次に、他のセルにおいて、 P2 (X2,Y2) の十印から上下方向にセルの明暗が変化する境界を検索し、上下方向2個の境界座標値をB2U(X2,Y2U)とB2D(X2,Y2D)を求める。ここで、Y座標の差分値Y2U- Y2Dは、第1のコードで取得したセルサイズと同程度であることから、上下方向には1個の明色セルであることが分かり、 X2C =X2,とY2C =Y2D+(Y2U- Y2D)/2により、上下境界間の中心位置B2C(X2C ,Y2C)が求まる。さらに、 B2Cを起点に左右方向2個の境界座標値をB2L(X2L,Y2C)とB2R(X2R,Y2C)を求める。ここで、 X2R- X2Lは、第1のコードで取得したセルサイズの2倍程度であることから、左右方向には2個の明色セルであることが分かり、線形補間して X’2C =X2L+(X2R- X2L)×1/4とY’2C =Y2Cにより、左右境界間の中心位置B’2C(X’2C ,Y’2C)が求まり、 ×印で示されたセルの中央座標値P’2 (X’2C ,Y’2C)が求まる。また、同様に線形補間して X’3C =X2L+(X2R- X2L)×3/4とY’3C =Y’2Cにより、 P’3 (X’3C ,Y3C)を求めてもよい。なお、 前述と同様に、P3 (X3,Y3) を基にP’3 (X’3C ,Y3C)を求めてもよい。さらに、 P’4からP’6についても、前述と同様な方法で求めることができる。撮像したQRコードに補正をかけて矩形化した上で、上記計算による補正を行う方が望ましい。 Next, in other cells, the boundary where the brightness of the cell changes in the vertical direction from the cross of P 2 (X 2 , Y 2 ) is searched, and the two boundary coordinate values in the vertical direction are set as B 2U (X 2 , Y 2U ) and B 2D (X 2 , Y 2D ) are obtained. Here, since the difference value Y 2U -Y 2D of the Y coordinate is about the same as the cell size obtained by the first code, it can be seen that there is one light cell in the vertical direction, X 2C = X 2 , and Y 2C = Y 2D + (Y 2U −Y 2D ) / 2, the center position B 2C (X 2C , Y 2C ) between the upper and lower boundaries is obtained. Further, B 2L (X 2L , Y 2C ) and B 2R (X 2R , Y 2C ) are obtained as two boundary coordinate values in the left-right direction starting from B 2C . Here, X 2R -X 2L is about twice the cell size obtained with the first code, so it turns out that there are two bright cells in the left and right direction, and X ' 2C = X 2L + (X 2R -X 2L ) × 1/4 and Y ' 2C = Y 2C gives the center position B' 2C (X ' 2C , Y' 2C ) between the left and right boundaries The central coordinate value P ′ 2 (X ′ 2C , Y ′ 2C ) of the selected cell is obtained. Similarly, P ' 3 (X' 3C , Y 3C ) is obtained by linear interpolation and X ' 3C = X 2L + (X 2R -X 2L ) × 3/4 and Y' 3C = Y ' 2C Also good. Similarly to the above, P 3 (X 3, Y 3) P based on '3 (X' 3C, Y 3C) may be obtained. Further, P ′ 4 to P ′ 6 can be obtained by the same method as described above. It is desirable to perform correction by the above calculation after correcting the captured QR code into a rectangle.

(ドットの抽出と数値データの取得)
読み取り装置がドットを抽出しドットの中心点を求め、ドットコードの数値データを取得する方法を図64から図72で説明する。図64は、第2のコードの向き(第2のコードの規則として、向きは第1のコードと同一のものとしてもよい)と補正されたセル中央位置P0からの距離と方向で設定される仮想点P1〜P8を中心としたバウンディングボックスをドットのサイズと同程度で示した図である。この仮想点は第2のコードの規則にしたがった情報ドットの配置候補位置である。読み取り装置は、バウンディングボックス内にドットの中心座標値が含まれるか否かを判定して数値データを取得する。なお、バウンディングボックスの大きさは、隣接するバウンディングボックスと重複しなければ、ドットのサイズよりも大きくしてもよい。印刷精度や撮影環境等が悪く、撮像された画像のドットの中心座標値の精度が悪くても認識可能となる。ただし、大きくなった分だけ、インクの飛び等によるノイズ(エラー印刷)の影響を受ける可能性が高くなる。もちろん、取得するドットの中心座標値の精度が十分確保される場合は、バウンディングボックスの大きさは、ドットのサイズよりも小さくしてもよい。
(Dot extraction and numerical data acquisition)
A method in which the reading device extracts dots, obtains the center point of the dots, and acquires the numerical data of the dot code will be described with reference to FIGS. In FIG. 64, the direction of the second code (as a rule of the second code, the direction may be the same as the first code) and the corrected distance and direction from the cell center position P0 are set. It is the figure which showed the bounding box centering on the virtual points P1-P8 by the same grade as the size of a dot. This virtual point is an information dot arrangement candidate position according to the rule of the second code. The reading device determines whether or not the center coordinate value of the dot is included in the bounding box and acquires numerical data. Note that the size of the bounding box may be larger than the dot size as long as it does not overlap with the adjacent bounding box. It is possible to recognize even if the accuracy of the center coordinate value of the dot of the captured image is poor due to poor printing accuracy or shooting environment. However, there is a higher possibility of being affected by noise (error printing) due to ink jumping or the like as much as it becomes larger. Of course, when the accuracy of the center coordinate value of the acquired dot is sufficiently ensured, the size of the bounding box may be smaller than the size of the dot.

図65は、例えば、上部ドット配置候補位置を先頭に右回りに桁を上げて2進数で01101001を定義したドットコードが形成された明色セルの例である。図66、図67は、C-MOSセンサー等により、当該セルを撮像した画像の例である。撮像とは、フレームバッファ等の記憶媒体に撮影された画像が記録されたこと、または記録する動作を言う。本画像は、説明を簡略化するために明暗の65段階(明色、黒色を含む)の濃淡で示している。通常は、濃淡のみで撮像する場合、8bitつまり256段階で記録される場合が多い。カラーでは、R,G,B各8bitで1,670万色で撮像される場合が多い。図66〜図69で、縦軸に付された数字1〜15は、画像の画素の行(走査線)を示す番号である。   FIG. 65 is an example of a light cell in which a dot code in which 01101001 is defined in binary notation with the upper dot arrangement candidate position at the head and with digits shifted clockwise is formed. 66 and 67 are examples of images obtained by capturing the cell using a C-MOS sensor or the like. Imaging refers to an operation of recording or recording a captured image on a storage medium such as a frame buffer. In order to simplify the description, this image is shown in light and dark 65 levels (including light and black). Normally, when imaging with only light and shade, the image is often recorded in 8 bits, that is, 256 levels. In color, images are captured in 16.7 million colors with 8 bits each for R, G, and B. 66 to 69, numerals 1 to 15 attached to the vertical axis are numbers indicating pixel rows (scanning lines) of the image.

読み取り装置は、本撮像画像から、ドットを抽出する場合、所定の絶対閾値を下回る濃淡値(例えば、255は白色、0は黒色とした場合に絶対閾値を60とすれば、60以下の濃淡値)の部分をドットであると判定してもよい。その場合、明色セル毎に明色セルのドットを除く所定の範囲の濃淡値の平均値から絶対閾値を設定するのが望ましい。すなわち、明色領域の濃淡値が低い場合は閾値を下げ、濃淡値が高い場合は閾値を上げるように可変にすればよい。その絶対閾値は、明色セルのドットを除く所定の範囲の濃淡値の平均値の例えば、20%〜40%とするのが望ましい。   When the reading device extracts dots from the captured image, a gray value that falls below a predetermined absolute threshold (for example, 255 is white, 0 is black, and if the absolute threshold is 60, the gray value is 60 or less. ) May be determined to be dots. In that case, it is desirable to set the absolute threshold value from the average value of the gray values in a predetermined range excluding the dots of the light cell for each light cell. In other words, the threshold value may be made variable when the shading value of the light color region is low, and may be raised when the shading value is high. The absolute threshold is preferably 20% to 40%, for example, of the average value of the light and shade values in a predetermined range excluding the dots of the light cell.

図70は、画像から得られる濃淡値と絶対閾値との関係から、画像を2値化する処理例である。図で、縦軸は、例えば、図69の画像中の下から4行目の画素の行(走査線12)に対応する画素の明暗値(グレースケール値)であり、横軸は、水平方向に並んだ画素位置を例示する。また、図70で、○印に番号を付した数字は、各画素を識別する符号である。図70では、明色部分の平均値が200でその30%の60(一点鎖線)を絶対閾値とすると、画素(4)と(10),(11)が2値化されて暗色となり、図69の下から第4行目の画素(ピクセル)のようにドットとして判定される。   FIG. 70 shows an example of processing for binarizing an image based on the relationship between the gray value obtained from the image and the absolute threshold value. In the figure, the vertical axis represents, for example, the brightness value (gray scale value) of the pixel corresponding to the fourth pixel row (scanning line 12) from the bottom in the image of FIG. 69, and the horizontal axis represents the horizontal direction. The pixel positions lined up in are illustrated. Also, in FIG. 70, the numbers with numbers in the circles are codes for identifying each pixel. In FIG. 70, if the average value of the light color part is 200 and 60% (dotted line) of 30% is the absolute threshold value, the pixels (4), (10), and (11) are binarized to become dark colors. As a pixel (pixel) in the fourth row from the bottom of 69, it is determined as a dot.

一方、図67に示すように、走査線方向に濃淡値を取得して、閾値を明色部分からドット部分への濃淡値の変化率を相対閾値として使用してもよい。当該変化率を顕著にするため、撮像した画像の濃淡値を比較するピクセルを2〜3個程度先のピクセルの濃淡値と比較するのが望ましい。その変化率は、明色のピクセルの濃淡値に対してドットを形成するピクセルの濃淡値を40%~60%程度以下として相対閾値を設定するのが望ましい。   On the other hand, as shown in FIG. 67, the grayscale value may be acquired in the scanning line direction, and the threshold value may be used as the relative threshold value from the change rate of the grayscale value from the bright color portion to the dot portion. In order to make the rate of change remarkable, it is desirable to compare the pixel with which the gray value of the captured image is compared with the gray value of the next two to three pixels. As for the rate of change, it is desirable to set the relative threshold value so that the gray value of the pixel forming the dot is about 40% to 60% or less with respect to the gray value of the light color pixel.

図70では、走査線12において、比較するピクセル間で1ピクセル空けて、明色領域のピクセルの濃淡値に変化率α=0.5(50%)を乗じた相対閾値を設定し、走査線方向で相対閾値を下回る濃淡値のピクセルの場合は、(1)(0.5×255=127.5)と(3)(102), (2) (0.5×255=127.5)と(4)(0), (7) (0.5×255=127.5)と(5)(102)を比較して(3),(4),(5)が黒色で2値化され、(8) (0.5×255=127.5)と(10)(51), (9) (0.5×255=127.5)と(11)(0)を比較して(10),(11)が黒色で2値化されて、図68のようにドットとして判定される。以上のようにして、グレースケールのピクセルが黒色で2値化される。なお、黒色で2値化されたピクセルが発生した後から走査線方向に濃淡値が変化率を下回るピクセルが連続する場合は、当該ピクセルは黒色で2値化される。対象とするピクセルの濃淡値をBiとすると、i)αBi-n>BiかつBi <αBi+n、 ii)αBi-n>BiまたはBi <αBi+nの2通りの判定方法がある。nは、対象ピクセルとn個離れたピクセルと比較することを示している。i)は対象とするピクセルBiがドットであることを走査線上の左右の両方から相対閾値を満足するものであり、少し狭くドットとして判定される。一方、 ii)は対象とするピクセルBiがドットであることを走査線上の左右のいずれかからの相対閾値(変化率)を満足するものであり、少し広くドットとして判定される。その結果、図68は、閾値を甘くした場合(絶対閾値を高めか、相対閾値を小さくした場合)の結果である。図69は、閾値を厳しく場合(絶対閾値を低め、相対閾値を大きくした場合)の結果である。いずれの場合であっても、図71、図72のように、情報ドットの中心座標値がバウンディングボックス内に納まっており、読み取り装置(実施形態1から6参照)は、ドットコードで定義された数値データを取得できる。 In FIG. 70, on the scanning line 12, a relative threshold value is set by multiplying the gray value of the pixel in the light color region by the change rate α = 0.5 (50%) with 1 pixel between the pixels to be compared. For pixels with gray values below the relative threshold, (1) (0.5 × 255 = 127.5) and (3) (102), (2) (0.5 × 255 = 127.5) and (4) (0), (7 ) (0.5 × 255 = 127.5) and (5) (102) are compared, and (3), (4), (5) are binarized in black, and (8) (0.5 × 255 = 127.5) and ( 10) (51), (9) (0.5 × 255 = 127.5) and (11) (0) are compared, and (10), (11) are binarized in black. As shown in FIG. Determined. As described above, grayscale pixels are binarized in black. Note that, after pixels that have been binarized in black are generated, pixels in which the gray value is below the change rate continue in the scanning line direction, the pixels are binarized in black. If the gray value of the target pixel is Bi, i) αB in > B i and B i <αB i + n , ii) αB in > B i or B i <αB i + n is there. n indicates that comparison is made with a pixel that is n times away from the target pixel. i) satisfies the relative threshold from both the left and right on the scanning line that the target pixel B i is a dot, and is determined to be a little narrower dot. On the other hand, ii) satisfies the relative threshold value (change rate) from either the left or right on the scanning line that the target pixel B i is a dot, and is determined as a dot a little wider. As a result, FIG. 68 shows a result when the threshold value is reduced (when the absolute threshold value is increased or the relative threshold value is decreased). FIG. 69 shows the results when the threshold is strict (when the absolute threshold is lowered and the relative threshold is increased). In any case, as shown in FIGS. 71 and 72, the center coordinate value of the information dot is stored in the bounding box, and the reading device (see Embodiments 1 to 6) is defined by the dot code. Numerical data can be acquired.

なお、暗色(または明色)のドットの中心座標値DC(Xc,Yc)は、2値化された暗色(または明色)のピクセルから形成されるドットの中心から計算され、暗色(または明色)に2値化されたn個(i=1~n)のピクセルの座標値をDB(Xi,Yi)とすると、Xc=Σi=1~nXi/n, Yc=Σi=1~nYi /n で求まる。本計算は、他の実施例のドットの中心座標値の計算にも用いられてよい。 The center coordinate value D C (Xc, Yc) of the dark (or light) dot is calculated from the center of the dot formed from the binarized dark (or light) pixel, and the dark color (or If the coordinate value of n pixels (i = 1 to n) binarized into light colors is D B (Xi, Yi), Xc = Σ i = 1 to n Xi / n, Yc = Σ i = 1 ~ n Yi / n This calculation may also be used to calculate the dot center coordinate values in other embodiments.

基準ドットを暗色セルに配置した明色セル中央座標値の計算
第1のコードで計算されたセル中央座標値を使用しないで、暗色セルに配置した明色の基準ドットから直接的にセル中央座標値を計算する方法を図73、図74で説明する。図73は、図62と同様にセル内の情報ドットの配置候補位置を設定した実施例である。図73においても、図62に示したように、明色セルのみに情報ドットが配置される。ただし、図73では、暗色セルのみに基準ドットを配置してドットコードを形成している。図73では、図示しないが情報ドットを暗色セルに、基準ドットを明色セルに配置してもよい。図73で、暗色セルに配置した明色の基準ドットは、第1のコードから計算された暗色セル内の中央座標値周辺の連続する暗色領域から明色ドットを容易に検索できる。第1のコードから計算された暗色セル内の中央座標値を使用しなくても、暗色領域が連続する領域に明色ドットが存在するかを検索してもよい。
( Calculation of light cell center coordinate value with reference dot placed in dark cell )
A method for calculating the cell center coordinate value directly from the light-colored reference dots arranged in the dark cell without using the cell center coordinate value calculated by the first code will be described with reference to FIGS. 73 and 74. FIG. FIG. 73 shows an example in which information dot arrangement candidate positions in a cell are set as in FIG. Also in FIG. 73, as shown in FIG. 62, information dots are arranged only in bright cells. However, in FIG. 73, dot codes are formed by arranging reference dots only in dark cells. In FIG. 73, although not shown, information dots may be arranged in dark cells and reference dots may be arranged in light cells. In FIG. 73, the light-colored reference dots arranged in the dark-colored cell can be easily searched for the light-colored dots from the continuous dark-colored area around the central coordinate value in the dark-colored cell calculated from the first code. Even if the central coordinate value in the dark cell calculated from the first code is not used, it may be searched whether a light color dot exists in an area where the dark color area is continuous.

図74は、第1のコードによってセルの中央として求められた座標位置がセルの本来の中央からずれている画像の例である。図74では、十印で示した位置が第1のコードによってセルの中央として求められた座標位置であるが、セルの中央からずれていることが分かる。このずれた位置から、×印で示したセルの適正な中央座標値を求める方法を以下、説明する。   FIG. 74 is an example of an image in which the coordinate position obtained as the center of the cell by the first code is shifted from the original center of the cell. In FIG. 74, the position indicated by a cross is the coordinate position obtained as the center of the cell by the first code, but it can be seen that it is shifted from the center of the cell. A method for obtaining an appropriate center coordinate value of the cell indicated by the x mark from the shifted position will be described below.

先ず、読み取り装置は、暗色セルに配置した基準ドットの位置を検索する。検索の方法としては、読み取り装置は、第1のコードで求められた暗色セルの中央座標値を起点に周辺の暗色セル内から所定の閾値を用いて、基準ドットの濃淡度の高い領域を検索し、当該領域の中心位置を求め基準ドットの中心座標値としてもよい。次に、基準ドットの中心位置同士を上下・左右方向に仮想の直線で繋いで、その交点の座標を明色セルの中央座標値とする。交点の存在しない明色セルには、他の上下・左右方向で取得した交点から、内挿または外挿して求めればよい。   First, the reading device searches for the position of the reference dot arranged in the dark cell. As a search method, the reading device searches a region having a high density of reference dots using a predetermined threshold value from surrounding dark cells starting from the central coordinate value of the dark cell obtained by the first code. Then, the center position of the area may be obtained and used as the center coordinate value of the reference dot. Next, the center positions of the reference dots are connected to each other by a virtual straight line in the vertical and horizontal directions, and the coordinates of the intersection are used as the central coordinate values of the light cell. What is necessary is just to interpolate or extrapolate to the bright cell which does not have an intersection from the intersection obtained in the other up-down and left-right directions.

(基準ドットを明色セルに配置したセル中央座標値の計算)
第2のコードで明色セルの中央に基準ドットを配置し、その基準ドットを検索してセルの中央座標値を計算する方法を図75から図78で説明する。図76は、図62と同様にセル内の情報ドットの配置候補位置を設定し、さらに中央に基準ドットを配置した実施例である。図75は、複合コードの一部を示した実施例であり、明色セルのみに基準ドットと情報ドットを配置してドットコードを形成している。図示しないが基準ドットと情報ドットを暗色セルに配置してもよい。この基準ドットを認識することにより、基準ドットから距離および方向で配置されて数値データが定義される情報ドットの配置をより正確に認識することができる。
(Calculation of cell center coordinate value with reference dot placed in light cell)
A method of calculating a central coordinate value of a cell by arranging a reference dot in the center of a light cell with the second code and searching for the reference dot will be described with reference to FIGS. FIG. 76 shows an embodiment in which the information dot arrangement candidate position in the cell is set and the reference dot is arranged in the center as in FIG. FIG. 75 is an embodiment showing a part of a composite code, and a dot code is formed by arranging reference dots and information dots only in light-colored cells. Although not shown, reference dots and information dots may be arranged in dark cells. By recognizing this reference dot, it is possible to more accurately recognize the arrangement of information dots that are arranged at a distance and a direction from the reference dot to define numerical data.

図77は、第1のコードによってセルの中央として求められた座標位置がセルの本来の中央からずれている画像の例である。図77では、十印で示した位置が第1のコードでセルの中央として求められた座標位置であるが、セルの中央からずれていることが分かる。このずれた位置から、×印で示したセルの適正な中央座標値を求める方法を以下、説明する。   FIG. 77 is an example of an image in which the coordinate position obtained as the center of the cell by the first code is shifted from the original center of the cell. In FIG. 77, the position indicated by a cross is the coordinate position obtained as the center of the cell by the first code, but it can be seen that it is shifted from the center of the cell. A method for obtaining an appropriate center coordinate value of the cell indicated by the x mark from the shifted position will be described below.

先ず、読み取り装置は、明色セルに配置した基準ドットの位置を検索する。検索の方法としては、読み取り装置は、選択した第1のコードで求められた明色セルの中央座標値近傍のドットが基準ドットであるかを他の明色セルに配置されたドットとの配置関係から判定する。つまり、読み取り装置は、当該ドットから直線状に所定の間隔で配置されているドットであるか否かを判定すればよい。この条件を満足できない場合は、読み取り装置は、次に近傍のドットで上記条件を満たすかの判定を繰り返し、基準ドットを認識する。一方、読み取り装置は、図63で説明した方法でセル中央座標値を計算し、その座標値に最も近いドットを基準ドットしてもよい。なお、基準ドットを、情報ドットと大きさや形状、色、配置パターン(基準ドットは複数であってもよい)を異ならせることにより、上記のようなセル中心座標値の補正を掛けなくても、読み取り装置は、基準ドットを容易に認識できる。   First, the reading device searches for the position of the reference dot arranged in the light color cell. As a search method, the reading device determines whether the dot in the vicinity of the central coordinate value of the light cell obtained by the selected first code is the reference dot or the arrangement with the dot arranged in another light cell. Judgment from the relationship. That is, the reading apparatus may determine whether or not the dots are arranged linearly from the dots at a predetermined interval. If this condition cannot be satisfied, the reading apparatus then repeats the determination of whether the above condition is satisfied with neighboring dots and recognizes the reference dot. On the other hand, the reading device may calculate the cell center coordinate value by the method described with reference to FIG. 63, and may use the dot closest to the coordinate value as the reference dot. In addition, by making the reference dot different from the information dot in size, shape, color, and arrangement pattern (there may be a plurality of reference dots), the correction of the cell center coordinate value as described above is not performed. The reading device can easily recognize the reference dot.

なお、上記で示した基準ドットは必ずしも、セルの中央に配置されたドットでなくても、基準ドットとして判別できれば、セル内の何処に配置してもよい。図78は、第2のコードの向き(第2のコードの規則として、向きは第1のコードと同一のもととしてもよい)と基準ドットの中心位置P0からの距離と方向で設定される仮想点P1~P8を中心とした円形のバウンディングボックスをドットのサイズと同程度で示した図である。この仮想点は第2のコードの規則にしたがった情報ドットの配置候補位置である。ここでは、読み取り装置は、バウンディングボックス内にドットの中心座標値が含まれるか否かを判定して数値データを取得する。なお、バウンディングボックスの仕様は図64と同様である。   Note that the reference dot shown above is not necessarily a dot arranged in the center of the cell, but may be arranged anywhere in the cell as long as it can be identified as the reference dot. In FIG. 78, the direction of the second code (as a rule of the second code, the direction may be the same as the first code), and the distance and direction from the center position P0 of the reference dot are set. FIG. 5 is a diagram showing a circular bounding box centered on virtual points P1 to P8 with the same size as the dot size. This virtual point is an information dot arrangement candidate position according to the rule of the second code. Here, the reading device determines whether or not the center coordinate value of the dot is included in the bounding box and acquires numerical data. The specification of the bounding box is the same as in FIG.

(基準ドットを明色セルと暗色セルに配置したセル中央座標値の計算)
第2のコードで明色セルと暗色セルの中央に基準ドットを配置し、その基準ドットを検索してセルの中央座標値を計算する方法を図79および図80で説明する。図79は、複合コードの一部を示した実施例であり、明色セルと暗色セルに基準ドットを、明色セルのみに情報ドットを配置してドットコードを形成している。図示しないが情報ドットを暗色セルに配置してもよいし、両方に情報ドットを配置してもよい。暗色セルに配置した明色の基準ドットについては、読み取り装置は、第1のコードから計算された暗色セル内の中央座標値周辺の連続する暗色領域から明色ドットを容易に検索できる。読み取り装置は、第1のコードから計算された暗色セル内の中央座標値を使用しなくても、暗色領域が連続する領域に明色ドットが存在するかを検索すればよい。この基準ドットを認識することにより、基準ドットの中心位置からの距離および方向で配置されて数値データが定義される情報ドットの配置をより正確に認識することができる。
(Calculation of cell center coordinate value with reference dots placed in light and dark cells)
A method of calculating a central coordinate value of a cell by arranging a reference dot in the center of a light cell and a dark cell with the second code and searching for the reference dot will be described with reference to FIGS. FIG. 79 shows an example of a part of a composite code. A dot code is formed by arranging reference dots in light cells and dark cells and information dots only in light cells. Although not shown, information dots may be arranged in dark cells or information dots may be arranged on both. With respect to the light-colored reference dots arranged in the dark cell, the reading device can easily search for the light-colored dot from the continuous dark color region around the central coordinate value in the dark cell calculated from the first code. The reading device only has to search for the presence of light dots in the region where the dark color regions are continuous without using the central coordinate value in the dark cell calculated from the first code. By recognizing this reference dot, it is possible to more accurately recognize the arrangement of information dots that are arranged at a distance and direction from the center position of the reference dot and in which numerical data is defined.

図80は、第1のコードによってセルの中央として求められた座標位置がセルの本来の中央からずれている画像の例である。図80では、十印で示した位置が第1のコードでセルの中央として求められた座標位置であるが、セルの中央からずれていることが分かる。このずれた位置から、×印で示したセルの適正な中央座標値を求める方法を以下、説明する。読み取り装置は、先ず、暗色セルに配置した基準ドットの位置を検索する。検索の方法としては、読み取り装置は、第1のコードで求められた暗色セルの中央座標値を起点に周辺の暗色セル内から所定の閾値を用いて、基準ドットの濃淡度の高い領域を検索し、当該領域の中心位置を求め基準ドットの中心座標値としてもよい。次に、基準ドットの中心位置同士を上下・左右方向に仮想の直線で繋いで、その交点の座標を明色セルの中央座標値とする。交点の存在しない明色セルには、他の上下・左右方向で取得した交点から、内挿または外挿して求めればよい。読み取り装置は、この明色セルの中央座標値近傍のドットを明色セルに配置した基準ドットの位置とする。なお、上記で示した基準ドットは必ずしも、セルの中央に配置されたドットでなくても、基準ドットとして判別できれば、セル内の何処に配置してもよい。   FIG. 80 is an example of an image in which the coordinate position obtained as the center of the cell by the first code is shifted from the original center of the cell. In FIG. 80, the position indicated by the cross is the coordinate position obtained as the center of the cell by the first code, but it can be seen that it is shifted from the center of the cell. A method for obtaining an appropriate center coordinate value of the cell indicated by the x mark from the shifted position will be described below. The reading device first searches for the position of the reference dot placed in the dark cell. As a search method, the reading device searches a region having a high density of reference dots using a predetermined threshold value from surrounding dark cells starting from the central coordinate value of the dark cell obtained by the first code. Then, the center position of the area may be obtained and used as the center coordinate value of the reference dot. Next, the center positions of the reference dots are connected to each other by a virtual straight line in the vertical and horizontal directions, and the coordinates of the intersection are used as the central coordinate values of the light cell. What is necessary is just to interpolate or extrapolate to the bright cell which does not have an intersection from the intersection obtained in the other up-down and left-right directions. The reading apparatus sets the dot in the vicinity of the central coordinate value of the light cell as a reference dot position arranged in the light cell. Note that the reference dot shown above is not necessarily a dot arranged in the center of the cell, but may be arranged anywhere in the cell as long as it can be identified as the reference dot.

(基準ドットを明色セルに配置したセル中央座標値の計算(情報分割セルの場合))
第2のコードで明色セルの中央に基準ドットを配置し、その基準ドットを検索してセルの中央座標値を計算する方法の他の例を図81から84で説明する。図82は、明色セルを縦横4分割して16個の分割セルを生成し、中央の分割セル4個を除いて情報分割セルの配置候補位置を12か所に配置し、さらに明色セルの中央に基準ドットを配置した実施例である。ここで、図82のように、明色のセル(または暗色のセル)を分割し、基準ドットに接触しない、分割された領域(分割セルともいう)に形成される暗色(暗色のセルに対しては明色)の領域により情報を定義する場合の当該分割された暗色(暗色のセルに対しては明色)の領域を情報分割セルという。
(Calculation of cell center coordinate value with reference dot placed in light cell (in case of information division cell))
81 to 84 will explain another example of a method of calculating a central coordinate value of a cell by searching for the reference dot by arranging the reference dot at the center of the bright cell with the second code. In FIG. 82, a light cell is divided into four parts vertically and horizontally to generate 16 divided cells, and four information cell division candidate positions are arranged except for four central divided cells, and further light cell This is an embodiment in which a reference dot is arranged in the center of the. Here, as shown in FIG. 82, a light cell (or dark cell) is divided and a dark color (dark cell) formed in a divided region (also referred to as a divided cell) that does not touch the reference dot. In this case, the divided dark color region (light color for dark cells) when information is defined by a light color region is referred to as an information division cell.

明色セルに含まれる暗色領域を33%以下にした場合に配置できる情報分割セルの数は、(16/3)-1(基準ドット分)=4個であり、1個の明色セルに配置できる情報分割セル数は最大4個であり、定義できる数値データの情報量は、12C412C312C212C112C0=2,554通りの組み合わせがある。つまり、211.32であり、11bit以上の数値データを定義できる。基準ドットは、中央に配置されているため、配置位置の精度を確保するためには、1200DPI程度以上の高解像度の印刷機で印刷することにする。 The number of information division cells that can be arranged when the dark color area included in the light cell is 33% or less is (16/3) -1 (for the reference dot) = 4, and one light cell arrangement can count information dividing cells is four maximum amount of information the numerical data that can be defined, there are 12 C 4 + 12 C 3 + 12 C 2 + 12 C 1 + 12 combinations of C 0 = 2,554 ways. In other words, it is 2 11.32 and numerical data of 11 bits or more can be defined. Since the reference dot is arranged in the center, in order to ensure the accuracy of the arrangement position, the reference dot is printed by a high-resolution printing machine of about 1200 DPI or more.

図81は、複合コードの一部を示した実施例であり、明色セルのみに基準ドットと情報分割セルを配置して分割セルコードを形成している。図示しないが基準ドットと情報分割セルを暗色セルに配置してもよい。この基準ドットを認識することにより、基準ドットの中心位置からの距離および方向で配置されて数値データが定義される情報分割セルの配置を正確に認識することができる。   FIG. 81 shows an example of a part of a composite code, in which a reference dot and an information division cell are arranged only in a light color cell to form a division cell code. Although not shown, the reference dot and the information division cell may be arranged in the dark cell. By recognizing this reference dot, it is possible to accurately recognize the arrangement of the information divided cells that are arranged at a distance and direction from the center position of the reference dot and in which numerical data is defined.

図83は、第1のコードによってセルの中央として求められた座標位置がセルの本来の中央からずれている画像の例である。図83では、十印で示した位置が第1のコードでセルの中央として求められた座標位置であるが、セルの中央からずれていることが分かる。このずれた位置から、×印で示したセルの適正な中央座標値を求める方法は、図77で説明した通りである。   FIG. 83 is an example of an image in which the coordinate position obtained as the center of the cell by the first code is shifted from the original center of the cell. In FIG. 83, the position indicated by a cross is the coordinate position obtained as the center of the cell by the first code, but it can be seen that it is shifted from the center of the cell. The method for obtaining an appropriate center coordinate value of the cell indicated by the x mark from the shifted position is as described with reference to FIG.

図84は、第2のコードの向き(第2のコードの規則として、向きは第1のコードと同一のものとしてもよい)と基準ドットの中心位置P0からの距離と方向で設定される仮想点P1~P8を中心とした矩形のバウンディングボックスを情報分割セルのサイズの50%程度で示した図である。この仮想点は第2のコードの規則にしたがった情報分割セルの配置候補位置である。ここでは、読み取り装置は、バウンディングボックス内に情報分割セルで示される所定比率の暗色領域が含まれるか否かを判定して数値データを取得する。暗色領域の判定方法は、図66〜図70で説明したものと同様である。読み取り装置は、絶対閾値を設定し、バウンディングボックスを形成するピクセル数に対して、絶対閾値を下回る濃淡値のピクセル数が所定比率を超えていれば、情報分割セルとして判別する。印刷精度による基準ドットおよび情報分割セルの大きさに対して、20〜30%程度の印刷ずれを考慮して、所定比率は50~75%程度以上が望ましい。なお、1個の情報分割セルが隣接するバウンディングボックスに含まれないように、読み取り装置は、バウンディングボックス間を所定距離離れるようにバウンディングボックスの大きさを設定することにする。本実施例では、情報分割セルのサイズの50%で設定しているが、複合コード撮影時のカメラの解像度等を考慮し設定することが望ましい。高解像度であれば、読み取り装置は、バウンディングボックスのサイズを認識時に可変にして、情報分割セルの認識率を高めてもよい。   FIG. 84 shows a hypothesis set by the direction of the second code (as a rule of the second code, the direction may be the same as the first code), and the distance and direction from the center position P0 of the reference dot. FIG. 5 is a diagram showing a rectangular bounding box centered on points P1 to P8 at about 50% of the size of the information division cell. This virtual point is an arrangement candidate position of the information division cell according to the rule of the second code. Here, the reading apparatus determines whether or not a dark color area of a predetermined ratio indicated by the information division cell is included in the bounding box, and acquires numerical data. The method for determining the dark color region is the same as that described with reference to FIGS. The reading device sets an absolute threshold, and if the number of pixels with gray values that are lower than the absolute threshold exceeds a predetermined ratio with respect to the number of pixels that form the bounding box, the reading device determines that the information division cell. The predetermined ratio is desirably about 50 to 75% or more in consideration of a printing deviation of about 20 to 30% with respect to the size of the reference dot and the information division cell depending on the printing accuracy. Note that the reading apparatus sets the size of the bounding box so that the bounding boxes are separated from each other by a predetermined distance so that one information division cell is not included in the adjacent bounding boxes. In this embodiment, it is set at 50% of the size of the information division cell, but it is desirable to set it in consideration of the resolution of the camera at the time of composite code shooting. If the resolution is high, the reader may change the size of the bounding box at the time of recognition to increase the recognition rate of the information division cell.

(基準分割セルを明色セルに配置したセル中央座標値の計算)
第2のコードで明色セルの中央に基準分割セルを配置し、その基準分割セルを検索してセルの中央座標値を計算する方法を図85から図88で説明する。図86は、明色セルを縦横5分割して25個の分割セルを生成し、中央の分割セル9個を除いて情報分割セルの配置候補位置を16か所配置し、さらに中央に基準分割セルを配置した実施例である。図86のように、明色セル(または暗色のセル)を所定数に分割し、その分割された領域のいずれかに形成された暗色(暗色のセルに対しては明色)の領域により基準点を定義する場合の当該基準点を定義する分割された暗色(暗色のセルに対しては明色)の領域を基準分割セルという。同様に、セルを分割し他領域により情報を定義する場合の当該領域を情報分割セルという。
(Calculation of cell center coordinate value with reference division cell placed in light cell)
A method of arranging a reference divided cell in the center of a light cell with the second code, searching for the reference divided cell, and calculating the central coordinate value of the cell will be described with reference to FIGS. In FIG. 86, a light cell is divided into 5 vertical and horizontal to generate 25 divided cells, except for 9 central divided cells, 16 information division cell arrangement candidate positions are arranged, and the reference division is further arranged in the center. It is the Example which has arrange | positioned the cell. As shown in FIG. 86, a light cell (or dark cell) is divided into a predetermined number, and a reference is made based on a dark color region (light color for dark cells) formed in one of the divided regions. A divided dark color region (light color for dark cells) defining the reference point when defining a point is referred to as a reference divided cell. Similarly, an area in which cells are divided and information is defined by other areas is referred to as an information division cell.

明色セルに含まれる暗色領域を33%以下にした場合に配置できる情報分割セルの数は、(25/3)-1(基準ドット分)=7個であり、1個の明色セルに配置できる情報分割セル数は最大7個であり、定義できる数値データの情報量は、 16C716C616C516C416C316C216C116C0=26,333通りの組み合わせがある。つまり、 214.68であり、14bit以上の数値データを定義できる。また、明色セルに含まれる暗色領域を20%以下にした場合に配置できる情報分割セルの数は、(25/5)-1(基準ドット分)=4個であり、1個の明色セルに配置できる情報分割セル数は、最大4個であり、定義できる数値データの情報量は、16C416C316C216C116C0= 2,517通りの組み合わせがある。つまり、 211.30であり、11bit以上の数値データを定義できる。 なお、図45に示したように、1つのセルを5×5pixelで印刷することは、600DPIのプリンタでも印刷可能である。 The number of information division cells that can be arranged when the dark color area included in the light cell is 33% or less is (25/3) -1 (for the reference dot) = 7. The maximum number of information division cells that can be placed is 7, and the amount of information that can be defined is 16 C 7 + 16 C 6 + 16 C 5 + 16 C 4 + 16 C 3 + 16 C 2 + 16 C 1 + There are 16 C 0 = 26,333 combinations. In other words, 2 is 14.68 , and numerical data of 14 bits or more can be defined. In addition, the number of information division cells that can be arranged when the dark color area included in the light cell is 20% or less is (25/5) -1 (for the reference dot) = 4, and one light color The maximum number of information division cells that can be placed in a cell is 4, and the amount of numerical data that can be defined is 16 C 4 + 16 C 3 + 16 C 2 + 16 C 1 + 16 C 0 = 2,517 combinations. is there. In other words, 2 11.30 , and numerical data of 11 bits or more can be defined. As shown in FIG. 45, printing one cell at 5 × 5 pixels can be performed by a 600 DPI printer.

図85は、複合コードの一部を示した実施例であり、明色セルのみに基準分割セルと情報分割セルを配置して分割セルコードを形成している。図示しないが基準分割セルと情報分割セルを暗色セルに配置してもよい。読み取り装置は、この基準分割セルを認識することにより、基準分割セルの中心位置からの距離および方向で配置されて数値データが定義される情報分割セルの配置を正確に認識することができる。   FIG. 85 shows an example of a part of a composite code, in which a reference cell and an information cell are arranged only in light cells to form a divided cell code. Although not shown, the reference division cell and the information division cell may be arranged in the dark cell. By recognizing the reference divided cell, the reading apparatus can accurately recognize the arrangement of the information divided cells that are arranged with the distance and direction from the center position of the reference divided cell and in which numerical data is defined.

図87は、第1のコードによってセルの中央として求められた座標位置がセルの本来の中央からずれている画像の例である。図87では、十印で示した位置が第1のコードでセルの中央として求められた座標位置であるが、セルの中央からずれていることが分かる。このずれた位置から、×印で示したセルの適正な中央座標値を求める方法を以下に説明する。読み取り装置は、先ず、明色セルに配置した基準分割セルの位置を検索する。検索の方法としては、読み取り装置は、選択した第1のコードで求められた明色セルの中央座標値近傍の分割セルが基準分割セルであるかを他の明色セルに配置された分割セルとの配置関係から判定する。つまり、読み取り装置は、当該分割セルから直線状に所定の間隔で配置されている分割セルであるか否かを判定すればよい。この条件を満足できない場合は、読み取り装置は、次に近傍の分割セルで上記条件を満たすかの判定を繰り返し、基準分割セルを認識する。   FIG. 87 is an example of an image in which the coordinate position obtained as the center of the cell by the first code is shifted from the original center of the cell. In FIG. 87, the position indicated by a cross is the coordinate position obtained as the center of the cell by the first code, but it can be seen that it is shifted from the center of the cell. A method for obtaining an appropriate center coordinate value of the cell indicated by the x mark from this shifted position will be described below. The reading device first searches for the position of the reference divided cell arranged in the light cell. As a search method, the reading device determines whether the divided cell near the central coordinate value of the light cell obtained by the selected first code is a reference divided cell, and is divided into other light cells. It is determined from the arrangement relationship. That is, the reading apparatus may determine whether or not the divided cells are arranged in a straight line from the divided cells at a predetermined interval. If this condition cannot be satisfied, the reading apparatus then repeatedly determines whether the above condition is satisfied in the neighboring divided cells, and recognizes the reference divided cell.

一方、図66で説明した方法でセル中央座標値を計算し、その座標値に最も近いセルを基準分割セルとしてもよい。   On the other hand, the cell center coordinate value may be calculated by the method described with reference to FIG. 66, and the cell closest to the coordinate value may be used as the reference divided cell.

図88は、第2のコードの向き(第2のコードの規則として、向きは第1のコードと同一のものとしてもよい)と基準分割セルの中心位置P0からの距離と方向で設定される仮想点P1~P8を中心とした矩形のバウンディングボックスを情報分割セルのサイズの50%程度で示した図である。この仮想点は第2のコードの規則にしたがった情報分割セルの配置候補位置である。ここでは、読み取り装置は、バウンディングボックス内に情報分割セルで示される所定比率の暗色領域が含まれるか否かを判定して数値データを取得する。暗色領域の判定方法は、図 66で説明したものと同様である。読み取り装置は、絶対閾値を設定し、バウンディングボックスを形成するピクセル数に対して、絶対閾値を下回る濃淡値のピクセル数が所定比率を超えていれば、情報分割セルとして判別する。読み取り装置は、印刷精度による基準ドットおよび情報分割セルの大きさに対して、20〜30%程度の印刷ずれを考慮して、所定比率は50~75%程度以上が望ましい。なお、読み取り装置は、1個の情報分割セルが隣接するバウンディングボックスに含まれないように、バウンディングボックス間を所定距離離れるようにバウンディングボックスの大きさを設定する。本実施例では、読み取り装置は、情報分割セルのサイズの50%で設定しているが、複合コード撮影時のカメラの解像度等を考慮し設定することが望ましい。読み取り装置は、取得する画像が十分に高解像度であれば、バウンディングボックスのサイズを認識時に可変にして、情報分割セルの認識率を高めてもよい。   FIG. 88 is set by the direction of the second code (as a rule of the second code, the direction may be the same as the first code), and the distance and direction from the center position P0 of the reference divided cell. FIG. 5 is a diagram showing a rectangular bounding box centered on virtual points P1 to P8 at about 50% of the size of an information division cell. This virtual point is an arrangement candidate position of the information division cell according to the rule of the second code. Here, the reading apparatus determines whether or not a dark color area of a predetermined ratio indicated by the information division cell is included in the bounding box, and acquires numerical data. The dark color region determination method is the same as that described with reference to FIG. The reading device sets an absolute threshold, and if the number of pixels with gray values that are lower than the absolute threshold exceeds a predetermined ratio with respect to the number of pixels that form the bounding box, the reading device determines that the information division cell. The reading device desirably has a predetermined ratio of about 50 to 75% or more in consideration of a printing deviation of about 20 to 30% with respect to the size of the reference dot and the information division cell depending on the printing accuracy. The reading device sets the size of the bounding box so that the bounding boxes are separated by a predetermined distance so that one information division cell is not included in the adjacent bounding boxes. In this embodiment, the reading device is set at 50% of the size of the information division cell, but it is desirable to set it in consideration of the resolution of the camera at the time of composite code shooting. If the image to be acquired has a sufficiently high resolution, the reading device may change the size of the bounding box at the time of recognition to increase the recognition rate of the information division cell.

(基準分割セルを暗色セルに配置した明色セル中央座標値の計算)
第1のコードで計算されたセル中央座標値を使用しないで、暗色セルに配置した明色の基準分割セルから直接的にセル中央座標値を計算する方法を図89から図92で説明する。図90は、明色セルを縦横5分割して25個の分割セルを生成し、中央の分割セル1個を除いて情報分割セルの配置候補を24か所配置した実施例である。明色セルに含まれる暗色領域を33%以下にした場合に配置できる情報分割セルの数は、25/3=8個であり、1個の明色セルに配置できる情報分割セル数は、最大8個であり、定義できる数値データの情報量は、 24C824C724C624C524C424C324C224C124C0=1,271,626通りの組み合わせがある。つまり、 220.28であり、20bit以上の数値データを定義できる。また、明色セルに含まれる暗色領域を20%以下にした場合に配置できる情報分割セルの数は、25/5=5個であり、1個の明色セルに配置できる情報分割セル数は、最大5個であり、定義できる数値データの情報量は、 24C524C424C324C224C124C0=55,455通りの組み合わせがある。つまり、 215.76であり、15bit以上の数値データを定義できる。なお、図??に示したように、600DPIのプリンタで印刷可能である。なお、600DPIよりも高解像度の印刷機で印刷できることは言うまでもない。
(Calculation of light cell center coordinate value with reference division cell placed in dark cell)
A method for calculating the cell center coordinate value directly from the light-colored reference divided cells arranged in the dark cell without using the cell center coordinate value calculated by the first code will be described with reference to FIGS. FIG. 90 is an example in which a light cell is divided into 5 vertical and horizontal to generate 25 divided cells, and 24 information division cell arrangement candidates are arranged except for one central division cell. The number of information division cells that can be arranged when the dark color area included in the light cell is 33% or less is 25/3 = 8, and the number of information division cells that can be arranged in one light cell is the maximum. The number of numerical data that can be defined is 24 C 8 + 24 C 7 + 24 C 6 + 24 C 5 + 24 C 4 + 24 C 3 + 24 C 2 + 24 C 1 + 24 C 0 = There are 1,271,626 combinations. In other words, 2 is 20.28 , and numerical data of 20 bits or more can be defined. In addition, the number of information division cells that can be arranged when the dark color area included in the light cell is 20% or less is 25/5 = 5, and the number of information division cells that can be arranged in one light cell is a maximum of five, the amount of information of the numerical data that can be defined, it is 24 C 5 + 24 C 4 + 24 C 3 + 24 C 2 + 24 C 1 + 24 combinations of C 0 = 55,455 ways. In other words, 2 15.76 , and numerical data of 15 bits or more can be defined. Figure? ? As shown in the above, printing is possible with a 600 DPI printer. Needless to say, you can print on a printing machine with a resolution higher than 600 DPI.

図89は、複合コードの一部を示した実施例であり、明色セルのみに情報分割セル、暗色セルのみに基準分割セルを配置して分割セルコードを形成している。図示しないが情報分割セルを暗色セルに、基準分割セルを明色セルに配置してもよい。読み取り装置は、暗色セルに配置した明色の基準分割セルを第1のコードから計算された暗色セル内の中央座標値周辺の連続する暗色領域から明色分割セルを容易に検索できる。読み取り装置は、第1のコードから計算された暗色セル内の中央座標値を使用しなくても、暗色領域が連続する領域に明色分割セルが存在するかを検索してもよい。   FIG. 89 shows an example showing a part of a composite code, in which an information division cell is arranged only in a light color cell and a reference division cell is arranged only in a dark color cell to form a division cell code. Although not shown, the information division cells may be arranged in dark cells and the reference division cells may be arranged in light cells. The reading device can easily search for the light color divided cells from the continuous dark color area around the central coordinate value in the dark cell calculated from the first code for the light color reference divided cells arranged in the dark cell. The reading device may search for the presence of the light-colored divided cells in the area where the dark color areas are continuous without using the central coordinate value in the dark color cells calculated from the first code.

図91は、第1のコードによってセルの中央として求められた座標位置がセルの本来の中央からずれている画像の例である。図91では、十印で示した位置が第1のコードでセルの中央として求められた座標位置であるが、セルの中央からずれていることが分かる。このずれた位置から、×印で示したセルの適正な中央座標値を求める方法を以下、説明する。読み取り装置は、先ず、暗色セルに配置した基準分割セルの位置を検索する。検索の方法としては、読み取り装置は、第1のコードで求められた暗色セルの中央座標値を起点に周辺の暗色セル内から所定の閾値を用いて、基準分割セルの濃淡度の高い領域を検索し、当該領域の中心位置を求め基準分割セルの中心座標値としてもよい。次に、読み取り装置は、基準分割セルの中心位置同士を上下・左右方向に仮想の直線で繋いで、その交点の座標値を明色セルの中央座標値とする。読み取り装置は、交点の存在しない明色セルには、他の上下・左右方向で取得した交点から、内挿または外挿して求めればよい。   FIG. 91 is an example of an image in which the coordinate position obtained as the center of the cell by the first code is shifted from the original center of the cell. In FIG. 91, the position indicated by a cross is the coordinate position obtained as the center of the cell by the first code, but it can be seen that it is deviated from the center of the cell. A method for obtaining an appropriate center coordinate value of the cell indicated by the x mark from the shifted position will be described below. The reading device first searches for the position of the reference divided cell arranged in the dark cell. As a search method, the reading device uses a predetermined threshold value from the surrounding dark cells starting from the central coordinate value of the dark cell obtained by the first code, and uses the predetermined threshold value as a starting point to search for a high-concentration region of the reference divided cell. A center position of the reference divided cell may be obtained by searching and obtaining the center position of the region. Next, the reading apparatus connects the center positions of the reference divided cells with virtual lines in the vertical and horizontal directions, and sets the coordinate value of the intersection as the central coordinate value of the light cell. The reading device may obtain a light cell without an intersection by interpolating or extrapolating from the intersection obtained in other vertical and horizontal directions.

図92は、第2のコードの向き(第2のコードの規則として、向きは第1のコードと同一のものとしてもよい)とセル中央位置P0からの距離と方向で設定される仮想点P1~P24を中心とした矩形のバウンディングボックスを情報分割セルのサイズの50%程度で示した図である。この仮想点は第2のコードの規則にしたがった情報分割セルの配置候補位置である。読み取り装置は、バウンディングボックス内に情報分割セルで示される所定率の暗色領域が含まれるか否かを判定して数値データを取得する。暗色領域の判定方法とバウンディングボックスの仕様は、図86から図88で説明した通りである。なお、明色セル中央にも暗色の基準分割セルを配置してもよい。読み取り装置は、暗色セルに配置した基準分割セルにより求まった明色セルの中央座標値近傍の暗色の分割セルを明色セルに配置した基準分割セルの位置として、基準分割セルの中心位置からの距離と方向で設定される仮想点P1~P24を中心とした矩形のバウンディングボックスとして数値データを取得してもよい。その場合は、明色セル内に配置できる情報分割セル数が1個減り、情報量が減ることになる。
本実施例では、1セルで多量の数値データが定義することができるが、セル中央の座標値が正確に求められることの他、所定のカメラの撮像解像度、印刷精度を確保しなければならない。それらが十分ではない場合は、誤認の発生率が高くなる。それを解消するには誤り訂正符号を多量に形成する必要があるが、大幅に情報量が減ることになる。図93では、図90の情報分割セル候補配置位置を上下左右に隣り合わないように12か所配置した実施例である。これにより、図94のバウンディングボックスで、本来、存在しない位置に情報分割セルを認識した場合は、エラーとする。エラーを認識できれば、誤り訂正符号が少なくて済み、データ格納量を増加することができる。さらに、図95〜図102のように、バウンディングボックスを移動して、本来、分割セルが存在しない位置に分割セルを認識しなくなれば、正しくバウンディングボックスが設定されたことになり、そこで数値データを取得すればよい。ここで得られたバウンディングボックスの移動量は他のセルでも使用できる。なお、図95〜図102のバウンディングボックスの移動は、さらに段階的に移動させてもよい。図90の情報分割セル候補配置位置は、情報分割セル候補配置位置が隣接しなければどのような配置でも構わない。
FIG. 92 shows a virtual point P1 set by the direction of the second code (as a rule of the second code, the direction may be the same as the first code), the distance from the cell center position P0, and the direction. FIG. 10 is a diagram showing a rectangular bounding box centered on P24 at about 50% of the size of the information division cell. This virtual point is an arrangement candidate position of the information division cell according to the rule of the second code. The reading apparatus determines whether or not a dark color area of a predetermined rate indicated by the information division cell is included in the bounding box, and acquires numerical data. The dark color region determination method and the bounding box specifications are as described with reference to FIGS. A dark reference division cell may also be arranged at the center of the light cell. The reading apparatus uses the dark divided cell near the central coordinate value of the light cell obtained by the reference divided cell arranged in the dark cell as the position of the reference divided cell arranged in the light cell from the center position of the reference divided cell. Numerical data may be acquired as a rectangular bounding box centered on the virtual points P1 to P24 set by the distance and direction. In this case, the number of information division cells that can be arranged in the light cell is reduced by 1, and the information amount is reduced.
In the present embodiment, a large amount of numerical data can be defined in one cell, but in addition to accurately obtaining the coordinate value at the center of the cell, it is necessary to ensure the imaging resolution and printing accuracy of a predetermined camera. If they are not sufficient, the incidence of false positives is high. To eliminate this, it is necessary to form a large amount of error correction codes, but the amount of information is greatly reduced. FIG. 93 is an embodiment in which the information division cell candidate arrangement positions of FIG. As a result, if an information division cell is recognized at a position that does not originally exist in the bounding box of FIG. 94, an error occurs. If the error can be recognized, the number of error correction codes can be reduced, and the data storage amount can be increased. Furthermore, as shown in FIGS. 95 to 102, if the bounding box is moved and the divided cell is not recognized at a position where the divided cell does not exist, the bounding box is correctly set. Get it. The movement amount of the bounding box obtained here can be used in other cells. Note that the bounding box in FIGS. 95 to 102 may be moved in stages. The information division cell candidate arrangement position in FIG. 90 may be any arrangement as long as the information division cell candidate arrangement positions are not adjacent to each other.

(複合コード生成処理)
実施形態10における複合コード生成処理は、セルに基準点が設定される点を除いて、実施形態1から実施形態9と同様である。したがって、実施形態10における複合コード生成処理は、図47、図49、図51、図53、図55、図57、図59で例示した処理がそのまま踏襲される。ただし、これらの処理において、管理サーバMS1等は、望ましいセル(すなわち、基準点を設定すべきセル)に基準点を設定すればよい。管理サーバMS1等は、例えば、第2のコードの生成時に、第2のコード内に基準点を含めればよい。
(Composite code generation process)
The composite code generation process in the tenth embodiment is the same as that in the first to ninth embodiments except that a reference point is set in a cell. Therefore, the composite code generation processing according to the tenth embodiment follows the processing illustrated in FIGS. 47, 49, 51, 53, 55, 57, and 59 as it is. However, in these processes, management server MS1 etc. should just set a reference point to a desirable cell (namely, cell which should set a reference point). For example, the management server MS1 or the like may include a reference point in the second code when the second code is generated.

<バウンディングボックスの設定>
セル中央座標値が正確に求まると、数値データを取得するためのバウンディングボックスを正確に設定する必要がある。図64のように、バウンディングボックスの中心となる仮想点P1〜P8は、セル中央位置P0からの距離と方向による幾何学的配置関係により定義される。この幾何学的配置関係は、複合コード読取り装置の記憶媒体や第2のコードから数値データを取得するソフトウェアに記録される。一方、図103では、図61の複合コードの左上の明色セルに示したように、所定の位置のセル内に複数の基準ドットでセル中央位置P0と仮想点P8による幾何学的配置関係(基準パターン)を形成して認識してもよい。これにより、複合コードをカメラで撮像した画像から直接、基準パターンを取得することができ、より正確にバウンディングボックスを設定でき、数値データを取得することができる。図示しないが、基準パターンは暗色セル(明色基準ドット)でも明暗色の両方に形成してもよい。第1のコードがQRコードの場合では、位置検出パターン(ファインダパターン)やタイミングパターン、アライメントパターン、フォーマット情報が形成される所定のセルに配置してもよい。ここで、セルサイズが0.3×0.3mmの場合、ドットの直径を0.045mmとすると、ドットがセル内に占める割合は、π×(0.045/2)×9/(0.3×0.3)=0.159(15.9%)となり20%以下であり、QRコードの読取りには全く支障がない。しかし、QRコード最小のセルサイズの0.169×0.169mmの場合では、ドットがセル内に占める割合は33%を超えてしまい、QRコードの読取りに支障をきたす。その場合は、基準パターンを上下方向の仮想点と斜め方向の仮想点に分けて、図104のように、図74の複合コードの右上の1段目と2段目の暗色セルにそれぞれ5個の基準ドットにより2種のパターンを形成すればよい。これにより、ドットがセル内に占める割合は、π×(0.045/2)×5/(0.169×0.169)=0.278(27.8%)となり33%以下であり、QRコードの読取りには支障がない。この2種のパターンを合成して基準パターンとして使用すればよい。もちろん、基準パターンを3種以上に分解して複数のセルにパターンを形成してもよいし、暗色セル(明色基準ドット)または明色セル(暗色基準ドット)の少なくともいずれかに配置してもよい。これらの複数の異なるパターンをそれぞれ独立した基準パターンとして、それぞれに対応する異なる配置パターンの情報ドットが形成されたセルに対して、対応するバウンディングボックスを設定して数値データを取得してもよい。
<Setting the bounding box>
When the cell center coordinate value is accurately obtained, it is necessary to accurately set a bounding box for obtaining numerical data. As shown in FIG. 64, the virtual points P1 to P8 that are the center of the bounding box are defined by the geometrical arrangement relationship depending on the distance and direction from the cell center position P0. This geometrical relationship is recorded in software that acquires numerical data from the storage medium of the composite code reader or the second code. On the other hand, in FIG. 103, as shown in the light cell at the upper left of the composite code in FIG. A reference pattern) may be formed and recognized. Thus, the reference pattern can be acquired directly from the image obtained by capturing the composite code with the camera, the bounding box can be set more accurately, and the numerical data can be acquired. Although not shown, the reference pattern may be formed in both dark cells (bright reference dots) or bright and dark colors. When the first code is a QR code, it may be arranged in a predetermined cell where a position detection pattern (finder pattern), timing pattern, alignment pattern, and format information are formed. Here, when the cell size is 0.3 × 0.3 mm and the dot diameter is 0.045 mm, the ratio of the dot in the cell is π × (0.045 / 2) 2 × 9 / (0 .3 × 0.3) = 0.159 (15.9%), which is 20% or less, and there is no problem in reading the QR code. However, in the case of 0.169 × 0.169 mm, which is the smallest cell size of the QR code, the proportion of dots in the cell exceeds 33%, which impedes the reading of the QR code. In that case, the reference pattern is divided into virtual points in the vertical direction and virtual points in the oblique direction, and as shown in FIG. 104, there are 5 each in the first and second dark cells in the upper right of the composite code in FIG. Two types of patterns may be formed using the reference dots. As a result, the proportion of dots in the cell is π × (0.045 / 2) 2 × 5 / (0.169 × 0.169) = 0.278 (27.8%), which is 33% or less. There is no problem in reading the QR code. These two types of patterns may be combined and used as a reference pattern. Of course, the reference pattern may be decomposed into three or more types to form a pattern in a plurality of cells, or arranged in at least one of a dark color cell (light color reference dot) or a light color cell (dark color reference dot). Also good. These plural different patterns may be used as independent reference patterns, and numerical data may be acquired by setting corresponding bounding boxes for cells in which information dots having different arrangement patterns corresponding to the respective patterns are formed.

図105では、図77の複合コードに基準パターンを形成した実施例であるが、情報ドットが配置される明色セルには中央にドットが配置されていないため、基準パターンを容易に認識できる。また、明色の基準ドットが中央に配置される暗色セルに基準パターンを形成する場合、基準ドットの数で基準パターンを容易に認識できる。なお、基準パターンは暗色セル(明色基準ドット)でも明暗色の両方に形成してもよい。   FIG. 105 shows an example in which a reference pattern is formed on the composite code of FIG. 77, but since the dot is not arranged at the center of the light cell in which the information dot is arranged, the reference pattern can be easily recognized. Further, when a reference pattern is formed in a dark cell in which a bright reference dot is arranged at the center, the reference pattern can be easily recognized by the number of reference dots. The reference pattern may be formed in both dark cells (bright color reference dots) or bright and dark colors.

図106では、図80の複合コードの明色および/または暗色のセルの所定間隔毎に基準パターンを複数配置した実施例である。これにより、QRコードが変形して撮像されて領域毎に変形の度合いが変化しても、撮像した複数の基準パターンで、その周辺のセルに形成される第2のコードのバウンディングボックスを設定すれば、より正確に数値データを取得することができる。本実施例では、数値データを定義する情報ドットは、セルの中央位置P0が正確に取得できることから中央の基準ドットを配置していないため、基準パターンを容易に認識できる。基準ドットを配置する場合は、予め定められた配置のセルに形成すればよい。なお、図61〜図78および図79〜図92のいずれの実施例でもセルの所定間隔毎に基準パターンを複数配置してもよい。   FIG. 106 is an example in which a plurality of reference patterns are arranged at predetermined intervals of light and / or dark cells of the composite code of FIG. As a result, even if the QR code is deformed and imaged and the degree of deformation changes for each region, the bounding box of the second code formed in the surrounding cells can be set with the plurality of imaged reference patterns. Thus, it is possible to acquire numerical data more accurately. In this embodiment, the information dot defining the numerical data can be easily recognized since the center reference dot is not arranged because the center position P0 of the cell can be obtained accurately. When the reference dots are arranged, they may be formed in cells having a predetermined arrangement. In any of the embodiments of FIGS. 61 to 78 and FIGS. 79 to 92, a plurality of reference patterns may be arranged at predetermined intervals of cells.

図107では、図83の複合コードに周辺が暗色セル(または明色セル)で囲まれた暗色セル(または明色セル)内に、図84の中心位置がP0となる明色(または暗色)の基準ドットと、中心位置がP2,P5,P8,P11となる明色(または暗色)の基準分割セルによる基準パターンを形成した実施例である。P2,P5,P8,P11の中心座標値を取得することによりP1,P3,P4,P6,P7,P12の中心位置を補間計算して、仮想点P1〜P12を中心とするバウンディングボックスが設定できる。また、中央の基準ドットを基準分割セルに代えて、図87の複合コードにおいて、同様に基準パターンを形成してもよい。さらに、この基準パターンを形成する基準ドットおよび/または基準分割セルの大きさを同一または認識し易い大きさとし、間隔のみを所定倍数を掛けて形成(相似拡大)し、それらの中心座標値を取得した後に、当該間隔を所定数で除すること(相似縮小)により適切な配置の基準パターンを取得して、セル中央位置からの距離と方向によるバウンディングボックスの中心となる仮想点との幾何学的配置関係を高精度で取得することができる。なお、図61〜図78,図89から図92のいずれの実施例でも同様な形態が可能であることは言うまでもない。   In FIG. 107, in the dark cell (or light cell) surrounded by dark cells (or light cells) in the composite code of FIG. 83, the light color (or dark color) whose center position is P0 in FIG. This is an example in which a reference pattern is formed by the reference dots and the bright (or dark) reference divided cells whose center positions are P2, P5, P8, and P11. By obtaining the central coordinate values of P2, P5, P8, and P11, the center positions of P1, P3, P4, P6, P7, and P12 can be interpolated to set a bounding box centered on virtual points P1 to P12. . Further, instead of the reference dot at the center, the reference divided cell may be formed similarly in the composite code of FIG. Furthermore, the size of the reference dots and / or reference divided cells forming this reference pattern is the same or easily recognizable, and only the interval is multiplied by a predetermined multiple (similar enlargement) to obtain the center coordinate value thereof. After that, by dividing the interval by a predetermined number (similar reduction), a reference pattern with an appropriate arrangement is obtained, and the geometrical point with the virtual point that becomes the center of the bounding box according to the distance and direction from the cell center position The positional relationship can be acquired with high accuracy. Needless to say, any of the embodiments shown in FIGS. 61 to 78 and FIGS. 89 to 92 can have the same configuration.

図108では、図91の復号パターンの右上の1段目と2段目の暗色セルにそれぞれ5個の明色の基準分割セルにより2種のパターンを形成した実施例である。右上1段目のパターンには中央と上下・左右方向に基準分割セルが形成され、右上2段目のパターンには中央と斜め方向に基準分割セルが形成されている。先ず、右上1段目のパターンの中央と上下方向に形成された基準分割セルに対しては、図70のように、走査線方向に2値化処理を行い、左右方向に形成された基準分割セルに対しては、垂直方向に2値化処理を行い、図92に示すP10,P14,P18,P22の基準分割セルの中心座標値を求めた後、中央の基準分割セルの中心座標値P0から十字方向の4個の基準分割セルの中心座標値に向かって直交する2本の直線を2等分するP0を通る2本の斜線によって4方向を求める。次に、右上2段目のパターンの中央と斜め方向に形成された基準分割セルに対しては、中央の基準分割セルの中心座標値P0から、右上1段目のパターンで求められた斜め4方向で2値化処理を行い、P12,P16,P20,P24それぞれの基準分割セルの中心座標値を求める。最後に、この2種のパターンを合成して、P0およびP10,P12,P14,P16,P18,P20,P22,P24を基に補間して、P1〜P8,P9,P11,P13,P15,P17,P19,P21,P23を求めて基準パターンとして、バウンディングボックスを設定し数値データを取得すればよい。なお、上記の2値化処理はどのような方法を用いてもよいし、基準パターンを形成するパターンは暗色セル(明色基準分割セル)または明色セル(暗色基準分割セル)の少なくともいずれかに配置してもよい。ここで、基準パターンを形成するパターンの基準分割セルがセル内に占める割合は、セルサイズが0.212×0.212mmの場合、分割セルの辺長を0.045mmとすると、0.045×5/(0.212×0.212)=0.225(22.5%)となり33%以下であり、QRコードの読取りには支障がない。 FIG. 108 is an embodiment in which two types of patterns are formed by five light-colored reference divided cells in the first and second dark cells at the upper right of the decoding pattern of FIG. In the upper right first stage pattern, reference divided cells are formed in the center and in the vertical and horizontal directions, and in the upper right second stage pattern, reference divided cells are formed in the center and diagonal directions. First, as shown in FIG. 70, binarization processing is performed on the center of the upper right first stage pattern and the reference division cell in the vertical direction, and the reference division formed in the horizontal direction is performed. The cells are binarized in the vertical direction to obtain the center coordinate values of the reference divided cells P10, P14, P18, and P22 shown in FIG. 4 directions are obtained by two diagonal lines passing through P0 that bisects two straight lines orthogonal to the center coordinate value of the four reference divided cells in the cross direction. Next, for the reference divided cells formed in the diagonal direction with respect to the center of the upper right second stage pattern, the diagonal 4 obtained by the upper right first stage pattern from the center coordinate value P0 of the central reference divided cell. Binarization processing is performed in the direction, and the central coordinate values of the reference divided cells of P12, P16, P20, and P24 are obtained. Finally, these two patterns are synthesized and interpolated based on P0 and P10, P12, P14, P16, P18, P20, P22, and P24, and P1 to P8, P9, P11, P13, P15, and P17. , P19, P21, and P23 are obtained as a reference pattern, and a bounding box is set to obtain numerical data. Note that any method may be used for the above binarization processing, and the pattern forming the reference pattern is at least one of a dark cell (light color reference divided cell) and a light color cell (dark color reference divided cell). You may arrange in. Here, the ratio of the reference divided cells of the pattern forming the reference pattern in the cell is 0.045 2 when the side length of the divided cell is 0.045 mm when the cell size is 0.212 × 0.212 mm. × 5 / (0.212 × 0.212) = 0.225 (22.5%), which is 33% or less, and there is no problem in reading the QR code.

以上、QRコードが形成された媒体面に対してカメラの光軸が垂直でない場合(カメラが媒体に対して傾いている場合)や媒体が湾曲しているような場合では、QRコードが変形して撮像されるため補正はしているものの、正確なセル中央の座標値を取得できないため、正確なセル中央の座標値の取得とセル内に形成された基準パターンにより、セルに定義された数値データを誤認なく取得する方法を説明した。ここで、図74,図80,図91、または他の方法では、基準ドットまたは基準分割セルにより格子線を描くことができる。この格子線で囲まれた領域は、当該位置近傍のセルの大きさ・形状を表しており、セルの変形状況を、セル中央位置からの距離と方向によるバウンディングボックスの中心となる仮想点との幾何学的配置関係に反映させてバウンディングボックスの配置を補正し、当該位置近傍の情報ドットや情報分割セルの認識に用いてもよい。これにより、QRコードが変形して撮像されて領域毎に変形の度合いが変化しても領域毎に格子の形状による補正であり、複合コードに基準パターンを形成することなく、複合コード読取り装置の記憶媒体や第2のコードから数値データを取得するソフトウェアに記録され幾何学的配置関係を用いて補正すればよい。なお、格子線によるバウンディングボックスの配置の補正は、他の実施例と組み合わせて使用してもよい。さらに、格子線を生成する手段として、明暗のセルの境界を検出して、その境界に沿って格子線を引いてもよい。ただし、印刷の精度やQRコードを撮影した際の撮像画像が回転・変形していると、明暗を示すピクセルの境界部分が凸凹になってしまうため、それらを平滑化または平均化して格子線を形成した方が望ましい。   As described above, when the optical axis of the camera is not perpendicular to the medium surface on which the QR code is formed (when the camera is tilted with respect to the medium) or when the medium is curved, the QR code is deformed. However, since the accurate coordinate value of the center of the cell cannot be obtained, the numerical value defined for the cell is obtained by obtaining the accurate coordinate value of the center of the cell and the reference pattern formed in the cell. Explained how to acquire data without misunderstanding. Here, in FIG. 74, FIG. 80, FIG. 91, or other methods, a grid line can be drawn by reference dots or reference divided cells. The area surrounded by the grid lines represents the size and shape of the cell in the vicinity of the position, and the deformation state of the cell is expressed by the distance from the center position of the cell and the virtual point that is the center of the bounding box. The arrangement of the bounding box may be corrected by reflecting it in the geometric arrangement relationship and used for recognition of information dots and information division cells in the vicinity of the position. As a result, even if the QR code is deformed and imaged and the degree of deformation changes for each region, the correction is performed by the shape of the lattice for each region, and the composite code reader of the composite code reader does not form a reference pattern on the composite code. What is necessary is just to correct | amend using the geometric arrangement relationship recorded on the software which acquires numerical data from a storage medium or a 2nd code | cord | chord. It should be noted that the correction of the arrangement of the bounding box by the grid lines may be used in combination with other embodiments. Further, as means for generating a grid line, a boundary between bright and dark cells may be detected, and the grid line may be drawn along the boundary. However, if the captured image when the printing accuracy or QR code is photographed is rotated or deformed, the boundary portion of pixels indicating light and dark becomes uneven, so that the grid lines are smoothed or averaged. It is desirable to form.

図示しないが、基準点を示すマークの形状、大きさ、色、向き、配置パターンの少なくともいずれか1つにより、基準点を示すマークが形成されたセルに数値データが定義されてもよい。   Although not shown, numerical data may be defined in the cell in which the mark indicating the reference point is formed by at least one of the shape, size, color, orientation, and arrangement pattern of the mark indicating the reference point.

<第2のコードの向きの設定>
第2のコードの数値データを取得する際には、第1のコードの向きを使用することを前提にした実施例を示してきた。しかし、QRコードが形成された媒体面に対してカメラの光軸が垂直でない場合(カメラが媒体に対して傾いている場合)や媒体が湾曲しているような場合では、QRコードが変形して撮像されて領域毎に変形の度合いが変化し、セル毎の向きも変化する可能性がある。また、第1のコードとは無関係に、第2のコードのみを取得する場合もある。そこで、第2のコード自身で向きを設定する実施例を説明する。
<Setting the direction of the second code>
In the case of obtaining numerical data of the second code, the embodiment has been shown on the assumption that the direction of the first code is used. However, when the optical axis of the camera is not perpendicular to the medium surface on which the QR code is formed (when the camera is tilted with respect to the medium) or when the medium is curved, the QR code is deformed. There is a possibility that the degree of deformation changes for each area and the direction for each cell also changes. In some cases, only the second code is acquired regardless of the first code. Therefore, an embodiment in which the direction is set by the second code itself will be described.

図109は、図74の復号コードの所定の基準ドットの上方にディレクションドットを加え、第2のコードの向きを設定した実施例である。ディレクションドットの配置は、予め第2のコードの向きとの対応関係を定めておけば、基準ドットに対してどの方向でもよい。ディレクションドットと基準ドットの識別は、セルの中心に有るか否か、または基準ドットを繋ぐことによって形成される格子線上に位置するか否かによって容易に判別できる。また、ディレクションドットは、どのように配置してもいいが、所定間隔で配置することにより、撮像されたQRコードの変形の度合いを反映させて、セルの向きを補正し、正確な数値データの取得を実現する。つまり、セルの向きに合わせて、セル中央位置からの距離と方向によるバウンディングボックスの中心となる仮想点との幾何学的配置関係を回転させてバウンディングボックスの配置を補正し、当該位置近傍の情報ドットや情報分割セルの認識に用いる。なお、上記のディレクションドットを形成したセル中央の基準ドットを削除してもよい。その場合、基準ドットを繋ぐことによって形成される格子線の交点より上方にディレクションドットが位置することによって、容易に向きを認識できる。また、セル内の所定の位置にディレクションドットを形成することにより、第2のコードの向きを設定してもよい。図示しないが、向きを認識できる3個以上のドットの配置によって向きを設定してもよい。さらに、向きの設定はディレクションドットに代えて分割セルを用いてもよいし、マークの形状によって向きを設定できるマークを用いてもよい。また、情報ドットや情報分割セルの形成において、向きを認識できる特定の配置を設定してもよい。   FIG. 109 is an embodiment in which direction dots are added above predetermined reference dots of the decoded code of FIG. 74 to set the direction of the second code. The direction dot may be arranged in any direction with respect to the reference dot as long as the correspondence with the direction of the second code is determined in advance. The direction dot and the reference dot can be easily discriminated by determining whether they are at the center of the cell or whether they are located on the grid line formed by connecting the reference dots. Direction dots can be arranged in any way, but by arranging them at predetermined intervals, the direction of the cell is corrected to reflect the degree of deformation of the captured QR code, and accurate numerical data Realize acquisition. In other words, according to the direction of the cell, by rotating the geometrical relationship with the virtual point that is the center of the bounding box according to the distance and direction from the center position of the cell, the placement of the bounding box is corrected, and the information near the position Used to recognize dots and information division cells. Note that the reference dot at the center of the cell in which the direction dot is formed may be deleted. In that case, since the direction dot is positioned above the intersection of the grid lines formed by connecting the reference dots, the direction can be easily recognized. Alternatively, the direction of the second code may be set by forming a direction dot at a predetermined position in the cell. Although not shown, the orientation may be set by arranging three or more dots whose orientation can be recognized. Furthermore, the orientation may be set by using divided cells instead of the direction dots, or by using a mark whose orientation can be set according to the shape of the mark. Further, in the formation of information dots and information division cells, a specific arrangement that can recognize the orientation may be set.

図110は、図104の復号コードに設けた基準パターンを構成する基準ドットの配置を変えて、第2のコードの向きを設定した実施例である。つまり、右上の1段目と2段目の暗色セルにそれぞれ5個の基準ドットで形成した2種のパターンは、いずれも非回転対称であり向きを設定できる。この2種のパターンを合成すると基準パターンが形成されることから、基準パターンに方向機能を付加した実施例となる。図109および図110の実施例は、明色、暗色セルの少なくともいずれかに形成することができ、他の実施例と組み合わせて使用できることは言うまでもない。   FIG. 110 is an example in which the orientation of the second code is set by changing the arrangement of the reference dots constituting the reference pattern provided in the decoded code of FIG. That is, the two types of patterns formed with five reference dots in the first and second dark cells in the upper right are both non-rotation symmetric and can be set in orientation. Since these two types of patterns are combined to form a reference pattern, an embodiment in which a direction function is added to the reference pattern is obtained. It is needless to say that the embodiments of FIGS. 109 and 110 can be formed in at least one of light and dark cells, and can be used in combination with other embodiments.

[コンピュータが読み取り可能な記録媒体]
コンピュータその他の機械、装置(以下、コンピュータ等)に上記いずれかの機能を実現させるプログラムをコンピュータ等が読み取り可能な記録媒体に記録することができる。そして、コンピュータ等に、この記録媒体のプログラムを読み込ませて実行させることにより、その機能を提供させることができる。
[Computer-readable recording medium]
A program for causing a computer or other machine or device (hereinafter, a computer or the like) to realize any of the above functions can be recorded on a recording medium that can be read by the computer or the like. The function can be provided by causing a computer or the like to read and execute the program of the recording medium.

ここで、コンピュータ等が読み取り可能な記録媒体とは、データやプログラム等の情報を電気的、磁気的、光学的、機械的、または化学的作用によって蓄積し、コンピュータ等から読み取ることができる記録媒体をいう。このような記録媒体のうちコンピュータ等から取り外し可能なものとしては、例えばフレキシブルディスク、光磁気ディスク、CD−ROM、CD−R/W、DVD、ブルーレイディスク、DAT、8mmテープ、フラッシュメモリなどのメモリカード等がある。また、コンピュータ等に固定された記録媒体としてハードディスク、ROM(リードオンリーメモリ)等がある。さらに、SSD(Solid State Drive)は、コンピュータ等から取り外し可能な記録媒体としても、コンピュータ等に固定された記録媒体としても利用可能である。   Here, a computer-readable recording medium is a recording medium that stores information such as data and programs by electrical, magnetic, optical, mechanical, or chemical action and can be read from a computer or the like. Say. Examples of such a recording medium that can be removed from a computer or the like include a flexible disk, a magneto-optical disk, a CD-ROM, a CD-R / W, a DVD, a Blu-ray disk, a DAT, an 8 mm tape, a flash memory, and the like. There are cards. In addition, as a recording medium fixed to a computer or the like, there are a hard disk, a ROM (read only memory), and the like. Further, an SSD (Solid State Drive) can be used as a recording medium removable from a computer or the like, or as a recording medium fixed to the computer or the like.

本発明にかかる複合コードによれば、第1のコードのみの場合に比べ、第1のコードの領域内に第2のコードを格納することにより、同じコード領域で多量の情報を格納することが可能になる。   According to the composite code of the present invention, it is possible to store a large amount of information in the same code area by storing the second code in the area of the first code, as compared with the case of only the first code. It becomes possible.

例えば、第1のコードがQRコードであり、第2のコードがドットコードである複合コードを印刷した場合には、QRコードのみを印刷した場合と比較して10倍以上、複合コードをスマートフォン等の画面に表示した場合には、ドットコードにカラー情報を付与し時間変化させることにより、QRコードの100倍以上の情報を格納することができる。   For example, when a composite code in which the first code is a QR code and the second code is a dot code is printed, the composite code is set to 10 times or more compared to the case in which only the QR code is printed. Displayed on the screen, it is possible to store information more than 100 times the QR code by adding color information to the dot code and changing the time.

多量の情報量を格納できることから、インターネットを使用せずとも、数千文字の和文や写真、音声情報等も格納でき、文書管理からエンターテーメント、教育、観光まで幅広く活用できる。   Since it can store a large amount of information, it can store thousands of Japanese characters, photos, audio information, etc. without using the Internet, and can be used in a wide range of applications from document management to entertainment, education, and tourism.

また、本発明にかかる複合コードは、各種の認証に用いることに適している。例えば、電子署名やURLの真贋判定を可能にするQRコードの印刷や、自身が保有するスマートフォンに自身の生体情報を格納したQRコードを表示し、相手方(装置も含む)が読み取ることにより本人確認等が容易にできる。   The composite code according to the present invention is suitable for use in various types of authentication. For example, printing a QR code that enables an electronic signature or URL authenticity determination, or displaying a QR code storing its own biometric information on its own smartphone and reading it by the other party (including the device) Etc. can be easily performed.

さらに、現在、QRコードは、その仕様を開示しているため、誰でも発行することが可能となっており、第三者が同一のコードを発行することができる。しかし、本発明にかかる複合コードでは、QRコード等に加えて、秘匿された新たなアルゴリズムでドットパコード等(第2のコード)が形成されるため、同一のコードが発行される可能性は極めて低く、ユニークな複合コードを発行することが可能となり、極めてセキュリティ性が高い。さらに、QRコードは複写や模倣が容易であり、QRコードに格納された情報を、意図せぬ第三者に取得されてしまう可能性がある。しかし、複合コードパターンでは、第2のコードは目視しにくく、模倣も困難である。   Furthermore, since the QR code currently discloses its specifications, anyone can issue it, and a third party can issue the same code. However, in the composite code according to the present invention, the dot code or the like (second code) is formed by a new secret algorithm in addition to the QR code or the like. It is extremely low and it is possible to issue a unique composite code, which is extremely secure. Furthermore, the QR code can be easily copied and imitated, and information stored in the QR code may be acquired by an unintended third party. However, in the composite code pattern, the second code is difficult to see and imitate.

以上のように、本発明にかかる複合コードは、従来の1次元および2次元コードでは実現できない多くの利点を有している。   As described above, the composite code according to the present invention has many advantages that cannot be realized by the conventional one-dimensional and two-dimensional codes.

<その他の態様>
本実施形態は、さらに以下の態様を含む。
<Other aspects>
The present embodiment further includes the following aspects.

(態様1)
識別可能な2以上の色のいずれかをそれぞれ有する複数のセルが配列形状に配置された第1のコードと、
前記配置されたセルのいずれか1以上の特定セル内で、それぞれの特定セルが有する色と識別可能な1以上のマークが配置された第2のコードと、を備えた複合コードパターンであって、
前記1以上のマークの少なくとも1つが、同一色のマークまたはセルと接触する配置が除外されている
複合コードパターン。
(Aspect 1)
A first code in which a plurality of cells each having one of two or more identifiable colors are arranged in an array shape;
A composite code pattern comprising: a second code in which at least one mark that can be distinguished from a color of each specific cell is arranged in any one or more of the arranged cells. ,
A composite code pattern in which an arrangement in which at least one of the one or more marks contacts a mark or cell of the same color is excluded.

(態様2)
前記マークが前記特定セル内に複数個配置される場合には、前記マーク同士が接触する配置が除外されている態様1に記載の複合コードパターン。
(Aspect 2)
The composite code pattern according to aspect 1, wherein when a plurality of the marks are arranged in the specific cell, an arrangement in which the marks are in contact with each other is excluded.

(態様3)
前記複数のセルのうちのいずれか1以上のセルには、基準点を示すマークが形成されている、態様1に記載の複合コードパターン。
(Aspect 3)
The composite code pattern according to aspect 1, wherein a mark indicating a reference point is formed in any one or more of the plurality of cells.

(態様4)
前記基準点を示すマークは、前記セルの中央に形成される、
態様3に記載の複合コードパターン。
(Aspect 4)
The mark indicating the reference point is formed in the center of the cell,
The composite code pattern according to aspect 3.

(態様5)
前記複数のセルのうちのいずれか1以上のセルには、前記第2のコードの向きを定義するマークがさらに形成される、
態様3または態様4に記載の複合コードパターン。
(Aspect 5)
In any one or more of the plurality of cells, a mark that defines the direction of the second code is further formed.
The composite code pattern according to aspect 3 or aspect 4.

(態様6)
前記第2のコードの向きを定義するマークは、
前記基準点を示すマークが形成される位置からずれて配置されるか、または、
前記基準点を示すマークに加えて、前記基準点を示すマークが形成される位置からずれた位置に配置される、
態様5に記載の複合コードパターン。
(Aspect 6)
The mark defining the direction of the second code is
Arranged to deviate from the position where the mark indicating the reference point is formed, or
In addition to the mark indicating the reference point, it is arranged at a position shifted from the position where the mark indicating the reference point is formed.
The composite code pattern according to aspect 5.

(態様7)
前記基準点を示すマークが形成されたセルのうちのいずれか1以上のセルにおける、2以上の前記基準点を示すマークの配置パターンによって前記第2のコードの向きが定義される、
態様3または態様4に記載の複合コードパターン。
(Aspect 7)
The direction of the second code is defined by an arrangement pattern of marks indicating two or more reference points in any one or more of the cells in which marks indicating the reference points are formed.
The composite code pattern according to aspect 3 or aspect 4.

(態様8)
前記基準点を示すマークが形成されたセルのうちのいずれか1以上のセルにおける、前記基準点を示すマークの形状によって前記第2のコードの向きが定義される、
態様3または態様4に記載の複合コードパターン。
(Aspect 8)
The direction of the second code is defined by the shape of the mark indicating the reference point in any one or more of the cells in which the mark indicating the reference point is formed.
The composite code pattern according to aspect 3 or aspect 4.

(態様9)
前記基準点を示すマークの形状、大きさ、色、向き、配置パターンの少なくともいずれか1つにより、前記基準点を示すマークが形成されたセルが有する前記数値データが定義される、態様3〜8のいずれかに記載の複合コードパターン。
(Aspect 9)
The numerical data included in the cell in which the mark indicating the reference point is formed is defined by at least one of the shape, size, color, orientation, and arrangement pattern of the mark indicating the reference point. 9. The composite code pattern according to any one of 8.

(態様10)
前記基準点を示すマークは、形状、色、大きさ、配置パターンによって、前記基準点以外のマークと識別される、態様3〜9のいずれかに記載の複合コードパターン。
(Aspect 10)
The composite code pattern according to any one of aspects 3 to 9, wherein the mark indicating the reference point is identified as a mark other than the reference point by a shape, a color, a size, and an arrangement pattern.

(態様11)
前記形状は、線分、多角形、または略円形である、態様10に記載の複合コードパターン。
(Aspect 11)
The composite code pattern according to aspect 10, wherein the shape is a line segment, a polygon, or a substantially circular shape.

(態様12)
前記1以上のマークの全ては、前記特定セルと前記特定セルに隣接する該マークの同一色であるセルとの境界に接触する配置が除外されている態様1または態様2のいずれかに記載の複合コードパターン。
(Aspect 12)
The arrangement according to any one of aspect 1 or aspect 2, wherein all of the one or more marks are excluded from contact with a boundary between the specific cell and a cell of the same color adjacent to the specific cell. Composite code pattern.

(態様13)
前記マークは、前記複合コードパターンを読み取る読み取り装置で前記特定セルが有する色と識別可能であり、かつ、前記第1のコードの読取りに障害のないマークであり、前記複数の特定セル内には、それぞれの特定セルにおける座標情報を有する位置に1以上の仮想点を任意に設定して、所定の生成方法により該仮想点を基にして前記マークを配置して数値データが定義された、態様1〜12のいずれかに記載の複合コードパターン。
(Aspect 13)
The mark is a mark that can be distinguished from the color of the specific cell by a reading device that reads the composite code pattern, and that does not interfere with the reading of the first code. A mode in which numerical data is defined by arbitrarily setting one or more virtual points at positions having coordinate information in each specific cell and arranging the marks based on the virtual points by a predetermined generation method. The composite code pattern according to any one of 1 to 12.

(態様14)
前記仮想点は、前記特定セルの中央に設定されている、
態様13記載の複合コードパターン。
(Aspect 14)
The virtual point is set at the center of the specific cell,
The composite code pattern according to aspect 13.

(態様15)
前記仮想点上に、基準点を示すマークが形成されている、
態様13または態様14記載の複合コードパターン。
(Aspect 15)
A mark indicating a reference point is formed on the virtual point.
The composite code pattern according to aspect 13 or aspect 14.

(態様16)
少なくとも1つの前記特定セルには、前記仮想点を基にして前記数値データが定義されるマークの配置候補位置に配置される複数のマークを含む、基準パターンが形成されている、
態様13〜15のいずれかに記載の複合コードパターン。
(Aspect 16)
At least one of the specific cells is formed with a reference pattern including a plurality of marks arranged at mark placement candidate positions where the numerical data is defined based on the virtual point.
The composite code pattern according to any one of aspects 13 to 15.

(態様17)
前記第1のコードの読取りに障害のないマークは、特定セル内のマークの面積の合計が、特定セルの面積に対して33%以内の比率である、
態様13〜16のいずれかに記載の複合コードパターン。
(Aspect 17)
The mark that does not obstruct the reading of the first code is such that the total area of the marks in the specific cell is within a ratio of 33% with respect to the area of the specific cell.
The composite code pattern according to any one of aspects 13 to 16.

(態様18)
前記第1のコードの読取りに障害のないマークは、前記特定セル内のマークの面積の合計が、前記特定セルの面積に対して20%以内の比率である、
態様13〜16のいずれかに記載の複合コードパターン。
(Aspect 18)
The mark that does not obstruct the reading of the first code is such that the total area of the marks in the specific cell is within a ratio of 20% with respect to the area of the specific cell.
The composite code pattern according to any one of aspects 13 to 16.

(態様19)
前記仮想点を起点として前記マークが配置される方向および距離の少なくとも1つにより、前記数値データの少なくとも一部が定義される、態様13に記載の複合コードパターン。
(Aspect 19)
The composite code pattern according to aspect 13, wherein at least a part of the numerical data is defined by at least one of a direction and a distance in which the mark is arranged starting from the virtual point.

(態様20)
前記特定セルには、前記マークの形状、色、前記仮想点を基にした前記マークの配置方法および配置の有無の少なくともいずれか1つにより、該特定セルが有する前記数値データの少なくとも一部が定義される、態様13に記載の複合コードパターン。
(Aspect 20)
The specific cell includes at least a part of the numerical data of the specific cell according to at least one of a mark shape, a color, an arrangement method of the mark based on the virtual point, and presence / absence of the arrangement. 14. A composite code pattern according to aspect 13, defined.

(態様21)
前記マークの色は、赤、緑、青、シアン、マゼンダ、黄、黒、白および前記特定セルが形成される領域の下地の色のいずれかを含む、態様13に記載の複合コードパターン。
(Aspect 21)
The composite code pattern according to aspect 13, wherein the color of the mark includes any one of red, green, blue, cyan, magenta, yellow, black, white, and a background color of a region where the specific cell is formed.

(態様22)
前記マークの形状はドットである、態様1〜21のいずれか1項に記載の複合コードパターン。
(Aspect 22)
The composite code pattern according to any one of aspects 1 to 21, wherein a shape of the mark is a dot.

(態様23)
前記マークの形状は、線分、多角形、または略円形である、態様1〜21のいずれか1項に記載の複合コードパターン。
(Aspect 23)
The composite code pattern according to any one of aspects 1 to 21, wherein a shape of the mark is a line segment, a polygon, or a substantially circular shape.

(態様24)
前記線分の方向および長さの少なくともいずれかによって前記数値データの一部が定義される、態様23記載の複合コードパターン。
(Aspect 24)
The composite code pattern according to aspect 23, wherein a part of the numerical data is defined by at least one of a direction and a length of the line segment.

(態様25)
前記線分中のいずれかの位置を前記仮想点上に配置することによって前記数値データの一部が定義される、態様23または24に記載の複合コードパターン。
(Aspect 25)
25. The composite code pattern according to aspect 23 or 24, wherein a part of the numerical data is defined by arranging any position in the line segment on the virtual point.

(態様26)
前記第1のコードは、バーコード、QRコード、カラーコード、DataMatrix、PDF417のいずれかを含むコードである、態様1〜25のいずれかに記載の複合コードパターン。
(Aspect 26)
The composite code pattern according to any one of aspects 1 to 25, wherein the first code is a code including any one of a bar code, a QR code, a color code, DataMatrix, and PDF417.

(態様27)
前記セルは、暗色のセルと明色のセルを含み、
暗色のセルには明色のマークが配置されるか、明色のセルには暗色のマークが配置されるかの、少なくともいずれかである、態様1〜26のいずれかに記載の複合コードパターン。
(Aspect 27)
The cells include dark cells and light cells,
27. The composite code pattern according to any one of aspects 1 to 26, wherein a light color mark is arranged in a dark cell or a dark color mark is arranged in a light cell. .

(態様28)
前記複合コードパターンは、媒体に印刷または刻印されるか、または、電子媒体、放送媒体、記憶媒体または通信媒体からの出力により表示装置に表示される、態様1〜27のいずれかに記載の複合コードパターン。
(Aspect 28)
The composite code pattern according to any one of aspects 1 to 27, wherein the composite code pattern is printed or stamped on a medium, or displayed on a display device by output from an electronic medium, a broadcast medium, a storage medium, or a communication medium. Code pattern.

(態様29)
前記複合コードパターンは、第1のコードおよび第2のコードの少なくとも一方が複数の時間毎の要素データで形成される時系列データとして表示装置に表示される、
態様1〜28記載の複合コードパターン。
(Aspect 29)
The composite code pattern is displayed on the display device as time-series data in which at least one of the first code and the second code is formed by a plurality of element data for each time.
29. The composite code pattern according to aspects 1 to 28.

(態様30)
前記要素データの間には、非表示の所定時間を含む、
態様28または態様29のいずれかに記載の複合コードパターン。
(Aspect 30)
Between the element data includes a predetermined non-display time,
The composite code pattern according to either aspect 28 or aspect 29.

(態様31)
識別可能な2以上の色のいずれかをそれぞれ有する複数のセルが配列形状に配置された第1のコードと、
前記配置されたセルのいずれか1以上の特定セル内で、それぞれの特定セルが有する色と識別可能な1以上のマークが配置された第2のコードと、を備えた複合コードパターンであって、
前記第1のコードおよび前記第2のコードの少なくとも一方に設けられる特定領域には、前記第1のコードおよび前記第2のコードのうちの少なくとも一方のコードのうちの該記特定領域を除いた領域の少なくとも一部に対応する特定情報を含む複合コードパターン。
(Aspect 31)
A first code in which a plurality of cells each having one of two or more identifiable colors are arranged in an array shape;
A composite code pattern comprising: a second code in which at least one mark that can be distinguished from a color of each specific cell is arranged in any one or more of the arranged cells. ,
The specific area provided in at least one of the first code and the second code excludes the specific area of at least one of the first code and the second code. A composite code pattern including specific information corresponding to at least a part of an area.

(態様32)
態様1〜30記載の前記マークの少なくとも一つが形成されている態様23に記載の複合コードパターン。
(Aspect 32)
The composite code pattern according to aspect 23, wherein at least one of the marks according to aspects 1 to 30 is formed.

(態様33)
第1のコードと、
前記第1のコードが配置された範囲の少なくとも一部に重畳して、前記第1のコードと識別可能な1以上のマークが配置された第2のコードと、を備えた複合コードパターンであって、
前記第1のコードおよび前記第2のコードの少なくとも一方に設けられる特定領域には、前記第1のコードおよび前記第2のコードのうちの少なくとも一方のコードのうちの該記特定領域を除いた少なくとも一部に対応する特定情報を含む複合コードパターン。
(Aspect 33)
A first code;
A composite code pattern comprising: a second code on which at least one mark identifiable from the first code is arranged so as to overlap at least a part of a range in which the first code is arranged. And
The specific area provided in at least one of the first code and the second code excludes the specific area of at least one of the first code and the second code. A composite code pattern including specific information corresponding to at least a part.

(態様34)
前記第1のコードが配置された範囲の少なくとも一部に重畳して、前記第2のコードと、を備えた、態様31または態様32のいずれかに記載の複合コードパターン。
(Aspect 34)
33. The composite code pattern according to any one of aspects 31 and 32, comprising: the second code superimposed on at least a part of a range where the first code is arranged.

(態様35)
前記特定領域を除いた領域の少なくとも一部には、テキストおよび静止画像、動画、プログラムの少なくともいずれかの情報を含む、態様31〜34のいずれかに記載の複合コードパターン。
(Aspect 35)
The composite code pattern according to any one of aspects 31 to 34, wherein at least a part of the area excluding the specific area includes information on at least one of text, still images, moving images, and programs.

(態様36)
前記特定領域を除いた領域の少なくとも一部には、個人を特定する情報を含む、態様31〜態様34のいずれかに記載の複合コードパターン。
(Aspect 36)
The composite code pattern according to any one of aspects 31 to 34, wherein at least a part of the area excluding the specific area includes information for specifying an individual.

(態様37)
前記個人を特定する情報は、少なくとも氏名、性別、生年月日、住所、戸籍、生体情報のいずれかに関する情報を含む、態様36に記載の複合コードパターン。
(Aspect 37)
The composite code pattern according to aspect 36, wherein the information for identifying the individual includes at least information on any of name, sex, date of birth, address, family register, and biometric information.

(態様38)
前記特定情報は、前記特定領域を除いた少なくとも一部を符号化手段により符号化した符号化情報である、態様31〜37のいずれかに記載の複合コードパターン。
(Aspect 38)
38. The composite code pattern according to any one of aspects 31 to 37, wherein the specific information is encoded information obtained by encoding at least a part excluding the specific area by an encoding unit.

(態様39)
前記特定情報は、前記符号化情報が、暗号化手段により暗号化された暗号化情報である、態様38に記載の複合コードパターン。
(Aspect 39)
39. The composite code pattern according to aspect 38, wherein the specific information is encrypted information obtained by encrypting the encoded information by an encryption unit.

(態様40)
前記暗号化情報は、復号化手段により、前記符号化情報に復号できる、態様39に記載の複合コードパターン。
(Aspect 40)
40. The composite code pattern according to aspect 39, wherein the encryption information can be decrypted into the encoded information by a decrypting means.

(態様41)
前記特定領域を除いた少なくとも一部には、情報処理装置に前記復号化手段として実行させるためのプログラムが含まれる、態様40に記載の複合コードパターン。
(Aspect 41)
41. The composite code pattern according to aspect 40, wherein a program for causing an information processing apparatus to execute as the decoding unit is included in at least a part excluding the specific area.

(態様42)
前記暗号化情報は、前記暗号化手段で秘密鍵を用いて符号化情報を暗号化した情報であり、
前記復号化手段は、公開鍵を用いて前記暗号化情報を復号化する、
態様40または態様41のいずれかに記載の複合コードパターン。
(Aspect 42)
The encrypted information is information obtained by encrypting encoded information using a secret key by the encryption means,
The decryption means decrypts the encrypted information using a public key;
The composite code pattern according to any one of aspects 40 and 41.

(態様43)
前記符号化手段はハッシュ関数であり、
前記ハッシュ関数により符号化した符号化情報はハッシュ値であり、
前記暗号化手段により暗号化された暗号化情報は暗号化されたハッシュ値であり、
前記暗号化されたハッシュ値は、前記復号化手段により前記ハッシュ値に復号できる、態様39〜42のいずれかに記載の複合コードパターン。
(Aspect 43)
The encoding means is a hash function;
The encoded information encoded by the hash function is a hash value,
The encryption information encrypted by the encryption means is an encrypted hash value,
The composite code pattern according to any one of aspects 39 to 42, wherein the encrypted hash value can be decrypted into the hash value by the decryption means.

(態様44)
前記特定情報は、前記少なくとも一方のコードのうちの前記特定領域を除いた少なくとも一部が表す情報または前記符号化情報を基に電子署名手段によって作成された電子署名情報であり、前記電子署名情報は、検証手段により前記少なくとも一方のコードのうちの前記特定領域を除いた少なくとも一部が表す情報と所定の関係にあることが検証可能である、態様38に記載の複合コードパターン。
(Aspect 44)
The specific information is information represented by at least a part of the at least one code excluding the specific area or electronic signature information created by an electronic signature unit based on the encoded information, and the electronic signature information Is a composite code pattern according to aspect 38, which can be verified by the verification means to have a predetermined relationship with information represented by at least a part of the at least one code excluding the specific area.

(態様45)
前記複合コードパターンには、所定の位置に、該複合コードパターンを明示するための前記マーク、グラフィックスまたはテキストの少なくともいずれかが、前記第1のコードの内部に形成された態様31〜44のいずれかに記載の複合コードパターン。
(Aspect 45)
In the composite code pattern, at least one of the mark, graphics, or text for clearly indicating the composite code pattern is formed in a predetermined position in the first code. The composite code pattern according to any one of the above.

(態様46)
態様1〜45のいずれかに記載の復号コードパターンが形成された媒体。
(Aspect 46)
A medium on which the decoding code pattern according to any one of aspects 1 to 45 is formed.

(態様47)
前記特定領域を除いた少なくとも一部は、前記媒体上に形成された文字および画像の少なくとも一つに対応する情報をコード化したものであり、該情報の近傍または内部に前記複合コードパターンが形成された態様46に記載の媒体。
(Aspect 47)
At least a portion excluding the specific area is obtained by encoding information corresponding to at least one of a character and an image formed on the medium, and the composite code pattern is formed in the vicinity of or inside the information. 46. A medium according to embodiment 46.

(態様48)
態様1〜45のいずれかに記載の複合コードパターンに含まれる、前記第1のコードを取得する第1の取得手段と、
前記第2のコードを取得する第2の取得手段と、を備える、複合コードパターン読取り装置。
(Aspect 48)
First acquisition means for acquiring the first code included in the composite code pattern according to any one of aspects 1 to 45;
A composite code pattern reading apparatus comprising: a second acquisition unit configured to acquire the second code.

(態様49)
前記第1の取得手段は、前記第2の取得手段を含み、前記第1のコードと前記第2のコードを取得する、
態様48記載の複合コードパターン読取り装置。
(Aspect 49)
The first acquisition means includes the second acquisition means, and acquires the first code and the second code.
The composite code pattern reading device according to aspect 48.

(態様50)
態様3〜10のいずれかに記載の前記基準点を示すマークを基準に、前記第2のコードが取得される、
態様48または態様49のいずれかに記載の複合コードパターン読取り装置。
(Aspect 50)
The second code is acquired based on the mark indicating the reference point according to any one of aspects 3 to 10.
The composite code pattern reading device according to any one of aspects 48 and 49.

(態様51)
前記基準点を示すマークは、前記複数のセルのうちのいずれか1以上のセルの中央に形成され、
前記第1の取得手段で取得した前記セルの中心座標値を、前記第2の取得手段で取得した前記基準点の座標値に基づいて補正する、
態様50に記載の複合コードパターン読取り装置。
(Aspect 51)
The mark indicating the reference point is formed in the center of any one or more of the plurality of cells,
Correcting the center coordinate value of the cell acquired by the first acquisition unit based on the coordinate value of the reference point acquired by the second acquisition unit;
The composite code pattern reading device according to aspect 50.

(態様52)
態様16記載の前記仮想点および前記基準パターンを形成するマークを用いて、
前記数値データが定義されるマークの配置候補位置を補正する、
態様50に記載の複合コードパターン読取り装置。
(Aspect 52)
Using the virtual point according to aspect 16 and the mark forming the reference pattern,
Correcting the mark placement candidate position in which the numerical data is defined;
The composite code pattern reading device according to aspect 50.

(態様53)
前記第1のコードおよび前記第2のコードの少なくとも一方には、個人を特定する情報を含み、
前記個人を特定する情報は、少なくとも氏名、性別、生年月日、住所、戸籍、生体情報のいずれかに関する情報である、態様49〜52のいずれかに記載の複合コードパターン読取り装置。
(Aspect 53)
At least one of the first code and the second code includes information for identifying an individual,
53. The composite code pattern reading device according to any one of aspects 49 to 52, wherein the information for identifying an individual is information related to at least one of name, sex, date of birth, address, family register, and biological information.

(態様54)
生体情報を取得する第三の取得手段と、
前記第三の取得手段で取得した生体情報と、前記個人を特定する情報と照合して、その正否を出力する出力手段と、を備える態様44に記載の複合コードパターン読取り装置。
(Aspect 54)
A third acquisition means for acquiring biological information;
45. The composite code pattern reading device according to aspect 44, comprising: biometric information acquired by the third acquisition means; and output means for collating the information for identifying the individual and outputting the correctness.

(態様55)
前記第一の取得手段、前記第二の取得手段、前記第三の取得手段および前記出力手段の少なくとも一つは、1または複数のプロセッサーの処理によって機能する、
態様53記載の複合コードパターン読取り装置。
(Aspect 55)
At least one of the first acquisition unit, the second acquisition unit, the third acquisition unit, and the output unit functions by processing of one or more processors.
56. The composite code pattern reading device according to aspect 53.

(態様56)
前記符号化手段と同一の符号化が可能な第2の符号化手段を備え、
前記特定領域を除いた少なくとも一部を、前記第2の符号化手段により第2の符号化情報に符号化する、態様49〜55のいずれかに記載の複合コードパターン読取り装置。
(Aspect 56)
A second encoding means capable of performing the same encoding as the encoding means;
The composite code pattern reading device according to any one of aspects 49 to 55, wherein at least a part excluding the specific region is encoded into second encoded information by the second encoding means.

(態様57)
復号化手段を備え、
前記暗号化情報を、前記復号化手段により、前記暗号化された符号化情報を前記暗号化される前の符号化情報に復号する、態様49〜56のいずれかに記載の複合コードパターン読取り装置。
(Aspect 57)
Comprising decryption means,
The composite code pattern reading device according to any one of aspects 49 to 56, wherein the encrypted information is decrypted by the decrypting means into the encoded information before the encryption. .

(態様58)
公開鍵を有し、
前記暗号化情報は、前記暗号化手段で秘密鍵を用いて符号化情報を暗号化した情報であり、
前記復号化手段は、前記公開鍵を用いて前記暗号化情報を復号化する、
態様57に記載の複合コードパターン読取り装置。
(Aspect 58)
Have a public key,
The encrypted information is information obtained by encrypting encoded information using a secret key by the encryption means,
The decryption means decrypts the encrypted information using the public key;
58. The composite code pattern reading device according to aspect 57.

(態様59)
前記第2の符号化手段で符号化した第2の符号化情報と、
前記復号化手段で復号した符号化情報と、を照合して前記特定コードの正否を判定する、態様57〜58のいずれかに記載の複合コードパターン読取り装置。
(Aspect 59)
Second encoded information encoded by the second encoding means;
The composite code pattern reading device according to any one of aspects 57 to 58, wherein the coding information decoded by the decoding unit is collated to determine whether the specific code is correct or not.

(態様60)
コンピュータが、識別可能な2以上の色のいずれかをそれぞれ有する複数のセルが配列形状に配置された第1のコードを生成する第1の生成ステップと、
前記配置されたセルのいずれか1以上の特定セル内で、それぞれの特定セルが有する色と識別可能な1以上のマークが配置された第2のコードを生成する第2の生成ステップと、を実行し、
態様1〜45のいずれかに記載の複合コードパターンを生成する、複合コードパターン生成方法。
(Aspect 60)
A first generation step in which a computer generates a first code in which a plurality of cells each having one of two or more identifiable colors are arranged in an array;
A second generation step of generating a second code in which one or more marks that can be distinguished from the color of each specific cell are arranged in any one or more of the arranged cells; and Run,
The composite code pattern generation method which produces | generates the composite code pattern in any one of aspects 1-45.

(態様61)
コンピュータが、識別可能な2以上の色のいずれかをそれぞれ有する複数のセルが配列形状に配置された第1のコードから数値データを取得し、
前記配置されたセルのいずれか1以上の特定セル内で、それぞれの特定セルが有する色と識別可能な1以上のマークが配置された第2のコードから数値データを取得する複合コードパターンの読み取り方法であって、
態様1〜45のいずれかに記載の複合コードパターンを読取る複合コードパターン読取り方法。
(Aspect 61)
A computer obtains numerical data from a first code in which a plurality of cells each having one of two or more identifiable colors are arranged in an array;
Reading of a composite code pattern for obtaining numerical data from a second code in which one or more marks that can be distinguished from the color of each specific cell are arranged in any one or more of the arranged cells A method,
A composite code pattern reading method for reading the composite code pattern according to any one of aspects 1 to 45.

(態様62)
コンピュータに、識別可能な2以上の色のいずれかをそれぞれ有する複数のセルが配列形状に配置された第1のコードを生成する第1の生成ステップと、
前記配置されたセルのいずれか1以上の特定セル内で、それぞれの特定セルが有する色と識別可能な1以上のマークが配置された第2のコードを生成する第2の生成ステップと、を実行させる複合コードパターン生成プログラムであって、
態様1〜45のいずれかに記載の複合コードパターンを生成する複合コードパターン生成プログラム。
(Aspect 62)
A first generation step of generating, in the computer, a first code in which a plurality of cells each having one of two or more identifiable colors are arranged in an array shape;
A second generation step of generating a second code in which one or more marks that can be distinguished from the color of each specific cell are arranged in any one or more of the arranged cells; and A composite code pattern generation program to be executed,
A composite code pattern generation program for generating the composite code pattern according to any one of aspects 1 to 45.

(態様63)
コンピュータが、識別可能な2以上の色のいずれかをそれぞれ有する複数のセルが配列形状に配置された第1のコードから数値データを取得し、
前記配置されたセルのいずれか1以上の特定セル内で、それぞれの特定セルが有する色と識別可能な1以上のマークが配置された第2のコードから数値データを取得する複合コードパターンの読み取りプログラムであって、
態様1〜45のいずれかに記載の複合コードパターンを読取る複合コードパターン読取りプログラム。
(Aspect 63)
A computer obtains numerical data from a first code in which a plurality of cells each having one of two or more identifiable colors are arranged in an array;
Reading of a composite code pattern for obtaining numerical data from a second code in which one or more marks that can be distinguished from the color of each specific cell are arranged in any one or more of the arranged cells A program,
The composite code pattern reading program which reads the composite code pattern in any one of aspects 1-45.

(態様64)
識別可能な2以上の色のいずれかをそれぞれ有する複数のセルが配列形状に配置された第1のコードを生成する第1の生成手段と、
前記配置されたセルのいずれか1以上の特定セル内で、それぞれの特定セルが有する色と識別可能な1以上のマークが配置された第2のコードを生成する第2の生成手段と、を備えた複合コードパターン生成装置であって、
態様1〜45のいずれかに記載の複合コードパターンを生成する複合コードパターン生成装置。
(Aspect 64)
First generation means for generating a first code in which a plurality of cells each having one of two or more identifiable colors are arranged in an array shape;
Second generation means for generating a second code in which one or more marks that can be distinguished from the color of each of the specific cells are arranged in any one or more of the arranged cells; A composite code pattern generation device comprising:
The composite code pattern generation apparatus which produces | generates the composite code pattern in any one of aspects 1-45.

10 情報処理装置
11 CPU
12 主記憶装置
13 外部記憶装置
14 表示装置
15 操作部
16 通信インターフェース
17 画像入力インターフェース
18 画像出力インターフェース
CS1、CS2 コンテンツサーバ
MS1 管理サーバ
UD1、UD2 ユーザ装置
10 Information processing apparatus 11 CPU
12 main storage device 13 external storage device 14 display device 15 operation unit 16 communication interface 17 image input interface 18 image output interface CS1, CS2 content server MS1 management server UD1, UD2 user device

Claims (64)

識別可能な2以上の色のいずれかをそれぞれ有する複数のセルが配列形状に配置された第1のコードと、
前記複数のセルのいずれか1以上の特定セル内で、少なくともそれぞれの特定セルが有する色と識別可能な1以上のマークが配置されて定義された数値データから形成される第2のコードと、を備えた複合コードパターンであって、
前記1以上のマークの少なくとも1つが、同一色のマークまたはセルと接触する配置が除外されている
複合コードパターン。
A first code in which a plurality of cells each having one of two or more identifiable colors are arranged in an array shape;
A second code formed from numerical data defined by defining one or more marks that can be distinguished from at least the color of each specific cell in one or more specific cells of the plurality of cells; A composite code pattern comprising:
A composite code pattern in which an arrangement in which at least one of the one or more marks contacts a mark or cell of the same color is excluded.
前記マークが前記特定セル内に複数個配置される場合には、前記マーク同士が接触する配置が除外されている請求項1に記載の複合コードパターン。
The composite code pattern according to claim 1, wherein when a plurality of the marks are arranged in the specific cell, an arrangement in which the marks are in contact with each other is excluded.
前記特定セルのうちのいずれか1以上には、基準点を示すマークが形成されている、請求項1に記載の複合コードパターン。
Any The one or more on the mark indicating the reference point is formed, the composite code pattern according to claim 1 of said particular cell.
前記基準点を示すマークは、前記特定セルの中央に形成される、
請求項3に記載の複合コードパターン。
The mark indicating the reference point is formed in the center of the specific cell,
The composite code pattern according to claim 3.
前記特定セルのうちのいずれか1以上には、前記第2のコードの向きを定義するマークがさらに形成される、
請求項3または請求項4に記載の複合コードパターン。
Wherein the on any one or more of the specific cell, the mark that defines the orientation of the second code is further formed,
The composite code pattern according to claim 3 or 4.
前記第2のコードの向きを定義するマークは、
前記基準点からずれて配置されるか、または、
前記基準点を示すマークに加えて、前記基準点からずれた位置に配置される、
請求項5に記載の複合コードパターン。
The mark defining the direction of the second code is
Either disposed Te the reference point or Razure, or,
In addition to the mark indicating the reference point is located at a position offset to the reference point or al,
The composite code pattern according to claim 5.
前記基準点を示すマークが形成された特定セルのうちのいずれか1以上には、2以上の前記基準点を示すマークの配置パターンによって前記第2のコードの向きが定義される、
請求項3または請求項4に記載の複合コードパターン。
In any one or more of the specific cells in which the mark indicating the reference point is formed, the orientation of the second code is defined by an arrangement pattern of the mark indicating two or more reference points.
The composite code pattern according to claim 3 or 4.
前記基準点を示すマークが形成された特定セルのうちのいずれか1以上には、前記基準点を示すマークの形状によって前記第2のコードの向きが定義される、
請求項3または請求項4に記載の複合コードパターン。
In any one or more of the specific cells in which the mark indicating the reference point is formed, the direction of the second code is defined by the shape of the mark indicating the reference point.
The composite code pattern according to claim 3 or 4.
記マークの形状、大きさ、色、向き、配置パターンの少なくともいずれか1つにより、前記数値データが定義される、請求項1〜8のいずれかに記載の複合コードパターン。
Shape before KOR over click, size, color, orientation, by at least one of arrangement patterns, before Symbol numerical data is defined, the composite code pattern according to any one of claims 1-8.
前記基準点を示すマークは、形状、色、大きさ、配置パターンによって、前記基準点以外のマークと識別される、請求項3〜のいずれかに記載の複合コードパターン。
Mark indicating the reference point, shape, color, size, the arrangement pattern is identified as the mark other than the reference point, the composite code pattern according to any one of claims 3-8.
前記形状は、線分、多角形、または略円形である、請求項10に記載の複合コードパターン。
The composite code pattern according to claim 10, wherein the shape is a line segment, a polygon, or a substantially circular shape.
前記1以上のマークの全ては、前記特定セルと前記特定セルに隣接する該マークの同一色であるセルとの境界に接触する配置が除外されている請求項1〜11のいずれかに記載の複合コードパターン。
Wherein all of the one or more marks, according to any one of claims 1 to 11 for placement in contact with the boundary between the cells is the same color of the mark which is adjacent to the specific cell and the specific cell is excluded Composite code pattern.
前記マークは、前記複合コードパターンを読み取る読み取り装置で前記特定セルが有する色と識別可能であり、かつ、前記第1のコードの読取りに障害のないマークであり、
前記複数の特定セル内には、それぞれの特定セルにおける座標情報を有する位置に設定された1以上の仮想点を基にして配置された前記マークにより、前記数値データが定義され、請求項1〜12のいずれかに記載の複合コードパターン。
The mark is a mark that can be distinguished from the color of the specific cell by a reading device that reads the composite code pattern, and that does not interfere with reading the first code,
Wherein the inside a plurality of specific cells, by the marks arranged one or more virtual points set at a position having a coordinate information in each particular cell based on the numerical data is Ru is defined, according to claim 1 The composite code pattern in any one of -12.
前記仮想点は、前記特定セルの中央に設定されている、
請求項13記載の複合コードパターン。
The virtual point is set at the center of the specific cell,
The composite code pattern according to claim 13.
前記仮想点上に、基準点を示すマークが形成されている、
請求項13または請求項14記載の複合コードパターン。
A mark indicating a reference point is formed on the virtual point.
15. The composite code pattern according to claim 13 or claim 14.
少なくとも1つの前記特定セルには、前記仮想点を基にして前記数値データが定義されるマークの配置候補位置に配置される複数のマークを含む、基準パターンが形成されている、
請求項13〜15のいずれかに記載の複合コードパターン。
At least one of the specific cells is formed with a reference pattern including a plurality of marks arranged at mark placement candidate positions where the numerical data is defined based on the virtual point.
The composite code pattern according to claim 13.
前記第1のコードの読取りに障害のないマークは、特定セル内のマークの面積の合計が、特定セルの面積に対して33%以内の比率である、
請求項13〜16のいずれかに記載の複合コードパターン。
The mark that does not obstruct the reading of the first code is such that the total area of the marks in the specific cell is within a ratio of 33% with respect to the area of the specific cell.
The composite code pattern according to claim 13.
前記第1のコードの読取りに障害のないマークは、前記特定セル内のマークの面積の合計が、前記特定セルの面積に対して20%以内の比率である、
請求項13〜16のいずれかに記載の複合コードパターン。
The mark that does not obstruct the reading of the first code is such that the total area of the marks in the specific cell is within a ratio of 20% with respect to the area of the specific cell.
The composite code pattern according to claim 13.
前記仮想点を起点として前記マークが配置される方向および距離の少なくとも1つにより、前記数値データの少なくとも一部が定義される、請求項13に記載の複合コードパターン。
The composite code pattern according to claim 13, wherein at least a part of the numerical data is defined by at least one of a direction and a distance in which the mark is arranged starting from the virtual point.
前記特定セルには、前記仮想点を基にした前記マークの配置方法および配置の有無の少なくともいずれか1つにより、該特定セルが有する前記数値データの少なくとも一部が定義される、請求項13に記載の複合コードパターン。
Wherein the specific cell, the at least one of arrangement method and the presence or absence of the arrangement of the marks of the previous SL virtual point based, at least a portion of the numerical data in which the specific cells have is defined, claims 13. The composite code pattern according to 13.
前記マークの色は、赤、緑、青、シアン、マゼンダ、黄、黒、白および前記特定セルが形成される領域の下地の色のいずれかを含む、請求項1〜20のいずれかに記載の複合コードパターン。
The color of the mark, red, green, blue, cyan, including magenta, yellow, black, white and any color of the underlying area in which the specific cell is formed, according to any of claims 1 to 20 Composite code pattern.
前記マークの形状はドットである、請求項1〜21のいずれかに記載の複合コードパターン。
The composite code pattern according to claim 1, wherein a shape of the mark is a dot.
前記マークの形状は、線分、多角形、または略円形である、請求項1〜21のいずれか1項に記載の複合コードパターン。
The composite code pattern according to any one of claims 1 to 21, wherein a shape of the mark is a line segment, a polygon, or a substantially circular shape.
前記線分の方向および長さの少なくともいずれかによって前記数値データの少なくとも一部が定義される、請求項23記載の複合コードパターン。
The composite code pattern according to claim 23 , wherein at least a part of the numerical data is defined by at least one of a direction and a length of the line segment.
前記複数の特定セル内には、それぞれの特定セルにおける座標情報を有する位置に1以上の仮想点が設定されており、
前記線分中のいずれかの位置を前記仮想点上に配置することによって前記数値データの一部が定義される、請求項23または24に記載の複合コードパターン。
In the plurality of specific cells, one or more virtual points are set at positions having coordinate information in the specific cells,
The composite code pattern according to claim 23 or 24, wherein a part of the numerical data is defined by arranging any position in the line segment on the virtual point.
前記第1のコードは、バーコード、QRコード、カラーコード、DataMatrix、PDF417のいずれかを含むコードである、請求項1〜25のいずれかに記載の複合コードパターン。
The composite code pattern according to any one of claims 1 to 25, wherein the first code is a code including any one of a bar code, a QR code, a color code, DataMatrix, and PDF417.
前記セルは、暗色のセルと明色のセルを含み、
暗色のセルには明色のマークが配置されるか、明色のセルには暗色のマークが配置されるかの、少なくともいずれかである、請求項1〜26のいずれかに記載の複合コードパターン。
The cells include dark cells and light cells,
27. The composite code according to claim 1, wherein a light color mark is arranged in a dark cell and a dark color mark is arranged in a light cell. pattern.
前記複合コードパターンは、媒体に印刷または刻印されるか、または、電子媒体、放送媒体、記憶媒体または通信媒体からの出力により表示装置に表示される、請求項1〜27のいずれかに記載の複合コードパターン。
The composite code pattern is printed or engraved on a medium, or displayed on a display device by output from an electronic medium, a broadcast medium, a storage medium, or a communication medium. Composite code pattern.
前記複合コードパターンは、第1のコードおよび第2のコードの少なくとも一方が複数の時間毎の要素データで形成される時系列データとして表示装置に表示される、
請求項1〜28のいずれかに記載の複合コードパターン。
The composite code pattern is displayed on the display device as time-series data in which at least one of the first code and the second code is formed by a plurality of element data for each time.
The composite code pattern according to claim 1.
前記要素データの間には、非表示の所定時間を含む、
求項29に記載の複合コードパターン。
Between the element data includes a predetermined non-display time,
Composite code pattern according to Motomeko 2 9.
識別可能な2以上の色のいずれかをそれぞれ有する複数のセルが配列形状に配置された第1のコードと、
前記複数のセルのいずれか1以上の特定セル内で、少なくともそれぞれの特定セルが有する色と識別可能な1以上のマークが配置されて定義された数値データから形成される第2のコードと、を備えた複合コードパターンであって、
前記第1のコードおよび前記第2のコードの少なくとも一方に設けられる特定領域には、前記第1のコードおよび前記第2のコードのうちの少なくとも一方のコードのうちの該特定領域を除いた領域の少なくとも一部に対応する特定情報を含む複合コードパターン。
A first code in which a plurality of cells each having one of two or more identifiable colors are arranged in an array shape;
A second code formed from numerical data defined by defining one or more marks that can be distinguished from at least the color of each specific cell in one or more specific cells of the plurality of cells; A composite code pattern comprising:
Wherein the first code and the specific region provided on at least one of the second code, except 該特 constant region of the at least one code of said first code and said second code A composite code pattern including specific information corresponding to at least a part of an area.
請求項1〜30記載の前記マークの少なくとも一つが形成されている請求項31に記載の複合コードパターン。
The composite code pattern according to claim 31 , wherein at least one of the marks according to claims 1 to 30 is formed.
第1のコードと、
前記第1のコードが配置された範囲の少なくとも一部に重畳して、前記第1のコードと識別可能な1以上のマークが配置されて定義された数値データから形成される第2のコードと、を備えた複合コードパターンであって、
前記第1のコードおよび前記第2のコードの少なくとも一方に設けられる特定領域には、前記第1のコードおよび前記第2のコードのうちの少なくとも一方のコードのうちの該特定領域を除いた少なくとも一部に対応する特定情報を含む複合コードパターン。
A first code;
A second code formed from numerical data defined by being arranged with one or more marks identifiable from the first code superimposed on at least a part of a range in which the first code is arranged; A composite code pattern comprising:
Wherein the first code and the specific region provided on at least one of the second code, except 該特 constant region of the at least one code of said first code and said second code A composite code pattern including specific information corresponding to at least a part.
前記第2のコードは、前記第1のコードが配置された範囲の少なくとも一部に重畳して備られた、請求項31または請求項32のいずれかに記載の複合コードパターン。
The second code, the first code has been example Bei superimposed on at least a portion of the arrangement range, the composite code pattern according to any one of claims 31 or claim 32.
前記特定領域を除いた領域の少なくとも一部には、テキストおよび静止画像、動画、プログラムの少なくともいずれかの情報を含む、請求項31〜34のいずれかに記載の複合コードパターン。
The composite code pattern according to any one of claims 31 to 34, wherein at least a part of the area excluding the specific area includes information on at least one of text, a still image, a moving image, and a program.
前記特定領域を除いた領域の少なくとも一部には、個人を特定する情報を含む、請求項31〜請求項34のいずれかに記載の複合コードパターン。
The composite code pattern according to any one of claims 31 to 34, wherein information specifying an individual is included in at least a part of the area excluding the specific area.
前記個人を特定する情報は、少なくとも氏名、性別、生年月日、住所、戸籍、生体情報のいずれかに関する情報を含む、請求項36に記載の複合コードパターン。
37. The composite code pattern according to claim 36, wherein the information for specifying the individual includes at least information related to any of name, sex, date of birth, address, family register, and biometric information.
前記特定情報は、前記特定領域を除いた少なくとも一部を符号化手段により符号化した符号化情報である、請求項31〜37のいずれかに記載の複合コードパターン。
38. The composite code pattern according to claim 31, wherein the specific information is encoded information obtained by encoding at least a part excluding the specific area by an encoding unit.
前記特定情報は、前記符号化情報が、暗号化手段により暗号化された暗号化情報である、請求項38に記載の複合コードパターン。
39. The composite code pattern according to claim 38, wherein the specific information is encrypted information obtained by encrypting the encoded information by an encryption unit.
前記暗号化情報は、復号化手段により、前記符号化情報に復号できる、請求項39に記載の複合コードパターン。
40. The composite code pattern according to claim 39, wherein the encrypted information can be decrypted into the encoded information by a decrypting means.
前記特定領域を除いた少なくとも一部には、情報処理装置に前記復号化手段として実行させるためのプログラムが含まれる、請求項40に記載の複合コードパターン。
41. The composite code pattern according to claim 40, wherein a program for causing an information processing apparatus to execute as the decoding unit is included in at least a part excluding the specific area.
前記暗号化情報は、前記暗号化手段で秘密鍵を用いて符号化情報を暗号化した情報であり、
前記復号化手段は、公開鍵を用いて前記暗号化情報を復号化する、
請求項40または請求項41のいずれかに記載の複合コードパターン。
The encrypted information is information obtained by encrypting encoded information using a secret key by the encryption means,
The decryption means decrypts the encrypted information using a public key;
42. The composite code pattern according to claim 40 or claim 41.
前記符号化手段はハッシュ関数であり、
前記ハッシュ関数により符号化した符号化情報はハッシュ値であり、
前記暗号化手段により暗号化された暗号化情報は暗号化されたハッシュ値であり、
前記暗号化されたハッシュ値は、前記復号化手段により前記ハッシュ値に復号できる、請求項39〜42のいずれかに記載の複合コードパターン。
The encoding means is a hash function;
The encoded information encoded by the hash function is a hash value,
The encryption information encrypted by the encryption means is an encrypted hash value,
43. The composite code pattern according to claim 39, wherein the encrypted hash value can be decrypted into the hash value by the decrypting means.
前記特定情報は、前記少なくとも一方のコードのうちの前記特定領域を除いた少なくとも一部が表す情報または前記符号化情報を基に電子署名手段によって作成された電子署名情報であり、前記電子署名情報は、検証手段により前記少なくとも一方のコードのうちの前記特定領域を除いた少なくとも一部が表す情報と所定の関係にあることが検証可能である、請求項38に記載の複合コードパターン。
The specific information is information represented by at least a part of the at least one code excluding the specific area or electronic signature information created by an electronic signature unit based on the encoded information, and the electronic signature information 39. The composite code pattern according to claim 38, wherein the verification means can verify that the information represented by at least a part of the at least one code excluding the specific area has a predetermined relationship.
前記複合コードパターンには、所定の位置に、該複合コードパターンを明示するための前記マーク、グラフィックスまたはテキストの少なくともいずれかが、前記第1のコードの内部に形成された請求項31〜44のいずれかに記載の複合コードパターン。
45. The composite code pattern has at least one of the mark, graphics, or text for clearly indicating the composite code pattern formed in a predetermined position inside the first code. A composite code pattern according to any one of the above.
請求項1〜45のいずれかに記載の復号コードパターンが形成された媒体。
A medium on which the decrypted code pattern according to any one of claims 1 to 45 is formed.
前記特定領域を除いた少なくとも一部は、前記媒体上に形成された文字および画像の少なくとも一つに対応する情報をコード化したものであり、該情報の近傍または内部に前記複合コードパターンが形成された請求項46に記載の媒体。
At least a portion excluding the specific area is obtained by encoding information corresponding to at least one of a character and an image formed on the medium, and the composite code pattern is formed in the vicinity of or inside the information. 48. The medium of claim 46.
請求項1〜45のいずれかに記載の複合コードパターンに含まれる、前記第1のコードを取得する第1の取得手段と、
前記第2のコードを取得する第2の取得手段と、を備える、複合コードパターン読取り装置。
A first acquisition means for acquiring the first code included in the composite code pattern according to any one of claims 1 to 45,
A composite code pattern reading apparatus comprising: a second acquisition unit configured to acquire the second code.
前記第1の取得手段は、前記第2の取得手段を含み、前記第1のコードと前記第2のコードを取得する、
請求項48記載の複合コードパターン読取り装置。
The first acquisition means includes the second acquisition means, and acquires the first code and the second code.
49. The composite code pattern reading device according to claim 48.
請求項3〜10のいずれかに記載の前記基準点を示すマークを基準に、前記第2のコードが取得される、
請求項48または請求項49のいずれかに記載の複合コードパターン読取り装置。
The second code is acquired on the basis of the mark indicating the reference point according to any one of claims 3 to 10.
50. The composite code pattern reading device according to claim 48 or 49.
前記基準点を示すマークは、前記特定セルのうちのいずれか1以上の中央に形成され、
前記第1の取得手段で取得した前記セルの中心座標値を、前記第2の取得手段で取得した前記基準点の座標値に基づいて補正する、
請求項50に記載の複合コードパターン読取り装置。
Mark indicating the reference point is formed at the center on any one or more of said specific cells,
Correcting the center coordinate value of the cell acquired by the first acquisition unit based on the coordinate value of the reference point acquired by the second acquisition unit;
The composite code pattern reading device according to claim 50.
請求項16記載の前記仮想点および前記基準パターンを形成するマークを用いて、
前記数値データが定義されるマークの配置候補位置を補正する、
請求項50に記載の複合コードパターン読取り装置。
Using the virtual point and the mark forming the reference pattern according to claim 16,
Correcting the mark placement candidate position in which the numerical data is defined;
The composite code pattern reading device according to claim 50.
前記第1のコードおよび前記第2のコードの少なくとも一方には、個人を特定する情報を含み、
前記個人を特定する情報は、少なくとも氏名、性別、生年月日、住所、戸籍、生体情報のいずれかに関する情報である、請求項49〜52のいずれかに記載の複合コードパターン読取り装置。
At least one of the first code and the second code includes information for identifying an individual,
53. The composite code pattern reading device according to any one of claims 49 to 52, wherein the information for identifying an individual is information related to at least one of name, sex, date of birth, address, family register, and biometric information.
生体情報を取得する第の取得手段と、
前記第の取得手段で取得した生体情報と、前記個人を特定する情報と照合して、その正否を出力する出力手段と、を備える請求項53に記載の複合コードパターン読取り装置。
Third acquisition means for acquiring biological information;
54. The composite code pattern reading device according to claim 53 , further comprising: biometric information acquired by the third acquisition means and output means for collating the information for identifying the individual and outputting the correctness.
前記第の取得手段、前記第の取得手段、前記第の取得手段および前記出力手段の少なくとも一つは、1または複数のプロセッサーの処理によって機能する、
請求項54記載の複合コードパターン読取り装置。
At least one of the first acquisition means, the second acquisition means, the third acquisition means, and the output means functions by processing of one or more processors;
55. The composite code pattern reading device according to claim 54 .
請求項38に記載の符号化手段と同一の符号化が可能な第2の符号化手段を備え、
請求項31〜45のいずれかに記載の特定領域を除いた少なくとも一部を、前記第2の符号化手段により第2の符号化情報に符号化する、請求項49〜55のいずれかに記載の複合コードパターン読取り装置。
A second encoding means capable of performing the same encoding as the encoding means according to claim 38 ;
The at least part except the specific area | region in any one of Claims 31-45 is encoded in 2nd encoding information by the said 2nd encoding means, The any one of Claims 49-55 Complex code pattern reader.
復号化手段を備え、
請求項39に記載の暗号化手段により暗号化された暗号化情報を、前記復号化手段により、請求項38に記載の符号化情報に復号する、請求項49〜56のいずれかに記載の複合コードパターン読取り装置。
Comprising decryption means,
The composite information according to any one of claims 49 to 56, wherein the encrypted information encrypted by the encryption means according to claim 39 is decrypted into the encoded information according to claim 38 by the decryption means. Code pattern reader.
公開鍵を有し、
前記暗号化情報は、前記暗号化手段で秘密鍵を用いて符号化情報を暗号化した情報であり、
前記復号化手段は、前記公開鍵を用いて前記暗号化情報を復号化する、
請求項57に記載の複合コードパターン読取り装置。
Have a public key,
The encrypted information is information obtained by encrypting encoded information using a secret key by the encryption means,
The decryption means decrypts the encrypted information using the public key;
58. The composite code pattern reading device according to claim 57.
請求項56に記載の第2の符号化手段で符号化した第2の符号化情報と、
前記復号化手段で復号した符号化情報と、を照合して請求項31または33に記載の特定情報の正否を判定する、請求項57〜58のいずれかに記載の複合コードパターン読取り装置。
57. second encoded information encoded by the second encoding means according to claim 56 ;
The composite code pattern reading device according to any one of claims 57 to 58, wherein the coding information decoded by the decoding means is collated to determine whether the specific information according to claim 31 or 33 is correct.
コンピュータが、識別可能な2以上の色のいずれかをそれぞれ有する複数のセルが配列形状に配置された第1のコードを生成する第1の生成ステップと、
前記複数のセルのいずれか1以上の特定セル内で、少なくともそれぞれの特定セルが有する色と識別可能な1以上のマークが配置された第2のコードを生成する第2の生成ステップと、を実行し、
請求項1〜45のいずれかに記載の複合コードパターンを生成する、複合コードパターン生成方法。
A first generation step in which a computer generates a first code in which a plurality of cells each having one of two or more identifiable colors are arranged in an array;
A second generation step of generating a second code in which at least one mark that can be distinguished from a color of each specific cell is arranged in one or more specific cells of the plurality of cells; Run,
The composite code pattern generation method which produces | generates the composite code pattern in any one of Claims 1-45.
コンピュータが、識別可能な2以上の色のいずれかをそれぞれ有する複数のセルが配列形状に配置された第1のコードから数値データを取得し、
前記複数のセルのいずれか1以上の特定セル内で、少なくともそれぞれの特定セルが有する色と識別可能な1以上のマークが配置された第2のコードから数値データを取得する複合コードパターンの読み取り方法であって、
請求項1〜45のいずれかに記載の複合コードパターンを読取る複合コードパターン読取り方法。
A computer obtains numerical data from a first code in which a plurality of cells each having one of two or more identifiable colors are arranged in an array;
Reading a composite code pattern for obtaining numerical data from a second code in which at least one mark distinguishable from the color of each specific cell is arranged in one or more specific cells of the plurality of cells A method,
The composite code pattern reading method which reads the composite code pattern in any one of Claims 1-45.
コンピュータに、識別可能な2以上の色のいずれかをそれぞれ有する複数のセルが配列形状に配置された第1のコードを生成する第1の生成ステップと、
前記複数のセルのいずれか1以上の特定セル内で、少なくともそれぞれの特定セルが有する色と識別可能な1以上のマークが配置された第2のコードを生成する第2の生成ステップと、を実行させる複合コードパターン生成プログラムであって、
請求項1〜45のいずれかに記載の複合コードパターンを生成する複合コードパターン生成プログラム。
A first generation step of generating, in the computer, a first code in which a plurality of cells each having one of two or more identifiable colors are arranged in an array shape;
A second generation step of generating a second code in which at least one mark that can be distinguished from a color of each specific cell is arranged in one or more specific cells of the plurality of cells; A composite code pattern generation program to be executed,
A composite code pattern generation program for generating the composite code pattern according to any one of claims 1 to 45.
コンピュータが、識別可能な2以上の色のいずれかをそれぞれ有する複数のセルが配列形状に配置された第1のコードから数値データを取得し、
前記複数のセルのいずれか1以上の特定セル内で、少なくともそれぞれの特定セルが有する色と識別可能な1以上のマークが配置された第2のコードから数値データを取得する複合コードパターンの読み取りプログラムであって、
請求項1〜45のいずれかに記載の複合コードパターンを読取る複合コードパターン読取りプログラム。
A computer obtains numerical data from a first code in which a plurality of cells each having one of two or more identifiable colors are arranged in an array;
Reading a composite code pattern for obtaining numerical data from a second code in which at least one mark distinguishable from the color of each specific cell is arranged in one or more specific cells of the plurality of cells A program,
The composite code pattern reading program which reads the composite code pattern in any one of Claims 1-45.
識別可能な2以上の色のいずれかをそれぞれ有する複数のセルが配列形状に配置された第1のコードを生成する第1の生成手段と、
前記複数のセルのいずれか1以上の特定セル内で、少なくともそれぞれの特定セルが有する色と識別可能な1以上のマークが配置された第2のコードを生成する第2の生成手段と、を備えた複合コードパターン生成装置であって、
請求項1〜45のいずれかに記載の複合コードパターンを生成する複合コードパターン生成装置。
First generation means for generating a first code in which a plurality of cells each having one of two or more identifiable colors are arranged in an array shape;
Second generation means for generating a second code in which at least one mark that can be distinguished from the color of each specific cell is arranged in one or more specific cells of the plurality of cells; A composite code pattern generation device comprising:
The composite code pattern generation apparatus which produces | generates the composite code pattern in any one of Claims 1-45.
JP2018109090A 2017-12-29 2018-06-06 Composite code pattern, generating device, reading device, method and program Active JP6403085B1 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
CN201980015364.8A CN112352245A (en) 2017-12-29 2019-01-04 Composite code pattern, generation device, reading device, method, and program
US16/958,743 US11755867B2 (en) 2017-12-29 2019-01-04 Composite code pattern, generating device, reading device, method, and program
BR112020013344-2A BR112020013344A2 (en) 2017-12-29 2019-01-04 composite code, media, and devices, programs, and methods for reading composite code and creating composite code
KR1020207022146A KR20200106510A (en) 2017-12-29 2019-01-04 Complex code pattern, generating device, reading device, method and program
EP19733929.4A EP3734510A4 (en) 2017-12-29 2019-01-04 Composite code pattern, generating device, reading device, method, and program
PCT/JP2019/000028 WO2019132047A1 (en) 2017-12-29 2019-01-04 Composite code pattern, generating device, reading device, method, and program

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2017255256 2017-12-29
JP2017255256 2017-12-29
JP2018082672 2018-04-23
JP2018082672 2018-04-23

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2018163685A Division JP2019192193A (en) 2017-12-29 2018-08-31 Complex code pattern, generating device, reading device, method, and program

Publications (2)

Publication Number Publication Date
JP6403085B1 true JP6403085B1 (en) 2018-10-10
JP2019192186A JP2019192186A (en) 2019-10-31

Family

ID=63788147

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2018109090A Active JP6403085B1 (en) 2017-12-29 2018-06-06 Composite code pattern, generating device, reading device, method and program
JP2018163685A Pending JP2019192193A (en) 2017-12-29 2018-08-31 Complex code pattern, generating device, reading device, method, and program

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2018163685A Pending JP2019192193A (en) 2017-12-29 2018-08-31 Complex code pattern, generating device, reading device, method, and program

Country Status (1)

Country Link
JP (2) JP6403085B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020067800A (en) * 2018-10-24 2020-04-30 凸版印刷株式会社 Printed matter, decoding method, decorder, and decoding system
CN111832680A (en) * 2020-07-16 2020-10-27 网易有道信息技术(北京)有限公司 Encoding method, reading method, encoding device and reading device of dot matrix codes
KR20210004166A (en) * 2019-07-03 2021-01-13 샘코포레이션 주식회사 Method and apparatus of updating a color code included in a image using the artificial intelligence

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111222610B (en) * 2020-01-09 2022-09-02 周晓明 Coding and decoding method and system for double-ID two-dimensional code micro-code element
JP6989859B2 (en) * 2020-04-10 2022-01-12 有限会社バラエティーエム・ワン Information code, information code generator, information code reader, program and information code utilization system
KR20210132387A (en) * 2020-04-27 2021-11-04 박희영 Payment method using one-time payment security code based on color pixel code
JP6984836B1 (en) * 2021-04-07 2021-12-22 有限会社バラエティーエム・ワン Information code, information code generator, information code reader, program and information code utilization system
CN113536822B (en) * 2021-07-28 2024-05-03 中移(杭州)信息技术有限公司 Two-dimensional code correction method and device and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005204250A (en) * 2004-01-19 2005-07-28 Ricoh Co Ltd Certificate confirmation method, certificate confirmation program, and certificate
JP2015052839A (en) * 2013-09-05 2015-03-19 大日本印刷株式会社 Information recording body with electronic watermark code added thereto
JP2016540329A (en) * 2013-11-07 2016-12-22 スキャントラスト・エスエイScanTrust SA Two-dimensional barcode and authentication method of such barcode

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005204250A (en) * 2004-01-19 2005-07-28 Ricoh Co Ltd Certificate confirmation method, certificate confirmation program, and certificate
JP2015052839A (en) * 2013-09-05 2015-03-19 大日本印刷株式会社 Information recording body with electronic watermark code added thereto
JP2016540329A (en) * 2013-11-07 2016-12-22 スキャントラスト・エスエイScanTrust SA Two-dimensional barcode and authentication method of such barcode

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020067800A (en) * 2018-10-24 2020-04-30 凸版印刷株式会社 Printed matter, decoding method, decorder, and decoding system
JP7172439B2 (en) 2018-10-24 2022-11-16 凸版印刷株式会社 Printed matter, decoding method, decoding device, and decoding system
KR20210004166A (en) * 2019-07-03 2021-01-13 샘코포레이션 주식회사 Method and apparatus of updating a color code included in a image using the artificial intelligence
KR102283585B1 (en) * 2019-07-03 2021-07-29 샘코포레이션 주식회사 Method and apparatus of updating a color code included in a image using the artificial intelligence
CN111832680A (en) * 2020-07-16 2020-10-27 网易有道信息技术(北京)有限公司 Encoding method, reading method, encoding device and reading device of dot matrix codes

Also Published As

Publication number Publication date
JP2019192186A (en) 2019-10-31
JP2019192193A (en) 2019-10-31

Similar Documents

Publication Publication Date Title
JP6746158B2 (en) Two-dimensional code
JP6403085B1 (en) Composite code pattern, generating device, reading device, method and program
US20200357002A1 (en) Authenticated Barcode Pattern
JP7183378B2 (en) Anti-replay authentication system and method
US11526885B2 (en) Systems and methods for user identification using graphical barcode and payment card authentication read data
JP2022095762A (en) Method and system for network-enabled account creation using optical detection
JP6486016B2 (en) Information code generation method, information code, and information code utilization system
US11829815B2 (en) Plurality of code portion options of a multi-part code system
KR101710050B1 (en) Image identification systems and method
US20140108252A1 (en) Mobile image payment system using sound-based codes
EP3437026A1 (en) Systems and methods for user identification using graphical barcode and payment card authentication read data
US20220383315A1 (en) Systems and methods for user identification using graphical barcode and payment card authentication read data
US11593580B1 (en) Securing private information using two-dimensional barcodes
US10621482B2 (en) Graphic two-dimensional barcode and creating method thereof
JP2006318099A (en) Receipt issuing system
CN101354717B (en) Document extracting method and document extracting apparatus
JP6562136B2 (en) Information code generation method, information code, and information code utilization system
Kumar et al. Advanced Visual Cryptography Secret Sharing Schemes Based on QR Codes: A Survey
KR20130015333A (en) Exchanging method of network independent one time password using a bar code

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180608

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20180608

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20180628

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180717

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180725

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180803

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180831

R150 Certificate of patent or registration of utility model

Ref document number: 6403085

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250