JP2007241328A - Program, information storage medium, two-dimensional code generation system, image generation system and printed matter - Google Patents

Program, information storage medium, two-dimensional code generation system, image generation system and printed matter Download PDF

Info

Publication number
JP2007241328A
JP2007241328A JP2006058520A JP2006058520A JP2007241328A JP 2007241328 A JP2007241328 A JP 2007241328A JP 2006058520 A JP2006058520 A JP 2006058520A JP 2006058520 A JP2006058520 A JP 2006058520A JP 2007241328 A JP2007241328 A JP 2007241328A
Authority
JP
Japan
Prior art keywords
dimensional code
data
code
bit
unit
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.)
Withdrawn
Application number
JP2006058520A
Other languages
Japanese (ja)
Inventor
Satoshi Ouchi
聡 大内
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.)
Bandai Namco Entertainment Inc
Original Assignee
Namco Bandai Games Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Namco Bandai Games Inc filed Critical Namco Bandai Games Inc
Priority to JP2006058520A priority Critical patent/JP2007241328A/en
Publication of JP2007241328A publication Critical patent/JP2007241328A/en
Withdrawn legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To generate a two-dimensional code so that modules arranged in a two-dimensional code can be arranged while configuring an arbitrary design. <P>SOLUTION: This two-dimensional code generation system includes a binarized design data converting part for specifying a dummy data region 33 of a two-dimensional code according to the size data of a two-dimensional code 10, original data to be read from the two-dimensional code 10 and the size quantity and size data of the original data, and for obtaining a bit code obtained by inversely transforming given binarized design data to be written in the region based on the format information of the two-dimensional code; a correction processing part for determining whether or not the bit code after inverse transform is compatible with the format of the two-dimensional code 10, and for obtaining the bit code of the dummy data by correcting incompatible bit code; and a two-dimensional code generation part for generating a two-dimensional code 10 obtained by converting the bit code of the dummy data and the bit code of the original data based on the format information of the two-dimensional code. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、プログラム、情報記憶媒体、2次元コード生成システム、画像生成システム及び印刷物に関する。   The present invention relates to a program, an information storage medium, a two-dimensional code generation system, an image generation system, and a printed matter.

従来より、所定のフォーマット情報に基づいて、データを示すモジュールを2次元に配置した2次元コードが知られている。この2次元コードでは、1次元コードに比して狭い領域で多くのデータを読み取らせることができる。このような従来の技術として、例えば特許第2938338号公報に開示されるものがある。
特許第2938338号公報
Conventionally, a two-dimensional code in which modules indicating data are two-dimensionally arranged based on predetermined format information is known. With this two-dimensional code, a larger amount of data can be read in a narrower area than the one-dimensional code. As such a conventional technique, for example, there is one disclosed in Japanese Patent No. 2938338.
Japanese Patent No. 2938338

かかる2次元コードでは、読み取られるべきデータのビット列に対して、2次元コードのフォーマット情報に基づいて変換処理を行い、2次元コードのフォーマット情報に基づいて2次元コード上にモジュールパターンを配置するため、読み取られるべきデータの文字列に応じてモジュールパターンの構成が定まってしまう。従って、生成される2次元コードのモジュールパターンの構成に特徴を持たせて他の2次元コードと差別化をはかることができなかった。   In such a two-dimensional code, a bit string of data to be read is converted based on the format information of the two-dimensional code, and a module pattern is arranged on the two-dimensional code based on the format information of the two-dimensional code. The structure of the module pattern is determined according to the character string of the data to be read. Therefore, it has been impossible to differentiate from other two-dimensional codes by giving a feature to the configuration of the module pattern of the generated two-dimensional code.

そこで本発明は、読み取られるべきデータに応じて配置されるモジュールが、任意のデザインを構成して配置されるように2次元コードを生成することができるプログラム、情報記憶媒体、生成された2次元コードの画像を生成する画像生成システム及び印刷物を提供することにある。   Therefore, the present invention provides a program, an information storage medium, and a generated two-dimensional code that can generate a two-dimensional code so that modules arranged according to data to be read can be arranged in an arbitrary design. An object of the present invention is to provide an image generation system and a printed matter for generating an image of a code.

(1)本発明は、2次元コードを生成するためのシステムであって、
2次元コードのサイズデータと、2次元コードから読み取られるべき原データと、所与の2値化デザインデータとを取得するデータ取得部と、
前記サイズデータと原データとに基づいて、原データのデータ量に応じた2次元コードのダミーデータ領域を特定するダミーデータ領域特定部と、
前記ダミーデータ領域に対応する2値化デザインデータを2次元コードのフォーマット情報に基づいて逆変換したビットコードを求める2値化デザインデータ変換部と、
前記逆変換後のビットコードが2次元コードのフォーマットに適合するか否かを判定し、不適合ビットコードについては補正処理を行ってダミーデータのビットコードを求める補正処理部と、
前記ダミーデータのビットコードと前記原データのビットコードとを、前記2次元コードのフォーマット情報に基づいて変換して2次元コードを生成する2次元コード生成部とを含む2次元コード生成システムに関係する。また本発明は、上記各部としてコンピュータを機能させるプログラムに関係する。また本発明は、コンピュータ読み取り可能な情報記憶媒体であって、上記各部としてコンピュータを機能させるプログラムを記憶(記録)した情報記憶媒体に関係する。また本発明は、上記2次元コード生成システム、プログラム、情報記憶媒体を用いて生成された2次元コードが印刷された印刷物に関係する。
(1) The present invention is a system for generating a two-dimensional code,
A data acquisition unit that acquires size data of the two-dimensional code, original data to be read from the two-dimensional code, and given binary design data;
A dummy data area specifying unit for specifying a dummy data area of a two-dimensional code according to the data amount of the original data based on the size data and the original data;
A binarized design data conversion unit for obtaining a bit code obtained by inversely converting the binarized design data corresponding to the dummy data area based on the format information of the two-dimensional code;
It is determined whether or not the bit code after the inverse conversion conforms to the format of the two-dimensional code, a correction processing unit that performs a correction process on the non-conforming bit code to obtain a bit code of dummy data,
The present invention relates to a two-dimensional code generation system including a two-dimensional code generation unit that generates a two-dimensional code by converting the bit code of the dummy data and the bit code of the original data based on the format information of the two-dimensional code. To do. The present invention also relates to a program that causes a computer to function as each of the above-described units. The present invention also relates to a computer-readable information storage medium that stores (records) a program that causes a computer to function as each unit. The present invention also relates to a printed matter on which a two-dimensional code generated using the above-described two-dimensional code generation system, program, and information storage medium is printed.

本発明では、2値化デザインデータを逆変換したビットコードを求め、必要に応じてビットコードの補正処理を行ってダミーデータのビットコードを求めることにより、2値化デザインが構成された2次元コードを生成することができる。そして、生成された2次元コードには、ダミーデータとともに原データの情報も配置されているので、2次元コードの読取装置により、本システム利用者が2次元コードを介して伝達しようとする情報である原データを読み取らせることができる。   In the present invention, a bit code obtained by inversely converting binarized design data is obtained, a bit code correction process is performed as necessary, and a bit code of dummy data is obtained, whereby a two-dimensional design in which a binarized design is configured. Code can be generated. In the generated two-dimensional code, the information of the original data is also arranged together with the dummy data. Therefore, the information that the user of the system intends to transmit via the two-dimensional code by the two-dimensional code reader. Some original data can be read.

このように、本発明によれば、人目を引き付けることができる2値化デザインパターンが構成された2次元コードを、通常の2次元コードの生成手順に従って簡易に生成することができる。しかも、生成された2次元コードは2値化デザインが構成されていても、補正処理を行なった上で通常の2次元コードの生成手順に従って生成されているので、2次元コードを読取装置により正確に読み取らせることができる。   As described above, according to the present invention, it is possible to easily generate a two-dimensional code including a binarized design pattern that can attract attention according to a normal two-dimensional code generation procedure. In addition, even if the generated two-dimensional code has a binarized design, it is generated according to a normal two-dimensional code generation procedure after correction processing. Can be read.

(2)また本発明に係る2次元コード生成システム、プログラム及び情報記憶媒体では、
前記2次元コード生成部が、
前記ビットコードに基づいて、生成される2次元コードの読み取り誤りを訂正するための誤り訂正データを生成する誤り訂正データ生成部を更に含み、
前記ダミーデータ領域特定部が、
前記サイズデータに応じて2次元コードの誤り訂正データ領域を特定し、前記原データに基づいて2次元コードの原データ領域を特定し、前記2次元コードのサイズデータと前記誤り訂正データ領域と前記原データ領域とに基づいて前記ダミーデータ領域を特定するようにしてもよい。
(2) In the two-dimensional code generation system, program, and information storage medium according to the present invention,
The two-dimensional code generator is
An error correction data generation unit for generating error correction data for correcting a read error of the generated two-dimensional code based on the bit code;
The dummy data area specifying unit
An error correction data area of a two-dimensional code is specified according to the size data, an original data area of a two-dimensional code is specified based on the original data, the size data of the two-dimensional code, the error correction data area, The dummy data area may be specified based on the original data area.

本発明によれば、誤り訂正データ領域と原データ領域とから、2値化デザインが施されるダミーデータ領域を特定して、ダミーデータ領域の2値化デザインデータを抽出することができる。   According to the present invention, it is possible to identify the dummy data area to be binarized from the error correction data area and the original data area and extract the binarized design data of the dummy data area.

(3)また本発明に係る2次元コード生成システム、プログラム及び情報記憶媒体では、
前記誤り訂正データ生成部が、所与の誤り訂正レベルデータに応じて誤り訂正データを生成し、
前記誤り訂正レベルデータに応じて生成された2次元コードの変更処理を受け付ける2次元コード変更部を更に含むようにしてもよい。
(3) In the two-dimensional code generation system, program, and information storage medium according to the present invention,
The error correction data generation unit generates error correction data according to given error correction level data,
A two-dimensional code changing unit that receives a change process of the two-dimensional code generated according to the error correction level data may be further included.

本発明によれば、誤り訂正アルゴリズムの復元能力の範囲内で、生成された2次元コードの変更を行うことができる。例えば、誤り訂正データ領域に配置される2次元コードモジュールを変更して、誤り訂正データ領域の一部をもデザイン領域とすることができる。   According to the present invention, the generated two-dimensional code can be changed within the range of the recovery capability of the error correction algorithm. For example, by changing the two-dimensional code module arranged in the error correction data area, a part of the error correction data area can be used as the design area.

(4)また本発明に係る2次元コード生成システム、プログラム及び情報記憶媒体では、
前記2次元コード変更部が、
前記訂正可能範囲に応じて、前記補正処理を行ったビットコードを補正処理前のビットコードに変更する処理を行うようにしてもよい。
(4) In the two-dimensional code generation system, program, and information storage medium according to the present invention,
The two-dimensional code changing unit
Depending on the correctable range, a process of changing the bit code subjected to the correction process to a bit code before the correction process may be performed.

本発明によれば、補正処理により変更されたデザインデータを、元のデザインを構成するデザインデータに再変更ことができる。そして、この再変更は誤り訂正データの訂正可能範囲内で行われるので、読み取りの正確性は誤り訂正データにより担保することができる。従って、所与の2値化デザインデータの一部が2次元コードのフォーマットに反するものである場合でも、2次元コードに構成されるデザインを維持することができる。   According to the present invention, the design data changed by the correction process can be changed again to the design data constituting the original design. Since this re-change is performed within the correctable range of the error correction data, the reading accuracy can be secured by the error correction data. Therefore, even when a part of given binarized design data is contrary to the format of the two-dimensional code, the design constituted by the two-dimensional code can be maintained.

(5)また本発明に係る2次元コード生成システム、プログラム及び情報記憶媒体では、
前記2次元コード生成部が、
2次元コードの読み取りに用いられる位置合せパターンを設定する位置合せパターン設定部を更に含み、
前記位置合せパターン設定部は、
前記位置合せパターンの省略処理を受け付けるようにしてもよい。
(5) In the two-dimensional code generation system, program, and information storage medium according to the present invention,
The two-dimensional code generator is
An alignment pattern setting unit for setting an alignment pattern used for reading the two-dimensional code;
The alignment pattern setting unit
You may make it receive the omission process of the said alignment pattern.

本発明によれば、位置合せパターンの配置を省略することにより、ダミーデータ領域に構成されるデザインパターンの自由度を飛躍的に上げるとともに、構成されたデザインパターンをより美しく見せることができる。   According to the present invention, by omitting the arrangement of the alignment pattern, the degree of freedom of the design pattern configured in the dummy data area can be dramatically increased and the configured design pattern can be made more beautiful.

(6)また本発明に係る2次元コード生成システム、プログラム及び情報記憶媒体では、
前記2値化デザインデータのサイズに応じて2次元コードのサイズを決定するコードサイズ決定部を更に含むようにしてもよい。
(6) In the two-dimensional code generation system, program and information storage medium according to the present invention,
A code size determining unit that determines the size of the two-dimensional code according to the size of the binarized design data may be further included.

本発明によれば、2値化デザインデータのサイズに応じて、2値化デザインパターンを収めることができる2次元コードのサイズを自動的に決定することができる。   According to the present invention, the size of a two-dimensional code that can contain a binarized design pattern can be automatically determined according to the size of the binarized design data.

(7)また2次元コードを生成するためのデータを生成するシステム、プログラム及び情報記憶媒体では、
2次元コードのサイズデータと、2次元コードから読み取られるべき原データと、所与の2値化デザインデータとを取得するデータ取得部と、
前記サイズデータと原データとに基づいて、原データのデータ量に応じた2次元コードのダミーデータ領域を特定するダミーデータ領域特定部と、
前記ダミーデータ領域に対応する2値化デザインデータを2次元コードのフォーマット情報に基づいて逆変換したビットコードを求める2値化デザインデータ変換部と、
前記逆変換後のビットコードが2次元コードのフォーマットに適合するか否かを判定し、不適合ビットコードについては補正処理を行ってダミーデータのビットコードを求める補正処理部を含むようにしてもよい。
(7) In the system, program and information storage medium for generating data for generating a two-dimensional code,
A data acquisition unit that acquires size data of the two-dimensional code, original data to be read from the two-dimensional code, and given binary design data;
A dummy data area specifying unit for specifying a dummy data area of a two-dimensional code according to the data amount of the original data based on the size data and the original data;
A binarized design data conversion unit for obtaining a bit code obtained by inversely converting the binarized design data corresponding to the dummy data area based on the format information of the two-dimensional code;
A determination may be made as to whether or not the bit code after the inverse conversion is compatible with the format of the two-dimensional code, and a correction processing unit that performs correction processing on the non-conforming bit code to obtain a bit code of dummy data may be included.

本発明によれば、2値化デザインパターンが構成された2次元コードを生成することができるデータを生成することができる。そして、生成された2次元コードを生成するためのデータには、ダミーデータとともに原データの情報も含まれている。従って、本発明により生成したデータに基づいて2次元コードを生成すれば、2次元コードにデザインパターンを構成しつつ、本システム利用者が2次元コードシンボルを介して伝達しようとする情報である原データを2次元コードの読取装置に読み取らせることができる。   According to the present invention, data capable of generating a two-dimensional code in which a binarized design pattern is configured can be generated. The data for generating the generated two-dimensional code includes the original data information as well as the dummy data. Therefore, if a two-dimensional code is generated based on the data generated according to the present invention, the system user constructs a design pattern in the two-dimensional code and is the original information that the system user intends to transmit via the two-dimensional code symbol. The data can be read by a two-dimensional code reader.

このように、本発明によれば、人目を引き付けることができる2値化デザインパターンが構成された2次元コードを、通常の2次元コードの生成手順に従って簡易に生成することができる。しかも、生成された2次元コードは2値化デザインが構成されていても、補正処理を行なった上で通常の2次元コードの生成手順に従って生成されているので、2次元コードを読取装置により正確に読み取らせることができる。   As described above, according to the present invention, it is possible to easily generate a two-dimensional code including a binarized design pattern that can attract attention according to a normal two-dimensional code generation procedure. In addition, even if the generated two-dimensional code has a binarized design, it is generated according to a normal two-dimensional code generation procedure after correction processing. Can be read.

(8)また2次元コードとして読み取られる2次元コード画像を生成するシステム、プログラム及び情報記憶媒体では、
2次元コードから読み取られるべき原データ画像のデータと、2次元コードのダミーデータ領域に設定される2値化デザイン画像のデータとに基づいて、前記2次元コード画像を生成する画像生成部としてコンピュータを機能させ、
前記画像生成部は、
前記2値化デザイン画像のデータを変化させて前記2次元コード画像を生成するようにしてもよい。
(8) In the system, program and information storage medium for generating a two-dimensional code image to be read as a two-dimensional code,
A computer as an image generation unit that generates the two-dimensional code image based on the data of the original data image to be read from the two-dimensional code and the data of the binarized design image set in the dummy data area of the two-dimensional code Function
The image generation unit
The two-dimensional code image may be generated by changing the data of the binarized design image.

本発明によれば、2次元コード画像の2値化デザインパターンを変化させて、2次元コードに人目をより一層引き付けることにより、当該2次元コードの利用度を大幅に増加させることができる。   According to the present invention, the utilization degree of the two-dimensional code can be greatly increased by changing the binarized design pattern of the two-dimensional code image to attract more attention to the two-dimensional code.

以下、本実施形態について説明する。なお、以下に説明する本実施形態は、特許請求の範囲に記載された本発明の内容を不当に限定するものではない。また本実施形態で説明される構成の全てが、本発明の必須構成要件であるとは限らない。   Hereinafter, this embodiment will be described. In addition, this embodiment demonstrated below does not unduly limit the content of this invention described in the claim. In addition, all the configurations described in the present embodiment are not necessarily essential configuration requirements of the present invention.

1.2次元コードの構造
図1に、本実施の形態の2次元コード生成システムで生成される2次元コードシンボルの構造の例を示す。本実施の形態では、2次元コードとしてQRコード(株式会社デンソーウェーブの登録商標)を用いた例を示すが、本実施の形態により生成できる2次元コードはQRコードに限らない。
1.2 Structure of 2D Code FIG. 1 shows an example of the structure of a 2D code symbol generated by the 2D code generation system of the present embodiment. In this embodiment, an example is shown in which a QR code (registered trademark of DENSO WAVE INCORPORATED) is used as a two-dimensional code. However, the two-dimensional code that can be generated by this embodiment is not limited to a QR code.

図1に示すように、本実施の形態の2次元コードシンボル10は、正方形のモジュールを縦横に45個正方形に配列して構成されている。このシンボル10には、シンボル10からデータを読み取る際に用いられる位置検出パターン12と位置合せパターン13とタイミングパターン14とが配置されている。そして、位置検出パターン12と位置合せパターン13とタイミングパターン14とが配置されている領域以外の領域として、シンボル10から読み取られるべきデータのモジュールパターン(符号化パターン)が配置される符号化領域16が設けられている。   As shown in FIG. 1, the two-dimensional code symbol 10 of the present embodiment is configured by arranging 45 square modules vertically and horizontally in a square. In this symbol 10, a position detection pattern 12, an alignment pattern 13, and a timing pattern 14 used when reading data from the symbol 10 are arranged. Then, as an area other than the area where the position detection pattern 12, the alignment pattern 13 and the timing pattern 14 are arranged, an encoding area 16 where a module pattern (encoding pattern) of data to be read from the symbol 10 is arranged. Is provided.

この符号化領域16には、シンボル10の型番情報(サイズ情報)の符号化パターンが配置される型番領域18と、シンボル10の形式情報(誤り訂正レベル情報、マスク処理パターンに関する情報)の符号化パターンが配置される形式領域20と、本実施の形態のシステムの利用者が任意に入力可能な原データの符号化パターンが配置されるデータ領域22とが含まれる。   In this encoding area 16, the model number area 18 in which the encoding pattern of the model number information (size information) of the symbol 10 is arranged, and the format information (error correction level information, information on the mask processing pattern) of the symbol 10 are encoded. A format area 20 in which a pattern is arranged and a data area 22 in which an encoding pattern of original data that can be arbitrarily input by a user of the system of the present embodiment are included.

2.2次元コードの生成処理
図2に、本実施の形態の2次元コード生成システムの処理の流れの一例を示す。まず、ステップS1において、2次元コードを生成するための各種データを取得する。
2.2 Dimensional Code Generation Processing FIG. 2 shows an example of the processing flow of the two-dimensional code generation system of the present embodiment. First, in step S1, various data for generating a two-dimensional code are acquired.

図3に、このデータ取得処理の詳細を示す。まず、ステップS2において、入力部への入力情報に基づき、システムの利用者が所望するシンボルの型番情報と形式情報とを取得する。ここで、型番情報には、シンボル10の大きさを特定するサイズ情報(1〜40)が含まれている。本実施の形態では、サイズ情報によりシンボル10を構成するモジュールの数とその配置を特定することができる。また、形式情報には、生成されるシンボルの読み取り誤りを訂正するための誤り訂正アルゴリズムの種類を特定する誤り訂正レベル情報が含まれる。本実施の形態では、誤り訂正レベルがL、M、Q、Hの4段階用意されており、誤り訂正レベルに応じて誤り訂正の精度が異なる。   FIG. 3 shows details of this data acquisition process. First, in step S2, model number information and format information of a symbol desired by a user of the system are acquired based on information input to the input unit. Here, the model number information includes size information (1 to 40) for specifying the size of the symbol 10. In the present embodiment, the number of modules constituting the symbol 10 and the arrangement thereof can be specified by the size information. Further, the format information includes error correction level information for specifying the type of error correction algorithm for correcting the read error of the generated symbol. In this embodiment, four stages of error correction levels L, M, Q, and H are prepared, and the accuracy of error correction differs depending on the error correction level.

そして、ステップS4において、本システム利用者が2次元コードシンボルを介して伝達しようとする情報である原データの文字列を取得する。この原データとしては、例えばURLやメールアドレス等のネットワークアドレス情報や、種々の管理情報、識別情報、暗号化情報等が入力される。すると、ステップS6において、取得した原データの文字列を2次元コードのフォーマット情報に基づいて変換し、原データのビット列を生成する。そして、原データのビット列の最後に、データを示すビット列の終了に使用するエンドパターンのビット列を挿入する。このエンドパターンは、2次元コードを読み取った場合に、エンドパターン以降の符号化パターンについては情報として出力する必要がないことを示すものである。   In step S4, the system user acquires a character string of original data that is information to be transmitted via the two-dimensional code symbol. As this original data, for example, network address information such as URL and mail address, various management information, identification information, encryption information and the like are input. In step S6, the acquired character string of the original data is converted based on the format information of the two-dimensional code to generate a bit string of the original data. Then, an end pattern bit string used to end the bit string indicating the data is inserted at the end of the bit string of the original data. This end pattern indicates that when a two-dimensional code is read, it is not necessary to output an encoded pattern after the end pattern as information.

そして、図2のステップS10において、エンドパターンを含む原データのビット列を2次元コードのフォーマット情報に基づいて8ビットコード語(データコード語)に分割する。すると、ステップS12において、取得したサイズ情報、誤り訂正レベル情報に基づき、当該サイズ、誤り訂正レベルが要求するデータコード語数を満たすか否かを判断する。   In step S10 in FIG. 2, the bit string of the original data including the end pattern is divided into 8-bit code words (data code words) based on the format information of the two-dimensional code. Then, in step S12, based on the acquired size information and error correction level information, it is determined whether or not the size and error correction level satisfy the required number of data code words.

ここで、要求するデータコード語数を満たさないと判断すると(ステップS12のN)、即ち2次元コードのサイズに対して原データのデータ量が少ないと、ステップS14において、データコード語列の後に埋め草コード語を付加する。この埋め草コード語とは、2次元コードのサイズに対して原データのデータ量が少ない場合に、原データを示す符号化パターン以降の符号化領域16が例えば空白(明モジュールのみ)となると、2次元コードの読み取りに支障があることを考慮して付加されるものである。本実施の形態では、2次元コードのフォーマットに基づいて、データが空であることを示す所定の符号化パターンが繰返し付加される。   If it is determined that the requested number of data code words is not satisfied (N in step S12), that is, if the amount of original data is small with respect to the size of the two-dimensional code, the data code word string is padded in step S14. Add grass code words. This padding code word means that when the data amount of the original data is small with respect to the size of the two-dimensional code, the encoding area 16 after the encoding pattern indicating the original data becomes, for example, blank (only the bright module). This is added in consideration of the trouble in reading the two-dimensional code. In the present embodiment, a predetermined coding pattern indicating that data is empty is repeatedly added based on the format of the two-dimensional code.

一方、要求するデータコード語数を満たすと判断すると(ステップS12のY)、埋め草コード語は付加せずに、ステップS16において、データコード語列を誤り訂正用のブロック数に分割し、ステップS18において、各ブロックに対して誤り訂正コード語を生成する。この誤り訂正コード語とは、2次元コードの読み取り誤りを訂正するための誤り訂正アルゴリズムに用いられる情報の符号化パターンを生成するための所定のビット列単位である。そして、ステップS20において、データコード語列の後に誤り訂正コード語を付加する。   On the other hand, if it is determined that the required number of data code words is satisfied (Y in step S12), no padding code word is added, and in step S16, the data code word string is divided into the number of blocks for error correction, and step S18. In step (b), an error correction code word is generated for each block. This error correction code word is a predetermined bit string unit for generating an encoding pattern of information used in an error correction algorithm for correcting a reading error of a two-dimensional code. In step S20, an error correction code word is added after the data code word string.

そして、ステップS22において、2次元コードのフォーマット情報に従って各ブロックのデータコード語・誤り訂正コード語をインターリーブにし、必要に応じて残余ビットを付加し、ステップS24において、2次元コードのフォーマット情報に基づいてマトリックスに、位置検出パターン12、位置合せパターン13、タイミングパターン14、コード語列に対応させた暗(黒)モジュールと明(白)モジュールとを配置する。   Then, in step S22, the data code word / error correction code word of each block is interleaved according to the format information of the two-dimensional code, and the remaining bits are added as necessary. In step S24, based on the format information of the two-dimensional code. A dark (black) module and a light (white) module corresponding to the position detection pattern 12, the alignment pattern 13, the timing pattern 14, and the code word string are arranged in the matrix.

そして、ステップS26において、シンボル10の符号化領域16にマスク処理パターンを適用する。このマスク処理は、ステップS24において符号化領域16に配置された暗(黒)モジュールと明(白)モジュールとが、バランスよく配置されるようにするための処理である。そして、ステップS28において、ステップS2で取得した型番情報の符号化パターンを型番領域18に配置し、形式情報の符号化パターンを形式領域20に配置し、シンボル10を完成する。   In step S26, the mask processing pattern is applied to the encoding area 16 of the symbol 10. This mask process is a process for ensuring that the dark (black) module and the bright (white) module arranged in the encoding area 16 in step S24 are arranged in a well-balanced manner. In step S28, the coding pattern of the model number information acquired in step S2 is arranged in the model number area 18, and the coding pattern of the format information is arranged in the format area 20, thereby completing the symbol 10.

図4に、このようにして生成された2次元コードシンボルの一例を示す。本実施の形態では、各コード語列に対応させた暗(黒)モジュールと明(白)モジュールの配置は、図4に示すシンボル10の右下隅から開始し、上方向、下方向を交互に操作し、右から左へ配置する。ここで、各コード語列は、原データとそのエンドパターンを示すデータコード語、埋め草コード語、誤り訂正コード語の順に配列されている。従って、シンボル10の符号化領域16には、図4に示すように、原データの符号化パターンが配置された原データ領域30と、埋め草データの符号化パターンが配置された不使用データ領域32と、誤り訂正コードの符号化パターンが配置された誤り訂正コード領域34とが形成される。   FIG. 4 shows an example of the two-dimensional code symbol generated in this way. In the present embodiment, the arrangement of the dark (black) module and the light (white) module corresponding to each code word string starts from the lower right corner of the symbol 10 shown in FIG. Operate and place from right to left. Here, each code word string is arranged in the order of the original data and the data code word indicating the end pattern, the padding code word, and the error correction code word. Therefore, in the encoding area 16 of the symbol 10, as shown in FIG. 4, the original data area 30 in which the encoding pattern of the original data is arranged and the unused data area in which the encoding pattern of the padding data is arranged. 32 and an error correction code area 34 in which an encoding pattern of an error correction code is arranged.

3.デザインデータ処理
ここで、例えばネットワークアドレス情報等を原データとして2次元コードを生成した場合には、ネットワークアドレス情報等のデータ量に比して2次元コードのデータ容量は十分に大きい。従って2次元コードでは、シンボル10の符号化領域16に、単にデータが空であることを示す不使用データ領域32が発生することが多い。そこで、本実施の形態では、モジュールパターンの配置が定まってしまう原データに加え、モジュールパターンが2次元コード上で所与の2値化デザインを構成するダミーデータを生成し、これに基づいて2次元コードシンボル20を生成する。
3. Design Data Processing Here, for example, when a two-dimensional code is generated using network address information or the like as original data, the data capacity of the two-dimensional code is sufficiently larger than the data amount of the network address information or the like. Therefore, in the two-dimensional code, an unused data area 32 that simply indicates that data is empty often occurs in the encoding area 16 of the symbol 10. Therefore, in this embodiment, in addition to the original data that determines the arrangement of the module pattern, the module pattern generates dummy data that constitutes a given binary design on the two-dimensional code. A dimension code symbol 20 is generated.

即ち、不使用データ領域32となってしまう領域をダミーデータのモジュールパターンが配置されるダミーデータ領域33として利用して、ダミーデータ領域33の暗(黒)モジュールと明(白)モジュールの配置(パターン)が、所与のデザインを構成するようなダミーデータのビット列を生成し、原データのビット列の後に付加する。そのため、本実施の形態では、図2のステップS1のデータ取得処理において、本実施の形態に特徴的なデザインデータ処理を行う。   That is, by using the area that becomes the unused data area 32 as the dummy data area 33 in which the module pattern of dummy data is arranged, the arrangement of dark (black) modules and light (white) modules in the dummy data area 33 ( A pattern) generates a bit string of dummy data that constitutes a given design, and adds it to the bit string of the original data. For this reason, in the present embodiment, design data processing characteristic of the present embodiment is performed in the data acquisition processing in step S1 of FIG.

3−1.2値化デザインデータ取得処理
図5に、デザインデータ処理の流れの一例を示す。まず、図3のステップS6までにおいて、サイズ情報・誤り訂正レベル情報・原データを取得して(ステップS2、ステップS4)、2次元コードのフォーマット情報に基づいて原データのビット列を生成する(ステップS6)。
3-1.2 Binary Design Data Acquisition Processing FIG. 5 shows an example of the design data processing flow. First, up to step S6 in FIG. 3, size information, error correction level information, and original data are acquired (steps S2 and S4), and a bit string of the original data is generated based on the format information of the two-dimensional code (step S2). S6).

ここで、従来の2次元コードの生成過程では、原データのビット列の最後にデータを示すビット列の終了に使用するエンドパターンのビット列を挿入していたが、本実施の形態では、ダミーデータ領域33で各モジュールが所与のデザインを構成するようなダミーデータのビット列を原データの後に付加するため、原データのビット列の最後にはエンドパターンは挿入しない。しかし、原データのビット列とダミーデータのビット列を連続させてしまうと、ビット列のどこまでが原データのビット列であるか区別がつかなくなってしまう(原データのビット列が失われてしまう)。   Here, in the conventional two-dimensional code generation process, the end pattern bit string used for the end of the bit string indicating the data is inserted at the end of the bit string of the original data, but in the present embodiment, the dummy data area 33 is inserted. Thus, since a bit string of dummy data such that each module constitutes a given design is added after the original data, no end pattern is inserted at the end of the bit string of the original data. However, if the bit string of the original data and the bit string of the dummy data are made continuous, it becomes impossible to distinguish how far the bit string is the bit string of the original data (the bit string of the original data is lost).

そこで、原データのビット列とダミーデータのビット列を識別するための識別子を挿入する。本実施の形態では、原データのビット列の最後に分割パターンを挿入する。この分割パターンは、例えば、ビット列を文字列とした場合に改行を示すビット列としてもよいし、スペースを示すビット列としてもよい。図11は、原データのビット列とダミーデータのビット列を、2次元コードの読取装置で文字列に変換して出力した表示画面Mの例である。図11の例では、URLを示す原データのビット列の後に、分割パターンとして改行を示すビット列を二つ挿入して、ダミーデータのビット列を付加している。従って、図11に示すように、URLの文字列ADとダミーデータの文字列DDとを区分けして表示させることができるので、ダミーデータのビット列を付加しても利用者は原データの文字列ADを特定してこれを用いることができる。   Therefore, an identifier for identifying the bit string of the original data and the bit string of the dummy data is inserted. In the present embodiment, a division pattern is inserted at the end of the bit string of the original data. For example, when the bit string is a character string, the division pattern may be a bit string indicating a line feed or a bit string indicating a space. FIG. 11 shows an example of a display screen M in which a bit string of original data and a bit string of dummy data are converted into a character string by a two-dimensional code reader and output. In the example of FIG. 11, two bit strings indicating a line feed are inserted as a division pattern after the bit string of the original data indicating the URL, and a bit string of dummy data is added. Accordingly, as shown in FIG. 11, the character string AD of URL and the character string DD of dummy data can be displayed separately, so that the user can add the character string of the original data even if the bit string of dummy data is added. An AD can be identified and used.

そして、図5のステップS40において、2次元コードのマトリックスに対応付けられた所与の2値化デザインパターンを、ダミーデータ領域33のダミーデータとして取得して、2値化デザインパターンのビット列(2値化デザインデータ)を生成する。   Then, in step S40 of FIG. 5, a given binarized design pattern associated with the matrix of the two-dimensional code is acquired as dummy data in the dummy data area 33, and the bit string (2 of the binarized design pattern) (Value design data) is generated.

本実施の形態では、2値化デザインパターンを取得するために、まずシステムの利用者に2次元コードのフォーマットに基づくマトリックス上で、各モジュールを暗(黒)モジュールと明(白)モジュールのいずれか一方に設定させ、2値化デザインパターン(絵、文字、記号、模様等)を構成させる。そして、取得した2値化デザインパターンを2次元コードのマトリックス(各モジュール)に対応付け、2次元コードのフォーマットに応じた2値化デザインパターンのビット列(ダミーデータのビット列)を生成する。   In the present embodiment, in order to obtain a binarized design pattern, first, the system user is asked whether each module is a dark (black) module or a bright (white) module on a matrix based on a two-dimensional code format. One of them is set, and a binarized design pattern (picture, character, symbol, pattern, etc.) is configured. Then, the acquired binary design pattern is associated with a two-dimensional code matrix (each module), and a binary design pattern bit string (dummy data bit string) corresponding to the two-dimensional code format is generated.

図6(A)は、システムの利用者に2値化デザインパターンを構成させるために表示部に表示する表示画面の一例である。本実施の形態では、図4に示すように原データ領域30がサイズ情報と原データのデータ量に応じて定まり、誤り訂正データ領域34がサイズ情報に応じて定まる。よって、サイズ情報と原データのビット列に基づいて原データ領域30を特定し、サイズ情報に基づいて誤り訂正データ領域34を特定し、サイズ情報と原データ領域30と誤り訂正データ領域34とに基づいて、不使用データ領域32をデザイン領域となるダミーデータ領域33として特定することができる。従って、図6(A)に示すように、2次元コードシンボル10をダミーデータ領域33が空白となるように表示することができる。   FIG. 6A is an example of a display screen displayed on the display unit in order to make the system user configure a binary design pattern. In the present embodiment, as shown in FIG. 4, the original data area 30 is determined according to the size information and the data amount of the original data, and the error correction data area 34 is determined according to the size information. Therefore, the original data area 30 is specified based on the size information and the bit string of the original data, the error correction data area 34 is specified based on the size information, and based on the size information, the original data area 30, and the error correction data area 34. Thus, the unused data area 32 can be specified as the dummy data area 33 that becomes the design area. Therefore, as shown in FIG. 6A, the two-dimensional code symbol 10 can be displayed so that the dummy data area 33 is blank.

図6(B)は、利用者が構成した2値化デザインパターンの一例である。図6(B)の例は、図6(A)に示す2次元コードシンボル10を表示部に表示し、利用者にダミーデータ領域33の各モジュールを暗(黒)モジュールと明(白)モジュールのいずれか一方に設定させて、2値化デザインパターンを構成させたものである。従って、図6(B)の例では、利用者が各モジュールを暗(黒)モジュールと明(白)モジュールのいずれか一方に設定すると、構成させた2値化デザインパターンをそのままダミーデータ領域33の各モジュールに対応付けて、2値化デザインパターンのビット列を生成することができる。   FIG. 6B is an example of a binarized design pattern configured by the user. In the example of FIG. 6B, the two-dimensional code symbol 10 shown in FIG. 6A is displayed on the display unit, and each module of the dummy data area 33 is displayed to the user as a dark (black) module and a bright (white) module. The binarized design pattern is configured by setting any one of the above. Therefore, in the example of FIG. 6B, when the user sets each module to one of the dark (black) module and the light (white) module, the configured binarized design pattern is used as it is in the dummy data area 33. It is possible to generate a bit string of a binarized design pattern in association with each module.

3−2.2値化デザインデータ逆変換処理と判定処理
しかし、本実施の形態では、図2のステップS26のように、2次元コードを生成する際にマスクパターンとコード語モジュールパターンとでXOR演算による変換を行う。従って、2次元コードのダミーデータ領域33で所与のデザインを構成する2値化デザインパターンのビット列を生成しても、そのままではマスクパターンとのXOR演算により、2値化デザインパターンのビット列が2次元コード上でデザインを構成しないビット列に変換されてしまう。
3-2.2 Binary Design Data Inverse Conversion Process and Judgment Process However, in this embodiment, as shown in step S26 of FIG. 2, when generating a two-dimensional code, the mask pattern and the code word module pattern are XORed. Perform conversion by calculation. Therefore, even if a bit string of a binarized design pattern forming a given design is generated in the dummy data area 33 of the two-dimensional code, the bit string of the binarized design pattern is 2 by an XOR operation with the mask pattern as it is. It is converted into a bit string that does not constitute a design on the dimension code.

そこで、本実施の形態では、2次元コードを生成する際にマスクパターンとのXOR演算を行うと2値化デザインパターンのビット列に戻るように、生成した2値化デザインパターンのビット列を予め逆変換しておく。即ち、本実施の形態では、図2のステップS26でマスクパターンが適用される前に、予め2値化デザインパターンとマスクパターンとでXOR演算による変換を行う。そして、得られた2値化デザインパターンの逆変換ビット列を2次元コードのダミーデータ領域33のデータとして扱って、図2のステップS26でマスクパターンを適用すると、ダミーデータ領域33で所与のデザインを構成するモジュールパターンとすることができる。   Therefore, in this embodiment, the bit sequence of the generated binarized design pattern is inversely converted in advance so that if the XOR operation with the mask pattern is performed when generating the two-dimensional code, the bit sequence of the generated binarized design pattern is restored. Keep it. That is, in the present embodiment, before the mask pattern is applied in step S26 in FIG. 2, conversion by the XOR operation is performed in advance between the binarized design pattern and the mask pattern. Then, the inversely converted bit string of the obtained binarized design pattern is treated as data in the dummy data area 33 of the two-dimensional code, and the mask pattern is applied in step S26 of FIG. The module pattern can be configured as follows.

更に、2値化デザインパターンの逆変換ビット列を2次元コードのダミーデータ領域33のデータとして扱うためには、逆変換ビット列が、2次元コードのフォーマットに適合するビット列である必要がある。しかし、2値化デザインパターンのビット列については、モジュールパターンが所与のデザインを構成するように生成したものであるから、原データのように通常の文字列を変換したビット列と異なり、2次元コードのフォーマットに適合しない場合がある。すると、逆変換ビット列を生成してもそれを用いて2次元コードを生成できない場合がある。そこで、本実施の形態では、逆変換ビット列が2次元コードのフォーマットに適合するか否かを判定し、不適合であるビット列については補正処理を行う。   Furthermore, in order to handle the inversely converted bit string of the binarized design pattern as data in the dummy data area 33 of the two-dimensional code, the inversely converted bit string needs to be a bit string that conforms to the format of the two-dimensional code. However, the bit string of the binary design pattern is generated so that the module pattern constitutes a given design. Therefore, unlike the bit string obtained by converting the normal character string like the original data, the two-dimensional code May not be compatible with other formats. Then, even if an inversely converted bit string is generated, it may not be possible to generate a two-dimensional code using it. Therefore, in this embodiment, it is determined whether or not the inversely converted bit string conforms to the format of the two-dimensional code, and correction processing is performed on the bit string that does not conform.

より詳細には、図5のステップS42において、サイズ情報、誤り訂正レベル情報、原データのビット列に基づき、ダミーデータ領域33を特定し、ステップS44において、ダミーデータ領域33に該当する2値化デザインパターンのビット列を抽出する。そして、ステップS46において、抽出した2値化デザインパターンのビット列即ちダミーデータのビット列が、入力データとして何組分あるかを求める。つまり、本実施の形態の2次元コード生成システムが、取得した入力データをビット列に変換する際の分割単位に、ダミーデータのビット列を分割し、その数をNとする。そして、N個の分割単位のビット列ごとに、マスクパターンによる逆変換処理を行い、逆変換処理後のビット列が2次元コードのフォーマットに適合するか否かを判定する。   More specifically, in step S42 of FIG. 5, the dummy data area 33 is specified based on the size information, error correction level information, and the bit string of the original data. In step S44, the binarized design corresponding to the dummy data area 33 is specified. Extract the bit string of the pattern. In step S46, how many sets of bit sequences of the extracted binarized design pattern, that is, bit sequences of dummy data, are obtained as input data. That is, the two-dimensional code generation system according to the present embodiment divides the bit string of dummy data into division units when converting the acquired input data into bit strings, and sets the number to N. Then, inverse conversion processing using a mask pattern is performed for each N divided bit strings, and it is determined whether the bit string after the inverse conversion processing conforms to the format of the two-dimensional code.

そこで、まずステップS48において分割単位数のカウンタをi=0にセットし、ステップS50においてi=Nとなったか判断し、カウンタがNでない場合には(ステップS50のN)、ステップS52において、i組目のダミーデータのビット列と、対応するマスクパターンとのXOR処理を行い、i組目の逆変換ビット列を生成する。そして、ステップS54において、i組目の逆変換ビット列が2次元コードのフォーマットを満たしているか否か判定する。本実施の形態では、2次元コードのフォーマットに適合するビット列、或いは2次元コードのフォーマットに適合しないビット列を予め記憶部に記憶しておき、比較判定を行う。   Therefore, first, a counter for the number of division units is set to i = 0 in step S48, and it is determined whether i = N in step S50. If the counter is not N (N in step S50), i is determined in step S52. XOR processing of the bit string of the dummy data of the set and the corresponding mask pattern is performed to generate the i-th inverted conversion bit string. In step S54, it is determined whether or not the i-th inverse conversion bit string satisfies the format of the two-dimensional code. In this embodiment, a bit string that conforms to the format of the two-dimensional code or a bit string that does not conform to the format of the two-dimensional code is stored in the storage unit in advance, and the comparison determination is performed.

そして、適合すると判定した場合には(ステップS54のY)、ステップS58において、当該逆変換ビット列をバッファに格納する。一方、不適合と判定した場合には(ステップS54のN)、ステップS56において、当該逆変換ビット列の一部を2次元コードのフォーマットに適合するように補正する補正処理を行ってから補正処理後の逆変換ビット列をバッファに格納する。なお、ステップS56において逆変換ビット列の一部のビットを変更してからステップS54に戻り、適合と判定する(ステップS54のY)までステップS54とステップS56の処理をループさせてもよい。   If it is determined that they match (Y in step S54), the inversely converted bit string is stored in the buffer in step S58. On the other hand, when it is determined as non-conforming (N in step S54), in step S56, a correction process for correcting a part of the inversely converted bit string so as to conform to the format of the two-dimensional code is performed, and then the correction process is performed. Store the inverse transformation bit string in the buffer. Note that it is also possible to return to step S54 after changing some bits of the inversely converted bit string in step S56, and loop the processing of step S54 and step S56 until it is determined to be compatible (Y in step S54).

そして、ステップS60でi=i+1としてカウンタをインクリメントした上でステップS50に戻り、i=Nとなるまで即ち全ての組のダミーデータのビット列について逆変換処理と判定処理を行うまで、ステップS50からステップS60までの処理を繰り返す。   Then, in step S60, i = i + 1 and the counter is incremented. Then, the process returns to step S50, and until i = N, that is, until the inverse conversion process and the determination process are performed for the bit strings of all the sets of dummy data, The process up to S60 is repeated.

図7は、図6(B)の例から抽出した2値化デザインパターン40と、マスクパターン42とでXOR演算による変換を行って得られる逆変換モジュールパターン44の例である。図7に示すように、本実施の形態では、2値化デザインパターン40とマスクパターン42とで対応するモジュールが、同種のモジュールである場合には当該モジュールを暗(黒)モジュールとし(0+0=1、1+1=1)、異種のモジュールである場合には当該モジュールを明(白)モジュールとする(0+1=0、1+0=0)。   FIG. 7 is an example of an inverse conversion module pattern 44 obtained by performing conversion by XOR operation between the binarized design pattern 40 extracted from the example of FIG. 6B and the mask pattern 42. As shown in FIG. 7, in the present embodiment, when the modules corresponding to the binarized design pattern 40 and the mask pattern 42 are the same type of module, the module is set as a dark (black) module (0 + 0 = 1, 1 + 1 = 1), if the module is of a different type, the module is set as a bright (white) module (0 + 1 = 0, 1 + 0 = 0).

従って、XOR演算による変換を行って得られる逆変換モジュールパターン44はデザインを構成しないものとなるが、2次元コードを生成する際に再びマスクパターンとのXOR演算を行うことにより2値化デザインパターンに戻るものである。こうして、ダミーデータ領域33に対応する2値化デザインパターンのビット列(ダミーデータのビット列)をマスクパターンで逆変換した逆変換ビット列を生成する。なお、マスクパターン42の4隅などのグレーの部分、即ち生成される2次元コードの位置検出パターン12と位置合せパターン13とタイミングパターン14とに対応する領域46には、マスク処理を適用しないようになっている。   Accordingly, the inverse conversion module pattern 44 obtained by performing the conversion by the XOR operation does not constitute a design. However, the binary design pattern is obtained by performing the XOR operation with the mask pattern again when generating the two-dimensional code. Return to. In this way, an inversely converted bit string is generated by inversely converting the bit string of the binarized design pattern (dummy data bit string) corresponding to the dummy data area 33 with the mask pattern. It should be noted that the mask processing is not applied to gray portions such as the four corners of the mask pattern 42, that is, the regions 46 corresponding to the position detection pattern 12, the alignment pattern 13, and the timing pattern 14 of the generated two-dimensional code. It has become.

こうして、全ての組のダミーデータのビット列について逆変換処理と判定処理を行うと、即ち図5のステップS50においてi=Nとなると(ステップS50のY)、図2のステップS10以降において、図3のステップS6で生成された分割パターンを含む原データのビット列と、生成された2値化デザインパターンの逆変換ビット列とをデータコード語に分割し、ステップS12において、得られたデータコード語列がデータコード語数を満たすか否かを判断する。   In this way, when the inverse conversion process and the determination process are performed on the bit strings of the dummy data of all sets, that is, when i = N in step S50 of FIG. 5 (Y of step S50), in FIG. The bit sequence of the original data including the division pattern generated in step S6 and the inversely converted bit sequence of the generated binary design pattern are divided into data code words. In step S12, the obtained data code word sequence is It is determined whether or not the number of data code words is satisfied.

ここで、2値化デザインパターンの逆変換ビット列は、ダミーデータ領域33のモジュール全てを含んでいる。よって、原データのビット列と逆変換ビット列とからなるデータコード語列は、ステップS12において、データコード語数を満たすと判断される(ステップS12のY)。従って、ステップS14で埋め草コード語は付加されず、そのままステップS16〜ステップS24までの2次元コードのフォーマットに基づく処理が行われる。すると、図8の左側のモジュールパターン54のように、位置検出パターン12等が配置され、原データのモジュールパターン48と逆変換モジュールパターン44と、それらに対応する誤り訂正コードパターン50とを含むマスク前パターン52が生成される。   Here, the inverse conversion bit string of the binarized design pattern includes all the modules in the dummy data area 33. Therefore, it is determined that the data code word string composed of the bit string of the original data and the inversely converted bit string satisfies the number of data code words in step S12 (Y in step S12). Accordingly, the padding code word is not added in step S14, and the processing based on the two-dimensional code format from step S16 to step S24 is performed as it is. Then, like the module pattern 54 on the left side of FIG. 8, the position detection pattern 12 and the like are arranged, and a mask including the module pattern 48 of the original data, the inverse conversion module pattern 44, and the error correction code pattern 50 corresponding to them. A previous pattern 52 is generated.

そして、ステップS26において、マスク前パターン52にマスク処理パターンを適用すると、2値化デザインパターンの逆変換ビット列が変換されて、元の2値化デザインパターンのビット列に戻る。即ち、図8に示すように、マスク前パターン52と、マスクパターン42とでXOR演算による変換を行うことにより、ダミーデータ領域33に2値化デザインパターン40が構成されたデザイン2次元コードシンボル54を生成することができる。   In step S26, when a mask processing pattern is applied to the pre-mask pattern 52, the inverse conversion bit string of the binarized design pattern is converted and the bit string of the original binarized design pattern is restored. That is, as shown in FIG. 8, the design two-dimensional code symbol 54 in which the binarized design pattern 40 is formed in the dummy data area 33 by performing the conversion by the XOR operation between the pre-mask pattern 52 and the mask pattern 42. Can be generated.

こうして、本実施の形態によれば、逆変換モジュールパターン44を生成しておくことにより、その後は通常の2次元コードの生成手順に従って、2値化デザインパターン40が構成された2次元コードシンボル54を生成することができる。そして、2値化デザインパターン40が構成された2次元コードシンボル54のうち、原データ領域30には原データのモジュールパターン48が配置されているので、2次元コードの読取装置がこの2次元コード54を読み取ると、本システム利用者が2次元コードシンボルを介して伝達しようとする情報である原データを読み取らせることができる。   Thus, according to the present embodiment, by generating the inverse conversion module pattern 44, the two-dimensional code symbol 54 in which the binarized design pattern 40 is configured according to the normal two-dimensional code generation procedure thereafter. Can be generated. Of the two-dimensional code symbols 54 in which the binarized design pattern 40 is configured, the original data module pattern 48 is arranged in the original data area 30. Therefore, the two-dimensional code reader is used by the two-dimensional code reader. By reading 54, it is possible to read the original data, which is information that the user of the present system intends to transmit via the two-dimensional code symbol.

なお、図11に示すように、原データのモジュールパターン48については、読取装置に読み取られると利用者が原データとして入力した原データの文字列ADが出力されるが、2値化デザインパターン40(ダミーデータのモジュールパターン)については、モジュールパターンが所与のデザインを構成するようにビット列を生成したものであるから、ダミーデータの文字列DDのように意味を成さない文字列となる。しかし、
このように、本実施の形態によれば、人目を引き付けることができる2値化デザインパターンが構成された2次元コードを、通常の2次元コードの生成手順に従って簡易に生成することができる。しかも、生成された2次元コードは2値化デザインが構成されていても、補正処理を行なった上で通常の2次元コードの生成手順に従って生成されているので、2次元コードを読取装置により正確に読み取らせることができる。
As shown in FIG. 11, when the module pattern 48 of the original data is read by the reading device, the character string AD of the original data input by the user as the original data is output. Since (dummy data module pattern) is a bit string generated so that the module pattern forms a given design, it becomes a character string that does not make sense like the character string DD of dummy data. But,
Thus, according to the present embodiment, a two-dimensional code in which a binarized design pattern that can attract attention can be easily generated according to a normal two-dimensional code generation procedure. In addition, even if the generated two-dimensional code has a binarized design, it is generated according to a normal two-dimensional code generation procedure after correction processing. Can be read.

なお、図5のステップS44において、原データ領域30に該当する原データのビット列も合わせて抽出し、原データのビット列及び2値化デザインパターンのビット列と、マスクパターンとでXOR演算による変換を行ってもよい。即ち、少なくともダミーデータ領域33に該当する2値化デザインパターンのビット列について、逆変換がなされていればよい。   In step S44 in FIG. 5, the bit string of the original data corresponding to the original data area 30 is also extracted and converted by the XOR operation between the bit string of the original data, the bit string of the binarized design pattern, and the mask pattern. May be. That is, it suffices that reverse conversion is performed on at least the bit string of the binarized design pattern corresponding to the dummy data area 33.

また、本実施の形態では、2次元コードを生成する際のマスクパターンによる変換処理を考慮して逆変換を行う例を挙げて説明したが、取得した2値化デザインパターンのビット列に対して2次元コードを生成する際に他の変換処理が行われる場合には、その変換処理を行うと2値化デザインパターンのビット列に戻るように、生成した2値化デザインパターンのビット列を予め逆変換しておく。ここで、逆変換とは、2次元コードを生成する際の変換処理により2値化デザインパターンのビット列に戻るようなビット列に、2値化デザインパターンのビット列を変換する処理をいう。例えば本実施の形態では、逆変換処理と、2次元コードを生成する際の変換処理とが、ともにXOR演算であって同一の変換処理となるものであるが、かかる場合も逆変換の概念に含まれる。   In the present embodiment, an example in which reverse conversion is performed in consideration of conversion processing using a mask pattern when generating a two-dimensional code has been described. However, 2 bits are obtained for a bit string of an acquired binary design pattern. If another conversion process is performed when generating the dimension code, the generated bit string of the binarized design pattern is inversely converted in advance so that the conversion process returns to the bit string of the binarized design pattern. Keep it. Here, the inverse conversion refers to a process of converting the bit string of the binarized design pattern into a bit string that returns to the bit string of the binarized design pattern by the conversion process when generating the two-dimensional code. For example, in this embodiment, the inverse transformation process and the transformation process when generating the two-dimensional code are both XOR operations and become the same transformation process. included.

なお、図2のステップS26のマスク処理において、複数種類のマスクパターンが適用され、所定の評価関数に基づいて最もバランスよくモジュールが配置されるマスクパターンが選択される場合には、図3のステップS2において、マスク処理で適用させるマスクパターンを指定するマスクパターン情報を取得し、当該マスクパターンで図5のステップS46の逆変換処理と、図2のステップS26の変換処理とを行うようにしてもよい。   In the mask process in step S26 of FIG. 2, when a plurality of types of mask patterns are applied and a mask pattern in which modules are arranged in a most balanced manner is selected based on a predetermined evaluation function, the step of FIG. In S2, mask pattern information specifying a mask pattern to be applied in the mask process is acquired, and the inverse conversion process in step S46 in FIG. 5 and the conversion process in step S26 in FIG. 2 are performed with the mask pattern. Good.

4.符号化パターンの変更処理
本実施の形態の2次元コードでは、誤り訂正コード領域34に配置された誤り訂正コードパターンにより、符号化領域16の符号化パターンを2次元コードの読み取り装置で読み取る際の読み誤りを訂正することができる。例えば、誤り訂正レベルがLの場合には復元能力は7パーセントとされ、おおよそ100個のモジュールのうち7個のモジュールが汚れ等で誤ったパターンとして読み取られたとしても、元の正しいモジュールパターンに復元することができる。
4). Encoding pattern change processing In the two-dimensional code of the present embodiment, the error correction code pattern arranged in the error correction code area 34 is used to read the encoding pattern in the encoding area 16 with a two-dimensional code reader. Reading errors can be corrected. For example, when the error correction level is L, the restoration capability is 7%, and even if 7 modules out of approximately 100 modules are read as an incorrect pattern due to dirt or the like, the original correct module pattern is restored. Can be restored.

そこで、本実施の形態では、上述のようにして生成された2次元コードの誤り訂正レベル情報に応じて、生成された2次元コードの変更処理を受け付ける。具体的には、図9(A)に示すように、本実施の形態で生成された所与の2値化デザインパターンが配置された2次元コードシンボル10を表示部に表示する。そして、システムの利用者からいずれかのモジュールの変更設定を受け付ける。なお、図9(A)〜(C)のシンボル10は、図6で表示したシンボル10を反時計回りに90度回転させて表示したものである。   Therefore, in the present embodiment, a change process of the generated two-dimensional code is accepted according to the error correction level information of the two-dimensional code generated as described above. Specifically, as shown in FIG. 9A, a two-dimensional code symbol 10 in which a given binarized design pattern generated in the present embodiment is arranged is displayed on the display unit. And the change setting of any module is received from the user of a system. Note that the symbol 10 in FIGS. 9A to 9C is obtained by rotating the symbol 10 displayed in FIG. 6 by 90 degrees counterclockwise.

例えば、図9(A)の例では、海に浮かぶ島に人が立っている様子がデザインされているが、誤り訂正コード領域34のモジュールパターンにより島の輪郭が明確でない。そこで、本実施の形態によればモジュールの変更設定を受け付けて、図9(B)に示すように、誤り訂正コード領域34の一部の領域60の暗(黒)モジュールを一部削除し、島の輪郭を明確化させることができる。このように、本実施の形態では、誤り訂正データ領域34の一部をもデザイン領域とすることができる。   For example, in the example of FIG. 9A, the appearance of a person standing on an island floating in the sea is designed, but the outline of the island is not clear due to the module pattern of the error correction code area 34. Therefore, according to the present embodiment, the module change setting is accepted, and as shown in FIG. 9B, a part of the dark (black) module in the partial area 60 of the error correction code area 34 is deleted, The outline of the island can be clarified. Thus, in the present embodiment, a part of the error correction data area 34 can also be used as a design area.

そして、変更設定されたモジュールに対応するビット列のビットも変更する。このとき、設定されている誤り訂正レベル情報とサイズ情報とに応じて、変更設定を受け付けるモジュール数を制限する。   Then, the bit of the bit string corresponding to the changed module is also changed. At this time, the number of modules that accept the change setting is limited according to the set error correction level information and size information.

例えば、誤り訂正レベル情報が「M」(復元能力は15パーセント)であって、サイズ情報が7型(データビット数は1248)である場合には、例えば100個までのモジュールの変更設定を受け付ける。また、誤り訂正レベル情報が「H」(復元能力は30パーセント)であって、サイズ情報が15型(データビット数は1784)である場合には、例えば300個までのモジュールの変更設定を受け付ける。   For example, when the error correction level information is “M” (recovery capability is 15%) and the size information is 7 type (the number of data bits is 1248), for example, change settings for up to 100 modules are accepted. . Further, when the error correction level information is “H” (restoration capability is 30%) and the size information is 15 type (the number of data bits is 1784), for example, change setting of up to 300 modules is accepted. .

また、本実施の形態では、ダミーデータの逆変換ビット列が2次元コードのフォーマットに適合するか否かを判定し、不適合であるビット列については補正処理を行っているので(図5のステップS56)、システムの利用者が入力した2値化デザインパターンが変更されて2次元コードが生成される場合がある。例えば、図9(A)の例では、島に立っている人の右手付近のモジュール62が補正されてデザインパターンが変更されている。そこで、本実施の形態では、かかる場合に2次元コードの誤り訂正レベル情報に応じてモジュールの変更設定を受け付ける。そして、図9(A)のモジュール62を、図9(B)のモジュール64のようにして、暗(黒)モジュールと明(白)モジュールとを入れ替えて補正処理前のビット列に戻す。こうして、補正処理が行われたデザインパターンを利用者が入力した2値化デザインパターンに修正することができる。そして、かかる変更設定を行ったとしても、変更設定前のビット列に対して誤り訂正コードが生成されているので、読み取りの正確性は誤り訂正データにより担保することができる。   Further, in this embodiment, it is determined whether or not the reverse conversion bit string of the dummy data conforms to the format of the two-dimensional code, and correction processing is performed for the bit string that does not conform (step S56 in FIG. 5). The binary design pattern input by the system user may be changed to generate a two-dimensional code. For example, in the example of FIG. 9A, the design pattern is changed by correcting the module 62 near the right hand of the person standing on the island. Therefore, in this embodiment, in such a case, the module change setting is accepted according to the error correction level information of the two-dimensional code. Then, the module 62 in FIG. 9A is replaced with the dark (black) module and the light (white) module as in the module 64 in FIG. In this way, the corrected design pattern can be corrected to a binary design pattern input by the user. Even if such change setting is performed, since the error correction code is generated for the bit string before the change setting, the reading accuracy can be secured by the error correction data.

また、このような補正処理を行ったビットを補正処理前のビットに変更する処理をアルゴリズムにより自動的に実行してもよい。この場合には、図5のステップS56で補正したビットの位置、数を記憶しておき、図2のステップS18で誤り訂正コード語を生成した後に、設定されている誤り訂正レベル情報とサイズ情報とに応じて、復元能力の範囲内で補正したビットを再変更してもよい。また、補正処理を行う前の逆変換ビット列を記憶しておき、補正処理後のビット列と比較判定し、異なるビットを再変更するように構成してもよい。   Further, the process of changing the bit subjected to such correction processing to the bit before the correction processing may be automatically executed by an algorithm. In this case, the position and number of bits corrected in step S56 in FIG. 5 are stored, and after the error correction code word is generated in step S18 in FIG. 2, the set error correction level information and size information are set. Depending on the above, the bit corrected within the range of the restoration capability may be changed again. Further, it may be configured such that an inversely converted bit string before correction processing is stored, compared with a bit string after correction processing, and different bits are changed again.

また、図9(C)に示すように、図9(B)では表示させていた位置合せパターン13の省略処理を受け付けるようにしてもよい。この場合、図2のステップS24で配置した位置合せパターン13を削除する処理を行う。なお、この位置合せパターン13の省略処理は、図2のステップS1のデータ取得処理において予め位置合せパターン13の配置処理を省略する旨の情報を取得し、図2のステップS24で該当する位置合せパターン13の配置処理を省略するように構成してもよい。   Further, as shown in FIG. 9C, a process for omitting the alignment pattern 13 displayed in FIG. 9B may be accepted. In this case, processing for deleting the alignment pattern 13 arranged in step S24 of FIG. 2 is performed. The omission process of the alignment pattern 13 is acquired in advance in the data acquisition process of step S1 in FIG. 2 by acquiring information indicating that the arrangement process of the alignment pattern 13 is omitted, and in step S24 of FIG. The arrangement process of the pattern 13 may be omitted.

5.構成
図10に本実施形態の2次元コード生成システムの機能ブロック図の例を示す。なお本実施形態の2次元コード生成システムは図10の構成要素(各部)の一部を省略した構成としてもよい。
5). Configuration FIG. 10 shows an example of a functional block diagram of the two-dimensional code generation system of this embodiment. Note that the two-dimensional code generation system of this embodiment may have a configuration in which some of the components (each unit) in FIG. 10 are omitted.

入力部160は、生成する2次元コードの基本データ、生成した2次元コードから読み取られるべき原データ、生成した2次元コードに構成されるデザインデータなどを入力するためのものである。その機能は、例えばボタンやレバーの他、入力部と表示部の両方の機能を有するタッチパネル型表示部(パネルに画像が表示されると共に、指やペンで画面を触れたり押すことで情報を入力できる装置)により実現できる。また、スキャナやカメラ等の光学読み取り装置によりデザインデータを入力するようにしてもよい。   The input unit 160 is for inputting basic data of a two-dimensional code to be generated, original data to be read from the generated two-dimensional code, design data constituted by the generated two-dimensional code, and the like. Its functions include, for example, buttons and levers, as well as a touch panel display unit that has both input and display functions (images are displayed on the panel, and information is input by touching or pressing the screen with a finger or pen. Device). Further, design data may be input by an optical reading device such as a scanner or a camera.

記憶部170は、処理部100などのワーク領域となるもので、その機能はRAMなどのハードウェアにより実現できる。   The storage unit 170 serves as a work area for the processing unit 100 and the like, and its function can be realized by hardware such as a RAM.

情報記憶媒体180(コンピュータにより読み取り可能な媒体)は、プログラムやデータなどを格納するものであり、その機能は、光ディスク(CD、DVD)、光磁気ディスク(MO)、磁気ディスク、ハードディスク、磁気テープ、或いはメモリ(ROM)などのハードウェアにより実現できる。処理部100は、この情報記憶媒体180に格納されるプログラム(データ)に基づいて本実施形態の種々の処理を行う。即ち情報記憶媒体180には、本実施形態の各部としてコンピュータを機能させるためのプログラム(各部をコンピュータに実現させるためのプログラム)が記憶(記録、格納)される。   The information storage medium 180 (computer-readable medium) stores programs, data, and the like, and functions as an optical disk (CD, DVD), magneto-optical disk (MO), magnetic disk, hard disk, and magnetic tape. Alternatively, it can be realized by hardware such as a memory (ROM). The processing unit 100 performs various processes of this embodiment based on a program (data) stored in the information storage medium 180. That is, the information storage medium 180 stores (records and stores) a program for causing the computer to function as each unit of the present embodiment (a program for causing the computer to implement each unit).

表示部190は、本実施形態により生成された画像を出力するものであり、その機能はCRT、液晶ディスプレイ、プラズマディスプレイ、入力部と表示部の両方の機能を有するタッチパネル型表示部により実現できる。   The display unit 190 outputs an image generated according to the present embodiment, and the function can be realized by a CRT, a liquid crystal display, a plasma display, and a touch panel type display unit having both functions of an input unit and a display unit.

通信部196は、外部(例えばホストや他の端末)との間で通信を行うための各種の制御を行うものであり、その機能は、各種プロセッサ又は通信用ASICなどのハードウェアや、プログラムなどにより実現できる。   The communication unit 196 performs various controls for communicating with the outside (for example, a host or another terminal), and functions thereof are hardware such as various processors or communication ASICs, programs, and the like. Can be realized.

なお本実施形態の各部としてコンピュータを機能させるためのプログラム(データ)は、ホスト(サーバー)が有する情報記憶媒体からネットワーク(広域ネットワーク、インターネット)及び通信部196を介して情報記憶媒体180(記憶部170)に配信するようにしてもよい。このようなホスト(サーバー)の情報記憶媒体の使用も本発明の範囲内に含まれる。   Note that a program (data) for causing a computer to function as each unit of the present embodiment is transferred from an information storage medium included in a host (server) to an information storage medium 180 (storage unit) via a network (wide area network, the Internet) and a communication unit 196. 170). Use of such a host (server) information storage medium is also included within the scope of the present invention.

処理部100(プロセッサ)は、入力部160からの入力データやプログラムなどに基づいて、データ表示処理、データ加工処理、データ変換処理、2次元コード生成処理などの各種の処理を行う。この場合、処理部100は、記憶部170内の主記憶部172をワーク領域として使用して、各種の処理を行う。この処理部100の機能は、各種プロセッサ(CPU、DSP等)又はASIC(ゲートアレイ等)などのハードウェアや、プログラムにより実現できる。   The processing unit 100 (processor) performs various processes such as a data display process, a data processing process, a data conversion process, and a two-dimensional code generation process based on input data and programs from the input unit 160. In this case, the processing unit 100 performs various processes using the main storage unit 172 in the storage unit 170 as a work area. The function of the processing unit 100 can be realized by hardware such as various processors (CPU, DSP, etc.) or ASIC (gate array, etc.) and programs.

処理部100は、データ取得部110、コードサイズ決定部112、ダミーデータ領域特定部114、2値化デザインデータ変換部118、補正処理部119、2次元コード生成部120、2次元コード変更部122を含む。なお、処理部100は、これらの各部(機能ブロック)を全て含む必要はなく、その一部を省略してもよい。   The processing unit 100 includes a data acquisition unit 110, a code size determination unit 112, a dummy data area specification unit 114, a binarized design data conversion unit 118, a correction processing unit 119, a two-dimensional code generation unit 120, and a two-dimensional code change unit 122. including. Note that the processing unit 100 does not need to include all these units (functional blocks), and some of them may be omitted.

データ取得部110は、入力部160への入力情報に基づき、シンボルの型番情報(サイズ情報)と形式情報(誤り訂正レベル情報)とを取得する。また、本システム利用者が2次元コードシンボルを介して伝達しようとする情報である原データ(ネットワークアドレス情報等)を、2次元コードのフォーマットに基づいてビットコード(ビット列)に変換する。   The data acquisition unit 110 acquires symbol model number information (size information) and format information (error correction level information) based on information input to the input unit 160. Further, original data (network address information or the like) that is information that the system user intends to transmit via the two-dimensional code symbol is converted into a bit code (bit string) based on the format of the two-dimensional code.

また、データ取得部110は、2次元コードに対応付けられた所与の2値化デザインデータを、2次元コードのフォーマットに基づいてビットコード(ビット列)に変換する。ここで、データ取得部110は、利用者がダミーデータ領域33の各モジュールに対応付けながら入力したデザインパターンを取得することにより、2値化デザインパターンのビットコードを取得するようにしてもよい。また、データ取得部110は、スキャナ等のハードウェアで取り込んだデザインデータや情報記憶媒体に記憶されたデザインデータを、2次元コードのマトリックスに対応付ける変換処理を行い、2値化デザインパターンとして取得するようにしてもよい。   The data acquisition unit 110 converts given binary design data associated with the two-dimensional code into a bit code (bit string) based on the format of the two-dimensional code. Here, the data acquisition unit 110 may acquire the bit code of the binarized design pattern by acquiring the design pattern input by the user in association with each module in the dummy data area 33. In addition, the data acquisition unit 110 performs conversion processing that associates design data captured by hardware such as a scanner or design data stored in an information storage medium with a matrix of a two-dimensional code, and acquires the data as a binary design pattern. You may do it.

また、コードサイズ決定部112を採用し、取得した2値化デザインデータのサイズ(領域、ビット数)に応じて2次元コードのサイズを決定するようにしてもよい。例えば、取得した2値化デザインパターンに対応するモジュールがダミーデータ領域33内に納まるように2次元コードのサイズ情報を決定し、データ取得部110が当該サイズ情報を取得するようにしてもよい。この場合、原データのビットコード、2値化デザインデータのビットコードに基づいて、当該2値化デザインパターンを配置可能なダミーデータ領域33を確保できる2次元コードのサイズ情報を特定するようにしてもよい。   In addition, the code size determination unit 112 may be employed to determine the size of the two-dimensional code according to the size (area, number of bits) of the acquired binarized design data. For example, the size information of the two-dimensional code may be determined so that the module corresponding to the acquired binarized design pattern fits in the dummy data area 33, and the data acquisition unit 110 may acquire the size information. In this case, based on the bit code of the original data and the bit code of the binarized design data, the size information of the two-dimensional code that can secure the dummy data area 33 in which the binarized design pattern can be allocated is specified. Also good.

ダミーデータ領域特定部114は、2次元コードのサイズ情報と、原データを変換したビットコードとに基づいて、原データのデータ量に応じた2次元コードのダミーデータ領域33を特定する。より詳細には、ダミーデータ領域特定部114は、サイズ情報に応じて誤り訂正データ領域34を特定し、原データに基づいて原データ領域30を特定し、サイズ情報と誤り訂正データ領域34と原データ領域30とに基づいてダミーデータ領域33を特定する。   The dummy data area specifying unit 114 specifies the dummy data area 33 of the two-dimensional code corresponding to the data amount of the original data based on the size information of the two-dimensional code and the bit code obtained by converting the original data. More specifically, the dummy data area specifying unit 114 specifies the error correction data area 34 according to the size information, specifies the original data area 30 based on the original data, and stores the size information, the error correction data area 34, and the original data area 30. A dummy data area 33 is specified based on the data area 30.

2値化デザインデータ変換部118は、ダミーデータ領域33に対応する2値化デザインデータを、2次元コードのフォーマット情報に基づいて逆変換したビットコードを求める。具体的には、図5及び図5の説明に示す各処理を行って、2値化デザインパターンのビットコードを逆変換したビットコードを求める。なお、図5の説明の変形例として、ダミーデータ領域33に対応する2値化デザインデータを、2次元コードのフォーマットに基づいた分割単位に分割せずに、全体として逆変換処理を行うようにしてもよい。   The binarized design data conversion unit 118 obtains a bit code obtained by inversely converting the binarized design data corresponding to the dummy data area 33 based on the format information of the two-dimensional code. Specifically, each process shown in FIGS. 5 and 5 is performed to obtain a bit code obtained by inversely converting the bit code of the binarized design pattern. As a modification of the description of FIG. 5, the binarized design data corresponding to the dummy data area 33 is not divided into division units based on the format of the two-dimensional code, and the inverse conversion process is performed as a whole. May be.

補正処理部119は、逆変換後のビットコードが2次元コードのフォーマットに適合するか否かを判定し、不適合ビットコードについては補正処理を行ってダミーデータのビットコードを求める。例えば、逆変換後のビットコードに対する判定処理と補正処理とを、2次元コードのフォーマットに基づいた分割単位ごとに行ってもよいし、全体として行ってもよい。また、ビット(モジュール)ごとに行うようにしてもよい。   The correction processing unit 119 determines whether or not the bit code after the inverse conversion conforms to the format of the two-dimensional code, and performs a correction process on the non-conforming bit code to obtain the bit code of the dummy data. For example, the determination process and the correction process for the bit code after the inverse conversion may be performed for each division unit based on the format of the two-dimensional code, or may be performed as a whole. Further, it may be performed for each bit (module).

また、2値化デザインデータ変換部118の処理と補正処理部119の処理の順序を入れ替えて行ってもよい。例えば、補正処理部119が、ダミーデータ領域に対応する2値化デザインデータのビットコードが2次元コードのフォーマットに適合するか否かを判定し、不適合ビットコードについては補正処理を行ってダミーデータのビットコードを求め、2値化デザインデータ変換部118が、補正処理後のダミーデータのビットコードを2次元コードのフォーマット情報に基づいて逆変換したビットコードを求めるようにしてもよい。   Further, the order of the processing of the binarized design data conversion unit 118 and the processing of the correction processing unit 119 may be switched. For example, the correction processing unit 119 determines whether or not the bit code of the binarized design data corresponding to the dummy data area conforms to the format of the two-dimensional code. The binarized design data conversion unit 118 may obtain a bit code obtained by inversely converting the bit code of the dummy data after the correction processing based on the format information of the two-dimensional code.

2次元コード生成部120は、2値化デザインデータを逆変換したビットコードと原データを示すビットコードとを2次元コードのフォーマット情報に基づいて変換して、2次元コードを生成する。具体的には、図2及び図2の説明に示す各処理を行って2次元コードを生成する。   The two-dimensional code generation unit 120 generates a two-dimensional code by converting a bit code obtained by inversely converting the binarized design data and a bit code indicating the original data based on the format information of the two-dimensional code. Specifically, each process shown in FIGS. 2 and 2 is performed to generate a two-dimensional code.

特に2次元コード生成部120は、誤り訂正データ生成部122と位置合せマーク設定部124とを含む。この誤り訂正データ生成部122は、2値化デザインデータを逆変換したビットコードと原データを示すビットコードとに基づいて、生成される2次元コードの読み取り誤りを訂正するための誤り訂正データを生成する。また、位置合せパターン設定部124は、2次元コードの読み取りに用いられる位置合せパターン13を配置する。   In particular, the two-dimensional code generation unit 120 includes an error correction data generation unit 122 and an alignment mark setting unit 124. The error correction data generation unit 122 generates error correction data for correcting a read error of a generated two-dimensional code based on a bit code obtained by inversely converting binary design data and a bit code indicating original data. Generate. The alignment pattern setting unit 124 arranges the alignment pattern 13 used for reading the two-dimensional code.

また、位置合せパターン設定部124は、位置合せパターン13の省略処理を受け付けるようにしてもよい。例えば、2次元コードを生成する前に設定された情報に基づいて、位置合せパターン13を配置しないようにしてもよい。また、所定のアルゴリズムにより、2値化デザインパターンに対応する所定のカバー領域に含まれる位置合せパターン13を配置しないようにしてもよい。また、位置合せパターン13を配置して2次元コードシンボル10を完成させてから、入力情報に基づいて位置合せパターン13を削除するようにしてもよい。   Further, the alignment pattern setting unit 124 may accept a process for omitting the alignment pattern 13. For example, the alignment pattern 13 may not be arranged based on information set before generating the two-dimensional code. Further, the alignment pattern 13 included in the predetermined cover area corresponding to the binarized design pattern may not be arranged by a predetermined algorithm. Alternatively, after the alignment pattern 13 is arranged and the two-dimensional code symbol 10 is completed, the alignment pattern 13 may be deleted based on the input information.

2次元コード変更部122は、誤り訂正データの訂正可能範囲に応じて、生成された2次元コードの変更処理を受け付ける。本実施の形態では、誤り訂正レベルが4段階用意されており、それぞれの復元能力が決められている。従って、2次元コードのサイズ情報と誤り訂正レベル情報とから、変更しても復元可能なモジュール数(ビット数、パターン数)の範囲内で、配置されたモジュール(ビット)の変更を受け付ける。   The two-dimensional code changing unit 122 receives a change process for the generated two-dimensional code in accordance with the correctable range of the error correction data. In the present embodiment, four stages of error correction levels are prepared, and the respective restoration capabilities are determined. Therefore, the change of the arranged module (bit) is accepted from the size information of the two-dimensional code and the error correction level information within the range of the number of modules (number of bits, number of patterns) that can be restored even if changed.

また、2次元コード変更部122は、誤り訂正データの訂正可能範囲に応じて、補正処理部119が補正処理を行ったビットコードを補正処理前のビットコードに変更する処理を行う。この場合には、補正処理を行ったビット情報を記憶しておき、誤り訂正データ生成部122が誤り訂正データを生成した後に、誤り訂正データの訂正可能範囲に応じて、補正処理を行ったビット情報に基づき、補正したビットを復元するようにしてもよい。また、補正処理を行う前の逆変換ビット列を記憶しておき、補正処理後のビット列と比較判定し、補正されたビット又はビット列を復元するように構成してもよい。   Further, the two-dimensional code changing unit 122 performs a process of changing the bit code subjected to the correction processing by the correction processing unit 119 to the bit code before the correction processing according to the correctable range of the error correction data. In this case, the bit information subjected to the correction process is stored, and after the error correction data generation unit 122 generates the error correction data, the bit subjected to the correction process according to the correctable range of the error correction data. The corrected bit may be restored based on the information. Alternatively, the inversely converted bit string before the correction process may be stored, compared with the bit string after the correction process, and the corrected bit or the bit string may be restored.

6.2次元コードの利用
本実施の形態で生成された、ダミーデータ領域33に所与の2値化デザインパターンが配置された2次元コードは、種々の印刷物に印刷してこれを利用することができる。また、テレビ放送やビデオ放映、ゲーム機等、種々のメディアを介してモニタ等の表示部に画像表示させることができる。この場合には、本実施の形態で生成された2値化デザインパターンが配置された2次元コードの画像データを生成して、表示部に表示させればよい。
6. Use of two-dimensional code A two-dimensional code generated in the present embodiment in which a given binary design pattern is arranged in the dummy data area 33 is printed on various printed materials and used. Can do. In addition, an image can be displayed on a display unit such as a monitor via various media such as television broadcasting, video broadcasting, and a game machine. In this case, image data of a two-dimensional code in which the binarized design pattern generated in the present embodiment is arranged may be generated and displayed on the display unit.

特に、本実施の形態で生成された2次元コードを画像表示させる場合には、ダミーデータ領域33に配置される2値化デザインパターンを複数種類用意しておく。この複数種類の2値化デザインパターンとして、例えば、丸、三角、四角等、形状が異なる2値化デザインパターンを用意してもよいし、連続して切り替え表示すると人が走っているように見える等、所与のモーションをコマ割りしてそれぞれをデザインした複数の2値化デザインパターンを用意してもよい。   In particular, when the two-dimensional code generated in the present embodiment is displayed as an image, a plurality of types of binarized design patterns arranged in the dummy data area 33 are prepared. As the multiple types of binarized design patterns, for example, binarized design patterns having different shapes such as circles, triangles, squares, etc. may be prepared. For example, a plurality of binarized design patterns may be prepared in which a given motion is divided into frames and each is designed.

そして、各2値化デザインパターンをダミーデータ領域33に配置した際の誤り訂正コードパターンも用意しておく。そして、複数種類の2値化デザインパターンとそれに対応する誤り訂正コードパターンの画像データを生成する。そして、原データ領域30の画像データは変化させずに、2値化デザインパターンの画像とその誤り訂正コードパターンの画像とを対応付けて変化させる。これによれば、2次元コード画像の2値化デザインパターンを変化させて、より人目を引き付けることができるとともに、2値化デザインパターンの変化に対応させて誤り訂正コードパターンも変化させているので、2次元コード画像の2値化デザインパターンを変化させても正確に2次元コードを読み取らせることができる。なお、2値化デザインパターンとその誤り訂正コードパターンの画像を変化させるのみならず、原データのモジュールパターンをも変化させるようにしてもよい。   An error correction code pattern when each binarized design pattern is arranged in the dummy data area 33 is also prepared. Then, image data of a plurality of types of binarized design patterns and corresponding error correction code patterns is generated. Then, without changing the image data of the original data area 30, the image of the binarized design pattern and the image of the error correction code pattern are changed in association with each other. According to this, since the binarized design pattern of the two-dimensional code image can be changed to attract more attention, the error correction code pattern is also changed corresponding to the change of the binarized design pattern. Even if the binary design pattern of the two-dimensional code image is changed, the two-dimensional code can be read accurately. Note that not only the image of the binarized design pattern and its error correction code pattern but also the module pattern of the original data may be changed.

また、本発明は、上記実施形態で説明したものに限らず、種々の変形実施が可能である。例えば、明細書又は図面中の記載において広義や同義な用語として引用された用語は、明細書又は図面中の他の記載においても広義や同義な用語に置き換えることができる。   Further, the present invention is not limited to the one described in the above embodiment, and various modifications can be made. For example, terms cited as broad or synonymous terms in the description in the specification or drawings can be replaced with broad or synonymous terms in other descriptions in the specification or drawings.

また本発明は、QRコードなどのマトリックス式の2次元コードのみならず、スタック式の2次元コードなど、種々の2次元コードに関して適用することができる。その場合には、各2次元コードのフォーマットに応じて各処理を行う。   Further, the present invention can be applied not only to a matrix type two-dimensional code such as a QR code but also to various two-dimensional codes such as a stack type two-dimensional code. In that case, each process is performed according to the format of each two-dimensional code.

また本発明は、デザインパターンが配置された2次元コードを生成するためのプログラムのみならず、デザインパターンが配置された2次元コードを生成するためのビットコードを生成するためのプログラム、デザインパターンが配置された2次元コード画像を生成するためのプログラム、及びそれらのプログラムを記憶した情報記憶媒体、システムにも適用することができる。   Further, the present invention provides not only a program for generating a two-dimensional code in which a design pattern is arranged, but also a program and a design pattern for generating a bit code for generating a two-dimensional code in which a design pattern is arranged. The present invention can also be applied to a program for generating an arranged two-dimensional code image, and an information storage medium and system storing these programs.

本実施の形態の2次元コードの構造の一例を示す図である。It is a figure which shows an example of the structure of the two-dimensional code of this Embodiment. 本実施の形態の処理の流れの一例を示すフローチャート図である。It is a flowchart figure which shows an example of the flow of a process of this Embodiment. 本実施の形態の処理の流れの一例を示すフローチャート図である。It is a flowchart figure which shows an example of the flow of a process of this Embodiment. 本実施の形態で生成される2次元コードの一例を示す図である。It is a figure which shows an example of the two-dimensional code produced | generated by this Embodiment. 本実施の形態の処理の流れの一例を示すフローチャート図である。It is a flowchart figure which shows an example of the flow of a process of this Embodiment. 図6(A)、(B)は、本実施の形態で表示部に表示される画面の一例を示す図である。6A and 6B are diagrams illustrating an example of a screen displayed on the display unit in this embodiment. 本実施の形態の逆変換処理の一例を説明するための図である。It is a figure for demonstrating an example of the inverse transformation process of this Embodiment. 本実施の形態の2次元コード生成処理の一例を説明するための図である。It is a figure for demonstrating an example of the two-dimensional code production | generation process of this Embodiment. 図9(A)は、本実施の形態の符号化パターンの変更処理を説明するための図であり、図9(B)は、本実施の形態の位置合せパターンの省略処理を説明するための図である。FIG. 9A is a diagram for explaining the coding pattern changing process of the present embodiment, and FIG. 9B is a diagram for explaining the alignment pattern omitting process of the present embodiment. FIG. 本実施の形態の機能ブロックの一例を示す図である。It is a figure which shows an example of the functional block of this Embodiment. 本実施の形態で生成された2次元コードを読取装置で読込んだ場合に出力される表示画面の一例である。It is an example of the display screen output when the two-dimensional code produced | generated in this Embodiment is read with a reader.

符号の説明Explanation of symbols

10 2次元コードシンボル
13 位置合せパターン
16 符号化領域
30 原データ領域
32 不使用データ領域
33 ダミーデータ領域
34 誤り訂正コード領域
40 2値化デザインパターン
42 マスクパターン
44 逆変換モジュールパターン
52 マスク前パターン
54 デザイン2次元コードシンボル
100 処理部
110 データ取得部
112 コードサイズ決定部
114 ダミーデータ領域特定部
118 2値化デザインデータ変換部
119 補正処理部
120 2次元コード生成部
122 2次元コード変更部
160 入力部
170 記憶部
180 情報記憶媒体
190 表示部
10 Two-dimensional code symbol 13 Alignment pattern 16 Encoding area 30 Original data area 32 Unused data area 33 Dummy data area 34 Error correction code area 40 Binary design pattern 42 Mask pattern 44 Inverse conversion module pattern 52 Pre-mask pattern 54 Design two-dimensional code symbol 100 processing unit 110 data acquisition unit 112 code size determination unit 114 dummy data area specifying unit 118 binarized design data conversion unit 119 correction processing unit 120 two-dimensional code generation unit 122 two-dimensional code change unit 160 input unit 170 Storage Unit 180 Information Storage Medium 190 Display Unit

Claims (12)

2次元コードを生成するためのプログラムであって、
2次元コードのサイズデータと、2次元コードから読み取られるべき原データと、所与の2値化デザインデータとを取得するデータ取得部と、
前記サイズデータと原データとに基づいて、原データのデータ量に応じた2次元コードのダミーデータ領域を特定するダミーデータ領域特定部と、
前記ダミーデータ領域に対応する2値化デザインデータを2次元コードのフォーマット情報に基づいて逆変換したビットコードを求める2値化デザインデータ変換部と、
前記逆変換後のビットコードが2次元コードのフォーマットに適合するか否かを判定し、不適合ビットコードについては補正処理を行ってダミーデータのビットコードを求める補正処理部と、
前記ダミーデータのビットコードと前記原データのビットコードとを、前記2次元コードのフォーマット情報に基づいて変換して2次元コードを生成する2次元コード生成部としてコンピュータを機能させることを特徴とするプログラム。
A program for generating a two-dimensional code,
A data acquisition unit that acquires size data of the two-dimensional code, original data to be read from the two-dimensional code, and given binary design data;
A dummy data area specifying unit for specifying a dummy data area of a two-dimensional code according to the data amount of the original data based on the size data and the original data;
A binarized design data conversion unit for obtaining a bit code obtained by inversely converting the binarized design data corresponding to the dummy data area based on the format information of the two-dimensional code;
It is determined whether or not the bit code after the inverse conversion conforms to the format of the two-dimensional code, a correction processing unit that performs a correction process on the non-conforming bit code to obtain a bit code of dummy data,
The computer is caused to function as a two-dimensional code generation unit that generates a two-dimensional code by converting the bit code of the dummy data and the bit code of the original data based on the format information of the two-dimensional code. program.
請求項1において、
前記2次元コード生成部が、
前記ビットコードに基づいて、生成される2次元コードの読み取り誤りを訂正するための誤り訂正データを生成する誤り訂正データ生成部を更に含み、
前記ダミーデータ領域特定部が、
前記サイズデータに応じて2次元コードの誤り訂正データ領域を特定し、前記原データに基づいて2次元コードの原データ領域を特定し、前記2次元コードのサイズデータと前記誤り訂正データ領域と前記原データ領域とに基づいて前記ダミーデータ領域を特定することを特徴とするプログラム。
In claim 1,
The two-dimensional code generator is
An error correction data generation unit for generating error correction data for correcting a read error of the generated two-dimensional code based on the bit code;
The dummy data area specifying unit
An error correction data area of a two-dimensional code is specified according to the size data, an original data area of a two-dimensional code is specified based on the original data, the size data of the two-dimensional code, the error correction data area, A program for specifying the dummy data area based on an original data area.
請求項2において、
前記誤り訂正データ生成部が、所与の誤り訂正レベルデータに応じて誤り訂正データを生成し、
前記誤り訂正レベルデータに応じて生成された2次元コードの変更処理を受け付ける2次元コード変更部としてコンピュータを更に機能させることを特徴とするプログラム。
In claim 2,
The error correction data generation unit generates error correction data according to given error correction level data,
A program that further causes a computer to function as a two-dimensional code changing unit that receives a change process of a two-dimensional code generated according to the error correction level data.
請求項3において、
前記2次元コード変更部が、
前記訂正可能範囲に応じて、前記補正処理を行ったビットコードを補正処理前のビットコードに変更する処理を行うことを特徴とするプログラム。
In claim 3,
The two-dimensional code changing unit
A program for performing a process of changing the bit code subjected to the correction process to a bit code before the correction process according to the correctable range.
請求項1〜4のいずれかにおいて、
前記2次元コード生成部が、
2次元コードの読み取りに用いられる位置合せパターンを設定する位置合せパターン設定部を更に含み、
前記位置合せパターン設定部は、
前記位置合せパターンの省略処理を受け付けることを特徴とするプログラム。
In any one of Claims 1-4,
The two-dimensional code generator is
An alignment pattern setting unit for setting an alignment pattern used for reading the two-dimensional code;
The alignment pattern setting unit
A program that accepts a process of omitting the alignment pattern.
請求項1〜5のいずれかにおいて、
前記2値化デザインデータのサイズに応じて2次元コードのサイズを決定するコードサイズ決定部として更にコンピュータを機能させることを特徴とするプログラム。
In any one of Claims 1-5,
A program that further causes a computer to function as a code size determining unit that determines the size of a two-dimensional code in accordance with the size of the binarized design data.
2次元コードを生成するためのデータを生成するプログラムであって、
2次元コードのサイズデータと、2次元コードから読み取られるべき原データと、所与の2値化デザインデータとを取得するデータ取得部と、
前記サイズデータと原データとに基づいて、原データのデータ量に応じた2次元コードのダミーデータ領域を特定するダミーデータ領域特定部と、
前記ダミーデータ領域に対応する2値化デザインデータを2次元コードのフォーマット情報に基づいて逆変換したビットコードを求める2値化デザインデータ変換部と、
前記逆変換後のビットコードが2次元コードのフォーマットに適合するか否かを判定し、不適合ビットコードについては補正処理を行ってダミーデータのビットコードを求める補正処理部としてコンピュータを機能させることを特徴とするプログラム。
A program for generating data for generating a two-dimensional code,
A data acquisition unit that acquires size data of the two-dimensional code, original data to be read from the two-dimensional code, and given binary design data;
A dummy data area specifying unit for specifying a dummy data area of a two-dimensional code according to the data amount of the original data based on the size data and the original data;
A binarized design data conversion unit for obtaining a bit code obtained by inversely converting the binarized design data corresponding to the dummy data area based on the format information of the two-dimensional code;
It is determined whether or not the bit code after the reverse conversion conforms to the format of the two-dimensional code, and the computer is caused to function as a correction processing unit that performs correction processing on the non-conforming bit code and obtains the bit code of the dummy data. A featured program.
2次元コードとして読み取られる2次元コード画像を生成するためのプログラムであって、
2次元コードから読み取られるべき原データ画像のデータと、2次元コードのダミーデータ領域に設定される2値化デザイン画像のデータとに基づいて、前記2次元コード画像を生成する画像生成部としてコンピュータを機能させ、
前記画像生成部は、
前記2値化デザイン画像のデータを変化させて前記2次元コード画像を生成することを特徴とするプログラム。
A program for generating a two-dimensional code image to be read as a two-dimensional code,
A computer as an image generation unit that generates the two-dimensional code image based on the data of the original data image to be read from the two-dimensional code and the data of the binarized design image set in the dummy data area of the two-dimensional code Function
The image generation unit
A program for generating the two-dimensional code image by changing data of the binarized design image.
コンピュータ読み取り可能な情報記憶媒体であって、請求項1〜8のいずれかのプログラムを記憶したことを特徴とする情報記憶媒体。   A computer-readable information storage medium, wherein the program according to any one of claims 1 to 8 is stored. 請求項1〜7のいずれかのプログラムにより生成された2次元コードが印刷された印刷物。   A printed matter on which the two-dimensional code generated by the program according to claim 1 is printed. 2次元コード生成システムであって、
2次元コードのサイズデータと、2次元コードから読み取られるべき原データと、所与の2値化デザインデータとを取得するデータ取得部と、
前記サイズデータと原データとに基づいて、原データのデータ量に応じた2次元コードのダミーデータ領域を特定するダミーデータ領域特定部と、
前記ダミーデータ領域に対応する2値化デザインデータを、2次元コードのフォーマット情報に基づいて逆変換するとともに、逆変換後のビットコードが2次元コードのフォーマットに適合するか否かを判定し、不適合ビットコードについては補正処理を行ってビットコードを求める2値化デザインデータ変換部と、
前記ダミーデータのビットコードと前記原データのビットコードとを、前記2次元コードのフォーマット情報に基づいて変換して2次元コードを生成する2次元コード生成部とを含むことを特徴とする2次元コード生成システム。
A two-dimensional code generation system,
A data acquisition unit that acquires size data of the two-dimensional code, original data to be read from the two-dimensional code, and given binary design data;
A dummy data area specifying unit for specifying a dummy data area of a two-dimensional code according to the data amount of the original data based on the size data and the original data;
The binary design data corresponding to the dummy data area is inversely converted based on the format information of the two-dimensional code, and it is determined whether the bit code after the inverse conversion is compatible with the format of the two-dimensional code, For the nonconforming bit code, a binarized design data conversion unit that performs correction processing to obtain the bit code,
A two-dimensional code generation unit comprising: a two-dimensional code generation unit that generates a two-dimensional code by converting the bit code of the dummy data and the bit code of the original data based on the format information of the two-dimensional code. Code generation system.
2次元コードとして読み取られる2次元コード画像を生成するための画像生成システムであって、
2次元コードから読み取られるべき原データ画像のデータと、2次元コードのダミーデータ領域に設定される2値化デザイン画像のデータとに基づいて、前記2次元コード画像を生成する画像生成部を含み、
前記画像生成部は、
前記2値化デザイン画像のデータを変化させて前記2次元コード画像を生成することを特徴とする画像生成システム。
An image generation system for generating a two-dimensional code image read as a two-dimensional code,
An image generation unit configured to generate the two-dimensional code image based on data of an original data image to be read from the two-dimensional code and data of a binarized design image set in a dummy data area of the two-dimensional code ,
The image generation unit
An image generation system, wherein the two-dimensional code image is generated by changing data of the binarized design image.
JP2006058520A 2006-03-03 2006-03-03 Program, information storage medium, two-dimensional code generation system, image generation system and printed matter Withdrawn JP2007241328A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006058520A JP2007241328A (en) 2006-03-03 2006-03-03 Program, information storage medium, two-dimensional code generation system, image generation system and printed matter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006058520A JP2007241328A (en) 2006-03-03 2006-03-03 Program, information storage medium, two-dimensional code generation system, image generation system and printed matter

Publications (1)

Publication Number Publication Date
JP2007241328A true JP2007241328A (en) 2007-09-20

Family

ID=38586855

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006058520A Withdrawn JP2007241328A (en) 2006-03-03 2006-03-03 Program, information storage medium, two-dimensional code generation system, image generation system and printed matter

Country Status (1)

Country Link
JP (1) JP2007241328A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009230729A (en) * 2008-03-21 2009-10-08 Akiba Soft:Kk Visual qr code
JP2010009133A (en) * 2008-06-24 2010-01-14 Ritsumeikan Two-dimensional code, method for creating same, and computer program
JP2012183720A (en) * 2011-03-04 2012-09-27 Toshiba Tec Corp Device and method for printing
JP2012190103A (en) * 2011-03-09 2012-10-04 Design Department Store Co Ltd Two-dimensional image code, method for specifying region including code area, program for specifying region including code area, and device for specifying region including code area
WO2013124837A1 (en) 2012-02-21 2013-08-29 Eyeconit Ltd Readable matrix code
WO2014077187A1 (en) 2012-11-13 2014-05-22 共同印刷株式会社 Two-dimensional code
WO2014077186A1 (en) 2012-11-13 2014-05-22 共同印刷株式会社 Two-dimensional code, system for creation of two-dimensional code, and analysis program
WO2014077184A1 (en) 2012-11-13 2014-05-22 共同印刷株式会社 Two-dimensional code
KR101958458B1 (en) * 2018-07-27 2019-07-02 주식회사 펀앤뉴 Method for authentication by display-oriented dynamic 2D code, dynamic 2D code authentication system therefor, user terminal device therefor and authentication server therefor
CN112822212A (en) * 2021-02-06 2021-05-18 西安热工研究院有限公司 Network security vulnerability detection method for non-contact type hydropower monitoring system
CN117350319A (en) * 2023-12-06 2024-01-05 深圳华龙讯达信息技术股份有限公司 Method and system for preventing error of product associated data

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009230729A (en) * 2008-03-21 2009-10-08 Akiba Soft:Kk Visual qr code
JP2010009133A (en) * 2008-06-24 2010-01-14 Ritsumeikan Two-dimensional code, method for creating same, and computer program
JP2012183720A (en) * 2011-03-04 2012-09-27 Toshiba Tec Corp Device and method for printing
JP2012190103A (en) * 2011-03-09 2012-10-04 Design Department Store Co Ltd Two-dimensional image code, method for specifying region including code area, program for specifying region including code area, and device for specifying region including code area
WO2013124837A1 (en) 2012-02-21 2013-08-29 Eyeconit Ltd Readable matrix code
US9390357B2 (en) 2012-02-21 2016-07-12 Eyeconit Ltd. Readable matrix code
US9239978B2 (en) 2012-02-21 2016-01-19 Eyeconit Ltd. Readable matrix code
EP2817765A4 (en) * 2012-02-21 2015-10-07 Eyeconit Ltd Readable matrix code
KR20150079843A (en) 2012-11-13 2015-07-08 교도 인사쯔 가부시키가이샤 Two-dimensional code
WO2014077184A1 (en) 2012-11-13 2014-05-22 共同印刷株式会社 Two-dimensional code
WO2014077186A1 (en) 2012-11-13 2014-05-22 共同印刷株式会社 Two-dimensional code, system for creation of two-dimensional code, and analysis program
WO2014077187A1 (en) 2012-11-13 2014-05-22 共同印刷株式会社 Two-dimensional code
US9892300B2 (en) 2012-11-13 2018-02-13 Kyodo Printing Co., Ltd. Two-dimensional code
US9898637B2 (en) 2012-11-13 2018-02-20 Kyodo Printing Co., Ltd. Two-dimensional code
US10679175B2 (en) 2012-11-13 2020-06-09 Kyodo Printing Co., Ltd. Two-dimensional code, system for creation of two-dimensional code, and analysis program
KR101958458B1 (en) * 2018-07-27 2019-07-02 주식회사 펀앤뉴 Method for authentication by display-oriented dynamic 2D code, dynamic 2D code authentication system therefor, user terminal device therefor and authentication server therefor
CN112822212A (en) * 2021-02-06 2021-05-18 西安热工研究院有限公司 Network security vulnerability detection method for non-contact type hydropower monitoring system
CN112822212B (en) * 2021-02-06 2022-12-02 西安热工研究院有限公司 Network security vulnerability detection method for non-contact hydropower monitoring system
CN117350319A (en) * 2023-12-06 2024-01-05 深圳华龙讯达信息技术股份有限公司 Method and system for preventing error of product associated data

Similar Documents

Publication Publication Date Title
JP3953501B1 (en) Program, information storage medium, two-dimensional code generation system, image generation system, and two-dimensional code
JP2007241328A (en) Program, information storage medium, two-dimensional code generation system, image generation system and printed matter
JP2019505925A (en) Method for encoding and recognizing two-dimensional dot matrix code
US20160321529A1 (en) Producing, capturing and using visual identification tags for moving objects
JP5321352B2 (en) Two-dimensional code generation apparatus, image forming system, two-dimensional code reading apparatus, computer program, and medium
JP2008152334A (en) Program, information storage medium, two-dimensional code, printed matter, two-dimensional code image, method for controlling display of two-dimensional code image, and two-dimensional code creation system
JP5471580B2 (en) Image processing apparatus and program
US9342714B2 (en) Method for reproducing and using a bar code symbol
US8430315B2 (en) Data encoding and decoding
US20220408041A1 (en) Processing circuitry for processing data from sensor including abnormal pixels
CN103544516A (en) Two-dimensional code encoding and decoding method, two-dimensional code encoder and two-dimensional code decoder
US20090027241A1 (en) Fast error-correcting of embedded interaction codes
JP2008052587A (en) Program, information storage medium, two-dimensional code generation system and two-dimensional code
JP2007241329A (en) Program, information storage medium, two-dimensional code generation system, image generation system and printed matter
JP3635374B1 (en) Digital information carrier
JP2008113258A (en) Image generating device, image processing apparatus, and program
TWI411927B (en) Method of embedding information in input image, method of extracting information from input image and related apparatuses thereof
JP6617302B1 (en) Optical code, optical code generation method and program thereof, and optical code reading method and program thereof
JP2018195032A (en) Code reader, code generation device, printed matter, cord reading method, code generation method, code reading program, and code generation program
JP4368373B2 (en) Digital information carrier
JP4397866B2 (en) Two-dimensional pattern reading device, two-dimensional pattern reading method
US20120312878A1 (en) Apparatus and method for generating and recognizing barcode in portable terminal
CN111209988B (en) Management method of big data sharing system based on identifiable color graphics
JP5125547B2 (en) Image generating apparatus, image processing apparatus, program, and print medium
JP2008301128A (en) Image processor, image-generating apparatus and program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20090512