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
JPH0668775B2 - Bar code reader - Google Patents
[go: Go Back, main page]

JPH0668775B2 - Bar code reader - Google Patents

Bar code reader

Info

Publication number
JPH0668775B2
JPH0668775B2 JP61237302A JP23730286A JPH0668775B2 JP H0668775 B2 JPH0668775 B2 JP H0668775B2 JP 61237302 A JP61237302 A JP 61237302A JP 23730286 A JP23730286 A JP 23730286A JP H0668775 B2 JPH0668775 B2 JP H0668775B2
Authority
JP
Japan
Prior art keywords
bar code
decoding process
code
type
bar
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
JP61237302A
Other languages
Japanese (ja)
Other versions
JPS6391792A (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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP61237302A priority Critical patent/JPH0668775B2/en
Publication of JPS6391792A publication Critical patent/JPS6391792A/en
Publication of JPH0668775B2 publication Critical patent/JPH0668775B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 産業上の利用分野 本発明は複数種のバーコードを読み取るバーコード読取
装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bar code reading device for reading a plurality of types of bar codes.

従来の技術 今日、バーコードラベルは、食料品,衣料品等各種の品
物に取り付けられ、その普及率も高くなっている。しか
し各品物に印刷あるいは張られているバーコードラベル
の種別は一定ではなく、例えば食料品にはJANコード(J
apan Article Nnmbering)が用いられ、宅配便等の送り
状にはNW7コードが用いられている。したがって市場で
はこれら複数種のバーコードの読み取りが可能なバーコ
ード読取装置が必要とされている。
2. Description of the Related Art Today, barcode labels are attached to various items such as food items, clothing items, etc., and their popularity is increasing. However, the type of barcode label printed or affixed to each item is not constant, and for example, JAN code (J
apan Article Nnmbering) is used, and NW7 code is used for invoices such as courier service. Therefore, there is a need in the market for bar code readers that can read these multiple types of bar codes.

第2図にA種,B種,C種3種類のバーコードの読み取りが
可能な従来のバーコード読取装置の構成を示す。また第
3図に前記バーコード読取装置のバーコード解読処理フ
ローを示す。第2図において、1はバーコードラベル6
に照明光を照射する投光部、2は前記照射光のバーコー
ドラベル6上の反射光を受光し電気信号に変換する受光
素子、3は前記受光素子2の出力を増幅する増幅回路、
4は前記バーコードラベル6のバー幅情報に対応した2
値化信号レベル(デジタル信号)に変換する波形整形回
路、5は前記波形整形回路4の出力を入力ポート51より
入力しバーコードラベルの解読処理を行うマイクロプロ
セッサである。第3図に示すようにマイクロプロセッサ
5は、取り込んだバーコードデータをA種バーコードと
仮定し解読処理を行う(ステップ−ア)。A種バーコー
ドとして解読不可能であった場合、B種バーコードと仮
定し解読処理を行う(ステップ−イ)。同様にB種バー
コードとして解読が不可能であった場合、C種バーコー
ドと仮定し解読処理を行う(ステップ−ウ)。
FIG. 2 shows the configuration of a conventional bar code reading device capable of reading three kinds of A, B, and C bar codes. Further, FIG. 3 shows a bar code decoding process flow of the bar code reader. In FIG. 2, 1 is a bar code label 6
A light emitting section for irradiating the illuminating light with the light receiving element, a light receiving element for receiving the reflected light of the irradiating light on the barcode label 6 and converting it into an electric signal, and an amplifying circuit for amplifying the output of the light receiving element 2,
4 is 2 corresponding to the bar width information of the bar code label 6
A waveform shaping circuit 5 for converting into a digitized signal level (digital signal) is a microprocessor which inputs the output of the waveform shaping circuit 4 from an input port 51 and decodes a bar code label. As shown in FIG. 3, the microprocessor 5 performs a decoding process assuming that the bar code data that has been taken in is a class A bar code (step-a). If the barcode cannot be decoded as the type A barcode, the type B barcode is assumed and decoding processing is performed (step-a). Similarly, if the B-type bar code cannot be decoded, the C-type bar code is assumed and the decoding process is performed (step-C).

発明が解決しようとする問題点 以上のように第2図,第3図に示すバーコード読取装置
では、C種バーコードを読み取った場合、A種,B種各バ
ーコードの解読処理を行った後に、C種バーコードの解
読処理を行うため、読み取りに時間がかかるという問題
を有していた。
Problems to be Solved by the Invention As described above, in the bar code reader shown in FIGS. 2 and 3, when the C type bar code is read, the bar code of each of the A type and the B type is decoded. Since the C type bar code is decoded later, there is a problem that it takes time to read.

問題点を解決するための手段 上記問題を解決するために本発明は、バーコードを電気
信号に変換する受光素子と、前記受光素子出力を増幅す
る増幅回路と、前記増幅回路出力を前記バーコードのバ
ー幅情報に対応した2値化信号に変換する波形整形回路
と、前記波形整形回路出力を取り込み前記バーコードの
解読処理を行うマイクロプロセッサを具備したバーコー
ド読取装置において、バーコードの解読処理終了後、前
記バーコードの種別を記憶する手段と、前記バーコード
の種別に基づき次回解読処理時のバーコード種別の優先
順位表を決定する手段とを前記マイクロプロセッサに具
備してなるものである。
Means for Solving the Problems In order to solve the above problems, the present invention provides a light receiving element for converting a bar code into an electric signal, an amplifier circuit for amplifying the light receiving element output, and the amplifier circuit output for the bar code. In a bar code reader including a waveform shaping circuit for converting into a binarized signal corresponding to the bar width information of the above, and a microprocessor for taking in the output of the waveform shaping circuit and decoding the bar code, After the completion, the microprocessor is provided with means for storing the type of the barcode and means for determining a priority table of the barcode type for the next decoding process based on the type of the barcode. .

作用 本発明は上記構成により、種別の異なる複数種のバーコ
ードを読み取る場合の、読み取り速度の高速化を図るも
のである。
Action The present invention is intended to increase the reading speed when reading a plurality of types of barcodes of different types with the above configuration.

実施例 第1図に本発明のバーコード読取装置のバーコード解読
処理の一実施例のフローを、第4図に本発明のバーコー
ド読取装置のブロック図を示す。以下、第1図,第4図
を用い、本実施例のバーコード読取装置について説明す
る。第4図において、1はバーコードラベル6を照射す
る投光部、2は投光部1の照射光のバーコードラベル6
上の反射光を受光し電気信号へ変換する受光素子で本実
施例では、一次元イメージセンサを用いた。3は前記イ
メージセンサ出力を増幅する増幅回路、4は前記増幅回
路出力を前記バーコードラベル6のバー幅情報に対応し
た2値化信号レベル(デジタル信号)に変換する波形整
形回路、5は前記波形整形回路出力を入力ポート51より
入力し、バーコードの解読処理を行うマイクロプロセッ
サ、7はマイクロプロセッサ5の出力ポート52からの基
準クロック信号より一次元イメージセンサの駆動パルス
を発生するタイミング発生回路である。
Embodiment FIG. 1 shows a flow of an embodiment of a bar code decoding process of the bar code reading apparatus of the present invention, and FIG. 4 shows a block diagram of the bar code reading apparatus of the present invention. The bar code reading apparatus of this embodiment will be described below with reference to FIGS. 1 and 4. In FIG. 4, reference numeral 1 is a light projecting portion for irradiating the bar code label 6, and 2 is a bar code label 6 for the light emitted from the light projecting portion 1.
A one-dimensional image sensor is used in this embodiment as a light receiving element that receives the above reflected light and converts it into an electric signal. 3 is an amplifier circuit for amplifying the output of the image sensor, 4 is a waveform shaping circuit for converting the output of the amplifier circuit into a binarized signal level (digital signal) corresponding to the bar width information of the bar code label 6, and 5 is the waveform shaping circuit. A microprocessor for inputting the output of the waveform shaping circuit from the input port 51 and decoding the barcode, and 7 is a timing generation circuit for generating a drive pulse of the one-dimensional image sensor from the reference clock signal from the output port 52 of the microprocessor 5. Is.

第1図a,b,c,d,e,f,gはマイクロプロセッサ5のバーコ
ード解読処理を示すフローである。本実施例では、A種
コードはJANコード、B種コードはCode 39コード、C種
コードはNW7コードとした。解読処理開始後、マイクロ
プロセッサ5はバーコードデータを入力ポート51より取
り込む(ステップ−ア)。次に解読処理フラグ(DCF)
をリードし、バーコード解読処理の優先順位を決定する
(ステップ−イ)。解読処理フラグDCFは以下の第1表
に示すように各種コードの解読処理の順番を示すフラグ
で、例えばDCF=1の場合は、第1表に示すようにA種
コード,C種コード,B種コードの順で解読処理を行う。
FIG. 1 a, b, c, d, e, f, g is a flow showing the bar code decoding process of the microprocessor 5. In this embodiment, the type A code is the JAN code, the type B code is the Code 39 code, and the type C code is the NW7 code. After starting the decoding process, the microprocessor 5 takes in the bar code data from the input port 51 (step-a). Next decryption processing flag (DCF)
Is read and the priority order of bar code decoding processing is determined (step-a). The decoding processing flag DCF is a flag indicating the order of decoding processing of various codes as shown in Table 1 below. For example, when DCF = 1, as shown in Table 1, A type code, C type code, B type code Decoding processing is performed in the order of seed code.

本実施例ではC種コードをDCF=0の状態で読み取った
例を第1図bを用いて説明する。マイクロプロセッサ5
は、取り込みデータに対しA種コードと仮定し解読処理
を行う(ステップ−ウ)。しかし取り込みデータはC種
コードであるため解読エラーとなり(ステップ−エ)、
次にB種コードと仮定し解読処理を行う(ステップ−
オ)。以下同様にしてC種コードと仮定した場合に解読
可能となる(ステップ−カ)。解読処理終了後、解読バ
ーコード種別を記憶する手段と次の解読処理における解
読コードの優先順位を決定する手段としてDCFをセット
する。本実施例ではC種コードを1位とするようにDCF
値を決定し(ステップ−キ)、解読データをホスト、例
えばPOS(Point Of Sale system)等へ送信を行い、解
読処理を完了する。本実施例ではDCF値を4とした。
In this embodiment, an example in which the C type code is read in the state of DCF = 0 will be described with reference to FIG. Microprocessor 5
Performs a decoding process on the assumption that the captured data is a type A code (step-C). However, since the captured data is a C type code, a decoding error will occur (step D),
Next, it is assumed that the type B code is used and a decoding process is performed (step-
E). Similarly, if it is assumed that the code is the C type code, the code can be decrypted (step-). After the decoding process, the DCF is set as a means for storing the decoding barcode type and a means for determining the priority of the decoding code in the next decoding process. In this embodiment, the DCF is set so that the type C code is ranked first.
The value is determined (step-ki), the decryption data is transmitted to the host, such as a POS (Point Of Sale system), and the decryption process is completed. In this embodiment, the DCF value is 4.

本実施例のバーコード読取装置を用い食料品のバーコー
ドを読み取った場合、使用されているバーコードの大部
分がJANコードであるため(本実施例A種コード)、JAN
コードの優先順位が1位、すなわちDCF=0となり、バ
ーコード読み取りの高速化が図られる。
When the barcode of the food product is read using the barcode reading apparatus of the present embodiment, most of the barcodes used are JAN codes (A type code of this embodiment).
The priority of the code is the first, that is, DCF = 0, and the barcode reading speed can be increased.

同様に本実施例のバーコード読取装置を宅配便に送り状
の読み取りに用いた場合、使用されているコードの大部
分がNW7コードであるため(本実施例C種コード)、NW7
コードの優先順位が1位、すなわちDCF=4となり同じ
く、コード読み取りの高速化が図られる。
Similarly, when the bar code reading apparatus of the present embodiment is used for reading an invoice for a courier service, most of the codes used are NW7 codes (C code of this embodiment), NW7
Similarly, the code priority is 1st, that is, DCF = 4, and the code reading speed can be increased.

発明の効果 以上のように本発明によれば、各種バーコードの読み取
りが可能であると同時に、前記各種バーコードに対し読
み取り速度の高速化が図れる優れた効果を奏するもので
ある。
EFFECTS OF THE INVENTION As described above, according to the present invention, various bar codes can be read, and at the same time, an excellent effect that the reading speed can be increased for the various bar codes can be achieved.

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

第1図は本発明の一実施例を示すバーコード読取装置に
よる解読処理を示すフローチャート、第2図は従来例の
バーコード読取装置のブロック図、第3図は同装置によ
る解読処理を示すフローチャート、第4図は本発明の一
実施例を示すバーコード読取装置のブロック図である。 1……投光部、2……受光素子、3……増幅回路、4…
…波形整形回路、5……マイクロプロセッサ、6……バ
ーコードラベル、7……タイミング発生回路、51……入
力ポート、52……出力ポート。
FIG. 1 is a flow chart showing a decoding process by a bar code reading apparatus according to an embodiment of the present invention, FIG. 2 is a block diagram of a conventional bar code reading apparatus, and FIG. 3 is a flow chart showing a decoding processing by the apparatus. FIG. 4 is a block diagram of a bar code reader showing an embodiment of the present invention. 1 ... Emitter, 2 ... Light receiving element, 3 ... Amplifier circuit, 4 ...
... Waveform shaping circuit, 5 ... Microprocessor, 6 ... Bar code label, 7 ... Timing generation circuit, 51 ... Input port, 52 ... Output port.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】バーコードを電気信号に変換する受光素子
と、前記受光素子の出力を増幅する増幅回路と、前記増
幅回路の出力を前記バーコードのバー幅情報に対応した
2値化信号に変換する波形整形回路と、前記波形整形回
路の出力を取り込み前記バーコードの解読処理を行うマ
イクロプロセッサを具備した複数種のバーコード解読が
可能なバーコード読取装置で、解読を行うバーコード種
別の順位を決定する解読処理優先順位表と解読処理終了
後、前記解読処理時の解読処理優先順位と前記解読バー
コードの種別により次回解読処理時の解読処理優先順位
表を決定する手段を前記マイクロプロセッサに具備した
バーコード読取装置。
1. A light receiving element for converting a bar code into an electric signal, an amplifier circuit for amplifying an output of the light receiving element, and an output of the amplifier circuit into a binarized signal corresponding to bar width information of the bar code. A bar code reading device capable of decoding a plurality of types of bar codes, which includes a waveform shaping circuit to be converted and a microprocessor that takes in the output of the waveform shaping circuit and performs the decoding process of the bar code. The decoding process priority table for determining the order and the means for determining the decoding process priority table for the next decoding process according to the decoding process priority order during the decoding process and the type of the decoding bar code after the decoding process are completed. Bar code reader equipped in.
JP61237302A 1986-10-06 1986-10-06 Bar code reader Expired - Lifetime JPH0668775B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61237302A JPH0668775B2 (en) 1986-10-06 1986-10-06 Bar code reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61237302A JPH0668775B2 (en) 1986-10-06 1986-10-06 Bar code reader

Publications (2)

Publication Number Publication Date
JPS6391792A JPS6391792A (en) 1988-04-22
JPH0668775B2 true JPH0668775B2 (en) 1994-08-31

Family

ID=17013349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61237302A Expired - Lifetime JPH0668775B2 (en) 1986-10-06 1986-10-06 Bar code reader

Country Status (1)

Country Link
JP (1) JPH0668775B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2603702B2 (en) * 1988-09-12 1997-04-23 住友電気工業株式会社 Multi-barcode reader with automatic preprocessing identification function
JP2725220B2 (en) * 1991-03-04 1998-03-11 富士通株式会社 Barcode demodulation method
JP5251964B2 (en) * 2009-11-24 2013-07-31 株式会社デンソーウェーブ Optical information reader
US9430689B2 (en) 2011-12-22 2016-08-30 Datalogic Ip Tech S.R.L. Method of decoding optical information
JP2013186598A (en) * 2012-03-06 2013-09-19 Toshiba Tec Corp Information processor and program
JP6055625B2 (en) * 2012-08-02 2016-12-27 一邦 細井 Code reader and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0241697Y2 (en) * 1985-04-08 1990-11-07

Also Published As

Publication number Publication date
JPS6391792A (en) 1988-04-22

Similar Documents

Publication Publication Date Title
JP2788152B2 (en) Barcode reader
US20020047047A1 (en) Zero-footprint camera-based point-of-sale bar code presentation scanning system
US5144118A (en) Bar code scanning system with multiple decoding microprocessors
JPS60709B2 (en) optical character recognition device
US5627358A (en) System and method for reading two-dimensional barcodes
US4282426A (en) Slot scanning system
US5773807A (en) Arrangement for and method of minimizing reading errors in bar code symbol readers
JPS62501178A (en) stationary barcode reader
US8313032B2 (en) Method and apparatus for time and date stamping of image files
JPH0668775B2 (en) Bar code reader
JPH0354388B2 (en)
US9230147B2 (en) Method and apparatus for optically reading out information stored in a barcode
JP4080789B2 (en) Bar code reading apparatus and method
US5247161A (en) Bar code scanning system with converter means and microprocessor means contained in a single integrated circuit
US4710615A (en) CCD bar code scanner
JPH06223271A (en) Product sales data processor
EP0397376A2 (en) Scanner system interface
JP2012053781A (en) Code reading device, information processing unit and program
JPS5461420A (en) Data input system
JP2019153167A (en) Code reading device and program
US6478224B1 (en) Symbology-independent method and apparatus for identifying potential bar code data
JP2730273B2 (en) Barcode reading device and barcode reading method
JP2750244B2 (en) Barcode decoder decoding method
JPS59128673A (en) Bar code reader
JP2026042214A (en) Image processing device, image processing method, and program

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term