JPH0757038A - Bar code read system - Google Patents
Bar code read systemInfo
- Publication number
- JPH0757038A JPH0757038A JP5206399A JP20639993A JPH0757038A JP H0757038 A JPH0757038 A JP H0757038A JP 5206399 A JP5206399 A JP 5206399A JP 20639993 A JP20639993 A JP 20639993A JP H0757038 A JPH0757038 A JP H0757038A
- Authority
- JP
- Japan
- Prior art keywords
- code
- error
- ecc
- bar code
- reading
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、読み取り対象であるバ
ーコードと、バーコードの表す情報をコード認識するバ
ーコード読み取り装置とで構成されるバーコード読み取
りシステムに関し、特に、誤り検出および訂正(EC
C)機能を有するバーコード読み取りシステムに関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bar code reading system comprising a bar code to be read and a bar code reading device for recognizing information represented by the bar code, and more particularly to error detection and correction ( EC
C) A bar code reading system having a function.
【0002】[0002]
【従来の技術】バーコード読み取りシステムにおいて
は、バーコードの汚れ、損傷あるいは印刷むらに起因し
て、誤読み取りや読み取り不能となることがある。特
に、誤読み取りに関しては、これに気付かずに、間違っ
て認識した情報に基いてその後の処理を行う虞があるた
め、問題である。2. Description of the Related Art In a bar code reading system, the bar code may be erroneously read or unreadable due to stains, damage or uneven printing. In particular, erroneous reading is a problem because there is a risk that the subsequent processing may be performed based on the information that is erroneously recognized without noticing this.
【0003】上記問題に対し、バーコードの汚れ等の不
良を検出する手段を備えたバーコード読み取りシステム
が提案されている。例えば、特開平1−25108号公
報では、バーコードを情報バーコード列と参照バーコー
ド列とで構成し、バーコード読み取り装置で両バーコー
ド列を読み取って対比することにより、バーコードの不
良を検出するバーコード読み取り方法が記載されてい
る。In response to the above problem, there has been proposed a bar code reading system equipped with means for detecting defects such as dirt on a bar code. For example, in Japanese Unexamined Patent Application Publication No. 1-25108, a bar code is composed of an information bar code string and a reference bar code string, and both bar code strings are read by a bar code reading device to be compared to detect a bar code defect. A barcode reading method for detecting is described.
【0004】また、特開平2−259892号公報で
は、バーコードとは異るマス目コードについてである
が、読み取りを行う際にパリティチェックできるよう
に、予めパリティ部分を備えたマス目コードを発生する
装置が記載されている。In Japanese Patent Laid-Open No. 2-259892, a grid code different from a bar code is generated, but a grid code having a parity portion is generated in advance so that a parity check can be performed when reading. A device for doing so is described.
【0005】[0005]
【発明が解決しようとする課題】しかし、上記バーコー
ドあるいはその他のコードの読み取りシステムでは、コ
ード不良を検出する手段によってコードの不良を検出で
きるものの、不良と分かったコードであってもこれを訂
正する機能を有していないため、正しい読み取りがなさ
れるまで読み取りを行う必要があり、比較的長い読み取
り時間を要するという問題点がある。However, in the above bar code or other code reading system, although the defective code can be detected by the means for detecting the defective code, the defective code can be corrected. Since it does not have a function to read, it is necessary to read until correct reading is performed, and there is a problem that a relatively long reading time is required.
【0006】本発明の課題は、読み取り信頼性に優れ、
かつ、効率よく正しい読み取りが行えるバーコード読み
取りシステムを提供することである。An object of the present invention is to provide excellent reading reliability,
Moreover, it is to provide a bar code reading system capable of efficiently and correctly reading.
【0007】[0007]
【課題を解決するための手段】本発明によれば、情報を
あらわすデータコード部と該データコード部に対応して
設定された誤り検出および訂正コード部とを有するバー
コードと、前記バーコードの読み取りを行う読み取り装
置とを有し、前記読み取り装置は、読み込んだ前記デー
タコード部と前記誤り検出および訂正コード部とを演算
して該データコード部内の誤りを検出すると共に、誤り
を訂正する誤り検出および訂正発生部を有することを特
徴とするバーコード読み取りシステムが得られる。According to the present invention, a bar code having a data code part representing information and an error detection and correction code part set corresponding to the data code part, and a bar code of the bar code are provided. A reading device for reading, the reading device calculates an error in the data code part by operating the read data code part and the error detection and correction code part, and corrects the error. A bar code reading system is provided which has a detection and correction generator.
【0008】[0008]
【実施例】以下、図面を参照して、本発明の一実施例に
よるバーコード読み取りシステムを説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A bar code reading system according to an embodiment of the present invention will be described below with reference to the drawings.
【0009】図1は、本実施例によるバーコード読み取
りシステムの構成を示すブロック図である。FIG. 1 is a block diagram showing the arrangement of a bar code reading system according to this embodiment.
【0010】図1において、本システムは、ラベル等の
上に印刷されたバーコード10と、読み取り装置20と
を有している。読み取り装置20は、バーコード10を
読み取って電気信号を出力する読み取りセンサ21と、
読み取りセンサ21からの一連の電気信号を一時的に格
納し、順次出力する入力部22と、入力部22からの信
号を予め定められた手順にしたがって演算処理するEC
C発生部23と、ECC発生部23の演算結果に基い
て、ECC発生部23にて処理済の、即ち、訂正された
信号を後続の回路へ出力するかあるいは、訂正不能の際
には出力を停止する出力部24と、通常の読み取り処理
を行う読み取り部25とを有している。In FIG. 1, this system has a bar code 10 printed on a label and the like, and a reading device 20. The reading device 20 includes a reading sensor 21 that reads the barcode 10 and outputs an electric signal,
An input unit 22 that temporarily stores a series of electric signals from the reading sensor 21 and sequentially outputs the signals, and an EC that processes the signals from the input unit 22 according to a predetermined procedure.
Based on the calculation results of the C generation unit 23 and the ECC generation unit 23, the signal processed by the ECC generation unit 23, that is, the corrected signal is output to the subsequent circuit, or output when it is uncorrectable. It has an output unit 24 for stopping the reading and a reading unit 25 for performing a normal reading process.
【0011】図2は、図1に示すバーコード10の構成
を示す図である。図2において、バーコード10は、情
報を表わすデータコード部11と、データコード部11
に連続して配列され、データコード部11の誤りを訂正
するためのECCコード部12とを有しており、光学的
あるいは磁気的に読み取り可能なように物品のパッケー
ジや貼着用ラベル等に印刷されている。FIG. 2 is a diagram showing the configuration of the bar code 10 shown in FIG. In FIG. 2, a bar code 10 includes a data code section 11 representing information and a data code section 11
And an ECC code section 12 for correcting an error in the data code section 11, and printed on an article package or a sticker label so as to be optically or magnetically readable. Has been done.
【0012】図3に、ECCコード部12を備えたバー
コード10を例示しておく。図3の例では、データコー
ド部11が32のコードからなり、ECCコード部12
は7コードからなっている。FIG. 3 illustrates a bar code 10 having an ECC code section 12. In the example of FIG. 3, the data code part 11 is composed of 32 codes, and the ECC code part 12
Consists of 7 codes.
【0013】次に、動作例にしたがって、本バーコード
読み取りシステムを詳述する。Next, the bar code reading system will be described in detail according to an operation example.
【0014】図1および図2において、いま、バーコー
ド10のデータコード部11およびECCコード部12
が、読み取りセンサ21によって読み取られ、入力部2
2に格納される。In FIGS. 1 and 2, the data code portion 11 and the ECC code portion 12 of the bar code 10 are now described.
Is read by the reading sensor 21, and the input unit 2
Stored in 2.
【0015】ECC発生部23は、入力部22に格納さ
れているデータコードおよびECCコードを抽出し、こ
れらコードに応じて予め定められたECC演算を行う。
ECC演算自体は知られているので、詳述しないが、こ
こでは1つのコードの誤りのみを訂正するための演算を
行うものとして説明する。The ECC generation section 23 extracts the data code and the ECC code stored in the input section 22 and performs a predetermined ECC calculation according to these codes.
Since the ECC operation itself is known, it will not be described in detail, but here, description will be given assuming that the operation for correcting only one code error is performed.
【0016】ECC発生部23は、ECC演算の結果、
データコードおよびECCコードが演算前後で互いに一
致する場合には誤り無しと判断し、出力部24へデータ
コードおよびECCコードを出力すると共に制御信号C
1 によってゲート開を指示する。一方、一致しない場合
には誤り有りと判断し、このうち一コードのみの誤りで
あればこれを訂正して出力部24へ出力すると共に制御
信号C1 によってゲート開を指示し、二コード以上の誤
りであればECC演算前のデータコードおよびECCコ
ードをそのままの形で出力部24へ出力すると共に制御
信号C1 によってゲート閉を指示する。The ECC generator 23 outputs the result of the ECC calculation.
If the data code and the ECC code match each other before and after the operation, it is determined that there is no error, the data code and the ECC code are output to the output unit 24, and the control signal C is output.
Instruct to open the gate with 1 . On the other hand, if they do not match, it is determined that there is an error. If only one of these codes has an error, it is corrected and output to the output unit 24, and at the same time, the gate opening is instructed by the control signal C 1 , and two or more codes are detected. If there is an error, the data code and the ECC code before the ECC calculation are output to the output section 24 as they are, and the control signal C 1 instructs the gate to be closed.
【0017】出力部24は、ECC発生部23からのゲ
ート開閉の指示(制御信号C1 )にしたがい、初めから
誤り無しあるいは訂正により誤り無しとなったデータコ
ードおよびECCコードを読み取り部25へ出力する。
一方、二コード以上の誤りの場合には、ゲート閉の指示
を受けているため、データコードおよびECCコードは
出力せずに、読み取りエラー、即ち、バーコードの汚れ
等の不良がある旨をあらわす信号を読み取り部25へ出
力する。The output unit 24 outputs to the reading unit 25 a data code and an ECC code which have no error from the beginning or have no error by correction according to a gate opening / closing instruction (control signal C 1 ) from the ECC generating unit 23. To do.
On the other hand, if the error is two or more codes, since the gate closing instruction has been received, the data code and ECC code are not output, but there is a reading error, that is, there is a defect such as stain on the bar code. The signal is output to the reading unit 25.
【0018】読み取り部25は、出力部24からのデー
タコードおよびECCコードをコード認識する。ただ
し、二コード以上の誤りの場合には、読み取りエラー、
即ち、バーコードの汚れ等の不良がある旨を、ディスプ
レイ等の図示しない報知手段によって利用者に知らせ
る。The reading unit 25 recognizes the data code and the ECC code from the output unit 24. However, if there are more than two codes, a read error,
That is, the user is informed by a not-shown notifying means such as a display that the barcode has a defect such as dirt.
【0019】以上のようにして、本実施例によるバーコ
ード読み取りシステムのECC動作がなされた。尚、図
2に示されたECCコードを有するバーコードは、EC
Cコード発生用装置を用いて容易に発生できる。As described above, the ECC operation of the bar code reading system according to this embodiment is performed. The barcode having the ECC code shown in FIG.
It can be easily generated using a C code generating device.
【0020】尚、本実施例の他の例としては、例えば、
バーコード10のECCコード部12を巡回符号とし、
ECC発生部23によって、シンドローム計算を行い、
誤りおよび誤り位置を検出し、誤りを訂正するような構
成例が考えられる。また、ECCコード部12の符号設
定等によっては、一コードの誤りに限らず、複数コード
の誤りについて訂正を行うことも可能である。As another example of this embodiment, for example,
The ECC code portion 12 of the barcode 10 is a cyclic code,
The ECC generation unit 23 calculates the syndrome,
A configuration example in which an error and an error position are detected and the error is corrected can be considered. Further, depending on the code setting of the ECC code unit 12, it is possible to correct not only one code error but also a plurality of code errors.
【0021】[0021]
【発明の効果】本発明によるバーコード読み取りシステ
ムは、読み取り信頼性に優れ、かつ、効率よく正しい読
み取りが行うことができる。The bar code reading system according to the present invention has excellent reading reliability and can perform correct reading efficiently.
【図1】本発明の一実施例によるバーコード読み取りシ
ステムを示すブロック図である。FIG. 1 is a block diagram showing a bar code reading system according to an embodiment of the present invention.
【図2】図1に示すシステムにおけるバーコードの構成
を示す図である。FIG. 2 is a diagram showing a configuration of a barcode in the system shown in FIG.
【図3】図2に示すバーコードのデータ例を示す図であ
る。FIG. 3 is a diagram showing an example of data of the barcode shown in FIG.
10 バーコード 11 データコード部 12 ECCコード部 20 読み取り装置 21 読み取りセンサ 22 入力部 23 ECC発生部 24 出力部 25 読み取り部 10 bar code 11 data code part 12 ECC code part 20 reading device 21 reading sensor 22 input part 23 ECC generating part 24 output part 25 reading part
Claims (3)
タコード部に対応して設定された誤り検出および訂正コ
ード部とを有するバーコードと、前記バーコードの読み
取りを行う読み取り装置とを有し、前記読み取り装置
は、読み込んだ前記データコード部と前記誤り検出およ
び訂正コード部とを演算して該データコード部内の誤り
を検出すると共に、誤りを訂正する誤り検出および訂正
発生部を有することを特徴とするバーコード読み取りシ
ステム。1. A bar code having a data code section representing information, an error detection and correction code section set corresponding to the data code section, and a reading device for reading the bar code, The reading device has an error detection and correction generation unit for calculating the read data code unit and the error detection and correction code unit to detect an error in the data code unit and correcting the error. Bar code reading system.
正コード部は、巡回符号である請求項1記載のバーコー
ド読み取りシステム。2. The bar code reading system according to claim 1, wherein the error detecting and correcting code part of the bar code is a cyclic code.
取りシステムの前記バーコードが、ラベルシート上に印
刷されてなるバーコードラベル。3. A barcode label obtained by printing the barcode of the barcode reading system according to claim 1 or 2 on a label sheet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5206399A JPH0757038A (en) | 1993-08-20 | 1993-08-20 | Bar code read system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5206399A JPH0757038A (en) | 1993-08-20 | 1993-08-20 | Bar code read system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0757038A true JPH0757038A (en) | 1995-03-03 |
Family
ID=16522717
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP5206399A Pending JPH0757038A (en) | 1993-08-20 | 1993-08-20 | Bar code read system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0757038A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9736572B2 (en) | 2012-08-31 | 2017-08-15 | Sonos, Inc. | Playback based on received sound waves |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS534431A (en) * | 1976-07-02 | 1978-01-17 | Hitachi Ltd | Character reader |
JPH0331980A (en) * | 1989-06-23 | 1991-02-12 | Internatl Business Mach Corp <Ibm> | Method and equipment for error correction |
-
1993
- 1993-08-20 JP JP5206399A patent/JPH0757038A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS534431A (en) * | 1976-07-02 | 1978-01-17 | Hitachi Ltd | Character reader |
JPH0331980A (en) * | 1989-06-23 | 1991-02-12 | Internatl Business Mach Corp <Ibm> | Method and equipment for error correction |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9736572B2 (en) | 2012-08-31 | 2017-08-15 | Sonos, Inc. | Playback based on received sound waves |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2159709B1 (en) | Error correcting method and computing element | |
EP0547412A3 (en) | Fault tolerant design for time dependent defects | |
KR900005242A (en) | Error Correction Circuit | |
KR840006091A (en) | How to recover from errors in the microprogram controller | |
KR880001118A (en) | Method and apparatus for decrypting code symbol block | |
JPS62251949A (en) | Error correcting method for memory device | |
TW200504501A (en) | Method and circuit for command integrity checking (cic) in a graphics controller | |
JPH0757038A (en) | Bar code read system | |
JPS5537654A (en) | Information processor | |
JPH05108385A (en) | Error correction circuit diagnostic system | |
KR20240067770A (en) | Electronic circuit and method for self-diagnosis of data memory | |
JP2900550B2 (en) | Bit error detection and correction circuit | |
JP2907114B2 (en) | Method and apparatus for correcting 1-bit error in EEPROM | |
KR970050871A (en) | Error correction method and apparatus in compact disc player | |
JPH05224968A (en) | Data check system | |
JPH05174505A (en) | Data protective system | |
JPH06295352A (en) | Method for identifying bar code in bar code detector | |
JPH06103469B2 (en) | Memory control circuit | |
JPS63144466A (en) | Error correction device | |
JP2545823B2 (en) | Error detector | |
JPH031374A (en) | Error correcting system for magnetic tape unit | |
JPS61192072A (en) | Data change-point detecting device | |
JPS6288047A (en) | Interface controller | |
CN106791823A (en) | A kind of equipment zero code stream fault handling method, device and electronic equipment | |
JPH01171031A (en) | Trouble detecting circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 19980722 |