Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2603702B2 - Multi-barcode reader with automatic preprocessing identification function - Google Patents
[go: Go Back, main page]

JP2603702B2 - Multi-barcode reader with automatic preprocessing identification function - Google Patents

Multi-barcode reader with automatic preprocessing identification function

Info

Publication number
JP2603702B2
JP2603702B2 JP63227952A JP22795288A JP2603702B2 JP 2603702 B2 JP2603702 B2 JP 2603702B2 JP 63227952 A JP63227952 A JP 63227952A JP 22795288 A JP22795288 A JP 22795288A JP 2603702 B2 JP2603702 B2 JP 2603702B2
Authority
JP
Japan
Prior art keywords
code
identification
margin
code type
decoding
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.)
Expired - Lifetime
Application number
JP63227952A
Other languages
Japanese (ja)
Other versions
JPH0276086A (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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP63227952A priority Critical patent/JP2603702B2/en
Publication of JPH0276086A publication Critical patent/JPH0276086A/en
Application granted granted Critical
Publication of JP2603702B2 publication Critical patent/JP2603702B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、複数種のバーコードを迅速に読み取り可
能なマルチバーコードリーダに関するものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multi-barcode reader capable of rapidly reading a plurality of types of barcodes.

〔従来の技術〕[Conventional technology]

複数種のバーコードの読み取りの要求に対して、一つ
のバーコードリーダで対応しようとする場合、従来は、
使用者がROMの入れ換えやスイッチの設定変更等を行な
う必要があった。
Conventionally, when one barcode reader is used to respond to requests for reading multiple types of barcodes,
The user had to replace the ROM or change the switch settings.

しかし、それでは不便なことから、最近では、複数種
のバーコードに対してROMの入れ換えやスイッチの設定
変更なしに対応可能なバーコードリーダが製品化され出
している。これ等の製品は、いずれも読み取り対象とな
る複数種のバーコードの各々についてデコード処理を縦
列的に実行し、リジェクトせずにデコード処理が完了す
るコード種があれば、そこでデコード処理を打ち切るこ
とにより、複数種バーコードの読取りを実現している。
However, this is inconvenient, and recently, barcode readers that can handle a plurality of types of barcodes without replacing ROMs or changing switch settings have been commercialized. All of these products execute decoding processing in parallel for each of multiple types of barcodes to be read, and if there is a code type that completes decoding processing without rejection, stop decoding processing there. Thus, reading of a plurality of types of barcodes is realized.

〔発明が解決しようとする課題〕 上述したように、対象バーコード種の各々について縦
列的にデコード処理を実施すると、コード種によって読
み取り完了時間が大きくばらつき、デコード処理の待ち
順が遅いコード種ほど、読み取り完了時間が長びいてし
まう。
[Problems to be Solved by the Invention] As described above, when the decoding process is performed in tandem for each of the target barcode types, the reading completion time greatly varies depending on the code type, and the code type in which the waiting order of the decoding process is later is lower. In this case, the reading completion time is prolonged.

また、デコード手段内での縦列的な処理では、スキャ
ン対象となったバーコードの読み取りが完了するまでに
通る処理経路が非常に複雑になる。加えて、対象コード
種の識別処理をバーコード全体で行なうことになるた
め、想定しなければならない処理パターン数が非常に多
くなって識別に対する許容誤差の算出も複雑になる。し
かも、その算出は、個々のデコーダの性能と一体不可分
となるため、デコード手段内での処理プログラムを変更
すると算出もやり直さなければならないと云う不便さも
ある。
Further, in the tandem processing in the decoding means, the processing path that passes through the completion of the reading of the barcode to be scanned becomes very complicated. In addition, since the identification process of the target code type is performed on the entire barcode, the number of processing patterns to be assumed becomes extremely large, and the calculation of an allowable error for identification becomes complicated. Moreover, since the calculation is inseparable from the performance of each decoder, there is also the inconvenience that if the processing program in the decoding means is changed, the calculation must be performed again.

〔課題を解決するための手段〕[Means for solving the problem]

この発明は、上述の諸問題を無くすため、マージン検
出手段を設けて二値化後の走査信号の中から先ずバーコ
ード部分のみを切り出す。次に、この切り出した信号を
自動識別手段に通して走査対象となったバーコードのコ
ード種が何んであるかを識別する。そして、この識別結
果をもとに、デコード手段(この手段は、複数のコード
種それぞれに対応した複数のデコーダを含んでいる)の
中の識別コード種に対応したひとつのデコーダを起動す
る。
According to the present invention, in order to eliminate the above-mentioned problems, a bar code portion is first cut out from a binarized scanning signal by providing a margin detecting means. Next, the cut-out signal is passed through an automatic identification unit to identify the type of the barcode to be scanned. Then, based on the identification result, one decoder corresponding to the identification code type in the decoding means (this means includes a plurality of decoders respectively corresponding to the plurality of code types) is activated.

かかる処理を実行するためのこの発明の装置構成を第
1図に示す。図の11は走査対象のバーコードである。ま
た、12はスキャナであり、バーコードの構成バーやバー
間スペース等の光反射率に応じてアナログ信号を発生す
る。
FIG. 1 shows an apparatus configuration of the present invention for executing such processing. Reference numeral 11 in the figure denotes a barcode to be scanned. Reference numeral 12 denotes a scanner, which generates an analog signal according to the light reflectance of a bar constituting a bar code or the space between bars.

13は二値化手段であり、スキャナ12からのアナログ信
号を、その信号自体から生成されたスレッシュ用信号よ
りも大きいか小さいかにより二値のデジタル信号に変換
する。
Reference numeral 13 denotes a binarizing unit that converts an analog signal from the scanner 12 into a binary digital signal depending on whether the signal is larger or smaller than a threshold signal generated from the signal itself.

14はマージン検出手段であり、二値化手段13からのデ
ジタル信号の中から余分な情報を除いてバーコードに関
係した部分のみを切り出す。この切り出しは、走査方向
前後のマージン間がバーコード情報であるので、走査方
向前後のマージンを検出してマージン間の信号を抽出す
る方法で行なわれる。
Reference numeral 14 denotes a margin detecting unit which cuts out only a portion related to a bar code from the digital signal from the binarizing unit 13 by removing unnecessary information. Since the bar code information is provided between the margins before and after the scanning direction, the clipping is performed by detecting the margins before and after the scanning direction and extracting a signal between the margins.

15は自動識別手段である。この識別手段15は、読み取
り対象となるバーコードの各々に見られる特有の特徴部
分を判定材料にしてマージン検出手段が切り出したバー
コードのコード種を識別する。
15 is an automatic identification means. The identification means 15 identifies the code type of the barcode cut out by the margin detection means, using a unique characteristic portion found in each of the barcodes to be read as a determination material.

16はデコード手段であり、自動識別手段15からのコー
ド識別結果に基づいて、そのコード種に対するデコード
処理を実行する。
Decoding means 16 executes decoding processing for the code type based on the code identification result from the automatic identification means 15.

〔作用〕[Action]

マージン検出手段14で、バーコード部分の情報のみを
抽出すると、バーコード情報の前後に混入した印字物等
による余分な情報が除かれて処理すべき情報量が少なく
なるため、自動識別手段15によるコード種の識別処理、
デコード手段16によるデコード処理が円滑化される。
When only the information of the bar code portion is extracted by the margin detecting means 14, extra information such as printed matter mixed before and after the bar code information is removed, and the amount of information to be processed is reduced. Code type identification processing,
The decoding process by the decoding means 16 is facilitated.

また、自動識別手段15によって、デコード処理に移る
前に走査対象のバーコード種を識別すると、走査対象外
のコード種を想定した無駄なデコード処理を行なう必要
がなく、順番待無しで即、対応したデコーダによるデコ
ード処理に移って1回のデコード処理で迅速に読み取り
を完了できる。
In addition, if the bar code type to be scanned is identified by the automatic identification means 15 before proceeding to the decoding process, there is no need to perform useless decoding processing assuming a code type not to be scanned, and it is possible to respond immediately without waiting in order. The read operation can be completed quickly by one decoding operation by shifting to the decoding operation performed by the decoded decoder.

〔実施例〕〔Example〕

スキャナからの情報信号をマイクロプロセッサを用い
て処理するバーコードリーダの実施例を第2図に示す。
このリーダにおいては、第1図で述べた二値化手段13の
具体例として二値化回路21を使用している。また、第1
図におけるマージン検出手段14、自動識別手段15、デコ
ーダ手段16の3者は、マイクロプロセッサ22、ROM23、R
AM24を共用して構成してある。即ち、ROM23に収納され
たプログラム、定数に従い、マイクロプロセッサ22がRA
M24を使ってマージン検出によるバーコード情報の切り
出し処理、その情報についてのコード種の自動識別処
理、識別コード種に対応したデコード処理を実行する。
FIG. 2 shows an embodiment of a barcode reader for processing information signals from a scanner using a microprocessor.
In this reader, a binarizing circuit 21 is used as a specific example of the binarizing means 13 described in FIG. Also, the first
In the figure, a margin detecting means 14, an automatic identification means 15, and a decoder means 16 are a microprocessor 22, a ROM 23, an R
AM24 is shared. That is, according to the program and constant stored in the ROM 23, the microprocessor 22
The M24 is used to execute barcode information cutout processing by margin detection, automatic code type identification processing for the information, and decoding processing corresponding to the identification code type.

第3図は、マイクロプロセッサ22によるマージン検出
のフローチャートである。まず、ステップで前方マー
ジンを、次にステップで後方マージンを検出し、この
前後のマージン間に存在するバーコード部分の情報を抽
出してコード種の識別処理に回わす。ここで、前方マー
ジンとは時間的に先に取り込まれるマージンのことであ
る。つまり、順方向(第1図、第2図の矢印方向)スキ
ャンならば前方マージンはレフト・マージン、時間的に
後から取込まれる後方マージンはライト・マージンとな
り、逆方向スキャンならば前後マージンのレフト・ライ
トの関係が上とは逆になる。
FIG. 3 is a flowchart of the margin detection by the microprocessor 22. First, a front margin is detected in a step, and a rear margin is detected in a step. Information on a bar code portion existing between the margins before and after the front margin is extracted and sent to a code type identification process. Here, the front margin is a margin taken in earlier in time. That is, in the case of a forward scan (the direction of the arrow in FIGS. 1 and 2), the front margin is a left margin, the rear margin taken in later in time is a right margin, and in the case of a reverse scan, the front and rear margins are. The left / right relationship is reversed.

第4図は、マイクロプロセッサ22によるコード種自動
識別処理のフローチャートである。このように、先ず、
ステップで後方ガードバー及びその付近のメッセージ
部による識別を行なう。そして、このステップで走査
対象バーコードのコード種が何んであるかが判明すれば
識別を終了し、しなければ次のステップに移る。同様
にステップでコード種が判明すれば識別を終了し、し
なければステップに、また、このステップでも識別
不能ならばステップに移る。ステップは、メッセー
ジ部の内部に踏み込んでの識別処理であるので、ここま
でくれば、コード種が何んであるかは確実に判る。
FIG. 4 is a flowchart of the code type automatic identification processing by the microprocessor 22. Thus, first,
In the step, the rear guard bar and the message part around it are identified. Then, in this step, if it is determined what the code type of the bar code to be scanned is, the identification is terminated, and if not, the process proceeds to the next step. Similarly, if the code type is found in the step, the identification is terminated. If not, the process proceeds to the step. If the identification is not possible in this step, the process proceeds to the step. Since the step is an identification process stepping into the inside of the message portion, it is possible to surely understand what the code type is by this step.

第5図は、コード種識別後のバーコード情報をマイク
ロプロセッサ22でデコード処理する場合のフローチャー
トである。このデコード処理は、自動識別手段から得ら
れるコード種の識別結果が例えばJANコードであるなら
ば、読み取り対象となるコード種の各々に対応させて設
けてあるデコーダの中からJANコード用デコーダを選択
し、これを起動することによって実行される。
FIG. 5 is a flowchart in the case where the microprocessor 22 decodes the barcode information after code type identification. In this decoding process, if the code type identification result obtained from the automatic identification means is, for example, a JAN code, a JAN code decoder is selected from decoders provided corresponding to each of the code types to be read. It is executed by invoking it.

〔効果〕〔effect〕

以上述べたように、この発明によれば、二値化後の走
査信号の中からバーコード情報のみを切り出し、次に、
その情報についてコード種を識別し、この結果に基いて
対応したデコーダを起動するので、無駄な情報処理が無
くなり、実行時間が全体的に短かくてコード種による時
間のばらつきも少ないマルチバーコードリーダを実現で
きる。
As described above, according to the present invention, only barcode information is cut out from the binarized scan signal,
Since the code type is identified based on the information and the corresponding decoder is started based on the result, unnecessary information processing is eliminated, the execution time is short as a whole, and the time variation due to the code type is small, and the multi-barcode reader is small. Can be realized.

また、バーコード情報の切り出し、コード種の識別を
デコード処理とは切り離して行なうため、識別に対する
許容誤差もデコード処理の内容とは無関係に容易に算出
可能となる。
Further, since the barcode information is cut out and the code type is identified separately from the decoding process, the allowable error for the identification can be easily calculated irrespective of the content of the decoding process.

従って、マルチバーコードリーダの使い易さ、性能、
信頼性が増し、その利用範囲が広がると云う効果が得ら
れ、バーコードによる情報処理の更なる普及に貢献でき
る。
Therefore, the ease of use, performance,
The effect of increasing the reliability and widening the range of use can be obtained, and can contribute to the further spread of information processing using bar codes.

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

第1図は、この発明のマルチバーコードリーダの基本構
成を示すブロック図、第2図はこの発明の一具体例を示
すブロック図、第3図はマイクロプロセッサによるマー
ジン検出処理の一例を示すフローチャート、第4図はマ
イクロプロセッサによるコード種自動識別処理の一例を
示すフローチャート、第5図はマイクロプロセッサによ
るデコード処理の一例を示すフローチャートである。 11……バーコード、12……スキャナ、 13……二値化手段、14……マージン検出手段、 15……コード種自動識別手段、 16……デコード手段、 21……二値化回路、 22……マイクロプロセッサ、 23……ROM、24……RAM。
FIG. 1 is a block diagram showing a basic configuration of a multi-barcode reader of the present invention, FIG. 2 is a block diagram showing a specific example of the present invention, and FIG. 3 is a flowchart showing an example of a margin detecting process by a microprocessor. FIG. 4 is a flowchart showing an example of code type automatic identification processing by the microprocessor, and FIG. 5 is a flowchart showing an example of decoding processing by the microprocessor. 11 bar code, 12 scanner, 13 binarization means, 14 margin detection means, 15 automatic code type identification means, 16 decoding means, 21 binarization circuit, 22 … Microprocessor, 23… ROM, 24… RAM.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数種のバーコードを読み取り可能なバー
コードリーダであって、二値化後の走査信号の中からバ
ーコードの走査方向前後のマージンを検出してバーコー
ドに関連した信号のみを抽出するマージン検出手段と、
この抽出信号をもとに走査対象バーコードのコード種を
識別する自動識別手段と、複数のコード種それぞれに対
応した複数のデコーダを含むデコード手段とを具備し、
上記自動識別手段による識別結果に基づいて、デコード
手段の中の識別コード種に対応したひとつのデコーダを
起動する如く構成されていることを特徴とする前処理自
動識別機能付マルチバーコードリーダ。
1. A bar code reader capable of reading a plurality of types of bar codes, wherein a margin related to a bar code scanning direction is detected from a binarized scanning signal, and only a signal related to the bar code is detected. Margin detecting means for extracting
Automatic identification means for identifying the code type of the bar code to be scanned based on the extracted signal, and decoding means including a plurality of decoders corresponding to each of the plurality of code types,
A multi-barcode reader with a preprocessing automatic identification function, characterized in that one decoder corresponding to the identification code type in the decoding means is started based on the identification result by the automatic identification means.
JP63227952A 1988-09-12 1988-09-12 Multi-barcode reader with automatic preprocessing identification function Expired - Lifetime JP2603702B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63227952A JP2603702B2 (en) 1988-09-12 1988-09-12 Multi-barcode reader with automatic preprocessing identification function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63227952A JP2603702B2 (en) 1988-09-12 1988-09-12 Multi-barcode reader with automatic preprocessing identification function

Publications (2)

Publication Number Publication Date
JPH0276086A JPH0276086A (en) 1990-03-15
JP2603702B2 true JP2603702B2 (en) 1997-04-23

Family

ID=16868841

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63227952A Expired - Lifetime JP2603702B2 (en) 1988-09-12 1988-09-12 Multi-barcode reader with automatic preprocessing identification function

Country Status (1)

Country Link
JP (1) JP2603702B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2776035B2 (en) * 1991-02-18 1998-07-16 富士通株式会社 Barcode reader
CN109305422B (en) * 2017-07-27 2024-09-03 康美包(苏州)有限公司 Food package detection system and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS593589A (en) * 1982-06-30 1984-01-10 Casio Comput Co Ltd Bar code reader
JPS6011973A (en) * 1983-07-01 1985-01-22 Nec Corp Bar code reader
JPH0668775B2 (en) * 1986-10-06 1994-08-31 松下電器産業株式会社 Bar code reader

Also Published As

Publication number Publication date
JPH0276086A (en) 1990-03-15

Similar Documents

Publication Publication Date Title
US5723853A (en) Bar code reader
US5481098A (en) Method and apparatus for reading multiple bar code formats
US6095419A (en) Bar code reading apparatus for reading plural code systems
US4748317A (en) Optical reader
JPH064695A (en) Barcode reader
US20060091216A1 (en) Self-optimizing symbology reader
JP4449993B2 (en) Optical information reader
JPH01319884A (en) Code reader
US5471041A (en) Bar-code reader device
JP2603702B2 (en) Multi-barcode reader with automatic preprocessing identification function
JPH09161001A (en) Barcode reader
JP3448404B2 (en) Barcode reading device and barcode reading method
JP2603702C (en)
US5764798A (en) Prioritized searching methods for finding a coded symbol in a digitized image
JPH08263585A (en) Code reader
JPH0253194A (en) Identification label and reader
JP2937527B2 (en) Barcode reader
JP3140184B2 (en) Barcode symbol reader
JP3835003B2 (en) Data code reader and program recording medium thereof
JPH0241697Y2 (en)
JP2853450B2 (en) Bar code reader
JPH04276880A (en) Bar code demodulation system
JP2742920B2 (en) Barcode reader
JP2779898B2 (en) Barcode reader
JP2953143B2 (en) Barcode reading device and barcode reading method