JPH06301803A - Bar code reader - Google Patents

Bar code reader

Info

Publication number
JPH06301803A
JPH06301803A JP5083476A JP8347693A JPH06301803A JP H06301803 A JPH06301803 A JP H06301803A JP 5083476 A JP5083476 A JP 5083476A JP 8347693 A JP8347693 A JP 8347693A JP H06301803 A JPH06301803 A JP H06301803A
Authority
JP
Japan
Prior art keywords
bar code
data
unit storage
decoding
storage area
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.)
Pending
Application number
JP5083476A
Other languages
Japanese (ja)
Inventor
Tatsuya Yamamoto
達也 山本
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.)
Denso Corp
Original Assignee
NipponDenso 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 NipponDenso Co Ltd filed Critical NipponDenso Co Ltd
Priority to JP5083476A priority Critical patent/JPH06301803A/en
Publication of JPH06301803A publication Critical patent/JPH06301803A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To accelerate data transfer at the time of continuous read of plural bar codes. CONSTITUTION:Bar code data is written in each unit storage area of a bar code data storage area in a RAM with a period (t1+t2) by the DMA system (steps 304, 305, and 306). Bar code data in the unit storage area is encoded to an ASCII code. The coincidence between current data encoded to the ASCII code and preceding data encoded to the ASCII code is discriminated; and when the frequency in coincidence reaches '2', pertinent data is transferred to the outside. If the number of bars is increased or reduced (steps 311 and 313) after the frequency in coincidence reaches 2 (step 312), continuation of the decoding processing for the pertinent bar code is stopped, and the decoding processing for the next bar code is started.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はバーコード読取り装置、
詳しくは、ダイレクト・メモリ・アクセス(DMA)機
能を有するバーコード読取り装置に関する。
BACKGROUND OF THE INVENTION The present invention relates to a bar code reader,
More particularly, it relates to a bar code reader having a direct memory access (DMA) function.

【0002】[0002]

【従来の技術】バーコード読取り装置として、CCDイ
メージセンサを内蔵したハンディタイプのバーコード読
取り装置が知られている。
2. Description of the Related Art As a bar code reading device, a handy type bar code reading device incorporating a CCD image sensor is known.

【0003】従来、この種のバーコード読取り装置は、
図7に示すように、複数のバーコードラベルA,B(図
示(a))のバーコード読取りの際、バーコードデータ
1,A2 ,A3 …の取込み処理(図示(b))と各バ
ーコードデータA1 ,A2 ,A3 …のデコード処理C
1 ,C2 ,C3 …(図示(c))とを時分割的に行な
い、デコード後のデータの一致回数が所定値(図7で
は、A1 とA2 との一致及びA2 とA3 との一致の合計
「2」)に達したときホストコンピュータ等にデコード
後のデータを転送するよう構成されている。しかし、こ
の従来のバーコード読取り装置には、デコード処理時間
0 が比較的長く、取込み処理の周期Tを大きく設定せ
ざるを得ない関係上、読取り速度が遅いという問題があ
った。
Conventionally, this type of bar code reader has been
As shown in FIG. 7, when a plurality of barcode labels A and B (shown in (a)) are read, the barcode data A 1 , A 2 , A 3 ... Is fetched (shown in (b)). Decoding process C of each bar code data A 1 , A 2 , A 3 ...
1 , C 2 , C 3 ... (C () in the figure) are performed in a time-division manner, and the number of coincidences of the decoded data is a predetermined value (in FIG. 7, coincidence between A 1 and A 2 and A 2 and A 2). When the total number of coincidences with 3 is "2"), the decoded data is transferred to the host computer or the like. However, this conventional bar code reader has a problem that the reading speed is slow because the decoding processing time t 0 is relatively long and the capture processing cycle T must be set large.

【0004】そこで、最近、DMA機能を付加し、取込
み処理とデコード処理とを並列的に行ない、読取り速度
の向上を図ることができるバーコード読取り装置の開発
が望まれてきている。
Therefore, recently, there has been a demand for the development of a bar code reading apparatus which has a DMA function and can perform a reading process and a decoding process in parallel to improve the reading speed.

【0005】そして、この要請に応えるバーコード読取
り装置として、所定数の単位記憶領域からなり、ダイレ
クト・メモリ・アクセス方式によりバーコードデータが
所定周期で前記各単位記憶領域に順に書込まれるバーコ
ードデータ記憶領域と、前記各単位記憶領域内のバーコ
ードデータをデコードするデコード手段と、該デコード
後のデータの一致回数を求め、該一致回数が所定値に達
したとき当該デコード後のデータを転送するデータ転送
手段とを備えるバーコード読取り装置が考えられる。
As a bar code reading device which meets this demand, a bar code which is composed of a predetermined number of unit storage areas and in which bar code data is sequentially written in each of the unit storage areas at a predetermined cycle by the direct memory access method. A data storage area, a decoding means for decoding the bar code data in each unit storage area, and the number of times of matching the decoded data is obtained, and when the number of times of matching reaches a predetermined value, the decoded data is transferred. A bar code reader having a data transfer means for doing so is conceivable.

【0006】図8〜図10は、このバーコード読取り装
置(以下、本発明の前提技術という。)の処理を示して
いる。なお、この処理内容については、後述する本発明
の実施例における処理内容と多く重複するため説明を省
略する(図中、実施例と同一符号は、実施例と同様の処
理を行なうものである。)。
FIG. 8 to FIG. 10 show the processing of this bar code reader (hereinafter referred to as the "prior art of the present invention"). It should be noted that the description of this processing content is omitted because it largely overlaps with the processing content in the embodiment of the present invention described later (in the figure, the same reference numerals as those of the embodiment denote the same processing as that of the embodiment. ).

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上記本
発明の前提技術においては、図11に示すように、バー
コードラベルA,B,Cを連続的に読取る際、一のバー
コードラベルA(図示(a))についての一致回数成立
後においても、各単位記憶領域B4 ,B5 (図示
(b))内に既に書込まれているバーコードラベルAに
関するバーコードデータA4 ,A5 (図示(b))に対
して無駄なデコード処理C4 ,C5 (図示(c))を続
行するよう構成されているため、バーコードラベルB,
Cの各データ転送時点が遅延するという問題があった。
特に、図12に示すように、各バーコードラベルA,
B,Cに対するスキャン操作時間が長い場合には、一の
バーコードラベルA(図示(a))についての一致回数
成立後においても、各単位記憶領域B 4 ,B5 ,B6
7 (図示(b))内に既に書込まれているバーコード
ラベルAに関する多数のバーコードデータA4 ,A5
6 ,A7 (図示(b))に対して無駄なデコード処理
4 ,C5 ,C6 ,C7 (図示(c))を続行するよう
になるため、バーコードラベルB,Cの各データ転送時
点が更に遅延してしまうようになる。
[Problems to be Solved by the Invention] However, the above-mentioned book
In the precondition technique of the invention, as shown in FIG.
When reading code labels A, B and C continuously,
Match count for code label A ((a) in the figure) established
Even afterward, each unit storage area BFour , BFive (Illustration
In the barcode label A already written in (b))
Related barcode data AFour , AFive (Shown in (b))
Useless decoding process CFour , CFive Continue ((c) in the figure)
The barcode label B,
There is a problem in that each data transfer point of C is delayed.
In particular, as shown in FIG. 12, each barcode label A,
If the scan operation time for B and C is long,
Number of matches for barcode label A ((a) in the figure)
Even after establishment, each unit storage area B Four , BFive , B6 ,
B7 Bar code already written in ((b) in the figure)
Many bar code data A for label AFour , AFive ,
A6 , A7 Useless decoding processing for ((b) in the figure)
CFour , CFive , C6 , C7 To continue ((c) in the figure)
Therefore, when each data of barcode label B, C is transferred
The points will be further delayed.

【0008】本発明は、上記本発明の前提技術の問題点
を解消し、複数のバーコードを連続的に読取る際におけ
るデータ転送時期の早期化を図る、換言すると、読取り
速度を向上させることを目的とする。
The present invention aims to solve the problems of the above-described prerequisite technique of the present invention and to accelerate the data transfer timing when continuously reading a plurality of bar codes, in other words, to improve the reading speed. To aim.

【0009】[0009]

【課題を解決するための手段】上記課題を解決するため
に、本発明に係るバーコード読取り装置は、図13に示
すように、所定数の単位記憶領域からなり、ダイレクト
・メモリ・アクセス方式によりバーコードデータが所定
周期で前記各単位記憶領域に順に書込まれるバーコード
データ記憶領域と、前記各単位記憶領域内のバーコード
データをデコードするデコード手段と、該デコード後の
データの一致回数を求め、該一致回数が所定値に達した
とき当該デコード後のデータを転送するデータ転送手段
とを備えるバーコード読取り装置であって、前記一致回
数が前記所定値に達し、かつ、バーコードのバー本数の
増減を検出したとき、当該一致のとれたバーコードに対
するデコード処理の続行を中止し、次のバーコードに対
するデコード処理を開始させるデコード制御手段を設け
たことを特徴とする。
In order to solve the above-mentioned problems, a bar code reader according to the present invention comprises a predetermined number of unit storage areas as shown in FIG. 13 and uses a direct memory access method. A bar code data storage area in which bar code data is sequentially written in each of the unit storage areas, a decoding means for decoding the bar code data in each of the unit storage areas, and the number of coincidences of the decoded data are shown. A bar code reading device comprising: a data transfer unit that transfers the decoded data when the number of coincidences reaches a predetermined value, wherein the number of coincidences reaches the predetermined value and a bar code of a bar code. When the increase / decrease in the number of lines is detected, the decoding process for the corresponding bar code is stopped and the decoding process for the next bar code is stopped. Characterized in that a decoding control means for starting.

【0010】[0010]

【発明の作用効果】複数のバーコードラベルを連続的に
読取る際、ダイレクト・メモリ・アクセス方式の採用に
より、バーコードデータの取込み処理とデコード処理と
を並列的に行なうことができるため、デコード後のデー
タ転送時期を早期化することが可能になる。さらに、一
致回数が所定値に達し、かつ、バーコードのバー本数が
増減したことを検出したとき、当該一致のとれたバーコ
ードに対するデコード処理の続行を中止し、次のバーコ
ードに対するデコード処理を開始するよう構成したた
め、次のバーコードに関するデコード処理が早期に開始
され、次のバーコード以降の各バーコードに関するデー
タ転送時期の早期化を図ることができる。
When a plurality of bar code labels are continuously read, the direct memory access method can be used to perform bar code data acquisition processing and decoding processing in parallel. It is possible to speed up the data transfer period of. Further, when it is detected that the number of times of matching reaches a predetermined value and the number of bars of the barcode has increased or decreased, the decoding process for the matched bar code is stopped and the decoding process for the next bar code is stopped. Since it is configured to start, the decoding process for the next barcode is started early, and the data transfer timing for each barcode after the next barcode can be accelerated.

【0011】[0011]

【実施例】以下、本発明の一実施例を図面に基づいて説
明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0012】図1は、一実施例に係るバーコード読取り
装置のブロック構成を示している。
FIG. 1 shows a block configuration of a bar code reader according to an embodiment.

【0013】図1において、バーコード読取り装置1
は、DMA2を内蔵したCPU3を備える。また、バー
コード読取り装置1は、動作プログラム等が予め格納さ
れたROM4、データの一時読出し書込みが可能なRA
M5、バーコードラベル6を照射するLED7、バーコ
ードラベル6の反射光を電気信号として出力するCCD
イメージセンサ8、CCDイメージセンサ8のアナログ
出力信号を二値化するA/Dコンバータ9、図示しない
ホストコンピュータにデータを出力するI/F回路10
等を備える。
In FIG. 1, a bar code reader 1
Includes a CPU 3 having a built-in DMA 2. Further, the bar code reading apparatus 1 has a ROM 4 in which operation programs and the like are stored in advance, and an RA capable of temporarily reading and writing data.
M5, LED 7 for irradiating the barcode label 6, CCD for outputting the reflected light of the barcode label 6 as an electric signal
The image sensor 8, the A / D converter 9 that binarizes the analog output signal of the CCD image sensor 8, and the I / F circuit 10 that outputs data to a host computer (not shown)
And so on.

【0014】図2〜図4は、CPU3が実行する処理内
容を示している。以下、各処理ステップの内容を説明し
た上で、動作を説明する。
2 to 4 show processing contents executed by the CPU 3. Hereinafter, the contents of each processing step will be described, and then the operation will be described.

【0015】(1) スタート時(図2) 1)初期設定(ステップ101) バーコード読取り装置1の電源が投入されると、モード
フラグをセンサ駆動モードに選定し、また、取込み許可
フラグをセットするなど、所定の初期設定を行なう。
(1) At start (FIG. 2) 1) Initial setting (step 101) When the power of the bar code reader 1 is turned on, the mode flag is set to the sensor drive mode and the capture permission flag is set. Perform predetermined initialization such as

【0016】2)DMA初期設定(ステップ102) DMA用に所定数例えば8つの単位記憶領域からなるバ
ーコードデータ記憶領域をRAM5内の所定番地に割り
当てるなど、DMAのための所定の初期設定を行なう。
2) DMA initial setting (step 102) A predetermined initial setting for DMA is performed by assigning a predetermined number of bar code data storage areas, for example, eight unit storage areas for DMA, to a predetermined address in the RAM 5. .

【0017】3)スキャン割込み設定(ステップ103) 最初のスキャン割込みのタイミングを設定する。3) Scan interrupt setting (step 103) The timing of the first scan interrupt is set.

【0018】(2) メイン処理(図3) 1)デコード前処理(ステップ201) 1スキャン分のバーコードデータが有るかどうかの判
定、各単位記憶領域内に書込まれているバーコードデー
タをCPU3内の所定のレジスタに転送するなど、デコ
ード処理前の所定の処理を行なう。
(2) Main processing (FIG. 3) 1) Pre-decoding processing (step 201) It is judged whether there is one scan of barcode data, and the barcode data written in each unit storage area is checked. A predetermined process before the decoding process such as transfer to a predetermined register in the CPU 3 is performed.

【0019】2)デコード処理(ステップ202) バーコードデータをASCIIコード化する。2) Decoding process (step 202) The bar code data is converted into ASCII code.

【0020】3)デコード良否判定(ステップ203) デコード処理が正しく行なわれたかどうかを判定する。3) Decoding pass / fail judgment (step 203) It is determined whether or not the decoding process is performed correctly.

【0021】4)一致回数判定(ステップ204) 今回のASCIIコード化されたデータと、前回のAS
CIIコード化されたデータとが一致しているかどうか
を判断するとともに、一致回数が所定値例えば「2」に
達したかどうかを判定する。
4) Match Count Judgment (Step 204) This time the ASCII coded data and the previous AS
It is determined whether or not the CII coded data matches and whether or not the number of times of matching reaches a predetermined value, for example, "2".

【0022】5)転送フラグリセット(ステップ205) ステップ204で一致回数が所定値に達していないと判
断された場合、転送フラグをリセットする。
5) Transfer Flag Reset (Step 205) If it is determined in step 204 that the number of coincidences has not reached the predetermined value, the transfer flag is reset.

【0023】6)転送データ異同判定(ステップ206) 今回のASCIIコード化されたデータが、前回ホスト
コンピュータに転送されたデータと同じかどうかを判定
する。
6) Transfer Data Difference Judgment (Step 206) It is judged whether the ASCII code data this time is the same as the data transferred to the host computer last time.

【0024】7)データ転送(ステップ207) 今回のASCIIコード化されたデータが、前回ホスト
コンピュータに転送されたデータと異なる場合、今回の
データをI/F回路10を介してホストコンピュータに
転送する。
7) Data transfer (step 207) If the current ASCII coded data is different from the data previously transferred to the host computer, the current data is transferred to the host computer via the I / F circuit 10. .

【0025】8)転送フラグセット(ステップ208) 転送フラグをセットする。8) Transfer flag setting (step 208) The transfer flag is set.

【0026】9)取込み許可(ステップ209) 取込み許可フラグをセットする。9) Acquisition permission (step 209) The acquisition permission flag is set.

【0027】(3) スキャン割込み(図4) 1)モード判別(ステップ301) モードフラグを見てセンサ駆動モードか露光調整モード
かを判定する。
(3) Scan interrupt (FIG. 4) 1) Mode discrimination (step 301) It is discriminated whether the sensor drive mode or the exposure adjustment mode by looking at the mode flag.

【0028】2)フラグ変更(ステップ302) ステップ301でセンサ駆動モードと判定された場合、
モードフラグを露光調整モードに変更する。
2) Change flag (step 302) When it is determined in step 301 that the sensor drive mode is set,
Change the mode flag to exposure adjustment mode.

【0029】3)割込み時間(t1 )設定(ステップ30
3) 次回の割込み時間(t1 )を設定する。
3) Interrupt time (t 1 ) setting (step 30)
3) Set the next interrupt time (t 1 ).

【0030】4)センサ駆動(ステップ304) CCDイメージセンサ8を駆動する。4) Sensor drive (step 304) The CCD image sensor 8 is driven.

【0031】5)取込み許可判定(ステップ305) 取込み許可フラグを見て取込みが許可されているかどう
かを判定する。
5) Judgment permission decision (step 305) It is judged whether the fetch is permitted or not by referring to the fetch permission flag.

【0032】6)取込み開始(ステップ306) ステップ305で取込みが許可されていると判定された
場合、DMAを起動し、バーコードデータを単位記憶領
域に書込む。
6) Start of acquisition (step 306) When it is determined in step 305 that the acquisition is permitted, the DMA is activated and the bar code data is written in the unit storage area.

【0033】7)フラグ変更(ステップ307) ステップ301で露光調整モードと判定された場合、モ
ードフラグをセンサ駆動モードに変更する。
7) Change Flag (Step 307) If the exposure adjustment mode is determined in step 301, the mode flag is changed to the sensor drive mode.

【0034】8)取込み停止(ステップ308) DMAを停止する。8) Stop acquisition (step 308) Stop DMA.

【0035】9)割込み時間(t2 )設定(ステップ30
9) 次回の割込み時間(t2 )を設定する。
9) Interrupt time (t 2 ) setting (step 30)
9) Set the next interrupt time (t 2 ).

【0036】10) 取込み許可判定(ステップ310) 取込み許可フラグを見て取込みが許可されているかどう
かを判定する。
10) Judgment permission determination (step 310) It is judged by referring to the fetch permission flag whether the fetch is permitted.

【0037】11) バー本数チェック(ステップ311) ステップ310で取込みが許可されていると判定された
場合、バー本数をチェックし、今回のバー本数が前回の
バー本数から増減したことを確認すると、このことを記
憶する。
11) Checking the number of bars (step 311) If it is determined in step 310 that the import is permitted, the number of bars is checked, and if it is confirmed that the number of bars this time has increased or decreased from the number of bars last time, Remember this.

【0038】12) 転送フラグ判定(ステップ312) 転送フラグがセットされているかどうかを判定する。12) Transfer Flag Judgment (Step 312) It is judged whether or not the transfer flag is set.

【0039】13) バー本数変化判定(ステップ313) ステップ312で転送フラグがセットされていると判定
された場合、バー本数が変化したかどうかを判定する。
13) Judgment of Number of Bars (Step 313) When it is judged in step 312 that the transfer flag is set, it is judged whether or not the number of bars has changed.

【0040】14) バッファクリア(ステップ314) ステップ313でバー本数が変化したと判定された場
合、バー本数変化前のバーコードに関するバーコードデ
ータが書込まれている単位記憶領域へのアクセスを禁止
し、変化後のバーコードに関するバーコードデータが書
込まれている単位記憶領域からアクセスを開始させる。
14) Buffer clear (step 314) When it is determined in step 313 that the number of bars has changed, access to the unit storage area in which the bar code data relating to the bar code before the number of bars change is written is prohibited. Then, the access is started from the unit storage area in which the bar code data regarding the changed bar code is written.

【0041】15) 全バッファ使用判定(ステップ31
5) 全ての単位記憶領域にバーコードデータが書込まれてい
るかどうかを判定する。
15) Judgment of use of all buffers (step 31)
5) It is determined whether or not the bar code data is written in all the unit storage areas.

【0042】16) 取込み禁止(ステップ316) ステップ315で全てのバッファが使用中と判定された
場合、取込み許可フラグをリセットする。
16) Prohibition of acquisition (step 316) When it is judged in step 315 that all buffers are in use, the acquisition permission flag is reset.

【0043】次に、CPU3の主要な動作を順に説明す
る。
Next, the main operation of the CPU 3 will be described in order.

【0044】1)バーコードデータの取込み処理 図4に示すスキャン割込み処理において、ダイレクト・
メモリ・アクセス方式により、周期(t1 +t2 )でバ
ーコードデータをRAM5内のバーコードデータ記憶領
域の各単位記憶領域に所定の順序で書込んでゆく(ステ
ップ304,305,306)。なお、未だデコード処
理されていないバーコードデータがバーコードデータ記
憶領域の全域に書込まれているときには、取込み処理は
実行されない(ステップ315,316)。
1) Bar code data acquisition processing In the scan interrupt processing shown in FIG.
By the memory access method, the bar code data is written in a predetermined order in each unit storage area of the bar code data storage area in the RAM 5 at a cycle (t 1 + t 2 ) (steps 304, 305, 306). When the barcode data that has not been decoded yet is written in the entire barcode data storage area, the fetching process is not executed (steps 315 and 316).

【0045】2)バーコードデータのデコード処理 図3に示すメイン処理において、バーコードデータ記憶
領域の各単位記憶領域を所定の順序でアクセスし、単位
記憶領域内に書込まれているバーコードデータをCPU
3内の所定のレジスタに転送した上でASCIIコード
化する(ステップ201,202)。
2) Bar Code Data Decoding Processing In the main processing shown in FIG. 3, the unit storage areas of the bar code data storage area are accessed in a predetermined order, and the bar code data written in the unit storage area is accessed. The CPU
The data is transferred to a predetermined register in 3 and then ASCII coded (steps 201 and 202).

【0046】3)データ転送 図3に示すメイン処理において、今回のデコード処理に
よってASCIIコード化されたデータと、前回のデコ
ード処理によってASCIIコード化されたデータとの
一致を判定し、一致回数が所定値例えば「2」に達した
とき、当該ASCIIコード化されたデータをホストコ
ンピュータに転送する(ステップ204,206,20
7)。
3) Data transfer In the main process shown in FIG. 3, it is determined whether the data encoded in the current decoding process is ASCII coded and the data encoded in the previous decoding process is the ASCII code. When a value, for example, "2" is reached, the ASCII coded data is transferred to the host computer (steps 204, 206, 20).
7).

【0047】4)デコード制御 図4に示すスキャン割込み処理において、一致回数が所
定値に達した後(図3のステップ208,図4のステッ
プ312)、バーコードのバー本数が増減したことを検
出したとき(ステップ311,313)、当該一致のと
れたバーコードに対するデコード処理の続行を中止し、
次のバーコードに対するデコード処理を開始させる(ス
テップ314)。
4) Decode Control In the scan interrupt process shown in FIG. 4, it is detected that the number of bars of the bar code has increased or decreased after the number of coincidence reaches a predetermined value (step 208 of FIG. 3, step 312 of FIG. 4). (Steps 311 and 313), the decoding process for the matched bar code is stopped,
The decoding process for the next bar code is started (step 314).

【0048】以上説明したように、本実施例において
は、複数のバーコードラベルを連続的に読取る際、ダイ
レクト・メモリ・アクセス方式の採用により、バーコー
ドデータの取込み処理とデコード処理とを並列的に行な
うことができるため、デコード後のデータ転送時期を早
期化することが可能になる。
As described above, in the present embodiment, when a plurality of bar code labels are continuously read, the direct memory access method is adopted so that the bar code data acquisition processing and the decoding processing are performed in parallel. Therefore, it is possible to accelerate the data transfer time after decoding.

【0049】さらに、本実施例によると、図5に示すよ
うに、バーコードラベルA,B,Cを連続的に読取る
際、一のバーコードラベルA(図示(a))についての
一致回数成立後、バー本数の増減を検出すると、単位記
憶領域B5 (図示(b))内に既に書込まれているバー
コードラベルAに関するバーコードデータA5 (図示
(b))に対するデコード処理を開始せず、バーコード
ラベルBに関するバーコードデータA6 (図示(b))
に対するデコード処理C6 (図示(c))を開始するよ
うになる。このため、上述した本発明の前提技術と比
べ、バーコードラベルB,Cの各データ転送時期の早期
化が可能になる。特に、図6に示すように、各バーコー
ドラベルA,B,Cに対するスキャン操作時間が長い場
合には、より効果が顕著となる。
Furthermore, according to the present embodiment, as shown in FIG. 5, when the bar code labels A, B, and C are continuously read, the number of coincidences for one bar code label A (shown in (a)) is established. After that, when the increase or decrease in the number of bars is detected, the decoding process is started for the bar code data A 5 (shown in (b)) of the bar code label A already written in the unit storage area B 5 (shown in (b)). Without, barcode data A 6 for barcode label B (illustration (b))
Then, the decoding process C 6 ((c) in the figure) is started. Therefore, compared with the above-described base technology of the present invention, it is possible to speed up the data transfer timing of each of the barcode labels B and C. In particular, as shown in FIG. 6, the effect becomes more remarkable when the scanning operation time for each bar code label A, B, C is long.

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

【図1】一実施例に係るバーコード読取り装置のブロッ
ク構成図
FIG. 1 is a block configuration diagram of a bar code reader according to an embodiment.

【図2】CPUの処理開始時の動作を表わしたフローチ
ャート
FIG. 2 is a flowchart showing the operation of the CPU at the start of processing.

【図3】CPUのメイン処理を表わしたフローチャートFIG. 3 is a flowchart showing the main processing of the CPU.

【図4】CPUのスキャン割込み処理を表わしたフロー
チャート
FIG. 4 is a flowchart showing scan interrupt processing of the CPU.

【図5】CPUの主要な動作を説明するためのタイミン
グチャート
FIG. 5 is a timing chart for explaining main operations of the CPU.

【図6】同じくCPUの主要な動作を説明するためのタ
イミングチャート
FIG. 6 is a timing chart for explaining the main operation of the CPU.

【図7】従来例の動作を説明するためのタイミングチャ
ート
FIG. 7 is a timing chart for explaining the operation of the conventional example.

【図8】本発明の前提技術の処理開始時の動作を表わし
たフローチャート
FIG. 8 is a flowchart showing an operation at the time of starting processing of the base technology of the present invention.

【図9】同じく前提技術のメイン処理を表わしたフロー
チャート
FIG. 9 is a flowchart showing main processing of the base technology.

【図10】同じく前提技術のスキャン割込み処理を表わ
したフローチャート
FIG. 10 is a flowchart showing a scan interrupt process of the base technology.

【図11】同じく前提技術の動作を説明するためのタイ
ミングチャート
FIG. 11 is a timing chart for explaining the operation of the base technology.

【図12】同じく前提技術の動作を説明するためのタイ
ミングチャート
FIG. 12 is a timing chart for explaining the operation of the base technology.

【図13】本発明の概念図FIG. 13 is a conceptual diagram of the present invention.

【符号の説明】[Explanation of symbols]

1 バーコード読取り装置 2 DMA 3 CPU 5 RAM 6 バーコードラベル 1 Bar code reader 2 DMA 3 CPU 5 RAM 6 Bar code label

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 所定数の単位記憶領域からなり、ダイレ
クト・メモリ・アクセス方式によりバーコードデータが
所定周期で前記各単位記憶領域に順に書込まれるバーコ
ードデータ記憶領域と、前記各単位記憶領域内のバーコ
ードデータをデコードするデコード手段と、該デコード
後のデータの一致回数を求め、該一致回数が所定値に達
したとき当該デコード後のデータを転送するデータ転送
手段とを備えるバーコード読取り装置であって、 前記一致回数が前記所定値に達し、かつ、バーコードの
バー本数の増減を検出したとき、当該一致のとれたバー
コードに対するデコード処理の続行を中止し、次のバー
コードに対するデコード処理を開始させるデコード制御
手段を設けたことを特徴とするバーコード読取り装置。
1. A bar code data storage area comprising a predetermined number of unit storage areas, in which bar code data is sequentially written to each of the unit storage areas in a predetermined cycle by a direct memory access method, and each of the unit storage areas. Bar code reading including a decoding means for decoding the bar code data in the inside and a data transfer means for obtaining the number of coincidences of the decoded data and transferring the decoded data when the number of coincidences reaches a predetermined value. In the device, when the number of coincidences reaches the predetermined value, and when an increase or decrease in the number of bar codes of the bar code is detected, the decoding process for the bar code having the coincidence is stopped and the next bar code is detected. A bar code reading device comprising a decoding control means for starting a decoding process.
JP5083476A 1993-04-09 1993-04-09 Bar code reader Pending JPH06301803A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5083476A JPH06301803A (en) 1993-04-09 1993-04-09 Bar code reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5083476A JPH06301803A (en) 1993-04-09 1993-04-09 Bar code reader

Publications (1)

Publication Number Publication Date
JPH06301803A true JPH06301803A (en) 1994-10-28

Family

ID=13803525

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5083476A Pending JPH06301803A (en) 1993-04-09 1993-04-09 Bar code reader

Country Status (1)

Country Link
JP (1) JPH06301803A (en)

Similar Documents

Publication Publication Date Title
US5128527A (en) Apparatus for reading a bar code
US5942741A (en) Apparatus for optimizing throughput in decoded-output scanners and method of using same
JPH06301803A (en) Bar code reader
EP0469716B1 (en) Image processing apparatus
JP2004326546A (en) Device and method for reading information code
EP0541365A2 (en) Character recognition method and apparatus
JP3745823B2 (en) Optical information reader
JP4475332B2 (en) Information code reading apparatus and information code reading method
JP4553014B2 (en) Information code reading apparatus and information code reading method
JP3343788B2 (en) Method and apparatus for scanning and decoding bar code symbols
JP2002133365A (en) Mark reader
JP2623818B2 (en) Barcode reader
JP2580708B2 (en) Printer
JP2595900B2 (en) Change point coordinate detection device for binary image data
JP4313548B2 (en) Image forming apparatus
JP2899284B2 (en) Image data encoding device
JPS63191366A (en) Recording medium reader
JP2912743B2 (en) Barcode decoder
JPH0937046A (en) Facsimile equipment
JPS63157524A (en) System for processing data decoding
JPS63266585A (en) Readout control system
JPH05257697A (en) Set panel device
JPH09282468A (en) Image processor and its method
JPH01266686A (en) Bar code reader
JPH064194A (en) Information processor