JPH036682A - Multistage bar code reader - Google Patents

Multistage bar code reader

Info

Publication number
JPH036682A
JPH036682A JP1141501A JP14150189A JPH036682A JP H036682 A JPH036682 A JP H036682A JP 1141501 A JP1141501 A JP 1141501A JP 14150189 A JP14150189 A JP 14150189A JP H036682 A JPH036682 A JP H036682A
Authority
JP
Japan
Prior art keywords
barcode
stage
flag
data
reading device
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
JP1141501A
Other languages
Japanese (ja)
Other versions
JP2741404B2 (en
Inventor
Ichiro Shinoda
篠田 一郎
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

Abstract

PURPOSE:To accurately discriminate the combination of blocks constituting a multistage bar code by taking one-stroke scan information into consideration with respect to the multistage bar code. CONSTITUTION:The label of the bar code in each stage is scanned with laser light or the like, and the reflected light is inputted to an A/D converter in a bar code reading part 10 to convert the obtained analog signal into a digital signal. When it is detected by a one-stroke scan detecting means 22 that AB or/and CD of the bar code are scanned at one stroke, the combination of AB or CD is first detected, and the arrangement of bar blocks A to D of the bar code is discriminated in accordance with the combination of CD or AB. Thus, the combination of blocks A to D constituting the multistage bar code is accurately discriminated.

Description

【発明の詳細な説明】 〔概   要〕 本発明は、バーコードを多段に設定した多段バーコード
を読取る多段バーコード読取装置に関し、多段バーコー
ドを構成するブロックの組合せを正確に判別できる多段
バーコード読取装置、および任意のユーザのバーコード
を読取るようにした多段バーコード読取装置を提供する
ことを目的とし、 第1の発明は、識別バーにより区分された複数のバーブ
ロックを有するバーコードの少くともブロック毎に読取
りできるバーコードを多段に設定した多段バーコード読
取装置であって、読取対象となる前記多段バーコードの
内の1段のバーコードの全てのブロックが一貫して走査
されたという一気通貫の情報を検知する手段(22)を
具えた構成とし、 第2の発明は、識別バーによジ区分された複数のバーブ
ロックを有するバーコードの少くともブロック毎に読取
フできるバーコードを多段に設定した多段バーコードを
読取る多段バーコード読取装置であって、 前記各段のバーコードブロックの一部に多段バーコード
であることを示すフラグを設けるとともに、前記各段の
フラグと照合されるフラグを所望により変更可能に登録
する手段(41,42)と、該読取装置の起動時にホス
トの指示を確認する手段(43、44)とを具えた構成
とする。
[Detailed Description of the Invention] [Summary] The present invention relates to a multi-stage barcode reading device that reads a multi-stage barcode in which a barcode is set in multiple stages. An object of the present invention is to provide a code reading device and a multi-stage barcode reading device capable of reading barcodes of arbitrary users. A multi-stage barcode reading device in which barcodes that can be read at least in each block are set in multiple stages, and all blocks of one stage of the barcode among the multi-stage barcodes to be read are consistently scanned. The second invention is configured to include a means (22) for detecting all the information at once, and the second invention is capable of reading at least each block of a barcode having a plurality of bar blocks divided by an identification bar. A multi-stage barcode reading device for reading a multi-stage barcode in which a barcode is set in multiple stages, wherein a flag indicating that the barcode block in each stage is a multi-stage barcode is provided in a part of the barcode block in each stage, and a flag in each stage is provided. The configuration includes means (41, 42) for registering a flag that can be changed as desired, and means (43, 44) for confirming instructions from the host when starting the reading device.

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

〔従来の技術〕 近来コンピュータネットワークシステムの普及に伴いデ
パート、スーパーマーケット等において、販売時点情報
管31 (Pa1nt−Of−8ales :以下PO
8という)システムが広く採用されるようになってきた
。POSシステムの端末機として電子レジスタ及び定置
式読取装置が使用されている。これ等の端末機は支払カ
ウンタに設置されており店員等のオペレータによって操
作され商品のラベルに印刷されたバーコードが読み取ら
れる。
[Prior Art] In recent years, with the spread of computer network systems, point-of-sale information tubes 31 (hereinafter referred to as PO
8) system has become widely adopted. Electronic cash registers and stationary readers are used as terminals in POS systems. These terminals are installed at payment counters and operated by operators such as store clerks to read barcodes printed on product labels.

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

そしてこの端末機はレジスタ機能の他、商品別販売情報
をオンラインで逐一コンピュータセンタに送り売上集計
をはじめ在庫管理、仕入管理等の商品管理を総合的に行
なう情報管理システムのデータ入力機としての一翼をに
なっている。
In addition to the register function, this terminal also functions as a data input device for an information management system that sends sales information by product online one by one to a computer center and performs comprehensive product management such as sales aggregation, inventory management, and purchasing management. It has become a wing.

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

このバーコードの付されたラベルをバーコード読取装置
によりレーザ光で読取シが行なわれる。
The barcode-attached label is read by a barcode reading device using a laser beam.

この際■、■に示すように、各半ブロツク毎に破線で示
す範囲を実線で示す走萱線によフ読取る。
At this time, as shown in (1) and (2), the range shown by the broken line is read out by the running line shown by the solid line for each half block.

そして各ブロックの全バーに交差するものが有効であり
一部のみに交差するものは無効となる。
Those that intersect all the bars of each block are valid, and those that intersect only some of them are invalid.

同図(6) 、 (c)は上記1段バーコードの読取方
向による走査態様を示したものである。同図(b)の■
は各ブロックA、Eと走査線が一挙に貫通(一気通買)
する場合と、■、■のように別々に走査する場合があり
、同図(1)は反対方向でダッシュを付して示す。何れ
の場合も各ブロック単位で復調を行二カっている。
Figures (6) and (c) show the scanning mode of the one-stage barcode according to the reading direction. ■ in figure (b)
In this case, each block A, E and the scanning line pass through at once (buy at once)
In some cases, the scanning is performed separately, as in (1) and (2), and (1) in the figure is shown with a dash in the opposite direction. In either case, demodulation is performed in two rows for each block.

J+、−1 、・Ill 】ノ 〔発明が解決しようとする課題〕 しかし、上記1段のバーコードで各種情報を表現するに
は限シがあり、最近ユーザ等より2段以上のバーコード
ブロックを使用して商品管理を実施したいという要求が
出されている。第5図(d)は2段バーコード例を示す
もので、前ブロックの頭初に多段バーコードであること
を識別するフラグ2文字を有するとともにデータ10文
字と、最終チエツク(モジュラス10チエツク)コード
1文字とを有する計13文字より成る多段バーコードで
、これによQ図示のような商品2価格2等の倍の情報を
表わすことになる。
J+, -1, ·Ill ]ノ [Problem to be solved by the invention] However, there is a limit to the ability to express various types of information with the above-mentioned one-stage barcode, and recently users have developed barcode blocks with two or more stages. There have been requests to implement product management using . Figure 5(d) shows an example of a two-stage barcode, which has two flag characters at the beginning of the previous block to identify that it is a multi-stage barcode, 10 characters of data, and a final check (modulus 10 check). This is a multi-stage barcode consisting of a total of 13 characters including one code character, and this represents twice the information of two products, two prices, etc. as shown in the Q diagram.

同図(6)は2段バーコードの読取態様を示すものであ
る。1段目の各ブロックをA、E、2段目の各ブロック
をC,Dとし、多段を示すフラグを図示のように頭初に
○○およびΔΔを付するものとする。元来の技術によれ
ば、A、E、C,Dがブロック単位で検出され、A、C
は各段頭初であることは判るが、AB■かAD■、CD
■かCB■かの判別が不可能となる場合もある。
FIG. 6(6) shows a reading mode of a two-stage barcode. The blocks in the first stage are designated as A and E, and the blocks in the second stage are designated as C and D, and the flag indicating multistage is prefixed with ○○ and ΔΔ as shown in the figure. According to the original technology, A, E, C, and D are detected in block units;
It is clear that is the beginning of each stage, but AB■ or AD■, CD
In some cases, it may be impossible to distinguish between ■ and CB■.

さらに多段であることを認識させるフラグはユーザによ
り固有の2桁番号が付されるが、これを変更可能にする
ことが要求されている。
Furthermore, the flag used to recognize that there are multiple stages is assigned a unique two-digit number by the user, but it is required that this be changeable.

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

ま次第2の発明として任意ユーザの使用に供するため、
多段を識別するフラグを変更可能とすることを考えたも
のである。
In order to make it available for use by any user as a second invention,
The idea is to make it possible to change the flag that identifies multiple stages.

本発明の目的は、多段バーコードの1部を一気通貫に読
取ったという情報を加味することにより多段バーコード
を構成するブロックの組合せを正確に判別できる多段バ
ーコード読取装置を提供し、また、任意のユーザのバー
コードを読取るようにした多段バーコード読取部Rを提
供することにある。
An object of the present invention is to provide a multi-stage barcode reading device that can accurately determine the combination of blocks constituting a multi-stage barcode by taking into account information that a part of the multi-stage barcode has been read all at once. , it is an object of the present invention to provide a multi-stage barcode reading section R capable of reading barcodes of arbitrary users.

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

前記目的1に達するため、第1図(α)の原理説明図の
要部構成図に示すように、識別ノく−により区分された
複数のバーブロックを有するバーコードの少くともブロ
ック毎に読取りできるバーコードを多段に設定したバー
コードを、読取る多段バーコード読取装置であって、 第1の発明は、読取対象となる多段バーコードの内の1
Rのバーコードの全てのブロックが一貫して走査された
という一気通貫の情報を検知する手段22を具え、 第2の発明は、前記各段のバーコードブロックの一部に
多段バーコードであることを認識するフラグを設けると
ともに、前記各段のフラグと照合されるフラグを所望に
より変更可能に登録する手段41.42と、 該読取装置の起動時ホストの指示を確認する手段45.
44とを具えた構成とする。
In order to achieve the above-mentioned objective 1, as shown in the main part configuration diagram of the principle explanatory diagram in FIG. A first aspect of the present invention is a multi-stage barcode reading device that reads a barcode in which barcodes that can be read are set in multiple stages,
The second invention comprises a means 22 for detecting continuous information that all blocks of the R barcode have been scanned consistently, Means 41.42 for providing a flag for recognizing that there is a flag and registering the flag to be compared with the flags of each stage so as to be changeable as desired; and means 45.42 for confirming an instruction from the host when starting the reading device.
44.

〔作  用〕[For production]

上記要部構成により、第1の発明は同図(b) (+)
 。
Due to the above-mentioned main part configuration, the first invention is as shown in FIG.
.

(11)に示すように、たとえば2段バーコードのAE
As shown in (11), for example, the AE of a two-stage barcode
.

CDのうち何れかまたは両方が一気通貫に走査されたこ
とを一気通貫検知手段22で検知した時は、何れの時も
AEまたはCDの組合せ■が先ず検知され残F) C,
Dま九はA、Bの組合せから2段バーコードのバーブロ
ックの配列の判別が可能である。
When the one-shot detection means 22 detects that either or both of the CDs have been scanned all at once, the combination AE or CD is first detected at any time, and the remaining one (F) is detected.
It is possible to determine the bar block arrangement of a two-stage barcode from the combination of A and B.

ただし、ブロックBとDの情報が同じならば、AB、C
Dとも−A通貫走査される必要がある。
However, if the information of blocks B and D is the same, AB, C
Both D and -A need to be scanned through.

第2発明は、同図(c)に示すように、各段のバーブロ
ックの一部に設けたフラグJ’、* J’2を、同図(
、)K示したF、フラグ変換W5 ” + F2フラグ
変換部42に保持し、この例示するようなフラグ?、 
、 F2を起動たとえばバーコード読取装置用電源投入
毎にホストの指示を確認する手段45.44の確認結果
に基いて、変更があれば新F、 、 F2を誉込む。こ
れによす同−POSシステムがフラグF、 、 F2が
異なる複数ユーザに適用され多段バーコードを読取るこ
とができる。
In the second invention, as shown in FIG.
, ) K indicated F, flag conversion W5 '' + F2 The flag held in the flag conversion unit 42 and as shown in this example?
, Activate F2 For example, means for confirming host instructions every time power is turned on for a barcode reader 45. Based on the confirmation results of 44, if there are any changes, praise the new F2. In addition, the same POS system is applied to multiple users with different flags F, , F2, and can read multi-stage barcodes.

〔実 施 例〕〔Example〕

第2図は本発明の実施例の構成説明図である。 FIG. 2 is an explanatory diagram of the configuration of an embodiment of the present invention.

ただしバーコードはUPC、JANコードとする。However, the barcode shall be UPC or JAN code.

同図において、各段バーコードのラベルをレーザ光等で
走査し、反射光をバーコード読取部10内のA/D変換
器11に挿入して得られたアナログ信号をデジタル信号
に変換し、バー幅カウンタ回路12に入れ、GE、キャ
ラクタ(各数字)、CM等のバー幅1間隔をカウントし
、それぞれGEチエツク回路15.キャラクタチエツク
回路14.CBチエツク回路15および復調回路16に
送る。復調回路16ではキャラクタを復調し、バーコー
ドのフロックCGB−CE) 、 CCB−GE)毎に
それぞれ復調データバッファ回路23.24に一旦格納
する。
In the figure, the labels of each barcode are scanned with a laser beam or the like, and the reflected light is inserted into the A/D converter 11 in the barcode reading section 10 to convert the obtained analog signal into a digital signal. A bar width counter circuit 12 is used to count one bar width interval of GE, characters (each number), CM, etc., and each GE check circuit 15. 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 characters and temporarily stores them in demodulation data buffer circuits 23 and 24 for each barcode block CGB-CE) and CCB-GE).

次KGEチエツク回路14.キャラクタチエツク回路1
5.CBチエツク回路16からのチエツクデータ出力を
、従来用いられているGB→CBシーケンス制御回路1
7およびCB−+GBシーケンス制御回路18に入れる
。GB CBF(プ2りつ21はフリップフロラ(ON
 )となる。そして、後の回路18がCB/GBを検出
したらGB CBFCフラメ゛)21の値(フラグ値)
が「1」のとき1つの段の全キャラクタが完全に検出さ
れたーことになり、1つの段の両ブロックが一気に読取
り走査がなされたことを示すため、一気通貫フラグ22
はANDゲート22.と7リツプフロツプ22□で構成
され、GE CBF 21 (FF )のオン出力とC
B→GBシーケンス制御回路18の出力にょり「月(O
N)がセットされ、制御部20 K送る。
Next KGE check circuit 14. Character check circuit 1
5. The check data output from the CB check circuit 16 is transferred to the conventionally used GB→CB sequence control circuit 1.
7 and CB-+GB sequence control circuit 18. GB CBF (P2 Ritsu 21 is Flip Flora (ON
). Then, when the later circuit 18 detects CB/GB, the value of GB CBFC frame) 21 (flag value)
When is "1", it means that all characters in one row have been completely detected, and both blocks in one row are read and scanned at once, so the all-at-once flag 22
is AND gate 22. It consists of 7 lip-flops 22□, and the ON output of GE CBF 21 (FF) and C
The output of the B→GB sequence control circuit 18 is ``month (O
N) is set and sent to the control unit 20K.

各段バーコードのGE (CE )を検知すると、GB
−CB (CB−GB)シーケンス制御回路17(18
)が動作し、キャラクタチエツク回wr14により’6
ブロツクのキャラクタがチエツクOKになる毎に、復調
データバッファ回路25 、24へ復調回路16からの
復調データを書込むパルスを発生させる。なお、第1図
(6)■のように走査されたときブロックB。
When GE (CE) of each row barcode is detected, GB
-CB (CB-GB) Sequence control circuit 17 (18
) works, character check times wr14 '6
Every time a block character becomes check OK, a pulse is generated to write the demodulated data from the demodulation circuit 16 into the demodulation data buffer circuits 25 and 24. It should be noted that block B is scanned as shown in (6) (2) in FIG.

Dのデータはデータバッファ25.24に格納されない
。なお、データバッファ回路26にはGB−CB力方向
光ビーム走査されたときのデータが格納され1、データ
バッファ回路24にはCB−GE方向に光ビー復調デー
タについて各ブロックの最終キャラクタが完了した時次
のバーコードブロックがCE (GB )かをチエツク
し、OKであれば制御部20へ復調完了信号25(26
)をオンして通知する。括弧内は引続き同様に処理され
ることを示す。制御部20は復調完了信号25 、26
がONとなると、復調データを続出す。
The data of D is not stored in the data buffers 25 and 24. The data buffer circuit 26 stores the data when the GB-CB force direction optical beam is scanned1, and the data buffer circuit 24 stores the data when the final character of each block is completed for the optical beam demodulated data in the CB-GE direction. Checks whether the next barcode block is CE (GB), and if OK, sends a demodulation completion signal 25 (26) to the control unit 20.
) to be notified. Items in parentheses indicate that processing will continue in the same way. The control unit 20 receives demodulation completion signals 25 and 26.
When turned on, demodulated data is output one after another.

第3図は第2図の各段バーコードに対する動作を示す流
れ図であジ、同図0ンはGA−CBクシ−ンス、同図(
6)はCB−GEフシ−ンスを示す。
FIG. 3 is a flowchart showing the operation for each stage barcode in FIG.
6) shows the CB-GE system.

同図−)においては、GE −CBクシ−ンス制御回路
17がバーコード読取部10からの入力されたバー検出
信号がGBであるか否かを調べ〔■〕、これが検出され
ると次にキャラクタをチエツクの結果OKか否かを調べ
、否ならばGB 0Mフラグ21のフラグをOFFとし
て最初に戻し、OKならば復調データバッファ23に書
込みパルスを与えて復調デーたならばCBがOKか否か
〔■〕により、OKならばGE CBフラグ21のフラ
グをON [■]とし、否であれば元に戻す。GE C
EフラグON [■〕としたとき、制御部20に復調完
了通知を行なう。以上の過程での各列vffr(OKか
否か等)各処理(最初〔元〕に戻す等)はGB −CB
シン−ンス制御回路17が行なう。
In FIG. Check whether the character is OK as a result of checking. If not, turn off the GB 0M flag 21 and return to the beginning. If OK, give a write pulse to the demodulated data buffer 23, and if demodulated data is obtained, check if CB is OK. If it is OK, the GE CB flag 21 is set to ON [■], and if it is not, it is returned to the original state. G.E.C.
When the E flag is set to ON [■], a demodulation completion notification is sent to the control unit 20. In the above process, each column vffr (OK or not, etc.) and each process (return to the original [original], etc.) are GB - CB
This is performed by the synence control circuit 17.

同図(6)においては、CB−vGBシーケンス制御回
路18がバーコード読取部1oから入力されたバー検出
信号がCEであるか否かを調べ〔■〕、これが検出され
ると、次にキャラクタOKか否かを調べ〔@〕、これを
繰返してOKならば復調データバッファ24に書込みパ
ルスを与えて復調データt−曹込み〔@〕、ブロックの
最終キャラクタが完了したか否か〔[相]〕を調べ、完
了したならばGEがOKか否か〔[有]〕を判断し、O
Kならば、GB CBフラグ21のフラグがONかOF
Fかを調べ、ONであれd〜一気貫フラグ22をONと
し〔@〕、OFFであれば一気通貫フラグをOFFとし
〔[相]〕、制御部20に復調完了通知を行なう。
In (6) of the same figure, the CB-vGB sequence control circuit 18 checks whether the bar detection signal inputted from the barcode reading section 1o is CE [■], and if this is detected, the next character Check whether it is OK [@], repeat this process, and if it is OK, give a write pulse to the demodulated data buffer 24 to write the demodulated data t-fill [@], and check whether the last character of the block has been completed [[phase]. ]], and if completed, determine whether the GE is OK or not, and
If it is K, the flag of GB CB flag 21 is ON or OFF.
If it is ON, the d~ all-at-once flag 22 is turned ON [@], and if it is OFF, the all-at-once flag is turned OFF [[phase]], and a demodulation completion notification is sent to the control section 20.

以上の過程における谷判断、処理はCB−GBフシへン
ス制御回路18が行なう。
The valley judgment and processing in the above process are performed by the CB-GB performance control circuit 18.

制御部20はプロセッサとこれを作動させるプログラム
を有する。復調データバッファ回路25.24から送ら
れたデータは制御部20によりメモリ50゜、51 K
格納される。メモリ50にはバーコードの各段の左ブロ
ックのデータが格納され、メモリ31にはバーコード各
段の右ブロックのデータが格納される。
The control unit 20 has a processor and a program that operates the processor. The data sent from the demodulation data buffer circuits 25 and 24 is stored in memories 50° and 51K by the control unit 20.
Stored. The memory 50 stores the data of the left block of each stage of the barcode, and the memory 31 stores the data of the right block of each stage of the barcode.

たとえば、復調データバッファ回路25 、24に存在
するデータが第2図(b)に示すものであるとする。
For example, assume that the data present in the demodulated data buffer circuits 25 and 24 is as shown in FIG. 2(b).

1段目のデータと2段目のデータが混在しているのは、
走査線が第1図(6)に示すととく■、■、■の3本が
存在するからである。図中の斜線部は非バーコードデー
タであって、たとえば第1図(6)の走査線■の破線部
で得られたデータである。最初に左ブロックのデータA
が送られると、制御部20により従来技術で左ブロック
のデータと判断され、メモリ50のL1査地に格納され
る。次の非バーコードデータは制御部20に送られない
The reason why the data from the first stage and the data from the second stage are mixed is that
This is because, in the case of the scanning lines shown in FIG. 1 (6), there are three scanning lines, ``■'', ``■'', and ``■''. The shaded area in the figure is non-barcode data, and is, for example, the data obtained in the broken line area of the scanning line ■ in FIG. 1(6). First left block data A
When the data is sent, the control unit 20 determines that it is data of the left block using the conventional technology, and stores it in the L1 location of the memory 50. The next non-barcode data is not sent to the control unit 20.

次に左ブロックのデータCが送られると、制御部20に
より左ブロックのデータと判断されるとともに、従来技
術で先のデータAと比較され異なる(A’=C’)ため
、メモリ50のL2番地に格納される。
Next, when data C of the left block is sent, it is determined by the control unit 20 to be data of the left block, and is compared with the previous data A using the conventional technology. Stored in address.

次に右ブロックのデータBが送られると、制御部20に
よフ従来技術で右ブロックのデータと判断され、メモリ
510R1番地に格納される。このようにして、1段目
および2段目のバーコードの復ル4データはブロック毎
にメモリ50 、51に分納される。ここで、光ビーム
による走査は高速であるため、−度の絖取り操作により
1つの段のバーコードは複数回の光走査がなされるため
、前述のように多数のブロックデータA、B、Cが復調
データバッファ回路25 、24から制御部20へ送ら
れる。
Next, when data B of the right block is sent, the control unit 20 determines that it is the data of the right block using conventional technology, and stores it in the memory 510R1 address. In this way, the four data of the first and second barcodes are divided into memories 50 and 51 for each block. Here, since the scanning by the light beam is fast, one stage of the barcode is optically scanned multiple times due to the - degree weaving operation, so as mentioned above, a large number of block data A, B, C is sent from the demodulated data buffer circuits 25 and 24 to the control section 20.

ところで一気通貞データA、Bが復調データバッファ2
5 、24 K格納され、一気通員フラグ22がONl
、となっ九場合、制御部20は復調データバッフアバゝ
) 426からデータAを読出し、先にメモリ60に格納さ
れているデータA、Cと比較するが、この場合番地L1
に格納されているデータAと一致するためこの番地L1
をメモリ52に格納し、次に復満データバッファ24か
らデータBf、続出しメモリ61に先に格納されている
番地R1のデータBと比較するがこの場合一致するので
、この着地R1を先の番地L1と対にしてメモリ52に
格納する。
By the way, the simultaneous data A and B are demodulated data buffer 2.
5, 24K is stored, and the all-at-once flag 22 is turned ON.
, then the control unit 20 reads data A from the demodulated data buffer 426 and compares it with the data A and C previously stored in the memory 60.
This address L1 matches data A stored in
is stored in the memory 52, and then compared with the data Bf from the recovery data buffer 24 and the data B at address R1 stored earlier in the continuous output memory 61. In this case, since they match, this landing R1 is It is stored in the memory 52 as a pair with address L1.

なお、xisデータバッファ25.24に格納されてい
るこれらデータA、Eは制御部20により続出されても
復調データバッファ25.24に残存しており、またこ
れらの一気通貫データA、Bはメモリ50.!Aには格
納されない。
Note that these data A and E stored in the xis data buffer 25.24 remain in the demodulation data buffer 25.24 even if they are successively outputted by the control unit 20, and these data A and B that are passed through at once remain in the demodulation data buffer 25.24. Memory 50. ! It is not stored in A.

また、1段目のデータBと2段目のデータDが同一なら
仮程、データDが復調データバッファ23゜24から読
出されると、既にメモリ51に格納されているR1番地
のデータBと比較され一致するので、このデータDはメ
モリ61には格納されない。
Furthermore, if data B in the first stage and data D in the second stage are the same, then when data D is read from the demodulated data buffer 23, 24, it will be the same as the data B at address R1 already stored in the memory 51. Since they are compared and match, this data D is not stored in the memory 61.

この場合、データDが走査されないで、2段目のバーコ
ードのデータCのみが走査され復調データバッファ25
または24に格納された場合と区分がつかないのでデー
タの読取りをより正確にするた°めに2段目のバーコー
ドに対する一気通貫情報が、必要となる。このようにし
て2段のバーコードに対して読取り操作が終了し復調デ
ータのメモリ50゜51への格納が完了すると、制御部
20は従来技術であるモジュラス10チエツクを行なう
In this case, data D is not scanned, and only data C of the second stage barcode is scanned, and the demodulated data buffer 25
Otherwise, it is indistinguishable from the case where the barcode is stored in 24, so in order to read the data more accurately, it is necessary to provide the information for the second stage barcode all at once. When the reading operation for the two-stage barcode is thus completed and the storage of the demodulated data in the memories 50 and 51 is completed, the control section 20 performs a modulus 10 check, which is a conventional technique.

このモジュラス10チエツクはメモリ50.51に格納
されているデータ(A、C)と(E、D)の全ての組合
せAE、AD、CB、CDについてなされ、その結果非
所望の組合せADに対してもモジュラス10チエツクが
OKとなることがあるが、制御部20はメモリ52に格
納されている一気通貫情報を用いて組合せAEを採用し
、組合せADは採用しない。
This modulus 10 check is performed for all combinations AE, AD, CB, CD of data (A, C) and (E, D) stored in the memory 50.51, and as a result, for the undesired combination AD. Although the modulus 10 check may be OK in some cases, the control unit 20 employs the combination AE using the all-in-one information stored in the memory 52 and does not employ the combination AD.

組合せCBに対するモジュラス10チエツクカN。Modulus 10 check for combination CB N.

ならば組合せCDに対するモジュラス10チエツクがO
Xのとき、組合せCDは採用される。しかし組合せCB
に対するモジュラス10チエツクがOKならば、所望の
組合せCDを得るためにはCDに対する一気通貫情報が
必要となり、この一気通貫の情報により組合せCDを採
用し他の組合せCBは採用しないようにする。
Then, the modulus 10 check for the combination CD is O
When X, the combination CD is adopted. However, combination CB
If the modulus 10 check for is OK, then in order to obtain the desired combination CD, all-in-one information for the CD is required, and based on this all-in-one information, the combination CD is adopted and other combinations CB are not adopted. .

力以上の構成により、多段たとえば2段バーコー/ ドの各ブロックA、B、C,Dに第1図(b)に示すよ
うに、光ビーム走査が一気通貢したという情報を加味し
、AB、CDとして読取が実行される。これらのデータ
はPOSへ送られ、管理、解読される。
As shown in Fig. 1(b), the information that light beam scanning is applied to each block A, B, C, and D of a multistage, for example, two-stage barcode is taken into consideration, and AB , the reading is performed as a CD. These data are sent to the POS, where they are managed and decoded.

第4図は第2の発明の実施例の構成説明図である。第2
図Ca)と同等部分には同一符号を付した。
FIG. 4 is an explanatory diagram of the configuration of an embodiment of the second invention. Second
Parts equivalent to those in Figure Ca) are given the same reference numerals.

本発明では多段バーコードを読取るために、1段目か2
段目かを示すフラグをホストから指示するよりにした。
In the present invention, in order to read a multi-stage barcode, either the first stage or the second stage
Instead of specifying the flag indicating the level from the host.

すなわち、このフラグと一致するデータがバーコードラ
ベルから読取られた時には多段バーコードと認識しく制
御部20で一致の判断がなされる)、その他の残りのバ
ーコードを読取ジに行くようにする。
That is, when data matching this flag is read from the barcode label, it is recognized as a multi-stage barcode and a match is determined by the control section 20), and the remaining barcodes are read.

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

このように構成すると、電源投入後ホストとしてのPO
8から一度変更指示があった後、PO8と無関係に本装
置(即ち第4図に示す装!i)のみ電源OFFシ、欠い
でこの′1源t−ON した場合には、デフォルト値に
戻ってしまう。−万PO8では変更指示を出したと認識
しているからLl?エラーが生じる。これを防止するた
め本装置では起動時必ずPO8の指示を確認する手段を
設けるようにする。
With this configuration, the PO as host after power on
If you turn off the power to this device (i.e., the equipment shown in Figure 4!i) without regard to PO8 after receiving a change instruction from 8, and then turn on the power source 1 without turning it on, the power will return to the default value. I end up. - I understand that PO8 has issued a change order, so Ll? An error occurs. In order to prevent this, the present device is provided with a means to always check the instruction from PO8 at the time of startup.

第4図の構成はこの手段の1例を示すものである。すな
わち、制御g20に対し、各段毎のバーコードの頭初に
多段フラグとしてたとえば1段目p、=20. 2段目
F2=29等(,1m )fi r20J 、 「29
コはバー幅の組合せで示されるキャラクタである。)t
−変更可能に格納するバッファ41.42金設ける(バ
ッファ41は上段のバーコードのフラグ用、バッファ4
2は下段のバーコードのフラグ用である。)とともに、
POSインタフェース(IF )送信回路441POS
インタフエース(IP )受信回路45を介してPO3
とつなぐ。さらに起動待毎にPO8に送信するイニシア
ルメツセージ用メモリ45を用意する。このイニシアル
メツセージは予めメモリ43に格納されている。
The configuration shown in FIG. 4 shows one example of this means. That is, for the control g20, a multi-stage flag is set at the beginning of the barcode of each stage, for example, the first stage p,=20. 2nd stage F2 = 29 mag (,1m)fi r20J, "29
ko is a character indicated by a combination of bar widths. )t
- Buffer 41 and 42 are provided to store the flag in a changeable manner (buffer 41 is for the upper barcode flag, buffer 4 is for the flag of the upper barcode,
2 is for the flag of the lower barcode. ) together with
POS interface (IF) transmission circuit 441POS
PO3 via interface (IP) receiving circuit 45
Connect with. Furthermore, an initial message memory 45 is prepared which is sent to the PO 8 each time the system waits for startup. This initial message is stored in the memory 43 in advance.

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

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

、、、/ また、起動時(たとえば電源投入時)、posの指示を
確認する手段として、前述の情報のやりとりを行なうこ
となく、かつPO8と無関係に本装置の電源がOFF 
−ONされる場合に有効なものとして、前述の1段目用
フラグバッファ41.2段目用フラグバッファ42に代
え、FjEFROM (不揮発性メモリ;電気的に消去
できるROM ) K最長のPO8からの指示を保持し
ておき、起動時これを続出して使用することもできる。
,,,/ Also, at startup (for example, when turning on the power), as a means of confirming POS instructions, the power of this device can be turned off without exchanging the above information and regardless of PO8.
- In place of the first-stage flag buffer 41 and second-stage flag buffer 42 described above, FjEFROM (non-volatile memory; electrically erasable ROM) is effective when turned on. You can also save the instructions and use them one after another at startup.

従って、この場合前述のイニシアルメツセージの送出は
不要である。
Therefore, in this case, it is not necessary to send the above-mentioned initial message.

以上は2段バーコードにつき説明したが、より多段の場
合も、一気通買情報を多段数より1つ少ないか、同数用
意することKより同様に処理することができる。
The above description has been made for a two-stage barcode, but even in the case of a more multi-stage barcode, the same process can be performed by preparing one less or the same number of one-shot purchase information as the number of stages.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、多段バーコード
に対し、一気通貫情報を加味することにより、多段バー
コードを構成するブロックの徂合せの判別を正確に行な
うことができ、さらに各段に多段フラグを付与し、この
多段フラグを任意に変更できるようにすることにより複
数ユーザに有効に対応することができる。
As explained above, according to the present invention, by adding continuous information to a multi-stage barcode, it is possible to accurately determine the combination of blocks constituting the multi-stage barcode, and furthermore, each By assigning a multi-stage flag to each stage and allowing the multi-stage flag to be changed arbitrarily, it is possible to effectively accommodate multiple users.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図(α)〜(σ)は本発明の原理説明図、第2図(
、)は実施例の構成説明図、第2図(b)は復調データ
を示す図、第5図は実施例の動作を示す訛れ図、第4図
は第2発明の実施例構成図、第5図(α)〜(−)は従
来例の説明図でらり、図中10はバーコード読取部、1
1はバーコード読取部、12はバーl隅カウン夕回路、
15はGEチエツク回路、14はキャラクタチエツク回
路、15はCBチエツク回路、16は復W4回路、17
はGE −CEフシ−ンス制御回路、18はCB−GE
フシ−ンス制御回路、20は制御部、21はGB/CB
フラグ部、22は一気通貫フラグ部、25、24 id
復調データバッファ、41.42はバッファ、45ハイ
ニジアルメツセージ用メモリ、44ハPO3I/F送信
回路、45はPO8I/p受信回路を示す。
Figures 1 (α) to (σ) are diagrams explaining the principle of the present invention, and Figure 2 (
, ) is an explanatory diagram of the configuration of the embodiment, FIG. 2(b) is a diagram showing demodulated data, FIG. 5 is a diagram showing the operation of the embodiment, and FIG. 4 is a diagram of the configuration of the embodiment of the second invention. Fig. 5 (α) to (-) are explanatory diagrams of the conventional example, in which 10 is a barcode reading section;
1 is a barcode reading unit, 12 is a bar corner counter circuit,
15 is a GE check circuit, 14 is a character check circuit, 15 is a CB check circuit, 16 is a return W4 circuit, 17
is the GE-CE fusence control circuit, 18 is the CB-GE
20 is a control unit, 21 is GB/CB
Flag part, 22 is a continuous flag part, 25, 24 id
Demodulated data buffer, 41, 42 is a buffer, 45 is a high-speed message memory, 44 is a PO3 I/F transmitting circuit, and 45 is a PO8 I/p receiving circuit.

Claims (4)

【特許請求の範囲】[Claims] (1)識別バーにより区分された複数のバーブロックを
有するバーコードの少くともブロック毎に読取りできる
バーコードを多段に設定した多段バーコードを読取る多
段バーコード読取装置であって、読取り対象となる前記
多段バーコードの内の1段のバーコードの全てのブロッ
クが一貫して走査されたという一気通貫の情報を検知す
る手段(22)を具え、 前記一気通貫情報に基いてバーコードデータを読取るこ
とを特徴とする多段バーコード読取装置。
(1) A multi-stage barcode reading device that reads a multi-stage barcode in which barcodes that can be read for at least each block of a barcode that has a plurality of bar blocks separated by identification bars are set in multiple stages, and are the target of reading. means (22) for detecting continuous information that all blocks of one stage of the barcode of the multi-stage barcode have been scanned consistently; A multistage barcode reading device characterized by reading.
(2)識別バーにより区分された複数のバーブロックを
有するバーコードの少くともブロック毎に読取りできる
バーコードを多段に設定した多段バーコードを読取る多
段バーコード読取装置であって、前記各段のバーコード
ブロックの一部に多段バーコードであることを示すフラ
グを設けるとともに、前記各段のフラグと照合されるフ
ラグを所望により変更可能に登録する手段(41、42
)と、該読取装置の起動時にホストの指示を確認する手
段(43、44)とを具え、 該指示確認手段(43、44)の確認結果に基いて該各
段のフラグ登録手段(41、42)に各段のフラグが登
録されることを特徴とする多段バーコード読取装置。
(2) A multi-stage barcode reading device for reading a multi-stage barcode, in which barcodes that can be read for at least each block of a barcode having a plurality of bar blocks separated by identification bars are set in multiple stages, A means (41, 42) for providing a flag indicating that the barcode is a multi-stage barcode in a part of the barcode block, and for registering a flag to be compared with the flags of each stage so as to be changeable as desired.
), and means (43, 44) for confirming instructions from the host when starting up the reading device, and flag registration means (41, 44) for each stage based on the confirmation result of the instruction confirmation means (43, 44). 42) A multi-stage barcode reading device characterized in that flags for each stage are registered.
(3)前記起動時ホストの指示を確認する手段が、起動
時ホストのフラグの指定を要求するイニシアルメツセー
ジを送出する手段を有し、該メッセージに対するホスト
からのフラグの指定を受けるようにしたことを特徴とす
る請求項(2)記載の多段バーコード読取装置。
(3) The means for confirming the instruction from the host at startup has means for sending an initial message requesting the designation of a flag from the host at startup, and receives the flag designation from the host in response to the message. The multi-stage barcode reading device according to claim 2, characterized in that:
(4)前記起動時ホストの指示を確認する手段が、最終
のホストの指示フラグを保持して起動時読出せる記憶手
段を有することを特徴とする請求項(2)記載の多段バ
ーコード読取装置。
(4) The multi-stage barcode reading device according to claim (2), wherein the means for confirming the host instruction at startup has a storage device that holds a final host instruction flag and can read it at startup. .
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 true JPH036682A (en) 1991-01-14
JP2741404B2 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)

Citations (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

Patent Citations (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
JP2741404B2 (en) 1998-04-15

Similar Documents

Publication Publication Date Title
JPH11283126A (en) Data processor, commodity sales data processor and commodity sales data processing system
JP3681887B2 (en) Product sales data processing device
JPH036682A (en) Multistage bar code reader
JP2783234B2 (en) Barcode reader
JP3198232B2 (en) Barcode reading method and reader
JP2730273B2 (en) Barcode reading device and barcode reading method
JP2732909B2 (en) Barcode reader
JP2002024756A (en) Bar code reader system
JP2760913B2 (en) Barcode reader
JPH036790A (en) Two-stage bar code reader
JPS62209698A (en) Selling time information managing system
JPH036789A (en) Multi-stage bar code reader
JPH0887563A (en) Code reading device
JPS63266585A (en) Readout control system
JP2001243416A (en) Bar code reading method
JPS63197290A (en) Bar code reader
JP2772298B2 (en) Point-of-sale information input / output control method and register device using this method
JPS62111350A (en) Transaction data display system
JPH0340096A (en) Sales managing device for pos system
JPS6373399A (en) Pos terminal control system
JP2584549B2 (en) Product sales data processing device
JPS63658A (en) Terminal equipment
JPS6269378A (en) Bar code reader
JPH06164673A (en) Communication control equipment
JPS62205494A (en) Pos 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