JP2746673B2 - Barcode and barcode reader - Google Patents

Barcode and barcode reader

Info

Publication number
JP2746673B2
JP2746673B2 JP1195756A JP19575689A JP2746673B2 JP 2746673 B2 JP2746673 B2 JP 2746673B2 JP 1195756 A JP1195756 A JP 1195756A JP 19575689 A JP19575689 A JP 19575689A JP 2746673 B2 JP2746673 B2 JP 2746673B2
Authority
JP
Japan
Prior art keywords
check
bar code
data
character
barcode
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
JP1195756A
Other languages
Japanese (ja)
Other versions
JPH0359789A (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 JP1195756A priority Critical patent/JP2746673B2/en
Publication of JPH0359789A publication Critical patent/JPH0359789A/en
Application granted granted Critical
Publication of JP2746673B2 publication Critical patent/JP2746673B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔目次〕 概要 産業上の利用分野 従来の技術(第3図) 発明が解決しようとする課題 課題を解決するための手段(第1図) 作用 実施例(第2図) 発明の効果 〔概要〕 本発明はバーコードおよびバーコード読取り装置に関
し、 段別にチエックキャラクタを有するバーコードが複数
段組合わされた多段式バーコードの誤読率を低下するた
めのバーコードおよびバーコード読取り装置を提供する
ことを目的とし、 第1発明は、それぞれチェックキャラクタを有する、
複数のキャラクタから構成されるバーコードが複数段組
み合わされた多段式バーコードにおいて、前記複数段の
各段に設けられた段別のチェックキャラクタとともに、
組み合わされた多段式バーコード全体のチェックを行う
ための総合チェックキャラクタを少なくとも1キャラク
タ設けるように構成し、第2の発明では、バーコードを
読み取り、バーコードデータを生成するバーコード読取
手段と、バーコードに付されたチェックコードにより、
読み取られたバーコードデータをチェックする第1チェ
ック手段と、それぞれにチェックコードが付された複数
のバーコードから構成された多段バーコードに設けられ
る、前記多段バーコード全体のチェックを行うための総
合チェックキャラクタを用いて、読み取られた複数段の
バーコードを総合的にチェックする第2チェック手段と
を具備し、前記第1及び第2チェック手段により、読み
取られた多段バーコードのチェックを行うように構成す
る。
Detailed Description of the Invention [Table of Contents] Overview Industrial application field Conventional technology (Fig. 3) Problems to be solved by the invention Means for solving the problem (Fig. 1) Action Embodiment (Fig. 2) SUMMARY OF THE INVENTION [Overview] The present invention relates to a bar code and a bar code reader, and more particularly to a bar code and a bar code for reducing the misreading rate of a multi-stage bar code in which a plurality of bar codes each having a check character are combined. It is an object of the present invention to provide a reader, wherein a first invention has a check character,
In a multi-stage bar code in which a bar code composed of a plurality of characters is combined in a plurality of stages, together with a check character for each stage provided in each of the plurality of stages,
Barcode reading means for reading a barcode and generating barcode data in the second invention, wherein at least one comprehensive check character for checking the entire combined multi-stage barcode is provided; According to the check code attached to the bar code,
A first checking means for checking the read barcode data, and a general means for checking the entire multistage barcode provided on a multistage barcode composed of a plurality of barcodes each having a check code attached thereto. Second check means for comprehensively checking the read barcodes of a plurality of rows using a check character, wherein the first and second check means check the read multistage barcodes. To be configured.

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

本発明はバーコードおよびバーコードの読取り装置に
係り、特に個別にチエックキャラクタを有するバーコー
ドが複数段組合わされた多段式バーコードの読取られた
データの信頼性を向上するためのバーコードおよびバー
コード読取り装置に関する。
The present invention relates to a bar code and a bar code reading apparatus, and more particularly to a bar code and a bar code for improving the reliability of read data of a multi-stage bar code in which a plurality of bar codes each having a check character are combined in a plurality of stages. It relates to a code reader.

〔従来の技術〕[Conventional technology]

近年、流通業界等で用いられているPOSシステムの様
に、バーコードの利用が非常に盛んである。バーコード
の利用は流通業界におけるPOSシステムの他にも、郵便
分類、図書館管理システム等、いろいろな分野で広く行
われている。
2. Description of the Related Art In recent years, bar codes have been very popularly used like POS systems used in the distribution industry and the like. The use of barcodes is widely used in various fields such as postal classification and library management systems, in addition to POS systems in the distribution industry.

流通業界等で主に用いられるバーコードは、JISで規
定されているJANコードである。そして、従来のJANコー
ドは8桁と13桁のコードが規定されていたが、利用範囲
が食品から衣料、レコード等へと会社数や商品数を非常
に多く対象とする必要が生じるにつれて、前記のような
1段の単一コードだけでは需要に応じきれない見通しと
なって来た。
A barcode mainly used in the distribution industry or the like is a JAN code defined by JIS. The conventional JAN code is defined as an 8-digit or 13-digit code.However, as it becomes necessary to cover a very large number of companies and products from food to clothing, records, etc. It is expected that demand will not be met with a single single-stage code.

このため、JISは新たに一つの商品に従来の13桁コー
ドを複数段(現在では二つのコードを検討中なので以後
二段コードと云う。)印刷する方式を規定しようとして
いる。
For this reason, the JIS has newly stipulated a method of printing a conventional 13-digit code on a single product in a plurality of columns (at present, two codes are under consideration and henceforth referred to as a two-column code).

この二段コードのチエック方式は、各段のバーコード
の末桁に存在するモジュラス10チエックキャラクタによ
って各段毎に個別に行っている。
The two-stage code check method is performed individually for each stage using a modulus 10 check character existing at the last digit of the bar code in each stage.

モジュラス10チエックの一例を第3図に示す。第3図
には、例示したコードについて、そのチエックキャラク
タの決め方を示している。
An example of a modulus 10 check is shown in FIG. FIG. 3 shows how to determine the check character for the exemplified code.

ステップ1:第2番目のキャラクタ(この例では6)か
らはじめて、すべての偶数番目のキャラクタのデータ
(数値で表されたデータ)の和をとる。
Step 1: Beginning with the second character (6 in this example), sum the data (data represented by numerical values) of all even-numbered characters.

(この例では6+7+3+2+6+0=24) ステップ2:ステップ1の結果を3倍する。 (In this example, 6 + 7 + 3 + 2 + 6 + 0 = 24) Step 2: The result of Step 1 is tripled.

(この例では24×3=72) ステップ3:第3番目のキャラクタ(この例では4)か
らはじめて、すべての奇数番目のキャラクタのデータの
和をとる。
(24 × 3 = 72 in this example) Step 3: Starting from the third character (4 in this example), sum the data of all the odd-numbered characters.

(この例では4+5+1+2+7+1=20) ステップ4:ステップ2の数とステップ3の数の和をと
る。
(4 + 5 + 1 + 2 + 7 + 1 = 20 in this example) Step 4: The sum of the number of steps 2 and the number of steps 3 is calculated.

(この例では72+20=92) ステップ5:ステップ4で得た値よりも大きく、且つ最
も近い10の倍数を求める。その数とステップ4の数の差
が、求めるモジュラス10チエックキャラクタのデータ
(数値)となる。
(72 + 20 = 92 in this example) Step 5: Find the closest multiple of 10 larger than the value obtained in Step 4. The difference between the number and the number in step 4 is the data (numerical value) of the modulus 10 check character to be obtained.

(この例では100−92=8) このようにして決定したチエックキャラクタによっ
て、バーコードを読取り、復元した各データが正しいか
否かを、例えば奇数番目のデータの和(8+4+5+1
+2+7+1)と偶数番目のデータの和(6+7+3+
2+6+0)の3倍との和が10の倍数になるか否かでチ
エックしている。
(In this example, 100−92 = 8) The barcode is read by the check character determined in this way, and it is determined whether or not each of the restored data is correct, for example, the sum of the odd-numbered data (8 + 4 + 5 + 1).
+ 2 + 7 + 1) and the sum of the even-numbered data (6 + 7 + 3 +
It is checked whether the sum of 3 times 2 + 6 + 0) is a multiple of 10.

そして二段コードの場合には各段毎にこのモジュラス
10チエックを行っている。
In the case of a two-stage code, this modulus is used for each stage.
We have 10 checks.

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

ところが、各段のコード毎の誤読率は、従来の一段の
単一コードの場合と変わらない。しかも、バーコードが
複数段になったため、バーコード全体の誤読率は従来の
単一コードのそれの複数倍、即ち2段コードで2倍に悪
化してしまう。
However, the misreading rate for each code in each row is not different from that in the case of the conventional single-row single code. In addition, since the bar code has a plurality of rows, the misreading rate of the entire bar code is two or more times as large as that of the conventional single code, that is, double with a two-level code.

従って本発明の目的は、個別にチエックキャラクタを
有するバーコードが複数段組合わされた多段式バーコー
ドの誤読率を低下するためのバーコードおよびバーコー
ド読取り装置を提供するものである。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a bar code and a bar code reader for reducing the misreading rate of a multi-stage bar code in which a plurality of bar codes each having a check character are individually combined.

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

第1発明は多段式バーコードの各段の個別のチエック
キャラクタの他に、新たに、少なくとも1つの段のバー
コードに複数段のコード全体の総合チエックキャラクタ
を設けた構成であり、第2発明は、バーコードを読取っ
た時個別チエックキャラクタによる各段毎のバーコード
データチエックの他に、総合チエックキャラクタによる
バーコード全体のチエックも行う構成である。
The first invention has a configuration in which, in addition to the individual check characters of each row of the multi-stage bar code, a bar code of at least one row is newly provided with an overall check character of a plurality of rows of codes. Is a configuration in which, when a barcode is read, in addition to the barcode data check of each row by the individual check character, the entire barcode is checked by the comprehensive check character.

即ち、第1図(a)に第1発明原理を示す如く、各段
のバーコードの各チエックキャラクタ(C1Dの数“8"とC
2Dの数値“3")の他に、複数段のコード全体の総合チエ
ックキャラクタ(C2Cの数値“6")を設ける。
That is, as shown in FIG. 1 (a), the principle of the first invention, each check character (the number "8" of C1D and C
In addition to the 2D numerical value “3”), a total check character (C2C numerical value “6”) of the entire multi-stage code is provided.

なお、第1図(a)に示したバーコードの数字の下の
符号、例えばC12のCはキャラクタを示し、1は1段目
のバーコードのキャラクタであることを示し、2は2番
目のキャラクタであることを示している。ただしAは1
0、Bは11、Cは12、Dは13番目という16進記号を表す
ものである。
The symbol below the bar code number shown in FIG. 1 (a), for example, C of C12 indicates a character, 1 indicates a character of the bar code on the first row, and 2 indicates a character of the bar code on the second row. Indicates that it is a character. However, A is 1
0, B represents 11, hexadecimal C represents 12, and D represents the 13th hexadecimal symbol.

そして、各段毎のチエックキャラクタのうち、C1Dの
8とC2Dの3は例えばモジュラス10によって作成される
が、総合チエックキャラクタC2Cの6は例えば後述する
実施例に示す手法によって作成する。
Then, among the check characters of each row, 8 of C1D and 3 of C2D are created by, for example, a modulus 10, while 6 of the overall check character C2C is created by, for example, a method described in an embodiment described later.

このようなチエックキャラクタを有するバーコードを
読み取りを行うための第2発明の原理を、第1図(b)
に示す。バーコード読取り手段1において、第1図
(a)に示す如きバーコードを読取る。これを第1チエ
ック手段2において、個別チエックキャラクタにより各
段毎のバーコードデータチエックを行う。
FIG. 1 (b) shows the principle of the second invention for reading a barcode having such a check character.
Shown in The bar code reading means 1 reads a bar code as shown in FIG. The first check means 2 performs a barcode data check for each row using an individual check character.

第2チエック手段3において、コード全体の総合チエ
ックキャラクタにより、第1図(a)のC2Dの3を除い
たC11〜C2Cまでのコードチエックを行う。
In the second check means 3, a code check of C11 to C2C excluding C2D 3 in FIG. 1A is performed by a total check character of the entire code.

〔作用〕[Action]

バーコードの各段ごとの個別チエックキャラクタを用
いてなされるバーコードデータチエックでは、本来誤読
であるにも拘らずたまたまチエック結果が正しい結果に
なる場合があるが、本発明により、各段毎のコードチエ
ックの他に、コード全体の総合チエックも行えるため、
複数段の多段式バーコードの誤読率を著しく低下するこ
とが出来る。
In a bar code data check performed using individual check characters for each bar code row, the check result may sometimes be correct despite the fact that it is originally erroneously read. In addition to the code check, you can also perform a comprehensive check of the entire code,
The misreading rate of a multi-stage bar code can be significantly reduced.

〔実施例〕〔Example〕

第1発明の実施例を第1図(a)に示す。1段目バー
コードB1、2段目バーコードB2の各チエックキャラクタ
C1D、C2Dを設ける他に、各段バーコードB1、B2を組合わ
せてチエックを行うための総合チエックキャラクタC2C
を設ける。
An embodiment of the first invention is shown in FIG. Check characters of the first-stage barcode B 1 and the second-stage barcode B 2
In addition to providing C1D and C2D, a comprehensive check character C2C for performing checks by combining bar codes B 1 and B 2 in each row
Is provided.

この総合チエックキャラクタC2Cの作り方は後述す
る。
How to create this comprehensive check character C2C will be described later.

従って、各段B1、B2ごとの個別チエックキャラクタに
よる各段B1、B2毎のバーコードデータのチエックの他に
2つの段のバーコードB1、B2全体としてのバーコードデ
ータのチエックを総合チエックキャラクタC2Cにより行
うことができ、各段バーコードB1、B2の個別チエックの
チエックミスがあっても、総合チエックキャラクタC2C
によるバーコードデータチエックがなされるため、個別
チエックミスによる弊害が防止される。
Therefore, the bar code data of the entire bar code B 1, B 2 in addition to the two stages of the stages B 1, B 2 each of the bar code data of each stage B 1, every B 2 by separate check character check check can be a carried out by overall check character C2C, even if the stage bar code B 1, check errors of the individual check of B 2, comprehensive check character C2C
Since the bar code data check is performed by the user, adverse effects due to individual check mistakes are prevented.

第2の発明の一実施例を第2図に基づき、第1図を参
照しつつ詳細に説明する。
One embodiment of the second invention will be described in detail based on FIG. 2 and with reference to FIG.

第2図(a)は、第1図(a)に示す如き多段式バー
コードのチエックキャラクタの作成装置を示すブロック
図、第2図(b)は第2の発明のバーコード読取り装置
を示す一実施例構成図である。
FIG. 2 (a) is a block diagram showing an apparatus for creating a check character of a multi-stage bar code as shown in FIG. 1 (a), and FIG. 2 (b) shows a bar code reader of the second invention. FIG. 3 is a configuration diagram of one embodiment.

第1図(a)にはチエックキャラクタを有する二段コ
ードを示しており、前記のようにC2Cのキャラクタ6が
総合チエックキャラクタでありC1Dのキャラクタ8は上
段コードのモジュラス10チエックに用いるチエックキャ
ラクタ、C2Dのキャラクタ3は下段コードのモジュラス1
0チエックに用いるチエックキャラクタである。
FIG. 1 (a) shows a two-stage code having a check character. As described above, the C2C character 6 is a general check character, and the C1D character 8 is a check character used for a modulus 10 check of the upper code. Character 2 of C2D is modulus 1 of lower chord
This is the check character used for the 0 check.

そして総合チエックキャラクタ6はモジュラス9チエ
ック方式によって決定される。
The total check character 6 is determined by the modulus 9 check method.

このモジュラス9はチエック方式に用いるチエックキ
ャラクタの決め方は次の通りである。
The method of determining the check character used for the modulus 9 in the check method is as follows.

ステップ1:上段バーコードB1の全部のキャラクタのデ
ータと下段バーコードB2のC2C、C2Dのデータを除いたす
べてのキャラクタのデータの和をとる。
Step 1: upper bar code B 1 of all the character data and the lower bar code B 2 C2C, the sum of data for all characters except the data C2D.

2+0+0+0+0+0+0+0+0+0+0+0+
8+2+9+0+0+0+0+0+0+0+0+0=21 ステップ2:ステップ1で得た数よりも大きく、且つ最
も近い9の倍数を求める。本例では27。
2 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 +
8 + 2 + 9 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 = 21 Step 2: Find the closest multiple of 9 larger than the number obtained in Step 1. In this example, 27.

ステップ3:ステップ2とステップ1の結果の差がモジ
ュラス9のチエックキャラクタ(の数値)となる。本例
では27−21=6。
Step 3: The difference between the result of step 2 and step 1 is (the numerical value of) the modulus 9 check character. In this example, 27-21 = 6.

これらの3つのチエックキャラクタ(C1Dの8、C2Dの
3、C2Cの6)は第2図(a)に示す如き多段式バーコ
ードチエックキャラクタ作成装置によって作成される。
These three check characters (8 for C1D, 3 for C2D, 6 for C2C) are created by a multi-stage barcode check character creating apparatus as shown in FIG. 2 (a).

第2図(a)において、11は上段バーコードB1のデー
タ保持部であって、上段バーコードB1のチエックキャラ
クタ以外のC11〜C1Cまでのデータを保持するものであ
り、保持されるデータ(数字)は例えば、キーボード入
力される。保持部11はメモリである。12は第1モジュラ
ス10演算部であって、上段バーコードデータ保持部11に
保持されたデータ(数字)から、第3図に示した手法に
よりモジュラス10チエックキャラクタを演算するもので
あり、図示しないマイクロプロセッサとこれを作動させ
るプログラムにより演算を行う。13は上段バーコードB1
のC11〜C1Dのデータを保持する保持部でありメモリによ
り構成される。
In FIG. 2 (a), 11 are those with a data holding portion of the upper bar code B 1, to hold the data until C11~C1C other than the check character upper bar code B 1, data held The (number) is input by, for example, a keyboard. The holding unit 11 is a memory. Reference numeral 12 denotes a first modulus 10 calculating unit which calculates a modulus 10 check character from the data (numerals) held in the upper bar code data holding unit 11 by the method shown in FIG. 3, which is not shown. The operation is performed by a microprocessor and a program for operating the microprocessor. 13 is the upper barcode B 1
And a memory for holding the data of C11 to C1D.

14は下段バーコードデータ保持部(メモリ)であっ
て、下段バーコードB2のチエックキャラクタ以外のC21
〜C2Bまでのデータ(数字)を保持するものであり、保
持されるデータは例えば、キーボード入力される。15は
モジュラス9演算部であって、前記の手法によりモジュ
ラス9チエックキャラクタを前述のプロセッサで演算す
るもの、16は第2保持部(メモリ)であって、下段バー
コードデータ保持部14に保持されたC21〜C2Bまでのデー
タ(数字)とモジュラス9チエックキャラクタとして決
定されたC2Cの数字を保持するもの、17は第2モジュラ
ス10演算部であって、第2保持部16に保持されたデータ
(数字)から下段バーコードB2のチエックキャラクタを
前記の第3図に示した手法によりモジュラス10チエック
キャラクタを前述のプロセッサで演算するもの、18は第
3保持部(メモリ)であって、下段バーコードB2のチエ
ックキャラクタC2Dを含む下段バーコードB2を保持する
ものである。
14 is a lower bar code data holding section (memory), other than the lower barcode B 2 of check characters C21
The data (numerical values) up to C2B are stored, and the stored data is input by, for example, a keyboard. Reference numeral 15 denotes a modulus 9 operation unit which calculates the modulus 9 check character by the above-described processor by the above-described method. Reference numeral 16 denotes a second storage unit (memory) which is stored in the lower bar code data storage unit 14. The data (numbers) C21 to C2B and the number of C2C determined as the modulus 9 check character are stored. Reference numeral 17 denotes a second modulus 10 operation unit, which stores data (numbers) stored in the second storage unit 16. those by the numbers) showed the check character lower barcode B 2 in FIG. 3 of the method for calculating the modulus 10 check characters in the processor described above, 18 is a third holding unit (memory), the lower bar it is to hold the lower bar code B 2 comprising check characters C2D code B 2.

第1モジュラス10演算部12は、上段バーコードデータ
保持部11に保持されたC11〜C1Cの12桁のデータ(数字)
から、前記のモジュラス10の手法により、上段バーコー
ドB1のチエックキャラクタC1Dを決定して上段バーコー
ドB1の数字を完成し、第1保持部13に送出する。
The first modulus 10 operation unit 12 is a 12-digit data (numerical value) of C11 to C1C held in the upper barcode data holding unit 11.
From the method of the modulus 10, to complete the number of the upper bar code B 1 to determine the check character C1D in the upper bar code B 1, and sends the first holding portion 13.

モジュラス9演算部15は、第1保持部13に保持された
上段バーコードB1の13桁のデータ(数字)と、下段バー
コードデータ保持部14に保持されたC21〜C2Bの11桁のデ
ータ(数字)から、前記のモジュラス9の手法により、
総合チエックキャラクタC2Cを決定し、第2保持部16に
送出する。
Modulus 9 arithmetic unit 15, the upper bar code B 1 of 13 digits of data held in the first holding portion 13 (figures) of C21~C2B held in the lower bar code data holding section 14 11-digit data From (numerical), by the method of modulus 9 described above,
The overall check character C2C is determined and transmitted to the second holding unit 16.

第2モジュラス10演算部17は、第2保持部16に保持さ
れたC21〜C2Cの12桁のデータ(数字)から、前記のモジ
ュラス10の手法により、下段データのチエックキャラク
タC2Dを決定して下段バーコードB2の数字を完成し、第
3保持部18に送出する。
The second modulus 10 calculation unit 17 determines the check character C2D of the lower data from the 12-digit data (numerals) of C21 to C2C held in the second holding unit 16 by the method of the modulus 10 described above. to complete the number of the bar code B 2, and sends to the third holding portion 18.

第1保持部13に保持された上段バーコードB1の数字
と、第3保持部18に保持された下段バーコードB2の数字
はバーコード印刷部に送出され印字印刷に供される。
And numbers of the upper bar code B 1 held by the first holding portion 13, the numbers of the lower bar code B 2 held in the third holding unit 18 is subjected to be delivered to the bar code printing section printing printing.

第2図(b)は本発明のバーコードのチエックキャラ
クタ読取り装置を示す一実施例構成図である。
FIG. 2 (b) is a block diagram showing an embodiment of a bar code check character reading apparatus according to the present invention.

第2図(b)において、21はバーコード読取り部であ
って、例えば第1図(a)に示す如きバーコードを読取
るものの、22は復元部であって、読取ったバーコードを
データ(数字)に復元するもの、23は上段・下段選別部
であって、復元されたデータ(数字)を後述する手法に
より、上段コードと下段コードに選別するもの、24は第
1保持部(メモリ)であって、上段バーコードB1のデー
タ(数字)を保持するもの、25は第2保持部(メモリ)
であって、下段バーコードB2のデータ(数字)を保持す
るものであり、これらのバーコード読取り部21〜第2保
持部25が、第1図(b)におけるバーコード読取手段1
に対応する。
In FIG. 2 (b), reference numeral 21 denotes a bar code reading unit which reads a bar code as shown in FIG. 1 (a), for example. ), 23 is an upper / lower selector for selecting the restored data (numerals) into an upper code and a lower code by a method described later, and 24 is a first holding unit (memory). there are, to hold the upper bar code B 1 data (numbers), 25 second holding portions (memories)
A is, which holds the lower bar code B 2 data (numbers), these bar code reading portion 21 to the second holding portion 25, the bar code reading means 1 in FIG. 1 (b)
Corresponding to

26は第1モジュラス10チエック部であって、上段コー
ドのチエックキャラクタC1dの数字を使用してモジュラ
ス10チエック方式により上段バーコードB1の読取りデー
タをチエックするもの、27は第2モジュラス10チエック
部であって、下段バーコードB2のチエックキャラクタC2
Dを使用してモジュラス10チエック方式により、下段の
読取りデータをチエックするものである。
26 is a first modulus 10 check unit, which check the reading data of the upper bar code B 1 by modulus 10 check method by using digits check character C1d of the upper cord, the second modulus 10 check unit 27 a is, the lower the bar code B 2 check character C2
The data read at the lower stage is checked by using the modulus 10 check method using D.

第1モジュラス10チエック部26と第2モジュラス10チ
エック部27が第1図(b)における第1チエック部に対
応する。
The first modulus 10 check section 26 and the second modulus 10 check section 27 correspond to the first check section in FIG. 1 (b).

モジュラス9チエック部3は第1図(b)における第
2チエック部に対応し、上段バーコードB1、下段バーコ
ードB2の読取りデータが正確か否かを総合チエックキャ
ラクタであるC2Cの数字を使用してチエックするもので
ある。
The modulus 9 check section 3 corresponds to the second check section in FIG. 1 (b), and determines whether or not the read data of the upper bar code B 1 and the lower bar code B 2 is correct by checking the C2C number which is a comprehensive check character. Use to check.

なお、4はオア回路である。なお第2図(b)におい
て、上段・下段選別23以降の後述する各処理は図示しな
いマイクロプロセッサとこれを作動させるプログラム及
びレジスタ、コンパレータ、演算部により遂行される。
Reference numeral 4 denotes an OR circuit. In FIG. 2 (b), each process described below after the upper / lower selection 23 is executed by a microprocessor (not shown) and a program, a register, a comparator, and an arithmetic unit for operating the microprocessor.

前記多段式バーコードはバーコード読取部21で読取ら
れ、復元部22において数字に復元される。復元された各
コードの数字は上段・下段選別部23において、上段コー
ドと下段コードに選別される。この選別はバーコードの
最初の2桁の数値によって判断され、この2桁が例えば
数値20〜24の場合は上段バーコードB1(第1図(a)の
C11、C12参照)、例えば数値25〜29の場合は下段バーコ
ードB2(第1図(a)のC21、C22参照)を示すものとし
て使用されるので、主に各バーコードB1、B2の最初の2
桁を点検して選別され、上段バーコードB1のデータは第
1保持部24、下段バーコードのデータは第2保持部25に
保持される。
The multi-stage barcode is read by a barcode reading unit 21 and is restored to a numeral by a restoration unit 22. The restored numbers of the codes are sorted into an upper code and a lower code by the upper / lower selector 23. This selection is determined by the first two digits of the bar code. If the two digits are numerical values 20 to 24, for example, the upper bar code B 1 (FIG. 1 (a))
C11, C12 reference), for example, numerical since in the case of 25 to 29 is used as an indication of lower barcode B 2 references C21, C22 (first diagram (a)), primarily the bar code B 1, B 2 of the first two
It sorted Inspect the digits, data of the upper bar code B 1 represents a first holding portion 24, the data of the lower bar code is held in the second holding portion 25.

次に第1モジュラス10チエック部26において、第1保
持部24に保持されたデータ(数字)が正しいか否かを従
来と同様の方法でチエックする。即ち、第1図(a)の
場合、例えば奇数番目の数の和(2+0+0+0+0+
0+8=10)と、偶数番目の数の和(0+0+0+0+
0+0=0)の3倍(即ち0)との和(即ち10)が10の
倍数になっているか否かをチエックする。ここで異常が
あれば従来技術としてなされているようにアラーム信号
をオア回路4を経由して出力する。
Next, the first modulus 10 checking section 26 checks whether or not the data (numerals) held in the first holding section 24 is correct in the same manner as in the related art. That is, in the case of FIG. 1A, for example, the sum of the odd-numbered numbers (2 + 0 + 0 + 0 + 0 +
0 + 8 = 10) and the sum of the even-numbered numbers (0 + 0 + 0 + 0 +
It is checked whether or not the sum (ie, 10) of three times (ie, 0) of (0 + 0 = 0) is a multiple of ten. If there is any abnormality, an alarm signal is output via the OR circuit 4 as in the prior art.

第1モジュラス10チエック部26において、読取られた
バーコードが正常であると判断されると第2モジュラス
10チエック部27において、第2保持部25に保持された下
段バーコードB2のデータ(数字)が正しいか否かを上記
と同様の方法でチエックする。即ち、第1図(a)の場
合、例えば奇数番目の数の和(2+0+0+0+0+0
+3=5)と、偶数番目の数の和(9+0+0+0+0
+6=15)の3倍(即ち15×3=45)との和(即ち5+
45=50)が10の倍数になっているか否かをチエックす
る。ここで異常があれば、オア回路4を経由してアラー
ム信号を出力する。
In the first modulus 10 check section 26, if it is determined that the read barcode is normal, the second modulus
In 10 check unit 27, whether the lower barcode B 2 of the data held in the second holding portion 25 (figures) is correct to check in the same manner as described above. That is, in the case of FIG. 1A, for example, the sum of the odd-numbered numbers (2 + 0 + 0 + 0 + 0 + 0)
+ 3 = 5) and the sum of even-numbered numbers (9 + 0 + 0 + 0 + 0)
+ 6 = 15) and the sum of three times (ie, 15 × 3 = 45) (ie, 5+
Check if 45 = 50) is a multiple of 10. If there is an abnormality, an alarm signal is output via the OR circuit 4.

第2モジュラス10チエック部27において、読取られた
バーコードが正常であると判断されると、モジュラス9
チエック部3において、第1保持部24に保持された上段
バーコードB1のデータ(数字)と第2保持部25に保持さ
れた下段バーコードB2のデータ(数字)とから、総合チ
エックが行われる。
In the second modulus 10 check section 27, when it is determined that the read barcode is normal, the modulus 9
In the check unit 3, an integrated check is obtained from the data (numerical value) of the upper bar code B 1 held in the first holding unit 24 and the data (numerical value) of the lower bar code B 2 held in the second holding unit 25. Done.

即ち、第1図(a)の場合、例えば上段・下段コード
のC2Dを除く全てのデータ(数字)の和(2+0+0+
0+0+0+0+0+0+0+0+0+8+2+9+0
+0+0+0+0+0+0+0+0+6=27)が、9の
倍数であるか否かをチエックする。ここで異常があれば
オア回路を経由してアラーム出力する。
That is, in the case of FIG. 1A, for example, the sum (2 + 0 + 0 +) of all data (numerics) except C2D of the upper and lower codes
0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 8 + 2 + 9 + 0
+ 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 6 = 27) is checked to see if it is a multiple of nine. If there is any abnormality, an alarm is output via the OR circuit.

モジュラス9チエック部3において、読取られたバー
コードが正常であると判断されると、正常出力され例え
ば図示しない上位装置(バーコードデータの管理、処理
等を行う装置)へ送られその旨表示される。
When the modulus 9 check unit 3 determines that the read barcode is normal, the barcode is normally output and sent to, for example, a higher-level device (a device for managing and processing barcode data, etc.) not shown and displayed to that effect. You.

なお、上記実施例においては、各段B1、B2毎の個別チ
エックキャラクタの作成の際、第1モジュラス10演算部
12と第2モジュラス10演算部17(第2図(a)参照)を
別個のものとして説明したが、これらは同一のモジュラ
ス10演算部で共用することができる。
In the above embodiment, the first modulus 10 arithmetic unit is used when creating individual check characters for each of the stages B 1 and B 2.
Although 12 and the second modulus 10 operation unit 17 (see FIG. 2 (a)) have been described as being separate, they can be shared by the same modulus 10 operation unit.

またバーコード全体のチエック方式としてモジュラス
9チエック方式を用いる例について説明したが、本発明
はこれに限られずモジュラス10チエック(単にその和が
10の倍数であることをチエックする方式でも、偶数番目
の数の和を3倍する方式でもよい)、モジュラス8チエ
ック等の他の方式を用いてもよいことはもちろんであ
る。
Also, an example in which the modulus 9 check method is used as the check method for the entire bar code has been described. However, the present invention is not limited to this, and the modulus 10 check method (the sum of
Of course, a method of checking that the number is a multiple of 10 or a method of multiplying the sum of even-numbered numbers by three) or a method of using a modulus 8 check may be used.

なお正常と判断されると、第1保持部24、第2保持部
25のデータは上位装置へ送られる。
If it is determined to be normal, the first holding unit 24 and the second holding unit
25 data are sent to the host device.

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

本発明によれば、従来の各段毎のチエックキャラクタ
によるチエックの他に、コード全体の総合チエックも行
えるため、多段式バーコードの誤読率を低下することが
できる。
According to the present invention, in addition to the conventional check using a check character for each row, a comprehensive check of the entire code can be performed, so that the misreading rate of a multi-row bar code can be reduced.

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

第1図は本発明の発明原理図、 第2図(a)および(b)はそれぞれ本発明のバーコー
ドチエックキャラクタの作成装置及び読取り装置の一実
施例構成図、 第3図はモジュラス10チエック方式説明図である。 1……バーコード読取り手段、 2……第1チエック手段、 3……第2チエック手段、 4……オア回路。
FIG. 1 is a diagram showing the principle of the present invention, FIGS. 2 (a) and 2 (b) are diagrams each showing an embodiment of a bar code check character creating apparatus and a reading apparatus according to the present invention, and FIG. 3 is a modulus 10 check. FIG. 1 ... bar code reading means, 2 ... first check means, 3 ... second check means, 4 ... OR circuit.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】それぞれチェックキャラクタを有する、複
数のキャラクタから構成されるバーコードが複数段組み
合わされた多段式バーコードにおいて、 前記複数段の各段に設けられた段別のチェックキャラク
タとともに、組み合わされた多段式バーコード全体のチ
ェックを行うための総合チェックキャラクタを少なくと
も1キャラクタ設けたことを特徴とするバーコード。
1. A multi-stage barcode in which a plurality of barcodes each comprising a plurality of characters, each having a check character, are combined together with a check character for each of the plurality of stages. A bar code provided with at least one comprehensive check character for checking the entire multi-stage bar code.
【請求項2】バーコードを読み取り、バーコードデータ
を生成するバーコード読取手段と、 バーコードに付されたチェックコードにより、読み取ら
れたバーコードデータをチェックする第1チェック手段
と、 それぞれにチェックコードが付された複数のバーコード
から構成された多段バーコードに設けられる、前記多段
バーコード全体のチェックを行うための総合チェックキ
ャラクタを用いて、読み取られた複数段のバーコードを
総合的にチェックする第2チェック手段とを具備し、 前記第1及び第2チェック手段により、読み取られた多
段バーコードのチェックを行うことを特徴とする、バー
コード読取装置。
2. A bar code reading means for reading a bar code and generating bar code data, and a first check means for checking the read bar code data by a check code attached to the bar code. Using a comprehensive check character for checking the entire multi-stage barcode provided on the multi-stage barcode composed of a plurality of barcodes to which codes are attached, the read multi-stage barcode is comprehensively converted. A bar code reading device, comprising: a second check unit for checking, wherein the first and second check units check the read multi-stage bar code.
JP1195756A 1989-07-28 1989-07-28 Barcode and barcode reader Expired - Fee Related JP2746673B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1195756A JP2746673B2 (en) 1989-07-28 1989-07-28 Barcode and barcode reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1195756A JP2746673B2 (en) 1989-07-28 1989-07-28 Barcode and barcode reader

Publications (2)

Publication Number Publication Date
JPH0359789A JPH0359789A (en) 1991-03-14
JP2746673B2 true JP2746673B2 (en) 1998-05-06

Family

ID=16346439

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1195756A Expired - Fee Related JP2746673B2 (en) 1989-07-28 1989-07-28 Barcode and barcode reader

Country Status (1)

Country Link
JP (1) JP2746673B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006040046A (en) * 2004-07-28 2006-02-09 Sony Corp Information processing system and information processing method
JP4577101B2 (en) * 2005-06-08 2010-11-10 株式会社デンソーウェーブ Information code, information code reader, and data update system for information code reader
KR100784224B1 (en) * 2006-05-24 2007-12-11 주식회사 케이티프리텔 Method and device for decoding multi-code having code information for plural uses
KR101106242B1 (en) * 2009-09-01 2012-01-18 (주)탑프레쉬 packing box comprising having device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62175526A (en) * 1986-01-30 1987-08-01 Sharp Corp Microwave oven
JPS63316122A (en) * 1987-06-19 1988-12-23 Nec Corp Multiple stage type bar code read processing device

Also Published As

Publication number Publication date
JPH0359789A (en) 1991-03-14

Similar Documents

Publication Publication Date Title
US4833609A (en) ERC with operator prompting for entering quantity of selected multi-item packaged goods
US4533825A (en) Bar code recognition apparatus
JP2746673B2 (en) Barcode and barcode reader
JP2753260B2 (en) Merge method
US6182071B1 (en) Sorting and summing record data including generated sum record with sort level key
JPH05114087A (en) Low price priority system in different price bundle
JP2730273B2 (en) Barcode reading device and barcode reading method
JPH04145575A (en) Method and device for inspecting shipping commodity
JP2761251B2 (en) Barcode reading method
KR950002014B1 (en) Barcode data managing method for cash register
JPH06211316A (en) Picking device for every shipping item
JPH036789A (en) Multi-stage bar code reader
JPS63316122A (en) Multiple stage type bar code read processing device
JPS62157996A (en) Electronic type cash register
JP2000348130A (en) Bar code symbol reader
JPH02230483A (en) Reading method of multistage code
JPH0581460A (en) Bar code reader
JP3044718B2 (en) Information processing device
JPS63197290A (en) Bar code reader
JPH0395692A (en) Check digit setting system
JPH05258133A (en) Delivery product detection device
JP2716269B2 (en) Product sales registration device
JPS63165989A (en) Sale registration processor
JPH09319822A (en) Multi-stage code reader
JPH04277887A (en) Add-on bar code reader

Legal Events

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

Free format text: PAYMENT UNTIL: 20080213

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090213

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees