JP2006134160A - Optical information reading device - Google Patents

Optical information reading device Download PDF

Info

Publication number
JP2006134160A
JP2006134160A JP2004323839A JP2004323839A JP2006134160A JP 2006134160 A JP2006134160 A JP 2006134160A JP 2004323839 A JP2004323839 A JP 2004323839A JP 2004323839 A JP2004323839 A JP 2004323839A JP 2006134160 A JP2006134160 A JP 2006134160A
Authority
JP
Japan
Prior art keywords
code
reading
codes
feature
stage
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.)
Granted
Application number
JP2004323839A
Other languages
Japanese (ja)
Other versions
JP4419805B2 (en
Inventor
Toshio Morimoto
敏生 森本
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 JP2004323839A priority Critical patent/JP4419805B2/en
Publication of JP2006134160A publication Critical patent/JP2006134160A/en
Application granted granted Critical
Publication of JP4419805B2 publication Critical patent/JP4419805B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an optical information reading device capable of easily and surely reading a multi-stage code showing one set of information. <P>SOLUTION: When reading the multi-stage code C by a code scanner 1, its reading is performed at a multi-stage code reading mode, while a group of codes is positioned within a reading field F. Then, a control unit of the code scanner 1 reads a code for each stage which forms the multi-stage code C and determines whether these codes have a common feature. When the codes have a common feature, the control unit determines that it is a multi-stage code showing one set of information and restores original information from the information read from each code. Accordingly, codes without common features are decided as being a group of codes which do not form the multi-stage codes, and a group of codes that only form the multi-stage codes are read surely and easily, because reading is not performed. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、1組の情報を示す複数の一次元コードや二次元コードからなる多段コードを読取り可能な光学式情報読取装置に関する。   The present invention relates to an optical information reader capable of reading a multistage code including a plurality of one-dimensional codes and two-dimensional codes indicating a set of information.

1個の一次元コード或いは二次元コードでは、読取可能な情報量が限定されることから、情報量の拡大を図るために、1組の情報を示す一次元コード或いは二次元コードを複数並べた多段コードを読取り可能なコードスキャナが提供されている(特許文献1参照)。
特開平11−3398号公報
Since a single one-dimensional code or two-dimensional code limits the amount of information that can be read, in order to increase the amount of information, a plurality of one-dimensional codes or two-dimensional codes indicating one set of information are arranged. A code scanner capable of reading a multistage code is provided (see Patent Document 1).
Japanese Patent Laid-Open No. 11-3398

このような多段コードの読取りでは、通常、作業者がホストより多段コードのデータやコード種に基づいて読取り指定を行った上で、読取りを行う必要があり、作業者にとっても余分な作業が発生することとなり、不便である。   In such multi-level code reading, it is usually necessary for the operator to specify the reading based on the multi-level code data and code type from the host, and reading is required, which causes extra work for the operator. This is inconvenient.

また、前述の方法にて指定を行った場合においても、データまたはコード種が単に同じか否かで多段コードかを判断していることから、帳票などのように重なり具合によっては1枚目の多段コードと2枚目の多段コードとを誤って組合せてしまうことがある。このため、誤った組合せのコード群を多段コードと誤判断してしまい、作業の障害となっていた。   Even when the above method is used, it is determined whether the data or code type is simply the same or not because it is a multi-stage code. The multi-stage code and the second multi-stage code may be mistakenly combined. For this reason, an incorrect combination of code groups is erroneously determined as a multi-stage code, which is an obstacle to work.

本発明は上記事情に鑑みてなされたもので、その目的は、1組の情報を示す多段コードを簡単に且つ確実に読取ることができる光学式情報読取装置を提供することにある。   The present invention has been made in view of the above circumstances, and an object thereof is to provide an optical information reader capable of easily and reliably reading a multistage code indicating a set of information.

請求項1の発明によれば、特徴設定手段により読取対象の多段コードが有する共通の特徴を設定すると共に、読取視野に多段コードが位置した状態で読取処理を実行すると、特徴検出手段は、エリアセンサが撮像した二次元画像内に位置する多段コードに特徴設定手段により設定された共通の特徴が有するコードを検出する。そして、読取手段は、読取対象のコード群が設定された共通の特徴を有している場合のみコード群を1組の情報を示す多段コードとして読取るので、1組の情報を示す多段コードを簡単に且つ確実に読取処理することができる。   According to the first aspect of the invention, when the common feature of the multi-stage code to be read is set by the feature setting means and the reading process is executed in a state where the multi-stage code is positioned in the reading field, the feature detecting means A code having a common feature set by the feature setting unit is detected in the multistage code located in the two-dimensional image captured by the sensor. Since the reading unit reads the code group as a multi-stage code indicating one set of information only when the code group to be read has a set common feature, the multi-stage code indicating one set of information can be easily obtained. In addition, the reading process can be performed reliably.

請求項2の発明によれば、共通の特徴として1つの特徴を設定することができるに加えて、複数の特徴を組合せて設定することができるので、共通の特徴を任意に設定することができる。
請求項3の発明によれば、共通の特徴に加えて多段コードを構成するコードの段数を設定することができるので、多段コードの読取処理の信頼性を一層高めることができる。
According to the invention of claim 2, since one feature can be set as a common feature, a plurality of features can be set in combination, so that a common feature can be arbitrarily set. .
According to the invention of claim 3, since the number of code stages constituting the multi-stage code can be set in addition to the common feature, the reliability of the multi-stage code reading process can be further enhanced.

請求項4の発明によれば、共通の特徴は論理式で設定することができるので、共通の特徴の組合せを多様化することができる。
請求項5の発明によれば、共通の特徴として任意の共通の特徴を除外する論理式を作成することができるので、共通の特徴の組合せを一層多様化することができる。
請求項6の発明によれば、多様な多段コードを読取処理することができる。
According to the invention of claim 4, since the common feature can be set by a logical expression, combinations of common features can be diversified.
According to the invention of claim 5, since a logical expression that excludes any common feature can be created as a common feature, combinations of common features can be further diversified.
According to the invention of claim 6, various multi-stage codes can be read and processed.

以下、本発明の一実施例について図面を参照しながら説明する。まず、図2は、光学式情報読取装置たるコードスキャナ1の内部構成を概略的に示している。このコードスキャナ1は、オペレータが手で持って操作等を行うハンディターミナルと称されるもので、バーコード等の一次元コード、QRコード(登録商標)等の二次元コード、OCR読取用の文字等の各種のコードの読取りが可能となっている。さらに、コードの読取りだけでなく、読取ったコードデータの処理(デコード処理)や記憶、管理コンピュータとの間のデータ通信の機能なども備えている。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. First, FIG. 2 schematically shows an internal configuration of a code scanner 1 as an optical information reading apparatus. This code scanner 1 is called a handy terminal that is operated by an operator by hand, and is a one-dimensional code such as a bar code, a two-dimensional code such as a QR code (registered trademark), or a character for OCR reading. It is possible to read various codes such as. In addition to reading the code, it also has functions of processing (decoding processing) and storing the read code data, data communication with the management computer, and the like.

このコードスキャナ1は、ケース2内に、コードを光学的に読取るための読取機構3や、制御装置(読取手段、特徴設定手段、特徴検出手段に相当)4(図1参照)等を組込んで構成される。また、ケース2は、図2にも示すように、基端側が握り部とされ、先端側が前方にやや下降傾斜するように折曲がり、その先端部に読取窓部2aが設けられている。   The code scanner 1 incorporates a reading mechanism 3 for optically reading a code, a control device (corresponding to reading means, feature setting means, and feature detection means) 4 (see FIG. 1), etc., in a case 2. Consists of. Further, as shown in FIG. 2, the case 2 is bent so that the base end side is a grip portion, the front end side is slightly inclined downward, and a reading window portion 2a is provided at the front end portion.

ケース2の上面部には、複数のキースイッチ5aからなるキー入力部5が設けられ、オペレータの操作により、実装するプログラムを選択設定したり、読取るコードの種類を指定したりすることができるようになっている。また、ケース2の両側面部には、読取り用のトリガスイッチ6(図3参照)が設けられ、ケース2の上面部には、例えばLCDからなる表示部7が設けられている。尚、キースイッチ5aや表示部7、制御装置4等は、ケース2内に配設されたプリント基板8に実装されている。また、ケース2内には電源となる二次電池(図示せず)等も組込まれている。   A key input unit 5 including a plurality of key switches 5a is provided on the upper surface of the case 2 so that a program to be installed can be selected and a type of code to be read can be specified by an operator's operation. It has become. Further, a trigger switch 6 (see FIG. 3) for reading is provided on both side portions of the case 2, and a display unit 7 made of, for example, an LCD is provided on the upper surface of the case 2. Note that the key switch 5 a, the display unit 7, the control device 4, and the like are mounted on a printed circuit board 8 disposed in the case 2. Further, in the case 2, a secondary battery (not shown) serving as a power source is incorporated.

一方、読取機構3は、読取窓部2aの内側部分の中心部に設けられたCCD二次元撮像素子からなるエリアセンサ9、このエリアセンサ9の前方に設けられた撮像レンズ10、この撮像レンズ10の周囲の近傍(上側)に設けられコード読取り時の照明光源となる複数個の照明用LED11(図1参照)、これら照明用LED11の前方に位置される照明用レンズ(図示せず)等を備えて構成されている。エリアセンサ9は、例えば横600画素、縦400画素を備え、図3に示すような二次元の読取視野Fを有して構成されている。また、照明用LED11及び照明用レンズにより、その読取視野F全体に均等に照明がなされるようになっている。   On the other hand, the reading mechanism 3 includes an area sensor 9 composed of a CCD two-dimensional image pickup device provided at the center of the inner portion of the reading window 2a, an image pickup lens 10 provided in front of the area sensor 9, and the image pickup lens 10. A plurality of illumination LEDs 11 (see FIG. 1) that are provided in the vicinity (upper side) of the LED and serve as illumination light sources for code reading, an illumination lens (not shown) positioned in front of these illumination LEDs 11 and the like. It is prepared for. The area sensor 9 includes, for example, 600 horizontal pixels and 400 vertical pixels, and has a two-dimensional reading visual field F as shown in FIG. The illumination LED 11 and the illumination lens illuminate the entire reading field F evenly.

このような構成により、コード(例えば図3に示すバーコードC)が記録された読取対象(例えば図3に示すラベルL)に対し、オペレータがコードスキャナ1の読取窓部2aを近接させた状態(例えば最適な読取り距離が90mm)で、読取り操作つまりトリガスイッチ6のオン操作を行うことにより、照明用LED11により読取対象に照明がなされ、その反射光がエリアセンサ9により撮像されてコードが読取られるのである。尚、図示はしないが、コードとしては、QRコードのような二次元コードやOCR読取用の文字などが可能であっても良く、また、読取対象としても、伝票やカタログ等様々なものが可能である。   With such a configuration, the operator brings the reading window portion 2a of the code scanner 1 close to the reading object (for example, the label L shown in FIG. 3) on which the code (for example, the barcode C shown in FIG. 3) is recorded. When the reading operation, that is, the trigger switch 6 is turned on (for example, the optimum reading distance is 90 mm), the reading target is illuminated by the illumination LED 11, and the reflected light is imaged by the area sensor 9 to read the code. It is done. Although not shown, the code may be a two-dimensional code such as a QR code or a character for OCR reading, and various codes such as slips and catalogs can be read. It is.

読取機構3には、読取対象に対して読取範囲を示すためのマーカ用LED13(図1参照)及びその前部に配置された投光用レンズ(図示せず)が設けられている。これらマーカ用LED及び投光用レンズは、撮像レンズ10の周囲の近傍に位置して設けられており、図3に示すように読取範囲及び読取中央を示すように夫々スリット光からなるマーカ光Mを照射するようになっている。   The reading mechanism 3 is provided with a marker LED 13 (see FIG. 1) for indicating a reading range with respect to a reading target and a light projecting lens (not shown) arranged in front thereof. The marker LED and the light projecting lens are provided in the vicinity of the periphery of the imaging lens 10, and as shown in FIG. 3, the marker light M composed of slit light respectively so as to indicate the reading range and the reading center. It comes to irradiate.

上記エリアセンサ9が撮像した画像は制御装置4に出力されるようになっており、マーカ用LED13の点灯状態でエリアセンサ9が撮像した画像に基づいて、制御装置4は、エリアセンサ9の視野全体におけるマーカ光の照射位置を認識可能となっている。   The image captured by the area sensor 9 is output to the control device 4. Based on the image captured by the area sensor 9 in the lighting state of the marker LED 13, the control device 4 displays the field of view of the area sensor 9. The irradiation position of the marker light in the whole can be recognized.

図1は、コードスキャナ1の電気的構成を概略的に示す機能ブロック図である。この図1において、制御装置4は、マイクロコンピュータを主体として構成され、読取機構3からの信号のデコード処理や、装置全体の制御等を行うようになっている。つまり、制御装置4は、キー入力部5やトリガスイッチ6からの操作信号の入力に応じて表示部7の表示を制御したり、照明用LED11の点灯を制御すると共に、上述のようにマーカ用LED13を制御したりするようになっている。   FIG. 1 is a functional block diagram schematically showing the electrical configuration of the code scanner 1. In FIG. 1, a control device 4 is mainly composed of a microcomputer, and performs decoding processing of signals from the reading mechanism 3, control of the entire device, and the like. That is, the control device 4 controls the display of the display unit 7 according to the input of the operation signal from the key input unit 5 or the trigger switch 6, controls the lighting of the illumination LED 11, and as described above, The LED 13 is controlled.

また、制御装置4には、エリアセンサ9により読取られたコードの撮像データが入力され、デコードされるようになっている。このとき、図示は省略しているが、エリアセンサ9の撮像信号を増幅するアンプや、二値化データに変換する二値化回路等が設けられている。また、画像メモリ15が、制御装置4及びエリアセンサ9に接続されて設けられている。更に、この制御装置4には、例えばコードの読取り完了時に「ピッ」というブザー音を発する発音部16が接続され、また、外部(例えば管理コンピュータ等)と例えば赤外線によりデータ通信を行うデータ通信部17が接続されている。   The control device 4 is input with the code image data read by the area sensor 9 and decoded. At this time, although not shown, an amplifier for amplifying the imaging signal of the area sensor 9, a binarization circuit for converting the binarized data, and the like are provided. An image memory 15 is provided connected to the control device 4 and the area sensor 9. Furthermore, the control device 4 is connected, for example, with a sound generating unit 16 that emits a buzzer sound when a code is read, and a data communication unit that performs data communication with an external device (for example, a management computer) using, for example, infrared rays. 17 is connected.

ここで、制御装置4は、読取視野Fに位置する1つのコードを読取るという基本的な読取モードに加えて、読取視野Fに位置する1組の情報を示す多段コードを読取る多段コード読取モードを備えている。この場合、多段コードが1組の情報を示すコード群から構成されている必要があることから、本実施例では、後述するように複数のコードが予め設定された共通の特徴の組合せを満足する場合のみ、1組の情報を示す多段コードを構成するコード群として認識して読取処理を実行するようになっている。
尚、多段コードとは、縦方向に並んでいるコードのみではなく、横方向に並んでいるコードも含まれる。
Here, in addition to the basic reading mode of reading one code positioned in the reading visual field F, the control device 4 performs a multi-level code reading mode for reading a multi-level code indicating a set of information positioned in the reading visual field F. I have. In this case, since the multistage code needs to be composed of a code group indicating one set of information, in this embodiment, a plurality of codes satisfy a preset common feature combination as described later. Only in such a case, the reading process is executed by recognizing as a code group constituting a multi-stage code indicating one set of information.
Note that the multistage code includes not only a code arranged in the vertical direction but also a code arranged in the horizontal direction.

図4は、本実施例のコードスキャナ1が読取ることができる多段コードの共通の特徴の組合せ可能例を示している。この図4において、共通の特徴は条件1のいずれか1つまたは組合せ可能な条件1と条件2との論理積で設定されるもので、条件1と条件2としては、「コード種別」、「コード位置」、「モジュールサイズ」、「コードサイズ」、「コードデータ種別」、「コードデータ」、「マージンサイズ」、「誤り訂正レベル」が設定されている。このような設定は、コードスキャナ1を多段モード読取りモードに設定すると、コードスキャナ1の表示部7に設定画面が表示され、その設定画面において任意の組合せを設定することにより行われる。   FIG. 4 shows an example in which common features of multi-stage codes that can be read by the code scanner 1 of this embodiment can be combined. In FIG. 4, the common feature is set by the logical product of any one of the conditions 1 or the condition 1 and the condition 2 that can be combined. The conditions 1 and 2 include “code type”, “ Code position, module size, code size, code data type, code data, margin size, and error correction level are set. Such setting is performed by setting the code scanner 1 to the multi-stage mode reading mode and displaying a setting screen on the display unit 7 of the code scanner 1 and setting an arbitrary combination on the setting screen.

「コード種別」とは、一次元コードの場合は、JAN(EAN)−8/3、CODE39、ITF(Interleaved2of5)、NW−7(CODABAR)など、二次元コードの場合は、QRコード、PDF417、Data Matrix、Maxi Codeなどである。「コード位置」とは、コードの開始位置のことであり、図5(a)に示す左揃、(b)に示す中央揃の他、右揃の場合は読取OKとなり、(c)に示す例のように位置が不揃の場合は読取NGとなる。尚、図面に示したバーコードは実際のバーコードと異なっており、以下同様である。   “Code type” means JAN (EAN) -8/3, CODE39, ITF (Interleaved 2 of 5), NW-7 (CODEABAR), etc. in the case of a one-dimensional code, QR code, PDF417, Data Matrix, Maxi Code, etc. The “code position” is the start position of the code. In addition to the left alignment shown in FIG. 5A and the center alignment shown in FIG. 5B, reading is OK in the case of right alignment, as shown in FIG. If the positions are not aligned as in the example, reading is NG. The bar code shown in the drawing is different from the actual bar code, and so on.

「モジュールサイズ」とは、バーコードを構成する1モジュールのサイズであり、図6(a)に示す例のようにモジュールサイズが同じ場合は読取OKとなり、(b)に示す例のようにモジュールサイズが異なる場合は読取NGとなる。「コードサイズ」とは、バーコードのサイズが同じかであり、図7(a)に示す例のようにコードサイズが同じ場合は読取OKとなり、(b)に示す例のようにコードサイズが異なる場合は読取NGとなる。「コードデータ種別」とは、バーコードのデータの形式が同じかであり、図8(a)に示す例のように両方のコードとも英大文字データの場合は読取OKとなり、(b)示す例のように各コードが数字/英大文字で異なる場合は読取NGとなる。   The “module size” is the size of one module constituting the barcode. When the module size is the same as in the example shown in FIG. 6A, reading is OK, and the module as in the example shown in FIG. When the sizes are different, the reading is NG. “Code size” means that the barcode size is the same. If the code size is the same as in the example shown in FIG. 7A, reading is OK, and the code size is the same as in the example shown in FIG. If they are different, it is read NG. “Code data type” means that the data format of the bar code is the same, and if both codes are upper case data as shown in FIG. 8A, the reading is OK, and the example shown in FIG. If each code is different in numerals / uppercase letters as shown in FIG.

「コードデータ」とは、バーコード或いはQRコードが示すデータで、図9に示す例のように例えば「1文字目が’2’以外」が設定されている場合は、上から1,2段目のバーコードが読取OKとなる。「マージンサイズ」とは、各バーコードのマージンサイズが同じかであり、図10(a)に示す例のようにマージンサイズが同じである場合は読取OKとなり、(b)に示す例のようにマージンサイズが異なる場合は読取NGとなる。「誤り訂正レベル」とは、汚れたり一部が欠損していたりしても読み取れるためのレベルであり、例えばQRコードの場合は、7%、15%、25%、30%が欠損していても読取可能な誤り訂正レベルが設定可能となっている。   “Code data” is data indicated by a barcode or QR code. For example, when “first character other than“ 2 ”” is set as shown in FIG. The barcode of the eye is read OK. “Margin size” means that the margin size of each bar code is the same. When the margin size is the same as in the example shown in FIG. 10A, reading is OK, as in the example shown in FIG. If the margin sizes are different, the reading is NG. The “error correction level” is a level for reading even if it is dirty or partially missing. For example, in the case of a QR code, 7%, 15%, 25%, and 30% are missing. Also, a readable error correction level can be set.

図4に示す例では、「コード種別」は、「コード位置」、「コードデータ種別」、「コードデータ」、「マージンサイズ」と組合せ可能であり、「コード種別」が同じ場合のみ「モジュールサイズ」と「コードサイズ」と組合せ可能であり、「コード種別」が同じで且つ誤り訂正機能を備えたコードの場合のみ「誤り訂正レベル」との組合せが可能となっている。   In the example shown in FIG. 4, “code type” can be combined with “code position”, “code data type”, “code data”, and “margin size”, and only when “code type” is the same, “module size” ”And“ code size ”can be combined, and“ error correction level ”can be combined only in the case of codes having the same“ code type ”and having an error correction function.

尚、多段コードが複数の二次元バーコードから構成されている場合は、モジュールサイズが同じで且つコード位置が揃っているか、または誤り訂正レベルが同じで且つコード位置が揃っているかの組合せが可能で、図11に示す例のように、モジュールサイズが同じで且つコードが横方向に揃っている場合は読取OKとなり、縦方向に揃っているもののモジュールサイズが異なる場合は読取NGとなる。
また、多段コードが一次元コードと二次元コードから構成されている場合は、図12に示す例のようにコードの中心が揃っている場合は読取OKとなる。
If the multi-level code is composed of multiple two-dimensional barcodes, combinations of the same module size and the same code position, or the same error correction level and the same code position are possible. Thus, as in the example shown in FIG. 11, reading is OK when the module size is the same and the codes are aligned in the horizontal direction, and reading NG is performed when the modules are aligned in the vertical direction but the module sizes are different.
If the multistage code is composed of a one-dimensional code and a two-dimensional code, reading is OK when the centers of the codes are aligned as in the example shown in FIG.

さらに、共通の特徴を指定するための各条件の組合せは条件式で示すことができ、条件1且つ条件2の場合は、「条件1」AND「条件2」で表すことができる。この場合、条件1と条件2との論理積(論理式でAND)に限らず、条件1と条件2との論理和(論理式で「条件1」OR「条件2」)、或いは特徴を条件としない否定(論理式でNOT)により条件を設定するようにしてもよい。   Furthermore, combinations of conditions for designating common features can be expressed by conditional expressions. In the case of condition 1 and condition 2, they can be expressed by “condition 1” AND “condition 2”. In this case, not only the logical product of condition 1 and condition 2 (logical expression AND), but also the logical sum of condition 1 and condition 2 (logical expression "condition 1" OR "condition 2") The condition may be set by negation (NOT in the logical expression).

次に、上記構成の作用について述べる。
多段コードを読取る場合は、コードスキャナ1を多段コード読取モードに設定し、図4に示した共通の特徴を少なくとも1つ指定してから、図3に示すようにマーカ用LED13が示す読取視野Fに読取対象の多段コードを位置させた状態で読取り操作を行う。これにより、コードスキャナ1は、多段コードの読取モードを実行する。
Next, the operation of the above configuration will be described.
When reading a multistage code, the code scanner 1 is set to a multistage code reading mode, and at least one common feature shown in FIG. 4 is designated, and then the reading field F indicated by the marker LED 13 as shown in FIG. The reading operation is performed with the multi-stage code to be read positioned in the position. As a result, the code scanner 1 executes a multi-stage code reading mode.

図13は、コードスキャナ1の制御装置4の多段コード読取モードの動作を示すフローチャートである。この図13において、制御装置4は、読取視野Fに位置する読取対象のコードのうち最初のコードを読取ってから(S101)、全てのコードを読取り処理を終了したかを判断し(S102)、終了していない場合は(S102:NO)、次のコードを順に読取る(S101)。そして、全ての段のコードの読取り処理が終了したときは(S102:YES)、特徴チェック処理を実行する(S103)。   FIG. 13 is a flowchart illustrating the operation of the control device 4 of the code scanner 1 in the multistage code reading mode. In FIG. 13, the control device 4 reads the first code among the codes to be read located in the reading visual field F (S101), determines whether all the codes have been read (S102), If not finished (S102: NO), the next code is read in order (S101). When the code reading process for all the stages is completed (S102: YES), a feature check process is executed (S103).

図14は、コードスキャナ1の特徴チェック処理を示している。この図14において、制御装置4は、コード種別、コード位置、モジュールサイズ、コードサイズ、コードデータ種別、コードデータ、マージンサイズ、誤り訂正レベルが共通の特徴として指定されているかを判断し(S201〜S208)、指定されている各条件が成立しない場合は(S209〜S216:NO)、エラーとなる(S217)。   FIG. 14 shows a feature check process of the code scanner 1. In FIG. 14, the control device 4 determines whether the code type, code position, module size, code size, code data type, code data, margin size, and error correction level are designated as common features (S201 to S201). S208) If the specified conditions are not satisfied (S209 to S216: NO), an error occurs (S217).

これに対して、指定されている条件が成立した場合(S209〜S216:YES)、つまり読取視野Fに位置するコード群が指定されている共通の特徴を有している場合は、図13に示すフローチャートにおいて、それらの共通の特徴の組合せを示す論理式からなる条件式が成立するかを判断する(S104)。つまり、図4に示した条件1のいずれか、或いは条件1と条件2との組合せのうち予め設定された条件が成立するかを判断する。   On the other hand, if the designated condition is satisfied (S209 to S216: YES), that is, if the code group located in the reading field F has the common feature designated, FIG. In the flowchart shown, it is determined whether a conditional expression including a logical expression indicating a combination of these common features is satisfied (S104). That is, it is determined whether any one of the conditions 1 shown in FIG. 4 or a combination of the conditions 1 and 2 is satisfied.

そして、図5ないし図12を参照して説明したような判定基準に基づいて条件式が成立したときは(S104:YES)、多段コードの読取り処理を実行する(S105)。即ち、多段コードを構成するコードを順に読取り、それらの情報を組合せることにより多段コードからなる1組の情報を読取る。従って、図15に示すように多段コードが印刷された帳票が重なることにより異なる帳票に印刷された複数のバーコードを多段コード読取りモードで読取ろうとした場合は、読取対象のコードは指定された共通の特徴を有していないことによりエラーが報知されるので、このような複数のコードを多段コードとして誤って読取処理してしまうことを防止できる。   When the conditional expression is satisfied based on the determination criteria as described with reference to FIGS. 5 to 12 (S104: YES), the multi-stage code reading process is executed (S105). That is, a set of information consisting of a multi-stage code is read by sequentially reading the codes constituting the multi-stage code and combining the information. Therefore, as shown in FIG. 15, when a plurality of barcodes printed on different forms are to be read in the multi-stage code reading mode by overlapping the forms on which the multi-stage codes are printed, the code to be read is the designated common code. Since the error is notified by not having the above feature, it is possible to prevent such a plurality of codes from being erroneously read as a multistage code.

このような実施例によれば、多段コードの読取り処理を行う場合は、複数のコードからなるコード群が予め指定された共通の特徴を有するかを判断し、成立したときのみ多段コードの読取り処理を実行するようにしたので、1組の情報を示さないコード群を多段コードとして読取ってしまうことを防止できる。従って、データまたはコード種が単に同じか否かで多段コードかを判断している従来例のものと違って、重なり合った帳票などのコードの場合に読取り処理を行ってしまうことを確実に防止できる。
しかも、共通の特徴の組合せを論理式からなる条件式で表すようにしたので、複雑な組合せも容易に設定することができる。
According to such an embodiment, when multi-stage code reading processing is performed, it is determined whether a code group consisting of a plurality of codes has a pre-specified common feature, and multi-stage code reading processing is performed only when it is established. Therefore, it is possible to prevent a code group not showing one set of information from being read as a multistage code. Therefore, unlike the conventional example in which it is determined whether the data or code type is simply the same or not, it is possible to reliably prevent the reading process from being performed in the case of codes such as overlapping forms. .
In addition, since the combination of common features is expressed by a conditional expression including a logical expression, a complicated combination can be easily set.

(その他の実施例)
本発明は、上記実施例に限定されることなく、次のように変形または拡張できる。
多段コードの段数を予め設定するようにしてもよい。この場合、共通の特徴に加えて段数でも多段コードが1組の情報を示しているかを判断することができるので、誤った組合せを一層確実に防止することができる。
(Other examples)
The present invention is not limited to the above embodiment, but can be modified or expanded as follows.
The number of stages of the multistage code may be set in advance. In this case, in addition to the common feature, it can be determined whether the multi-stage code indicates one set of information even with the number of stages, so that erroneous combinations can be prevented more reliably.

例えば本発明の光学式情報読取装置は、いわゆるハンディターミナルに限らず、ホストコンピュータに接続されるハンディタイプのもの、つまり画像の読取りだけを行ってデータ処理等をホストコンピュータ側で行うタイプのものに適用しても良く、例えばQRコードの読取り専用の装置に適用しても良い。   For example, the optical information reader according to the present invention is not limited to a so-called handy terminal, but is a handy type connected to a host computer, that is, a type in which only data is read and data processing is performed on the host computer side. For example, the present invention may be applied to a QR code reading-only device.

本発明の一実施例におけるコードスキャナの電気的構成を示すブロック図The block diagram which shows the electric constitution of the code scanner in one Example of this invention. コードスキャナの縦断面図Code scanner vertical section コードスキャナによる読取視野を示すラベルの正面図Front view of label showing field of view by code scanner 各特徴の組み合わせ方法を示す図Diagram showing how each feature is combined 位置チェックによる読取結果を示す図The figure which shows the reading result by position check モジュールサイズチェックによる読取結果を示す図Figure showing the result of module size check コードサイズチェックによる読取結果を示す図Diagram showing the result of code size check コードデータ種別チェックによる読取結果を示す図The figure which shows the reading result by code data type check コードデータチェックによる読取結果を示す図The figure which shows the reading result by code data check マージンサイズチェックによる読取結果を示す図The figure which shows the reading result by margin size check 二次元コードの読取結果を示す図Diagram showing the reading result of two-dimensional code 一次元コードと二次元コードの読取結果を示す図Diagram showing reading results of 1D code and 2D code コードスキャナの制御装置による多段コード読取モードの動作を示すフローチャートFlowchart showing operation of multi-stage code reading mode by control device of code scanner コードスキャナの制御装置による特徴チェック処理を示すフローチャートFlowchart showing feature check processing by control device of code scanner 重なった帳票の読取結果を示す図A diagram showing the results of reading overlaid forms

符号の説明Explanation of symbols

図面中、1はコードスキャナ(光学式情報読取装置)、4は制御装置(読取手段、特徴設定手段、特徴検出手段)、9はエリアセンサである。

In the drawing, 1 is a code scanner (optical information reading device), 4 is a control device (reading means, feature setting means, feature detection means), and 9 is an area sensor.

Claims (6)

二次元の読取視野を二次元画像として撮像するエリアセンサと、このエリアセンサによる二次元画像内に位置する多段コードを1組の情報として読取る読取処理を実行する読取手段とを備えた光学式情報読取装置において、
読取対象の多段コードが有する共通の特徴を設定する特徴設定手段と、
前記エリアセンサによる二次元画像内の複数のコードのうち前記特徴設定手段で設定された共通の特徴を有するコードを検出する特徴検出手段とを備え、
前記読取手段は、前記特徴検出手段が複数のコードを検出した場合は、それらのコードを1組の多段コードを構成するコード群として認識して読取処理を実行することを特徴とする光学式情報読取装置。
Optical information including an area sensor that captures a two-dimensional reading field as a two-dimensional image, and a reading unit that executes a reading process for reading a multistage code positioned in the two-dimensional image by the area sensor as a set of information. In the reading device,
Feature setting means for setting common features of multi-stage codes to be read; and
Feature detection means for detecting a code having a common feature set by the feature setting means among a plurality of codes in the two-dimensional image by the area sensor,
When the feature detecting unit detects a plurality of codes, the reading unit recognizes these codes as a code group constituting a set of multistage codes, and executes a reading process. Reader.
前記特徴設定手段は、共通の特徴を、コード種別、コード位置、モジュールサイズ、コードサイズ、コードデータ種別、コードデータ、マージンサイズ、誤り訂正レベルのうちの一つまたは複数を組合せて設定することを特徴とする請求項1記載の光学式情報読取装置。   The feature setting means sets a common feature by combining one or more of a code type, a code position, a module size, a code size, a code data type, code data, a margin size, and an error correction level. The optical information reader according to claim 1, wherein 前記特徴設定手段は、それぞれの多段コードに共通の特徴と関連付けて当該多段コードを構成するコードの段数を設定し、
前記読取手段は、前記特徴検出手段が共通の特徴を検出したコードの段数が前記特徴設定手段によるコードの段数が一致した場合に、1組の多段コードを構成するコード群として認識して読取処理することを特徴とする請求項1または2記載の光学式情報読取装置。
The feature setting means sets the number of code stages constituting the multi-stage code in association with a common characteristic of each multi-stage code,
When the number of code stages detected by the feature detection unit matches the number of code stages detected by the feature setting unit, the reading unit recognizes the code group as a set of multi-stage codes and performs a reading process. The optical information reader according to claim 1 or 2, wherein
前記特徴設定手段は、1組の多段コードに共通の特徴を複数種類設定する場合は、それらの特徴を論理式で設定することを特徴とする請求項1ないし3の何れかに記載の光学式情報読取装置。   4. The optical system according to claim 1, wherein when a plurality of types of common features are set in a set of multistage codes, the feature setting means sets the features by a logical expression. Information reader. 前記特徴設定手段は、論理式として共通の特徴のうち任意の共通の特徴がないことを示す否定式を設定可能であることを特徴とする請求項4記載の光学式情報読取装置。   5. The optical information reader according to claim 4, wherein the feature setting means can set a negative expression indicating that there is no arbitrary common characteristic among the common characteristics as a logical expression. 前記多段コードは、一次元コードのみ、または二次元コードのみ、または一次元コードと二次元コードとを組合せて構成されていることを特徴とする請求項1ないし5の何れかに記載の光学式情報読取装置。

The optical system according to any one of claims 1 to 5, wherein the multistage code is configured by only one-dimensional code, only two-dimensional code, or a combination of one-dimensional code and two-dimensional code. Information reader.

JP2004323839A 2004-11-08 2004-11-08 Optical information reader Expired - Fee Related JP4419805B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004323839A JP4419805B2 (en) 2004-11-08 2004-11-08 Optical information reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004323839A JP4419805B2 (en) 2004-11-08 2004-11-08 Optical information reader

Publications (2)

Publication Number Publication Date
JP2006134160A true JP2006134160A (en) 2006-05-25
JP4419805B2 JP4419805B2 (en) 2010-02-24

Family

ID=36727643

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004323839A Expired - Fee Related JP4419805B2 (en) 2004-11-08 2004-11-08 Optical information reader

Country Status (1)

Country Link
JP (1) JP4419805B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009117732A (en) * 2007-11-09 2009-05-28 Panasonic Corp Nozzle
JP2010097453A (en) * 2008-10-17 2010-04-30 Denso Wave Inc Optical information reading apparatus
JP2011048561A (en) * 2009-08-26 2011-03-10 Denso Wave Inc Optical information read device
CN102385687A (en) * 2010-08-26 2012-03-21 东芝泰格有限公司 Code reading apparatus, portable terminal, and commodity information processing system
JP2014203090A (en) * 2013-04-01 2014-10-27 富士通フロンテック株式会社 Double bar-code reader and double bar-code reading method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009117732A (en) * 2007-11-09 2009-05-28 Panasonic Corp Nozzle
JP2010097453A (en) * 2008-10-17 2010-04-30 Denso Wave Inc Optical information reading apparatus
JP2011048561A (en) * 2009-08-26 2011-03-10 Denso Wave Inc Optical information read device
CN102385687A (en) * 2010-08-26 2012-03-21 东芝泰格有限公司 Code reading apparatus, portable terminal, and commodity information processing system
JP2012069091A (en) * 2010-08-26 2012-04-05 Toshiba Tec Corp Code reader, portable terminal and commodity information processing system
US8678280B2 (en) 2010-08-26 2014-03-25 Toshiba Tec Kabushiki Kaisha Code reading apparatus, portable terminal, and commodity information processing system
JP2014203090A (en) * 2013-04-01 2014-10-27 富士通フロンテック株式会社 Double bar-code reader and double bar-code reading method

Also Published As

Publication number Publication date
JP4419805B2 (en) 2010-02-24

Similar Documents

Publication Publication Date Title
US10509933B2 (en) Method and apparatus for optically reading out information stored in a barcode
JP4058529B2 (en) Optical information reader
EP1831816B1 (en) Methods and apparatus for information capture illumination
US5945661A (en) Data symbol reader and method including data symbol position evaluation
US7382911B1 (en) Identification card reader
JP4186915B2 (en) Optical information reader
US8783570B2 (en) Reader with optical character recognition
JP4419805B2 (en) Optical information reader
JPH064699A (en) Bar code reader
US8210436B2 (en) Automatic video image reversal of difficult to read symbols
EP2370930B1 (en) Minimizing misdecodes in electro-optical readers
JP4650138B2 (en) Optical information reader
JP4100273B2 (en) Two-dimensional code reading method and two-dimensional code reading apparatus
JPH08263585A (en) Bar code reading device
JP4175223B2 (en) Optical information reader
JP3140184B2 (en) Barcode symbol reader
JP4951745B2 (en) Bar code reader
JP4082321B2 (en) Optical information reader
US8840025B2 (en) Arrangement for and method of preventing symbol misreads in electro-optical readers
JPS63131282A (en) Optical reader
JP2008140033A (en) Code reader and code reading method
JPH06266881A (en) Bar code symbol reader
JP2669434B2 (en) Optical character reader
JP2007233678A (en) Optical information reader
JP2005234970A (en) Information code reader

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061212

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090108

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090203

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090406

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: 20091110

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091123

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121211

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4419805

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121211

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121211

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121211

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131211

Year of fee payment: 4

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

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees