JP2783234B2 - Barcode reader - Google Patents

Barcode reader

Info

Publication number
JP2783234B2
JP2783234B2 JP8005237A JP523796A JP2783234B2 JP 2783234 B2 JP2783234 B2 JP 2783234B2 JP 8005237 A JP8005237 A JP 8005237A JP 523796 A JP523796 A JP 523796A JP 2783234 B2 JP2783234 B2 JP 2783234B2
Authority
JP
Japan
Prior art keywords
stage
flag
barcode
bar code
data
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
JP8005237A
Other languages
Japanese (ja)
Other versions
JPH08255218A (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 JP8005237A priority Critical patent/JP2783234B2/en
Publication of JPH08255218A publication Critical patent/JPH08255218A/en
Application granted granted Critical
Publication of JP2783234B2 publication Critical patent/JP2783234B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

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, and more particularly, to a multi-level bar code reader for reading a multi-level bar code in which bar codes are set in multiple levels.

【0002】[0002]

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

【0003】バーコードには商品番号、商品名及び商品
価格等が折り込まれている。バーコードを読み取ると、
電子レジスタに順次価格が表示され最後に押ボタン指示
により合計金額が表示される。そしてこの端末機はレジ
スタ機能の他、商品別販売情報をオンラインで逐一コン
ピュータセンタに送り売上集計をはじめ在庫管理、仕入
管理等の商品管理を総合的に行う情報管理システムのデ
ータ入力機としての一翼をになっている。
[0003] The bar code includes a product number, a product name, a product price, and the like. When you read the barcode,
The prices are sequentially displayed on the electronic cash register, and finally the total amount is displayed by a push button instruction. In addition to the register function, this terminal serves 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.

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

【0005】このバーコードの付されたラベルをバーコ
ード読取装置によりレーザ光で走査して読取りが行われ
る。この際図5(2)、(3)に示すように、各半ブロ
ック毎に破線で示す範囲を実線で示す走査線により読み
取る。そして各ブロックの全バーに交差するものが有効
であり一部のみに交差するものは無効となる。図5
(b)、(c)は上記1段バーコードの読取方向による
走査態様を示したものである。図5(b)の(1)の各
ブロックA,Bと走査線が一挙に貫通(一気通貫)する
場合と、(2)、(3)のように別々に走査する場合が
あり、図5(c)は反対方向でダッシュを付して示す。
何れの場合も各ブロック単位で復調を行っている。
[0005] The label with the bar code is read by scanning with a laser beam by a bar code reader. At this time, as shown in FIGS. 5 (2) and 5 (3), a range shown by a broken line is read by a scanning line shown by a 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. FIG.
(B) and (c) show the scanning manner in the reading direction of the one-stage barcode. FIG. 5B shows a case in which the blocks A and B and the scanning line in (1) of FIG. 5B penetrate all at once (at a stretch), and a case in which scanning is performed separately as in FIGS. 5B and 5C. 5 (c) is shown with a dash in the opposite direction.
In each case, demodulation is performed in units of each block.

【0006】[0006]

【発明が解決しようとする課題】しかし、上記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, and it is desired that a user or the like recently uses two or more stages of barcode blocks to perform product management. Request has been issued. FIG.
(D) shows an example of a two-stage barcode, which has two flags at the beginning of the preceding block for identifying a multi-stage barcode, 10 characters of data, and 1 character of a final check (modulus 10 check) code. And a multi-stage barcode composed of a total of 13 characters, and thereby, a product, a price, and the like as shown in the figure are represented by double information.

【0007】図5(e)は2段バーコードの読取態様を
示すものである。1段目の各ブロックをA,B、2段目
の各ブロックをC,Dとし、多段を示すフラグを図示の
ように頭初に○○および△△を付するものとする。従来
の技術によれば、A,B,C,Dがブロック単位で検出
され、A,Cは格段頭初であることは判るが、AB
(1)かAD(2)か、CD(3)かCB(4)かの組
み合わせの判別が不可能となる場合もある。
FIG. 5E shows a two-stage bar code reading mode. 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 marked with ○ and Δ at the beginning as shown in the figure. According to the conventional technology, A, B, C, and D are detected in units of blocks, and it can be seen that A and C are markedly first.
In some cases, it may not be possible to determine the combination of (1) or AD (2), or CD (3) or CB (4).

【0008】さらに多段であることを認識させるフラグ
はユーザにより固有の2桁番号が付されるが、これを変
更可能にすることが要求されている。本発明は任意ユー
ザの使用に供するため、多段を識別するフラグを変更可
能とすることを考えたものである。本発明の目的は、任
意のユーザのバーコードを読み取るようにした多段バー
コード読取装置を提供することにある。
Further, a flag for recognizing the multi-stage is given a unique two-digit number by the user, and it is required that the flag can be changed. The present invention is intended to make it possible to change a flag for identifying a multi-stage in order to be used by any user. SUMMARY OF THE INVENTION An object of the present invention is to provide a multi-stage barcode reading device for reading a barcode of an arbitrary user.

【0009】[0009]

【課題を解決するための手段】前記目的を達するため、
図1(a)の原理説明図の要部構成図に示すように、識
別バーにより区分された複数のバーブロックを有するバ
ーコードの少なくともブロック毎に読取できるバーコー
ドを多段に設定したバーコードを読み取る多段バーコー
ド読取装置であって、前記格段のバーコードブロックの
一部に多段バーコードであることを認識するフラグを設
けるとともに、前記各段のフラグと照合されるフラグを
所望により変更可能に登録する手段41、42と、該読
取装置の起動時にホストの指示を確認する手段43、4
4とを備えた構成とする。
In order to achieve the above object,
As shown in the main part configuration diagram of the principle explanatory diagram of FIG. 1 (a), a barcode having a plurality of barcodes that can be read at least for each block of a barcode having a plurality of bar blocks divided by identification bars is used. A multi-level bar code reading device for reading, wherein a flag for recognizing a multi-level bar code is provided in a part of the remarkable bar code block, and a flag to be collated with the flag of each level can be changed as desired. Registering means 41 and 42, and means 43 and 4 for confirming an instruction from the host when the reading apparatus is started up.
4 is provided.

【0010】上記要部構成により、各段のバーブロック
の一部に設けたフラグF1、F2を、図1(a)に示し
たF1フラグ変換部41、F2フラグ変換部42に保持
し、この例示するようなフラグF1、F2を起動、例え
ばバーコード読取装置用電源投入毎にホストの指示を確
認する手段43、44の確認結果に基づいて、フラグの
変更があれば新たなフラグF1、F2を書き込む。これ
により同一POSシステムがフラグF1、F2が異なる
複数ユーザに対して適用され、多段バーコードを読み取
ることができる。
[0010] With the above-described main part configuration, the flags F1 and F2 provided in a part of the bar block of each stage are held in the F1 flag converter 41 and the F2 flag converter 42 shown in FIG. Activate the flags F1 and F2 as exemplified, for example, based on the confirmation result of the means 43 and 44 for confirming the instruction of the host every time the power supply for the bar code reader is turned on, if there is a change in the flags, new flags F1 and F2 Write. As a result, the same POS system is applied to a plurality of users having different flags F1 and F2, and can read a multi-stage barcode.

【0011】[0011]

【実施の形態】図2は本発明の実施例の構成説明図であ
る。ただし、バーコードはUPC、あるいはJANコー
ドとする。図2において、各段バーコードのラベルをレ
ーザ光等で走査し、反射光をバーコード読取部10内の
A/D変換器11に挿入して得られたアナログ信号をデ
ジタル信号に変換し、バー幅カウンタ回路12に入れ、
GB(ガードバー)、キャラクタ(各数字)、CB(セ
ンターバー)等のバー幅、間隔をカウントし、それぞれ
GBチェック回路13、キャラクタチェック回路14、
CBチェック回路15および復調回路16に送る。復調
回路16ではキャラクタを復調し、バーコードのブロッ
ク(GB−CB)、(CB−GB)毎にそれぞれ復調デ
ータバッファ回路23、24に一旦格納する。
FIG. 2 is an explanatory view of the configuration of an embodiment of the present invention. However, the barcode is a UPC or JAN code. In FIG. 2, the label of each bar code is scanned with a laser beam or the like, and the analog signal obtained by inserting the reflected light into the A / D converter 11 in the bar code reading unit 10 is converted into a digital signal. Put into the bar width counter circuit 12,
The bar widths and intervals of GB (guard bar), character (each number), CB (center bar), etc. are counted, and GB check circuit 13, character check circuit 14,
The signal is sent to the CB check circuit 15 and the demodulation circuit 16. The demodulation circuit 16 demodulates the character and temporarily stores it in the demodulation data buffer circuits 23 and 24 for each bar code block (GB-CB) and (CB-GB).

【0012】次にGBチェック回路14、キャラクタチ
ェック回路15、CBチェック回路16からのチェック
データ出力を、従来用いられているGB−CBシーケン
ス制御回路17およびCB−GBシーケンス制御回路1
8に入れる。GBCBF(フラグ)21はフリップフロ
ップで構成されるフラグであって、前の回路17がGB
/CBを検出したら該回路17の出力を受け「1」(O
N)となる。そして、後の回路18がCB/GBを検出
したらGBCBF(フラグ)21の値(フラグ値)が
「1」のとき1つの段の全キャラクタが完全に検出され
たことになり、1つの段の両ブロックが一気に読取走査
されたことを示すため、一気通貫フラグ22はANDゲ
ート221 とフリップフロップ222 で構成され、GB
CBF21(FF)のオン出力とCB−GBシーケンス
制御回路18の出力により「1」(ON)がセットさ
れ、制御部20に送る。
Next, check data output from the GB check circuit 14, the character check circuit 15, and the CB check circuit 16 are transmitted to the GB-CB sequence control circuit 17 and the CB-GB sequence control circuit 1, which are conventionally used.
Put in 8. The GBCBF (flag) 21 is a flag composed of a flip-flop, and the preceding circuit 17
/ CB is detected, the output of the circuit 17 is received and "1" (O
N). Then, when the circuit 18 detects CB / GB, when the value (flag value) of the GBCBF (flag) 21 is "1", all the characters in one stage are completely detected, and one character in one stage is detected. In order to indicate that both blocks have been read and scanned at a stretch, the blow-through flag 22 is composed of an AND gate 22 1 and a flip-flop 22 2.
“1” (ON) is set by the ON output of the CBF 21 (FF) and the output of the CB-GB sequence control circuit 18, and is sent to the control unit 20.

【0013】各段のバーコードのGB(CB)を検知す
ると、GB−CB(CB−GB)シーケンス制御回路1
7(18)が動作し、キャラクタチェック回路14によ
り各ブロックのキャラクタがチェックOKになる毎に、
復調データバッファ回路23、24へ復調回路16から
の復調データを書き込むパルスを発生させる。なお、図
1(b)2のように走査されたときブロックB、Dのデ
ータはデータバッファ23、24に格納されない。な
お、データバッファ回路23にはGB−CB方向に光ビ
ーム走査されたときのデータが格納され、データバッフ
ァ回路24にはCB−GB方向に光ビーム走査されたと
きのデータが格納される。
When the GB (CB) of the bar code at each stage is detected, a GB-CB (CB-GB) sequence control circuit 1
7 (18) operates, and each time the character of each block is checked OK by the character check circuit 14,
Pulses for writing demodulated data from the demodulation circuit 16 to the demodulation data buffer circuits 23 and 24 are generated. When scanning is performed as shown in FIG. 1B, 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 data when the light beam is scanned in the CB-GB direction.

【0014】復調データについて各ブロックの最終キャ
ラクタが完了した時次のバーコードブロックがCB(G
B)かをチェックし、OKであれば制御部20へ復調完
了信号25(26)をオンして通知する。括弧内は引き
続き同様に処理されることを示す。制御部20は復調完
了信号25、26がONとなると、復調データを読みだ
す。
When the last character of each block is completed for the demodulated data, the next bar code block is CB (G
B), 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 is continued. When the demodulation completion signals 25 and 26 are turned on, the control section 20 reads out the demodulated data.

【0015】図3は図2の各段のバーコードに対する動
作を示す流れ図であり、図3(a)はGB−CBシーケ
ンス、図3(b)はCB−GBシーケンスを示す。図3
(a)においては、GB−CBシーケンス制御回路17
がバーコード読取部10からの入力されたバー検出信号
がGBであるか否かを調べ[1]、これが検出されると
次にキャラクタをチェックの結果OKか否かを調べ、否
ならばGBCBフラグ11のフラグをOFFとして最初
に戻し、OKならば復調データを書き込み[3]、ブロ
ックのキャラクタの最終キャラクタが完了したか否か
[6]により、OKならばGBCBフラグ21のフラグ
をON[7]とし、否であれば元に戻す。GBCBフラ
グON[7]としたとき、制御部20に復調完了通知を
行う。以上の経過での各判断(OKか否か等)、各処理
(最初[元]に戻す等)はGB−CBシーケンス制御回
路17が行う。
FIG. 3 is a flowchart showing the operation of the bar code in each row in FIG. 2. FIG. 3A shows a GB-CB sequence, and FIG. 3B shows a CB-GB sequence. FIG.
In (a), the GB-CB sequence control circuit 17
Checks whether or not the bar detection signal input from the bar code reading unit 10 is GB [1]. When this is detected, the character is checked as to whether the result is OK. The flag 11 is set to OFF and returned to the beginning. If OK, the demodulated data is written [3]. If the last character of the block character is completed [6], if OK, the GBCB flag 21 is set to ON [OK]. 7], and if not, return to the original. When the GBCB flag is set to ON [7], 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.

【0016】図3(b)においては、CB−GBシーケ
ンス制御回路18がバーコード読取部10から入力され
たバー検出信号がCBであるか否かを調べ[11]、こ
れが検出されると、次にキャラクタOKか否かを調べ
[12]、これを繰り返してOKならば復調データバッ
ファ24に書き込みパルスを与えて復調データを書き込
み[13]、ブロックの最終キャラクタが完了したか否
か[15]を調べ、完了したならばGBがOKか否か
[16]を判断し、OKならばGBCBフラグ21のフ
ラグがONかOFFかを調べ、ONであれば一気通貫フ
ラグ22をONとし[18]、OFFであれば一気通貫
フラグをOFFとし[19]、制御部20に復調完了通
知を行う。
In FIG. 3B, the CB-GB sequence control circuit 18 checks whether or not the bar detection signal input from the bar code reading section 10 is CB [11]. Next, it is checked whether or not the character is OK [12]. If this is repeated, a write pulse is given to the demodulation data buffer 24 to write the demodulation data [13], and whether or not the last character of the block is completed [15]. ], And if completed, it is determined whether GB is OK or not [16]. If OK, it is checked whether the flag of the GBCB flag 21 is ON or OFF, and if ON, the blow-through flag 22 is turned ON [ 18], if it is OFF, the blow-through flag is turned OFF [19], and the control unit 20 is notified of the demodulation completion.

【0017】以上の過程における各判断、処理はCB−
GBシーケンス制御回路18が行う。制御部20はプロ
セッサとこされを作動させるプログラムを有する。復調
データバッファ回路23、24から送られたデータは制
御部20によりメモリ30、31に格納される。メモリ
30にはバーコードの各段の左ブロックのデータが格納
され、メモリ31にはバーコード各段の右ブロックのデ
ータが格納される。
Each judgment and processing in the above process is CB-
This is performed by the GB sequence control circuit 18. The control unit 20 has a processor and a program for operating the processor. The data sent from the demodulation 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 barcode, and the memory 31 stores the data of the right block of each barcode.

【0018】たとえば、復調データバッファ回路23、
24に存在するデータが図2(b)に示すものであると
する。1段目のデータと2段目のデータが混在している
のは、走査線が図1(b)に示すごとく1、2、3の3
本が存在するからである。図中の斜線部は非バーコード
データであって、たとえば図1(b)の走査線2の破線
部で得られたデータである。最初に左ブロックのデータ
Aが送られると、制御部20により従来技術で左ブロッ
クのデータと判断され、メモリ30のL1番地に格納さ
れる。次の非バーコードデータは制御部20には送られ
ない。
For example, demodulated data buffer circuit 23,
It is assumed that the data existing in 24 is as shown in FIG. The data in the first row and the data in the second row are mixed because the scanning lines are 1, 2 and 3 as shown in FIG.
Because there is a book. The hatched portions in the figure are non-barcode data, for example, data obtained by the broken line portion of the scanning line 2 in FIG. 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 by the conventional technology, and stores the data in the address L1 of the memory 30. The next non-barcode data is not sent to the control unit 20.

【0019】次に左ブロックのデータCが送られると、
制御部20により左ブロックのデータと判断されるとと
もに、従来技術で先のデータAと比較され異なる(A≠
C)ため、メモリ30のL2番地に格納される。次に右
ブロックのデータBが送られると、制御部20により従
来技術で右ブロックのデータと判断され、メモリ31の
R1番地に格納される。このようにして、1段目および
2段目のバーコードの復調データはブロック毎にメモリ
30、31に分納される。ここで、光ビームによる走査
は高速であるため、一度の読取操作により1つの段のバ
ーコードは複数回の光走査がなされるため、前述のよう
に多数のブロックデータA、B、Cが復調データバッフ
ァ回路23、24から制御部20へ送られる。
Next, when the data C of the left block is sent,
The control unit 20 determines that the data is the left block data, and the data is compared with the previous data A in the related art and is different (A ≠
C) Therefore, it is stored at address L2 of the memory 30. Next, when the right block data B is sent, the control unit 20 determines that the right block data is the right block data by the conventional technology, and stores the data in the memory 31 at address R1. In this manner, 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, the barcode of one stage is scanned a plurality of times by one reading operation, 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.

【0020】とところで、一気通貫データA、Bが復調
データバッファ23、24に格納され、一気通貫フラグ
22がONとなった場合、制御部20は復調データバッ
ファ23からデータAを読み出し、先に付芹30に格納
されているデータA、Cと比較するが、この場合番地L
1に格納されているデータAと一致するためこの番地L
1をメモリ32に格納し、次に復調データバッファ24
からデータBを読み出しメモリ31に先に格納されてい
る番地R1のデータBと比較するが、この場合一致する
のでこの番地R1を先の番地L1と対にしてメモリ32
に格納する。
By the way, when the continuous penetration data A and B are stored in the demodulation data buffers 23 and 24 and the continuous penetration flag 22 is turned on, the control unit 20 reads the data A from the demodulation data buffer 23, The data is compared with the data A and C stored in the attachment 30 first.
1 matches the data A stored in the address L.
1 in the memory 32, and then the demodulated data buffer 24
Is read from the memory 31 and compared with the data B of the address R1 previously stored in the memory 31. In this case, the address R1 matches the data B of the address R1, and the address R1 is paired with the address L1.
To be stored.

【0021】なお、復調データバッファ23、24に格
納されているこれらデータA、Bは制御部20により読
み出されても復調データバッファ23、24に残存して
おり、またこれらの一気通貫データA、Bはメモリ3
0、31には格納されない。また、1段目のデータBと
2段目のデータDとが同一なら後程、データDが復調デ
ータバッファ23、24から読み出されると、既にメモ
リ31に格納されているR1番地のデータBと比較され
一致するので、このデータDはメモリ31には格納され
ない。この場合、データDが走査されないで、2段目の
バーコードのデータCのみが走査され復調データバッフ
ァ23または24に格納された場合と区分がつかないの
でデータの読取をより正確にするために2段目のバーコ
ードに対する一気通貫情報が必要となる。このようにし
て2段のバーコードに対して読取操作が終了し復調デー
タのメモリ30、31への格納が完了すると、制御部2
0は従来技術であるモジュラス10チェックを行う。
The data A and B stored in the demodulated data buffers 23 and 24 remain in the demodulated data buffers 23 and 24 even after being read by the control unit 20, and are stored in the demodulated data buffers 23 and 24. A and B are memory 3
0 and 31 are not stored. 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 demodulation data buffers 23 and 24, the data D is compared with the data B of the address R1 already stored in the memory 31. Therefore, this data D is not stored in the memory 31. In this case, since the data D is not scanned and only the data C of the bar code of the second stage is scanned and stored in the demodulation data buffer 23 or 24, the data is not distinguished from the case where the data C is read. All-in-one information for the barcode in the second row is required. In this way, 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 2
A value of 0 performs a conventional modulus 10 check.

【0022】このモジュラス10チェックはメモリ3
0、31に格納されているデータ(A,C)と(B,
D)しての全ての組み合わせAB,AD,CB,CDに
ついてなされ、その結果非所望の組み合わせADに対し
てもモジュラス10チェックがOKとなることがある
が、制御部20はメモリ32に格納されている一気通貫
情報を用いて組み合わせABを採用し、組み合わせAD
は採用しない。
This modulus 10 check is performed in the memory 3
Data (A, C) stored in 0, 31 and (B,
D) is performed for all combinations AB, AD, CB, and CD. As a result, the modulus 10 check may be OK even for an undesired combination AD. However, the control unit 20 is stored in the memory 32. The combination AB is adopted by using the
Is not adopted.

【0023】組み合わせCBに対するモジュラス10チ
ェックがNOならば組み合わせCDに対するモジュラス
10チェックがOKのとき、組み合わせCDは採用され
る。しかし、組み合わせCBに対するモジュラス10チ
ェックがOKならば、所望の組み合わせCDを得るため
にはCDに対する一気通貫情報が必要となり、この一気
通貫の情報により組み合わせCDを採用し他の組み合わ
せCBは採用しないようにする。
If the modulus 10 check for the combination CB is NO, and the modulus 10 check for the combination CD is OK, the combination CD is adopted. However, if the modulus 10 check for the combination CB is OK, a quick pass information for the CD is required to obtain a desired combination CD, and the combination CD is used based on this quick pass information, and another combination CB is used. Don't do it.

【0024】以上の構成により、多段たとえば2段バー
コードの各ブロックA,B,C,Dに図1(b)に示す
ように、光ビーム走査が一気通貫したという情報を加味
し、AB、CDとして読取が実行される。これらのデー
タはPOSへ送られ、管理、解読される。図4は本発明
の実施例の構成説明図である。図2(a)と同等部分に
は同一符号を付した。
With the above arrangement, 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 taken into consideration. , CD is read. These data are sent to the POS, managed and decrypted. FIG. 4 is an explanatory diagram of the configuration of the embodiment of the present invention. 2 (a) are given the same reference numerals.

【0025】本発明では多段バーコードを読み取るため
に、1段目か2段目かを示すフラグをホストから指示す
るようにした。すなわち、このフラグと一致するデータ
がバーコードラベルから読み取られた時には多段バーコ
ードと認識し(制御部20で一致の判断がなされる)、
その他の残りのバーコードを読取に行くようにする。
In the present invention, in order to read a multi-stage bar code, the host indicates a flag indicating whether the bar 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 (the control unit 20 determines the match), and
Try to read the remaining barcodes.

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

【0027】このように構成すると、電源投入後ホスト
としてのPOSから一度変更指示があった後、POSと
無関係に本装置(即ち図4に示す装置)のみ電源OFF
し、次いでこの電源をONした場合には、デフォルト値
に戻ってしまう。一方POSでは変更指示を出したと認
識しているから認識エラーが生じる。これを防止するた
め本装置では起動時必ずPOSの指示を確認する手段を
設けるようにする。図4の構成はこの手段の1例を示す
ものである。すなわち、制御部20に対し、各段毎のバ
ーコードの頭初に多段フラグとしてたとえば1段目F1
=20、2段目F2=29等(この値「20」、「2
9」はバー幅の組み合わせで示されるキャラクタであ
る)を変更可能に格納するバッファ41、42を設ける
(バッファ41は上段のバーコードのフラグ用、バッフ
ァ42は下段のバーコードのフラグ用である)ととも
に、POSインタフェース(IF)送信回路44、PO
Sインタフェース(IF)受信回路45を介してPOS
とつなぐ。さらに起動時毎にPOSに送信するイニシア
ルメッセージ用メモリ43を用意する。このイニシアル
メッセージは予めメモリ43に格納されている。
With this configuration, after the power is turned on, a change instruction is once issued from the POS serving as the host, and then only this apparatus (ie, the apparatus shown in FIG. 4) is turned off irrespective of the POS.
Then, when this power is turned on, the power 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 present apparatus is provided with a means for always confirming the POS instruction at startup. FIG. 4 shows an example of this means. That is, the control unit 20 sends a multi-stage flag to the beginning of the bar code for each stage, for example, the first stage F1.
= 20, second stage F2 = 29 etc. (this value “20”, “2
"9" is a character indicated by a combination of bar widths. Buffers 41 and 42 are provided to store the data in a changeable manner (buffer 41 is for an upper bar code flag, and buffer 42 is for a lower bar code flag). ), The POS interface (IF) transmission circuit 44, PO
POS via S interface (IF) receiving circuit 45
Connect with Further, an initial message memory 43 to be transmitted to the POS every time the apparatus is activated is prepared. This initial message is stored in the memory 43 in advance.

【0028】これにより、本装置がPOSと無関係に電
源OFFした後、次に電源をONする場合には、制御部
20よりPOS IF送信回路44を介しイニシアルメ
ッセージにより多段フラグの変更指示要求をPOSに送
出し、これに応答してPOSより変更指示/要求受付完
了信号がPOSI/F受信回路45を介して得られる。
この応答に基づき制御部20は1段目用フラグバッファ
41、2段目用フラグバッファ42の各段のフラグを変
更する。
Thus, when the power of the apparatus is turned off irrespective of the POS and then the power is turned on, the control unit 20 sends a POS IF transmission circuit 44 to the POS IF transmission circuit 44 to issue a multi-stage flag change instruction request via an initial message. In response, a change instruction / request acceptance completion signal is obtained from the POS 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.

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

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

【0031】以上は2段バーコードにつき説明したが、
より多段の場合も、一気通貫情報を多段数より1つすく
ないか、同数用意することにより同様に処理することが
できる。
Although the above description has been given of a two-stage bar code,
Even in the case of more stages, the same processing can be performed by preparing less than one or more than one number of stretch-through information at the same time.

【0032】[0032]

【発明の効果】以上説明したように、本発明によれば、
多段バーコードの各段に多段フラグを付与し、バーコー
ド読取装置に設定される多段フラグを任意に変更できる
ようにすることにより複数ユーザに有効に対応すること
ができる。
As described above, according to the present invention,
By assigning a multi-stage flag to each stage of the multi-stage bar code so that the multi-stage flag set in the bar code reader can be arbitrarily changed, it is possible to effectively cope with a plurality of users.

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

【図1】 (a) 〜(c) は本発明の原理説明図FIGS. 1A to 1C are diagrams illustrating the principle of the present invention.

【図2】 (a) は実施例の構成説明図、(b)9は復調デー
タを示す図
FIG. 2A is a diagram illustrating the configuration of an embodiment, and FIG. 2B is a diagram illustrating demodulated data.

【図3】 実施例の動作を示す流れ図FIG. 3 is a flowchart showing the operation of the embodiment.

【図4】 実施例構成図FIG. 4 is a configuration diagram of an embodiment.

【図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は復調データバッファ、4
1、42はバッファ、43はイニシアルメッセージ用メ
モリ、44はPOSI/F送信回路、45はPOSI/
F受信回路を示す。
5 (a) to 5 (e) are explanatory diagrams of a conventional example. In FIG. 5, reference numeral 10 denotes a bar code reader, 11 denotes a bar code reading unit, 12 denotes a bar width counter, 13 denotes a GB check circuit, and 14 denotes 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,
Reference numeral 20 denotes a control unit, 21 denotes a GB / CB flag unit, 22 denotes a straight-through flag unit, 23 and 24 denote demodulation data buffers,
Reference numerals 1 and 42 denote buffers, 43 denotes an initial message memory, 44 denotes a POSI / F transmission circuit, and 45 denotes a POSI /
5 shows an F receiving circuit.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 識別バーにより区分された複数のバーブ
ロックを有するバーコードを多段に設定した多段バーコ
ードを読み取るバーコード読取装置において、 バーコードの読取時に、多段バーコードを構成する各段
のバーブロックの一部に設けられた、該バーコードが多
段バーコードを構成するバーコードであることを示すフ
ラグと照合されるフラグ情報を、変更可能に登録する手
段と、 該読取装置の起動時にホストから与えられる指示を確認
する手段とを備え、 前記指示確認手段により確認された前記ホストからの指
示が多段バーコードの各段のフラグ情報である場合、前
記フラグ登録手段に各段のフラグがフラグ情報として登
録されることを特徴とするバーコード読取装置。
1. A bar code reader for reading a multi-stage bar code in which a plurality of bar codes each having a plurality of bar blocks separated by an identification bar is set in a multi-stage manner. Means for registering flag information, which is provided in a part of the bar block and is collated with a flag indicating that the barcode is a barcode constituting a multi-stage barcode, in a modifiable manner; Means for confirming an instruction given from the host, when the instruction from the host confirmed by the instruction confirming means is flag information of each stage of a multi-stage barcode, the flag of each stage is stored in the flag registering unit. A bar code reader registered as flag information.
【請求項2】 識別バーにより区分された複数のバーブ
ロックを有するバーコードを多段に設定した多段バーコ
ードを読み取るバーコード読取装置において、 バーコードの読取時に、多段バーコードを構成する各段
のバーブロックの一部に設けられた、該バーコードが多
段バーコードを構成するバーコードであることを示すフ
ラグと照合されるフラグ情報を、変更可能に登録する手
段と、 該読取装置の起動時にホストから与えられる指示を確認
する手段と、 前記バーコード読取装置の起動時に、前記ホストに対し
て前記フラグの指定を要求するイニシアルメッセージを
送出する手段とを備え、 前記ホストから、前記イニシアルメッセージに対するフ
ラグの指定を受け、 前記指示確認手段により確認された前記ホストから指定
されたフラグを前記多段バーコード各段のフラグ情報と
して前記フラグ登録手段に登録されることを特徴とする
バーコード読取装置。
2. A bar code reader for reading a multi-stage bar code in which bar codes having a plurality of bar blocks divided by identification bars are set in multiple stages, wherein at the time of reading the bar code, each of the stages constituting the multi-stage bar code is read. Means for registering flag information, which is provided in a part of the bar block and is collated with a flag indicating that the barcode is a barcode constituting a multi-stage barcode, in a modifiable manner; Means for confirming an instruction given from a host; and means for sending an initial message requesting the host to specify the flag when the barcode reading device is activated. Receiving the designation of the flag, the flag designated by the host confirmed by the instruction confirmation means; Serial bar code reading apparatus characterized by being registered in the multi-stage barcode said flag register means as the flag information for each stage.
JP8005237A 1996-01-16 1996-01-16 Barcode reader Expired - Lifetime JP2783234B2 (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Related Parent Applications (1)

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

Publications (2)

Publication Number Publication Date
JPH08255218A JPH08255218A (en) 1996-10-01
JP2783234B2 true JP2783234B2 (en) 1998-08-06

Family

ID=11605598

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JP2783234B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63197290A (en) * 1987-02-12 1988-08-16 Nec Corp Bar code reader
JPS6470861A (en) * 1987-09-11 1989-03-16 Nec Corp Inter-device coupling system

Also Published As

Publication number Publication date
JPH08255218A (en) 1996-10-01

Similar Documents

Publication Publication Date Title
JPH10188140A (en) Product sales registration data processor
US20090125405A1 (en) Point of sale (pos) system and method for controlling the same
JPH0343896A (en) Card treater
US6073842A (en) Operating terminal in which operable level depending on operator can be set
JP2783234B2 (en) Barcode reader
JP2741404B2 (en) Barcode reader
JP2836773B2 (en) Barcode data detection method and device
JPH03232079A (en) Bar code recognizing device
JPS5856065A (en) Automatic transaction selective processing system
JPH0421915B2 (en)
JP3198232B2 (en) Barcode reading method and reader
JP2002024756A (en) Bar code reader system
JP3285507B2 (en) Merchandise sales data registration device, merchandise sales data processing system using this registration device, and message display method of this registration device
JP2000259717A (en) System and terminal for book management, and book
JPH0346095A (en) Sale register
JPH0935146A (en) Processor for commodity sales registering data
JP2789105B2 (en) Approval processing method for CAD output drawings
JP3562939B2 (en) Prize management system
JPH0887563A (en) Code reading device
JP2584549B2 (en) Product sales data processing device
JPH01245387A (en) Controller for card type automatic vending machine
JPH0449477A (en) Bar code reader
JPH036789A (en) Multi-stage bar code reader
JPH07129708A (en) Bar coder read controller
JPH03127197A (en) Pos system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980421

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

Free format text: PAYMENT UNTIL: 20080522

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090522

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090522

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100522

Year of fee payment: 12

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100522

Year of fee payment: 12