JPH04263382A - Bar code reader - Google Patents

Bar code reader

Info

Publication number
JPH04263382A
JPH04263382A JP3023313A JP2331391A JPH04263382A JP H04263382 A JPH04263382 A JP H04263382A JP 3023313 A JP3023313 A JP 3023313A JP 2331391 A JP2331391 A JP 2331391A JP H04263382 A JPH04263382 A JP H04263382A
Authority
JP
Japan
Prior art keywords
barcode
read
data
buffer
bar code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP3023313A
Other languages
Japanese (ja)
Other versions
JP2695999B2 (en
Inventor
Hidefumi Muroi
室井 秀文
Hirokazu Takahashi
宏和 高橋
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.)
Toshiba TEC Corp
Original Assignee
Tokyo Electric 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 Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP3023313A priority Critical patent/JP2695999B2/en
Publication of JPH04263382A publication Critical patent/JPH04263382A/en
Application granted granted Critical
Publication of JP2695999B2 publication Critical patent/JP2695999B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To unnecessiate the allocation of a special flag by treating the first bar code and the next bar code as a multistage bar code label bar code and performing the data processing for it if the next bar code is read within a fixed time after a bar code is read. CONSTITUTION:When the bar code is read in a scanner part 16, the read data is stored in a buffer A 14a and the measuring operation by a timer 15 is started. If the next bar code is not read in the scanner part 16 and the timer 15 times out with lapse of the preliminarily set fixed time, the bar code data within the buffer A is transmitted to ECR main body 20. On the contrary, if the next bar code is read in the scanner part 16 before the timer 15 times out, the read data and the bar code data within the buffer A are transmitted to the ECR main body.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、商品等に付されるバー
コードを読取るためのバーコード読取装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a barcode reading device for reading barcodes attached to products and the like.

【0002】0002

【従来の技術】近年、各商品には図5の(a)に示す如
くその商品を特定するPLU(プライス・ルック・アッ
プ)コード等からなる商品情報のバーコード1aを印刷
したバーコードラベル1がそれぞれ付されている。そし
て従来、このようなバーコードラベル1のバーコード1
aを光学的手段により読取るバーコード読取り装置とし
て、定置式スキャナやハンド式スキャナ等が実用化され
ている。
2. Description of the Related Art In recent years, each product has a barcode label 1 printed with a product information barcode 1a consisting of a PLU (Price Look Up) code, etc. that identifies the product, as shown in FIG. 5(a). are attached to each. Conventionally, barcode 1 of barcode label 1 like this
Fixed type scanners, hand type scanners, etc. have been put into practical use as barcode reading devices that read a by optical means.

【0003】また、最近では図5の(b)に示す如く商
品情報のバーコード2aと値引情報のバーコード2bを
上下2段に印刷したバーコードラベル2を値引対象商品
に貼付し、以前は電子式キャッシュレジスタのキーボー
ドからキー入力していた値引金額等の値引情報を該当商
品の商品情報とともにバーコードの読取操作で入力でき
るようにしたものがある。この場合、各バーコード2a
,2bの一部に2段バーコードラベルであることを識別
するためのフラグFを割り付ける。そして、バーコード
読取装置においては、バーコードを読取る毎にフラグの
有無を判別し、フラグなしの場合には1段バーコードの
入力と認識して直ちにデータ処理し、フラグ有りの場合
には2段バーコードの入力と認識して次に入力されるバ
ーコードと組合わせてデータ処理していた。
Recently, as shown in FIG. 5(b), a barcode label 2 in which a barcode 2a for product information and a barcode 2b for discount information are printed in two rows, upper and lower, is attached to discounted products. Some electronic cash registers now allow discount information, such as the discount amount, which was previously entered through the keyboard of the electronic cash register, to be entered along with the product information of the corresponding product by reading a barcode. In this case, each barcode 2a
, 2b is assigned a flag F for identifying that it is a two-stage barcode label. Each time a barcode is read, the barcode reader determines the presence or absence of a flag. If there is no flag, it is recognized as a 1-stage barcode input and the data is processed immediately; if there is a flag, 2-stage barcode is input. It recognized the input as a step barcode and processed the data by combining it with the next barcode input.

【0004】0004

【発明が解決しようとする課題】ところが、例えば時間
帯によって特定の商品を値引するようなサービスがあり
、このようなサービスを実施している店で上述した2段
バーコードラベル2を用いるとすると、値引時間帯の前
までは図5の(a)に示す1段バーコードラベル1を各
商品に貼付し、値引時間帯になると値引対象商品のバー
コードラベルを図5の(b)に示す2段バーコードラベ
ル2に貼替え、値引時間帯を過ぎると元の1段バーコー
ドラベル1に戻すことになる。このため、値引対象商品
に対してはそれぞれ値引時間帯外での1段バーコードラ
ベル1と値引時間帯での2段バーコードラベル2の2枚
が必要で、バーコードラベルが無駄であった。
[Problem to be Solved by the Invention] However, for example, there is a service that discounts certain products depending on the time of day, and if a store that provides such a service uses the above-mentioned two-tier barcode label 2. Then, before the discount period, a one-stage barcode label 1 shown in FIG. It will be replaced with the two-stage barcode label 2 shown in b), and after the discount period has passed, it will be returned to the original one-stage barcode label 1. For this reason, two barcode labels are required for each discounted product: one one-stage barcode label for outside the discount period and two two-stage barcode labels for the discount period. Met.

【0005】このような問題は、値引情報のバーコード
2bだけのバーコードラベルを作成し、値引時間帯前ま
では商品情報のバーコード1aまたは2aのバーコード
ラベルを使用し、値引時間帯になると上記値引情報のバ
ーコード2bだけのバーコードラベルを上記商品情報の
バーコード1aまたは2aのバーコードラベルの上部ま
たは下部に貼付し、値引時間帯を過ぎると上記値引情報
のバーコード2bだけのバーコードラベルを剥がす運用
をとることによって解決できる。
[0005] Such a problem can be solved by creating a barcode label with only barcode 2b for discount information, and using barcode labels with barcode 1a or 2a for product information until before the discount period, and then Once the discount time period has passed, a barcode label containing only barcode 2b for the above discount information is pasted above or below the barcode label for barcode 1a or 2a for the above product information, and once the discount time period has passed, the above discount information This problem can be solved by peeling off the barcode label of only barcode 2b.

【0006】しかし従来のバーコード読取り装置におい
ては、読取ったバーコードに2段バーコードラベルであ
ることを識別するためのフラグが含まれるか否かを判断
し、フラグ無しの場合には1段バーコードラベル1のバ
ーコードデータとしてデータ処理し、フラグ有りの場合
には2段バーコードラベル2のバーコードデータとして
データ処理するため、上記運用をとることができなかっ
た。
However, in conventional barcode reading devices, it is determined whether or not the read barcode includes a flag to identify it as a two-stage barcode label. Since the data is processed as barcode data of barcode label 1, and if there is a flag, the data is processed as barcode data of two-stage barcode label 2, so the above operation could not be adopted.

【0007】そこで本発明は、バーコードを読取ってか
ら一定時間内に次のバーコードを読取らなければ始めに
読取ったバーコードを1段バーコードラベルのバーコー
ドとしてデータ処理でき、かつ一定時間内に次のバーコ
ードを読取ったならば始めのバーコードと次のバーコー
ドとを多段バーコードラベルのバーコードとしてデータ
処理できるバーコード読取装置を提供しようとするもの
である。
[0007] Therefore, the present invention is capable of data processing the first barcode read as a barcode of a one-stage barcode label unless the next barcode is read within a certain period of time after reading the barcode. An object of the present invention is to provide a barcode reading device that can data-process the first barcode and the next barcode as a barcode of a multi-stage barcode label if the next barcode is read within the same period.

【0008】また、一定時間内に次のバーコードを読取
らなかった場合に始めに読取ったバーコードが有効か無
効かを判定し、有効の場合のみデータ処理できるバーコ
ード読取装置を提供しようとするものである。
[0008] Another attempt is to provide a barcode reading device that determines whether the first barcode read is valid or invalid if the next barcode is not read within a certain period of time, and can process data only if it is valid. It is something to do.

【0009】[0009]

【課題を解決するための手段】本発明は、バーコードを
光学的手段により読取るスキャナ部と、このスキャナ部
で読取ったバーコードデータを格納するバッファと、ス
キャナ部でバーコードが読取られてから次のバーコード
が読取られるまでの時間を計時するタイマと、このタイ
マによる計時時間が一定時間に達するとバッファ内のバ
ーコードデータをデータ処理する1段バーコード処理手
段と、タイマによる計時時間が一定時間に達するより前
にスキャナ部で次のバーコードが読取られると、その読
取ったバーコードデータとバッファ内のバーコードデー
タとを組合わせてデータ処理する多段バーコード処理手
段とを備えたものである。
[Means for Solving the Problems] The present invention includes a scanner unit that reads barcodes by optical means, a buffer that stores barcode data read by the scanner unit, and a buffer that stores barcode data read by the scanner unit. A timer that measures the time until the next barcode is read; a one-stage barcode processing means that processes the barcode data in the buffer when the timer measures the time until the next barcode is read; A multi-stage barcode processing means that, when the next barcode is read by the scanner section before a certain time period is reached, performs data processing by combining the read barcode data and the barcode data in the buffer. It is.

【0010】そして、タイマによる計時時間が一定時間
に達するとバッファ内のバーコードデータが有効か無効
かを判定し、有効と判定された場合に前記1段バーコー
ド処理手段によりバッファ内のバーコードデータをデー
タ処理することが望ましい。
[0010] Then, when the time measured by the timer reaches a certain time, it is determined whether the barcode data in the buffer is valid or invalid, and if it is determined to be valid, the barcode data in the buffer is processed by the first stage barcode processing means. It is desirable to process the data.

【0011】[0011]

【作用】このような構成のバーコード読取装置であれば
、スキャナ部によってバーコードが読取られると、その
バーコードデータがバッファに格納されるとともにタイ
マによる計時が開始される。そして、一定時間内に次の
バーコードが読取られない場合には、上記バッファ内の
バーコードデータが1段バーコードラベルのバーコード
としてデータ処理される。一定時間内に次のバーコード
が読取られた場合には、その読取りデータと上記バッフ
ァ内のバーコードデータとが組合わされた2段バーコー
ドラベルのバーコードとしてデータ処理される。
[Operation] With the barcode reading device having such a configuration, when a barcode is read by the scanner section, the barcode data is stored in the buffer and time measurement by the timer is started. If the next barcode is not read within a certain period of time, the barcode data in the buffer is processed as a barcode of a one-stage barcode label. When the next barcode is read within a certain period of time, the read data and the barcode data in the buffer are combined and processed as a barcode of a two-stage barcode label.

【0012】0012

【実施例】以下、本発明の一実施例を図面を参照しなが
ら説明する。なお、この実施例では本発明を定置式スキ
ャナに適用した場合について述べる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. In this embodiment, a case will be described in which the present invention is applied to a stationary scanner.

【0013】図1はブロック図で、CPU(中央処理装
置)11にバスライン12を介してROM(リード・オ
ンリ・メモリ)13、RAM(ランダム・アクセス・メ
モリ)14、タイマ15、スキャナ部16のコントロー
ラ16a、ブザー17に駆動信号を出力するI/Oポー
ト17a及び電子式キャッシュレジスタ本体(以下EC
R本体と略称する)20との間で行われるデータ送受信
を制御する通信インタフェース18の各部をそれぞれ接
続して、定置式スキャナ10を構成している。
FIG. 1 is a block diagram, in which a CPU (central processing unit) 11 is connected to a ROM (read only memory) 13, a RAM (random access memory) 14, a timer 15, and a scanner section 16 via a bus line 12. controller 16a, I/O port 17a that outputs a drive signal to the buzzer 17, and the electronic cash register main body (hereinafter referred to as EC).
The stationary scanner 10 is configured by connecting each part of the communication interface 18 that controls data transmission and reception with the R main body (abbreviated as R main body) 20.

【0014】上記スキャナ部16は、レーザチューブか
ら発光されポリゴンミラーで多方向に走査されたレーザ
光をファトセンサで受光することによってバーコードを
読取るものである。上記RAM14には、スキャナ部1
6で読取られたバーコードデータを格納するためのバッ
ファA14a及びバッファB14bが設けられている。
The scanner section 16 reads bar codes by receiving laser light emitted from a laser tube and scanned in multiple directions by a polygon mirror using a fat sensor. In the RAM 14, the scanner section 1
A buffer A14a and a buffer B14b are provided for storing the barcode data read in step 6.

【0015】上記タイマ15は、スキャナ部16でバー
コードが読取られてから次のバーコードが読取られるま
での時間を計時するためのもので、スキャナ部16によ
り2段バーコードラベル2の一方のバーコードを読取っ
てから他方のバーコードを読取るのに要する時間以上で
、1商品のバーコードを読取ってから別商品のバーコー
ドを読取るのに要する時間未満の一定時間(例えば0.
5秒)が予め設定されている。
The timer 15 is used to measure the time from when a bar code is read by the scanner unit 16 to when the next bar code is read. A certain period of time that is longer than the time required to read one barcode and then read another barcode, but less than the time required to read one product's barcode and then read another product's barcode (for example, 0.
5 seconds) is set in advance.

【0016】前記ECR本体20は、定置式スキャナ1
0にて読取られたバーコードの商品情報等に基づいて商
品販売データをメモリに登録処理するとともにレシート
の発行等を制御するもので、置数キー、小計キー、締め
キー等が配設されたキーボード21、販売商品の値段や
客の合計金額等を表示するための表示器22、レシート
等に印字を行なうプリンタ23、現金等を収納するため
のドロワ24等の外部機器が備えられている。
The ECR main body 20 is a stationary scanner 1.
It registers product sales data in the memory based on the product information etc. of the barcode read at 0, and also controls the issuance of receipts, etc. It is equipped with a number key, a subtotal key, a closing key, etc. It is equipped with external devices such as a keyboard 21, a display 22 for displaying the prices of sold products and the customer's total amount, a printer 23 for printing on receipts, etc., and a drawer 24 for storing cash and the like.

【0017】しかして、前記定置式スキャナ10のCP
U11は、図2に示す制御を実行する。すなわち、ST
(ステップ)1としてスキャナ部16によりバーコード
が読取られると、ST2として読取ったバーコードデー
タをRAM14のバッファA14aに格納する。また、
ST3としてタイマ15の計時動作を開始させる。この
状態で、ST4として前記スキャナ部16により次のバ
ーコードが読取られるより前に、ST5として上記タイ
マ15が予め設定されている一定時間を計時してタイム
アウトしたならば、1段バーコードラベル1のバーコー
ドを読取ったものと判定し、ST6として上記バッファ
A14a内のバーコードデータを通信インタフェース1
8を介してECR本体20側にデータ送信する(1段バ
ーコード処理手段)。
[0017] Therefore, the CP of the stationary scanner 10
U11 executes the control shown in FIG. That is, ST
(Step) When the barcode is read by the scanner unit 16 in step 1, the read barcode data is stored in the buffer A14a of the RAM 14 in step ST2. Also,
As ST3, the timer 15 is started to measure time. In this state, before the next barcode is read by the scanner unit 16 in ST4, if the timer 15 times out by counting a preset period of time in ST5, the first stage barcode label 1 It is determined that the barcode has been read, and the barcode data in the buffer A14a is transferred to the communication interface 1 in ST6.
8 to the ECR main body 20 side (first-stage barcode processing means).

【0018】これに対し、ST5にてタイマ15による
計時時間が一定時間に達するより前にST4にてスキャ
ナ部16により次のバーコードが読取られると、ST7
として読取ったバーコードデータとバッファA14a内
のバーコードデータとを比較する。そして、両者が一致
する場合には後から読取ったバーコードデータを破棄し
、ST5に進んでタイマ監視を続ける。両者が一致しな
い場合、タイマ15に設定された一定時間内に2種類の
バーコードが読取られたので、2段バーコードラベル2
のバーコードを読取ったものと判定し、ST8として後
から読取ったバーコードデータをバッファB14bに格
納した後、ST9として両バッファ14a,14b内の
バーコードデータを通信インタフェース18を介してE
CR本体20側にデータ送信する(多段バーコード処理
手段)。
On the other hand, if the next barcode is read by the scanner unit 16 in ST4 before the time measured by the timer 15 reaches a certain time in ST5, then ST7
The barcode data read as 1 is compared with the barcode data in the buffer A14a. If the two match, the barcode data read later is discarded, and the process proceeds to ST5 to continue timer monitoring. If they do not match, it means that two types of barcodes were read within the fixed time set in the timer 15, so the two-stage barcode label 2
It is determined that the barcode has been read, and in ST8 the barcode data read later is stored in the buffer B14b, and then in ST9 the barcode data in both buffers 14a and 14b is transferred to E via the communication interface 18.
Data is transmitted to the CR main body 20 side (multi-stage barcode processing means).

【0019】ST6またはST9にてバーコードデータ
を送信した後、ST10として前記タイマ15による計
時動作を停止させ、計時時間を“0”にリセットした後
、ST1に戻って次商品のバーコードの読取り入力を待
つ。
After transmitting the barcode data in ST6 or ST9, the clocking operation by the timer 15 is stopped in ST10, the clocking time is reset to "0", and then the process returns to ST1 to read the barcode of the next product. Wait for input.

【0020】このような構成の本実施例においては、ス
キャナ部16でバーコードが読取られるとその読取りデ
ータがバッファA14aに格納されるとともに、タイマ
15による計時動作が開始される。そして、スキャナ部
16により次のバーコードが読取られることなく上記タ
イマ15が予め設定されている一定時間を計時してタイ
ムアウトしたならば、上記バッファA内のバーコードデ
ータがECR本体20に送信される。これに対し、上記
タイマ15がタイムアウトするより前に上記スキャナ部
16により次のバーコードが読取られたならば、その読
取りデータと上記バッファA内のバーコードデータとが
ECR本体20に送信される。
In this embodiment having such a configuration, when a bar code is read by the scanner unit 16, the read data is stored in the buffer A 14a, and the timer 15 starts a time measurement operation. If the timer 15 times out after counting a preset period of time without the next barcode being read by the scanner section 16, the barcode data in the buffer A is transmitted to the ECR main body 20. Ru. On the other hand, if the next barcode is read by the scanner section 16 before the timer 15 times out, the read data and the barcode data in the buffer A are transmitted to the ECR main body 20. .

【0021】ここで、上記タイマ15の設定時間は、ス
キャナ部16により2段バーコードラベル2の一方のバ
ーコードを読取ってから他方のバーコードを読取るのに
要する時間以上で、1商品のバーコードを読取ってから
別商品のバーコードを読取るのに要する時間未満の一定
時間、例えば0.5秒である。
Here, the set time of the timer 15 is longer than the time required for the scanner unit 16 to read one barcode of the two-tiered barcode label 2 and then read the other barcode, and The time period is a certain period shorter than the time required to read the barcode of another product after reading the code, for example, 0.5 seconds.

【0022】そこで、各商品には図3の(a)に示すよ
うに商品情報のバーコード3aが印刷されたバーコード
ラベル3をそれぞれ貼付する。また、各商品のうち現在
値引している商品については図3の(b)に示すように
値引情報のバーコード4aが印刷されたバーコードラベ
ル4を前記バーコードラベル3の上部または下部に貼付
する。これにより、値引対象外の商品には1段バーコー
ドラベル1と同一構成のバーコードラベル3が貼付され
、値引対象商品には2段バーコードラベル2と同一構成
のバーコードラベル3及び4が貼付される。
Therefore, a barcode label 3 on which a barcode 3a of product information is printed is attached to each product, as shown in FIG. 3(a). In addition, for products that are currently discounted, a barcode label 4 on which a barcode 4a of discount information is printed is placed on the top or bottom of the barcode label 3, as shown in FIG. 3(b). Paste it on. As a result, barcode labels 3 with the same configuration as the 1-tier barcode label 1 are affixed to products that are not eligible for discounts, and barcode labels 3 and 3 with the same configuration as the 2-tier barcode labels 2 are attached to products eligible for discounts. 4 is pasted.

【0023】その結果、値引対象外商品については上記
タイマ15の設定時間内にバーコードラベル3のバーコ
ード3aのみが読取られ、そのバーコードデータがEC
R本体20に送信されて、該当商品の販売データが通常
価格で登録処理される。一方、値引対象商品については
上記タイマ15の設定時間内にバーコードラベル3のバ
ーコード3aとバーコードラベル4のバーコード4aと
が読取られ、両バーコードデータがECR本体20に送
信されて、該当商品の販売データが値引されて登録処理
される。
As a result, for products not eligible for discount, only the barcode 3a of the barcode label 3 is read within the time set by the timer 15, and the barcode data is transferred to the EC.
It is sent to the R main body 20, and the sales data of the corresponding product is registered at the regular price. On the other hand, for products eligible for discount, the barcode 3a of the barcode label 3 and the barcode 4a of the barcode label 4 are read within the time set by the timer 15, and both barcode data are sent to the ECR main body 20. , the sales data of the corresponding product is discounted and registered.

【0024】そして、値引対象商品の値引サービスが終
了したならば、バーコードラベル4を剥がす。これによ
り、当該商品については1段バーコードラベル1と同一
構成のバーコードラベル3が貼付されることになり、上
記タイマ15の設定時間内にバーコードラベル3のバー
コード3aのみが読取られ、そのバーコードデータがE
CR本体20に送信されて、該当商品の販売データが通
常価格で登録処理される。
[0024] When the discount service for the discounted product is completed, the barcode label 4 is peeled off. As a result, a barcode label 3 having the same configuration as the one-stage barcode label 1 is attached to the product, and only the barcode 3a of the barcode label 3 is read within the time set by the timer 15. The barcode data is E
The data is sent to the CR main body 20, and the sales data of the corresponding product is registered at the regular price.

【0025】このように、例えば時間帯によって値引を
行う商品は、値引時間帯の前には図3の(a)に示す商
品情報のバーコード3aが印刷されたバーコードラベル
3のみを貼付して販売し、値引時間帯には上記バーコー
ドラベル3の上部または下部に図3の(b)に示す値引
情報のバーコード4aが印刷されたバーコードラベル4
を追加して販売し、値引時間帯経過後には上記バーコー
ドラベル4を剥がして販売することによって対応できる
。この場合において、商品情報のバーコード3aや値引
情報のバーコード4aに2段バーコードであることを示
すフラグを割り付ける必要がない。従って、従来のよう
に値引を行う各商品に対して1段バーコードラベル2と
2段バーコードラベル2の2種類をそれぞれ用意する必
要がなくなり、バーコードラベルの無駄を防止できる。 しかも値引情報のバーコード4aのラベル4は同一の値
引情報を有する商品であれば兼用できるので、その効果
は大である。
In this way, for example, for products whose price is discounted depending on the time period, only the barcode label 3 on which the product information barcode 3a shown in FIG. 3(a) is printed is printed before the discount time period. A barcode label 4 is attached and sold, and a barcode 4a with discount information shown in FIG. 3(b) is printed on the top or bottom of the barcode label 3 during discount hours.
This can be done by selling additional products, and after the discount period has passed, the barcode label 4 can be removed and sold. In this case, there is no need to assign a flag indicating that the product information barcode 3a or the discount information barcode 4a is a two-stage barcode. Therefore, it is no longer necessary to prepare two types of one-stage barcode labels 2 and two-stage barcode labels 2 for each product to be discounted as in the past, and waste of barcode labels can be prevented. Moreover, since the label 4 of the barcode 4a of discount information can be used for any product having the same discount information, the effect is great.

【0026】ところで、上記例において値引時間帯経過
後に誤ってバーコードラベル3の方を剥がしてしまうと
、前記実施例の定置式スキャナでは該当商品のバーコー
ド読取り操作によりバーコードラベル4のバーコード4
aが1段バーコードラベルとして読取られ、値引情報の
バーコードデータのみがECR本体20に送信される不
具合が生じる。そこで、このような不具合を解消した他
の実施例について次に説明する。
By the way, in the above example, if the barcode label 3 is accidentally peeled off after the discount period has passed, the stationary scanner of the above embodiment will remove the barcode label 4 by reading the barcode of the product. code 4
A problem arises in that a is read as a one-stage barcode label and only the barcode data of discount information is transmitted to the ECR main body 20. Therefore, another embodiment that solves this problem will be described below.

【0027】この他の実施例が前記実施例と異なる点は
、CPU11の制御の一部である。すなわち、図4に示
すようにST1にてスキャナ部16によりバーコードが
読取られると、ST2にて読取りデータをバッファA1
4aに格納する。またST3にてタイマ15の計時動作
を開始する。その後、ST4にてスキャナ部16により
次のバーコードが読取られるより前に、ST5にて上記
タイマ15がタイムアウトすると、ST51としてバッ
ファA14a内のバーコードデータが単独で有効なバー
コードか否かを判定する(データ判定手段)。この場合
、単独では無効となるバーコード例えば値引情報のバー
コードに対して所定のフラグを割付け、CPU11はそ
のフラグの有無によって有効か無効かを判定する。そし
て、商品情報のバーコード3aのように単独でも有効な
バーコードの場合には、ST6にて上記バッファA14
a内のバーコードデータをECR本体20側にデータ送
信する(1段バーコード処理手段)。これに対し、値引
情報のバーコード4aのように単独では無効なバーコー
ドの場合には、ST52としてブザー17からエラー音
を発する等のエラー処理を行い、バッファA14a内の
バーコードデータを破棄する。その後、ST10にて前
記タイマ15による計時動作を停止させ、計時時間を“
0”にリセットした後、ST1に戻って次商品のバーコ
ードの読取り入力を待つ。
This other embodiment differs from the previous embodiment in part of the control of the CPU 11. That is, as shown in FIG. 4, when a barcode is read by the scanner unit 16 in ST1, the read data is transferred to the buffer A1 in ST2.
4a. Also, in ST3, the timer 15 starts measuring time. After that, when the timer 15 times out in ST5 before the next barcode is read by the scanner unit 16 in ST4, it is determined in ST51 whether or not the barcode data in the buffer A 14a is a valid barcode alone. Determine (data determination means). In this case, a predetermined flag is assigned to a barcode that is invalid alone, for example, a barcode for discount information, and the CPU 11 determines whether the barcode is valid or invalid depending on the presence or absence of the flag. Then, in the case of a barcode that is valid even by itself, such as the product information barcode 3a, the buffer A14 is stored in ST6.
The barcode data in a is transmitted to the ECR main body 20 side (first-stage barcode processing means). On the other hand, in the case of a barcode that is invalid on its own, such as the discount information barcode 4a, error processing such as emitting an error sound from the buzzer 17 is performed in ST52, and the barcode data in the buffer A14a is discarded. do. After that, in ST10, the time measurement operation by the timer 15 is stopped, and the time measurement time is "
After resetting to "0", the process returns to ST1 and waits for the next product's barcode to be read and input.

【0028】ST5にてタイマ15による計時時間が一
定時間に達するより前にST4にてスキャナ部16によ
り次のバーコードが読取られた場合には前記実施例と同
様である。
If the next bar code is read by the scanner unit 16 in ST4 before the time measured by the timer 15 reaches a certain time in ST5, the process is the same as in the previous embodiment.

【0029】従って、この他の実施例においても、図3
の(a)に示すバーコードラベル3のみが貼付された値
引対象外商品については上記タイマ15の設定時間内に
バーコードラベル3のバーコード3aのみが読取られ、
そのバーコードデータがECR本体20に送信されて、
該当商品の販売データが通常価格で登録処理される。ま
た、上記バーコードラベル3と図3の(b)に示すバー
コードラベル4とが2段バーコードラベル2と同一構成
で貼付された値引対象商品については上記タイマ15の
設定時間内にバーコードラベル3のバーコード3aとバ
ーコードラベル4のバーコード4aとが読取られ、両バ
ーコードデータがECR本体20に送信されて、該当商
品の販売データが値引されて登録処理される。
Therefore, in this other embodiment as well, FIG.
For products that are not eligible for discounts and have only the barcode label 3 affixed as shown in (a) above, only the barcode 3a of the barcode label 3 is read within the time set by the timer 15, and
The barcode data is sent to the ECR main body 20,
The sales data of the corresponding product will be registered at the regular price. In addition, for products eligible for discount on which the barcode label 3 and the barcode label 4 shown in FIG. The barcode 3a of the code label 3 and the barcode 4a of the barcode label 4 are read, both barcode data are transmitted to the ECR main body 20, and the sales data of the corresponding product is discounted and registered.

【0030】一方、図4の(b)に示すバーコードラベ
ル4のみが貼付された商品については、読取ったバーコ
ードが単独では無意味なバーコードなのでエラーとなり
そのバーコードデータは破棄される。その結果、誤った
バーコードデータがECR本体20に送信される不具合
が確実に防止される。
On the other hand, for a product to which only the barcode label 4 shown in FIG. 4B is attached, the read barcode alone is meaningless, so an error occurs and the barcode data is discarded. As a result, the problem of sending incorrect barcode data to the ECR main body 20 is reliably prevented.

【0031】なお、本発明は前記各実施例に限定される
ものではない。例えば前記実施例では商品情報のバーコ
ード3aと値引情報のバーコード4aとを2段バーコー
ドの構成にした例を示したが、値引情報以外の商品修飾
情報をバーコード化して商品情報のバーコード3aと2
段バーコードの構成にすることも考えられる。また、前
記実施例では多段バーコードラベルとして2段バーコー
ドラベルを示したが、RAM14に形成されるバッファ
を増やすことによって3段以上のバーコードラベルにつ
いても対応できる。さらに、本発明は定置式スキャナに
限定されるものではなく、1段のバーコードしか読取れ
ないスキャナ部を拡張して同時に複数段を読取れるよう
に改良することによってハンド式スキャナにも適用する
ことは可能である。この他、本発明の要旨を逸脱しない
範囲で種々変形実施可能であるのは勿論である。
It should be noted that the present invention is not limited to the above embodiments. For example, in the above embodiment, the barcode 3a for product information and the barcode 4a for discount information are configured as a two-stage barcode, but product modification information other than discount information is converted into a barcode and the product information barcode 3a and 2
It is also conceivable to configure the bar code in stages. Further, in the above embodiment, a two-stage barcode label is shown as a multi-stage barcode label, but by increasing the number of buffers formed in the RAM 14, it is also possible to support a barcode label with three or more stages. Furthermore, the present invention is not limited to stationary scanners, but can also be applied to hand-held scanners by expanding the scanner section that can only read one stage of barcodes and improving it so that it can read multiple stages at the same time. It is possible. It goes without saying that various other modifications can be made without departing from the gist of the present invention.

【0032】[0032]

【発明の効果】以上詳述したように本発明によれば、バ
ーコードを読取ってから一定時間内に次のバーコードを
読取らなければ始めに読取ったバーコードを1段バーコ
ードラベルのバーコードとしてデータ処理でき、かつ一
定時間内に次のバーコードを読取ったならば始めのバー
コードと次のバーコードとを多段バーコードラベルのバ
ーコードとしてデータ処理できるバーコード読取装置を
提供できる。
Effects of the Invention As detailed above, according to the present invention, if the next barcode is not read within a certain period of time after reading a barcode, the first barcode read will be replaced with the first barcode on the barcode label. To provide a barcode reading device which can process data as a code and, if the next barcode is read within a certain time, can process the first barcode and the next barcode as barcodes of a multi-stage barcode label.

【0033】また、一定時間内に次のバーコードを読取
らなかった場合に始めに読取ったバーコードが有効か無
効かを判定し、有効の場合のみデータ処理できるバーコ
ード読取装置を提供できる。
Furthermore, it is possible to provide a barcode reading device that can determine whether the first barcode read is valid or invalid if the next barcode is not read within a certain period of time, and can process data only if it is valid.

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

【図1】  本発明の一実施例を示すブロック図。FIG. 1 is a block diagram showing one embodiment of the present invention.

【図2】  同実施例におけるCPUの主要な制御を示
す流れ図。
FIG. 2 is a flowchart showing the main control of the CPU in the same embodiment.

【図3】  同実施例で使用されるバーコードラベルの
構成を示す図。
FIG. 3 is a diagram showing the configuration of a barcode label used in the same example.

【図4】  本発明の他の実施例におけるCPUの主要
な制御を示す流れ図。
FIG. 4 is a flowchart showing main control of the CPU in another embodiment of the present invention.

【図5】  従来のバーコードラベルの構成を示す図。FIG. 5 is a diagram showing the configuration of a conventional barcode label.

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

1,2,3,4…バーコードラベル、11…CPU、1
4a,14b…バッファ、15…タイマ、16…スキャ
ナ部。
1, 2, 3, 4...Barcode label, 11...CPU, 1
4a, 14b...buffer, 15...timer, 16...scanner unit.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  バーコードを光学的手段により読取る
スキャナ部と、このスキャナ部で読取ったバーコードデ
ータを格納するバッファと、前記スキャナ部でバーコー
ドが読取られてから次のバーコードが読取られるまでの
時間を計時するタイマと、このタイマによる計時時間が
一定時間に達すると前記バッファ内のバーコードデータ
をデータ処理する1段バーコード処理手段と、前記タイ
マによる計時時間が一定時間に達するより前に前記スキ
ャナ部で次のバーコードが読取られると、その読取った
バーコードデータと前記バッファ内のバーコードデータ
とを組合わせてデータ処理する多段バーコード処理手段
と、を具備したことを特徴とするバーコード読取り装置
1. A scanner unit that reads barcodes by optical means; a buffer that stores barcode data read by the scanner unit; and a barcode that is read by the scanner unit and then the next barcode is read. a timer that measures the time until the time elapses; a one-stage barcode processing means that processes the barcode data in the buffer when the time measured by the timer reaches a certain time; A multi-stage barcode processing means that, when a next barcode is previously read by the scanner section, performs data processing by combining the read barcode data and the barcode data in the buffer. barcode reading device.
【請求項2】  バーコードを光学的手段により読取る
スキャナ部と、このスキャナ部で読取ったバーコードデ
ータを格納するバッファと、前記スキャナ部でバーコー
ドが読取られてから次のバーコードが読取られるまでの
時間を計時するタイマと、このタイマによる計時時間が
一定時間に達すると前記バッファ内のバーコードデータ
が有効か無効かを判定するデータ判定手段と、この判定
手段により有効であると判定されると前記バッファ内の
バーコードデータをデータ処理する1段バーコード処理
手段と、前記タイマによる計時時間が一定時間に達する
より前に前記スキャナ部で次のバーコードが読取られる
と、その読取ったバーコードデータと前記バッファ内の
バーコードデータとを組合わせてデータ処理する多段バ
ーコード処理手段と、を具備したことを特徴とするバー
コード読取り装置。
2. A scanner section that reads barcodes by optical means; a buffer that stores barcode data read by the scanner section; and after the barcode is read by the scanner section, the next barcode is read. a timer that measures the time until the barcode data elapses; a data determining means that determines whether the barcode data in the buffer is valid or invalid when the time measured by the timer reaches a certain time; a one-stage barcode processing means for processing the barcode data in the buffer; A barcode reading device comprising: multistage barcode processing means for processing a combination of barcode data and barcode data in the buffer.
JP3023313A 1991-02-18 1991-02-18 Barcode reader Expired - Fee Related JP2695999B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3023313A JP2695999B2 (en) 1991-02-18 1991-02-18 Barcode reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3023313A JP2695999B2 (en) 1991-02-18 1991-02-18 Barcode reader

Publications (2)

Publication Number Publication Date
JPH04263382A true JPH04263382A (en) 1992-09-18
JP2695999B2 JP2695999B2 (en) 1998-01-14

Family

ID=12107104

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3023313A Expired - Fee Related JP2695999B2 (en) 1991-02-18 1991-02-18 Barcode reader

Country Status (1)

Country Link
JP (1) JP2695999B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009193531A (en) * 2008-02-18 2009-08-27 Toshiba Tec Corp Data code reader and commodity registration system
CN104424459A (en) * 2013-08-23 2015-03-18 广州市韦尔讯信息科技有限公司 Rapid identification method of one-dimensional laser bar code and apparatus thereof
JP2021002102A (en) * 2019-06-20 2021-01-07 株式会社東芝 Image recognition device, POS terminal device, image recognition method, and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009193531A (en) * 2008-02-18 2009-08-27 Toshiba Tec Corp Data code reader and commodity registration system
JP4538056B2 (en) * 2008-02-18 2010-09-08 東芝テック株式会社 Data code reader and product registration system
CN104424459A (en) * 2013-08-23 2015-03-18 广州市韦尔讯信息科技有限公司 Rapid identification method of one-dimensional laser bar code and apparatus thereof
CN104424459B (en) * 2013-08-23 2017-03-15 广州市韦尔讯信息科技有限公司 A kind of method for quickly identifying of one-dimensional laser bar code and device
JP2021002102A (en) * 2019-06-20 2021-01-07 株式会社東芝 Image recognition device, POS terminal device, image recognition method, and program

Also Published As

Publication number Publication date
JP2695999B2 (en) 1998-01-14

Similar Documents

Publication Publication Date Title
US6317650B1 (en) System and method employing portable cards to monitor a commercial system
CN101556723A (en) Commodity registration processing apparatus and commodity registration processing method
JP2002042049A (en) Article identifying device and article identifying method
JPH04330595A (en) System and method for consolidating lottery ticket vending terminal to vending field system
JP3136196B2 (en) Product sales data processing device
US6592038B2 (en) Item processing system and method which track label usage
JPH04263382A (en) Bar code reader
CN101322163B (en) Merchandise selling data processing device
JPH06223271A (en) Commodity sales data processor
US5179270A (en) Scanner system interface
EP2447921A1 (en) Point of sale terminal
JP3665893B2 (en) Discount system by POS terminal
JP2000137871A (en) System and method for simultaneously displaying price by plural currencies
JP2001005905A (en) Code reader inspecting device and commodity sales registration data processor
JP2898149B2 (en) Product sales data processing device
JP2002150434A (en) Discount label and its commodity treatment system
JP5446289B2 (en) POS terminal device and barcode scanner
JP2005250566A (en) Merchandise sales data processing apparatus
JP3076669B2 (en) Product sales data processing device
JPH064773A (en) Commodity sales data processor
JP2505259B2 (en) Product sales data processing device
JPH10222765A (en) Shopping support system
JP3777658B2 (en) register
JP2005018676A (en) Bar code processor
JPH0765238A (en) Article sale data processor

Legal Events

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

Free format text: PAYMENT UNTIL: 20070912

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20080912

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees