JPH09231296A - Information processing device and method - Google Patents

Information processing device and method

Info

Publication number
JPH09231296A
JPH09231296A JP3686396A JP3686396A JPH09231296A JP H09231296 A JPH09231296 A JP H09231296A JP 3686396 A JP3686396 A JP 3686396A JP 3686396 A JP3686396 A JP 3686396A JP H09231296 A JPH09231296 A JP H09231296A
Authority
JP
Japan
Prior art keywords
code
pattern
unit matrix
image data
dimensional
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3686396A
Other languages
Japanese (ja)
Inventor
Takanobu Minamie
孝信 南江
Hiroshi Udagawa
洋 宇田川
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.)
Toray Industries Inc
Original Assignee
Toray Industries 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 Toray Industries Inc filed Critical Toray Industries Inc
Priority to JP3686396A priority Critical patent/JPH09231296A/en
Publication of JPH09231296A publication Critical patent/JPH09231296A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To output the two-dimensional codes as the image data with high efficiency by decomposing these codes into the unit matrix patterns of small areas and calculating the code value corresponding to each matrix pattern based on the character codes. SOLUTION: A pattern decomposition part 2 of a processor A decomposes the two-dimensional codes inputted from an input part 1 into the 3-row/3-column unit matrix patterns, for example. A coding processing part 4 refers to a pattern memory 3 for each of decomposed unit matrix patterns to calculate the code value corresponding to every pattern of a small area. Thus the unit matrix patterns are coded and the code value corresponding to every pattern is calculated. A transmitting part 5 sends the series of code value to an information processor B of a printer, etc. On the other hand, an image data conversion part 7 of the processor B refers to a pattern memory 8 to convert in sequence the series of code value received via a receiving part 6 into the image data. These image data are printed out via a print-out part 9 as the two-dimensional codes.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は2次元の幾何パター
ンにより各種の情報を表現する2次元コードを効率的に
印刷出力することのできる情報処理装置および方法に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus and method capable of efficiently printing and outputting a two-dimensional code representing various information by a two-dimensional geometric pattern.

【0002】[0002]

【関連する背景技術】近時、2次元の幾何パターンによ
り各種の情報を表現する2次元コードが種々の産業分野
で利用されている。この種の2次元コードは、その印字
スペースに比較して多くの情報量を表現することができ
る。しかも高度なエラー修正機能を備えており、汚れや
キズに対して堅牢であると言う優れた特徴を有する。
Related Background Art Recently, a two-dimensional code expressing various information by a two-dimensional geometric pattern is used in various industrial fields. This type of two-dimensional code can express a large amount of information compared to the print space. Moreover, it has an advanced error correction function, and has the excellent feature that it is robust against dirt and scratches.

【0003】例えば図2(a)に示す[PDF417]と
称される2次元コードにあっては、EXCモードで18
50バイトの情報量を有し、1次元バーコードとの併用
読み取りが可能な上、ラベルのスペースに応じた自由な
形状で印字可能である等の特徴を有する。ちなみに上記
[PDF417]からなる2次元コードは、図3に示す
ように1つのコード(情報の単位)を1段17エレメン
トからなるワードコードの2値パターンとして表現し、
1段目にワードコード#0,#1,#2の白黒2値パタ
ーンを順に配し、2段目にワードコード#3,#4,#
5の2値パターンを、そして3段目にワードコード#
6,#7,#8の2値パターンを順に配している。そし
て3段に亘る9個のワードコードを1つのブロック単位
とし、これを繰り返すことで最小3段から最大90段
(1〜30ブロック)の2次元配列された2値パターン
にて文字や記号、その他の情報を表現するものとなって
いる。
For example, in the two-dimensional code called [PDF417] shown in FIG.
It has an information amount of 50 bytes, can be read together with a one-dimensional bar code, and can be printed in any shape depending on the label space. By the way, the two-dimensional code composed of the above [PDF417] expresses one code (unit of information) as a binary pattern of a word code composed of 17 elements in one stage as shown in FIG.
The black and white binary patterns of the word codes # 0, # 1, and # 2 are sequentially arranged in the first row, and the word codes # 3, # 4, # are arranged in the second row.
5 binary patterns, and word code # in the third row
Binary patterns 6, 6, and 8 are arranged in order. Then, nine word codes over three steps are set as one block unit, and by repeating this, characters and symbols are formed in a two-dimensional binary pattern with a minimum of three steps and a maximum of 90 steps (1 to 30 blocks). It represents other information.

【0004】尚、各コードはワードコード内において
[0]〜[928]通りのパターンで表され、同じコー
ドであっても1ブロック内の各ワードコード毎に異なる
パターンで表現されるようになっている。また図2(b)
に示す(37×37)エレメントの2次元パターンから
なる[QRコード]や、図2(c)に示す(18×18)
エレメントの2次元パターンからなる[データコー
ド]、更には図2(d)に示す(16×16)エレメント
の2次元パターンからなる[ベリコード]等のその他の
2次元コードにおいても、それぞれ定められた規則に従
って2次元パターン化される。これらの各2次元コード
は、小スペース印字が可能であり、しかも全方向(36
0°)からの読み取りが可能であると言う特徴を有す
る。
Each code is represented by a pattern of [0] to [928] in the word code, and even the same code is represented by a different pattern for each word code in one block. ing. FIG. 2 (b)
[QR code] consisting of a two-dimensional pattern of (37 x 37) elements shown in Fig. 2 and (18 x 18) shown in Fig. 2 (c).
It is also defined in other two-dimensional codes such as a [data code] consisting of a two-dimensional pattern of elements and a [veri code] consisting of a two-dimensional pattern of (16 × 16) elements shown in FIG. 2D. It is two-dimensionally patterned according to the rules. Each of these two-dimensional codes can be printed in a small space and can be printed in all directions (36
It has a feature that it can be read from 0 °).

【0005】ちなみに2次元バーコードは、上述した
[データコード][ベリコード][QRコード][コー
ドワン]等に代表されるマトリックス系のバーコード
と、[PDF417][コード16K][コード49]
等に代表されるスタック系のバーコードとに分類され
る。マトリックス系のバーコードは、基本的には垂直方
向および水平方向を明確に規定する基準線や基準パター
ンを有し、その基準の枠内や限定された周囲の規格範囲
内と位置に一定の極小サイズの、例えば正方形モジュー
ルをマトリックス配列して、その集合パターンを形成し
たものである。そしてそのシンボルパターン全体、つま
り基準を示す表示部分およびデータを示す表示部分を含
めた全体が、一定の極小サイズの四角形の黒/白モジュ
ールを縦横に整数倍配列した構成となっている。
Incidentally, the two-dimensional bar code is a matrix type bar code represented by the above-mentioned [data code], [verify code], [QR code], [code one], etc., and [PDF417] [code 16K] [code 49].
And the like, which are represented by a stack type barcode. Matrix-based barcodes basically have a reference line and a reference pattern that clearly define the vertical and horizontal directions, and have a certain minimum value within the reference frame or within the limited surrounding standard range and position. For example, square modules of a size are arranged in a matrix to form an aggregate pattern. The entire symbol pattern, that is, the entire display portion including the reference display portion and the data display portion has a configuration in which rectangular black / white modules of a certain minimum size are arrayed vertically and horizontally by integer multiples.

【0006】またスタック系のバーコードは、垂直方向
に一定の極小サイズの、例えば長方形のモジュールを幾
つか配列してコード化されたデータ表現の単位を複数個
横に並べ、その左右端にスタート・エンドを示すパター
ンを付したもので、これを垂直方向に何段か重ねること
で2次元化配列パターンを形成する。これらの各段のデ
ータ内容は一般的に異なるが、同数のモジュールを配列
した複数段の構成をとることで、全体として極小サイズ
のモジュールを縦横に並べた行列パターンを形成したも
のとなっている。
A stack-type bar code has a plurality of vertically-arranged modules of a very small size, for example, rectangular modules, which are arranged side by side to form a plurality of units of coded data, and the bar code is started at the left and right ends of the unit. A pattern indicating the end is added, and a two-dimensional array pattern is formed by stacking the patterns in the vertical direction. The data content of each of these stages is generally different, but by adopting a configuration of multiple stages in which the same number of modules are arranged, a matrix pattern in which modules of extremely small size are arranged vertically and horizontally as a whole is formed. .

【0007】尚、2次元コードとしては上述した2値パ
ターンのみならず、多値パターンやカラーパターンを用
いたものも考えられている。
As the two-dimensional code, not only the above-mentioned binary pattern but also a multi-valued pattern or a color pattern is considered.

【0008】[0008]

【発明が解決しようとする課題】ところで上記各2次元
コードは、全体的には白/黒のパターンを2次元に展開
した変動パターンデータとして捉えられる。つまり2次
元コードは変動イメージパターンそのものであることか
ら、これを印刷出力する場合、一般的にはそのパターン
データをプリンタのドット密度に合わせたビットマップ
イメージの形に展開し、このイメージデータをプリンタ
に転送することでラベル等に印刷される。この為、プリ
ンタへ転送すべきビットマップイメージのデータ量が数
百〜数千バイトにも達し、その転送、ひいてはその印刷
出力までに多大な時間を要すると言う不具合があった。
By the way, each of the above two-dimensional codes is generally regarded as variable pattern data in which a white / black pattern is two-dimensionally developed. In other words, since the two-dimensional code is a variable image pattern itself, when it is printed out, generally, the pattern data is developed into a bitmap image that matches the dot density of the printer, and this image data is printed by the printer. It is printed on a label by transferring to. Therefore, the data amount of the bitmap image to be transferred to the printer reaches hundreds to thousands of bytes, and there is a problem that it takes a lot of time before the transfer and the print output thereof.

【0009】本発明はこのような事情を考慮してなされ
たもので、その目的は、2次元コードのプリンタへのデ
ータ転送量を少なくし、これによって2次元コードを効
率良くイメージデータとして出力することの可能な情報
処理装置および方法を提供することにある。
The present invention has been made in consideration of such circumstances, and an object thereof is to reduce the data transfer amount of a two-dimensional code to a printer, thereby efficiently outputting the two-dimensional code as image data. It is to provide an information processing apparatus and method capable of doing the above.

【0010】[0010]

【課題を解決するための手段】上述した目的を達成する
べく本発明に係る情報処理装置は、2次元の幾何パター
ンにて表現される2次元コードをn行m列(n,mは整
数)からなる小領域の単位行列パターンに分解する手段
と、分解された上記各単位行列パターンにそれぞれ対応
するコード値を文字コードに準じて求める手段と、上記
各コード値に対応するイメージデータを出力する手段と
を具備したことを特徴とする。
In order to achieve the above-mentioned object, an information processing apparatus according to the present invention has a two-dimensional code expressed in a two-dimensional geometric pattern in n rows and m columns (n and m are integers). Means for decomposing into a unit matrix pattern of a small region consisting of, means for obtaining code values corresponding to the respective decomposed unit matrix patterns according to a character code, and outputting image data corresponding to each code value. Means and means are provided.

【0011】つまり2次元コードを小領域の単位行列パ
ターンに分解することで、各単位行列におけるパターン
を限られた数の固定パターンとして捉え、これを文字コ
ードに準じてコード化することで1〜2バイトのデータ
として取り扱うようにし、前記2次元コードを出力する
際しては上記各コード値に対応するイメージデータを出
力することで前記2次元コードの取り扱いを簡素化する
ようにしたことを特徴とするものである。
That is, by decomposing the two-dimensional code into unit matrix patterns of a small area, the patterns in each unit matrix are regarded as a fixed number of fixed patterns, and these are coded according to the character code. The two-dimensional code is handled as 2-byte data, and when the two-dimensional code is output, image data corresponding to each code value is output to simplify the handling of the two-dimensional code. It is what

【0012】また請求項2に記載の発明は、2次元コー
ドをn行m列(n,mは整数)からなる小領域の単位行
列パターンに分解するパターン分解手段と、分解された
複数の単位行列パターン毎にそれぞれ対応するコード値
を求めるコード化手段と、これらのコード値の系列を、
例えばプリンタに送信出力する送信手段とを具備したこ
とを特徴とするものである。
According to a second aspect of the present invention, the pattern decomposing means for decomposing the two-dimensional code into a unit matrix pattern of a small region consisting of n rows and m columns (n and m are integers) and a plurality of decomposed units. Coding means for obtaining the code value corresponding to each matrix pattern, and the series of these code values,
For example, it is characterized by comprising a transmitting means for transmitting and outputting to a printer.

【0013】更に請求項3に記載の発明は、2次元コー
ドを複数の小領域に分解してなるn行m列(n,mは整
数)の単位行列パターンにそれぞれ対応するコード値の
系列を受信したとき、各コード値に対応するイメージデ
ータを生成して順次出力する手段とを具備したことを特
徴とするものである。また請求項4に記載の発明は、2
次元コードをn行m列(n,mは整数)からなる単位行
列パターンに分解し、上記各単位行列パターンにそれぞ
れ対応するコード値を決定して該コード値をイメージデ
ータ出力手段に伝送し、上記イメージデータ出力手段に
より前記各コード値に対応するイメージデータを出力す
ることを特徴とするものである。
Further, in the invention according to claim 3, a series of code values respectively corresponding to a unit matrix pattern of n rows and m columns (n and m are integers) obtained by decomposing a two-dimensional code into a plurality of small areas is generated. When the image data is received, the image data corresponding to each code value is generated and sequentially output. The invention according to claim 4 is 2
The dimension code is decomposed into unit matrix patterns consisting of n rows and m columns (n and m are integers), code values respectively corresponding to the unit matrix patterns are determined, and the code values are transmitted to the image data output means, The image data output means outputs image data corresponding to each code value.

【0014】つまり2次元コードのイメージデータ出力
手段に対する伝送形態を、n行m列(n,mは整数)か
らなる単位行列パターンとして分解してなる各単位行列
パターンにそれぞれ対応するコード値とすることで、そ
のデータ伝送量を少なくしたことを特徴とするものであ
る。
That is, the transmission form of the two-dimensional code to the image data output means is a code value corresponding to each unit matrix pattern decomposed into a unit matrix pattern consisting of n rows and m columns (n and m are integers). Therefore, the amount of data transmission is reduced.

【0015】[0015]

【発明の実施の態様】以下、図面を参照して本発明の一
実施形態に係る情報処理装置とその方法について説明す
る。図1は実施例装置の全体的な構成を示す図で、概略
的には2次元コードをn行m列(n,mは整数)からな
る小領域の単位行列パターンに分解し、各単位行列パタ
ーン毎にこれを文字コードに準じてコード化して、その
コード値の系列をプリンタ等の機器に送信出力する、所
謂コンピュータやワードプロセッサ等の情報処理装置A
と、この情報処理装置Aから与えられる上記コード化情
報(コード値の系列)を受信し、各コード値に対応した
イメージデータを求めて印刷出力するプリンタやディス
プレイ等を備えた情報処理装置Bとからなる。そしてこ
れらの情報処理装置A,B間で前記コード化情報(コー
ド値の系列)を送受信する媒体は、所謂プリンタケーブ
ルや公衆通信回線、更には両者が一体化されている場合
には、その内部を連結する信号線(内部バス)等からな
る。
DETAILED DESCRIPTION OF THE INVENTION An information processing apparatus and method according to an embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing the overall configuration of the embodiment apparatus. In general, a two-dimensional code is decomposed into a unit matrix pattern of a small area consisting of n rows and m columns (n and m are integers), and each unit matrix An information processing apparatus A such as a so-called computer or word processor that encodes each pattern according to a character code and transmits the code value sequence to a device such as a printer.
And an information processing apparatus B including a printer, a display, etc. that receives the above-mentioned coded information (a series of code values) given from the information processing apparatus A, obtains image data corresponding to each code value, and prints it out. Consists of. The medium for transmitting and receiving the coded information (sequence of code values) between the information processing devices A and B is a so-called printer cable or public communication line, or, if both are integrated, the inside thereof. Signal lines (internal bus) that connect to each other.

【0016】即ち、上記処理装置Aは、[PDF41
7]等の2次元コードを入力部1を介して入力し、パタ
ーン分解部2にて上記2次元コードを、例えば図4に示
すように3行3列の単位行列パターンに分解している。
コード化処理部4は、分解された各単位行列のパターン
毎にパターンメモリ3を参照し、その小領域のパターン
に対応するコード値を求めることで単位行列パターンを
コード化している。具体的にはこの例では単位行列を3
行3列の小領域として定めていることから、その単位行
列だけに着目すると、その単位行列パターンは29(=
512)通りのパターンをとることになる。
That is, the processing device A is [PDF41
7] or the like is input through the input unit 1, and the pattern decomposition unit 2 decomposes the two-dimensional code into a unit matrix pattern of 3 rows and 3 columns as shown in FIG. 4, for example.
The coding processing unit 4 codes the unit matrix pattern by referring to the pattern memory 3 for each pattern of the decomposed unit matrix and obtaining the code value corresponding to the pattern of the small area. Specifically, in this example, the unit matrix is 3
Since it is defined as a small area with 3 rows and 3 columns, the unit matrix pattern is 2 9 (=
The pattern will be 512).

【0017】そこでコード化処理部4では、単位行列
(小領域)における2次元パターンを限られた数のパタ
ーンとして固定的に捉え、パターンメモリ3を参照する
ことでその単位行列パターンを文字コードに準じて1〜
2バイトのデータとしてコード化し、各パターンに対応
したコード値を求めるものとなっている。このようなコ
ード化により、2次元コードは前記各単位行列毎に、そ
の2次元パターンに応じて変換されたコード値の系列と
して表現される。送信部5は、上述した如くコード化処
理部4にてコード化された上記各単位行列パターンに対
応するコード値の系列を、前記プリンタ等の情報処理装
置Bに対して送信出力する。
Therefore, in the encoding processing unit 4, the two-dimensional pattern in the unit matrix (small area) is fixedly captured as a limited number of patterns, and the unit memory pattern is converted into a character code by referring to the pattern memory 3. According to 1
It is coded as 2-byte data, and the code value corresponding to each pattern is obtained. By such coding, the two-dimensional code is expressed as a series of code values converted according to the two-dimensional pattern for each unit matrix. The transmission unit 5 transmits and outputs the series of code values corresponding to each unit matrix pattern coded by the coding processing unit 4 as described above to the information processing apparatus B such as the printer.

【0018】一方、情報処理装置Bは、上述した如く情
報処理装置Aよりコード化されて送信されてくるコード
値の系列を受信入力する受信部6を備えている。イメー
ジデータ変換部7は、上記受信部6を介して受信したコ
ード値の系列の各コード値について、パターンメモリ8
を参照して逐次イメージデータに変換するもので、各コ
ード値に対応して求めたイメージデータを順次印刷出力
部9に与えることで、2次元コードを印刷出力するもの
となっている。
On the other hand, the information processing apparatus B is provided with the receiving unit 6 for receiving and inputting the series of code values coded and transmitted from the information processing apparatus A as described above. The image data conversion unit 7 has a pattern memory 8 for each code value of the series of code values received via the reception unit 6.
Is sequentially converted into image data by referring to the above, and the two-dimensional code is printed out by sequentially applying the image data obtained corresponding to each code value to the print output unit 9.

【0019】上記パターンメモリ8は、前記パターンメ
モリ3に関連して前述した各コード値にそれぞれ対応し
たイメージパターンを格納したもので、これらの各イメ
ージパターンは、例えばプリンタのドット密度に応じて
定められたビットマップデータとして与えられる。従っ
て一般的なプリンタが、与えられた文字コードに対応す
る文字フォントをビットマップとして展開してその文字
パターンを印字出力する場合と同様に、イメージデータ
変換部7は、前述したコード値に応じた単位行列(小領
域)の2次元パターンをビットマップイメージとして展
開し、これをその単位行列位置に応じて印刷出力するこ
とで、全体的に2次元コードを印刷形成するものとなっ
ている。
The pattern memory 8 stores image patterns corresponding to the respective code values described above in relation to the pattern memory 3, and these image patterns are determined according to, for example, the dot density of the printer. Given as bitmap data. Therefore, similarly to the case where a general printer develops a character font corresponding to a given character code as a bitmap and prints out the character pattern, the image data conversion unit 7 responds to the code value described above. By developing a two-dimensional pattern of a unit matrix (small area) as a bitmap image and printing this out according to the position of the unit matrix, a two-dimensional code is printed as a whole.

【0020】かくして上述した如く2次元コードを所定
の小領域の単位行列パターンに分解し、各単位行列パタ
ーン毎にこれを文字コードに準じてコード化してそのコ
ード値をプリンタ(情報処理装置B)に伝送し、該プリ
ンタ(情報処理装置B)側において上記各コード値に対
応する単位行列パターンをイメージデータとして展開し
て印刷出力する装置によれば、各単位行列の情報を1〜
2バイトのデータ(コード値)として取り扱い、前記2
次元コードをコード値の系列として転送することができ
る。従って前述した[PDF417]であって最大90
段(30ブロック)の2次元パターンで示される2次元
コードであっても、 [1〜2]×[17]×[30]=[510〜102
0] つまり高々510〜1020バイトのデータ転送だけで
プリンタに所要の印刷情報を与え、その2次元コードを
印刷出力することができる。これ故、データ転送量自体
を大幅に少なくして、その転送所要時間を短縮化するこ
とができる。
Thus, as described above, the two-dimensional code is decomposed into a unit matrix pattern of a predetermined small area, each unit matrix pattern is coded according to the character code, and the code value is printed by the printer (information processing apparatus B). According to the apparatus for transmitting to the printer (information processing apparatus B) and developing and printing out the unit matrix pattern corresponding to each code value as image data,
Treated as 2-byte data (code value),
The dimension code can be transferred as a series of code values. Therefore, the maximum is 90 in the above-mentioned [PDF417].
Even for a two-dimensional code represented by a two-dimensional pattern of stages (30 blocks), [1-2] × [17] × [30] = [510-102]
0] That is, the required print information can be given to the printer and the two-dimensional code can be printed out only by data transfer of at most 510 to 1020 bytes. Therefore, the amount of data transfer itself can be significantly reduced, and the required transfer time can be shortened.

【0021】しかも前述した各単位行列のパターンを示
すコード値に対応するイメージデータへの展開は、一般
的なプリンタにおける文字コードの文字フォントへの展
開と同様な処理ルーチンで実行することができるので、
プリンタ側における処理負担がさほど増えることがな
く、効率的な印刷出力が可能である。ちなみに各単位行
列パターンを示すコード値を、例えばJIS文字コード
表における未定義領域の[2581〜2C7F][2E21〜2F7F]
[7D21〜7D7F]等に割り付けておけば、該コード値を文
字コードと同等に取り扱って2次元コードを印刷(印
字)出力することができ、その処理効率を効果的に高め
ることができる。また別のコードエリヤを設定して2次
元バーコードのモジュールブロック文字フォントとして
も良い。
Further, the expansion into the image data corresponding to the code value indicating the pattern of each unit matrix described above can be executed by the same processing routine as the expansion of the character code into the character font in a general printer. ,
Efficient print output is possible without increasing the processing load on the printer side. By the way, the code value indicating each unit matrix pattern is, for example, [2581 to 2C7F] [2E21 to 2F7F] of the undefined area in the JIS character code table.
If assigned to [7D21 to 7D7F] or the like, the code value can be handled in the same manner as a character code and a two-dimensional code can be printed (printed) and the processing efficiency thereof can be effectively increased. In addition, another code area may be set as a module block character font for a two-dimensional barcode.

【0022】尚、上述した実施例では3行3列の小領域
を単位行列としてその分割パターンを求めたが、2行3
列や2行4列、或いは4行2列等の小領域を単位行列と
して2次元コードをパターン分割するようにしても良
い。この場合には単位行列のパターンが26(=64)
や,28(=256)通りのパターンを取ることになる
ので、各パターンを8ビット(1バイト)のデータとし
てコード化することが可能となり、その取り扱いを一層
簡敏なものとすることが可能となる。
In the above-described embodiment, the division pattern is obtained by using the small area of 3 rows and 3 columns as the unit matrix, but 2 rows and 3 columns are used.
The two-dimensional code may be divided into patterns by using a small area of columns, 2 rows and 4 columns, or 4 rows and 2 columns as a unit matrix. In this case, the unit matrix pattern is 2 6 (= 64)
, 2 8 (= 256) patterns are taken, each pattern can be coded as 8-bit (1 byte) data, and the handling can be made even easier. It will be possible.

【0023】また与えられた2次元コードを基準位置か
ら順次所定の単位行列に分割していく際、その縁部にお
いて余りが出て上記所定の単位行列パターンを構成しな
いような場合には、例えばその単位行列として不足する
縁部のエレメントや段に相当する位置に、2次元コード
を損なうことのない[0]等の所定のパターンデータを
補う等の処理を施すようにすれば良い。このような縁部
処理を施すようにしておけば、2次元コードの種別に拘
わることなしに該2次元コードを予め定めた単位行列に
基づいて分割しながらコード化することが可能であり、
2次元コードに対する汎用性を持たせることが可能とな
る。
Further, when the given two-dimensional code is sequentially divided into predetermined unit matrices from the reference position, if there is a surplus at the edge and the predetermined unit matrix pattern is not formed, for example, It suffices to perform processing such as supplementing predetermined pattern data such as [0], which does not damage the two-dimensional code, at positions corresponding to elements and steps at the edges that are insufficient as the unit matrix. By performing such edge processing, it is possible to code the two-dimensional code while dividing the two-dimensional code based on a predetermined unit matrix, regardless of the type of the two-dimensional code.
It becomes possible to give versatility to the two-dimensional code.

【0024】更には2次元コードをどの程度の大きさで
印刷出力するかについては、文字コードに基づく文字フ
ォントの拡大印刷と同様な制御の下で、そのコード値に
対応したイメージデータを拡大処理するようにすれば良
い。またプリンタを用いて2次元データを印刷出力する
場合のみならず、その2次元コードをディスプレイ上で
可視化表示する場合にも同様に適用可能であり、その処
理負担を大幅に削減することができる。
Regarding the size of the two-dimensional code to be printed out, the image data corresponding to the code value is enlarged under the control similar to the enlargement printing of the character font based on the character code. It should be done. Further, the present invention can be applied not only when two-dimensional data is printed out by using a printer but also when the two-dimensional code is visualized on a display, and the processing load can be greatly reduced.

【0025】かくして上述した実施例装置によれば、2
次元の幾何パターンにより各種の情報を表現する2次元
コードをn行m列の小領域の単位行列パターンに分解
し、各単位行列のパターンを文字コードに準じてコード
化して取り扱い、上記2次元コードを可視化するに際し
てそのコード値に基づいて前記各小領域のパターンにイ
メージ展開し、例えばこれを印刷出力するので、2次元
コードの転送に要するデータ量自体を大幅に削減し、且
つ転送に要する時間を大幅に短縮することができる。し
かも処理手続き自体も簡単にすることができる等の実用
上多大なる効果が奏せられる。
Thus, according to the apparatus of the above embodiment, 2
A two-dimensional code that expresses various information by a three-dimensional geometric pattern is decomposed into a unit matrix pattern of a small region of n rows and m columns, and the pattern of each unit matrix is coded according to a character code and handled. When visualizing, the image is developed into the pattern of each of the small areas based on the code value and is printed out, for example, so that the amount of data itself required for transferring the two-dimensional code is significantly reduced, and the time required for transfer is Can be significantly shortened. Moreover, the processing procedure itself can be simplified, and a great effect can be obtained in practical use.

【0026】尚、本発明は上述した実施例に限定される
ものではない。例えば単位行列をなすn行m列の大きさ
は、仕様に応じて定めれておけば良いものである。また
分割した単位行列パターンに対応するコード値の系列の
転送の仕方についても、種々のデータ転送方式を適宜採
用可能である。また2次元コードとして多値、或いは多
値を利用するものを用いても良いし、コードが赤外光、
紫外光、或いは磁気等により認識されるものであっても
良い。更には単位行列パターンに対応付けて定めるコー
ド値についても、その仕様に応じて、例えば標準文字コ
ードを阻害しない範囲で定めておけば十分である。また
実施形態として例示した[PDF417]以外の、前述
したマトリックス系およびスタック系の2次元バーコー
ドに対しても、そのコードの性質に合わせて同様に実施
することができる。要するに本発明はその要旨を逸脱し
ない範囲で種々変形して実施することができる。
The present invention is not limited to the embodiment described above. For example, the size of n rows and m columns forming the unit matrix may be determined according to the specifications. Also, as for the method of transferring the series of code values corresponding to the divided unit matrix pattern, various data transfer methods can be appropriately adopted. Also, a multi-value or a multi-value code may be used as the two-dimensional code, and the code is infrared light,
It may be recognized by ultraviolet light or magnetism. Further, it is sufficient to set the code value determined in association with the unit matrix pattern in accordance with the specification, for example, within a range that does not interfere with the standard character code. Further, other than the [PDF417] exemplified as the embodiment, the matrix-type and stack-type two-dimensional barcodes described above can be similarly implemented according to the nature of the code. In short, the present invention can be variously modified and implemented without departing from the gist thereof.

【0027】[0027]

【発明の効果】以上説明したように本発明によれば、2
次元コードを小領域の単位行列パターンに分解すること
で各単位行列パターンを限られた数の固定パターンとし
て捉えて各単位行列パターンをコード化し、そのコード
値を転送する等して取り扱い、2次元コードの可視化に
際しては上記コード値に対応するイメージパターンを求
め、これを印刷出力するので、2次元コードの取り扱い
データ量自体を大幅に削減し、その転送所要時間の短縮
化を図り得る。
As described above, according to the present invention, 2
By decomposing the dimensional code into unit matrix patterns of a small area, each unit matrix pattern is regarded as a fixed number of fixed patterns, each unit matrix pattern is coded, and the code value is handled by being transferred, etc. When the code is visualized, an image pattern corresponding to the code value is obtained and is printed out. Therefore, the amount of data handled by the two-dimensional code itself can be significantly reduced, and the transfer required time can be shortened.

【0028】また請求項2に記載の発明によれば、2次
元コードを小領域の単位行列パターンに分解し、分解さ
れた複数の単位行列パターン毎にそれぞれ対応するコー
ド値を求めてそのコード値の系列を、例えばプリンタに
送信出力するので、2次元コードの取り扱いを簡単化す
る情報処理装置を提供することが可能となる。更に請求
項3に記載の発明によれば、2次元コードを複数の小領
域に分解した単位行列パターンに対応するコード値の系
列を受信し、各コード値に対応するイメージデータを生
成して順次印刷出力する手段を具備しているので、簡易
にして効率的に2次元コードを印刷出力することが可能
となる。
According to the second aspect of the present invention, the two-dimensional code is decomposed into the unit matrix patterns of the small area, the code values corresponding to each of the plurality of decomposed unit matrix patterns are obtained, and the code values are obtained. It is possible to provide an information processing apparatus that simplifies the handling of a two-dimensional code because the sequence of is transmitted and output to, for example, a printer. Further, according to the invention of claim 3, a sequence of code values corresponding to a unit matrix pattern obtained by decomposing a two-dimensional code into a plurality of small areas is received, image data corresponding to each code value is generated, and the image data is sequentially generated. Since the means for printing out is provided, it becomes possible to simply and efficiently print out the two-dimensional code.

【0029】また請求項4に記載の発明によれば、2次
元コードをn行m列の単位行列パターンに分解し、上記
各単位行列パターンにそれぞれ対応するコード値をイメ
ージデータ出力手段に伝送し、上記イメージデータ出力
手段により前記各コード値に対応するイメージデータを
出力するので、そのデータ伝送量を大幅に少なくするこ
とができる等の効果が奏せられる。
According to a fourth aspect of the present invention, the two-dimensional code is decomposed into a unit matrix pattern of n rows and m columns, and code values corresponding to each unit matrix pattern are transmitted to the image data output means. Since the image data output means outputs the image data corresponding to each code value, the data transmission amount can be greatly reduced.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施形態に係る情報処理装置の全体
的な概略構成図。
FIG. 1 is an overall schematic configuration diagram of an information processing apparatus according to an embodiment of the present invention.

【図2】実施例装置で取り扱われる2次元コードの例を
示す図。
FIG. 2 is a diagram showing an example of a two-dimensional code handled by the apparatus of the embodiment.

【図3】2次元コードとしてのPDF417のパターン
構造を示す図。
FIG. 3 is a diagram showing a pattern structure of PDF417 as a two-dimensional code.

【図4】実施例装置における2次元コードの単位行列パ
ターンへの分解構造を示す模式図。
FIG. 4 is a schematic diagram showing a decomposition structure of a two-dimensional code into a unit matrix pattern in the apparatus of the embodiment.

【符号の説明】[Explanation of symbols]

1 入力部 2 パターン分解部 3 パターンメモリ 4 コード化処理部 5 送信部 6 受信部 7 イメージデータ変換部 8 パターンメモリ 9 印刷出力部 1 Input Section 2 Pattern Decomposition Section 3 Pattern Memory 4 Coding Processing Section 5 Transmitting Section 6 Receiving Section 7 Image Data Converting Section 8 Pattern Memory 9 Print Output Section

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 2次元コードをn行m列(n,mは整
数)からなる単位行列パターンに分解するパターン分解
手段と、分解された上記各単位行列パターンを対応する
コード値にそれぞれ変換するコード化手段と、上記各コ
ード値に対応するイメージデータを出力するイメージデ
ータ出力手段とを具備したことを特徴とする情報処理装
置。
1. A pattern decomposing means for decomposing a two-dimensional code into a unit matrix pattern consisting of n rows and m columns (n and m are integers), and each of the decomposed unit matrix patterns is converted into a corresponding code value. An information processing apparatus comprising: an encoding means and an image data output means for outputting image data corresponding to each code value.
【請求項2】 2次元コードをn行m列(n,mは整
数)からなる単位行列パターンに分解するパターン分解
手段と、分解された上記各単位行列パターンにそれぞれ
対応するコード値を求めるコード化手段と、これらのコ
ード値の系列を送信出力する送信手段とを具備したこと
を特徴とする情報処理装置。
2. A pattern decomposing means for decomposing a two-dimensional code into a unit matrix pattern consisting of n rows and m columns (n and m are integers), and a code for obtaining code values respectively corresponding to the decomposed unit matrix patterns. An information processing apparatus comprising: an encoding unit and a transmitting unit that transmits and outputs a sequence of these code values.
【請求項3】 2次元コードを分解したn行m列(n,
mは整数)からなる単位行列パターンに対応するコード
値の系列を受信する受信手段と、受信された各コード値
に対応するイメージデータを出力するイメージデータ出
力手段とを具備したことを特徴とする情報処理装置。
3. An n-row m-column (n,
m is an integer) and receiving means for receiving a sequence of code values corresponding to a unit matrix pattern consisting of (M) is an integer, and image data output means for outputting image data corresponding to each received code value. Information processing equipment.
【請求項4】 2次元コードをn行m列(n,mは整
数)からなる単位行列パターンに分解し、上記各単位行
列パターンにそれぞれ対応するコード値を決定して該コ
ード値をイメージデータ出力手段に伝送し、上記イメー
ジデータ出力手段により前記各コード値に対応するイメ
ージデータを出力することを特徴とする情報処理方法。
4. A two-dimensional code is decomposed into a unit matrix pattern consisting of n rows and m columns (n and m are integers), code values corresponding to the respective unit matrix patterns are determined, and the code values are used as image data. An information processing method, characterized in that the image data corresponding to each of the code values is output to the output means, and the image data output means outputs the image data.
JP3686396A 1996-02-23 1996-02-23 Information processing device and method Pending JPH09231296A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3686396A JPH09231296A (en) 1996-02-23 1996-02-23 Information processing device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3686396A JPH09231296A (en) 1996-02-23 1996-02-23 Information processing device and method

Publications (1)

Publication Number Publication Date
JPH09231296A true JPH09231296A (en) 1997-09-05

Family

ID=12481631

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3686396A Pending JPH09231296A (en) 1996-02-23 1996-02-23 Information processing device and method

Country Status (1)

Country Link
JP (1) JPH09231296A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002202784A (en) * 2000-12-28 2002-07-19 Dentsu Tec Inc Information gathering method utilizing qr(quick response) code and recording medium
US8130408B2 (en) 2007-08-08 2012-03-06 Canon Kabushiki Kaisha Image forming system and data processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002202784A (en) * 2000-12-28 2002-07-19 Dentsu Tec Inc Information gathering method utilizing qr(quick response) code and recording medium
US8130408B2 (en) 2007-08-08 2012-03-06 Canon Kabushiki Kaisha Image forming system and data processing method

Similar Documents

Publication Publication Date Title
FI99056C (en) Dynamically changing machine-readable binary code and method for reading and generating it
EP1456812B1 (en) Generating graphical codes by halftoning with embedded graphical encoding
US8459565B2 (en) Two-dimensional code generating apparatus, image forming system, two-dimensional code reading apparatus, and computer readable medium
EP2122534B1 (en) Multiple resolution readable color array
CN108073966B (en) Conversion method of two-dimensional code and hole array code
US8270663B2 (en) Watermarked information embedding apparatus
CN105046184A (en) Distortion image correction based two-dimensional code decoding method and system
US6839450B2 (en) Detecting halftone modulations embedded in an image
CN104346640A (en) Two dimensional code and method of creating same
EP1720118A2 (en) High-density two-dimensional graphic code, and coding system and decoding system based on said code
JPH07118772B2 (en) Image data encoding method
KR20060024410A (en) On-demand printing of coding patterns
US6032863A (en) Method and apparatus for producing machine readable bar code
JPH09231296A (en) Information processing device and method
CN102804203B (en) Physical image is decoded
CN112418374B (en) Information code generation method
CN113988244A (en) Anti-counterfeiting dot matrix generation and verification method, system, equipment and medium
CN112561014A (en) Encoding and decoding method for one-dimensional bar code
CN103136559A (en) Rasterization method of variable bar codes and device
JPH09274637A (en) Two-dimensional code reader
CN108875872B (en) Two-dimensional code and two-dimensional code generation device
JPH11316795A (en) Two-dimensional code decoding device and storage device
US20120087381A1 (en) Approximate enumerative coding method and apparatus
KR20100105865A (en) Information encoding method for two-dimensional bar code subjected to wavelet transformation
GB2265237A (en) Producing and reading a machine-optically-readable code