JP2966237B2 - Product sales data processing device - Google Patents

Product sales data processing device

Info

Publication number
JP2966237B2
JP2966237B2 JP16835993A JP16835993A JP2966237B2 JP 2966237 B2 JP2966237 B2 JP 2966237B2 JP 16835993 A JP16835993 A JP 16835993A JP 16835993 A JP16835993 A JP 16835993A JP 2966237 B2 JP2966237 B2 JP 2966237B2
Authority
JP
Japan
Prior art keywords
data
registration
memory
business program
rewriting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP16835993A
Other languages
Japanese (ja)
Other versions
JPH0773369A (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.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
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 Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP16835993A priority Critical patent/JP2966237B2/en
Publication of JPH0773369A publication Critical patent/JPH0773369A/en
Application granted granted Critical
Publication of JP2966237B2 publication Critical patent/JP2966237B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は登録処理および精算処
理を実行する業務プログラムデータを業務プログラム用
メモリに書替可能に記憶し、適宜それを書換える業務プ
ログラムデータの変更を可能としたPOSターミナル等
の商品販売データ処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a POS terminal in which business program data for executing a registration process and a settlement process is rewritably stored in a business program memory, and the business program data for appropriately rewriting the POS terminal can be changed. And the like.

【0002】[0002]

【従来の技術】一般に、商品販売データ処理装置、例え
ばPOSターミナルにおいては、バーコードを光学的に
読み取るためのスキャナーが設けられており、各商品に
は商品を識別するための単品コードがバーコード化され
て表記されている。そして、通常の販売登録において
は、キャッシャがスキャナーを用いて客が買い上げた商
品の単品コードを入力操作すると、この単品コードに基
づいて商品販売データが作成され、プリンタによりレシ
ートに印字出力されるとともに、登録用メモリの該当す
る合計器を加算して登録処理される。かくて、その客の
買い上げた商品が全て登録処理された後、キャッシャが
キーボードに設けられた小計キーを入力操作すると、買
い上げ合計金額が表示器に表示される。更に、この合計
金額に見合った客の支払い金額なども登録処理されて一
取引を終了させる。次に、キャッシャが閉店後などに精
算処理を起動させると、登録用メモリの各合計器に加算
された登録データはプリンタによりレシートなどに印字
出力され、更に上位のコンピュータと通信回線で接続さ
れている場合には、その登録データが上位のコンピュー
タにも送信され、その後に、前記登録用メモリの各合計
器の内容はクリアされる。
2. Description of the Related Art In general, a merchandise sales data processing apparatus, for example, a POS terminal is provided with a scanner for optically reading a bar code. It is written as Then, in normal sales registration, when the cashier inputs and operates the single item code of the item purchased by the customer using the scanner, the item sales data is created based on this single item code, and printed out on the receipt by the printer, and , The corresponding adder in the registration memory is added and the registration process is performed. Thus, after all the products purchased by the customer are registered, when the cashier operates the subtotal key provided on the keyboard, the total purchase price is displayed on the display. Further, the customer's payment amount corresponding to the total amount is also registered and the transaction is completed. Next, when the cashier starts the settlement process after closing the store, the registration data added to each totalizer in the registration memory is printed out on a receipt or the like by a printer, and further connected to a higher-level computer via a communication line. If so, the registration data is also transmitted to a host computer, and thereafter, the contents of each totalizer in the registration memory are cleared.

【0003】ところで、近年、商品販売データ処理装置
はこのような登録処理や精算処理を実行させるプログラ
ムを常時バッテリで記憶保持されたRAM(ランダム、
アクセス、メモリ)に記憶させるものが多用されてい
る。変更したプログラムを都度、通信回線などを利用し
て上位のコンピュータから受信し、それをRAMのプロ
グラム用メモリに格納してプログラム書替処理が実行さ
れる。それにより、ユーザーの多様なデータ処理要求に
対して、柔軟かつ迅速に対応することを可能としてい
る。
In recent years, a commodity sales data processing apparatus has been constantly storing a program for executing such registration processing and settlement processing by a battery (random, random,
Access, memory) are frequently used. Each time the changed program is received from a host computer using a communication line or the like, the changed program is stored in the program memory of the RAM, and the program rewriting process is executed. This makes it possible to flexibly and quickly respond to various data processing requests of the user.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来は
上位のコンピュータから変更したプログラムが送信され
る都度、商品販売データ処理装置がこのようなプログラ
ム書替処理をおこなっていたため、登録用メモリの各合
計器がクリアされていない状態で、RAMのプログラム
用メモリを更新させた場合には、登録用メモリの内容と
新規プログラムが整合しなくなることがあった。かかる
場合は、処理結果が不正となるばかりか装置がハングア
ップすることも発生し、その結果、保守員により登録用
メモリの全登録データをクリアさせて、再立ち上げする
ようなことを余儀なくさせられた。そこで本発明はこの
ような問題点を解決するためになされたもので、プログ
ラム書替処理に付随して発生するデータ部とプログラム
部との不整合による誤動作等を防止して、信頼性を向上
し得る商品販売データ処理装置を提供しようとするもの
である。
However, conventionally, each time a changed program is transmitted from an upper-level computer, the merchandise sales data processing device performs such a program rewriting process. When the program memory of the RAM is updated in a state where the device is not cleared, the contents of the registration memory and the new program may not be consistent. In such a case, not only the processing result becomes incorrect, but also the device hangs up. As a result, all the registered data in the registration memory must be cleared by the maintenance staff and restarted. Was done. Therefore, the present invention has been made to solve such a problem, and prevents a malfunction due to inconsistency between a data part and a program part accompanying a program rewriting process, thereby improving reliability. It is an object of the present invention to provide a merchandise sales data processing device capable of performing the above.

【0005】[0005]

【課題を解決するための手段】本発明は、入力手段から
入力した商品販売に関する入力データに基づいて作成さ
れた販売データを登録するための登録用メモリと、この
登録用メモリに登録された登録データを出力する出力手
段と、前記入力手段から入力された入力データに基づい
て販売データを作成して前記登録用メモリに登録する登
録処理および前記登録用メモリの登録データを前記出力
手段から出力するとともに前記登録用メモリの登録デー
タをクリアする精算処理を実行する業務プログラムデー
タを格納する書替可能な業務プログラムメモリとを有
し、書替用の業務プログラムデータの入力に応じて書替
用の業務プログラムデータを前記業務プログラムメモリ
に格納する業務プログラム書替処理を行う商品販売デー
タ処理装置において、前記登録用メモリの登録データが
クリアされているか否かを判別する精算済判別手段と、
この精算済判別手段が前記登録用メモリのクリア状態を
判別した場合は前記書替用の業務プログラムデータを前
記業務プログラムメモリに格納し、前記登録用メモリの
未クリア状態を判別した場合は前記業務プログラムデー
タによって前記精算処理を実行して前記精算処理終了後
に書替用の業務プログラムデータを前記業務プログラム
メモリに格納するプログラム書替制御手段とを備えたこ
とを特徴とする商品販売データ処理装置である。
According to the present invention, there is provided a registration memory for registering sales data created on the basis of input data relating to product sales inputted from an input means, and a registration memory registered in the registration memory. An output unit for outputting data; a registration process for creating sales data based on the input data input from the input unit and registering the sales data in the registration memory; and outputting the registration data of the registration memory from the output unit. And a rewritable business program memory for storing business program data for executing a settlement process for clearing the registration data of the registration memory, and the rewritable business program memory for inputting the business program data for rewriting. In a merchandise sales data processing apparatus that performs business program rewriting processing for storing business program data in the business program memory And settled-determining means for registering data of the registration memory, it is determined whether or not being cleared,
If the settlement completion determining means determines the clear state of the registration memory, the rewriting business program data is stored in the business program memory, and if the non-clear state of the registration memory is determined, the business Program Day
A program rewriting control means for executing the settlement process by a data processor and storing rewriting business program data in the business program memory after the completion of the settlement process. .

【0006】[0006]

【作用】このような構成の本発明であれば、プログラム
書替処理が起動されたときに、登録用メモリの登録デー
タがクリアされているか否かが判別され、その結果、登
録用メモリの登録データがクリアされていない場合は、
先に精算処理が実行される。すなわち、登録用メモリの
登録データを出力して、その登録データをクリアした後
に、プログラム書替処理が実行されるので、登録データ
と業務プログラムとの整合性が保たれる。
According to the present invention having such a configuration, when the program rewriting process is started, it is determined whether or not the registration data in the registration memory is cleared. As a result, the registration of the registration memory is performed. If the data has not been cleared,
The settlement process is performed first. That is, outputs the registration data of the registration memory, after clearing the registration data, the program rewriting process is performed, the integrity of the registration data and the work program is maintained.

【0007】[0007]

【実施例】以下、本発明をPOSターミナルに適用した
場合を図面を参照して説明する。図1は、本発明の一実
施例のPOSターミナル1の構成を示すブロック図であ
る。商品販売データ処理装置としてのPOSターミナル
1は通信回線2を介してホストコンピュータ3とオンラ
インで接続されている。また、POSターミナル1は、
制御部本体としてのCPU(中央処理装置)11を有す
るとともに、このCPU11が制御する主記憶部として
ROM(リード・オンリ・メモリ)12、及びRAM
(ランダム・アクセス・メモリ)13を設けている。こ
こで、RAM13はバッテリ13aからバックアップ電
源が供給されるようになっており、POSターミナルの
主電源をオフさせたときにもRAM13に記憶したデー
タを保持させている。さらに、POSターミナル1は、
日付や時刻を計時する時計回路14、前記ホストコンピ
ュータ3との間で通信回線2を介しておこなわれるデー
タ通信を制御する通信インターフェイス15、入力手段
としてのキーボード16を制御して入力キーに対応する
キー信号を取り込むキーボードコントローラ17、表示
器18を制御して販売商品の品名や値段などを表示させ
る表示コントローラ19、出力手段としてのプリンタ2
0を制御してレシートやジャーナルに印字させるプリン
タコントローラ21、入力手段としてのスキャナ22を
制御してバーコードを光学的に読み取るスキャナコント
ローラ23、モードスイッチ24からの信号を入力させ
るとともに現金などを収納するための図示しないドロワ
を開放するドロワ開放装置25とにそれぞれ駆動信号を
出力するI/Oポート26などの各信号入出力部を備え
ている。前記モードスイッチ24は適合する鍵に応じ
て、キャッシャが「登録」、「精算」「設定」などの各
モードに切り換えて、そのモードに応じた処理を実行さ
せるために設けてある。前記CPU11と、ROM1
2、RAM13、時計回路14および各信号入出力部と
は、アドレスバス、データバス、制御バスなどのバスラ
イン27を介して相互に接続されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A case where the present invention is applied to a POS terminal will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a POS terminal 1 according to one embodiment of the present invention. A POS terminal 1 as a merchandise sales data processing device is connected online with a host computer 3 via a communication line 2. Also, POS terminal 1
A CPU (Central Processing Unit) 11 as a control unit main body, and a ROM (Read Only Memory) 12 and a RAM as a main storage unit controlled by the CPU 11
(Random access memory) 13 is provided. Here, the RAM 13 is supplied with backup power from the battery 13a, and retains data stored in the RAM 13 even when the main power of the POS terminal is turned off. Further, the POS terminal 1
A clock circuit 14 for counting the date and time, a communication interface 15 for controlling data communication with the host computer 3 via the communication line 2, and a keyboard 16 as input means are controlled to correspond to input keys. A keyboard controller 17 for taking in key signals, a display controller 19 for controlling a display 18 to display the product name and price of a product for sale, and a printer 2 as output means
The printer controller 21 controls the printer 0 to print on receipts and journals, the scanner 22 as input means controls the scanner controller 23 for optically reading barcodes, and inputs signals from the mode switch 24 to store cash and the like. And a drawer opening device 25 for opening a drawer (not shown) for performing the operation, each of which has a signal input / output unit such as an I / O port 26 for outputting a drive signal. The mode switch 24 is provided so that the cashier switches to a mode such as “registration”, “payment”, or “setting” in accordance with a suitable key, and executes a process corresponding to the mode. CPU 11 and ROM 1
2, the RAM 13, the clock circuit 14, and each signal input / output unit are mutually connected via bus lines 27 such as an address bus, a data bus, and a control bus.

【0008】図2は前記キーボード16に設けられた主
要なキー配置を示している。同図において、キーボード
16には、数値データを入力するための置数キーK1、
各商品に付される単品コードの入力を指示するPLUキ
ーK2、金額データなどの入力を指示する金額キーK
3、個数データの入力を指示するXキーK4、合計金額
の出力を指示する小計キーK5、登録の締めを指示する
と同時に現金による代金支払を宣言するための預/現計
キーK6、エラー状態の解除などに使用するクリアキー
K7などを配置している。
FIG. 2 shows a key arrangement on the keyboard 16. In the figure, a numeric keypad K1 for inputting numerical data is
PLU key K2 for inputting a single item code attached to each product, amount key K for inputting amount data, etc.
3, X key K4 to instruct the input of the number data, subtotal key K 5 for instructing the output of the total amount, to indicate the tightening of registration and deposit in order to declare the payment in cash at the same time / current total key K6, error A clear key K7 and the like used for releasing the state are arranged.

【0009】図3はRAM13に形成される主要なメモ
リエリアを示す図である。同図において、各商品の単品
コードに対応して商品名や単価などを記憶する単品テー
ブル31が形成され、また、登録用メモリとして一人の
客に対しての販売金額を合計するための顧客合計器3
2、前記単品コードに対応して個数や販売金額などを合
計するための単品合計器33、取引ごとの税額を合計す
るための税額合計器34および現金で支払われた金額を
合計するための現金売上合計器35が形成され、更に、
前記ホストコンピュータ3から受信したデータを格納す
る受信バッファ36などが形成されている。また、前記
CPU11が前記モードスイッチ24により選択された
各業務の処理を実行するための業務プログラムデータは
業務プログラムメモリ30に格納される。この業務プロ
グラムデータおよび前記単品テーブル31の商品名およ
び単価などは、例えば店舗の開店前に、ホストコンピュ
ータ3からのダウン・ライン・ローディングなどにより
前記受信バッファ36に受信したデータを前記業務プロ
グラムメモリ30や単品テーブル31にそれぞれ書込む
ことにより書替えられる。この書替えを実行するプログ
ラムは前記ROM12に書き込んである。なお、前記単
品テーブル31の商品名および単価などは、前記モード
スイッチ6を「設定」モードとして前記キーボード10
上の各種キーを使用して設定操作し、それを記憶させる
ことも可能である。
FIG. 3 is a diagram showing a main memory area formed in the RAM 13. In the figure, a single item table 31 for storing a product name, a unit price and the like corresponding to a single item code of each product is formed, and a customer total for totaling the sales amount to one customer as a registration memory. Vessel 3
2. A single item totalizer 33 for summing up the number and sales amount, etc. corresponding to the single item code, a tax totalizer 34 for totaling the tax amount for each transaction, and cash for totaling the amount paid in cash A sales totalizer 35 is formed, and
A reception buffer 36 for storing data received from the host computer 3 is formed. Business program data for the CPU 11 to execute the processing of each business selected by the mode switch 24 is stored in the business program memory 30. The business program data and the product name and unit price of the single item table 31 are, for example, the data received in the reception buffer 36 by down line loading or the like from the host computer 3 before the store is opened. Or by writing them in the single item table 31 respectively. The program for executing this rewriting is written in the ROM 12. The product name and unit price of the single item table 31 can be obtained by setting the mode switch 6 to the “setting” mode and setting the keyboard 10
It is also possible to perform a setting operation using the above various keys and store it.

【0010】しかして、前記CPU11はモードスイッ
チ24により「登録」モードが選択された状態では前記
業務プログラムメモリ30に格納された業務プログラム
により登録処理が実行される。そこで、商品を個々に識
別する単品コードが入力されると、図4に示す処理を実
行する。なお、単品コードを入力するには、予めバーコ
ード化された単品コードを前記スキャナ22で光学的に
読み取り操作する場合と、キーボード16の置数キーK
1で単品コードを置数し次いで、PLUキーK2を入力
操作する場合とがある。
In the state where the "registration" mode is selected by the mode switch 24, the CPU 11 executes the registration processing by the business program stored in the business program memory 30. Therefore, when a single item code for individually identifying a product is input, the process shown in FIG. 4 is executed. In order to input the single item code, a case where the single item code previously converted into a bar code is optically read by the scanner 22 and the number key K of the keyboard 16 is input.
In some cases, a single item code is set to 1 and then the PLU key K2 is input.

【0011】上述のいずれかの操作により単品コードが
入力されると、先ず、ST1では入力した単品コードに
該当する前記単品テーブル31の商品名を抽出し、それ
をプリンタ20に出力してレシートなどに印字するとと
もに表示器18にも表示する。ST2では前もって置数
キーK1とXキーK4との組合せ入力によって個数が入
力されている場合はそれをプリンタ20に出力してレシ
ートなどに印字するとともに表示器18にも表示する。
なお、もしも個数入力がなければ個数は1であると見做
すが、この場合はプリンタ20や表示器18には出力し
ない。ST3では、直前に置数キーK1と金額キーK3
の組み合わせによって単価入力されている場合はその単
価と、また、もしもこのような単価が入力されていなけ
れば入力した単品コードに基づいて前記単品テーブル3
1より抽出した単価とST2で得られた数量とを乗算し
て販売金額を求め、それをプリンタ20に出力してレシ
ートなどに印字するとともに表示器18にも表示する。
なお個数が2以上の場合には、同時にこの単価も印字す
る。ST4では以上の登録処理で得られた販売データに
基づいてメモリ処理をおこなう。すなわち、販売金額を
前記顧客合計器33に加算するとともに、個数および販
売金額をそれぞれ入力した単品コードに対応した前記単
品合計器33の個数および販売金額に加算する。以上で
販売処理を終了する。
When a single-item code is input by any of the above-mentioned operations, first, in ST1, a product name in the single-item table 31 corresponding to the input single-item code is extracted, and the extracted product name is output to the printer 20 to be output to a receipt or the like. Is printed on the display 18 as well. In ST2, if the number has been previously input by a combination of the numeric key K1 and the X key K4, the number is output to the printer 20, printed on a receipt or the like, and displayed on the display 18.
If the number is not entered, the number is considered to be 1, but in this case, it is not output to the printer 20 or the display 18. In ST3, the number key K1 and the amount key K3
If the unit price is entered by a combination of the unit prices, and if such a unit price is not entered, based on the entered single item code, the single item table 3 is used.
The unit price extracted from 1 is multiplied by the quantity obtained in ST2 to obtain a sales price, which is output to the printer 20, printed on a receipt or the like, and displayed on the display 18.
If the number is two or more, this unit price is also printed at the same time. In ST4, a memory process is performed based on the sales data obtained by the above-described registration process. That is, the sales amount is added to the customer total unit 33, and the number and the sales amount are respectively added to the number and sales amount of the single unit total unit 33 corresponding to the input single item code. This ends the sales processing.

【0012】また、「登録」モードが選択されている状
態で、キーボード16より小計キーK5が入力された場
合には、図5に示す処理を実行する。すなわち前記顧客
合計器33の内容に一定税率を乗算して税額を得るとと
もに、これを更に前記顧客合計器33の内容に加算した
合計金額を表示器18に表示する。以上で小計処理を終
了する。小計処理の結果、キャッシャは表示器18に表
示された合計金額に見合った支払を客に対して請求す
る。その結果、客が現金による代金の支払をした場合は
キャッシャは「登録」モードが選択されている状態で、
キーボード16上の預/現計キーK6を入力する。する
と装置は図6に示す預/現計処理を実行する。すなわ
ち、この直前に置数キーK1によって置数入力されてい
る場合は、それを現金の預かり金額として釣銭計算をお
こない、また、置数入力されていない場合は、合計金額
どうりに現金で支払われたとして、小計金額、税額、合
計金額、預かり金額、釣銭などをプリンタ20に出力し
てレシート等に印字させる。更に、ドロワ開放装置25
に駆動信号を出力してドロワを開放する。この税額や合
計金額は前記税額合計器34や現金売上合計器35にも
加算され、その後、前記顧客合計器32は帰零される。
以上で預/現計処理を終了するとともに、キャッシャは
これ等の結果に基づいて客との一取引を終了させる。
If the subtotal key K5 is input from the keyboard 16 while the "registration" mode is selected, the processing shown in FIG. 5 is executed. That is, the contents of the customer totalizer 33 are multiplied by a fixed tax rate to obtain a tax amount, and the total amount is further added to the contents of the customer totalizer 33 to display the total amount on the display 18. This completes the subtotal processing. As a result of the subtotal processing, the cashier bills the customer for payment corresponding to the total amount displayed on the display 18. As a result, if the customer pays for cash, the cashier will be in the "register" mode,
A deposit / current total key K6 on the keyboard 16 is input. Then, the apparatus executes the deposit / current total processing shown in FIG. That is, if a numerical value is input by the numerical key K1 immediately before this, the change is calculated as the cash deposit amount, and if the numerical value is not input, the total amount is paid in cash. It is assumed that the total amount, tax amount, total amount, deposit amount, change, and the like are output to the printer 20 and printed on a receipt or the like. Furthermore, the drawer opening device 25
To output the drive signal to open the drawer. The tax amount and the total amount are also added to the tax amount total unit 34 and the cash sales total unit 35, and thereafter, the customer total unit 32 is returned to zero.
With the above, the deposit / current total processing is terminated, and the cashier terminates one transaction with the customer based on these results.

【0013】また、キャッシャが装置に備付けのモード
鍵などを用いてモードSW24を「精算」位置に切り換
え、「精算」モードが選択された状態でキーボード16
上のキーを操作すると、前記CPU11は図7に示す精
算処理を実行する。同図において、前記単品合計器3
3、税額合計器34および現金売上合計器35に加算さ
れたデータを抽出し、それをプリンタ20に出力してレ
シートなどに印字するとともに、通信回線2を介してホ
ストコンピュータにも送信する。その後、これらの単品
合計器33、税額合計器34および現金売上合計器35
をクリアする。以上で精算処理を終了する。なお、精算
処理は上記のように「精算」モードでキー操作により実
行を指令する場合のほかに、後述するように受信処理の
中から実行を指令する場合もある。この精算処理の終了
後は各実行指令をした処理に復帰する。前記モードスイ
ッチ24のモード位置に関係なく、前記CPU11が通
信インターフェイス15を介してホストコンピュータ3
から送信されたデータを前記受信バッファ36に受信し
た場合には、図8に示す受信処理をおこなう。先ずST
11では、受信データが書替用のプログラムデータであ
るか否かを判別する。その結果、プログラムデータ以外
の場合にはその他処理として説明を省略する。プログラ
ムデータである場合は、以下の業務プログラム書替処理
をおこなう。精算済判別手段であるST12では登録用
メモリである前記単品合計器33、税額合計器34およ
び現金売上合計器35がクリアされているか否かを判別
する。次にこの判別結果に従って、プログラム書替制御
手段が実行される。登録用メモリがクリアされていなけ
れば、ST14のプログラム書替処理に先行して、ST
13で前述の図7の精算処理の実行を指令する。すなわ
ち、登録用メモリである前記単品合計器33、税額合計
器34および現金売上合計器35などに登録された登録
データをプリンタ20に出力してレシートなどに印字す
るとともに、通信回線2を介してホストコンピュータ3
にも送信し、その後、これらの単品合計器33、税額合
計器34および現金売上合計器35をクリアする処理で
ある。ST14では前記ROM12に書き込んである業
務プログラム書替処理のプログラムに基づいて、前記受
信バッファ36に格納された書替用の業務プログラムデ
ータを前記業務プログラムメモリ30に書き込むプログ
ラム書替処理をおこなう。この業務プログラムの書替え
が終了すると、CPU11は新規に書き込まれたプログ
ラムに基づいて、モードスイッチ24の各モードごとの
処理を実行可能となる。以上で受信処理を終了する。
Further, the cashier switches the mode SW 24 to the "pay-out" position by using a mode key or the like provided in the apparatus.
When the upper key is operated, the CPU 11 executes the settlement processing shown in FIG. In FIG.
3. The data added to the tax totalizer 34 and the cash totalizer 35 is extracted, output to the printer 20, printed on a receipt or the like, and transmitted to the host computer via the communication line 2. Thereafter, the single item totalizer 33, the tax amount totalizer 34, and the cash sales totalizer 35 are provided.
Clear Thus, the settlement process is completed. In addition to the case where the execution of the settlement process is instructed by key operation in the “payment” mode as described above, the execution of the settlement process may be instructed from among the reception processes as described later. After the settlement process is completed, the process returns to the process in which each execution command was issued. Regardless of the mode position of the mode switch 24, the CPU 11 controls the host computer 3 via the communication interface 15.
When the data transmitted from is received by the reception buffer 36, the reception processing shown in FIG. 8 is performed. First, ST
At 11, it is determined whether or not the received data is rewriting program data. As a result, in the case other than the program data, the description is omitted as other processing. If it is program data, the following business program rewriting process is performed. In ST12, which is the settlement determining means, it is determined whether or not the single item totalizer 33, the tax totalizer 34, and the cash sales totaler 35, which are the registration memories, are cleared. Next, the program rewriting control means is executed according to the result of this determination. If the registration memory has not been cleared, prior to the program rewriting process in ST14, ST
At 13, execution of the above-described settlement process of FIG. 7 is instructed. That is, the registration data registered in the single item totalizer 33, the tax totalizer 34, the cash sales totaler 35, and the like, which are the registration memories, are output to the printer 20 and printed on a receipt or the like, and are also transmitted via the communication line 2. Host computer 3
Then, the single item totalizer 33, the tax totalizer 34, and the cash sales totalizer 35 are cleared. In ST14, a program rewriting process for writing the rewriting business program data stored in the reception buffer 36 to the business program memory 30 is performed based on the business program rewriting process program written in the ROM 12. When the rewriting of the business program is completed, the CPU 11 can execute the process for each mode of the mode switch 24 based on the newly written program. Thus, the receiving process ends.

【0014】このように構成された本実施例のPOSタ
ーミナル1においては、RAM13の業務プログラムメ
モリ30および単品テーブル31はシステムの立ち上げ
時には、ホストコンピュータ3からのダウン・ライン・
ローディングによって受信された業務プログラムデータ
および商品名、単価を書き込んでおく。また、保守員に
よって別途、前記単品合計器33、税額合計器34およ
び現金売上合計器35のデータはクリアされる。これら
のRAM13の記憶内容はバッテリ13aによって主電
源がオフされてもバックアップされている。そこで、入
力手段より単品コードなどを入力させると、入力した単
品コードや前記単品テーブル31に基づいて前記単品合
計器33、税額合計器34および現金売上合計器35は
加算される。また、精算処理を起動すると、これ等の合
計器の内容すなわち登録データはプリンタ20によって
レシートに印字されるとともに、前記通信インタフェイ
ス15を介してホストコンピュータ3にも送信され、そ
の後登録用メモリはクリアされる。ホストコンピュータ
3からのダウン・ライン・ローディングによってプログ
ラムデータを受信した場合には、登録用メモリがクリア
されているか否かを判別し、もしもクリアされているな
ら受信データに基づいて前記プログラムメモリ30の書
替処理をする。しかしながら、登録処理をしたために登
録用メモリにデータが残っているなら、自動的に精算処
理が起動されて、その終了後にプログラムデータの書替
処理をするように実行制御される。従って、登録データ
と業務プログラムが不整合となって、誤動作してしまう
ことがなく、信頼性が向上する。
In the POS terminal 1 of the present embodiment having the above-described configuration, the business program memory 30 and the single item table 31 in the RAM 13 store the down-line data from the host computer 3 when the system starts up.
The business program data, product name, and unit price received by loading are written. In addition, the data of the single unit total unit 33, the tax amount total unit 34, and the cash sales total unit 35 are separately cleared by a maintenance person. The stored contents of the RAM 13 are backed up even when the main power is turned off by the battery 13a. Therefore, when a single item code or the like is input from the input means, the single item totalizer 33, the tax totalizer 34, and the cash sales totaler 35 are added based on the input single item code and the single item table 31. When the settlement process is started, the contents of these totalizers, that is, registration data, are printed on a receipt by the printer 20 and transmitted to the host computer 3 via the communication interface 15. Cleared. When the program data is received by the down line loading from the host computer 3, it is determined whether or not the registration memory is cleared. If the registration memory is cleared, the program memory 30 is determined based on the received data. Perform rewrite processing. However, if data remains in the registration memory due to the registration processing, the payment processing is automatically started, and the execution control is performed so that the program data is rewritten after the payment processing is completed. Therefore, the registered data and the business program do not become inconsistent and do not malfunction, and the reliability is improved.

【0015】なお、前記実施例では、業務プログラムデ
ータはホストコンピュータ3からのダウン・ライン・ロ
ーディングによって業務プログラムメモリ30を書替え
る例を示したが、フロッピィディスクなどの記憶媒体に
記憶したデータをPOSターミナルが読取り可能とする
場合にはこれによって書替処理をさせてもよい。また、
前記実施例では登録用メモリの内容がクリアされている
か否かを直接判別したが、登録処理をした場合にセット
し、精算処理をした場合にリセットするフラグによって
登録用メモリの状態を判別してもよい。さらに、前記実
施例では全受信データを受信バッファ36に蓄積する例
を示したが、その一部つまり、受信データの種別情報だ
け先に受信して、受信データが業務プログラムデータと
判別したなら、登録用メモリの状態をチェックして未ク
リア状態である場合にはホストコンピュータ3に対し残
りのプログラムデータの送信を待機させ、精算処理の終
了後に送信を再開させても、本発明の効果は充分に奏し
得るものである。この他本発明の要旨を逸脱しない範囲
で種々変形することが可能であることは勿論である。
In the above embodiment, the business program data is rewritten in the business program memory 30 by down line loading from the host computer 3. However, the data stored in a storage medium such as a floppy disk is stored in the POS. If the terminal can read, the rewriting process may be performed. Also,
In the above embodiment, it was directly determined whether or not the contents of the registration memory were cleared.However, the state of the registration memory was determined by a flag that is set when the registration processing was performed and reset when the settlement processing was performed. Is also good. Further, in the above-described embodiment, an example in which all the received data is stored in the reception buffer 36 is shown. Even if the state of the registration memory is checked and it is not cleared, the effect of the present invention is sufficient even if the host computer 3 is made to wait for the transmission of the remaining program data and resumes the transmission after the settlement process is completed. Can be played. In addition, it goes without saying that various modifications can be made without departing from the spirit of the present invention.

【0016】[0016]

【発明の効果】以上説明したように、本発明によれば、
登録用メモリの状態を判別して未精算状態である場合に
は、強制的に精算処理に実行してから、プログラム書替
処理を実行させるようにしたので、業務プログラムと登
録データとの間に不整合が生じることなく、それに起因
する誤動作等を防止して、信頼性を向上し得る商品販売
データ処理装置を提供できる。
As described above, according to the present invention,
If to determine the status of the registration memory is unsettled state, during the period from the execution forced settlement process, because it was Unishi by executing a program rewrite process, the service program and the registration data A product sales data processing apparatus can be provided which can improve the reliability without causing any inconsistency, preventing malfunctions and the like caused by the inconsistency.

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

【図1】本発明の一実施例のPOSターミナルのブロッ
ク構成図。
FIG. 1 is a block diagram of a POS terminal according to an embodiment of the present invention.

【図2】同実施例のPOSターミナルのキーボードの配
置図。
FIG. 2 is a layout diagram of a keyboard of the POS terminal according to the embodiment.

【図3】同実施例のPOSターミナルのRAMの主要な
メモリ構成を示す図。
FIG. 3 is an exemplary view showing a main memory configuration of a RAM of the POS terminal of the embodiment.

【図4】同実施例のPOSターミナルのCPUの単品デ
ータ処理を示すフローチャート。
FIG. 4 is an exemplary flowchart showing single item data processing of the CPU of the POS terminal according to the embodiment.

【図5】同実施例のPOSターミナルのCPUの小計処
理を示すフローチャート。
FIG. 5 is a flowchart showing a subtotal processing of the CPU of the POS terminal of the embodiment.

【図6】同実施例のPOSターミナルのCPUの預/現
計処理を示すフローチャート。
FIG. 6 is a flowchart showing a deposit / current total processing of the CPU of the POS terminal of the embodiment.

【図7】同実施例のPOSターミナルのCPUの精算処
理を示すフローチャート。
FIG. 7 is an exemplary flowchart illustrating a settlement process of the CPU of the POS terminal according to the embodiment.

【図8】同実施例のPOSターミナルのCPUの受信処
理を示すフローチャート。
FIG. 8 is a flowchart showing a reception process of the CPU of the POS terminal of the embodiment.

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

16 キーボード(入力手段) 20 プリンタ(出力手段) 22 スキャナー(入力手段) 30 業務プログラムメモリ 33 単品合計器(登録用メモリ) 34 税額合計器(登録用メモリ) 35 現金売上合計器(登録用メモリ) 11 CPU 12 ROM 13 RAM ST12 精算済判別手段 ST13 プログラム書替制御手段 Reference Signs List 16 keyboard (input means) 20 printer (output means) 22 scanner (input means) 30 business program memory 33 single item totalizer (registering memory) 34 tax totalizer (registering memory) 35 cash sales totalizer (registering memory) 11 CPU 12 ROM 13 RAM ST12 Settlement completed determination means ST13 Program rewriting control means

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】入力手段から入力した商品販売に関する入
力データに基づいて作成された販売データを登録するた
めの登録用メモリと、この登録用メモリに登録された登
録データを出力する出力手段と、前記入力手段から入力
された入力データに基づいて販売データを作成して前記
登録用メモリに登録する登録処理および前記登録用メモ
リの登録データを前記出力手段から出力するとともに前
記登録用メモリの登録データをクリアする精算処理を実
行する業務プログラムデータを格納する書替可能な業務
プログラムメモリとを有し、書替用の業務プログラムデ
ータの入力に応じて書替用の業務プログラムデータを前
記業務プログラムメモリに格納する業務プログラム書替
処理を行う商品販売データ処理装置において、前記 登録用メモリの登録データがクリアされているか否
かを判別する精算済判別手段と、 この精算済判別手段が前記登録用メモリのクリア状態を
判別した場合は前記書替用の業務プログラムデータを前
記業務プログラムメモリに格納し、前記登録用メモリの
未クリア状態を判別した場合は前記業務プログラムデー
タによって前記精算処理を実行して前記精算処理終了後
に書替用の業務プログラムデータを前記業務プログラム
メモリに格納するプログラム書替制御手段とを備えたこ
とを特徴とする商品販売データ処理装置。
1. A registration memory for registering sales data created based on input data on product sales inputted from an input means, an output means for outputting registration data registered in the registration memory, A registration process for creating sales data based on the input data input from the input means and registering the sales data in the registration memory; outputting the registration data in the registration memory from the output means; and registering the registration data in the registration memory. A rewritable business program memory for storing business program data for executing a settlement process for clearing the business program memory, and rewriting the business program data for rewriting in response to the input of the business program data for rewriting. an article sales data processing apparatus for business program rewriting process is stored in the registration data of the registration memory Settlement determination means for determining whether or not the data has been cleared; and when the settlement determination means determines the clear state of the registration memory, the rewriting business program data is stored in the business program memory. If it is determined that the registration memory has not been cleared, the business program data
A merchandise sales data processing apparatus comprising: a program rewriting control unit for executing the settlement process by a data processor and storing rewriting business program data in the business program memory after the settlement process is completed.
JP16835993A 1993-06-16 1993-06-16 Product sales data processing device Expired - Fee Related JP2966237B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16835993A JP2966237B2 (en) 1993-06-16 1993-06-16 Product sales data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16835993A JP2966237B2 (en) 1993-06-16 1993-06-16 Product sales data processing device

Publications (2)

Publication Number Publication Date
JPH0773369A JPH0773369A (en) 1995-03-17
JP2966237B2 true JP2966237B2 (en) 1999-10-25

Family

ID=15866622

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16835993A Expired - Fee Related JP2966237B2 (en) 1993-06-16 1993-06-16 Product sales data processing device

Country Status (1)

Country Link
JP (1) JP2966237B2 (en)

Also Published As

Publication number Publication date
JPH0773369A (en) 1995-03-17

Similar Documents

Publication Publication Date Title
JPS63303495A (en) Transaction processor
JP2966237B2 (en) Product sales data processing device
JP2918766B2 (en) Product sales data processing device
JP2533185B2 (en) Product sales data processing device
JP3771401B2 (en) Key control system
JP2902852B2 (en) Product sales data processing device
JPH10222764A (en) Product sales data registration processor
JPS62164195A (en) Pos terminal
JPS5847471Y2 (en) Electronic register with transaction-specific registration function
JP2533155B2 (en) Electronic cash register
JPS63138493A (en) Goods sales data processor
JPS6228895A (en) Electronic cash register
JPH06131565A (en) Commodity sale data processor
JPH09319972A (en) Article sales registration data processor
JP2602211Y2 (en) Electronic cash register
JP2637066B2 (en) Product sales data processing device
JP2512138B2 (en) Product registration data processing device
JP2862468B2 (en) Product sales data processing device
JPH0831186B2 (en) Product sales data processor
JPH0658708B2 (en) Electronic cash register
JPH08202956A (en) Processor for commodity sales registering data
JPH04288698A (en) Electronic cash register
JPH0769987B2 (en) Product sales data processor
JPH0642277B2 (en) Product sales data processing device
JPS63172395A (en) Goods 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: 20080813

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090813

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090813

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100813

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110813

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees