JP2741404B2 - Barcode reader - Google Patents

Barcode reader

Info

Publication number
JP2741404B2
JP2741404B2 JP1141501A JP14150189A JP2741404B2 JP 2741404 B2 JP2741404 B2 JP 2741404B2 JP 1141501 A JP1141501 A JP 1141501A JP 14150189 A JP14150189 A JP 14150189A JP 2741404 B2 JP2741404 B2 JP 2741404B2
Authority
JP
Japan
Prior art keywords
data
bar
stage
bar code
blocks
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 - Fee Related
Application number
JP1141501A
Other languages
Japanese (ja)
Other versions
JPH036682A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1141501A priority Critical patent/JP2741404B2/en
Publication of JPH036682A publication Critical patent/JPH036682A/en
Application granted granted Critical
Publication of JP2741404B2 publication Critical patent/JP2741404B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概要〕 本発明は、識別バーにより区分された左右のバーブロ
ックを有するバーコードを多段に設定した多段バーコー
ドを読み取るバーコード読取装置において、 バーコードを、一つのバーブロック単位で復調可能な
復調手段と、 前記復調手段で復調された読取対象となる多段バーコ
ードのうち、少なくとも一段の左右ブロックが1の走査
により一貫して走査されたことを検知する手段と、 前記検知手段により検知された、一貫して走査された
バーコードを構成する左右ブロックの組み合わせを選択
するとともに、前記選択されなかったバーブロック同士
の組み合わせのうち、チェックコードに基づくチェック
結果が正当であるバーブロックの組み合わせを選択する
手段と、を具えた構成とする。
DETAILED DESCRIPTION OF THE INVENTION [Summary] The present invention relates to a bar code reading apparatus for reading a multi-stage bar code in which bar codes having left and right bar blocks separated by identification bars are set in multiple stages. Demodulating means capable of demodulating in bar block units; and a means for detecting that at least one of the left and right blocks of the multi-stage bar code to be read demodulated by the demodulating means has been consistently scanned by one scan. Selecting a combination of left and right blocks constituting a barcode that has been consistently scanned and detected by the detection unit, and among the combinations of the unselected bar blocks, a check result based on a check code is valid. Means for selecting a combination of bar blocks.

〔産業上の利用分野〕[Industrial applications]

本発明はバーコードを多段に設定した多段バーコード
を読取るバーコード読取装置に関するものである。
The present invention relates to a bar code reading device that reads a multi-stage bar code in which bar codes are set in multiple stages.

〔従来の技術〕[Conventional technology]

近来コンピユータネツトワークシステムの普及に伴い
デパート,スーパーマーケツト等において、販売時点情
報管理(Point・Of・Sales;以下POSという)システムが
広く採用されるようになってきた。POSシステムの端末
機として電子レジスタ及び定置式読取装置が使用されて
いる。これ等の端末機は支払カウンタに設置されており
店員等のオペレータによって操作され商品のラベルに印
刷されたバーコードが読み取られる。
2. Description of the Related Art Recently, with the spread of computer network systems, point-of-sale (POS) systems have become widely used in department stores, supermarkets, and the like. Electronic registers and stationary readers are used as terminals in POS systems. These terminals are installed in a payment counter, and are operated by an operator such as a clerk to read a barcode printed on a label of a product.

バーコードには商品番号,商品名及び商品価格等が折
り込まれている。バーコードを読み取ると、電子レジス
タに順次価格が表示され最後に押ボタン指示により合計
金額が表示される。
The bar code includes a product number, a product name, a product price, and the like. When the barcode is read, the prices are sequentially displayed on the electronic register, and finally the total amount is displayed by the push button instruction.

そしてこの端末機はレジスタ機能の他、商品別販売情
報をオンラインで逐一コンピユータセンタに送り売上集
計をはじめ在庫管理,仕入管理等の商品管理を総合的に
行なう情報管理システムのデータ入力機としての一翼を
になっている。
In addition to the register function, this terminal is used as a data input device of an information management system that comprehensively manages merchandise management such as sales management, inventory management, purchase management, etc. by sending sales information by product to computer centers one by one online. One wing.

第5図(a)〜はバーコードの概略説明図であ
る。すなわち、同図に示すように、左右ガードバーLG
B,RGB間がセンタバーCBで2区分され、それぞれのブロ
ツク間にバー幅で表わされた0〜9の数字コードが収納
され、これらの数字で日本国名(49)の外、前述の商品
番号,商品名,価格等がコード化されて示される。
FIGS. 5A to 5C are schematic explanatory diagrams of bar codes. That is, as shown in FIG.
The center bar CB is divided into two sections between B and RGB, and a number code of 0 to 9 represented by the bar width is stored between each block, and these numbers are used in addition to the Japanese name (49) and the above-mentioned product number. , Product name, price, etc. are coded and shown.

このバーコードの付されたラベルをバーコード読取装
置によりレーザ光で読取りが行なわれる。この際,
に示すように、各半ブロツク毎に破線で示す範囲を実線
で示す走査線により読取る。そして各ブロツクの全バー
に交差するものが有効であり一部のみに交差するものは
無効となる。
The label with the bar code is read by a bar code reader using a laser beam. On this occasion,
As shown in the figure, the range shown by the broken line is read by the scanning line shown by the solid line for each half block. Those that cross all the bars of each block are valid, and those that cross only some of them are invalid.

同図(b),(c)は上記1段バーコードの読取方向
による走査態様を示したものである。同図(b)のは
各ブロツクA,Bと走査線が一挙に貫通(一気通貫)する
場合と、,のように別々に走査する場合があり、同
図(c)は反対方向でダツシユを付して示す。何れの場
合も各ブロツク単位で復調を行なっている。
FIGS. 7B and 7C show the scanning manner in the reading direction of the one-stage bar code. FIG. 3 (b) shows a case where each of the blocks A and B and the scanning line penetrate at a stroke (through at a stretch) and a case where scanning is performed separately as shown in FIG. 3 (b). It is shown with a symbol. In each case, demodulation is performed on a block basis.

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

しかし、上記1段のバーコードで各種情報を表現する
には限りがあり、最近ユーザ等より2段以上のバーコー
ドブロツクを使用して商品管理を実施したいという要求
が出されている。第5図(d)は2段バーコード例を示
すもので、前ブロツクの頭初に多段バーコードであるこ
とを識別するフラグ2文字を有するとともにデータ10文
字と、最終チエツク(モジユラス10チエツク)コード1
文字とを有する計13文字より成る多段バーコードで、こ
れにより図示のような商品,価格,等の倍の情報を表わ
すことになる。
However, there is a limit in expressing various types of information using the one-stage barcode. Recently, users and the like have issued a request to implement product management using two or more stages of barcode blocks. FIG. 5 (d) shows an example of a two-stage barcode, which has two characters at the beginning of the preceding block for identifying a multi-stage barcode, 10 characters of data, and a final check (Modulus 10 check). Code 1
This is a multi-stage barcode consisting of a total of 13 characters including characters, and this represents information twice as large as the product, price, etc. as shown in the figure.

同図(e)は2段バーコードの読取態様を示すもので
ある。1段目の各ブロツクをA,B、2段目の各ブロツク
をC,Dとし、多段を示すフラグを図示のように頭初に○
○および△△を付するものとする。従来の技術によれ
ば、A,B,C,Dがブロツク単位で検出され、A,Cは各段頭初
であることは判るが、ABかAD、CDかCBかの判別
が不可能となる場合もある。
FIG. 9E shows a reading mode of a two-stage barcode. Each block of the first stage is A and B, each block of the second stage is C and D, and flags indicating multiple stages are initially marked with a circle as shown in the figure.
○ and △△ shall be added. According to the conventional technology, A, B, C, and D are detected in block units, and it is understood that A and C are the first in each stage, but it is impossible to determine whether it is AB or AD, or CD or CB. In some cases.

さらに多段であることを認識させるフラグはユーザに
より固有の2桁番号が付されるが、これを変更可能にす
ることが要求されている。
Further, the user is provided with a unique two-digit number for the flag for recognizing the multi-stage, but it is required that the flag can be changed.

本発明は従来技術におけるブロツク毎の検出に一気通
貫の情報を加味することにより前述のブロツクの組合せ
を正確に判別できることに着目してなされたものであ
る。
The present invention has been made by paying attention to the fact that the combination of the above-described blocks can be accurately discriminated by adding the continuous information to the detection of each block in the prior art.

本発明の目的は、多段バーコードの1部を一気通貫に
読取ったという情報を加味することにより多段バーコー
ドを構成するブロツクの組合せを正確に判別できるバー
コード読取装置を提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a bar code reading apparatus capable of accurately discriminating a combination of blocks forming a multi-stage bar code by adding information that a part of the multi-stage bar code has been read all at once. .

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

前記目的を達するため、第1図(a)の原理説明図の
要部構成図に示すように、識別バーにより区分された左
右のバーブロックを有するバーコードを多段に設定した
多段バーコードを読み取るバーコード読取装置(10)に
おいて、 バーコードを、一つのバーブロック単位で復調可能な
復調手段(17,18,21,23,24)と、 前記復調手段で復調された読取対象となる多段バーコ
ードのうち、少なくとも一段の左右ブロックが1の走査
により一貫して走査されたことを検知する手段(22)
と、 前記検知手段により検知された、一貫して走査された
バーコードを構成する左右ブロックの組み合わせを選択
するとともに、前記選択されなかったバーブロック同士
の組み合わせのうち、チェックコードに基づくチェック
結果が正当であるバーブロックの組み合わせを選択する
手段(20,30〜32)と、を具えた構成とする。
In order to achieve the above-mentioned object, as shown in the main part configuration diagram of the principle explanatory diagram of FIG. 1 (a), a multi-stage bar code in which bar codes having left and right bar blocks divided by identification bars are set in multiple stages is read. In the bar code reader (10), a demodulation means (17, 18, 21, 23, 24) capable of demodulating a bar code in one bar block unit; Means for detecting that at least one of the left and right blocks of the code has been consistently scanned by one scan (22)
And selecting a combination of left and right blocks constituting a consistently scanned barcode detected by the detection means, and among the combinations of the non-selected bar blocks, a check result based on a check code is Means (20, 30 to 32) for selecting a valid combination of bar blocks.

〔作用〕[Action]

上記要部構成により、本発明は同図(b)(i),
(ii)に示すように、たとえば2段バーコードのAB,CD
のうち何れかまたは両方が一気通貫に走査されたことを
一気通貫検知手段22で検知した時は、何れの時もABまた
はCDの組合せが先ず検知され残りC,DまたはA,Bの組合
せから2段バーコードのバーブロツクの配列の判別が可
能である。ただし、ブロツクBとDの情報が同じなら
ば、AB,CDとも一気通貫走査される必要がある。
According to the above-mentioned main part configuration, the present invention is shown in FIGS.
As shown in (ii), for example, a two-stage barcode AB, CD
When either or both of them are scanned by the straight-through detection means 22 at any time, the combination of AB or CD is first detected and the remaining C, D or A, B It is possible to determine the arrangement of the bar blocks of the two-stage bar code from the combination. However, if the information of blocks B and D is the same, both AB and CD need to be scanned all at once.

〔実 施 例〕〔Example〕

第2図は本発明の実施例の構成説明図である。ただし
バーコードはUPC,JAコードとする。
FIG. 2 is an explanatory view of the configuration of the embodiment of the present invention. However, barcodes are UPC and JA codes.

同図において、各段バーコードのラベルをレーザ光等
で走査し、反射光をバーコード読取部10内のA/D変換器1
1に挿入して得られたアナログ信号をデジタル信号に変
換し、バー幅カウンタ回路12に入れ、GB,キヤラクタ
(各数字),CB等のバー幅,間隔をカウントし、それぞ
れGBチエツク回路13,キヤラクタチエツク回路14,CBチエ
ツク回路15および復調回路16に送る。復調回路16ではキ
ヤラクタを復調し、バーコードのブロツク(GB−CB),
(CB−GB)毎にそれぞれ復調データバツフア回路23,24
に一旦格納する、 次にGBチェック回路13,キヤラクタチェック回路14,CB
チェック回路15からのチエツクデータ出力を、従来用い
られているGB→CBシーケンス制御回路17およびCB→GBシ
ーケンス制御回路18に入れる。GB CBF(フラグ)21はフ
リツプフロツプで構成されるフラグであって、前の回路
17がCB/GBを検出したら該回路17の出力を受け「1」(O
N)となる。そして、後の回路18がCB/GBを検出したらGB
CBF(フラグ)21の値(フラグ値)が「1」のとき1つ
の段の全キヤラクタが完全に検出されたことになり、1
つの段の両ブロツクが一気に読取り走査がなされたこと
を示すため、一気通貫フラグ22はANDゲート221とフリツ
プフロツプ222で構成され、GB CBF21(FF)のオン出力
とCB→GBシーケンス制御回路18の出力により「1」(O
N)がセツトされ、制御部20に送る。
In FIG. 1, a label of each bar code is scanned by a laser beam or the like, and the reflected light is scanned by an A / D converter 1 in a bar code reading unit 10.
The analog signal obtained by inserting it into 1 is converted into a digital signal, and the converted signal is inputted to a bar width counter circuit 12, and the bar width and interval of GB, character (each number), CB, etc. are counted, and the GB check circuit 13, It is sent to a character check circuit 14, a CB check circuit 15 and a demodulation circuit 16. The demodulation circuit 16 demodulates the character and generates a bar code block (GB-CB),
Demodulated data buffer circuits 23, 24 for each (CB-GB)
Once, then GB check circuit 13, character check circuit 14, CB
The check data output from the check circuit 15 is input to the GB → CB sequence control circuit 17 and the CB → GB sequence control circuit 18 which are conventionally used. GB CBF (flag) 21 is a flag composed of flip-flops,
When 17 detects CB / GB, it receives the output of the circuit 17 and outputs "1" (O
N). Then, when the circuit 18 detects CB / GB, GB
When the value (flag value) of the CBF (flag) 21 is "1", it means that all characters in one stage have been completely detected.
To indicate that the One stage of the two blocks is once read scanning is made, at one stroke through transmural flag 22 is composed of AND gates 22 1 and flip-flop 22 2, GB CBF21 (FF) of the ON output and CB → GB sequence control circuit "1" (O
N) is set and sent to the control unit 20.

各段バーコードのGB(CB)を検知すると、GB→CB(CB
→GB)シーケンス制御回路17(18)が動作し、キヤラク
タチェック回路14により各ブロツクのキヤラクタがチエ
ツクOKになる毎に、復調データバツフア回路23,24へ復
調回路16からの復調データを書込むパルスを発生させ
る。なお、第1図(b)のように走査されたときブロ
ツクB,Dのデータはデータバツフア23,24に格納されな
い。なお、データバツフア回路23にはGB→CB方向に光ビ
ームが走査されたときのデータが格納され、データバツ
フア回路24にはCB→GB方向に光ビーム走査されたときの
データが格納される。
When GB (CB) of each barcode is detected, GB → CB (CB
→ GB) When the sequence control circuit 17 (18) operates and the character check circuit 14 checks the character of each block, the pulse for writing the demodulated data from the demodulation circuit 16 to the demodulation data buffer circuits 23 and 24 is output. Generate. When scanning is performed as shown in FIG. 1B, the data of blocks B and D are not stored in the data buffers 23 and 24. The data buffer circuit 23 stores data when the light beam is scanned in the GB → CB direction, and the data buffer circuit 24 stores the data when the light beam is scanned in the CB → GB direction.

復調データについて各ブロツクの最終キヤラクタが完
了した時次のバーコードブロツクがCB(GB)かをチエツ
クし、OKであれば制御部20へ復調完了信号25(26)をオ
ンして通知する。括弧内は引続き同様に処理されること
を示す。制御部20は復調完了信号25,26がONとなると、
復調データを読出す。
When the last character of each block is completed for the demodulated data, it is checked whether the next bar code block is CB (GB), and if OK, the demodulation completion signal 25 (26) is turned on to notify the control unit 20. The contents in parentheses indicate that the same processing will be continued. When the demodulation completion signals 25 and 26 are turned ON, the control unit 20
Read the demodulated data.

第3図は第2図の各段バーコードに対する動作を示す
流れ図であり、同図(a)はGB−CBシーケンス,同図
(b)はCB−GBシーケンスを示す。
FIG. 3 is a flowchart showing the operation for each bar code in FIG. 2, wherein FIG. 3 (a) shows the GB-CB sequence and FIG. 3 (b) shows the CB-GB sequence.

同図(a)においては、GB→CBシーケンス制御回路17
がバーコード読取部10からの入力されたバー検出信号が
GBであるか否かを調べ〔〕、これが検出されると次に
キヤラクタをチエツクの結果OKか否かを調べ、否ならば
GB CBフラグ21のフラグをOFFとして最初に戻し、OKなら
ば復調データバツフア23に書込みパルスを与えて復調デ
ータを書込み〔〕、ブロツクのキヤラクタの最終キヤ
ラクタが完了したか否か〔〕を調べ、完了したならば
CBがOKか否か〔〕により、OKならばGB CBフラグ21の
フラグをON〔〕とし、否であれば元に戻す。GB CBフ
ラグON〔〕としたとき、制御部20に復調完了通知を行
なう。以上の過程での各判断(OKか否か等)各処理(最
初〔元〕に戻す等)はGB−CBシーケンス制御回路17が行
なう。
In FIG. 7A, the GB → CB sequence control circuit 17
Is the bar detection signal input from the barcode reading unit 10.
Check if it is GB [], if this is detected, then check the character to see if it is OK as a result.
Set the GB CB flag 21 flag to OFF and return to the beginning.If OK, apply a write pulse to the demodulation data buffer 23 to write the demodulation data [], check whether the final character of the block character is completed [], and complete. If you do
Depending on whether or not the CB is OK [], if OK, the flag of the GB CB flag 21 is turned ON [], and if not, the GB CB flag 21 is restored. When the GB CB flag is set to ON [], the controller 20 is notified of the demodulation completion. The GB-CB sequence control circuit 17 performs each determination (OK or not, etc.) and each process (return to the original [original]) in the above process.

同図(b)においては、CB→GBシーケンス制御回路18
がバーコード読取部10から入力されたバー検出信号がCB
であるか否かを調べ〔〕、これが検出されると、次に
キヤラクタOKか否かを調べ〔〕、これを繰返してOKな
らば復調データバツフア24に書込みパルスを与えて復調
データを書込み〔〕、ブロツクの最終キヤラクタが完
了したか否か〔〕を調べ、完了したならばGBがOKか否
か〔〕を判断し、OKならば、GB CBフラグ21のフラグ
がONかOFFかを調べ、ONであれば一気通貫フラグ22をON
とし〔〕、OFFであれば一気通貫フラグをOFFとし
〔〕、制御部20に復調完了通知を行なう。
In FIG. 6B, the CB → GB sequence control circuit 18
Indicates that the bar detection signal input from the barcode reading unit 10 is CB
[], And if this is detected, it is next checked whether the character is OK []. If this is repeated, a write pulse is given to the demodulation data buffer 24 to write demodulation data []. Check whether the final character of the block is completed [], and if completed, determine whether the GB is OK [], and if OK, check whether the GB CB flag 21 flag is ON or OFF, If ON, turn on all-at-on flag 22
[], And if it is OFF, the blow-through flag is turned OFF [], and the control unit 20 is notified of the demodulation completion.

以上の過程における各判断,処理はCB−GBシーケンス
制御回路18が行なう。
The CB-GB sequence control circuit 18 performs each judgment and processing in the above process.

制御部20はプロセツサとこれを作動させるプログラム
を有する。復調データバツフア回路23,24から送られた
データは制御部20によりメモリ30,31に格納される。メ
モリ30にはバーコードの各段の左ブロツクのデータが格
納され、メモリ31にはバーコード各段の右ブロツクのデ
ータが格納される。
The control unit 20 has a processor and a program for operating the processor. The data sent from the demodulated data buffer circuits 23 and 24 are stored in the memories 30 and 31 by the control unit 20. The memory 30 stores the data of the left block of each row of the barcode, and the memory 31 stores the data of the right block of each row of the barcode.

たとえば、復調データバツフア回路23,24に存在する
データが第2図(b)に示すものであるとする。1段目
のデータと2段目のデータが混在しているのは、走査線
が第1図(b)に示すごとく,,の3本が存在す
るからである。図中の斜線部は非バーコードデータであ
って、たとえば第1図(b)の走査線の破線部で得ら
れたデータである。最初に左ブロツクのデータAが送ら
れると、制御部20により従来技術で左ブロツクのデータ
と判断され、メモリ30のL1で番地に格納される。次の非
バーコードデータは制御部20に送られない。
For example, it is assumed that the data existing in the demodulated data buffer circuits 23 and 24 is as shown in FIG. The data in the first stage and the data in the second stage are mixed because there are three scanning lines, as shown in FIG. 1 (b). The hatched portions in the drawing are non-barcode data, for example, data obtained by the broken line portions of the scanning lines in FIG. 1 (b). When the data A of the left block is transmitted first, the control unit 20 determines that the data is the data of the left block in the prior art, and stores the data in the address at L1 of the memory 30. The next non-barcode data is not sent to the control unit 20.

次に左ブロツクのデータCが送られると、制御部20に
より左ブロツクのデータと判断されるとともに、従来技
術で先のデータAと比較され異なる(A≠C)ため、メ
モリ30のL2番地に格納される。
Next, when the data C of the left block is sent, the control unit 20 determines that the data is the data of the left block, and the data is compared with the data A in the prior art and is different (A ≠ C). Is stored.

次に右ブロツクのデータBが送られると、制御部20に
より従来技術で右ブロツクのデータと判断され、メモリ
31のR1番地に格納される。このようにして、1段目およ
び2段目のバーコードの復調データはブロツク毎にメモ
リ30,31に分納される。ここで、光ビームによる走査は
高速であるため、一度の読取り操作により1つの段のバ
ーコードは複数回の光走査がなされるため、前述のよう
に多数のブロツクデータA,B,Cが復調データバツフア回
路23,24から制御部20へ送られる。
Next, when the right block data B is transmitted, the control unit 20 determines that the right block data is the right block data according to the prior art, and
It is stored in address R1 of 31. In this way, the demodulated data of the first and second bar codes is distributed to the memories 30 and 31 for each block. Here, since the scanning by the light beam is performed at a high speed, a single reading operation is performed a plurality of times by scanning the bar code of one stage, so that a large number of block data A, B, and C are demodulated as described above. The data is sent from the data buffer circuits 23 and 24 to the control unit 20.

ところで一気通貫データA,Bが復調データバツフア23,
24に格納され、一気通貫フラグ22がONとなった場合、制
御部20は復調データバツフア23からデータAを読出し、
先にメモリ30に格納されているデータA,Cと比較する
が、この場合番地L1に格納されているデータAと一致す
るためこの番地L1をメモリ32に格納し、次に復調データ
バツフア24からデータBを読出しメモリ31に先に格納さ
れている番地R1のデータBと比較するがこの場合一致す
るので、この番地R1を先の番地L1と対にしてメモリ32に
格納する。
By the way, the continuous data A and B are demodulated data buffer 23,
The control unit 20 reads out the data A from the demodulated data buffer 23 when it is stored in the
First, the data A and C stored in the memory 30 are compared. In this case, since the data A matches the data A stored in the address L1, the address L1 is stored in the memory 32, and then the data L2 is read from the demodulated data buffer 24. B is read out and compared with the data B of the address R1 previously stored in the memory 31, but in this case, the address R1 is stored in the memory 32 as a pair with the address L1.

なお、復調データバツフア23,24に格納されているこ
れらデータA,Bは制御部20により読出されても復調デー
タバツフア23,24に残存しており、またこれらの一気通
貫データA,Bはメモリ30,31には格納されない。
Note that these data A and B stored in the demodulated data buffers 23 and 24 remain in the demodulated data buffers 23 and 24 even if read by the control unit 20, and these continuous data A and B are stored in the memory 30. , 31 are not stored.

また、1段目のデータBと2段目のデータDが同一な
ら後程、データDが復調データバツフア23,24から読出
されると、既にメモリ31に格納されているR1番地のデー
タBと比較され一致するので、このデータDはメモリ31
には格納されない。この場合、データDが走査されない
で、2段目のバーコードのデータCのみが走査され復調
データバツフア23または24に格納された場合と区分がつ
かないのでデータの読取りをより正確にするために2段
目のバーコードに対する一気通貫情報が必要となる。こ
のようにして2段のバーコードに対して読取り操作が終
了し復調データのメモリ30,31への格納が完了すると、
制御部20は従来技術であるモジユラス10チエツクを行な
う。
If the data D of the first stage and the data D of the second stage are the same, later when the data D is read from the demodulated data buffers 23 and 24, it is compared with the data B of the address R1 already stored in the memory 31. Since they match, this data D is stored in the memory 31
Is not stored in In this case, since the data D is not scanned and only the data C of the second-stage bar code is scanned and stored in the demodulated data buffer 23 or 24, no distinction is made. At a glance, information on the barcodes in the first row is required. In this manner, when the reading operation for the two-stage barcode is completed and the storage of the demodulated data in the memories 30 and 31 is completed,
The control unit 20 performs a conventional modular 10 check.

このモジユラス10チツエクはメモリ30,31に格納され
ているデータ(A,C)と(B,D)の全ての組合せAB,AD,C
B,CDについてなされ、その結果非所望の組合せADに対し
てもモジユラス10チツエクがOKとなることがあるが、制
御部20はメモリ32に格納されている一気通貫情報を用い
て組合せABを採用し、組合せADは採用しない。
This Modulus 10 Chiekku is all combinations AB, AD, C of the data (A, C) and (B, D) stored in the memories 30, 31
B and CD are performed, and as a result, the module 10 may be OK for the undesired combination AD.However, the control unit 20 determines the combination AB using the quick-run information stored in the memory 32. Adopted, not combined AD.

組合せCBに対するモジユラス10チツエクがNOならば組
合せCDに対するモジユラス10チツエクがOKのとき、組合
せCDは採用される。しかし組合せCBに対するモジユラス
10チツエクがOKならば、所望の組合せCDを得るためには
CDに対する一気通貫情報が必要となり、この一気通貫の
情報により組合せCDを採用し他の組合せCBは採用しない
ようにする。
If Modulus 10 Chizek for combination CB is NO, when Modulus 10 Chizek for combination CD is OK, combination CD is adopted. But Modulus for combination CB
If 10 Chizek is OK, to get the desired combination CD
At a glance, information about the CD is required, and the combination of CDs is used, and other combination CBs are not used.

以上の構成により、多段たとえば2段バーコードの各
ブロックA,B,C,Dに第1図(b)に示すように、光ビー
ム走査が一気通貫したという情報を加味し、AB,CDとし
て読取が実行される。これらのデータはPOSへ送られ、
管理,解読される。
With the above configuration, as shown in FIG. 1 (b), information indicating that light beam scanning has passed through all the blocks A, B, C, and D of a multi-stage bar code, for example, a two-stage bar code, is added to AB, CD. Is read. These data are sent to the POS,
It is managed and decrypted.

第4図は他の実施例の構成説明図であり、本発明と別
提案の発明とを組合せたものである。第2図(a)と同
等部分には同一符号を付した。
FIG. 4 is an explanatory view of the configuration of another embodiment, in which the present invention is combined with another proposed invention. 2 (a) are given the same reference numerals.

本発明では多段バーコードを読取るために、1段目か
2段目かを示すフラグをホストから指示するようにし
た。すなわち、このフラグと一致するデータがバーコー
ドラベルから読取られた時には多段バーコードと認識し
(制御部20で一致の判断がなされる)、その他の残りの
バーコードを読取りに行くようにする。
In the present invention, in order to read a multi-stage barcode, the host indicates a flag indicating whether it is the first stage or the second stage. That is, when data that matches this flag is read from the barcode label, it is recognized as a multi-stage barcode (coincidence is determined by the control unit 20), and the remaining barcodes are read.

これらのF1,F2フラグはユーザにより異なる場合が多
くユーザに対応して複数が設けられる。バーコードラベ
ルに付されるフラグF1,F2はバー幅の組合せで表わされ
る。この場合、通常の用法として、多用するある値(こ
れをデフオルト値という)を決めておき、ホストである
POSから指示がない場合にはメモリ46に格納されている
デフオルト値を用いる。
These F 1 and F 2 flags are often different for each user, and a plurality of F 1 and F 2 flags are provided for each user. Flags F 1 and F 2 attached to the bar code label are represented by a combination of bar widths. In this case, as a usual usage, a certain frequently used value (this is called a default value) is determined, and the host
If there is no instruction from the POS, the default value stored in the memory 46 is used.

このように構成すると、電源投入後ホストとしてのPO
Sから一度変更指示があった後、POSと無関係に本装置
(即ち第4図に示す装置)のみ電源OFFし、次いでこの
電源をONした場合には、デフオルト値に戻ってしまう。
一方POSでは変更指示を出したと認識しているから認識
エラーが生じる。これを防止するため本装置では起動時
必ずPOSの指示を確認する手段を設けるようにする。
With this configuration, after the power is turned on, the PO
After a change instruction from S once, the power of only this apparatus (that is, the apparatus shown in FIG. 4) is turned off irrespective of the POS, and then when this power is turned on, it returns to the default value.
On the other hand, since the POS recognizes that the change instruction has been issued, a recognition error occurs. In order to prevent this, the apparatus is provided with a means for always confirming the POS instruction at startup.

第4図の構成はこの手段の1例を示すものである。す
なわち、制御部20に対し、各段毎のバーコードの頭初に
多段フラグとしてたとえば1段目F1=20、2段目F2=29
等(この値「20」,「29」はバー幅の組合せで示される
キヤラクタである。)を変更可能に格納するバツフア4
1,42を設ける(バツフア41は上段のバーコードのフラグ
用,バツフア42は下段のバーコードのフラグ用であ
る。)とともに、POSインターフエース(IF)送信回路4
4,POSインターフエース(IF)受信回路45を介してPOSと
つなぐ。さらに起動時毎にPOSに送信するイニシアルメ
ツセージ用メモリ43を用意する。このイニシアルメツセ
ージは予めメモリ43に格納されている。
FIG. 4 shows one example of this means. That is, for the control unit 20, the first stage F 1 = 20, the second stage F 2 = 29, for example, as a multi-stage flag at the beginning of the bar code for each stage.
(The values "20" and "29" are characters indicated by combinations of bar widths).
1 and 42 (buffer 41 is for an upper bar code flag, and buffer 42 is for a lower bar code flag), and a POS interface (IF) transmission circuit 4 is provided.
4. Connect to POS via POS interface (IF) receiving circuit 45. Further, an initial message memory 43 to be transmitted to the POS every time it is started is prepared. This initial message is stored in the memory 43 in advance.

これにより、本装置がPOSと無関係に電源OFFした後、
次に電源をONする場合には、制御部20によりPOS IF送信
回路44を介しイニシアルメツセージにより多段フラグの
変更指示要求をPOSに送出し、これに応答してPOSより変
更指示/要求受付完了信号がPOS I/F受信回路45を介し
て得られる。この応答に基き制御部20は1段目用フラグ
バツフア41,2段目用フラグバツフア42の各段のフラグを
変更する。
As a result, after the device is turned off regardless of POS,
Next, when the power is turned on, the control unit 20 sends a multi-stage flag change instruction request to the POS by an initial message via the POS IF transmission circuit 44, and in response thereto, the POS issues a change instruction / request acceptance completion signal. Is obtained via the POS I / F receiving circuit 45. Based on this response, the control unit 20 changes the flags of each stage of the first stage flag buffer 41 and the second stage flag buffer 42.

バーコードラベルのフラグは復調データバツフア23,2
4にブロツクデータの1部として格納される。制御部20
は復調完了信号25,26よりフラグ位置を認識し、その位
置に格納されているフラグとバツフア41,42のフラグと
を比較し、一致すれば前述のごとく多段バーコードと認
識し、その他のバーコードを読みにゆく。
Barcode label flag is demodulated data buffer 23,2
4 is stored as a part of the block data. Control unit 20
Recognizes the flag position from the demodulation completion signals 25 and 26, compares the flag stored at that position with the flags of buffers 41 and 42, and if they match, recognizes the multi-stage bar code as described above, and Read the code.

また、起動時(たとえば電源投入時)、POSの指示を
確認する手段として、前述の情報のやりとりを行なうこ
となく、かつPOSと無関係に本装置の電源がOFF−ONされ
る場合に有効なものとして、前述の1段目用フラグバツ
フア41,2段目用フラグバツフア42に代え、EEPROM(不揮
発性メモリ;電気的に消去できるROM)に最終のPOSから
の指示を保持しておき、起動時これを読出して使用する
こともできる。従って、この場合前述のイニシアルメツ
セージの送出は不要である。
At the time of start-up (for example, when the power is turned on), the means for confirming the POS instruction is effective when the power of the apparatus is turned off and on without performing the above-mentioned information exchange and independently of the POS. Instead of the first-stage flag buffer 41 and the second-stage flag buffer 42 described above, an instruction from the final POS is stored in an EEPROM (non-volatile memory; an electrically erasable ROM), and this is stored at startup. It can also be read and used. Therefore, in this case, the transmission of the initial message described above is unnecessary.

以上は2段バーコードにつき説明したが、より多段の
場合も、一気通貫情報を多段数より1つ少ないか,同数
用意することにより同様に処理することができる。
Although the above description has been made with respect to a two-stage barcode, the same processing can be performed in the case of more stages by preparing one or less than the same number of continuous penetration information.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明によれば、多段バーコー
ドに対し、一気通貫情報を加味することにより、多段バ
ーコードを構成するブロツクの組合せの判別を正確に行
なうことができる。
As described above, according to the present invention, it is possible to accurately determine a combination of blocks constituting a multi-stage barcode by taking into account the at-a-glance information to the multi-stage barcode.

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

第1図(a),(b)は本発明の原理説明図、第2図
(a)は実施例の構成説明図、第2図(b)は復調デー
タを示す図、第3図は実施例の動作を示す流れ図、第4
図は他の実施例の構成説明図、第5図(a)〜(e)は
従来例の説明図であり、図中10はバーコード読取部、11
はバーコード読取部、12はバー幅カウンタ回路、13はGB
チエツク回路、14はキヤラクタチエツク回路、15はCBチ
エツク回路、16は復調回路、17はGB−CBシーケンス制御
回路、18はCB−GBシーケンス制御回路、20は制御部、21
はGB/CBフラグ部、22は一気通貫フラグ部、23,24は復調
データバツフア、41,42はバツフア、43はイニシアルメ
ツセージ用メモリ、44はPOS I/F送信回路、45はPOS I/F
受信回路を示す。
1 (a) and 1 (b) are diagrams for explaining the principle of the present invention, FIG. 2 (a) is a diagram for explaining the configuration of an embodiment, FIG. 2 (b) is a diagram showing demodulated data, and FIG. Flow chart showing example operation, fourth
FIGS. 5 (a) to 5 (e) are explanatory diagrams of a conventional example. FIG. 5 (a) to FIG. 5 (e) are explanatory diagrams of a conventional example.
Is a bar code reading section, 12 is a bar width counter circuit, 13 is GB
A check circuit, 14 is a character check circuit, 15 is a CB check circuit, 16 is a demodulation circuit, 17 is a GB-CB sequence control circuit, 18 is a CB-GB sequence control circuit, 20 is a control unit, 21
Is a GB / CB flag section, 22 is a straight-through flag section, 23 and 24 are demodulated data buffers, 41 and 42 are buffers, 43 is an initial message memory, 44 is a POS I / F transmission circuit, and 45 is a POS I / F.
3 shows a receiving circuit.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】識別バーにより区分された左右のバーブロ
ックを有するバーコードを多段に設定した多段バーコー
ドを読み取るバーコード読取装置において、 バーコードを、一つのバーブロック単位で復調可能な復
調手段と、 前記復調手段で復調された読取対象となる多段バーコー
ドのうち、少なくとも一段の左右ブロックが1の走査に
より一貫して走査されたことを検知する手段と、 前記検知手段により検知された、一貫して走査されたバ
ーコードを構成する左右ブロックの組み合わせを選択す
るとともに、前記選択されなかったバーブロック同士の
組み合わせのうち、チェックコードに基づくチェック結
果が正当であるバーブロックの組み合わせを選択する手
段と、を具えたことを特徴とするバーコード読取装置。
1. A bar code reader for reading a multi-stage bar code in which bar codes having left and right bar blocks separated by identification bars are set in multiple stages, a demodulation means capable of demodulating the bar code in units of one bar block. A means for detecting that at least one of the left and right blocks of the multi-level barcode to be read demodulated by the demodulation means has been consistently scanned by one scan; and A combination of left and right blocks constituting a barcode that is consistently scanned is selected, and a combination of bar blocks whose check result based on the check code is valid is selected from among the combinations of the non-selected bar blocks. Means for reading a bar code.
【請求項2】前記バーコード読取装置において、前記チ
ェックコードに基づくチェック結果が正当であると判断
されたバーブロックの組合せが複数ある場合には、前記
複数の組合せのうち一気通貫情報が存在する組合せを採
用することを特徴とする、請求項(1)記載のバーコー
ド読取装置。
2. In the bar code reading device, when there are a plurality of combinations of bar blocks for which a check result based on the check code is determined to be valid, at least one of the plurality of combinations has at least one piece of communication information. The bar code reader according to claim 1, wherein a combination is adopted.
JP1141501A 1989-06-03 1989-06-03 Barcode reader Expired - Fee Related JP2741404B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1141501A JP2741404B2 (en) 1989-06-03 1989-06-03 Barcode reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1141501A JP2741404B2 (en) 1989-06-03 1989-06-03 Barcode reader

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP8005237A Division JP2783234B2 (en) 1996-01-16 1996-01-16 Barcode reader

Publications (2)

Publication Number Publication Date
JPH036682A JPH036682A (en) 1991-01-14
JP2741404B2 true JP2741404B2 (en) 1998-04-15

Family

ID=15293417

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1141501A Expired - Fee Related JP2741404B2 (en) 1989-06-03 1989-06-03 Barcode reader

Country Status (1)

Country Link
JP (1) JP2741404B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01199283A (en) * 1988-02-03 1989-08-10 Nec Corp Bar code reader

Also Published As

Publication number Publication date
JPH036682A (en) 1991-01-14

Similar Documents

Publication Publication Date Title
US5128527A (en) Apparatus for reading a bar code
US20090125405A1 (en) Point of sale (pos) system and method for controlling the same
JP2741404B2 (en) Barcode reader
JP2783234B2 (en) Barcode reader
JPH0421915B2 (en)
JP2836773B2 (en) Barcode data detection method and device
JPS5856065A (en) Automatic transaction selective processing system
JP2002024756A (en) Bar code reader system
JPH03232079A (en) Bar code recognizing device
JP3560477B2 (en) Barcode reading device and barcode reading method
JP5111303B2 (en) Bar code reading apparatus and bar code reading method
JPH07104903B2 (en) Multi-stage bar code reader
JP2730273B2 (en) Barcode reading device and barcode reading method
JP2732909B2 (en) Barcode reader
JP5133303B2 (en) Product sales data processing device, program
JP3285507B2 (en) Merchandise sales data registration device, merchandise sales data processing system using this registration device, and message display method of this registration device
JP2655758B2 (en) Barcode reader and barcode reading method
JP2000259717A (en) System and terminal for book management, and book
JPH0887563A (en) Code reading device
JPH036790A (en) Two-stage bar code reader
JPS5981766A (en) Optical reading device
JP2584549B2 (en) Product sales data processing device
JPS63266585A (en) Readout control system
JPH0346095A (en) Sale register
JP2748568B2 (en) Communications system

Legal Events

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

Free format text: PAYMENT UNTIL: 20080130

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090130

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees