JPH074673Y2 - Data processing device - Google Patents

Data processing device

Info

Publication number
JPH074673Y2
JPH074673Y2 JP10695488U JP10695488U JPH074673Y2 JP H074673 Y2 JPH074673 Y2 JP H074673Y2 JP 10695488 U JP10695488 U JP 10695488U JP 10695488 U JP10695488 U JP 10695488U JP H074673 Y2 JPH074673 Y2 JP H074673Y2
Authority
JP
Japan
Prior art keywords
data
unit price
storage means
hand scanner
classification
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 - Lifetime
Application number
JP10695488U
Other languages
Japanese (ja)
Other versions
JPH0232165U (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP10695488U priority Critical patent/JPH074673Y2/en
Publication of JPH0232165U publication Critical patent/JPH0232165U/ja
Application granted granted Critical
Publication of JPH074673Y2 publication Critical patent/JPH074673Y2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【考案の詳細な説明】 [産業上の利用分野] この考案は、電子レジスタ、POSシステム、オフィスコ
ンピュータ等のデータ処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial application] The present invention relates to a data processing device such as an electronic register, a POS system, and an office computer.

[従来の技術] 近年、ハンドスキャナにPLUメモリや一登録メモリに備
え、このハンドスキャナにて読取られたバーコードに基
づいて、ハンドスキャナ自身でPLU別の売上合計個数等
を累計記憶したり、一登録分の売上データを記憶する等
の登録処理を行い、このハンドスキャナを電子レジスタ
本体に接続して、一登録メモリの内容を電子レジスタ本
体に伝送して、電子レジスタ本体にてレシートを発行す
る電子レジスタが考えられている。
[Prior Art] In recent years, a hand scanner is equipped with a PLU memory or a registered memory, and based on a bar code read by this hand scanner, the hand scanner itself stores the total number of sales by PLU, etc. Performs registration processing such as storing sales data for one registration, connects this hand scanner to the electronic register body, transmits the contents of one registration memory to the electronic register body, and issues a receipt at the electronic register body. An electronic cash register is being considered.

そして、このような電子レジスタにおいては、ハンドス
キャナのPLUメモリにプリセットすべきバーコード番
号、単価等は、ハンドスキャナを電子レジスタ本体に接
続した際に、電子レジスタ本体側から供給している。
In such an electronic register, the bar code number, unit price, etc. to be preset in the PLU memory of the hand scanner are supplied from the electronic register body side when the hand scanner is connected to the electronic register body.

[考案が解決しようとする課題] ところで、店舗において、例えば、午後から複数の商品
に関して、一括して値下げする場合がある。この場合、
値下げされた全ての商品の単価が、ハンドスキャナのPL
Uメモリ上で書替えられるまでは、どんなに忙しくて
も、ハンドスキャナによる登録処理を行うことができな
かった。
[Problems to be solved by the invention] By the way, in stores, for example, prices of a plurality of products may be collectively reduced from the afternoon. in this case,
The unit price of all reduced prices is the PL of the hand scanner
Until it was rewritten on the U memory, no matter how busy I was, I could not perform the registration process using the hand scanner.

この考案の課題は、端末機に設定されるべき分類別のプ
リセットデータの変更処理の途中であっても、端末機よ
り分類別データを入力し、その分類別データに関して、
変更に係るプリセットデータに基づいてデータ処理を行
えるようにすることである。
The problem of this invention is to input the classification data from the terminal even during the process of changing the preset data for the classification to be set in the terminal, and regarding the classification data,
The data processing can be performed based on the preset data related to the change.

[課題を解決するための手段] この考案の手段は次の通りである。[Means for Solving the Problems] The means of the present invention are as follows.

データ処理装置は、電子レジスタ等のホスト機と、この
ホスト機に着脱自在に接続してデータ授受を行うハンド
スキャナ等の端末機とにより構成されている。上記デー
タ授受は、例えば、非装着状態のハンドスキャナにて登
録処理された一登録分の売上データに基づいて、電子レ
ジスタにてレシートを発行する等のために行う。
The data processing device is composed of a host machine such as an electronic register and a terminal machine such as a hand scanner that is detachably connected to the host machine to exchange data. The data transfer is performed, for example, to issue a receipt in an electronic register based on sales data for one registration that is registered by the hand scanner in the non-wearing state.

ホスト機の供給手段は、商品分類を示すバーコード等の
分類別データごとに、その分類別データに関する単価等
の所定のプリセットデータを端末機に供給する。
The supply means of the host machine supplies, to each terminal, predetermined preset data such as a unit price relating to the classified data for each classified data such as a bar code indicating a product classification.

端末機の第1の記憶手段は、供給手段にて供給された分
類別データ、プリセットデータを記憶する。
The first storage means of the terminal device stores the classification data and the preset data supplied by the supply means.

第2の記憶手段は、第1の記憶手段内の分類別データに
関して、対応するプリセットデータが、上記供給手段か
らの変更に係るプリセットデータに未だ書替えられてい
ない旨を示すデータを記憶する。
The second storage means stores, for the classification-based data in the first storage means, data indicating that the corresponding preset data is not yet rewritten to the preset data related to the change from the supply means.

入力手段は、分類別データ等を入力する。The input means inputs data by classification and the like.

処理手段は、入力手段から分類別データが入力された
際、第1の記憶手段内の対応するプリセットデータに基
づいて、例えば、商品別の売上合計金額を累計する、一
登録分の商品のバーコード、単価を登録する等のデータ
処理を行う。
When the classification data is input from the input means, the processing means accumulates, for example, the total sales amount for each product based on the corresponding preset data in the first storage means, and the bar of the product for one registration. Performs data processing such as registering codes and unit prices.

判別手段は、当該端末機がホスト機から取外された状態
で、入力手段により分類別データが入力された際、その
分類別データに対応するプリセットデータの変更がなさ
れているか否かを第2の記憶手段に基づいて判別する。
When the classification data is input by the input device in a state where the terminal device is removed from the host machine, the determination means determines whether or not the preset data corresponding to the classification data is changed. It is determined based on the storage means.

一時記憶手段は、上記判別手段にてプリセットデータの
変更がなされていないと判別されたときは、上記入力手
段により分類別データが入力された際に、その入力され
た分類別データを一時記憶する。
The temporary storage means, when it is determined by the determination means that the preset data has not been changed, temporarily stores the input classification data when the classification data is input by the input means. .

制御手段は、上記判別手段にてプリセットデータの変更
がなされていないと判別されたときは、当該端末機が上
記ホスト機に装着された際に、上記一時記憶手段に記憶
された分類データに係るプリセットデータを上記ホスト
機に問い合せて上記第1の記憶手段に書込み、その変更
に係るプリセットデータに基づいて上記処理手段にデー
タ処理を行わせる。
When the determination unit determines that the preset data has not been changed, the control unit controls the classification data stored in the temporary storage unit when the terminal is attached to the host unit. The preset data is inquired to the host machine and written in the first storage means, and the processing means is caused to perform data processing based on the preset data relating to the change.

[作用] この考案の手段の作用は次の通りである。[Operation] The operation of the means of this invention is as follows.

例えば、ホスト機の供給手段から、各商品のバーコード
(分類別データ)と、その商品の単価(プリセットデー
タ)とが供給されると、端末機の第1の記憶手段は、そ
れらを商品別に記憶する。
For example, when the bar code (classified data) of each product and the unit price (preset data) of the product are supplied from the supply device of the host device, the first storage device of the terminal device supplies them by product. Remember.

また、第2の記憶手段は、例えば、供給手段から最初の
変更単価が供給されたとき、変更単価を送信開始する旨
の信号をホスト機から受信したとき、どの商品分の変更
単価が供給されるのか不明であるので、とりあえず、第
1の記憶手段内の全ての分類別データに関して、供給手
段からの変更単価に書替えていない旨を示すデータとし
て、単価変更未処理フラグをセットして記憶する。この
単価変更未処理フラグは、現在の単価が変更単価に書替
えられたときは、リセットされるが、全ての変更単価未
供給の商品に関しては、その単価変更未処理フラグはセ
ットされたままとなる。
Further, for example, when the first change unit price is supplied from the supplying unit, when the signal for starting transmission of the change unit price is received from the host machine, the second storage unit is supplied with the change unit price for which product. For the time being, it is unclear whether the unit price change unprocessed flag is set and stored as data indicating that the changed unit price from the supply means has not been rewritten for all the classified data in the first storage means. . This unit price change unprocessed flag is reset when the current unit price is rewritten to the changed unit price, but the unit price change unprocessed flag remains set for all products for which the changed unit price has not been supplied. .

今、端末機をホスト機から取外した状態で入力手段によ
り、バーコードを入力したとする。そうすると、判別手
段は、そのバーコードに対応する商品の単価変更処理が
なされているか否かを第2の記憶手段内の単価変更未処
理フラグに基づいて判別する。そして、この判別手段に
てプリセットデータの変更がなされていないと判別され
たときは、上記入力手段により分類別データが入力され
た際に、その入力された分類別データを一時記憶手段に
一時記憶し、上記判別手段にてプリセットデータの変更
がなされていないと判別されたときは、当該端末機が上
記ホスト機に装着された際に、上記一時記憶手段に記憶
された分類データに係るプリセットデータを上記ホスト
機に問い合せて上記第1の記憶手段に書込み、その変更
に係るプリセットデータに基づいて制御手段は上記処理
手段にデータ処理を行わせる。
Now, it is assumed that the bar code is input by the input means in a state where the terminal device is detached from the host device. Then, the determination means determines whether or not the unit price change processing of the product corresponding to the barcode has been performed based on the unit price change unprocessed flag in the second storage means. When it is determined by the determination means that the preset data has not been changed, when the classification data is input by the input means, the input classification data is temporarily stored in the temporary storage means. However, when it is determined by the determination means that the preset data has not been changed, the preset data relating to the classification data stored in the temporary storage means when the terminal is attached to the host machine. Is written in the first storage means, and the control means causes the processing means to perform data processing based on the preset data related to the change.

したがって、端末機に設定されるべき分類別のプリセッ
トデータの変更処理の途中であっても、端末機より分類
別データを入力し、その分類別データに関して、変更に
係るプリセットデータに基づいてデータ処理を行うこと
ができる。
Therefore, even during the process of changing the preset data for each category to be set in the terminal, the data for each category is input from the terminal, and the data for that category is processed based on the preset data related to the change. It can be performed.

[実施例] 以下、一実施例を第1図ないし第9図を参照しながら説
明する。
[Embodiment] An embodiment will be described below with reference to FIGS. 1 to 9.

第1図は、データ処理装置のシステム構成図である。こ
のデータ処理装置は、レストラン等で使用されるPOSシ
ステム用のものであって、複数のハンドスキャナAと、
複数台の中継機Bと、1台の本部用の電子式レジスタ
(以下、本部レジスタと呼ぶ)Cとを有している。
FIG. 1 is a system configuration diagram of a data processing device. This data processing device is for a POS system used in a restaurant or the like, and includes a plurality of hand scanners A,
It has a plurality of repeaters B and one electronic register C for the headquarters (hereinafter referred to as the headquarters register) C.

これらの間でのデータ伝送は、ハンドスキャナAと中継
機Bとの間では、ハンドスキャナAが中継機Bの所定の
位置に載置されたときに光波にて行われ、中継機Bと本
部レジスタCとの間ではインラインLを介して行われ
る。
Data transmission between them is performed between the hand scanner A and the repeater B by a light wave when the hand scanner A is placed at a predetermined position of the repeater B, and the repeater B and the main office. It is performed with the register C via the inline L.

各ハンドスキャナAは、バーコードを光学的に読取る読
取ヘッド部A1の他にキー入力部A2、表示部A3を有してい
る。また、後尾部には、四方からバネにより支持されて
回動自在に構成されたバーA4が取付けられ、ハンドスキ
ャナAが台などの上に置かれてバーA4が回動し、不使用
状態であると判別されたときに、自動的に読取ヘッドA
への電源をオフすることにより、消費電力を節約するよ
う構成されている。
Each hand scanner A has a key input unit A2 and a display unit A3 in addition to a reading head unit A1 that optically reads a barcode. In addition, a bar A4 that is supported by springs from four sides and is configured to be rotatable is attached to the rear part, and the bar A4 is rotated when the hand scanner A is placed on a table or the like and is not in use. When it is determined that there is a read head A
It is configured to save power consumption by turning off power to the.

各中継機Bは、領収内容を印字するレシート印字部B1、
ドロアB2を有しており、ハンドスキャナAからの売上デ
ータに基づいてレシート印字、会計処理を行う、各ハン
ドスキャナAからの売上データを集計して本部レジスタ
Cに伝送する、ハンドスキャナAにプリセットされるべ
きバーコード、単価を供給する等の機能を有している。
また、各中継機Bは、スキャナ置台B3を有しており、こ
のスキャナ置台B3にハンドスキャナAが載置された際、
ハンドスキャナAとの間で光波によりデータ授受を行
う。
Each repeater B has a receipt printing section B1 for printing the receipt contents,
Has a drawer B2, performs receipt printing and accounting processing based on sales data from the hand scanner A, aggregates sales data from each hand scanner A and transmits it to the headquarters register C, preset to the hand scanner A It has functions such as bar code to be performed and unit price supply.
Each relay B has a scanner stand B3, and when the hand scanner A is placed on this scanner stand B3,
Data is exchanged with the hand scanner A by light waves.

なお、B4は光伝送用の光ガイド溝であり、B5は載置され
たハンドスキャナAを上記光伝送のために確実に係止す
るとともに、電気的に接続してハンドスキャナAの2次
電池を充電できるようにするためのコネクタ部である。
In addition, B4 is an optical guide groove for optical transmission, and B5 securely holds the mounted hand scanner A for the optical transmission and electrically connects it to a secondary battery of the hand scanner A. Is a connector portion for allowing the battery to be charged.

本部レジスタCは、キー入力部C1、印字部C2、表示部C
3、ドロアC4等を有しており、各中継機Bからの売上デ
ータを集計し、システム全体の売上データとして登録処
理する等の機能を有している。また、本部レジスタC
は、例えば、喫茶部に設置された中継機Bに対しては、
喫茶部門のメニュー(商品)のバーコード、単価を供給
する等、各中継機Bに対し、どの部門に設置されている
かに応じて、対応するメニュー(商品)のバーコード、
単価を供給する。
Headquarters register C consists of key input section C1, printing section C2, display section C
3. It has a drawer C4, etc., and has functions such as collecting sales data from each relay B and registering it as sales data for the entire system. In addition, headquarters register C
For example, for the repeater B installed in the coffee shop,
The bar code of the menu (product) of the cafe department, the bar code of the corresponding menu (product), etc. for each relay B depending on which department is installed, such as supplying the unit price,
Supply unit price.

第2図は、各ハンドスキャナAの回路ブロック図であ
り、上記読取ヘッド部A1は、発光ダイオード群11、レン
ズ系12、CCDアレイ13を有している。
FIG. 2 is a circuit block diagram of each hand scanner A. The reading head unit A1 has a light emitting diode group 11, a lens system 12, and a CCD array 13.

この読取ヘッド部A1では、発光ダイオード群11からの光
が商品の包装紙等に印刷されたバーコードシンボルに照
射され、その反射光がレンズ系12を介してCCDアレイ13
に入射されると、CCDアレイ13は、バーコードシンボル
のパターンが反映された入射光を光電変換する。そし
て、認識部14は、その変換結果としての電気的なパター
ン信号を解析して、バーコードの内容(バーコード番
号)を認識し、CPU15に出力する。
In the reading head unit A1, the light from the light emitting diode group 11 is applied to the bar code symbol printed on the wrapping paper of the product, and the reflected light is transmitted through the lens system 12 to the CCD array 13
Then, the CCD array 13 photoelectrically converts the incident light in which the pattern of the barcode symbol is reflected. Then, the recognition unit 14 analyzes the electrical pattern signal as the conversion result, recognizes the content of the barcode (barcode number), and outputs it to the CPU 15.

キー入力部A2は、売上個数、バーコード等を置数入力す
る置数キー2aの他に、レシート印字を行うよう指示する
レシートキー2b等を有している。このキー入力部A2から
の入力データも、CPU15に出力される。
The key input unit A2 has a number key 2a for inputting the number of sales, a bar code and the like, and a receipt key 2b for instructing receipt printing. The input data from the key input unit A2 is also output to the CPU 15.

CPU15は、キー入力部A2、または認識部14からバーコー
ドが入力されると、ROM16に予め格納されたプログラム
に従って所定の処理を行い、その処理結果をRAM17に格
納、表示部A3に表示する等の制御を行う。また、CPU15
は、ハンドスキャナAが中継機Bのスキャナ置台B3に載
置されているときは、光送受信部18を介して中継機Bと
の間でデータを送受信する等の制御を行う。
When the barcode is input from the key input unit A2 or the recognition unit 14, the CPU 15 performs a predetermined process according to a program stored in the ROM 16 in advance, stores the processing result in the RAM 17, displays it on the display unit A3, etc. Control. Also, CPU15
When the hand scanner A is placed on the scanner table B3 of the repeater B, the control is performed such that data is transmitted and received to and from the repeater B via the optical transmission / reception unit 18.

RAM17には、PLUファイルFA、一登録メモリMAが形成され
ている。
A PLU file FA and a registered memory MA are formed in the RAM 17.

PLUファイルFAのレコードのデータ項目は、第4図に示
したように、各商品のバーコード、商品名、単価変更処
理フラグ、単価、変更中売上個数、売上合計個数、売上
合計金額となっている。
As shown in Fig. 4, the data items of the PLU file FA record are the bar code of each product, product name, unit price change processing flag, unit price, number of sales under change, total number of sales, total amount of sales. There is.

各レコードの単価変更未処理フラグは、中継機Bからの
最初の変更単価を受信したときにセットされ、その後、
変更単価に現在の単価が書替えられたときにリセットさ
れる。
The unit price change unprocessed flag of each record is set when the first changed unit price from the repeater B is received, and thereafter,
It is reset when the current unit price is rewritten to the changed unit price.

そして、中継機Bからの変更単価の送信終了信号を受信
する前に、ハンドスキャナAが中継機Bのスキャナ置台
B3から取上げられて、単価変更未処理フラグがセットさ
れている商品、すなわち、単価未変更の商品のバーコー
ドが入力されたときは、そのバーコードに対応する商品
の売上個数は、変更中売上個数として登録される。そし
て、変更中売上個数に基づく売上合計金額の更新は、後
でハンドスキャナAが中継機Bのスキャナ置台B3に載置
されたときに、中継機Bに変更単価を問合わせるとによ
り行われる。
Then, before the transmission end signal of the changed unit price is received from the repeater B, the hand scanner A is set on the scanner table of the repeater B.
When the bar code of a product with the unit price change unprocessed flag set, that is, a product whose unit price has not been changed is input from B3, the sales quantity of the product corresponding to that bar code is It is registered as the number. Then, the total sales amount based on the number of sales under change is updated by inquiring the relay unit B of the unit price for change when the hand scanner A is mounted on the scanner stand B3 of the relay unit B later.

一方、単価変更未処理フラグがリセットされている商品
のバーコードが入力されたときは、そのバーコードに対
応する商品の売上個数は、売上合計個数に累計され、そ
の際に売上合計金額も同時に更新される。
On the other hand, when the bar code of the product for which the unit price change unprocessed flag is reset is entered, the sales quantity of the product corresponding to the bar code is added to the total sales quantity, and at that time, the total sales price is also calculated. Will be updated.

なお、バーコードが入力された際、入力されたバーコー
ドと共に対応する商品の単価が表示部A3に表示される
が、単価変更未処理フラグがセットされているときは、
変更前の単価と共に、その単価が変更されている可能性
がある旨を表示する。
When the barcode is entered, the unit price of the corresponding product is displayed along with the entered barcode on the display unit A3, but when the unit price change unprocessed flag is set,
The unit price before the change and the fact that the unit price may have been changed are displayed.

また、2次電池19は、中継機Bのスキャナ置台B3に載置
したときに、中継機Bにより充電される。
Further, the secondary battery 19 is charged by the relay device B when the secondary battery 19 is placed on the scanner stand B3 of the relay device B.

第4図は、各中継機Bの回路ブロック図であり、ハンド
スキャナAが載置された後、CPU51は、ROM52に予め格納
されたプログラムに従って、ハンドスキャナAにバーコ
ード、単価を供給する、ハンドスキャナAからの一登録
分の売上データに基づいて、レシート印字を行う等の制
御を行う。この際のデータ授受は、光送受信部53を介し
て行われる。
FIG. 4 is a circuit block diagram of each repeater B. After the hand scanner A is placed, the CPU 51 supplies the bar code and unit price to the hand scanner A according to a program stored in the ROM 52 in advance. Based on the sales data for one registration from the hand scanner A, control such as receipt printing is performed. Data exchange at this time is performed via the optical transmission / reception unit 53.

RAM55には、変更PLUファイルFBが形成されている。この
変更PLUファイルFBには、インラインL、伝送制御部56
を介して本部レジスタCから伝送されてきたバーコード
と、そのバーコードで示される商品の変更単価が記憶さ
れる。この変更単価は、ハンドスキャナAが中継機Bの
スキャナ置台B3に載置されたときに、ハンドスキャナA
に送信され、クリアされる。
A modified PLU file FB is formed in the RAM 55. The modified PLU file FB includes an inline L and a transmission control unit 56.
The bar code transmitted from the register C of the head office via the and the unit price of change of the product indicated by the bar code are stored. This change unit price is the same as the hand scanner A when the hand scanner A is placed on the scanner stand B3 of the repeater B.
Sent to and cleared.

電源回路57には、商用交流電流が供給され、直流に変換
して5ボルトの電源電圧を各回路に供給する。充電回路
58は、ハンドスキャナAが載置された際、そのハンドス
キャナAの2次電池19に対し、充電電流を供給する。
A commercial alternating current is supplied to the power supply circuit 57, which is converted into direct current and supplies a power supply voltage of 5 volts to each circuit. Charging circuit
The reference numeral 58 supplies a charging current to the secondary battery 19 of the hand scanner A when the hand scanner A is placed.

レシート印字部B1は、一登録分の売上データを領収内容
として印字し、ドロアB2には金額が収納される。
The receipt printing unit B1 prints the sales data for one registration as a receipt content, and the drawer B2 stores the amount of money.

次に、実施例の動作を説明する。Next, the operation of the embodiment will be described.

まず、中継機Bの変更単価の供給処理を第5図を参照し
ながら説明する。
First, the process of supplying the changed unit price of the repeater B will be described with reference to FIG.

中継機BのCPU51は、本部レジスタCから変更指令信号
と共にバーコードと変更単価が伝送されてくると、その
バーコードと変更単価(メンテナンス情報)を変更PLU
ファイルFBに格納する。そして、ハンドスキャナAが接
続されているか否かを判断し(ステップB1)、接続され
ているときは、変更PLUファイルFBの1レコード分のバ
ーコードと変更単価を、割込要求信号と共に送信する
(ステップB2)。
The CPU 51 of the repeater B changes the bar code and the unit price for change (maintenance information) when the bar code and the unit price for change are transmitted from the register C of the headquarters together with the change command signal.
Store in file FB. Then, it is judged whether or not the hand scanner A is connected (step B1), and when it is connected, the bar code and the change unit price for one record of the change PLU file FB are transmitted together with the interrupt request signal. (Step B2).

次に、ハンドスキャナAが、所定時間内に上記メンテナ
ンス情報の割込受信を待っている状態になったか否かを
判断する(ステップB3)。その結果、メンテナンス情報
の割込受信を待っている状態にならなかったときは、後
述するように、ハンドスキャナAが中継機Bから取外さ
れたり、ハンドスキャナAにメンテナンス情報が正しく
伝送されていないこと等が考えられるので、ステップB1
に戻って、同一のメンテナンス情報を再度送信する。
Next, it is judged whether or not the hand scanner A is in a state of waiting for the interrupt reception of the maintenance information within a predetermined time (step B3). As a result, when it is not in the state of waiting for the interruption reception of the maintenance information, as will be described later, the hand scanner A is removed from the relay device B or the maintenance information is correctly transmitted to the hand scanner A. Since it is possible that there is no such thing, step B1
Then, the same maintenance information is sent again.

一方、ハンドスキャナAが上記メンテナンス情報の割込
受信を待っている状態になったときは、後述するよう
に、ステップB2にて送信したメンテナンス情報がハンド
スキャナAに正常に送信され、かつ、メンテナンスも実
行されたことを意味するので、そのメンテナンス情報を
クリアする(ステップB4)。そして、変更PLUファイルF
Bの全データを送信し終えたか否かを判断する(ステッ
プB5)。その結果、送信し終えていないときは、ステッ
プB1に戻って、メンテナンス情報の送信を継続する。送
信し終えたときは、送信終了信号を送信して(ステップ
B6)、終了する。
On the other hand, when the hand scanner A is in the state of waiting for the interrupt reception of the maintenance information, the maintenance information transmitted in step B2 is normally transmitted to the hand scanner A and the maintenance is performed as described later. Also means that the maintenance information has been executed (step B4). And the modified PLU file F
It is determined whether or not all the data of B has been transmitted (step B5). As a result, if the transmission has not been completed, the process returns to step B1 to continue the transmission of the maintenance information. When the transmission is complete, send a transmission end signal (step
B6), end.

次に、ハンドスキャナAにおける割込受信処理を、第6
図を参照しながら説明する。
Next, the interrupt reception process in the hand scanner A
Description will be given with reference to the drawings.

各ハンドスキャナAのCPU15は、中継機Bから割込要求
信号と共にデータが送信されてくると、それらを受信し
(ステップA1)、割込要求信号の種類を判別する(ステ
ップA2)。そして、その種類に応じた割込処理を実行す
る。
When data is transmitted from the repeater B together with the interrupt request signal, the CPU 15 of each hand scanner A receives the data (step A1) and determines the type of the interrupt request signal (step A2). Then, the interrupt process according to the type is executed.

すなわち、メンテナンスのための割込要求信号であれ
ば、ハンドスキャナAが所定時間内にメンテナンス情報
の割込受信を待っている状態になったか否かを判断し
(ステップA3)、メンテナンス情報の割込受信を待って
いる状態にならなかったときは、後述するように、今受
信したデータが最初のメンテナンス情報(変更PLUファ
イルFBの1レコード目のバーコードと変更単価)である
ことを意味するので、単価書替割込ジョブをスタートさ
せる(ステップA4)。
That is, if it is an interrupt request signal for maintenance, it is judged whether or not the hand scanner A is in a state of waiting for an interrupt reception of maintenance information within a predetermined time (step A3), and the maintenance information interrupt is received. If the status does not wait for the reception of the incoming message, it means that the data just received is the first maintenance information (the bar code of the first record of the modified PLU file FB and the modified unit price), as described later. Therefore, start the unit price rewrite interrupt job (step A4).

一方、メンテナンス情報の割込受信を待っている状態に
なったときは、単価書替割込ジョブ中の次の処理を実行
するよう指令する(ステップA5)。
On the other hand, when it comes to the state of waiting for the interruption reception of the maintenance information, it instructs to execute the next process in the unit price rewriting interruption job (step A5).

次に、ハンドスキャナAにおける単価書替割込ジョブ
を、第7図を参照しながら説明する。
Next, the unit price rewrite interrupt job in the hand scanner A will be described with reference to FIG.

各ハンドスキャナAのCPU15は、中継機Bからのメンテ
ナンス情報、および割込要求信号を受信すると、次のよ
うな割込処理を行う。
Upon receiving the maintenance information and the interrupt request signal from the repeater B, the CPU 15 of each hand scanner A performs the following interrupt processing.

すなわち、PLUファイルFAの全ての商品の単価変更処理
フラグをセットし(ステップA21)、単価未変更の商品
が存在する旨を示す未変更フラグをセットする(ステッ
プA22)。そして、第6図のステップA1にて受信したバ
ーコードに対応するPLUファイルFA内のレコードを読出
してワークエリアに格納する(ステップA23)。そし
て、そのレコード中の単価を、受信した変更単価に書替
え(ステップA24)、単価変更未処理フラグをリセット
する(ステップA25)。そして、ワークエリア上で書替
え等を行ったレコード内容を、PLUファイルFA内の対応
するエリアに上書きしてクリアする(ステップA26)。
That is, the unit price change processing flags of all the products in the PLU file FA are set (step A21), and the unchanged flag indicating that there is a product whose unit price has not been changed is set (step A22). Then, the record in the PLU file FA corresponding to the bar code received in step A1 of FIG. 6 is read out and stored in the work area (step A23). Then, the unit price in the record is rewritten to the received changed unit price (step A24), and the unit price change unprocessed flag is reset (step A25). Then, the contents of the record rewritten in the work area are overwritten in the corresponding area in the PLU file FA to be cleared (step A26).

次に、メンテナンス情報の割込受信を待ち(ステップA2
7)、メンテナンス情報を割込受信したときは、それが
送信終了信号であるか否かを判断する(ステップA2
8)。その結果、送信終了信号でないときは、ステップA
23に戻って、単価書替処理を継続する。送信終了信号で
あるときは、PLUファイルFA内のまだセットされたまま
の単価変更未処理フラグを全てリセットし(ステップA2
9)、単価未変更の商品が存在する旨を示す未変更有フ
ラグをリセットして(ステップA30)、単価書替割込ジ
ョブを終了する。
Next, wait for the maintenance information interrupt reception (Step A2
7) When the maintenance information is received by interruption, it is judged whether or not it is a transmission end signal (step A2).
8). As a result, if it is not the transmission end signal, step A
Returning to 23, the unit price rewriting process is continued. If the signal is a transmission end signal, all the unit price change unprocessed flags in the PLU file FA which are still set are reset (step A2
9) Then, the unchanged flag indicating that there is a product whose unit price has not been changed is reset (step A30), and the unit price rewrite interrupt job is ended.

上記の説明で明らかなように、ステップA27のメンテナ
ンス情報の割込受信待ちは、少なくとも1つの商品の単
価が変更された後に実行される。従って、第6図のステ
ップA3にて、所定時間内に割込受信待ち状態にならなか
ったと判断されたときは、受信に係るメンテナンス情報
が最初の情報であることを意味するので、第6図のステ
ップA4に進んで、第7図の単価変更割込ジョブをスター
トさせている。また、第5図のステップB3にて、所定時
間内に割込受信待ち状態にならなかったと判断されたと
きは、ハンドスキャナAが中継機Bから取外されたり、
ハンドスキャナAにメンテナンス情報が正しく伝送され
ていないことを意味するので、第5図のステップB1に戻
り、メンテナンス情報を再送信している。
As is clear from the above description, the waiting for the interruption reception of the maintenance information in step A27 is executed after the unit price of at least one product is changed. Therefore, if it is determined in step A3 in FIG. 6 that the interrupt reception waiting state has not been reached within the predetermined time, it means that the maintenance information related to reception is the first information. In step A4, the unit price change interrupt job shown in FIG. 7 is started. When it is determined in step B3 in FIG. 5 that the waiting state for the interrupt reception has not been reached within the predetermined time, the hand scanner A is removed from the relay device B,
Since this means that the maintenance information has not been correctly transmitted to the hand scanner A, the procedure returns to step B1 in FIG. 5 and the maintenance information is retransmitted.

次に、ハンドスキャナAの登録処理を、第8図を参照し
ながら説明する。
Next, the registration process of the hand scanner A will be described with reference to FIG.

なお、この登録処理は、中継機Bに接続されていない状
態で行うことを想定している。
It is assumed that this registration process is performed while not being connected to the repeater B.

バーコードが入力されると、その都度、入力されたバー
コードに対応するレコードをPLUファイルFA上でサーチ
し(ステップA41)、その商品の単価変更未処理フラグ
がセットされているか否かを判断する(ステップA4
2)。その結果、単価変更未処理フラグがセットされて
いるときは、対応する商品の単価が変更単価に書替えら
れていないので、一登録メモリMAのワーク個数を“1"だ
けインクリメントして、入力されたバーコードのみを一
登録メモリMAに登録する(ステップA43)。そして、PLU
ファイルFA内の対応する商品の変更中売上個数を“1"だ
けインクリメントして(ステップA44)、終了する。
Whenever a bar code is entered, the PLU file FA is searched for a record corresponding to the entered bar code (step A41), and it is determined whether or not the unit price change unprocessed flag of the product is set. Yes (Step A4
2). As a result, when the unit price change unprocessed flag is set, the unit price of the corresponding product has not been rewritten to the changed unit price, so the number of works in one registered memory MA is incremented by "1" and the input is made. Only the barcode is registered in one registration memory MA (step A43). And PLU
Increment the number of sales under change of the corresponding product in the file FA by "1" (step A44), and finish.

一方、入力されたバーコードに対応する商品の単価変更
未処理フラグがリセットされているときは、通常通り、
PLUファイルFA内に対応する商品の売上合計個数、売上
合計金額を更新し(ステップA45)、一登録メモリMAに
バーコードと単価を登録して(ステップA46)、終了す
る。
On the other hand, when the unit price change unprocessed flag of the product corresponding to the input barcode is reset, as usual,
The total sales quantity and the total sales price of the corresponding products are updated in the PLU file FA (step A45), the barcode and unit price are registered in one registration memory MA (step A46), and the processing is ended.

次に、上記のハンドスキャナAによる一登録分の登録処
理が終了し、ハンドスキャナAを中継機Bに接続したと
きに行うハンドスキャナAのレシート印字指令処理を、
第9図を参照しながら説明する。
Next, when the registration process for one registration by the hand scanner A is completed and the hand scanner A is connected to the relay device B, the receipt print command process of the hand scanner A is performed.
This will be described with reference to FIG.

中継機Bに接続された状態で、レシートキー2bが操作さ
れると、ハンドスキャナAのCPU15は、まず、未変更有
フラグがセットされているか否かを判断する(ステップ
A51)、その結果、未変更有フラグがセットされている
ときは、一登録メモリ内のワーク個数が“0"であるか否
かを判断する(ステップA52)。その結果、ワーク個数
が“0"でないときは、レシートに印刷されるべき商品の
うち、その単価を変更すべきであるのにまだ単価変更を
行っていないものが存在することを意味するので、PLU
ファイルFA内の変更中売上個数が“1"以上の商品をサー
チして1レコードだけワークエリアに読出し(ステップ
A53)、その商品の変更単価を中継機Bに問合わせ、そ
の問合わせにより得られた変更単価をワークエリア上の
レコードに上書きする(ステップA54)。そして、一登
録メモリMA内のワーク個数から変更中売上個数を減算し
(ステップA55)、ワークエリア上のレコードに対し、
変更中売上個数と変更した単価に基づいて売上合計金額
を更新する(ステップA56)、次に、変更中売上個数を
売上合計個数に加算し、その変更中売上個数をクリアし
て(ステップA57)、更に単価変更未処理フラグをリセ
ットする(ステップA58)。
When the receipt key 2b is operated in the state of being connected to the repeater B, the CPU 15 of the hand scanner A first determines whether or not the unmodified flag is set (step).
A51). As a result, if the unchanged flag is set, it is determined whether the number of works in one registration memory is "0" (step A52). As a result, if the number of workpieces is not “0”, it means that there are some products that should be printed on the receipt that should have their unit price changed but the unit price has not been changed yet. PLU
Search the products in the file FA for which the number of changed sales is "1" or more and read only one record to the work area (step
A53), the unit price of change of the product is inquired to the repeater B, and the unit price of change obtained by the inquiry is overwritten on the record in the work area (step A54). Then, the number of sales under change is subtracted from the number of works in one registration memory MA (step A55), and for the record in the work area,
The total sales amount is updated based on the changed sales quantity and the changed unit price (step A56), then the changed sales quantity is added to the total sales quantity, and the changed sales quantity is cleared (step A57). Then, the unit price change unprocessed flag is reset (step A58).

次に、ワークエリア上で書替え等を行ったレコード内容
を、PLUファイルFA内の対応するエリアに上書きしてク
リアする(ステップA59)。そして、一登録メモリMA内
の対応するバーコードの次に、変更単価を挿入して(ス
テップA60)、ステップA52に戻る。
Next, the contents of the record that has been rewritten in the work area are overwritten in the corresponding area in the PLU file FA and cleared (step A59). Then, the modified unit price is inserted next to the corresponding bar code in one registered memory MA (step A60), and the process returns to step A52.

ステップA51にて未変更有フラグがリセットされている
と判断されたとき、およびステップA52にてワーク個数
が“0"であると判断されたときは、ステップA61に進ん
で、レシート印刷指令信号と共に、一登録メモリMAの内
容を中継機Bに送信する。
If it is determined in step A51 that the unchanged flag has been reset, and if it is determined in step A52 that the number of workpieces is "0", then the process proceeds to step A61, and the receipt print command signal is sent. , 1 transmits the contents of the registered memory MA to the repeater B.

なお、中継機Bでは、レシート印刷指令信号と共に、一
登録メモリMAの内容をハンドスキャナAから受信したと
きは、レシート印字部B1にて一登録メモリMAの内容を印
字してレシートを発行する等の処理を行う。
In the repeater B, when the content of the one registration memory MA is received from the hand scanner A together with the receipt print command signal, the receipt printing unit B1 prints the content of the one registration memory MA and issues a receipt. Process.

また、ハンドスキャナAは、レシート印刷指令を行った
時点で、単価変更が行われていない商品が存在するとき
は、メンテナンス情報の割込受信待ちを行う。一方、中
継機Bは、レシートを発行した後、第5図のフローに移
行し、ハンドスキャナAのメンテナンス情報の割込受信
待ちに応答して、まだ単価変更が行われていない商品の
変更単価を送信する。
Further, the hand scanner A waits for an interruption reception of the maintenance information if there is a product for which the unit price change has not been made at the time of issuing the receipt printing command. On the other hand, the repeater B shifts to the flow of FIG. 5 after issuing the receipt, and responds to the interruption reception waiting of the maintenance information of the hand scanner A, and changes the unit price of the product for which the unit price has not been changed yet. To send.

このように、ハンドスキャナAでは、最初の変更単価を
受信したときは、PLUファイルFAの各商品に対して単価
変更未処理フラグをセットし、変更単価に書替えた後
に、書替えた商品分の単価変更未処理フラグをリセット
する。そして、中継機Bから全ての変更単価を受信し終
えない内にハンドスキャナAが中継機Bから取外されて
スキャニング操作され、単価変更に書替えられていない
商品のバーコードが入力されたときは、その入力個数
は、変更中売上個数として仮登録され、仮登録分の商品
に関しては、ハンドスキャナAが中継機Bに接続された
際に、変更単価を中継機Bに問合わせて書替える等の処
理を行う。従って、例え、単価の書替え途中であって
も、ハンドスキャナAによるスキャニングを何等弊害を
招くこと無く実行することが可能となる。
Thus, in the hand scanner A, when the first changed unit price is received, the unit price change unprocessed flag is set for each product in the PLU file FA, and the unit price for the rewritten product is rewritten to the changed unit price. Reset unmodified flag. When the hand scanner A is removed from the repeater B and the scanning operation is performed before all the changed unit prices are received from the repeater B, and the bar code of the product that has not been rewritten for the unit price change is input. , The input quantity is provisionally registered as the sales quantity under change, and for the provisionally registered products, when the hand scanner A is connected to the repeater B, the unit price of the change is inquired to the repeater B and rewritten, etc. Process. Therefore, even when the unit price is being rewritten, the scanning by the hand scanner A can be executed without causing any trouble.

なお、この考案は上述の実施例に限定されることなく、
例えば、中継機により変更単価を送信するに先立って、
変更単価を送信開始する旨の信号を送信し、ハンドスキ
ャナでは、この信号を受信した際に、全商品の単価変更
未処理フラグをセットしても良い。また、中継機Bを設
けることなく、直接、本部レジスタCからPLUデータを
供給する等しても良い。さらに、電子式レジスタ以外の
データ処理装置、例えば、パーソナルコンピュータ、オ
フィスコンピュータなどに適用することも可能である。
The invention is not limited to the above-mentioned embodiment,
For example, before sending the modified unit price by the relay machine,
The hand scanner may transmit a signal to start the transmission of the changed unit price, and the hand scanner may set the unit price change unprocessed flag of all the commodities when the signal is received. Alternatively, the PLU data may be directly supplied from the head office register C without providing the relay device B. Further, it can be applied to a data processing device other than the electronic register, such as a personal computer or an office computer.

[考案の効果] この考案によれば、端末機内の分類別データに関するプ
リセットデータの変更処理の途中であっても、端末機に
より分類別データを入力し、その分類別データに関し
て、変更に係るプリセットデータに基づいてデータ処理
することができ、変更処理のために顧客を長時間待たせ
なくても済み、また、処理効率も向上する。
[Effect of the Invention] According to the present invention, even if the preset data regarding the classification data in the terminal is being changed, the classification data is input by the terminal and the preset related to the classification data is changed. The data can be processed based on the data, the customer does not have to wait for a long time for the change processing, and the processing efficiency is improved.

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

第1図は実施例のシステム構成図、第2図はハンドスキ
ャナの回路ブロック図、第3図はハンドスキャナのPLU
ファイルのデータ項目を示す図、第4図は中継機の回路
ブロック図、第5図は中継機による変更単価の供給処理
を示すフローチャート、第6図はハンドスキャナの割込
み受信処理を示すフローチャート、第7図はハンドスキ
ャナにおける単価書替割込ジョブを示すフローチャー
ト、第8図はハンドスキャナの登録処理を示すフローチ
ャート、第9図はハンドスキャナのレシート発行指令処
理を示すフローチャートである。 15、51……CPU、16、52……ROM、53……光送受信部、A
……ハンドスキャナ、B……中継機、A1……読取ヘッド
部、FA……PLUファイル、FB……変更PLUファイル。
FIG. 1 is a system configuration diagram of an embodiment, FIG. 2 is a circuit block diagram of a hand scanner, and FIG. 3 is a PLU of the hand scanner.
FIG. 4 is a diagram showing the data items of a file, FIG. 4 is a circuit block diagram of a repeater, FIG. 5 is a flow chart showing the process of supplying the unit price for change by the repeater, and FIG. FIG. 7 is a flow chart showing a unit price rewrite interrupt job in the hand scanner, FIG. 8 is a flow chart showing a registration process of the hand scanner, and FIG. 9 is a flow chart showing a receipt issuing command process of the hand scanner. 15, 51 …… CPU, 16,52 …… ROM, 53 …… Optical transmitter / receiver, A
...... Hand scanner, B ... Repeater, A1 ... Read head, FA ... PLU file, FB ... Changed PLU file.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】ホスト機と、このホスト機に着脱自在に接
続してデータ授受を行う端末機とを有し、 上記ホスト機には、 分類別データごとにその分類別データに関する所定のプ
リセットデータを上記端末機に供給する供給手段を備
え、 上記端末機には、 上記供給手段にて供給された分類別データ、プリセット
データを記憶する第1の記憶手段と、 この第1の記憶手段内の分類別データに関して、対応す
るプリセットデータが上記供給手段からの変更に係るプ
リセットデータに書替えられていない旨を示すデータを
記憶する第2の記憶手段と、 入力手段と、 この入力手段から分類データが入力された際、上記第1
の記憶手段内の対応するプリセットデータに基づいて所
定のデータ処理を行う処理手段と、 当該端末機が上記ホスト機から取外された状態で、上記
入力手段により分類別データが入力された際、その分類
別データに対応するプリセットデータの変更がなされて
いるか否かを、上記第2の記憶手段に基づいて判別する
判別手段と、 この判別手段にてプリセットデータの変更がなされてい
ないと判別されたときは、上記入力手段により分類別デ
ータが入力された際に、その入力された分類別データを
一時記憶する一時記憶手段と、 上記判別手段にてプリセットデータの変更がなされてい
ないと判別されたときは、当該端末機が上記ホスト機に
装着された際に、上記一時記憶手段に記憶された分類デ
ータに係るプリセットデータを上記ホスト機に問い合せ
て上記第1の記憶手段に書込み、その変更に係るプリセ
ットデータに基づいて上記処理手段にデータ処理を行わ
せる制御手段と、 を備えたことを特徴とするデータ処理装置。
1. A host machine, and a terminal machine that is detachably connected to the host machine to exchange data. The host machine has predetermined preset data for each classification data for each classification data. Is provided to the terminal, and the terminal includes first storage means for storing the classification-specific data and preset data supplied by the supply means, and the first storage means in the first storage means. Regarding the classified data, second storage means for storing data indicating that the corresponding preset data has not been rewritten to the preset data related to the change from the supply means, the input means, and the classified data from the input means When entered, the first above
Processing means for performing predetermined data processing based on corresponding preset data in the storage means, and when the terminal device is detached from the host machine and the classification data is input by the input means, A discriminating means for discriminating whether or not the preset data corresponding to the classified data is changed based on the second storage means, and the discriminating means determines that the preset data has not been changed. When the classification data is inputted by the input means, the temporary storage means for temporarily storing the inputted classification data and the discrimination means discriminate that the preset data has not been changed. When the terminal is attached to the host, the preset data relating to the classification data stored in the temporary storage means is stored in the host. There combined and written to the first storage means, the data processing apparatus characterized by comprising a control means for causing the data processing to the processing means on the basis of the preset data in accordance with the change.
JP10695488U 1988-08-15 1988-08-15 Data processing device Expired - Lifetime JPH074673Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10695488U JPH074673Y2 (en) 1988-08-15 1988-08-15 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10695488U JPH074673Y2 (en) 1988-08-15 1988-08-15 Data processing device

Publications (2)

Publication Number Publication Date
JPH0232165U JPH0232165U (en) 1990-02-28
JPH074673Y2 true JPH074673Y2 (en) 1995-02-01

Family

ID=31340924

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10695488U Expired - Lifetime JPH074673Y2 (en) 1988-08-15 1988-08-15 Data processing device

Country Status (1)

Country Link
JP (1) JPH074673Y2 (en)

Also Published As

Publication number Publication date
JPH0232165U (en) 1990-02-28

Similar Documents

Publication Publication Date Title
US7114656B1 (en) Fixed self-checkout station with cradle for communicating with portable self-scanning units
EP0187523B1 (en) Pos systems
JP3658555B2 (en) Portable terminal device and input device used in cooperation with the same
US7146325B2 (en) Sales data processing system, portable electronic terminal, and home delivery receiving method
JPH074673Y2 (en) Data processing device
EP0332844A2 (en) A hand-held sales data processing device, and system therefor
JPH07205950A (en) Portable label printer and selling price change system
JPH07117963B2 (en) Mobile terminal system
JP2995933B2 (en) Transaction terminal device
CN214123070U (en) Bank integrates information and inputs equipment by oneself
JP2000011116A (en) Information processing system, IC card, portable data terminal, data collection device
KR19990065038A (en) Barcode Recognition Method and Device for Complex Office Equipment
US20260042303A1 (en) Information processing terminal and printer
JPH0752476B2 (en) Electronic cash register
JP2549754B2 (en) Product unit price management device
KR20040088423A (en) System for selling electronic service goods and method for controlling thereof
JPH1173468A (en) Commodity price changing system
JPS60110098A (en) Pos system
JP2002049867A (en) Rental equipment management system
KR200248321Y1 (en) Card reading machine for multifunction
JPS592590Y2 (en) Ryuutsutan Matsusouchi
JPH08339476A (en) Two-dimensional code processor
JPH0258675B2 (en)
JP3387493B2 (en) Portable terminal device
JPH03152680A (en) Stand for handy input device