JPH0276086A - Multi-bar code reader with automatic identification function for pre-processing - Google Patents

Multi-bar code reader with automatic identification function for pre-processing

Info

Publication number
JPH0276086A
JPH0276086A JP63227952A JP22795288A JPH0276086A JP H0276086 A JPH0276086 A JP H0276086A JP 63227952 A JP63227952 A JP 63227952A JP 22795288 A JP22795288 A JP 22795288A JP H0276086 A JPH0276086 A JP H0276086A
Authority
JP
Japan
Prior art keywords
code
information
processing
identification
barcode
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
JP63227952A
Other languages
Japanese (ja)
Other versions
JP2603702B2 (en
Inventor
Muneaki Ueki
植木 宗昭
Shigeki Tawara
田原 重樹
Koji Sugiura
杉浦 廣司
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

Abstract

PURPOSE:To obtain a multi-bar code reader in which execution time is shortened and with a few amount of dispersion in a time according to a kind of code by segmenting only code information from a scan signal after binarization, next, identifying the kind of code of the information, and starting up a corresponding decoder based on the result of identification. CONSTITUTION:A margin detecting means 14 segments only a part related to a bar code by eliminating unrequired information from a digital signal from a binarization means 13. In other words, the unrequired information due to a printed matter, etc., mixed in the neighborhood of the bar code information can be eliminated by extracting only the information of a bar code part, and the amount of information to be processed can be reduced, thereby, the identification processing of the kind of code by an automatic identification means 15 and a decoding processing by a decoder means 16 can be performed smoothly. Also, by identifying the kind of code that is a target of scan before a processing is shifted to the decoding processing, it is not required to perform a waste decoding processing predicting the kind of code that is outside the target of scan, and reading can be completed rapidly in one time of decoding processing.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、複数種のバーコードを迅速に読み取り可能
なマルチバーコードリーダに関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a multi-barcode reader that can quickly read multiple types of barcodes.

〔従来の技術〕[Conventional technology]

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

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

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述したように、対象バーコード種の各々について縦列
的にデコード処理を実施すると、コード種によって読み
取り完了時間が大きくばらつき、デコード処理の待ち順
が遅いコード種はど、読み取り完了時間が長びいてしま
う。
As mentioned above, if decoding processing is performed in tandem for each target barcode type, the reading completion time will vary greatly depending on the code type, and code types that are slower in the decoding processing queue will take longer to complete reading. Put it away.

また、デコード手段内での縦列的な処理では、スキャン
対象となったバーコードの読み取りが完了するまでに通
る処理経路が非常に複雑になる。
Further, in the case of cascade processing within the decoding means, the processing path taken until the reading of the barcode to be scanned is completed becomes extremely complicated.

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

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

この発明は、上述の諸問題を無くすため、マージン検出
手段を設けて二値化後の走査信号の中から先ずバーコー
ド部分のみを切り出す0次に、この切り出した信号を自
動識別手段に通して走査対象となったバーコードのコー
ド種が何んであるかを識別する。そして、この識別結果
をもとに、デコード手段の中の識別コード種に対応した
デコーダを起動する。
In order to eliminate the above-mentioned problems, the present invention provides a margin detection means to first cut out only the barcode part from the binarized scanning signal.Next, this cut out signal is passed through automatic identification means. Identify the code type of the barcode to be scanned. Then, based on this identification result, a decoder corresponding to the identification code type in the decoding means is activated.

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

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

14はマージン検出手段であり、二値化手段13からの
デジタル信号の中から余分な情報を除いてバーコードに
関係した部分のみを切り出す。この切り出しは、走査方
向前後のマージン間がバーコード情報であるので、走査
方向前後のマージンを検出してマージン間の信号を抽出
する方法で行なわれる。
Reference numeral 14 denotes a margin detection means, which removes unnecessary information from the digital signal from the binarization means 13 and cuts out only the portion related to the barcode. Since the barcode information is between the front and rear margins in the scanning direction, this cutting is performed by detecting the front and rear margins in the scanning direction and extracting the 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 the unique characteristic portions 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.

〔作用〕[Effect]

マージン検出手段14で、バーコード部分の情報のみを
抽出すると、バーコード情報の前後に混入した印字物等
による余分な情報が除かれて処理すべき情報量が少なく
なるため、自動識別手段15によるコード種の識別処理
、デコード手段16によるデコード処理が円滑化される
If the margin detection means 14 extracts only the information of the barcode part, the amount of information to be processed will be reduced because redundant information due to printed matter mixed before and after the barcode information will be removed. Code type identification processing and decoding processing by the decoding means 16 are facilitated.

また、自動識別手段15によって、デコード処理に移る
前に走査対象のバーコード種を識別すると、走査対象外
のコード種を想定した無駄なデコード処理を行なう必要
がな(、順番待無しで即、対応したデコーダによるデコ
ード処理に移って1回のデコード処理で迅速に読み取り
を完了できる。
Furthermore, if the automatic identification means 15 identifies the barcode type to be scanned before proceeding to the decoding process, there is no need to perform wasteful decoding process assuming code types that are not to be scanned. The decoding process is started by a compatible decoder, and reading can be quickly completed with a single decoding process.

〔実施例〕〔Example〕

スキャナからの情報信号をマイクロプロセッサを用いて
処理するバーコードリーダの実施例を第2図に示す、こ
のリーグにおいては、第1図で述べたこ値化手段13の
具体例として二値化回路21を使用している。また、第
1図におけるマージン検出手段14、自動識別手段15
、デコード手段16の3者は、マイクロプロセッサ22
、ROM23、RAM24を共用して構成しである。即
ち、ROM23に格納されたプログラム、定数に従い、
マイクロプロセッサ22がRAM24を使ってマージン
検出によるバーコード情報の切り出し処理、その情報に
ついてのコード種の自動識別処理、識別コード種に対応
したデコード処理を実行する。
FIG. 2 shows an embodiment of a barcode reader that processes information signals from a scanner using a microprocessor. are using. Furthermore, the margin detection means 14 and the automatic identification means 15 in FIG.
, the three decoding means 16 are microprocessor 22
, ROM 23, and RAM 24 are shared. That is, according to the program and constants stored in the ROM 23,
The microprocessor 22 uses the RAM 24 to execute barcode information extraction 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 margin detection by the microprocessor 22. First, the front margin is detected in step ■, and the rear margin is detected in step A margin is a margin that is captured first in time. In other words, when scanning in the forward direction (in the direction of the arrows in Figures 1 and 2), the front margin is the left margin, the rear margin captured later in time is the right margin, and when scanning in the reverse direction, the front and rear margins are the left margin. The left-right relationship is the opposite of the above.

第4図は、マイクロプロセッサ22によるコード種自動
識別処理のフローチャートである。このように、先ず、
ステップ■で後方ガードバ−及びその付近のメツセージ
部による識別を行なう、そして、このステップ■で走査
対象バーコードのコード種が何んであるかが判明すれば
識別を終了し、しなければ次のステップ■に移る。同様
にステップ■でコード種が判明すれば識別を終了し、し
なければステップ■に、また、このステップ■でも識別
不能ならばステップ■に移る。ステップ■は、メツセー
ジ部の内部に踏み込んでの識別処理であるので、ここま
でくれば、コード種が何んであるかは確実に判る。
FIG. 4 is a flowchart of the automatic code type identification process performed by the microprocessor 22. In this way, first,
In step (2), identification is performed using the rear guard bar and the message part in its vicinity, and if the code type of the barcode to be scanned is determined in this step (2), the identification ends; if not, the next step is performed. Move on to ■. Similarly, if the code type is found in step (2), the identification ends; if not, the process proceeds to step (2), and if the code type cannot be identified even in this step (2), the process proceeds to step (2). Step (3) is an identification process that goes into the inside of the message section, so by getting to this point, you can definitely know what type of code it is.

第5図は、コード種識別後のバーコード情報をマイクロ
プロセッサ22でデコード処理する場合のフローチャー
トである。このデコード処理は、自動識別手段から得ら
れるコード種の識別結果が例えばJANコードであるな
らば、読み取り対象となるコード種の各々に対応させて
設けであるデコーダの中からJANコード用デコーダを
選択し、これを起動することによって実行される。
FIG. 5 is a flowchart when the microprocessor 22 decodes the barcode information after the code type has been identified. 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 among the decoders provided corresponding to each code type to be read. and is executed by starting this.

〔効果〕〔effect〕

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

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

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

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は、この発明のマルチバーコー)’ IJ −タ
の基本構成を示すブロック図、第2図はこの発明の一興
体例を示すブロック図、第3図はマイクロプロセッサに
よるマージン検出処理の一例を示すフローチャート、第
4図はマイクロプロセッサによるコード種自動識別処理
の一例を示すフローチャート、第5図はマイクロプロセ
ッサによるデコード処理の一例を示すフローチャートで
ある。 11・・・・・・バーコード、12・・・・・・スキャ
ナ、13・・・・・・二値化手段、14・・・・・・マ
ージン検出手段、15・・・・・・コード種自動識別手
段、16・・・・・・デコード手段、 21・・・・・・二値化回路、 22・・・・・・マイクロプロセッサ、23・・・・・
・ROM、    24・・・・・・RAM。
FIG. 1 is a block diagram showing the basic configuration of a multi-bar coder according to the present invention, FIG. 2 is a block diagram showing an example of an integrated machine according to the present invention, and FIG. 3 is an example of margin detection processing performed by a microprocessor. 4 is a flowchart showing an example of automatic code type identification processing by a microprocessor, and FIG. 5 is a flowchart showing an example of decoding processing by a microprocessor. 11... Barcode, 12... Scanner, 13... Binarization means, 14... Margin detection means, 15... Code Automatic species identification means, 16... Decoding means, 21... Binarization circuit, 22... Microprocessor, 23...
・ROM, 24...RAM.

Claims (1)

【特許請求の範囲】[Claims] (1)複数種のバーコードを読み取り可能なバーコード
リーダであって、二値化後の走査信号の中からバーコー
ドの走査方向前後のマージンを検出してバーコードに関
連した信号のみを抽出するマージン検出手段と、この抽
出信号をもとに走査対象バーコードのコード種を識別す
る自動識別手段とを具備し、上記自動識別手段による識
別結果に基いてデコード手段の中の識別コード種に対応
したデコーダを起動する如く構成されていることを特徴
とする前処理自動識別機能付マルチバーコードリーダ。
(1) A barcode reader that can read multiple types of barcodes, detects the margins before and after the barcode scanning direction from the binarized scanning signal and extracts only the signals related to the barcode. and automatic identification means for identifying the code type of the barcode to be scanned based on the extracted signal, and based on the identification result by the automatic identification means, the identification code type in the decoding means is provided. A multi-barcode reader with a preprocessing automatic identification function, characterized in that it is configured to activate a corresponding decoder.
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 true JPH0276086A (en) 1990-03-15
JP2603702B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04263381A (en) * 1991-02-18 1992-09-18 Fujitsu Ltd Bar code reading device

Citations (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
JPS6391792A (en) * 1986-10-06 1988-04-22 Matsushita Electric Ind Co Ltd Bar code reader

Patent Citations (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
JPS6391792A (en) * 1986-10-06 1988-04-22 Matsushita Electric Ind Co Ltd Bar code reader

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04263381A (en) * 1991-02-18 1992-09-18 Fujitsu Ltd Bar code reading device

Also Published As

Publication number Publication date
JP2603702B2 (en) 1997-04-23

Similar Documents

Publication Publication Date Title
US4748317A (en) Optical reader
JPH09179927A (en) Bar code reader
JPH01319884A (en) Code reader
JP4449993B2 (en) Optical information reader
US5471041A (en) Bar-code reader device
US5059773A (en) Bar code reader signal processing method and device
JPH0276086A (en) Multi-bar code reader with automatic identification function for pre-processing
JP3448404B2 (en) Barcode reading device and barcode reading method
JP2603702C (en)
JP4058478B2 (en) Optical information reading method
US5637853A (en) Reading indicia by analysis of different light reflecting portions based on signal-to-noise ratios
EP0144202B1 (en) Optical reader
US20060091217A1 (en) Graphical code reader that is configured for efficient decoder management
JPH0636199B2 (en) Automatic code selection method for bar code
JP3404887B2 (en) Barcode reader
JP5007960B2 (en) Optical information reader
JPH04276880A (en) Bar code demodulation system
JP2691195B2 (en) Optical character reader
JP3681919B2 (en) How to cut out information code
JPH04276879A (en) Bar code demodulation system
JPH09106437A (en) Device and method for segmenting character
JPH10171924A (en) Character recognizing device
JP5825141B2 (en) Optical information reader
JP2768814B2 (en) Optical character reader
JP2906608B2 (en) Optical character reader