JPH05298472A - Bar code reader - Google Patents

Bar code reader

Info

Publication number
JPH05298472A
JPH05298472A JP4098316A JP9831692A JPH05298472A JP H05298472 A JPH05298472 A JP H05298472A JP 4098316 A JP4098316 A JP 4098316A JP 9831692 A JP9831692 A JP 9831692A JP H05298472 A JPH05298472 A JP H05298472A
Authority
JP
Japan
Prior art keywords
character
data
bar code
characters
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.)
Granted
Application number
JP4098316A
Other languages
Japanese (ja)
Other versions
JP3002601B2 (en
Inventor
Shinji Saegusa
慎治 三枝
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.)
Toshiba TEC Corp
Original Assignee
Tokyo Electric 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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=14216520&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JPH05298472(A) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP4098316A priority Critical patent/JP3002601B2/en
Publication of JPH05298472A publication Critical patent/JPH05298472A/en
Application granted granted Critical
Publication of JP3002601B2 publication Critical patent/JP3002601B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To improve reliability by reducing the erroneous reading ratio of a left side character so as to reduce the erroneous reading ratio of a whole in a reader where division-reading is executed to a bar code at every right and left side. CONSTITUTION:The deciphered result of the character is read in a buffer BUF, the left side character is judged when whole parity arrayals are not even parities and the right side parity is judged in the case of the even parities. When the fetched left characters are same till a counter LCT counts to three, the left side characters are judged to be the normal left characters. When the fetched right characters are same till the counter RCT counts to two, the right characters are judged to be the normal right characters. Then, the both characters are judged to be the normal characters so that an output to a hostcomputer is executed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、左右にキャラクタコー
ドを有するバーコードを読み取るバーコード読取装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bar code reader for reading a bar code having character codes on the left and right.

【0002】[0002]

【従来の技術】一般に、ソースマーキングと呼ばれる、
商品に印刷されるバーコードにはJANコードや、これ
と同等の体系のUPC、WPCなどのコードが広く用い
られており、このコードは13桁からなる標準バージョ
ンと8桁からなる短縮バージョンなどが存在する。
2. Description of the Related Art Generally called source marking,
The JAN code and UPC, WPC, etc. of the system equivalent to this are widely used for the bar code printed on the product, and the standard version has 13 digits and the shortened version has 8 digits. Exists.

【0003】13桁からなる標準バージョン構成のJA
Nコードは例えば図3に示すように、バーコードの両端
に互いに等しい幅を有する2本のバーと1本のスペース
からなる左右のガードバーと、バーコードの中央部に3
本のスペースと2本のバーからなるセンターバーが配置
されており、左側のガードバーとセンターバーの間及び
センターバーと右側のガードバーとの間にそれぞれ6文
字の数字がエンコードされている。
JA with a standard version consisting of 13 digits
For example, as shown in FIG. 3, the N-code has two bars having equal widths on both ends of the bar code, left and right guard bars consisting of one space, and three bar codes at the center of the bar code.
A book bar space and a center bar composed of two bars are arranged, and six-digit numbers are encoded between the left guard bar and the center bar and between the center bar and the right guard bar.

【0004】そして左右6文字の数字の各数字は2本の
バーと2本のスペースでエンコードされており、ガード
バー又はセンターバーの1本のバー幅を1モジュールと
すると、1キャラクタ、すなわち2つの白黒ペアのバー
幅の合計は7モジュールとなるように符号化されてい
る。
Each of the left and right 6-digit numbers is encoded with two bars and two spaces, and if one bar width of the guard bar or center bar is one module, one character, that is, two The total bar width of the black and white pair is coded to be 7 modules.

【0005】符号化についてはセンターバーの左側の左
側データキャラクタはキャラクタ内のバー幅の合計が奇
数モジュールとなる奇数パリティ構成のエンコード法
と、バー幅合計が偶数モジュールとなる偶数パリティ構
成のエンコード法の2種類のバー構成が可能で、例えば
左側データキャラクタにおける数字の9は、図中aで示
す3モジュールのスペース、1モジュールのバー、1モ
ジュールのスペース、2モジュールのバーからなる奇数
パリティ構成のバー配置(2本のバー幅合計は3モジュ
ール)と、図中bで示す2モジュールのスペース、1モ
ジュールのバー、1モジュールのスペース、3モジュー
ルのバーからなる偶数パリティ構成のバー配置(2本の
バー幅合計は4モジュール)の2つのエンコードが選択
可能であるが、右側データキャラクタは全キャラクタ共
に偶数パリティのバー配置になっている。なお、図3の
バーコードの左側データキャラクタにおける数字の9は
奇数パリティになっている。
Regarding encoding, the left data character on the left side of the center bar is an encoding method of an odd parity configuration in which the total bar width in the character is an odd module, and an encoding method of an even parity configuration in which the total bar width is an even module. 2 types of bar configurations are possible, for example, the numeral 9 in the left data character is an odd parity configuration consisting of a space of 3 modules, a bar of 1 module, a space of 1 module and a bar of 2 modules shown in a in the figure. Bar arrangement (total width of 2 bars is 3 modules) and bar arrangement of 2 modules shown in b in the figure, 1 module bar, 1 module space, 3 modules bar with even parity configuration (2 bars) The total bar width of 4 modules can be selected from two encodings, but on the right side Over data character is in the bar arrangement of the even parity on the total character both. The numeral 9 in the data character on the left side of the bar code in FIG. 3 is odd parity.

【0006】また左側データキャラクタにおける偶数、
奇数パリティは、本来12桁分しかないバーコードにさ
らに1桁余分に数字を埋め込むために用いられ、このパ
リティの並びによりもう1桁の数字が間接的に表示でき
るようになっている。例えば図3の左側データキャラク
タ「912345」が「奇遇奇奇遇遇」で右側データキ
ャラクタ「678904」が「遇遇遇遇遇遇」であった
とすると、左側データキャラクタのパリティの並びと間
接的に示される1桁の数字の関係は下表に示すように定
められているので、パリティの並びは数字の「4」が割
り当てられ、このバーコードは全体で「4 91234
5 678904」とデコードされることになる。
Also, an even number in the left data character,
Odd parity is used to embed an extra digit in a bar code which originally has only 12 digits, and it is possible to indirectly display another digit of this parity. For example, if the left-side data character “912345” in FIG. 3 is “odd-odd”, and the right-side data character “678904” is “difficult-difference”, it is indirectly indicated as the arrangement of the parities of the left-side data character. Since the relationship of the one-digit numbers shown in the table is defined as shown in the table below, the number "4" is assigned to the parity sequence, and this bar code as a whole is "4 91234.
5 678904 ".

【0007】[0007]

【表1】 このようにJANコードでは、左右のデータキャラクタ
がセンターバー及びガードバーにより分離されており、
また左右のデータキャラクタのパリティ構成が異なって
いるため、1つのバーコードを左右別々に解読し、それ
を合成することで1つのバーコードを復元することがで
きる。
[Table 1] Thus, in the JAN code, the left and right data characters are separated by the center bar and the guard bar,
Further, since the left and right data characters have different parity configurations, one bar code can be decoded separately for the left and right sides and combined to restore one bar code.

【0008】そしてバーコードを分割解読できること
は、特に大規模量販店で使用される、定置式バーコード
スキャナにとっては大きなメリットとなる。すなわち定
置式バーコードスキャナは、複数方向に出射する複数の
レーザ走査線とバーコードを交差させることにより、あ
らゆる姿勢で進入するバーコードを万能方向で読取る
が、バーコードの分割読取りができないとすると、図4
の(a) に示すように走査線l1 を角度θ毎に生成しなけ
れば、バーコードの万能方向の読取りが実現できないの
に対し、分割読取りが可能な場合では図4の(b) に示す
ように走査線l2 を角度θ1 (>θ)毎に生成すればよ
く、分割読取りができない場合に比べて少ない走査線で
万能方向読取りが可能となる。そしてこれにより装置の
大幅な簡略化が実現できることになる。
The fact that the bar code can be divided and decoded is a great advantage especially for a stationary bar code scanner used in a large-scale mass retailer. That is, the stationary bar code scanner reads a bar code that enters in any posture in a universal direction by intersecting a plurality of laser scanning lines emitted in a plurality of directions with the bar code, but if the bar code cannot be divided and read. , Fig. 4
As shown in (a) of Fig. 4, if the scanning line l1 is not generated for each angle θ, the universal reading of the bar code cannot be realized, whereas in the case where divided reading is possible, it is shown in Fig. 4 (b). As described above, the scanning line l2 may be generated for each angle θ1 (> θ), and the universal reading can be performed with a smaller number of scanning lines as compared with the case where the divided reading cannot be performed. As a result, a great simplification of the device can be realized.

【0009】ところでバーコードのバー(スペース)の
幅は、バーコード印刷時の誤差や装置内部でのアナログ
処理の要因などでかなりの変形を受けるため、これらの
要因による誤読を防止するため、従来では同一バーコー
ドを複数回読取り、その結果が一致した場合のみ読取り
結果を出力するようにしていた。
By the way, the width of the bar (space) of the bar code is considerably deformed by an error in printing the bar code, a factor of analog processing in the apparatus, and so on. However, the same barcode is read multiple times, and the read result is output only when the results match.

【0010】[0010]

【発明が解決しようとする課題】バーコードスキャナで
は印刷されたバーコードを読取る際に発生する誤読の他
に、バーコード以外、例えば読取窓面に置かれた雑巾等
を読取ったときにもランダムな白黒の組合わせが再生さ
れ、それが偶然バーコードと同一の信号となって誤読を
招く場合もある。
With a bar code scanner, in addition to misreading that occurs when reading a printed bar code, random reading is also performed when a bar code other than the bar code is read, for example, a rag placed on the reading window surface. In some cases, a black and white combination is reproduced, which accidentally becomes the same signal as the bar code and causes misreading.

【0011】そこでランダムに解読されたキャラクタ列
がJANコードとして成立する確率を考えてみると、右
側キャラクタの場合、その全てのキャラクタは偶数パリ
ティ構成となるので、パリティの並びにおける右側キャ
ラクタ列の成立の確率は1/26 となるが、左側キャラ
クタの場合はパリティの並びが0〜9の数値を間接的に
表すので、左側キャラクタ列が成立する確率は10/2
6 となり、左側キャラクタの方が右側キャラクタに比べ
てランダムに解読された結果がコードして確立する可能
性が高く、これが誤読を招く確立を高くすることにな
る。
Considering the probability that a randomly decoded character string will be established as a JAN code, in the case of a right-side character, all the characters have an even parity structure, so that the right-side character string in the parity sequence is established. Although the probability is 1/2 6, since in the case of the left character sequence of parity indirectly represent the number of 0-9, the probability that the left character string is satisfied 10/2
As a result , the left character is more likely to be coded and established as a result of being randomly decoded than the right character, which increases the probability of causing misreading.

【0012】そこで本発明は、左右にキャラクタコード
を有するバーコードを、左右毎に分割読取りを行うもの
において、左側キャラクタの誤読率を低くし、これによ
り全体の誤読率を下げて信頼性を向上できるバーコード
読取装置を提供しようとするものである。
Therefore, according to the present invention, a bar code having a character code on the left and right is dividedly read on the right and left sides, and the misreading rate of the left side character is reduced, thereby reducing the overall misreading rate and improving reliability. The present invention intends to provide a bar code reading device that can be used.

【0013】[0013]

【課題を解決するための手段】本発明は、左右にキャラ
クタコードを有するバーコードを、左右毎に複数回読取
り、その複数回の読取り結果が等しいときバーコード読
取りデータを外部に出力するバーコード読取装置におい
て、右側のキャラクタについてはm(但し、m≧2)回
読取りそのm回の読取り結果が一致するか否かを判断す
る判断手段と、左側のキャラクタについてはn(但し、
n≧m)回読取りそのn回の読取り結果が一致するか否
かを判断する判断手段と、両判断手段が読取り結果の一
致を判断したとき左右の読取りデータを合成して外部に
出力する出力手段を設けたものである。
According to the present invention, a bar code having a left and right character code is read a plurality of times for each of the left and right sides, and when the results of the plurality of times of reading are the same, the bar code read data is output to the outside. In the reading device, a right side character is read m times (however, m ≧ 2) times, and a judgment means for judging whether or not the reading results of the m times are coincident, and a left side character is n (however,
(n ≧ m) times of reading, a judging means for judging whether or not the reading results of the n times coincide with each other, and an output for synthesizing the read data on the left and right when the both judging means judge the coincidence of the reading results and outputting to the outside Means are provided.

【0014】[0014]

【作用】このような構成の本発明においては、右側のキ
ャラクタについてはm回読取りそのm回の読取り結果が
一致するか否かを判断する。また左側のキャラクタにつ
いてはm外よりも多いn回読取りそのn回の読取り結果
が一致するか否かを判断する。そして両判断とも読取り
結果の一致を判断したとき左右の読取りデータを合成し
て外部に出力する。
In the present invention having such a structure, the character on the right side is read m times and it is determined whether or not the read results of the m times match. For the character on the left side, it is read n times more than outside m and it is determined whether or not the reading results of the n times match. Then, in both judgments, when it is judged that the reading results match, the left and right read data are combined and output to the outside.

【0015】[0015]

【実施例】以下、本発明の実施例を図面を参照して説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

【0016】図1に示すようにレーザ発振器1からのレ
ーザビームをコリメータレンズ等の光学系(図示せず)
を介した後ポリゴンミラー2に照射して偏向し、その偏
向光でバーコードラベル3を走査し、その反射光を受光
レンズ4を介してセンサ5で受光するようにしている。
そしてセンサ出力を光電変換部6に取り込んで電気信号
に変換し、その電気信号をA/D変換部7により2値化
してデコーダ8に供給している。
As shown in FIG. 1, the laser beam from the laser oscillator 1 is converted into an optical system (not shown) such as a collimator lens.
After that, the polygon mirror 2 is irradiated with and deflected by the polygon mirror 2, the barcode label 3 is scanned by the deflected light, and the reflected light is received by the sensor 5 via the light receiving lens 4.
Then, the sensor output is taken into the photoelectric conversion unit 6 and converted into an electric signal, and the electric signal is binarized by the A / D conversion unit 7 and supplied to the decoder 8.

【0017】前記デコーダ8は取り込んだバーコードデ
ータを左側と右側の半分ずつデコードし、半分のデコー
ドが正しく行われるとマイクロプロセッサ9に対する割
込信号ISをアクティブにするようにしている。
The decoder 8 decodes the fetched bar code data into left and right halves, and activates an interrupt signal IS to the microprocessor 9 when the half decoding is correctly performed.

【0018】前記マイクロプロセッサ9はデコーダ8か
らの割込信号ISがアクティブになるとデータバスDB
を介してデコーダ8からデコードしたデータを取込むよ
うにしている。
The microprocessor 9 receives the data bus DB when the interrupt signal IS from the decoder 8 becomes active.
The decoded data is taken in from the decoder 8 via.

【0019】前記マイクロプロセッサ9は内部に現在の
左側キャラクタの一致回数をカウントするカウンタLC
T、現在の右側キャラクタの一致回数をカウントするカ
ウンタRCT、左側キャラクタのチェック用バッファL
BUF、右側キャラクタのチェック用バッファRBUF
及びバッファBUFを備え、図2に示すプログラム制御
を行うようになっている。
The microprocessor 9 internally has a counter LC for counting the number of times the left side character is currently matched.
T, a counter RCT that counts the number of matches of the current right character, and a check buffer L for the left character
BUF, right character check buffer RBUF
Also, a buffer BUF is provided, and the program control shown in FIG. 2 is performed.

【0020】すなわち電源の投入時には初期設定を行
い、前記各カウンタLCT、RTCを0リセットすると
ともに一致回数設定値LNUM=2、RNUM=1を内
部メモリにセットする。
That is, when the power is turned on, initialization is performed, the counters LCT and RTC are reset to 0, and the coincidence count set values LNUM = 2 and RNUM = 1 are set in the internal memory.

【0021】この状態で前記デコーダ8から割込信号が
あると左側又は右側キャラクタの解読結果をバッファB
UFに取込むようにしている。そしてバッファBUFの
パリティの並びが全て偶数パリティか否かをチェック
し、全て偶数パリティでなければこのデータは左側キャ
ラクタと判断できるので、続いてカウンタLCTが0が
否かをチェックする。そしてLCT=0であれば最初の
データなのでバッファBUFのデータをバッファLBU
Fに転送し、カウンタLCTを1にしてデコーダ8から
のデータの取込みに待機する。
In this state, if there is an interrupt signal from the decoder 8, the decoding result of the left or right character is stored in the buffer B.
I am trying to incorporate it into the UF. Then, it is checked whether or not the parity arrangement of the buffer BUF is all even parity. If not all even parity, this data can be judged to be the left character, so it is subsequently checked whether or not the counter LCT is 0. If LCT = 0, it is the first data, so the data in the buffer BUF is stored in the buffer LBU.
Transfer to F, set the counter LCT to 1, and wait for the data from the decoder 8 to be fetched.

【0022】またLCT=0でなければすでにバッファ
LBUFに左側キャラクタの解読結果がセットされてい
るので、続いてバッファLBUFのデータと今回のバッ
ファBUFのデータを比較する。そして両データが一致
したときにはカウンタLCTをインクリメントしてから
カウンタLCTの内容が一致回数設定値LNUM=2よ
りも大きいか否かをチェックする。また不一致のときに
はカウンタLCTを0リセットしてデコーダ8からのデ
ータの取込みに待機する。
If LCT = 0 is not satisfied, the decoding result of the left character has already been set in the buffer LBUF, so that the data in the buffer LBUF is compared with the data in the current buffer BUF. When both data match, the counter LCT is incremented, and then it is checked whether the content of the counter LCT is larger than the matching count setting value LNUM = 2. When they do not coincide with each other, the counter LCT is reset to 0 and waits for the data to be fetched from the decoder 8.

【0023】またバッファBUFのパリティの並びが全
て偶数パリティであればこのデータは右側キャラクタと
判断できるので、続いてカウンタRCTが0が否かをチ
ェックする。そしてRCT=0であれば最初のデータな
のでバッファBUFのデータをバッファRBUFに転送
し、カウンタRCTを1にしてデコーダ8からのデータ
の取込みに待機する。
Further, if the parity arrangement of the buffer BUF is all even parity, this data can be judged as the right character, so it is checked whether the counter RCT is 0 or not. Then, if RCT = 0, it is the first data, so the data in the buffer BUF is transferred to the buffer RBUF, the counter RCT is set to 1, and the acquisition of data from the decoder 8 is awaited.

【0024】またRCT=0でなければすでにバッファ
RBUFに右側キャラクタの解読結果がセットされてい
るので、バッファRBUFのデータと今回のバッファB
UFのデータを比較する。そして両データが一致したと
きにはカウンタRCTをインクリメントしてからカウン
タRCTの内容が一致回数設定値RNUM=1よりも大
きいか否かをチェックする。また不一致のときにはカウ
ンタRCTを0リセットしてデコーダ8からのデータの
取込みに待機する。
If RCT = 0 is not satisfied, the decoding result of the right character is already set in the buffer RBUF, so the data in the buffer RBUF and the current buffer B are set.
Compare the UF data. When both data match, the counter RCT is incremented, and then it is checked whether or not the content of the counter RCT is larger than the matching count setting value RNUM = 1. When they do not coincide with each other, the counter RCT is reset to 0 and waits for the data to be fetched from the decoder 8.

【0025】カウンタLCTの内容と一致回数設定値L
NUM=2との比較及びカウンタRCTの内容と一致回
数設定値RNUM=1との比較において、LCT>LN
UM又はRCT>RNUMでなければデコーダ8からの
データの取込みに待機し、またLCT>LNUMでかつ
RCT>RNUMであれば左側キャラクタは3回正規に
解読されたことになり、また右側キャラクタは2回正規
に解読されたことになり、これによりバッファRBUF
のデータとバッファLBUFのデータを合成して1つの
バーコードデータとしてホストコンピュータ10に出力
するようになっている。そして出力した後は各カウンタ
LCT、RTCをそれぞれ0リセットしてデコーダ8か
らのデータの取込みに待機する。
The contents of the counter LCT and the matching count set value L
In the comparison with NUM = 2 and the content of the counter RCT and the match count setting value RNUM = 1, LCT> LN
If it is not UM or RCT> RNUM, it waits for the data from the decoder 8, and if LCT> LNUM and RCT> RNUM, the left character has been properly decoded three times, and the right character is 2 This means that the buffer RBUF has been successfully decrypted.
And the data in the buffer LBUF are combined and output as one bar code data to the host computer 10. After the output, the counters LCT and RTC are reset to 0 and wait for the fetching of data from the decoder 8.

【0026】このような構成の実施例装置においては、
バーコードラベル3上のバーコードを走査したレーザビ
ームの反射光をセンサ5で受光し、そのとき光電変換部
6から得られる電気信号をA/D変換部7で2値化し、
デコーダ8に取込まれる。デコーダ8は取り込んだバー
コードデータを左右分割してデコードし、半分のデコー
ドが正しく行われるとマイクロプロセッサ9に対する割
込信号ISをアクティブにする。これによりマイクロプ
ロセッサ9は解読された半分のデータを取込みバッファ
BUFに格納する。
In the embodiment apparatus having such a configuration,
The sensor 5 receives the reflected light of the laser beam obtained by scanning the bar code on the bar code label 3, and the electric signal obtained from the photoelectric conversion section 6 at that time is binarized by the A / D conversion section 7.
Captured by the decoder 8. The decoder 8 divides the fetched bar code data into left and right parts and decodes them, and when half the decoding is correctly performed, it activates the interrupt signal IS to the microprocessor 9. As a result, the microprocessor 9 stores the decoded half of the data in the buffer BUF.

【0027】マイクロプロセッサ9は、取込んだデータ
が左側キャラクタか右側キャラクタかをパリティの並び
で判断する。すなわち全てが偶数パリティとなっていれ
ば右側キャラクタと判断し、また全てが偶数パリティと
なっていなければ左側キャラクタと判断する。
The microprocessor 9 determines whether the fetched data is a left-side character or a right-side character based on the parity arrangement. That is, if all have even parity, it is determined to be the right character, and if not all have even parity, it is determined to be the left character.

【0028】左側キャラクタの場合はバッファBUFの
データをバッファLBUFに転送してカウンタLCTを
1にし、また右側キャラクタの場合はバッファBUFの
データをバッファRBUFに転送してカウンタRCTを
1にする。
In the case of the left character, the data in the buffer BUF is transferred to the buffer LBUF and the counter LCT is set to 1, and in the case of the right character, the data in the buffer BUF is transferred to the buffer RBUF and the counter RCT is set to 1.

【0029】2回目に左側キャラクタをバッファBUF
に格納すると、そのバッファBUFのデータとバッファ
LBUFのデータを比較し、両者が一致するとカウンタ
LCTをインクリメントして2にする。また2回目に右
側キャラクタをバッファBUFに格納すると、そのバッ
ファBUFのデータとバッファRBUFのデータを比較
し、両者が一致するとカウンタRCTをインクリメント
して2にする。
The left character is buffered BUF for the second time
When it is stored in, the data in the buffer BUF and the data in the buffer LBUF are compared, and when they match each other, the counter LCT is incremented to 2. When the right character is stored in the buffer BUF for the second time, the data in the buffer BUF and the data in the buffer RBUF are compared, and if they match each other, the counter RCT is incremented to 2.

【0030】そして左側キャラクタの場合はカウンタL
CTが「2」をカウントしても一致回数設定値LNUM
=2より大きくならないのでさらに3回目の左側キャラ
クタの取込みを行う。また右側キャラクタの場合はカウ
ンタRCTが「2」になると一致回数設定値RNUM=
1より大きくなるので正規に解読されたと判断する。
In the case of the left character, the counter L
Even if CT counts “2”, the matching count setting value LNUM
Since it does not become larger than = 2, the left character is captured for the third time. Further, in the case of the right character, when the counter RCT becomes “2”, the matching number setting value RNUM =
Since it is larger than 1, it is determined that the decryption is legal.

【0031】3回目の左側キャラクタの取込みが行わ
れ、今回もバッファBUFのデータとバッファRBUF
のデータとが一致するとカウンタLCTが「3」となる
のでLCT>LNUMとなり、左側キャラクタが正規に
解読されたと判断する。
The left character is fetched for the third time, and this time, the data in the buffer BUF and the buffer RBUF are also fetched.
The counter LCT becomes "3" when the data of "1" are matched, and therefore LCT> LNUM, and it is determined that the left character is properly decoded.

【0032】こうして左右両方のキャラクタがそれぞれ
正規に解読されるとバッファLBUF、RBUFのデー
タが合成されて1つのバーコードデータとしてホストコ
ンピュータ10に出力される。
When both the left and right characters are properly decoded in this way, the data in the buffers LBUF and RBUF are combined and output as one bar code data to the host computer 10.

【0033】また左側キャラクタについては取込んだ3
つのデータが一致しなければカウンタLCTが0リセッ
トされて再度最初から取込みを行うことになる。また右
側キャラクタについては取込んだ2つのデータが一致し
なければカウンタRCTが0リセットされて再度最初か
ら取込みを行うことになる。
For the left side character, the captured 3
If the two data do not match, the counter LCT is reset to 0 and the acquisition is performed again from the beginning. For the right character, if the two captured data do not match, the counter RCT is reset to 0 and the capture is performed again from the beginning.

【0034】こうしてキャラクタ列として成立する確率
の高い左側キャラクタについてデータ比較を右側キャラ
クタよりも1回多くしているので、結果としてキャラク
タ列として成立する確率を低くできる。従って左側キャ
ラクタの誤読率を低くできる。また右側キャラクタはも
ともとキャラクタ列として成立する確率が低いので2回
連続してデータが一致すれば正規のキャラクタ列と判断
することで誤読率を十分に低くできる。
In this way, the data comparison is performed once for the left character having a high probability of being established as a character string than for the right character, and as a result, the probability of being established as a character string can be lowered. Therefore, the misreading rate of the left character can be reduced. Further, since the probability that the right-side character is originally established as a character string is low, the misreading rate can be sufficiently lowered by determining that the character string is a normal character string if the data match twice consecutively.

【0035】こうして左右のキャラクタについてそれぞ
れ誤読率を低くできることになり、全体としてバーコー
ドの誤読率を低くすることができ信頼性を向上できる。
In this way, the misreading rate of the left and right characters can be reduced, and the misreading rate of the bar code can be reduced as a whole, and the reliability can be improved.

【0036】なお、前記実施例では左側キャラクタと右
側キャラクタの一致データ回数を3回と2回にしたが必
ずしもこれに限定されるものではなく、もっと多い回数
であってもよい。但し、左側キャラクタの一致データ回
数を右側キャラクタの一致データ回数よりも多く設定す
ることは必要となる。
In the above embodiment, the number of matching data of the left character and the right character is set to 3 times and 2 times, but the number of matching data is not necessarily limited to this and may be more. However, it is necessary to set the number of matching data of the left character to be larger than the number of matching data of the right character.

【0037】[0037]

【発明の効果】以上詳述したように本発明によれば、左
右にキャラクタコードを有するバーコードを、左右毎に
分割読取りを行うものにおいて、左側キャラクタの誤読
率を低くし、これにより全体の誤読率を下げて信頼性を
向上できるバーコード読取装置を提供できるものであ
る。
As described above in detail, according to the present invention, in a bar code having a character code on the left and right sides is divided and read separately, the misreading rate of the left side character is reduced, and as a result, the entire character is reduced. It is possible to provide a bar code reader which can reduce the misreading rate and improve the reliability.

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

【図1】本発明の実施例を示す回路ブロック図。FIG. 1 is a circuit block diagram showing an embodiment of the present invention.

【図2】同実施例のマイクロプロセッサによる要部処理
を示す流れ図。
FIG. 2 is a flowchart showing main processing by the microprocessor of the embodiment.

【図3】13桁のJANコードの構成を説明するための
図。
FIG. 3 is a diagram for explaining the structure of a 13-digit JAN code.

【図4】バーコードを分割しないで読取る場合と分割し
て読取る場合の隣合う走査線間の角度を示す図。
FIG. 4 is a diagram showing angles between adjacent scanning lines when a barcode is read without dividing it and when it is divided and read.

【符号の説明】[Explanation of symbols]

9…マイクロプロセッサ、LCT、RCT…カウンタ、
BUF、LBUF、RBUF…バッファ。
9 ... Microprocessor, LCT, RCT ... Counter,
BUF, LBUF, RBUF ... Buffer.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 左右にキャラクタコードを有するバーコ
ードを、左右毎に複数回読取り、その複数回の読取り結
果が等しいときバーコード読取りデータを外部に出力す
るバーコード読取装置において、右側のキャラクタにつ
いてはm(但し、m≧2)回読取りそのm回の読取り結
果が一致するか否かを判断する判断手段と、左側のキャ
ラクタについてはn(但し、n≧m)回読取りそのn回
の読取り結果が一致するか否かを判断する判断手段と、
両判断手段が読取り結果の一致を判断したとき左右の読
取りデータを合成して外部に出力する出力手段を設けた
ことを特徴とするバーコード読取装置。
1. A bar code reading apparatus for reading a bar code having character codes on the left and right a plurality of times for each of the left and right sides and outputting the bar code read data to the outside when the results of the plurality of times of reading are the same. Is m (however, m ≧ 2) times of reading, and a judgment means for judging whether the m times of reading results match, and n (however, n ≧ m) times of reading for the left character, and n times of reading. Determination means for determining whether or not the results match,
A bar code reading apparatus comprising an output means for synthesizing left and right read data and outputting the result to the outside when the two judging means judge that the reading results match.
JP4098316A 1992-04-17 1992-04-17 Barcode reader Expired - Fee Related JP3002601B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4098316A JP3002601B2 (en) 1992-04-17 1992-04-17 Barcode reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4098316A JP3002601B2 (en) 1992-04-17 1992-04-17 Barcode reader

Publications (2)

Publication Number Publication Date
JPH05298472A true JPH05298472A (en) 1993-11-12
JP3002601B2 JP3002601B2 (en) 2000-01-24

Family

ID=14216520

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4098316A Expired - Fee Related JP3002601B2 (en) 1992-04-17 1992-04-17 Barcode reader

Country Status (1)

Country Link
JP (1) JP3002601B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009044720A1 (en) * 2007-10-02 2009-04-09 B-Core Inc. Optical recognition code reading method, device, and program, and printed object marked with optical recognition code

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009044720A1 (en) * 2007-10-02 2009-04-09 B-Core Inc. Optical recognition code reading method, device, and program, and printed object marked with optical recognition code

Also Published As

Publication number Publication date
JP3002601B2 (en) 2000-01-24

Similar Documents

Publication Publication Date Title
US5929421A (en) Method and apparatus for recognizing and assembling optical code information from partially scanned segments
US6366696B1 (en) Visual bar code recognition method
US5821519A (en) Bar code scan stitching
JP4122629B2 (en) 2D code generation method
US6102289A (en) 1D finder pattern for 2D bar codes
JP3115003B2 (en) Method and apparatus for decoding barcode symbols using module size ratio analysis
IE62337B1 (en) Dynamically variable machine readable binary code and method for reading and producing thereof
CN101978380A (en) Two-dimensional symbol and method for reading same
JPH11505041A (en) Packet barcodes for encoding and decoding
JPH09179927A (en) Bar code reader
US11036948B2 (en) Barcode-scanning system configured for both data validation and data formatting
US5189289A (en) Distinguishing bar code types by comparing bar block sizes
JP3002601B2 (en) Barcode reader
JP3448404B2 (en) Barcode reading device and barcode reading method
JPH08263585A (en) Bar code reading device
JPH0253194A (en) Identification label and reader
WO2020251775A1 (en) Securing and authenticating an item based on 2-d barcode encoding
JP2725221B2 (en) Barcode reader
JP2786201B2 (en) Barcode demodulator
JP2912743B2 (en) Barcode decoder
JPH09274637A (en) Two-dimensional code reader
JP2778870B2 (en) Barcode decoder
JPH03122782A (en) Bar-code reader
KR940006119B1 (en) Deciphering method of barcode system
JPH04277887A (en) Add-on bar code reader

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081112

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20091112

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091112

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20101112

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20101112

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20111112

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees