JP3658972B2 - Bar code reading device, bar code reading method and recording medium - Google Patents

Bar code reading device, bar code reading method and recording medium Download PDF

Info

Publication number
JP3658972B2
JP3658972B2 JP03095198A JP3095198A JP3658972B2 JP 3658972 B2 JP3658972 B2 JP 3658972B2 JP 03095198 A JP03095198 A JP 03095198A JP 3095198 A JP3095198 A JP 3095198A JP 3658972 B2 JP3658972 B2 JP 3658972B2
Authority
JP
Japan
Prior art keywords
barcode
digits
reading
bar code
data read
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
JP03095198A
Other languages
Japanese (ja)
Other versions
JPH11232371A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP03095198A priority Critical patent/JP3658972B2/en
Publication of JPH11232371A publication Critical patent/JPH11232371A/en
Application granted granted Critical
Publication of JP3658972B2 publication Critical patent/JP3658972B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、イメージセンサなどを用いバーコード上を電気的に走査し、JAN(Japan Article Numbering)、EAN(EuropeArticle Numbering)、UPC(Universal Product Code)とNW−7、CODE39、ITF(Interleaved 2 of 5)、STF(Standard 2 of 5)、CODE93、CODE128などの様々な種類、桁数のバーコードを読み取るバーコードリーダ及びバーコード読み取り方法および記録媒体に関するものである。
【0002】
【従来の技術】
バーコードラベルには様々な桁数または種類が存在し、例えばバーコード種類JAN−13などは13桁である。13桁ラベルを読み取る際、外的要因により3桁、4桁などのバーコード種類がNW−7として誤って読み取る(誤読する)という問題点がある。
【0003】
また同様に、JAN−13の13桁のラベルを誤って、NW−7の13桁ラベルと誤って読み取る(誤読する)という問題点がある。
【0004】
このような問題点を防止する為に、予め設定された、照合回数(n)だけ読み取って、そのいずれもが同一であるときにデータが有効であるとして、上位装置(例えばPOS)に送信するのが一般的である。
【0005】
照合回数(n)は不揮発性メモリ(例えばEEPROM)に書き込まれた値である。また、使用するバーコードの印刷品質が悪いときなどは、誤読対策を強化する為に照合回数(n)を増加させることもできる。
【0006】
図2は従来のバーコード読み取り方法を示したものである。
センサより入力されたバー幅データを解析してバーコードデータを得る(Step.1)。
【0007】
読み取りデータ格納バッファ(記憶部)が空であることを確認する(Step.2)。 Step.2の結果バッファが空であれば読み取ったバーコードデータをバッファにセットする(Step.8)。
【0008】
照合回数を変数nにセットする(Step.9)。
Step.9終了後Step.1へ処理を移行する。
【0009】
Step.2の結果バッファが空でない時は、バッファ内のデータと今回の読み取りデータの照合処理を実行する(Step.3)。
【0010】
バッファ内のデータと同じ時は照合OKとして照合回数(n)を1減じる(Step.4)。
【0011】
Step.4の結果 n=0となれば、照合処理を終了として、上位機器へデータを送信する(Step.6)。
【0012】
バッファ内のデータと今回のデータが異なる場合は、バッファをクリアする(Step.7)。
【0013】
Step.7終了後Step.1へ処理を移行する。これにより照合処理のやり直しが行われる。
【0014】
【発明が解決しようとする課題】
このような、従来のバーコード読み取り方法では、誤読対策を強化するときにはStep.9にてセットする照合回数(n)を増加させる必要がある。しかし、これにより、バーコード読み取り速度が全体として低下する問題がある。
【0015】
バーコードの高速読み取りを実現しようとした場合、この問題は顕著に現れる。よって、本発明の目的は、誤読の発生確率の低減を実現する読み取り方法および装置を提供することにある。
【0016】
【課題を解決するための手段】
本発明は上記目的を達成する為に、まず基準桁数(k)を設定する。読み取りデータの桁数がkより少ない場合は、誤読データである可能性が高い為、照合回数(n)を多く設定する。
【0017】
基準桁数よりも桁数が多いバーコードを読み取った時は正常データであるとして照合回数(n)を少なく設定する。
【0018】
また前回読み取ったバーコード種類と、今回読み取ったバーコード種類が異なる場合も誤読発生の確率が高い為、照合回数(n)を多く設定する。
【0019】
【発明の実施の形態】
上記に示すように、本発明の読み取り方法では、読み取りバーコードデータの桁数または、種類の変化により、照合回数(n)を増減させることにより、誤読発生確率を低減する。また、桁数の少ないバーコードのデコード(解析)時間は桁数の長いバーコードに比較して短いため、照合回数を増やしても、読み取り速度はさほど低下しない。
【0020】
図3は発明したバーコード読み取り方法を示したものである。
センサより入力されたバーコードイメージを解析してバーコードデータを得る(Step.10)。 読み取りデータ格納バッファが空であることを確認する(Step.11)。 Step.11の結果バッファが空であれば読み取ったバーコードデータをバッファにセットする(Step.17)。 読み取りデータ桁数と基準桁数を比較する(Step.18)。
【0021】
Step.18の結果、データ桁数が基準桁数より小さい場合(図中 YES分岐)照合回数(大)を変数nにセットする(Step.19)。 データ桁数が基準桁数より大きい場合(図中 NO分岐)前回のバーコード種類と、今回読み取ったバーコード種類を比較する(Step.20)。
【0022】
種類が異なれば照合回数(大)を変数(n)にセットする(Step.21)。 種類が同じであれば照合回数(小)を変数(n)にセットする(Step.22)。
【0023】
Step.11の結果バッファが空でない時(図中 NO分岐)は、バッファ内のデータと今回の読み取りデータの照合処理を行う(Step.12)。
【0024】
Step.12の結果バッファ内のデータと同じ時は照合OKとして照合回数(n)を1減じる(Step.13)。
【0025】
Step.13の結果 n=0となれば、照合処理を終了として、上位機器へデータを送信する(Step.14 Step.15)。
【0026】
Step.13の結果 n≠0となれば、照合処理が未完であるので Step.10に戻る(Step.14)。
【0027】
Step.12の結果バッファ内のデータと今回のデータが異なる場合は、バッファをクリアする(Step.16)。
【0028】
Step.16終了後Step.1へ処理を移行する。これにより照合処理のやり直しが行われる。
【0029】
ここで示した基準桁数(k)は、不揮発性メモリ(例えばEEPROM)に記憶されており、必要に応じて変更することが可能である。
【0030】
桁数が誤る誤読例を以下に示す。
データ”4912345678904”の13桁データを読み取り時に、”スキャナ読み取り口がラベル上に正常に当たらない”、”ラベルの印刷状態が悪い”、”使用者の手ブレ”等の外的要因にて3桁のデータ”ala”が誤って認識された時を例として考える。バーコードリーダへの入力データ(8回のデータ取込みを実施後)は図4のような場合を想定する。また各方法での条件を以下のように定める。
【0031】
比較例:照合回数 2回
本実施の形態:照合回数(小)2回、照合回数(大)5回、基準桁数5桁
比較例では照合回数が1律2回に設定されている為、1、2回目の入力データは、3回目の入力データによって破棄される。3、4、5回目のデータ「ala」により2回の照合処理が完了し、上位機器に誤読データ「ala」が送信されてしまう。またその後の6,7,8回目のデータ「4912345678904」により2回の照合処理が完了し、上位機器に正常データ「4912345678904」が送信される。
【0032】
これより、比較例の方法にて上記並びでのデータ入力で誤読データ「ala」を排除しようとした場合、照合回数を「3回」以上に設定しなければならない。例えば照合回数(n)を5回に設定すると、正常データ入力時も5回の照合を行う為、読み取り速度が低下してしまう。
【0033】
本実施形態の方法では、1回目のデータ読み取り時にバッファにデータがセットされると共に、照合回数(小)2回がセットされる。2回目のデータ「4912345678904」は照合処理をパスするが、3回目のデータ「ala」により無効となる。また3回目のデータ「ala」をバッファにセットすると共に照合回数(大)5回がセットされる。4、5回目の読み取りデータは照合処理をパスするが、6回目の入力データにより無効となる。6回目のデータをバッファにセットすると共に照合回数(小)2回がセットする。7、8回目のデータが照合処理をパスするので、バーコードリーダは上位機器に「4912345678904」を読み取りデータとして送信する。誤読データ「ala」は誤読データとしてバーコードリーダに認識され上位機器には送信されない。このように正常である可能性の高いデータの照合回数を小さく、誤りである可能性の高いデータの照合回数を大きく設定することで、読み取り速度を低下させることなく、誤読を排除することが可能となる。
【0034】
バーコードの種類が誤る誤読例を以下に示す。
バーコード種類 JAN−13 データ“4912345678904”の13桁データを読み取り時に、”スキャナ読み取り口がラベル上に正常に当たらない”、”ラベルの印刷状態が悪い”、”使用者の手ブレ”等の外的要因にて13桁のデータ”a91234567890a”が誤って認識された時を例として考える。バーコードリーダへの入力データ(11回のデータ取り込みを実施後)は図5のような場合を想定する。また各方法での条件を以下のように定める。
【0035】
比較例の方法:照合回数 2回
本実施形態の方法:照合回数(小)2回、照合回数(大)5回、基準桁数5桁比較例の方法では1、2回目の入力データは、3回目の入力データによって破棄される。3、4、5回目のデータ「a912345678990a」により2回の照合処理が完了し、上位機器に誤読データ「a91234567890a」が送信される。またその後の6、7、8回目のデータ「4912345678904」により2回の照合処理が完了し、上位機器に正常データ「49122345678904」が送信される。これより、比較例の方法にて上記並びでのデータ入力で誤読データ「a91234567890a」を排除しようとした場合、照合回数を「3回」以上に設定しなければならない。例えば照合回数(n)を5回に設定すると、正常データ入力時も常に5回の照合を行うため、読み取り速度が低下してしまう。
【0036】
本実施形態の方法では、1回目のデータ読み取り時にバッファにデータがセットされると共に、照合回数(小)2回がセットされる。2回目のデータ「4912345678904」は照合処理をパスするが、3回目のデータ「a91234567890a」により、無効となる。また3回目のデータ「a91234567890a」をバッファにセットすると共にバーコード種類が異なるため照合回数(大)5回がセットされる。4、5回目の読み取りデータは照合処理をパスするが、6回目の入力データにより無効となる。6回目のデータをバッファにセットすると共に照合回数(大)5回をセットする。7、8、9、10、11回目のデータが照合処理をパスするので、バーコードリーダは上位機器に「4912345678904」を読み取りデータとして送信する。誤読データ「a91234567890a」は誤読データとしてバーコードリーダに認識される。このように読み取られたバーコード種類が変更されたときに照合回数を大きく設定する。実際にバーコードリーダが使用される店舗などでは、同じ種類のバーコードを速読して読み取ることが多い。本実施形態の方式では、誤読発生直後の読み取りには時間がかかるが、その後の読み取りは照合回数2回で行われるため、読み取り速度が低下することはない。また誤読が発生した直後のセンサからの波形は信頼性が低いものとして照合回数を多く設定することで、読み取りデータの信頼性を高めている。
【0037】
一般的に誤読発生時のデータ入力は上記の例に示したものが多い。よって本実施形態の読み取りアルゴリズムを採用することにより、誤読発生確率の低減することができる。
【0038】
また本実施の形態ではプログラムによって実現し、これをフロッピーディスク等の記録媒体に記録して移送することにより、独立した他のコンピュータシステムで容易に実施することができる。図6は、これをフロッピーディスクで実施する場合を説明する図である。
【0039】
図6(a)は、記録媒体であるフロッピーディスクの物理フォーマットの例を示す図である。同心円状に外周から内周に向かってトラックを作成し、角度方向に16のセクタに分割している。このように割り当てられた領域に従って、プログラムを記録する。
【0040】
図6(b)は、このフロッピーディスクを収納するケースを説明する図である。左からフロッピーディスクケースの正面図、およびこの断面図、そしてフロッピーディスクをそれぞれ示す。このようにフロッピーディスクをフロッピーディスクケースに収納することにより、フロッピーディスクを埃や外部からの衝撃から守り、安全に移送することができる。
【0041】
図6(c)は、フロッピーディスクにプログラムの記録再生を行うことを説明する図である。図示のようにコンピュータシステムにフロッピーディスクドライブを接続することにより、フロッピーディスクに対してプログラムを記録再生することが可能となる。フロッピーディスクはフロッピーディスクドライブにフロッピー挿入口を介して組み込み、および取り出しがなされる。記録する場合は、コンピュータシステムからプログラムをフロッピーディスクドライブによってフロッピーディスクに記録する。再生する場合は、フロッピーディスクドライブがプログラムをフロッピーディスクから読み出し、コンピュータシステムに転送する。
【0042】
なお、この実施の形態においては、記録媒体としてフロッピーディスクを用いて説明を行ったが、光ディスクを用いても同様に行うことができる。また記録媒体はこれらに限らず、ICカード、ROMカセット等、プログラムを記録できるものであれば、同様に実施することができる。
【0043】
【発明の効果】
本発明によれば読み取りデータの桁数、種類の変化により照合回数を増減させることで誤読率を飛躍的に低減することが可能である。また、桁数の少ないラベルは読み取り時間が短い為に、照合回数を増やしても、読み取り速度は低下しない。この為、誤読率の低減と、読み取り速度の向上が可能となる。
【図面の簡単な説明】
【図1】本発明の一態様の原理を示すブロック図
【図2】発明したバーコード読み取り方法のフローチャート
【図3】桁数が誤るデータ例を示した図
【図4】バーコード種類が誤るデータ例を示した図
【図5】(a)記録媒体本体であるフロッピーディスクの物理フォーマットの例を示す図
(b)フロッピーディスクを収納するケースを説明する図
(c)フロッピーディスクにプログラムの記録再生を行うことを説明する図
【図6】従来のバーコード読み取り方法のフローチャート
【符号の説明】
1a 読み取り部
1b 桁数算出部
1c バーコード種類判定部
1d 記憶部
1e 比較部
1f 設定部
1g データ送信部
[0001]
BACKGROUND OF THE INVENTION
The present invention electrically scans a barcode using an image sensor or the like, and performs JAN (Japan Articulated Numbering), EAN (European Articulated Numbering), UPC (Universal Product Code) and NW-7, CODE39, ITF (Interleaved). The present invention relates to a barcode reader, a barcode reading method, and a recording medium for reading barcodes of various types and numbers of digits, such as 5), STF (Standard 2 of 5), CODE93, and CODE128.
[0002]
[Prior art]
There are various numbers or types of barcode labels. For example, the barcode type JAN-13 has 13 digits. When reading a 13-digit label, there is a problem that a barcode type such as 3 digits or 4 digits is erroneously read as NW-7 due to an external factor.
[0003]
Similarly, there is a problem that a 13-digit label of JAN-13 is erroneously read (misread) as a 13-digit label of NW-7.
[0004]
In order to prevent such a problem, a predetermined number of times of collation (n) is read, and when all of them are the same, the data is regarded as valid and transmitted to a higher-level device (for example, POS). It is common.
[0005]
The number of verifications (n) is a value written in a nonvolatile memory (for example, EEPROM). In addition, when the printing quality of the barcode used is poor, the number of collations (n) can be increased in order to strengthen countermeasures against misreading.
[0006]
FIG. 2 shows a conventional barcode reading method.
The bar width data input from the sensor is analyzed to obtain bar code data (Step 1).
[0007]
It is confirmed that the read data storage buffer (storage unit) is empty (Step 2). Step. If the result buffer of 2 is empty, the read barcode data is set in the buffer (Step 8).
[0008]
The number of verifications is set in the variable n (Step. 9).
Step. Step 9 after completion of Step. The process is shifted to 1.
[0009]
Step. When the result buffer of 2 is not empty, collation processing of the data in the buffer and the current read data is executed (Step 3).
[0010]
When it is the same as the data in the buffer, the verification number (n) is reduced by 1 as verification OK (Step 4).
[0011]
Step. If the result of 4 is n = 0, the collation process is terminated and the data is transmitted to the higher-level device (Step 6).
[0012]
If the data in the buffer is different from the current data, the buffer is cleared (Step 7).
[0013]
Step. After the completion of Step. The process is shifted to 1. Thereby, the collation process is performed again.
[0014]
[Problems to be solved by the invention]
In such a conventional barcode reading method, Step. It is necessary to increase the number of collations (n) set at 9. However, this causes a problem that the barcode reading speed is lowered as a whole.
[0015]
This problem becomes noticeable when trying to achieve high-speed barcode reading. Therefore, an object of the present invention is to provide a reading method and apparatus that realizes a reduction in misreading probability.
[0016]
[Means for Solving the Problems]
In order to achieve the above object, the present invention first sets a reference digit number (k). When the number of digits of the read data is less than k, there is a high possibility that it is misread data, and therefore the number of collations (n) is set to be large.
[0017]
When a bar code having more digits than the reference digit is read, the number of collations (n) is set to be small as normal data.
[0018]
Also, when the barcode type read last time and the barcode type read this time are different, the probability of misreading is high, so the number of collations (n) is set to be large.
[0019]
DETAILED DESCRIPTION OF THE INVENTION
As described above, in the reading method according to the present invention, the probability of misreading is reduced by increasing or decreasing the number of verifications (n) by changing the number of digits or the type of read barcode data. In addition, since the decoding (analysis) time of a barcode with a small number of digits is shorter than that of a barcode with a large number of digits, the reading speed does not decrease much even if the number of collations is increased.
[0020]
FIG. 3 shows an invented barcode reading method.
The barcode image input from the sensor is analyzed to obtain barcode data (Step 10). It is confirmed that the read data storage buffer is empty (Step 11). Step. If the result buffer of 11 is empty, the read barcode data is set in the buffer (Step 17). The read data digit number is compared with the reference digit number (Step 18).
[0021]
Step. As a result of 18, when the number of data digits is smaller than the reference digit number (YES branch in the figure), the number of collations (large) is set to the variable n (Step 19). When the number of data digits is larger than the reference digit number (NO branch in the figure), the previous barcode type is compared with the barcode type read this time (Step 20).
[0022]
If the types are different, the number of collations (large) is set in the variable (n) (Step 21). If the types are the same, the number of collations (small) is set in the variable (n) (Step 22).
[0023]
Step. When the result buffer of 11 is not empty (NO branch in the figure), the data in the buffer is compared with the current read data (Step 12).
[0024]
Step. When the result is the same as the data in the result buffer of 12, the verification number (n) is decreased by 1 as verification OK (Step 13).
[0025]
Step. If the result of 13 is n = 0, the collation process is terminated, and the data is transmitted to the higher-level device (Step. 14 Step. 15).
[0026]
Step. If the result of 13 is n ≠ 0, the verification process is incomplete. Return to step 10 (Step 14).
[0027]
Step. If the data in the 12 result buffer and the current data are different, the buffer is cleared (Step 16).
[0028]
Step. After Step 16, Step. The process is shifted to 1. Thereby, the collation process is performed again.
[0029]
The reference number of digits (k) shown here is stored in a non-volatile memory (for example, EEPROM), and can be changed as necessary.
[0030]
An example of misreading with incorrect digits is shown below.
When reading 13 digits of data “492123678904”, 3 due to external factors such as “scanner reading port does not hit the label normally”, “label printing condition is bad”, “user shake” Consider the case where the digit data “ala” is erroneously recognized. It is assumed that the input data to the bar code reader (after eight data acquisitions) is as shown in FIG. The conditions for each method are determined as follows.
[0031]
Comparative example: Number of verifications 2 times This embodiment: Number of verifications (small) 2 times, Number of verifications (large) 5 times, Reference digit 5 digits In the comparative example, the number of verifications is set to 2 times. The first and second input data are discarded by the third input data. Two verification processes are completed by the third, fourth, and fifth data “ala”, and misread data “ala” is transmitted to the host device. In addition, the second collation process is completed by the sixth, seventh, and eighth data “4921345678904”, and the normal data “492123678904” is transmitted to the host device.
[0032]
Thus, when the misread data “ala” is to be eliminated by the data input in the above-described arrangement by the method of the comparative example, the number of collations must be set to “3 times” or more. For example, if the number of collations (n) is set to 5, collation is performed 5 times even when normal data is input, so the reading speed is reduced.
[0033]
In the method of the present embodiment, data is set in the buffer at the time of the first data reading, and the collation count (small) is set to 2 times. The second data “4921345678904” passes the collation process, but is invalidated by the third data “ala”. In addition, the third data “ala” is set in the buffer, and the collation count (large) is set to 5 times. The fourth and fifth reading data pass the verification process, but are invalidated by the sixth input data. The sixth data is set in the buffer and the number of collations (small) is set twice. Since the 7th and 8th data passes the collation process, the barcode reader transmits “491234568784” as read data to the host device. The misread data “ala” is recognized by the bar code reader as misread data and is not transmitted to the host device. In this way, it is possible to eliminate misreading without reducing the reading speed by setting the number of times that data that is likely to be normal is low and the number of times that data that is likely to be incorrect is high. It becomes.
[0034]
An example of misreading with the wrong barcode type is shown below.
When reading 13-digit data of barcode type JAN-13 data “492123456789904”, “Scanner reading port does not hit the label properly”, “Label printing is bad”, “User shake”, etc. Consider a case where 13-digit data “a912345567890a” is erroneously recognized due to an external factor. It is assumed that the input data to the bar code reader (after 11 data acquisitions) is as shown in FIG. The conditions for each method are determined as follows.
[0035]
Method of comparative example: Number of collation 2 times Method of this embodiment: Number of collation (small) 2 times, number of collation (large) 5 times, reference digit number 5 digits In the method of comparative example, the first and second input data is Discarded by the third input data. The second collation process is completed by the third, fourth, and fifth data “a912345678990a”, and the misread data “a912345567890a” is transmitted to the host device. Further, the subsequent six, seventh, and eighth data “491123456784” complete the two-time collation processing, and normal data “491122345678904” is transmitted to the host device. Accordingly, when the misread data “a912345567890a” is to be excluded by the data input in the above-described arrangement by the method of the comparative example, the number of collations must be set to “3 times” or more. For example, if the number of verifications (n) is set to 5 times, since the verification is always performed 5 times even when normal data is input, the reading speed decreases.
[0036]
In the method of the present embodiment, data is set in the buffer at the time of the first data reading, and the collation count (small) is set to 2 times. The second data “4921345678904” passes the verification process, but becomes invalid due to the third data “a912345567890a”. The third data “a912345567890a” is set in the buffer and the number of collations (large) is set to 5 because the bar code type is different. The fourth and fifth reading data pass the verification process, but are invalidated by the sixth input data. The sixth data is set in the buffer and the number of verifications (large) is set to five. Since the seventh, eighth, ninth, tenth, and eleventh data pass the collation process, the barcode reader transmits “491234567904” as read data to the host device. The misread data “a912345567890a” is recognized by the bar code reader as misread data. When the barcode type read in this way is changed, the number of collations is set large. In a store where a barcode reader is actually used, the same type of barcode is often read at high speed. In the method of the present embodiment, it takes time to read immediately after the occurrence of misreading, but since the subsequent reading is performed with the number of collations twice, the reading speed does not decrease. In addition, the reliability of the read data is enhanced by setting a large number of collations on the assumption that the waveform from the sensor immediately after the misreading is low in reliability.
[0037]
In general, there are many data inputs shown in the above example when misreading occurs. Therefore, by adopting the reading algorithm of this embodiment, it is possible to reduce the misreading occurrence probability.
[0038]
Further, in the present embodiment, it is realized by a program, and can be easily implemented by another independent computer system by recording and transferring it on a recording medium such as a floppy disk. FIG. 6 is a diagram for explaining a case where this is implemented with a floppy disk.
[0039]
FIG. 6A is a diagram illustrating an example of a physical format of a floppy disk which is a recording medium. Tracks are formed concentrically from the outer periphery toward the inner periphery, and are divided into 16 sectors in the angular direction. The program is recorded according to the allocated area.
[0040]
FIG. 6B is a view for explaining a case for storing the floppy disk. From the left, a front view of the floppy disk case, a sectional view thereof, and a floppy disk are shown. By storing the floppy disk in the floppy disk case in this manner, the floppy disk can be safely transported while being protected from dust and external impacts.
[0041]
FIG. 6C is a diagram for explaining recording and reproduction of a program on a floppy disk. By connecting a floppy disk drive to the computer system as shown in the figure, it is possible to record and reproduce programs on the floppy disk. The floppy disk is inserted into and removed from the floppy disk drive via a floppy insertion slot. When recording, the program is recorded on the floppy disk by the floppy disk drive from the computer system. For playback, the floppy disk drive reads the program from the floppy disk and transfers it to the computer system.
[0042]
In this embodiment, description has been made using a floppy disk as a recording medium, but the same can be done using an optical disk. Further, the recording medium is not limited to these, and any recording medium such as an IC card or a ROM cassette capable of recording a program can be similarly implemented.
[0043]
【The invention's effect】
According to the present invention, the misread rate can be drastically reduced by increasing or decreasing the number of collations by changing the number of digits and the type of read data. In addition, since the reading time is short for a label with a small number of digits, the reading speed does not decrease even if the number of collations is increased. For this reason, it is possible to reduce the misreading rate and improve the reading speed.
[Brief description of the drawings]
FIG. 1 is a block diagram showing the principle of one embodiment of the present invention. FIG. 2 is a flowchart of an invented barcode reading method. FIG. 3 is a diagram showing an example of data with an incorrect number of digits. FIG. 5 is a diagram showing an example of data. FIG. 5A is a diagram showing an example of a physical format of a floppy disk which is a recording medium body. FIG. 5B is a diagram illustrating a case storing a floppy disk. FIG. 6 is a flowchart for explaining reproduction. FIG. 6 is a flowchart of a conventional barcode reading method.
DESCRIPTION OF SYMBOLS 1a Reading part 1b Digit number calculation part 1c Bar code type determination part 1d Storage part 1e Comparison part 1f Setting part 1g Data transmission part

Claims (12)

バーコードを読み取る読み取り部と、前記読み取り部でn回目に読み取ったバーコードデータを記憶する記憶部と、前記読み取り部でn回目に読み取ったバーコードデータから少なくとも前記バーコードの桁数を算出する桁数算出部と、前記桁数算出部で算出した前記バーコードの桁数を所定の値と比較する比較部とを備え、前記比較部での比較結果を受けて前記バーコードの桁数が前記所定の値よりも小なるときはさらに複数回の読み取りを行い、この複数回分のバーコードデータと前記n回目に読み取ったバーコードデータとを照合して前記バーコードの解読を行うことを特徴とするバーコード読み取り装置。A barcode reading unit, a storage unit that stores barcode data read n times by the reading unit, and at least the number of digits of the barcode are calculated from the barcode data read n times by the reading unit. A digit number calculation unit; and a comparison unit that compares the number of digits of the barcode calculated by the digit number calculation unit with a predetermined value, and the number of digits of the barcode is received based on the comparison result of the comparison unit. When the value is smaller than the predetermined value, it is further read a plurality of times, and the barcode is decoded by collating the barcode data for the plurality of times with the barcode data read for the nth time. Bar code reader. 読み取られたバーコードの桁数が所定の値以上であるときは、前記バーコードの桁数が前記所定の値よりも小なるときに行う読み取り回数より小なる回数の読み取りを行い、この読み取りで得られたバーコードデータと前記n回目に読み取ったバーコードデータを照合して前記バーコードの解読を行う請求項1記載のバーコード読み取り装置。When the number of digits of the barcode read is greater than or equal to a predetermined value, the number of times of reading is smaller than the number of times of reading when the number of digits of the barcode is smaller than the predetermined value. The barcode reading apparatus according to claim 1, wherein the barcode is decoded by collating the obtained barcode data with the barcode data read n times. バーコードを読み取る読み取り部と、前記読み取り部でn回目に読み取ったバーコードデータを記憶する記憶部と、前記読み取り部でn回目に読み取ったバーコードデータから少なくとも前記バーコードの桁数を算出する桁数算出部と、前記桁数算出部で算出した前記バーコードの桁数が小であるほどさらなる読み取り回数を多くすることを特徴とするバーコード読み取り装置。A barcode reading unit, a storage unit that stores barcode data read n times by the reading unit, and at least the number of digits of the barcode are calculated from the barcode data read n times by the reading unit. A barcode reading apparatus, wherein the number of digits is further increased as the number of digits of the barcode calculated by the number of digits calculator is smaller. バーコードの桁数が大であるほどさらなる読み取り回数を少なく設定し、この設定された回数の読み取りを行い、この回数分のバーコードデータと前記n回目に読み取ったバーコードデータとを照合して前記バーコードの解読を行う請求項3記載のバーコード読み取り装置。The larger the number of digits of the barcode, the smaller the number of readings is set, the number of times set is read, and the barcode data for this number of times are compared with the barcode data read n times. 4. The barcode reader according to claim 3, wherein the barcode is decoded. バーコードの種類に応じて、所定の値を変化させるもしくはバーコードの桁数に応じたさらなる読み取り回数を変化させる請求項1、2、3または4記載のバーコード読み取り装置。5. The bar code reading apparatus according to claim 1, wherein a predetermined value is changed according to a bar code type, or a further reading count is changed according to the number of digits of the bar code. バーコードの種類が変化した際に、所定の値を大なる値に変化させるもしくはバーコードの桁数に応じたさらなる読み取り回数を大なる回数に変化させる請求項1、2、3または4記載のバーコード読み取り装置。5. The bar code type according to claim 1, 2, 3 or 4, wherein when the type of bar code changes, the predetermined value is changed to a large value or the number of further readings according to the number of digits of the bar code is changed to a large number of times. Bar code reader. 新たなバーコードを読み取る際で、かつ、桁数算出部が算出した前記新たなバーコードの桁数が前回のバーコードの桁数と異なる際に、所定の値を大なる値に変化させるもしくはバーコードの桁数に応じたさらなる読み取り回数を大なる回数に変化させる請求項1、2、3または4記載のバーコード読み取り装置。When a new barcode is read, and when the number of digits of the new barcode calculated by the digit number calculation unit is different from the number of digits of the previous barcode, the predetermined value is changed to a large value or 5. The barcode reading apparatus according to claim 1, wherein the number of further readings according to the number of digits of the barcode is changed to a large number. 解読において、n回目に読み取ったバーコードデータとさらに読み取ったバーコードデータとを照合し、すべてのバーコードデータが一致したときに前記バーコードの解読を行う請求項1から5のいずれかに記載のバーコード読み取り装置。6. In decoding, the barcode data read n times is further compared with the read barcode data, and the barcode is decoded when all the barcode data match. Bar code reader. バーコードを読み取る第1のステップと、n回目に読み取ったバーコードデータを記憶する第2のステップと、前記n回目に読み取ったバーコードデータから少なくとも前記バーコードの桁数を算出する第3のステップと、算出した前記バーコードの桁数を所定の値と比較する第4のステップと、前記比較結果を受けて前記バーコードの桁数が前記所定の値よりも小なるときはさらに複数回の読み取りを行い、この複数回分のバーコードデータと前記n回目に読み取ったバーコードデータとを照合して前記バーコードの解読を行うとともに、前記バーコードの桁数が前記所定の値以上であるときは、前記バーコードの桁数が前記所定の値よりも小なるときに行う読み取り回数より小なる回数の読み取りを行い、この読み取りで得られたバーコードデータと前記n回目に読み取ったバーコードデータを照合して前記バーコードの解読を行う第5のステップとからなるバーコード読み取り方法。A first step of reading a barcode, a second step of storing barcode data read n times, and a third step of calculating at least the number of digits of the barcode from the barcode data read n times A step for comparing the calculated number of digits of the barcode with a predetermined value, and a plurality of times when the number of digits of the barcode is smaller than the predetermined value in response to the comparison result. The barcode is decoded by comparing the barcode data for the plurality of times with the barcode data read for the nth time, and the number of digits of the barcode is equal to or greater than the predetermined value. When the number of digits of the bar code is smaller than the predetermined value, the number of readings is smaller than the number of readings performed when the number of digits is smaller than the predetermined value, and the bar code obtained by this reading is read. Bar code reading method comprising a fifth step of collating the bar code data read in the n-th and Dodeta perform decryption of said bar code. バーコードを読み取る第1のステップと、n回目に読み取ったバーコードデータを記憶する第2のステップと、前記n回目に読み取ったバーコードデータから少なくとも前記バーコードの桁数を算出する第3のステップと、算出した前記バーコードの桁数が小であるほどさらなる読み取り回数を多く、前記バーコードの桁数が大であるほどさらなる読み取り回数を少なく設定する第4のステップと、前記設定部で設定された回数の読み取りを行い、この回数分のバーコードデータと前記n回目に読み取ったバーコードデータとを照合して前記バーコードの解読を行う第5のステップとを備えたバーコード読み取り方法。A first step of reading a barcode, a second step of storing barcode data read n times, and a third step of calculating at least the number of digits of the barcode from the barcode data read n times A fourth step of setting a further number of readings as the calculated number of digits of the barcode is smaller, and a smaller number of readings as the number of digits of the barcode is increased; A barcode reading method comprising: a fifth step of reading the set number of times and comparing the barcode data for this number of times with the barcode data read at the nth time to decode the barcode . バーコードを読み取る第1のステップと、n回目に読み取ったバーコードデータを記憶する第2のステップと、前記n回目に読み取ったバーコードデータから少なくとも前記バーコードの桁数を算出する第3のステップと、算出した前記バーコードの桁数を所定の値と比較する第4のステップと、前記比較結果を受けて前記バーコードの桁数が前記所定の値よりも小なるときはさらに複数回の読み取りを行い、この複数回分のバーコードデータと前記n回目に読み取ったバーコードデータとを照合して前記バーコードの解読を行うとともに、前記バーコードの桁数が前記所定の値以上であるときは、前記バーコードの桁数が前記所定の値よりも小なるときに行う読み取り回数より小なる回数の読み取りを行い、この読み取りで得られたバーコードデータと前記n回目に読み取ったバーコードデータを照合して前記バーコードの解読を行う第5のステップとからなるプログラムを記憶した記憶媒体。A first step of reading a barcode, a second step of storing barcode data read n times, and a third step of calculating at least the number of digits of the barcode from the barcode data read n times A step for comparing the calculated number of digits of the barcode with a predetermined value, and a plurality of times when the number of digits of the barcode is smaller than the predetermined value in response to the comparison result. The barcode is decoded by comparing the barcode data for the plurality of times with the barcode data read for the nth time, and the number of digits of the barcode is equal to or greater than the predetermined value. When the number of digits of the bar code is smaller than the predetermined value, the number of readings is smaller than the number of readings performed when the number of digits is smaller than the predetermined value, and the bar code obtained by this reading is read. Dodeta said n-th to the read barcode fifth step and the storage medium storing the program of the data matching to the performing decryption of the bar code. バーコードを読み取る第1のステップと、n回目に読み取ったバーコードデータを記憶する第2のステップと、前記n回目に読み取ったバーコードデータから少なくとも前記バーコードの桁数を算出する第3のステップと、算出した前記バーコードの桁数が小であるほどさらなる読み取り回数を多く、前記バーコードの桁数が大であるほどさらなる読み取り回数を少なく設定する第4のステップと、前記設定部で設定された回数の読み取りを行い、この回数分のバーコードデータと前記n回目に読み取ったバーコードデータとを照合して前記バーコードの解読を行う第5のステップとからなるプログラムを記憶した記憶媒体。A first step of reading a barcode, a second step of storing barcode data read n times, and a third step of calculating at least the number of digits of the barcode from the barcode data read n times A fourth step of setting a further number of readings as the calculated number of digits of the barcode is smaller, and a smaller number of readings as the number of digits of the barcode is increased; A memory which stores a program comprising a fifth step of reading the set number of times and comparing the number of times of the barcode data with the barcode data read at the nth time to decode the barcode. Medium.
JP03095198A 1998-02-13 1998-02-13 Bar code reading device, bar code reading method and recording medium Expired - Fee Related JP3658972B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03095198A JP3658972B2 (en) 1998-02-13 1998-02-13 Bar code reading device, bar code reading method and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03095198A JP3658972B2 (en) 1998-02-13 1998-02-13 Bar code reading device, bar code reading method and recording medium

Publications (2)

Publication Number Publication Date
JPH11232371A JPH11232371A (en) 1999-08-27
JP3658972B2 true JP3658972B2 (en) 2005-06-15

Family

ID=12317998

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03095198A Expired - Fee Related JP3658972B2 (en) 1998-02-13 1998-02-13 Bar code reading device, bar code reading method and recording medium

Country Status (1)

Country Link
JP (1) JP3658972B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5092732B2 (en) * 2007-12-19 2012-12-05 富士ゼロックス株式会社 Code recognition apparatus and program
JP5223940B2 (en) * 2011-03-28 2013-06-26 カシオ計算機株式会社 Scanner device and program
JP5532163B2 (en) * 2013-03-13 2014-06-25 カシオ計算機株式会社 Image processing apparatus and program

Also Published As

Publication number Publication date
JPH11232371A (en) 1999-08-27

Similar Documents

Publication Publication Date Title
AU771943B2 (en) Two-dimensional printed code for storing biometric information and apparatus for reading same
US5489158A (en) Printer system for removable machine readable code
US5168275A (en) Method and apparatus for decoding two frequency (f/2f) data signals
EP0538488A1 (en) Bar code reader and game device using the same
US20060163357A1 (en) Two-dimensional code having superior decoding property which is possible to control the level of error correcting codes, and method for encoding and decoding the same
US20020196963A1 (en) Biometric identification system using a magnetic stripe and associated methods
US20020138438A1 (en) Biometric identification system using biometric images and copy protect code stored on a magnetic stripe and associated methods
JP4933015B2 (en) Method and apparatus for increasing magnetic coding density by finely arranging magnetization reversal
AU2001259181A1 (en) Methods and apparatus for increased magnetic coding density by precise placement of magnetic transitions
KR910001972B1 (en) Processing system for portable electronic apparatus
JP3658972B2 (en) Bar code reading device, bar code reading method and recording medium
JP3618405B2 (en) Bar code information reader
JP4202681B2 (en) Card ticket type guarantee system for card issuance
JP2954765B2 (en) Storage medium for numerical information and reading device therefor
JP3253733B2 (en) Barcode symbol reader
JP3198970B2 (en) Information card
JP2779898B2 (en) Barcode reader
JP2778870B2 (en) Barcode decoder
JP2002170081A (en) Method of controlling reader and writer working as magnetic ic card
JP2675563B2 (en) Portable electronic devices
JPH02281468A (en) Card information reader
KR900006941B1 (en) Portable electronic apparatus
JP2002024753A (en) Ticket surface information reading method
JPS6329358A (en) Magnetic card processing system
JPS63171475A (en) True and falsehood decision method for card

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050127

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050222

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050307

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

Free format text: PAYMENT UNTIL: 20080325

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090325

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100325

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110325

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110325

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120325

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130325

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130325

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20140325

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees