JP6358109B2 - Information code display device - Google Patents

Information code display device Download PDF

Info

Publication number
JP6358109B2
JP6358109B2 JP2015008846A JP2015008846A JP6358109B2 JP 6358109 B2 JP6358109 B2 JP 6358109B2 JP 2015008846 A JP2015008846 A JP 2015008846A JP 2015008846 A JP2015008846 A JP 2015008846A JP 6358109 B2 JP6358109 B2 JP 6358109B2
Authority
JP
Japan
Prior art keywords
information code
area
code
data
size
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2015008846A
Other languages
Japanese (ja)
Other versions
JP2016134029A (en
Inventor
伊藤 邦彦
邦彦 伊藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Wave Inc
Original Assignee
Denso Wave Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Wave Inc filed Critical Denso Wave Inc
Priority to JP2015008846A priority Critical patent/JP6358109B2/en
Publication of JP2016134029A publication Critical patent/JP2016134029A/en
Application granted granted Critical
Publication of JP6358109B2 publication Critical patent/JP6358109B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、情報コード表示装置に関するものである。   The present invention relates to an information code display device.

近年、情報コード自体の高機能化が進展しつつあり、コード領域内に写真や図などを配置するような技術も提案されている。例えば、特許文献1の技術では、2次元コードにおいて単一の値として読み取られる領域を形成するビット列を逆変換した逆変換ビット列を求め、逆変換ビット列を2次元コードのフォーマット情報に基づいて変換して2次元コードを生成することにより、単一の階調値から構成されたデザイン領域を有する特殊2次元コードを生成している。   In recent years, the function of information codes themselves has been advanced, and a technique for arranging photographs and drawings in the code area has also been proposed. For example, in the technique of Patent Document 1, an inversely converted bit string obtained by inversely converting a bit string that forms an area to be read as a single value in a two-dimensional code is obtained, and the inversely converted bit string is converted based on the format information of the two-dimensional code. By generating a two-dimensional code, a special two-dimensional code having a design area composed of a single gradation value is generated.

特許第5057560号公報Japanese Patent No. 5057560

ところで、近年では、情報コードの用途が益々多様化しており、例えば、スマートフォンなどの電子端末に情報コードを表示させ、その情報コードを外部の読取装置に読み取らせるような使用方法も提案されている。この使用方法では、紙媒体などに情報コードを表す場合と異なり、情報コードを更に拡大して表示させたり、縮小して表示させたりすることを容易に行うことができるというメリットがある。例えば、スマートフォンにQRコード(登録商標)を表示させて用いる場合、必要に応じて表示部(タッチパネル)に対するタッチ操作(例えばピンチ操作など)を行い、QRコード(登録商標)付近の画像を拡大したり、縮小したりして、適切なサイズに合わせることができる。   By the way, in recent years, the use of information codes has become more and more diversified. For example, a usage method has been proposed in which an information code is displayed on an electronic terminal such as a smartphone and the information code is read by an external reader. . Unlike the case where the information code is displayed on a paper medium or the like, this method of use has an advantage that the information code can be easily enlarged and displayed in a reduced size. For example, when displaying and using a QR code (registered trademark) on a smartphone, a touch operation (such as a pinch operation) is performed on the display unit (touch panel) as necessary to enlarge an image near the QR code (registered trademark). Or downsizing to fit the appropriate size.

しかしながら、上述した従来のサイズ変更方法は、電子端末に表示されたコード領域全体を一体的に拡大したり縮小したりする方法であったため、セルと画像領域のバランスを変えたいユーザにとっては要望を十分に満たし得る方法ではなかった。例えば、画像領域をできるだけ大きくしたいがためにデザインコードを拡大したものの、セルサイズまでもが意図に反して大きく拡大されすぎてしまい、全体として見た目が悪くなってしまうといったことが生じやすかった。また、この例に限らず、既存のコード表示の変更方法では、コード全体に対する画像領域の割合が固定化された形で変更される、ユーザの要望に応えきれない場合があった。   However, since the above-described conventional size changing method is a method of integrally expanding or reducing the entire code area displayed on the electronic terminal, there is a demand for a user who wants to change the balance between the cell and the image area. It was not a method that could be fully satisfied. For example, although the design code has been enlarged in order to make the image area as large as possible, the cell size has been greatly enlarged unintentionally, and the overall appearance tends to be poor. In addition, the present invention is not limited to this example, and the existing code display changing method may not meet the user's request in which the ratio of the image area to the entire code is changed in a fixed form.

本発明は、上述した課題を解決するためになされたものであり、表示部に表示された情報コードの全体サイズ又は一部要素のサイズを変更して新たな情報コードとして表示することができ、且つ、サイズ変更前の情報コードと、サイズ変更後の新たな情報コードとで、情報コード全体に対する画像領域の割合を変化させ得る構成を提供することを目的とする。   The present invention has been made to solve the above-described problems, and can be displayed as a new information code by changing the entire size of the information code displayed on the display unit or the size of some elements, Another object of the present invention is to provide a configuration in which the ratio of the image area to the entire information code can be changed between the information code before the size change and the new information code after the size change.

本発明は、情報を表示する単位となるセルが配列された領域と、少なくとも前記セル以外の画像が表示される画像領域と、を備えた情報コードを表示可能な表示部と、
前記表示部に表示された情報コードの全体の大きさ又は一部要素の大きさを変更する変更指示を受け付け可能な受付部と、
前記表示部にて情報コードが表示された後、前記受付部によって前記変更指示が受け付けられた場合に、前記変更指示の前に前記表示部に表示されていた情報コードの記録内容が少なくとも記録され且つ前記画像領域の画像が表された新たな情報コードを前記変更指示に応じた内容で生成する処理を行う生成部と、
を備え、
前記生成部は、
前記変更指示に応じた内容の前記新たな情報コードを生成する場合に、当該新たな情報コードでの情報コード全体に対する前記画像領域の割合を決定する割合決定部と、
前記割合決定部で決定された前記画像領域の割合に従い、前記変更指示に応じた内容となるように前記新たな情報コードの内部構成を決定する構成決定部と、
を有し、
前記表示部は、前記生成部によって前記新たな情報コードを生成する処理が行われた場合に、前記構成決定部によって決定された内部構成で前記新たな情報コードを表示し、
前記割合決定部は、前記変更指示の前に前記表示部に表示されていた情報コードよりも全体サイズ又は前記画像領域のサイズを大きくするサイズ拡大指示が前記受付部によって受け付けられた場合に、当該サイズ拡大指示の前に前記表示部に表示されていた情報コードでの情報コード全体に対する前記画像領域の割合よりも大きくするように、前記新たな情報コードでの情報コード全体に対する前記画像領域の割合を決定することを特徴とする。
The present invention is a display unit capable of displaying an information code comprising: an area in which cells serving as units for displaying information are arranged; and an image area in which an image other than the cells is displayed;
A receiving unit capable of receiving a change instruction to change the overall size of the information code displayed on the display unit or the size of a part of the information code;
After the information code is displayed on the display unit, when the change instruction is received by the receiving unit, at least the recorded content of the information code displayed on the display unit before the change instruction is recorded. And a generation unit that performs a process of generating a new information code in which the image of the image area is represented with contents according to the change instruction;
With
The generator is
A ratio determining unit that determines a ratio of the image area with respect to the entire information code in the new information code when generating the new information code according to the change instruction;
A configuration determining unit that determines an internal configuration of the new information code so that the content corresponds to the change instruction according to the ratio of the image area determined by the ratio determining unit;
Have
The display unit displays the new information code in the internal configuration determined by the configuration determination unit when the generation unit performs the process of generating the new information code ,
The ratio determining unit, when the receiving unit receives a size enlargement instruction to increase the overall size or the size of the image area than the information code displayed on the display unit before the change instruction, The ratio of the image area to the entire information code in the new information code so as to be larger than the ratio of the image area to the entire information code in the information code displayed on the display unit before the size enlargement instruction It is characterized by determining .

請求項1の発明では、表示部に表示された情報コードの全体の大きさ又は一部要素の大きさを変更する変更指示を受け付けることができるようになっている。そして、変更指示に応じた内容の新たな情報コードを生成する場合に、当該新たな情報コードでの情報コード全体に対する画像領域の割合を決定する割合決定部と、割合決定部で決定された画像領域の割合に従い、変更指示に応じた内容となるように新たな情報コードの内部構成を決定する構成決定部とが設けられている。そして、表示部は、生成部によって新たな情報コードを生成する処理が行われた場合に、構成決定部によって決定された内部構成で新たな情報コードを表示する構成となっている。
この構成によれば、表示装置に表示された情報コードの全体の大きさ又は一部要素の大きさを変更する変更指示を当該表示装置に与えることにより、情報コードの全体サイズ又は一部要素のサイズを変更して新たな情報コードを生成・表示することができる。そして、新たな情報コードの生成・表示に際しては、情報コード全体に対する画像領域の割合を新たに決定した上で、その割合に従った内部構成とすることができるため、既存構成(例えば、サイズ変更時にコード全体に対する画像領域の割合が固定化され続ける構成)では成し得なかった形での斬新な表示変更が可能となる。
According to the first aspect of the present invention, it is possible to accept a change instruction for changing the overall size of the information code displayed on the display unit or the size of a part of the elements. Then, when generating a new information code having contents according to the change instruction, a ratio determining unit that determines a ratio of the image area to the entire information code in the new information code, and an image determined by the ratio determining unit A configuration determination unit is provided that determines the internal configuration of a new information code so that the content corresponds to the change instruction according to the ratio of the area. And a display part becomes a structure which displays a new information code by the internal structure determined by the structure determination part, when the process which produces | generates a new information code is performed by the production | generation part.
According to this configuration, by giving the display device a change instruction for changing the overall size of the information code displayed on the display device or the size of the partial element, the entire size of the information code or the partial code A new information code can be generated and displayed by changing the size. When a new information code is generated / displayed, the ratio of the image area to the entire information code is newly determined and the internal configuration according to the ratio can be set. In some cases, a novel display change can be made in a form that could not be achieved with a configuration in which the ratio of the image area to the entire code is sometimes fixed.

特に、割合決定部は、変更指示の前に表示部に表示されていた情報コードよりも全体サイズ又は画像領域のサイズを大きくするサイズ拡大指示が受付部によって受け付けられた場合に、当該サイズ拡大指示の前に表示部に表示されていた情報コードでの情報コード全体に対する画像領域の割合よりも大きくするように、新たな情報コードでの情報コード全体に対する画像領域の割合を決定する。
このように構成されているため、ユーザは、サイズ拡大指示を表示装置に与えることにより、その指示前に表示されていた情報コードよりも、全体サイズ又は画像領域のサイズを大きくした形で新たな情報コードを生成・表示させることができる。しかも、指示前に表示部に表示されていた情報コードでの情報コード全体に対する画像領域の割合よりも、新たな情報コードでの情報コード全体に対する画像領域の割合のほうが大きくなるように変更することができるため、画像領域をより大きく強調した形で情報コードを再構成することを望むユーザにとってメリットが非常に大きくなる。
In particular , when the reception unit receives a size enlargement instruction to increase the overall size or the size of the image area than the information code displayed on the display unit before the change instruction, the ratio determination unit The ratio of the image area to the entire information code in the new information code is determined so as to be larger than the ratio of the image area to the entire information code in the information code displayed on the display unit.
Because of this configuration, the user gives a size enlargement instruction to the display device, so that the user can create a new one with a larger overall size or image area size than the information code displayed before the instruction. An information code can be generated and displayed. Moreover, the ratio of the image area to the entire information code with the new information code is changed to be larger than the ratio of the image area to the entire information code with the information code displayed on the display unit before the instruction. Therefore, a merit for the user who wants to reconstruct the information code in a form in which the image area is greatly emphasized is greatly increased.

請求項の発明では、構造決定部は、情報コードの全体サイズを大きくするサイズ拡大指示が受付部によって受け付けられた場合に、当該サイズ拡大指示の前に表示部に表示されていた情報コードでの画像領域の大きさに対するセルの大きさの割合よりも、新たな情報コードでの画像領域の大きさに対するセルの大きさの割合のほうが小さくなるように、新たな情報コードでの内部構成を決定する。
この構成では、サイズ拡大指示がなされた場合に、画像領域の大きさに対してのセルの大きさの割合を小さくしているため、指示前のセル配列で表わされていたデータを表すためのセル配列領域を、指示前よりも小さく構成することができ、このようにデータに要する領域を抑えた分を、画像領域の拡大に割り当てやすくなる。よって、データの記録を担保しつつ画像領域を極力大きくしたい場合により有利になる。
In the invention of claim 2 , when the size enlargement instruction for increasing the overall size of the information code is accepted by the accepting unit, the structure determining unit uses the information code displayed on the display unit before the size enlargement instruction. The internal configuration of the new information code is set so that the ratio of the cell size to the size of the image area in the new information code is smaller than the ratio of the cell size to the size of the image area in decide.
In this configuration, when the size enlargement instruction is given, the ratio of the cell size to the size of the image area is reduced, so that the data represented by the cell array before the instruction is represented. This cell array area can be made smaller than before the instruction, and it becomes easier to allocate the reduced area required for data to enlarge the image area. Therefore, it is more advantageous when it is desired to enlarge the image area as much as possible while ensuring data recording.

請求項の発明では、構成決定部は、サイズ拡大指示が受付部によって受け付けられた場合に、当該サイズ拡大指示の前に表示部に表示されていた情報コードでのセルの大きさと同じ大きさのセルを配列した構造とするように新たな情報コードでの内部構成を決定する。
この構成では、サイズ拡大指示がなされた場合に、セルの大きさは変えずにコードの全体サイズを大きくすることができるため、サイズの拡大によって広がったコード内部領域のより多くを、画像領域の拡大のために割り当てやすくなる。しかも、指示前の情報コードと、指示後の新たな情報コードとではセルサイズが同じであるため、変更の前後でセルサイズが予期しない大きさになるようなことがなく、セルの状態は極力変えずにコードの拡大及び画像領域の拡大を図りたい場合には、より有利になる。
In the invention of claim 3 , when the size enlargement instruction is accepted by the accepting unit, the configuration determining unit has the same size as the cell size in the information code displayed on the display unit before the size enlargement instruction. The internal configuration with a new information code is determined so as to have a structure in which the cells are arranged.
In this configuration, when the size enlargement instruction is given, the entire size of the code can be increased without changing the cell size. Easier to assign for expansion. Moreover, since the cell size is the same between the information code before the instruction and the new information code after the instruction, the cell size does not become unexpected before and after the change, and the state of the cell is as much as possible. This is more advantageous when it is desired to enlarge the code and the image area without changing them.

請求項の発明では、割合決定部は、変更指示の前に表示部に表示されていた情報コードよりもサイズを小さくするサイズ縮小指示が受付部によって受け付けられた場合に、当該サイズ縮小指示の前に表示部に表示されていた情報コードでの情報コード全体に対する画像領域の割合よりも大きくするように、新たな情報コードでの情報コード全体に対する画像領域の割合を決定する。
このように構成されているため、ユーザは、サイズ縮小指示を表示装置に与えることにより、その指示前に表示されていた情報コードよりも、全体サイズを小さくした形で新たな情報コードを生成・表示させることができる。また、コードを単に縮小するだけでは、画像領域が大幅に小さくなってしまうことが懸念されるが、本構成では、指示前に表示部に表示されていた情報コードでの情報コード全体に対する画像領域の割合よりも、新たな情報コードでの情報コード全体に対する画像領域の割合のほうが大きくなるように変更することができるため、コードサイズは小さくしつつも、画像領域については、できるだけ大きく強調した形で情報コードを再構成することが可能となる。
In the invention according to claim 4 , when the size reduction instruction for reducing the size smaller than the information code displayed on the display unit before the change instruction is received by the reception unit, the ratio determination unit receives the size reduction instruction. The ratio of the image area to the entire information code in the new information code is determined to be larger than the ratio of the image area to the entire information code in the information code previously displayed on the display unit.
With this configuration, the user generates a new information code in a form in which the overall size is smaller than the information code displayed before the instruction by giving a size reduction instruction to the display device. Can be displayed. In addition, there is a concern that the image area may be significantly reduced by simply reducing the code. However, in this configuration, the image area for the entire information code in the information code displayed on the display unit before the instruction is given. The ratio of the image area with respect to the entire information code in the new information code can be changed to be larger than the ratio of the image area. Therefore, the image area is emphasized as much as possible while reducing the code size. It becomes possible to reconstruct the information code.

請求項の発明では、構造決定部は、サイズ縮小指示が受付部によって受け付けられた場合に、当該サイズ縮小指示の前に表示部に表示されていた情報コードのセルよりも小さいセルを配列した構造とするように新たな情報コードでの内部構成を決定する。
この構成によれば、サイズ縮小指示がなされた場合にコード全体のサイズを変更して再表示することができ、その際には、新たな情報コードでのセルサイズをできるだけ小さくすることで画像領域の占有割合を高めることができる。
In the invention of claim 5 , when the size reduction instruction is received by the reception unit, the structure determination unit arranges cells smaller than the information code cell displayed on the display unit before the size reduction instruction. An internal configuration with a new information code is determined so as to have a structure.
According to this configuration, when a size reduction instruction is given, the size of the entire code can be changed and displayed again. In this case, the image area can be reduced by reducing the cell size with the new information code as much as possible. The occupation ratio can be increased.

請求項の発明では、構造決定部は、サイズ縮小指示が受付部によって受け付けられた場合に、当該サイズ縮小指示の前に表示部に表示されていた情報コードでの画像領域の大きさに対するセルの大きさの割合よりも、新たな情報コードでの画像領域の大きさに対するセルの大きさの割合のほうが小さくなるように、新たな情報コードでの内部構成を決定する。
この構成では、サイズ縮小指示に応じた新たな情報コード(全体サイズを縮小した情報コード)を生成・表示する際に、セルの縮小度合いを大きくし、画像領域の縮小度合いを抑えた形でのサイズ変更がなされるため、画像領域とセルの大きさの関係を一定に保ちながら縮小する場合と比較すると、画像領域の割合を確実に高めた形でのコードの縮小表示が可能となる。
In the invention according to claim 6 , when the size reduction instruction is received by the reception unit, the structure determination unit performs a cell corresponding to the size of the image area in the information code displayed on the display unit before the size reduction instruction. The internal configuration with the new information code is determined so that the ratio of the cell size to the size of the image area with the new information code is smaller than the ratio of the size of.
In this configuration, when generating and displaying a new information code corresponding to the size reduction instruction (information code with the overall size reduced), the degree of cell reduction is increased, and the degree of image area reduction is suppressed. Since the size is changed, the code can be reduced and displayed in a form in which the ratio of the image area is reliably increased as compared with the case where the image area and the size of the cell are kept constant.

請求項の発明では、受付部は、所定の割合指定指示を受け付け可能とされており、割合決定部は、受付部によって所定の割合指定指示が受け付けられた場合に、新たな情報コードでの情報コード全体に対する画像領域の割合を予め定められた所定の最大割合とする。
このように構成されているため、所定の割合指定指示を表示装置に与えるという比較的簡易な指示により、画像領域の割合をより大きくした形での斬新な表示変更が可能となる。
In the invention of claim 7 , the accepting unit is capable of accepting a predetermined ratio specifying instruction, and the ratio determining unit is able to receive a new information code when the accepting part accepts the predetermined ratio specifying instruction. The ratio of the image area to the entire information code is set to a predetermined maximum ratio.
With this configuration, a novel display change in a form in which the ratio of the image area is increased can be performed by a relatively simple instruction of giving a predetermined ratio designation instruction to the display device.

請求項の発明では、セルの行数及び列数の組み合わせが異なる複数種類の型番が用意されており、構造決定部は、変更指示の前に表示部に表示されていた情報コードの記録内容と、変更指示とに基づいて新たな型番を決定し、その決定された型番と、割合決定部で決定された画像領域の割合とに基づいて新たな情報コードでの内部構成を決定する。
このように、変更指示がなされた場合に、その変更指示に応じた新たな型番を決定した上で、新たな情報コードを生成・表示する構成とすれば、単にコード画像を全体的に拡大、縮小させるような既存方法では成し得ない細かな調整が可能となる。
In the invention of claim 8, a plurality of types of model numbers having different combinations of cell row numbers and column numbers are prepared, and the structure determination unit records the information code recorded on the display unit before the change instruction. A new model number is determined based on the change instruction, and the internal configuration with the new information code is determined based on the determined model number and the ratio of the image area determined by the ratio determination unit.
In this way, when a change instruction is made, after determining a new model number according to the change instruction, if a configuration that generates and displays a new information code, simply enlarge the entire code image, It is possible to make fine adjustments that cannot be achieved with existing methods such as reduction.

請求項の発明では、変更指示の前に表示部に表示される情報コードは、コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類のセルによって解読対象データを表すデータ記録領域と、データ記録領域の誤り訂正を行うための誤り訂正データが記録される誤り訂正データ記録領域と、解読対象データが記録されず且つデータ記録領域の誤り訂正を行うための誤り訂正データが記録されない領域として構成される画像領域と、を設けた構成であり、構造決定部は、コード領域の内部に、固定パターンが配置される第1領域と、データ記録領域に記録された解読対象データが少なくとも記録される第2領域と、第2領域の誤り訂正を行うための誤り訂正データが記録される第3領域と、解読対象データが記録されず且つ第2領域の誤り訂正を行うための誤り訂正データが記録されない領域として構成され、画像領域の画像を所定の方式で拡大又は縮小した画像が表される第4領域と、を設けた形で新たな情報コードの内部構成を決定する。
この構成によれば、変更前後のいずれの情報コードにおいても、画像が表示される領域を、解読対象データが記録されず且つ誤り訂正データが記録されない特殊な領域として表すことができ、画像の領域をより自由に構成し易くなる。そして、このように特徴的な情報コードを表示する構成において、画像領域の割合を変更するという斬新な表示変更が可能となる。
In the invention of claim 9, the information code displayed on the display unit before the change instruction is made up of a specific pattern area in which a specific pattern having a predetermined shape is arranged inside the code area, and a plurality of types of cells. A data recording area representing data to be decoded, an error correction data recording area in which error correction data for error correction in the data recording area is recorded, and an error correction in the data recording area where no data to be decoded is recorded And an image area configured as an area where error correction data for recording is not recorded. The structure determination unit includes a first area in which a fixed pattern is arranged in the code area, and a data recording area. A second area in which at least recorded decryption target data is recorded, a third area in which error correction data for performing error correction in the second area is recorded, and a decryption target data A fourth area in which data is not recorded and error correction data for performing error correction in the second area is not recorded, and an image obtained by enlarging or reducing the image of the image area by a predetermined method; The internal structure of a new information code is determined in a form provided with.
According to this configuration, in any information code before and after the change, the area where the image is displayed can be represented as a special area where the decoding target data is not recorded and the error correction data is not recorded. Can be configured more freely. And in the structure which displays the characteristic information code in this way, a novel display change that changes the ratio of the image area becomes possible.

請求項10の発明では、変更指示の前に表示部に表示される情報コードは、コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類のセルによって解読対象データを表すデータ記録領域と、データ記録領域の誤り訂正を行うための誤り訂正データが記録される誤り訂正データ記録領域と、誤り訂正データ記録領域のデータによって誤り訂正がされる領域として構成される画像領域と、を設けた構成であり、構造決定部は、コード領域の内部に、固定パターンが配置される第1領域と、データ記録領域に記録された解読対象データが少なくとも記録される第2領域と、第2領域の誤り訂正を行うための誤り訂正データが記録される第3領域と、第3領域のデータによって誤り訂正がされる領域として構成され且つ画像領域の画像を所定の方式で拡大又は縮小した画像が表される第4領域と、を設けた形で新たな情報コードの内部構成を決定する。
この構成によれば、変更前後のいずれの情報コードにおいても、画像が表示される領域を、誤り訂正データによって誤り訂正がなされる領域として表すことができる。よって、画像領域の分を誤り訂正データによって訂正するという既存の思想を生かしつつ、画像領域の割合を変更するという斬新な表示変更が可能となる。
In the invention of claim 10, the information code displayed on the display unit before the change instruction is made up of a specific pattern area in which a specific pattern having a predetermined shape is arranged inside the code area, and a plurality of types of cells. Configured as a data recording area representing data to be decoded, an error correction data recording area for recording error correction data for error correction in the data recording area, and an area for error correction by data in the error correction data recording area The structure determining unit records at least the first area in which the fixed pattern is arranged and the data to be decoded recorded in the data recording area in the code area. A second area, a third area in which error correction data for performing error correction in the second area is recorded, and an area in which error correction is performed by the data in the third area. Constructed and determine the internal structure of the fourth region and the new information code in the form provided with the image obtained by enlarging or reducing the image in the image area in a predetermined manner is represented.
According to this configuration, in any information code before and after the change, an area where an image is displayed can be represented as an area where error correction is performed using error correction data. Therefore, it is possible to make a novel display change by changing the ratio of the image area while utilizing the existing idea of correcting the image area by the error correction data.

請求項11の発明では、生成部は、変更指示に応じた大きさの新たな情報コードを生成する場合に、変更指示に基づいて当該新たな情報コードでの誤り訂正率を決定する誤り訂正率決定部を備え、構造決定部は、変更指示に基づいて誤り訂正率決定部によって決定された誤り訂正率に従って、新たな情報コードでの内部構成を決定する。
このように、変更指示に応じて新たな情報コードを生成する際に誤り訂正率を新たに決定できる構成とすれば、誤り訂正率が変更前の構成に拘束されない形で、自由度の大きい且つ細かな調整が可能となる。
In the invention of claim 11 , when the generation unit generates a new information code having a size corresponding to the change instruction, the error correction rate determines an error correction rate for the new information code based on the change instruction. A structure determining unit is provided, and the structure determining unit determines an internal configuration with a new information code according to the error correction rate determined by the error correction rate determining unit based on the change instruction.
In this way, if a configuration in which an error correction rate can be newly determined when a new information code is generated in response to a change instruction, the degree of freedom is large and the error correction rate is not constrained by the configuration before the change. Fine adjustment is possible.

請求項12の発明では、構造決定部は、変更指示に応じて当該変更指示の前に表示部に表示されていた情報コードとは異なる大きさの新たな情報コードを生成する場合に、解読対象データと、解読対象データとは異なる所定のダミーデータと、を含んだデータを記録する形で第2領域を構成する。
この構成によれば、大きさの変更によって空いたスペース(画像領域でもなく、解読対象データの記録領域でもない空いたスペース)が生じる場合であっても、そのスペースをダミーデータで埋めて体裁を整え、意匠性の低下を防ぐことができる。
In the twelfth aspect of the invention, when the structure determination unit generates a new information code having a size different from that of the information code displayed on the display unit before the change instruction in response to the change instruction, the structure determination unit The second area is configured to record data including data and predetermined dummy data different from the data to be decoded.
According to this configuration, even when an empty space (an empty space that is neither an image area nor a recording area for data to be decoded) is generated due to the change in size, the space is filled with dummy data to make the appearance. It is possible to prevent the deterioration of designability.

図1は、第1実施形態に係る情報コード利用システムを概略的に例示する概略図である。FIG. 1 is a schematic diagram schematically illustrating an information code utilization system according to the first embodiment. 図2は、図1の情報コード利用システムを構成する情報コード読取装置の電気的構成を概略的に例示するブロック図である。FIG. 2 is a block diagram schematically illustrating an electrical configuration of an information code reading device that constitutes the information code utilization system of FIG. 図3は、図1の情報コード利用システムで用いられる情報コードのデータ構成を概念的に説明する説明図である。FIG. 3 is an explanatory diagram for conceptually explaining the data configuration of the information code used in the information code utilization system of FIG. 図4は、図1の情報コード利用システムで用いられる情報コードと対応する他種のコードを説明する説明図である。FIG. 4 is an explanatory diagram for explaining another type of code corresponding to the information code used in the information code utilization system of FIG. 図5は、図1の情報コード利用システムを構成する情報コード表示装置で生成される情報コードでの各データワードの配置と、他種のコードでの各データワードの配置との対応関係を説明する説明図である。FIG. 5 illustrates the correspondence between the arrangement of each data word in the information code generated by the information code display device constituting the information code utilization system in FIG. 1 and the arrangement of each data word in another type of code. It is explanatory drawing to do. 図6は、図1の情報コード利用システムで用いられる情報コードのフォーマットデータを概念的に説明する説明図である。FIG. 6 is an explanatory diagram conceptually illustrating the format data of the information code used in the information code utilization system of FIG. 図7は、図1の情報コード利用システムを構成する情報コード表示装置で生成される情報コードでの各データワードの配置と、他種のコードでの各データワードの配置との対応関係を説明する説明図であり、図5とは異なる対応関係に変更した図である。FIG. 7 explains the correspondence between the arrangement of each data word in the information code generated by the information code display device constituting the information code utilization system in FIG. 1 and the arrangement of each data word in another type of code. FIG. 6 is a diagram illustrating a correspondence relationship different from that in FIG. 5. 図8は、図1の情報コード利用システムを構成する情報コード表示装置での情報コードの生成の流れを例示するフローチャートである。FIG. 8 is a flowchart illustrating the flow of information code generation in the information code display device constituting the information code utilization system of FIG. 図9は、図1の情報コード利用システムを構成する情報コード読取装置での情報コードの読み取りの流れを例示するフローチャートである。FIG. 9 is a flowchart illustrating the flow of reading an information code in the information code reading device constituting the information code utilization system of FIG. 図10は、図1の情報コード利用システムを構成する情報コード表示装置での情報コードの表示処理の流れを例示するフローチャートである。FIG. 10 is a flowchart illustrating the flow of the information code display process in the information code display device constituting the information code utilization system of FIG. 図11は、図10の表示処理が行われているときの表示画面の例1を説明する説明図である。FIG. 11 is an explanatory diagram illustrating Example 1 of the display screen when the display process of FIG. 10 is performed. 図12(A)は、表示画面に表示された情報コードの一例を示す説明図であり、図12(B)は、内部画像の拡大を指示するサイズ拡大指示の後に再表示された情報コードの一例を示す説明図である。FIG. 12A is an explanatory diagram showing an example of the information code displayed on the display screen, and FIG. 12B shows the information code re-displayed after the size enlargement instruction for instructing enlargement of the internal image. It is explanatory drawing which shows an example. 図13(A)は、表示画面に表示された情報コードの一例を示す説明図であり、図13(B)は、画像全体をそのまま拡大するサイズ拡大指示の後に再表示された情報コードの一例を示す説明図である。FIG. 13A is an explanatory diagram showing an example of the information code displayed on the display screen, and FIG. 13B shows an example of the information code redisplayed after the size enlargement instruction for enlarging the entire image as it is. It is explanatory drawing which shows. 図14は、図10の表示処理が行われているときの表示画面の例2を説明する説明図である。FIG. 14 is an explanatory diagram illustrating a display screen example 2 when the display process of FIG. 10 is performed. 図15(A)は、表示画面に表示された情報コードの一例を示す説明図であり、図15(B)は、内部画像の拡大を伴うサイズ縮小指示の後に再表示された情報コードの一例を示す説明図である。FIG. 15A is an explanatory diagram showing an example of the information code displayed on the display screen, and FIG. 15B is an example of the information code re-displayed after the size reduction instruction accompanying the enlargement of the internal image. It is explanatory drawing which shows. 図16(A)は、表示画面に表示された情報コードの一例を示す説明図であり、図16(B)は、画像全体をそのまま縮小するサイズ縮小指示の後に再表示された情報コードの一例を示す説明図である。FIG. 16A is an explanatory diagram showing an example of the information code displayed on the display screen, and FIG. 16B is an example of the information code re-displayed after the size reduction instruction for reducing the entire image as it is. It is explanatory drawing which shows. 図17(A)は、表示装置に表示される画像の一例を示す説明図であり、図17(B)は、コード化する領域を選択する様子を説明する説明図である。FIG. 17A is an explanatory diagram illustrating an example of an image displayed on the display device, and FIG. 17B is an explanatory diagram illustrating how a region to be encoded is selected. 図18(A)は、表示装置に表示された画像の中からコード化する領域を決めた様子を説明する説明図であり、図18(B)は、その決定によって生成された情報コードを示す説明図である。FIG. 18A is an explanatory diagram for explaining a state in which an area to be coded is determined from an image displayed on the display device, and FIG. 18B shows an information code generated by the determination. It is explanatory drawing. 図19は、第2実施形態に係る情報コード利用システムで用いられる情報コードを説明する説明図であり、図19(A)は、空き領域を空白にした状態を示す図であり、図19(B)は、空き領域に文字を記入した例を示す図である。FIG. 19 is an explanatory diagram for explaining an information code used in the information code utilization system according to the second embodiment, and FIG. 19 (A) is a diagram showing a state in which an empty area is left blank, and FIG. B) is a diagram showing an example in which characters are entered in the empty area. 図20(A)は、第2実施形態に係る情報コード利用システムにおいて表示画面に表示された情報コードの一例を、その情報コードに記録された内容と併せて説明する説明図であり、図20(B)は、サイズ拡大指示の後に再表示された情報コードの一例を、その情報コードのに記録された内容と併せて説明する説明図である。20A is an explanatory diagram for explaining an example of the information code displayed on the display screen in the information code utilization system according to the second embodiment, together with the contents recorded in the information code. (B) is an explanatory view illustrating an example of the information code redisplayed after the size enlargement instruction, together with the contents recorded in the information code. 図21は、図19の情報コードにおける解読対象データのデータ構成を概念的に示す説明図である。FIG. 21 is an explanatory diagram conceptually showing the data structure of the data to be decoded in the information code of FIG. 図22は、第3実施形態に係る情報コード利用システムで用いられる情報コードを説明する説明図であり、図22(A)は、空き領域を空白にした状態を示す図であり、図22(B)は、空き領域に文字を記入した状態を示す図である。FIG. 22 is an explanatory diagram for explaining an information code used in the information code utilization system according to the third embodiment, and FIG. 22 (A) is a diagram showing a state in which an empty area is left blank, and FIG. B) is a diagram showing a state in which characters are entered in the empty area. 図23は、他の実施形態に係る情報コード利用システムで用いられる情報コードを説明する説明図である。FIG. 23 is an explanatory diagram for explaining an information code used in an information code utilization system according to another embodiment. 図24は、他の実施形態に係る情報コード利用システムで用いられる情報コードの別例を説明する説明図である。FIG. 24 is an explanatory diagram illustrating another example of an information code used in an information code utilization system according to another embodiment. 図25は、他の実施形態に係る情報コード利用システムで用いられる情報コードの別例2を説明する説明図である。FIG. 25 is an explanatory diagram for explaining another example 2 of the information code used in the information code utilization system according to another embodiment.

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

(情報コード表示装置)
情報コード表示装置2は、例えばパーソナルコンピュータ、スマートフォン、タブレット端末等の情報処理装置として構成されており、図1でしめすように、CPUなどからなる制御部3と、キーボード、マウス、その他の入力装置からなる操作部4と、ROM、RAM、HDD、不揮発性メモリ等の記憶装置からなる記憶部5と、公知の表示装置(液晶ディスプレイやその他の表示デバイス)などからなる表示部6と、外部装置と有線通信或いは無線通信を行うための通信インタフェースとして機能する通信部7とを備えている。なお、図1等では図示していないが、表示装置2の内部又は表示装置2と通信可能な形で情報コードを印刷し得る印刷部が設けられていてもよい。
(Information code display device)
The information code display device 2 is configured as an information processing device such as a personal computer, a smartphone, or a tablet terminal, for example, and as shown in FIG. 1, a control unit 3 including a CPU, a keyboard, a mouse, and other input devices. An operation unit 4 comprising: a storage unit 5 comprising a storage device such as ROM, RAM, HDD, nonvolatile memory; a display unit 6 comprising a known display device (liquid crystal display or other display device); and an external device And a communication unit 7 functioning as a communication interface for performing wired communication or wireless communication. Although not shown in FIG. 1 and the like, a printing unit that can print the information code inside the display device 2 or in a form communicable with the display device 2 may be provided.

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

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

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

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

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

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

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

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

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

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

(情報コード)
次に、図1の情報コード利用システムで利用される情報コード100について、図1、図5等を参照して説明する。なお、図1の例と図5右図の例では、セル配列や特定パターンのサイズ等が若干異なるが基本的な考えは同様であり、同様の特徴を有している。図1、図5等に示す情報コード100は、例えば上述の情報コード表示装置2によって生成されるものであり、所定のコード領域の内部に情報を表示する単位となるセル102を配列した構成となっている。なお、図1、図5等の情報コード100において、「コード領域」は、複数配列された暗色セルを全て含み得る矩形状の領域であり、情報コード100を構成するセルを全て含む最小の正方形領域又は長方形領域となっている。具体的には、3つの位置検出パターン(切り出しシンボル)104を全て含む最小の正方形領域又は長方形領域となっている。なお、図1、図5等の例では、複数のセル102が、矩形状(例えば外径が正方形状)の明色(白色)セル及び暗色(黒色)セルのいずれかによって構成されており、コード領域の内部において後述する空き領域110の周囲にこれらセル102がマトリックス状に配置されている。明色セル及び暗色セルは、それぞれ白色セル、黒色セルに限られるものではなく、暗色セルが所定の明度で構成される場合、明色セルはそれよりも明度が高ければよい。また、情報コード100において上記コード領域の周囲には、当該コード領域を取り囲むように明色又は暗色のマージン領域が構成されるようになっており、図1、図5等の例では、明色(例えば、白色或いは暗色セルよりも明度の大きい他色)のマージン領域がコード領域の周囲に隣接して配置されている。
(Information code)
Next, the information code 100 used in the information code utilization system of FIG. 1 will be described with reference to FIGS. The example of FIG. 1 and the example of the right side of FIG. 5 are slightly different in the cell arrangement and the size of the specific pattern, but the basic idea is the same and has the same characteristics. The information code 100 shown in FIG. 1 and FIG. 5 is generated by, for example, the information code display device 2 described above, and has a configuration in which cells 102 serving as units for displaying information are arranged in a predetermined code area. It has become. In the information code 100 of FIGS. 1 and 5, the “code area” is a rectangular area that can include all of the plurality of dark cells arranged, and is the smallest square that includes all of the cells constituting the information code 100. It is a region or a rectangular region. Specifically, it is a minimum square area or rectangular area including all three position detection patterns (cutout symbols) 104. In the example of FIGS. 1 and 5, the plurality of cells 102 are configured by either a rectangular (for example, a square outer diameter) light (white) cell or a dark (black) cell, Within the code area, these cells 102 are arranged in a matrix around an empty area 110 described later. The light color cell and the dark color cell are not limited to the white cell and the black cell, respectively. When the dark color cell is configured with a predetermined lightness, the light color cell only needs to have a higher lightness. In the information code 100, a light or dark margin area is formed around the code area so as to surround the code area. In the examples of FIGS. A margin area (for example, another color having a lightness higher than that of a white or dark cell) is arranged adjacent to the periphery of the code area.

この情報コード100は、矩形状(例えば、正方形状或いは長方形状等)のコード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類のセル102によってデータを記録するデータ記録領域と、複数種類のセル102によって誤り訂正符号を記録する誤り訂正符号記録領域とが設けられている。図1、図5等のように、情報コード100の特定パターンは、例えば、QRコード(登録商標)の公知の所定型番(図5の例では、JIS等で規格化されたQRコードの所定型番)の特定パターンと同一の形状及び位置となっており、図1、図5等の例では、コード領域の3つの角部にそれぞれ、特定パターンとしての位置検出パターン(切り出しシンボル)104が配置されている。また、上記所定型番において予め定められた位置に、特定パターンとしてのタイミングパターン106やアライメントパターン108も設けられている。このように、情報コード100では、予め定められた位置に決まった形状の特定パターン(位置検出パターン104、タイミングパターン106、アライメントパターン108(図5では省略))が配置されるようになっている。なお、コード領域の内部において、後述する空き領域110以外の位置は、このような特定パターンの領域、記録領域(データ記録領域及び誤り訂正符号記録領域のいずれかからなる領域)などによって構成されている。   The information code 100 includes data in a specific pattern area in which a specific pattern having a predetermined shape is arranged inside a rectangular code area (for example, a square shape or a rectangular shape), and a plurality of types of cells 102. A data recording area for recording and an error correction code recording area for recording an error correction code by a plurality of types of cells 102 are provided. As shown in FIGS. 1 and 5, the specific pattern of the information code 100 is, for example, a known predetermined model number of a QR code (registered trademark) (in the example of FIG. 5, a predetermined model number of a QR code standardized by JIS or the like). ), The position detection pattern (cutout symbol) 104 as the specific pattern is arranged at each of the three corners of the code area in the examples of FIGS. ing. Further, a timing pattern 106 and an alignment pattern 108 as specific patterns are also provided at predetermined positions in the predetermined model number. As described above, in the information code 100, a specific pattern (position detection pattern 104, timing pattern 106, alignment pattern 108 (not shown in FIG. 5)) having a predetermined shape is arranged at a predetermined position. . It should be noted that, within the code area, positions other than the empty area 110, which will be described later, are configured by such specific pattern areas, recording areas (areas consisting of either data recording areas or error correction code recording areas), and the like. Yes.

情報コード100のセルの行数及び列数、特定パターンの形状及び位置、フォーマット情報の位置、コードワードの候補位置(コードワードの配置順序を特定するアドレス)等は読取装置がどのような方法で把握してもよい。例えば、情報コード100の種別において複数の型番が設けられていてもよく、この場合、型番毎にセルの行数及び列数、特定パターンの形状及び位置、フォーマット情報の位置、コードワードを配置する候補位置(アドレス)が予め定められていればよい。そして、上記型番を特定する型番情報がコード領域内の決められた位置(予約領域)に配置されていれば、読取装置はこの型番情報に基づいて情報コード100のセルの行数及び列数、特定パターンの形状及び位置、フォーマット情報の位置、コードワードの候補位置(アドレス)を把握できるようになる。なお、この方法に限定されるものではなく、読取装置が把握し得る方法であれば他の方法でもよい。   The number of rows and columns of cells of the information code 100, the shape and position of a specific pattern, the position of format information, the codeword candidate position (address for specifying the arrangement order of codewords), etc. You may grasp. For example, a plurality of model numbers may be provided in the type of the information code 100. In this case, the number of rows and columns of cells, the shape and position of a specific pattern, the position of format information, and a code word are arranged for each model number. The candidate position (address) may be determined in advance. If the model number information for specifying the model number is arranged at a predetermined position (reserved area) in the code area, the reader device can determine the number of rows and columns of cells of the information code 100 based on the model number information. It becomes possible to grasp the shape and position of the specific pattern, the position of the format information, and the candidate position (address) of the code word. Note that the present invention is not limited to this method, and any other method may be used as long as the reader can grasp the method.

そして、コード領域の内部において、特定パターン領域、データ記録領域、誤り訂正符号記録領域以外の位置には、セル102によってデータが記録されない領域であり且つ誤り訂正符号による誤り訂正の対象にならない領域である空き領域110が、単一のセル102のサイズよりも大きいサイズで設けられている。なお、図1、図5等の例では、データ記録領域、誤り訂正符号記録領域がコード領域の周縁に沿って環状且つ矩形状に配置されており、コード領域の中央部(コード領域の中心を含む所定領域)に空き領域110が構成されている。なお、「セル102によってデータが記録されない領域」とは、即ち、後述するデータコードワードや誤り訂正コードワードなどのコードワードが記録されない領域であり、且つフォーマット情報が記録されない領域であることを意味する。また、「誤り訂正符号による誤り訂正の対象にならない領域」とは、即ち、誤り訂正符号記録領域に記録された誤り訂正符号を用いた誤り訂正が行われない領域であることを意味する。従って、空き領域110に何らかの情報(後述する追加情報等)が記録されていても、空き領域110の周囲に存在する誤り訂正符号記録領域の誤り訂正符号によってその情報に対する誤り訂正がなされることはない。   Within the code area, the area other than the specific pattern area, data recording area, and error correction code recording area is an area where data is not recorded by the cell 102 and is not subject to error correction by the error correction code. A certain free area 110 is provided in a size larger than the size of the single cell 102. In the examples of FIGS. 1 and 5 and the like, the data recording area and the error correction code recording area are arranged in an annular and rectangular shape along the periphery of the code area, and the center of the code area (the center of the code area is defined). A free area 110 is formed in a predetermined area. The “area in which no data is recorded by the cell 102” means an area in which a code word such as a data code word and an error correction code word to be described later is not recorded, and an area in which format information is not recorded. To do. The “region not subject to error correction by the error correction code” means a region where error correction using the error correction code recorded in the error correction code recording region is not performed. Therefore, even if some information (additional information to be described later) is recorded in the empty area 110, error correction for the information is performed by the error correction code in the error correction code recording area existing around the empty area 110. Absent.

なお、以下の説明では、図5右図のような上記所定型番に対応する構成と、図5左図のような所定型番よりもサイズが小さい別の型番(Ver.番号)とが対応付けられ、図5右図の情報コード100の各コードワードの位置と、図5左図の他種コード120の各コードワードの位置とが図5下図のような配置変換表によって対応付けられている例を代表例として説明する。この例では、図5左図の他種コード120で格納し得るデータ量であれば、図5右図のような情報コード100により空き領域110を設けた上で表現できるようになっている。逆に、図5右図の情報コード100を読み取る場合には、情報コード100の各コードワードを、図5左図のような他種コード120のコードワードとして読み取ることができるようになっている。   In the following description, a configuration corresponding to the predetermined model number as shown in the right diagram of FIG. 5 is associated with another model number (Ver. Number) having a smaller size than the predetermined model number as illustrated in the left diagram of FIG. An example in which the position of each code word of the information code 100 in the right diagram of FIG. 5 and the position of each code word of the other code 120 in the left diagram of FIG. 5 are associated by the arrangement conversion table as shown in the lower diagram of FIG. Will be described as a representative example. In this example, the amount of data that can be stored in the other type code 120 in the left diagram of FIG. 5 can be expressed with the empty area 110 provided by the information code 100 as shown in the right diagram of FIG. Conversely, when the information code 100 shown in the right diagram of FIG. 5 is read, each code word of the information code 100 can be read as a code word of another type code 120 as shown in the left diagram of FIG. .

また、図5右図では、空き領域110の周囲に配置される各コードワードの領域を破線枠等によって概念的に示している。また、フォーマット情報を記録する領域(所定位置105)は、所定種類のハッチングにて概念的に示している。なお、図5右図では、フォーマット情報を記録する領域や、コードワードを記録する領域では、升目のみを示し、明色セルや暗色セルの具体的配列を省略して示している。また、図5右図の例では、セル配列と対応付けるべく空き領域110(コード領域の中央部分)の内部にも升目を付しているが、空き領域110の構成は自由であり、図1のように構成してもよく、その他の構成であってもよい。   In the right diagram of FIG. 5, each codeword area arranged around the empty area 110 is conceptually shown by a broken line frame or the like. An area (predetermined position 105) for recording format information is conceptually indicated by a predetermined type of hatching. In the right diagram of FIG. 5, in the area where the format information is recorded and the area where the code word is recorded, only the squares are shown, and the specific arrangement of light cells and dark cells is omitted. Further, in the example of the right diagram in FIG. 5, the interior of the empty area 110 (the central part of the code area) is also assigned to correspond to the cell arrangement, but the configuration of the empty area 110 is free, and FIG. It may be configured as described above, or may be other configurations.

フォーマット情報(形式情報)は、例えば図6のように構成されて情報コード100内の所定位置105(所定種類のハッチング位置)に特定のフォーマット構成で記録されている。このフォーマット情報は、誤り訂正レベルを特定する訂正レベル情報と、マスク番号を特定するマスク番号情報とを含んでいる。訂正レベル情報は、情報コード100で用いる誤り訂正レベルを特定する情報であり、例えば他種コード120に変換して読み取る場合の当該他種コード120で用いる誤り訂正レベルにも相当する。また、マスク番号は、情報コード100のコードワード領域(データコードワードや誤り訂正コードワードが記録されている領域)にかけられているマスクがどのマスク種別であるかを特定する情報である。   The format information (format information) is configured as shown in FIG. 6, for example, and is recorded at a predetermined position 105 (a predetermined type of hatching position) in the information code 100 with a specific format configuration. This format information includes correction level information for specifying an error correction level and mask number information for specifying a mask number. The correction level information is information for specifying an error correction level used in the information code 100, and corresponds to an error correction level used in the other type code 120 when the information is converted into the other type code 120 and read, for example. The mask number is information for specifying which mask type is the mask applied to the codeword area of the information code 100 (area in which the data codeword and error correction codeword are recorded).

図6に示すようにフォーマット情報は、所定種類のマスクパターン(特定マスク)を反映した状態で記録されており、公知のQRコードと同様の方法でフォーマット情報のマスク種別を識別することで、図5右図に示すような特定のコード種別(空き領域110を設けた種別)であることを検出できるようになっている。公知規格のQRコードでは、例えばモデル1として構成する場合には、図6のようなフォーマット情報に対してモデル1用のマスクをかけたときに表現されるデータ(セル配列)を所定位置に記録し、モデル2として構成する場合には、図6のようなフォーマット情報に対してモデル2用のマスクをかけたときに表現されるデータ(セル配列)を所定位置に記録するようになっている。一方、図5に示す本実施形態の情報コード100(空き領域110を有する特別種類のコード)では、図6のようなフォーマット情報に対してモデル1、2とは異なる種類の特定マスク(図6ではフレームQR用と例示)をかけたときに表現されるデータ(セル配列)を所定位置105に記録するようになっている。そして、公知規格のモデル1及びモデル2、情報コード100の種別のいずれの場合でも、記録する訂正レベル(訂正レベル情報)及びマスク番号(マスク番号情報)に対応するチェックデジットが付された上でフォーマット情報が構成されており、その上で各種別用のマスクがかけられるようになっている。具体的には、各種別用のマスクパターンを用いて公知の方法でマスク処理が行われ、マスク処理後のビットパターンが所定位置105に記録されるようになっている。従って、情報コード100のようにフォーマット情報に対して特定マスク(図6ではフレームQR用と例示)をかけた上で所定位置105に記録する場合、このように所定位置105に記録された情報を上記特定マスクに基づいてマスク処理を解除して解読すればチェックデジットが合うため、情報コード100の種別であることを特定することができる。逆に、情報コード100の所定位置105のデータを、モデル1やモデル2のマスクに基づいてマスクを外しても、チェックデジットが合わなくなるため、公知規格のモデル1やモデル2でないことを特定することができる。   As shown in FIG. 6, the format information is recorded in a state reflecting a predetermined type of mask pattern (specific mask), and the format information is identified by identifying the mask type of the format information in the same manner as a known QR code. 5 It is possible to detect a specific code type (type provided with a free area 110) as shown in the right figure. For example, when the model 1 is configured as a QR code of a known standard, data (cell array) expressed when the model 1 mask is applied to the format information as shown in FIG. 6 is recorded at a predetermined position. However, when configured as the model 2, data (cell array) expressed when the model 2 mask is applied to the format information as shown in FIG. 6 is recorded at a predetermined position. . On the other hand, in the information code 100 of this embodiment shown in FIG. 5 (special type code having a free area 110), a specific mask of a different type from the models 1 and 2 (FIG. 6) for the format information as shown in FIG. Then, data (cell array) expressed when frame QR is used is recorded at a predetermined position 105. Then, in any of the types 1 and 2 of the known standard and the type of the information code 100, a check digit corresponding to the correction level (correction level information) and mask number (mask number information) to be recorded is added. Format information is configured, on which various types of masks can be applied. Specifically, mask processing is performed by a known method using various types of mask patterns, and the bit pattern after the mask processing is recorded at a predetermined position 105. Therefore, when the format information is subjected to a specific mask (for example, for frame QR in FIG. 6) and recorded at the predetermined position 105 as in the information code 100, the information recorded at the predetermined position 105 in this way is recorded. If the mask process is canceled and decoded based on the specific mask, the check digit is matched, so that the type of the information code 100 can be specified. On the contrary, even if the data at the predetermined position 105 of the information code 100 is removed based on the masks of the model 1 and model 2, the check digit does not match. be able to.

この情報コード100では、特定パターン(位置検出パターン104等)を検出し、公知のQRコードと同様の方法でコード領域、コードの向き、各セル位置を特定した後、公知のQRコードと同様の方法でフォーマット情報が記録された所定位置105を解読することで、解読時に成功したマスクの種別により情報コード100の種別(空き領域110を有する特別種類)であることを特定することができる。そして、解読されたフォーマット情報により、情報コード100で用いる誤り訂正レベルを特定でき、且つ情報コード100のコードワード領域(セルによってデータコードワードや誤り訂正コードワードが記録されている領域)にかけられているマスク種別を特定できるようになっている。   In this information code 100, after detecting a specific pattern (position detection pattern 104, etc.) and specifying the code area, code direction, and each cell position in the same manner as the known QR code, the same as the known QR code. By decoding the predetermined position 105 where the format information is recorded by the method, it is possible to identify the type of the information code 100 (special type having the empty area 110) according to the type of the mask that has been successfully decoded. Then, the error correction level used in the information code 100 can be specified by the decoded format information, and applied to the code word area of the information code 100 (the area where the data code word and the error correction code word are recorded by the cell). It is possible to specify the mask type.

情報コード100に記録する内容は、例えば、図3のような構成をなしており、データ配列の先頭部分にヘッダデータ(フレームQR用ヘッダー)が設定され、ヘッダデータの後に入力データ(解読対象データ)が続くようになっている。図3の例では、入力データ(解読対象データ)については、例えば公知の方法で圧縮し、データワード(データコードワード)に変換しているが、このような圧縮を行わなくてもよい。なお、情報コード100で用いるヘッダデータは、以降の説明では、「フレームQR用ヘッダー」とも称する。また、本明細書では、このようなヘッダデータ及び入力データ(解読対象データ)のデータワード(データコードワード)を記録する領域、及び上述のフォーマット情報を記録する領域が「データ記録領域」に相当する。また、図3の例では、ヘッダデータ(フレームQR用ヘッダー)として、後述する他種コード120(情報コード100を解読するために用いるコード種別であり、配置変換表(図5)によって情報コード100と対応付けられたコード)の種別(型番)を特定し得る情報(図3では、Ver.番号と例示)や、空き領域内の形式を特定し得る識別情報が記録されている。なお、図3の例では、ヘッダデータとして、他種コードの種類(Ver.番号)に加え、空き領域110の形式が図1、図5、図10等に示す画像形式であることを特定する情報(第1情報)と、空き領域110内での画像の位置(画像領域位置)を特定し得る情報(第2情報に相当する「画像領域位置情報」)とが記録されている。このうち、空き領域110の形式が画像形式であることを特定する情報(第1情報)は、画像領域の存在を示す「識別情報」の一例に相当する。また、空き領域内での画像の位置(画像領域位置)を特定し得る情報(第2情報)は、画像領域のコード領域内での位置を示す「位置データ」の一例に相当する。   The content recorded in the information code 100 has, for example, a configuration as shown in FIG. 3, header data (frame QR header) is set at the head of the data array, and input data (decryption target data) after the header data. ) Continues. In the example of FIG. 3, input data (data to be decoded) is compressed by, for example, a known method and converted into a data word (data code word). However, such compression may not be performed. Note that the header data used in the information code 100 is also referred to as a “frame QR header” in the following description. Further, in this specification, such an area for recording data words (data code words) of header data and input data (data to be decoded) and an area for recording the above-described format information correspond to “data recording areas”. To do. In the example of FIG. 3, as header data (frame QR header), another type code 120 (a code type used for decoding the information code 100, which will be described later), and the information code 100 according to the arrangement conversion table (FIG. 5). Information (identified as Ver. Number in FIG. 3) and identification information that can specify the format in the empty area are recorded. In the example of FIG. 3, as the header data, in addition to the type (Ver. Number) of other types of codes, it is specified that the format of the free area 110 is the image format shown in FIG. 1, FIG. 5, FIG. Information (first information) and information that can specify the position of the image (image area position) in the empty area 110 (“image area position information” corresponding to the second information) are recorded. Among these, the information (first information) for specifying that the format of the empty area 110 is an image format corresponds to an example of “identification information” indicating the presence of the image area. The information (second information) that can specify the position of the image in the empty area (image area position) corresponds to an example of “position data” indicating the position of the image area in the code area.

本構成では、空き領域110が画像領域121として機能している。従って、以下の説明では、空き領域110を画像領域121ともいう。図3、図5の例では、画像領域121の列位置及び行位置を特定し得る情報が画像領域位置情報(位置データ)として記録されている。より具体的には、図5に示すような矩形状に構成される情報コード100を複数行且つ複数列に格子状に分割したときの画像領域121の左上の行位置及び列位置の組み合わせと、画像領域121の右下の行位置及び列位置の組み合わせとが画像領域位置情報(位置データ)として記録されている。なお、ここでは、画像領域121の左上の行位置及び列位置の組み合わせと、画像領域121の右下の行位置及び列位置の組み合わせを画像領域位置情報(位置データ)としているが、画像領域121の四隅の各位置における行位置及び列位置の組み合わせを画像領域位置情報(位置データ)としてもよい。また、図5のように情報コード100を格子状に分割したときの各行及び各列の幅は、それぞれ単一のセルの行方向の幅及び列方向の幅に相当している。   In this configuration, the free area 110 functions as the image area 121. Therefore, in the following description, the empty area 110 is also referred to as an image area 121. In the example of FIGS. 3 and 5, information that can specify the column position and row position of the image area 121 is recorded as image area position information (position data). More specifically, a combination of the upper left row position and column position of the image area 121 when the information code 100 configured in a rectangular shape as shown in FIG. 5 is divided into a plurality of rows and columns in a grid pattern, A combination of a row position and a column position in the lower right of the image area 121 is recorded as image area position information (position data). Here, the combination of the upper left row position and the column position of the image area 121 and the lower right row position and the column position of the image area 121 are used as the image area position information (position data). A combination of the row position and the column position at each of the four corners may be used as image area position information (position data). Further, the width of each row and each column when the information code 100 is divided in a lattice shape as shown in FIG. 5 corresponds to the width in the row direction and the width in the column direction of a single cell, respectively.

そして、入力データ(解読対象データであるデータワード)の後には誤り訂正符号となる誤り訂正コードワード(ECCワード)が続いている。情報コード100では、この誤り訂正符号を記録する領域が誤り訂正符号記録領域となる。なお、データワード(図3の例ではヘッダデータ及び入力データ(解読対象データ))に基づいて誤り訂正符号(誤り訂正コードワード)を生成する方法は、公知の二次元コード(QRコード等)の規格で定められた方法などを用いることができる。例えば、データワード(データコードワード)に基づいて誤り訂正コードワードを生成する方法として、JISX0510:2004に規定された誤り訂正コード語の生成方法(JISX0510:2004、8.5誤り訂正)などを用いることができる。なお、誤り訂正コードワードの生成方法はこれに限られず、公知の様々な方法を用いることができる。   An error correction code word (ECC word) that becomes an error correction code follows the input data (data word that is data to be decoded). In the information code 100, an area for recording the error correction code is an error correction code recording area. Note that a method for generating an error correction code (error correction code word) based on a data word (in the example of FIG. 3, header data and input data (data to be decoded)) is a known two-dimensional code (such as a QR code). A method defined in the standard can be used. For example, as a method for generating an error correction codeword based on a data word (data codeword), an error correction codeword generation method (JISX0510: 2004, 8.5 error correction) defined in JISX0510: 2004 is used. be able to. Note that the method of generating the error correction codeword is not limited to this, and various known methods can be used.

また、情報コード100では、解読対象データを表現する各データワード(データコードワード)や誤り訂正コードワードが予め定められた配置位置情報に基づいてコード領域内に配置されている。本構成では、図5のように、情報コード100のコード領域内において予め各コードワードの配置候補位置が定められており、各配置候補位置にそれぞれ番号(アドレス)が割り当てられている。そして、配置位置情報は、図3に示す記録内容を構成する各コードワードをそれぞれどの配置候補位置に配置すべきかを特定する情報となっている。なお、図5右図の例では、1〜25番の配置候補位置を概略的に例示しており、各配置候補位置では、先頭と最後のビット部分に番号を付して明示している。また、図5右図では、26番以降の配置候補位置は省略している。   Further, in the information code 100, each data word (data code word) representing the data to be decoded (data code word) and an error correction code word are arranged in the code area based on predetermined arrangement position information. In this configuration, as shown in FIG. 5, the arrangement candidate positions of the respective code words are determined in advance within the code area of the information code 100, and a number (address) is assigned to each arrangement candidate position. The arrangement position information is information for specifying which arrangement candidate position each code word constituting the recording contents shown in FIG. 3 should be arranged. In the example of the right diagram in FIG. 5, the arrangement candidate positions Nos. 1 to 25 are schematically illustrated. In each arrangement candidate position, the first and last bit portions are numbered and clearly shown. In the right diagram of FIG. 5, the arrangement candidate positions after the 26th are omitted.

具体的には、他種コード120(公知のQRコード)の型番(図3に示すヘッダデータで特定される他種コード120の型番)では、各順番のコードワードを他種コード120内のどの位置に配置すべきかが公知規格等により予め定められており、他種コード120を解読する場合にはこのように定められた配置に基づいて各順番のコードワードを解読する。例えば、図5左図に示す他種コード120の例では、0番目のコードワードを右下に配置し、1番目のコードワードをその上に配置し、2番目のコードワードをその上に配置するといった具合に各コードワードの配置位置が予め決められている。従って、この他種コード120を解読する場合には、このように決められた配置に基づいて0番目のコードワード、1番目のコードワード、2番目のコードワード、3番目のコードワード・・・といった具合に順番に解読することになる。   Specifically, in the model number of the other type code 120 (known QR code) (the model number of the other type code 120 specified by the header data shown in FIG. 3), the code word in each order is included in the other type code 120. Whether or not to be arranged at a position is determined in advance by a known standard or the like, and when the other-type code 120 is decoded, the code words in each order are decoded based on the arrangement determined in this way. For example, in the example of the other type code 120 shown in the left diagram of FIG. 5, the 0th code word is arranged at the lower right, the first code word is arranged thereon, and the second code word is arranged thereon. The arrangement position of each code word is determined in advance. Therefore, when decoding this other type code 120, the 0th code word, the 1st code word, the 2nd code word, the 3rd code word, etc. based on the arrangement determined in this way. It will be deciphered in order.

一方、図5に示す配置位置情報(配置変換表)では、このように他種コード120で予め定められた各配置位置(各順番のコードワードの配置位置)の番号を、情報コード100において予め定められた候補位置(各コードワードの配置候補位置)の番号にそれぞれ対応付けている。具体的には、「他種コード120における1番目のコードワードの配置位置が情報コード100の1番目の配置候補位置に相当」、「他種コード120における2番目のコードワードの配置位置が情報コード100の2番目の配置候補位置に相当」、「他種コード120における3番目のコードワードの配置位置が情報コード100の3番目の配置候補位置に相当」といった情報が、例えばテーブルデータなどとしてそれぞれ記録されており、他種コード120における各番号のコードワードの配置位置を、情報コード100の各配置候補位置にそれぞれ対応付けている。このように構成されているため、情報コード100を解読する場合には、コード領域内の各配置候補位置のコードワード(各アドレスのコードワード)を配置位置情報(配置変換表)で対応付けられた他種コード120の各配置位置にそれぞれ配置し直し、このように配置し直された他種コード120を公知の方法で解読すれば良い。例えば、図5下図に示す配置変換表を用いて情報コード100の解読を行う場合、情報コード100の1番目の配置候補位置のコードワードを他種コード120における1番目のコードワードの配置位置に配置し、情報コード100の2番目の配置候補位置のコードワードを他種コード120における2番目のコードワードの配置位置に配置し、情報コード100のN番目の配置候補位置のコードワードを他種コード120において当該N番目の配置候補位置に対応付けられているM番目のコードワードの配置位置に配置するといった具合にそれぞれ配置し直した上で、このように配置し直された他種コード(QRコード)を公知の方法で解読すればよい。なお、上述の配置位置情報(配置変換表)については、情報コード100を生成する情報コード表示装置2及び情報コード100を読み取る情報コード読取装置10に共通のデータ(共通の配置変換表)がそれぞれ設けられていることが望ましい。   On the other hand, in the arrangement position information (arrangement conversion table) shown in FIG. 5, the numbers of the arrangement positions (arrangement positions of the code words in each order) determined in advance by the other type code 120 in this way are stored in advance in the information code 100. Each number is associated with a number of a determined candidate position (position candidate position of each code word). Specifically, “the arrangement position of the first code word in the other type code 120 corresponds to the first arrangement candidate position of the information code 100”, “the arrangement position of the second code word in the other type code 120 is information. Information such as “corresponding to the second arrangement candidate position of the code 100” and “the arrangement position of the third code word in the other type code 120 corresponds to the third arrangement candidate position of the information code 100” is, for example, table data Each code word is recorded, and the arrangement position of each numbered code word in the other type code 120 is associated with each arrangement candidate position of the information code 100. Thus, when the information code 100 is decoded, the code word (code word at each address) in each placement candidate position in the code area is associated with the placement position information (placement conversion table). The other-type code 120 may be rearranged at each arrangement position, and the other-type code 120 rearranged in this way may be decoded by a known method. For example, when the information code 100 is decoded using the arrangement conversion table shown in the lower diagram of FIG. 5, the code word at the first arrangement candidate position of the information code 100 is changed to the arrangement position of the first code word in the other type code 120. The code word at the second placement candidate position of the information code 100 is placed at the placement position of the second code word in the other code 120, and the code word at the Nth placement candidate position of the information code 100 is placed in the other kind. The code 120 is rearranged in such a manner as to be arranged at the arrangement position of the M-th code word associated with the N-th arrangement candidate position, and the other type code (re-arranged in this way) QR code) may be decoded by a known method. As for the above-described arrangement position information (arrangement conversion table), data common to the information code display device 2 that generates the information code 100 and the information code reader 10 that reads the information code 100 (common arrangement conversion table) are respectively provided. It is desirable to be provided.

なお、図5のように設定した配置変換表における対応関係は、図7のように任意に変更することができる。例えば、情報コード表示装置2、情報コード読取装置10において図5のように設定されていた配置変換表を図7のように変更した場合、生成される情報コード100では、22〜23番目のコードワードの配置が、図5右図のような配置(22〜23番の配置候補位置に記録する配置)から図7右図のような配置(42〜43番の配置候補位置に記録する配置)に変更され、これにより空き領域110の位置や形状も変化することになる。この場合、22〜23番の配置候補位置は空き領域としてもよく、他のコードワードの配置位置としてもよい。つまり、この構成では、配置変換表を調整することで空き領域110の位置や形状を調整することができ、空き領域を構成する上での自由度をより高めることができる。   The correspondence relationship in the arrangement conversion table set as shown in FIG. 5 can be arbitrarily changed as shown in FIG. For example, when the arrangement conversion table set as shown in FIG. 5 in the information code display device 2 and the information code reading device 10 is changed as shown in FIG. 7, the generated information code 100 includes the 22nd to 23rd codes. The arrangement of words from the arrangement shown in the right figure of FIG. 5 (the arrangement recorded in the 22nd to 23rd arrangement candidate positions) to the arrangement shown in the right figure of FIG. 7 (the arrangement recorded in the 42nd to 43rd arrangement candidate positions). As a result, the position and shape of the empty area 110 also change. In this case, the arrangement candidate positions Nos. 22 to 23 may be empty areas, or arrangement positions of other code words. That is, in this configuration, the position and shape of the empty area 110 can be adjusted by adjusting the arrangement conversion table, and the degree of freedom in configuring the empty area can be further increased.

(情報コードの生成処理)
次に、図8等を参照し、上述した情報コードを生成するための基本的な処理について説明する。以下では、図5のように他種コード120がQRコード(登録商標)であり、情報コード100がQRコードと同様の特定パターンを有する場合を例に挙げて説明する。なお、この例では、空き領域110を有する情報コード100を「フレームQR」とも称する。
(Information code generation process)
Next, basic processing for generating the above-described information code will be described with reference to FIG. In the following, a case where the other type code 120 is a QR code (registered trademark) and the information code 100 has a specific pattern similar to the QR code as shown in FIG. 5 will be described as an example. In this example, the information code 100 having the free area 110 is also referred to as “frame QR”.

図8の情報コード生成処理は、例えば、情報コード生成装置として機能する情報コード表示装置2によって行われる処理である。表示装置2によって図8の処理を行う構成では、例えば、操作部4に対する所定操作がなされたときに図8の処理が実行される。この処理では、まず、外部からコード化するデータ(解読対象データ)と、属性データと、コード種別データ(情報コード100を生成するか、一般的な二次元コード(例えば一般的なQRコード)を生成するかを特定するデータ)を取得する(S1)。なお、本構成では、制御部3、操作部4が「データ取得部」の一例に相当し、解読対象データ(外部からの入力データ)を取得するように機能する。また、このような例に限らず、例えば、制御部3と通信部7が「データ取得部」として構成され、外部から通信によって入力されるデータを解読対象データとして取得するように機能してもよい。   The information code generation process of FIG. 8 is a process performed by the information code display device 2 that functions as an information code generation device, for example. In the configuration in which the processing of FIG. 8 is performed by the display device 2, for example, the processing of FIG. 8 is executed when a predetermined operation is performed on the operation unit 4. In this processing, first, data to be encoded from outside (decoding target data), attribute data, and code type data (information code 100 is generated, or a general two-dimensional code (for example, a general QR code) is generated. (Data specifying whether to generate) (S1). In this configuration, the control unit 3 and the operation unit 4 correspond to an example of a “data acquisition unit” and function to acquire data to be decoded (input data from the outside). Further, the present invention is not limited to such an example. For example, the control unit 3 and the communication unit 7 may be configured as a “data acquisition unit” and function to acquire data input from outside through communication as decryption target data. Good.

S1でデータを取得した後には、その取得したデータを圧縮する方法を公知の方法で定め(S2)、入力データを圧縮したデータ(解読対象データ)を複数のデータワード(データコードワード)で表現する(S3)。そして、S3の後には、S1で取得されたコード種別データが、空き領域110を有する情報コード100の種別(フレームQR)であるか否かを判断する。S1で取得されたコード種別データが、空き領域110を有する情報コード100の種別(フレームQR)である場合には、S4にてYesに進み、空き領域110を有する情報コード100の種別(フレームQR)で用いられる特有のヘッダデータ(上述)を生成し、図3のように複数のデータワードを含んだデータ配列の先頭にセットする(S5)。図3のヘッダデータには、上述したように、図5右図に示す他種コード120の種別(型番)を特定し得る情報(バージョン番号情報等)と、空き領域110の形式が画像形式であることを特定する情報(第1情報)と、空き領域110内での画像領域(書き込み可能位置)を特定し得る情報(第2情報に相当する「画像領域位置情報」)とが記録されることになる。一方、S1で取得されたコード種別データが、空き領域110を有する情報コード100の種別(フレームQR)でない場合(一般的な二次元コードを選択するデータ(例えば、モデル1又はモデル2を選択するデータ)である場合)には、S4にてNoに進む。   After acquiring the data in S1, a method for compressing the acquired data is determined by a known method (S2), and the compressed data (decoded data) is expressed by a plurality of data words (data code words). (S3). After S3, it is determined whether or not the code type data acquired in S1 is the type (frame QR) of the information code 100 having the free area 110. If the code type data acquired in S1 is the type (frame QR) of the information code 100 having the free area 110, the process proceeds to Yes in S4, and the type of the information code 100 having the free area 110 (frame QR). ) Is generated and set at the head of the data array including a plurality of data words as shown in FIG. 3 (S5). In the header data of FIG. 3, as described above, information (version number information etc.) that can specify the type (model number) of the other type code 120 shown in the right diagram of FIG. Information specifying the presence (first information) and information that can specify an image area (writable position) in the empty area 110 (“image area position information” corresponding to the second information) are recorded. It will be. On the other hand, when the code type data acquired in S1 is not the type (frame QR) of the information code 100 having the empty area 110 (data for selecting a general two-dimensional code (for example, selecting model 1 or model 2) If (data), the process proceeds to No in S4.

S4でNoに進む場合、S3で生成されたデータワード(データコードワード)の構成に基づいて公知の方法で誤り訂正符号を生成し、この誤り訂正符号を表現する複数の誤り訂正ワード(誤り訂正コードワード)を生成する(S6)。一方、S4からS5に進む場合、S3、S5で生成された最終的なデータワード(ヘッダデータ及び入力データを表現する複数のデータコードワード)の構成に基づいて公知の方法で誤り訂正符号を生成し、この誤り訂正符号を表現する複数の誤り訂正ワード(誤り訂正コードワード)を生成する(S6)。   When the process proceeds to No in S4, an error correction code is generated by a known method based on the configuration of the data word (data code word) generated in S3, and a plurality of error correction words (error correction) representing the error correction code are generated. Codeword) is generated (S6). On the other hand, when proceeding from S4 to S5, an error correction code is generated by a known method based on the configuration of the final data word (a plurality of data code words representing header data and input data) generated in S3 and S5. Then, a plurality of error correction words (error correction code words) representing the error correction code are generated (S6).

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

一方、S1で取得されたコード種別データが、空き領域110を有する情報コード100の種別(フレームQR)である場合には、S7にてYesに進み、S3、S5で生成されたデータワード(データコードワード)と、S6で生成された誤り訂正ワード(誤り訂正コードワード)と、空き領域と、を格納しうる情報コード100の型番を決定する(S10)。なお、空き領域のサイズは、予め定められた一定サイズであってもよく、S10の前段階でユーザが入力などによって指定してもよい。また、空き領域のサイズは、行数及び列数で特定してもよく、何ワード分に相当するか、あるいは何セル分に相当するか等の情報によって特定してもよい。図5、図8の例では、例えば情報コード100の種別で予め定められた複数の型番(サイズ)において、S3、S5で生成されたデータワード(データコードワード)、S6で生成された誤り訂正ワード(誤り訂正コードワード)、及び空き領域を格納しうるサイズの型番を決定することになる。なお、情報コード100の種別で複数の型番を使用可能とする場合、各型番毎に、行数及び列数、特定パターンの形状及び配置、フォーマットデータの配置、各コードワードの配置候補位置をそれぞれ定めておけばよい。また、いずれの型番でも、図5右図のように外周側から順番に各コードワードの配置候補位置を定めるようにし(例えば、外周側から内側に渦巻き状に配置候補位置を順番に設定し)、番号が若い配置候補位置ほど外側とするように各コードワードの配置候補位置を定め、用意された配置候補位置の内、コードワードが配置されない部分(即ち、使用されない部分)については、空き領域として用いるようにすれば、中央部により広い空き領域を確保し易くなる。また、S3、S5で生成されたデータワード(データコードワード)、S6で生成された誤り訂正ワード(誤り訂正コードワード)、及び空き領域を格納しうるサイズの型番が複数存在する場合には、その中から一番小さい型番(サイズ)を決定するようにしてもよく、ユーザがその中からいずれかの型番(サイズ)を指定できるようにしてもよい。そして、情報コード100を生成する際には、このように決定された型番において予め定められたサイズ(行数及び列数)、特定パターンの配置、コードワードの各配置候補位置を用いると共に、具体的な各コードワードの配置位置は、上述の配置変換表に従って決定することになる。なお、以下では、S10において図5右図のような型番が決定された例について具体的に説明する。   On the other hand, when the code type data acquired in S1 is the type (frame QR) of the information code 100 having the empty area 110, the process proceeds to Yes in S7, and the data word (data) generated in S3 and S5 (Code word), the error correction word (error correction code word) generated in S6, and the empty area, the model number of the information code 100 that can be stored is determined (S10). Note that the size of the empty area may be a predetermined fixed size, or may be designated by an input or the like by the user before S10. Further, the size of the empty area may be specified by the number of rows and the number of columns, or may be specified by information such as how many words it corresponds to, or how many cells it corresponds. In the example of FIGS. 5 and 8, for example, in a plurality of model numbers (sizes) determined in advance by the type of the information code 100, the data word (data code word) generated in S3 and S5 and the error correction generated in S6 A model number of a size that can store a word (error correction code word) and an empty area is determined. When a plurality of model numbers can be used in the type of the information code 100, the number of rows and the number of columns, the shape and layout of a specific pattern, the layout of format data, and the layout candidate position of each code word are provided for each model number. It should be determined. Also, in any model number, the arrangement candidate positions of the respective code words are determined in order from the outer circumference side as shown in the right diagram of FIG. 5 (for example, the arrangement candidate positions are set in a spiral shape from the outer circumference side to the inside). The placement candidate position of each code word is determined so that the placement candidate position with a smaller number is located outside, and a portion where the code word is not placed (that is, a portion that is not used) among the prepared placement candidate positions. If it uses, it becomes easy to ensure a large empty area | region by the center part. In addition, when there are a plurality of model numbers having a size capable of storing the data word (data code word) generated in S3 and S5, the error correction word (error correction code word) generated in S6, and the empty area, The smallest model number (size) may be determined from among them, or the user may be able to specify any model number (size) from among them. When the information code 100 is generated, a predetermined size (number of rows and columns), a specific pattern arrangement, and each arrangement position position of the codeword are used in the model number thus determined. The arrangement position of each code word is determined according to the above-described arrangement conversion table. In the following, an example in which the model number as shown in the right diagram of FIG. 5 is determined in S10 will be specifically described.

S10の後には、S3、S5で生成されたデータワード(データコードワード)及びS6で生成された誤り訂正ワード(誤り訂正コードワード)を上述の配置位置情報(配置変換表)に基づいて配置することになる。情報コード表示装置2では、上述の配置位置情報(配置変換表)が記憶部5に記憶されており、この配置変換表では、上述したように他種コード120で定められた各配置位置(各順番のコードワードの配置位置)を、情報コード100において予め定められた候補位置(各コードワードの配置候補位置)にそれぞれ対応付けている。S11の処理では、記録すべきコードワード(S3、S5で生成されたデータワード(データコードワード)及びS6で生成された誤り訂正ワード(誤り訂正コードワード))を、図4、図5左図で示す他種コード120(情報コード100よりもサイズが小さく、且つS3、S5で生成されたデータワード及びS6で生成された誤り訂正ワードを格納し得るサイズの二次元コード)で表現するときの各コードワード(各順番のコードワード)の配置位置を特定した上で、それら各順番のコードワードを、配置位置情報(配置変換表)によって各順番のコードワードの配置位置に対応付けられている情報コード100内の各配置候補位置に配置する。例えば、図5の配置位置情報(配置変換表)では、他種コード120での1番目のコードワードの配置位置と、情報コード100の1番の配置候補位置とが対応付けられているため、記録すべきコードワード(S3、S5で生成されたデータワード及びS6で生成された誤り訂正ワード)の内の1番目のコードワードについては情報コード100内の1番の配置候補位置に配置する。また、他種コード120での2番目のコードワードの配置位置と、情報コード100の2番の配置候補位置とが対応付けられているため、記録すべきコードワードの内の2番目のコードワードについては情報コード100内の2番の配置候補位置に配置する。このように、記録すべきコードワードにおいてN番目のコードワードを配置する他種コード120での配置位置(N番目のコードワードの配置位置)と、情報コード100のM番の配置候補位置とが対応付けられていれば、記録すべきコードワードの内のN番目のコードワードについては情報コード100内のM番の配置候補位置に配置することになる。   After S10, the data word (data code word) generated in S3 and S5 and the error correction word (error correction code word) generated in S6 are arranged based on the arrangement position information (arrangement conversion table) described above. It will be. In the information code display device 2, the above-described arrangement position information (arrangement conversion table) is stored in the storage unit 5. (Order position of code word) is associated with a predetermined candidate position (position candidate position of each code word) in information code 100, respectively. In the process of S11, the code words to be recorded (the data words (data code words) generated in S3 and S5 and the error correction words (error correction code words) generated in S6) are shown in the left of FIGS. Is represented by another code 120 (a two-dimensional code having a size smaller than that of the information code 100 and a size capable of storing the data word generated in S3 and S5 and the error correction word generated in S6). After specifying the arrangement position of each code word (code word in each order), the code word in each order is associated with the arrangement position of the code word in each order by arrangement position information (arrangement conversion table). It arrange | positions in each arrangement | positioning candidate position in the information code 100. FIG. For example, in the arrangement position information (arrangement conversion table) in FIG. 5, the arrangement position of the first code word in the other type code 120 is associated with the first arrangement candidate position of the information code 100. The first code word of the code words to be recorded (the data word generated in S3 and S5 and the error correction word generated in S6) is arranged at the first arrangement candidate position in the information code 100. In addition, since the second code word arrangement position in the other-type code 120 and the second arrangement candidate position of the information code 100 are associated with each other, the second code word in the code words to be recorded Is placed at the second candidate position in the information code 100. In this way, the arrangement position (an arrangement position of the Nth code word) in the other type code 120 in which the Nth code word is arranged in the codeword to be recorded and the Mth arrangement candidate position of the information code 100 are as follows. If they are associated, the Nth codeword among the codewords to be recorded is arranged at the Mth arrangement candidate position in the information code 100.

つまり、S3、S5で生成されたデータワード及びS6で生成された誤り訂正ワードだけなら、情報コード100よりも小サイズの他種コード120(公知のQRコードとして構成されたもの)で表現できるが、S3、S5で生成されたデータワード、S6で生成された誤り訂正ワード、及び空き領域110を格納する場合には、これよりも大きいサイズの情報コード100によって表現する必要がある。そこで、本実施形態では、S3、S5で生成されたデータワード、S6で生成された誤り訂正ワード、及び空き領域110を、他種コード120よりも大きいサイズの情報コード100によって表し、S3、S5で生成されたデータワード及びS6で生成された誤り訂正ワードを他種コード120(公知のQRコード)で表現した場合のコードワードの各配置と、これよりも大きいサイズの情報コード100に格納する場合のコードワードの各配置との対応関係を、予め定められた配置変換表によって特定できるようにしている。   That is, only the data word generated in S3 and S5 and the error correction word generated in S6 can be expressed by another type code 120 (configured as a known QR code) smaller than the information code 100. When the data word generated in S3, S5, the error correction word generated in S6, and the empty area 110 are stored, it must be expressed by the information code 100 having a larger size. Therefore, in the present embodiment, the data word generated in S3 and S5, the error correction word generated in S6, and the empty area 110 are represented by the information code 100 having a size larger than the other type code 120, and S3 and S5. The data word generated in step S6 and the error correction word generated in step S6 are stored in the arrangement of the code words when expressed by another type code 120 (known QR code) and the information code 100 having a size larger than this. In this case, the correspondence relationship with each arrangement of codewords can be specified by a predetermined arrangement conversion table.

なお、本構成では、図5のような「配置変換表」が「解読対象データを表現する複数のデータワードをコード領域に配置する際の各配置位置を特定する配置位置情報」の一例に相当しており、この配置変換表(配置位置情報)は、解読対象データを複数のデータワードで表現したときの各順番のデータワードと、各順番のデータワードのコード領域内での各配置位置とを対応付けて定める情報として構成されている。また、記憶部5が「配置位置情報記録部」の一例に相当し、このような配置変換表のデータ(配置位置情報)を記録するように機能する。   In this configuration, the “arrangement conversion table” as shown in FIG. 5 corresponds to an example of “arrangement position information for specifying each arrangement position when a plurality of data words expressing the data to be decoded are arranged in the code area”. The arrangement conversion table (arrangement position information) includes data words in each order when the data to be decoded is expressed by a plurality of data words, and each arrangement position in the code area of the data words in each order. Are configured as information determined in association with each other. The storage unit 5 corresponds to an example of an “arrangement position information recording unit” and functions to record data (arrangement position information) of such an arrangement conversion table.

S9又はS11の後には、S9又はS11で配置場所が決定されたコードワードに対してかけるべきマスクパターンを公知の所定方法(例えばQRコードで用いられる公知方法)で決定し、その決定されたマスクパターンをS9又はS11で配置場所が決定されたコードワードに反映するように公知のマスク処理方法でマスクをかける(S12)。そして、S12で設定したマスクパターンの情報(マスク番号)及び誤り訂正レベルの情報に基づいてチェックデジットを算出し、図6のように誤り訂正レベル、マスク番号、チェックデジットを含んだフォーマット情報を生成する(S13)。なお、フォーマット情報として記録するマスク番号や誤り訂正レベルなどのデータは、S1で入力できるようにしてもよい。   After S9 or S11, a mask pattern to be applied to the code word whose location is determined in S9 or S11 is determined by a known predetermined method (for example, a known method used in QR code), and the determined mask Masking is performed by a known mask processing method so that the pattern is reflected in the code word whose location is determined in S9 or S11 (S12). Then, the check digit is calculated based on the mask pattern information (mask number) and error correction level information set in S12, and the format information including the error correction level, mask number, and check digit is generated as shown in FIG. (S13). Note that data such as a mask number and an error correction level to be recorded as format information may be input in S1.

そして、S1で取得されたコード種別データが、空き領域110を有する情報コード100の種別(フレームQR)である場合には、S14にてYesに進み、S13で生成されたフォーマット情報に、上述の特定マスク(フレームQRマスク)を反映するようにマスク処理を行う(図6参照)。一方、S1で取得されたコード種別データが、空き領域110を有する情報コード100の種別(フレームQR)でない場合には、S14にてNoに進み、S16で設定するマスクパターンとは異なるマスクパターンのマスク(モデル1のマスク又はモデル2のマスク)をセットする。S15又はS16によりフォーマット情報に対してマスクをかけた後には、そのマスク処理後のフォーマット情報をコード領域内の所定位置105に配置する(S17)。   If the code type data acquired in S1 is the type (frame QR) of the information code 100 having the free area 110, the process proceeds to Yes in S14, and the format information generated in S13 includes the above-described format information. Mask processing is performed to reflect the specific mask (frame QR mask) (see FIG. 6). On the other hand, if the code type data acquired in S1 is not the type (frame QR) of the information code 100 having the empty area 110, the process proceeds to No in S14, and the mask pattern is different from the mask pattern set in S16. Set the mask (model 1 mask or model 2 mask). After masking the format information in S15 or S16, the format information after the mask processing is arranged at a predetermined position 105 in the code area (S17).

このようにして、特定パターン領域、データ記録領域、誤り訂正領域が構成された後には、空き領域110の構成要素を配置する(S18)。図3の例では、画像領域の位置がそれぞれ行位置及び列位置によって指定されているため、S18では、このように指定された位置に画像領域121の図形データを配置する。図3、図5等に示す例では、例えば画像領域121の図形が矩形状の図形(例えば、領域内全体が単一色又は複数色の明色の背景で構成されてなる四角形の図形)として予め定められており、S18では、このように決められた図形の左上位置及び右下位置がヘッダデータで指定される各位置となるように各図形を配置する。   After the specific pattern area, the data recording area, and the error correction area are thus configured, the constituent elements of the empty area 110 are arranged (S18). In the example of FIG. 3, since the position of the image area is designated by the row position and the column position, respectively, the graphic data of the image area 121 is arranged at the designated position in S18. In the example shown in FIGS. 3 and 5, for example, the figure of the image area 121 is a rectangular figure (for example, a square figure in which the entire area is composed of a single-color or multiple-colored light background). In S18, each graphic is arranged so that the upper left position and lower right position of the graphic determined in this way are the positions specified by the header data.

なお、上述した例では、図3のヘッダデータに含まれる画像領域の位置(画像領域の位置)、形状及び色、識別表示の形状や色などが予め定められていたが、画像領域の位置をユーザが入力によって指定できるようにしてもよい。   In the above example, the position of the image area (position of the image area), the shape and color, the shape and color of the identification display, etc. included in the header data of FIG. 3 are determined in advance. The user may be able to specify by input.

以上のような流れで情報コードの生成処理が行われる。なお、情報コード100又は他の二次元コードが生成された後には、そのコードを図示しない印刷部によって印刷してもよく、印刷に代えて、表示部6にて情報コード100等の表示を行ってもよく、S17までの処理によって生成された情報コード100のデータを外部装置(例えば、携帯端末やコンピュータ等の情報機器)に送信してもよい。   The information code generation process is performed according to the above flow. Note that after the information code 100 or another two-dimensional code is generated, the code may be printed by a printing unit (not shown). Instead of printing, the information code 100 or the like is displayed on the display unit 6. Alternatively, the data of the information code 100 generated by the processing up to S17 may be transmitted to an external device (for example, an information device such as a portable terminal or a computer).

本構成では、情報コード表示装置2の制御部3が「データ記録領域生成部」の一例に相当し、情報コード100のコード領域の内部に空き領域110を設ける場合、コード領域内の所定位置に特定のフォーマット構成でフォーマット情報を記録し、且つ、データ取得部で取得された解読対象データ(入力データ)を表現する各データワードを、配置位置情報記録部に記録された配置位置情報に基づいて配置するように、データ記録領域を生成している。また、制御部3によって構成される「データ記録領域生成部」では、コード領域の内部に空き領域110を設ける場合、所定種類のマスクパターン(特定マスク)を反映した状態で所定位置105のセル配列を構成している。   In this configuration, the control unit 3 of the information code display device 2 corresponds to an example of a “data recording area generation unit”. When the empty area 110 is provided inside the code area of the information code 100, the control section 3 is located at a predetermined position in the code area. Based on the arrangement position information recorded in the arrangement position information recording unit, the format information is recorded in a specific format configuration, and each data word representing the decoding target data (input data) acquired by the data acquisition unit is expressed. A data recording area is generated so as to be arranged. In addition, in the “data recording area generation unit” configured by the control unit 3, when the empty area 110 is provided inside the code area, the cell array at the predetermined position 105 reflects a predetermined type of mask pattern (specific mask). Is configured.

(情報コードの読取処理)
次に、図2の情報コード読取装置10によって図1、図5右図等に示す情報コード100を読み取る場合の処理について説明する。図9の読取処理は、例えばユーザによって所定操作(例えば、操作スイッチ42の操作等)がなされたときに実行されるものであり、まず、受光センサ23の撮像エリアにある二次元コードを撮像して当該二次元コードの撮像画像を取得すると共に、その二次元コードの形を検出する。具体的には、位置検出パターン104の認識や二次元コードの外形の検出を公知の方法で試みる。例えば、QRコード(登録商標)で行われる、1:1:3:1:1の波形を検出する公知の方法等により位置検出パターン104を検出し、撮像された二次元コードの外形をQRコード(登録商標)で行われる公知の方法で検出する。このような外形検出処理を行った場合、情報コード100が撮像されている場合には、情報コード100の外形が検出されることになる。なお、外形検出方法は、特定パターンの形状や二次元コードの外形を検出し得る方法であれば他の方法であってもよい。
本構成では、受光センサ23が「撮像部」の一例に相当し、情報コード表示装置2によって生成された情報コード100を撮像するように機能する。
(Information code reading process)
Next, processing when the information code 100 shown in the right diagram of FIG. 1 and FIG. 5 is read by the information code reader 10 of FIG. 2 will be described. The reading process in FIG. 9 is executed, for example, when a predetermined operation (for example, operation of the operation switch 42) is performed by the user. First, the two-dimensional code in the imaging area of the light receiving sensor 23 is imaged. Thus, the captured image of the two-dimensional code is acquired and the shape of the two-dimensional code is detected. Specifically, a known method is used to recognize the position detection pattern 104 and detect the outer shape of the two-dimensional code. For example, the position detection pattern 104 is detected by a known method for detecting a 1: 1: 3: 1: 1 waveform, which is performed with a QR code (registered trademark), and the outer shape of the imaged two-dimensional code is displayed as a QR code. Detection is performed by a known method performed by (registered trademark). When such an outer shape detection process is performed, when the information code 100 is captured, the outer shape of the information code 100 is detected. Note that the outer shape detection method may be another method as long as it can detect the shape of a specific pattern or the outer shape of a two-dimensional code.
In this configuration, the light receiving sensor 23 corresponds to an example of an “imaging unit”, and functions to image the information code 100 generated by the information code display device 2.

情報コード100の外形を検出し、情報コード100のコード領域を抽出できた場合には、情報コード100の所定位置105の情報(フォーマット情報)を解読し、撮像された情報コードの種別及びマスク訂正レベルを取得する(S40)。具体的には、例えば、上述したように所定位置105に記録された情報を上述の特定マスク(フレームQR用マスク)に基づいてマスク処理を解除して解読を試みる。上述の特定マスクのマスクを解除し得る方法でマスク処理を解除した時にチェックデジットが合う場合(即ち、所定位置105を解読したときの訂正レベルのデータとマスク番号のデータとに基づいて算出されたチェックデジットが、所定位置105に記録されたチェックデジットと合うような場合)には、情報コード100の種別(空き領域110を有する種別)であることを特定することでき、フォーマット情報に含まれる誤り訂正レベル及びマスク番号も取得できることとなる。このように特定のマスクに基づいてマスク処理を解除できたとき(即ち、情報コード100の種別(フレームQR)であることが認識できたとき)には、S41にてYesに進む。一方、図6に示すモデル1用のマスクやモデル2用のマスクなど、特定のマスク(フレームQR用マスク)以外の他のマスクによってマスク処理を解除できたときには、S41にてNoに進む。他のマスクによってマスク処理が解除できるときは、S40で撮像された二次元コードが公知のQRコード(登録商標)のケースであるため、S41でNoに進む場合は、公知の方法で当該QRコードを解読して解読結果を出力することになる。なお、図9では、S41でNoとなる場合の処理は省略して示している。   When the outer shape of the information code 100 is detected and the code area of the information code 100 can be extracted, the information (format information) at the predetermined position 105 of the information code 100 is decoded, and the type and mask correction of the captured information code A level is acquired (S40). Specifically, for example, the information recorded at the predetermined position 105 as described above is released from the mask processing based on the above-described specific mask (frame QR mask), and is attempted to be decoded. When the check digit matches when the mask processing is canceled by the above-described method for canceling the mask of the specific mask (that is, calculated based on the correction level data and the mask number data when the predetermined position 105 is decoded) When the check digit matches the check digit recorded at the predetermined position 105), it is possible to specify the type of the information code 100 (the type having the free area 110), and an error included in the format information The correction level and mask number can also be acquired. When the mask processing can be canceled based on the specific mask as described above (that is, when it is recognized that the information code 100 is the type (frame QR)), the process proceeds to Yes in S41. On the other hand, when the mask processing can be canceled by a mask other than a specific mask (mask for frame QR) such as the mask for model 1 and the mask for model 2 shown in FIG. 6, the process proceeds to No in S41. When the mask process can be canceled by another mask, the two-dimensional code imaged in S40 is a case of a known QR code (registered trademark). Will be decoded and the decoding result will be output. In FIG. 9, the process in the case of No in S41 is omitted.

S41でYesに進む場合、まず、データ記録領域に記録されたデータを解読する(S42)。具体的には、S40で取得されたフォーマット情報に含まれるマスク番号に基づいてコード全体(具体的には、コードワードの領域)のマスクを解除する。そして、データワードの先頭に設けられたヘッダデータ(フレームQRヘッダー)に基づいて、元のコードサイズ(他種コード120の型番、形式)を特定し、図5と同様の配置変換表に従って、図5右図に示すような情報コード100から図5左図に示すような元のコード(他種コード120)の配置に戻す。具体的には、情報コード100の各配置候補位置のコードワード(データコードワード及び誤り訂正コードワード)を、配置変換表において各配置候補位置に対応付けられている他種コード120内での配置位置に配置し直す。このように配置変換することにより、情報コード100に配置されていたデータコードワードや誤り訂正コードワードを記録してなる他種コード120が得られることになる。そして、他種コード120は、公知のQRコードであるため、公知のQRコードと同様の方法でデータを解読する(即ち、誤り訂正コードワードに基づいて公知の方法で誤り訂正計算を実施すると共に、データコードワードを解読する)。   When the process proceeds to Yes in S41, first, the data recorded in the data recording area is decoded (S42). Specifically, based on the mask number included in the format information acquired in S40, the mask of the entire code (specifically, the area of the code word) is released. Based on the header data (frame QR header) provided at the beginning of the data word, the original code size (the model number and format of the other type code 120) is specified, 5 Return from the information code 100 as shown in the right figure to the original code (another code 120) as shown in the left figure. Specifically, the code word (data code word and error correction code word) of each arrangement candidate position of the information code 100 is arranged in the other type code 120 associated with each arrangement candidate position in the arrangement conversion table. Reposition to the position. By performing the arrangement conversion in this way, another type code 120 in which the data code word and the error correction code word arranged in the information code 100 are recorded is obtained. Since the other type code 120 is a known QR code, the data is decoded in the same manner as the known QR code (that is, error correction calculation is performed by a known method based on the error correction code word). Decode the data code word).

本構成では、制御回路40が「判別部」の一例に相当し、撮像部によって情報コード100が撮像された場合に、コード領域の所定位置105が特定のフォーマット構成であるか否かを判別するように機能する。具体的には、所定位置105に所定種類のマスクパターン(特定マスク)が反映されているか否かを判別するように機能する。   In this configuration, the control circuit 40 corresponds to an example of a “determination unit”, and when the information code 100 is captured by the imaging unit, it is determined whether or not the predetermined position 105 in the code area has a specific format configuration. To function. Specifically, it functions to determine whether or not a predetermined type of mask pattern (specific mask) is reflected at the predetermined position 105.

また、制御回路40が「データ記録領域読取部」「解読部」の一例に相当し、撮像部によって情報コード100が撮像された場合に、その撮像された情報コード100のコード画像におけるデータ記録領域及び誤り訂正符号記録領域の内容に基づいてデータ記録領域に記録されたデータを読み取るように機能する。具体的には、判別部によって所定位置105が特定のフォーマット構成であると判別された場合(より詳しくは、所定位置105に所定種類のマスクパターンが反映されている場合)に、対応情報記録部に記録された対応情報(配置変換表)に基づいてコード領域内の各データワードの位置を特定し、解読対象データを解読するように機能する。   The control circuit 40 corresponds to an example of a “data recording area reading unit” and a “decoding unit”. When the information code 100 is captured by the imaging unit, the data recording area in the code image of the captured information code 100 And functions to read data recorded in the data recording area based on the contents of the error correction code recording area. Specifically, when the determination unit determines that the predetermined position 105 has a specific format configuration (more specifically, when a predetermined type of mask pattern is reflected at the predetermined position 105), the correspondence information recording unit The position of each data word in the code area is specified based on the correspondence information (arrangement conversion table) recorded in (1), and the decoding target data is decrypted.

なお、配置変換表は、「対応情報」の一例に相当し、コード領域において各配置位置で表される各順番のデータワードを、情報コード100とは異なる他種コード120において予め定められた方式(例えば公知規格等で定められた方式など)で表現する場合の当該他種コード120内での各対応位置を定める情報として構成されている。そして、解読部に相当する制御回路40は、判別部によって所定位置105が特定のフォーマット構成であると判別された場合、コード領域の各配置位置で表される各順番のデータワードを、対応情報で定められる他種コード120内での各対応位置に置換した構成で当該他種コード120を解読するように機能する。   The arrangement conversion table corresponds to an example of “correspondence information”, and a data word in each order represented by each arrangement position in the code area is determined in advance in another type code 120 different from the information code 100. It is configured as information for determining each corresponding position in the other type code 120 when expressed in (for example, a method defined in a known standard or the like). Then, when the determination unit determines that the predetermined position 105 has a specific format configuration, the control circuit 40 corresponding to the decoding unit converts the data word in each order represented by each arrangement position of the code area to the correspondence information The other-type code 120 functions in such a manner as to be replaced with each corresponding position in the other-type code 120 defined in (1).

S42にてデータ記録領域のデータを解読した後には、ヘッダデータ(フレームQRヘッダー)に含まれる形式情報を読み取る。そして、この形式情報が「画像形式」を示す形式情報である場合には、S44でYesに進む。その他の形式の場合には、S44にてNoに進む。なお、図9では、S44でNoに進む場合の処理を省略して示している。   After decoding the data in the data recording area in S42, the format information included in the header data (frame QR header) is read. If the format information is format information indicating "image format", the process proceeds to Yes in S44. For other formats, the process proceeds to No in S44. In FIG. 9, the process in the case where the process proceeds to No in S44 is omitted.

S44でYesに進む場合(即ち、ヘッダデータ(フレームQRヘッダー)に含まれる形式情報が「画像形式」を示す形式情報である場合)、ヘッダデータに含まれる画像領域位置情報(位置データ)を読み取る(S45)。そして、情報コード100内における画像領域の位置を特定する(S46)。具体的には、本構成では、矩形状の画像領域を形成することを想定しており、S46ではコード画像を解析してコード画像における画像領域の四隅の位置を特定する。例えば、画像領域位置情報(位置データ)として、画像領域の四隅の位置情報(例えば四隅の各位置における列位置と行位置の組合せ)が記録されている場合、この位置データによって画像領域の四隅の位置を特定できる。この場合、この位置データが画像処理部による認識対象となる領域の位置を示す位置特定データに相当する。S46にて画像領域の四隅の位置を特定した後には、特定された画像領域に対して所定の画像処理を行う(S47)。なお、S44以降の処理を省略するような読み取り方法であってもよい。   When the process proceeds to Yes in S44 (that is, when the format information included in the header data (frame QR header) is format information indicating “image format”), the image area position information (position data) included in the header data is read. (S45). Then, the position of the image area in the information code 100 is specified (S46). Specifically, in this configuration, it is assumed that a rectangular image region is formed, and in S46, the code image is analyzed to specify the positions of the four corners of the image region in the code image. For example, when position information (for example, a combination of a column position and a row position at each position of the four corners) of the image area is recorded as the image area position information (position data), the position data of the four corners of the image area is recorded. The position can be specified. In this case, the position data corresponds to position specifying data indicating the position of a region to be recognized by the image processing unit. After specifying the positions of the four corners of the image area in S46, predetermined image processing is performed on the specified image area (S47). Note that a reading method that omits the processing after S44 may be used.

(情報コードの表示処理)
次に、情報コードの表示処理について説明する。
上述した情報コードは、表示装置2又はその他の表示装置で表示することができ、更には、操作によって、情報コード全体又は一部要素のサイズを変更して再表示することができるようになっている。以下の説明では、表示装置2を代表例として挙げ、表示処理について詳述する。
(Information code display processing)
Next, information code display processing will be described.
The above-described information code can be displayed on the display device 2 or other display devices, and can be re-displayed by changing the size of the entire information code or a part of the elements by operation. Yes. In the following description, the display device 2 is taken as a representative example, and display processing is described in detail.

例えば、表示装置2では、記憶部5に記憶されたプログラムに基づいて制御部3が動作し、図10のような流れで表示処理を行う。この表示処理は、表示装置2において所定条件が成立した場合(例えば、操作部に対して所定の開始操作がなされた場合)に制御部3によって実行され、まず、情報コードの表示を行う(S101)。例えば、表示装置2の内部には複数の情報コードの画像データが記憶されており、その中から図11で示す情報コード100の画像を表示することを指示するような所定の指示操作が操作部4によって行われた場合、制御部3は、記憶部5に記憶された情報コード100の画像を読み出し、表示部6に表示する(S101)。   For example, in the display device 2, the control unit 3 operates based on a program stored in the storage unit 5, and performs display processing according to a flow as illustrated in FIG. 10. This display process is executed by the control unit 3 when a predetermined condition is satisfied in the display device 2 (for example, when a predetermined start operation is performed on the operation unit), and first, an information code is displayed (S101). ). For example, image data of a plurality of information codes is stored inside the display device 2, and a predetermined instruction operation for instructing to display an image of the information code 100 shown in FIG. 4 is performed, the control unit 3 reads the image of the information code 100 stored in the storage unit 5 and displays it on the display unit 6 (S101).

上述したように、情報コード100は、情報を表示する単位となるセルが配列された領域(セル配列領域)と空き領域110とを備えてなるものであり、空き領域110は、セル以外の画像が少なくとも表示される画像領域121として機能している。そして、S101では、このような画像領域121を備えた情報コード100を表示部6に表示させることが可能となっている。   As described above, the information code 100 includes an area (cell arrangement area) in which cells serving as units for displaying information are arranged and an empty area 110, and the empty area 110 is an image other than a cell. Is functioning as at least an image area 121 to be displayed. In S101, the information code 100 including such an image area 121 can be displayed on the display unit 6.

S101で情報コード100が表示された後には、表示された情報コードに対する変更指示があるまで待機する。具体的には、S101の処理の後、S102の処理を行い、画像に対する拡大指示又は縮小指示がなされたか否かを判断する。そして、S101の後、画像に対する拡大指示又は縮小指示がなされていない間は、S102にてNoの判断が繰り返されることになる。一方、S101の後、画像に対する拡大又は縮小指示がなされた場合には、S102にてYesに進む。具体的には、図11のような情報コード100が表示されている状態で、操作部に対する所定操作(例えば、マウスに対する右クリック操作やタッチパネルに長く接触する操作など)が行われた場合に、図11のような選択画像が表示され、選択画像に表示された項目の中からいずれかの項目を選択できるようになっている。そして、「画像としての拡大・縮小」又は「内部画像を最大限に拡大」のいずれかが選択された場合に、S102にてYesに進むようになっている。   After the information code 100 is displayed in S101, the process waits until there is an instruction to change the displayed information code. Specifically, after the process of S101, the process of S102 is performed to determine whether or not an enlargement instruction or a reduction instruction for the image has been issued. Then, after S101, while the enlargement instruction or the reduction instruction for the image is not made, the determination of No is repeated in S102. On the other hand, if an enlargement or reduction instruction is given to the image after S101, the process proceeds to Yes in S102. Specifically, when a predetermined operation (for example, a right click operation on the mouse or an operation of touching the touch panel for a long time) is performed with the information code 100 as shown in FIG. 11 being displayed, A selection image as shown in FIG. 11 is displayed, and any item can be selected from the items displayed on the selection image. If either “enlargement / reduction as image” or “enlarge the internal image to the maximum” is selected, the process proceeds to Yes in S102.

図11の選択画像では、既に表示されている画像に対してどの程度の大きさに変更するかを特定する情報として、「倍率」の項目が含まれており、この「倍率」の項目で設定される割合に変更されるようになっている。具体的には、「倍率」の項目で数値が入力された状態で、「画像としての拡大・縮小」又は「内部画像を最大限に拡大」のいずれかが選択された場合、「倍率」の項目で設定された数値の割合で、既に表示されている情報コードのサイズを変更するように表示変更を行う。   The selected image in FIG. 11 includes an item “magnification” as information for specifying how much the image is to be changed with respect to the image already displayed, and is set in the item “magnification”. It is supposed to be changed to the ratio that is. Specifically, when either “Enlargement / reduction as an image” or “Enlarge the internal image to the maximum” is selected in the state where a numerical value is input in the “Magnification” item, The display is changed so as to change the size of the information code already displayed at the ratio of the numerical value set in the item.

例えば、「倍率」が120%であれば、「画像としての拡大・縮小」又は「内部画像を最大限に拡大」のいずれかが選択された場合、図11のように既に表示されている情報コードのサイズに対し、縦の長さを120%に拡大し、横の長さを120%に拡大するように情報コードを拡大することになる。例えば、「倍率」が100%よりも大きい値が指定された状態で「画像としての拡大・縮小」が選択された場合には、図13(A)のように表示されていた情報コードを図13(B)のように拡大する。このとき、拡大前の情報コードと拡大後の情報コードが相似形となるようにコード全体として一体的に拡大する。一方、「倍率」が100%よりも大きい値が指定された状態で「内部画像を最大限に拡大」が選択された場合には、図12(A)のように表示されていた情報コードを図12(B)のように拡大する。この拡大処理では、サイズ拡大指示の前に表示部6に表示されていた情報コード(例えば図12(A))での情報コード全体に対する画像領域の割合よりも、サイズ拡大指示の後に表示部6に表示されていた情報コード(例えば図12(B))での情報コード全体に対する画像領域の割合のほうが大きくなる。   For example, if the “magnification” is 120%, when “enlargement / reduction as an image” or “enlargement of the internal image to the maximum” is selected, information already displayed as shown in FIG. The information code is expanded so that the vertical length is expanded to 120% and the horizontal length is expanded to 120% with respect to the code size. For example, when “magnification / reduction as an image” is selected in a state where “magnification” is larger than 100%, the information code displayed as shown in FIG. Enlarge as shown in 13 (B). At this time, the code as a whole is expanded integrally so that the information code before expansion and the information code after expansion are similar. On the other hand, when “maximum enlargement of internal image” is selected in a state where “magnification” is larger than 100%, the information code displayed as shown in FIG. Enlarge as shown in FIG. In this enlargement process, the display unit 6 after the size enlargement instruction is larger than the ratio of the image area to the entire information code in the information code (for example, FIG. 12A) displayed on the display unit 6 before the size enlargement instruction. The ratio of the image area to the entire information code in the information code (for example, FIG. 12B) displayed in is larger.

また、「倍率」が80%であれば、「画像としての拡大・縮小」又は「内部画像を最大限に拡大」のいずれかが選択された場合、図14のように既に表示されている情報コードのサイズに対し、縦の長さを80%に縮小し、横の長さを80%に縮小するように情報コードを縮小することになる。例えば、「倍率」が100%よりも小さい値が指定された状態で「画像としての拡大・縮小」が選択された場合には、図16(A)のように表示されていた情報コードを図16(B)のように縮小する。このとき、縮小前の情報コードと縮小後の情報コードが相似形となるようにコード全体として一体的に縮小する。一方、「倍率」が100%よりも小さい値が指定された状態で「内部画像を最大限に拡大」が選択された場合には、図15(A)のように表示されていた情報コードを図15(B)のように縮小する。この縮小処理では、サイズ縮小指示の前に表示部6に表示されていた情報コード(例えば図12(A))での情報コード全体に対する画像領域の割合よりも、サイズ縮小指示の後に表示部6に表示されていた情報コード(例えば図12(B))での情報コード全体に対する画像領域の割合のほうが大きくなる。   If the “magnification” is 80%, when “enlargement / reduction as an image” or “enlargement of the internal image to the maximum” is selected, information already displayed as shown in FIG. The information code is reduced so that the vertical length is reduced to 80% and the horizontal length is reduced to 80% with respect to the code size. For example, when “magnification / reduction as image” is selected in a state where “magnification” is smaller than 100%, the information code displayed as shown in FIG. Reduce as shown in 16 (B). At this time, the code as a whole is integrally reduced so that the information code before reduction and the information code after reduction are similar. On the other hand, when “maximum enlargement of internal image” is selected in a state where a value smaller than 100% is specified for “magnification”, the information code displayed as shown in FIG. The image is reduced as shown in FIG. In this reduction process, the display unit 6 after the size reduction instruction is more than the ratio of the image area to the entire information code in the information code (for example, FIG. 12A) displayed on the display unit 6 before the size reduction instruction. The ratio of the image area to the entire information code in the information code (for example, FIG. 12B) displayed in is larger.

「画像としての拡大・縮小」又は「内部画像を最大限に拡大」のいずれかが選択されたことによりS102でYesに進む場合、「内部画像を最大限に拡大」が選択されている場合にはS103にてYesに進む。逆に、「画像としての拡大・縮小」が選択されている場合には、S103にてNoに進む。   When either “Enlargement / reduction as image” or “Maximize internal image” is selected, the process proceeds to Yes in S102, or “Maximize internal image” is selected. Advances to Yes in S103. Conversely, if “enlargement / reduction as image” is selected, the process proceeds to No in S103.

S103でYesに進む場合、「倍率」の項目で指定された倍率となる型番を新たに決定する。本システムでは、情報コードの型番が複数用意されており、各型番毎に、セルの列数及び行数が定められている。S104では、まず、表示前の情報コードを「倍率」の項目で指定された倍率に変更した場合であって且つ変更前後のセルサイズを同じにした場合での、セルの列数及び行数を求め、それら列数及び行数となる型番を選択する。   When the process proceeds to Yes in step S103, a model number corresponding to the magnification designated in the “magnification” item is newly determined. In this system, a plurality of model numbers of information codes are prepared, and the number of columns and rows of cells are determined for each model number. In S104, first, the number of columns and rows of cells in the case where the information code before display is changed to the magnification specified in the item of “magnification” and the cell size before and after the change is made the same. Find the model number that will be the number of columns and rows.

まず、S103でYesに進む場合において、コード全体のサイズを拡大する場合について説明する。例えば、表示前の情報コードのセルの列数及び行数が37行37列であり、「倍率」の項目で150%が選択されている場合、同一セルサイズを維持したまま情報コードの縦及び横の長さを150%程度にしたときのセルの行数及び列数(例えば、56行56列)となる型番を選択する。そして、この型番の情報コードを生成するように図8で示した方法で情報コードを生成する。また、この情報コードを生成する際には、表示前の情報コードの記録されていた解読データ及び誤り訂正データが全て記録されるように新たな情報コードを再生成し、このように解読データ及び誤り訂正データを全て含んだ構成で、最大限配置できる範囲で画像領域を配置する。例えば、図12(A)のような情報コードに記録された解読データ及び誤り訂正データを図12(B)のように同一セルサイズの大きな構成で表わす場合、コード全体において解読データ及び誤り訂正データを記録するために必要となる割合は、図12(A)のときの割合よりも小さくなるため、その分、より大きく画像領域を構成できることになる。   First, the case of enlarging the size of the entire code when proceeding to Yes in S103 will be described. For example, when the number of cells and the number of rows of the information code before display are 37 rows and 37 columns and 150% is selected in the item of “magnification”, the length and length of the information code are maintained while maintaining the same cell size. A model number that selects the number of rows and columns of cells (for example, 56 rows and 56 columns) when the horizontal length is about 150% is selected. Then, the information code is generated by the method shown in FIG. 8 so as to generate the information code of this model number. Further, when generating this information code, a new information code is regenerated so that all the decoded data and error correction data recorded in the information code before display are recorded, and thus the decoded data and The image area is arranged within a range that can be arranged to the maximum with a configuration including all error correction data. For example, when the decoded data and error correction data recorded in the information code as shown in FIG. 12A are represented by a large configuration having the same cell size as shown in FIG. 12B, the decoded data and error correction data in the entire code. Since the ratio required for recording is smaller than the ratio shown in FIG. 12A, a larger image area can be formed accordingly.

なお、倍率が「100%」の状態で、「内部画像を最大限に拡大」が選択された場合、情報コードのサイズは変更させずに、内部画像だけ最大限まで拡大されるようにすればよい。   If “Maximize internal image” is selected when the magnification is “100%”, only the internal image can be expanded to the maximum without changing the size of the information code. Good.

このように、本構成では、変更指示の前に表示部に表示されていた情報コードよりも全体サイズ又は画像領域のサイズを大きくするサイズ拡大指示が受付部によって受け付けられた場合に、当該サイズ拡大指示の前に表示部に表示されていた情報コードでの情報コード全体に対する画像領域の割合よりも大きくするように、新たな情報コードでの情報コード全体に対する画像領域の割合を決定している。更に、本構成では、情報コードの全体サイズを大きくするサイズ拡大指示が受付部によって受け付けられた場合に、当該サイズ拡大指示の前に表示部に表示されていた情報コードでの画像領域の大きさに対するセルの大きさの割合よりも、新たな情報コードでの画像領域の大きさに対するセルの大きさの割合のほうが小さくなるように、新たな情報コードでの内部構成を決定している。具体的には、構成決定部は、サイズ拡大指示が受付部によって受け付けられた場合に、当該サイズ拡大指示の前に表示部に表示されていた情報コードでのセルの大きさと同じ大きさのセルを配列した構造とするように新たな情報コードでの内部構成を決定している。   As described above, in this configuration, when the reception unit receives a size expansion instruction for increasing the overall size or the size of the image area than the information code displayed on the display unit before the change instruction, the size expansion is performed. The ratio of the image area to the entire information code in the new information code is determined so as to be larger than the ratio of the image area to the entire information code in the information code displayed on the display unit before the instruction. Furthermore, in this configuration, when a size enlargement instruction for increasing the overall size of the information code is accepted by the accepting unit, the size of the image area in the information code displayed on the display unit before the size enlargement instruction is received. The internal configuration of the new information code is determined so that the ratio of the cell size to the size of the image area in the new information code is smaller than the ratio of the cell size to. Specifically, when the size enlargement instruction is accepted by the accepting unit, the configuration determining unit determines that the cell size is the same as the cell size in the information code displayed on the display unit before the size enlargement instruction. The internal structure of the new information code is determined so as to have an arrayed structure.

次に、S103でYesに進む場合において、コード全体のサイズを縮小する場合について説明する。例えば、表示前の情報コードのセルの列数及び行数が37行37列であり、「倍率」の項目で70%が選択されている場合、情報コードの縦及び横の長さを70%にした状態において、セルの大きさを所定の最小サイズとしたときに配列されるセルの行数及び列数を算出し、そのような行数及び列数となる型番を選択する。そして、この型番の情報コードを生成するように図8で示した方法で情報コードを生成する。また、この情報コードを生成する際には、表示前の情報コードの記録されていた解読データ及び誤り訂正データが全て記録されるように新たな情報コードを再生成し、このように解読データ及び誤り訂正データを全て含んだ構成で、最大限配置できる範囲で画像領域を配置する。このように再生成する場合、図15(B)のように新たに生成される情報コードでのセルサイズを小さくすれば、コードサイズを縮小しても、コード全体に占める画像領域の割合を大きくすることができる。   Next, a case where the size of the entire code is reduced when proceeding to Yes in S103 will be described. For example, when the number of cells and the number of rows of information code before display are 37 rows and 37 columns and 70% is selected in the item of “magnification”, the vertical and horizontal lengths of the information code are set to 70%. In such a state, the number of rows and columns of cells arranged when the cell size is set to a predetermined minimum size is calculated, and the model number corresponding to the number of rows and columns is selected. Then, the information code is generated by the method shown in FIG. 8 so as to generate the information code of this model number. Further, when generating this information code, a new information code is regenerated so that all the decoded data and error correction data recorded in the information code before display are recorded, and thus the decoded data and The image area is arranged within a range that can be arranged to the maximum with a configuration including all error correction data. When regenerating in this way, if the cell size in the newly generated information code is reduced as shown in FIG. 15B, the ratio of the image area to the entire code is increased even if the code size is reduced. can do.

このように、本構成では、変更指示の前に表示部6に表示されていた情報コード100よりもサイズを小さくするサイズ縮小指示が受け付けられた場合に、当該サイズ縮小指示の前に表示部6に表示されていた情報コード100(例えば、図15(A))での情報コード全体に対する画像領域の割合よりも大きくするように、新たな情報コード(例えば、図15(B))での情報コード全体に対する画像領域の割合を決定する。また、本構成では、サイズ縮小指示が受け付けられた場合に、当該サイズ縮小指示の前に表示部6に表示されていた情報コード100での画像領域の大きさに対するセルの大きさの割合よりも、新たな情報コード100での画像領域の大きさに対するセルの大きさの割合のほうが小さくなるように、新たな情報コード100での内部構成を決定しており、具体的には、サイズ縮小指示が受け付けられた場合に、当該サイズ縮小指示の前に表示部6に表示されていた情報コード100のセルよりも小さいセルを配列した構造とするように新たな情報コード100での内部構成を決定している。   As described above, in this configuration, when a size reduction instruction for reducing the size of the information code 100 displayed on the display unit 6 before the change instruction is received, the display unit 6 before the size reduction instruction is received. The information in the new information code (for example, FIG. 15B) so as to be larger than the ratio of the image area to the entire information code in the information code 100 (for example, FIG. 15A) displayed in FIG. Determine the ratio of the image area to the entire code. Further, in this configuration, when a size reduction instruction is received, the ratio of the cell size to the size of the image area in the information code 100 displayed on the display unit 6 before the size reduction instruction is more than. The internal configuration of the new information code 100 is determined so that the ratio of the cell size to the size of the image area in the new information code 100 is smaller. Is received, the internal configuration of the new information code 100 is determined so that the cells are smaller than the cells of the information code 100 displayed on the display unit 6 before the size reduction instruction. doing.

なお、S103にてNoに進む場合(即ち、「画像としての拡大・縮小」が選択されている場合)には、S108にてコード画像の拡大又は縮小を行う。この処理では、拡大又は縮小前の情報コードと拡大又は縮小後の情報コードが相似形となるようにコード全体として一体的に拡大又は縮小する。例えば、倍率が100%よりも大きい場合には、図13(A)から図13(B)のように、コード全体を相似形で拡大し、倍率が100%よりも小さい場合には、図16(A)から図16(B)のように、コード全体を相似形で縮小する。   When the process proceeds to No in S103 (that is, when “enlarge / reduce as image” is selected), the code image is enlarged or reduced in S108. In this processing, the entire code is enlarged or reduced as a whole so that the information code before enlargement or reduction and the information code after enlargement or reduction have a similar shape. For example, when the magnification is larger than 100%, as shown in FIGS. 13A to 13B, the entire code is enlarged in a similar shape, and when the magnification is smaller than 100%, FIG. As shown in FIG. 16A to FIG. 16B, the entire code is reduced in a similar manner.

S105にて新たな情報コード100(フレームQR)が生成された後、又はS108にて新たなコード画像が生成された後には、その生成された情報コード100を表示部6に表示する(S106)。そして、表示処理を終了するか否かを判断し(S107)、表示処理を終了させる所定操作がなされた場合には図10の処理を終了し、終了させる所定操作がなされる前に画像に対する拡大指示又は縮小指示がなされた場合には、S107でNoに進み、S102の判断処理を行うことになる。   After a new information code 100 (frame QR) is generated in S105, or after a new code image is generated in S108, the generated information code 100 is displayed on the display unit 6 (S106). . Then, it is determined whether or not the display process is to be ended (S107). If a predetermined operation for ending the display process is performed, the process of FIG. If an instruction or a reduction instruction is given, the process proceeds to No in S107, and the determination process in S102 is performed.

本構成では、操作部4及び制御部3が受付部の一例に相当し、表示部6に表示された情報コードの全体の大きさ又は一部要素の大きさを変更する変更指示を受け付け可能に構成されている。また、本構成では、制御部3が生成部の一例に相当し、表示部6にて情報コードが表示された後、受付部によって変更指示が受け付けられた場合に、変更指示の前に表示部6に表示されていた情報コードの記録内容が少なくとも記録され且つ画像領域の画像が表された新たな情報コードを変更指示に応じた内容で生成する処理を行うようになっている。   In this configuration, the operation unit 4 and the control unit 3 correspond to an example of a reception unit, and can accept a change instruction to change the entire size of the information code displayed on the display unit 6 or the size of some elements. It is configured. Further, in this configuration, the control unit 3 corresponds to an example of a generation unit, and when the change instruction is received by the reception unit after the information code is displayed on the display unit 6, the display unit is displayed before the change instruction. 6 is performed so as to generate a new information code in which at least the recorded content of the information code displayed in 6 is recorded and the image of the image area is represented, according to the change instruction.

また、S103、S104の処理等を行う制御部3は、割合決定部の一例に相当し、変更指示に応じた内容の新たな情報コードを生成する場合に、当該新たな情報コードでの情報コード全体に対する画像領域の割合を決定するように機能する。より具体的には、受付部に相当する操作部4及び制御部3は、所定の割合指定指示を受け付け可能とされており、割合決定部は、受付部によって所定の割合指定指示が受け付けられた場合に、新たな情報コードでの情報コード全体に対する画像領域の割合を予め定められた所定の最大割合とするように機能する。   The control unit 3 that performs the processes of S103 and S104 corresponds to an example of a ratio determination unit. When generating a new information code having contents according to a change instruction, the information code with the new information code is used. It functions to determine the ratio of the image area to the whole. More specifically, the operation unit 4 and the control unit 3 corresponding to the reception unit can receive a predetermined ratio designation instruction, and the ratio determination unit has received a predetermined ratio designation instruction by the reception unit. In this case, the ratio of the image area to the entire information code in the new information code functions to be a predetermined maximum ratio.

また、制御部3は、構成決定部の一例に相当し、割合決定部で決定された画像領域の割合に従い、変更指示に応じた内容となるように新たな情報コードの内部構成を決定するように機能する。より具体的には、本システムでは、情報コード100を生成する上で、セルの行数及び列数の組み合わせが異なる複数種類の型番が用意されており、構造決定部は、変更指示の前に表示部に表示されていた情報コードの記録内容と、変更指示とに基づいて新たな型番を決定し、その決定された型番と、割合決定部で決定された画像領域の割合とに基づいて新たな情報コードでの内部構成を決定するようになっている。そして、表示部6は、上記生成部によって新たな情報コードを生成する処理が行われた場合に、構成決定部によって決定された内部構成で新たな情報コードを表示するように機能する。   Further, the control unit 3 corresponds to an example of a configuration determination unit, and determines the internal configuration of a new information code so that the content corresponds to the change instruction according to the ratio of the image area determined by the ratio determination unit. To work. More specifically, in this system, when generating the information code 100, a plurality of types of model numbers having different combinations of the number of rows and the number of columns of cells are prepared, and the structure determination unit A new model number is determined based on the recorded contents of the information code displayed on the display unit and the change instruction, and a new model number is determined based on the determined model number and the ratio of the image area determined by the ratio determination unit. The internal structure is determined by a simple information code. The display unit 6 functions to display the new information code with the internal configuration determined by the configuration determination unit when the generation unit generates a new information code.

また、本構成では、変更指示の前に表示部に表示される情報コードは、上述したフレームQRとして構成され、コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類のセルによって解読対象データを表すデータ記録領域と、データ記録領域の誤り訂正を行うための誤り訂正データが記録される誤り訂正データ記録領域と、解読対象データが記録されず且つデータ記録領域の誤り訂正を行うための誤り訂正データが記録されない領域として構成される画像領域と、を設けた構成となっている。そして、構造決定部は、コード領域の内部に、固定パターンが配置される第1領域と、データ記録領域に記録された解読対象データが少なくとも記録される第2領域と、第2領域の誤り訂正を行うための誤り訂正データが記録される第3領域と、解読対象データが記録されず且つ第2領域の誤り訂正を行うための誤り訂正データが記録されない領域として構成され、画像領域の画像を所定の方式で拡大又は縮小した画像が表される第4領域と、を設けた形で新たな情報コード(新たなフレームQR)の内部構成を決定する。   Further, in this configuration, the information code displayed on the display unit before the change instruction is configured as the above-described frame QR, and a specific pattern area in which a specific pattern having a predetermined shape is arranged inside the code area A data recording area representing data to be decoded by a plurality of types of cells, an error correction data recording area in which error correction data for performing error correction in the data recording area is recorded, and data to be decoded are not recorded and data And an image area configured as an area where error correction data for performing error correction in the recording area is not recorded. Then, the structure determination unit includes a first area in which the fixed pattern is arranged in the code area, a second area in which at least the decoding target data recorded in the data recording area is recorded, and error correction in the second area A third area in which error correction data for recording is recorded, and an area in which no data to be decoded is recorded and error correction data for performing error correction in the second area are not recorded. An internal configuration of a new information code (new frame QR) is determined in a form provided with a fourth area in which an image enlarged or reduced by a predetermined method is represented.

(本構成の効果の例)
本構成では、表示部に表示された情報コードの全体の大きさ又は一部要素の大きさを変更する変更指示を受け付けることができるようになっている。そして、変更指示に応じた内容の新たな情報コードを生成する場合に、当該新たな情報コードでの情報コード全体に対する画像領域の割合を決定する割合決定部と、割合決定部で決定された画像領域の割合に従い、変更指示に応じた内容となるように新たな情報コードの内部構成を決定する構成決定部とが設けられている。そして、表示部は、生成部によって新たな情報コードを生成する処理が行われた場合に、構成決定部によって決定された内部構成で新たな情報コードを表示する構成となっている。
この構成によれば、表示装置に表示された情報コードの全体の大きさ又は一部要素の大きさを変更する変更指示を当該表示装置に与えることにより、情報コードの全体サイズ又は一部要素のサイズを変更して新たな情報コードを生成・表示することができる。そして、新たな情報コードの生成・表示に際しては、情報コード全体に対する画像領域の割合を新たに決定した上で、その割合に従った内部構成とすることができるため、既存構成(例えば、サイズ変更時にコード全体に対する画像領域の割合が固定化され続ける構成)では成し得なかった形での斬新な表示変更が可能となる。
(Example of effects of this configuration)
In this configuration, it is possible to accept a change instruction for changing the overall size of the information code displayed on the display unit or the size of a partial element. Then, when generating a new information code having contents according to the change instruction, a ratio determining unit that determines a ratio of the image area to the entire information code in the new information code, and an image determined by the ratio determining unit A configuration determination unit is provided that determines the internal configuration of a new information code so that the content corresponds to the change instruction according to the ratio of the area. And a display part becomes a structure which displays a new information code by the internal structure determined by the structure determination part, when the process which produces | generates a new information code is performed by the production | generation part.
According to this configuration, by giving the display device a change instruction for changing the overall size of the information code displayed on the display device or the size of the partial element, the entire size of the information code or the partial code A new information code can be generated and displayed by changing the size. When a new information code is generated / displayed, the ratio of the image area to the entire information code is newly determined and the internal configuration according to the ratio can be set. In some cases, a novel display change can be made in a form that could not be achieved with a configuration in which the ratio of the image area to the entire code is sometimes fixed.

また、割合決定部は、変更指示の前に表示部に表示されていた情報コードよりも全体サイズ又は画像領域のサイズを大きくするサイズ拡大指示が受付部によって受け付けられた場合に、当該サイズ拡大指示の前に表示部に表示されていた情報コードでの情報コード全体に対する画像領域の割合よりも大きくするように、新たな情報コードでの情報コード全体に対する画像領域の割合を決定する。
このように構成されているため、ユーザは、サイズ拡大指示を表示装置に与えることにより、その指示前に表示されていた情報コードよりも、全体サイズ又は画像領域のサイズを大きくした形で新たな情報コードを生成・表示させることができる。しかも、指示前に表示部に表示されていた情報コードでの情報コード全体に対する画像領域の割合よりも、新たな情報コードでの情報コード全体に対する画像領域の割合のほうが大きくなるように変更することができるため、画像領域をより大きく強調した形で情報コードを再構成することを望むユーザにとってメリットが非常に大きくなる。
In addition, when the reception unit receives a size expansion instruction that increases the overall size or the size of the image area than the information code displayed on the display unit before the change instruction, the ratio determination unit The ratio of the image area to the entire information code in the new information code is determined so as to be larger than the ratio of the image area to the entire information code in the information code displayed on the display unit.
Because of this configuration, the user gives a size enlargement instruction to the display device, so that the user can create a new one with a larger overall size or image area size than the information code displayed before the instruction. An information code can be generated and displayed. Moreover, the ratio of the image area to the entire information code with the new information code is changed to be larger than the ratio of the image area to the entire information code with the information code displayed on the display unit before the instruction. Therefore, a merit for the user who wants to reconstruct the information code in a form in which the image area is greatly emphasized is greatly increased.

また、構造決定部は、情報コードの全体サイズを大きくするサイズ拡大指示が受付部によって受け付けられた場合に、当該サイズ拡大指示の前に表示部に表示されていた情報コードでの画像領域の大きさに対するセルの大きさの割合よりも、新たな情報コードでの画像領域の大きさに対するセルの大きさの割合のほうが小さくなるように、新たな情報コードでの内部構成を決定する。
この構成では、サイズ拡大指示がなされた場合に、画像領域の大きさに対してのセルの大きさの割合を小さくしているため、指示前のセル配列で表わされていたデータを表すためのセル配列領域を、指示前よりも小さく構成することができ、このようにデータに要する領域を抑えた分を、画像領域の拡大に割り当てやすくなる。よって、データの記録を担保しつつ画像領域を極力大きくしたい場合により有利になる。
In addition, when the receiving unit receives a size enlargement instruction for increasing the overall size of the information code, the structure determination unit increases the size of the image area in the information code displayed on the display unit before the size enlargement instruction. The internal configuration of the new information code is determined so that the ratio of the cell size to the size of the image area in the new information code is smaller than the ratio of the cell size to the size.
In this configuration, when the size enlargement instruction is given, the ratio of the cell size to the size of the image area is reduced, so that the data represented by the cell array before the instruction is represented. This cell array area can be made smaller than before the instruction, and it becomes easier to allocate the reduced area required for data to enlarge the image area. Therefore, it is more advantageous when it is desired to enlarge the image area as much as possible while ensuring data recording.

また、構成決定部は、サイズ拡大指示が受付部によって受け付けられた場合に、当該サイズ拡大指示の前に表示部に表示されていた情報コードでのセルの大きさと同じ大きさのセルを配列した構造とするように新たな情報コードでの内部構成を決定する。
この構成では、サイズ拡大指示がなされた場合に、セルの大きさは変えずにコードの全体サイズを大きくすることができるため、サイズの拡大によって広がったコード内部領域のより多くを、画像領域の拡大のために割り当てやすくなる。しかも、指示前の情報コードと、指示後の新たな情報コードとではセルサイズが同じであるため、変更の前後でセルサイズが予期しない大きさになるようなことがなく、セルの状態は極力変えずにコードの拡大及び画像領域の拡大を図りたい場合には、より有利になる。
In addition, when the size enlargement instruction is accepted by the accepting unit, the configuration determining unit arranges cells having the same size as the cell size in the information code displayed on the display unit before the size enlargement instruction. An internal configuration with a new information code is determined so as to have a structure.
In this configuration, when the size enlargement instruction is given, the entire size of the code can be increased without changing the cell size. Easier to assign for expansion. Moreover, since the cell size is the same between the information code before the instruction and the new information code after the instruction, the cell size does not become unexpected before and after the change, and the state of the cell is as much as possible. This is more advantageous when it is desired to enlarge the code and the image area without changing them.

また、割合決定部は、変更指示の前に表示部に表示されていた情報コードよりもサイズを小さくするサイズ縮小指示が受付部によって受け付けられた場合に、当該サイズ縮小指示の前に表示部に表示されていた情報コードでの情報コード全体に対する画像領域の割合よりも大きくするように、新たな情報コードでの情報コード全体に対する画像領域の割合を決定する。
このように構成されているため、ユーザは、サイズ縮小指示を表示装置に与えることにより、その指示前に表示されていた情報コードよりも、全体サイズを小さくした形で新たな情報コードを生成・表示させることができる。また、コードを単に縮小するだけでは、画像領域が大幅に小さくなってしまうことが懸念されるが、本構成では、指示前に表示部に表示されていた情報コードでの情報コード全体に対する画像領域の割合よりも、新たな情報コードでの情報コード全体に対する画像領域の割合のほうが大きくなるように変更することができるため、コードサイズは小さくしつつも、画像領域については、できるだけ大きく強調した形で情報コードを再構成することが可能となる。
In addition, when the reception unit receives a size reduction instruction that reduces the size of the information code that was displayed on the display unit before the change instruction, the ratio determination unit displays the display unit before the size reduction instruction. The ratio of the image area to the entire information code in the new information code is determined so as to be larger than the ratio of the image area to the entire information code in the displayed information code.
With this configuration, the user generates a new information code in a form in which the overall size is smaller than the information code displayed before the instruction by giving a size reduction instruction to the display device. Can be displayed. In addition, there is a concern that the image area may be significantly reduced by simply reducing the code. However, in this configuration, the image area for the entire information code in the information code displayed on the display unit before the instruction is given. The ratio of the image area with respect to the entire information code in the new information code can be changed to be larger than the ratio of the image area. Therefore, the image area is emphasized as much as possible while reducing the code size. It becomes possible to reconstruct the information code.

また、構造決定部は、サイズ縮小指示が受付部によって受け付けられた場合に、当該サイズ縮小指示の前に表示部に表示されていた情報コードのセルよりも小さいセルを配列した構造とするように新たな情報コードでの内部構成を決定する。
この構成によれば、サイズ縮小指示がなされた場合にコード全体のサイズを変更して再表示することができ、その際には、新たな情報コードでのセルサイズをできるだけ小さくすることで画像領域の占有割合を高めることができる。
In addition, when the size reduction instruction is received by the reception unit, the structure determination unit has a structure in which cells smaller than information code cells displayed on the display unit before the size reduction instruction are arranged. Determine the internal structure with the new information code.
According to this configuration, when a size reduction instruction is given, the size of the entire code can be changed and displayed again. In this case, the image area can be reduced by reducing the cell size with the new information code as much as possible. The occupation ratio can be increased.

また、構造決定部は、サイズ縮小指示が受付部によって受け付けられた場合に、当該サイズ縮小指示の前に表示部に表示されていた情報コードでの画像領域の大きさに対するセルの大きさの割合よりも、新たな情報コードでの画像領域の大きさに対するセルの大きさの割合のほうが小さくなるように、新たな情報コードでの内部構成を決定する。
この構成では、サイズ縮小指示に応じた新たな情報コード(全体サイズを縮小した情報コード)を生成・表示する際に、セルの縮小度合いを大きくし、画像領域の縮小度合いを抑えた形でのサイズ変更がなされるため、画像領域とセルの大きさの関係を一定に保ちながら縮小する場合と比較すると、画像領域の割合を確実に高めた形でのコードの縮小表示が可能となる。
In addition, when the size reduction instruction is received by the reception unit, the structure determination unit is a ratio of the cell size to the size of the image area in the information code displayed on the display unit before the size reduction instruction. Instead, the internal configuration with the new information code is determined so that the ratio of the cell size to the size of the image area with the new information code becomes smaller.
In this configuration, when generating and displaying a new information code corresponding to the size reduction instruction (information code with the overall size reduced), the degree of cell reduction is increased, and the degree of image area reduction is suppressed. Since the size is changed, the code can be reduced and displayed in a form in which the ratio of the image area is reliably increased as compared with the case where the image area and the size of the cell are kept constant.

また、本構成では、受付部は、所定の割合指定指示を受け付け可能とされており、割合決定部は、受付部によって所定の割合指定指示が受け付けられた場合に、新たな情報コードでの情報コード全体に対する画像領域の割合を予め定められた所定の最大割合とする。
このように構成されているため、所定の割合指定指示を表示装置に与えるという比較的簡易な指示により、画像領域の割合をより大きくした形での斬新な表示変更が可能となる。
なお、上記代表例では、図11のような選択表示がなされている際に、「内部画像を最大限に拡大」が選択された場合に、内部画像を所定の最大限の割合に変更していたが、具体的には、「内部画像を最大限に拡大」が選択された場合には、全体画像の大きさに対して予め決められた最大割合(一定割合)の大きさとなるように変更してもよく、表示変更前の図11のような情報コードに記録されていた解読対象データを記録した上で表すことのできる最大領域(解読対象データ、フォーマットデータ、誤り訂正データなどの必要データが記録されるセル領域を外縁部付近に配置した場合に確保できる最大領域)の大きさとなるように変更してもよい。このようなやり方は、拡大率を100%よりも大きくする場合でも、拡大率を100%のままにする場合でも、拡大率を100%未満にする場合でも適用できる。
また、上記代表例では、割合決定部によって情報コード全体に対する画像領域の割合を変更する条件が、「内部画像を最大限に拡大」が選択された場合であったが、例えば、図11のような選択画面において、「画像領域の割合」を数値として入力可能であってもよい。例えば、図11のような選択画面において「画像領域の割合」が70%と指定された場合には、拡大率を100%よりも大きくする場合でも、拡大率を100%のままにする場合でも、拡大率を100%未満にする場合でも、「画像領域の割合」が70%となるように変更すればよい。この場合で、例えば、変更前と変更後とで画像領域の中心位置が同じになるように変更すればよい。
Further, in this configuration, the reception unit can receive a predetermined ratio designation instruction, and the ratio determination unit can receive information with a new information code when the reception unit receives the predetermined ratio designation instruction. The ratio of the image area to the entire code is set to a predetermined maximum ratio.
With this configuration, a novel display change in a form in which the ratio of the image area is increased can be performed by a relatively simple instruction of giving a predetermined ratio designation instruction to the display device.
In the above representative example, when the selection display as shown in FIG. 11 is performed and the “maximum enlargement of the internal image” is selected, the internal image is changed to a predetermined maximum ratio. However, specifically, when “maximum enlargement of internal image” is selected, the size is changed to a predetermined maximum ratio (constant ratio) with respect to the size of the entire image. The maximum area that can be expressed after recording the decoding target data recorded in the information code as shown in FIG. 11 before the display change (necessary data such as decoding target data, format data, error correction data, etc.) May be changed so as to be the size of the maximum area that can be secured when the cell area in which is recorded is arranged near the outer edge. Such a method can be applied to the case where the enlargement ratio is set to be larger than 100%, the case where the enlargement ratio is kept at 100%, or the case where the enlargement ratio is set to less than 100%.
In the above representative example, the condition for changing the ratio of the image area to the entire information code by the ratio determining unit is “maximum enlargement of the internal image” is selected. For example, as shown in FIG. In such a selection screen, “ratio of image area” may be input as a numerical value. For example, when “ratio of image area” is designated as 70% on the selection screen as shown in FIG. 11, the enlargement ratio may be larger than 100% or the enlargement ratio may be left at 100%. Even when the enlargement ratio is less than 100%, the “image area ratio” may be changed to 70%. In this case, for example, the image area may be changed so that the center position of the image area is the same before and after the change.

また、本構成では、セルの行数及び列数の組み合わせが異なる複数種類の型番が用意されており、構造決定部は、変更指示の前に表示部に表示されていた情報コードの記録内容と、変更指示とに基づいて新たな型番を決定し、その決定された型番と、割合決定部で決定された画像領域の割合とに基づいて新たな情報コードでの内部構成を決定する。
このように、変更指示がなされた場合に、その変更指示に応じた新たな型番を決定した上で、新たな情報コードを生成・表示する構成とすれば、単にコード画像を全体的に拡大、縮小させるような既存方法では成し得ない細かな調整が可能となる。
Also, in this configuration, a plurality of types of model numbers having different combinations of cell row numbers and column numbers are prepared, and the structure determination unit is configured to record the information code recorded on the display unit before the change instruction and A new model number is determined based on the change instruction, and an internal configuration with a new information code is determined based on the determined model number and the ratio of the image area determined by the ratio determination unit.
In this way, when a change instruction is made, after determining a new model number according to the change instruction, if a configuration that generates and displays a new information code, simply enlarge the entire code image, It is possible to make fine adjustments that cannot be achieved with existing methods such as reduction.

また、本構成では、変更指示の前に表示部に表示される情報コードは、コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類のセルによって解読対象データを表すデータ記録領域と、データ記録領域の誤り訂正を行うための誤り訂正データが記録される誤り訂正データ記録領域と、解読対象データが記録されず且つデータ記録領域の誤り訂正を行うための誤り訂正データが記録されない領域として構成される画像領域と、を設けた構成であり、構造決定部は、コード領域の内部に、固定パターンが配置される第1領域と、データ記録領域に記録された解読対象データが少なくとも記録される第2領域と、第2領域の誤り訂正を行うための誤り訂正データが記録される第3領域と、解読対象データが記録されず且つ第2領域の誤り訂正を行うための誤り訂正データが記録されない領域として構成され、画像領域の画像を所定の方式で拡大又は縮小した画像が表される第4領域と、を設けた形で新たな情報コードの内部構成を決定する。
この構成によれば、変更前後のいずれの情報コードにおいても、画像が表示される領域を、解読対象データが記録されず且つ誤り訂正データが記録されない特殊な領域として表すことができ、画像の領域をより自由に構成し易くなる。そして、このように特徴的な情報コードを表示する構成において、画像領域の割合を変更するという斬新な表示変更が可能となる。
In this configuration, the information code displayed on the display unit before the change instruction is decoded by a specific pattern area in which a specific pattern having a predetermined shape is arranged inside the code area and a plurality of types of cells. A data recording area representing the target data, an error correction data recording area in which error correction data for performing error correction in the data recording area is recorded, and in order to perform error correction in the data recording area without decoding target data being recorded And an image area configured as an area in which no error correction data is recorded, and the structure determination unit records the first area in which the fixed pattern is arranged in the code area and the data recording area. A second area in which at least the decoded data to be decoded is recorded, a third area in which error correction data for performing error correction in the second area is recorded, and the data to be decoded Is recorded as an area in which error correction data for performing error correction in the second area is not recorded, and a fourth area in which an image obtained by enlarging or reducing the image in the image area by a predetermined method is represented. The internal configuration of the new information code is determined in the form provided.
According to this configuration, in any information code before and after the change, the area where the image is displayed can be represented as a special area where the decoding target data is not recorded and the error correction data is not recorded. Can be configured more freely. And in the structure which displays the characteristic information code in this way, a novel display change that changes the ratio of the image area becomes possible.

[第1実施形態の応用例]
この応用例は、第1実施形態の構成を全て含み、以下の例に応用したものである。
この応用例では、例えば、ユーザが表示装置2を操作して図17(A)のような現場で写真撮影する。このように写真撮影された後、所定の開始操作を行うことで、図17(B)のようなコード模様(上述した情報コード100(フレームQR)における、空き領域110以外の部分の模様)が表れるようになっている。そして、このように、撮像画像にコード模様が組み込まれた合成画像に対して図17(B)のようにドラック操作などを行うことで、コード模様を所望の位置に動かすことができ、図18(A)のように撮像画像内の希望する位置の画像を情報コード100の空き領域110に表すことができるようになる。このように希望位置の画像が情報コード100の空き領域110に表された状態で所定の決定操作を行うことで、図18(B)のように、希望位置の画像が空き領域110内に表された情報コード100(フレームQR)が生成される。なお、情報コード100のデータ記録領域には、ブログのURLや友達へのメッセージなどを記録しておいてもよい。そして、情報コード100を読み取った場合に、URLで特定されるブログや、読み取った者の端末のアプリなどによってプレゼント画像を表示できるようにしてもよい。そして、このように生成された情報コード100は、図10の表示処理のS101において表示することができ、情報コード100の画像の変更を行う場合には、第1実施形態と同様、図10の流れで行えばよい。
[Application example of the first embodiment]
This application example includes all the configurations of the first embodiment, and is applied to the following example.
In this application example, for example, the user operates the display device 2 to take a photograph at the site as shown in FIG. After a photograph is taken in this manner, a predetermined start operation is performed, whereby a code pattern as shown in FIG. 17B (a pattern other than the empty area 110 in the information code 100 (frame QR) described above) is obtained. It has come to appear. Then, the code pattern can be moved to a desired position by performing a drag operation or the like on the composite image in which the code pattern is incorporated in the captured image as shown in FIG. As shown in (A), an image at a desired position in the captured image can be represented in the empty area 110 of the information code 100. By performing a predetermined determination operation in a state where the image at the desired position is represented in the empty area 110 of the information code 100 as described above, the image at the desired position is displayed in the empty area 110 as shown in FIG. The information code 100 (frame QR) is generated. In the data recording area of the information code 100, a URL of a blog or a message to a friend may be recorded. Then, when the information code 100 is read, a present image may be displayed by a blog specified by the URL, an application of the read person's terminal, or the like. The information code 100 generated in this way can be displayed in S101 of the display process of FIG. 10, and when changing the image of the information code 100, as in the first embodiment, as shown in FIG. Just follow the flow.

[第2実施形態]
次に、第2実施形態について、図面を参照して説明する。
第1実施形態では、空き領域110を設け、この空き領域110を画像領域として構成した例を示したが、このような例に限られない。例えば、誤り訂正が可能な一般的な二次元コード(例えばQRコード等)のセル配置領域に、上述したような画像を上書き等によって設け、このような画像領域によって潰れた領域のデータを誤り訂正によって復元するようにしてもよい。第2実施形態ではこの例について説明する。なお、第2実施形態の情報コード利用システムは、ハードウェア構成については第1実施形態と同一であり、上述した図1、図2のような構成が用いられる。
[Second Embodiment]
Next, a second embodiment will be described with reference to the drawings.
In the first embodiment, an example is shown in which the empty area 110 is provided and the empty area 110 is configured as an image area. However, the present invention is not limited to such an example. For example, an image as described above is provided by overwriting or the like in a cell arrangement area of a general two-dimensional code (for example, QR code) capable of error correction, and error correction is performed on data in the area crushed by such an image area. You may make it restore by. This example will be described in the second embodiment. The information code utilization system of the second embodiment is the same as that of the first embodiment in terms of hardware configuration, and the configuration as shown in FIGS. 1 and 2 described above is used.

第2実施形態の情報コード利用システムでは、情報コード表示装置2(図1等参照)により図19(B)のような情報コード200を生成する。この構成でも、コード領域の内部に、予め定められた形状の特定パターン(位置検出パターン204)が配置される特定パターン領域と、複数種類のセルによってデータを記録するデータ記録領域と、情報コード読取装置10によって所定の画像認識処理を行う対象となる画像領域121とを設けている。   In the information code utilization system of the second embodiment, an information code 200 as shown in FIG. 19B is generated by the information code display device 2 (see FIG. 1 and the like). Even in this configuration, a specific pattern area in which a specific pattern (position detection pattern 204) having a predetermined shape is arranged inside the code area, a data recording area in which data is recorded by a plurality of types of cells, and information code reading An image region 121 that is a target for performing predetermined image recognition processing by the apparatus 10 is provided.

この構成では、空き領域210内の構成以外は、公知のQRコード(登録商標)として構成されており、まず、図19(A)のように、コード領域の内部に、特定パターン領域と、データ記録領域と、複数種類のセルによって誤り訂正符号を記録する誤り訂正符号記録領域とを設けている。なお、データ記録領域でのデータコードワードの記録方法及び誤り訂正符号記録領域での誤り訂正コードワードの記録方法は公知のQRコード(登録商標)と同様であり、例えば、JISX0510で規定される方式でコード領域内の位置検出パターン204の配置、データ記録領域におけるデータコードワードの配置、誤り訂正符号記録領域での誤り訂正コードワードの配置が定められている。   In this configuration, a configuration other than the configuration in the empty area 210 is configured as a known QR code (registered trademark). First, as shown in FIG. 19A, a specific pattern area and data A recording area and an error correction code recording area for recording an error correction code by a plurality of types of cells are provided. The recording method of the data code word in the data recording area and the recording method of the error correction code word in the error correction code recording area are the same as those of the known QR code (registered trademark), for example, a method defined in JISX0510 The arrangement of the position detection pattern 204 in the code area, the arrangement of the data code word in the data recording area, and the arrangement of the error correction code word in the error correction code recording area are determined.

但し、図19(A)のように、一部領域のコードワードを、白セルのみによって表現されるコードワードとして構成した情報コード200’を生成し、このように白セルのみによって表現される中央領域を空き領域210として、図19(B)のように、この空き領域210内に記号やその他の画像など表すことで画像領域121を構成している。このように構成した場合、図19(A)のような本来のデータ表示とは異なった構成になるが、この空き領域210でのデータの誤りは、誤り訂正符号記録領域に記録された誤り訂正符号を用いて公知の誤り訂正を行えばよい。   However, as shown in FIG. 19A, an information code 200 ′ in which a code word in a partial area is configured as a code word expressed only by white cells is generated, and the center expressed by only white cells in this way. The area is defined as an empty area 210, and an image area 121 is configured by representing symbols and other images in the empty area 210 as shown in FIG. 19B. When configured in this way, the configuration is different from the original data display as shown in FIG. 19A, but the error in the data in the empty area 210 is corrected by the error correction recorded in the error correction code recording area. A known error correction may be performed using a code.

また、図19(B)に示す情報コード200では、空き領域210(画像領域121)の位置が予め特定されるため、空き領域210内にデザインや情報を付加して表示する場合にはこの表示による誤り位置が予め分かっていることになる。従って、空き領域210の位置を誤り位置として消失訂正を行うように誤り訂正符号記録領域の誤り訂正符号を構成することもできる。この場合、空き領域210の位置を示す情報を予めデータ記録領域に記録しておいたり、或いは、予め読取装置10(図1)内に記憶しておくことで、読取時に読取装置10が空き領域210の位置(即ち、誤りが生じているデータコードワードの位置)を特定することができるようになり、読取装置10は、このように位置が特定された空き領域210に存在するデータコードワードの誤りを訂正するように、誤り訂正符号記録領域に記録された誤り訂正符号を用いて消失訂正を行うようにすればよい。   Further, in the information code 200 shown in FIG. 19B, since the position of the empty area 210 (image area 121) is specified in advance, this display is displayed when design and information are added to the empty area 210 for display. The error position due to is known in advance. Therefore, the error correction code in the error correction code recording area can be configured to perform erasure correction using the position of the empty area 210 as the error position. In this case, information indicating the position of the vacant area 210 is recorded in the data recording area in advance, or stored in the reading apparatus 10 (FIG. 1) in advance, so that the reading apparatus 10 can read the vacant area at the time of reading. The position of 210 (that is, the position of the data code word in which an error has occurred) can be specified, and the reader 10 can determine the position of the data code word existing in the empty area 210 whose position is specified in this way. In order to correct the error, the erasure correction may be performed using the error correction code recorded in the error correction code recording area.

また、図19のように既存のQRコード(登録商標)の一部を空き領域210として構成する場合、データ記録領域に記録されるデータにおいて、図21のような識別情報を含ませておけばよい。図21は、データ記録領域に記録される解読対象データ構成を概念的に示しており、この例では、解読対象データの先頭部分に、所定構成(%%IMAGE%%)のデータが付されている。このように構成しておけば、読取装置10は、データ記録領域に記録される解読対象データの中からこの識別情報(%%IMAGE%%)を検出したときに、画像領域121に対する所定処理(例えば、画像認識処理など)を行うことができるようになり、逆に、識別情報(%%IMAGE%%)を検出できないときには通常のデコード処理を行うことになる。また、この例では、データ記録領域のデータとして、通常のデータ以外に、画像領域の位置を特定する位置データや、その他の付随情報が含まれていることが望ましい。また、図21に示すデータは、データ記録領域に記録されるデータの内、終端子よりも前に配置される解読対象データを示しており、終端子よりも後に配置される埋め草コードは省略している。本構成では、例えば、この埋め草コードの領域を全て白セルのみで表示するようにし、この領域を空き領域210として扱うようにすることができる。   Further, when a part of the existing QR code (registered trademark) is configured as the empty area 210 as shown in FIG. 19, the identification information as shown in FIG. 21 is included in the data recorded in the data recording area. Good. FIG. 21 conceptually shows the structure of the data to be decrypted recorded in the data recording area. In this example, data of a predetermined structure (%% IMAGE %%) is attached to the beginning of the data to be decrypted. Yes. With this configuration, the reading device 10 performs predetermined processing (for the image area 121) when detecting this identification information (%% IMAGE %%) from the data to be decoded recorded in the data recording area. For example, an image recognition process or the like) can be performed. Conversely, when the identification information (%% IMAGE %%) cannot be detected, a normal decoding process is performed. In this example, it is desirable that the data in the data recording area includes position data for specifying the position of the image area and other accompanying information in addition to the normal data. Further, the data shown in FIG. 21 indicates the data to be decoded that is arranged before the end terminal in the data recorded in the data recording area, and the padding code that is arranged after the end terminal is omitted. doing. In this configuration, for example, the entire area of the padding code can be displayed with only white cells, and this area can be handled as the empty area 210.

また、識別情報の例はこの例に限られるものではなく、例えばモード番号として専用のモード番号を用いるようにしてもよい。例えば、QRコードの規格では、1:数字モード、2:英数字モード、3:連結モード等が定められており、このようなモード番号の1つとして14:画像認識モードを設けるようにしてもよい。このような例では、モード番号「14」が設定されている場合に、画像領域121の画像認識処理などを行えばよい。   Moreover, the example of identification information is not restricted to this example, For example, you may make it use a mode number for exclusive use as a mode number. For example, in the QR code standard, 1: numerical mode, 2: alphanumeric mode, 3: concatenation mode, etc. are defined, and 14: image recognition mode may be provided as one of such mode numbers. Good. In such an example, when the mode number “14” is set, the image recognition processing for the image area 121 may be performed.

本構成では、このような情報コード200の構成を前提とし、第1実施形態と同様の流れで表示処理を行う。具体的には、図10の流れで表示処理を行い、まず、図20(A)のように、上述した構成をなすいずれかの情報コード200を表示する(S101)。S101で情報コード200が表示された後には、表示された情報コード200に対する変更指示があるまで待機する。具体的には、S101の処理の後、S102の処理を行い、画像に対する拡大指示又は縮小指示がなされたか否かを判断する。そして、S101の後、画像に対する拡大指示又は縮小指示がなされていない間は、S102にてNoの判断が繰り返されることになる。一方、S101の後、画像に対する拡大又は縮小指示がなされた場合には、S102にてYesに進む。具体的には、図20のような情報コード200が表示されている状態で、操作部に対する所定操作(例えば、マウスに対する右クリック操作やタッチパネルに長く接触する操作など)が行われた場合に、図11と同様の選択画像が表示され、選択画像に表示された項目の中からいずれかの項目を選択できるようになっている。そして、「画像としての拡大・縮小」又は「内部画像を最大限に拡大」のいずれかが選択された場合に、S102にてYesに進むようになっている。   In this configuration, on the premise of such a configuration of the information code 200, display processing is performed in the same flow as in the first embodiment. Specifically, display processing is performed according to the flow of FIG. 10, and first, as shown in FIG. 20A, one of the information codes 200 having the above-described configuration is displayed (S101). After the information code 200 is displayed in S101, the process waits until there is an instruction to change the displayed information code 200. Specifically, after the process of S101, the process of S102 is performed to determine whether or not an enlargement instruction or a reduction instruction for the image has been issued. Then, after S101, while the enlargement instruction or the reduction instruction for the image is not made, the determination of No is repeated in S102. On the other hand, if an enlargement or reduction instruction is given to the image after S101, the process proceeds to Yes in S102. Specifically, when a predetermined operation (for example, a right click operation on the mouse or an operation of touching the touch panel for a long time) is performed with the information code 200 as shown in FIG. 20 being displayed, A selection image similar to that in FIG. 11 is displayed, and any item can be selected from the items displayed in the selection image. If either “enlargement / reduction as image” or “enlarge the internal image to the maximum” is selected, the process proceeds to Yes in S102.

例えば、「倍率」が120%であれば、「画像としての拡大・縮小」又は「内部画像を最大限に拡大」のいずれかが選択された場合、図20(A)のように既に表示されている情報コードのサイズに対し、縦の長さを120%に拡大し、横の長さを120%に拡大するように情報コードを拡大することになる。例えば、「倍率」が100%よりも大きい値が指定された状態で「画像としての拡大・縮小」が選択された場合には、拡大前の情報コードと拡大後の情報コードが相似形となるようにコード全体として一体的に拡大する。一方、「倍率」が100%よりも大きい値が指定された状態で「内部画像を最大限に拡大」が選択された場合には、図20(A)のように表示されていた情報コードを図20(B)のように拡大する。この拡大処理では、サイズ拡大指示の前に表示部6に表示されていた情報コード(例えば図20(A))での情報コード全体に対する画像領域121の割合よりも、サイズ拡大指示の後に表示部6に表示されていた情報コード(例えば図20(B))での情報コード全体に対する画像領域121の割合のほうが大きくなる。   For example, if “magnification” is 120%, when either “enlargement / reduction as image” or “enlargement of internal image to the maximum” is selected, it is already displayed as shown in FIG. The information code is expanded so that the vertical length is expanded to 120% and the horizontal length is expanded to 120% with respect to the size of the information code. For example, when “enlargement / reduction as image” is selected in a state where “magnification” is larger than 100%, the information code before enlargement and the information code after enlargement are similar. As a whole, the entire code is expanded. On the other hand, when “maximum enlargement of internal image” is selected in a state where a value greater than 100% is specified for “magnification”, the information code displayed as shown in FIG. Enlarge as shown in FIG. In this enlargement process, the display unit after the size enlargement instruction is larger than the ratio of the image area 121 to the entire information code in the information code (for example, FIG. 20A) displayed on the display unit 6 before the size enlargement instruction. The ratio of the image area 121 to the entire information code in the information code displayed in FIG. 6 (for example, FIG. 20B) is larger.

なお、本構成では、変更指示の前に表示部6に表示される情報コード200(図20(A))は、コード領域の内部に、予め定められた形状の特定パターン(公知のファインダパターンやアライメントパターンなど)が配置される特定パターン領域と、複数種類のセルによって解読対象データを表すデータ記録領域(QRコード(登録商標)の規格で規定された通常の解読対象データ記録領域)と、データ記録領域の誤り訂正を行うための誤り訂正データが記録される誤り訂正データ記録領域(QRコード(登録商標)の規格で規定された通常の誤り訂正データ記録領域)と、誤り訂正データ記録領域のデータによって誤り訂正がされる領域として構成される画像領域121と、を設けた構成となっている。そして、構造決定部に相当する制御部3は、「内部画像を最大限に拡大」が選択されることで図20(B)のような新たな情報コードを生成する際には、コード領域の内部に、固定パターンが配置される第1領域(表示変更後のQRコード(登録商標)における、ファインダパターンやアライメントパターンなどの領域)と、データ記録領域に記録された解読対象データが少なくとも記録される第2領域(QRコード(登録商標)の規格で規定された通常の解読対象データ記録領域)と、第2領域の誤り訂正を行うための誤り訂正データが記録される第3領域(QRコード(登録商標)の規格で規定された通常の誤り訂正データ記録領域)と、第3領域のデータによって誤り訂正がされる領域として構成され且つ画像領域121(図20(A))の画像を所定の方式で拡大又は縮小した画像が表される第4領域121(図20(B))と、を設けた形で新たな情報コードの内部構成を決定している。   In this configuration, the information code 200 (FIG. 20 (A)) displayed on the display unit 6 before the change instruction is a specific pattern (a known finder pattern or a predetermined shape) in the code area. A specific pattern area in which an alignment pattern or the like is arranged, a data recording area (normal decoding target data recording area defined by the QR Code (registered trademark) standard) that represents decoding target data by a plurality of types of cells, and data An error correction data recording area (normal error correction data recording area defined in the QR Code (registered trademark) standard) in which error correction data for error correction in the recording area is recorded, and an error correction data recording area An image area 121 configured as an area in which error correction is performed by data is provided. When the control unit 3 corresponding to the structure determination unit generates a new information code as shown in FIG. 20B by selecting “maximum enlargement of the internal image”, the control unit 3 At least the first area where the fixed pattern is arranged (area such as the finder pattern and alignment pattern in the QR code (registered trademark) after the display change) and the decoding target data recorded in the data recording area are recorded. A second area (normal decoding target data recording area defined in the QR Code (registered trademark) standard) and a third area (QR code) in which error correction data for error correction in the second area is recorded. (Registered Trademark) standard error correction data recording area) and an area for error correction by the data in the third area and the image area 121 (FIG. 20A). The fourth region 121 where the image is enlarged or reduced image in a predetermined manner represented in) determines the internal structure of (FIG. 20 (B)) and a new form of providing the information code.

また、図20(B)のように、変更指示に応じた大きさの新たな情報コードを生成する場合には、変更指示に基づいて当該新たな情報コードでの誤り訂正率を決定している。例えば、図20(A)の情報コードでの誤り訂正率よりも、図20(B)の情報コードでの誤り訂正率のほうが大きくなるように誤り訂正を高め、より広い範囲の誤りを訂正できるようにしている。そして、新たに設定された誤り訂正率にて訂正できる範囲で画像領域121を再構成している。この場合、変更後に設定される画像領域121の誤りを訂正できるレベルに誤り訂正率を変更すればよく、変更前の誤り訂正率でも変更後の画像領域121の誤りを訂正できる場合にはそのまま変更しなくてもよい。   As shown in FIG. 20B, when a new information code having a size corresponding to the change instruction is generated, the error correction rate for the new information code is determined based on the change instruction. . For example, error correction can be enhanced so that the error correction rate with the information code in FIG. 20B is larger than the error correction rate with the information code in FIG. 20A, and a wider range of errors can be corrected. I am doing so. Then, the image area 121 is reconstructed within a range that can be corrected with the newly set error correction rate. In this case, the error correction rate may be changed to a level at which the error in the image area 121 set after the change can be corrected. If the error in the image area 121 after the change can be corrected even with the error correction rate before the change, the error correction rate is changed You don't have to.

また、図20(B)のように、変更指示に応じた大きさの新たな情報コードを生成する場合には、図20(A)のような変更前の情報コードに元々記録されていた解読対象データと、その解読対象データとは異なる所定のダミーデータと、を含んだデータを記録する形で第2領域を構成している。本構成では、図20(A)で示す変更前の情報コード200では、「△△を開発しました・・・」という解読対象データが記録されており、図20(B)のようにサイズを大きくした情報コードでも「△△を開発しました・・・」という同一のデータを記録しているが、サイズを大きくした情報コードでは、「△△を開発しました・・・」という同一データだけではセル配列領域が余ってしまうことになる。そこで、このような余りを埋めるように、「△△を開発しました・・・」という元々の解読対象データ以外に、所定の文字を並べたダミーデータを配列している。これにより、変更後の情報コード200(図20(B))において、特定パターン記録領域、画像領域、フォーマットデータの記録領域、解読対象データの記録領域、誤り訂正データ記録領域などの領域以外で空いた領域を、ダミーデータの記録領域として埋めている。   When a new information code having a size corresponding to the change instruction is generated as shown in FIG. 20B, the decoding originally recorded in the information code before change as shown in FIG. The second area is configured by recording data including target data and predetermined dummy data different from the data to be decoded. In this configuration, in the information code 200 before the change shown in FIG. 20 (A), the data to be decoded that “△△ has been developed ...” is recorded, and the size is as shown in FIG. 20 (B). Even with the larger information code, the same data “△△ has been developed ...” is recorded, but with the information code with a larger size, only the same data “△△ has been developed ...” Then, the cell array area will be left over. Therefore, dummy data in which predetermined characters are arranged is arranged in addition to the original data to be decoded that “ΔΔ has been developed” so as to fill such a remainder. As a result, the information code 200 after the change (FIG. 20B) is empty except for the specific pattern recording area, the image area, the format data recording area, the decoding target data recording area, and the error correction data recording area. This area is filled as a recording area for dummy data.

なお、本構成では、画像の縮小処理も可能である。例えば、「倍率」が80%であれば、「画像としての拡大・縮小」又は「内部画像を最大限に拡大」のいずれかが選択された場合、図20(A)のように既に表示されている情報コードのサイズに対し、縦の長さを80%に縮小し、横の長さを80%に縮小するように情報コードを縮小することになる。例えば、「倍率」が100%よりも小さい値が指定された状態で「画像としての拡大・縮小」が選択された場合には、縮小前の情報コードと縮小後の情報コードが相似形となるようにコード全体として一体的に縮小する。一方、「倍率」が100%よりも小さい値が指定された状態で「内部画像を最大限に拡大」が選択された場合には、サイズ縮小指示の前に表示部6に表示されていた情報コード(例えば図20(A))での情報コード全体に対する画像領域の割合よりも、サイズ縮小指示の後に表示部6に表示されていた情報コードでの情報コード全体に対する画像領域の割合のほうが大きくなるように変更する。   In this configuration, image reduction processing is also possible. For example, if “magnification” is 80%, when either “enlargement / reduction as image” or “enlargement of internal image to the maximum” is selected, it is already displayed as shown in FIG. The information code is reduced so that the vertical length is reduced to 80% and the horizontal length is reduced to 80% with respect to the size of the information code. For example, when “magnification / reduction as image” is selected in a state where “magnification” is smaller than 100%, the information code before reduction and the information code after reduction are similar. As a whole, the entire code is reduced. On the other hand, when “magnify the internal image to the maximum” is selected in a state where “magnification” is smaller than 100%, the information displayed on the display unit 6 before the size reduction instruction is given. The ratio of the image area to the entire information code in the information code displayed on the display unit 6 after the size reduction instruction is larger than the ratio of the image area to the entire information code in the code (for example, FIG. 20A). Change to

(本構成の効果の例)
本構成でも、第1実施形態と同様の効果が得られる。
更に、本構成によれば、変更前後のいずれの情報コードにおいても、画像が表示される領域を、誤り訂正データによって誤り訂正がなされる領域として表すことができる。よって、画像領域の分を誤り訂正データによって訂正するという既存の思想を生かしつつ、画像領域の割合を変更するという斬新な表示変更が可能となる。
(Example of effects of this configuration)
Even in this configuration, the same effect as in the first embodiment can be obtained.
Furthermore, according to this configuration, in any information code before and after the change, an area where an image is displayed can be represented as an area where error correction is performed using error correction data. Therefore, it is possible to make a novel display change by changing the ratio of the image area while utilizing the existing idea of correcting the image area by the error correction data.

また、本構成では、生成部は、変更指示に応じた大きさの新たな情報コードを生成する場合に、変更指示に基づいて当該新たな情報コードでの誤り訂正率を決定する誤り訂正率決定部を備えている。そして、構造決定部は、変更指示に基づいて誤り訂正率決定部によって決定された誤り訂正率に従って、新たな情報コードでの内部構成を決定している。
このように、変更指示に応じて新たな情報コードを生成する際に誤り訂正率を新たに決定できる構成とすれば、誤り訂正率が変更前の構成に拘束されない形で、自由度の大きい且つ細かな調整が可能となる。
In this configuration, when generating a new information code having a size corresponding to the change instruction, the generation unit determines an error correction rate for determining the error correction rate for the new information code based on the change instruction. Department. Then, the structure determining unit determines the internal configuration with the new information code according to the error correction rate determined by the error correction rate determining unit based on the change instruction.
In this way, if a configuration in which an error correction rate can be newly determined when a new information code is generated in response to a change instruction, the degree of freedom is large and the error correction rate is not constrained by the configuration before the change. Fine adjustment is possible.

また、本構成では、構造決定部は、変更指示に応じて当該変更指示の前に表示部に表示されていた情報コードとは異なる大きさの新たな情報コードを生成する場合に、解読対象データと、解読対象データとは異なる所定のダミーデータと、を含んだデータを記録する形で第2領域を構成する。この構成によれば、大きさの変更によって空いたスペース(画像領域でもなく、解読対象データの記録領域でもない空いたスペース)が生じる場合であっても、そのスペースをダミーデータで埋めて体裁を整え、意匠性の低下を防ぐことができる。   Further, in this configuration, the structure determination unit generates data to be decoded when generating a new information code having a size different from the information code displayed on the display unit before the change instruction according to the change instruction. And the second area is configured to record data including predetermined dummy data different from the data to be decoded. According to this configuration, even when an empty space (an empty space that is neither an image area nor a recording area for data to be decoded) is generated due to the change in size, the space is filled with dummy data to make the appearance. It is possible to prevent the deterioration of designability.

[第3実施形態]
次に、第3実施形態について説明する。
第3実施形態の情報コード利用システムも、ハードウェア構成については第1実施形態と同一であり、上述した図1、図2のような構成が用いられる。
[Third Embodiment]
Next, a third embodiment will be described.
The information code utilization system of the third embodiment is the same as that of the first embodiment in terms of hardware configuration, and the configuration as shown in FIGS. 1 and 2 is used.

第3実施形態の情報コード利用システムでは、情報コード表示装置2(図1等参照)により図22(B)のような情報コード300を生成する。この構成でも、コード領域の内部に、予め定められた形状の特定パターン(L字状のアライメントパターン304a及び明色セルと暗色セルが1セルずつ交互に配置され、コード領域の境界に沿ったL字状の領域を構成するタイミングパターン(タイミングセル)304b)が配置される特定パターン領域と、複数種類のセルによってデータを記録するデータ記録領域とを設け、コード領域の内部において、特定パターン領域以外の位置に、データ記録領域にデータを記録する方法とは異なる方法で、データの記録又はデザインの表示の少なくともいずれかが可能となる空き領域310を、単一のセルのサイズよりも大きい所定サイズで設けている。   In the information code utilization system of the third embodiment, the information code 300 as shown in FIG. 22B is generated by the information code display device 2 (see FIG. 1 and the like). Even in this configuration, a specific pattern having a predetermined shape (L-shaped alignment pattern 304a and light cells and dark cells are alternately arranged one by one inside the code region, and L along the boundary of the code region. A specific pattern area in which a timing pattern (timing cell) 304b) constituting a character-shaped area is arranged, and a data recording area in which data is recorded by a plurality of types of cells are provided. The empty area 310 in which at least one of data recording and design display can be performed at a position different from the method of recording data in the data recording area is set to a predetermined size larger than the size of a single cell. Is provided.

この構成では、空き領域310の構成以外は、公知のデータマトリックスコードとして構成されており、まず、図22(A)のように、コード領域の内部に、特定パターン領域と、データ記録領域と、複数種類のセルによって誤り訂正符号を記録する誤り訂正符号記録領域とを設けている。なお、データ記録領域でのデータコードワードの記録方法及び誤り訂正符号記録領域での誤り訂正コードワードの記録方法は公知のデータマトリックスコードと同様であり、コード領域内のアライメントパターン304aやタイミングパターン304bの配置、データ記録領域におけるデータコードワードの配置、誤り訂正符号記録領域での誤り訂正コードワードの配置は、例えばECC200バージョンに従って定められている。   In this configuration, except for the configuration of the empty area 310, it is configured as a known data matrix code. First, as shown in FIG. 22A, in the code area, a specific pattern area, a data recording area, An error correction code recording area for recording an error correction code by a plurality of types of cells is provided. The recording method of the data code word in the data recording area and the recording method of the error correction code word in the error correction code recording area are the same as the known data matrix code, and the alignment pattern 304a and timing pattern 304b in the code area. The arrangement of the data code word in the data recording area and the arrangement of the error correction code word in the error correction code recording area are determined in accordance with, for example, the ECC200 version.

但し、図22(A)のように、一部領域のコードワードを、白セルのみによって表現されるコードワードとして構成した情報コード300’を生成し、このように白セルのみによって表現される領域ARを空き領域310として、図22(B)のように、この空き領域310内に画像領域121を設けている。図22(B)のように空き領域310に画像領域121を設ける場合、図22(A)のような本来のデータ表示とは異なった構成になるが、この空き領域310でのデータの誤りは、誤り訂正符号記録領域に記録された誤り訂正符号を用いて公知の誤り訂正を行えばよい。   However, as shown in FIG. 22A, an information code 300 ′ in which a code word of a partial area is configured as a code word expressed only by white cells is generated, and thus an area expressed only by white cells. With AR as a free area 310, an image area 121 is provided in this free area 310 as shown in FIG. When the image area 121 is provided in the empty area 310 as shown in FIG. 22B, the configuration is different from the original data display as shown in FIG. 22A. A known error correction may be performed using the error correction code recorded in the error correction code recording area.

また、図22(B)に示す情報コード300では、空き領域310の位置が予め特定されるため、空き領域310内にデザインや情報を付加して表示する場合にはこの表示による誤り位置が予め分かっていることになる。従って、空き領域310の位置を誤り位置として消失訂正を行うように誤り訂正符号記録領域の誤り訂正符号を構成することもできる。この場合、空き領域310の位置を示す情報を予めデータ記録領域に記録しておいたり、或いは、予め読取装置10(図1)内に記憶しておくことで、読取時に読取装置10が空き領域310の位置(即ち、誤りが生じているデータコードワードの位置)を特定することができるようになり、読取装置10は、このように位置が特定された空き領域310に存在するデータコードワードの誤りを訂正するように、誤り訂正符号記録領域に記録された誤り訂正符号を用いて消失訂正を行うようにすればよい。   In the information code 300 shown in FIG. 22B, the position of the empty area 310 is specified in advance. Therefore, when a design or information is added and displayed in the empty area 310, the error position by this display is set in advance. I know that. Therefore, the error correction code in the error correction code recording area can be configured to perform erasure correction using the position of the empty area 310 as the error position. In this case, information indicating the position of the empty area 310 is recorded in the data recording area in advance, or is stored in the reading apparatus 10 (FIG. 1) in advance, so that the reading apparatus 10 can read the empty area at the time of reading. The position of 310 (that is, the position of the data code word in which an error has occurred) can be specified, and the reader 10 can determine the position of the data code word existing in the empty area 310 in which the position is specified in this way. In order to correct the error, the erasure correction may be performed using the error correction code recorded in the error correction code recording area.

また、図22のように既存のデータマトリックスコードの一部を空き領域310として構成する場合、データ記録領域に記録されるデータにおいて、図21と同様の識別情報を含ませておけばよい。また、識別情報の例はこの例に限られるものではなく、例えば専用のコードワードを用いるようにしてもよい。データマトリックスコードの仕様として、例えば、0〜128をASCII文字、233を連結モードなどとして定めている場合、「234」を画像認識用の特別なコードワードとして新たに定めるようにしてもよい。このような例では、データ記録領域のデータに「234」のコードワードが含まれている場合に、画像領域121の画像認識処理を行えばよい。   Further, when a part of the existing data matrix code is configured as the empty area 310 as shown in FIG. 22, the identification information similar to that shown in FIG. 21 may be included in the data recorded in the data recording area. Moreover, the example of identification information is not restricted to this example, For example, you may make it use a codeword for exclusive use. As the specification of the data matrix code, for example, when 0 to 128 is defined as an ASCII character and 233 is a connection mode, “234” may be newly defined as a special code word for image recognition. In such an example, when the code word “234” is included in the data in the data recording area, the image recognition process for the image area 121 may be performed.

そして、このように構成される情報コード300においても、第1、第2実施形態と同様の方法(図10等参照)で表示処理を行うことができる。また、この情報コード300に対する表示処理(例えば、コードサイズの変更処理など)においては、第2実施形態と同様の思想を適用することができる。   And also in the information code 300 comprised in this way, a display process can be performed by the method (refer FIG. 10 etc.) similar to 1st, 2nd embodiment. Further, in the display processing (for example, code size change processing) for the information code 300, the same idea as in the second embodiment can be applied.

[他の実施形態]
本発明は上記記述及び図面によって説明した実施形態に限定されるものではなく、例えば次のような実施形態も本発明の技術的範囲に含まれる。
[Other Embodiments]
The present invention is not limited to the embodiments described with reference to the above description and drawings. For example, the following embodiments are also included in the technical scope of the present invention.

第1実施形態等では、情報コード100内に、情報入力領域の位置を示す位置データ(例えば、図3に示す画像領域位置情報など)を含ませるようにしていたが、このような例に限られない。例えば、情報コード表示装置2が、空き領域において予め定められた所定位置に画像領域を配置するように情報コードを生成する構成であってもよい。この場合、所定位置を特定する情報(図3に示す画像領域位置情報などの情報)が記憶部5に記憶されていればよい。また、この場合、情報コード読取装置10には、情報コード表示装置2と同様、所定位置を特定する特定情報(図3に示す画像領域位置情報などの情報)をメモリ35に記憶しておけばよい。そして、情報コード読取装置10では、図9のS45において、メモリ35からこのような特定情報を読み出して情報入力領域を特定した上で、それ以降の処理を行えばよい。また、この場合、図3に示す画像領域位置情報は、ヘッダデータに含めなくてもよい。   In the first embodiment and the like, the position data indicating the position of the information input area (for example, the image area position information shown in FIG. 3) is included in the information code 100. However, the present invention is not limited to such an example. I can't. For example, the information code display device 2 may be configured to generate the information code so that the image area is arranged at a predetermined position in the empty area. In this case, information for specifying a predetermined position (information such as image region position information shown in FIG. 3) may be stored in the storage unit 5. In this case, as in the information code display device 2, the information code reading device 10 stores specific information (information such as image area position information shown in FIG. 3) for specifying a predetermined position in the memory 35. Good. Then, in the information code reader 10, in S45 of FIG. 9, such specific information is read from the memory 35 to specify the information input area, and the subsequent processing may be performed. In this case, the image area position information shown in FIG. 3 may not be included in the header data.

本発明は、上述した表示処理を行うためのコンピュータ読取可能なプログラムとして構成することもできる。また、上述した表示処理を行うためのプログラムを記録した記録媒体として構成することもできる。   The present invention can also be configured as a computer-readable program for performing the display processing described above. Moreover, it can also be comprised as a recording medium which recorded the program for performing the display process mentioned above.

図1等の構成では、情報コード表示装置2と情報コード読取装置10が別々の装置として構成された例を示しているが、情報コード表示装置2が情報コード読取装置10として構成されていてもよい。また、情報コード表示装置2が、複数の装置によって構成されていてもよく、情報コード読取装置10が複数の装置によって構成されていてもよい。   In the configuration of FIG. 1 and the like, an example in which the information code display device 2 and the information code reading device 10 are configured as separate devices is shown, but the information code display device 2 may be configured as the information code reading device 10. Good. Further, the information code display device 2 may be constituted by a plurality of devices, and the information code reading device 10 may be constituted by a plurality of devices.

上記実施形態では、コード領域の中央部に空き領域110(画像領域121)を設けた例を示したが、空き領域110の配置はこの例に限られない。例えば、コード領域の周縁付近に空き領域を設け、この領域を画像領域121としてもよい。また、画像領域のデザインとしては、図形、模様、色彩又はこれらの結合からなる構成であれば他の様々なデザインを採用することができる。また、デザインに代えて、或いはデザインと共に情報を表示する場合、その情報の内容は様々である。   In the above embodiment, an example in which the empty area 110 (image area 121) is provided at the center of the code area has been described. However, the arrangement of the empty area 110 is not limited to this example. For example, an empty area may be provided near the periphery of the code area, and this area may be used as the image area 121. In addition, as the design of the image area, various other designs can be adopted as long as the configuration includes a figure, a pattern, a color, or a combination thereof. In addition, when information is displayed instead of the design or together with the design, the contents of the information are various.

上記実施形態では、他種コードとしてQRコードを例に挙げ、情報コード100で用いる特定パターンとしてQRコードの特定パターンを例に挙げたが、これ以外の種類の二次元コードを用いてもよい。例えば、他種コードとしてデータマトリックスコードを用い、情報コード100で用いる特定パターンをデータマトリックスコードの特定パターンとしてもよい。   In the above embodiment, the QR code is taken as an example of the other type code, and the specific pattern of the QR code is taken as an example of the specific pattern used in the information code 100. However, other types of two-dimensional codes may be used. For example, a data matrix code may be used as the other type code, and a specific pattern used in the information code 100 may be used as the specific pattern of the data matrix code.

上記実施形態では、「コード領域」の一例を示したが、「コード領域」は、情報コードを構成する複数種類のセルを全て含む最小の正方形領域又は長方形領域であればよく、コード領域の内縁部の一部にセルが配列されていなくてもよい。例えば、図23の情報コード800ように、空き領域810がコード領域の周縁部に隣接して形成されていてもよい。この場合、情報コード800を構成する複数種類のセルを全て含む最小の正方形領域又は長方形領域は、一点鎖線ARのようになり、空き領域810の外縁は、例えば二点鎖線AR2のようになる。また、認識対象となる画像領域はコード領域内に少なくとも一部が存在すればよく、図24の画像領域AR3ように、残余の部分がコード領域外に存在するような構成であってもよい。図24のような例では、予め画像領域AR3がどのような範囲になるかを特定する情報をデータ記録領域に記録しておけばよい。   In the above embodiment, an example of the “code area” is shown. However, the “code area” may be a minimum square area or rectangular area that includes all of the plurality of types of cells constituting the information code, and the inner edge of the code area. The cell may not be arranged in a part of the part. For example, as shown in the information code 800 of FIG. 23, the empty area 810 may be formed adjacent to the periphery of the code area. In this case, the minimum square area or rectangular area including all of the plurality of types of cells constituting the information code 800 is as indicated by a one-dot chain line AR, and the outer edge of the empty area 810 is as indicated by a two-dot chain line AR2, for example. Further, it is sufficient that the image area to be recognized is at least partially in the code area, and the remaining area is outside the code area as in the image area AR3 in FIG. In the example as shown in FIG. 24, information specifying the range of the image area AR3 may be recorded in the data recording area in advance.

上記実施形態では、コード領域内を構成する複数種類のセルとして、白色セルなどの明セルと黒色セルなどの暗セルを例示したが、コード領域内の特定パターン領域、データ記録領域、誤り訂正符号記録領域が、所定の濃度、輝度、色彩の第1種セルと、この第1種セルとは濃度、輝度、色彩のいずれかが異なる第2種セルに構成されていてもよい。或いは、コード領域内の特定パターン領域、データ記録領域、誤り訂正符号記録領域が、濃度、輝度、色彩のいずれかがそれぞれ異なる三種類以上のセルによって構成されていてもよい。   In the above embodiment, a bright cell such as a white cell and a dark cell such as a black cell are exemplified as a plurality of types of cells constituting the code area. However, a specific pattern area, a data recording area, and an error correction code in the code area are exemplified. The recording area may be configured as a first type cell having a predetermined density, luminance, and color, and a second type cell that is different in density, luminance, or color from the first type cell. Alternatively, the specific pattern area, the data recording area, and the error correction code recording area in the code area may be configured by three or more types of cells each having different density, luminance, or color.

上記実施形態では、コード領域内の特定パターン領域、データ記録領域、誤り訂正符号記録領域において、外形が正方形状のセルを複数配列した例を示したが、各セルの外形は正方形以外の四角形であってもよく、四角形以外の多角形や、円形、楕円形などの図形であってもよい。   In the above embodiment, an example in which a plurality of cells having a square outer shape are arranged in the specific pattern area, the data recording area, and the error correction code recording area in the code area has been described. It may be a polygon other than a rectangle, or a figure such as a circle or an ellipse.

上記実施形態では、特定パターンの例として位置検出パターン104、タイミングパターン106、アライメントパターン108などを例示したが、データ記録領域及び誤り訂正符号記録領域の内容に関係なく固定のパターンとして構成される領域であれば、特定パターンを構成する図形は他の固有図形であってもよい。   In the above embodiment, the position detection pattern 104, the timing pattern 106, the alignment pattern 108, and the like are illustrated as examples of the specific pattern. However, the area is configured as a fixed pattern regardless of the contents of the data recording area and the error correction code recording area. If so, the figure constituting the specific pattern may be another unique figure.

上記実施形態では、空き領域の一例を示したが、空き領域は、セルによって解読対象データが記録されない領域であり、データ記録領域にデータを記録する方法とは異なる方法で情報の表示又は画像の表示がなされる領域であればよい。例えば、第1実施形態のように、コードワードが全く配置されない領域として空き領域が構成されていてもよく、公知のQRコードなどにおいて、誤り訂正符号を表現する誤り訂正コードワードや解読対象データを表現するデータコードワードが配置されず、埋め草コードワードが配置される領域を空き領域としてもよい。また、いずれの空き領域の場合でも、「セルによってデータ記録領域にデータを記録する方法とは異なる方法で情報の表示」を行うことができ、この情報の表示は、上記実施形態で例示される情報のほか、例えば、文字、数字、その他の記号などによるその他の情報であってもよく、商標などによって特定の商品やサービスを表すような情報の表示方法であってもよい。また、空き領域では、「セルによってデータ記録領域にデータを記録する方法とは異なる方法では画像の表示」を行うことができ、この画像の表示は、上記実施形態で例示される画像のほか、様々な形状、模様、色彩、それらの結合などを表すことができる。   In the above embodiment, an example of the empty area is shown. However, the empty area is an area in which the data to be decoded is not recorded by the cell, and information display or image Any area may be used as long as it is displayed. For example, as in the first embodiment, a vacant area may be configured as an area where no code word is arranged. In a known QR code, an error correction code word that represents an error correction code or data to be decoded is used. An area where a data code word to be expressed is not arranged and a padding code word is arranged may be a free area. Further, in any free area, “information display by a method different from the method of recording data in the data recording area by cell” can be performed, and this information display is exemplified in the above embodiment. In addition to information, other information such as letters, numbers, and other symbols may be used, or a method of displaying information that represents a specific product or service by a trademark or the like may be used. Further, in the free area, “image display by a method different from the method of recording data in the data recording area by cell” can be performed, and the display of this image is not limited to the image exemplified in the above embodiment, Various shapes, patterns, colors, combinations thereof, and the like can be represented.

また、図25の情報コード900のように構成してもよい。この例は、第1実施形態と同様の空き領域を設ける構成であるが、空き領域の特定のみが第1実施形態と異なっている。なお、図25の例では、一部の特定パターン以外の領域の具体的内容は省略して示しており、実際は、空き領域910外の外部領域に明色セルや暗色セルが配置されることになる。また、空き領域910内は、例えば第1実施形態の空き領域110と同様の画像、或いは他の実施形態の空き領域と同様の画像が表示される。
本構成でも、情報コード900の種別において複数の型番が用意されており、型番毎にセルの行数及び列数、特定パターンの形状及び位置、フォーマット情報の位置、コードワードの候補位置(アドレス)が予め定められている。そして、表示装置2が情報コード900を生成する際には、型番情報をコード領域内の決められた位置(図25の例では予約領域107)に配置するようになっている。従って、読取装置10が情報コード900を読み取る際には、情報コード900のコード画像を解析し、所定位置に配置された型番情報を読み取ることで、情報コード900のセルの行数及び列数、特定パターンの形状及び位置、フォーマット情報の位置、コードワードの候補位置(アドレス)を把握できることになる。
情報コード900を生成する際には、予め用意された複数の型番の中からいずれかの型番を選択する。これにより、コード領域内の基本構成(特定パターン104の位置、セルの行数及び列数、コードワードの候補位置)が決定する。例えば、図25に示す構成の型番では、29行29列のセル配列となっており、予め定められた3つの角部に、QRコード(登録商標)の切り出しシンボルと同一の構造の特定パターン104が配置されるようになっている。そして、特定パターン104の近くの所定位置に、フォーマット情報を記録する領域(所定位置105)が設けられている。また、29行29列のマトリックス領域において、特定パターン104及び所定位置105以外の位置に、予めコードワードの候補位置が定められており、各候補位置に0〜67までのアドレスが割り当てられている。このように、型番に対応する構成で予めコード領域内の構成が規定されているため、型番が特定されれば、どの順番のコードワードがどの位置に配置されるかを特定することが可能となる。なお、決定した型番の情報は、その型番の配列において予め定められた固定位置に記録される。例えば図25の例では、所定種類のハッチングで特定される領域107に型番の情報が記録されるようになっている。
そして、型番が決定し、コード領域内の基本構成が決定した後には、空き領域の形状及び位置を決定する。空き領域の形状の決定方法は、例えば、予め用意された複数の候補形状の中から選定する方式で決定してもよく、或いは、情報コード表示装置2に対して外部から入力された形状指定情報に従った形状に設定する方式で決定してもよい。或いは、決められた固定形状のみに決定してもよい。また、空き領域の位置については、予め決められた固定位置に決定してもよく、ユーザが位置を指定する情報を入力することで、その位置に決定するようにしてもよい。
そして、空き領域が決定した後には、決定された空き領域の位置から外れるコードワードの候補位置に、データ記録領域のコードワード及び誤り訂正符号記録領域のコードワードをそれぞれ配置する構成で情報コード900を生成する。例えば、図25のような構成の型番では、3つの角部に特定パターン104が配置され、これら特定パターン104の位置を基準として、0〜67の番号が付された68個のコードワードの候補位置が予め規定されている。このようなレイアウトにおいて、図25のように空き領域910が決定した場合、少なくとも一部が空き領域910内に入るコードワードの候補位置を配置対象位置から除外し、その除外されたコードワードの位置を飛ばすようにして、順番にコードワードを配置する。例えば、図25の例では、50、51番、53、54番、60〜67番のコードワードの候補位置に入り込むように空き領域910が設定されているため、これら50、51番、53、54番、60〜67番のコードワードの候補位置にはコードワードを配置しないようにする。即ち、0〜49番の位置に順番にコードワードを配置した後、50、51番を飛ばして52番の位置にコードワードを配置し、その後、53、54番を飛ばして55〜59番の位置にコードワードを順番に配置することになる。このようにすれば、解読対象データを符号化したデータコードワードと、誤り訂正符号を表す誤り訂正コードワードとを、空き領域910から外れた候補位置に確実に配置することができる。
このように特定パターン領域(特定パターン104やその他の特定パターンの領域)、フォーマット領域(所定位置105)、型番領域107、各コードワード領域などを決定した後には、空き領域910の具体的な内容を決定する。この情報コード900でも、空き領域910に、空き領域110と同様の画像を表すことで、図1と同様の機能を有する情報コード900を構成することができる。なお、情報コード900の利用方法は第1実施形態やその他の実施形態と同様である。
Also, the information code 900 in FIG. 25 may be configured. In this example, the same empty area as that of the first embodiment is provided, but only the specification of the empty area is different from that of the first embodiment. In the example of FIG. 25, the specific contents of the areas other than some of the specific patterns are omitted, and in fact, light cells and dark cells are arranged in the external area outside the empty area 910. Become. In the free space 910, for example, an image similar to the free space 110 of the first embodiment or an image similar to the free space of other embodiments is displayed.
Also in this configuration, a plurality of model numbers are prepared for the type of the information code 900. For each model number, the number of rows and columns of cells, the shape and position of a specific pattern, the position of format information, and the candidate position (address) of a code word Is predetermined. When the display device 2 generates the information code 900, the model number information is arranged at a predetermined position in the code area (the reserved area 107 in the example of FIG. 25). Therefore, when the reading device 10 reads the information code 900, the code image of the information code 900 is analyzed, and the model number information arranged at a predetermined position is read, so that the number of rows and columns of cells of the information code 900, The shape and position of the specific pattern, the position of the format information, and the candidate position (address) of the code word can be grasped.
When generating the information code 900, one of the model numbers is selected from a plurality of model numbers prepared in advance. Thereby, the basic configuration (the position of the specific pattern 104, the number of rows and columns of cells, the candidate position of the code word) in the code area is determined. For example, the model number of the configuration shown in FIG. 25 has a cell array of 29 rows and 29 columns, and a specific pattern 104 having the same structure as a QR code (registered trademark) cut-out symbol at three predetermined corners. Is arranged. An area (predetermined position 105) for recording format information is provided at a predetermined position near the specific pattern 104. In addition, in the 29 × 29 matrix area, codeword candidate positions are determined in advance at positions other than the specific pattern 104 and the predetermined position 105, and addresses from 0 to 67 are assigned to the candidate positions. . In this way, since the configuration in the code area is defined in advance in the configuration corresponding to the model number, if the model number is specified, it is possible to specify which order code word is arranged at which position. Become. The information of the determined model number is recorded at a predetermined fixed position in the model number array. For example, in the example of FIG. 25, model number information is recorded in an area 107 specified by a predetermined type of hatching.
After the model number is determined and the basic configuration in the code area is determined, the shape and position of the empty area are determined. The method for determining the shape of the vacant area may be determined by, for example, a method of selecting from a plurality of candidate shapes prepared in advance, or shape designation information input from the outside to the information code display device 2 You may decide by the method of setting to the shape according to. Or you may determine only to the fixed shape decided. Further, the position of the empty area may be determined as a predetermined fixed position, or may be determined by inputting information for designating the position by the user.
After the vacant area is determined, the information code 900 is configured such that the code word in the data recording area and the code word in the error correction code recording area are respectively arranged at the candidate position of the code word that deviates from the determined position of the vacant area. Is generated. For example, in the model number configured as shown in FIG. 25, specific patterns 104 are arranged at three corners, and 68 codeword candidates numbered from 0 to 67 on the basis of the positions of the specific patterns 104 are used. The position is defined in advance. In such a layout, when the empty area 910 is determined as shown in FIG. 25, the candidate position of the code word that at least partially enters the empty area 910 is excluded from the arrangement target position, and the position of the excluded code word The code words are arranged in order as if skipping. For example, in the example of FIG. 25, since the empty area 910 is set so as to enter the candidate positions of the code words 50, 51, 53, 54, and 60 to 67, these 50, 51, 53, Code words are not arranged at the candidate positions of the 54th and 60th to 67th codewords. That is, after the code words are arranged in order at positions 0 to 49, the code words 50 and 51 are skipped and the code words are arranged at the position 52, and then the codes 53 and 54 are skipped and the codes 55 to 59 are skipped. The code words are arranged in order at the positions. In this way, the data code word obtained by encoding the data to be decoded and the error correction code word representing the error correction code can be reliably arranged at the candidate positions outside the empty area 910.
After determining the specific pattern area (specific pattern 104 or other specific pattern area), the format area (predetermined position 105), the model number area 107, each codeword area, and the like, the specific contents of the empty area 910 are determined. To decide. In this information code 900 as well, an information code 900 having the same function as in FIG. 1 can be configured by representing an image similar to the empty area 110 in the empty area 910. Note that the method of using the information code 900 is the same as in the first embodiment and other embodiments.

1…情報コード利用システム
2…情報コード表示装置
3…制御部(受付部、生成部、割合決定部、構成決定部、誤り訂正率決定部)
4…操作部(受付部)
6…表示部
10…情報コード読取装置
100…情報コード
102…セル
104…位置検出パターン(特定パターン)
110…空き領域(画像領域)
DESCRIPTION OF SYMBOLS 1 ... Information code utilization system 2 ... Information code display apparatus 3 ... Control part (Reception part, production | generation part, ratio determination part, structure determination part, error correction rate determination part)
4 ... Operation part (reception part)
DESCRIPTION OF SYMBOLS 6 ... Display part 10 ... Information code reader 100 ... Information code 102 ... Cell 104 ... Position detection pattern (specific pattern)
110 ... Empty area (image area)

Claims (12)

情報を表示する単位となるセルが配列された領域と、少なくとも前記セル以外の画像が表示される画像領域と、を備えた情報コードを表示可能な表示部と、
前記表示部に表示された情報コードの全体の大きさ又は一部要素の大きさを変更する変更指示を受け付け可能な受付部と、
前記表示部にて情報コードが表示された後、前記受付部によって前記変更指示が受け付けられた場合に、前記変更指示の前に前記表示部に表示されていた情報コードの記録内容が少なくとも記録され且つ前記画像領域の画像が表された新たな情報コードを前記変更指示に応じた内容で生成する処理を行う生成部と、
を備え、
前記生成部は、
前記変更指示に応じた内容の前記新たな情報コードを生成する場合に、当該新たな情報コードでの情報コード全体に対する前記画像領域の割合を決定する割合決定部と、
前記割合決定部で決定された前記画像領域の割合に従い、前記変更指示に応じた内容となるように前記新たな情報コードの内部構成を決定する構成決定部と、
を有し、
前記表示部は、前記生成部によって前記新たな情報コードを生成する処理が行われた場合に、前記構成決定部によって決定された内部構成で前記新たな情報コードを表示し、
前記割合決定部は、前記変更指示の前に前記表示部に表示されていた情報コードよりも全体サイズ又は前記画像領域のサイズを大きくするサイズ拡大指示が前記受付部によって受け付けられた場合に、当該サイズ拡大指示の前に前記表示部に表示されていた情報コードでの情報コード全体に対する前記画像領域の割合よりも大きくするように、前記新たな情報コードでの情報コード全体に対する前記画像領域の割合を決定することを特徴とする情報コード表示装置。
A display unit capable of displaying an information code comprising: an area in which cells serving as units for displaying information are arranged; and an image area in which an image other than the cells is displayed;
A receiving unit capable of receiving a change instruction to change the overall size of the information code displayed on the display unit or the size of a part of the information code;
After the information code is displayed on the display unit, when the change instruction is received by the receiving unit, at least the recorded content of the information code displayed on the display unit before the change instruction is recorded. And a generation unit that performs a process of generating a new information code in which the image of the image area is represented with contents according to the change instruction;
With
The generator is
A ratio determining unit that determines a ratio of the image area with respect to the entire information code in the new information code when generating the new information code according to the change instruction;
A configuration determining unit that determines an internal configuration of the new information code so that the content corresponds to the change instruction according to the ratio of the image area determined by the ratio determining unit;
Have
The display unit displays the new information code in the internal configuration determined by the configuration determination unit when the generation unit performs the process of generating the new information code ,
The ratio determining unit, when the receiving unit receives a size enlargement instruction to increase the overall size or the size of the image area than the information code displayed on the display unit before the change instruction, The ratio of the image area to the entire information code in the new information code so as to be larger than the ratio of the image area to the entire information code in the information code displayed on the display unit before the size enlargement instruction An information code display device characterized by determining
前記構造決定部は、情報コードの全体サイズを大きくする前記サイズ拡大指示が前記受付部によって受け付けられた場合に、当該サイズ拡大指示の前に前記表示部に表示されていた情報コードでの前記画像領域の大きさに対するセルの大きさの割合よりも、前記新たな情報コードでの前記画像領域の大きさに対するセルの大きさの割合のほうが小さくなるように、前記新たな情報コードでの内部構成を決定することを特徴とする請求項1に記載の情報コード表示装置。   The structure determining unit, when the size enlargement instruction for increasing the overall size of the information code is accepted by the accepting unit, the image with the information code displayed on the display unit before the size enlargement instruction The internal configuration of the new information code so that the ratio of the cell size to the size of the image area in the new information code is smaller than the ratio of the cell size to the area size. The information code display device according to claim 1, wherein the information code display device is determined. 前記構成決定部は、前記サイズ拡大指示が前記受付部によって受け付けられた場合に、当該サイズ拡大指示の前に前記表示部に表示されていた情報コードでのセルの大きさと同じ大きさのセルを配列した構造とするように前記新たな情報コードでの内部構成を決定することを特徴とする請求項1に記載の情報コード表示装置。   When the size enlargement instruction is accepted by the accepting unit, the configuration determining unit selects a cell having the same size as the cell in the information code displayed on the display unit before the size enlargement instruction. The information code display device according to claim 1, wherein an internal configuration of the new information code is determined so as to obtain an arrayed structure. 情報を表示する単位となるセルが配列された領域と、少なくとも前記セル以外の画像が表示される画像領域と、を備えた情報コードを表示可能な表示部と、
前記表示部に表示された情報コードの全体の大きさ又は一部要素の大きさを変更する変更指示を受け付け可能な受付部と、
前記表示部にて情報コードが表示された後、前記受付部によって前記変更指示が受け付けられた場合に、前記変更指示の前に前記表示部に表示されていた情報コードの記録内容が少なくとも記録され且つ前記画像領域の画像が表された新たな情報コードを前記変更指示に応じた内容で生成する処理を行う生成部と、
を備え、
前記生成部は、
前記変更指示に応じた内容の前記新たな情報コードを生成する場合に、当該新たな情報コードでの情報コード全体に対する前記画像領域の割合を決定する割合決定部と、
前記割合決定部で決定された前記画像領域の割合に従い、前記変更指示に応じた内容となるように前記新たな情報コードの内部構成を決定する構成決定部と、
を有し、
前記表示部は、前記生成部によって前記新たな情報コードを生成する処理が行われた場合に、前記構成決定部によって決定された内部構成で前記新たな情報コードを表示し、
前記割合決定部は、前記変更指示の前に前記表示部に表示されていた情報コードよりもサイズを小さくするサイズ縮小指示が前記受付部によって受け付けられた場合に、当該サイズ縮小指示の前に前記表示部に表示されていた情報コードでの情報コード全体に対する前記画像領域の割合よりも大きくするように、前記新たな情報コードでの情報コード全体に対する前記画像領域の割合を決定することを特徴とする情報コード表示装置。
A display unit capable of displaying an information code comprising: an area in which cells serving as units for displaying information are arranged; and an image area in which an image other than the cells is displayed;
A receiving unit capable of receiving a change instruction to change the overall size of the information code displayed on the display unit or the size of a part of the information code;
After the information code is displayed on the display unit, when the change instruction is received by the receiving unit, at least the recorded content of the information code displayed on the display unit before the change instruction is recorded. And a generation unit that performs a process of generating a new information code in which the image of the image area is represented with contents according to the change instruction;
With
The generator is
A ratio determining unit that determines a ratio of the image area with respect to the entire information code in the new information code when generating the new information code according to the change instruction;
A configuration determining unit that determines an internal configuration of the new information code so that the content corresponds to the change instruction according to the ratio of the image area determined by the ratio determining unit;
Have
The display unit displays the new information code in the internal configuration determined by the configuration determination unit when the generation unit performs the process of generating the new information code,
The ratio determination unit, when a size reduction instruction to reduce the size than the information code displayed on the display unit before the change instruction is received by the reception unit, before the size reduction instruction The ratio of the image area to the entire information code in the new information code is determined so as to be larger than the ratio of the image area to the entire information code in the information code displayed on the display unit. to that information code display device.
前記構造決定部は、前記サイズ縮小指示が前記受付部によって受け付けられた場合に、当該サイズ縮小指示の前に前記表示部に表示されていた情報コードのセルよりも小さいセルを配列した構造とするように前記新たな情報コードでの内部構成を決定することを特徴とする請求項4に記載の情報コード表示装置。   When the size reduction instruction is received by the reception unit, the structure determination unit has a structure in which cells smaller than information code cells displayed on the display unit before the size reduction instruction are arranged. 5. The information code display device according to claim 4, wherein an internal configuration with the new information code is determined as described above. 前記構造決定部は、前記サイズ縮小指示が前記受付部によって受け付けられた場合に、当該サイズ縮小指示の前に前記表示部に表示されていた情報コードでの前記画像領域の大きさに対するセルの大きさの割合よりも、前記新たな情報コードでの前記画像領域の大きさに対するセルの大きさの割合のほうが小さくなるように、前記新たな情報コードでの内部構成を決定することを特徴とする請求項4に記載の情報コード表示装置。   When the size reduction instruction is received by the reception unit, the structure determination unit is configured to increase the cell size relative to the size of the image area in the information code displayed on the display unit before the size reduction instruction. The internal configuration of the new information code is determined so that the ratio of the cell size to the size of the image area in the new information code is smaller than the ratio of the size. The information code display device according to claim 4. 前記受付部は、所定の割合指定指示を受け付け可能とされており、
前記割合決定部は、前記受付部によって前記所定の割合指定指示が受け付けられた場合に、前記新たな情報コードでの情報コード全体に対する前記画像領域の割合を予め定められた所定の最大割合とすることを特徴とする請求項1から請求項6のいずれか一項に記載の情報コード表示装置。
The reception unit is capable of receiving a predetermined ratio designation instruction,
The ratio determination unit sets a ratio of the image area to the entire information code in the new information code as a predetermined maximum ratio when the reception unit receives the predetermined ratio designation instruction. The information code display device according to any one of claims 1 to 6, wherein
セルの行数及び列数の組み合わせが異なる複数種類の型番が用意されており、
前記構造決定部は、前記変更指示の前に前記表示部に表示されていた情報コードの記録内容と、前記変更指示とに基づいて新たな型番を決定し、その決定された型番と、前記割合決定部で決定された前記画像領域の割合とに基づいて前記新たな情報コードでの内部構成を決定することを特徴とする請求項1から請求項7のいずれか一項に記載の情報コード表示装置。
There are several types of models with different combinations of cell row and column numbers.
The structure determining unit determines a new model number based on the information code recording content displayed on the display unit before the change instruction and the change instruction, the determined model number, and the ratio The information code display according to any one of claims 1 to 7, wherein an internal configuration of the new information code is determined based on a ratio of the image area determined by a determination unit. apparatus.
前記変更指示の前に前記表示部に表示される情報コードは、前記コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類のセルによって解読対象データを表すデータ記録領域と、前記データ記録領域の誤り訂正を行うための誤り訂正データが記録される誤り訂正データ記録領域と、前記解読対象データが記録されず且つ前記データ記録領域の誤り訂正を行うための誤り訂正データが記録されない領域として構成される前記画像領域と、を設けた構成であり、
前記構造決定部は、前記コード領域の内部に、固定パターンが配置される第1領域と、前記データ記録領域に記録された前記解読対象データが少なくとも記録される第2領域と、前記第2領域の誤り訂正を行うための誤り訂正データが記録される第3領域と、前記解読対象データが記録されず且つ前記第2領域の誤り訂正を行うための誤り訂正データが記録されない領域として構成され、前記画像領域の画像を所定の方式で拡大又は縮小した画像が表される第4領域と、を設けた形で前記新たな情報コードの内部構成を決定することを特徴とする請求項1から請求項8のいずれか一項に記載の情報コード表示装置。
The information code displayed on the display unit before the change instruction includes the specific pattern area in which a specific pattern having a predetermined shape is arranged inside the code area, and data to be decoded by a plurality of types of cells. A data recording area to be represented, an error correction data recording area in which error correction data for performing error correction in the data recording area is recorded, and an error correction in the data recording area in which the data to be decoded is not recorded And the image area configured as an area where no error correction data is recorded,
The structure determining unit includes a first area in which a fixed pattern is arranged in the code area, a second area in which at least the decryption target data recorded in the data recording area is recorded, and the second area A third area in which error correction data for performing error correction is recorded, and an area in which the decoding target data is not recorded and error correction data for performing error correction in the second area are not recorded, The internal structure of the new information code is determined by providing a fourth area in which an image obtained by enlarging or reducing the image of the image area by a predetermined method is provided. Item 9. The information code display device according to any one of Items 8 to 10.
前記変更指示の前に前記表示部に表示される情報コードは、前記コード領域の内部に、予め定められた形状の特定パターンが配置される特定パターン領域と、複数種類のセルによって解読対象データを表すデータ記録領域と、前記データ記録領域の誤り訂正を行うための誤り訂正データが記録される誤り訂正データ記録領域と、前記誤り訂正データ記録領域のデータによって誤り訂正がされる領域として構成される前記画像領域と、を設けた構成であり、
前記構造決定部は、前記コード領域の内部に、固定パターンが配置される第1領域と、前記データ記録領域に記録された前記解読対象データが少なくとも記録される第2領域と、前記第2領域の誤り訂正を行うための誤り訂正データが記録される第3領域と、前記第3領域のデータによって誤り訂正がされる領域として構成され且つ前記画像領域の画像を所定の方式で拡大又は縮小した画像が表される第4領域と、を設けた形で前記新たな情報コードの内部構成を決定することを特徴とする請求項1から請求項8のいずれか一項に記載の情報コード表示装置。
The information code displayed on the display unit before the change instruction includes the specific pattern area in which a specific pattern having a predetermined shape is arranged inside the code area, and data to be decoded by a plurality of types of cells. A data recording area to be represented, an error correction data recording area in which error correction data for performing error correction in the data recording area is recorded, and an area in which error correction is performed by data in the error correction data recording area And an image area.
The structure determining unit includes a first area in which a fixed pattern is arranged in the code area, a second area in which at least the decryption target data recorded in the data recording area is recorded, and the second area A third area in which error correction data for performing error correction is recorded, and an area in which error correction is performed by the data in the third area, and an image in the image area is enlarged or reduced by a predetermined method The information code display device according to any one of claims 1 to 8, wherein an internal configuration of the new information code is determined in a form in which a fourth area in which an image is represented is provided. .
前記生成部は、前記変更指示に応じた大きさの前記新たな情報コードを生成する場合に、前記変更指示に基づいて当該新たな情報コードでの誤り訂正率を決定する誤り訂正率決定部を備え、
前記構造決定部は、前記変更指示に基づいて前記誤り訂正率決定部によって決定された誤り訂正率に従って、前記新たな情報コードでの内部構成を決定することを特徴とする請求項1から請求項10のいずれか一項に記載の情報コード表示装置。
The generation unit includes an error correction rate determination unit that determines an error correction rate for the new information code based on the change instruction when generating the new information code having a size corresponding to the change instruction. Prepared,
2. The structure determination unit according to claim 1, wherein the structure determination unit determines an internal configuration of the new information code according to an error correction rate determined by the error correction rate determination unit based on the change instruction. The information code display device according to any one of 10.
前記構造決定部は、前記変更指示に応じて当該変更指示の前に前記表示部に表示されていた情報コードとは異なる大きさの前記新たな情報コードを生成する場合に、前記解読対象データと、前記解読対象データとは異なる所定のダミーデータと、を含んだデータを記録する形で前記第2領域を構成することを特徴とする請求項1から請求項11のいずれか一項に記載の情報コード表示装置。   In response to the change instruction, the structure determination unit generates the new information code having a size different from that of the information code displayed on the display unit before the change instruction. 12. The second area is configured to record data including predetermined dummy data different from the decryption target data. 12. Information code display device.
JP2015008846A 2015-01-20 2015-01-20 Information code display device Active JP6358109B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015008846A JP6358109B2 (en) 2015-01-20 2015-01-20 Information code display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015008846A JP6358109B2 (en) 2015-01-20 2015-01-20 Information code display device

Publications (2)

Publication Number Publication Date
JP2016134029A JP2016134029A (en) 2016-07-25
JP6358109B2 true JP6358109B2 (en) 2018-07-18

Family

ID=56434733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015008846A Active JP6358109B2 (en) 2015-01-20 2015-01-20 Information code display device

Country Status (1)

Country Link
JP (1) JP6358109B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005020727A (en) * 2003-06-05 2005-01-20 Ntt Docomo Inc Method and apparatus for reading and decoding information embedded in two-dimensional bar code
JP2011039878A (en) * 2009-08-13 2011-02-24 Fuji Xerox Co Ltd Image processing apparatus and program
EP2937817B1 (en) * 2012-12-19 2021-09-01 Denso Wave Incorporated Information code, information code generation method, information code reader device, and information code usage system
JP6136808B2 (en) * 2012-12-19 2017-05-31 株式会社デンソーウェーブ Information code generation method, information code, information code reader, and information code utilization system

Also Published As

Publication number Publication date
JP2016134029A (en) 2016-07-25

Similar Documents

Publication Publication Date Title
JP6520616B2 (en) Information code generation method, program for generating information code, and information code generation apparatus
JP6136808B2 (en) Information code generation method, information code, information code reader, and information code utilization system
WO2014098134A1 (en) Information code, information code generation method, information code reader device, and information code usage system
WO2014098130A1 (en) Information code, information code generation method, information code reader device, and information code usage system
US20080128502A1 (en) Method for producing indicators and processing apparatus and system utilizing the indicators
JP6394725B2 (en) Information code generation method, information code, information code reader, and information code utilization system
JP2015114758A (en) Information code creation method, information code, information code reading device, and information code utilization system
JP2015184780A (en) Car park utilization system and parking ticket reading device
JP6489764B2 (en) Information code generation method, information code, information code reading system, and information code utilization system
JP6414274B2 (en) Information code generation method, information code, information code reader, and information code utilization system
JP6358109B2 (en) Information code display device
JP6394717B2 (en) Information code generation method, information code, information code reader, and information code utilization system
JP6277880B2 (en) Information code medium and information code utilization system
JP6167956B2 (en) Information code generation method, information code, information code reader, and information code utilization system
JP2016004537A (en) Information code creation method, information code, information code medium, and information code utilization system
JP2016004536A (en) Management system
JP6225597B2 (en) Information code generation method, information code, information code reader, and information code utilization system
JP6409623B2 (en) Information code generation method, information code, information code reading system, and information code reading apparatus
JP2018055237A (en) Information code generating method, information code, and information code using system
JP2004246927A (en) Digital information recording method
JP2016004533A (en) Method of creating voucher, voucher, voucher reading system, and voucher utilization system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170615

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180306

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180409

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180522

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180604

R150 Certificate of patent or registration of utility model

Ref document number: 6358109

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250